get libnspr right WINCE_NSPRPUB_RELEASE_4_2_BETA1
authorblythe%netscape.com
Sat, 09 Feb 2002 00:34:30 +0000
branchWINCE_NSPRPUB_RELEASE_4_2_BETA1
changeset 2239 9b3cf2f0c750383f82cdf2eda4f27f413ff86bad
parent 2238 d41dc9f298edd11b05b963f8644d094a163a5f35
child 2247 002aa6ae8bbf032e04e7f2fcf37fa09b996376ac
push idunknown
push userunknown
push dateunknown
get libnspr right
configure
configure.in
--- a/configure
+++ b/configure
@@ -3803,17 +3803,20 @@ EOF
             fi
             LDFLAGS="-DEBUG -DEBUGTYPE:CV"
             if test -n "$PROFILE"; then
                 LDFLAGS="$LDFLAGS -PROFILE -MAP"
                 DLLFLAGS="$DLLFLAGS -PROFILE -MAP"
             fi
         fi
         
-        if test "$OS_TARGET" = "WINNT"; then
+        if test "$OS_TARGET" = "WINCE"; then
+            LIBNSPR='$(dist_libdir)/libnspr$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
+            LIBPLC='$(dist_libdir)/libplc$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
+        elif test "$OS_TARGET" = "WINNT"; then
             CFLAGS="$CFLAGS -GT"
             if test "$CPU_ARCH" = "x86"; then
                 CFLAGS="$CFLAGS -G5"
             fi
             LIBNSPR='$(dist_libdir)/libnspr$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
             LIBPLC='$(dist_libdir)/libplc$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
         else
             LIBNSPR='$(dist_libdir)/nspr$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
--- a/configure.in
+++ b/configure.in
@@ -1251,17 +1251,20 @@ case "$target" in
             fi
             LDFLAGS="-DEBUG -DEBUGTYPE:CV"
             if test -n "$PROFILE"; then
                 LDFLAGS="$LDFLAGS -PROFILE -MAP"
                 DLLFLAGS="$DLLFLAGS -PROFILE -MAP"
             fi
         fi
         
-        if test "$OS_TARGET" = "WINNT"; then
+        if test "$OS_TARGET" = "WINCE"; then
+            LIBNSPR='$(dist_libdir)/libnspr$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
+            LIBPLC='$(dist_libdir)/libplc$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
+        elif test "$OS_TARGET" = "WINNT"; then
             CFLAGS="$CFLAGS -GT"
             if test "$CPU_ARCH" = "x86"; then
                 CFLAGS="$CFLAGS -G5"
             fi
             LIBNSPR='$(dist_libdir)/libnspr$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
             LIBPLC='$(dist_libdir)/libplc$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'
         else
             LIBNSPR='$(dist_libdir)/nspr$(MOD_MAJOR_VERSION).$(LIB_SUFFIX)'