[Freeswitch-svn] [commit] r3698 - freeswitch/trunk/libs/js/nsprpub

Freeswitch SVN anthm at freeswitch.org
Mon Dec 18 14:40:00 EST 2006


Author: anthm
Date: Mon Dec 18 14:40:00 2006
New Revision: 3698

Modified:
   freeswitch/trunk/libs/js/nsprpub/configure
   freeswitch/trunk/libs/js/nsprpub/configure.in

Log:
wip

Modified: freeswitch/trunk/libs/js/nsprpub/configure
==============================================================================
--- freeswitch/trunk/libs/js/nsprpub/configure	(original)
+++ freeswitch/trunk/libs/js/nsprpub/configure	Mon Dec 18 14:40:00 2006
@@ -3326,7 +3326,7 @@
             ;;
     esac
     DSO_CFLAGS=-fPIC
-    DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @executable_path/$@ -headerpad_max_install_names'
+    DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name $dist_libdir/$@ -headerpad_max_install_names'
     # Use the standard preprocessor (cpp)
     CFLAGS="$CFLAGS -no-cpp-precomp"
     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
@@ -3896,23 +3896,11 @@
         PR_MD_ASFILES=os_Linux_ia64.s
         ;;
     x86_64)
-        if test -n "$USE_64"; then
             PR_MD_ASFILES=os_Linux_x86_64.s
-        else
-            cat >> confdefs.h <<\EOF
-#define i386 1
-EOF
-
-            PR_MD_ASFILES=os_Linux_x86.s
-            CC="$CC -m32"
-            CXX="$CXX -m32"
-        fi
         ;;
     powerpc64)
-        if test -n "$USE_64"; then
             CC="$CC -m64"
             CXX="$CXX -m64"
-        fi
         ;;
     m68k)
         CFLAGS="$CFLAGS -m68020-60"

Modified: freeswitch/trunk/libs/js/nsprpub/configure.in
==============================================================================
--- freeswitch/trunk/libs/js/nsprpub/configure.in	(original)
+++ freeswitch/trunk/libs/js/nsprpub/configure.in	Mon Dec 18 14:40:00 2006
@@ -975,7 +975,7 @@
             ;;
     esac
     DSO_CFLAGS=-fPIC
-    DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @executable_path/$@ -headerpad_max_install_names'
+    DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name $dist_libdir/$@ -headerpad_max_install_names'
     # Use the standard preprocessor (cpp)
     CFLAGS="$CFLAGS -no-cpp-precomp"
     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
@@ -1425,20 +1425,11 @@
         PR_MD_ASFILES=os_Linux_ia64.s
         ;;
     x86_64)
-        if test -n "$USE_64"; then
             PR_MD_ASFILES=os_Linux_x86_64.s
-        else
-            AC_DEFINE(i386)
-            PR_MD_ASFILES=os_Linux_x86.s
-            CC="$CC -m32"
-            CXX="$CXX -m32"
-        fi
         ;;
     powerpc64)
-        if test -n "$USE_64"; then
             CC="$CC -m64"
             CXX="$CXX -m64"
-        fi
         ;;
     m68k)
         CFLAGS="$CFLAGS -m68020-60"



More information about the Freeswitch-svn mailing list