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

Diff of /trunk/configure.ac

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

revision 174 by siliconforks, Sat Sep 20 23:27:14 2008 UTC revision 403 by siliconforks, Tue Dec 9 23:37:53 2008 UTC
# Line 18  Line 18 
18  AC_PREREQ(2.61)  AC_PREREQ(2.61)
19  AC_INIT([jscoverage], [0.4])  AC_INIT([jscoverage], [0.4])
20  AM_INIT_AUTOMAKE([-Wall foreign])  AM_INIT_AUTOMAKE([-Wall foreign])
21  AC_CONFIG_SRCDIR([main.c])  AC_CONFIG_SRCDIR([jscoverage.c])
22  AC_CONFIG_HEADERS([config.h])  AC_CONFIG_HEADERS([config.h])
23  AC_CANONICAL_HOST  AC_CANONICAL_HOST
24    
25  # Checks for programs.  # Checks for programs.
26  AC_PROG_CC  AC_PROG_CC
27  AC_PROG_CC_C99  AC_PROG_CC_C99
28  AC_PROG_LIBTOOL  AC_PROG_CXX
29    
30  # Checks for libraries.  # Checks for libraries.
31  AM_ICONV  AM_ICONV
# Line 50  Line 50 
50    [jscoverage_have_multibytetowidechar=no    [jscoverage_have_multibytetowidechar=no
51     AC_MSG_RESULT([no])])     AC_MSG_RESULT([no])])
52    
53    AC_SUBST([XP_DEF])
54    case "$host_os" in
55      cygwin*|mingw*)
56        XP_DEF='-DXP_WIN'
57        ;;
58      *)
59        XP_DEF='-DXP_UNIX'
60        ;;
61    esac
62    
63  AC_SUBST([EXTRA_SOCKET_LIBS])  AC_SUBST([EXTRA_SOCKET_LIBS])
64  AC_SUBST([EXTRA_THREAD_LIBS])  AC_SUBST([EXTRA_THREAD_LIBS])
65    AC_SUBST([EXTRA_TIMER_LIBS])
66  case "$host_os" in  case "$host_os" in
67    mingw*)    mingw*)
68      EXTRA_SOCKET_LIBS='-lws2_32'      EXTRA_SOCKET_LIBS='-lws2_32'
69      EXTRA_THREAD_LIBS=''      EXTRA_THREAD_LIBS=''
70        EXTRA_TIMER_LIBS='-lwinmm'
71      ;;      ;;
72    *)    *)
73      EXTRA_SOCKET_LIBS=''      EXTRA_SOCKET_LIBS=''
74      EXTRA_THREAD_LIBS='-lpthread'      EXTRA_THREAD_LIBS='-lpthread'
75        EXTRA_TIMER_LIBS=''
76      ;;      ;;
77  esac  esac
78    

Legend:
Removed from v.174  
changed lines
  Added in v.403

  ViewVC Help
Powered by ViewVC 1.1.24