- Timestamp:
- 2010-07-12T15:06:25+12:00 (14 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/packages/configure
r22159 r22378 179 179 gzip -dc XML-Parser-2.34.tar.gz | tar -xf - 180 180 cd "$PACKAGES/cpan/XML-Parser-2.34" && \ 181 182 #Use 64-bit expat library on 64-bit machines, otherwise use 32-bit 183 if test ! -z "$COMPAT32BITFLAGS" ; then 184 perl Makefile.PL \ 185 PREFIX="$GSDLHOME/perllib/cpan/XML" \ 186 INSTALLSITELIB="$GSDLHOME/perllib/cpan/$perl_dir" \ 187 INSTALLSITEARCH="$GSDLHOME/perllib/cpan/$perl_dir" \ 188 INSTALLMAN1DIR="$GSDLHOME/perllib/cpan/$perl_dir" \ 189 INSTALLMAN3DIR="$GSDLHOME/perllib/cpan/$perl_dir" \ 190 SITEPREFIX="$GSDLHOME/perllib/cpan" \ 191 EXPATINCPATH="$GSDLHOME/common-src/packages/expat/include" \ 192 EXPATLIBPATH="$GSDLHOME/common-src/packages/expat/lib64" 193 else 181 194 perl Makefile.PL \ 182 195 PREFIX="$GSDLHOME/perllib/cpan/XML" \ … … 188 201 EXPATINCPATH="$GSDLHOME/common-src/packages/expat/include" \ 189 202 EXPATLIBPATH="$GSDLHOME/common-src/packages/expat/lib" 203 fi 190 204 191 205 # configure powerpoint converter -
main/trunk/greenstone2/common-src/indexers/configure.ac
r22070 r22378 73 73 74 74 dnl 75 dnl Make sure Javac and Java are available 75 dnl Make sure Javac and Java are available if were are compiling Lucene 76 76 dnl 77 77 78 AC_PROG_JAVAC 79 AC_PROG_JAVA 78 if test "$ENABLE_LUCENE" = "1" ; then 79 AC_PROG_JAVAC 80 AC_PROG_JAVA 81 fi 80 82 81 83 dnl -
main/trunk/greenstone2/common-src/packages/configure
r22058 r22378 140 140 fi 141 141 142 #Configure and compile 32-bit expat 143 if test -e Makefile ; then 144 echo make distclean && \ 145 make distclean 146 fi 147 142 148 echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 143 149 … … 151 157 CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $ENVIRONMENT 152 158 159 echo make distclean && \ 160 make distclean 161 162 if test ! -z "$COMPAT32BITFLAGS" ; then 163 #Configure and compile 64-bit expat 164 echo ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" --libdir="$PACKAGES/expat/lib64" $HOSTTARGETFLAGS $ENVIRONMENT 165 166 cd "$PACKAGES/expat/expat-1.95.8" && \ 167 ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" --libdir="$PACKAGES/expat/lib64" $HOSTTARGETFLAGS $ENVIRONMENT 168 169 echo make $ENVIRONMENT 170 make $ENVIRONMENT 171 172 echo make install $ENVIRONMENT 173 make install $ENVIRONMENT 174 fi 175 176 echo make distclean && \ 177 make distclean 153 178 154 179 # configure and compile libiconv during configuration stage … … 163 188 164 189 # configure 190 cd "$PACKAGES/iconv/libiconv-1.13.1" 191 192 if test -e Makefile ; then 193 echo make distclean && \ 194 make distclean 195 fi 196 165 197 echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 166 cd "$PACKAGES/iconv/libiconv-1.13.1" && \ 198 167 199 CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 168 200 … … 176 208 177 209 if test ! -z "$COMPAT32BITFLAGS" ; then 178 echo "Generating native 64-bit version as well"210 echo "Generating native 64-bit version of iconv" 179 211 # used in apache web server, for example 180 212 181 # dist clean 182 cd "$PACKAGES/iconv/libiconv-1.13.1" 213 # distclean 183 214 echo make distclean && \ 184 215 make distclean 185 216 186 217 # configure 187 echo ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" --libdir="$PACKAGES/iconv/lib64"$HOSTTARGETFLAGS $ENVIRONMENT218 echo ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 188 219 ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" --libdir="$PACKAGES/iconv/lib64" $HOSTTARGETFLAGS $ENVIRONMENT 189 220 … … 193 224 194 225 # make install 226 echo make install $ENVIRONMENT 195 227 make install $ENVIRONMENT 196 make install $ENVIRONMENT 197 198 fi 228 fi 229 230 echo make distclean && \ 231 make distclean 199 232 200 233 #./configure $CACHE_FILE --prefix="$PACKAGES/iconv" --disable-shared $HOSTTARGETFLAGS&& -
main/trunk/greenstone2/configure
r22058 r22378 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.65. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 # 10 # 6 11 # This configure script is free software; the Free Software Foundation 7 12 # gives unlimited permission to copy, distribute and modify it. 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 16 17 # Be more Bourne compatible 18 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14 20 emulate sh 15 21 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 23 # is contrary to our usage. Disable this feature. 18 24 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 25 setopt NO_GLOB_SUBST 26 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 74 # The user is always right. 75 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81 fi 82 83 84 # IFS 85 # We need space, tab and new line, in precisely that order. Quoting is 86 # there to prevent editors from complaining about space-tab. 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 # splitting by setting IFS to empty value.) 89 IFS=" "" $as_nl" 90 91 # Find who we are. Look in the path if we contain no directory separator. 92 case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 for as_dir in $PATH 96 do 97 IFS=$as_save_IFS 98 test -z "$as_dir" && as_dir=. 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 101 IFS=$as_save_IFS 102 103 ;; 104 esac 105 # We did not find ourselves, most probably we were run as `sh COMMAND' 106 # in which case we are not to be found in the path. 107 if test "x$as_myself" = x; then 108 as_myself=$0 109 fi 110 if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122 done 34 123 PS1='$ ' 35 124 PS2='> ' … … 37 126 38 127 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 43 186 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 205 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 46 230 else 47 $as_unset $as_var 231 $as_echo "$0: Please tell [email protected] about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 48 235 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error ERROR [LINENO LOG_FD] 360 # --------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with status $?, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$?; test $as_status -eq 0 && as_status=1 367 if test "$3"; then 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 370 fi 371 $as_echo "$as_me: error: $1" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 375 if expr a : '\(a\)' >/dev/null 2>&1 && 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 53 377 as_expr=expr 54 378 else … … 56 380 fi 57 381 58 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 59 383 as_basename=basename 60 384 else … … 62 386 fi 63 387 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 394 as_me=`$as_basename -- "$0" || 67 395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 396 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 398 $as_echo X/"$0" | 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 400 s//\1/ 401 q 402 } 403 /^X\/\(\/\/\)$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\).*/{ 408 s//\1/ 409 q 410 } 411 s/.*/./; q'` 412 79 413 # Avoid depending upon Character Ranges. 80 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 418 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 419 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 426 sed -n ' 427 p 428 /[$]LINENO/= 429 ' <$as_myself | 165 430 sed ' 431 s/[$]LINENO.*/&-/ 432 t lineno 433 b 434 :lineno 166 435 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 436 :loop 437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 438 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 439 s/-\n.*// 173 440 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 441 chmod +x "$as_me.lineno" || 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 177 443 178 444 # Don't try to exec as it changes $[0], causing all sort of problems 179 445 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno446 # original and so on. Autoconf is especially sensitive to this). 447 . "./$as_me.lineno" 182 448 # Exit status is that of the last command. 183 449 exit 184 450 } 185 451 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 452 ECHO_C= ECHO_N= ECHO_T= 453 case `echo -n x` in #((((( 454 -n*) 455 case `echo 'xy\c'` in 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 460 esac;; 461 *) 462 ECHO_N='-n';; 192 463 esac 193 464 194 if expr a : '\(a\)' >/dev/null 2>&1; then195 as_expr=expr196 else197 as_expr=false198 fi199 200 465 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 466 if test -d conf$$.dir; then 467 rm -f conf$$.dir/conf$$.file 468 else 469 rm -f conf$$.dir 470 mkdir conf$$.dir 2>/dev/null 471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 207 484 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 485 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then212 as_ln_s=ln213 486 else 214 487 as_ln_s='cp -p' 215 488 fi 216 rm -f conf$$ conf$$.exe conf$$.file 489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 490 rmdir conf$$.dir 2>/dev/null 217 491 218 492 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p= :493 as_mkdir_p='mkdir -p "$as_dir"' 220 494 else 221 495 test -d ./-p && rmdir ./-p … … 223 497 fi 224 498 225 as_executable_p="test -f" 499 if test -x / >/dev/null 2>&1; then 500 as_test_x='test -x' 501 else 502 if ls -dL / >/dev/null 2>&1; then 503 as_ls_L_option=L 504 else 505 as_ls_L_option= 506 fi 507 as_test_x=' 508 eval sh -c '\'' 509 if test -d "$1"; then 510 test -d "$1/."; 511 else 512 case $1 in #( 513 -*)set "./$1";; 514 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 516 ???[sx]*):;;*)false;;esac;fi 517 '\'' sh 518 ' 519 fi 520 as_executable_p=$as_test_x 226 521 227 522 # Sed expression to map a string onto a valid CPP name. … … 232 527 233 528 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1 243 531 244 532 # Name of the host. … … 247 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 536 249 exec 6>&1250 251 537 # 252 538 # Initializations. 253 539 # 254 540 ac_default_prefix=/usr/local 541 ac_clean_files= 255 542 ac_config_libobj_dir=. 543 LIBOBJS= 256 544 cross_compiling=no 257 545 subdirs= 258 546 MFLAGS= 259 547 MAKEFLAGS= 260 SHELL=${CONFIG_SHELL-/bin/sh}261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 548 267 549 # Identity of this package. … … 271 553 PACKAGE_STRING= 272 554 PACKAGE_BUGREPORT= 555 PACKAGE_URL= 273 556 274 557 # Factoring default headers for most tests. 275 558 ac_includes_default="\ 276 559 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H560 #ifdef HAVE_SYS_TYPES_H 278 561 # include <sys/types.h> 279 562 #endif 280 #if HAVE_SYS_STAT_H563 #ifdef HAVE_SYS_STAT_H 281 564 # include <sys/stat.h> 282 565 #endif 283 #if STDC_HEADERS566 #ifdef STDC_HEADERS 284 567 # include <stdlib.h> 285 568 # include <stddef.h> 286 569 #else 287 # if HAVE_STDLIB_H570 # ifdef HAVE_STDLIB_H 288 571 # include <stdlib.h> 289 572 # endif 290 573 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H574 #ifdef HAVE_STRING_H 575 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 576 # include <memory.h> 294 577 # endif 295 578 # include <string.h> 296 579 #endif 297 #if HAVE_STRINGS_H580 #ifdef HAVE_STRINGS_H 298 581 # include <strings.h> 299 582 #endif 300 #if HAVE_INTTYPES_H583 #ifdef HAVE_INTTYPES_H 301 584 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 585 #endif 307 #if HAVE_UNISTD_H 586 #ifdef HAVE_STDINT_H 587 # include <stdint.h> 588 #endif 589 #ifdef HAVE_UNISTD_H 308 590 # include <unistd.h> 309 591 #endif" 310 592 311 ac_subdirs_all="$ac_subdirs_all common-src" 312 ac_subdirs_all="$ac_subdirs_all build-src" 313 ac_subdirs_all="$ac_subdirs_all runtime-src" 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 593 enable_option_checking=no 594 ac_subst_vars='LTLIBOBJS 595 subdirs 596 MODULEDIRS 597 gsdlos 598 STATIC 599 LIBOBJS 600 ALLOCA 601 ANSI2KNR 602 U 603 EGREP 604 GREP 605 CPP 606 MICO_VER 607 COMPAT32BITFLAGS 608 RANLIB 609 SET_MAKE 610 LN_S 611 INSTALL_DATA 612 INSTALL_SCRIPT 613 INSTALL_PROGRAM 614 target_os 615 target_vendor 616 target_cpu 617 target 618 host_os 619 host_vendor 620 host_cpu 621 host 622 build_os 623 build_vendor 624 build_cpu 625 build 626 YFLAGS 627 YACC 628 AWK 629 ac_ct_CXX 630 CXXFLAGS 631 CXX 632 OBJEXT 633 EXEEXT 634 ac_ct_CC 635 CPPFLAGS 636 CC 637 CFLAGS 638 LDFLAGS 639 ENABLE_LUCENE 640 ENABLE_MGPP 641 ENABLE_MG 642 ENABLE_JNI 643 USE_APACHE_HTTPD 644 USE_SQLITE 645 ENABLE_ACCENTFOLD 646 USE_GDBM 647 USE_JDBM 648 USE_YAZ 649 USE_Z3950 650 MICO_DIR 651 USE_CORBA 652 USE_LANGACTION 653 USE_FASTCGI 654 VERSION 655 PACKAGE 656 target_alias 657 host_alias 658 build_alias 659 LIBS 660 ECHO_T 661 ECHO_N 662 ECHO_C 663 DEFS 664 mandir 665 localedir 666 libdir 667 psdir 668 pdfdir 669 dvidir 670 htmldir 671 infodir 672 docdir 673 oldincludedir 674 includedir 675 localstatedir 676 sharedstatedir 677 sysconfdir 678 datadir 679 datarootdir 680 libexecdir 681 sbindir 682 bindir 683 program_transform_name 684 prefix 685 exec_prefix 686 PACKAGE_URL 687 PACKAGE_BUGREPORT 688 PACKAGE_STRING 689 PACKAGE_VERSION 690 PACKAGE_TARNAME 691 PACKAGE_NAME 692 PATH_SEPARATOR 693 SHELL' 315 694 ac_subst_files='' 695 ac_user_opts=' 696 enable_option_checking 697 enable_corba 698 with_micodir 699 enable_z3950 700 enable_yaz 701 enable_jdbm 702 enable_gdbm 703 enable_accentfold 704 enable_sqlite 705 enable_apache_httpd 706 enable_jni 707 enable_mg 708 enable_mgpp 709 enable_lucene 710 with_dmalloc 711 with_regex 712 ' 713 ac_precious_vars='build_alias 714 host_alias 715 target_alias 716 CC 717 CFLAGS 718 LDFLAGS 719 LIBS 720 CPPFLAGS 721 CXX 722 CXXFLAGS 723 CCC 724 YACC 725 YFLAGS 726 CPP' 727 ac_subdirs_all='common-src 728 build-src 729 runtime-src' 316 730 317 731 # Initialize some variables set by options. 318 732 ac_init_help= 319 733 ac_init_version=false 734 ac_unrecognized_opts= 735 ac_unrecognized_sep= 320 736 # The variables have the same names as the options, with 321 737 # dashes changed to underlines. … … 340 756 # by default will actually change. 341 757 # Use braces instead of parens because sh, perl, etc. also accept them. 758 # (The list follows the same order as the GNU Coding Standards.) 342 759 bindir='${exec_prefix}/bin' 343 760 sbindir='${exec_prefix}/sbin' 344 761 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 762 datarootdir='${prefix}/share' 763 datadir='${datarootdir}' 346 764 sysconfdir='${prefix}/etc' 347 765 sharedstatedir='${prefix}/com' 348 766 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'350 767 includedir='${prefix}/include' 351 768 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 769 docdir='${datarootdir}/doc/${PACKAGE}' 770 infodir='${datarootdir}/info' 771 htmldir='${docdir}' 772 dvidir='${docdir}' 773 pdfdir='${docdir}' 774 psdir='${docdir}' 775 libdir='${exec_prefix}/lib' 776 localedir='${datarootdir}/locale' 777 mandir='${datarootdir}/man' 354 778 355 779 ac_prev= 780 ac_dashdash= 356 781 for ac_option 357 782 do 358 783 # If the previous option needs an argument, assign it. 359 784 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"785 eval $ac_prev=\$ac_option 361 786 ac_prev= 362 787 continue 363 788 fi 364 789 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 790 case $ac_option in 791 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 792 *) ac_optarg=yes ;; 793 esac 366 794 367 795 # Accept the important Cygnus configure options, so we can diagnose typos. 368 796 369 case $ac_option in 797 case $ac_dashdash$ac_option in 798 --) 799 ac_dashdash=yes ;; 370 800 371 801 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 819 cache_file=config.cache ;; 390 820 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)821 -datadir | --datadir | --datadi | --datad) 392 822 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 823 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 824 datadir=$ac_optarg ;; 396 825 826 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 827 | --dataroo | --dataro | --datar) 828 ac_prev=datarootdir ;; 829 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 830 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 831 datarootdir=$ac_optarg ;; 832 397 833 -disable-* | --disable-*) 398 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`834 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 399 835 # Reject names that are not valid shell variable names. 400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 402 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 836 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 837 as_fn_error "invalid feature name: $ac_useropt" 838 ac_useropt_orig=$ac_useropt 839 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 840 case $ac_user_opts in 841 *" 842 "enable_$ac_useropt" 843 "*) ;; 844 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 845 ac_unrecognized_sep=', ';; 846 esac 847 eval enable_$ac_useropt=no ;; 848 849 -docdir | --docdir | --docdi | --doc | --do) 850 ac_prev=docdir ;; 851 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 852 docdir=$ac_optarg ;; 853 854 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 855 ac_prev=dvidir ;; 856 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 857 dvidir=$ac_optarg ;; 405 858 406 859 -enable-* | --enable-*) 407 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`860 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 861 # Reject names that are not valid shell variable names. 409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 411 { (exit 1); exit 1; }; } 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 863 as_fn_error "invalid feature name: $ac_useropt" 864 ac_useropt_orig=$ac_useropt 865 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 866 case $ac_user_opts in 867 *" 868 "enable_$ac_useropt" 869 "*) ;; 870 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 871 ac_unrecognized_sep=', ';; 416 872 esac 417 eval "enable_$ac_feature='$ac_optarg'";;873 eval enable_$ac_useropt=\$ac_optarg ;; 418 874 419 875 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 898 host_alias=$ac_optarg ;; 443 899 900 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 901 ac_prev=htmldir ;; 902 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 903 | --ht=*) 904 htmldir=$ac_optarg ;; 905 444 906 -includedir | --includedir | --includedi | --included | --include \ 445 907 | --includ | --inclu | --incl | --inc) … … 466 928 libexecdir=$ac_optarg ;; 467 929 930 -localedir | --localedir | --localedi | --localed | --locale) 931 ac_prev=localedir ;; 932 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 933 localedir=$ac_optarg ;; 934 468 935 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 936 | --localstate | --localstat | --localsta | --localst | --locals) 471 937 ac_prev=localstatedir ;; 472 938 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 939 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 940 localstatedir=$ac_optarg ;; 476 941 … … 537 1002 program_transform_name=$ac_optarg ;; 538 1003 1004 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1005 ac_prev=pdfdir ;; 1006 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1007 pdfdir=$ac_optarg ;; 1008 1009 -psdir | --psdir | --psdi | --psd | --ps) 1010 ac_prev=psdir ;; 1011 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1012 psdir=$ac_optarg ;; 1013 539 1014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 1015 | -silent | --silent | --silen | --sile | --sil) … … 587 1062 588 1063 -with-* | --with-*) 589 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1064 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 590 1065 # Reject names that are not valid shell variable names. 591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 592 { echo "$as_me: error: invalid package name: $ac_package" >&2 593 { (exit 1); exit 1; }; } 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1067 as_fn_error "invalid package name: $ac_useropt" 1068 ac_useropt_orig=$ac_useropt 1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1070 case $ac_user_opts in 1071 *" 1072 "with_$ac_useropt" 1073 "*) ;; 1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1075 ac_unrecognized_sep=', ';; 598 1076 esac 599 eval "with_$ac_package='$ac_optarg'";;1077 eval with_$ac_useropt=\$ac_optarg ;; 600 1078 601 1079 -without-* | --without-*) 602 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1080 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 603 1081 # Reject names that are not valid shell variable names. 604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 605 { echo "$as_me: error: invalid package name: $ac_package" >&2 606 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 eval "with_$ac_package=no" ;; 1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1083 as_fn_error "invalid package name: $ac_useropt" 1084 ac_useropt_orig=$ac_useropt 1085 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1086 case $ac_user_opts in 1087 *" 1088 "with_$ac_useropt" 1089 "*) ;; 1090 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1091 ac_unrecognized_sep=', ';; 1092 esac 1093 eval with_$ac_useropt=no ;; 609 1094 610 1095 --x) … … 626 1111 x_libraries=$ac_optarg ;; 627 1112 628 -*) { echo "$as_me: error: unrecognized option: $ac_option 629 Try \`$0 --help' for more information." >&2 630 { (exit 1); exit 1; }; } 1113 -*) as_fn_error "unrecognized option: \`$ac_option' 1114 Try \`$0 --help' for more information." 631 1115 ;; 632 1116 … … 634 1118 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 635 1119 # Reject names that are not valid shell variable names. 636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2638 { (exit 1); exit 1; }; }639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`640 eval "$ac_envvar='$ac_optarg'"1120 case $ac_envvar in #( 1121 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1122 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1123 esac 1124 eval $ac_envvar=\$ac_optarg 641 1125 export $ac_envvar ;; 642 1126 643 1127 *) 644 1128 # FIXME: should be removed in autoconf 3.0. 645 echo "$as_me: WARNING: you should use --build, --host, --target" >&21129 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 646 1130 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 647 echo "$as_me: WARNING: invalid host type: $ac_option" >&21131 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 648 1132 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 649 1133 ;; … … 654 1138 if test -n "$ac_prev"; then 655 1139 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 656 { echo "$as_me: error: missing argument to $ac_option" >&2 657 { (exit 1); exit 1; }; } 658 fi 659 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 1140 as_fn_error "missing argument to $ac_option" 1141 fi 1142 1143 if test -n "$ac_unrecognized_opts"; then 1144 case $enable_option_checking in 1145 no) ;; 1146 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1147 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1148 esac 1149 fi 1150 1151 # Check all directory arguments for consistency. 1152 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1153 datadir sysconfdir sharedstatedir localstatedir includedir \ 1154 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1155 libdir localedir mandir 662 1156 do 663 eval ac_val=$`echo $ac_var` 1157 eval ac_val=\$$ac_var 1158 # Remove trailing slashes. 664 1159 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2667 { (exit 1); exit 1; }; };;1160 */ ) 1161 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1162 eval $ac_var=\$ac_val;; 668 1163 esac 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 674 do 675 eval ac_val=$`echo $ac_var` 1164 # Be sure to have absolute directory names. 676 1165 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 1166 [\\/$]* | ?:[\\/]* ) continue;; 1167 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 680 1168 esac 1169 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 681 1170 done 682 1171 … … 692 1181 if test "x$build_alias" = x; then 693 1182 cross_compiling=maybe 694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1183 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 695 1184 If a cross compiler is detected then cross compile mode will be used." >&2 696 1185 elif test "x$build_alias" != "x$host_alias"; then … … 705 1194 706 1195 1196 ac_pwd=`pwd` && test -n "$ac_pwd" && 1197 ac_ls_di=`ls -di .` && 1198 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1199 as_fn_error "working directory cannot be determined" 1200 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1201 as_fn_error "pwd does not report name of working directory" 1202 1203 707 1204 # Find the source files, if location was not specified. 708 1205 if test -z "$srcdir"; then 709 1206 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 717 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 1207 # Try the directory containing this script, then the parent directory. 1208 ac_confdir=`$as_dirname -- "$as_myself" || 1209 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1210 X"$as_myself" : 'X\(//\)[^/]' \| \ 1211 X"$as_myself" : 'X\(//\)$' \| \ 1212 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1213 $as_echo X"$as_myself" | 1214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1215 s//\1/ 1216 q 1217 } 1218 /^X\(\/\/\)[^/].*/{ 1219 s//\1/ 1220 q 1221 } 1222 /^X\(\/\/\)$/{ 1223 s//\1/ 1224 q 1225 } 1226 /^X\(\/\).*/{ 1227 s//\1/ 1228 q 1229 } 1230 s/.*/./; q'` 723 1231 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1232 if test ! -r "$srcdir/$ac_unique_file"; then 725 1233 srcdir=.. 726 1234 fi … … 728 1236 ac_srcdir_defaulted=no 729 1237 fi 730 if test ! -r $srcdir/$ac_unique_file; then 731 if test "$ac_srcdir_defaulted" = yes; then 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 733 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 736 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CXX_set=${CXX+set} 772 ac_env_CXX_value=$CXX 773 ac_cv_env_CXX_set=${CXX+set} 774 ac_cv_env_CXX_value=$CXX 775 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_env_CXXFLAGS_value=$CXXFLAGS 777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 779 ac_env_CPP_set=${CPP+set} 780 ac_env_CPP_value=$CPP 781 ac_cv_env_CPP_set=${CPP+set} 782 ac_cv_env_CPP_value=$CPP 1238 if test ! -r "$srcdir/$ac_unique_file"; then 1239 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1240 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1241 fi 1242 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1243 ac_abs_confdir=`( 1244 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1245 pwd)` 1246 # When building in place, set srcdir=. 1247 if test "$ac_abs_confdir" = "$ac_pwd"; then 1248 srcdir=. 1249 fi 1250 # Remove unnecessary trailing slashes from srcdir. 1251 # Double slashes in file names in object file debugging info 1252 # mess up M-x gdb in Emacs. 1253 case $srcdir in 1254 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1255 esac 1256 for ac_var in $ac_precious_vars; do 1257 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1258 eval ac_env_${ac_var}_value=\$${ac_var} 1259 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1260 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1261 done 783 1262 784 1263 # … … 809 1288 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 810 1289 811 _ACEOF812 813 cat <<_ACEOF814 1290 Installation directories: 815 1291 --prefix=PREFIX install architecture-independent files in PREFIX 816 1292 [$ac_default_prefix] 817 1293 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 818 1294 [PREFIX] 819 1295 820 1296 By default, \`make install' will install all the files in … … 826 1302 827 1303 Fine tuning of the installation directories: 828 --bindir=DIR user executables [EPREFIX/bin] 829 --sbindir=DIR system admin executables [EPREFIX/sbin] 830 --libexecdir=DIR program executables [EPREFIX/libexec] 831 --datadir=DIR read-only architecture-independent data [PREFIX/share] 832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 834 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 835 --libdir=DIR object code libraries [EPREFIX/lib] 836 --includedir=DIR C header files [PREFIX/include] 837 --oldincludedir=DIR C header files for non-gcc [/usr/include] 838 --infodir=DIR info documentation [PREFIX/info] 839 --mandir=DIR man documentation [PREFIX/man] 1304 --bindir=DIR user executables [EPREFIX/bin] 1305 --sbindir=DIR system admin executables [EPREFIX/sbin] 1306 --libexecdir=DIR program executables [EPREFIX/libexec] 1307 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1308 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1309 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1310 --libdir=DIR object code libraries [EPREFIX/lib] 1311 --includedir=DIR C header files [PREFIX/include] 1312 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1313 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1314 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1315 --infodir=DIR info documentation [DATAROOTDIR/info] 1316 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1317 --mandir=DIR man documentation [DATAROOTDIR/man] 1318 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1319 --htmldir=DIR html documentation [DOCDIR] 1320 --dvidir=DIR dvi documentation [DOCDIR] 1321 --pdfdir=DIR pdf documentation [DOCDIR] 1322 --psdir=DIR ps documentation [DOCDIR] 840 1323 _ACEOF 841 1324 … … 854 1337 855 1338 Optional Features: 1339 --disable-option-checking ignore unrecognized --enable/--with options 856 1340 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 857 1341 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 882 1366 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 883 1367 nonstandard directory <lib dir> 884 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 885 headers in a nonstandard directory <include dir> 1368 LIBS libraries to pass to the linker, e.g. -l<library> 1369 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1370 you have headers in a nonstandard directory <include dir> 886 1371 CXX C++ compiler command 887 1372 CXXFLAGS C++ compiler flags 1373 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1374 the first program found out of: `bison -y', `byacc', `yacc'. 1375 YFLAGS The list of arguments that will be passed by default to $YACC. 1376 This script will default YFLAGS to the empty string to avoid a 1377 default value of `-d' given by some make applications. 888 1378 CPP C preprocessor 889 1379 … … 891 1381 it to find libraries and programs with nonstandard names/locations. 892 1382 893 _ACEOF 1383 Report bugs to the package provider. 1384 _ACEOF 1385 ac_status=$? 894 1386 fi 895 1387 896 1388 if test "$ac_init_help" = "recursive"; then 897 1389 # If there are subdirs, report their specific --help. 898 ac_popdir=`pwd`899 1390 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 900 test -d $ac_dir || continue 1391 test -d "$ac_dir" || 1392 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1393 continue 901 1394 ac_builddir=. 902 1395 903 if test "$ac_dir" != .; then 904 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 905 # A "../" for each directory in $ac_dir_suffix. 906 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 907 else 908 ac_dir_suffix= ac_top_builddir= 909 fi 1396 case "$ac_dir" in 1397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1398 *) 1399 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1400 # A ".." for each directory in $ac_dir_suffix. 1401 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1402 case $ac_top_builddir_sub in 1403 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1404 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1405 esac ;; 1406 esac 1407 ac_abs_top_builddir=$ac_pwd 1408 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1409 # for backward compatibility: 1410 ac_top_builddir=$ac_top_build_prefix 910 1411 911 1412 case $srcdir in 912 .) # No --srcdir option.We are building in place.1413 .) # We are building in place. 913 1414 ac_srcdir=. 914 if test -z "$ac_top_builddir"; then 915 ac_top_srcdir=. 1415 ac_top_srcdir=$ac_top_builddir_sub 1416 ac_abs_top_srcdir=$ac_pwd ;; 1417 [\\/]* | ?:[\\/]* ) # Absolute name. 1418 ac_srcdir=$srcdir$ac_dir_suffix; 1419 ac_top_srcdir=$srcdir 1420 ac_abs_top_srcdir=$srcdir ;; 1421 *) # Relative name. 1422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1423 ac_top_srcdir=$ac_top_build_prefix$srcdir 1424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1425 esac 1426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1427 1428 cd "$ac_dir" || { ac_status=$?; continue; } 1429 # Check for guested configure. 1430 if test -f "$ac_srcdir/configure.gnu"; then 1431 echo && 1432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1433 elif test -f "$ac_srcdir/configure"; then 1434 echo && 1435 $SHELL "$ac_srcdir/configure" --help=recursive 916 1436 else 917 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 918 fi ;; 919 [\\/]* | ?:[\\/]* ) # Absolute path. 920 ac_srcdir=$srcdir$ac_dir_suffix; 921 ac_top_srcdir=$srcdir ;; 922 *) # Relative path. 923 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 924 ac_top_srcdir=$ac_top_builddir$srcdir ;; 925 esac 926 927 # Do not use `cd foo && pwd` to compute absolute paths, because 928 # the directories may not exist. 929 case `pwd` in 930 .) ac_abs_builddir="$ac_dir";; 931 *) 932 case "$ac_dir" in 933 .) ac_abs_builddir=`pwd`;; 934 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 935 *) ac_abs_builddir=`pwd`/"$ac_dir";; 936 esac;; 937 esac 938 case $ac_abs_builddir in 939 .) ac_abs_top_builddir=${ac_top_builddir}.;; 940 *) 941 case ${ac_top_builddir}. in 942 .) ac_abs_top_builddir=$ac_abs_builddir;; 943 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 944 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 945 esac;; 946 esac 947 case $ac_abs_builddir in 948 .) ac_abs_srcdir=$ac_srcdir;; 949 *) 950 case $ac_srcdir in 951 .) ac_abs_srcdir=$ac_abs_builddir;; 952 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 953 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 954 esac;; 955 esac 956 case $ac_abs_builddir in 957 .) ac_abs_top_srcdir=$ac_top_srcdir;; 958 *) 959 case $ac_top_srcdir in 960 .) ac_abs_top_srcdir=$ac_abs_builddir;; 961 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 962 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 963 esac;; 964 esac 965 966 cd $ac_dir 967 # Check for guested configure; otherwise get Cygnus style configure. 968 if test -f $ac_srcdir/configure.gnu; then 969 echo 970 $SHELL $ac_srcdir/configure.gnu --help=recursive 971 elif test -f $ac_srcdir/configure; then 972 echo 973 $SHELL $ac_srcdir/configure --help=recursive 974 elif test -f $ac_srcdir/configure.ac || 975 test -f $ac_srcdir/configure.in; then 976 echo 977 $ac_configure --help 978 else 979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 980 fi 981 cd $ac_popdir 1437 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1438 fi || ac_status=$? 1439 cd "$ac_pwd" || { ac_status=$?; break; } 982 1440 done 983 1441 fi 984 1442 985 test -n "$ac_init_help" && exit 01443 test -n "$ac_init_help" && exit $ac_status 986 1444 if $ac_init_version; then 987 1445 cat <<\_ACEOF 988 989 Copyright (C) 2003 Free Software Foundation, Inc. 1446 configure 1447 generated by GNU Autoconf 2.65 1448 1449 Copyright (C) 2009 Free Software Foundation, Inc. 990 1450 This configure script is free software; the Free Software Foundation 991 1451 gives unlimited permission to copy, distribute and modify it. 992 1452 _ACEOF 993 exit 0 994 fi 995 exec 5>config.log 996 cat >&5 <<_ACEOF 1453 exit 1454 fi 1455 1456 ## ------------------------ ## 1457 ## Autoconf initialization. ## 1458 ## ------------------------ ## 1459 1460 # ac_fn_c_try_compile LINENO 1461 # -------------------------- 1462 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1463 ac_fn_c_try_compile () 1464 { 1465 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1466 rm -f conftest.$ac_objext 1467 if { { ac_try="$ac_compile" 1468 case "(($ac_try" in 1469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1470 *) ac_try_echo=$ac_try;; 1471 esac 1472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1473 $as_echo "$ac_try_echo"; } >&5 1474 (eval "$ac_compile") 2>conftest.err 1475 ac_status=$? 1476 if test -s conftest.err; then 1477 grep -v '^ *+' conftest.err >conftest.er1 1478 cat conftest.er1 >&5 1479 mv -f conftest.er1 conftest.err 1480 fi 1481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1482 test $ac_status = 0; } && { 1483 test -z "$ac_c_werror_flag" || 1484 test ! -s conftest.err 1485 } && test -s conftest.$ac_objext; then : 1486 ac_retval=0 1487 else 1488 $as_echo "$as_me: failed program was:" >&5 1489 sed 's/^/| /' conftest.$ac_ext >&5 1490 1491 ac_retval=1 1492 fi 1493 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1494 as_fn_set_status $ac_retval 1495 1496 } # ac_fn_c_try_compile 1497 1498 # ac_fn_cxx_try_compile LINENO 1499 # ---------------------------- 1500 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1501 ac_fn_cxx_try_compile () 1502 { 1503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1504 rm -f conftest.$ac_objext 1505 if { { ac_try="$ac_compile" 1506 case "(($ac_try" in 1507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1508 *) ac_try_echo=$ac_try;; 1509 esac 1510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1511 $as_echo "$ac_try_echo"; } >&5 1512 (eval "$ac_compile") 2>conftest.err 1513 ac_status=$? 1514 if test -s conftest.err; then 1515 grep -v '^ *+' conftest.err >conftest.er1 1516 cat conftest.er1 >&5 1517 mv -f conftest.er1 conftest.err 1518 fi 1519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1520 test $ac_status = 0; } && { 1521 test -z "$ac_cxx_werror_flag" || 1522 test ! -s conftest.err 1523 } && test -s conftest.$ac_objext; then : 1524 ac_retval=0 1525 else 1526 $as_echo "$as_me: failed program was:" >&5 1527 sed 's/^/| /' conftest.$ac_ext >&5 1528 1529 ac_retval=1 1530 fi 1531 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1532 as_fn_set_status $ac_retval 1533 1534 } # ac_fn_cxx_try_compile 1535 1536 # ac_fn_c_try_cpp LINENO 1537 # ---------------------- 1538 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1539 ac_fn_c_try_cpp () 1540 { 1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1542 if { { ac_try="$ac_cpp conftest.$ac_ext" 1543 case "(($ac_try" in 1544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1545 *) ac_try_echo=$ac_try;; 1546 esac 1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1548 $as_echo "$ac_try_echo"; } >&5 1549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1550 ac_status=$? 1551 if test -s conftest.err; then 1552 grep -v '^ *+' conftest.err >conftest.er1 1553 cat conftest.er1 >&5 1554 mv -f conftest.er1 conftest.err 1555 fi 1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1557 test $ac_status = 0; } >/dev/null && { 1558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1559 test ! -s conftest.err 1560 }; then : 1561 ac_retval=0 1562 else 1563 $as_echo "$as_me: failed program was:" >&5 1564 sed 's/^/| /' conftest.$ac_ext >&5 1565 1566 ac_retval=1 1567 fi 1568 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1569 as_fn_set_status $ac_retval 1570 1571 } # ac_fn_c_try_cpp 1572 1573 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1574 # ------------------------------------------------------- 1575 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1576 # the include files in INCLUDES and setting the cache variable VAR 1577 # accordingly. 1578 ac_fn_c_check_header_mongrel () 1579 { 1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1581 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1583 $as_echo_n "checking for $2... " >&6; } 1584 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1585 $as_echo_n "(cached) " >&6 1586 fi 1587 eval ac_res=\$$3 1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1589 $as_echo "$ac_res" >&6; } 1590 else 1591 # Is the header compilable? 1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1593 $as_echo_n "checking $2 usability... " >&6; } 1594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1595 /* end confdefs.h. */ 1596 $4 1597 #include <$2> 1598 _ACEOF 1599 if ac_fn_c_try_compile "$LINENO"; then : 1600 ac_header_compiler=yes 1601 else 1602 ac_header_compiler=no 1603 fi 1604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1606 $as_echo "$ac_header_compiler" >&6; } 1607 1608 # Is the header present? 1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1610 $as_echo_n "checking $2 presence... " >&6; } 1611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1612 /* end confdefs.h. */ 1613 #include <$2> 1614 _ACEOF 1615 if ac_fn_c_try_cpp "$LINENO"; then : 1616 ac_header_preproc=yes 1617 else 1618 ac_header_preproc=no 1619 fi 1620 rm -f conftest.err conftest.$ac_ext 1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1622 $as_echo "$ac_header_preproc" >&6; } 1623 1624 # So? What about this header? 1625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1626 yes:no: ) 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1628 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1630 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1631 ;; 1632 no:yes:* ) 1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1634 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1636 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1638 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1640 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1642 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1643 ;; 1644 esac 1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1646 $as_echo_n "checking for $2... " >&6; } 1647 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1648 $as_echo_n "(cached) " >&6 1649 else 1650 eval "$3=\$ac_header_compiler" 1651 fi 1652 eval ac_res=\$$3 1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1654 $as_echo "$ac_res" >&6; } 1655 fi 1656 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1657 1658 } # ac_fn_c_check_header_mongrel 1659 1660 # ac_fn_c_try_run LINENO 1661 # ---------------------- 1662 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1663 # that executables *can* be run. 1664 ac_fn_c_try_run () 1665 { 1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1667 if { { ac_try="$ac_link" 1668 case "(($ac_try" in 1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1670 *) ac_try_echo=$ac_try;; 1671 esac 1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1673 $as_echo "$ac_try_echo"; } >&5 1674 (eval "$ac_link") 2>&5 1675 ac_status=$? 1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1677 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1678 { { case "(($ac_try" in 1679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1680 *) ac_try_echo=$ac_try;; 1681 esac 1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1683 $as_echo "$ac_try_echo"; } >&5 1684 (eval "$ac_try") 2>&5 1685 ac_status=$? 1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1687 test $ac_status = 0; }; }; then : 1688 ac_retval=0 1689 else 1690 $as_echo "$as_me: program exited with status $ac_status" >&5 1691 $as_echo "$as_me: failed program was:" >&5 1692 sed 's/^/| /' conftest.$ac_ext >&5 1693 1694 ac_retval=$ac_status 1695 fi 1696 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1697 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1698 as_fn_set_status $ac_retval 1699 1700 } # ac_fn_c_try_run 1701 1702 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1703 # ------------------------------------------------------- 1704 # Tests whether HEADER exists and can be compiled using the include files in 1705 # INCLUDES, setting the cache variable VAR accordingly. 1706 ac_fn_c_check_header_compile () 1707 { 1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1710 $as_echo_n "checking for $2... " >&6; } 1711 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1712 $as_echo_n "(cached) " >&6 1713 else 1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1715 /* end confdefs.h. */ 1716 $4 1717 #include <$2> 1718 _ACEOF 1719 if ac_fn_c_try_compile "$LINENO"; then : 1720 eval "$3=yes" 1721 else 1722 eval "$3=no" 1723 fi 1724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1725 fi 1726 eval ac_res=\$$3 1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1728 $as_echo "$ac_res" >&6; } 1729 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1730 1731 } # ac_fn_c_check_header_compile 1732 1733 # ac_fn_c_try_link LINENO 1734 # ----------------------- 1735 # Try to link conftest.$ac_ext, and return whether this succeeded. 1736 ac_fn_c_try_link () 1737 { 1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1739 rm -f conftest.$ac_objext conftest$ac_exeext 1740 if { { ac_try="$ac_link" 1741 case "(($ac_try" in 1742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1743 *) ac_try_echo=$ac_try;; 1744 esac 1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1746 $as_echo "$ac_try_echo"; } >&5 1747 (eval "$ac_link") 2>conftest.err 1748 ac_status=$? 1749 if test -s conftest.err; then 1750 grep -v '^ *+' conftest.err >conftest.er1 1751 cat conftest.er1 >&5 1752 mv -f conftest.er1 conftest.err 1753 fi 1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1755 test $ac_status = 0; } && { 1756 test -z "$ac_c_werror_flag" || 1757 test ! -s conftest.err 1758 } && test -s conftest$ac_exeext && { 1759 test "$cross_compiling" = yes || 1760 $as_test_x conftest$ac_exeext 1761 }; then : 1762 ac_retval=0 1763 else 1764 $as_echo "$as_me: failed program was:" >&5 1765 sed 's/^/| /' conftest.$ac_ext >&5 1766 1767 ac_retval=1 1768 fi 1769 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1770 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1771 # interfere with the next link command; also delete a directory that is 1772 # left behind by Apple's compiler. We do this before executing the actions. 1773 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1775 as_fn_set_status $ac_retval 1776 1777 } # ac_fn_c_try_link 1778 1779 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1780 # ------------------------------------------- 1781 # Tests whether TYPE exists after having included INCLUDES, setting cache 1782 # variable VAR accordingly. 1783 ac_fn_c_check_type () 1784 { 1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1787 $as_echo_n "checking for $2... " >&6; } 1788 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1789 $as_echo_n "(cached) " >&6 1790 else 1791 eval "$3=no" 1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1793 /* end confdefs.h. */ 1794 $4 1795 int 1796 main () 1797 { 1798 if (sizeof ($2)) 1799 return 0; 1800 ; 1801 return 0; 1802 } 1803 _ACEOF 1804 if ac_fn_c_try_compile "$LINENO"; then : 1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1806 /* end confdefs.h. */ 1807 $4 1808 int 1809 main () 1810 { 1811 if (sizeof (($2))) 1812 return 0; 1813 ; 1814 return 0; 1815 } 1816 _ACEOF 1817 if ac_fn_c_try_compile "$LINENO"; then : 1818 1819 else 1820 eval "$3=yes" 1821 fi 1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1823 fi 1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1825 fi 1826 eval ac_res=\$$3 1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1828 $as_echo "$ac_res" >&6; } 1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1830 1831 } # ac_fn_c_check_type 1832 1833 # ac_fn_c_check_func LINENO FUNC VAR 1834 # ---------------------------------- 1835 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1836 ac_fn_c_check_func () 1837 { 1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1840 $as_echo_n "checking for $2... " >&6; } 1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1842 $as_echo_n "(cached) " >&6 1843 else 1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1845 /* end confdefs.h. */ 1846 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1847 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1848 #define $2 innocuous_$2 1849 1850 /* System header to define __stub macros and hopefully few prototypes, 1851 which can conflict with char $2 (); below. 1852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1853 <limits.h> exists even on freestanding compilers. */ 1854 1855 #ifdef __STDC__ 1856 # include <limits.h> 1857 #else 1858 # include <assert.h> 1859 #endif 1860 1861 #undef $2 1862 1863 /* Override any GCC internal prototype to avoid an error. 1864 Use char because int might match the return type of a GCC 1865 builtin and then its argument prototype would still apply. */ 1866 #ifdef __cplusplus 1867 extern "C" 1868 #endif 1869 char $2 (); 1870 /* The GNU C library defines this for functions which it implements 1871 to always fail with ENOSYS. Some functions are actually named 1872 something starting with __ and the normal name is an alias. */ 1873 #if defined __stub_$2 || defined __stub___$2 1874 choke me 1875 #endif 1876 1877 int 1878 main () 1879 { 1880 return $2 (); 1881 ; 1882 return 0; 1883 } 1884 _ACEOF 1885 if ac_fn_c_try_link "$LINENO"; then : 1886 eval "$3=yes" 1887 else 1888 eval "$3=no" 1889 fi 1890 rm -f core conftest.err conftest.$ac_objext \ 1891 conftest$ac_exeext conftest.$ac_ext 1892 fi 1893 eval ac_res=\$$3 1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1895 $as_echo "$ac_res" >&6; } 1896 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1897 1898 } # ac_fn_c_check_func 1899 1900 # ac_fn_cxx_try_run LINENO 1901 # ------------------------ 1902 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1903 # that executables *can* be run. 1904 ac_fn_cxx_try_run () 1905 { 1906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1907 if { { ac_try="$ac_link" 1908 case "(($ac_try" in 1909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1910 *) ac_try_echo=$ac_try;; 1911 esac 1912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1913 $as_echo "$ac_try_echo"; } >&5 1914 (eval "$ac_link") 2>&5 1915 ac_status=$? 1916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1917 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1918 { { case "(($ac_try" in 1919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1920 *) ac_try_echo=$ac_try;; 1921 esac 1922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1923 $as_echo "$ac_try_echo"; } >&5 1924 (eval "$ac_try") 2>&5 1925 ac_status=$? 1926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1927 test $ac_status = 0; }; }; then : 1928 ac_retval=0 1929 else 1930 $as_echo "$as_me: program exited with status $ac_status" >&5 1931 $as_echo "$as_me: failed program was:" >&5 1932 sed 's/^/| /' conftest.$ac_ext >&5 1933 1934 ac_retval=$ac_status 1935 fi 1936 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1937 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1938 as_fn_set_status $ac_retval 1939 1940 } # ac_fn_cxx_try_run 1941 cat >config.log <<_ACEOF 997 1942 This file contains any messages produced by compilers while 998 1943 running configure, to aid debugging if configure makes a mistake. 999 1944 1000 1945 It was created by $as_me, which was 1001 generated by GNU Autoconf 2. 59. Invocation command line was1946 generated by GNU Autoconf 2.65. Invocation command line was 1002 1947 1003 1948 $ $0 $@ 1004 1949 1005 1950 _ACEOF 1951 exec 5>>config.log 1006 1952 { 1007 1953 cat <<_ASUNAME … … 1022 1968 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1023 1969 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1024 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1970 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1025 1971 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1026 1972 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1034 1980 IFS=$as_save_IFS 1035 1981 test -z "$as_dir" && as_dir=. 1036 echo "PATH: $as_dir" 1037 done 1982 $as_echo "PATH: $as_dir" 1983 done 1984 IFS=$as_save_IFS 1038 1985 1039 1986 } >&5 … … 1057 2004 ac_configure_args0= 1058 2005 ac_configure_args1= 1059 ac_sep=1060 2006 ac_must_keep_next=false 1061 2007 for ac_pass in 1 2 … … 1068 2014 | -silent | --silent | --silen | --sile | --sil) 1069 2015 continue ;; 1070 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1071 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2016 *\'*) 2017 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1072 2018 esac 1073 2019 case $ac_pass in 1074 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2020 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1075 2021 2) 1076 a c_configure_args1="$ac_configure_args1'$ac_arg'"2022 as_fn_append ac_configure_args1 " '$ac_arg'" 1077 2023 if test $ac_must_keep_next = true; then 1078 2024 ac_must_keep_next=false # Got value, back to normal. … … 1090 2036 esac 1091 2037 fi 1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1093 # Get rid of the leading space. 1094 ac_sep=" " 2038 as_fn_append ac_configure_args " '$ac_arg'" 1095 2039 ;; 1096 2040 esac 1097 2041 done 1098 2042 done 1099 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1100 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2043 { ac_configure_args0=; unset ac_configure_args0;} 2044 { ac_configure_args1=; unset ac_configure_args1;} 1101 2045 1102 2046 # When interrupted or exit'd, cleanup temporary files, and complete 1103 2047 # config.log. We remove comments because anyway the quotes in there 1104 2048 # would cause problems or look ugly. 1105 # WARNING: Be sure not to use single quotes in there, as some shells,1106 # such as our DU 5.0 friend, will then `close' the trap.2049 # WARNING: Use '\'' to represent an apostrophe within the trap. 2050 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1107 2051 trap 'exit_status=$? 1108 2052 # Save into config.log some information that might help in debugging. … … 1117 2061 echo 1118 2062 # The following way of writing the cache mishandles newlines in values, 1119 { 2063 ( 2064 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2065 eval ac_val=\$$ac_var 2066 case $ac_val in #( 2067 *${as_nl}*) 2068 case $ac_var in #( 2069 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2070 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2071 esac 2072 case $ac_var in #( 2073 _ | IFS | as_nl) ;; #( 2074 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2075 *) { eval $ac_var=; unset $ac_var;} ;; 2076 esac ;; 2077 esac 2078 done 1120 2079 (set) 2>&1 | 1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1122 * ac_space=\ *)2080 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2081 *${as_nl}ac_space=\ *) 1123 2082 sed -n \ 1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 2083 "s/'\''/'\''\\\\'\'''\''/g; 2084 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2085 ;; #( 2086 *) 2087 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1126 2088 ;; 1127 *) 1128 sed -n \ 1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1130 ;; 1131 esac; 1132 } 2089 esac | 2090 sort 2091 ) 1133 2092 echo 1134 2093 … … 1141 2100 for ac_var in $ac_subst_vars 1142 2101 do 1143 eval ac_val=$`echo $ac_var` 1144 echo "$ac_var='"'"'$ac_val'"'"'" 2102 eval ac_val=\$$ac_var 2103 case $ac_val in 2104 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2105 esac 2106 $as_echo "$ac_var='\''$ac_val'\''" 1145 2107 done | sort 1146 2108 echo … … 1148 2110 if test -n "$ac_subst_files"; then 1149 2111 cat <<\_ASBOX 1150 ## ------------- ##1151 ## Output files. ##1152 ## ------------- ##2112 ## ------------------- ## 2113 ## File substitutions. ## 2114 ## ------------------- ## 1153 2115 _ASBOX 1154 2116 echo 1155 2117 for ac_var in $ac_subst_files 1156 2118 do 1157 eval ac_val=$`echo $ac_var` 1158 echo "$ac_var='"'"'$ac_val'"'"'" 2119 eval ac_val=\$$ac_var 2120 case $ac_val in 2121 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2122 esac 2123 $as_echo "$ac_var='\''$ac_val'\''" 1159 2124 done | sort 1160 2125 echo … … 1168 2133 _ASBOX 1169 2134 echo 1170 sed "/^$/d" confdefs.h | sort2135 cat confdefs.h 1171 2136 echo 1172 2137 fi 1173 2138 test "$ac_signal" != 0 && 1174 echo "$as_me: caught signal $ac_signal"1175 echo "$as_me: exit $exit_status"2139 $as_echo "$as_me: caught signal $ac_signal" 2140 $as_echo "$as_me: exit $exit_status" 1176 2141 } >&5 1177 rm -f core *.core &&1178 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&2142 rm -f core *.core core.conftest.* && 2143 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1179 2144 exit $exit_status 1180 2145 ' 0 1181 2146 for ac_signal in 1 2 13 15; do 1182 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2147 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1183 2148 done 1184 2149 ac_signal=0 1185 2150 1186 2151 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1187 rm - rfconftest* confdefs.h1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1189 echo >confdefs.h2152 rm -f -r conftest* confdefs.h 2153 2154 $as_echo "/* confdefs.h */" > confdefs.h 1190 2155 1191 2156 # Predefined preprocessor variables. … … 1195 2160 _ACEOF 1196 2161 1197 1198 2162 cat >>confdefs.h <<_ACEOF 1199 2163 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1200 2164 _ACEOF 1201 2165 1202 1203 2166 cat >>confdefs.h <<_ACEOF 1204 2167 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1205 2168 _ACEOF 1206 2169 1207 1208 2170 cat >>confdefs.h <<_ACEOF 1209 2171 #define PACKAGE_STRING "$PACKAGE_STRING" 1210 2172 _ACEOF 1211 2173 1212 1213 2174 cat >>confdefs.h <<_ACEOF 1214 2175 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1215 2176 _ACEOF 1216 2177 2178 cat >>confdefs.h <<_ACEOF 2179 #define PACKAGE_URL "$PACKAGE_URL" 2180 _ACEOF 2181 1217 2182 1218 2183 # Let the site file select an alternate cache file if it wants to. 1219 # Prefer explicitly selected file to automatically selected ones. 1220 if test -z "$CONFIG_SITE"; then 1221 if test "x$prefix" != xNONE; then 1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1223 else 1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1225 fi 1226 fi 1227 for ac_site_file in $CONFIG_SITE; do 1228 if test -r "$ac_site_file"; then 1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1230 echo "$as_me: loading site script $ac_site_file" >&6;} 2184 # Prefer an explicitly selected file to automatically selected ones. 2185 ac_site_file1=NONE 2186 ac_site_file2=NONE 2187 if test -n "$CONFIG_SITE"; then 2188 ac_site_file1=$CONFIG_SITE 2189 elif test "x$prefix" != xNONE; then 2190 ac_site_file1=$prefix/share/config.site 2191 ac_site_file2=$prefix/etc/config.site 2192 else 2193 ac_site_file1=$ac_default_prefix/share/config.site 2194 ac_site_file2=$ac_default_prefix/etc/config.site 2195 fi 2196 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2197 do 2198 test "x$ac_site_file" = xNONE && continue 2199 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2201 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1231 2202 sed 's/^/| /' "$ac_site_file" >&5 1232 2203 . "$ac_site_file" … … 1235 2206 1236 2207 if test -r "$cache_file"; then 1237 # Some versions of bash will fail to source /dev/null (special 1238 # files actually), so we avoid doing that.1239 if test -f "$cache_file"; then1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&51241 echo "$as_me: loading cache $cache_file" >&6;}2208 # Some versions of bash will fail to source /dev/null (special files 2209 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2210 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2211 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2212 $as_echo "$as_me: loading cache $cache_file" >&6;} 1242 2213 case $cache_file in 1243 [\\/]* | ?:[\\/]* ) . $cache_file;;1244 *) . ./$cache_file;;2214 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2215 *) . "./$cache_file";; 1245 2216 esac 1246 2217 fi 1247 2218 else 1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&51249 echo "$as_me: creating cache $cache_file" >&6;}2219 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2220 $as_echo "$as_me: creating cache $cache_file" >&6;} 1250 2221 >$cache_file 1251 2222 fi … … 1254 2225 # value. 1255 2226 ac_cache_corrupted=false 1256 for ac_var in `(set) 2>&1 | 1257 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2227 for ac_var in $ac_precious_vars; do 1258 2228 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1259 2229 eval ac_new_set=\$ac_env_${ac_var}_set 1260 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1261 eval ac_new_val= "\$ac_env_${ac_var}_value"2230 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2231 eval ac_new_val=\$ac_env_${ac_var}_value 1262 2232 case $ac_old_set,$ac_new_set in 1263 2233 set,) 1264 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2235 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1266 2236 ac_cache_corrupted=: ;; 1267 2237 ,set) 1268 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2239 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1270 2240 ac_cache_corrupted=: ;; 1271 2241 ,);; 1272 2242 *) 1273 2243 if test "x$ac_old_val" != "x$ac_new_val"; then 1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1275 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1277 echo "$as_me: former value: $ac_old_val" >&2;} 1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1279 echo "$as_me: current value: $ac_new_val" >&2;} 1280 ac_cache_corrupted=: 2244 # differences in whitespace do not lead to failure. 2245 ac_old_val_w=`echo x $ac_old_val` 2246 ac_new_val_w=`echo x $ac_new_val` 2247 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2248 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2249 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2250 ac_cache_corrupted=: 2251 else 2252 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2253 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2254 eval $ac_var=\$ac_old_val 2255 fi 2256 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2257 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2258 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2259 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1281 2260 fi;; 1282 2261 esac … … 1284 2263 if test "$ac_new_set" = set; then 1285 2264 case $ac_new_val in 1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1287 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2265 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1288 2266 *) ac_arg=$ac_var=$ac_new_val ;; 1289 2267 esac 1290 2268 case " $ac_configure_args " in 1291 2269 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1292 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2270 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1293 2271 esac 1294 2272 fi 1295 2273 done 1296 2274 if $ac_cache_corrupted; then 1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1299 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1300 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1301 { (exit 1); exit 1; }; } 1302 fi 2275 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2277 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2278 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2279 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2280 fi 2281 ## -------------------- ## 2282 ## Main body of script. ## 2283 ## -------------------- ## 1303 2284 1304 2285 ac_ext=c … … 1309 2290 1310 2291 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 ac_config_headers="$ac_config_headers config.h" 2292 ac_config_headers="$ac_config_headers config.h" 1329 2293 1330 2294 … … 1345 2309 USE_FASTCGI=0 1346 2310 if test USE_FASTCGI = 1; then 1347 cat >>confdefs.h <<\_ACEOF 1348 #define USE_FASTCGI 1 1349 _ACEOF 2311 $as_echo "#define USE_FASTCGI 1" >>confdefs.h 1350 2312 1351 2313 … … 1353 2315 1354 2316 if test USE_LANGACTION = 1; then 1355 cat >>confdefs.h <<\_ACEOF 1356 #define USE_LANGACTION 1 1357 _ACEOF 1358 1359 1360 fi 1361 1362 # Check whether --enable-corba or --disable-corba was given. 1363 if test "${enable_corba+set}" = set; then 1364 enableval="$enable_corba" 1365 USE_CORBA=$enableval 2317 $as_echo "#define USE_LANGACTION 1" >>confdefs.h 2318 2319 2320 fi 2321 2322 # Check whether --enable-corba was given. 2323 if test "${enable_corba+set}" = set; then : 2324 enableval=$enable_corba; USE_CORBA=$enableval 1366 2325 else 1367 2326 USE_CORBA=no 1368 fi; 2327 fi 2328 1369 2329 if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then 1370 2330 USE_CORBA=1 1371 cat >>confdefs.h <<\_ACEOF 1372 #define USE_CORBA 1373 _ACEOF 2331 $as_echo "#define USE_CORBA /**/" >>confdefs.h 1374 2332 1375 2333 else … … 1379 2337 1380 2338 1381 # Check whether --with-micodir or --without-micodir was given. 1382 if test "${with_micodir+set}" = set; then 1383 withval="$with_micodir" 1384 MICO_DIR=$withval 2339 # Check whether --with-micodir was given. 2340 if test "${with_micodir+set}" = set; then : 2341 withval=$with_micodir; MICO_DIR=$withval 1385 2342 else 1386 2343 MICO_DIR="default" 1387 fi; 2344 fi 2345 1388 2346 cat >>confdefs.h <<_ACEOF 1389 2347 #define MICO_DIR "$MICO_DIR" … … 1392 2350 1393 2351 1394 # Check whether --enable-z3950 or --disable-z3950 was given. 1395 if test "${enable_z3950+set}" = set; then 1396 enableval="$enable_z3950" 1397 USE_Z3950=$enableval 2352 # Check whether --enable-z3950 was given. 2353 if test "${enable_z3950+set}" = set; then : 2354 enableval=$enable_z3950; USE_Z3950=$enableval 1398 2355 else 1399 2356 USE_Z3950=no 1400 fi; 2357 fi 2358 1401 2359 if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then 1402 2360 USE_Z3950=1 1403 cat >>confdefs.h <<\_ACEOF 1404 #define USE_Z3950 1405 _ACEOF 2361 $as_echo "#define USE_Z3950 /**/" >>confdefs.h 1406 2362 1407 2363 else … … 1410 2366 1411 2367 1412 # Check whether --enable-yaz or --disable-yaz was given. 1413 if test "${enable_yaz+set}" = set; then 1414 enableval="$enable_yaz" 1415 USE_YAZ=$enableval 2368 # Check whether --enable-yaz was given. 2369 if test "${enable_yaz+set}" = set; then : 2370 enableval=$enable_yaz; USE_YAZ=$enableval 1416 2371 else 1417 2372 USE_YAZ=yes 1418 fi; 2373 fi 2374 1419 2375 if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then 1420 2376 USE_YAZ=1 1421 cat >>confdefs.h <<\_ACEOF 1422 #define USE_YAZ 1423 _ACEOF 2377 $as_echo "#define USE_YAZ /**/" >>confdefs.h 1424 2378 1425 2379 else … … 1428 2382 1429 2383 1430 # Check whether --enable-jdbm or --disable-jdbm was given. 1431 if test "${enable_jdbm+set}" = set; then 1432 enableval="$enable_jdbm" 1433 USE_JDBM=$enableval 2384 # Check whether --enable-jdbm was given. 2385 if test "${enable_jdbm+set}" = set; then : 2386 enableval=$enable_jdbm; USE_JDBM=$enableval 1434 2387 else 1435 2388 USE_JDBM=yes 1436 fi; 2389 fi 2390 1437 2391 if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then 1438 2392 USE_JDBM=1 1439 cat >>confdefs.h <<\_ACEOF 1440 #define USE_JDBM 1441 _ACEOF 2393 $as_echo "#define USE_JDBM /**/" >>confdefs.h 1442 2394 1443 2395 else … … 1446 2398 1447 2399 1448 # Check whether --enable-gdbm or --disable-gdbm was given. 1449 if test "${enable_gdbm+set}" = set; then 1450 enableval="$enable_gdbm" 1451 USE_GDBM=$enableval 2400 # Check whether --enable-gdbm was given. 2401 if test "${enable_gdbm+set}" = set; then : 2402 enableval=$enable_gdbm; USE_GDBM=$enableval 1452 2403 else 1453 2404 USE_GDBM=yes 1454 fi; 2405 fi 2406 1455 2407 if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then 1456 2408 USE_GDBM=1 1457 cat >>confdefs.h <<\_ACEOF 1458 #define USE_GDBM 1459 _ACEOF 2409 $as_echo "#define USE_GDBM /**/" >>confdefs.h 1460 2410 1461 2411 else … … 1464 2414 1465 2415 1466 # Check whether --enable-accentfold or --disable-accentfold was given. 1467 if test "${enable_accentfold+set}" = set; then 1468 enableval="$enable_accentfold" 1469 ENABLE_ACCENTFOLD=$enableval 2416 # Check whether --enable-accentfold was given. 2417 if test "${enable_accentfold+set}" = set; then : 2418 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval 1470 2419 else 1471 2420 ENABLE_ACCENTFOLD=yes 1472 fi; 2421 fi 2422 1473 2423 if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then 1474 2424 ENABLE_ACCENTFOLD=1 1475 cat >>confdefs.h <<\_ACEOF 1476 #define ENABLE_ACCENTFOLD 1477 _ACEOF 2425 $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h 1478 2426 1479 2427 else … … 1482 2430 1483 2431 1484 # Check whether --enable-sqlite or --disable-sqlite was given. 1485 if test "${enable_sqlite+set}" = set; then 1486 enableval="$enable_sqlite" 1487 USE_SQLITE=$enableval 2432 # Check whether --enable-sqlite was given. 2433 if test "${enable_sqlite+set}" = set; then : 2434 enableval=$enable_sqlite; USE_SQLITE=$enableval 1488 2435 else 1489 2436 USE_SQLITE=yes 1490 fi; 2437 fi 2438 1491 2439 if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then 1492 2440 USE_SQLITE=1 1493 cat >>confdefs.h <<\_ACEOF 1494 #define USE_SQLITE 1495 _ACEOF 2441 $as_echo "#define USE_SQLITE /**/" >>confdefs.h 1496 2442 1497 2443 else … … 1501 2447 1502 2448 if test -d runtime-src; then 1503 # Check whether --enable-apache-httpd or --disable-apache-httpd was given. 1504 if test "${enable_apache_httpd+set}" = set; then 1505 enableval="$enable_apache_httpd" 1506 USE_APACHE_HTTPD=$enableval 2449 # Check whether --enable-apache-httpd was given. 2450 if test "${enable_apache_httpd+set}" = set; then : 2451 enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval 1507 2452 else 1508 2453 USE_APACHE_HTTPD=no 1509 fi; 2454 fi 2455 1510 2456 if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then 1511 2457 USE_APACHE_HTTPD=1 1512 cat >>confdefs.h <<\_ACEOF 1513 #define USE_APACHE_HTTPD 1514 _ACEOF 2458 $as_echo "#define USE_APACHE_HTTPD /**/" >>confdefs.h 1515 2459 1516 2460 else … … 1520 2464 fi 1521 2465 1522 # Check whether --enable-jni or --disable-jni was given. 1523 if test "${enable_jni+set}" = set; then 1524 enableval="$enable_jni" 1525 ENABLE_JNI=$enableval 2466 # Check whether --enable-jni was given. 2467 if test "${enable_jni+set}" = set; then : 2468 enableval=$enable_jni; ENABLE_JNI=$enableval 1526 2469 else 1527 2470 ENABLE_JNI=no 1528 fi; 2471 fi 2472 1529 2473 if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then 1530 2474 ENABLE_JNI=1 1531 cat >>confdefs.h <<\_ACEOF 1532 #define ENABLE_JNI 1533 _ACEOF 2475 $as_echo "#define ENABLE_JNI /**/" >>confdefs.h 1534 2476 1535 2477 else … … 1538 2480 1539 2481 1540 # Check whether --enable-mg or --disable-mg was given. 1541 if test "${enable_mg+set}" = set; then 1542 enableval="$enable_mg" 1543 ENABLE_MG=$enableval 2482 # Check whether --enable-mg was given. 2483 if test "${enable_mg+set}" = set; then : 2484 enableval=$enable_mg; ENABLE_MG=$enableval 1544 2485 else 1545 2486 ENABLE_MG=yes 1546 fi; 2487 fi 2488 1547 2489 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1548 2490 ENABLE_MG=1 1549 cat >>confdefs.h <<\_ACEOF 1550 #define ENABLE_MG 1551 _ACEOF 2491 $as_echo "#define ENABLE_MG /**/" >>confdefs.h 1552 2492 1553 2493 else … … 1557 2497 1558 2498 1559 # Check whether --enable-mgpp or --disable-mgpp was given. 1560 if test "${enable_mgpp+set}" = set; then 1561 enableval="$enable_mgpp" 1562 ENABLE_MGPP=$enableval 2499 # Check whether --enable-mgpp was given. 2500 if test "${enable_mgpp+set}" = set; then : 2501 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1563 2502 else 1564 2503 ENABLE_MGPP=yes 1565 fi; 2504 fi 2505 1566 2506 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1567 2507 ENABLE_MGPP=1 1568 cat >>confdefs.h <<\_ACEOF 1569 #define ENABLE_MGPP 1570 _ACEOF 2508 $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h 1571 2509 1572 2510 else … … 1575 2513 1576 2514 1577 # Check whether --enable-lucene or --disable-lucene was given. 1578 if test "${enable_lucene+set}" = set; then 1579 enableval="$enable_lucene" 1580 ENABLE_LUCENE=$enableval 2515 # Check whether --enable-lucene was given. 2516 if test "${enable_lucene+set}" = set; then : 2517 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1581 2518 else 1582 2519 ENABLE_LUCENE=yes 1583 fi; 2520 fi 2521 1584 2522 if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then 1585 2523 ENABLE_LUCENE=1 1586 cat >>confdefs.h <<\_ACEOF 1587 #define ENABLE_LUCENE 1588 _ACEOF 2524 $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h 1589 2525 1590 2526 else … … 1610 2546 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1611 2547 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1612 echo "$as_me:$LINENO: checking for $ac_word" >&51613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1614 if test "${ac_cv_prog_CC+set}" = set; then 1615 echo $ECHO_N "(cached) $ECHO_C" >&62548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2549 $as_echo_n "checking for $ac_word... " >&6; } 2550 if test "${ac_cv_prog_CC+set}" = set; then : 2551 $as_echo_n "(cached) " >&6 1616 2552 else 1617 2553 if test -n "$CC"; then … … 1623 2559 IFS=$as_save_IFS 1624 2560 test -z "$as_dir" && as_dir=. 1625 for ac_exec_ext in '' $ac_executable_extensions; do1626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2561 for ac_exec_ext in '' $ac_executable_extensions; do 2562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1627 2563 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1629 2565 break 2 1630 2566 fi 1631 2567 done 1632 done 2568 done 2569 IFS=$as_save_IFS 1633 2570 1634 2571 fi … … 1636 2573 CC=$ac_cv_prog_CC 1637 2574 if test -n "$CC"; then 1638 echo "$as_me:$LINENO: result: $CC" >&5 1639 echo "${ECHO_T}$CC" >&6 1640 else 1641 echo "$as_me:$LINENO: result: no" >&5 1642 echo "${ECHO_T}no" >&6 1643 fi 2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2576 $as_echo "$CC" >&6; } 2577 else 2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2579 $as_echo "no" >&6; } 2580 fi 2581 1644 2582 1645 2583 fi … … 1648 2586 # Extract the first word of "gcc", so it can be a program name with args. 1649 2587 set dummy gcc; ac_word=$2 1650 echo "$as_me:$LINENO: checking for $ac_word" >&51651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1653 echo $ECHO_N "(cached) $ECHO_C" >&62588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2589 $as_echo_n "checking for $ac_word... " >&6; } 2590 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2591 $as_echo_n "(cached) " >&6 1654 2592 else 1655 2593 if test -n "$ac_ct_CC"; then … … 1661 2599 IFS=$as_save_IFS 1662 2600 test -z "$as_dir" && as_dir=. 1663 for ac_exec_ext in '' $ac_executable_extensions; do1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2601 for ac_exec_ext in '' $ac_executable_extensions; do 2602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1665 2603 ac_cv_prog_ac_ct_CC="gcc" 1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1667 2605 break 2 1668 2606 fi 1669 2607 done 1670 done 2608 done 2609 IFS=$as_save_IFS 1671 2610 1672 2611 fi … … 1674 2613 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1675 2614 if test -n "$ac_ct_CC"; then 1676 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1677 echo "${ECHO_T}$ac_ct_CC" >&6 1678 else 1679 echo "$as_me:$LINENO: result: no" >&5 1680 echo "${ECHO_T}no" >&6 1681 fi 1682 1683 CC=$ac_ct_CC 2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2616 $as_echo "$ac_ct_CC" >&6; } 2617 else 2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2619 $as_echo "no" >&6; } 2620 fi 2621 2622 if test "x$ac_ct_CC" = x; then 2623 CC="" 2624 else 2625 case $cross_compiling:$ac_tool_warned in 2626 yes:) 2627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2629 ac_tool_warned=yes ;; 2630 esac 2631 CC=$ac_ct_CC 2632 fi 1684 2633 else 1685 2634 CC="$ac_cv_prog_CC" … … 1687 2636 1688 2637 if test -z "$CC"; then 1689 if test -n "$ac_tool_prefix"; then1690 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2638 if test -n "$ac_tool_prefix"; then 2639 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1691 2640 set dummy ${ac_tool_prefix}cc; ac_word=$2 1692 echo "$as_me:$LINENO: checking for $ac_word" >&51693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1694 if test "${ac_cv_prog_CC+set}" = set; then 1695 echo $ECHO_N "(cached) $ECHO_C" >&62641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2642 $as_echo_n "checking for $ac_word... " >&6; } 2643 if test "${ac_cv_prog_CC+set}" = set; then : 2644 $as_echo_n "(cached) " >&6 1696 2645 else 1697 2646 if test -n "$CC"; then … … 1703 2652 IFS=$as_save_IFS 1704 2653 test -z "$as_dir" && as_dir=. 1705 for ac_exec_ext in '' $ac_executable_extensions; do1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2654 for ac_exec_ext in '' $ac_executable_extensions; do 2655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1707 2656 ac_cv_prog_CC="${ac_tool_prefix}cc" 1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1709 2658 break 2 1710 2659 fi 1711 2660 done 1712 done 2661 done 2662 IFS=$as_save_IFS 1713 2663 1714 2664 fi … … 1716 2666 CC=$ac_cv_prog_CC 1717 2667 if test -n "$CC"; then 1718 echo "$as_me:$LINENO: result: $CC" >&5 1719 echo "${ECHO_T}$CC" >&6 1720 else 1721 echo "$as_me:$LINENO: result: no" >&5 1722 echo "${ECHO_T}no" >&6 1723 fi 1724 1725 fi 1726 if test -z "$ac_cv_prog_CC"; then 1727 ac_ct_CC=$CC 1728 # Extract the first word of "cc", so it can be a program name with args. 1729 set dummy cc; ac_word=$2 1730 echo "$as_me:$LINENO: checking for $ac_word" >&5 1731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1733 echo $ECHO_N "(cached) $ECHO_C" >&6 1734 else 1735 if test -n "$ac_ct_CC"; then 1736 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1737 else 1738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1739 for as_dir in $PATH 1740 do 1741 IFS=$as_save_IFS 1742 test -z "$as_dir" && as_dir=. 1743 for ac_exec_ext in '' $ac_executable_extensions; do 1744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1745 ac_cv_prog_ac_ct_CC="cc" 1746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1747 break 2 2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2669 $as_echo "$CC" >&6; } 2670 else 2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2672 $as_echo "no" >&6; } 2673 fi 2674 2675 1748 2676 fi 1749 done1750 done1751 1752 fi1753 fi1754 ac_ct_CC=$ac_cv_prog_ac_ct_CC1755 if test -n "$ac_ct_CC"; then1756 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51757 echo "${ECHO_T}$ac_ct_CC" >&61758 else1759 echo "$as_me:$LINENO: result: no" >&51760 echo "${ECHO_T}no" >&61761 fi1762 1763 CC=$ac_ct_CC1764 else1765 CC="$ac_cv_prog_CC"1766 fi1767 1768 2677 fi 1769 2678 if test -z "$CC"; then 1770 2679 # Extract the first word of "cc", so it can be a program name with args. 1771 2680 set dummy cc; ac_word=$2 1772 echo "$as_me:$LINENO: checking for $ac_word" >&51773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1774 if test "${ac_cv_prog_CC+set}" = set; then 1775 echo $ECHO_N "(cached) $ECHO_C" >&62681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2682 $as_echo_n "checking for $ac_word... " >&6; } 2683 if test "${ac_cv_prog_CC+set}" = set; then : 2684 $as_echo_n "(cached) " >&6 1776 2685 else 1777 2686 if test -n "$CC"; then … … 1784 2693 IFS=$as_save_IFS 1785 2694 test -z "$as_dir" && as_dir=. 1786 for ac_exec_ext in '' $ac_executable_extensions; do1787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2695 for ac_exec_ext in '' $ac_executable_extensions; do 2696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1788 2697 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1789 2698 ac_prog_rejected=yes … … 1791 2700 fi 1792 2701 ac_cv_prog_CC="cc" 1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1794 2703 break 2 1795 2704 fi 1796 2705 done 1797 done 2706 done 2707 IFS=$as_save_IFS 1798 2708 1799 2709 if test $ac_prog_rejected = yes; then … … 1813 2723 CC=$ac_cv_prog_CC 1814 2724 if test -n "$CC"; then 1815 echo "$as_me:$LINENO: result: $CC" >&5 1816 echo "${ECHO_T}$CC" >&6 1817 else 1818 echo "$as_me:$LINENO: result: no" >&5 1819 echo "${ECHO_T}no" >&6 1820 fi 2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2726 $as_echo "$CC" >&6; } 2727 else 2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2729 $as_echo "no" >&6; } 2730 fi 2731 1821 2732 1822 2733 fi 1823 2734 if test -z "$CC"; then 1824 2735 if test -n "$ac_tool_prefix"; then 1825 for ac_prog in cl 2736 for ac_prog in cl.exe 1826 2737 do 1827 2738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1828 2739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1829 echo "$as_me:$LINENO: checking for $ac_word" >&51830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1831 if test "${ac_cv_prog_CC+set}" = set; then 1832 echo $ECHO_N "(cached) $ECHO_C" >&62740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2741 $as_echo_n "checking for $ac_word... " >&6; } 2742 if test "${ac_cv_prog_CC+set}" = set; then : 2743 $as_echo_n "(cached) " >&6 1833 2744 else 1834 2745 if test -n "$CC"; then … … 1840 2751 IFS=$as_save_IFS 1841 2752 test -z "$as_dir" && as_dir=. 1842 for ac_exec_ext in '' $ac_executable_extensions; do1843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2753 for ac_exec_ext in '' $ac_executable_extensions; do 2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1844 2755 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1846 2757 break 2 1847 2758 fi 1848 2759 done 1849 done 2760 done 2761 IFS=$as_save_IFS 1850 2762 1851 2763 fi … … 1853 2765 CC=$ac_cv_prog_CC 1854 2766 if test -n "$CC"; then 1855 echo "$as_me:$LINENO: result: $CC" >&5 1856 echo "${ECHO_T}$CC" >&6 1857 else 1858 echo "$as_me:$LINENO: result: no" >&5 1859 echo "${ECHO_T}no" >&6 1860 fi 2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2768 $as_echo "$CC" >&6; } 2769 else 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2771 $as_echo "no" >&6; } 2772 fi 2773 1861 2774 1862 2775 test -n "$CC" && break … … 1865 2778 if test -z "$CC"; then 1866 2779 ac_ct_CC=$CC 1867 for ac_prog in cl 2780 for ac_prog in cl.exe 1868 2781 do 1869 2782 # Extract the first word of "$ac_prog", so it can be a program name with args. 1870 2783 set dummy $ac_prog; ac_word=$2 1871 echo "$as_me:$LINENO: checking for $ac_word" >&51872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1873 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1874 echo $ECHO_N "(cached) $ECHO_C" >&62784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2785 $as_echo_n "checking for $ac_word... " >&6; } 2786 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2787 $as_echo_n "(cached) " >&6 1875 2788 else 1876 2789 if test -n "$ac_ct_CC"; then … … 1882 2795 IFS=$as_save_IFS 1883 2796 test -z "$as_dir" && as_dir=. 1884 for ac_exec_ext in '' $ac_executable_extensions; do1885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2797 for ac_exec_ext in '' $ac_executable_extensions; do 2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1886 2799 ac_cv_prog_ac_ct_CC="$ac_prog" 1887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1888 2801 break 2 1889 2802 fi 1890 2803 done 1891 done 2804 done 2805 IFS=$as_save_IFS 1892 2806 1893 2807 fi … … 1895 2809 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1896 2810 if test -n "$ac_ct_CC"; then 1897 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1898 echo "${ECHO_T}$ac_ct_CC" >&6 1899 else 1900 echo "$as_me:$LINENO: result: no" >&5 1901 echo "${ECHO_T}no" >&6 1902 fi 2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2812 $as_echo "$ac_ct_CC" >&6; } 2813 else 2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2815 $as_echo "no" >&6; } 2816 fi 2817 1903 2818 1904 2819 test -n "$ac_ct_CC" && break 1905 2820 done 1906 2821 1907 CC=$ac_ct_CC 1908 fi 1909 1910 fi 1911 1912 1913 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1914 See \`config.log' for more details." >&5 1915 echo "$as_me: error: no acceptable C compiler found in \$PATH 1916 See \`config.log' for more details." >&2;} 1917 { (exit 1); exit 1; }; } 2822 if test "x$ac_ct_CC" = x; then 2823 CC="" 2824 else 2825 case $cross_compiling:$ac_tool_warned in 2826 yes:) 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2829 ac_tool_warned=yes ;; 2830 esac 2831 CC=$ac_ct_CC 2832 fi 2833 fi 2834 2835 fi 2836 2837 2838 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2840 as_fn_error "no acceptable C compiler found in \$PATH 2841 See \`config.log' for more details." "$LINENO" 5; } 1918 2842 1919 2843 # Provide some information about the compiler. 1920 echo "$as_me:$LINENO:" \ 1921 "checking for C compiler version" >&5 1922 ac_compiler=`set X $ac_compile; echo $2` 1923 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1924 (eval $ac_compiler --version </dev/null >&5) 2>&5 2844 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2845 set X $ac_compile 2846 ac_compiler=$2 2847 for ac_option in --version -v -V -qversion; do 2848 { { ac_try="$ac_compiler $ac_option >&5" 2849 case "(($ac_try" in 2850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2851 *) ac_try_echo=$ac_try;; 2852 esac 2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2854 $as_echo "$ac_try_echo"; } >&5 2855 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1925 2856 ac_status=$? 1926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1927 (exit $ac_status); } 1928 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1929 (eval $ac_compiler -v </dev/null >&5) 2>&5 1930 ac_status=$? 1931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1932 (exit $ac_status); } 1933 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1934 (eval $ac_compiler -V </dev/null >&5) 2>&5 1935 ac_status=$? 1936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1937 (exit $ac_status); } 1938 1939 cat >conftest.$ac_ext <<_ACEOF 1940 /* confdefs.h. */ 1941 _ACEOF 1942 cat confdefs.h >>conftest.$ac_ext 1943 cat >>conftest.$ac_ext <<_ACEOF 2857 if test -s conftest.err; then 2858 sed '10a\ 2859 ... rest of stderr output deleted ... 2860 10q' conftest.err >conftest.er1 2861 cat conftest.er1 >&5 2862 fi 2863 rm -f conftest.er1 conftest.err 2864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2865 test $ac_status = 0; } 2866 done 2867 2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1944 2869 /* end confdefs.h. */ 1945 2870 … … 1953 2878 _ACEOF 1954 2879 ac_clean_files_save=$ac_clean_files 1955 ac_clean_files="$ac_clean_files a.out a. exe b.out"2880 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1956 2881 # Try to create an executable without -o first, disregard a.out. 1957 2882 # It will help us diagnose broken compilers, and finding out an intuition 1958 2883 # of exeext. 1959 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1960 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1961 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1962 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1963 (eval $ac_link_default) 2>&5 2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2885 $as_echo_n "checking whether the C compiler works... " >&6; } 2886 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2887 2888 # The possible output files: 2889 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2890 2891 ac_rmfiles= 2892 for ac_file in $ac_files 2893 do 2894 case $ac_file in 2895 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2896 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2897 esac 2898 done 2899 rm -f $ac_rmfiles 2900 2901 if { { ac_try="$ac_link_default" 2902 case "(($ac_try" in 2903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2904 *) ac_try_echo=$ac_try;; 2905 esac 2906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2907 $as_echo "$ac_try_echo"; } >&5 2908 (eval "$ac_link_default") 2>&5 1964 2909 ac_status=$? 1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1966 (exit $ac_status); }; then 1967 # Find the output, starting from the most likely. This scheme is 1968 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1969 # resort. 1970 1971 # Be careful to initialize this variable, since it used to be cached. 1972 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1973 ac_cv_exeext= 1974 # b.out is created by i960 compilers. 1975 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2911 test $ac_status = 0; }; then : 2912 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2913 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2914 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2915 # so that the user can short-circuit this test for compilers unknown to 2916 # Autoconf. 2917 for ac_file in $ac_files '' 1976 2918 do 1977 2919 test -f "$ac_file" || continue 1978 2920 case $ac_file in 1979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1980 ;; 1981 conftest.$ac_ext ) 1982 # This is the source file. 2921 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1983 2922 ;; 1984 2923 [ab].out ) … … 1987 2926 break;; 1988 2927 *.* ) 1989 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1990 # FIXME: I believe we export ac_cv_exeext for Libtool, 1991 # but it would be cool to find out if it's true. Does anybody 1992 # maintain Libtool? --akim. 1993 export ac_cv_exeext 2928 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2929 then :; else 2930 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2931 fi 2932 # We set ac_cv_exeext here because the later test for it is not 2933 # safe: cross compilers may not add the suffix if given an `-o' 2934 # argument, so we may need to know it at that point already. 2935 # Even if this section looks crufty: it has the advantage of 2936 # actually working. 1994 2937 break;; 1995 2938 * ) … … 1997 2940 esac 1998 2941 done 1999 else 2000 echo "$as_me: failed program was:" >&5 2942 test "$ac_cv_exeext" = no && ac_cv_exeext= 2943 2944 else 2945 ac_file='' 2946 fi 2947 if test -z "$ac_file"; then : 2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2949 $as_echo "no" >&6; } 2950 $as_echo "$as_me: failed program was:" >&5 2001 2951 sed 's/^/| /' conftest.$ac_ext >&5 2002 2952 2003 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2004 See \`config.log' for more details." >&5 2005 echo "$as_me: error: C compiler cannot create executables 2006 See \`config.log' for more details." >&2;} 2007 { (exit 77); exit 77; }; } 2008 fi 2009 2953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2955 { as_fn_set_status 77 2956 as_fn_error "C compiler cannot create executables 2957 See \`config.log' for more details." "$LINENO" 5; }; } 2958 else 2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2960 $as_echo "yes" >&6; } 2961 fi 2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2963 $as_echo_n "checking for C compiler default output file name... " >&6; } 2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2965 $as_echo "$ac_file" >&6; } 2010 2966 ac_exeext=$ac_cv_exeext 2011 echo "$as_me:$LINENO: result: $ac_file" >&5 2012 echo "${ECHO_T}$ac_file" >&6 2013 2014 # Check the compiler produces executables we can run. If not, either 2015 # the compiler is broken, or we cross compile. 2016 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2017 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2018 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2019 # If not cross compiling, check that we can run a simple program. 2020 if test "$cross_compiling" != yes; then 2021 if { ac_try='./$ac_file' 2022 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&52023 (eval $ac_try) 2>&52967 2968 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2969 ac_clean_files=$ac_clean_files_save 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2971 $as_echo_n "checking for suffix of executables... " >&6; } 2972 if { { ac_try="$ac_link" 2973 case "(($ac_try" in 2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2975 *) ac_try_echo=$ac_try;; 2976 esac 2977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2978 $as_echo "$ac_try_echo"; } >&5 2979 (eval "$ac_link") 2>&5 2024 2980 ac_status=$? 2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2026 (exit $ac_status); }; }; then 2027 cross_compiling=no 2028 else 2029 if test "$cross_compiling" = maybe; then 2030 cross_compiling=yes 2031 else 2032 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2033 If you meant to cross compile, use \`--host'. 2034 See \`config.log' for more details." >&5 2035 echo "$as_me: error: cannot run C compiled programs. 2036 If you meant to cross compile, use \`--host'. 2037 See \`config.log' for more details." >&2;} 2038 { (exit 1); exit 1; }; } 2039 fi 2040 fi 2041 fi 2042 echo "$as_me:$LINENO: result: yes" >&5 2043 echo "${ECHO_T}yes" >&6 2044 2045 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2046 ac_clean_files=$ac_clean_files_save 2047 # Check the compiler produces executables we can run. If not, either 2048 # the compiler is broken, or we cross compile. 2049 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2050 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2051 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2052 echo "${ECHO_T}$cross_compiling" >&6 2053 2054 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2055 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2057 (eval $ac_link) 2>&5 2058 ac_status=$? 2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2060 (exit $ac_status); }; then 2981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2982 test $ac_status = 0; }; then : 2061 2983 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2062 2984 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2066 2988 test -f "$ac_file" || continue 2067 2989 case $ac_file in 2068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2990 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2069 2991 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2070 export ac_cv_exeext2071 2992 break;; 2072 2993 * ) break;; … … 2074 2995 done 2075 2996 else 2076 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2077 See \`config.log' for more details." >&5 2078 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2079 See \`config.log' for more details." >&2;} 2080 { (exit 1); exit 1; }; } 2081 fi 2082 2083 rm -f conftest$ac_cv_exeext 2084 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2085 echo "${ECHO_T}$ac_cv_exeext" >&6 2997 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2999 as_fn_error "cannot compute suffix of executables: cannot compile and link 3000 See \`config.log' for more details." "$LINENO" 5; } 3001 fi 3002 rm -f conftest conftest$ac_cv_exeext 3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3004 $as_echo "$ac_cv_exeext" >&6; } 2086 3005 2087 3006 rm -f conftest.$ac_ext 2088 3007 EXEEXT=$ac_cv_exeext 2089 3008 ac_exeext=$EXEEXT 2090 echo "$as_me:$LINENO: checking for suffix of object files" >&5 2091 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2092 if test "${ac_cv_objext+set}" = set; then 2093 echo $ECHO_N "(cached) $ECHO_C" >&6 2094 else 2095 cat >conftest.$ac_ext <<_ACEOF 2096 /* confdefs.h. */ 2097 _ACEOF 2098 cat confdefs.h >>conftest.$ac_ext 2099 cat >>conftest.$ac_ext <<_ACEOF 3009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2100 3010 /* end confdefs.h. */ 2101 3011 #include <stdio.h> 2102 3012 int 2103 3013 main () 2104 3014 { 3015 FILE *f = fopen ("conftest.out", "w"); 3016 return ferror (f) || fclose (f) != 0; 2105 3017 2106 3018 ; … … 2108 3020 } 2109 3021 _ACEOF 3022 ac_clean_files="$ac_clean_files conftest.out" 3023 # Check that the compiler produces executables we can run. If not, either 3024 # the compiler is broken, or we cross compile. 3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3026 $as_echo_n "checking whether we are cross compiling... " >&6; } 3027 if test "$cross_compiling" != yes; then 3028 { { ac_try="$ac_link" 3029 case "(($ac_try" in 3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3031 *) ac_try_echo=$ac_try;; 3032 esac 3033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3034 $as_echo "$ac_try_echo"; } >&5 3035 (eval "$ac_link") 2>&5 3036 ac_status=$? 3037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3038 test $ac_status = 0; } 3039 if { ac_try='./conftest$ac_cv_exeext' 3040 { { case "(($ac_try" in 3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3042 *) ac_try_echo=$ac_try;; 3043 esac 3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3045 $as_echo "$ac_try_echo"; } >&5 3046 (eval "$ac_try") 2>&5 3047 ac_status=$? 3048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3049 test $ac_status = 0; }; }; then 3050 cross_compiling=no 3051 else 3052 if test "$cross_compiling" = maybe; then 3053 cross_compiling=yes 3054 else 3055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3057 as_fn_error "cannot run C compiled programs. 3058 If you meant to cross compile, use \`--host'. 3059 See \`config.log' for more details." "$LINENO" 5; } 3060 fi 3061 fi 3062 fi 3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3064 $as_echo "$cross_compiling" >&6; } 3065 3066 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3067 ac_clean_files=$ac_clean_files_save 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3069 $as_echo_n "checking for suffix of object files... " >&6; } 3070 if test "${ac_cv_objext+set}" = set; then : 3071 $as_echo_n "(cached) " >&6 3072 else 3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3074 /* end confdefs.h. */ 3075 3076 int 3077 main () 3078 { 3079 3080 ; 3081 return 0; 3082 } 3083 _ACEOF 2110 3084 rm -f conftest.o conftest.obj 2111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2112 (eval $ac_compile) 2>&5 3085 if { { ac_try="$ac_compile" 3086 case "(($ac_try" in 3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3088 *) ac_try_echo=$ac_try;; 3089 esac 3090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3091 $as_echo "$ac_try_echo"; } >&5 3092 (eval "$ac_compile") 2>&5 2113 3093 ac_status=$? 2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2115 (exit $ac_status); }; then 2116 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3095 test $ac_status = 0; }; then : 3096 for ac_file in conftest.o conftest.obj conftest.*; do 3097 test -f "$ac_file" || continue; 2117 3098 case $ac_file in 2118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;3099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2119 3100 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2120 3101 break;; … … 2122 3103 done 2123 3104 else 2124 echo "$as_me: failed program was:" >&53105 $as_echo "$as_me: failed program was:" >&5 2125 3106 sed 's/^/| /' conftest.$ac_ext >&5 2126 3107 2127 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2128 See \`config.log' for more details." >&5 2129 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2130 See \`config.log' for more details." >&2;} 2131 { (exit 1); exit 1; }; } 2132 fi 2133 3108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3110 as_fn_error "cannot compute suffix of object files: cannot compile 3111 See \`config.log' for more details." "$LINENO" 5; } 3112 fi 2134 3113 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2135 3114 fi 2136 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52137 echo "${ECHO_T}$ac_cv_objext" >&6 3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3116 $as_echo "$ac_cv_objext" >&6; } 2138 3117 OBJEXT=$ac_cv_objext 2139 3118 ac_objext=$OBJEXT 2140 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2141 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2142 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2143 echo $ECHO_N "(cached) $ECHO_C" >&6 2144 else 2145 cat >conftest.$ac_ext <<_ACEOF 2146 /* confdefs.h. */ 2147 _ACEOF 2148 cat confdefs.h >>conftest.$ac_ext 2149 cat >>conftest.$ac_ext <<_ACEOF 3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3120 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3121 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3122 $as_echo_n "(cached) " >&6 3123 else 3124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2150 3125 /* end confdefs.h. */ 2151 3126 … … 2161 3136 } 2162 3137 _ACEOF 2163 rm -f conftest.$ac_objext 2164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2165 (eval $ac_compile) 2>conftest.er1 2166 ac_status=$? 2167 grep -v '^ *+' conftest.er1 >conftest.err 2168 rm -f conftest.er1 2169 cat conftest.err >&5 2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2171 (exit $ac_status); } && 2172 { ac_try='test -z "$ac_c_werror_flag" 2173 || test ! -s conftest.err' 2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2175 (eval $ac_try) 2>&5 2176 ac_status=$? 2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2178 (exit $ac_status); }; } && 2179 { ac_try='test -s conftest.$ac_objext' 2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2181 (eval $ac_try) 2>&5 2182 ac_status=$? 2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2184 (exit $ac_status); }; }; then 3138 if ac_fn_c_try_compile "$LINENO"; then : 2185 3139 ac_compiler_gnu=yes 2186 3140 else 2187 echo "$as_me: failed program was:" >&5 2188 sed 's/^/| /' conftest.$ac_ext >&5 2189 2190 ac_compiler_gnu=no 2191 fi 2192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3141 ac_compiler_gnu=no 3142 fi 3143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2193 3144 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2194 3145 2195 3146 fi 2196 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2197 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2198 GCC=`test $ac_compiler_gnu = yes && echo yes` 3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3148 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3149 if test $ac_compiler_gnu = yes; then 3150 GCC=yes 3151 else 3152 GCC= 3153 fi 2199 3154 ac_test_CFLAGS=${CFLAGS+set} 2200 3155 ac_save_CFLAGS=$CFLAGS 2201 CFLAGS="-g" 2202 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2203 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2204 if test "${ac_cv_prog_cc_g+set}" = set; then 2205 echo $ECHO_N "(cached) $ECHO_C" >&6 2206 else 2207 cat >conftest.$ac_ext <<_ACEOF 2208 /* confdefs.h. */ 2209 _ACEOF 2210 cat confdefs.h >>conftest.$ac_ext 2211 cat >>conftest.$ac_ext <<_ACEOF 3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3157 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3158 if test "${ac_cv_prog_cc_g+set}" = set; then : 3159 $as_echo_n "(cached) " >&6 3160 else 3161 ac_save_c_werror_flag=$ac_c_werror_flag 3162 ac_c_werror_flag=yes 3163 ac_cv_prog_cc_g=no 3164 CFLAGS="-g" 3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2212 3166 /* end confdefs.h. */ 2213 3167 … … 2220 3174 } 2221 3175 _ACEOF 2222 rm -f conftest.$ac_objext 2223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2224 (eval $ac_compile) 2>conftest.er1 2225 ac_status=$? 2226 grep -v '^ *+' conftest.er1 >conftest.err 2227 rm -f conftest.er1 2228 cat conftest.err >&5 2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2230 (exit $ac_status); } && 2231 { ac_try='test -z "$ac_c_werror_flag" 2232 || test ! -s conftest.err' 2233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2234 (eval $ac_try) 2>&5 2235 ac_status=$? 2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2237 (exit $ac_status); }; } && 2238 { ac_try='test -s conftest.$ac_objext' 2239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2240 (eval $ac_try) 2>&5 2241 ac_status=$? 2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2243 (exit $ac_status); }; }; then 3176 if ac_fn_c_try_compile "$LINENO"; then : 2244 3177 ac_cv_prog_cc_g=yes 2245 3178 else 2246 echo "$as_me: failed program was:" >&5 2247 sed 's/^/| /' conftest.$ac_ext >&5 2248 2249 ac_cv_prog_cc_g=no 2250 fi 2251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2252 fi 2253 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2254 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3179 CFLAGS="" 3180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3181 /* end confdefs.h. */ 3182 3183 int 3184 main () 3185 { 3186 3187 ; 3188 return 0; 3189 } 3190 _ACEOF 3191 if ac_fn_c_try_compile "$LINENO"; then : 3192 3193 else 3194 ac_c_werror_flag=$ac_save_c_werror_flag 3195 CFLAGS="-g" 3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3197 /* end confdefs.h. */ 3198 3199 int 3200 main () 3201 { 3202 3203 ; 3204 return 0; 3205 } 3206 _ACEOF 3207 if ac_fn_c_try_compile "$LINENO"; then : 3208 ac_cv_prog_cc_g=yes 3209 fi 3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3211 fi 3212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3213 fi 3214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3215 ac_c_werror_flag=$ac_save_c_werror_flag 3216 fi 3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3218 $as_echo "$ac_cv_prog_cc_g" >&6; } 2255 3219 if test "$ac_test_CFLAGS" = set; then 2256 3220 CFLAGS=$ac_save_CFLAGS … … 2268 3232 fi 2269 3233 fi 2270 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52271 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2272 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2273 echo $ECHO_N "(cached) $ECHO_C" >&62274 else 2275 ac_cv_prog_cc_ stdc=no3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3235 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3236 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3237 $as_echo_n "(cached) " >&6 3238 else 3239 ac_cv_prog_cc_c89=no 2276 3240 ac_save_CC=$CC 2277 cat >conftest.$ac_ext <<_ACEOF 2278 /* confdefs.h. */ 2279 _ACEOF 2280 cat confdefs.h >>conftest.$ac_ext 2281 cat >>conftest.$ac_ext <<_ACEOF 3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2282 3242 /* end confdefs.h. */ 2283 3243 #include <stdarg.h> … … 2307 3267 function prototypes and stuff, but not '\xHH' hex character constants. 2308 3268 These don't provoke an error unfortunately, instead are silently treated 2309 as 'x'. The following induces an error, until -std 1is added to get3269 as 'x'. The following induces an error, until -std is added to get 2310 3270 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2311 3271 array size at least. It's necessary to write '\x00'==0 to get something 2312 that's true only with -std 1. */3272 that's true only with -std. */ 2313 3273 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3274 3275 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3276 inside strings and character constants. */ 3277 #define FOO(x) 'x' 3278 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2314 3279 2315 3280 int test (int i, double x); … … 2327 3292 } 2328 3293 _ACEOF 2329 # Don't try gcc -ansi; that turns off useful extensions and 2330 # breaks some systems' header files. 2331 # AIX -qlanglvl=ansi 2332 # Ultrix and OSF/1 -std1 2333 # HP-UX 10.20 and later -Ae 2334 # HP-UX older versions -Aa -D_HPUX_SOURCE 2335 # SVR4 -Xc -D__EXTENSIONS__ 2336 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3294 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3295 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2337 3296 do 2338 3297 CC="$ac_save_CC $ac_arg" 2339 rm -f conftest.$ac_objext 2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2341 (eval $ac_compile) 2>conftest.er1 2342 ac_status=$? 2343 grep -v '^ *+' conftest.er1 >conftest.err 2344 rm -f conftest.er1 2345 cat conftest.err >&5 2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2347 (exit $ac_status); } && 2348 { ac_try='test -z "$ac_c_werror_flag" 2349 || test ! -s conftest.err' 2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2351 (eval $ac_try) 2>&5 2352 ac_status=$? 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 (exit $ac_status); }; } && 2355 { ac_try='test -s conftest.$ac_objext' 2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2357 (eval $ac_try) 2>&5 2358 ac_status=$? 2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2360 (exit $ac_status); }; }; then 2361 ac_cv_prog_cc_stdc=$ac_arg 2362 break 2363 else 2364 echo "$as_me: failed program was:" >&5 2365 sed 's/^/| /' conftest.$ac_ext >&5 2366 2367 fi 2368 rm -f conftest.err conftest.$ac_objext 3298 if ac_fn_c_try_compile "$LINENO"; then : 3299 ac_cv_prog_cc_c89=$ac_arg 3300 fi 3301 rm -f core conftest.err conftest.$ac_objext 3302 test "x$ac_cv_prog_cc_c89" != "xno" && break 2369 3303 done 2370 rm -f conftest.$ac_ext conftest.$ac_objext3304 rm -f conftest.$ac_ext 2371 3305 CC=$ac_save_CC 2372 3306 2373 3307 fi 2374 2375 case "x$ac_cv_prog_cc_stdc" in 2376 x|xno) 2377 echo "$as_me:$LINENO: result: none needed" >&5 2378 echo "${ECHO_T}none needed" >&6 ;; 3308 # AC_CACHE_VAL 3309 case "x$ac_cv_prog_cc_c89" in 3310 x) 3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3312 $as_echo "none needed" >&6; } ;; 3313 xno) 3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3315 $as_echo "unsupported" >&6; } ;; 2379 3316 *) 2380 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52381 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2382 CC="$CC $ac_cv_prog_cc_stdc";;3317 CC="$CC $ac_cv_prog_cc_c89" 3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3319 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2383 3320 esac 2384 2385 # Some people use a C++ compiler to compile C. Since we use `exit', 2386 # in C++ we need to declare it. In case someone uses the same compiler 2387 # for both compiling C and C++ we need to have the C++ compiler decide 2388 # the declaration of exit, since it's the most demanding environment. 2389 cat >conftest.$ac_ext <<_ACEOF 2390 #ifndef __cplusplus 2391 choke me 2392 #endif 2393 _ACEOF 2394 rm -f conftest.$ac_objext 2395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2396 (eval $ac_compile) 2>conftest.er1 2397 ac_status=$? 2398 grep -v '^ *+' conftest.er1 >conftest.err 2399 rm -f conftest.er1 2400 cat conftest.err >&5 2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2402 (exit $ac_status); } && 2403 { ac_try='test -z "$ac_c_werror_flag" 2404 || test ! -s conftest.err' 2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2406 (eval $ac_try) 2>&5 2407 ac_status=$? 2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2409 (exit $ac_status); }; } && 2410 { ac_try='test -s conftest.$ac_objext' 2411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2412 (eval $ac_try) 2>&5 2413 ac_status=$? 2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2415 (exit $ac_status); }; }; then 2416 for ac_declaration in \ 2417 '' \ 2418 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2419 'extern "C" void std::exit (int); using std::exit;' \ 2420 'extern "C" void exit (int) throw ();' \ 2421 'extern "C" void exit (int);' \ 2422 'void exit (int);' 2423 do 2424 cat >conftest.$ac_ext <<_ACEOF 2425 /* confdefs.h. */ 2426 _ACEOF 2427 cat confdefs.h >>conftest.$ac_ext 2428 cat >>conftest.$ac_ext <<_ACEOF 2429 /* end confdefs.h. */ 2430 $ac_declaration 2431 #include <stdlib.h> 2432 int 2433 main () 2434 { 2435 exit (42); 2436 ; 2437 return 0; 2438 } 2439 _ACEOF 2440 rm -f conftest.$ac_objext 2441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2442 (eval $ac_compile) 2>conftest.er1 2443 ac_status=$? 2444 grep -v '^ *+' conftest.er1 >conftest.err 2445 rm -f conftest.er1 2446 cat conftest.err >&5 2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2448 (exit $ac_status); } && 2449 { ac_try='test -z "$ac_c_werror_flag" 2450 || test ! -s conftest.err' 2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2452 (eval $ac_try) 2>&5 2453 ac_status=$? 2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2455 (exit $ac_status); }; } && 2456 { ac_try='test -s conftest.$ac_objext' 2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2458 (eval $ac_try) 2>&5 2459 ac_status=$? 2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2461 (exit $ac_status); }; }; then 2462 : 2463 else 2464 echo "$as_me: failed program was:" >&5 2465 sed 's/^/| /' conftest.$ac_ext >&5 2466 2467 continue 2468 fi 2469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2470 cat >conftest.$ac_ext <<_ACEOF 2471 /* confdefs.h. */ 2472 _ACEOF 2473 cat confdefs.h >>conftest.$ac_ext 2474 cat >>conftest.$ac_ext <<_ACEOF 2475 /* end confdefs.h. */ 2476 $ac_declaration 2477 int 2478 main () 2479 { 2480 exit (42); 2481 ; 2482 return 0; 2483 } 2484 _ACEOF 2485 rm -f conftest.$ac_objext 2486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2487 (eval $ac_compile) 2>conftest.er1 2488 ac_status=$? 2489 grep -v '^ *+' conftest.er1 >conftest.err 2490 rm -f conftest.er1 2491 cat conftest.err >&5 2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2493 (exit $ac_status); } && 2494 { ac_try='test -z "$ac_c_werror_flag" 2495 || test ! -s conftest.err' 2496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2497 (eval $ac_try) 2>&5 2498 ac_status=$? 2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2500 (exit $ac_status); }; } && 2501 { ac_try='test -s conftest.$ac_objext' 2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2503 (eval $ac_try) 2>&5 2504 ac_status=$? 2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2506 (exit $ac_status); }; }; then 2507 break 2508 else 2509 echo "$as_me: failed program was:" >&5 2510 sed 's/^/| /' conftest.$ac_ext >&5 2511 2512 fi 2513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2514 done 2515 rm -f conftest* 2516 if test -n "$ac_declaration"; then 2517 echo '#ifdef __cplusplus' >>confdefs.h 2518 echo $ac_declaration >>confdefs.h 2519 echo '#endif' >>confdefs.h 2520 fi 2521 2522 else 2523 echo "$as_me: failed program was:" >&5 2524 sed 's/^/| /' conftest.$ac_ext >&5 2525 2526 fi 2527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3321 if test "x$ac_cv_prog_cc_c89" != xno; then : 3322 3323 fi 3324 2528 3325 ac_ext=c 2529 3326 ac_cpp='$CPP $CPPFLAGS' … … 2532 3329 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2533 3330 2534 ac_ext=c c3331 ac_ext=cpp 2535 3332 ac_cpp='$CXXCPP $CPPFLAGS' 2536 3333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2537 3334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2538 3335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2539 if test -n "$ac_tool_prefix"; then 2540 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 3336 if test -z "$CXX"; then 3337 if test -n "$CCC"; then 3338 CXX=$CCC 3339 else 3340 if test -n "$ac_tool_prefix"; then 3341 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2541 3342 do 2542 3343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2543 3344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2544 echo "$as_me:$LINENO: checking for $ac_word" >&52545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2546 if test "${ac_cv_prog_CXX+set}" = set; then 2547 echo $ECHO_N "(cached) $ECHO_C" >&63345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3346 $as_echo_n "checking for $ac_word... " >&6; } 3347 if test "${ac_cv_prog_CXX+set}" = set; then : 3348 $as_echo_n "(cached) " >&6 2548 3349 else 2549 3350 if test -n "$CXX"; then … … 2555 3356 IFS=$as_save_IFS 2556 3357 test -z "$as_dir" && as_dir=. 2557 for ac_exec_ext in '' $ac_executable_extensions; do2558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3358 for ac_exec_ext in '' $ac_executable_extensions; do 3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2559 3360 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2561 3362 break 2 2562 3363 fi 2563 3364 done 2564 done 3365 done 3366 IFS=$as_save_IFS 2565 3367 2566 3368 fi … … 2568 3370 CXX=$ac_cv_prog_CXX 2569 3371 if test -n "$CXX"; then 2570 echo "$as_me:$LINENO: result: $CXX" >&5 2571 echo "${ECHO_T}$CXX" >&6 2572 else 2573 echo "$as_me:$LINENO: result: no" >&5 2574 echo "${ECHO_T}no" >&6 2575 fi 3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3373 $as_echo "$CXX" >&6; } 3374 else 3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3376 $as_echo "no" >&6; } 3377 fi 3378 2576 3379 2577 3380 test -n "$CXX" && break … … 2580 3383 if test -z "$CXX"; then 2581 3384 ac_ct_CXX=$CXX 2582 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC3385 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2583 3386 do 2584 3387 # Extract the first word of "$ac_prog", so it can be a program name with args. 2585 3388 set dummy $ac_prog; ac_word=$2 2586 echo "$as_me:$LINENO: checking for $ac_word" >&52587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2588 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2589 echo $ECHO_N "(cached) $ECHO_C" >&63389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3390 $as_echo_n "checking for $ac_word... " >&6; } 3391 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3392 $as_echo_n "(cached) " >&6 2590 3393 else 2591 3394 if test -n "$ac_ct_CXX"; then … … 2597 3400 IFS=$as_save_IFS 2598 3401 test -z "$as_dir" && as_dir=. 2599 for ac_exec_ext in '' $ac_executable_extensions; do2600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3402 for ac_exec_ext in '' $ac_executable_extensions; do 3403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2601 3404 ac_cv_prog_ac_ct_CXX="$ac_prog" 2602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2603 3406 break 2 2604 3407 fi 2605 3408 done 2606 done 3409 done 3410 IFS=$as_save_IFS 2607 3411 2608 3412 fi … … 2610 3414 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2611 3415 if test -n "$ac_ct_CXX"; then 2612 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2613 echo "${ECHO_T}$ac_ct_CXX" >&6 2614 else 2615 echo "$as_me:$LINENO: result: no" >&5 2616 echo "${ECHO_T}no" >&6 2617 fi 3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3417 $as_echo "$ac_ct_CXX" >&6; } 3418 else 3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3420 $as_echo "no" >&6; } 3421 fi 3422 2618 3423 2619 3424 test -n "$ac_ct_CXX" && break 2620 3425 done 2621 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2622 2623 CXX=$ac_ct_CXX 2624 fi 2625 2626 3426 3427 if test "x$ac_ct_CXX" = x; then 3428 CXX="g++" 3429 else 3430 case $cross_compiling:$ac_tool_warned in 3431 yes:) 3432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3434 ac_tool_warned=yes ;; 3435 esac 3436 CXX=$ac_ct_CXX 3437 fi 3438 fi 3439 3440 fi 3441 fi 2627 3442 # Provide some information about the compiler. 2628 echo "$as_me:$LINENO:" \ 2629 "checking for C++ compiler version" >&5 2630 ac_compiler=`set X $ac_compile; echo $2` 2631 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2632 (eval $ac_compiler --version </dev/null >&5) 2>&5 3443 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3444 set X $ac_compile 3445 ac_compiler=$2 3446 for ac_option in --version -v -V -qversion; do 3447 { { ac_try="$ac_compiler $ac_option >&5" 3448 case "(($ac_try" in 3449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3450 *) ac_try_echo=$ac_try;; 3451 esac 3452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3453 $as_echo "$ac_try_echo"; } >&5 3454 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2633 3455 ac_status=$? 2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2635 (exit $ac_status); } 2636 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2637 (eval $ac_compiler -v </dev/null >&5) 2>&5 2638 ac_status=$? 2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2640 (exit $ac_status); } 2641 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2642 (eval $ac_compiler -V </dev/null >&5) 2>&5 2643 ac_status=$? 2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2645 (exit $ac_status); } 2646 2647 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2648 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2649 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2650 echo $ECHO_N "(cached) $ECHO_C" >&6 2651 else 2652 cat >conftest.$ac_ext <<_ACEOF 2653 /* confdefs.h. */ 2654 _ACEOF 2655 cat confdefs.h >>conftest.$ac_ext 2656 cat >>conftest.$ac_ext <<_ACEOF 3456 if test -s conftest.err; then 3457 sed '10a\ 3458 ... rest of stderr output deleted ... 3459 10q' conftest.err >conftest.er1 3460 cat conftest.er1 >&5 3461 fi 3462 rm -f conftest.er1 conftest.err 3463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3464 test $ac_status = 0; } 3465 done 3466 3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3468 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3469 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3470 $as_echo_n "(cached) " >&6 3471 else 3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2657 3473 /* end confdefs.h. */ 2658 3474 … … 2668 3484 } 2669 3485 _ACEOF 2670 rm -f conftest.$ac_objext 2671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2672 (eval $ac_compile) 2>conftest.er1 2673 ac_status=$? 2674 grep -v '^ *+' conftest.er1 >conftest.err 2675 rm -f conftest.er1 2676 cat conftest.err >&5 2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2678 (exit $ac_status); } && 2679 { ac_try='test -z "$ac_cxx_werror_flag" 2680 || test ! -s conftest.err' 2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2682 (eval $ac_try) 2>&5 2683 ac_status=$? 2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2685 (exit $ac_status); }; } && 2686 { ac_try='test -s conftest.$ac_objext' 2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2688 (eval $ac_try) 2>&5 2689 ac_status=$? 2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2691 (exit $ac_status); }; }; then 3486 if ac_fn_cxx_try_compile "$LINENO"; then : 2692 3487 ac_compiler_gnu=yes 2693 3488 else 2694 echo "$as_me: failed program was:" >&5 2695 sed 's/^/| /' conftest.$ac_ext >&5 2696 2697 ac_compiler_gnu=no 2698 fi 2699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3489 ac_compiler_gnu=no 3490 fi 3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2700 3492 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2701 3493 2702 3494 fi 2703 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2704 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2705 GXX=`test $ac_compiler_gnu = yes && echo yes` 3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3496 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3497 if test $ac_compiler_gnu = yes; then 3498 GXX=yes 3499 else 3500 GXX= 3501 fi 2706 3502 ac_test_CXXFLAGS=${CXXFLAGS+set} 2707 3503 ac_save_CXXFLAGS=$CXXFLAGS 2708 CXXFLAGS="-g" 2709 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2710 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2711 if test "${ac_cv_prog_cxx_g+set}" = set; then 2712 echo $ECHO_N "(cached) $ECHO_C" >&6 2713 else 2714 cat >conftest.$ac_ext <<_ACEOF 2715 /* confdefs.h. */ 2716 _ACEOF 2717 cat confdefs.h >>conftest.$ac_ext 2718 cat >>conftest.$ac_ext <<_ACEOF 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3505 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3506 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3507 $as_echo_n "(cached) " >&6 3508 else 3509 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3510 ac_cxx_werror_flag=yes 3511 ac_cv_prog_cxx_g=no 3512 CXXFLAGS="-g" 3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2719 3514 /* end confdefs.h. */ 2720 3515 … … 2727 3522 } 2728 3523 _ACEOF 2729 rm -f conftest.$ac_objext 2730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2731 (eval $ac_compile) 2>conftest.er1 2732 ac_status=$? 2733 grep -v '^ *+' conftest.er1 >conftest.err 2734 rm -f conftest.er1 2735 cat conftest.err >&5 2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2737 (exit $ac_status); } && 2738 { ac_try='test -z "$ac_cxx_werror_flag" 2739 || test ! -s conftest.err' 2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2741 (eval $ac_try) 2>&5 2742 ac_status=$? 2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2744 (exit $ac_status); }; } && 2745 { ac_try='test -s conftest.$ac_objext' 2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2747 (eval $ac_try) 2>&5 2748 ac_status=$? 2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2750 (exit $ac_status); }; }; then 3524 if ac_fn_cxx_try_compile "$LINENO"; then : 2751 3525 ac_cv_prog_cxx_g=yes 2752 3526 else 2753 echo "$as_me: failed program was:" >&5 2754 sed 's/^/| /' conftest.$ac_ext >&5 2755 2756 ac_cv_prog_cxx_g=no 2757 fi 2758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2759 fi 2760 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2761 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3527 CXXFLAGS="" 3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3529 /* end confdefs.h. */ 3530 3531 int 3532 main () 3533 { 3534 3535 ; 3536 return 0; 3537 } 3538 _ACEOF 3539 if ac_fn_cxx_try_compile "$LINENO"; then : 3540 3541 else 3542 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3543 CXXFLAGS="-g" 3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3545 /* end confdefs.h. */ 3546 3547 int 3548 main () 3549 { 3550 3551 ; 3552 return 0; 3553 } 3554 _ACEOF 3555 if ac_fn_cxx_try_compile "$LINENO"; then : 3556 ac_cv_prog_cxx_g=yes 3557 fi 3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3559 fi 3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3561 fi 3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3564 fi 3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3566 $as_echo "$ac_cv_prog_cxx_g" >&6; } 2762 3567 if test "$ac_test_CXXFLAGS" = set; then 2763 3568 CXXFLAGS=$ac_save_CXXFLAGS … … 2775 3580 fi 2776 3581 fi 2777 for ac_declaration in \2778 '' \2779 'extern "C" void std::exit (int) throw (); using std::exit;' \2780 'extern "C" void std::exit (int); using std::exit;' \2781 'extern "C" void exit (int) throw ();' \2782 'extern "C" void exit (int);' \2783 'void exit (int);'2784 do2785 cat >conftest.$ac_ext <<_ACEOF2786 /* confdefs.h. */2787 _ACEOF2788 cat confdefs.h >>conftest.$ac_ext2789 cat >>conftest.$ac_ext <<_ACEOF2790 /* end confdefs.h. */2791 $ac_declaration2792 #include <stdlib.h>2793 int2794 main ()2795 {2796 exit (42);2797 ;2798 return 0;2799 }2800 _ACEOF2801 rm -f conftest.$ac_objext2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52803 (eval $ac_compile) 2>conftest.er12804 ac_status=$?2805 grep -v '^ *+' conftest.er1 >conftest.err2806 rm -f conftest.er12807 cat conftest.err >&52808 echo "$as_me:$LINENO: \$? = $ac_status" >&52809 (exit $ac_status); } &&2810 { ac_try='test -z "$ac_cxx_werror_flag"2811 || test ! -s conftest.err'2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52813 (eval $ac_try) 2>&52814 ac_status=$?2815 echo "$as_me:$LINENO: \$? = $ac_status" >&52816 (exit $ac_status); }; } &&2817 { ac_try='test -s conftest.$ac_objext'2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52819 (eval $ac_try) 2>&52820 ac_status=$?2821 echo "$as_me:$LINENO: \$? = $ac_status" >&52822 (exit $ac_status); }; }; then2823 :2824 else2825 echo "$as_me: failed program was:" >&52826 sed 's/^/| /' conftest.$ac_ext >&52827 2828 continue2829 fi2830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2831 cat >conftest.$ac_ext <<_ACEOF2832 /* confdefs.h. */2833 _ACEOF2834 cat confdefs.h >>conftest.$ac_ext2835 cat >>conftest.$ac_ext <<_ACEOF2836 /* end confdefs.h. */2837 $ac_declaration2838 int2839 main ()2840 {2841 exit (42);2842 ;2843 return 0;2844 }2845 _ACEOF2846 rm -f conftest.$ac_objext2847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52848 (eval $ac_compile) 2>conftest.er12849 ac_status=$?2850 grep -v '^ *+' conftest.er1 >conftest.err2851 rm -f conftest.er12852 cat conftest.err >&52853 echo "$as_me:$LINENO: \$? = $ac_status" >&52854 (exit $ac_status); } &&2855 { ac_try='test -z "$ac_cxx_werror_flag"2856 || test ! -s conftest.err'2857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52858 (eval $ac_try) 2>&52859 ac_status=$?2860 echo "$as_me:$LINENO: \$? = $ac_status" >&52861 (exit $ac_status); }; } &&2862 { ac_try='test -s conftest.$ac_objext'2863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52864 (eval $ac_try) 2>&52865 ac_status=$?2866 echo "$as_me:$LINENO: \$? = $ac_status" >&52867 (exit $ac_status); }; }; then2868 break2869 else2870 echo "$as_me: failed program was:" >&52871 sed 's/^/| /' conftest.$ac_ext >&52872 2873 fi2874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2875 done2876 rm -f conftest*2877 if test -n "$ac_declaration"; then2878 echo '#ifdef __cplusplus' >>confdefs.h2879 echo $ac_declaration >>confdefs.h2880 echo '#endif' >>confdefs.h2881 fi2882 2883 3582 ac_ext=c 2884 3583 ac_cpp='$CPP $CPPFLAGS' … … 2891 3590 # Extract the first word of "$ac_prog", so it can be a program name with args. 2892 3591 set dummy $ac_prog; ac_word=$2 2893 echo "$as_me:$LINENO: checking for $ac_word" >&52894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2895 if test "${ac_cv_prog_AWK+set}" = set; then 2896 echo $ECHO_N "(cached) $ECHO_C" >&63592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3593 $as_echo_n "checking for $ac_word... " >&6; } 3594 if test "${ac_cv_prog_AWK+set}" = set; then : 3595 $as_echo_n "(cached) " >&6 2897 3596 else 2898 3597 if test -n "$AWK"; then … … 2904 3603 IFS=$as_save_IFS 2905 3604 test -z "$as_dir" && as_dir=. 2906 for ac_exec_ext in '' $ac_executable_extensions; do2907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3605 for ac_exec_ext in '' $ac_executable_extensions; do 3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2908 3607 ac_cv_prog_AWK="$ac_prog" 2909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2910 3609 break 2 2911 3610 fi 2912 3611 done 2913 done 3612 done 3613 IFS=$as_save_IFS 2914 3614 2915 3615 fi … … 2917 3617 AWK=$ac_cv_prog_AWK 2918 3618 if test -n "$AWK"; then 2919 echo "$as_me:$LINENO: result: $AWK" >&5 2920 echo "${ECHO_T}$AWK" >&6 2921 else 2922 echo "$as_me:$LINENO: result: no" >&5 2923 echo "${ECHO_T}no" >&6 2924 fi 3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3620 $as_echo "$AWK" >&6; } 3621 else 3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3623 $as_echo "no" >&6; } 3624 fi 3625 2925 3626 2926 3627 test -n "$AWK" && break … … 2931 3632 # Extract the first word of "$ac_prog", so it can be a program name with args. 2932 3633 set dummy $ac_prog; ac_word=$2 2933 echo "$as_me:$LINENO: checking for $ac_word" >&52934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2935 if test "${ac_cv_prog_YACC+set}" = set; then 2936 echo $ECHO_N "(cached) $ECHO_C" >&63634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3635 $as_echo_n "checking for $ac_word... " >&6; } 3636 if test "${ac_cv_prog_YACC+set}" = set; then : 3637 $as_echo_n "(cached) " >&6 2937 3638 else 2938 3639 if test -n "$YACC"; then … … 2944 3645 IFS=$as_save_IFS 2945 3646 test -z "$as_dir" && as_dir=. 2946 for ac_exec_ext in '' $ac_executable_extensions; do2947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3647 for ac_exec_ext in '' $ac_executable_extensions; do 3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2948 3649 ac_cv_prog_YACC="$ac_prog" 2949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2950 3651 break 2 2951 3652 fi 2952 3653 done 2953 done 3654 done 3655 IFS=$as_save_IFS 2954 3656 2955 3657 fi … … 2957 3659 YACC=$ac_cv_prog_YACC 2958 3660 if test -n "$YACC"; then 2959 echo "$as_me:$LINENO: result: $YACC" >&5 2960 echo "${ECHO_T}$YACC" >&6 2961 else 2962 echo "$as_me:$LINENO: result: no" >&5 2963 echo "${ECHO_T}no" >&6 2964 fi 3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 3662 $as_echo "$YACC" >&6; } 3663 else 3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3665 $as_echo "no" >&6; } 3666 fi 3667 2965 3668 2966 3669 test -n "$YACC" && break … … 2969 3672 2970 3673 ac_aux_dir= 2971 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 2972 if test -f $ac_dir/install-sh; then 2973 ac_aux_dir=$ac_dir 2974 ac_install_sh="$ac_aux_dir/install-sh -c" 2975 break 2976 elif test -f $ac_dir/install.sh; then 2977 ac_aux_dir=$ac_dir 2978 ac_install_sh="$ac_aux_dir/install.sh -c" 2979 break 2980 elif test -f $ac_dir/shtool; then 2981 ac_aux_dir=$ac_dir 2982 ac_install_sh="$ac_aux_dir/shtool install -c" 2983 break 2984 fi 3674 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3675 for ac_t in install-sh install.sh shtool; do 3676 if test -f "$ac_dir/$ac_t"; then 3677 ac_aux_dir=$ac_dir 3678 ac_install_sh="$ac_aux_dir/$ac_t -c" 3679 break 2 3680 fi 3681 done 2985 3682 done 2986 3683 if test -z "$ac_aux_dir"; then 2987 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2988 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2989 { (exit 1); exit 1; }; } 2990 fi 2991 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2992 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2993 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3684 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3685 fi 3686 3687 # These three variables are undocumented and unsupported, 3688 # and are intended to be withdrawn in a future Autoconf release. 3689 # They can cause serious problems if a builder's source tree is in a directory 3690 # whose full name contains unusual characters. 3691 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3692 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3693 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3694 2994 3695 2995 3696 # Make sure we can run config.sub. 2996 $ac_config_sub sun4 >/dev/null 2>&1 || 2997 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 2998 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 2999 { (exit 1); exit 1; }; } 3000 3001 echo "$as_me:$LINENO: checking build system type" >&5 3002 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3003 if test "${ac_cv_build+set}" = set; then 3004 echo $ECHO_N "(cached) $ECHO_C" >&6 3005 else 3006 ac_cv_build_alias=$build_alias 3007 test -z "$ac_cv_build_alias" && 3008 ac_cv_build_alias=`$ac_config_guess` 3009 test -z "$ac_cv_build_alias" && 3010 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3011 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3012 { (exit 1); exit 1; }; } 3013 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 3014 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 3015 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 3016 { (exit 1); exit 1; }; } 3017 3018 fi 3019 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3020 echo "${ECHO_T}$ac_cv_build" >&6 3697 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3698 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3699 3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3701 $as_echo_n "checking build system type... " >&6; } 3702 if test "${ac_cv_build+set}" = set; then : 3703 $as_echo_n "(cached) " >&6 3704 else 3705 ac_build_alias=$build_alias 3706 test "x$ac_build_alias" = x && 3707 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3708 test "x$ac_build_alias" = x && 3709 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 3710 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3711 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3712 3713 fi 3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3715 $as_echo "$ac_cv_build" >&6; } 3716 case $ac_cv_build in 3717 *-*-*) ;; 3718 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 3719 esac 3021 3720 build=$ac_cv_build 3022 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3023 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3024 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3025 3026 3027 echo "$as_me:$LINENO: checking host system type" >&5 3028 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3029 if test "${ac_cv_host+set}" = set; then 3030 echo $ECHO_N "(cached) $ECHO_C" >&6 3031 else 3032 ac_cv_host_alias=$host_alias 3033 test -z "$ac_cv_host_alias" && 3034 ac_cv_host_alias=$ac_cv_build_alias 3035 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 3036 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 3037 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 3038 { (exit 1); exit 1; }; } 3039 3040 fi 3041 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3042 echo "${ECHO_T}$ac_cv_host" >&6 3721 ac_save_IFS=$IFS; IFS='-' 3722 set x $ac_cv_build 3723 shift 3724 build_cpu=$1 3725 build_vendor=$2 3726 shift; shift 3727 # Remember, the first character of IFS is used to create $*, 3728 # except with old shells: 3729 build_os=$* 3730 IFS=$ac_save_IFS 3731 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3732 3733 3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3735 $as_echo_n "checking host system type... " >&6; } 3736 if test "${ac_cv_host+set}" = set; then : 3737 $as_echo_n "(cached) " >&6 3738 else 3739 if test "x$host_alias" = x; then 3740 ac_cv_host=$ac_cv_build 3741 else 3742 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3743 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3744 fi 3745 3746 fi 3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3748 $as_echo "$ac_cv_host" >&6; } 3749 case $ac_cv_host in 3750 *-*-*) ;; 3751 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 3752 esac 3043 3753 host=$ac_cv_host 3044 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3045 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3046 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3047 3048 3049 echo "$as_me:$LINENO: checking target system type" >&5 3050 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3051 if test "${ac_cv_target+set}" = set; then 3052 echo $ECHO_N "(cached) $ECHO_C" >&6 3053 else 3054 ac_cv_target_alias=$target_alias 3055 test "x$ac_cv_target_alias" = "x" && 3056 ac_cv_target_alias=$ac_cv_host_alias 3057 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 3058 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 3059 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 3060 { (exit 1); exit 1; }; } 3061 3062 fi 3063 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3064 echo "${ECHO_T}$ac_cv_target" >&6 3754 ac_save_IFS=$IFS; IFS='-' 3755 set x $ac_cv_host 3756 shift 3757 host_cpu=$1 3758 host_vendor=$2 3759 shift; shift 3760 # Remember, the first character of IFS is used to create $*, 3761 # except with old shells: 3762 host_os=$* 3763 IFS=$ac_save_IFS 3764 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3765 3766 3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 3768 $as_echo_n "checking target system type... " >&6; } 3769 if test "${ac_cv_target+set}" = set; then : 3770 $as_echo_n "(cached) " >&6 3771 else 3772 if test "x$target_alias" = x; then 3773 ac_cv_target=$ac_cv_host 3774 else 3775 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3776 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 3777 fi 3778 3779 fi 3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 3781 $as_echo "$ac_cv_target" >&6; } 3782 case $ac_cv_target in 3783 *-*-*) ;; 3784 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 3785 esac 3065 3786 target=$ac_cv_target 3066 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 3067 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 3068 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3787 ac_save_IFS=$IFS; IFS='-' 3788 set x $ac_cv_target 3789 shift 3790 target_cpu=$1 3791 target_vendor=$2 3792 shift; shift 3793 # Remember, the first character of IFS is used to create $*, 3794 # except with old shells: 3795 target_os=$* 3796 IFS=$ac_save_IFS 3797 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 3069 3798 3070 3799 … … 3075 3804 NONENONEs,x,x, && 3076 3805 program_prefix=${target_alias}- 3806 3077 3807 # Find a good install program. We prefer a C program (faster), 3078 3808 # so one script is as good as another. But avoid the broken or … … 3088 3818 # OS/2's system install, which has a completely different semantic 3089 3819 # ./install, which can be erroneously created by make from ./install.sh. 3090 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3091 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3820 # Reject install programs that cannot install multiple files. 3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3822 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3092 3823 if test -z "$INSTALL"; then 3093 if test "${ac_cv_path_install+set}" = set; then 3094 echo $ECHO_N "(cached) $ECHO_C" >&63824 if test "${ac_cv_path_install+set}" = set; then : 3825 $as_echo_n "(cached) " >&6 3095 3826 else 3096 3827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3099 3830 IFS=$as_save_IFS 3100 3831 test -z "$as_dir" && as_dir=. 3101 # Account for people who put trailing slashes in PATH elements.3102 case $as_dir/ in 3103 ./ | .// | / cC/* | \3832 # Account for people who put trailing slashes in PATH elements. 3833 case $as_dir/ in #(( 3834 ./ | .// | /[cC]/* | \ 3104 3835 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3105 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \3836 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3106 3837 /usr/ucb/* ) ;; 3107 3838 *) … … 3111 3842 for ac_prog in ginstall scoinst install; do 3112 3843 for ac_exec_ext in '' $ac_executable_extensions; do 3113 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3844 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3114 3845 if test $ac_prog = install && 3115 3846 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3121 3852 : 3122 3853 else 3123 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3124 break 3 3854 rm -rf conftest.one conftest.two conftest.dir 3855 echo one > conftest.one 3856 echo two > conftest.two 3857 mkdir conftest.dir 3858 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3859 test -s conftest.one && test -s conftest.two && 3860 test -s conftest.dir/conftest.one && 3861 test -s conftest.dir/conftest.two 3862 then 3863 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3864 break 3 3865 fi 3125 3866 fi 3126 3867 fi … … 3129 3870 ;; 3130 3871 esac 3131 done 3132 3872 3873 done 3874 IFS=$as_save_IFS 3875 3876 rm -rf conftest.one conftest.two conftest.dir 3133 3877 3134 3878 fi … … 3136 3880 INSTALL=$ac_cv_path_install 3137 3881 else 3138 # As a last resort, use the slow shell script. We don't cache a3139 # pathfor INSTALL within a source directory, because that will3882 # As a last resort, use the slow shell script. Don't cache a 3883 # value for INSTALL within a source directory, because that will 3140 3884 # break other packages using the cache if that directory is 3141 # removed, or if the path is relative.3885 # removed, or if the value is a relative name. 3142 3886 INSTALL=$ac_install_sh 3143 3887 fi 3144 3888 fi 3145 echo "$as_me:$LINENO: result: $INSTALL" >&53146 echo "${ECHO_T}$INSTALL" >&6 3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3890 $as_echo "$INSTALL" >&6; } 3147 3891 3148 3892 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3154 3898 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3155 3899 3156 echo "$as_me:$LINENO: checking whether ln -s works" >&53157 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3901 $as_echo_n "checking whether ln -s works... " >&6; } 3158 3902 LN_S=$as_ln_s 3159 3903 if test "$LN_S" = "ln -s"; then 3160 echo "$as_me:$LINENO: result: yes" >&5 3161 echo "${ECHO_T}yes" >&6 3162 else 3163 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3164 echo "${ECHO_T}no, using $LN_S" >&6 3165 fi 3166 3167 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3168 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3169 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3170 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3171 echo $ECHO_N "(cached) $ECHO_C" >&6 3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3905 $as_echo "yes" >&6; } 3906 else 3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3908 $as_echo "no, using $LN_S" >&6; } 3909 fi 3910 3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3912 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3913 set x ${MAKE-make} 3914 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3915 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 3916 $as_echo_n "(cached) " >&6 3172 3917 else 3173 3918 cat >conftest.make <<\_ACEOF 3919 SHELL = /bin/sh 3174 3920 all: 3175 @echo ' ac_maketemp="$(MAKE)"'3921 @echo '@@@%%%=$(MAKE)=@@@%%%' 3176 3922 _ACEOF 3177 3923 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3178 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3179 if test -n "$ac_maketemp"; then 3180 eval ac_cv_prog_make_${ac_make}_set=yes3181 else 3182 eval ac_cv_prog_make_${ac_make}_set=no3183 fi 3924 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3925 *@@@%%%=?*=@@@%%%*) 3926 eval ac_cv_prog_make_${ac_make}_set=yes;; 3927 *) 3928 eval ac_cv_prog_make_${ac_make}_set=no;; 3929 esac 3184 3930 rm -f conftest.make 3185 3931 fi 3186 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3187 echo "$as_me:$LINENO: result: yes" >&53188 echo "${ECHO_T}yes" >&6 3932 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3934 $as_echo "yes" >&6; } 3189 3935 SET_MAKE= 3190 3936 else 3191 echo "$as_me:$LINENO: result: no" >&53192 echo "${ECHO_T}no" >&6 3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3938 $as_echo "no" >&6; } 3193 3939 SET_MAKE="MAKE=${MAKE-make}" 3194 3940 fi … … 3197 3943 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3198 3944 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3199 echo "$as_me:$LINENO: checking for $ac_word" >&53200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3201 if test "${ac_cv_prog_RANLIB+set}" = set; then 3202 echo $ECHO_N "(cached) $ECHO_C" >&63945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3946 $as_echo_n "checking for $ac_word... " >&6; } 3947 if test "${ac_cv_prog_RANLIB+set}" = set; then : 3948 $as_echo_n "(cached) " >&6 3203 3949 else 3204 3950 if test -n "$RANLIB"; then … … 3210 3956 IFS=$as_save_IFS 3211 3957 test -z "$as_dir" && as_dir=. 3212 for ac_exec_ext in '' $ac_executable_extensions; do3213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3958 for ac_exec_ext in '' $ac_executable_extensions; do 3959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3214 3960 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3216 3962 break 2 3217 3963 fi 3218 3964 done 3219 done 3965 done 3966 IFS=$as_save_IFS 3220 3967 3221 3968 fi … … 3223 3970 RANLIB=$ac_cv_prog_RANLIB 3224 3971 if test -n "$RANLIB"; then 3225 echo "$as_me:$LINENO: result: $RANLIB" >&5 3226 echo "${ECHO_T}$RANLIB" >&6 3227 else 3228 echo "$as_me:$LINENO: result: no" >&5 3229 echo "${ECHO_T}no" >&6 3230 fi 3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3973 $as_echo "$RANLIB" >&6; } 3974 else 3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3976 $as_echo "no" >&6; } 3977 fi 3978 3231 3979 3232 3980 fi … … 3235 3983 # Extract the first word of "ranlib", so it can be a program name with args. 3236 3984 set dummy ranlib; ac_word=$2 3237 echo "$as_me:$LINENO: checking for $ac_word" >&53238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3239 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3240 echo $ECHO_N "(cached) $ECHO_C" >&63985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3986 $as_echo_n "checking for $ac_word... " >&6; } 3987 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 3988 $as_echo_n "(cached) " >&6 3241 3989 else 3242 3990 if test -n "$ac_ct_RANLIB"; then … … 3248 3996 IFS=$as_save_IFS 3249 3997 test -z "$as_dir" && as_dir=. 3250 for ac_exec_ext in '' $ac_executable_extensions; do3251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3998 for ac_exec_ext in '' $ac_executable_extensions; do 3999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3252 4000 ac_cv_prog_ac_ct_RANLIB="ranlib" 3253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&54001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3254 4002 break 2 3255 4003 fi 3256 4004 done 3257 done3258 3259 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4005 done 4006 IFS=$as_save_IFS 4007 3260 4008 fi 3261 4009 fi 3262 4010 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3263 4011 if test -n "$ac_ct_RANLIB"; then 3264 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3265 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3266 else 3267 echo "$as_me:$LINENO: result: no" >&5 3268 echo "${ECHO_T}no" >&6 3269 fi 3270 3271 RANLIB=$ac_ct_RANLIB 4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4013 $as_echo "$ac_ct_RANLIB" >&6; } 4014 else 4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4016 $as_echo "no" >&6; } 4017 fi 4018 4019 if test "x$ac_ct_RANLIB" = x; then 4020 RANLIB=":" 4021 else 4022 case $cross_compiling:$ac_tool_warned in 4023 yes:) 4024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4026 ac_tool_warned=yes ;; 4027 esac 4028 RANLIB=$ac_ct_RANLIB 4029 fi 3272 4030 else 3273 4031 RANLIB="$ac_cv_prog_RANLIB" … … 3275 4033 3276 4034 3277 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53278 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5 4036 $as_echo_n "checking to see if architecture is 64-bit... " >&6; } 3279 4037 arch_64bit=no 3280 4038 case "$host_cpu" in … … 3283 4041 3284 4042 if test "$arch_64bit" = yes; then 3285 echo "$as_me:$LINENO: result: yes" >&53286 echo "${ECHO_T}yes" >&6 4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4044 $as_echo "yes" >&6; } 3287 4045 if test -z "$COMPAT32BITFLAGS" ; then 3288 COMPAT32BITFLAGS="-m32" 4046 if test "$ENABLE_MG" = "1" -o "$ENABLE_MGPP" = "1" ; then 4047 COMPAT32BITFLAGS="-m32" 4048 fi 3289 4049 fi 3290 4050 else 3291 echo "$as_me:$LINENO: result: no" >&53292 echo "${ECHO_T}no" >&6 4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4052 $as_echo "no" >&6; } 3293 4053 if test -z "$COMPAT32BITFLAGS" ; then 3294 COMPAT32BITFLAGS=3295 fi3296 fi3297 3298 # Only need compat32bitflag if using MG or MGPP3299 if test "$ENABLE_MG" = "0" ; then3300 COMPAT32BITFLAGS=3301 else3302 if test "$ENABLE_MGPP" = "0" ; then3303 4054 COMPAT32BITFLAGS= 3304 4055 fi … … 3332 4083 #do test of MICO_VER 3333 4084 if test MICO_VER != 0; then 3334 cat >>confdefs.h <<\_ACEOF 3335 #define MICO_VER 1 3336 _ACEOF 4085 $as_echo "#define MICO_VER 1" >>confdefs.h 3337 4086 3338 4087 … … 3347 4096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3348 4097 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3349 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53350 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4099 $as_echo_n "checking how to run the C preprocessor... " >&6; } 3351 4100 # On Suns, sometimes $CPP names a directory. 3352 4101 if test -n "$CPP" && test -d "$CPP"; then … … 3354 4103 fi 3355 4104 if test -z "$CPP"; then 3356 if test "${ac_cv_prog_CPP+set}" = set; then 3357 echo $ECHO_N "(cached) $ECHO_C" >&64105 if test "${ac_cv_prog_CPP+set}" = set; then : 4106 $as_echo_n "(cached) " >&6 3358 4107 else 3359 4108 # Double quotes because CPP needs to be expanded … … 3369 4118 # On the NeXT, cc -E runs the code through the compiler's parser, 3370 4119 # not just through cpp. "Syntax error" is here to catch this case. 3371 cat >conftest.$ac_ext <<_ACEOF 3372 /* confdefs.h. */ 3373 _ACEOF 3374 cat confdefs.h >>conftest.$ac_ext 3375 cat >>conftest.$ac_ext <<_ACEOF 4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3376 4121 /* end confdefs.h. */ 3377 4122 #ifdef __STDC__ … … 3382 4127 Syntax error 3383 4128 _ACEOF 3384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3386 ac_status=$? 3387 grep -v '^ *+' conftest.er1 >conftest.err 3388 rm -f conftest.er1 3389 cat conftest.err >&5 3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3391 (exit $ac_status); } >/dev/null; then 3392 if test -s conftest.err; then 3393 ac_cpp_err=$ac_c_preproc_warn_flag 3394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3395 else 3396 ac_cpp_err= 3397 fi 3398 else 3399 ac_cpp_err=yes 3400 fi 3401 if test -z "$ac_cpp_err"; then 3402 : 3403 else 3404 echo "$as_me: failed program was:" >&5 3405 sed 's/^/| /' conftest.$ac_ext >&5 3406 4129 if ac_fn_c_try_cpp "$LINENO"; then : 4130 4131 else 3407 4132 # Broken: fails on valid input. 3408 4133 continue … … 3410 4135 rm -f conftest.err conftest.$ac_ext 3411 4136 3412 # OK, works on sane cases. Now check whether non -existent headers4137 # OK, works on sane cases. Now check whether nonexistent headers 3413 4138 # can be detected and how. 3414 cat >conftest.$ac_ext <<_ACEOF 3415 /* confdefs.h. */ 3416 _ACEOF 3417 cat confdefs.h >>conftest.$ac_ext 3418 cat >>conftest.$ac_ext <<_ACEOF 4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3419 4140 /* end confdefs.h. */ 3420 4141 #include <ac_nonexistent.h> 3421 4142 _ACEOF 3422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3424 ac_status=$? 3425 grep -v '^ *+' conftest.er1 >conftest.err 3426 rm -f conftest.er1 3427 cat conftest.err >&5 3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3429 (exit $ac_status); } >/dev/null; then 3430 if test -s conftest.err; then 3431 ac_cpp_err=$ac_c_preproc_warn_flag 3432 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3433 else 3434 ac_cpp_err= 3435 fi 3436 else 3437 ac_cpp_err=yes 3438 fi 3439 if test -z "$ac_cpp_err"; then 4143 if ac_fn_c_try_cpp "$LINENO"; then : 3440 4144 # Broken: success on invalid input. 3441 4145 continue 3442 4146 else 3443 echo "$as_me: failed program was:" >&53444 sed 's/^/| /' conftest.$ac_ext >&53445 3446 4147 # Passes both tests. 3447 4148 ac_preproc_ok=: … … 3453 4154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3454 4155 rm -f conftest.err conftest.$ac_ext 3455 if $ac_preproc_ok; then 4156 if $ac_preproc_ok; then : 3456 4157 break 3457 4158 fi … … 3465 4166 ac_cv_prog_CPP=$CPP 3466 4167 fi 3467 echo "$as_me:$LINENO: result: $CPP" >&53468 echo "${ECHO_T}$CPP" >&6 4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4169 $as_echo "$CPP" >&6; } 3469 4170 ac_preproc_ok=false 3470 4171 for ac_c_preproc_warn_flag in '' yes … … 3476 4177 # On the NeXT, cc -E runs the code through the compiler's parser, 3477 4178 # not just through cpp. "Syntax error" is here to catch this case. 3478 cat >conftest.$ac_ext <<_ACEOF 3479 /* confdefs.h. */ 3480 _ACEOF 3481 cat confdefs.h >>conftest.$ac_ext 3482 cat >>conftest.$ac_ext <<_ACEOF 4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3483 4180 /* end confdefs.h. */ 3484 4181 #ifdef __STDC__ … … 3489 4186 Syntax error 3490 4187 _ACEOF 3491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3493 ac_status=$? 3494 grep -v '^ *+' conftest.er1 >conftest.err 3495 rm -f conftest.er1 3496 cat conftest.err >&5 3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3498 (exit $ac_status); } >/dev/null; then 3499 if test -s conftest.err; then 3500 ac_cpp_err=$ac_c_preproc_warn_flag 3501 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3502 else 3503 ac_cpp_err= 3504 fi 3505 else 3506 ac_cpp_err=yes 3507 fi 3508 if test -z "$ac_cpp_err"; then 3509 : 3510 else 3511 echo "$as_me: failed program was:" >&5 3512 sed 's/^/| /' conftest.$ac_ext >&5 3513 4188 if ac_fn_c_try_cpp "$LINENO"; then : 4189 4190 else 3514 4191 # Broken: fails on valid input. 3515 4192 continue … … 3517 4194 rm -f conftest.err conftest.$ac_ext 3518 4195 3519 # OK, works on sane cases. Now check whether non -existent headers4196 # OK, works on sane cases. Now check whether nonexistent headers 3520 4197 # can be detected and how. 3521 cat >conftest.$ac_ext <<_ACEOF 3522 /* confdefs.h. */ 3523 _ACEOF 3524 cat confdefs.h >>conftest.$ac_ext 3525 cat >>conftest.$ac_ext <<_ACEOF 4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3526 4199 /* end confdefs.h. */ 3527 4200 #include <ac_nonexistent.h> 3528 4201 _ACEOF 3529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3531 ac_status=$? 3532 grep -v '^ *+' conftest.er1 >conftest.err 3533 rm -f conftest.er1 3534 cat conftest.err >&5 3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3536 (exit $ac_status); } >/dev/null; then 3537 if test -s conftest.err; then 3538 ac_cpp_err=$ac_c_preproc_warn_flag 3539 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3540 else 3541 ac_cpp_err= 3542 fi 3543 else 3544 ac_cpp_err=yes 3545 fi 3546 if test -z "$ac_cpp_err"; then 4202 if ac_fn_c_try_cpp "$LINENO"; then : 3547 4203 # Broken: success on invalid input. 3548 4204 continue 3549 4205 else 3550 echo "$as_me: failed program was:" >&53551 sed 's/^/| /' conftest.$ac_ext >&53552 3553 4206 # Passes both tests. 3554 4207 ac_preproc_ok=: … … 3560 4213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3561 4214 rm -f conftest.err conftest.$ac_ext 3562 if $ac_preproc_ok; then 3563 : 3564 else 3565 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3566 See \`config.log' for more details." >&5 3567 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3568 See \`config.log' for more details." >&2;} 3569 { (exit 1); exit 1; }; } 4215 if $ac_preproc_ok; then : 4216 4217 else 4218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4220 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4221 See \`config.log' for more details." "$LINENO" 5; } 3570 4222 fi 3571 4223 … … 3577 4229 3578 4230 3579 echo "$as_me:$LINENO: checking for egrep" >&5 3580 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3581 if test "${ac_cv_prog_egrep+set}" = set; then 3582 echo $ECHO_N "(cached) $ECHO_C" >&6 3583 else 3584 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3585 then ac_cv_prog_egrep='grep -E' 3586 else ac_cv_prog_egrep='egrep' 4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4232 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4233 if test "${ac_cv_path_GREP+set}" = set; then : 4234 $as_echo_n "(cached) " >&6 4235 else 4236 if test -z "$GREP"; then 4237 ac_path_GREP_found=false 4238 # Loop through the user's path and test for each of PROGNAME-LIST 4239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4240 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4241 do 4242 IFS=$as_save_IFS 4243 test -z "$as_dir" && as_dir=. 4244 for ac_prog in grep ggrep; do 4245 for ac_exec_ext in '' $ac_executable_extensions; do 4246 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4247 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4248 # Check for GNU ac_path_GREP and select it if it is found. 4249 # Check for GNU $ac_path_GREP 4250 case `"$ac_path_GREP" --version 2>&1` in 4251 *GNU*) 4252 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4253 *) 4254 ac_count=0 4255 $as_echo_n 0123456789 >"conftest.in" 4256 while : 4257 do 4258 cat "conftest.in" "conftest.in" >"conftest.tmp" 4259 mv "conftest.tmp" "conftest.in" 4260 cp "conftest.in" "conftest.nl" 4261 $as_echo 'GREP' >> "conftest.nl" 4262 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4263 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4264 as_fn_arith $ac_count + 1 && ac_count=$as_val 4265 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4266 # Best one so far, save it but keep looking for a better one 4267 ac_cv_path_GREP="$ac_path_GREP" 4268 ac_path_GREP_max=$ac_count 3587 4269 fi 3588 fi 3589 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3590 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3591 EGREP=$ac_cv_prog_egrep 3592 3593 3594 3595 echo "$as_me:$LINENO: checking for AIX" >&5 3596 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3597 cat >conftest.$ac_ext <<_ACEOF 3598 /* confdefs.h. */ 3599 _ACEOF 3600 cat confdefs.h >>conftest.$ac_ext 3601 cat >>conftest.$ac_ext <<_ACEOF 3602 /* end confdefs.h. */ 3603 #ifdef _AIX 3604 yes 3605 #endif 3606 3607 _ACEOF 3608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3609 $EGREP "yes" >/dev/null 2>&1; then 3610 echo "$as_me:$LINENO: result: yes" >&5 3611 echo "${ECHO_T}yes" >&6 3612 cat >>confdefs.h <<\_ACEOF 3613 #define _ALL_SOURCE 1 3614 _ACEOF 3615 3616 else 3617 echo "$as_me:$LINENO: result: no" >&5 3618 echo "${ECHO_T}no" >&6 3619 fi 3620 rm -f conftest* 3621 3622 3623 echo "$as_me:$LINENO: checking for library containing strerror" >&5 3624 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 3625 if test "${ac_cv_search_strerror+set}" = set; then 3626 echo $ECHO_N "(cached) $ECHO_C" >&6 3627 else 3628 ac_func_search_save_LIBS=$LIBS 3629 ac_cv_search_strerror=no 3630 cat >conftest.$ac_ext <<_ACEOF 3631 /* confdefs.h. */ 3632 _ACEOF 3633 cat confdefs.h >>conftest.$ac_ext 3634 cat >>conftest.$ac_ext <<_ACEOF 3635 /* end confdefs.h. */ 3636 3637 /* Override any gcc2 internal prototype to avoid an error. */ 3638 #ifdef __cplusplus 3639 extern "C" 3640 #endif 3641 /* We use char because int might match the return type of a gcc2 3642 builtin and then its argument prototype would still apply. */ 3643 char strerror (); 3644 int 3645 main () 3646 { 3647 strerror (); 3648 ; 3649 return 0; 3650 } 3651 _ACEOF 3652 rm -f conftest.$ac_objext conftest$ac_exeext 3653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3654 (eval $ac_link) 2>conftest.er1 3655 ac_status=$? 3656 grep -v '^ *+' conftest.er1 >conftest.err 3657 rm -f conftest.er1 3658 cat conftest.err >&5 3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3660 (exit $ac_status); } && 3661 { ac_try='test -z "$ac_c_werror_flag" 3662 || test ! -s conftest.err' 3663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3664 (eval $ac_try) 2>&5 3665 ac_status=$? 3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3667 (exit $ac_status); }; } && 3668 { ac_try='test -s conftest$ac_exeext' 3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3670 (eval $ac_try) 2>&5 3671 ac_status=$? 3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3673 (exit $ac_status); }; }; then 3674 ac_cv_search_strerror="none required" 3675 else 3676 echo "$as_me: failed program was:" >&5 3677 sed 's/^/| /' conftest.$ac_ext >&5 3678 3679 fi 3680 rm -f conftest.err conftest.$ac_objext \ 3681 conftest$ac_exeext conftest.$ac_ext 3682 if test "$ac_cv_search_strerror" = no; then 3683 for ac_lib in cposix; do 3684 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3685 cat >conftest.$ac_ext <<_ACEOF 3686 /* confdefs.h. */ 3687 _ACEOF 3688 cat confdefs.h >>conftest.$ac_ext 3689 cat >>conftest.$ac_ext <<_ACEOF 3690 /* end confdefs.h. */ 3691 3692 /* Override any gcc2 internal prototype to avoid an error. */ 3693 #ifdef __cplusplus 3694 extern "C" 3695 #endif 3696 /* We use char because int might match the return type of a gcc2 3697 builtin and then its argument prototype would still apply. */ 3698 char strerror (); 3699 int 3700 main () 3701 { 3702 strerror (); 3703 ; 3704 return 0; 3705 } 3706 _ACEOF 3707 rm -f conftest.$ac_objext conftest$ac_exeext 3708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3709 (eval $ac_link) 2>conftest.er1 3710 ac_status=$? 3711 grep -v '^ *+' conftest.er1 >conftest.err 3712 rm -f conftest.er1 3713 cat conftest.err >&5 3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3715 (exit $ac_status); } && 3716 { ac_try='test -z "$ac_c_werror_flag" 3717 || test ! -s conftest.err' 3718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3719 (eval $ac_try) 2>&5 3720 ac_status=$? 3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3722 (exit $ac_status); }; } && 3723 { ac_try='test -s conftest$ac_exeext' 3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3725 (eval $ac_try) 2>&5 3726 ac_status=$? 3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3728 (exit $ac_status); }; }; then 3729 ac_cv_search_strerror="-l$ac_lib" 3730 break 3731 else 3732 echo "$as_me: failed program was:" >&5 3733 sed 's/^/| /' conftest.$ac_ext >&5 3734 3735 fi 3736 rm -f conftest.err conftest.$ac_objext \ 3737 conftest$ac_exeext conftest.$ac_ext 4270 # 10*(2^10) chars as input seems more than enough 4271 test $ac_count -gt 10 && break 3738 4272 done 3739 fi 3740 LIBS=$ac_func_search_save_LIBS 3741 fi 3742 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3743 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3744 if test "$ac_cv_search_strerror" != no; then 3745 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3746 3747 fi 3748 3749 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3750 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3751 if test "${ac_cv_header_stdc+set}" = set; then 3752 echo $ECHO_N "(cached) $ECHO_C" >&6 3753 else 3754 cat >conftest.$ac_ext <<_ACEOF 3755 /* confdefs.h. */ 3756 _ACEOF 3757 cat confdefs.h >>conftest.$ac_ext 3758 cat >>conftest.$ac_ext <<_ACEOF 4273 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4274 esac 4275 4276 $ac_path_GREP_found && break 3 4277 done 4278 done 4279 done 4280 IFS=$as_save_IFS 4281 if test -z "$ac_cv_path_GREP"; then 4282 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4283 fi 4284 else 4285 ac_cv_path_GREP=$GREP 4286 fi 4287 4288 fi 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4290 $as_echo "$ac_cv_path_GREP" >&6; } 4291 GREP="$ac_cv_path_GREP" 4292 4293 4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4295 $as_echo_n "checking for egrep... " >&6; } 4296 if test "${ac_cv_path_EGREP+set}" = set; then : 4297 $as_echo_n "(cached) " >&6 4298 else 4299 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4300 then ac_cv_path_EGREP="$GREP -E" 4301 else 4302 if test -z "$EGREP"; then 4303 ac_path_EGREP_found=false 4304 # Loop through the user's path and test for each of PROGNAME-LIST 4305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4306 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4307 do 4308 IFS=$as_save_IFS 4309 test -z "$as_dir" && as_dir=. 4310 for ac_prog in egrep; do 4311 for ac_exec_ext in '' $ac_executable_extensions; do 4312 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4313 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4314 # Check for GNU ac_path_EGREP and select it if it is found. 4315 # Check for GNU $ac_path_EGREP 4316 case `"$ac_path_EGREP" --version 2>&1` in 4317 *GNU*) 4318 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4319 *) 4320 ac_count=0 4321 $as_echo_n 0123456789 >"conftest.in" 4322 while : 4323 do 4324 cat "conftest.in" "conftest.in" >"conftest.tmp" 4325 mv "conftest.tmp" "conftest.in" 4326 cp "conftest.in" "conftest.nl" 4327 $as_echo 'EGREP' >> "conftest.nl" 4328 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4329 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4330 as_fn_arith $ac_count + 1 && ac_count=$as_val 4331 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4332 # Best one so far, save it but keep looking for a better one 4333 ac_cv_path_EGREP="$ac_path_EGREP" 4334 ac_path_EGREP_max=$ac_count 4335 fi 4336 # 10*(2^10) chars as input seems more than enough 4337 test $ac_count -gt 10 && break 4338 done 4339 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4340 esac 4341 4342 $ac_path_EGREP_found && break 3 4343 done 4344 done 4345 done 4346 IFS=$as_save_IFS 4347 if test -z "$ac_cv_path_EGREP"; then 4348 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4349 fi 4350 else 4351 ac_cv_path_EGREP=$EGREP 4352 fi 4353 4354 fi 4355 fi 4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4357 $as_echo "$ac_cv_path_EGREP" >&6; } 4358 EGREP="$ac_cv_path_EGREP" 4359 4360 4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4362 $as_echo_n "checking for ANSI C header files... " >&6; } 4363 if test "${ac_cv_header_stdc+set}" = set; then : 4364 $as_echo_n "(cached) " >&6 4365 else 4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3759 4367 /* end confdefs.h. */ 3760 4368 #include <stdlib.h> … … 3771 4379 } 3772 4380 _ACEOF 3773 rm -f conftest.$ac_objext 3774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3775 (eval $ac_compile) 2>conftest.er1 3776 ac_status=$? 3777 grep -v '^ *+' conftest.er1 >conftest.err 3778 rm -f conftest.er1 3779 cat conftest.err >&5 3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3781 (exit $ac_status); } && 3782 { ac_try='test -z "$ac_c_werror_flag" 3783 || test ! -s conftest.err' 3784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3785 (eval $ac_try) 2>&5 3786 ac_status=$? 3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3788 (exit $ac_status); }; } && 3789 { ac_try='test -s conftest.$ac_objext' 3790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3791 (eval $ac_try) 2>&5 3792 ac_status=$? 3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3794 (exit $ac_status); }; }; then 4381 if ac_fn_c_try_compile "$LINENO"; then : 3795 4382 ac_cv_header_stdc=yes 3796 4383 else 3797 echo "$as_me: failed program was:" >&5 3798 sed 's/^/| /' conftest.$ac_ext >&5 3799 3800 ac_cv_header_stdc=no 3801 fi 3802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4384 ac_cv_header_stdc=no 4385 fi 4386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3803 4387 3804 4388 if test $ac_cv_header_stdc = yes; then 3805 4389 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3806 cat >conftest.$ac_ext <<_ACEOF 3807 /* confdefs.h. */ 3808 _ACEOF 3809 cat confdefs.h >>conftest.$ac_ext 3810 cat >>conftest.$ac_ext <<_ACEOF 4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3811 4391 /* end confdefs.h. */ 3812 4392 #include <string.h> … … 3814 4394 _ACEOF 3815 4395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3816 $EGREP "memchr" >/dev/null 2>&1; then 3817 : 4396 $EGREP "memchr" >/dev/null 2>&1; then : 4397 3818 4398 else 3819 4399 ac_cv_header_stdc=no … … 3825 4405 if test $ac_cv_header_stdc = yes; then 3826 4406 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3827 cat >conftest.$ac_ext <<_ACEOF 3828 /* confdefs.h. */ 3829 _ACEOF 3830 cat confdefs.h >>conftest.$ac_ext 3831 cat >>conftest.$ac_ext <<_ACEOF 4407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3832 4408 /* end confdefs.h. */ 3833 4409 #include <stdlib.h> … … 3835 4411 _ACEOF 3836 4412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3837 $EGREP "free" >/dev/null 2>&1; then 3838 : 4413 $EGREP "free" >/dev/null 2>&1; then : 4414 3839 4415 else 3840 4416 ac_cv_header_stdc=no … … 3846 4422 if test $ac_cv_header_stdc = yes; then 3847 4423 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3848 if test "$cross_compiling" = yes; then 4424 if test "$cross_compiling" = yes; then : 3849 4425 : 3850 4426 else 3851 cat >conftest.$ac_ext <<_ACEOF 3852 /* confdefs.h. */ 3853 _ACEOF 3854 cat confdefs.h >>conftest.$ac_ext 3855 cat >>conftest.$ac_ext <<_ACEOF 4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3856 4428 /* end confdefs.h. */ 3857 4429 #include <ctype.h> 4430 #include <stdlib.h> 3858 4431 #if ((' ' & 0x0FF) == 0x020) 3859 4432 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3875 4448 if (XOR (islower (i), ISLOWER (i)) 3876 4449 || toupper (i) != TOUPPER (i)) 3877 exit(2);3878 exit (0);4450 return 2; 4451 return 0; 3879 4452 } 3880 4453 _ACEOF 3881 rm -f conftest$ac_exeext 3882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3883 (eval $ac_link) 2>&5 3884 ac_status=$? 3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3886 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3888 (eval $ac_try) 2>&5 3889 ac_status=$? 3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3891 (exit $ac_status); }; }; then 3892 : 3893 else 3894 echo "$as_me: program exited with status $ac_status" >&5 3895 echo "$as_me: failed program was:" >&5 3896 sed 's/^/| /' conftest.$ac_ext >&5 3897 3898 ( exit $ac_status ) 3899 ac_cv_header_stdc=no 3900 fi 3901 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3902 fi 3903 fi 3904 fi 3905 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3906 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4454 if ac_fn_c_try_run "$LINENO"; then : 4455 4456 else 4457 ac_cv_header_stdc=no 4458 fi 4459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4460 conftest.$ac_objext conftest.beam conftest.$ac_ext 4461 fi 4462 4463 fi 4464 fi 4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4466 $as_echo "$ac_cv_header_stdc" >&6; } 3907 4467 if test $ac_cv_header_stdc = yes; then 3908 4468 3909 cat >>confdefs.h <<\_ACEOF 3910 #define STDC_HEADERS 1 3911 _ACEOF 4469 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3912 4470 3913 4471 fi 3914 4472 3915 4473 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 4474 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3926 4475 inttypes.h stdint.h unistd.h 3927 do 3928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3929 echo "$as_me:$LINENO: checking for $ac_header" >&5 3930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3931 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3932 echo $ECHO_N "(cached) $ECHO_C" >&6 3933 else 3934 cat >conftest.$ac_ext <<_ACEOF 3935 /* confdefs.h. */ 3936 _ACEOF 3937 cat confdefs.h >>conftest.$ac_ext 3938 cat >>conftest.$ac_ext <<_ACEOF 4476 do : 4477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4478 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4479 " 4480 eval as_val=\$$as_ac_Header 4481 if test "x$as_val" = x""yes; then : 4482 cat >>confdefs.h <<_ACEOF 4483 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4484 _ACEOF 4485 4486 fi 4487 4488 done 4489 4490 4491 4492 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4493 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 4494 MINIX=yes 4495 else 4496 MINIX= 4497 fi 4498 4499 4500 if test "$MINIX" = yes; then 4501 4502 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4503 4504 4505 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4506 4507 4508 $as_echo "#define _MINIX 1" >>confdefs.h 4509 4510 fi 4511 4512 4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4514 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4515 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 4516 $as_echo_n "(cached) " >&6 4517 else 4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3939 4519 /* end confdefs.h. */ 3940 $ac_includes_default 3941 3942 #include <$ac_header> 3943 _ACEOF 3944 rm -f conftest.$ac_objext 3945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3946 (eval $ac_compile) 2>conftest.er1 3947 ac_status=$? 3948 grep -v '^ *+' conftest.er1 >conftest.err 3949 rm -f conftest.er1 3950 cat conftest.err >&5 3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3952 (exit $ac_status); } && 3953 { ac_try='test -z "$ac_c_werror_flag" 3954 || test ! -s conftest.err' 3955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3956 (eval $ac_try) 2>&5 3957 ac_status=$? 3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3959 (exit $ac_status); }; } && 3960 { ac_try='test -s conftest.$ac_objext' 3961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3962 (eval $ac_try) 2>&5 3963 ac_status=$? 3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3965 (exit $ac_status); }; }; then 3966 eval "$as_ac_Header=yes" 3967 else 3968 echo "$as_me: failed program was:" >&5 3969 sed 's/^/| /' conftest.$ac_ext >&5 3970 3971 eval "$as_ac_Header=no" 3972 fi 3973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3974 fi 3975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3977 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3978 cat >>confdefs.h <<_ACEOF 3979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3980 _ACEOF 3981 3982 fi 3983 4520 4521 # define __EXTENSIONS__ 1 4522 $ac_includes_default 4523 int 4524 main () 4525 { 4526 4527 ; 4528 return 0; 4529 } 4530 _ACEOF 4531 if ac_fn_c_try_compile "$LINENO"; then : 4532 ac_cv_safe_to_define___extensions__=yes 4533 else 4534 ac_cv_safe_to_define___extensions__=no 4535 fi 4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4537 fi 4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4539 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4540 test $ac_cv_safe_to_define___extensions__ = yes && 4541 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4542 4543 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4544 4545 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4546 4547 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4548 4549 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4550 4551 4552 4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 4554 $as_echo_n "checking for library containing strerror... " >&6; } 4555 if test "${ac_cv_search_strerror+set}" = set; then : 4556 $as_echo_n "(cached) " >&6 4557 else 4558 ac_func_search_save_LIBS=$LIBS 4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4560 /* end confdefs.h. */ 4561 4562 /* Override any GCC internal prototype to avoid an error. 4563 Use char because int might match the return type of a GCC 4564 builtin and then its argument prototype would still apply. */ 4565 #ifdef __cplusplus 4566 extern "C" 4567 #endif 4568 char strerror (); 4569 int 4570 main () 4571 { 4572 return strerror (); 4573 ; 4574 return 0; 4575 } 4576 _ACEOF 4577 for ac_lib in '' cposix; do 4578 if test -z "$ac_lib"; then 4579 ac_res="none required" 4580 else 4581 ac_res=-l$ac_lib 4582 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4583 fi 4584 if ac_fn_c_try_link "$LINENO"; then : 4585 ac_cv_search_strerror=$ac_res 4586 fi 4587 rm -f core conftest.err conftest.$ac_objext \ 4588 conftest$ac_exeext 4589 if test "${ac_cv_search_strerror+set}" = set; then : 4590 break 4591 fi 3984 4592 done 3985 3986 3987 if test "${ac_cv_header_minix_config_h+set}" = set; then 3988 echo "$as_me:$LINENO: checking for minix/config.h" >&5 3989 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 3990 if test "${ac_cv_header_minix_config_h+set}" = set; then 3991 echo $ECHO_N "(cached) $ECHO_C" >&6 3992 fi 3993 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 3994 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 3995 else 3996 # Is the header compilable? 3997 echo "$as_me:$LINENO: checking minix/config.h usability" >&5 3998 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 3999 cat >conftest.$ac_ext <<_ACEOF 4000 /* confdefs.h. */ 4001 _ACEOF 4002 cat confdefs.h >>conftest.$ac_ext 4003 cat >>conftest.$ac_ext <<_ACEOF 4004 /* end confdefs.h. */ 4005 $ac_includes_default 4006 #include <minix/config.h> 4007 _ACEOF 4008 rm -f conftest.$ac_objext 4009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4010 (eval $ac_compile) 2>conftest.er1 4011 ac_status=$? 4012 grep -v '^ *+' conftest.er1 >conftest.err 4013 rm -f conftest.er1 4014 cat conftest.err >&5 4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4016 (exit $ac_status); } && 4017 { ac_try='test -z "$ac_c_werror_flag" 4018 || test ! -s conftest.err' 4019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4020 (eval $ac_try) 2>&5 4021 ac_status=$? 4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4023 (exit $ac_status); }; } && 4024 { ac_try='test -s conftest.$ac_objext' 4025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4026 (eval $ac_try) 2>&5 4027 ac_status=$? 4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4029 (exit $ac_status); }; }; then 4030 ac_header_compiler=yes 4031 else 4032 echo "$as_me: failed program was:" >&5 4033 sed 's/^/| /' conftest.$ac_ext >&5 4034 4035 ac_header_compiler=no 4036 fi 4037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4038 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4039 echo "${ECHO_T}$ac_header_compiler" >&6 4040 4041 # Is the header present? 4042 echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4043 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4044 cat >conftest.$ac_ext <<_ACEOF 4045 /* confdefs.h. */ 4046 _ACEOF 4047 cat confdefs.h >>conftest.$ac_ext 4048 cat >>conftest.$ac_ext <<_ACEOF 4049 /* end confdefs.h. */ 4050 #include <minix/config.h> 4051 _ACEOF 4052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4053 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4054 ac_status=$? 4055 grep -v '^ *+' conftest.er1 >conftest.err 4056 rm -f conftest.er1 4057 cat conftest.err >&5 4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4059 (exit $ac_status); } >/dev/null; then 4060 if test -s conftest.err; then 4061 ac_cpp_err=$ac_c_preproc_warn_flag 4062 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4063 else 4064 ac_cpp_err= 4065 fi 4066 else 4067 ac_cpp_err=yes 4068 fi 4069 if test -z "$ac_cpp_err"; then 4070 ac_header_preproc=yes 4071 else 4072 echo "$as_me: failed program was:" >&5 4073 sed 's/^/| /' conftest.$ac_ext >&5 4074 4075 ac_header_preproc=no 4076 fi 4077 rm -f conftest.err conftest.$ac_ext 4078 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4079 echo "${ECHO_T}$ac_header_preproc" >&6 4080 4081 # So? What about this header? 4082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4083 yes:no: ) 4084 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 4085 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4086 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 4087 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 4088 ac_header_preproc=yes 4089 ;; 4090 no:yes:* ) 4091 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 4092 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} 4093 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 4094 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 4095 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 4096 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 4097 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 4098 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} 4099 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 4100 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 4101 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4102 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4103 ( 4104 cat <<\_ASBOX 4105 ## ------------------------------------------ ## 4106 ## Report this to the AC_PACKAGE_NAME lists. ## 4107 ## ------------------------------------------ ## 4108 _ASBOX 4109 ) | 4110 sed "s/^/$as_me: WARNING: /" >&2 4111 ;; 4112 esac 4113 echo "$as_me:$LINENO: checking for minix/config.h" >&5 4114 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4115 if test "${ac_cv_header_minix_config_h+set}" = set; then 4116 echo $ECHO_N "(cached) $ECHO_C" >&6 4117 else 4118 ac_cv_header_minix_config_h=$ac_header_preproc 4119 fi 4120 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4121 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4122 4123 fi 4124 if test $ac_cv_header_minix_config_h = yes; then 4125 MINIX=yes 4126 else 4127 MINIX= 4128 fi 4129 4130 4131 if test "$MINIX" = yes; then 4132 4133 cat >>confdefs.h <<\_ACEOF 4134 #define _POSIX_SOURCE 1 4135 _ACEOF 4136 4137 4138 cat >>confdefs.h <<\_ACEOF 4139 #define _POSIX_1_SOURCE 2 4140 _ACEOF 4141 4142 4143 cat >>confdefs.h <<\_ACEOF 4144 #define _MINIX 1 4145 _ACEOF 4146 4147 fi 4148 4149 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4150 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4151 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4152 echo $ECHO_N "(cached) $ECHO_C" >&6 4593 if test "${ac_cv_search_strerror+set}" = set; then : 4594 4595 else 4596 ac_cv_search_strerror=no 4597 fi 4598 rm conftest.$ac_ext 4599 LIBS=$ac_func_search_save_LIBS 4600 fi 4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 4602 $as_echo "$ac_cv_search_strerror" >&6; } 4603 ac_res=$ac_cv_search_strerror 4604 if test "$ac_res" != no; then : 4605 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4606 4607 fi 4608 4609 4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5 4611 $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; } 4612 if test "${ac_cv_prog_cc_stdc+set}" = set; then : 4613 $as_echo_n "(cached) " >&6 4153 4614 else 4154 4615 ac_cv_prog_cc_stdc=no … … 4163 4624 do 4164 4625 CFLAGS="$ac_save_CFLAGS $ac_arg" 4165 cat >conftest.$ac_ext <<_ACEOF 4166 /* confdefs.h. */ 4167 _ACEOF 4168 cat confdefs.h >>conftest.$ac_ext 4169 cat >>conftest.$ac_ext <<_ACEOF 4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4170 4627 /* end confdefs.h. */ 4171 4628 #if !defined(__STDC__) || __STDC__ != 1 … … 4183 4640 } 4184 4641 _ACEOF 4185 rm -f conftest.$ac_objext 4186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4187 (eval $ac_compile) 2>conftest.er1 4188 ac_status=$? 4189 grep -v '^ *+' conftest.er1 >conftest.err 4190 rm -f conftest.er1 4191 cat conftest.err >&5 4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4193 (exit $ac_status); } && 4194 { ac_try='test -z "$ac_c_werror_flag" 4195 || test ! -s conftest.err' 4196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4197 (eval $ac_try) 2>&5 4198 ac_status=$? 4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4200 (exit $ac_status); }; } && 4201 { ac_try='test -s conftest.$ac_objext' 4202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4203 (eval $ac_try) 2>&5 4204 ac_status=$? 4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4206 (exit $ac_status); }; }; then 4642 if ac_fn_c_try_compile "$LINENO"; then : 4207 4643 ac_cv_prog_cc_stdc="$ac_arg"; break 4208 else 4209 echo "$as_me: failed program was:" >&5 4210 sed 's/^/| /' conftest.$ac_ext >&5 4211 4212 fi 4213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4644 fi 4645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4214 4646 done 4215 4647 CFLAGS="$ac_save_CFLAGS" … … 4217 4649 fi 4218 4650 4219 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54220 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 4652 $as_echo "$ac_cv_prog_cc_stdc" >&6; } 4221 4653 case "x$ac_cv_prog_cc_stdc" in 4222 4654 x|xno) ;; … … 4225 4657 4226 4658 4227 echo "$as_me:$LINENO: checking for function prototypes" >&54228 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 4660 $as_echo_n "checking for function prototypes... " >&6; } 4229 4661 if test "$ac_cv_prog_cc_stdc" != no; then 4230 echo "$as_me:$LINENO: result: yes" >&5 4231 echo "${ECHO_T}yes" >&6 4232 cat >>confdefs.h <<\_ACEOF 4233 #define PROTOTYPES 1 4234 _ACEOF 4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4663 $as_echo "yes" >&6; } 4664 $as_echo "#define PROTOTYPES 1" >>confdefs.h 4235 4665 4236 4666 U= ANSI2KNR= 4237 4667 else 4238 echo "$as_me:$LINENO: result: no" >&54239 echo "${ECHO_T}no" >&6 4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4669 $as_echo "no" >&6; } 4240 4670 U=_ ANSI2KNR=ansi2knr 4241 4671 fi 4242 4672 4243 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4244 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4245 if test "${ac_cv_c_const+set}" = set; then 4246 echo $ECHO_N "(cached) $ECHO_C" >&6 4247 else 4248 cat >conftest.$ac_ext <<_ACEOF 4249 /* confdefs.h. */ 4250 _ACEOF 4251 cat confdefs.h >>conftest.$ac_ext 4252 cat >>conftest.$ac_ext <<_ACEOF 4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4674 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4675 if test "${ac_cv_c_const+set}" = set; then : 4676 $as_echo_n "(cached) " >&6 4677 else 4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4253 4679 /* end confdefs.h. */ 4254 4680 … … 4260 4686 /* Ultrix mips cc rejects this. */ 4261 4687 typedef int charset[2]; 4262 const charset x;4688 const charset cs; 4263 4689 /* SunOS 4.1.1 cc rejects this. */ 4264 char const *const * ccp;4265 char **p ;4690 char const *const *pcpcc; 4691 char **ppc; 4266 4692 /* NEC SVR4.0.2 mips cc rejects this. */ 4267 4693 struct point {int x, y;}; … … 4272 4698 expression */ 4273 4699 const char *g = "string"; 4274 ccp= &g + (g ? g-g : 0);4700 pcpcc = &g + (g ? g-g : 0); 4275 4701 /* HPUX 7.0 cc rejects these. */ 4276 ++ ccp;4277 p = (char**) ccp;4278 ccp = (char const *const *) p;4702 ++pcpcc; 4703 ppc = (char**) pcpcc; 4704 pcpcc = (char const *const *) ppc; 4279 4705 { /* SCO 3.2v4 cc rejects this. */ 4280 4706 char *t; … … 4282 4708 4283 4709 *t++ = 0; 4710 if (s) return 0; 4284 4711 } 4285 4712 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4300 4727 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4301 4728 const int foo = 10; 4729 if (!foo) return 0; 4302 4730 } 4731 return !cs[0] && !zero.x; 4303 4732 #endif 4304 4733 … … 4307 4736 } 4308 4737 _ACEOF 4309 rm -f conftest.$ac_objext 4310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4311 (eval $ac_compile) 2>conftest.er1 4312 ac_status=$? 4313 grep -v '^ *+' conftest.er1 >conftest.err 4314 rm -f conftest.er1 4315 cat conftest.err >&5 4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4317 (exit $ac_status); } && 4318 { ac_try='test -z "$ac_c_werror_flag" 4319 || test ! -s conftest.err' 4320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4321 (eval $ac_try) 2>&5 4322 ac_status=$? 4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4324 (exit $ac_status); }; } && 4325 { ac_try='test -s conftest.$ac_objext' 4326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4327 (eval $ac_try) 2>&5 4328 ac_status=$? 4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4330 (exit $ac_status); }; }; then 4738 if ac_fn_c_try_compile "$LINENO"; then : 4331 4739 ac_cv_c_const=yes 4332 4740 else 4333 echo "$as_me: failed program was:" >&5 4334 sed 's/^/| /' conftest.$ac_ext >&5 4335 4336 ac_cv_c_const=no 4337 fi 4338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4339 fi 4340 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4341 echo "${ECHO_T}$ac_cv_c_const" >&6 4741 ac_cv_c_const=no 4742 fi 4743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4744 fi 4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4746 $as_echo "$ac_cv_c_const" >&6; } 4342 4747 if test $ac_cv_c_const = no; then 4343 4748 4344 cat >>confdefs.h <<\_ACEOF 4345 #define const 4346 _ACEOF 4347 4348 fi 4349 4350 echo "$as_me:$LINENO: checking for off_t" >&5 4351 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 4352 if test "${ac_cv_type_off_t+set}" = set; then 4353 echo $ECHO_N "(cached) $ECHO_C" >&6 4354 else 4355 cat >conftest.$ac_ext <<_ACEOF 4356 /* confdefs.h. */ 4357 _ACEOF 4358 cat confdefs.h >>conftest.$ac_ext 4359 cat >>conftest.$ac_ext <<_ACEOF 4360 /* end confdefs.h. */ 4361 $ac_includes_default 4362 int 4363 main () 4364 { 4365 if ((off_t *) 0) 4366 return 0; 4367 if (sizeof (off_t)) 4368 return 0; 4369 ; 4370 return 0; 4371 } 4372 _ACEOF 4373 rm -f conftest.$ac_objext 4374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4375 (eval $ac_compile) 2>conftest.er1 4376 ac_status=$? 4377 grep -v '^ *+' conftest.er1 >conftest.err 4378 rm -f conftest.er1 4379 cat conftest.err >&5 4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4381 (exit $ac_status); } && 4382 { ac_try='test -z "$ac_c_werror_flag" 4383 || test ! -s conftest.err' 4384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4385 (eval $ac_try) 2>&5 4386 ac_status=$? 4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4388 (exit $ac_status); }; } && 4389 { ac_try='test -s conftest.$ac_objext' 4390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4391 (eval $ac_try) 2>&5 4392 ac_status=$? 4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4394 (exit $ac_status); }; }; then 4395 ac_cv_type_off_t=yes 4396 else 4397 echo "$as_me: failed program was:" >&5 4398 sed 's/^/| /' conftest.$ac_ext >&5 4399 4400 ac_cv_type_off_t=no 4401 fi 4402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4403 fi 4404 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4405 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4406 if test $ac_cv_type_off_t = yes; then 4407 : 4749 $as_echo "#define const /**/" >>confdefs.h 4750 4751 fi 4752 4753 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 4754 if test "x$ac_cv_type_off_t" = x""yes; then : 4755 4408 4756 else 4409 4757 4410 4758 cat >>confdefs.h <<_ACEOF 4411 #define off_t long 4412 _ACEOF 4413 4414 fi 4415 4416 echo "$as_me:$LINENO: checking for size_t" >&5 4417 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4418 if test "${ac_cv_type_size_t+set}" = set; then 4419 echo $ECHO_N "(cached) $ECHO_C" >&6 4420 else 4421 cat >conftest.$ac_ext <<_ACEOF 4422 /* confdefs.h. */ 4423 _ACEOF 4424 cat confdefs.h >>conftest.$ac_ext 4425 cat >>conftest.$ac_ext <<_ACEOF 4426 /* end confdefs.h. */ 4427 $ac_includes_default 4428 int 4429 main () 4430 { 4431 if ((size_t *) 0) 4432 return 0; 4433 if (sizeof (size_t)) 4434 return 0; 4435 ; 4436 return 0; 4437 } 4438 _ACEOF 4439 rm -f conftest.$ac_objext 4440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4441 (eval $ac_compile) 2>conftest.er1 4442 ac_status=$? 4443 grep -v '^ *+' conftest.er1 >conftest.err 4444 rm -f conftest.er1 4445 cat conftest.err >&5 4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4447 (exit $ac_status); } && 4448 { ac_try='test -z "$ac_c_werror_flag" 4449 || test ! -s conftest.err' 4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4451 (eval $ac_try) 2>&5 4452 ac_status=$? 4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4454 (exit $ac_status); }; } && 4455 { ac_try='test -s conftest.$ac_objext' 4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4457 (eval $ac_try) 2>&5 4458 ac_status=$? 4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4460 (exit $ac_status); }; }; then 4461 ac_cv_type_size_t=yes 4462 else 4463 echo "$as_me: failed program was:" >&5 4464 sed 's/^/| /' conftest.$ac_ext >&5 4465 4466 ac_cv_type_size_t=no 4467 fi 4468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4469 fi 4470 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4471 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4472 if test $ac_cv_type_size_t = yes; then 4473 : 4759 #define off_t long int 4760 _ACEOF 4761 4762 fi 4763 4764 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 4765 if test "x$ac_cv_type_size_t" = x""yes; then : 4766 4474 4767 else 4475 4768 4476 4769 cat >>confdefs.h <<_ACEOF 4477 #define size_t unsigned 4478 _ACEOF 4479 4480 fi 4481 4482 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4483 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4484 if test "${ac_cv_header_time+set}" = set; then 4485 echo $ECHO_N "(cached) $ECHO_C" >&6 4486 else 4487 cat >conftest.$ac_ext <<_ACEOF 4488 /* confdefs.h. */ 4489 _ACEOF 4490 cat confdefs.h >>conftest.$ac_ext 4491 cat >>conftest.$ac_ext <<_ACEOF 4770 #define size_t unsigned int 4771 _ACEOF 4772 4773 fi 4774 4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 4776 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4777 if test "${ac_cv_header_time+set}" = set; then : 4778 $as_echo_n "(cached) " >&6 4779 else 4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4492 4781 /* end confdefs.h. */ 4493 4782 #include <sys/types.h> … … 4504 4793 } 4505 4794 _ACEOF 4506 rm -f conftest.$ac_objext 4507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4508 (eval $ac_compile) 2>conftest.er1 4509 ac_status=$? 4510 grep -v '^ *+' conftest.er1 >conftest.err 4511 rm -f conftest.er1 4512 cat conftest.err >&5 4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4514 (exit $ac_status); } && 4515 { ac_try='test -z "$ac_c_werror_flag" 4516 || test ! -s conftest.err' 4517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4518 (eval $ac_try) 2>&5 4519 ac_status=$? 4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4521 (exit $ac_status); }; } && 4522 { ac_try='test -s conftest.$ac_objext' 4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4524 (eval $ac_try) 2>&5 4525 ac_status=$? 4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4527 (exit $ac_status); }; }; then 4795 if ac_fn_c_try_compile "$LINENO"; then : 4528 4796 ac_cv_header_time=yes 4529 4797 else 4530 echo "$as_me: failed program was:" >&5 4531 sed 's/^/| /' conftest.$ac_ext >&5 4532 4533 ac_cv_header_time=no 4534 fi 4535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4536 fi 4537 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4538 echo "${ECHO_T}$ac_cv_header_time" >&6 4798 ac_cv_header_time=no 4799 fi 4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4801 fi 4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 4803 $as_echo "$ac_cv_header_time" >&6; } 4539 4804 if test $ac_cv_header_time = yes; then 4540 4805 4541 cat >>confdefs.h <<\_ACEOF 4542 #define TIME_WITH_SYS_TIME 1 4543 _ACEOF 4544 4545 fi 4546 4547 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4548 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4549 if test "${ac_cv_struct_tm+set}" = set; then 4550 echo $ECHO_N "(cached) $ECHO_C" >&6 4551 else 4552 cat >conftest.$ac_ext <<_ACEOF 4553 /* confdefs.h. */ 4554 _ACEOF 4555 cat confdefs.h >>conftest.$ac_ext 4556 cat >>conftest.$ac_ext <<_ACEOF 4806 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 4807 4808 fi 4809 4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 4811 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 4812 if test "${ac_cv_struct_tm+set}" = set; then : 4813 $as_echo_n "(cached) " >&6 4814 else 4815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4557 4816 /* end confdefs.h. */ 4558 4817 #include <sys/types.h> … … 4562 4821 main () 4563 4822 { 4564 struct tm *tp; tp->tm_sec; 4823 struct tm tm; 4824 int *p = &tm.tm_sec; 4825 return !p; 4565 4826 ; 4566 4827 return 0; 4567 4828 } 4568 4829 _ACEOF 4569 rm -f conftest.$ac_objext 4570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4571 (eval $ac_compile) 2>conftest.er1 4572 ac_status=$? 4573 grep -v '^ *+' conftest.er1 >conftest.err 4574 rm -f conftest.er1 4575 cat conftest.err >&5 4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4577 (exit $ac_status); } && 4578 { ac_try='test -z "$ac_c_werror_flag" 4579 || test ! -s conftest.err' 4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4581 (eval $ac_try) 2>&5 4582 ac_status=$? 4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4584 (exit $ac_status); }; } && 4585 { ac_try='test -s conftest.$ac_objext' 4586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4587 (eval $ac_try) 2>&5 4588 ac_status=$? 4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4590 (exit $ac_status); }; }; then 4830 if ac_fn_c_try_compile "$LINENO"; then : 4591 4831 ac_cv_struct_tm=time.h 4592 4832 else 4593 echo "$as_me: failed program was:" >&5 4594 sed 's/^/| /' conftest.$ac_ext >&5 4595 4596 ac_cv_struct_tm=sys/time.h 4597 fi 4598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4599 fi 4600 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4601 echo "${ECHO_T}$ac_cv_struct_tm" >&6 4833 ac_cv_struct_tm=sys/time.h 4834 fi 4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4836 fi 4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 4838 $as_echo "$ac_cv_struct_tm" >&6; } 4602 4839 if test $ac_cv_struct_tm = sys/time.h; then 4603 4840 4604 cat >>confdefs.h <<\_ACEOF 4605 #define TM_IN_SYS_TIME 1 4606 _ACEOF 4841 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 4607 4842 4608 4843 fi … … 4610 4845 4611 4846 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 4612 cat >conftest.$ac_ext <<_ACEOF 4613 /* confdefs.h. */ 4614 _ACEOF 4615 cat confdefs.h >>conftest.$ac_ext 4616 cat >>conftest.$ac_ext <<_ACEOF 4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4617 4848 /* end confdefs.h. */ 4618 4849 #include <stdio.h> … … 4626 4857 } 4627 4858 _ACEOF 4628 rm -f conftest.$ac_objext 4629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4630 (eval $ac_compile) 2>conftest.er1 4631 ac_status=$? 4632 grep -v '^ *+' conftest.er1 >conftest.err 4633 rm -f conftest.er1 4634 cat conftest.err >&5 4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4636 (exit $ac_status); } && 4637 { ac_try='test -z "$ac_c_werror_flag" 4638 || test ! -s conftest.err' 4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4640 (eval $ac_try) 2>&5 4641 ac_status=$? 4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4643 (exit $ac_status); }; } && 4644 { ac_try='test -s conftest.$ac_objext' 4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4646 (eval $ac_try) 2>&5 4647 ac_status=$? 4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4649 (exit $ac_status); }; }; then 4650 : 4651 else 4652 echo "$as_me: failed program was:" >&5 4653 sed 's/^/| /' conftest.$ac_ext >&5 4654 4655 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4656 fi 4657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4658 fi 4659 4660 4661 4662 echo "$as_me:$LINENO: checking for main in -lg" >&5 4663 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 4664 if test "${ac_cv_lib_g_main+set}" = set; then 4665 echo $ECHO_N "(cached) $ECHO_C" >&6 4859 if ac_fn_c_try_compile "$LINENO"; then : 4860 4861 else 4862 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4863 fi 4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4865 fi 4866 4867 4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5 4869 $as_echo_n "checking for main in -lg... " >&6; } 4870 if test "${ac_cv_lib_g_main+set}" = set; then : 4871 $as_echo_n "(cached) " >&6 4666 4872 else 4667 4873 ac_check_lib_save_LIBS=$LIBS 4668 4874 LIBS="-lg $LIBS" 4669 cat >conftest.$ac_ext <<_ACEOF 4670 /* confdefs.h. */ 4671 _ACEOF 4672 cat confdefs.h >>conftest.$ac_ext 4673 cat >>conftest.$ac_ext <<_ACEOF 4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4674 4876 /* end confdefs.h. */ 4675 4877 … … 4678 4880 main () 4679 4881 { 4680 main ();4882 return main (); 4681 4883 ; 4682 4884 return 0; 4683 4885 } 4684 4886 _ACEOF 4685 rm -f conftest.$ac_objext conftest$ac_exeext 4686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4687 (eval $ac_link) 2>conftest.er1 4688 ac_status=$? 4689 grep -v '^ *+' conftest.er1 >conftest.err 4690 rm -f conftest.er1 4691 cat conftest.err >&5 4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4693 (exit $ac_status); } && 4694 { ac_try='test -z "$ac_c_werror_flag" 4695 || test ! -s conftest.err' 4696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4697 (eval $ac_try) 2>&5 4698 ac_status=$? 4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4700 (exit $ac_status); }; } && 4701 { ac_try='test -s conftest$ac_exeext' 4702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4703 (eval $ac_try) 2>&5 4704 ac_status=$? 4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4706 (exit $ac_status); }; }; then 4887 if ac_fn_c_try_link "$LINENO"; then : 4707 4888 ac_cv_lib_g_main=yes 4708 4889 else 4709 echo "$as_me: failed program was:" >&5 4710 sed 's/^/| /' conftest.$ac_ext >&5 4711 4712 ac_cv_lib_g_main=no 4713 fi 4714 rm -f conftest.err conftest.$ac_objext \ 4715 conftest$ac_exeext conftest.$ac_ext 4890 ac_cv_lib_g_main=no 4891 fi 4892 rm -f core conftest.err conftest.$ac_objext \ 4893 conftest$ac_exeext conftest.$ac_ext 4716 4894 LIBS=$ac_check_lib_save_LIBS 4717 4895 fi 4718 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&54719 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 4720 if test $ac_cv_lib_g_main = yes; then4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5 4897 $as_echo "$ac_cv_lib_g_main" >&6; } 4898 if test "x$ac_cv_lib_g_main" = x""yes; then : 4721 4899 cat >>confdefs.h <<_ACEOF 4722 4900 #define HAVE_LIBG 1 … … 4728 4906 ac_cv_lib_g=ac_cv_lib_g_main 4729 4907 4730 4731 echo "$as_me:$LINENO: checking for main in -lm" >&5 4732 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 4733 if test "${ac_cv_lib_m_main+set}" = set; then 4734 echo $ECHO_N "(cached) $ECHO_C" >&6 4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 4909 $as_echo_n "checking for main in -lm... " >&6; } 4910 if test "${ac_cv_lib_m_main+set}" = set; then : 4911 $as_echo_n "(cached) " >&6 4735 4912 else 4736 4913 ac_check_lib_save_LIBS=$LIBS 4737 4914 LIBS="-lm $LIBS" 4738 cat >conftest.$ac_ext <<_ACEOF 4739 /* confdefs.h. */ 4740 _ACEOF 4741 cat confdefs.h >>conftest.$ac_ext 4742 cat >>conftest.$ac_ext <<_ACEOF 4915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4743 4916 /* end confdefs.h. */ 4744 4917 … … 4747 4920 main () 4748 4921 { 4749 main ();4922 return main (); 4750 4923 ; 4751 4924 return 0; 4752 4925 } 4753 4926 _ACEOF 4754 rm -f conftest.$ac_objext conftest$ac_exeext 4755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4756 (eval $ac_link) 2>conftest.er1 4757 ac_status=$? 4758 grep -v '^ *+' conftest.er1 >conftest.err 4759 rm -f conftest.er1 4760 cat conftest.err >&5 4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4762 (exit $ac_status); } && 4763 { ac_try='test -z "$ac_c_werror_flag" 4764 || test ! -s conftest.err' 4765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4766 (eval $ac_try) 2>&5 4767 ac_status=$? 4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4769 (exit $ac_status); }; } && 4770 { ac_try='test -s conftest$ac_exeext' 4771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4772 (eval $ac_try) 2>&5 4773 ac_status=$? 4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4775 (exit $ac_status); }; }; then 4927 if ac_fn_c_try_link "$LINENO"; then : 4776 4928 ac_cv_lib_m_main=yes 4777 4929 else 4778 echo "$as_me: failed program was:" >&5 4779 sed 's/^/| /' conftest.$ac_ext >&5 4780 4781 ac_cv_lib_m_main=no 4782 fi 4783 rm -f conftest.err conftest.$ac_objext \ 4784 conftest$ac_exeext conftest.$ac_ext 4930 ac_cv_lib_m_main=no 4931 fi 4932 rm -f core conftest.err conftest.$ac_objext \ 4933 conftest$ac_exeext conftest.$ac_ext 4785 4934 LIBS=$ac_check_lib_save_LIBS 4786 4935 fi 4787 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&54788 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 4789 if test $ac_cv_lib_m_main = yes; then4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 4937 $as_echo "$ac_cv_lib_m_main" >&6; } 4938 if test "x$ac_cv_lib_m_main" = x""yes; then : 4790 4939 cat >>confdefs.h <<_ACEOF 4791 4940 #define HAVE_LIBM 1 … … 4797 4946 ac_cv_lib_m=ac_cv_lib_m_main 4798 4947 4799 4800 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 4801 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 4802 if test "${ac_cv_lib_crypt_main+set}" = set; then 4803 echo $ECHO_N "(cached) $ECHO_C" >&6 4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5 4949 $as_echo_n "checking for main in -lcrypt... " >&6; } 4950 if test "${ac_cv_lib_crypt_main+set}" = set; then : 4951 $as_echo_n "(cached) " >&6 4804 4952 else 4805 4953 ac_check_lib_save_LIBS=$LIBS 4806 4954 LIBS="-lcrypt $LIBS" 4807 cat >conftest.$ac_ext <<_ACEOF 4808 /* confdefs.h. */ 4809 _ACEOF 4810 cat confdefs.h >>conftest.$ac_ext 4811 cat >>conftest.$ac_ext <<_ACEOF 4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4812 4956 /* end confdefs.h. */ 4813 4957 … … 4816 4960 main () 4817 4961 { 4818 main ();4962 return main (); 4819 4963 ; 4820 4964 return 0; 4821 4965 } 4822 4966 _ACEOF 4823 rm -f conftest.$ac_objext conftest$ac_exeext 4824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4825 (eval $ac_link) 2>conftest.er1 4826 ac_status=$? 4827 grep -v '^ *+' conftest.er1 >conftest.err 4828 rm -f conftest.er1 4829 cat conftest.err >&5 4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4831 (exit $ac_status); } && 4832 { ac_try='test -z "$ac_c_werror_flag" 4833 || test ! -s conftest.err' 4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4835 (eval $ac_try) 2>&5 4836 ac_status=$? 4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4838 (exit $ac_status); }; } && 4839 { ac_try='test -s conftest$ac_exeext' 4840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4841 (eval $ac_try) 2>&5 4842 ac_status=$? 4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4844 (exit $ac_status); }; }; then 4967 if ac_fn_c_try_link "$LINENO"; then : 4845 4968 ac_cv_lib_crypt_main=yes 4846 4969 else 4847 echo "$as_me: failed program was:" >&5 4848 sed 's/^/| /' conftest.$ac_ext >&5 4849 4850 ac_cv_lib_crypt_main=no 4851 fi 4852 rm -f conftest.err conftest.$ac_objext \ 4853 conftest$ac_exeext conftest.$ac_ext 4970 ac_cv_lib_crypt_main=no 4971 fi 4972 rm -f core conftest.err conftest.$ac_objext \ 4973 conftest$ac_exeext conftest.$ac_ext 4854 4974 LIBS=$ac_check_lib_save_LIBS 4855 4975 fi 4856 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&54857 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 4858 if test $ac_cv_lib_crypt_main = yes; then4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5 4977 $as_echo "$ac_cv_lib_crypt_main" >&6; } 4978 if test "x$ac_cv_lib_crypt_main" = x""yes; then : 4859 4979 cat >>confdefs.h <<_ACEOF 4860 4980 #define HAVE_LIBCRYPT 1 … … 4870 4990 #fi 4871 4991 4872 4873 4874 4875 4876 4877 4992 ac_header_dirent=no 4878 4993 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4879 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 4880 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 4881 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4882 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4883 echo $ECHO_N "(cached) $ECHO_C" >&6 4884 else 4885 cat >conftest.$ac_ext <<_ACEOF 4886 /* confdefs.h. */ 4887 _ACEOF 4888 cat confdefs.h >>conftest.$ac_ext 4889 cat >>conftest.$ac_ext <<_ACEOF 4994 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 4996 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 4997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then : 4998 $as_echo_n "(cached) " >&6 4999 else 5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4890 5001 /* end confdefs.h. */ 4891 5002 #include <sys/types.h> … … 4901 5012 } 4902 5013 _ACEOF 4903 rm -f conftest.$ac_objext 4904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4905 (eval $ac_compile) 2>conftest.er1 4906 ac_status=$? 4907 grep -v '^ *+' conftest.er1 >conftest.err 4908 rm -f conftest.er1 4909 cat conftest.err >&5 4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4911 (exit $ac_status); } && 4912 { ac_try='test -z "$ac_c_werror_flag" 4913 || test ! -s conftest.err' 4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4915 (eval $ac_try) 2>&5 4916 ac_status=$? 4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4918 (exit $ac_status); }; } && 4919 { ac_try='test -s conftest.$ac_objext' 4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4921 (eval $ac_try) 2>&5 4922 ac_status=$? 4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4924 (exit $ac_status); }; }; then 5014 if ac_fn_c_try_compile "$LINENO"; then : 4925 5015 eval "$as_ac_Header=yes" 4926 5016 else 4927 echo "$as_me: failed program was:" >&5 4928 sed 's/^/| /' conftest.$ac_ext >&5 4929 4930 eval "$as_ac_Header=no" 4931 fi 4932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4933 fi 4934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4936 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5017 eval "$as_ac_Header=no" 5018 fi 5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5020 fi 5021 eval ac_res=\$$as_ac_Header 5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 5023 $as_echo "$ac_res" >&6; } 5024 eval as_val=\$$as_ac_Header 5025 if test "x$as_val" = x""yes; then : 4937 5026 cat >>confdefs.h <<_ACEOF 4938 #define ` echo "HAVE_$ac_hdr" | $as_tr_cpp` 15027 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 4939 5028 _ACEOF 4940 5029 … … 4945 5034 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4946 5035 if test $ac_header_dirent = dirent.h; then 4947 echo "$as_me:$LINENO: checking for library containing opendir" >&54948 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4949 if test "${ac_cv_search_opendir+set}" = set; then 4950 echo $ECHO_N "(cached) $ECHO_C" >&65036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 5037 $as_echo_n "checking for library containing opendir... " >&6; } 5038 if test "${ac_cv_search_opendir+set}" = set; then : 5039 $as_echo_n "(cached) " >&6 4951 5040 else 4952 5041 ac_func_search_save_LIBS=$LIBS 4953 ac_cv_search_opendir=no 4954 cat >conftest.$ac_ext <<_ACEOF 4955 /* confdefs.h. */ 4956 _ACEOF 4957 cat confdefs.h >>conftest.$ac_ext 4958 cat >>conftest.$ac_ext <<_ACEOF 5042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4959 5043 /* end confdefs.h. */ 4960 5044 4961 /* Override any gcc2 internal prototype to avoid an error. */ 5045 /* Override any GCC internal prototype to avoid an error. 5046 Use char because int might match the return type of a GCC 5047 builtin and then its argument prototype would still apply. */ 4962 5048 #ifdef __cplusplus 4963 5049 extern "C" 4964 5050 #endif 4965 /* We use char because int might match the return type of a gcc24966 builtin and then its argument prototype would still apply. */4967 5051 char opendir (); 4968 5052 int 4969 5053 main () 4970 5054 { 4971 opendir ();5055 return opendir (); 4972 5056 ; 4973 5057 return 0; 4974 5058 } 4975 5059 _ACEOF 4976 rm -f conftest.$ac_objext conftest$ac_exeext 4977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4978 (eval $ac_link) 2>conftest.er1 4979 ac_status=$? 4980 grep -v '^ *+' conftest.er1 >conftest.err 4981 rm -f conftest.er1 4982 cat conftest.err >&5 4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4984 (exit $ac_status); } && 4985 { ac_try='test -z "$ac_c_werror_flag" 4986 || test ! -s conftest.err' 4987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4988 (eval $ac_try) 2>&5 4989 ac_status=$? 4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4991 (exit $ac_status); }; } && 4992 { ac_try='test -s conftest$ac_exeext' 4993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4994 (eval $ac_try) 2>&5 4995 ac_status=$? 4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4997 (exit $ac_status); }; }; then 4998 ac_cv_search_opendir="none required" 4999 else 5000 echo "$as_me: failed program was:" >&5 5001 sed 's/^/| /' conftest.$ac_ext >&5 5002 5003 fi 5004 rm -f conftest.err conftest.$ac_objext \ 5005 conftest$ac_exeext conftest.$ac_ext 5006 if test "$ac_cv_search_opendir" = no; then 5007 for ac_lib in dir; do 5060 for ac_lib in '' dir; do 5061 if test -z "$ac_lib"; then 5062 ac_res="none required" 5063 else 5064 ac_res=-l$ac_lib 5008 5065 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5009 cat >conftest.$ac_ext <<_ACEOF 5010 /* confdefs.h. */ 5011 _ACEOF 5012 cat confdefs.h >>conftest.$ac_ext 5013 cat >>conftest.$ac_ext <<_ACEOF 5066 fi 5067 if ac_fn_c_try_link "$LINENO"; then : 5068 ac_cv_search_opendir=$ac_res 5069 fi 5070 rm -f core conftest.err conftest.$ac_objext \ 5071 conftest$ac_exeext 5072 if test "${ac_cv_search_opendir+set}" = set; then : 5073 break 5074 fi 5075 done 5076 if test "${ac_cv_search_opendir+set}" = set; then : 5077 5078 else 5079 ac_cv_search_opendir=no 5080 fi 5081 rm conftest.$ac_ext 5082 LIBS=$ac_func_search_save_LIBS 5083 fi 5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 5085 $as_echo "$ac_cv_search_opendir" >&6; } 5086 ac_res=$ac_cv_search_opendir 5087 if test "$ac_res" != no; then : 5088 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5089 5090 fi 5091 5092 else 5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 5094 $as_echo_n "checking for library containing opendir... " >&6; } 5095 if test "${ac_cv_search_opendir+set}" = set; then : 5096 $as_echo_n "(cached) " >&6 5097 else 5098 ac_func_search_save_LIBS=$LIBS 5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5014 5100 /* end confdefs.h. */ 5015 5101 5016 /* Override any gcc2 internal prototype to avoid an error. */ 5102 /* Override any GCC internal prototype to avoid an error. 5103 Use char because int might match the return type of a GCC 5104 builtin and then its argument prototype would still apply. */ 5017 5105 #ifdef __cplusplus 5018 5106 extern "C" 5019 5107 #endif 5020 /* We use char because int might match the return type of a gcc25021 builtin and then its argument prototype would still apply. */5022 5108 char opendir (); 5023 5109 int 5024 5110 main () 5025 5111 { 5026 opendir ();5112 return opendir (); 5027 5113 ; 5028 5114 return 0; 5029 5115 } 5030 5116 _ACEOF 5031 rm -f conftest.$ac_objext conftest$ac_exeext 5032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5033 (eval $ac_link) 2>conftest.er1 5034 ac_status=$? 5035 grep -v '^ *+' conftest.er1 >conftest.err 5036 rm -f conftest.er1 5037 cat conftest.err >&5 5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5039 (exit $ac_status); } && 5040 { ac_try='test -z "$ac_c_werror_flag" 5041 || test ! -s conftest.err' 5042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5043 (eval $ac_try) 2>&5 5044 ac_status=$? 5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5046 (exit $ac_status); }; } && 5047 { ac_try='test -s conftest$ac_exeext' 5048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5049 (eval $ac_try) 2>&5 5050 ac_status=$? 5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5052 (exit $ac_status); }; }; then 5053 ac_cv_search_opendir="-l$ac_lib" 5054 break 5055 else 5056 echo "$as_me: failed program was:" >&5 5057 sed 's/^/| /' conftest.$ac_ext >&5 5058 5059 fi 5060 rm -f conftest.err conftest.$ac_objext \ 5061 conftest$ac_exeext conftest.$ac_ext 5062 done 5063 fi 5117 for ac_lib in '' x; do 5118 if test -z "$ac_lib"; then 5119 ac_res="none required" 5120 else 5121 ac_res=-l$ac_lib 5122 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5123 fi 5124 if ac_fn_c_try_link "$LINENO"; then : 5125 ac_cv_search_opendir=$ac_res 5126 fi 5127 rm -f core conftest.err conftest.$ac_objext \ 5128 conftest$ac_exeext 5129 if test "${ac_cv_search_opendir+set}" = set; then : 5130 break 5131 fi 5132 done 5133 if test "${ac_cv_search_opendir+set}" = set; then : 5134 5135 else 5136 ac_cv_search_opendir=no 5137 fi 5138 rm conftest.$ac_ext 5064 5139 LIBS=$ac_func_search_save_LIBS 5065 5140 fi 5066 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5067 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5068 if test "$ac_cv_search_opendir" != no; then 5069 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5070 5071 fi 5072 5073 else 5074 echo "$as_me:$LINENO: checking for library containing opendir" >&5 5075 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5076 if test "${ac_cv_search_opendir+set}" = set; then 5077 echo $ECHO_N "(cached) $ECHO_C" >&6 5078 else 5079 ac_func_search_save_LIBS=$LIBS 5080 ac_cv_search_opendir=no 5081 cat >conftest.$ac_ext <<_ACEOF 5082 /* confdefs.h. */ 5083 _ACEOF 5084 cat confdefs.h >>conftest.$ac_ext 5085 cat >>conftest.$ac_ext <<_ACEOF 5086 /* end confdefs.h. */ 5087 5088 /* Override any gcc2 internal prototype to avoid an error. */ 5089 #ifdef __cplusplus 5090 extern "C" 5091 #endif 5092 /* We use char because int might match the return type of a gcc2 5093 builtin and then its argument prototype would still apply. */ 5094 char opendir (); 5095 int 5096 main () 5097 { 5098 opendir (); 5099 ; 5100 return 0; 5101 } 5102 _ACEOF 5103 rm -f conftest.$ac_objext conftest$ac_exeext 5104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5105 (eval $ac_link) 2>conftest.er1 5106 ac_status=$? 5107 grep -v '^ *+' conftest.er1 >conftest.err 5108 rm -f conftest.er1 5109 cat conftest.err >&5 5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5111 (exit $ac_status); } && 5112 { ac_try='test -z "$ac_c_werror_flag" 5113 || test ! -s conftest.err' 5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5115 (eval $ac_try) 2>&5 5116 ac_status=$? 5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5118 (exit $ac_status); }; } && 5119 { ac_try='test -s conftest$ac_exeext' 5120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5121 (eval $ac_try) 2>&5 5122 ac_status=$? 5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5124 (exit $ac_status); }; }; then 5125 ac_cv_search_opendir="none required" 5126 else 5127 echo "$as_me: failed program was:" >&5 5128 sed 's/^/| /' conftest.$ac_ext >&5 5129 5130 fi 5131 rm -f conftest.err conftest.$ac_objext \ 5132 conftest$ac_exeext conftest.$ac_ext 5133 if test "$ac_cv_search_opendir" = no; then 5134 for ac_lib in x; do 5135 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5136 cat >conftest.$ac_ext <<_ACEOF 5137 /* confdefs.h. */ 5138 _ACEOF 5139 cat confdefs.h >>conftest.$ac_ext 5140 cat >>conftest.$ac_ext <<_ACEOF 5141 /* end confdefs.h. */ 5142 5143 /* Override any gcc2 internal prototype to avoid an error. */ 5144 #ifdef __cplusplus 5145 extern "C" 5146 #endif 5147 /* We use char because int might match the return type of a gcc2 5148 builtin and then its argument prototype would still apply. */ 5149 char opendir (); 5150 int 5151 main () 5152 { 5153 opendir (); 5154 ; 5155 return 0; 5156 } 5157 _ACEOF 5158 rm -f conftest.$ac_objext conftest$ac_exeext 5159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5160 (eval $ac_link) 2>conftest.er1 5161 ac_status=$? 5162 grep -v '^ *+' conftest.er1 >conftest.err 5163 rm -f conftest.er1 5164 cat conftest.err >&5 5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5166 (exit $ac_status); } && 5167 { ac_try='test -z "$ac_c_werror_flag" 5168 || test ! -s conftest.err' 5169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5170 (eval $ac_try) 2>&5 5171 ac_status=$? 5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5173 (exit $ac_status); }; } && 5174 { ac_try='test -s conftest$ac_exeext' 5175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5176 (eval $ac_try) 2>&5 5177 ac_status=$? 5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5179 (exit $ac_status); }; }; then 5180 ac_cv_search_opendir="-l$ac_lib" 5181 break 5182 else 5183 echo "$as_me: failed program was:" >&5 5184 sed 's/^/| /' conftest.$ac_ext >&5 5185 5186 fi 5187 rm -f conftest.err conftest.$ac_objext \ 5188 conftest$ac_exeext conftest.$ac_ext 5189 done 5190 fi 5191 LIBS=$ac_func_search_save_LIBS 5192 fi 5193 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5194 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5195 if test "$ac_cv_search_opendir" != no; then 5196 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5197 5198 fi 5199 5200 fi 5201 5202 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5203 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5204 if test "${ac_cv_header_stdc+set}" = set; then 5205 echo $ECHO_N "(cached) $ECHO_C" >&6 5206 else 5207 cat >conftest.$ac_ext <<_ACEOF 5208 /* confdefs.h. */ 5209 _ACEOF 5210 cat confdefs.h >>conftest.$ac_ext 5211 cat >>conftest.$ac_ext <<_ACEOF 5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 5142 $as_echo "$ac_cv_search_opendir" >&6; } 5143 ac_res=$ac_cv_search_opendir 5144 if test "$ac_res" != no; then : 5145 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5146 5147 fi 5148 5149 fi 5150 5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5152 $as_echo_n "checking for ANSI C header files... " >&6; } 5153 if test "${ac_cv_header_stdc+set}" = set; then : 5154 $as_echo_n "(cached) " >&6 5155 else 5156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5212 5157 /* end confdefs.h. */ 5213 5158 #include <stdlib.h> … … 5224 5169 } 5225 5170 _ACEOF 5226 rm -f conftest.$ac_objext 5227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5228 (eval $ac_compile) 2>conftest.er1 5229 ac_status=$? 5230 grep -v '^ *+' conftest.er1 >conftest.err 5231 rm -f conftest.er1 5232 cat conftest.err >&5 5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5234 (exit $ac_status); } && 5235 { ac_try='test -z "$ac_c_werror_flag" 5236 || test ! -s conftest.err' 5237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5238 (eval $ac_try) 2>&5 5239 ac_status=$? 5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5241 (exit $ac_status); }; } && 5242 { ac_try='test -s conftest.$ac_objext' 5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5244 (eval $ac_try) 2>&5 5245 ac_status=$? 5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 (exit $ac_status); }; }; then 5171 if ac_fn_c_try_compile "$LINENO"; then : 5248 5172 ac_cv_header_stdc=yes 5249 5173 else 5250 echo "$as_me: failed program was:" >&5 5251 sed 's/^/| /' conftest.$ac_ext >&5 5252 5253 ac_cv_header_stdc=no 5254 fi 5255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5174 ac_cv_header_stdc=no 5175 fi 5176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5256 5177 5257 5178 if test $ac_cv_header_stdc = yes; then 5258 5179 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5259 cat >conftest.$ac_ext <<_ACEOF 5260 /* confdefs.h. */ 5261 _ACEOF 5262 cat confdefs.h >>conftest.$ac_ext 5263 cat >>conftest.$ac_ext <<_ACEOF 5180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5264 5181 /* end confdefs.h. */ 5265 5182 #include <string.h> … … 5267 5184 _ACEOF 5268 5185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5269 $EGREP "memchr" >/dev/null 2>&1; then 5270 : 5186 $EGREP "memchr" >/dev/null 2>&1; then : 5187 5271 5188 else 5272 5189 ac_cv_header_stdc=no … … 5278 5195 if test $ac_cv_header_stdc = yes; then 5279 5196 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5280 cat >conftest.$ac_ext <<_ACEOF 5281 /* confdefs.h. */ 5282 _ACEOF 5283 cat confdefs.h >>conftest.$ac_ext 5284 cat >>conftest.$ac_ext <<_ACEOF 5197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5285 5198 /* end confdefs.h. */ 5286 5199 #include <stdlib.h> … … 5288 5201 _ACEOF 5289 5202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5290 $EGREP "free" >/dev/null 2>&1; then 5291 : 5203 $EGREP "free" >/dev/null 2>&1; then : 5204 5292 5205 else 5293 5206 ac_cv_header_stdc=no … … 5299 5212 if test $ac_cv_header_stdc = yes; then 5300 5213 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5301 if test "$cross_compiling" = yes; then 5214 if test "$cross_compiling" = yes; then : 5302 5215 : 5303 5216 else 5304 cat >conftest.$ac_ext <<_ACEOF 5305 /* confdefs.h. */ 5306 _ACEOF 5307 cat confdefs.h >>conftest.$ac_ext 5308 cat >>conftest.$ac_ext <<_ACEOF 5217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5309 5218 /* end confdefs.h. */ 5310 5219 #include <ctype.h> 5220 #include <stdlib.h> 5311 5221 #if ((' ' & 0x0FF) == 0x020) 5312 5222 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5328 5238 if (XOR (islower (i), ISLOWER (i)) 5329 5239 || toupper (i) != TOUPPER (i)) 5330 exit(2);5331 exit (0);5240 return 2; 5241 return 0; 5332 5242 } 5333 5243 _ACEOF 5334 rm -f conftest$ac_exeext 5335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5336 (eval $ac_link) 2>&5 5337 ac_status=$? 5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5341 (eval $ac_try) 2>&5 5342 ac_status=$? 5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5344 (exit $ac_status); }; }; then 5345 : 5346 else 5347 echo "$as_me: program exited with status $ac_status" >&5 5348 echo "$as_me: failed program was:" >&5 5349 sed 's/^/| /' conftest.$ac_ext >&5 5350 5351 ( exit $ac_status ) 5352 ac_cv_header_stdc=no 5353 fi 5354 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5355 fi 5356 fi 5357 fi 5358 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5359 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5244 if ac_fn_c_try_run "$LINENO"; then : 5245 5246 else 5247 ac_cv_header_stdc=no 5248 fi 5249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5250 conftest.$ac_objext conftest.beam conftest.$ac_ext 5251 fi 5252 5253 fi 5254 fi 5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5256 $as_echo "$ac_cv_header_stdc" >&6; } 5360 5257 if test $ac_cv_header_stdc = yes; then 5361 5258 5362 cat >>confdefs.h <<\_ACEOF 5363 #define STDC_HEADERS 1 5364 _ACEOF 5365 5366 fi 5367 5368 5369 5370 5371 5372 5373 5374 5375 5259 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 5260 5261 fi 5376 5262 5377 5263 for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h 5378 do 5379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5380 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5381 echo "$as_me:$LINENO: checking for $ac_header" >&5 5382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5383 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5384 echo $ECHO_N "(cached) $ECHO_C" >&6 5385 fi 5386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5388 else 5389 # Is the header compilable? 5390 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5391 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5392 cat >conftest.$ac_ext <<_ACEOF 5393 /* confdefs.h. */ 5394 _ACEOF 5395 cat confdefs.h >>conftest.$ac_ext 5396 cat >>conftest.$ac_ext <<_ACEOF 5397 /* end confdefs.h. */ 5398 $ac_includes_default 5399 #include <$ac_header> 5400 _ACEOF 5401 rm -f conftest.$ac_objext 5402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5403 (eval $ac_compile) 2>conftest.er1 5404 ac_status=$? 5405 grep -v '^ *+' conftest.er1 >conftest.err 5406 rm -f conftest.er1 5407 cat conftest.err >&5 5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5409 (exit $ac_status); } && 5410 { ac_try='test -z "$ac_c_werror_flag" 5411 || test ! -s conftest.err' 5412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5413 (eval $ac_try) 2>&5 5414 ac_status=$? 5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5416 (exit $ac_status); }; } && 5417 { ac_try='test -s conftest.$ac_objext' 5418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5419 (eval $ac_try) 2>&5 5420 ac_status=$? 5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5422 (exit $ac_status); }; }; then 5423 ac_header_compiler=yes 5424 else 5425 echo "$as_me: failed program was:" >&5 5426 sed 's/^/| /' conftest.$ac_ext >&5 5427 5428 ac_header_compiler=no 5429 fi 5430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5432 echo "${ECHO_T}$ac_header_compiler" >&6 5433 5434 # Is the header present? 5435 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5437 cat >conftest.$ac_ext <<_ACEOF 5438 /* confdefs.h. */ 5439 _ACEOF 5440 cat confdefs.h >>conftest.$ac_ext 5441 cat >>conftest.$ac_ext <<_ACEOF 5442 /* end confdefs.h. */ 5443 #include <$ac_header> 5444 _ACEOF 5445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5447 ac_status=$? 5448 grep -v '^ *+' conftest.er1 >conftest.err 5449 rm -f conftest.er1 5450 cat conftest.err >&5 5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5452 (exit $ac_status); } >/dev/null; then 5453 if test -s conftest.err; then 5454 ac_cpp_err=$ac_c_preproc_warn_flag 5455 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5456 else 5457 ac_cpp_err= 5458 fi 5459 else 5460 ac_cpp_err=yes 5461 fi 5462 if test -z "$ac_cpp_err"; then 5463 ac_header_preproc=yes 5464 else 5465 echo "$as_me: failed program was:" >&5 5466 sed 's/^/| /' conftest.$ac_ext >&5 5467 5468 ac_header_preproc=no 5469 fi 5470 rm -f conftest.err conftest.$ac_ext 5471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5472 echo "${ECHO_T}$ac_header_preproc" >&6 5473 5474 # So? What about this header? 5475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5476 yes:no: ) 5477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5481 ac_header_preproc=yes 5482 ;; 5483 no:yes:* ) 5484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5488 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5490 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5491 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5494 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5496 ( 5497 cat <<\_ASBOX 5498 ## ------------------------------------------ ## 5499 ## Report this to the AC_PACKAGE_NAME lists. ## 5500 ## ------------------------------------------ ## 5501 _ASBOX 5502 ) | 5503 sed "s/^/$as_me: WARNING: /" >&2 5504 ;; 5505 esac 5506 echo "$as_me:$LINENO: checking for $ac_header" >&5 5507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5508 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5509 echo $ECHO_N "(cached) $ECHO_C" >&6 5510 else 5511 eval "$as_ac_Header=\$ac_header_preproc" 5512 fi 5513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5515 5516 fi 5517 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5264 do : 5265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5266 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5267 eval as_val=\$$as_ac_Header 5268 if test "x$as_val" = x""yes; then : 5518 5269 cat >>confdefs.h <<_ACEOF 5519 #define ` echo "HAVE_$ac_header" | $as_tr_cpp` 15270 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5520 5271 _ACEOF 5521 5272 … … 5524 5275 done 5525 5276 5526 cat >conftest.$ac_ext <<_ACEOF 5527 /* confdefs.h. */ 5528 _ACEOF 5529 cat confdefs.h >>conftest.$ac_ext 5530 cat >>conftest.$ac_ext <<_ACEOF 5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5531 5278 /* end confdefs.h. */ 5532 5279 #include <stdio.h> … … 5534 5281 _ACEOF 5535 5282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5536 $EGREP "fread" >/dev/null 2>&1; then 5537 cat >>confdefs.h <<\_ACEOF 5538 #define HAVE_FREAD_DECL 1 5539 _ACEOF 5283 $EGREP "fread" >/dev/null 2>&1; then : 5284 $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h 5540 5285 5541 5286 fi 5542 5287 rm -f conftest* 5543 5288 5544 cat >conftest.$ac_ext <<_ACEOF 5545 /* confdefs.h. */ 5546 _ACEOF 5547 cat confdefs.h >>conftest.$ac_ext 5548 cat >>conftest.$ac_ext <<_ACEOF 5289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5549 5290 /* end confdefs.h. */ 5550 5291 #include <stdio.h> … … 5552 5293 _ACEOF 5553 5294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5554 $EGREP "fgetc" >/dev/null 2>&1; then 5555 cat >>confdefs.h <<\_ACEOF 5556 #define HAVE_FGETC_DECL 1 5557 _ACEOF 5295 $EGREP "fgetc" >/dev/null 2>&1; then : 5296 $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h 5558 5297 5559 5298 fi 5560 5299 rm -f conftest* 5561 5300 5562 cat >conftest.$ac_ext <<_ACEOF 5563 /* confdefs.h. */ 5564 _ACEOF 5565 cat confdefs.h >>conftest.$ac_ext 5566 cat >>conftest.$ac_ext <<_ACEOF 5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5567 5302 /* end confdefs.h. */ 5568 5303 #include <sys/procfs.h> … … 5570 5305 _ACEOF 5571 5306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5572 $EGREP "pr_brksize" >/dev/null 2>&1; then 5573 cat >>confdefs.h <<\_ACEOF 5574 #define HAVE_PR_BRKSIZE 1 5575 _ACEOF 5307 $EGREP "pr_brksize" >/dev/null 2>&1; then : 5308 $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h 5576 5309 5577 5310 fi … … 5581 5314 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5582 5315 # for constant arguments. Useless! 5583 echo "$as_me:$LINENO: checking for working alloca.h" >&5 5584 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 5585 if test "${ac_cv_working_alloca_h+set}" = set; then 5586 echo $ECHO_N "(cached) $ECHO_C" >&6 5587 else 5588 cat >conftest.$ac_ext <<_ACEOF 5589 /* confdefs.h. */ 5590 _ACEOF 5591 cat confdefs.h >>conftest.$ac_ext 5592 cat >>conftest.$ac_ext <<_ACEOF 5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 5317 $as_echo_n "checking for working alloca.h... " >&6; } 5318 if test "${ac_cv_working_alloca_h+set}" = set; then : 5319 $as_echo_n "(cached) " >&6 5320 else 5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5593 5322 /* end confdefs.h. */ 5594 5323 #include <alloca.h> … … 5597 5326 { 5598 5327 char *p = (char *) alloca (2 * sizeof (int)); 5328 if (p) return 0; 5599 5329 ; 5600 5330 return 0; 5601 5331 } 5602 5332 _ACEOF 5603 rm -f conftest.$ac_objext conftest$ac_exeext 5604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5605 (eval $ac_link) 2>conftest.er1 5606 ac_status=$? 5607 grep -v '^ *+' conftest.er1 >conftest.err 5608 rm -f conftest.er1 5609 cat conftest.err >&5 5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5611 (exit $ac_status); } && 5612 { ac_try='test -z "$ac_c_werror_flag" 5613 || test ! -s conftest.err' 5614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5615 (eval $ac_try) 2>&5 5616 ac_status=$? 5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5618 (exit $ac_status); }; } && 5619 { ac_try='test -s conftest$ac_exeext' 5620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5621 (eval $ac_try) 2>&5 5622 ac_status=$? 5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5624 (exit $ac_status); }; }; then 5333 if ac_fn_c_try_link "$LINENO"; then : 5625 5334 ac_cv_working_alloca_h=yes 5626 5335 else 5627 echo "$as_me: failed program was:" >&5 5628 sed 's/^/| /' conftest.$ac_ext >&5 5629 5630 ac_cv_working_alloca_h=no 5631 fi 5632 rm -f conftest.err conftest.$ac_objext \ 5633 conftest$ac_exeext conftest.$ac_ext 5634 fi 5635 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5636 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 5336 ac_cv_working_alloca_h=no 5337 fi 5338 rm -f core conftest.err conftest.$ac_objext \ 5339 conftest$ac_exeext conftest.$ac_ext 5340 fi 5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 5342 $as_echo "$ac_cv_working_alloca_h" >&6; } 5637 5343 if test $ac_cv_working_alloca_h = yes; then 5638 5344 5639 cat >>confdefs.h <<\_ACEOF 5640 #define HAVE_ALLOCA_H 1 5641 _ACEOF 5642 5643 fi 5644 5645 echo "$as_me:$LINENO: checking for alloca" >&5 5646 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 5647 if test "${ac_cv_func_alloca_works+set}" = set; then 5648 echo $ECHO_N "(cached) $ECHO_C" >&6 5649 else 5650 cat >conftest.$ac_ext <<_ACEOF 5651 /* confdefs.h. */ 5652 _ACEOF 5653 cat confdefs.h >>conftest.$ac_ext 5654 cat >>conftest.$ac_ext <<_ACEOF 5345 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 5346 5347 fi 5348 5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 5350 $as_echo_n "checking for alloca... " >&6; } 5351 if test "${ac_cv_func_alloca_works+set}" = set; then : 5352 $as_echo_n "(cached) " >&6 5353 else 5354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5655 5355 /* end confdefs.h. */ 5656 5356 #ifdef __GNUC__ … … 5661 5361 # define alloca _alloca 5662 5362 # else 5663 # if HAVE_ALLOCA_H5363 # ifdef HAVE_ALLOCA_H 5664 5364 # include <alloca.h> 5665 5365 # else … … 5679 5379 { 5680 5380 char *p = (char *) alloca (1); 5381 if (p) return 0; 5681 5382 ; 5682 5383 return 0; 5683 5384 } 5684 5385 _ACEOF 5685 rm -f conftest.$ac_objext conftest$ac_exeext 5686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5687 (eval $ac_link) 2>conftest.er1 5688 ac_status=$? 5689 grep -v '^ *+' conftest.er1 >conftest.err 5690 rm -f conftest.er1 5691 cat conftest.err >&5 5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5693 (exit $ac_status); } && 5694 { ac_try='test -z "$ac_c_werror_flag" 5695 || test ! -s conftest.err' 5696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5697 (eval $ac_try) 2>&5 5698 ac_status=$? 5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5700 (exit $ac_status); }; } && 5701 { ac_try='test -s conftest$ac_exeext' 5702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5703 (eval $ac_try) 2>&5 5704 ac_status=$? 5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5706 (exit $ac_status); }; }; then 5386 if ac_fn_c_try_link "$LINENO"; then : 5707 5387 ac_cv_func_alloca_works=yes 5708 5388 else 5709 echo "$as_me: failed program was:" >&5 5710 sed 's/^/| /' conftest.$ac_ext >&5 5711 5712 ac_cv_func_alloca_works=no 5713 fi 5714 rm -f conftest.err conftest.$ac_objext \ 5715 conftest$ac_exeext conftest.$ac_ext 5716 fi 5717 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 5718 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 5389 ac_cv_func_alloca_works=no 5390 fi 5391 rm -f core conftest.err conftest.$ac_objext \ 5392 conftest$ac_exeext conftest.$ac_ext 5393 fi 5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 5395 $as_echo "$ac_cv_func_alloca_works" >&6; } 5719 5396 5720 5397 if test $ac_cv_func_alloca_works = yes; then 5721 5398 5722 cat >>confdefs.h <<\_ACEOF 5723 #define HAVE_ALLOCA 1 5724 _ACEOF 5399 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 5725 5400 5726 5401 else … … 5730 5405 # use ar to extract alloca.o from them instead of compiling alloca.c. 5731 5406 5732 ALLOCA=alloca.$ac_objext 5733 5734 cat >>confdefs.h <<\_ACEOF 5735 #define C_ALLOCA 1 5736 _ACEOF 5737 5738 5739 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 5740 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 5741 if test "${ac_cv_os_cray+set}" = set; then 5742 echo $ECHO_N "(cached) $ECHO_C" >&6 5743 else 5744 cat >conftest.$ac_ext <<_ACEOF 5745 /* confdefs.h. */ 5746 _ACEOF 5747 cat confdefs.h >>conftest.$ac_ext 5748 cat >>conftest.$ac_ext <<_ACEOF 5407 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5408 5409 $as_echo "#define C_ALLOCA 1" >>confdefs.h 5410 5411 5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 5413 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 5414 if test "${ac_cv_os_cray+set}" = set; then : 5415 $as_echo_n "(cached) " >&6 5416 else 5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5749 5418 /* end confdefs.h. */ 5750 #if defined (CRAY) && ! defined(CRAY2)5419 #if defined CRAY && ! defined CRAY2 5751 5420 webecray 5752 5421 #else … … 5756 5425 _ACEOF 5757 5426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5758 $EGREP "webecray" >/dev/null 2>&1; then 5427 $EGREP "webecray" >/dev/null 2>&1; then : 5759 5428 ac_cv_os_cray=yes 5760 5429 else … … 5764 5433 5765 5434 fi 5766 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&55767 echo "${ECHO_T}$ac_cv_os_cray" >&6 5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 5436 $as_echo "$ac_cv_os_cray" >&6; } 5768 5437 if test $ac_cv_os_cray = yes; then 5769 5438 for ac_func in _getb67 GETB67 getb67; do 5770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5771 echo "$as_me:$LINENO: checking for $ac_func" >&5 5772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5773 if eval "test \"\${$as_ac_var+set}\" = set"; then 5774 echo $ECHO_N "(cached) $ECHO_C" >&6 5775 else 5776 cat >conftest.$ac_ext <<_ACEOF 5777 /* confdefs.h. */ 5778 _ACEOF 5779 cat confdefs.h >>conftest.$ac_ext 5780 cat >>conftest.$ac_ext <<_ACEOF 5781 /* end confdefs.h. */ 5782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 5783 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5784 #define $ac_func innocuous_$ac_func 5785 5786 /* System header to define __stub macros and hopefully few prototypes, 5787 which can conflict with char $ac_func (); below. 5788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5789 <limits.h> exists even on freestanding compilers. */ 5790 5791 #ifdef __STDC__ 5792 # include <limits.h> 5793 #else 5794 # include <assert.h> 5795 #endif 5796 5797 #undef $ac_func 5798 5799 /* Override any gcc2 internal prototype to avoid an error. */ 5800 #ifdef __cplusplus 5801 extern "C" 5802 { 5803 #endif 5804 /* We use char because int might match the return type of a gcc2 5805 builtin and then its argument prototype would still apply. */ 5806 char $ac_func (); 5807 /* The GNU C library defines this for functions which it implements 5808 to always fail with ENOSYS. Some functions are actually named 5809 something starting with __ and the normal name is an alias. */ 5810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5811 choke me 5812 #else 5813 char (*f) () = $ac_func; 5814 #endif 5815 #ifdef __cplusplus 5816 } 5817 #endif 5818 5819 int 5820 main () 5821 { 5822 return f != $ac_func; 5823 ; 5824 return 0; 5825 } 5826 _ACEOF 5827 rm -f conftest.$ac_objext conftest$ac_exeext 5828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5829 (eval $ac_link) 2>conftest.er1 5830 ac_status=$? 5831 grep -v '^ *+' conftest.er1 >conftest.err 5832 rm -f conftest.er1 5833 cat conftest.err >&5 5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5835 (exit $ac_status); } && 5836 { ac_try='test -z "$ac_c_werror_flag" 5837 || test ! -s conftest.err' 5838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5839 (eval $ac_try) 2>&5 5840 ac_status=$? 5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5842 (exit $ac_status); }; } && 5843 { ac_try='test -s conftest$ac_exeext' 5844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5845 (eval $ac_try) 2>&5 5846 ac_status=$? 5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5848 (exit $ac_status); }; }; then 5849 eval "$as_ac_var=yes" 5850 else 5851 echo "$as_me: failed program was:" >&5 5852 sed 's/^/| /' conftest.$ac_ext >&5 5853 5854 eval "$as_ac_var=no" 5855 fi 5856 rm -f conftest.err conftest.$ac_objext \ 5857 conftest$ac_exeext conftest.$ac_ext 5858 fi 5859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5861 if test `eval echo '${'$as_ac_var'}'` = yes; then 5439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5441 eval as_val=\$$as_ac_var 5442 if test "x$as_val" = x""yes; then : 5862 5443 5863 5444 cat >>confdefs.h <<_ACEOF … … 5871 5452 fi 5872 5453 5873 echo "$as_me:$LINENO: checking stack direction for C alloca" >&55874 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 5875 if test "${ac_cv_c_stack_direction+set}" = set; then 5876 echo $ECHO_N "(cached) $ECHO_C" >&65877 else 5878 if test "$cross_compiling" = yes; then 5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 5455 $as_echo_n "checking stack direction for C alloca... " >&6; } 5456 if test "${ac_cv_c_stack_direction+set}" = set; then : 5457 $as_echo_n "(cached) " >&6 5458 else 5459 if test "$cross_compiling" = yes; then : 5879 5460 ac_cv_c_stack_direction=0 5880 5461 else 5881 cat >conftest.$ac_ext <<_ACEOF 5882 /* confdefs.h. */ 5883 _ACEOF 5884 cat confdefs.h >>conftest.$ac_ext 5885 cat >>conftest.$ac_ext <<_ACEOF 5462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5886 5463 /* end confdefs.h. */ 5464 $ac_includes_default 5887 5465 int 5888 5466 find_stack_direction () … … 5902 5480 main () 5903 5481 { 5904 exit (find_stack_direction () < 0);5482 return find_stack_direction () < 0; 5905 5483 } 5906 5484 _ACEOF 5907 rm -f conftest$ac_exeext 5908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5909 (eval $ac_link) 2>&5 5910 ac_status=$? 5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5914 (eval $ac_try) 2>&5 5915 ac_status=$? 5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5917 (exit $ac_status); }; }; then 5485 if ac_fn_c_try_run "$LINENO"; then : 5918 5486 ac_cv_c_stack_direction=1 5919 5487 else 5920 echo "$as_me: program exited with status $ac_status" >&5 5921 echo "$as_me: failed program was:" >&5 5922 sed 's/^/| /' conftest.$ac_ext >&5 5923 5924 ( exit $ac_status ) 5925 ac_cv_c_stack_direction=-1 5926 fi 5927 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5928 fi 5929 fi 5930 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5931 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 5932 5488 ac_cv_c_stack_direction=-1 5489 fi 5490 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5491 conftest.$ac_objext conftest.beam conftest.$ac_ext 5492 fi 5493 5494 fi 5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 5496 $as_echo "$ac_cv_c_stack_direction" >&6; } 5933 5497 cat >>confdefs.h <<_ACEOF 5934 5498 #define STACK_DIRECTION $ac_cv_c_stack_direction … … 5939 5503 5940 5504 if test $ac_cv_c_compiler_gnu = yes; then 5941 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&55942 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 5943 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 5944 echo $ECHO_N "(cached) $ECHO_C" >&65505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 5506 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 5507 if test "${ac_cv_prog_gcc_traditional+set}" = set; then : 5508 $as_echo_n "(cached) " >&6 5945 5509 else 5946 5510 ac_pattern="Autoconf.*'x'" 5947 cat >conftest.$ac_ext <<_ACEOF 5948 /* confdefs.h. */ 5949 _ACEOF 5950 cat confdefs.h >>conftest.$ac_ext 5951 cat >>conftest.$ac_ext <<_ACEOF 5511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5952 5512 /* end confdefs.h. */ 5953 5513 #include <sgtty.h> … … 5955 5515 _ACEOF 5956 5516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5957 $EGREP "$ac_pattern" >/dev/null 2>&1; then 5517 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5958 5518 ac_cv_prog_gcc_traditional=yes 5959 5519 else … … 5964 5524 5965 5525 if test $ac_cv_prog_gcc_traditional = no; then 5966 cat >conftest.$ac_ext <<_ACEOF 5967 /* confdefs.h. */ 5968 _ACEOF 5969 cat confdefs.h >>conftest.$ac_ext 5970 cat >>conftest.$ac_ext <<_ACEOF 5526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5971 5527 /* end confdefs.h. */ 5972 5528 #include <termio.h> … … 5974 5530 _ACEOF 5975 5531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5976 $EGREP "$ac_pattern" >/dev/null 2>&1; then 5532 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5977 5533 ac_cv_prog_gcc_traditional=yes 5978 5534 fi … … 5981 5537 fi 5982 5538 fi 5983 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&55984 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 5540 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5985 5541 if test $ac_cv_prog_gcc_traditional = yes; then 5986 5542 CC="$CC -traditional" … … 5988 5544 fi 5989 5545 5990 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 5991 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 5992 if test "${ac_cv_type_signal+set}" = set; then 5993 echo $ECHO_N "(cached) $ECHO_C" >&6 5994 else 5995 cat >conftest.$ac_ext <<_ACEOF 5996 /* confdefs.h. */ 5997 _ACEOF 5998 cat confdefs.h >>conftest.$ac_ext 5999 cat >>conftest.$ac_ext <<_ACEOF 5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 5547 $as_echo_n "checking return type of signal handlers... " >&6; } 5548 if test "${ac_cv_type_signal+set}" = set; then : 5549 $as_echo_n "(cached) " >&6 5550 else 5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6000 5552 /* end confdefs.h. */ 6001 5553 #include <sys/types.h> 6002 5554 #include <signal.h> 6003 #ifdef signal6004 # undef signal6005 #endif6006 #ifdef __cplusplus6007 extern "C" void (*signal (int, void (*)(int)))(int);6008 #else6009 void (*signal ()) ();6010 #endif6011 5555 6012 5556 int 6013 5557 main () 6014 5558 { 6015 int i;5559 return *(signal (0, 0)) (0) == 1; 6016 5560 ; 6017 5561 return 0; 6018 5562 } 6019 5563 _ACEOF 6020 rm -f conftest.$ac_objext 6021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6022 (eval $ac_compile) 2>conftest.er1 6023 ac_status=$? 6024 grep -v '^ *+' conftest.er1 >conftest.err 6025 rm -f conftest.er1 6026 cat conftest.err >&5 6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6028 (exit $ac_status); } && 6029 { ac_try='test -z "$ac_c_werror_flag" 6030 || test ! -s conftest.err' 6031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6032 (eval $ac_try) 2>&5 6033 ac_status=$? 6034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6035 (exit $ac_status); }; } && 6036 { ac_try='test -s conftest.$ac_objext' 6037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6038 (eval $ac_try) 2>&5 6039 ac_status=$? 6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6041 (exit $ac_status); }; }; then 5564 if ac_fn_c_try_compile "$LINENO"; then : 5565 ac_cv_type_signal=int 5566 else 6042 5567 ac_cv_type_signal=void 6043 else 6044 echo "$as_me: failed program was:" >&5 6045 sed 's/^/| /' conftest.$ac_ext >&5 6046 6047 ac_cv_type_signal=int 6048 fi 6049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6050 fi 6051 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6052 echo "${ECHO_T}$ac_cv_type_signal" >&6 5568 fi 5569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5570 fi 5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 5572 $as_echo "$ac_cv_type_signal" >&6; } 6053 5573 6054 5574 cat >>confdefs.h <<_ACEOF … … 6057 5577 6058 5578 6059 6060 5579 for ac_func in vprintf 6061 do 6062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6063 echo "$as_me:$LINENO: checking for $ac_func" >&5 6064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6065 if eval "test \"\${$as_ac_var+set}\" = set"; then 6066 echo $ECHO_N "(cached) $ECHO_C" >&6 6067 else 6068 cat >conftest.$ac_ext <<_ACEOF 6069 /* confdefs.h. */ 6070 _ACEOF 6071 cat confdefs.h >>conftest.$ac_ext 6072 cat >>conftest.$ac_ext <<_ACEOF 6073 /* end confdefs.h. */ 6074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6075 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6076 #define $ac_func innocuous_$ac_func 6077 6078 /* System header to define __stub macros and hopefully few prototypes, 6079 which can conflict with char $ac_func (); below. 6080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6081 <limits.h> exists even on freestanding compilers. */ 6082 6083 #ifdef __STDC__ 6084 # include <limits.h> 6085 #else 6086 # include <assert.h> 6087 #endif 6088 6089 #undef $ac_func 6090 6091 /* Override any gcc2 internal prototype to avoid an error. */ 6092 #ifdef __cplusplus 6093 extern "C" 6094 { 6095 #endif 6096 /* We use char because int might match the return type of a gcc2 6097 builtin and then its argument prototype would still apply. */ 6098 char $ac_func (); 6099 /* The GNU C library defines this for functions which it implements 6100 to always fail with ENOSYS. Some functions are actually named 6101 something starting with __ and the normal name is an alias. */ 6102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6103 choke me 6104 #else 6105 char (*f) () = $ac_func; 6106 #endif 6107 #ifdef __cplusplus 6108 } 6109 #endif 6110 6111 int 6112 main () 6113 { 6114 return f != $ac_func; 6115 ; 6116 return 0; 6117 } 6118 _ACEOF 6119 rm -f conftest.$ac_objext conftest$ac_exeext 6120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6121 (eval $ac_link) 2>conftest.er1 6122 ac_status=$? 6123 grep -v '^ *+' conftest.er1 >conftest.err 6124 rm -f conftest.er1 6125 cat conftest.err >&5 6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6127 (exit $ac_status); } && 6128 { ac_try='test -z "$ac_c_werror_flag" 6129 || test ! -s conftest.err' 6130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6131 (eval $ac_try) 2>&5 6132 ac_status=$? 6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6134 (exit $ac_status); }; } && 6135 { ac_try='test -s conftest$ac_exeext' 6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6137 (eval $ac_try) 2>&5 6138 ac_status=$? 6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6140 (exit $ac_status); }; }; then 6141 eval "$as_ac_var=yes" 6142 else 6143 echo "$as_me: failed program was:" >&5 6144 sed 's/^/| /' conftest.$ac_ext >&5 6145 6146 eval "$as_ac_var=no" 6147 fi 6148 rm -f conftest.err conftest.$ac_objext \ 6149 conftest$ac_exeext conftest.$ac_ext 6150 fi 6151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6153 if test `eval echo '${'$as_ac_var'}'` = yes; then 5580 do : 5581 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 5582 if test "x$ac_cv_func_vprintf" = x""yes; then : 6154 5583 cat >>confdefs.h <<_ACEOF 6155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6156 _ACEOF 6157 6158 echo "$as_me:$LINENO: checking for _doprnt" >&5 6159 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 6160 if test "${ac_cv_func__doprnt+set}" = set; then 6161 echo $ECHO_N "(cached) $ECHO_C" >&6 6162 else 6163 cat >conftest.$ac_ext <<_ACEOF 6164 /* confdefs.h. */ 6165 _ACEOF 6166 cat confdefs.h >>conftest.$ac_ext 6167 cat >>conftest.$ac_ext <<_ACEOF 6168 /* end confdefs.h. */ 6169 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 6170 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6171 #define _doprnt innocuous__doprnt 6172 6173 /* System header to define __stub macros and hopefully few prototypes, 6174 which can conflict with char _doprnt (); below. 6175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6176 <limits.h> exists even on freestanding compilers. */ 6177 6178 #ifdef __STDC__ 6179 # include <limits.h> 6180 #else 6181 # include <assert.h> 6182 #endif 6183 6184 #undef _doprnt 6185 6186 /* Override any gcc2 internal prototype to avoid an error. */ 6187 #ifdef __cplusplus 6188 extern "C" 6189 { 6190 #endif 6191 /* We use char because int might match the return type of a gcc2 6192 builtin and then its argument prototype would still apply. */ 6193 char _doprnt (); 6194 /* The GNU C library defines this for functions which it implements 6195 to always fail with ENOSYS. Some functions are actually named 6196 something starting with __ and the normal name is an alias. */ 6197 #if defined (__stub__doprnt) || defined (__stub____doprnt) 6198 choke me 6199 #else 6200 char (*f) () = _doprnt; 6201 #endif 6202 #ifdef __cplusplus 6203 } 6204 #endif 6205 6206 int 6207 main () 6208 { 6209 return f != _doprnt; 6210 ; 6211 return 0; 6212 } 6213 _ACEOF 6214 rm -f conftest.$ac_objext conftest$ac_exeext 6215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6216 (eval $ac_link) 2>conftest.er1 6217 ac_status=$? 6218 grep -v '^ *+' conftest.er1 >conftest.err 6219 rm -f conftest.er1 6220 cat conftest.err >&5 6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6222 (exit $ac_status); } && 6223 { ac_try='test -z "$ac_c_werror_flag" 6224 || test ! -s conftest.err' 6225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6226 (eval $ac_try) 2>&5 6227 ac_status=$? 6228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6229 (exit $ac_status); }; } && 6230 { ac_try='test -s conftest$ac_exeext' 6231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6232 (eval $ac_try) 2>&5 6233 ac_status=$? 6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6235 (exit $ac_status); }; }; then 6236 ac_cv_func__doprnt=yes 6237 else 6238 echo "$as_me: failed program was:" >&5 6239 sed 's/^/| /' conftest.$ac_ext >&5 6240 6241 ac_cv_func__doprnt=no 6242 fi 6243 rm -f conftest.err conftest.$ac_objext \ 6244 conftest$ac_exeext conftest.$ac_ext 6245 fi 6246 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 6247 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6248 if test $ac_cv_func__doprnt = yes; then 6249 6250 cat >>confdefs.h <<\_ACEOF 6251 #define HAVE_DOPRNT 1 6252 _ACEOF 5584 #define HAVE_VPRINTF 1 5585 _ACEOF 5586 5587 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 5588 if test "x$ac_cv_func__doprnt" = x""yes; then : 5589 5590 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 6253 5591 6254 5592 fi … … 6258 5596 6259 5597 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 5598 for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror 6271 do 6272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6273 echo "$as_me:$LINENO: checking for $ac_func" >&5 6274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6275 if eval "test \"\${$as_ac_var+set}\" = set"; then 6276 echo $ECHO_N "(cached) $ECHO_C" >&6 6277 else 6278 cat >conftest.$ac_ext <<_ACEOF 6279 /* confdefs.h. */ 6280 _ACEOF 6281 cat confdefs.h >>conftest.$ac_ext 6282 cat >>conftest.$ac_ext <<_ACEOF 6283 /* end confdefs.h. */ 6284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6285 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6286 #define $ac_func innocuous_$ac_func 6287 6288 /* System header to define __stub macros and hopefully few prototypes, 6289 which can conflict with char $ac_func (); below. 6290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6291 <limits.h> exists even on freestanding compilers. */ 6292 6293 #ifdef __STDC__ 6294 # include <limits.h> 6295 #else 6296 # include <assert.h> 6297 #endif 6298 6299 #undef $ac_func 6300 6301 /* Override any gcc2 internal prototype to avoid an error. */ 6302 #ifdef __cplusplus 6303 extern "C" 6304 { 6305 #endif 6306 /* We use char because int might match the return type of a gcc2 6307 builtin and then its argument prototype would still apply. */ 6308 char $ac_func (); 6309 /* The GNU C library defines this for functions which it implements 6310 to always fail with ENOSYS. Some functions are actually named 6311 something starting with __ and the normal name is an alias. */ 6312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6313 choke me 6314 #else 6315 char (*f) () = $ac_func; 6316 #endif 6317 #ifdef __cplusplus 6318 } 6319 #endif 6320 6321 int 6322 main () 6323 { 6324 return f != $ac_func; 6325 ; 6326 return 0; 6327 } 6328 _ACEOF 6329 rm -f conftest.$ac_objext conftest$ac_exeext 6330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6331 (eval $ac_link) 2>conftest.er1 6332 ac_status=$? 6333 grep -v '^ *+' conftest.er1 >conftest.err 6334 rm -f conftest.er1 6335 cat conftest.err >&5 6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6337 (exit $ac_status); } && 6338 { ac_try='test -z "$ac_c_werror_flag" 6339 || test ! -s conftest.err' 6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6341 (eval $ac_try) 2>&5 6342 ac_status=$? 6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6344 (exit $ac_status); }; } && 6345 { ac_try='test -s conftest$ac_exeext' 6346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6347 (eval $ac_try) 2>&5 6348 ac_status=$? 6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6350 (exit $ac_status); }; }; then 6351 eval "$as_ac_var=yes" 6352 else 6353 echo "$as_me: failed program was:" >&5 6354 sed 's/^/| /' conftest.$ac_ext >&5 6355 6356 eval "$as_ac_var=no" 6357 fi 6358 rm -f conftest.err conftest.$ac_objext \ 6359 conftest$ac_exeext conftest.$ac_ext 6360 fi 6361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6363 if test `eval echo '${'$as_ac_var'}'` = yes; then 5599 do : 5600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5602 eval as_val=\$$as_ac_var 5603 if test "x$as_val" = x""yes; then : 6364 5604 cat >>confdefs.h <<_ACEOF 6365 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 15605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6366 5606 _ACEOF 6367 5607 … … 6369 5609 done 6370 5610 6371 6372 6373 6374 5611 for ac_func in ftruncate strstr strcasecmp 6375 do 6376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6377 echo "$as_me:$LINENO: checking for $ac_func" >&5 6378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6379 if eval "test \"\${$as_ac_var+set}\" = set"; then 6380 echo $ECHO_N "(cached) $ECHO_C" >&6 6381 else 6382 cat >conftest.$ac_ext <<_ACEOF 6383 /* confdefs.h. */ 6384 _ACEOF 6385 cat confdefs.h >>conftest.$ac_ext 6386 cat >>conftest.$ac_ext <<_ACEOF 6387 /* end confdefs.h. */ 6388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6389 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6390 #define $ac_func innocuous_$ac_func 6391 6392 /* System header to define __stub macros and hopefully few prototypes, 6393 which can conflict with char $ac_func (); below. 6394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6395 <limits.h> exists even on freestanding compilers. */ 6396 6397 #ifdef __STDC__ 6398 # include <limits.h> 6399 #else 6400 # include <assert.h> 6401 #endif 6402 6403 #undef $ac_func 6404 6405 /* Override any gcc2 internal prototype to avoid an error. */ 6406 #ifdef __cplusplus 6407 extern "C" 6408 { 6409 #endif 6410 /* We use char because int might match the return type of a gcc2 6411 builtin and then its argument prototype would still apply. */ 6412 char $ac_func (); 6413 /* The GNU C library defines this for functions which it implements 6414 to always fail with ENOSYS. Some functions are actually named 6415 something starting with __ and the normal name is an alias. */ 6416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6417 choke me 6418 #else 6419 char (*f) () = $ac_func; 6420 #endif 6421 #ifdef __cplusplus 6422 } 6423 #endif 6424 6425 int 6426 main () 6427 { 6428 return f != $ac_func; 6429 ; 6430 return 0; 6431 } 6432 _ACEOF 6433 rm -f conftest.$ac_objext conftest$ac_exeext 6434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6435 (eval $ac_link) 2>conftest.er1 6436 ac_status=$? 6437 grep -v '^ *+' conftest.er1 >conftest.err 6438 rm -f conftest.er1 6439 cat conftest.err >&5 6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6441 (exit $ac_status); } && 6442 { ac_try='test -z "$ac_c_werror_flag" 6443 || test ! -s conftest.err' 6444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6445 (eval $ac_try) 2>&5 6446 ac_status=$? 6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6448 (exit $ac_status); }; } && 6449 { ac_try='test -s conftest$ac_exeext' 6450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6451 (eval $ac_try) 2>&5 6452 ac_status=$? 6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6454 (exit $ac_status); }; }; then 6455 eval "$as_ac_var=yes" 6456 else 6457 echo "$as_me: failed program was:" >&5 6458 sed 's/^/| /' conftest.$ac_ext >&5 6459 6460 eval "$as_ac_var=no" 6461 fi 6462 rm -f conftest.err conftest.$ac_objext \ 6463 conftest$ac_exeext conftest.$ac_ext 6464 fi 6465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6467 if test `eval echo '${'$as_ac_var'}'` = yes; then 5612 do : 5613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5615 eval as_val=\$$as_ac_var 5616 if test "x$as_val" = x""yes; then : 6468 5617 cat >>confdefs.h <<_ACEOF 6469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6470 _ACEOF 6471 6472 else 6473 case $LIBOBJS in 6474 "$ac_func.$ac_objext" | \ 6475 *" $ac_func.$ac_objext" | \ 6476 "$ac_func.$ac_objext "* | \ 5618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5619 _ACEOF 5620 5621 else 5622 case " $LIBOBJS " in 6477 5623 *" $ac_func.$ac_objext "* ) ;; 6478 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 5624 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 5625 ;; 6479 5626 esac 6480 5627 … … 6484 5631 6485 5632 6486 echo "$as_me:$LINENO: checking for textdomain" >&5 6487 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 6488 if test "${ac_cv_func_textdomain+set}" = set; then 6489 echo $ECHO_N "(cached) $ECHO_C" >&6 6490 else 6491 cat >conftest.$ac_ext <<_ACEOF 6492 /* confdefs.h. */ 6493 _ACEOF 6494 cat confdefs.h >>conftest.$ac_ext 6495 cat >>conftest.$ac_ext <<_ACEOF 6496 /* end confdefs.h. */ 6497 /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain. 6498 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6499 #define textdomain innocuous_textdomain 6500 6501 /* System header to define __stub macros and hopefully few prototypes, 6502 which can conflict with char textdomain (); below. 6503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6504 <limits.h> exists even on freestanding compilers. */ 6505 6506 #ifdef __STDC__ 6507 # include <limits.h> 6508 #else 6509 # include <assert.h> 6510 #endif 6511 6512 #undef textdomain 6513 6514 /* Override any gcc2 internal prototype to avoid an error. */ 6515 #ifdef __cplusplus 6516 extern "C" 6517 { 6518 #endif 6519 /* We use char because int might match the return type of a gcc2 6520 builtin and then its argument prototype would still apply. */ 6521 char textdomain (); 6522 /* The GNU C library defines this for functions which it implements 6523 to always fail with ENOSYS. Some functions are actually named 6524 something starting with __ and the normal name is an alias. */ 6525 #if defined (__stub_textdomain) || defined (__stub___textdomain) 6526 choke me 6527 #else 6528 char (*f) () = textdomain; 6529 #endif 6530 #ifdef __cplusplus 6531 } 6532 #endif 6533 6534 int 6535 main () 6536 { 6537 return f != textdomain; 6538 ; 6539 return 0; 6540 } 6541 _ACEOF 6542 rm -f conftest.$ac_objext conftest$ac_exeext 6543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6544 (eval $ac_link) 2>conftest.er1 6545 ac_status=$? 6546 grep -v '^ *+' conftest.er1 >conftest.err 6547 rm -f conftest.er1 6548 cat conftest.err >&5 6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6550 (exit $ac_status); } && 6551 { ac_try='test -z "$ac_c_werror_flag" 6552 || test ! -s conftest.err' 6553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6554 (eval $ac_try) 2>&5 6555 ac_status=$? 6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6557 (exit $ac_status); }; } && 6558 { ac_try='test -s conftest$ac_exeext' 6559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6560 (eval $ac_try) 2>&5 6561 ac_status=$? 6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6563 (exit $ac_status); }; }; then 6564 ac_cv_func_textdomain=yes 6565 else 6566 echo "$as_me: failed program was:" >&5 6567 sed 's/^/| /' conftest.$ac_ext >&5 6568 6569 ac_cv_func_textdomain=no 6570 fi 6571 rm -f conftest.err conftest.$ac_objext \ 6572 conftest$ac_exeext conftest.$ac_ext 6573 fi 6574 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 6575 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 6576 if test $ac_cv_func_textdomain = yes; then 6577 cat >>confdefs.h <<\_ACEOF 6578 #define ENABLE_NLS 1 6579 _ACEOF 5633 ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain" 5634 if test "x$ac_cv_func_textdomain" = x""yes; then : 5635 $as_echo "#define ENABLE_NLS 1" >>confdefs.h 6580 5636 6581 5637 fi … … 6584 5640 # *** Custom checking (based on GNU tar configure.in) *** 6585 5641 # --------------------------------------------------------------------------- 6586 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&56587 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5 5643 $as_echo_n "checking for HP-UX needing gmalloc... " >&6; } 6588 5644 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6589 echo "$as_me:$LINENO: result: yes" >&5 6590 echo "${ECHO_T}yes" >&6 6591 case $LIBOBJS in 6592 "gmalloc.$ac_objext" | \ 6593 *" gmalloc.$ac_objext" | \ 6594 "gmalloc.$ac_objext "* | \ 5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5646 $as_echo "yes" >&6; } 5647 case " $LIBOBJS " in 6595 5648 *" gmalloc.$ac_objext "* ) ;; 6596 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 5649 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 5650 ;; 6597 5651 esac 6598 5652 6599 cat >>confdefs.h <<\_ACEOF 5653 $as_echo "#define HAVE_VALLOC 1" >>confdefs.h 5654 5655 else 5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5657 $as_echo "no" >&6; } 5658 for ac_func in valloc 5659 do : 5660 ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc" 5661 if test "x$ac_cv_func_valloc" = x""yes; then : 5662 cat >>confdefs.h <<_ACEOF 6600 5663 #define HAVE_VALLOC 1 6601 5664 _ACEOF 6602 5665 6603 else6604 echo "$as_me:$LINENO: result: no" >&56605 echo "${ECHO_T}no" >&66606 6607 for ac_func in valloc6608 do6609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`6610 echo "$as_me:$LINENO: checking for $ac_func" >&56611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&66612 if eval "test \"\${$as_ac_var+set}\" = set"; then6613 echo $ECHO_N "(cached) $ECHO_C" >&66614 else6615 cat >conftest.$ac_ext <<_ACEOF6616 /* confdefs.h. */6617 _ACEOF6618 cat confdefs.h >>conftest.$ac_ext6619 cat >>conftest.$ac_ext <<_ACEOF6620 /* end confdefs.h. */6621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.6622 For example, HP-UX 11i <limits.h> declares gettimeofday. */6623 #define $ac_func innocuous_$ac_func6624 6625 /* System header to define __stub macros and hopefully few prototypes,6626 which can conflict with char $ac_func (); below.6627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since6628 <limits.h> exists even on freestanding compilers. */6629 6630 #ifdef __STDC__6631 # include <limits.h>6632 #else6633 # include <assert.h>6634 #endif6635 6636 #undef $ac_func6637 6638 /* Override any gcc2 internal prototype to avoid an error. */6639 #ifdef __cplusplus6640 extern "C"6641 {6642 #endif6643 /* We use char because int might match the return type of a gcc26644 builtin and then its argument prototype would still apply. */6645 char $ac_func ();6646 /* The GNU C library defines this for functions which it implements6647 to always fail with ENOSYS. Some functions are actually named6648 something starting with __ and the normal name is an alias. */6649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6650 choke me6651 #else6652 char (*f) () = $ac_func;6653 #endif6654 #ifdef __cplusplus6655 }6656 #endif6657 6658 int6659 main ()6660 {6661 return f != $ac_func;6662 ;6663 return 0;6664 }6665 _ACEOF6666 rm -f conftest.$ac_objext conftest$ac_exeext6667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&56668 (eval $ac_link) 2>conftest.er16669 ac_status=$?6670 grep -v '^ *+' conftest.er1 >conftest.err6671 rm -f conftest.er16672 cat conftest.err >&56673 echo "$as_me:$LINENO: \$? = $ac_status" >&56674 (exit $ac_status); } &&6675 { ac_try='test -z "$ac_c_werror_flag"6676 || test ! -s conftest.err'6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56678 (eval $ac_try) 2>&56679 ac_status=$?6680 echo "$as_me:$LINENO: \$? = $ac_status" >&56681 (exit $ac_status); }; } &&6682 { ac_try='test -s conftest$ac_exeext'6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56684 (eval $ac_try) 2>&56685 ac_status=$?6686 echo "$as_me:$LINENO: \$? = $ac_status" >&56687 (exit $ac_status); }; }; then6688 eval "$as_ac_var=yes"6689 else6690 echo "$as_me: failed program was:" >&56691 sed 's/^/| /' conftest.$ac_ext >&56692 6693 eval "$as_ac_var=no"6694 fi6695 rm -f conftest.err conftest.$ac_objext \6696 conftest$ac_exeext conftest.$ac_ext6697 fi6698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&56699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&66700 if test `eval echo '${'$as_ac_var'}'` = yes; then6701 cat >>confdefs.h <<_ACEOF6702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 16703 _ACEOF6704 6705 5666 fi 6706 5667 done … … 6709 5670 6710 5671 # we cannot generate static libraries under Darwin 6711 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&56712 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5 5673 $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; } 6713 5674 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6714 echo "$as_me:$LINENO: result: yes" >&56715 echo "${ECHO_T}yes" >&6 5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5676 $as_echo "yes" >&6; } 6716 5677 STATIC="" 6717 5678 else 6718 echo "$as_me:$LINENO: result: no" >&56719 echo "${ECHO_T}no" >&6 5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5680 $as_echo "no" >&6; } 6720 5681 STATIC="-static " 6721 5682 fi 6722 5683 6723 5684 6724 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 6725 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 6726 6727 # Check whether --with-dmalloc or --without-dmalloc was given. 6728 if test "${with_dmalloc+set}" = set; then 6729 withval="$with_dmalloc" 6730 if test "$withval" = yes; then 6731 echo "$as_me:$LINENO: result: yes" >&5 6732 echo "${ECHO_T}yes" >&6 6733 cat >>confdefs.h <<\_ACEOF 6734 #define WITH_DMALLOC 1 6735 _ACEOF 5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5 5686 $as_echo_n "checking if malloc debugging is wanted... " >&6; } 5687 5688 # Check whether --with-dmalloc was given. 5689 if test "${with_dmalloc+set}" = set; then : 5690 withval=$with_dmalloc; if test "$withval" = yes; then 5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5692 $as_echo "yes" >&6; } 5693 $as_echo "#define WITH_DMALLOC 1" >>confdefs.h 6736 5694 6737 5695 LIBS="$LIBS -ldmalloc" 6738 5696 LDFLAGS="$LDFLAGS -g" 6739 5697 else 6740 echo "$as_me:$LINENO: result: no" >&56741 echo "${ECHO_T}no" >&6 6742 fi 6743 else 6744 echo "$as_me:$LINENO: result: no" >&56745 echo "${ECHO_T}no" >&6 6746 fi ;6747 6748 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6749 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 6750 6751 # Check whether --with-regex or --without-regex was given. 6752 if test "${with_regex+set}" = set; then 6753 withval="$with_regex" 6754 if test "$withval" = yes; then5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5699 $as_echo "no" >&6; } 5700 fi 5701 else 5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5703 $as_echo "no" >&6; } 5704 fi 5705 5706 5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5 5708 $as_echo_n "checking which of rx or regex is wanted... " >&6; } 5709 5710 # Check whether --with-regex was given. 5711 if test "${with_regex+set}" = set; then : 5712 withval=$with_regex; if test "$withval" = yes; then 6755 5713 ac_with_regex=1 6756 echo "$as_me:$LINENO: result: regex" >&5 6757 echo "${ECHO_T}regex" >&6 6758 cat >>confdefs.h <<\_ACEOF 6759 #define WITH_REGEX 1 6760 _ACEOF 6761 6762 case $LIBOBJS in 6763 "regex.$ac_objext" | \ 6764 *" regex.$ac_objext" | \ 6765 "regex.$ac_objext "* | \ 5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5 5715 $as_echo "regex" >&6; } 5716 $as_echo "#define WITH_REGEX 1" >>confdefs.h 5717 5718 case " $LIBOBJS " in 6766 5719 *" regex.$ac_objext "* ) ;; 6767 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 5720 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 5721 ;; 6768 5722 esac 6769 5723 6770 5724 fi 6771 fi; 5725 fi 5726 6772 5727 if test -z "$ac_with_regex"; then 6773 echo "$as_me:$LINENO: result: rx" >&5 6774 echo "${ECHO_T}rx" >&6 6775 echo "$as_me:$LINENO: checking for re_rx_search" >&5 6776 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 6777 if test "${ac_cv_func_re_rx_search+set}" = set; then 6778 echo $ECHO_N "(cached) $ECHO_C" >&6 6779 else 6780 cat >conftest.$ac_ext <<_ACEOF 6781 /* confdefs.h. */ 6782 _ACEOF 6783 cat confdefs.h >>conftest.$ac_ext 6784 cat >>conftest.$ac_ext <<_ACEOF 6785 /* end confdefs.h. */ 6786 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search. 6787 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6788 #define re_rx_search innocuous_re_rx_search 6789 6790 /* System header to define __stub macros and hopefully few prototypes, 6791 which can conflict with char re_rx_search (); below. 6792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6793 <limits.h> exists even on freestanding compilers. */ 6794 6795 #ifdef __STDC__ 6796 # include <limits.h> 6797 #else 6798 # include <assert.h> 6799 #endif 6800 6801 #undef re_rx_search 6802 6803 /* Override any gcc2 internal prototype to avoid an error. */ 6804 #ifdef __cplusplus 6805 extern "C" 6806 { 6807 #endif 6808 /* We use char because int might match the return type of a gcc2 6809 builtin and then its argument prototype would still apply. */ 6810 char re_rx_search (); 6811 /* The GNU C library defines this for functions which it implements 6812 to always fail with ENOSYS. Some functions are actually named 6813 something starting with __ and the normal name is an alias. */ 6814 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search) 6815 choke me 6816 #else 6817 char (*f) () = re_rx_search; 6818 #endif 6819 #ifdef __cplusplus 6820 } 6821 #endif 6822 6823 int 6824 main () 6825 { 6826 return f != re_rx_search; 6827 ; 6828 return 0; 6829 } 6830 _ACEOF 6831 rm -f conftest.$ac_objext conftest$ac_exeext 6832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6833 (eval $ac_link) 2>conftest.er1 6834 ac_status=$? 6835 grep -v '^ *+' conftest.er1 >conftest.err 6836 rm -f conftest.er1 6837 cat conftest.err >&5 6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6839 (exit $ac_status); } && 6840 { ac_try='test -z "$ac_c_werror_flag" 6841 || test ! -s conftest.err' 6842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6843 (eval $ac_try) 2>&5 6844 ac_status=$? 6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6846 (exit $ac_status); }; } && 6847 { ac_try='test -s conftest$ac_exeext' 6848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6849 (eval $ac_try) 2>&5 6850 ac_status=$? 6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6852 (exit $ac_status); }; }; then 6853 ac_cv_func_re_rx_search=yes 6854 else 6855 echo "$as_me: failed program was:" >&5 6856 sed 's/^/| /' conftest.$ac_ext >&5 6857 6858 ac_cv_func_re_rx_search=no 6859 fi 6860 rm -f conftest.err conftest.$ac_objext \ 6861 conftest$ac_exeext conftest.$ac_ext 6862 fi 6863 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 6864 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 6865 if test $ac_cv_func_re_rx_search = yes; then 6866 : 6867 else 6868 case $LIBOBJS in 6869 "rx.$ac_objext" | \ 6870 *" rx.$ac_objext" | \ 6871 "rx.$ac_objext "* | \ 5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5 5729 $as_echo "rx" >&6; } 5730 ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search" 5731 if test "x$ac_cv_func_re_rx_search" = x""yes; then : 5732 5733 else 5734 case " $LIBOBJS " in 6872 5735 *" rx.$ac_objext "* ) ;; 6873 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 5736 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 5737 ;; 6874 5738 esac 6875 5739 … … 6881 5745 # --------------------------------------------------------------------------- 6882 5746 if test "$ac_cv_func_alloca" = 'no'; then 6883 case $LIBOBJS in 6884 "xmalloc.$ac_objext" | \ 6885 *" xmalloc.$ac_objext" | \ 6886 "xmalloc.$ac_objext "* | \ 5747 case " $LIBOBJS " in 6887 5748 *" xmalloc.$ac_objext "* ) ;; 6888 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 5749 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 5750 ;; 6889 5751 esac 6890 5752 6891 case $LIBOBJS in 6892 "error.$ac_objext" | \ 6893 *" error.$ac_objext" | \ 6894 "error.$ac_objext "* | \ 5753 case " $LIBOBJS " in 6895 5754 *" error.$ac_objext "* ) ;; 6896 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 5755 *) LIBOBJS="$LIBOBJS error.$ac_objext" 5756 ;; 6897 5757 esac 6898 5758 … … 6902 5762 # --------------------------------------------------------------------------- 6903 5763 6904 ac_ext=c c5764 ac_ext=cpp 6905 5765 ac_cpp='$CXXCPP $CPPFLAGS' 6906 5766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6909 5769 6910 5770 6911 echo "$as_me:$LINENO: checking that Perl 5 is available" >&56912 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&5 5772 $as_echo_n "checking that Perl 5 is available... " >&6; } 6913 5773 success="no" 6914 5774 pl_path="$PATH" … … 6927 5787 try=`expr $try \> 5.000` 6928 5788 if test $try = "1"; then 6929 echo "$as_me:$LINENO: result: \"yes\"" >&56930 echo "${ECHO_T}\"yes\"" >&6 5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 5790 $as_echo "\"yes\"" >&6; } 6931 5791 else 6932 5792 success="no" … … 6935 5795 6936 5796 if test $success = "no"; then 6937 echo "$as_me:$LINENO: result: \"no\"" >&5 6938 echo "${ECHO_T}\"no\"" >&6 6939 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5 6940 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;} 6941 { (exit 1); exit 1; }; } 5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 5798 $as_echo "\"no\"" >&6; } 5799 as_fn_error "\"Perl 5 not available - cannot install\"" "$LINENO" 5 6942 5800 fi 6943 5801 6944 5802 success=no 6945 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 6946 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 6947 6948 6949 cat >conftest.$ac_ext <<_ACEOF 6950 /* confdefs.h. */ 6951 _ACEOF 6952 cat confdefs.h >>conftest.$ac_ext 6953 cat >>conftest.$ac_ext <<_ACEOF 5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5 5804 $as_echo_n "checking \"whether STL library has known faults\"... " >&6; } 5805 5806 5807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6954 5808 /* end confdefs.h. */ 6955 5809 #include <vector> … … 6963 5817 } 6964 5818 _ACEOF 6965 rm -f conftest.$ac_objext 6966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6967 (eval $ac_compile) 2>conftest.er1 6968 ac_status=$? 6969 grep -v '^ *+' conftest.er1 >conftest.err 6970 rm -f conftest.er1 6971 cat conftest.err >&5 6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6973 (exit $ac_status); } && 6974 { ac_try='test -z "$ac_cxx_werror_flag" 6975 || test ! -s conftest.err' 6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6977 (eval $ac_try) 2>&5 6978 ac_status=$? 6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6980 (exit $ac_status); }; } && 6981 { ac_try='test -s conftest.$ac_objext' 6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6983 (eval $ac_try) 2>&5 6984 ac_status=$? 6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6986 (exit $ac_status); }; }; then 5819 if ac_fn_cxx_try_compile "$LINENO"; then : 6987 5820 success=yes 6988 else 6989 echo "$as_me: failed program was:" >&5 6990 sed 's/^/| /' conftest.$ac_ext >&5 6991 6992 fi 6993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5821 fi 5822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6994 5823 6995 5824 if test $success = "no"; then 6996 cat >conftest.$ac_ext <<_ACEOF 6997 /* confdefs.h. */ 6998 _ACEOF 6999 cat confdefs.h >>conftest.$ac_ext 7000 cat >>conftest.$ac_ext <<_ACEOF 5825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7001 5826 /* end confdefs.h. */ 7002 5827 #include <vector.h> … … 7010 5835 } 7011 5836 _ACEOF 7012 rm -f conftest.$ac_objext 7013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7014 (eval $ac_compile) 2>conftest.er1 7015 ac_status=$? 7016 grep -v '^ *+' conftest.er1 >conftest.err 7017 rm -f conftest.er1 7018 cat conftest.err >&5 7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7020 (exit $ac_status); } && 7021 { ac_try='test -z "$ac_cxx_werror_flag" 7022 || test ! -s conftest.err' 7023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7024 (eval $ac_try) 2>&5 7025 ac_status=$? 7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7027 (exit $ac_status); }; } && 7028 { ac_try='test -s conftest.$ac_objext' 7029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7030 (eval $ac_try) 2>&5 7031 ac_status=$? 7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7033 (exit $ac_status); }; }; then 5837 if ac_fn_cxx_try_compile "$LINENO"; then : 7034 5838 success="yes" 7035 else 7036 echo "$as_me: failed program was:" >&5 7037 sed 's/^/| /' conftest.$ac_ext >&5 7038 7039 fi 7040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5839 fi 5840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7041 5841 fi 7042 5842 7043 5843 if test $success = "no"; then 7044 cat >conftest.$ac_ext <<_ACEOF 7045 /* confdefs.h. */ 7046 _ACEOF 7047 cat confdefs.h >>conftest.$ac_ext 7048 cat >>conftest.$ac_ext <<_ACEOF 5844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7049 5845 /* end confdefs.h. */ 7050 5846 #include <ospace\\std\\vector> … … 7058 5854 } 7059 5855 _ACEOF 7060 rm -f conftest.$ac_objext 7061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7062 (eval $ac_compile) 2>conftest.er1 7063 ac_status=$? 7064 grep -v '^ *+' conftest.er1 >conftest.err 7065 rm -f conftest.er1 7066 cat conftest.err >&5 7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7068 (exit $ac_status); } && 7069 { ac_try='test -z "$ac_cxx_werror_flag" 7070 || test ! -s conftest.err' 7071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7072 (eval $ac_try) 2>&5 7073 ac_status=$? 7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7075 (exit $ac_status); }; } && 7076 { ac_try='test -s conftest.$ac_objext' 7077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7078 (eval $ac_try) 2>&5 7079 ac_status=$? 7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7081 (exit $ac_status); }; }; then 5856 if ac_fn_cxx_try_compile "$LINENO"; then : 7082 5857 success="yes" 7083 else 7084 echo "$as_me: failed program was:" >&5 7085 sed 's/^/| /' conftest.$ac_ext >&5 7086 7087 fi 7088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5858 fi 5859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7089 5860 fi 7090 5861 7091 5862 if test $success = yes; then 7092 echo "$as_me:$LINENO: result: \"no\"" >&5 7093 echo "${ECHO_T}\"no\"" >&6 7094 else 7095 echo "$as_me:$LINENO: result: \"yes\"" >&5 7096 echo "${ECHO_T}\"yes\"" >&6 7097 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 7098 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} 7099 { (exit 1); exit 1; }; } 5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5 5864 $as_echo "\"no\"" >&6; } 5865 else 5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5 5867 $as_echo "\"yes\"" >&6; } 5868 as_fn_error "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5 7100 5869 fi 7101 5870 … … 7109 5878 7110 5879 # check for endianness 7111 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7112 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 7113 if test "${ac_cv_c_bigendian+set}" = set; then 7114 echo $ECHO_N "(cached) $ECHO_C" >&6 7115 else 7116 # See if sys/param.h defines the BYTE_ORDER macro. 7117 cat >conftest.$ac_ext <<_ACEOF 7118 /* confdefs.h. */ 7119 _ACEOF 7120 cat confdefs.h >>conftest.$ac_ext 7121 cat >>conftest.$ac_ext <<_ACEOF 5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 5881 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 5882 if test "${ac_cv_c_bigendian+set}" = set; then : 5883 $as_echo_n "(cached) " >&6 5884 else 5885 ac_cv_c_bigendian=unknown 5886 # See if we're dealing with a universal compiler. 5887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5888 /* end confdefs.h. */ 5889 #ifndef __APPLE_CC__ 5890 not a universal capable compiler 5891 #endif 5892 typedef int dummy; 5893 5894 _ACEOF 5895 if ac_fn_cxx_try_compile "$LINENO"; then : 5896 5897 # Check for potential -arch flags. It is not universal unless 5898 # there are at least two -arch flags with different values. 5899 ac_arch= 5900 ac_prev= 5901 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 5902 if test -n "$ac_prev"; then 5903 case $ac_word in 5904 i?86 | x86_64 | ppc | ppc64) 5905 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 5906 ac_arch=$ac_word 5907 else 5908 ac_cv_c_bigendian=universal 5909 break 5910 fi 5911 ;; 5912 esac 5913 ac_prev= 5914 elif test "x$ac_word" = "x-arch"; then 5915 ac_prev=arch 5916 fi 5917 done 5918 fi 5919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5920 if test $ac_cv_c_bigendian = unknown; then 5921 # See if sys/param.h defines the BYTE_ORDER macro. 5922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7122 5923 /* end confdefs.h. */ 7123 5924 #include <sys/types.h> 7124 #include <sys/param.h>5925 #include <sys/param.h> 7125 5926 7126 5927 int 7127 5928 main () 7128 5929 { 7129 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7130 bogus endian macros 7131 #endif 5930 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 5931 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 5932 && LITTLE_ENDIAN) 5933 bogus endian macros 5934 #endif 7132 5935 7133 5936 ; … … 7135 5938 } 7136 5939 _ACEOF 7137 rm -f conftest.$ac_objext 7138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7139 (eval $ac_compile) 2>conftest.er1 7140 ac_status=$? 7141 grep -v '^ *+' conftest.er1 >conftest.err 7142 rm -f conftest.er1 7143 cat conftest.err >&5 7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7145 (exit $ac_status); } && 7146 { ac_try='test -z "$ac_cxx_werror_flag" 7147 || test ! -s conftest.err' 7148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7149 (eval $ac_try) 2>&5 7150 ac_status=$? 7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7152 (exit $ac_status); }; } && 7153 { ac_try='test -s conftest.$ac_objext' 7154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7155 (eval $ac_try) 2>&5 7156 ac_status=$? 7157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7158 (exit $ac_status); }; }; then 5940 if ac_fn_cxx_try_compile "$LINENO"; then : 7159 5941 # It does; now see whether it defined to BIG_ENDIAN or not. 7160 cat >conftest.$ac_ext <<_ACEOF 7161 /* confdefs.h. */ 7162 _ACEOF 7163 cat confdefs.h >>conftest.$ac_ext 7164 cat >>conftest.$ac_ext <<_ACEOF 5942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7165 5943 /* end confdefs.h. */ 7166 5944 #include <sys/types.h> 7167 #include <sys/param.h>5945 #include <sys/param.h> 7168 5946 7169 5947 int … … 7171 5949 { 7172 5950 #if BYTE_ORDER != BIG_ENDIAN 7173 not big endian7174 #endif5951 not big endian 5952 #endif 7175 5953 7176 5954 ; … … 7178 5956 } 7179 5957 _ACEOF 7180 rm -f conftest.$ac_objext 7181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7182 (eval $ac_compile) 2>conftest.er1 7183 ac_status=$? 7184 grep -v '^ *+' conftest.er1 >conftest.err 7185 rm -f conftest.er1 7186 cat conftest.err >&5 7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7188 (exit $ac_status); } && 7189 { ac_try='test -z "$ac_cxx_werror_flag" 7190 || test ! -s conftest.err' 7191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7192 (eval $ac_try) 2>&5 7193 ac_status=$? 7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7195 (exit $ac_status); }; } && 7196 { ac_try='test -s conftest.$ac_objext' 7197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7198 (eval $ac_try) 2>&5 7199 ac_status=$? 7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7201 (exit $ac_status); }; }; then 5958 if ac_fn_cxx_try_compile "$LINENO"; then : 7202 5959 ac_cv_c_bigendian=yes 7203 5960 else 7204 echo "$as_me: failed program was:" >&5 7205 sed 's/^/| /' conftest.$ac_ext >&5 7206 7207 ac_cv_c_bigendian=no 7208 fi 7209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7210 else 7211 echo "$as_me: failed program was:" >&5 7212 sed 's/^/| /' conftest.$ac_ext >&5 7213 7214 # It does not; compile a test program. 7215 if test "$cross_compiling" = yes; then 7216 # try to guess the endianness by grepping values into an object file 7217 ac_cv_c_bigendian=unknown 7218 cat >conftest.$ac_ext <<_ACEOF 7219 /* confdefs.h. */ 7220 _ACEOF 7221 cat confdefs.h >>conftest.$ac_ext 7222 cat >>conftest.$ac_ext <<_ACEOF 5961 ac_cv_c_bigendian=no 5962 fi 5963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5964 fi 5965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5966 fi 5967 if test $ac_cv_c_bigendian = unknown; then 5968 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 5969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7223 5970 /* end confdefs.h. */ 7224 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7225 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7226 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7227 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7228 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7229 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 5971 #include <limits.h> 5972 7230 5973 int 7231 5974 main () 7232 5975 { 7233 _ascii (); _ebcdic (); 5976 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 5977 bogus endian macros 5978 #endif 5979 7234 5980 ; 7235 5981 return 0; 7236 5982 } 7237 5983 _ACEOF 7238 rm -f conftest.$ac_objext 7239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7240 (eval $ac_compile) 2>conftest.er1 7241 ac_status=$? 7242 grep -v '^ *+' conftest.er1 >conftest.err 7243 rm -f conftest.er1 7244 cat conftest.err >&5 7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7246 (exit $ac_status); } && 7247 { ac_try='test -z "$ac_cxx_werror_flag" 7248 || test ! -s conftest.err' 7249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7250 (eval $ac_try) 2>&5 7251 ac_status=$? 7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7253 (exit $ac_status); }; } && 7254 { ac_try='test -s conftest.$ac_objext' 7255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7256 (eval $ac_try) 2>&5 7257 ac_status=$? 7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7259 (exit $ac_status); }; }; then 7260 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7261 ac_cv_c_bigendian=yes 7262 fi 7263 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 7264 if test "$ac_cv_c_bigendian" = unknown; then 7265 ac_cv_c_bigendian=no 7266 else 7267 # finding both strings is unlikely to happen, but who knows? 7268 ac_cv_c_bigendian=unknown 7269 fi 7270 fi 7271 else 7272 echo "$as_me: failed program was:" >&5 7273 sed 's/^/| /' conftest.$ac_ext >&5 7274 7275 fi 7276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7277 else 7278 cat >conftest.$ac_ext <<_ACEOF 7279 /* confdefs.h. */ 7280 _ACEOF 7281 cat confdefs.h >>conftest.$ac_ext 7282 cat >>conftest.$ac_ext <<_ACEOF 5984 if ac_fn_cxx_try_compile "$LINENO"; then : 5985 # It does; now see whether it defined to _BIG_ENDIAN or not. 5986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7283 5987 /* end confdefs.h. */ 5988 #include <limits.h> 5989 7284 5990 int 7285 5991 main () 7286 5992 { 7287 /* Are we little or big endian? From Harbison&Steele. */ 7288 union 7289 { 7290 long l; 7291 char c[sizeof (long)]; 7292 } u; 7293 u.l = 1; 7294 exit (u.c[sizeof (long) - 1] == 1); 5993 #ifndef _BIG_ENDIAN 5994 not big endian 5995 #endif 5996 5997 ; 5998 return 0; 7295 5999 } 7296 6000 _ACEOF 7297 rm -f conftest$ac_exeext 7298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7299 (eval $ac_link) 2>&5 7300 ac_status=$? 7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7304 (eval $ac_try) 2>&5 7305 ac_status=$? 7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7307 (exit $ac_status); }; }; then 6001 if ac_fn_cxx_try_compile "$LINENO"; then : 6002 ac_cv_c_bigendian=yes 6003 else 7308 6004 ac_cv_c_bigendian=no 7309 else 7310 echo "$as_me: program exited with status $ac_status" >&5 7311 echo "$as_me: failed program was:" >&5 7312 sed 's/^/| /' conftest.$ac_ext >&5 7313 7314 ( exit $ac_status ) 7315 ac_cv_c_bigendian=yes 7316 fi 7317 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7318 fi 7319 fi 7320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7321 fi 7322 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7323 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7324 case $ac_cv_c_bigendian in 7325 yes) 7326 7327 cat >>confdefs.h <<\_ACEOF 7328 #define WORDS_BIGENDIAN 1 7329 _ACEOF 7330 ;; 7331 no) 7332 ;; 7333 *) 7334 { { echo "$as_me:$LINENO: error: unknown endianness 7335 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 7336 echo "$as_me: error: unknown endianness 7337 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 7338 { (exit 1); exit 1; }; } ;; 7339 esac 6005 fi 6006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6007 fi 6008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6009 fi 6010 if test $ac_cv_c_bigendian = unknown; then 6011 # Compile a test program. 6012 if test "$cross_compiling" = yes; then : 6013 # Try to guess by grepping values from an object file. 6014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6015 /* end confdefs.h. */ 6016 short int ascii_mm[] = 6017 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 6018 short int ascii_ii[] = 6019 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 6020 int use_ascii (int i) { 6021 return ascii_mm[i] + ascii_ii[i]; 6022 } 6023 short int ebcdic_ii[] = 6024 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 6025 short int ebcdic_mm[] = 6026 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 6027 int use_ebcdic (int i) { 6028 return ebcdic_mm[i] + ebcdic_ii[i]; 6029 } 6030 extern int foo; 6031 6032 int 6033 main () 6034 { 6035 return use_ascii (foo) == use_ebcdic (foo); 6036 ; 6037 return 0; 6038 } 6039 _ACEOF 6040 if ac_fn_cxx_try_compile "$LINENO"; then : 6041 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 6042 ac_cv_c_bigendian=yes 6043 fi 6044 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 6045 if test "$ac_cv_c_bigendian" = unknown; then 6046 ac_cv_c_bigendian=no 6047 else 6048 # finding both strings is unlikely to happen, but who knows? 6049 ac_cv_c_bigendian=unknown 6050 fi 6051 fi 6052 fi 6053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6054 else 6055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6056 /* end confdefs.h. */ 6057 $ac_includes_default 6058 int 6059 main () 6060 { 6061 6062 /* Are we little or big endian? From Harbison&Steele. */ 6063 union 6064 { 6065 long int l; 6066 char c[sizeof (long int)]; 6067 } u; 6068 u.l = 1; 6069 return u.c[sizeof (long int) - 1] == 1; 6070 6071 ; 6072 return 0; 6073 } 6074 _ACEOF 6075 if ac_fn_cxx_try_run "$LINENO"; then : 6076 ac_cv_c_bigendian=no 6077 else 6078 ac_cv_c_bigendian=yes 6079 fi 6080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6081 conftest.$ac_objext conftest.beam conftest.$ac_ext 6082 fi 6083 6084 fi 6085 fi 6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 6087 $as_echo "$ac_cv_c_bigendian" >&6; } 6088 case $ac_cv_c_bigendian in #( 6089 yes) 6090 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 6091 ;; #( 6092 no) 6093 ;; #( 6094 universal) 6095 6096 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 6097 6098 ;; #( 6099 *) 6100 as_fn_error "unknown endianness 6101 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 6102 esac 7340 6103 7341 6104 # --------------------------------------------------------------------------- 7342 6105 if test "$ac_cv_func_alloca" = 'no'; then 7343 case $LIBOBJS in 7344 "xmalloc.o.$ac_objext" | \ 7345 *" xmalloc.o.$ac_objext" | \ 7346 "xmalloc.o.$ac_objext "* | \ 6106 case " $LIBOBJS " in 7347 6107 *" xmalloc.o.$ac_objext "* ) ;; 7348 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 6108 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 6109 ;; 7349 6110 esac 7350 6111 7351 case $LIBOBJS in 7352 "error.$ac_objext" | \ 7353 *" error.$ac_objext" | \ 7354 "error.$ac_objext "* | \ 6112 case " $LIBOBJS " in 7355 6113 *" error.$ac_objext "* ) ;; 7356 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 6114 *) LIBOBJS="$LIBOBJS error.$ac_objext" 6115 ;; 7357 6116 esac 7358 6117 … … 7387 6146 subdirs="$subdirs common-src" 7388 6147 7389 7390 7391 6148 subdirs="$subdirs build-src" 7392 6149 … … 7397 6154 7398 6155 if test -d runtime-src; then 7399 7400 7401 subdirs="$subdirs runtime-src" 6156 subdirs="$subdirs runtime-src" 7402 6157 7403 6158 srclist="$srclist \ … … 7405 6160 fi 7406 6161 7407 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs" 6162 ac_config_files="$ac_config_files Makefile $srclist $moduleDirs" 6163 7408 6164 cat >confcache <<\_ACEOF 7409 6165 # This file is a shell script that caches the results of configure … … 7424 6180 # The following way of writing the cache mishandles newlines in values, 7425 6181 # but we know of no workaround that is simple, portable, and efficient. 7426 # So, don't put newlines in cache variables' values.6182 # So, we kill variables containing newlines. 7427 6183 # Ultrix sh set writes to stderr and can't be redirected directly, 7428 6184 # and sets the high bit in the cache file unless we assign to the vars. 7429 { 6185 ( 6186 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6187 eval ac_val=\$$ac_var 6188 case $ac_val in #( 6189 *${as_nl}*) 6190 case $ac_var in #( 6191 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6193 esac 6194 case $ac_var in #( 6195 _ | IFS | as_nl) ;; #( 6196 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6197 *) { eval $ac_var=; unset $ac_var;} ;; 6198 esac ;; 6199 esac 6200 done 6201 7430 6202 (set) 2>&1 | 7431 case `(ac_space=' '; set | grep ac_space) 2>&1` in7432 * ac_space=\ *)7433 # `set' does not quote correctly, so add quotes (double-quote7434 # substitution turns \\\\ into \\, and sed turns \\ into \ ).6203 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6204 *${as_nl}ac_space=\ *) 6205 # `set' does not quote correctly, so add quotes: double-quote 6206 # substitution turns \\\\ into \\, and sed turns \\ into \. 7435 6207 sed -n \ 7436 6208 "s/'/'\\\\''/g; 7437 6209 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7438 ;; 6210 ;; #( 7439 6211 *) 7440 6212 # `set' quotes correctly as required by POSIX, so do not add quotes. 7441 sed -n \ 7442 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6213 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7443 6214 ;; 7444 esac; 7445 } | 6215 esac | 6216 sort 6217 ) | 7446 6218 sed ' 6219 /^ac_cv_env_/b end 7447 6220 t clear 7448 : 6221 :clear 7449 6222 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7450 6223 t end 7451 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7452 : end' >>confcache 7453 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7454 if test -w $cache_file; then 7455 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 6224 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6225 :end' >>confcache 6226 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6227 if test -w "$cache_file"; then 6228 test "x$cache_file" != "x/dev/null" && 6229 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6230 $as_echo "$as_me: updating cache $cache_file" >&6;} 7456 6231 cat confcache >$cache_file 7457 6232 else 7458 echo "not updating unwritable cache $cache_file" 6233 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6234 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7459 6235 fi 7460 6236 fi … … 7464 6240 # Let make expand exec_prefix. 7465 6241 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7466 7467 # VPATH may cause trouble with some makes, so we remove $(srcdir),7468 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7469 # trailing colons and then remove the whole line if VPATH becomes empty7470 # (actually we leave an empty line to preserve line numbers).7471 if test "x$srcdir" = x.; then7472 ac_vpsub='/^[ ]*VPATH[ ]*=/{7473 s/:*\$(srcdir):*/:/;7474 s/:*\${srcdir}:*/:/;7475 s/:*@srcdir@:*/:/;7476 s/^\([^=]*=[ ]*\):*/\1/;7477 s/:*$//;7478 s/^[^=]*=[ ]*$//;7479 }'7480 fi7481 6242 7482 6243 DEFS=-DHAVE_CONFIG_H … … 7486 6247 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7487 6248 # 1. Remove the extension, and $U if already installed. 7488 ac_i=`echo "$ac_i" | 7489 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7490 # 2. Add them. 7491 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7492 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 6249 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6250 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6251 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6252 # will be set to the directory where LIBOBJS objects are built. 6253 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6254 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7493 6255 done 7494 6256 LIBOBJS=$ac_libobjs … … 7498 6260 7499 6261 6262 7500 6263 : ${CONFIG_STATUS=./config.status} 6264 ac_write_fail=0 7501 6265 ac_clean_files_save=$ac_clean_files 7502 6266 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7503 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 7504 echo "$as_me: creating $CONFIG_STATUS" >&6;} 7505 cat >$CONFIG_STATUS <<_ACEOF 6267 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6268 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6269 as_write_fail=0 6270 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7506 6271 #! $SHELL 7507 6272 # Generated by $as_me. … … 7513 6278 ac_cs_recheck=false 7514 6279 ac_cs_silent=false 6280 7515 6281 SHELL=\${CONFIG_SHELL-$SHELL} 7516 _ACEOF 7517 7518 cat >>$CONFIG_STATUS <<\_ACEOF 7519 ## --------------------- ## 7520 ## M4sh Initialization. ## 7521 ## --------------------- ## 7522 7523 # Be Bourne compatible 7524 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6282 export SHELL 6283 _ASEOF 6284 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6285 ## -------------------- ## 6286 ## M4sh Initialization. ## 6287 ## -------------------- ## 6288 6289 # Be more Bourne compatible 6290 DUALCASE=1; export DUALCASE # for MKS sh 6291 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7525 6292 emulate sh 7526 6293 NULLCMD=: 7527 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which6294 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7528 6295 # is contrary to our usage. Disable this feature. 7529 6296 alias -g '${1+"$@"}'='"$@"' 7530 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7531 set -o posix 7532 fi 7533 DUALCASE=1; export DUALCASE # for MKS sh 7534 7535 # Support unset when possible. 7536 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7537 as_unset=unset 7538 else 7539 as_unset=false 7540 fi 7541 7542 7543 # Work around bugs in pre-3.0 UWIN ksh. 7544 $as_unset ENV MAIL MAILPATH 6297 setopt NO_GLOB_SUBST 6298 else 6299 case `(set -o) 2>/dev/null` in #( 6300 *posix*) : 6301 set -o posix ;; #( 6302 *) : 6303 ;; 6304 esac 6305 fi 6306 6307 6308 as_nl=' 6309 ' 6310 export as_nl 6311 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6312 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6313 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6314 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6315 # Prefer a ksh shell builtin over an external printf program on Solaris, 6316 # but without wasting forks for bash or zsh. 6317 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6318 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6319 as_echo='print -r --' 6320 as_echo_n='print -rn --' 6321 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6322 as_echo='printf %s\n' 6323 as_echo_n='printf %s' 6324 else 6325 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6326 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6327 as_echo_n='/usr/ucb/echo -n' 6328 else 6329 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6330 as_echo_n_body='eval 6331 arg=$1; 6332 case $arg in #( 6333 *"$as_nl"*) 6334 expr "X$arg" : "X\\(.*\\)$as_nl"; 6335 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6336 esac; 6337 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6338 ' 6339 export as_echo_n_body 6340 as_echo_n='sh -c $as_echo_n_body as_echo' 6341 fi 6342 export as_echo_body 6343 as_echo='sh -c $as_echo_body as_echo' 6344 fi 6345 6346 # The user is always right. 6347 if test "${PATH_SEPARATOR+set}" != set; then 6348 PATH_SEPARATOR=: 6349 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6350 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6351 PATH_SEPARATOR=';' 6352 } 6353 fi 6354 6355 6356 # IFS 6357 # We need space, tab and new line, in precisely that order. Quoting is 6358 # there to prevent editors from complaining about space-tab. 6359 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 6360 # splitting by setting IFS to empty value.) 6361 IFS=" "" $as_nl" 6362 6363 # Find who we are. Look in the path if we contain no directory separator. 6364 case $0 in #(( 6365 *[\\/]* ) as_myself=$0 ;; 6366 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6367 for as_dir in $PATH 6368 do 6369 IFS=$as_save_IFS 6370 test -z "$as_dir" && as_dir=. 6371 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6372 done 6373 IFS=$as_save_IFS 6374 6375 ;; 6376 esac 6377 # We did not find ourselves, most probably we were run as `sh COMMAND' 6378 # in which case we are not to be found in the path. 6379 if test "x$as_myself" = x; then 6380 as_myself=$0 6381 fi 6382 if test ! -f "$as_myself"; then 6383 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6384 exit 1 6385 fi 6386 6387 # Unset variables that we do not need and which cause bugs (e.g. in 6388 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6389 # suppresses any "Segmentation fault" message there. '((' could 6390 # trigger a bug in pdksh 5.2.14. 6391 for as_var in BASH_ENV ENV MAIL MAILPATH 6392 do eval test x\${$as_var+set} = xset \ 6393 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6394 done 7545 6395 PS1='$ ' 7546 6396 PS2='> ' … … 7548 6398 7549 6399 # NLS nuisances. 7550 for as_var in \ 7551 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7552 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7553 LC_TELEPHONE LC_TIME 7554 do 7555 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7556 eval $as_var=C; export $as_var 7557 else 7558 $as_unset $as_var 6400 LC_ALL=C 6401 export LC_ALL 6402 LANGUAGE=C 6403 export LANGUAGE 6404 6405 # CDPATH. 6406 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6407 6408 6409 # as_fn_error ERROR [LINENO LOG_FD] 6410 # --------------------------------- 6411 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6412 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6413 # script with status $?, using 1 if that was 0. 6414 as_fn_error () 6415 { 6416 as_status=$?; test $as_status -eq 0 && as_status=1 6417 if test "$3"; then 6418 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6419 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 7559 6420 fi 7560 done 7561 7562 # Required to use basename. 7563 if expr a : '\(a\)' >/dev/null 2>&1; then 6421 $as_echo "$as_me: error: $1" >&2 6422 as_fn_exit $as_status 6423 } # as_fn_error 6424 6425 6426 # as_fn_set_status STATUS 6427 # ----------------------- 6428 # Set $? to STATUS, without forking. 6429 as_fn_set_status () 6430 { 6431 return $1 6432 } # as_fn_set_status 6433 6434 # as_fn_exit STATUS 6435 # ----------------- 6436 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6437 as_fn_exit () 6438 { 6439 set +e 6440 as_fn_set_status $1 6441 exit $1 6442 } # as_fn_exit 6443 6444 # as_fn_unset VAR 6445 # --------------- 6446 # Portably unset VAR. 6447 as_fn_unset () 6448 { 6449 { eval $1=; unset $1;} 6450 } 6451 as_unset=as_fn_unset 6452 # as_fn_append VAR VALUE 6453 # ---------------------- 6454 # Append the text in VALUE to the end of the definition contained in VAR. Take 6455 # advantage of any shell optimizations that allow amortized linear growth over 6456 # repeated appends, instead of the typical quadratic growth present in naive 6457 # implementations. 6458 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6459 eval 'as_fn_append () 6460 { 6461 eval $1+=\$2 6462 }' 6463 else 6464 as_fn_append () 6465 { 6466 eval $1=\$$1\$2 6467 } 6468 fi # as_fn_append 6469 6470 # as_fn_arith ARG... 6471 # ------------------ 6472 # Perform arithmetic evaluation on the ARGs, and store the result in the 6473 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6474 # must be portable across $(()) and expr. 6475 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6476 eval 'as_fn_arith () 6477 { 6478 as_val=$(( $* )) 6479 }' 6480 else 6481 as_fn_arith () 6482 { 6483 as_val=`expr "$@" || test $? -eq 1` 6484 } 6485 fi # as_fn_arith 6486 6487 6488 if expr a : '\(a\)' >/dev/null 2>&1 && 6489 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7564 6490 as_expr=expr 7565 6491 else … … 7567 6493 fi 7568 6494 7569 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then6495 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7570 6496 as_basename=basename 7571 6497 else … … 7573 6499 fi 7574 6500 7575 7576 # Name of the executable. 7577 as_me=`$as_basename "$0" || 6501 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6502 as_dirname=dirname 6503 else 6504 as_dirname=false 6505 fi 6506 6507 as_me=`$as_basename -- "$0" || 7578 6508 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7579 6509 X"$0" : 'X\(//\)$' \| \ 7580 X"$0" : 'X\(/\)$' \| \ 7581 . : '\(.\)' 2>/dev/null || 7582 echo X/"$0" | 7583 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7584 /^X\/\(\/\/\)$/{ s//\1/; q; } 7585 /^X\/\(\/\).*/{ s//\1/; q; } 7586 s/.*/./; q'` 7587 7588 7589 # PATH needs CR, and LINENO needs CR and PATH. 6510 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6511 $as_echo X/"$0" | 6512 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6513 s//\1/ 6514 q 6515 } 6516 /^X\/\(\/\/\)$/{ 6517 s//\1/ 6518 q 6519 } 6520 /^X\/\(\/\).*/{ 6521 s//\1/ 6522 q 6523 } 6524 s/.*/./; q'` 6525 7590 6526 # Avoid depending upon Character Ranges. 7591 6527 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7595 6531 as_cr_alnum=$as_cr_Letters$as_cr_digits 7596 6532 7597 # The user is always right. 7598 if test "${PATH_SEPARATOR+set}" != set; then 7599 echo "#! /bin/sh" >conf$$.sh 7600 echo "exit 0" >>conf$$.sh 7601 chmod +x conf$$.sh 7602 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 7603 PATH_SEPARATOR=';' 6533 ECHO_C= ECHO_N= ECHO_T= 6534 case `echo -n x` in #((((( 6535 -n*) 6536 case `echo 'xy\c'` in 6537 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6538 xy) ECHO_C='\c';; 6539 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6540 ECHO_T=' ';; 6541 esac;; 6542 *) 6543 ECHO_N='-n';; 6544 esac 6545 6546 rm -f conf$$ conf$$.exe conf$$.file 6547 if test -d conf$$.dir; then 6548 rm -f conf$$.dir/conf$$.file 6549 else 6550 rm -f conf$$.dir 6551 mkdir conf$$.dir 2>/dev/null 6552 fi 6553 if (echo >conf$$.file) 2>/dev/null; then 6554 if ln -s conf$$.file conf$$ 2>/dev/null; then 6555 as_ln_s='ln -s' 6556 # ... but there are two gotchas: 6557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6559 # In both cases, we have to default to `cp -p'. 6560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6561 as_ln_s='cp -p' 6562 elif ln conf$$.file conf$$ 2>/dev/null; then 6563 as_ln_s=ln 7604 6564 else 7605 PATH_SEPARATOR=:6565 as_ln_s='cp -p' 7606 6566 fi 7607 rm -f conf$$.sh 7608 fi 7609 7610 7611 as_lineno_1=$LINENO 7612 as_lineno_2=$LINENO 7613 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7614 test "x$as_lineno_1" != "x$as_lineno_2" && 7615 test "x$as_lineno_3" = "x$as_lineno_2" || { 7616 # Find who we are. Look in the path if we contain no path at all 7617 # relative or not. 7618 case $0 in 7619 *[\\/]* ) as_myself=$0 ;; 7620 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7621 for as_dir in $PATH 7622 do 7623 IFS=$as_save_IFS 7624 test -z "$as_dir" && as_dir=. 7625 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7626 done 7627 7628 ;; 6567 else 6568 as_ln_s='cp -p' 6569 fi 6570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6571 rmdir conf$$.dir 2>/dev/null 6572 6573 6574 # as_fn_mkdir_p 6575 # ------------- 6576 # Create "$as_dir" as a directory, including parents if necessary. 6577 as_fn_mkdir_p () 6578 { 6579 6580 case $as_dir in #( 6581 -*) as_dir=./$as_dir;; 7629 6582 esac 7630 # We did not find ourselves, most probably we were run as `sh COMMAND' 7631 # in which case we are not to be found in the path. 7632 if test "x$as_myself" = x; then 7633 as_myself=$0 7634 fi 7635 if test ! -f "$as_myself"; then 7636 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 7637 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 7638 { (exit 1); exit 1; }; } 7639 fi 7640 case $CONFIG_SHELL in 7641 '') 7642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7643 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 7644 do 7645 IFS=$as_save_IFS 7646 test -z "$as_dir" && as_dir=. 7647 for as_base in sh bash ksh sh5; do 7648 case $as_dir in 7649 /*) 7650 if ("$as_dir/$as_base" -c ' 7651 as_lineno_1=$LINENO 7652 as_lineno_2=$LINENO 7653 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7654 test "x$as_lineno_1" != "x$as_lineno_2" && 7655 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 7656 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 7657 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 7658 CONFIG_SHELL=$as_dir/$as_base 7659 export CONFIG_SHELL 7660 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 7661 fi;; 7662 esac 7663 done 7664 done 7665 ;; 7666 esac 7667 7668 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7669 # uniformly replaced by the line number. The first 'sed' inserts a 7670 # line-number line before each line; the second 'sed' does the real 7671 # work. The second script uses 'N' to pair each line-number line 7672 # with the numbered line, and appends trailing '-' during 7673 # substitution so that $LINENO is not a special case at line end. 7674 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 7675 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 7676 sed '=' <$as_myself | 7677 sed ' 7678 N 7679 s,$,-, 7680 : loop 7681 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 7682 t loop 7683 s,-$,, 7684 s,^['$as_cr_digits']*\n,, 7685 ' >$as_me.lineno && 7686 chmod +x $as_me.lineno || 7687 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 7688 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 7689 { (exit 1); exit 1; }; } 7690 7691 # Don't try to exec as it changes $[0], causing all sort of problems 7692 # (the dirname of $[0] is not the place where we might find the 7693 # original and so on. Autoconf is especially sensible to this). 7694 . ./$as_me.lineno 7695 # Exit status is that of the last command. 7696 exit 7697 } 7698 7699 7700 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 7701 *c*,-n*) ECHO_N= ECHO_C=' 7702 ' ECHO_T=' ' ;; 7703 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 7704 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7705 esac 7706 7707 if expr a : '\(a\)' >/dev/null 2>&1; then 7708 as_expr=expr 7709 else 7710 as_expr=false 7711 fi 7712 7713 rm -f conf$$ conf$$.exe conf$$.file 7714 echo >conf$$.file 7715 if ln -s conf$$.file conf$$ 2>/dev/null; then 7716 # We could just check for DJGPP; but this test a) works b) is more generic 7717 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 7718 if test -f conf$$.exe; then 7719 # Don't use ln at all; we don't have any links 7720 as_ln_s='cp -p' 7721 else 7722 as_ln_s='ln -s' 7723 fi 7724 elif ln conf$$.file conf$$ 2>/dev/null; then 7725 as_ln_s=ln 7726 else 7727 as_ln_s='cp -p' 7728 fi 7729 rm -f conf$$ conf$$.exe conf$$.file 7730 6583 test -d "$as_dir" || eval $as_mkdir_p || { 6584 as_dirs= 6585 while :; do 6586 case $as_dir in #( 6587 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6588 *) as_qdir=$as_dir;; 6589 esac 6590 as_dirs="'$as_qdir' $as_dirs" 6591 as_dir=`$as_dirname -- "$as_dir" || 6592 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6593 X"$as_dir" : 'X\(//\)[^/]' \| \ 6594 X"$as_dir" : 'X\(//\)$' \| \ 6595 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6596 $as_echo X"$as_dir" | 6597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6598 s//\1/ 6599 q 6600 } 6601 /^X\(\/\/\)[^/].*/{ 6602 s//\1/ 6603 q 6604 } 6605 /^X\(\/\/\)$/{ 6606 s//\1/ 6607 q 6608 } 6609 /^X\(\/\).*/{ 6610 s//\1/ 6611 q 6612 } 6613 s/.*/./; q'` 6614 test -d "$as_dir" && break 6615 done 6616 test -z "$as_dirs" || eval "mkdir $as_dirs" 6617 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 6618 6619 6620 } # as_fn_mkdir_p 7731 6621 if mkdir -p . 2>/dev/null; then 7732 as_mkdir_p= :6622 as_mkdir_p='mkdir -p "$as_dir"' 7733 6623 else 7734 6624 test -d ./-p && rmdir ./-p … … 7736 6626 fi 7737 6627 7738 as_executable_p="test -f" 6628 if test -x / >/dev/null 2>&1; then 6629 as_test_x='test -x' 6630 else 6631 if ls -dL / >/dev/null 2>&1; then 6632 as_ls_L_option=L 6633 else 6634 as_ls_L_option= 6635 fi 6636 as_test_x=' 6637 eval sh -c '\'' 6638 if test -d "$1"; then 6639 test -d "$1/."; 6640 else 6641 case $1 in #( 6642 -*)set "./$1";; 6643 esac; 6644 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 6645 ???[sx]*):;;*)false;;esac;fi 6646 '\'' sh 6647 ' 6648 fi 6649 as_executable_p=$as_test_x 7739 6650 7740 6651 # Sed expression to map a string onto a valid CPP name. … … 7745 6656 7746 6657 7747 # IFS7748 # We need space, tab and new line, in precisely that order.7749 as_nl='7750 '7751 IFS=" $as_nl"7752 7753 # CDPATH.7754 $as_unset CDPATH7755 7756 6658 exec 6>&1 7757 7758 # Open the log real soon, to keep \$[0] and so on meaningful, and to 6659 ## ----------------------------------- ## 6660 ## Main body of $CONFIG_STATUS script. ## 6661 ## ----------------------------------- ## 6662 _ASEOF 6663 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6664 6665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6666 # Save the log message, to keep $0 and so on meaningful, and to 7759 6667 # report actual input values of CONFIG_FILES etc. instead of their 7760 # values after options handling. Logging --version etc. is OK. 6668 # values after options handling. 6669 ac_log=" 6670 This file was extended by $as_me, which was 6671 generated by GNU Autoconf 2.65. Invocation command line was 6672 6673 CONFIG_FILES = $CONFIG_FILES 6674 CONFIG_HEADERS = $CONFIG_HEADERS 6675 CONFIG_LINKS = $CONFIG_LINKS 6676 CONFIG_COMMANDS = $CONFIG_COMMANDS 6677 $ $0 $@ 6678 6679 on `(hostname || uname -n) 2>/dev/null | sed 1q` 6680 " 6681 6682 _ACEOF 6683 6684 case $ac_config_files in *" 6685 "*) set x $ac_config_files; shift; ac_config_files=$*;; 6686 esac 6687 6688 case $ac_config_headers in *" 6689 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 6690 esac 6691 6692 6693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6694 # Files that config.status was made for. 6695 config_files="$ac_config_files" 6696 config_headers="$ac_config_headers" 6697 6698 _ACEOF 6699 6700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6701 ac_cs_usage="\ 6702 \`$as_me' instantiates files and other configuration actions 6703 from templates according to the current configuration. Unless the files 6704 and actions are specified as TAGs, all are instantiated by default. 6705 6706 Usage: $0 [OPTION]... [TAG]... 6707 6708 -h, --help print this help, then exit 6709 -V, --version print version number and configuration settings, then exit 6710 --config print configuration, then exit 6711 -q, --quiet, --silent 6712 do not print progress messages 6713 -d, --debug don't remove temporary files 6714 --recheck update $as_me by reconfiguring in the same conditions 6715 --file=FILE[:TEMPLATE] 6716 instantiate the configuration file FILE 6717 --header=FILE[:TEMPLATE] 6718 instantiate the configuration header FILE 6719 6720 Configuration files: 6721 $config_files 6722 6723 Configuration headers: 6724 $config_headers 6725 6726 Report bugs to the package provider." 6727 6728 _ACEOF 6729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6730 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 6731 ac_cs_version="\\ 6732 config.status 6733 configured by $0, generated by GNU Autoconf 2.65, 6734 with options \\"\$ac_cs_config\\" 6735 6736 Copyright (C) 2009 Free Software Foundation, Inc. 6737 This config.status script is free software; the Free Software Foundation 6738 gives unlimited permission to copy, distribute and modify it." 6739 6740 ac_pwd='$ac_pwd' 6741 srcdir='$srcdir' 6742 INSTALL='$INSTALL' 6743 AWK='$AWK' 6744 test -n "\$AWK" || AWK=awk 6745 _ACEOF 6746 6747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6748 # The default lists apply if the user does not specify any file. 6749 ac_need_defaults=: 6750 while test $# != 0 6751 do 6752 case $1 in 6753 --*=*) 6754 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6755 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6756 ac_shift=: 6757 ;; 6758 *) 6759 ac_option=$1 6760 ac_optarg=$2 6761 ac_shift=shift 6762 ;; 6763 esac 6764 6765 case $ac_option in 6766 # Handling of the options. 6767 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6768 ac_cs_recheck=: ;; 6769 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6770 $as_echo "$ac_cs_version"; exit ;; 6771 --config | --confi | --conf | --con | --co | --c ) 6772 $as_echo "$ac_cs_config"; exit ;; 6773 --debug | --debu | --deb | --de | --d | -d ) 6774 debug=: ;; 6775 --file | --fil | --fi | --f ) 6776 $ac_shift 6777 case $ac_optarg in 6778 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6779 esac 6780 as_fn_append CONFIG_FILES " '$ac_optarg'" 6781 ac_need_defaults=false;; 6782 --header | --heade | --head | --hea ) 6783 $ac_shift 6784 case $ac_optarg in 6785 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6786 esac 6787 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 6788 ac_need_defaults=false;; 6789 --he | --h) 6790 # Conflict between --help and --header 6791 as_fn_error "ambiguous option: \`$1' 6792 Try \`$0 --help' for more information.";; 6793 --help | --hel | -h ) 6794 $as_echo "$ac_cs_usage"; exit ;; 6795 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6796 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6797 ac_cs_silent=: ;; 6798 6799 # This is an error. 6800 -*) as_fn_error "unrecognized option: \`$1' 6801 Try \`$0 --help' for more information." ;; 6802 6803 *) as_fn_append ac_config_targets " $1" 6804 ac_need_defaults=false ;; 6805 6806 esac 6807 shift 6808 done 6809 6810 ac_configure_extra_args= 6811 6812 if $ac_cs_silent; then 6813 exec 6>/dev/null 6814 ac_configure_extra_args="$ac_configure_extra_args --silent" 6815 fi 6816 6817 _ACEOF 6818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6819 if \$ac_cs_recheck; then 6820 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6821 shift 6822 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6823 CONFIG_SHELL='$SHELL' 6824 export CONFIG_SHELL 6825 exec "\$@" 6826 fi 6827 6828 _ACEOF 6829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7761 6830 exec 5>>config.log 7762 6831 { … … 7765 6834 ## Running $as_me. ## 7766 6835 _ASBOX 6836 $as_echo "$ac_log" 7767 6837 } >&5 7768 cat >&5 <<_CSEOF 7769 7770 This file was extended by $as_me, which was 7771 generated by GNU Autoconf 2.59. Invocation command line was 7772 7773 CONFIG_FILES = $CONFIG_FILES 7774 CONFIG_HEADERS = $CONFIG_HEADERS 7775 CONFIG_LINKS = $CONFIG_LINKS 7776 CONFIG_COMMANDS = $CONFIG_COMMANDS 7777 $ $0 $@ 7778 7779 _CSEOF 7780 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 7781 echo >&5 7782 _ACEOF 7783 7784 # Files that config.status was made for. 7785 if test -n "$ac_config_files"; then 7786 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 7787 fi 7788 7789 if test -n "$ac_config_headers"; then 7790 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 7791 fi 7792 7793 if test -n "$ac_config_links"; then 7794 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 7795 fi 7796 7797 if test -n "$ac_config_commands"; then 7798 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 7799 fi 7800 7801 cat >>$CONFIG_STATUS <<\_ACEOF 7802 7803 ac_cs_usage="\ 7804 \`$as_me' instantiates files from templates according to the 7805 current configuration. 7806 7807 Usage: $0 [OPTIONS] [FILE]... 7808 7809 -h, --help print this help, then exit 7810 -V, --version print version number, then exit 7811 -q, --quiet do not print progress messages 7812 -d, --debug don't remove temporary files 7813 --recheck update $as_me by reconfiguring in the same conditions 7814 --file=FILE[:TEMPLATE] 7815 instantiate the configuration file FILE 7816 --header=FILE[:TEMPLATE] 7817 instantiate the configuration header FILE 7818 7819 Configuration files: 7820 $config_files 7821 7822 Configuration headers: 7823 $config_headers 7824 7825 Report bugs to <[email protected]>." 7826 _ACEOF 7827 7828 cat >>$CONFIG_STATUS <<_ACEOF 7829 ac_cs_version="\\ 7830 config.status 7831 configured by $0, generated by GNU Autoconf 2.59, 7832 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 7833 7834 Copyright (C) 2003 Free Software Foundation, Inc. 7835 This config.status script is free software; the Free Software Foundation 7836 gives unlimited permission to copy, distribute and modify it." 7837 srcdir=$srcdir 7838 INSTALL="$INSTALL" 7839 _ACEOF 7840 7841 cat >>$CONFIG_STATUS <<\_ACEOF 7842 # If no file are specified by the user, then we need to provide default 7843 # value. By we need to know if files were specified by the user. 7844 ac_need_defaults=: 7845 while test $# != 0 7846 do 7847 case $1 in 7848 --*=*) 7849 ac_option=`expr "x$1" : 'x\([^=]*\)='` 7850 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 7851 ac_shift=: 7852 ;; 7853 -*) 7854 ac_option=$1 7855 ac_optarg=$2 7856 ac_shift=shift 7857 ;; 7858 *) # This is not an option, so the user has probably given explicit 7859 # arguments. 7860 ac_option=$1 7861 ac_need_defaults=false;; 7862 esac 7863 7864 case $ac_option in 7865 # Handling of the options. 7866 _ACEOF 7867 cat >>$CONFIG_STATUS <<\_ACEOF 7868 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7869 ac_cs_recheck=: ;; 7870 --version | --vers* | -V ) 7871 echo "$ac_cs_version"; exit 0 ;; 7872 --he | --h) 7873 # Conflict between --help and --header 7874 { { echo "$as_me:$LINENO: error: ambiguous option: $1 7875 Try \`$0 --help' for more information." >&5 7876 echo "$as_me: error: ambiguous option: $1 7877 Try \`$0 --help' for more information." >&2;} 7878 { (exit 1); exit 1; }; };; 7879 --help | --hel | -h ) 7880 echo "$ac_cs_usage"; exit 0 ;; 7881 --debug | --d* | -d ) 7882 debug=: ;; 7883 --file | --fil | --fi | --f ) 7884 $ac_shift 7885 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 7886 ac_need_defaults=false;; 7887 --header | --heade | --head | --hea ) 7888 $ac_shift 7889 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7890 ac_need_defaults=false;; 7891 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7892 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7893 ac_cs_silent=: ;; 7894 7895 # This is an error. 7896 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 7897 Try \`$0 --help' for more information." >&5 7898 echo "$as_me: error: unrecognized option: $1 7899 Try \`$0 --help' for more information." >&2;} 7900 { (exit 1); exit 1; }; } ;; 7901 7902 *) ac_config_targets="$ac_config_targets $1" ;; 7903 7904 esac 7905 shift 7906 done 7907 7908 ac_configure_extra_args= 7909 7910 if $ac_cs_silent; then 7911 exec 6>/dev/null 7912 ac_configure_extra_args="$ac_configure_extra_args --silent" 7913 fi 7914 7915 _ACEOF 7916 cat >>$CONFIG_STATUS <<_ACEOF 7917 if \$ac_cs_recheck; then 7918 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7919 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7920 fi 7921 7922 _ACEOF 7923 7924 7925 7926 7927 7928 cat >>$CONFIG_STATUS <<\_ACEOF 6838 6839 _ACEOF 6840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6841 _ACEOF 6842 6843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6844 6845 # Handling of arguments. 7929 6846 for ac_config_target in $ac_config_targets 7930 6847 do 7931 case "$ac_config_target" in 7932 # Handling of arguments. 7933 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7934 "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;; 7935 "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 7936 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7937 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7938 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 7939 { (exit 1); exit 1; }; };; 6848 case $ac_config_target in 6849 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 6850 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6851 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 6852 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 6853 6854 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7940 6855 esac 7941 6856 done 6857 7942 6858 7943 6859 # If the user did not use the arguments to specify the items to instantiate, … … 7951 6867 7952 6868 # Have a temporary directory for convenience. Make it in the build tree 7953 # simply because there is no reason to putit here, and in addition,6869 # simply because there is no reason against having it here, and in addition, 7954 6870 # creating and moving files from /tmp can sometimes cause problems. 7955 # Create a temporary directory, and hook for its removal unless debugging. 6871 # Hook for its removal unless debugging. 6872 # Note that there is a small window in which the directory will not be cleaned: 6873 # after its creation but before its name has been assigned to `$tmp'. 7956 6874 $debug || 7957 6875 { 7958 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 7959 trap '{ (exit 1); exit 1; }' 1 2 13 15 6876 tmp= 6877 trap 'exit_status=$? 6878 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6879 ' 0 6880 trap 'as_fn_exit 1' 1 2 13 15 7960 6881 } 7961 7962 6882 # Create a (secure) tmp directory for tmp files. 7963 6883 7964 6884 { 7965 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&6885 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7966 6886 test -n "$tmp" && test -d "$tmp" 7967 6887 } || 7968 6888 { 7969 tmp=./confstat$$-$RANDOM 7970 (umask 077 && mkdir $tmp) 7971 } || 6889 tmp=./conf$$-$RANDOM 6890 (umask 077 && mkdir "$tmp") 6891 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 6892 6893 # Set up the scripts for CONFIG_FILES section. 6894 # No need to generate them if there are no CONFIG_FILES. 6895 # This happens for instance with `./config.status config.h'. 6896 if test -n "$CONFIG_FILES"; then 6897 6898 6899 ac_cr=`echo X | tr X '\015'` 6900 # On cygwin, bash can eat \r inside `` if the user requested igncr. 6901 # But we know of no other shell where ac_cr would be empty at this 6902 # point, so we can use a bashism as a fallback. 6903 if test "x$ac_cr" = x; then 6904 eval ac_cr=\$\'\\r\' 6905 fi 6906 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6907 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6908 ac_cs_awk_cr='\r' 6909 else 6910 ac_cs_awk_cr=$ac_cr 6911 fi 6912 6913 echo 'BEGIN {' >"$tmp/subs1.awk" && 6914 _ACEOF 6915 6916 7972 6917 { 7973 echo "$me: cannot create a temporary directory in ." >&2 7974 { (exit 1); exit 1; } 6918 echo "cat >conf$$subs.awk <<_ACEOF" && 6919 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6920 echo "_ACEOF" 6921 } >conf$$subs.sh || 6922 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6923 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 6924 ac_delim='%!_!# ' 6925 for ac_last_try in false false false false false :; do 6926 . ./conf$$subs.sh || 6927 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6928 6929 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6930 if test $ac_delim_n = $ac_delim_num; then 6931 break 6932 elif $ac_last_try; then 6933 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6934 else 6935 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6936 fi 6937 done 6938 rm -f conf$$subs.sh 6939 6940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6941 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 6942 _ACEOF 6943 sed -n ' 6944 h 6945 s/^/S["/; s/!.*/"]=/ 6946 p 6947 g 6948 s/^[^!]*!// 6949 :repl 6950 t repl 6951 s/'"$ac_delim"'$// 6952 t delim 6953 :nl 6954 h 6955 s/\(.\{148\}\)..*/\1/ 6956 t more1 6957 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6958 p 6959 n 6960 b repl 6961 :more1 6962 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6963 p 6964 g 6965 s/.\{148\}// 6966 t nl 6967 :delim 6968 h 6969 s/\(.\{148\}\)..*/\1/ 6970 t more2 6971 s/["\\]/\\&/g; s/^/"/; s/$/"/ 6972 p 6973 b 6974 :more2 6975 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6976 p 6977 g 6978 s/.\{148\}// 6979 t delim 6980 ' <conf$$subs.awk | sed ' 6981 /^[^""]/{ 6982 N 6983 s/\n// 7975 6984 } 7976 7977 _ACEOF 7978 7979 cat >>$CONFIG_STATUS <<_ACEOF 7980 7981 # 7982 # CONFIG_FILES section. 7983 # 7984 7985 # No need to generate the scripts if there are no CONFIG_FILES. 7986 # This happens for instance when ./config.status config.h 7987 if test -n "\$CONFIG_FILES"; then 7988 # Protect against being on the right side of a sed subst in config.status. 7989 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 7990 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 7991 s,@SHELL@,$SHELL,;t t 7992 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 7993 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 7994 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 7995 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 7996 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 7997 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 7998 s,@exec_prefix@,$exec_prefix,;t t 7999 s,@prefix@,$prefix,;t t 8000 s,@program_transform_name@,$program_transform_name,;t t 8001 s,@bindir@,$bindir,;t t 8002 s,@sbindir@,$sbindir,;t t 8003 s,@libexecdir@,$libexecdir,;t t 8004 s,@datadir@,$datadir,;t t 8005 s,@sysconfdir@,$sysconfdir,;t t 8006 s,@sharedstatedir@,$sharedstatedir,;t t 8007 s,@localstatedir@,$localstatedir,;t t 8008 s,@libdir@,$libdir,;t t 8009 s,@includedir@,$includedir,;t t 8010 s,@oldincludedir@,$oldincludedir,;t t 8011 s,@infodir@,$infodir,;t t 8012 s,@mandir@,$mandir,;t t 8013 s,@build_alias@,$build_alias,;t t 8014 s,@host_alias@,$host_alias,;t t 8015 s,@target_alias@,$target_alias,;t t 8016 s,@DEFS@,$DEFS,;t t 8017 s,@ECHO_C@,$ECHO_C,;t t 8018 s,@ECHO_N@,$ECHO_N,;t t 8019 s,@ECHO_T@,$ECHO_T,;t t 8020 s,@LIBS@,$LIBS,;t t 8021 s,@PACKAGE@,$PACKAGE,;t t 8022 s,@VERSION@,$VERSION,;t t 8023 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 8024 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 8025 s,@USE_CORBA@,$USE_CORBA,;t t 8026 s,@MICO_DIR@,$MICO_DIR,;t t 8027 s,@USE_Z3950@,$USE_Z3950,;t t 8028 s,@USE_YAZ@,$USE_YAZ,;t t 8029 s,@USE_JDBM@,$USE_JDBM,;t t 8030 s,@USE_GDBM@,$USE_GDBM,;t t 8031 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 8032 s,@USE_SQLITE@,$USE_SQLITE,;t t 8033 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 8034 s,@ENABLE_JNI@,$ENABLE_JNI,;t t 8035 s,@ENABLE_MG@,$ENABLE_MG,;t t 8036 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 8037 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 8038 s,@LDFLAGS@,$LDFLAGS,;t t 8039 s,@CFLAGS@,$CFLAGS,;t t 8040 s,@CC@,$CC,;t t 8041 s,@CPPFLAGS@,$CPPFLAGS,;t t 8042 s,@ac_ct_CC@,$ac_ct_CC,;t t 8043 s,@EXEEXT@,$EXEEXT,;t t 8044 s,@OBJEXT@,$OBJEXT,;t t 8045 s,@CXX@,$CXX,;t t 8046 s,@CXXFLAGS@,$CXXFLAGS,;t t 8047 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 8048 s,@AWK@,$AWK,;t t 8049 s,@YACC@,$YACC,;t t 8050 s,@build@,$build,;t t 8051 s,@build_cpu@,$build_cpu,;t t 8052 s,@build_vendor@,$build_vendor,;t t 8053 s,@build_os@,$build_os,;t t 8054 s,@host@,$host,;t t 8055 s,@host_cpu@,$host_cpu,;t t 8056 s,@host_vendor@,$host_vendor,;t t 8057 s,@host_os@,$host_os,;t t 8058 s,@target@,$target,;t t 8059 s,@target_cpu@,$target_cpu,;t t 8060 s,@target_vendor@,$target_vendor,;t t 8061 s,@target_os@,$target_os,;t t 8062 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 8063 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 8064 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 8065 s,@LN_S@,$LN_S,;t t 8066 s,@SET_MAKE@,$SET_MAKE,;t t 8067 s,@RANLIB@,$RANLIB,;t t 8068 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 8069 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 8070 s,@MICO_VER@,$MICO_VER,;t t 8071 s,@CPP@,$CPP,;t t 8072 s,@EGREP@,$EGREP,;t t 8073 s,@U@,$U,;t t 8074 s,@ANSI2KNR@,$ANSI2KNR,;t t 8075 s,@ALLOCA@,$ALLOCA,;t t 8076 s,@LIBOBJS@,$LIBOBJS,;t t 8077 s,@STATIC@,$STATIC,;t t 8078 s,@gsdlos@,$gsdlos,;t t 8079 s,@MODULEDIRS@,$MODULEDIRS,;t t 8080 s,@subdirs@,$subdirs,;t t 8081 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 8082 CEOF 8083 8084 _ACEOF 8085 8086 cat >>$CONFIG_STATUS <<\_ACEOF 8087 # Split the substitutions into bite-sized pieces for seds with 8088 # small command number limits, like on Digital OSF/1 and HP-UX. 8089 ac_max_sed_lines=48 8090 ac_sed_frag=1 # Number of current file. 8091 ac_beg=1 # First line for current file. 8092 ac_end=$ac_max_sed_lines # Line after last line for current file. 8093 ac_more_lines=: 8094 ac_sed_cmds= 8095 while $ac_more_lines; do 8096 if test $ac_beg -gt 1; then 8097 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8098 else 8099 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 6985 ' >>$CONFIG_STATUS || ac_write_fail=1 6986 rm -f conf$$subs.awk 6987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6988 _ACAWK 6989 cat >>"\$tmp/subs1.awk" <<_ACAWK && 6990 for (key in S) S_is_set[key] = 1 6991 FS = "" 6992 6993 } 6994 { 6995 line = $ 0 6996 nfields = split(line, field, "@") 6997 substed = 0 6998 len = length(field[1]) 6999 for (i = 2; i < nfields; i++) { 7000 key = field[i] 7001 keylen = length(key) 7002 if (S_is_set[key]) { 7003 value = S[key] 7004 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7005 len += length(value) + length(field[++i]) 7006 substed = 1 7007 } else 7008 len += 1 + keylen 7009 } 7010 7011 print line 7012 } 7013 7014 _ACAWK 7015 _ACEOF 7016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7017 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7018 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7019 else 7020 cat 7021 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7022 || as_fn_error "could not setup config files machinery" "$LINENO" 5 7023 _ACEOF 7024 7025 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7026 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7027 # trailing colons and then remove the whole line if VPATH becomes empty 7028 # (actually we leave an empty line to preserve line numbers). 7029 if test "x$srcdir" = x.; then 7030 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7031 s/:*\$(srcdir):*/:/ 7032 s/:*\${srcdir}:*/:/ 7033 s/:*@srcdir@:*/:/ 7034 s/^\([^=]*=[ ]*\):*/\1/ 7035 s/:*$// 7036 s/^[^=]*=[ ]*$// 7037 }' 7038 fi 7039 7040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7041 fi # test -n "$CONFIG_FILES" 7042 7043 # Set up the scripts for CONFIG_HEADERS section. 7044 # No need to generate them if there are no CONFIG_HEADERS. 7045 # This happens for instance with `./config.status Makefile'. 7046 if test -n "$CONFIG_HEADERS"; then 7047 cat >"$tmp/defines.awk" <<\_ACAWK || 7048 BEGIN { 7049 _ACEOF 7050 7051 # Transform confdefs.h into an awk script `defines.awk', embedded as 7052 # here-document in config.status, that substitutes the proper values into 7053 # config.h.in to produce config.h. 7054 7055 # Create a delimiter string that does not exist in confdefs.h, to ease 7056 # handling of long lines. 7057 ac_delim='%!_!# ' 7058 for ac_last_try in false false :; do 7059 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7060 if test -z "$ac_t"; then 7061 break 7062 elif $ac_last_try; then 7063 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 7064 else 7065 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7066 fi 7067 done 7068 7069 # For the awk script, D is an array of macro values keyed by name, 7070 # likewise P contains macro parameters if any. Preserve backslash 7071 # newline sequences. 7072 7073 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7074 sed -n ' 7075 s/.\{148\}/&'"$ac_delim"'/g 7076 t rset 7077 :rset 7078 s/^[ ]*#[ ]*define[ ][ ]*/ / 7079 t def 7080 d 7081 :def 7082 s/\\$// 7083 t bsnl 7084 s/["\\]/\\&/g 7085 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7086 D["\1"]=" \3"/p 7087 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7088 d 7089 :bsnl 7090 s/["\\]/\\&/g 7091 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7092 D["\1"]=" \3\\\\\\n"\\/p 7093 t cont 7094 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7095 t cont 7096 d 7097 :cont 7098 n 7099 s/.\{148\}/&'"$ac_delim"'/g 7100 t clear 7101 :clear 7102 s/\\$// 7103 t bsnlc 7104 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7105 d 7106 :bsnlc 7107 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7108 b cont 7109 ' <confdefs.h | sed ' 7110 s/'"$ac_delim"'/"\\\ 7111 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7112 7113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7114 for (key in D) D_is_set[key] = 1 7115 FS = "" 7116 } 7117 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7118 line = \$ 0 7119 split(line, arg, " ") 7120 if (arg[1] == "#") { 7121 defundef = arg[2] 7122 mac1 = arg[3] 7123 } else { 7124 defundef = substr(arg[1], 2) 7125 mac1 = arg[2] 7126 } 7127 split(mac1, mac2, "(") #) 7128 macro = mac2[1] 7129 prefix = substr(line, 1, index(line, defundef) - 1) 7130 if (D_is_set[macro]) { 7131 # Preserve the white space surrounding the "#". 7132 print prefix "define", macro P[macro] D[macro] 7133 next 7134 } else { 7135 # Replace #undef with comments. This is necessary, for example, 7136 # in the case of _POSIX_SOURCE, which is predefined and required 7137 # on some systems where configure will not decide to define it. 7138 if (defundef == "undef") { 7139 print "/*", prefix defundef, macro, "*/" 7140 next 7141 } 7142 } 7143 } 7144 { print } 7145 _ACAWK 7146 _ACEOF 7147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7148 as_fn_error "could not setup config headers machinery" "$LINENO" 5 7149 fi # test -n "$CONFIG_HEADERS" 7150 7151 7152 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7153 shift 7154 for ac_tag 7155 do 7156 case $ac_tag in 7157 :[FHLC]) ac_mode=$ac_tag; continue;; 7158 esac 7159 case $ac_mode$ac_tag in 7160 :[FHL]*:*);; 7161 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 7162 :[FH]-) ac_tag=-:-;; 7163 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7164 esac 7165 ac_save_IFS=$IFS 7166 IFS=: 7167 set x $ac_tag 7168 IFS=$ac_save_IFS 7169 shift 7170 ac_file=$1 7171 shift 7172 7173 case $ac_mode in 7174 :L) ac_source=$1;; 7175 :[FH]) 7176 ac_file_inputs= 7177 for ac_f 7178 do 7179 case $ac_f in 7180 -) ac_f="$tmp/stdin";; 7181 *) # Look for the file first in the build tree, then in the source tree 7182 # (if the path is not absolute). The absolute path cannot be DOS-style, 7183 # because $ac_f cannot contain `:'. 7184 test -f "$ac_f" || 7185 case $ac_f in 7186 [\\/$]*) false;; 7187 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7188 esac || 7189 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7190 esac 7191 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7192 as_fn_append ac_file_inputs " '$ac_f'" 7193 done 7194 7195 # Let's still pretend it is `configure' which instantiates (i.e., don't 7196 # use $as_me), people would be surprised to read: 7197 # /* config.h. Generated by config.status. */ 7198 configure_input='Generated from '` 7199 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7200 `' by configure.' 7201 if test x"$ac_file" != x-; then 7202 configure_input="$ac_file. $configure_input" 7203 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7204 $as_echo "$as_me: creating $ac_file" >&6;} 8100 7205 fi 8101 if test ! -s $tmp/subs.frag; then 8102 ac_more_lines=false 8103 else 8104 # The purpose of the label and of the branching condition is to 8105 # speed up the sed processing (if there are no `@' at all, there 8106 # is no need to browse any of the substitutions). 8107 # These are the two extra sed commands mentioned above. 8108 (echo ':t 8109 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8110 if test -z "$ac_sed_cmds"; then 8111 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 8112 else 8113 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 8114 fi 8115 ac_sed_frag=`expr $ac_sed_frag + 1` 8116 ac_beg=$ac_end 8117 ac_end=`expr $ac_end + $ac_max_sed_lines` 8118 fi 8119 done 8120 if test -z "$ac_sed_cmds"; then 8121 ac_sed_cmds=cat 8122 fi 8123 fi # test -n "$CONFIG_FILES" 8124 8125 _ACEOF 8126 cat >>$CONFIG_STATUS <<\_ACEOF 8127 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8128 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8129 case $ac_file in 8130 - | *:- | *:-:* ) # input from stdin 8131 cat >$tmp/stdin 8132 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8133 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8134 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8135 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8136 * ) ac_file_in=$ac_file.in ;; 7206 # Neutralize special characters interpreted by sed in replacement strings. 7207 case $configure_input in #( 7208 *\&* | *\|* | *\\* ) 7209 ac_sed_conf_input=`$as_echo "$configure_input" | 7210 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7211 *) ac_sed_conf_input=$configure_input;; 7212 esac 7213 7214 case $ac_tag in 7215 *:-:* | *:-) cat >"$tmp/stdin" \ 7216 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 7217 esac 7218 ;; 8137 7219 esac 8138 7220 8139 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8140 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7221 ac_dir=`$as_dirname -- "$ac_file" || 8141 7222 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8142 7223 X"$ac_file" : 'X\(//\)[^/]' \| \ 8143 7224 X"$ac_file" : 'X\(//\)$' \| \ 8144 X"$ac_file" : 'X\(/\)' \| \ 8145 . : '\(.\)' 2>/dev/null || 8146 echo X"$ac_file" | 8147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8148 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8149 /^X\(\/\/\)$/{ s//\1/; q; } 8150 /^X\(\/\).*/{ s//\1/; q; } 8151 s/.*/./; q'` 8152 { if $as_mkdir_p; then 8153 mkdir -p "$ac_dir" 8154 else 8155 as_dir="$ac_dir" 8156 as_dirs= 8157 while test ! -d "$as_dir"; do 8158 as_dirs="$as_dir $as_dirs" 8159 as_dir=`(dirname "$as_dir") 2>/dev/null || 8160 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8161 X"$as_dir" : 'X\(//\)[^/]' \| \ 8162 X"$as_dir" : 'X\(//\)$' \| \ 8163 X"$as_dir" : 'X\(/\)' \| \ 8164 . : '\(.\)' 2>/dev/null || 8165 echo X"$as_dir" | 8166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8167 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8168 /^X\(\/\/\)$/{ s//\1/; q; } 8169 /^X\(\/\).*/{ s//\1/; q; } 8170 s/.*/./; q'` 8171 done 8172 test ! -n "$as_dirs" || mkdir $as_dirs 8173 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8174 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8175 { (exit 1); exit 1; }; }; } 8176 7225 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7226 $as_echo X"$ac_file" | 7227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7228 s//\1/ 7229 q 7230 } 7231 /^X\(\/\/\)[^/].*/{ 7232 s//\1/ 7233 q 7234 } 7235 /^X\(\/\/\)$/{ 7236 s//\1/ 7237 q 7238 } 7239 /^X\(\/\).*/{ 7240 s//\1/ 7241 q 7242 } 7243 s/.*/./; q'` 7244 as_dir="$ac_dir"; as_fn_mkdir_p 8177 7245 ac_builddir=. 8178 7246 8179 if test "$ac_dir" != .; then 8180 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8181 # A "../" for each directory in $ac_dir_suffix. 8182 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8183 else 8184 ac_dir_suffix= ac_top_builddir= 8185 fi 7247 case "$ac_dir" in 7248 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7249 *) 7250 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7251 # A ".." for each directory in $ac_dir_suffix. 7252 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7253 case $ac_top_builddir_sub in 7254 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7255 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7256 esac ;; 7257 esac 7258 ac_abs_top_builddir=$ac_pwd 7259 ac_abs_builddir=$ac_pwd$ac_dir_suffix 7260 # for backward compatibility: 7261 ac_top_builddir=$ac_top_build_prefix 8186 7262 8187 7263 case $srcdir in 8188 .) # No --srcdir option.We are building in place.7264 .) # We are building in place. 8189 7265 ac_srcdir=. 8190 if test -z "$ac_top_builddir"; then 8191 ac_top_srcdir=. 8192 else 8193 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8194 fi ;; 8195 [\\/]* | ?:[\\/]* ) # Absolute path. 7266 ac_top_srcdir=$ac_top_builddir_sub 7267 ac_abs_top_srcdir=$ac_pwd ;; 7268 [\\/]* | ?:[\\/]* ) # Absolute name. 8196 7269 ac_srcdir=$srcdir$ac_dir_suffix; 8197 ac_top_srcdir=$srcdir ;; 8198 *) # Relative path. 8199 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8200 ac_top_srcdir=$ac_top_builddir$srcdir ;; 7270 ac_top_srcdir=$srcdir 7271 ac_abs_top_srcdir=$srcdir ;; 7272 *) # Relative name. 7273 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7274 ac_top_srcdir=$ac_top_build_prefix$srcdir 7275 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8201 7276 esac 8202 8203 # Do not use `cd foo && pwd` to compute absolute paths, because 8204 # the directories may not exist. 8205 case `pwd` in 8206 .) ac_abs_builddir="$ac_dir";; 8207 *) 8208 case "$ac_dir" in 8209 .) ac_abs_builddir=`pwd`;; 8210 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8211 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8212 esac;; 8213 esac 8214 case $ac_abs_builddir in 8215 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8216 *) 8217 case ${ac_top_builddir}. in 8218 .) ac_abs_top_builddir=$ac_abs_builddir;; 8219 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8220 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8221 esac;; 8222 esac 8223 case $ac_abs_builddir in 8224 .) ac_abs_srcdir=$ac_srcdir;; 8225 *) 8226 case $ac_srcdir in 8227 .) ac_abs_srcdir=$ac_abs_builddir;; 8228 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8229 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8230 esac;; 8231 esac 8232 case $ac_abs_builddir in 8233 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8234 *) 8235 case $ac_top_srcdir in 8236 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8237 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8238 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8239 esac;; 8240 esac 8241 7277 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7278 7279 7280 case $ac_mode in 7281 :F) 7282 # 7283 # CONFIG_FILE 7284 # 8242 7285 8243 7286 case $INSTALL in 8244 7287 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8245 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;7288 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8246 7289 esac 8247 8248 if test x"$ac_file" != x-; then 8249 { echo "$as_me:$LINENO: creating $ac_file" >&5 8250 echo "$as_me: creating $ac_file" >&6;} 8251 rm -f "$ac_file" 8252 fi 8253 # Let's still pretend it is `configure' which instantiates (i.e., don't 8254 # use $as_me), people would be surprised to read: 8255 # /* config.h. Generated by config.status. */ 8256 if test x"$ac_file" = x-; then 8257 configure_input= 8258 else 8259 configure_input="$ac_file. " 8260 fi 8261 configure_input=$configure_input"Generated from `echo $ac_file_in | 8262 sed 's,.*/,,'` by configure." 8263 8264 # First look for the input files in the build tree, otherwise in the 8265 # src tree. 8266 ac_file_inputs=`IFS=: 8267 for f in $ac_file_in; do 8268 case $f in 8269 -) echo $tmp/stdin ;; 8270 [\\/$]*) 8271 # Absolute (can't be DOS-style, as IFS=:) 8272 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8273 echo "$as_me: error: cannot find input file: $f" >&2;} 8274 { (exit 1); exit 1; }; } 8275 echo "$f";; 8276 *) # Relative 8277 if test -f "$f"; then 8278 # Build tree 8279 echo "$f" 8280 elif test -f "$srcdir/$f"; then 8281 # Source tree 8282 echo "$srcdir/$f" 8283 else 8284 # /dev/null tree 8285 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8286 echo "$as_me: error: cannot find input file: $f" >&2;} 8287 { (exit 1); exit 1; }; } 8288 fi;; 8289 esac 8290 done` || { (exit 1); exit 1; } 8291 _ACEOF 8292 cat >>$CONFIG_STATUS <<_ACEOF 8293 sed "$ac_vpsub 7290 _ACEOF 7291 7292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7293 # If the template does not know about datarootdir, expand it. 7294 # FIXME: This hack should be removed a few years after 2.60. 7295 ac_datarootdir_hack=; ac_datarootdir_seen= 7296 ac_sed_dataroot=' 7297 /datarootdir/ { 7298 p 7299 q 7300 } 7301 /@datadir@/p 7302 /@docdir@/p 7303 /@infodir@/p 7304 /@localedir@/p 7305 /@mandir@/p' 7306 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7307 *datarootdir*) ac_datarootdir_seen=yes;; 7308 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7310 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7311 _ACEOF 7312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7313 ac_datarootdir_hack=' 7314 s&@datadir@&$datadir&g 7315 s&@docdir@&$docdir&g 7316 s&@infodir@&$infodir&g 7317 s&@localedir@&$localedir&g 7318 s&@mandir@&$mandir&g 7319 s&\\\${datarootdir}&$datarootdir&g' ;; 7320 esac 7321 _ACEOF 7322 7323 # Neutralize VPATH when `$srcdir' = `.'. 7324 # Shell code in configure.ac might set extrasub. 7325 # FIXME: do we really want to maintain this feature? 7326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7327 ac_sed_extra="$ac_vpsub 8294 7328 $extrasub 8295 7329 _ACEOF 8296 cat >>$CONFIG_STATUS <<\_ACEOF 7330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8297 7331 :t 8298 7332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8299 s,@configure_input@,$configure_input,;t t 8300 s,@srcdir@,$ac_srcdir,;t t 8301 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8302 s,@top_srcdir@,$ac_top_srcdir,;t t 8303 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8304 s,@builddir@,$ac_builddir,;t t 8305 s,@abs_builddir@,$ac_abs_builddir,;t t 8306 s,@top_builddir@,$ac_top_builddir,;t t 8307 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8308 s,@INSTALL@,$ac_INSTALL,;t t 8309 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8310 rm -f $tmp/stdin 7333 s|@configure_input@|$ac_sed_conf_input|;t t 7334 s&@top_builddir@&$ac_top_builddir_sub&;t t 7335 s&@top_build_prefix@&$ac_top_build_prefix&;t t 7336 s&@srcdir@&$ac_srcdir&;t t 7337 s&@abs_srcdir@&$ac_abs_srcdir&;t t 7338 s&@top_srcdir@&$ac_top_srcdir&;t t 7339 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7340 s&@builddir@&$ac_builddir&;t t 7341 s&@abs_builddir@&$ac_abs_builddir&;t t 7342 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7343 s&@INSTALL@&$ac_INSTALL&;t t 7344 $ac_datarootdir_hack 7345 " 7346 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7347 || as_fn_error "could not create $ac_file" "$LINENO" 5 7348 7349 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7350 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7351 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7353 which seems to be undefined. Please make sure it is defined." >&5 7354 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7355 which seems to be undefined. Please make sure it is defined." >&2;} 7356 7357 rm -f "$tmp/stdin" 7358 case $ac_file in 7359 -) cat "$tmp/out" && rm -f "$tmp/out";; 7360 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7361 esac \ 7362 || as_fn_error "could not create $ac_file" "$LINENO" 5 7363 ;; 7364 :H) 7365 # 7366 # CONFIG_HEADER 7367 # 8311 7368 if test x"$ac_file" != x-; then 8312 mv $tmp/out $ac_file 8313 else 8314 cat $tmp/out 8315 rm -f $tmp/out 8316 fi 8317 8318 done 8319 _ACEOF 8320 cat >>$CONFIG_STATUS <<\_ACEOF 8321 8322 # 8323 # CONFIG_HEADER section. 8324 # 8325 8326 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8327 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8328 # 8329 # ac_d sets the value in "#define NAME VALUE" lines. 8330 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8331 ac_dB='[ ].*$,\1#\2' 8332 ac_dC=' ' 8333 ac_dD=',;t' 8334 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8335 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8336 ac_uB='$,\1#\2define\3' 8337 ac_uC=' ' 8338 ac_uD=',;t' 8339 8340 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8341 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8342 case $ac_file in 8343 - | *:- | *:-:* ) # input from stdin 8344 cat >$tmp/stdin 8345 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8346 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8347 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8348 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8349 * ) ac_file_in=$ac_file.in ;; 8350 esac 8351 8352 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8353 echo "$as_me: creating $ac_file" >&6;} 8354 8355 # First look for the input files in the build tree, otherwise in the 8356 # src tree. 8357 ac_file_inputs=`IFS=: 8358 for f in $ac_file_in; do 8359 case $f in 8360 -) echo $tmp/stdin ;; 8361 [\\/$]*) 8362 # Absolute (can't be DOS-style, as IFS=:) 8363 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8364 echo "$as_me: error: cannot find input file: $f" >&2;} 8365 { (exit 1); exit 1; }; } 8366 # Do quote $f, to prevent DOS paths from being IFS'd. 8367 echo "$f";; 8368 *) # Relative 8369 if test -f "$f"; then 8370 # Build tree 8371 echo "$f" 8372 elif test -f "$srcdir/$f"; then 8373 # Source tree 8374 echo "$srcdir/$f" 8375 else 8376 # /dev/null tree 8377 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8378 echo "$as_me: error: cannot find input file: $f" >&2;} 8379 { (exit 1); exit 1; }; } 8380 fi;; 8381 esac 8382 done` || { (exit 1); exit 1; } 8383 # Remove the trailing spaces. 8384 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8385 8386 _ACEOF 8387 8388 # Transform confdefs.h into two sed scripts, `conftest.defines' and 8389 # `conftest.undefs', that substitutes the proper values into 8390 # config.h.in to produce config.h. The first handles `#define' 8391 # templates, and the second `#undef' templates. 8392 # And first: Protect against being on the right side of a sed subst in 8393 # config.status. Protect against being in an unquoted here document 8394 # in config.status. 8395 rm -f conftest.defines conftest.undefs 8396 # Using a here document instead of a string reduces the quoting nightmare. 8397 # Putting comments in sed scripts is not portable. 8398 # 8399 # `end' is used to avoid that the second main sed command (meant for 8400 # 0-ary CPP macros) applies to n-ary macro definitions. 8401 # See the Autoconf documentation for `clear'. 8402 cat >confdef2sed.sed <<\_ACEOF 8403 s/[\\&,]/\\&/g 8404 s,[\\$`],\\&,g 8405 t clear 8406 : clear 8407 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8408 t end 8409 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8410 : end 8411 _ACEOF 8412 # If some macros were called several times there might be several times 8413 # the same #defines, which is useless. Nevertheless, we may not want to 8414 # sort them, since we want the *last* AC-DEFINE to be honored. 8415 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 8416 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 8417 rm -f confdef2sed.sed 8418 8419 # This sed command replaces #undef with comments. This is necessary, for 8420 # example, in the case of _POSIX_SOURCE, which is predefined and required 8421 # on some systems where configure will not decide to define it. 8422 cat >>conftest.undefs <<\_ACEOF 8423 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8424 _ACEOF 8425 8426 # Break up conftest.defines because some shells have a limit on the size 8427 # of here documents, and old seds have small limits too (100 cmds). 8428 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8429 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8430 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8431 echo ' :' >>$CONFIG_STATUS 8432 rm -f conftest.tail 8433 while grep . conftest.defines >/dev/null 8434 do 8435 # Write a limited-size here document to $tmp/defines.sed. 8436 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8437 # Speed up: don't consider the non `#define' lines. 8438 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8439 # Work around the forget-to-reset-the-flag bug. 8440 echo 't clr' >>$CONFIG_STATUS 8441 echo ': clr' >>$CONFIG_STATUS 8442 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 8443 echo 'CEOF 8444 sed -f $tmp/defines.sed $tmp/in >$tmp/out 8445 rm -f $tmp/in 8446 mv $tmp/out $tmp/in 8447 ' >>$CONFIG_STATUS 8448 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 8449 rm -f conftest.defines 8450 mv conftest.tail conftest.defines 8451 done 8452 rm -f conftest.defines 8453 echo ' fi # grep' >>$CONFIG_STATUS 8454 echo >>$CONFIG_STATUS 8455 8456 # Break up conftest.undefs because some shells have a limit on the size 8457 # of here documents, and old seds have small limits too (100 cmds). 8458 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8459 rm -f conftest.tail 8460 while grep . conftest.undefs >/dev/null 8461 do 8462 # Write a limited-size here document to $tmp/undefs.sed. 8463 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8464 # Speed up: don't consider the non `#undef' 8465 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8466 # Work around the forget-to-reset-the-flag bug. 8467 echo 't clr' >>$CONFIG_STATUS 8468 echo ': clr' >>$CONFIG_STATUS 8469 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8470 echo 'CEOF 8471 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8472 rm -f $tmp/in 8473 mv $tmp/out $tmp/in 8474 ' >>$CONFIG_STATUS 8475 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 8476 rm -f conftest.undefs 8477 mv conftest.tail conftest.undefs 8478 done 8479 rm -f conftest.undefs 8480 8481 cat >>$CONFIG_STATUS <<\_ACEOF 8482 # Let's still pretend it is `configure' which instantiates (i.e., don't 8483 # use $as_me), people would be surprised to read: 8484 # /* config.h. Generated by config.status. */ 8485 if test x"$ac_file" = x-; then 8486 echo "/* Generated by configure. */" >$tmp/config.h 8487 else 8488 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 8489 fi 8490 cat $tmp/in >>$tmp/config.h 8491 rm -f $tmp/in 8492 if test x"$ac_file" != x-; then 8493 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 8494 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8495 echo "$as_me: $ac_file is unchanged" >&6;} 7369 { 7370 $as_echo "/* $configure_input */" \ 7371 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7372 } >"$tmp/config.h" \ 7373 || as_fn_error "could not create $ac_file" "$LINENO" 5 7374 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7375 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7376 $as_echo "$as_me: $ac_file is unchanged" >&6;} 8496 7377 else 8497 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8498 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8499 X"$ac_file" : 'X\(//\)[^/]' \| \ 8500 X"$ac_file" : 'X\(//\)$' \| \ 8501 X"$ac_file" : 'X\(/\)' \| \ 8502 . : '\(.\)' 2>/dev/null || 8503 echo X"$ac_file" | 8504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8505 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8506 /^X\(\/\/\)$/{ s//\1/; q; } 8507 /^X\(\/\).*/{ s//\1/; q; } 8508 s/.*/./; q'` 8509 { if $as_mkdir_p; then 8510 mkdir -p "$ac_dir" 8511 else 8512 as_dir="$ac_dir" 8513 as_dirs= 8514 while test ! -d "$as_dir"; do 8515 as_dirs="$as_dir $as_dirs" 8516 as_dir=`(dirname "$as_dir") 2>/dev/null || 8517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8518 X"$as_dir" : 'X\(//\)[^/]' \| \ 8519 X"$as_dir" : 'X\(//\)$' \| \ 8520 X"$as_dir" : 'X\(/\)' \| \ 8521 . : '\(.\)' 2>/dev/null || 8522 echo X"$as_dir" | 8523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8524 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8525 /^X\(\/\/\)$/{ s//\1/; q; } 8526 /^X\(\/\).*/{ s//\1/; q; } 8527 s/.*/./; q'` 8528 done 8529 test ! -n "$as_dirs" || mkdir $as_dirs 8530 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8531 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8532 { (exit 1); exit 1; }; }; } 8533 8534 rm -f $ac_file 8535 mv $tmp/config.h $ac_file 7378 rm -f "$ac_file" 7379 mv "$tmp/config.h" "$ac_file" \ 7380 || as_fn_error "could not create $ac_file" "$LINENO" 5 8536 7381 fi 8537 7382 else 8538 cat $tmp/config.h 8539 rm -f $tmp/config.h 7383 $as_echo "/* $configure_input */" \ 7384 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7385 || as_fn_error "could not create -" "$LINENO" 5 8540 7386 fi 8541 done 8542 _ACEOF 8543 8544 cat >>$CONFIG_STATUS <<\_ACEOF 8545 8546 { (exit 0); exit 0; } 8547 _ACEOF 8548 chmod +x $CONFIG_STATUS 7387 ;; 7388 7389 7390 esac 7391 7392 done # for ac_tag 7393 7394 7395 as_fn_exit 0 7396 _ACEOF 8549 7397 ac_clean_files=$ac_clean_files_save 7398 7399 test $ac_write_fail = 0 || 7400 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 8550 7401 8551 7402 … … 8568 7419 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8569 7420 # would make configure fail if this is the last instruction. 8570 $ac_cs_success || { (exit 1); exit 1; }7421 $ac_cs_success || as_fn_exit $? 8571 7422 fi 8572 7423 … … 8576 7427 if test "$no_recursion" != yes; then 8577 7428 8578 # Remove --cache-file and --srcdir arguments so they do not pile up. 7429 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 7430 # so they do not pile up. 8579 7431 ac_sub_configure_args= 8580 7432 ac_prev= 8581 for ac_arg in $ac_configure_args; do 7433 eval "set x $ac_configure_args" 7434 shift 7435 for ac_arg 7436 do 8582 7437 if test -n "$ac_prev"; then 8583 7438 ac_prev= … … 8602 7457 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 8603 7458 ;; 8604 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 7459 --disable-option-checking) 7460 ;; 7461 *) 7462 case $ac_arg in 7463 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 7464 esac 7465 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 8605 7466 esac 8606 7467 done … … 8608 7469 # Always prepend --prefix to ensure using the same prefix 8609 7470 # in subdir configurations. 8610 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 7471 ac_arg="--prefix=$prefix" 7472 case $ac_arg in 7473 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 7474 esac 7475 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 7476 7477 # Pass --silent 7478 if test "$silent" = yes; then 7479 ac_sub_configure_args="--silent $ac_sub_configure_args" 7480 fi 7481 7482 # Always prepend --disable-option-checking to silence warnings, since 7483 # different subdirs can have different --enable and --with options. 7484 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 8611 7485 8612 7486 ac_popdir=`pwd` … … 8615 7489 # Do not complain, so a configure script can configure whichever 8616 7490 # parts of a large source tree are present. 8617 test -d $srcdir/$ac_dir || continue 8618 8619 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 8620 echo "$as_me: configuring in $ac_dir" >&6;} 8621 { if $as_mkdir_p; then 8622 mkdir -p "$ac_dir" 8623 else 8624 as_dir="$ac_dir" 8625 as_dirs= 8626 while test ! -d "$as_dir"; do 8627 as_dirs="$as_dir $as_dirs" 8628 as_dir=`(dirname "$as_dir") 2>/dev/null || 8629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8630 X"$as_dir" : 'X\(//\)[^/]' \| \ 8631 X"$as_dir" : 'X\(//\)$' \| \ 8632 X"$as_dir" : 'X\(/\)' \| \ 8633 . : '\(.\)' 2>/dev/null || 8634 echo X"$as_dir" | 8635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8636 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8637 /^X\(\/\/\)$/{ s//\1/; q; } 8638 /^X\(\/\).*/{ s//\1/; q; } 8639 s/.*/./; q'` 8640 done 8641 test ! -n "$as_dirs" || mkdir $as_dirs 8642 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8643 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8644 { (exit 1); exit 1; }; }; } 8645 7491 test -d "$srcdir/$ac_dir" || continue 7492 7493 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 7494 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 7495 $as_echo "$ac_msg" >&6 7496 as_dir="$ac_dir"; as_fn_mkdir_p 8646 7497 ac_builddir=. 8647 7498 8648 if test "$ac_dir" != .; then 8649 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8650 # A "../" for each directory in $ac_dir_suffix. 8651 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8652 else 8653 ac_dir_suffix= ac_top_builddir= 8654 fi 7499 case "$ac_dir" in 7500 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7501 *) 7502 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7503 # A ".." for each directory in $ac_dir_suffix. 7504 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7505 case $ac_top_builddir_sub in 7506 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7507 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7508 esac ;; 7509 esac 7510 ac_abs_top_builddir=$ac_pwd 7511 ac_abs_builddir=$ac_pwd$ac_dir_suffix 7512 # for backward compatibility: 7513 ac_top_builddir=$ac_top_build_prefix 8655 7514 8656 7515 case $srcdir in 8657 .) # No --srcdir option.We are building in place.7516 .) # We are building in place. 8658 7517 ac_srcdir=. 8659 if test -z "$ac_top_builddir"; then 8660 ac_top_srcdir=. 7518 ac_top_srcdir=$ac_top_builddir_sub 7519 ac_abs_top_srcdir=$ac_pwd ;; 7520 [\\/]* | ?:[\\/]* ) # Absolute name. 7521 ac_srcdir=$srcdir$ac_dir_suffix; 7522 ac_top_srcdir=$srcdir 7523 ac_abs_top_srcdir=$srcdir ;; 7524 *) # Relative name. 7525 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7526 ac_top_srcdir=$ac_top_build_prefix$srcdir 7527 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7528 esac 7529 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7530 7531 7532 cd "$ac_dir" 7533 7534 # Check for guested configure; otherwise get Cygnus style configure. 7535 if test -f "$ac_srcdir/configure.gnu"; then 7536 ac_sub_configure=$ac_srcdir/configure.gnu 7537 elif test -f "$ac_srcdir/configure"; then 7538 ac_sub_configure=$ac_srcdir/configure 7539 elif test -f "$ac_srcdir/configure.in"; then 7540 # This should be Cygnus configure. 7541 ac_sub_configure=$ac_aux_dir/configure 8661 7542 else 8662 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8663 fi ;; 8664 [\\/]* | ?:[\\/]* ) # Absolute path. 8665 ac_srcdir=$srcdir$ac_dir_suffix; 8666 ac_top_srcdir=$srcdir ;; 8667 *) # Relative path. 8668 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8669 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8670 esac 8671 8672 # Do not use `cd foo && pwd` to compute absolute paths, because 8673 # the directories may not exist. 8674 case `pwd` in 8675 .) ac_abs_builddir="$ac_dir";; 8676 *) 8677 case "$ac_dir" in 8678 .) ac_abs_builddir=`pwd`;; 8679 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8680 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8681 esac;; 8682 esac 8683 case $ac_abs_builddir in 8684 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8685 *) 8686 case ${ac_top_builddir}. in 8687 .) ac_abs_top_builddir=$ac_abs_builddir;; 8688 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8689 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8690 esac;; 8691 esac 8692 case $ac_abs_builddir in 8693 .) ac_abs_srcdir=$ac_srcdir;; 8694 *) 8695 case $ac_srcdir in 8696 .) ac_abs_srcdir=$ac_abs_builddir;; 8697 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8698 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8699 esac;; 8700 esac 8701 case $ac_abs_builddir in 8702 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8703 *) 8704 case $ac_top_srcdir in 8705 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8706 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8707 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8708 esac;; 8709 esac 8710 8711 8712 cd $ac_dir 8713 8714 # Check for guested configure; otherwise get Cygnus style configure. 8715 if test -f $ac_srcdir/configure.gnu; then 8716 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 8717 elif test -f $ac_srcdir/configure; then 8718 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 8719 elif test -f $ac_srcdir/configure.in; then 8720 ac_sub_configure=$ac_configure 8721 else 8722 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 8723 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 7543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 7544 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 8724 7545 ac_sub_configure= 8725 7546 fi … … 8730 7551 case $cache_file in 8731 7552 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 8732 *) # Relative path.8733 ac_sub_cache_file=$ac_top_build dir$cache_file ;;7553 *) # Relative name. 7554 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 8734 7555 esac 8735 7556 8736 { echo "$as_me:$LINENO: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&58737 echo "$as_me: running$ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}7557 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 7558 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 8738 7559 # The eval makes quoting arguments work. 8739 eval $ac_sub_configure $ac_sub_configure_args \ 8740 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || 8741 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 8742 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} 8743 { (exit 1); exit 1; }; } 7560 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 7561 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 7562 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 8744 7563 fi 8745 7564 8746 cd $ac_popdir7565 cd "$ac_popdir" 8747 7566 done 8748 7567 fi 8749 8750 8751 7568 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7570 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7571 fi 7572 7573 7574 -
main/trunk/greenstone2/configure.in
r22058 r22378 216 216 AC_MSG_RESULT(yes) 217 217 if test -z "$COMPAT32BITFLAGS" ; then 218 COMPAT32BITFLAGS="-m32" 218 if test "$ENABLE_MG" = "1" -o "$ENABLE_MGPP" = "1" ; then 219 COMPAT32BITFLAGS="-m32" 220 fi 219 221 fi 220 222 else 221 223 AC_MSG_RESULT(no) 222 224 if test -z "$COMPAT32BITFLAGS" ; then 223 COMPAT32BITFLAGS=224 fi225 fi226 227 # Only need compat32bitflag if using MG or MGPP228 if test "$ENABLE_MG" = "0" ; then229 COMPAT32BITFLAGS=230 else231 if test "$ENABLE_MGPP" = "0" ; then232 225 COMPAT32BITFLAGS= 233 226 fi -
main/trunk/greenstone2/runtime-src/packages/configure
r22058 r22378 211 211 if [ ! -e httpd-2.2.11 ] ; then gzip -dc httpd-2.2.11-gs.tar.gz | tar -xf - ; fi 212 212 cd httpd-2.2.11&& \ 213 ./configure $CACHE_FILE --with-included-apr --with-iconv="${GSDLHOME}/common-src/packages/iconv" --with-layout=BinaryDistribution --enable-most --prefix="${prefix}/apache-httpd/${GSDLOS}" $HOSTTARGETFLAGS 213 214 if [ ! -z $COMPAT32BITFLAGS ] ; then 215 CFLAGS="$CFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" CXXFLAGS="$CXXFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" LDFLAGS="$LDFLAGS -L${GSDLHOME}/common-src/packages/iconv/lib64" ./configure $CACHE_FILE --with-included-apr --with-layout=BinaryDistribution --enable-most --prefix="${prefix}/apache-httpd/${GSDLOS}" $HOSTTARGETFLAGS --with-iconv 216 else 217 CFLAGS="$CFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" CXXFLAGS="$CXXFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" LDFLAGS="$LDFLAGS -L${GSDLHOME}/common-src/packages/iconv/lib" ./configure $CACHE_FILE --with-included-apr --with-layout=BinaryDistribution --enable-most --prefix="${prefix}/apache-httpd/${GSDLOS}" $HOSTTARGETFLAGS --with-iconv 218 fi 219 214 220 else 215 221 echo "Apache httpd support disabled" -
main/trunk/greenstone2/runtime-src/src/oaiservr/Makefile.in
r22078 r22378 38 38 ENABLE_ACCENTFOLD = @ENABLE_ACCENTFOLD@ 39 39 ifeq ($(ENABLE_ACCENTFOLD), 1) 40 ifeq ($(COMPAT32BITFLAGS),) 40 41 ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(COMMON_PACKAGES_DIR)/iconv/lib/libiconv.a 42 else 43 ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(COMMON_PACKAGES_DIR)/iconv/lib64/libiconv.a 44 endif 41 45 else 42 46 ACCENTFOLD_LIBS = -
main/trunk/greenstone2/runtime-src/src/recpt/Makefile.in
r22078 r22378 41 41 ENABLE_ACCENTFOLD = @ENABLE_ACCENTFOLD@ 42 42 ifeq ($(ENABLE_ACCENTFOLD), 1) 43 ifeq ($(COMPAT32BITFLAGS),) 43 44 ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(COMMON_PACKAGES_DIR)/iconv/lib/libiconv.a 45 else 46 ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(INDEXERS_DIR)/packages/iconv/lib64/libiconv.a 47 endif 44 48 else 45 49 ACCENTFOLD_LIBS = -
main/trunk/greenstone2/runtime-src/src/z3950/Makefile.in
r22078 r22378 102 102 INSTALL = @INSTALL@ 103 103 LDFLAGS = @LDFLAGS@ 104 ifeq ($(COMPAT32BITFLAGS),) 104 105 LIBS = @LIBS@ $(GDBM_LIBS) -L$(COMMON_PACKAGES_DIR)/expat/lib -lexpat \ 105 106 $(ACCENTFOLD_LIBS) $(SQLITE_LIBS) \ 106 107 $(RUNTIME_PACKAGES_DIR)/yaz/lib/libyaz.a $(RUNTIME_PACKAGES_DIR)/d2m/libd2m.a -lxml2 108 else 109 LIBS = @LIBS@ $(GDBM_LIBS) -L$(COMMON_PACKAGES_DIR)/expat/lib64 -lexpat \ 110 $(ACCENTFOLD_LIBS) $(SQLITE_LIBS) \ 111 $(RUNTIME_PACKAGES_DIR)/yaz/lib/libyaz.a $(RUNTIME_PACKAGES_DIR)/d2m/libd2m.a -lxml2 112 endif 107 113 RANLIB = @RANLIB@ 108 114
Note:
See TracChangeset
for help on using the changeset viewer.