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

Diff of /trunk/configure.ac

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

revision 462 by siliconforks, Sat Sep 26 23:15:22 2009 UTC revision 463 by siliconforks, Sun Sep 27 02:24:33 2009 UTC
# Line 27  Line 27 
27  AC_PROG_CC_C99  AC_PROG_CC_C99
28  AC_PROG_CXX  AC_PROG_CXX
29    
30    case "$host_os" in
31      cygwin*)
32        CC="$CC -mno-cygwin"
33        CXX="$CXX -mno-cygwin"
34        ;;
35    esac
36    
37  # Checks for libraries.  # Checks for libraries.
38  AM_ICONV  AM_ICONV
39    
# Line 52  Line 59 
59    
60  AC_SUBST([XP_DEF])  AC_SUBST([XP_DEF])
61  case "$host_os" in  case "$host_os" in
62    mingw*)    mingw*|cygwin*)
63      XP_DEF='-DXP_WIN'      XP_DEF='-DXP_WIN'
64      ;;      ;;
65    *)    *)
# Line 64  Line 71 
71  AC_SUBST([EXTRA_THREAD_LIBS])  AC_SUBST([EXTRA_THREAD_LIBS])
72  AC_SUBST([EXTRA_TIMER_LIBS])  AC_SUBST([EXTRA_TIMER_LIBS])
73  case "$host_os" in  case "$host_os" in
74    mingw*)    mingw*|cygwin*)
75      EXTRA_SOCKET_LIBS='-lws2_32'      EXTRA_SOCKET_LIBS='-lws2_32'
76      EXTRA_THREAD_LIBS=''      EXTRA_THREAD_LIBS=''
77      EXTRA_TIMER_LIBS='-lwinmm'      EXTRA_TIMER_LIBS='-lwinmm'
# Line 76  Line 83 
83      ;;      ;;
84  esac  esac
85    
86    AC_SUBST([SPIDERMONKEY_LIBS])
87    case "$host_os" in
88      mingw*|cygwin*)
89        SPIDERMONKEY_LIBS='js/libjs3250.a'
90        ;;
91      *)
92        SPIDERMONKEY_LIBS='js/libmozjs.a'
93        ;;
94    esac
95    
96  if test "$am_cv_func_iconv" != yes && test "$jscoverage_have_multibytetowidechar" != yes  if test "$am_cv_func_iconv" != yes && test "$jscoverage_have_multibytetowidechar" != yes
97  then  then
98    echo -ne '\033@<:@1;31m'    echo -ne '\033@<:@1;31m'

Legend:
Removed from v.462  
changed lines
  Added in v.463

  ViewVC Help
Powered by ViewVC 1.1.24