You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ga...@apache.org on 2003/05/13 16:40:07 UTC

cvs commit: xml-xerces/c/tests configure

gareth      2003/05/13 07:40:07

  Modified:    c/samples configure
               c/src/xercesc configure
               c/tests  configure
  Log:
  Port to NetBSD. Patch by Hiramatsu Yoshifumi.
  
  Revision  Changes    Path
  1.26      +79 -26    xml-xerces/c/samples/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/samples/configure,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- configure	13 Mar 2003 22:12:21 -0000	1.25
  +++ configure	13 May 2003 14:40:07 -0000	1.26
  @@ -1,7 +1,7 @@
   #! /bin/sh
   
   # Guess values for system-dependent variables and create Makefiles.
  -# Generated automatically using autoconf version 2.13
  +# Generated automatically using autoconf version 2.13 
   # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
   #
   # This configure script is free software; the Free Software Foundation
  @@ -887,6 +887,57 @@
     fi
   fi
   
  +for ac_declaration in \
  +   ''\
  +   '#include <stdlib.h>' \
  +   'extern "C" void std::exit (int) throw (); using std::exit;' \
  +   'extern "C" void std::exit (int); using std::exit;' \
  +   'extern "C" void exit (int) throw ();' \
  +   'extern "C" void exit (int);' \
  +   'void exit (int);'
  +do
  +  cat > conftest.$ac_ext <<EOF
  +#line 901 "configure"
  +#include "confdefs.h"
  +#include <stdlib.h>
  +$ac_declaration
  +int main() {
  +exit (42);
  +; return 0; }
  +EOF
  +if { (eval echo configure:909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  +  :
  +else
  +  echo "configure: failed program was:" >&5
  +  cat conftest.$ac_ext >&5
  +  rm -rf conftest*
  +  continue
  +fi
  +rm -f conftest*
  +  cat > conftest.$ac_ext <<EOF
  +#line 919 "configure"
  +#include "confdefs.h"
  +$ac_declaration
  +int main() {
  +exit (42);
  +; return 0; }
  +EOF
  +if { (eval echo configure:926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  +  rm -rf conftest*
  +  break
  +else
  +  echo "configure: failed program was:" >&5
  +  cat conftest.$ac_ext >&5
  +fi
  +rm -f conftest*
  +done
  +if test -n "$ac_declaration"; then
  +  echo '#ifdef __cplusplus' >>confdefs.h
  +  echo $ac_declaration      >>confdefs.h
  +  echo '#endif'             >>confdefs.h
  +fi
  +
  +
   ac_aux_dir=
   for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     if test -f $ac_dir/install-sh; then
  @@ -918,7 +969,7 @@
   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   # ./install, which can be erroneously created by make from ./install.sh.
   echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  -echo "configure:922: checking for a BSD compatible install" >&5
  +echo "configure:973: checking for a BSD compatible install" >&5
   if test -z "$INSTALL"; then
   if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
  @@ -973,7 +1024,7 @@
   # Extract the first word of "autoconf", so it can be a program name with args.
   set dummy autoconf; ac_word=$2
   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  -echo "configure:977: checking for $ac_word" >&5
  +echo "configure:1028: checking for $ac_word" >&5
   if eval "test \"`echo '$''{'ac_cv_prog_AUTOCONF'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
  @@ -1002,7 +1053,7 @@
   
   
   echo $ac_n "checking for floor in -lm""... $ac_c" 1>&6
  -echo "configure:1006: checking for floor in -lm" >&5
  +echo "configure:1057: checking for floor in -lm" >&5
   ac_lib_var=`echo m'_'floor | sed 'y%./+-%__p_%'`
   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
  @@ -1010,7 +1061,7 @@
     ac_save_LIBS="$LIBS"
   LIBS="-lm  $LIBS"
   cat > conftest.$ac_ext <<EOF
  -#line 1014 "configure"
  +#line 1065 "configure"
   #include "confdefs.h"
   /* Override any gcc2 internal prototype to avoid an error.  */
   /* We use char because int might match the return type of a gcc2
  @@ -1021,7 +1072,7 @@
   floor()
   ; return 0; }
   EOF
  -if { (eval echo configure:1025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  +if { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     rm -rf conftest*
     eval "ac_cv_lib_$ac_lib_var=yes"
   else
  @@ -1050,7 +1101,7 @@
   
   
   echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
  -echo "configure:1054: checking for pthread_create in -lpthread" >&5
  +echo "configure:1105: checking for pthread_create in -lpthread" >&5
   ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
  @@ -1058,7 +1109,7 @@
     ac_save_LIBS="$LIBS"
   LIBS="-lpthread  $LIBS"
   cat > conftest.$ac_ext <<EOF
  -#line 1062 "configure"
  +#line 1113 "configure"
   #include "confdefs.h"
   /* Override any gcc2 internal prototype to avoid an error.  */
   /* We use char because int might match the return type of a gcc2
  @@ -1069,7 +1120,7 @@
   pthread_create()
   ; return 0; }
   EOF
  -if { (eval echo configure:1073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  +if { (eval echo configure:1124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     rm -rf conftest*
     eval "ac_cv_lib_$ac_lib_var=yes"
   else
  @@ -1098,7 +1149,7 @@
   
   if test $ac_cv_lib_pthread_pthread_create = no; then
   echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
  -echo "configure:1102: checking for pthread_create in -lpthreads" >&5
  +echo "configure:1153: checking for pthread_create in -lpthreads" >&5
   ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
  @@ -1106,7 +1157,7 @@
     ac_save_LIBS="$LIBS"
   LIBS="-lpthreads  $LIBS"
   cat > conftest.$ac_ext <<EOF
  -#line 1110 "configure"
  +#line 1161 "configure"
   #include "confdefs.h"
   /* Override any gcc2 internal prototype to avoid an error.  */
   /* We use char because int might match the return type of a gcc2
  @@ -1117,7 +1168,7 @@
   pthread_create()
   ; return 0; }
   EOF
  -if { (eval echo configure:1121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  +if { (eval echo configure:1172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     rm -rf conftest*
     eval "ac_cv_lib_$ac_lib_var=yes"
   else
  @@ -1147,7 +1198,7 @@
   fi
   
   echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  -echo "configure:1151: checking how to run the C preprocessor" >&5
  +echo "configure:1202: checking how to run the C preprocessor" >&5
   # On Suns, sometimes $CPP names a directory.
   if test -n "$CPP" && test -d "$CPP"; then
     CPP=
  @@ -1162,13 +1213,13 @@
     # On the NeXT, cc -E runs the code through the compiler's parser,
     # not just through cpp.
     cat > conftest.$ac_ext <<EOF
  -#line 1166 "configure"
  +#line 1217 "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:1172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1223: \"$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
     :
  @@ -1179,13 +1230,13 @@
     rm -rf conftest*
     CPP="${CC-cc} -E -traditional-cpp"
     cat > conftest.$ac_ext <<EOF
  -#line 1183 "configure"
  +#line 1234 "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:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1240: \"$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
     :
  @@ -1196,13 +1247,13 @@
     rm -rf conftest*
     CPP="${CC-cc} -nologo -E"
     cat > conftest.$ac_ext <<EOF
  -#line 1200 "configure"
  +#line 1251 "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:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1257: \"$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
     :
  @@ -1230,17 +1281,17 @@
   do
   ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  -echo "configure:1234: checking for $ac_hdr" >&5
  +echo "configure:1285: checking for $ac_hdr" >&5
   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
     cat > conftest.$ac_ext <<EOF
  -#line 1239 "configure"
  +#line 1290 "configure"
   #include "confdefs.h"
   #include <$ac_hdr>
   EOF
   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  -{ (eval echo configure:1244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1295: \"$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
     rm -rf conftest*
  @@ -1260,7 +1311,7 @@
     cat >> confdefs.h <<EOF
   #define $ac_tr_hdr 1
   EOF
  -
  + 
   else
     echo "$ac_t""no" 1>&6
   fi
  @@ -1280,7 +1331,7 @@
   fi
   
   echo $ac_n "checking host system type""... $ac_c" 1>&6
  -echo "configure:1284: checking host system type" >&5
  +echo "configure:1335: checking host system type" >&5
   
   host_alias=$host
   case "$host_alias" in
  @@ -1309,9 +1360,10 @@
           *-*-*unixware*) platform=UNIXWARE ;;
           *-*-sysv5uw7*)  platform=UNIXWARE ;;
           *-*-beos*)      platform=BEOS ;;
  -        *-*-nto*)       platform=QNX ;;
           *-*-linux*)     platform=LINUX ;;
  +        *-*-nto*)       platform=QNX ;;
           *-*-freebsd*)   platform=FREEBSD ;;
  +        *-*-netbsd*)    platform=NETBSD ;;
           *-*-irix*)      platform=IRIX ;;
           *-*-aix*)       platform=AIX ;;
           *-*-hp*)        platform=HPUX ;
  @@ -1535,8 +1587,8 @@
   s%@cflags@%$cflags%g
   s%@ldflags@%$ldflags%g
   s%@threads@%$threads%g
  -s%@extra_libs@%$extra_libs%g
   s%@bitstobuild@%$bitstobuild%g
  +s%@extra_libs@%$extra_libs%g
   
   CEOF
   EOF
  @@ -1665,3 +1717,4 @@
   
   echo
   echo Having build problems? Read instructions at http://xml.apache.org/xerces-c/build.html
  +
  
  
  
  1.13      +80 -21    xml-xerces/c/src/xercesc/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/configure,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- configure	13 Mar 2003 22:11:59 -0000	1.12
  +++ configure	13 May 2003 14:40:07 -0000	1.13
  @@ -1,7 +1,7 @@
   #! /bin/sh
   
   # Guess values for system-dependent variables and create Makefiles.
  -# Generated automatically using autoconf version 2.13
  +# Generated automatically using autoconf version 2.13 
   # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
   #
   # This configure script is free software; the Free Software Foundation
  @@ -887,6 +887,57 @@
     fi
   fi
   
  +for ac_declaration in \
  +   ''\
  +   '#include <stdlib.h>' \
  +   'extern "C" void std::exit (int) throw (); using std::exit;' \
  +   'extern "C" void std::exit (int); using std::exit;' \
  +   'extern "C" void exit (int) throw ();' \
  +   'extern "C" void exit (int);' \
  +   'void exit (int);'
  +do
  +  cat > conftest.$ac_ext <<EOF
  +#line 901 "configure"
  +#include "confdefs.h"
  +#include <stdlib.h>
  +$ac_declaration
  +int main() {
  +exit (42);
  +; return 0; }
  +EOF
  +if { (eval echo configure:909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  +  :
  +else
  +  echo "configure: failed program was:" >&5
  +  cat conftest.$ac_ext >&5
  +  rm -rf conftest*
  +  continue
  +fi
  +rm -f conftest*
  +  cat > conftest.$ac_ext <<EOF
  +#line 919 "configure"
  +#include "confdefs.h"
  +$ac_declaration
  +int main() {
  +exit (42);
  +; return 0; }
  +EOF
  +if { (eval echo configure:926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  +  rm -rf conftest*
  +  break
  +else
  +  echo "configure: failed program was:" >&5
  +  cat conftest.$ac_ext >&5
  +fi
  +rm -f conftest*
  +done
  +if test -n "$ac_declaration"; then
  +  echo '#ifdef __cplusplus' >>confdefs.h
  +  echo $ac_declaration      >>confdefs.h
  +  echo '#endif'             >>confdefs.h
  +fi
  +
  +
   ac_aux_dir=
   for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     if test -f $ac_dir/install-sh; then
  @@ -918,7 +969,7 @@
   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   # ./install, which can be erroneously created by make from ./install.sh.
   echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  -echo "configure:922: checking for a BSD compatible install" >&5
  +echo "configure:973: checking for a BSD compatible install" >&5
   if test -z "$INSTALL"; then
   if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
  @@ -973,7 +1024,7 @@
   # Extract the first word of "autoconf", so it can be a program name with args.
   set dummy autoconf; ac_word=$2
   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  -echo "configure:977: checking for $ac_word" >&5
  +echo "configure:1028: checking for $ac_word" >&5
   if eval "test \"`echo '$''{'ac_cv_prog_AUTOCONF'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
  @@ -1003,7 +1054,7 @@
   
   
   echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  -echo "configure:1007: checking how to run the C preprocessor" >&5
  +echo "configure:1058: checking how to run the C preprocessor" >&5
   # On Suns, sometimes $CPP names a directory.
   if test -n "$CPP" && test -d "$CPP"; then
     CPP=
  @@ -1018,13 +1069,13 @@
     # On the NeXT, cc -E runs the code through the compiler's parser,
     # not just through cpp.
     cat > conftest.$ac_ext <<EOF
  -#line 1022 "configure"
  +#line 1073 "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:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1079: \"$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
     :
  @@ -1035,13 +1086,13 @@
     rm -rf conftest*
     CPP="${CC-cc} -E -traditional-cpp"
     cat > conftest.$ac_ext <<EOF
  -#line 1039 "configure"
  +#line 1090 "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:1045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1096: \"$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
     :
  @@ -1052,13 +1103,13 @@
     rm -rf conftest*
     CPP="${CC-cc} -nologo -E"
     cat > conftest.$ac_ext <<EOF
  -#line 1056 "configure"
  +#line 1107 "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:1062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1113: \"$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
     :
  @@ -1083,12 +1134,12 @@
   echo "$ac_t""$CPP" 1>&6
   
   echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  -echo "configure:1087: checking for ANSI C header files" >&5
  +echo "configure:1138: checking for ANSI C header files" >&5
   if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
     cat > conftest.$ac_ext <<EOF
  -#line 1092 "configure"
  +#line 1143 "configure"
   #include "confdefs.h"
   #include <stdlib.h>
   #include <stdarg.h>
  @@ -1096,7 +1147,7 @@
   #include <float.h>
   EOF
   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  -{ (eval echo configure:1100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1151: \"$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
     rm -rf conftest*
  @@ -1113,7 +1164,7 @@
   if test $ac_cv_header_stdc = yes; then
     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   cat > conftest.$ac_ext <<EOF
  -#line 1117 "configure"
  +#line 1168 "configure"
   #include "confdefs.h"
   #include <string.h>
   EOF
  @@ -1131,7 +1182,7 @@
   if test $ac_cv_header_stdc = yes; then
     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   cat > conftest.$ac_ext <<EOF
  -#line 1135 "configure"
  +#line 1186 "configure"
   #include "confdefs.h"
   #include <stdlib.h>
   EOF
  @@ -1152,7 +1203,7 @@
     :
   else
     cat > conftest.$ac_ext <<EOF
  -#line 1156 "configure"
  +#line 1207 "configure"
   #include "confdefs.h"
   #include <ctype.h>
   #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  @@ -1163,7 +1214,7 @@
   exit (0); }
   
   EOF
  -if { (eval echo configure:1167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  +if { (eval echo configure:1218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
   then
     :
   else
  @@ -1187,12 +1238,12 @@
   fi
   
   echo $ac_n "checking for XMLByte""... $ac_c" 1>&6
  -echo "configure:1191: checking for XMLByte" >&5
  +echo "configure:1242: checking for XMLByte" >&5
   if eval "test \"`echo '$''{'ac_cv_type_XMLByte'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
     cat > conftest.$ac_ext <<EOF
  -#line 1196 "configure"
  +#line 1247 "configure"
   #include "confdefs.h"
   #include <sys/types.h>
   #if STDC_HEADERS
  @@ -1227,7 +1278,7 @@
   fi
   
   echo $ac_n "checking host system type""... $ac_c" 1>&6
  -echo "configure:1231: checking host system type" >&5
  +echo "configure:1282: checking host system type" >&5
   
   host_alias=$host
   case "$host_alias" in
  @@ -1258,6 +1309,7 @@
           *-*-nto*)       platform=QNX ;;
           *-*-linux*)     platform=LINUX ;;
           *-*-freebsd*)   platform=FREEBSD ;;
  +        *-*-netbsd*)    platform=NETBSD ;;
           *-*-irix*)      platform=IRIX ;;
           *-*-aix*)       platform=AIX
                         case "${host}" in
  @@ -1286,10 +1338,12 @@
   cxx=${CXX}
   
   
  +
   cc=${CC}
   
   
   
  +
   prefix_include='${PREFIX}/include/xercesc'
   
   
  @@ -1324,8 +1378,10 @@
   
   threads=${THREADS}
   
  +
   bitstobuild=${BITSTOBUILD}
   
  +
   trap '' 1 2 15
   cat > confcache <<\EOF
   # This file is a shell script that caches the results of configure
  @@ -1457,6 +1513,7 @@
   util/Platforms/QNX/Makefile \
   util/Platforms/Linux/Makefile \
   util/Platforms/FreeBSD/Makefile \
  +util/Platforms/NetBSD/Makefile \
   util/Platforms/HPUX/Makefile \
   util/Platforms/OS390/Makefile \
   util/Platforms/OS400/Makefile \
  @@ -1470,6 +1527,7 @@
   util/Compilers/Makefile \
   util/MsgLoaders/InMemory/Makefile \
   util/MsgLoaders/ICU/Makefile \
  +util/MsgLoaders/ICU/resources/Makefile \
   util/MsgLoaders/MsgCatalog/Makefile \
   util/MsgLoaders/MsgFile/Makefile \
   util/NetAccessors/Socket/Makefile \
  @@ -1549,9 +1607,9 @@
   s%@uselibwww@%$uselibwww%g
   s%@messageloader@%$messageloader%g
   s%@transcoder@%$transcoder%g
  -s%@bitstobuild@%$bitstobuild%g
   s%@netaccessor@%$netaccessor%g
   s%@threads@%$threads%g
  +s%@bitstobuild@%$bitstobuild%g
   
   CEOF
   EOF
  @@ -1611,6 +1669,7 @@
   util/Platforms/QNX/Makefile \
   util/Platforms/Linux/Makefile \
   util/Platforms/FreeBSD/Makefile \
  +util/Platforms/NetBSD/Makefile \
   util/Platforms/HPUX/Makefile \
   util/Platforms/OS390/Makefile \
   util/Platforms/OS400/Makefile \
  
  
  
  1.26      +76 -25    xml-xerces/c/tests/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/tests/configure,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- configure	12 May 2003 09:44:19 -0000	1.25
  +++ configure	13 May 2003 14:40:07 -0000	1.26
  @@ -1,7 +1,7 @@
   #! /bin/sh
   
   # Guess values for system-dependent variables and create Makefiles.
  -# Generated automatically using autoconf version 2.13
  +# Generated automatically using autoconf version 2.13 
   # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
   #
   # This configure script is free software; the Free Software Foundation
  @@ -887,6 +887,57 @@
     fi
   fi
   
  +for ac_declaration in \
  +   ''\
  +   '#include <stdlib.h>' \
  +   'extern "C" void std::exit (int) throw (); using std::exit;' \
  +   'extern "C" void std::exit (int); using std::exit;' \
  +   'extern "C" void exit (int) throw ();' \
  +   'extern "C" void exit (int);' \
  +   'void exit (int);'
  +do
  +  cat > conftest.$ac_ext <<EOF
  +#line 901 "configure"
  +#include "confdefs.h"
  +#include <stdlib.h>
  +$ac_declaration
  +int main() {
  +exit (42);
  +; return 0; }
  +EOF
  +if { (eval echo configure:909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  +  :
  +else
  +  echo "configure: failed program was:" >&5
  +  cat conftest.$ac_ext >&5
  +  rm -rf conftest*
  +  continue
  +fi
  +rm -f conftest*
  +  cat > conftest.$ac_ext <<EOF
  +#line 919 "configure"
  +#include "confdefs.h"
  +$ac_declaration
  +int main() {
  +exit (42);
  +; return 0; }
  +EOF
  +if { (eval echo configure:926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  +  rm -rf conftest*
  +  break
  +else
  +  echo "configure: failed program was:" >&5
  +  cat conftest.$ac_ext >&5
  +fi
  +rm -f conftest*
  +done
  +if test -n "$ac_declaration"; then
  +  echo '#ifdef __cplusplus' >>confdefs.h
  +  echo $ac_declaration      >>confdefs.h
  +  echo '#endif'             >>confdefs.h
  +fi
  +
  +
   ac_aux_dir=
   for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
     if test -f $ac_dir/install-sh; then
  @@ -918,7 +969,7 @@
   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   # ./install, which can be erroneously created by make from ./install.sh.
   echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  -echo "configure:922: checking for a BSD compatible install" >&5
  +echo "configure:973: checking for a BSD compatible install" >&5
   if test -z "$INSTALL"; then
   if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
  @@ -973,7 +1024,7 @@
   # Extract the first word of "autoconf", so it can be a program name with args.
   set dummy autoconf; ac_word=$2
   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  -echo "configure:977: checking for $ac_word" >&5
  +echo "configure:1028: checking for $ac_word" >&5
   if eval "test \"`echo '$''{'ac_cv_prog_AUTOCONF'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
  @@ -1002,7 +1053,7 @@
   
   
   echo $ac_n "checking for floor in -lm""... $ac_c" 1>&6
  -echo "configure:1006: checking for floor in -lm" >&5
  +echo "configure:1057: checking for floor in -lm" >&5
   ac_lib_var=`echo m'_'floor | sed 'y%./+-%__p_%'`
   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
  @@ -1010,7 +1061,7 @@
     ac_save_LIBS="$LIBS"
   LIBS="-lm  $LIBS"
   cat > conftest.$ac_ext <<EOF
  -#line 1014 "configure"
  +#line 1065 "configure"
   #include "confdefs.h"
   /* Override any gcc2 internal prototype to avoid an error.  */
   /* We use char because int might match the return type of a gcc2
  @@ -1021,7 +1072,7 @@
   floor()
   ; return 0; }
   EOF
  -if { (eval echo configure:1025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  +if { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     rm -rf conftest*
     eval "ac_cv_lib_$ac_lib_var=yes"
   else
  @@ -1050,7 +1101,7 @@
   
   
   echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
  -echo "configure:1054: checking for pthread_create in -lpthread" >&5
  +echo "configure:1105: checking for pthread_create in -lpthread" >&5
   ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
  @@ -1058,7 +1109,7 @@
     ac_save_LIBS="$LIBS"
   LIBS="-lpthread  $LIBS"
   cat > conftest.$ac_ext <<EOF
  -#line 1062 "configure"
  +#line 1113 "configure"
   #include "confdefs.h"
   /* Override any gcc2 internal prototype to avoid an error.  */
   /* We use char because int might match the return type of a gcc2
  @@ -1069,7 +1120,7 @@
   pthread_create()
   ; return 0; }
   EOF
  -if { (eval echo configure:1073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  +if { (eval echo configure:1124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     rm -rf conftest*
     eval "ac_cv_lib_$ac_lib_var=yes"
   else
  @@ -1098,7 +1149,7 @@
   
   if test $ac_cv_lib_pthread_pthread_create = no; then
   echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
  -echo "configure:1102: checking for pthread_create in -lpthreads" >&5
  +echo "configure:1153: checking for pthread_create in -lpthreads" >&5
   ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
  @@ -1106,7 +1157,7 @@
     ac_save_LIBS="$LIBS"
   LIBS="-lpthreads  $LIBS"
   cat > conftest.$ac_ext <<EOF
  -#line 1110 "configure"
  +#line 1161 "configure"
   #include "confdefs.h"
   /* Override any gcc2 internal prototype to avoid an error.  */
   /* We use char because int might match the return type of a gcc2
  @@ -1117,7 +1168,7 @@
   pthread_create()
   ; return 0; }
   EOF
  -if { (eval echo configure:1121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  +if { (eval echo configure:1172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     rm -rf conftest*
     eval "ac_cv_lib_$ac_lib_var=yes"
   else
  @@ -1147,7 +1198,7 @@
   fi
   
   echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  -echo "configure:1151: checking how to run the C preprocessor" >&5
  +echo "configure:1202: checking how to run the C preprocessor" >&5
   # On Suns, sometimes $CPP names a directory.
   if test -n "$CPP" && test -d "$CPP"; then
     CPP=
  @@ -1162,13 +1213,13 @@
     # On the NeXT, cc -E runs the code through the compiler's parser,
     # not just through cpp.
     cat > conftest.$ac_ext <<EOF
  -#line 1166 "configure"
  +#line 1217 "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:1172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1223: \"$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
     :
  @@ -1179,13 +1230,13 @@
     rm -rf conftest*
     CPP="${CC-cc} -E -traditional-cpp"
     cat > conftest.$ac_ext <<EOF
  -#line 1183 "configure"
  +#line 1234 "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:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1240: \"$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
     :
  @@ -1196,13 +1247,13 @@
     rm -rf conftest*
     CPP="${CC-cc} -nologo -E"
     cat > conftest.$ac_ext <<EOF
  -#line 1200 "configure"
  +#line 1251 "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:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1257: \"$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
     :
  @@ -1230,17 +1281,17 @@
   do
   ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  -echo "configure:1234: checking for $ac_hdr" >&5
  +echo "configure:1285: checking for $ac_hdr" >&5
   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
     cat > conftest.$ac_ext <<EOF
  -#line 1239 "configure"
  +#line 1290 "configure"
   #include "confdefs.h"
   #include <$ac_hdr>
   EOF
   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  -{ (eval echo configure:1244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  +{ (eval echo configure:1295: \"$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
     rm -rf conftest*
  @@ -1260,7 +1311,7 @@
     cat >> confdefs.h <<EOF
   #define $ac_tr_hdr 1
   EOF
  -
  + 
   else
     echo "$ac_t""no" 1>&6
   fi
  @@ -1280,7 +1331,7 @@
   fi
   
   echo $ac_n "checking host system type""... $ac_c" 1>&6
  -echo "configure:1284: checking host system type" >&5
  +echo "configure:1335: checking host system type" >&5
   
   host_alias=$host
   case "$host_alias" in
  @@ -1309,8 +1360,8 @@
           *-*-*unixware*) platform=UNIXWARE ;;
           *-*-sysv5uw7*)  platform=UNIXWARE ;;
           *-*-beos*)      platform=BEOS ;;
  -        *-*-nto*)       platform=QNX ;;
           *-*-linux*)     platform=LINUX ;;
  +        *-*-nto*)       platform=QNX ;;
           *-*-freebsd*)   platform=FREEBSD ;;
           *-*-netbsd*)    platform=NETBSD ;;
           *-*-irix*)      platform=IRIX ;;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org