/[jscoverage]/trunk/configure.ac
ViewVC logotype

Diff of /trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 17 by siliconforks, Tue Aug 14 16:43:20 2007 UTC revision 127 by siliconforks, Mon Jun 2 18:18:15 2008 UTC
# Line 1  Line 1 
1  #    configure.ac - configures jscoverage  #    configure.ac - configures jscoverage
2  #    Copyright (C) 2007 siliconforks.com  #    Copyright (C) 2007, 2008 siliconforks.com
3  #  #
4  #    This program is free software; you can redistribute it and/or modify  #    This program is free software; you can redistribute it and/or modify
5  #    it under the terms of the GNU General Public License as published by  #    it under the terms of the GNU General Public License as published by
# Line 16  Line 16 
16  #    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.  #    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17    
18  AC_PREREQ(2.61)  AC_PREREQ(2.61)
19  AC_INIT([jscoverage], [0.3])  AC_INIT([jscoverage], [0.3.1])
20  AM_INIT_AUTOMAKE([-Wall -Werror foreign])  AM_INIT_AUTOMAKE([-Wall foreign])
21  AC_CONFIG_SRCDIR([main.c])  AC_CONFIG_SRCDIR([main.c])
22    AC_CONFIG_HEADERS([config.h])
23    AC_CANONICAL_HOST
24    
25    # Checks for programs.
26  AC_PROG_CC  AC_PROG_CC
27  AC_PROG_CC_C99  AC_PROG_CC_C99
28  AC_PROG_RANLIB  AC_PROG_LIBTOOL
29    
30    # Checks for libraries.
31    
32    # Checks for header files.
33    AC_CHECK_HEADERS([pthread.h])
34    
35    # Checks for typedefs, structures, and compiler characteristics.
36    
37    # Checks for library functions.
38    AC_CHECK_FUNCS([inet_aton strndup vasprintf asprintf])
39    
40    AC_SUBST([EXTRA_SOCKET_LIBS])
41    AC_SUBST([EXTRA_THREAD_LIBS])
42    case "$host_os" in
43      mingw*)
44        EXTRA_SOCKET_LIBS='-lws2_32'
45        EXTRA_THREAD_LIBS=''
46        ;;
47      *)
48        EXTRA_SOCKET_LIBS=''
49        EXTRA_THREAD_LIBS='-lpthread'
50        ;;
51    esac
52    
53  AC_CONFIG_FILES([Makefile make-dist.sh make-bin-dist.sh tests/Makefile])  AC_CONFIG_FILES([Makefile make-dist.sh make-bin-dist.sh tests/Makefile])
54  AC_CONFIG_SUBDIRS([js])  AC_CONFIG_SUBDIRS([js])
55  AC_OUTPUT  AC_OUTPUT

Legend:
Removed from v.17  
changed lines
  Added in v.127

  ViewVC Help
Powered by ViewVC 1.1.24