]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
yet another attempt to properly build with the file object again
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 14 Feb 2007 20:48:15 +0000 (20:48 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 14 Feb 2007 20:48:15 +0000 (20:48 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4274 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/js/.update
libs/js/configure
libs/js/configure.ac

index ae90e9c2eca5cfe82576d9304ace0020b7eb65d3..ed5a55cbc345fc9ac7be5a5affc1590339291ea7 100644 (file)
@@ -1 +1 @@
-Wed Feb 14 15:20:38 EST 2007
+Wed Feb 14 15:47:43 EST 2007
index 319722a3c26a4cd9b60b7aa7474197ddbed76e2d..12a6288470560636285b0ff3bc7fa3b4d50f0b29 100755 (executable)
@@ -4645,7 +4645,7 @@ fi
 echo "$as_me:$LINENO: result: $ac_cv_with_file" >&5
 echo "${ECHO_T}$ac_cv_with_file" >&6
 if test ".$ac_cv_with_file" = ".yes"; then
-    CPPFLAGS="$CPPFLAGS -DJS_HAS_FILE_OBJECT"
+    CPPFLAGS="$CPPFLAGS -DJS_HAS_FILE_OBJECT=1"
 fi
 
 
@@ -5482,7 +5482,7 @@ echo "$as_me: error: dlopen(3) API functions dlopen/dlclose/dlerror required" >&
 fi
 done
 
-    CPPFLAGS="$CPPFLAGS -DJS_HAS_DSO_OBJECT"
+    CPPFLAGS="$CPPFLAGS -DJS_HAS_DSO_OBJECT=1"
     CLI_LDFLAGS="$CLI_LDFLAGS -export-dynamic"
 fi
 
@@ -5504,7 +5504,7 @@ fi
 echo "$as_me:$LINENO: result: $ac_cv_with_utf8" >&5
 echo "${ECHO_T}$ac_cv_with_utf8" >&6
 if test ".$ac_cv_with_utf8" = ".yes"; then
-    CPPFLAGS="$CPPFLAGS -DJS_C_STRINGS_ARE_UTF8"
+    CPPFLAGS="$CPPFLAGS -DJS_C_STRINGS_ARE_UTF8=1"
 fi
 
 
@@ -5532,7 +5532,7 @@ if test ".$ac_cv_with_nspr" = ".yes"; then
 
 
 
-    CPPFLAGS="$CPPFLAGS -DJS_THREADSAFE -Insprpub/dist/include/nspr"
+    CPPFLAGS="$CPPFLAGS -DJS_THREADSAFE=1 -Insprpub/dist/include/nspr"
     LDFLAGS="$LDFLAGS -L$prefix/lib -lnspr4"
 fi
 
index 51f6c1da18af060ba1ad8a448b8aa770796b4c1d..43044307580a20407a92fc63254821dfa89529f7 100644 (file)
@@ -135,7 +135,7 @@ AC_ARG_WITH([file],
        [ac_cv_with_file=$withval], [ac_cv_with_file=yes])
 AC_CACHE_CHECK([whether to build with the File object], [ac_cv_with_file], [ac_cv_with_file=yes])
 if test ".$ac_cv_with_file" = ".yes"; then
-    CPPFLAGS="$CPPFLAGS -DJS_HAS_FILE_OBJECT"
+    CPPFLAGS="$CPPFLAGS -DJS_HAS_FILE_OBJECT=1"
 fi
 
 dnl #   configure option --with-dso
@@ -147,7 +147,7 @@ if test ".$ac_cv_with_dso" = ".yes"; then
     AC_CHECK_LIB(dl, dlopen)
     AC_CHECK_HEADER(dlfcn.h, , AC_ERROR([dlopen(3) header <dlfcn.h> required]))
     AC_CHECK_FUNCS(dlopen dlclose dlerror, , AC_ERROR([dlopen(3) API functions dlopen/dlclose/dlerror required]))
-    CPPFLAGS="$CPPFLAGS -DJS_HAS_DSO_OBJECT"
+    CPPFLAGS="$CPPFLAGS -DJS_HAS_DSO_OBJECT=1"
     CLI_LDFLAGS="$CLI_LDFLAGS -export-dynamic"
 fi
 
@@ -157,7 +157,7 @@ AC_ARG_WITH([utf8],
        [ac_cv_with_utf8=$withval], [ac_cv_with_utf8=no])
 AC_CACHE_CHECK([whether to build with exclusive UTF-8 C string], [ac_cv_with_utf8], [ac_cv_with_utf8=no])
 if test ".$ac_cv_with_utf8" = ".yes"; then
-    CPPFLAGS="$CPPFLAGS -DJS_C_STRINGS_ARE_UTF8"
+    CPPFLAGS="$CPPFLAGS -DJS_C_STRINGS_ARE_UTF8=1"
 fi
 
 AC_ARG_WITH(nspr,
@@ -166,7 +166,7 @@ AC_ARG_WITH(nspr,
 AC_CACHE_CHECK([whether to build with NSPR], [ac_cv_with_nspr], [ac_cv_with_nspr=no])
 if test ".$ac_cv_with_nspr" = ".yes"; then
     sinclude(nsprpub/config/nspr.m4)
-    CPPFLAGS="$CPPFLAGS -DJS_THREADSAFE -Insprpub/dist/include/nspr"
+    CPPFLAGS="$CPPFLAGS -DJS_THREADSAFE=1 -Insprpub/dist/include/nspr"
     LDFLAGS="$LDFLAGS -L$prefix/lib -lnspr4"
 fi