diff options
| author | Koen Kooi <koen@openembedded.org> | 2010-04-16 09:35:50 +0200 |
|---|---|---|
| committer | Koen Kooi <koen@openembedded.org> | 2010-04-16 09:36:54 +0200 |
| commit | 199effd4c7b1b62bc133a577e42d7043ee7202e7 (patch) | |
| tree | e6a64de6bb60d05dd7a650e9a7c4be9c3d787913 /recipes/mozilla | |
| parent | e460fae9ddb604dce5919b2280c1eca431d32766 (diff) | |
nspr 4.7.1: import from jalimo overlay, convert to new style staging and checksums
Diffstat (limited to 'recipes/mozilla')
| -rw-r--r-- | recipes/mozilla/nspr-4.7.1/30_config_64bits.dpatch | 41 | ||||
| -rw-r--r-- | recipes/mozilla/nspr-4.7.1/30_pkgconfig.dpatch | 33 | ||||
| -rw-r--r-- | recipes/mozilla/nspr-4.7.1/81_sonames.dpatch | 234 | ||||
| -rw-r--r-- | recipes/mozilla/nspr-4.7.1/99_configure.dpatch | 978 | ||||
| -rw-r--r-- | recipes/mozilla/nspr-4.7.1/unbreak-build.diff | 46 | ||||
| -rw-r--r-- | recipes/mozilla/nspr-tools-native.inc | 22 | ||||
| -rw-r--r-- | recipes/mozilla/nspr-tools-native_4.7.1.bb | 14 | ||||
| -rw-r--r-- | recipes/mozilla/nspr.inc | 37 | ||||
| -rw-r--r-- | recipes/mozilla/nspr_4.7.1.bb | 14 |
9 files changed, 1419 insertions, 0 deletions
diff --git a/recipes/mozilla/nspr-4.7.1/30_config_64bits.dpatch b/recipes/mozilla/nspr-4.7.1/30_config_64bits.dpatch new file mode 100644 index 0000000000..d1f05cb47a --- /dev/null +++ b/recipes/mozilla/nspr-4.7.1/30_config_64bits.dpatch @@ -0,0 +1,41 @@ +--- nsprpub/configure.in ++++ nsprpub/configure.in +@@ -57,7 +57,7 @@ + USE_USER_PTHREADS= + USE_NSPR_THREADS= + USE_N32= +-USE_64= ++USE_64=maybe + USE_CPLUS= + USE_IPV6= + USE_MDUPDATE= +@@ -222,11 +222,26 @@ + fi ]) + + AC_ARG_ENABLE(64bit, +- [ --enable-64bit Enable 64-bit support (on certain platforms)], +- [ if test "$enableval" = "yes"; then +- USE_64=1 ++ [ --disable-64bit Disable 64-bit support (on 64-bit platforms)], ++ [ if test "$enableval" = "no"; then ++ USE_64= ++ else ++ USE_64=1 + fi ]) + ++if test "${USE_64}"; then ++ AC_MSG_CHECKING(for 64-bit OS) ++ AC_TRY_COMPILE([],[int assert[(sizeof(long) == 8) ? 1: -1]], ++ result="yes", result="no") ++ AC_MSG_RESULT("$result") ++ if test "$result" = "no" && test "$USE_64" = 1; then ++ AC_MSG_ERROR([Can't --enable-64bit on non 64-bit platforms]) ++ fi ++ if test "$result" = "yes"; then ++ USE_64=1 ++ fi ++fi ++ + AC_ARG_ENABLE(mdupdate, + [ --enable-mdupdate Enable use of certain compilers' mdupdate feature], + [ if test "$enableval" = "yes"; then diff --git a/recipes/mozilla/nspr-4.7.1/30_pkgconfig.dpatch b/recipes/mozilla/nspr-4.7.1/30_pkgconfig.dpatch new file mode 100644 index 0000000000..aa8089e12e --- /dev/null +++ b/recipes/mozilla/nspr-4.7.1/30_pkgconfig.dpatch @@ -0,0 +1,33 @@ +--- nsprpub/config/Makefile.in ++++ nsprpub/config/Makefile.in +@@ -158,3 +158,7 @@ + install:: nspr.m4 + $(NSINSTALL) -D $(DESTDIR)$(datadir)/aclocal + $(NSINSTALL) -t -m 0644 $< $(DESTDIR)$(datadir)/aclocal ++ ++install:: nspr.pc ++ $(NSINSTALL) -D $(DESTDIR)$(libdir)/pkgconfig ++ $(NSINSTALL) -t -m 0644 $< $(DESTDIR)$(libdir)/pkgconfig +--- nsprpub/config/nspr.pc.in ++++ nsprpub/config/nspr.pc.in +@@ -0,0 +1,10 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: NSPR ++Description: The Netscape Portable Runtime ++Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@ ++Libs: -L@libdir@ -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ @OS_LIBS@ ++Cflags: -I@includedir@ +--- nsprpub/configure.in ++++ nsprpub/configure.in +@@ -2766,6 +2766,7 @@ + config/nsprincl.mk + config/nsprincl.sh + config/nspr-config ++config/nspr.pc + lib/Makefile + lib/ds/Makefile + lib/libc/Makefile diff --git a/recipes/mozilla/nspr-4.7.1/81_sonames.dpatch b/recipes/mozilla/nspr-4.7.1/81_sonames.dpatch new file mode 100644 index 0000000000..702c50dbad --- /dev/null +++ b/recipes/mozilla/nspr-4.7.1/81_sonames.dpatch @@ -0,0 +1,234 @@ +--- nsprpub/config/rules.mk ++++ nsprpub/config/rules.mk +@@ -129,12 +129,35 @@ + else + ifdef MKSHLIB + SHARED_LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX) ++SONAME = $(notdir $(SHARED_LIBRARY)) ++ ++ifdef SO_VERSION ++ifneq (,$(findstring $(SONAME),$(MKSHLIB))) ++SO_VERSION_MAJOR := $(shell echo $(SO_VERSION) | sed 's/^\([^.]*\)\(\.[^.]*\)\?\(\.[^.]*\)\?/\1/') ++SO_VERSION_MINOR := $(shell echo $(SO_VERSION) | sed 's/^\([^.]*\)\(\.[^.]*\)\?\(\.[^.]*\)\?/\2/') ++SO_VERSION_MICRO := $(shell echo $(SO_VERSION) | sed 's/^\([^.]*\)\(\.[^.]*\)\?\(\.[^.]*\)\?/\3/') ++ ++SHARED_LIBRARY_LINKS := $(SONAME) ++ifdef SO_VERSION_MINOR ++SHARED_LIBRARY_LINKS += $(SONAME).$(SO_VERSION_MAJOR) + endif ++ifdef SO_VERSION_MICRO ++SHARED_LIBRARY_LINKS += $(SHARED_LIBRARY).$(SO_VERSION_MAJOR)$(SO_VERSION_MINOR) + endif + ++SONAME := $(SONAME).$(SO_VERSION_MAJOR) ++SHARED_LIBRARY := $(SHARED_LIBRARY).$(SO_VERSION) ++ ++MKSHLINKS = (cd $(1) && for link in $(SHARED_LIBRARY_LINKS); do rm -f $$link; ln -s $(notdir $(SHARED_LIBRARY)) $$link; done) + endif + endif + ++endif ++endif ++ ++endif ++endif ++ + ifndef TARGETS + ifeq (,$(filter-out WINNT OS2,$(OS_ARCH))) + TARGETS = $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY) +@@ -166,7 +189,7 @@ + endif + + ALL_TRASH = $(TARGETS) $(OBJS) $(RES) $(filter-out . .., $(OBJDIR)) LOGS TAGS $(GARBAGE) \ +- $(NOSUCHFILE) \ ++ $(SHARED_LIBRARY_LINKS) $(NOSUCHFILE) \ + so_locations + + ifeq ($(OS_ARCH),OpenVMS) +@@ -232,6 +255,7 @@ + endif + ifdef RELEASE_LIBS + $(NSINSTALL) -t -m 0755 $(RELEASE_LIBS) $(DESTDIR)$(libdir)/$(lib_subdir) ++ $(call MKSHLINKS,$(DESTDIR)$(libdir)/$(lib_subdir)) + endif + +$(LOOP_OVER_DIRS) + +@@ -325,6 +349,8 @@ + $(IMPLIB) $@ $(MAPFILE) + endif + ++$(SHARED_LIBRARY_LINKS): %: $(SHARED_LIBRARY) ++ + $(SHARED_LIBRARY): $(OBJS) $(RES) $(MAPFILE) + @$(MAKE_OBJDIR) + rm -f $@ +@@ -352,6 +378,7 @@ + fi + endif # OpenVMS + $(MKSHLIB) $(OBJS) $(RES) $(EXTRA_LIBS) ++ $(call MKSHLINKS,.) + endif # OS2 vacpp + endif # WINNT + endif # AIX 4.1 +--- nsprpub/configure.in ++++ nsprpub/configure.in +@@ -892,7 +892,7 @@ + AC_DEFINE(_PR_STAT_HAS_ST_ATIMESPEC) + MKSHLIB='$(CC) -o $@ $(DSO_LDOPTS)' + DSO_CFLAGS=-fPIC +- DSO_LDOPTS='-shared -Wl,-soname,$(@:$(OBJDIR)/%.so=%.so)' ++ DSO_LDOPTS='-shared -Wl,-soname,$(SONAME)' + STRIP="$STRIP -d" + case "$target_os" in + bsdi4.2* | bsdi4.3* | bsdi5.*) +@@ -1042,7 +1042,7 @@ + fi + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' + DSO_CFLAGS=-fPIC +- DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' ++ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(SONAME)' + MDCPUCFG_H=_freebsd.cfg + PR_MD_CSRCS=freebsd.c + ;; +@@ -1059,7 +1059,7 @@ + # workaround this problem. + AC_DEFINE(_PR_POLL_WITH_SELECT) + AC_DEFINE(_USE_BIG_FDS) +- DSO_LDOPTS='-b +h $(notdir $@)' ++ DSO_LDOPTS='-b +h $(SONAME)' + PR_MD_CSRCS=hpux.c + if test "$OS_TEST" = "ia64"; then + DLL_SUFFIX=so +@@ -1304,7 +1304,7 @@ + PR_MD_CSRCS=linux.c + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@' + DSO_CFLAGS=-fPIC +- DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' ++ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(SONAME)' + _OPTIMIZE_FLAGS=-O2 + _DEBUG_FLAGS="-g -fno-inline" # most people on linux use gcc/gdb, and that + # combo is not yet good at debugging inlined +@@ -1561,7 +1561,7 @@ + else + OBJECT_FMT=ELF + DLL_SUFFIX=so +- DSO_LDOPTS='-shared -Wl,-soname,$(notdir $@)' ++ DSO_LDOPTS='-shared -Wl,-soname,$(SONAME)' + fi + fi + +@@ -1607,7 +1607,7 @@ + AC_DEFINE(HAVE_POINTER_LOCALTIME_R) + MDCPUCFG_H=_nto.cfg + PR_MD_CSRCS=nto.c +- MKSHLIB='$(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(notdir $@) -o $@' ++ MKSHLIB='$(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(SONAME) -o $@' + DSO_CFLAGS=-fPIC + DSO_LDOPTS=-shared + OS_LIBS="$OS_LIBS -lsocket" +@@ -1685,7 +1685,7 @@ + if echo $OS_RELEASE | grep -c V4.0 >/dev/null; then + AC_DEFINE(OSF1V4_MAP_PRIVATE_BUG) + fi +- DSO_LDOPTS='-shared -all -expect_unresolved "*" -soname $(notdir $@)' ++ DSO_LDOPTS='-shared -all -expect_unresolved "*" -soname $(SONAME)' + MDCPUCFG_H=_osf1.cfg + PR_MD_CSRCS=osf1.c + ;; +@@ -1751,7 +1751,7 @@ + _OPTIMIZE_FLAGS='-O -F Olimit,4000' + fi + +- DSO_LDOPTS='-G -z defs -h $(@:$(OBJDIR)/%.so=%.so)' ++ DSO_LDOPTS='-G -z defs -h $(SONAME)' + + if test "$OS_RELEASE" = "5.43"; then + AC_DEFINE(IP_MULTICAST) +@@ -1807,10 +1807,10 @@ + if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then + GCC_USE_GNU_LD=1 + fi +- DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore' ++ DSO_LDOPTS='-shared -Wl,-h,$(SONAME),-z,combreloc,-z,defs,-z,ignore' + else + DSO_CFLAGS=-KPIC +- DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore' ++ DSO_LDOPTS='-G -h $(SONAME) -z combreloc -z defs -z ignore' + fi + if test -n "$GNU_CC"; then + CFLAGS="$CFLAGS -Wall" +--- nsprpub/lib/ds/Makefile.in ++++ nsprpub/lib/ds/Makefile.in +@@ -127,6 +127,7 @@ + + LIBRARY_NAME = plds + LIBRARY_VERSION = $(MOD_MAJOR_VERSION) ++SO_VERSION = 0d + + RELEASE_HEADERS = $(HEADERS) + RELEASE_HEADERS_DEST = $(RELEASE_INCLUDE_DIR) +@@ -185,12 +186,14 @@ + export:: $(TARGETS) + $(INSTALL) -m 444 $(HEADERS) $(dist_includedir) + $(INSTALL) -m 444 $(TARGETS) $(dist_libdir) ++ $(call MKSHLINKS,$(dist_libdir)) + ifdef SHARED_LIBRARY + ifeq ($(OS_ARCH),HP-UX) + $(INSTALL) -m 755 $(SHARED_LIBRARY) $(dist_libdir) + $(INSTALL) -m 755 $(SHARED_LIBRARY) $(dist_bindir) + else + $(INSTALL) -m 444 $(SHARED_LIBRARY) $(dist_bindir) ++ $(call MKSHLINKS,$(dist_bindir)) + endif + endif + ifeq ($(MOZ_BITS),16) +--- nsprpub/lib/libc/src/Makefile.in ++++ nsprpub/lib/libc/src/Makefile.in +@@ -69,6 +69,7 @@ + + LIBRARY_NAME = plc + LIBRARY_VERSION = $(MOD_MAJOR_VERSION) ++SO_VERSION = 0d + + RELEASE_LIBS = $(TARGETS) + +@@ -187,12 +188,14 @@ + + export:: $(TARGETS) + $(INSTALL) -m 444 $(TARGETS) $(dist_libdir) ++ $(call MKSHLINKS,$(dist_libdir)) + ifdef SHARED_LIBRARY + ifeq ($(OS_ARCH),HP-UX) + $(INSTALL) -m 755 $(SHARED_LIBRARY) $(dist_libdir) + $(INSTALL) -m 755 $(SHARED_LIBRARY) $(dist_bindir) + else + $(INSTALL) -m 444 $(SHARED_LIBRARY) $(dist_bindir) ++ $(call MKSHLINKS,$(dist_bindir)) + endif + endif + ifeq ($(MOZ_BITS),16) +--- nsprpub/pr/src/Makefile.in ++++ sprpub/pr/src/Makefile.in +@@ -332,6 +332,7 @@ + + LIBRARY_NAME = nspr + LIBRARY_VERSION = $(MOD_MAJOR_VERSION) ++SO_VERSION = 0d + + RELEASE_LIBS = $(TARGETS) + +@@ -402,12 +403,14 @@ + + export:: $(TARGETS) + $(INSTALL) -m 444 $(TARGETS) $(dist_libdir) ++ $(call MKSHLINKS,$(dist_libdir)) + ifdef SHARED_LIBRARY + ifeq ($(OS_ARCH),HP-UX) + $(INSTALL) -m 755 $(SHARED_LIBRARY) $(dist_libdir) + $(INSTALL) -m 755 $(SHARED_LIBRARY) $(dist_bindir) + else + $(INSTALL) -m 444 $(SHARED_LIBRARY) $(dist_bindir) ++ $(call MKSHLINKS,$(dist_bindir)) + endif + endif + ifeq ($(MOZ_BITS),16) diff --git a/recipes/mozilla/nspr-4.7.1/99_configure.dpatch b/recipes/mozilla/nspr-4.7.1/99_configure.dpatch new file mode 100644 index 0000000000..1090fa1e07 --- /dev/null +++ b/recipes/mozilla/nspr-4.7.1/99_configure.dpatch @@ -0,0 +1,978 @@ +--- nsprpub/configure.orig ++++ nsprpub/configure +@@ -36,7 +36,7 @@ + ac_help="$ac_help + --enable-n32 Enable n32 ABI support (IRIX only)" + ac_help="$ac_help +- --enable-64bit Enable 64-bit support (on certain platforms)" ++ --disable-64bit Disable 64-bit support (on 64-bit platforms)" + ac_help="$ac_help + --enable-mdupdate Enable use of certain compilers' mdupdate feature" + ac_help="$ac_help +@@ -699,7 +699,7 @@ + USE_USER_PTHREADS= + USE_NSPR_THREADS= + USE_N32= +-USE_64= ++USE_64=maybe + USE_CPLUS= + USE_IPV6= + USE_MDUPDATE= +@@ -920,12 +920,44 @@ + # Check whether --enable-64bit or --disable-64bit was given. + if test "${enable_64bit+set}" = set; then + enableval="$enable_64bit" +- if test "$enableval" = "yes"; then ++ if test "$enableval" = "no"; then ++ USE_64= ++ else + USE_64=1 + fi + fi + + ++if test "${USE_64}"; then ++ echo $ac_n "checking for 64-bit OS""... $ac_c" 1>&6 ++echo "configure:934: checking for 64-bit OS" >&5 ++ cat > conftest.$ac_ext <<EOF ++#line 936 "configure" ++#include "confdefs.h" ++ ++int main() { ++int assert[(sizeof(long) == 8) ? 1: -1] ++; return 0; } ++EOF ++if { (eval echo configure:943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++ rm -rf conftest* ++ result="yes" ++else ++ echo "configure: failed program was:" >&5 ++ cat conftest.$ac_ext >&5 ++ rm -rf conftest* ++ result="no" ++fi ++rm -f conftest* ++ echo "$ac_t"""$result"" 1>&6 ++ if test "$result" = "no" && test "$USE_64" = 1; then ++ { echo "configure: error: Can't --enable-64bit on non 64-bit platforms" 1>&2; exit 1; } ++ fi ++ if test "$result" = "yes"; then ++ USE_64=1 ++ fi ++fi ++ + # Check whether --enable-mdupdate or --disable-mdupdate was given. + if test "${enable_mdupdate+set}" = set; then + enableval="$enable_mdupdate" +@@ -1067,7 +1099,7 @@ + # Extract the first word of "$WHOAMI whoami", so it can be a program name with args. + set dummy $WHOAMI whoami; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1071: checking for $ac_word" >&5 ++echo "configure:1103: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_path_WHOAMI'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1138,13 +1170,13 @@ + _SAVE_LDFLAGS="$LDFLAGS" + + echo $ac_n "checking for $host compiler""... $ac_c" 1>&6 +-echo "configure:1142: checking for $host compiler" >&5 ++echo "configure:1174: checking for $host compiler" >&5 + for ac_prog in $HOST_CC gcc cc /usr/ucb/cc + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1148: checking for $ac_word" >&5 ++echo "configure:1180: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_HOST_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1190,16 +1222,16 @@ + LDFLAGS="$HOST_LDFLAGS" + + echo $ac_n "checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works""... $ac_c" 1>&6 +-echo "configure:1194: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5 ++echo "configure:1226: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5 + cat > conftest.$ac_ext <<EOF +-#line 1196 "configure" ++#line 1228 "configure" + #include "confdefs.h" + + int main() { + return(0); + ; return 0; } + EOF +-if { (eval echo configure:1203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_prog_host_cc_works=1 echo "$ac_t""yes" 1>&6 + else +@@ -1228,7 +1260,7 @@ + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1232: checking for $ac_word" >&5 ++echo "configure:1264: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1262,7 +1294,7 @@ + # Extract the first word of "gcc", so it can be a program name with args. + set dummy gcc; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1266: checking for $ac_word" >&5 ++echo "configure:1298: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1292,7 +1324,7 @@ + # Extract the first word of "cc", so it can be a program name with args. + set dummy cc; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1296: checking for $ac_word" >&5 ++echo "configure:1328: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1343,7 +1375,7 @@ + # Extract the first word of "cl", so it can be a program name with args. + set dummy cl; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1347: checking for $ac_word" >&5 ++echo "configure:1379: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1375,7 +1407,7 @@ + fi + + echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 +-echo "configure:1379: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ++echo "configure:1411: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 + + ac_ext=c + # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +@@ -1386,12 +1418,12 @@ + + cat > conftest.$ac_ext << EOF + +-#line 1390 "configure" ++#line 1422 "configure" + #include "confdefs.h" + + main(){return(0);} + EOF +-if { (eval echo configure:1395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest; exit) 2>/dev/null; then +@@ -1417,12 +1449,12 @@ + { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } + fi + echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 +-echo "configure:1421: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 ++echo "configure:1453: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 + echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 + cross_compiling=$ac_cv_prog_cc_cross + + echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 +-echo "configure:1426: checking whether we are using GNU C" >&5 ++echo "configure:1458: checking whether we are using GNU C" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1431,7 +1463,7 @@ + yes; + #endif + EOF +-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ++if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gcc=yes + else + ac_cv_prog_gcc=no +@@ -1450,7 +1482,7 @@ + ac_save_CFLAGS="$CFLAGS" + CFLAGS= + echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 +-echo "configure:1454: checking whether ${CC-cc} accepts -g" >&5 ++echo "configure:1486: checking whether ${CC-cc} accepts -g" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1487,7 +1519,7 @@ + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1491: checking for $ac_word" >&5 ++echo "configure:1523: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1523,7 +1555,7 @@ + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1527: checking for $ac_word" >&5 ++echo "configure:1559: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1555,7 +1587,7 @@ + + + echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 +-echo "configure:1559: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 ++echo "configure:1591: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 + + ac_ext=C + # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +@@ -1566,12 +1598,12 @@ + + cat > conftest.$ac_ext << EOF + +-#line 1570 "configure" ++#line 1602 "configure" + #include "confdefs.h" + + int main(){return(0);} + EOF +-if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:1607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cxx_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest; exit) 2>/dev/null; then +@@ -1597,12 +1629,12 @@ + { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } + fi + echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 +-echo "configure:1601: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 ++echo "configure:1633: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 + echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 + cross_compiling=$ac_cv_prog_cxx_cross + + echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 +-echo "configure:1606: checking whether we are using GNU C++" >&5 ++echo "configure:1638: checking whether we are using GNU C++" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1611,7 +1643,7 @@ + yes; + #endif + EOF +-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ++if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gxx=yes + else + ac_cv_prog_gxx=no +@@ -1630,7 +1662,7 @@ + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS= + echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 +-echo "configure:1634: checking whether ${CXX-g++} accepts -g" >&5 ++echo "configure:1666: checking whether ${CXX-g++} accepts -g" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1675,7 +1707,7 @@ + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1679: checking for $ac_word" >&5 ++echo "configure:1711: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1710,7 +1742,7 @@ + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1714: checking for $ac_word" >&5 ++echo "configure:1746: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1745,7 +1777,7 @@ + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1749: checking for $ac_word" >&5 ++echo "configure:1781: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1780,7 +1812,7 @@ + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1784: checking for $ac_word" >&5 ++echo "configure:1816: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1815,7 +1847,7 @@ + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1819: checking for $ac_word" >&5 ++echo "configure:1851: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1850,7 +1882,7 @@ + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1854: checking for $ac_word" >&5 ++echo "configure:1886: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1885,7 +1917,7 @@ + # Extract the first word of "gcc", so it can be a program name with args. + set dummy gcc; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1889: checking for $ac_word" >&5 ++echo "configure:1921: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1915,7 +1947,7 @@ + # Extract the first word of "cc", so it can be a program name with args. + set dummy cc; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1919: checking for $ac_word" >&5 ++echo "configure:1951: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1966,7 +1998,7 @@ + # Extract the first word of "cl", so it can be a program name with args. + set dummy cl; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1970: checking for $ac_word" >&5 ++echo "configure:2002: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -1998,7 +2030,7 @@ + fi + + echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 +-echo "configure:2002: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ++echo "configure:2034: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 + + ac_ext=c + # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +@@ -2009,12 +2041,12 @@ + + cat > conftest.$ac_ext << EOF + +-#line 2013 "configure" ++#line 2045 "configure" + #include "confdefs.h" + + main(){return(0);} + EOF +-if { (eval echo configure:2018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest; exit) 2>/dev/null; then +@@ -2040,12 +2072,12 @@ + { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } + fi + echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 +-echo "configure:2044: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 ++echo "configure:2076: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 + echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 + cross_compiling=$ac_cv_prog_cc_cross + + echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 +-echo "configure:2049: checking whether we are using GNU C" >&5 ++echo "configure:2081: checking whether we are using GNU C" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -2054,7 +2086,7 @@ + yes; + #endif + EOF +-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ++if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gcc=yes + else + ac_cv_prog_gcc=no +@@ -2073,7 +2105,7 @@ + ac_save_CFLAGS="$CFLAGS" + CFLAGS= + echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 +-echo "configure:2077: checking whether ${CC-cc} accepts -g" >&5 ++echo "configure:2109: checking whether ${CC-cc} accepts -g" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -2113,7 +2145,7 @@ + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:2117: checking for $ac_word" >&5 ++echo "configure:2149: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -2145,7 +2177,7 @@ + + + echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 +-echo "configure:2149: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 ++echo "configure:2181: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 + + ac_ext=C + # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +@@ -2156,12 +2188,12 @@ + + cat > conftest.$ac_ext << EOF + +-#line 2160 "configure" ++#line 2192 "configure" + #include "confdefs.h" + + int main(){return(0);} + EOF +-if { (eval echo configure:2165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cxx_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. + if (./conftest; exit) 2>/dev/null; then +@@ -2187,12 +2219,12 @@ + { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } + fi + echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 +-echo "configure:2191: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 ++echo "configure:2223: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 + echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 + cross_compiling=$ac_cv_prog_cxx_cross + + echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 +-echo "configure:2196: checking whether we are using GNU C++" >&5 ++echo "configure:2228: checking whether we are using GNU C++" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -2201,7 +2233,7 @@ + yes; + #endif + EOF +-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ++if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gxx=yes + else + ac_cv_prog_gxx=no +@@ -2220,7 +2252,7 @@ + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS= + echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 +-echo "configure:2224: checking whether ${CXX-g++} accepts -g" >&5 ++echo "configure:2256: checking whether ${CXX-g++} accepts -g" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -2254,7 +2286,7 @@ + fi + fi + echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 +-echo "configure:2258: checking how to run the C preprocessor" >&5 ++echo "configure:2290: checking how to run the C preprocessor" >&5 + # On Suns, sometimes $CPP names a directory. + if test -n "$CPP" && test -d "$CPP"; then + CPP= +@@ -2269,13 +2301,13 @@ + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. + cat > conftest.$ac_ext <<EOF +-#line 2273 "configure" ++#line 2305 "configure" + #include "confdefs.h" + #include <assert.h> + Syntax Error + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:2279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:2311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then + : +@@ -2286,13 +2318,13 @@ + rm -rf conftest* + CPP="${CC-cc} -E -traditional-cpp" + cat > conftest.$ac_ext <<EOF +-#line 2290 "configure" ++#line 2322 "configure" + #include "confdefs.h" + #include <assert.h> + Syntax Error + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:2296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:2328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then + : +@@ -2303,13 +2335,13 @@ + rm -rf conftest* + CPP="${CC-cc} -nologo -E" + cat > conftest.$ac_ext <<EOF +-#line 2307 "configure" ++#line 2339 "configure" + #include "confdefs.h" + #include <assert.h> + Syntax Error + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:2313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:2345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } + ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` + if test -z "$ac_err"; then + : +@@ -2336,7 +2368,7 @@ + # Extract the first word of "ranlib", so it can be a program name with args. + set dummy ranlib; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:2340: checking for $ac_word" >&5 ++echo "configure:2372: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
