- Timestamp:
- 2021-09-23T17:15:59+12:00 (3 years ago)
- Location:
- main/trunk/search4j
- Files:
-
- 6 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/search4j/Makefile.in
r29357 r35457 28 28 exec_prefix = @exec_prefix@ 29 29 bindir = @bindir@ 30 libdir = @libdir@ 30 31 31 32 CXX = @CXX@ … … 39 40 LIBS = @LIBS@ 40 41 42 JAVAC = @JAVAC@ 43 JAR = jar 44 JAVACFLAGS = @JAVACFLAGS@ 41 45 42 46 CXXCOMPILE = $(CXX) -c $(CXXFLAGS) $(DEFS) $(INCLUDES) … … 65 69 66 70 # Default target: make the search4j executable 67 all: $(EXECUTABLE) 71 all: $(EXECUTABLE) compile-java install-java 68 72 69 73 search4j: $(EXECUTABLE_OBJECTS) … … 77 81 clean: 78 82 rm -f $(OBJECTS) $(EXECUTABLE) 83 rm -f DisplayJavaVersion.class 84 rm -f DisplayJavaBitness.class 79 85 80 86 distclean: … … 83 89 depend: 84 90 makedepend -Y -- $(DEFS) $(INCLUDES) $(CXXFLAGS) -- $(SOURCES) 91 92 compile-java: 93 $(JAVAC) $(JAVACFLAGS) DisplayJavaVersion.java 94 $(JAVAC) $(JAVACFLAGS) DisplayJavaBitness.java 95 $(JAR) cvfm display-java-version.jar Manifest-version.txt DisplayJavaVersion.class 96 $(JAR) cvfm display-java-bitness.jar Manifest-bitness.txt DisplayJavaBitness.class 97 98 install-java: 99 $(INSTALL) -d $(libdir) 100 $(INSTALL) -d $(libdir)/java 101 $(INSTALL) display-java-version.jar $(libdir)/java 102 $(INSTALL) jna.jar $(libdir)/java 103 $(INSTALL) display-java-bitness.jar $(libdir)/java -
main/trunk/search4j/configure
r17496 r35457 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59 for FULL-PACKAGE-NAME VERSION.3 # Generated by GNU Autoconf 2.69 for FULL-PACKAGE-NAME VERSION. 4 4 # 5 5 # Report bugs to <BUG-REPORT-ADDRESS>. 6 6 # 7 # Copyright (C) 2003 Free Software Foundation, Inc. 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 8 11 # This configure script is free software; the Free Software Foundation 9 12 # gives unlimited permission to copy, distribute and modify it. 10 ## --------------------- ## 11 ## M4sh Initialization. ## 12 ## --------------------- ## 13 14 # Be Bourne compatible 15 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 : 16 20 emulate sh 17 21 NULLCMD=: 18 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 23 # is contrary to our usage. Disable this feature. 20 24 alias -g '${1+"$@"}'='"$@"' 21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 22 set -o posix 23 fi 24 DUALCASE=1; export DUALCASE # for MKS sh 25 26 # Support unset when possible. 27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 28 as_unset=unset 29 else 30 as_unset=false 31 fi 32 33 34 # Work around bugs in pre-3.0 UWIN ksh. 35 $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 as_myself= 93 case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96 for as_dir in $PATH 97 do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102 IFS=$as_save_IFS 103 104 ;; 105 esac 106 # We did not find ourselves, most probably we were run as `sh COMMAND' 107 # in which case we are not to be found in the path. 108 if test "x$as_myself" = x; then 109 as_myself=$0 110 fi 111 if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 done 36 124 PS1='$ ' 37 125 PS2='> ' … … 39 127 40 128 # NLS nuisances. 41 for as_var in \ 42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 44 LC_TELEPHONE LC_TIME 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204 else 205 as_have_required=no 206 fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209 else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 as_found=false 212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 45 213 do 46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 eval $as_var=C; export $as_var 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227 fi 228 fi 229 done;; 230 esac 231 as_found=false 232 done 233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236 fi; } 237 IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243 # neutralization value for shells without unset; and this also 244 # works around shells that cannot unset nonexistent variables. 245 # Preserve -v and -x to the replacement shell. 246 BASH_ENV=/dev/null 247 ENV=/dev/null 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249 case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254 esac 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 # out after a failed `exec'. 258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259 exit 255 260 fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 48 268 else 49 $as_unset $as_var 269 $as_echo "$0: Please tell [email protected] and BUG-REPORT-ADDRESS 270 $0: about your system, including any error possibly output 271 $0: before this message. Then install a modern shell, or 272 $0: manually run the script under such a shell if you do 273 $0: have one." 50 274 fi 51 done 52 53 # Required to use basename. 54 if expr a : '\(a\)' >/dev/null 2>&1; then 275 exit 1 276 fi 277 fi 278 fi 279 SHELL=${CONFIG_SHELL-/bin/sh} 280 export SHELL 281 # Unset more variables known to interfere with behavior of common tools. 282 CLICOLOR_FORCE= GREP_OPTIONS= 283 unset CLICOLOR_FORCE GREP_OPTIONS 284 285 ## --------------------- ## 286 ## M4sh Shell Functions. ## 287 ## --------------------- ## 288 # as_fn_unset VAR 289 # --------------- 290 # Portably unset VAR. 291 as_fn_unset () 292 { 293 { eval $1=; unset $1;} 294 } 295 as_unset=as_fn_unset 296 297 # as_fn_set_status STATUS 298 # ----------------------- 299 # Set $? to STATUS, without forking. 300 as_fn_set_status () 301 { 302 return $1 303 } # as_fn_set_status 304 305 # as_fn_exit STATUS 306 # ----------------- 307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308 as_fn_exit () 309 { 310 set +e 311 as_fn_set_status $1 312 exit $1 313 } # as_fn_exit 314 315 # as_fn_mkdir_p 316 # ------------- 317 # Create "$as_dir" as a directory, including parents if necessary. 318 as_fn_mkdir_p () 319 { 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337 $as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361 } # as_fn_mkdir_p 362 363 # as_fn_executable_p FILE 364 # ----------------------- 365 # Test if FILE is an executable regular file. 366 as_fn_executable_p () 367 { 368 test -f "$1" && test -x "$1" 369 } # as_fn_executable_p 370 # as_fn_append VAR VALUE 371 # ---------------------- 372 # Append the text in VALUE to the end of the definition contained in VAR. Take 373 # advantage of any shell optimizations that allow amortized linear growth over 374 # repeated appends, instead of the typical quadratic growth present in naive 375 # implementations. 376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381 else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386 fi # as_fn_append 387 388 # as_fn_arith ARG... 389 # ------------------ 390 # Perform arithmetic evaluation on the ARGs, and store the result in the 391 # global $as_val. Take advantage of shells that can avoid forks. The arguments 392 # must be portable across $(()) and expr. 393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398 else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403 fi # as_fn_arith 404 405 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] 407 # ---------------------------------------- 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410 # script with STATUS, using 1 if that was 0. 411 as_fn_error () 412 { 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420 } # as_fn_error 421 422 if expr a : '\(a\)' >/dev/null 2>&1 && 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then 55 424 as_expr=expr 56 425 else … … 58 427 fi 59 428 60 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 61 430 as_basename=basename 62 431 else … … 64 433 fi 65 434 66 67 # Name of the executable. 68 as_me=`$as_basename "$0" || 435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437 else 438 as_dirname=false 439 fi 440 441 as_me=`$as_basename -- "$0" || 69 442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 70 443 X"$0" : 'X\(//\)$' \| \ 71 X"$0" : 'X\(/\)$' \| \ 72 . : '\(.\)' 2>/dev/null || 73 echo X/"$0" | 74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 75 /^X\/\(\/\/\)$/{ s//\1/; q; } 76 /^X\/\(\/\).*/{ s//\1/; q; } 77 s/.*/./; q'` 78 79 80 # PATH needs CR, and LINENO needs CR and PATH. 444 X"$0" : 'X\(/\)' \| . 2>/dev/null || 445 $as_echo X/"$0" | 446 sed '/^.*\/\([^/][^/]*\)\/*$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\/\)$/{ 451 s//\1/ 452 q 453 } 454 /^X\/\(\/\).*/{ 455 s//\1/ 456 q 457 } 458 s/.*/./; q'` 459 81 460 # Avoid depending upon Character Ranges. 82 461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 86 465 as_cr_alnum=$as_cr_Letters$as_cr_digits 87 466 88 # The user is always right. 89 if test "${PATH_SEPARATOR+set}" != set; then 90 echo "#! /bin/sh" >conf$$.sh 91 echo "exit 0" >>conf$$.sh 92 chmod +x conf$$.sh 93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 94 PATH_SEPARATOR=';' 95 else 96 PATH_SEPARATOR=: 97 fi 98 rm -f conf$$.sh 99 fi 100 101 102 as_lineno_1=$LINENO 103 as_lineno_2=$LINENO 104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 105 test "x$as_lineno_1" != "x$as_lineno_2" && 106 test "x$as_lineno_3" = "x$as_lineno_2" || { 107 # Find who we are. Look in the path if we contain no path at all 108 # relative or not. 109 case $0 in 110 *[\\/]* ) as_myself=$0 ;; 111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 112 for as_dir in $PATH 113 do 114 IFS=$as_save_IFS 115 test -z "$as_dir" && as_dir=. 116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 117 done 118 119 ;; 120 esac 121 # We did not find ourselves, most probably we were run as `sh COMMAND' 122 # in which case we are not to be found in the path. 123 if test "x$as_myself" = x; then 124 as_myself=$0 125 fi 126 if test ! -f "$as_myself"; then 127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 128 { (exit 1); exit 1; }; } 129 fi 130 case $CONFIG_SHELL in 131 '') 132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 134 do 135 IFS=$as_save_IFS 136 test -z "$as_dir" && as_dir=. 137 for as_base in sh bash ksh sh5; do 138 case $as_dir in 139 /*) 140 if ("$as_dir/$as_base" -c ' 141 as_lineno_1=$LINENO 142 as_lineno_2=$LINENO 143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 144 test "x$as_lineno_1" != "x$as_lineno_2" && 145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 148 CONFIG_SHELL=$as_dir/$as_base 149 export CONFIG_SHELL 150 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 151 fi;; 152 esac 153 done 154 done 155 ;; 156 esac 157 158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 159 # uniformly replaced by the line number. The first 'sed' inserts a 160 # line-number line before each line; the second 'sed' does the real 161 # work. The second script uses 'N' to pair each line-number line 162 # with the numbered line, and appends trailing '-' during 163 # substitution so that $LINENO is not a special case at line end. 164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 166 sed '=' <$as_myself | 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 473 sed -n ' 474 p 475 /[$]LINENO/= 476 ' <$as_myself | 167 477 sed ' 478 s/[$]LINENO.*/&-/ 479 t lineno 480 b 481 :lineno 168 482 N 169 s,$,-, 170 : loop 171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 483 :loop 484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 172 485 t loop 173 s,-$,, 174 s,^['$as_cr_digits']*\n,, 486 s/-\n.*// 175 487 ' >$as_me.lineno && 176 chmod +x $as_me.lineno || 177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 178 { (exit 1); exit 1; }; } 179 488 chmod +x "$as_me.lineno" || 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 180 495 # Don't try to exec as it changes $[0], causing all sort of problems 181 496 # (the dirname of $[0] is not the place where we might find the 182 # original and so on. Autoconf is especially sensi ble to this).183 . ./$as_me.lineno497 # original and so on. Autoconf is especially sensitive to this). 498 . "./$as_me.lineno" 184 499 # Exit status is that of the last command. 185 500 exit 186 501 } 187 502 188 189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 190 *c*,-n*) ECHO_N= ECHO_C=' 191 ' ECHO_T=' ' ;; 192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 503 ECHO_C= ECHO_N= ECHO_T= 504 case `echo -n x` in #((((( 505 -n*) 506 case `echo 'xy\c'` in 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 511 esac;; 512 *) 513 ECHO_N='-n';; 194 514 esac 195 515 196 if expr a : '\(a\)' >/dev/null 2>&1; then197 as_expr=expr198 else199 as_expr=false200 fi201 202 516 rm -f conf$$ conf$$.exe conf$$.file 203 echo >conf$$.file 204 if ln -s conf$$.file conf$$ 2>/dev/null; then 205 # We could just check for DJGPP; but this test a) works b) is more generic 206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 207 if test -f conf$$.exe; then 208 # Don't use ln at all; we don't have any links 209 as_ln_s='cp -p' 517 if test -d conf$$.dir; then 518 rm -f conf$$.dir/conf$$.file 519 else 520 rm -f conf$$.dir 521 mkdir conf$$.dir 2>/dev/null 522 fi 523 if (echo >conf$$.file) 2>/dev/null; then 524 if ln -s conf$$.file conf$$ 2>/dev/null; then 525 as_ln_s='ln -s' 526 # ... but there are two gotchas: 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 529 # In both cases, we have to default to `cp -pR'. 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531 as_ln_s='cp -pR' 532 elif ln conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s=ln 210 534 else 211 as_ln_s=' ln -s'535 as_ln_s='cp -pR' 212 536 fi 213 elif ln conf$$.file conf$$ 2>/dev/null; then 214 as_ln_s=ln 215 else 216 as_ln_s='cp -p' 217 fi 218 rm -f conf$$ conf$$.exe conf$$.file 537 else 538 as_ln_s='cp -pR' 539 fi 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 541 rmdir conf$$.dir 2>/dev/null 219 542 220 543 if mkdir -p . 2>/dev/null; then 221 as_mkdir_p= :544 as_mkdir_p='mkdir -p "$as_dir"' 222 545 else 223 546 test -d ./-p && rmdir ./-p … … 225 548 fi 226 549 227 as_executable_p="test -f" 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 228 552 229 553 # Sed expression to map a string onto a valid CPP name. … … 234 558 235 559 236 # IFS 237 # We need space, tab and new line, in precisely that order. 238 as_nl=' 239 ' 240 IFS=" $as_nl" 241 242 # CDPATH. 243 $as_unset CDPATH 244 560 test -n "$DJDIR" || exec 7<&0 </dev/null 561 exec 6>&1 245 562 246 563 # Name of the host. 247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 248 565 # so uname gets run too. 249 566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 250 251 exec 6>&1252 567 253 568 # … … 255 570 # 256 571 ac_default_prefix=/usr/local 572 ac_clean_files= 257 573 ac_config_libobj_dir=. 574 LIBOBJS= 258 575 cross_compiling=no 259 576 subdirs= 260 577 MFLAGS= 261 578 MAKEFLAGS= 262 SHELL=${CONFIG_SHELL-/bin/sh}263 264 # Maximum number of lines to put in a shell here document.265 # This variable seems obsolete. It should probably be removed, and266 # only ac_max_sed_lines should be used.267 : ${ac_max_here_lines=38}268 579 269 580 # Identity of this package. … … 273 584 PACKAGE_STRING='FULL-PACKAGE-NAME VERSION' 274 585 PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS' 586 PACKAGE_URL='' 275 587 276 588 ac_unique_file="search4j.cpp" … … 278 590 ac_includes_default="\ 279 591 #include <stdio.h> 280 #if HAVE_SYS_TYPES_H592 #ifdef HAVE_SYS_TYPES_H 281 593 # include <sys/types.h> 282 594 #endif 283 #if HAVE_SYS_STAT_H595 #ifdef HAVE_SYS_STAT_H 284 596 # include <sys/stat.h> 285 597 #endif 286 #if STDC_HEADERS598 #ifdef STDC_HEADERS 287 599 # include <stdlib.h> 288 600 # include <stddef.h> 289 601 #else 290 # if HAVE_STDLIB_H602 # ifdef HAVE_STDLIB_H 291 603 # include <stdlib.h> 292 604 # endif 293 605 #endif 294 #if HAVE_STRING_H295 # if ! STDC_HEADERS &&HAVE_MEMORY_H606 #ifdef HAVE_STRING_H 607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 296 608 # include <memory.h> 297 609 # endif 298 610 # include <string.h> 299 611 #endif 300 #if HAVE_STRINGS_H612 #ifdef HAVE_STRINGS_H 301 613 # include <strings.h> 302 614 #endif 303 #if HAVE_INTTYPES_H615 #ifdef HAVE_INTTYPES_H 304 616 # include <inttypes.h> 305 #else306 # if HAVE_STDINT_H307 # include <stdint.h>308 # endif309 617 #endif 310 #if HAVE_UNISTD_H 618 #ifdef HAVE_STDINT_H 619 # include <stdint.h> 620 #endif 621 #ifdef HAVE_UNISTD_H 311 622 # include <unistd.h> 312 623 #endif" 313 624 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 CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LIBOBJS LTLIBOBJS' 625 ac_subst_vars='LTLIBOBJS 626 LIBOBJS 627 EGREP 628 GREP 629 JAVACFLAGS 630 JAVAC 631 INSTALL_DATA 632 INSTALL_SCRIPT 633 INSTALL_PROGRAM 634 CPP 635 ac_ct_CC 636 CFLAGS 637 CC 638 OBJEXT 639 EXEEXT 640 ac_ct_CXX 641 CPPFLAGS 642 LDFLAGS 643 CXXFLAGS 644 CXX 645 target_alias 646 host_alias 647 build_alias 648 LIBS 649 ECHO_T 650 ECHO_N 651 ECHO_C 652 DEFS 653 mandir 654 localedir 655 libdir 656 psdir 657 pdfdir 658 dvidir 659 htmldir 660 infodir 661 docdir 662 oldincludedir 663 includedir 664 runstatedir 665 localstatedir 666 sharedstatedir 667 sysconfdir 668 datadir 669 datarootdir 670 libexecdir 671 sbindir 672 bindir 673 program_transform_name 674 prefix 675 exec_prefix 676 PACKAGE_URL 677 PACKAGE_BUGREPORT 678 PACKAGE_STRING 679 PACKAGE_VERSION 680 PACKAGE_TARNAME 681 PACKAGE_NAME 682 PATH_SEPARATOR 683 SHELL' 315 684 ac_subst_files='' 685 ac_user_opts=' 686 enable_option_checking 687 ' 688 ac_precious_vars='build_alias 689 host_alias 690 target_alias 691 CXX 692 CXXFLAGS 693 LDFLAGS 694 LIBS 695 CPPFLAGS 696 CCC 697 CC 698 CFLAGS 699 CPP' 700 316 701 317 702 # Initialize some variables set by options. 318 703 ac_init_help= 319 704 ac_init_version=false 705 ac_unrecognized_opts= 706 ac_unrecognized_sep= 320 707 # The variables have the same names as the options, with 321 708 # dashes changed to underlines. … … 340 727 # by default will actually change. 341 728 # Use braces instead of parens because sh, perl, etc. also accept them. 729 # (The list follows the same order as the GNU Coding Standards.) 342 730 bindir='${exec_prefix}/bin' 343 731 sbindir='${exec_prefix}/sbin' 344 732 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 733 datarootdir='${prefix}/share' 734 datadir='${datarootdir}' 346 735 sysconfdir='${prefix}/etc' 347 736 sharedstatedir='${prefix}/com' 348 737 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'738 runstatedir='${localstatedir}/run' 350 739 includedir='${prefix}/include' 351 740 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 741 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 742 infodir='${datarootdir}/info' 743 htmldir='${docdir}' 744 dvidir='${docdir}' 745 pdfdir='${docdir}' 746 psdir='${docdir}' 747 libdir='${exec_prefix}/lib' 748 localedir='${datarootdir}/locale' 749 mandir='${datarootdir}/man' 354 750 355 751 ac_prev= 752 ac_dashdash= 356 753 for ac_option 357 754 do 358 755 # If the previous option needs an argument, assign it. 359 756 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"757 eval $ac_prev=\$ac_option 361 758 ac_prev= 362 759 continue 363 760 fi 364 761 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 762 case $ac_option in 763 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 764 *=) ac_optarg= ;; 765 *) ac_optarg=yes ;; 766 esac 366 767 367 768 # Accept the important Cygnus configure options, so we can diagnose typos. 368 769 369 case $ac_option in 770 case $ac_dashdash$ac_option in 771 --) 772 ac_dashdash=yes ;; 370 773 371 774 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 792 cache_file=config.cache ;; 390 793 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)794 -datadir | --datadir | --datadi | --datad) 392 795 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 796 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 797 datadir=$ac_optarg ;; 396 798 799 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 800 | --dataroo | --dataro | --datar) 801 ac_prev=datarootdir ;; 802 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 803 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 804 datarootdir=$ac_optarg ;; 805 397 806 -disable-* | --disable-*) 398 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`807 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 399 808 # 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" ;; 809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 810 as_fn_error $? "invalid feature name: $ac_useropt" 811 ac_useropt_orig=$ac_useropt 812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 813 case $ac_user_opts in 814 *" 815 "enable_$ac_useropt" 816 "*) ;; 817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 818 ac_unrecognized_sep=', ';; 819 esac 820 eval enable_$ac_useropt=no ;; 821 822 -docdir | --docdir | --docdi | --doc | --do) 823 ac_prev=docdir ;; 824 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 825 docdir=$ac_optarg ;; 826 827 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 828 ac_prev=dvidir ;; 829 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 830 dvidir=$ac_optarg ;; 405 831 406 832 -enable-* | --enable-*) 407 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`833 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 834 # 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 ;; 835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 836 as_fn_error $? "invalid feature name: $ac_useropt" 837 ac_useropt_orig=$ac_useropt 838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 839 case $ac_user_opts in 840 *" 841 "enable_$ac_useropt" 842 "*) ;; 843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 844 ac_unrecognized_sep=', ';; 416 845 esac 417 eval "enable_$ac_feature='$ac_optarg'";;846 eval enable_$ac_useropt=\$ac_optarg ;; 418 847 419 848 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 871 host_alias=$ac_optarg ;; 443 872 873 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 874 ac_prev=htmldir ;; 875 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 876 | --ht=*) 877 htmldir=$ac_optarg ;; 878 444 879 -includedir | --includedir | --includedi | --included | --include \ 445 880 | --includ | --inclu | --incl | --inc) … … 466 901 libexecdir=$ac_optarg ;; 467 902 903 -localedir | --localedir | --localedi | --localed | --locale) 904 ac_prev=localedir ;; 905 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 906 localedir=$ac_optarg ;; 907 468 908 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 909 | --localstate | --localstat | --localsta | --localst | --locals) 471 910 ac_prev=localstatedir ;; 472 911 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 912 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 913 localstatedir=$ac_optarg ;; 476 914 … … 537 975 program_transform_name=$ac_optarg ;; 538 976 977 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 978 ac_prev=pdfdir ;; 979 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 980 pdfdir=$ac_optarg ;; 981 982 -psdir | --psdir | --psdi | --psd | --ps) 983 ac_prev=psdir ;; 984 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 985 psdir=$ac_optarg ;; 986 539 987 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 988 | -silent | --silent | --silen | --sile | --sil) 541 989 silent=yes ;; 990 991 -runstatedir | --runstatedir | --runstatedi | --runstated \ 992 | --runstate | --runstat | --runsta | --runst | --runs \ 993 | --run | --ru | --r) 994 ac_prev=runstatedir ;; 995 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 996 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 997 | --run=* | --ru=* | --r=*) 998 runstatedir=$ac_optarg ;; 542 999 543 1000 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) … … 587 1044 588 1045 -with-* | --with-*) 589 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1046 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 590 1047 # 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 ;; 1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1049 as_fn_error $? "invalid package name: $ac_useropt" 1050 ac_useropt_orig=$ac_useropt 1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1052 case $ac_user_opts in 1053 *" 1054 "with_$ac_useropt" 1055 "*) ;; 1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1057 ac_unrecognized_sep=', ';; 598 1058 esac 599 eval "with_$ac_package='$ac_optarg'";;1059 eval with_$ac_useropt=\$ac_optarg ;; 600 1060 601 1061 -without-* | --without-*) 602 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1062 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 603 1063 # 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" ;; 1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1065 as_fn_error $? "invalid package name: $ac_useropt" 1066 ac_useropt_orig=$ac_useropt 1067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1068 case $ac_user_opts in 1069 *" 1070 "with_$ac_useropt" 1071 "*) ;; 1072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1073 ac_unrecognized_sep=', ';; 1074 esac 1075 eval with_$ac_useropt=no ;; 609 1076 610 1077 --x) … … 626 1093 x_libraries=$ac_optarg ;; 627 1094 628 -*) { echo "$as_me: error: unrecognized option: $ac_option 629 Try \`$0 --help' for more information." >&2 630 { (exit 1); exit 1; }; } 1095 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1096 Try \`$0 --help' for more information" 631 1097 ;; 632 1098 … … 634 1100 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 635 1101 # 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'"1102 case $ac_envvar in #( 1103 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1104 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1105 esac 1106 eval $ac_envvar=\$ac_optarg 641 1107 export $ac_envvar ;; 642 1108 643 1109 *) 644 1110 # FIXME: should be removed in autoconf 3.0. 645 echo "$as_me: WARNING: you should use --build, --host, --target" >&21111 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 646 1112 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1113 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1114 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 649 1115 ;; 650 1116 … … 654 1120 if test -n "$ac_prev"; then 655 1121 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 1122 as_fn_error $? "missing argument to $ac_option" 1123 fi 1124 1125 if test -n "$ac_unrecognized_opts"; then 1126 case $enable_option_checking in 1127 no) ;; 1128 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1129 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1130 esac 1131 fi 1132 1133 # Check all directory arguments for consistency. 1134 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1135 datadir sysconfdir sharedstatedir localstatedir includedir \ 1136 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1137 libdir localedir mandir runstatedir 662 1138 do 663 eval ac_val=$`echo $ac_var` 1139 eval ac_val=\$$ac_var 1140 # Remove trailing slashes. 664 1141 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; }; };;1142 */ ) 1143 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1144 eval $ac_var=\$ac_val;; 668 1145 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` 1146 # Be sure to have absolute directory names. 676 1147 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; }; };; 1148 [\\/$]* | ?:[\\/]* ) continue;; 1149 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 680 1150 esac 1151 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 681 1152 done 682 1153 … … 692 1163 if test "x$build_alias" = x; then 693 1164 cross_compiling=maybe 694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.695 If a cross compiler is detected then cross compile mode will be used." >&2696 1165 elif test "x$build_alias" != "x$host_alias"; then 697 1166 cross_compiling=yes … … 705 1174 706 1175 1176 ac_pwd=`pwd` && test -n "$ac_pwd" && 1177 ac_ls_di=`ls -di .` && 1178 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1179 as_fn_error $? "working directory cannot be determined" 1180 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1181 as_fn_error $? "pwd does not report name of working directory" 1182 1183 707 1184 # Find the source files, if location was not specified. 708 1185 if test -z "$srcdir"; then 709 1186 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'` 1187 # Try the directory containing this script, then the parent directory. 1188 ac_confdir=`$as_dirname -- "$as_myself" || 1189 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1190 X"$as_myself" : 'X\(//\)[^/]' \| \ 1191 X"$as_myself" : 'X\(//\)$' \| \ 1192 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1193 $as_echo X"$as_myself" | 1194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1195 s//\1/ 1196 q 1197 } 1198 /^X\(\/\/\)[^/].*/{ 1199 s//\1/ 1200 q 1201 } 1202 /^X\(\/\/\)$/{ 1203 s//\1/ 1204 q 1205 } 1206 /^X\(\/\).*/{ 1207 s//\1/ 1208 q 1209 } 1210 s/.*/./; q'` 723 1211 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1212 if test ! -r "$srcdir/$ac_unique_file"; then 725 1213 srcdir=.. 726 1214 fi … … 728 1216 ac_srcdir_defaulted=no 729 1217 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_CXX_set=${CXX+set} 756 ac_env_CXX_value=$CXX 757 ac_cv_env_CXX_set=${CXX+set} 758 ac_cv_env_CXX_value=$CXX 759 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 760 ac_env_CXXFLAGS_value=$CXXFLAGS 761 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 762 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 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_CC_set=${CC+set} 772 ac_env_CC_value=$CC 773 ac_cv_env_CC_set=${CC+set} 774 ac_cv_env_CC_value=$CC 775 ac_env_CFLAGS_set=${CFLAGS+set} 776 ac_env_CFLAGS_value=$CFLAGS 777 ac_cv_env_CFLAGS_set=${CFLAGS+set} 778 ac_cv_env_CFLAGS_value=$CFLAGS 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 1218 if test ! -r "$srcdir/$ac_unique_file"; then 1219 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1220 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1221 fi 1222 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1223 ac_abs_confdir=`( 1224 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1225 pwd)` 1226 # When building in place, set srcdir=. 1227 if test "$ac_abs_confdir" = "$ac_pwd"; then 1228 srcdir=. 1229 fi 1230 # Remove unnecessary trailing slashes from srcdir. 1231 # Double slashes in file names in object file debugging info 1232 # mess up M-x gdb in Emacs. 1233 case $srcdir in 1234 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1235 esac 1236 for ac_var in $ac_precious_vars; do 1237 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1238 eval ac_env_${ac_var}_value=\$${ac_var} 1239 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1240 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1241 done 783 1242 784 1243 # … … 803 1262 --help=recursive display the short help of all the included packages 804 1263 -V, --version display version information and exit 805 -q, --quiet, --silent do not print \`checking ...' messages1264 -q, --quiet, --silent do not print \`checking ...' messages 806 1265 --cache-file=FILE cache test results in FILE [disabled] 807 1266 -C, --config-cache alias for \`--cache-file=config.cache' … … 809 1268 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 810 1269 811 _ACEOF812 813 cat <<_ACEOF814 1270 Installation directories: 815 1271 --prefix=PREFIX install architecture-independent files in PREFIX 816 1272 [$ac_default_prefix] 817 1273 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 818 1274 [PREFIX] 819 1275 820 1276 By default, \`make install' will install all the files in … … 826 1282 827 1283 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] 1284 --bindir=DIR user executables [EPREFIX/bin] 1285 --sbindir=DIR system admin executables [EPREFIX/sbin] 1286 --libexecdir=DIR program executables [EPREFIX/libexec] 1287 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1288 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1289 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1290 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1291 --libdir=DIR object code libraries [EPREFIX/lib] 1292 --includedir=DIR C header files [PREFIX/include] 1293 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1294 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1295 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1296 --infodir=DIR info documentation [DATAROOTDIR/info] 1297 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1298 --mandir=DIR man documentation [DATAROOTDIR/man] 1299 --docdir=DIR documentation root 1300 [DATAROOTDIR/doc/full-package-name] 1301 --htmldir=DIR html documentation [DOCDIR] 1302 --dvidir=DIR dvi documentation [DOCDIR] 1303 --pdfdir=DIR pdf documentation [DOCDIR] 1304 --psdir=DIR ps documentation [DOCDIR] 840 1305 _ACEOF 841 1306 … … 855 1320 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 856 1321 nonstandard directory <lib dir> 857 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 858 headers in a nonstandard directory <include dir> 1322 LIBS libraries to pass to the linker, e.g. -l<library> 1323 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1324 you have headers in a nonstandard directory <include dir> 859 1325 CC C compiler command 860 1326 CFLAGS C compiler flags … … 866 1332 Report bugs to <BUG-REPORT-ADDRESS>. 867 1333 _ACEOF 1334 ac_status=$? 868 1335 fi 869 1336 870 1337 if test "$ac_init_help" = "recursive"; then 871 1338 # If there are subdirs, report their specific --help. 872 ac_popdir=`pwd`873 1339 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 874 test -d $ac_dir || continue 1340 test -d "$ac_dir" || 1341 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1342 continue 875 1343 ac_builddir=. 876 1344 877 if test "$ac_dir" != .; then 878 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 879 # A "../" for each directory in $ac_dir_suffix. 880 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 881 else 882 ac_dir_suffix= ac_top_builddir= 883 fi 1345 case "$ac_dir" in 1346 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1347 *) 1348 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1349 # A ".." for each directory in $ac_dir_suffix. 1350 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1351 case $ac_top_builddir_sub in 1352 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1353 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1354 esac ;; 1355 esac 1356 ac_abs_top_builddir=$ac_pwd 1357 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1358 # for backward compatibility: 1359 ac_top_builddir=$ac_top_build_prefix 884 1360 885 1361 case $srcdir in 886 .) # No --srcdir option.We are building in place.1362 .) # We are building in place. 887 1363 ac_srcdir=. 888 if test -z "$ac_top_builddir"; then 889 ac_top_srcdir=. 1364 ac_top_srcdir=$ac_top_builddir_sub 1365 ac_abs_top_srcdir=$ac_pwd ;; 1366 [\\/]* | ?:[\\/]* ) # Absolute name. 1367 ac_srcdir=$srcdir$ac_dir_suffix; 1368 ac_top_srcdir=$srcdir 1369 ac_abs_top_srcdir=$srcdir ;; 1370 *) # Relative name. 1371 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1372 ac_top_srcdir=$ac_top_build_prefix$srcdir 1373 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1374 esac 1375 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1376 1377 cd "$ac_dir" || { ac_status=$?; continue; } 1378 # Check for guested configure. 1379 if test -f "$ac_srcdir/configure.gnu"; then 1380 echo && 1381 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1382 elif test -f "$ac_srcdir/configure"; then 1383 echo && 1384 $SHELL "$ac_srcdir/configure" --help=recursive 890 1385 else 891 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 892 fi ;; 893 [\\/]* | ?:[\\/]* ) # Absolute path. 894 ac_srcdir=$srcdir$ac_dir_suffix; 895 ac_top_srcdir=$srcdir ;; 896 *) # Relative path. 897 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 898 ac_top_srcdir=$ac_top_builddir$srcdir ;; 899 esac 900 901 # Do not use `cd foo && pwd` to compute absolute paths, because 902 # the directories may not exist. 903 case `pwd` in 904 .) ac_abs_builddir="$ac_dir";; 905 *) 906 case "$ac_dir" in 907 .) ac_abs_builddir=`pwd`;; 908 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 909 *) ac_abs_builddir=`pwd`/"$ac_dir";; 910 esac;; 911 esac 912 case $ac_abs_builddir in 913 .) ac_abs_top_builddir=${ac_top_builddir}.;; 914 *) 915 case ${ac_top_builddir}. in 916 .) ac_abs_top_builddir=$ac_abs_builddir;; 917 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 918 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 919 esac;; 920 esac 921 case $ac_abs_builddir in 922 .) ac_abs_srcdir=$ac_srcdir;; 923 *) 924 case $ac_srcdir in 925 .) ac_abs_srcdir=$ac_abs_builddir;; 926 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 927 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 928 esac;; 929 esac 930 case $ac_abs_builddir in 931 .) ac_abs_top_srcdir=$ac_top_srcdir;; 932 *) 933 case $ac_top_srcdir in 934 .) ac_abs_top_srcdir=$ac_abs_builddir;; 935 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 936 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 937 esac;; 938 esac 939 940 cd $ac_dir 941 # Check for guested configure; otherwise get Cygnus style configure. 942 if test -f $ac_srcdir/configure.gnu; then 943 echo 944 $SHELL $ac_srcdir/configure.gnu --help=recursive 945 elif test -f $ac_srcdir/configure; then 946 echo 947 $SHELL $ac_srcdir/configure --help=recursive 948 elif test -f $ac_srcdir/configure.ac || 949 test -f $ac_srcdir/configure.in; then 950 echo 951 $ac_configure --help 952 else 953 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 954 fi 955 cd $ac_popdir 1386 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1387 fi || ac_status=$? 1388 cd "$ac_pwd" || { ac_status=$?; break; } 956 1389 done 957 1390 fi 958 1391 959 test -n "$ac_init_help" && exit 01392 test -n "$ac_init_help" && exit $ac_status 960 1393 if $ac_init_version; then 961 1394 cat <<\_ACEOF 962 1395 FULL-PACKAGE-NAME configure VERSION 963 generated by GNU Autoconf 2. 59964 965 Copyright (C) 20 03Free Software Foundation, Inc.1396 generated by GNU Autoconf 2.69 1397 1398 Copyright (C) 2012 Free Software Foundation, Inc. 966 1399 This configure script is free software; the Free Software Foundation 967 1400 gives unlimited permission to copy, distribute and modify it. 968 1401 _ACEOF 969 exit 0 970 fi 971 exec 5>config.log 972 cat >&5 <<_ACEOF 1402 exit 1403 fi 1404 1405 ## ------------------------ ## 1406 ## Autoconf initialization. ## 1407 ## ------------------------ ## 1408 1409 # ac_fn_cxx_try_compile LINENO 1410 # ---------------------------- 1411 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1412 ac_fn_cxx_try_compile () 1413 { 1414 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1415 rm -f conftest.$ac_objext 1416 if { { ac_try="$ac_compile" 1417 case "(($ac_try" in 1418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1419 *) ac_try_echo=$ac_try;; 1420 esac 1421 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1422 $as_echo "$ac_try_echo"; } >&5 1423 (eval "$ac_compile") 2>conftest.err 1424 ac_status=$? 1425 if test -s conftest.err; then 1426 grep -v '^ *+' conftest.err >conftest.er1 1427 cat conftest.er1 >&5 1428 mv -f conftest.er1 conftest.err 1429 fi 1430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1431 test $ac_status = 0; } && { 1432 test -z "$ac_cxx_werror_flag" || 1433 test ! -s conftest.err 1434 } && test -s conftest.$ac_objext; then : 1435 ac_retval=0 1436 else 1437 $as_echo "$as_me: failed program was:" >&5 1438 sed 's/^/| /' conftest.$ac_ext >&5 1439 1440 ac_retval=1 1441 fi 1442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1443 as_fn_set_status $ac_retval 1444 1445 } # ac_fn_cxx_try_compile 1446 1447 # ac_fn_c_try_compile LINENO 1448 # -------------------------- 1449 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1450 ac_fn_c_try_compile () 1451 { 1452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1453 rm -f conftest.$ac_objext 1454 if { { ac_try="$ac_compile" 1455 case "(($ac_try" in 1456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1457 *) ac_try_echo=$ac_try;; 1458 esac 1459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1460 $as_echo "$ac_try_echo"; } >&5 1461 (eval "$ac_compile") 2>conftest.err 1462 ac_status=$? 1463 if test -s conftest.err; then 1464 grep -v '^ *+' conftest.err >conftest.er1 1465 cat conftest.er1 >&5 1466 mv -f conftest.er1 conftest.err 1467 fi 1468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1469 test $ac_status = 0; } && { 1470 test -z "$ac_c_werror_flag" || 1471 test ! -s conftest.err 1472 } && test -s conftest.$ac_objext; then : 1473 ac_retval=0 1474 else 1475 $as_echo "$as_me: failed program was:" >&5 1476 sed 's/^/| /' conftest.$ac_ext >&5 1477 1478 ac_retval=1 1479 fi 1480 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1481 as_fn_set_status $ac_retval 1482 1483 } # ac_fn_c_try_compile 1484 1485 # ac_fn_c_try_cpp LINENO 1486 # ---------------------- 1487 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1488 ac_fn_c_try_cpp () 1489 { 1490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1491 if { { ac_try="$ac_cpp conftest.$ac_ext" 1492 case "(($ac_try" in 1493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1494 *) ac_try_echo=$ac_try;; 1495 esac 1496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1497 $as_echo "$ac_try_echo"; } >&5 1498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1499 ac_status=$? 1500 if test -s conftest.err; then 1501 grep -v '^ *+' conftest.err >conftest.er1 1502 cat conftest.er1 >&5 1503 mv -f conftest.er1 conftest.err 1504 fi 1505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1506 test $ac_status = 0; } > conftest.i && { 1507 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1508 test ! -s conftest.err 1509 }; then : 1510 ac_retval=0 1511 else 1512 $as_echo "$as_me: failed program was:" >&5 1513 sed 's/^/| /' conftest.$ac_ext >&5 1514 1515 ac_retval=1 1516 fi 1517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1518 as_fn_set_status $ac_retval 1519 1520 } # ac_fn_c_try_cpp 1521 1522 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1523 # ------------------------------------------- 1524 # Tests whether TYPE exists after having included INCLUDES, setting cache 1525 # variable VAR accordingly. 1526 ac_fn_c_check_type () 1527 { 1528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1530 $as_echo_n "checking for $2... " >&6; } 1531 if eval \${$3+:} false; then : 1532 $as_echo_n "(cached) " >&6 1533 else 1534 eval "$3=no" 1535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1536 /* end confdefs.h. */ 1537 $4 1538 int 1539 main () 1540 { 1541 if (sizeof ($2)) 1542 return 0; 1543 ; 1544 return 0; 1545 } 1546 _ACEOF 1547 if ac_fn_c_try_compile "$LINENO"; then : 1548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1549 /* end confdefs.h. */ 1550 $4 1551 int 1552 main () 1553 { 1554 if (sizeof (($2))) 1555 return 0; 1556 ; 1557 return 0; 1558 } 1559 _ACEOF 1560 if ac_fn_c_try_compile "$LINENO"; then : 1561 1562 else 1563 eval "$3=yes" 1564 fi 1565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1566 fi 1567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1568 fi 1569 eval ac_res=\$$3 1570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1571 $as_echo "$ac_res" >&6; } 1572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1573 1574 } # ac_fn_c_check_type 1575 1576 # ac_fn_c_try_run LINENO 1577 # ---------------------- 1578 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1579 # that executables *can* be run. 1580 ac_fn_c_try_run () 1581 { 1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1583 if { { ac_try="$ac_link" 1584 case "(($ac_try" in 1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1586 *) ac_try_echo=$ac_try;; 1587 esac 1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1589 $as_echo "$ac_try_echo"; } >&5 1590 (eval "$ac_link") 2>&5 1591 ac_status=$? 1592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1593 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1594 { { case "(($ac_try" in 1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1596 *) ac_try_echo=$ac_try;; 1597 esac 1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1599 $as_echo "$ac_try_echo"; } >&5 1600 (eval "$ac_try") 2>&5 1601 ac_status=$? 1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1603 test $ac_status = 0; }; }; then : 1604 ac_retval=0 1605 else 1606 $as_echo "$as_me: program exited with status $ac_status" >&5 1607 $as_echo "$as_me: failed program was:" >&5 1608 sed 's/^/| /' conftest.$ac_ext >&5 1609 1610 ac_retval=$ac_status 1611 fi 1612 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1614 as_fn_set_status $ac_retval 1615 1616 } # ac_fn_c_try_run 1617 1618 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1619 # ------------------------------------------------------- 1620 # Tests whether HEADER exists and can be compiled using the include files in 1621 # INCLUDES, setting the cache variable VAR accordingly. 1622 ac_fn_c_check_header_compile () 1623 { 1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1626 $as_echo_n "checking for $2... " >&6; } 1627 if eval \${$3+:} false; then : 1628 $as_echo_n "(cached) " >&6 1629 else 1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1631 /* end confdefs.h. */ 1632 $4 1633 #include <$2> 1634 _ACEOF 1635 if ac_fn_c_try_compile "$LINENO"; then : 1636 eval "$3=yes" 1637 else 1638 eval "$3=no" 1639 fi 1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1641 fi 1642 eval ac_res=\$$3 1643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1644 $as_echo "$ac_res" >&6; } 1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1646 1647 } # ac_fn_c_check_header_compile 1648 1649 # ac_fn_c_try_link LINENO 1650 # ----------------------- 1651 # Try to link conftest.$ac_ext, and return whether this succeeded. 1652 ac_fn_c_try_link () 1653 { 1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1655 rm -f conftest.$ac_objext conftest$ac_exeext 1656 if { { ac_try="$ac_link" 1657 case "(($ac_try" in 1658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1659 *) ac_try_echo=$ac_try;; 1660 esac 1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1662 $as_echo "$ac_try_echo"; } >&5 1663 (eval "$ac_link") 2>conftest.err 1664 ac_status=$? 1665 if test -s conftest.err; then 1666 grep -v '^ *+' conftest.err >conftest.er1 1667 cat conftest.er1 >&5 1668 mv -f conftest.er1 conftest.err 1669 fi 1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1671 test $ac_status = 0; } && { 1672 test -z "$ac_c_werror_flag" || 1673 test ! -s conftest.err 1674 } && test -s conftest$ac_exeext && { 1675 test "$cross_compiling" = yes || 1676 test -x conftest$ac_exeext 1677 }; then : 1678 ac_retval=0 1679 else 1680 $as_echo "$as_me: failed program was:" >&5 1681 sed 's/^/| /' conftest.$ac_ext >&5 1682 1683 ac_retval=1 1684 fi 1685 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1686 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1687 # interfere with the next link command; also delete a directory that is 1688 # left behind by Apple's compiler. We do this before executing the actions. 1689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1691 as_fn_set_status $ac_retval 1692 1693 } # ac_fn_c_try_link 1694 1695 # ac_fn_c_check_func LINENO FUNC VAR 1696 # ---------------------------------- 1697 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1698 ac_fn_c_check_func () 1699 { 1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1702 $as_echo_n "checking for $2... " >&6; } 1703 if eval \${$3+:} false; then : 1704 $as_echo_n "(cached) " >&6 1705 else 1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1707 /* end confdefs.h. */ 1708 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1709 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1710 #define $2 innocuous_$2 1711 1712 /* System header to define __stub macros and hopefully few prototypes, 1713 which can conflict with char $2 (); below. 1714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1715 <limits.h> exists even on freestanding compilers. */ 1716 1717 #ifdef __STDC__ 1718 # include <limits.h> 1719 #else 1720 # include <assert.h> 1721 #endif 1722 1723 #undef $2 1724 1725 /* Override any GCC internal prototype to avoid an error. 1726 Use char because int might match the return type of a GCC 1727 builtin and then its argument prototype would still apply. */ 1728 #ifdef __cplusplus 1729 extern "C" 1730 #endif 1731 char $2 (); 1732 /* The GNU C library defines this for functions which it implements 1733 to always fail with ENOSYS. Some functions are actually named 1734 something starting with __ and the normal name is an alias. */ 1735 #if defined __stub_$2 || defined __stub___$2 1736 choke me 1737 #endif 1738 1739 int 1740 main () 1741 { 1742 return $2 (); 1743 ; 1744 return 0; 1745 } 1746 _ACEOF 1747 if ac_fn_c_try_link "$LINENO"; then : 1748 eval "$3=yes" 1749 else 1750 eval "$3=no" 1751 fi 1752 rm -f core conftest.err conftest.$ac_objext \ 1753 conftest$ac_exeext conftest.$ac_ext 1754 fi 1755 eval ac_res=\$$3 1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1757 $as_echo "$ac_res" >&6; } 1758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1759 1760 } # ac_fn_c_check_func 1761 cat >config.log <<_ACEOF 973 1762 This file contains any messages produced by compilers while 974 1763 running configure, to aid debugging if configure makes a mistake. 975 1764 976 1765 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was 977 generated by GNU Autoconf 2. 59. Invocation command line was1766 generated by GNU Autoconf 2.69. Invocation command line was 978 1767 979 1768 $ $0 $@ 980 1769 981 1770 _ACEOF 1771 exec 5>>config.log 982 1772 { 983 1773 cat <<_ASUNAME … … 998 1788 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 999 1789 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1000 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1790 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1001 1791 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1002 1792 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1010 1800 IFS=$as_save_IFS 1011 1801 test -z "$as_dir" && as_dir=. 1012 echo "PATH: $as_dir" 1013 done 1802 $as_echo "PATH: $as_dir" 1803 done 1804 IFS=$as_save_IFS 1014 1805 1015 1806 } >&5 … … 1033 1824 ac_configure_args0= 1034 1825 ac_configure_args1= 1035 ac_sep=1036 1826 ac_must_keep_next=false 1037 1827 for ac_pass in 1 2 … … 1044 1834 | -silent | --silent | --silen | --sile | --sil) 1045 1835 continue ;; 1046 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1047 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1836 *\'*) 1837 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1048 1838 esac 1049 1839 case $ac_pass in 1050 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1840 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1051 1841 2) 1052 a c_configure_args1="$ac_configure_args1'$ac_arg'"1842 as_fn_append ac_configure_args1 " '$ac_arg'" 1053 1843 if test $ac_must_keep_next = true; then 1054 1844 ac_must_keep_next=false # Got value, back to normal. … … 1066 1856 esac 1067 1857 fi 1068 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1069 # Get rid of the leading space. 1070 ac_sep=" " 1858 as_fn_append ac_configure_args " '$ac_arg'" 1071 1859 ;; 1072 1860 esac 1073 1861 done 1074 1862 done 1075 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1076 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1863 { ac_configure_args0=; unset ac_configure_args0;} 1864 { ac_configure_args1=; unset ac_configure_args1;} 1077 1865 1078 1866 # When interrupted or exit'd, cleanup temporary files, and complete 1079 1867 # config.log. We remove comments because anyway the quotes in there 1080 1868 # would cause problems or look ugly. 1081 # WARNING: Be sure not to use single quotes in there, as some shells,1082 # such as our DU 5.0 friend, will then `close' the trap.1869 # WARNING: Use '\'' to represent an apostrophe within the trap. 1870 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1083 1871 trap 'exit_status=$? 1084 1872 # Save into config.log some information that might help in debugging. … … 1086 1874 echo 1087 1875 1088 cat <<\_ASBOX 1089 ## ---------------- ## 1876 $as_echo "## ---------------- ## 1090 1877 ## Cache variables. ## 1091 ## ---------------- ## 1092 _ASBOX 1878 ## ---------------- ##" 1093 1879 echo 1094 1880 # The following way of writing the cache mishandles newlines in values, 1095 { 1881 ( 1882 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1883 eval ac_val=\$$ac_var 1884 case $ac_val in #( 1885 *${as_nl}*) 1886 case $ac_var in #( 1887 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1888 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1889 esac 1890 case $ac_var in #( 1891 _ | IFS | as_nl) ;; #( 1892 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1893 *) { eval $ac_var=; unset $ac_var;} ;; 1894 esac ;; 1895 esac 1896 done 1096 1897 (set) 2>&1 | 1097 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1098 * ac_space=\ *)1898 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1899 *${as_nl}ac_space=\ *) 1099 1900 sed -n \ 1100 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1101 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1901 "s/'\''/'\''\\\\'\'''\''/g; 1902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1903 ;; #( 1904 *) 1905 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1102 1906 ;; 1103 *) 1104 sed -n \ 1105 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1106 ;; 1107 esac; 1108 } 1907 esac | 1908 sort 1909 ) 1109 1910 echo 1110 1911 1111 cat <<\_ASBOX 1112 ## ----------------- ## 1912 $as_echo "## ----------------- ## 1113 1913 ## Output variables. ## 1114 ## ----------------- ## 1115 _ASBOX 1914 ## ----------------- ##" 1116 1915 echo 1117 1916 for ac_var in $ac_subst_vars 1118 1917 do 1119 eval ac_val=$`echo $ac_var` 1120 echo "$ac_var='"'"'$ac_val'"'"'" 1918 eval ac_val=\$$ac_var 1919 case $ac_val in 1920 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1921 esac 1922 $as_echo "$ac_var='\''$ac_val'\''" 1121 1923 done | sort 1122 1924 echo 1123 1925 1124 1926 if test -n "$ac_subst_files"; then 1125 cat <<\_ASBOX 1126 ## ------------- ## 1127 ## Output files. ## 1128 ## ------------- ## 1129 _ASBOX 1927 $as_echo "## ------------------- ## 1928 ## File substitutions. ## 1929 ## ------------------- ##" 1130 1930 echo 1131 1931 for ac_var in $ac_subst_files 1132 1932 do 1133 eval ac_val=$`echo $ac_var` 1134 echo "$ac_var='"'"'$ac_val'"'"'" 1933 eval ac_val=\$$ac_var 1934 case $ac_val in 1935 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1936 esac 1937 $as_echo "$ac_var='\''$ac_val'\''" 1135 1938 done | sort 1136 1939 echo … … 1138 1941 1139 1942 if test -s confdefs.h; then 1140 cat <<\_ASBOX 1141 ## ----------- ## 1943 $as_echo "## ----------- ## 1142 1944 ## confdefs.h. ## 1143 ## ----------- ## 1144 _ASBOX 1945 ## ----------- ##" 1145 1946 echo 1146 sed "/^$/d" confdefs.h | sort1947 cat confdefs.h 1147 1948 echo 1148 1949 fi 1149 1950 test "$ac_signal" != 0 && 1150 echo "$as_me: caught signal $ac_signal"1151 echo "$as_me: exit $exit_status"1951 $as_echo "$as_me: caught signal $ac_signal" 1952 $as_echo "$as_me: exit $exit_status" 1152 1953 } >&5 1153 rm -f core *.core &&1154 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1954 rm -f core *.core core.conftest.* && 1955 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1155 1956 exit $exit_status 1156 1957 ' 0 1157 1958 for ac_signal in 1 2 13 15; do 1158 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal1959 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1159 1960 done 1160 1961 ac_signal=0 1161 1962 1162 1963 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1163 rm - rfconftest* confdefs.h1164 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1165 echo >confdefs.h1964 rm -f -r conftest* confdefs.h 1965 1966 $as_echo "/* confdefs.h */" > confdefs.h 1166 1967 1167 1968 # Predefined preprocessor variables. … … 1171 1972 _ACEOF 1172 1973 1173 1174 1974 cat >>confdefs.h <<_ACEOF 1175 1975 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1176 1976 _ACEOF 1177 1977 1178 1179 1978 cat >>confdefs.h <<_ACEOF 1180 1979 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1181 1980 _ACEOF 1182 1981 1183 1184 1982 cat >>confdefs.h <<_ACEOF 1185 1983 #define PACKAGE_STRING "$PACKAGE_STRING" 1186 1984 _ACEOF 1187 1985 1188 1189 1986 cat >>confdefs.h <<_ACEOF 1190 1987 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1191 1988 _ACEOF 1192 1989 1990 cat >>confdefs.h <<_ACEOF 1991 #define PACKAGE_URL "$PACKAGE_URL" 1992 _ACEOF 1993 1193 1994 1194 1995 # Let the site file select an alternate cache file if it wants to. 1195 # Prefer explicitly selected file to automatically selected ones. 1196 if test -z "$CONFIG_SITE"; then 1197 if test "x$prefix" != xNONE; then 1198 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1199 else 1200 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1201 fi 1202 fi 1203 for ac_site_file in $CONFIG_SITE; do 1204 if test -r "$ac_site_file"; then 1205 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1206 echo "$as_me: loading site script $ac_site_file" >&6;} 1996 # Prefer an explicitly selected file to automatically selected ones. 1997 ac_site_file1=NONE 1998 ac_site_file2=NONE 1999 if test -n "$CONFIG_SITE"; then 2000 # We do not want a PATH search for config.site. 2001 case $CONFIG_SITE in #(( 2002 -*) ac_site_file1=./$CONFIG_SITE;; 2003 */*) ac_site_file1=$CONFIG_SITE;; 2004 *) ac_site_file1=./$CONFIG_SITE;; 2005 esac 2006 elif test "x$prefix" != xNONE; then 2007 ac_site_file1=$prefix/share/config.site 2008 ac_site_file2=$prefix/etc/config.site 2009 else 2010 ac_site_file1=$ac_default_prefix/share/config.site 2011 ac_site_file2=$ac_default_prefix/etc/config.site 2012 fi 2013 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2014 do 2015 test "x$ac_site_file" = xNONE && continue 2016 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2017 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2018 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1207 2019 sed 's/^/| /' "$ac_site_file" >&5 1208 . "$ac_site_file" 2020 . "$ac_site_file" \ 2021 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2023 as_fn_error $? "failed to load site script $ac_site_file 2024 See \`config.log' for more details" "$LINENO" 5; } 1209 2025 fi 1210 2026 done 1211 2027 1212 2028 if test -r "$cache_file"; then 1213 # Some versions of bash will fail to source /dev/null (special 1214 # files actually), so we avoid doing that.1215 if test -f "$cache_file"; then1216 { echo "$as_me:$LINENO: loading cache $cache_file" >&51217 echo "$as_me: loading cache $cache_file" >&6;}2029 # Some versions of bash will fail to source /dev/null (special files 2030 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2031 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2032 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2033 $as_echo "$as_me: loading cache $cache_file" >&6;} 1218 2034 case $cache_file in 1219 [\\/]* | ?:[\\/]* ) . $cache_file;;1220 *) . ./$cache_file;;2035 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2036 *) . "./$cache_file";; 1221 2037 esac 1222 2038 fi 1223 2039 else 1224 { echo "$as_me:$LINENO: creating cache $cache_file" >&51225 echo "$as_me: creating cache $cache_file" >&6;}2040 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2041 $as_echo "$as_me: creating cache $cache_file" >&6;} 1226 2042 >$cache_file 1227 2043 fi … … 1230 2046 # value. 1231 2047 ac_cache_corrupted=false 1232 for ac_var in `(set) 2>&1 | 1233 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2048 for ac_var in $ac_precious_vars; do 1234 2049 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1235 2050 eval ac_new_set=\$ac_env_${ac_var}_set 1236 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1237 eval ac_new_val= "\$ac_env_${ac_var}_value"2051 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2052 eval ac_new_val=\$ac_env_${ac_var}_value 1238 2053 case $ac_old_set,$ac_new_set in 1239 2054 set,) 1240 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51241 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2056 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1242 2057 ac_cache_corrupted=: ;; 1243 2058 ,set) 1244 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51245 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2060 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1246 2061 ac_cache_corrupted=: ;; 1247 2062 ,);; 1248 2063 *) 1249 2064 if test "x$ac_old_val" != "x$ac_new_val"; then 1250 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1251 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1252 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1253 echo "$as_me: former value: $ac_old_val" >&2;} 1254 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1255 echo "$as_me: current value: $ac_new_val" >&2;} 1256 ac_cache_corrupted=: 2065 # differences in whitespace do not lead to failure. 2066 ac_old_val_w=`echo x $ac_old_val` 2067 ac_new_val_w=`echo x $ac_new_val` 2068 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2070 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2071 ac_cache_corrupted=: 2072 else 2073 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2074 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2075 eval $ac_var=\$ac_old_val 2076 fi 2077 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2078 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2079 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2080 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1257 2081 fi;; 1258 2082 esac … … 1260 2084 if test "$ac_new_set" = set; then 1261 2085 case $ac_new_val in 1262 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1263 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2086 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1264 2087 *) ac_arg=$ac_var=$ac_new_val ;; 1265 2088 esac 1266 2089 case " $ac_configure_args " in 1267 2090 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1268 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2091 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1269 2092 esac 1270 2093 fi 1271 2094 done 1272 2095 if $ac_cache_corrupted; then 1273 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1274 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1275 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1276 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1277 { (exit 1); exit 1; }; } 1278 fi 2096 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2099 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2100 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2101 fi 2102 ## -------------------- ## 2103 ## Main body of script. ## 2104 ## -------------------- ## 1279 2105 1280 2106 ac_ext=c … … 1286 2112 1287 2113 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 ac_config_headers="$ac_config_headers config.h" 2114 ac_config_headers="$ac_config_headers config.h" 1314 2115 1315 2116 1316 2117 # Checks for programs. 1317 ac_ext=c c2118 ac_ext=cpp 1318 2119 ac_cpp='$CXXCPP $CPPFLAGS' 1319 2120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1320 2121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1321 2122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1322 if test -n "$ac_tool_prefix"; then 1323 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2123 if test -z "$CXX"; then 2124 if test -n "$CCC"; then 2125 CXX=$CCC 2126 else 2127 if test -n "$ac_tool_prefix"; then 2128 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1324 2129 do 1325 2130 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1326 2131 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1327 echo "$as_me:$LINENO: checking for $ac_word" >&51328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1329 if test "${ac_cv_prog_CXX+set}" = set; then1330 echo $ECHO_N "(cached) $ECHO_C" >&62132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2133 $as_echo_n "checking for $ac_word... " >&6; } 2134 if ${ac_cv_prog_CXX+:} false; then : 2135 $as_echo_n "(cached) " >&6 1331 2136 else 1332 2137 if test -n "$CXX"; then … … 1338 2143 IFS=$as_save_IFS 1339 2144 test -z "$as_dir" && as_dir=. 1340 for ac_exec_ext in '' $ac_executable_extensions; do1341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2145 for ac_exec_ext in '' $ac_executable_extensions; do 2146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1342 2147 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1344 2149 break 2 1345 2150 fi 1346 2151 done 1347 done 2152 done 2153 IFS=$as_save_IFS 1348 2154 1349 2155 fi … … 1351 2157 CXX=$ac_cv_prog_CXX 1352 2158 if test -n "$CXX"; then 1353 echo "$as_me:$LINENO: result: $CXX" >&5 1354 echo "${ECHO_T}$CXX" >&6 1355 else 1356 echo "$as_me:$LINENO: result: no" >&5 1357 echo "${ECHO_T}no" >&6 1358 fi 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 2160 $as_echo "$CXX" >&6; } 2161 else 2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2163 $as_echo "no" >&6; } 2164 fi 2165 1359 2166 1360 2167 test -n "$CXX" && break … … 1363 2170 if test -z "$CXX"; then 1364 2171 ac_ct_CXX=$CXX 1365 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2172 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1366 2173 do 1367 2174 # Extract the first word of "$ac_prog", so it can be a program name with args. 1368 2175 set dummy $ac_prog; ac_word=$2 1369 echo "$as_me:$LINENO: checking for $ac_word" >&51370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1371 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then1372 echo $ECHO_N "(cached) $ECHO_C" >&62176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2177 $as_echo_n "checking for $ac_word... " >&6; } 2178 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 2179 $as_echo_n "(cached) " >&6 1373 2180 else 1374 2181 if test -n "$ac_ct_CXX"; then … … 1380 2187 IFS=$as_save_IFS 1381 2188 test -z "$as_dir" && as_dir=. 1382 for ac_exec_ext in '' $ac_executable_extensions; do1383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2189 for ac_exec_ext in '' $ac_executable_extensions; do 2190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1384 2191 ac_cv_prog_ac_ct_CXX="$ac_prog" 1385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1386 2193 break 2 1387 2194 fi 1388 2195 done 1389 done 2196 done 2197 IFS=$as_save_IFS 1390 2198 1391 2199 fi … … 1393 2201 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1394 2202 if test -n "$ac_ct_CXX"; then 1395 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 1396 echo "${ECHO_T}$ac_ct_CXX" >&6 1397 else 1398 echo "$as_me:$LINENO: result: no" >&5 1399 echo "${ECHO_T}no" >&6 1400 fi 2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 2204 $as_echo "$ac_ct_CXX" >&6; } 2205 else 2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2207 $as_echo "no" >&6; } 2208 fi 2209 1401 2210 1402 2211 test -n "$ac_ct_CXX" && break 1403 2212 done 1404 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 1405 1406 CXX=$ac_ct_CXX 1407 fi 1408 1409 2213 2214 if test "x$ac_ct_CXX" = x; then 2215 CXX="g++" 2216 else 2217 case $cross_compiling:$ac_tool_warned in 2218 yes:) 2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2221 ac_tool_warned=yes ;; 2222 esac 2223 CXX=$ac_ct_CXX 2224 fi 2225 fi 2226 2227 fi 2228 fi 1410 2229 # Provide some information about the compiler. 1411 echo "$as_me:$LINENO:" \ 1412 "checking for C++ compiler version" >&5 1413 ac_compiler=`set X $ac_compile; echo $2` 1414 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1415 (eval $ac_compiler --version </dev/null >&5) 2>&5 2230 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 2231 set X $ac_compile 2232 ac_compiler=$2 2233 for ac_option in --version -v -V -qversion; do 2234 { { ac_try="$ac_compiler $ac_option >&5" 2235 case "(($ac_try" in 2236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2237 *) ac_try_echo=$ac_try;; 2238 esac 2239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2240 $as_echo "$ac_try_echo"; } >&5 2241 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1416 2242 ac_status=$? 1417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1418 (exit $ac_status); } 1419 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1420 (eval $ac_compiler -v </dev/null >&5) 2>&5 1421 ac_status=$? 1422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1423 (exit $ac_status); } 1424 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1425 (eval $ac_compiler -V </dev/null >&5) 2>&5 1426 ac_status=$? 1427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1428 (exit $ac_status); } 1429 1430 cat >conftest.$ac_ext <<_ACEOF 1431 /* confdefs.h. */ 1432 _ACEOF 1433 cat confdefs.h >>conftest.$ac_ext 1434 cat >>conftest.$ac_ext <<_ACEOF 2243 if test -s conftest.err; then 2244 sed '10a\ 2245 ... rest of stderr output deleted ... 2246 10q' conftest.err >conftest.er1 2247 cat conftest.er1 >&5 2248 fi 2249 rm -f conftest.er1 conftest.err 2250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2251 test $ac_status = 0; } 2252 done 2253 2254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1435 2255 /* end confdefs.h. */ 1436 2256 … … 1444 2264 _ACEOF 1445 2265 ac_clean_files_save=$ac_clean_files 1446 ac_clean_files="$ac_clean_files a.out a. exe b.out"2266 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1447 2267 # Try to create an executable without -o first, disregard a.out. 1448 2268 # It will help us diagnose broken compilers, and finding out an intuition 1449 2269 # of exeext. 1450 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 1451 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 1452 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1453 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1454 (eval $ac_link_default) 2>&5 2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 2271 $as_echo_n "checking whether the C++ compiler works... " >&6; } 2272 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2273 2274 # The possible output files: 2275 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2276 2277 ac_rmfiles= 2278 for ac_file in $ac_files 2279 do 2280 case $ac_file in 2281 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2282 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2283 esac 2284 done 2285 rm -f $ac_rmfiles 2286 2287 if { { ac_try="$ac_link_default" 2288 case "(($ac_try" in 2289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2290 *) ac_try_echo=$ac_try;; 2291 esac 2292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2293 $as_echo "$ac_try_echo"; } >&5 2294 (eval "$ac_link_default") 2>&5 1455 2295 ac_status=$? 1456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1457 (exit $ac_status); }; then 1458 # Find the output, starting from the most likely. This scheme is 1459 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1460 # resort. 1461 1462 # Be careful to initialize this variable, since it used to be cached. 1463 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1464 ac_cv_exeext= 1465 # b.out is created by i960 compilers. 1466 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2297 test $ac_status = 0; }; then : 2298 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2299 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2300 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2301 # so that the user can short-circuit this test for compilers unknown to 2302 # Autoconf. 2303 for ac_file in $ac_files '' 1467 2304 do 1468 2305 test -f "$ac_file" || continue 1469 2306 case $ac_file in 1470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1471 ;; 1472 conftest.$ac_ext ) 1473 # This is the source file. 2307 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1474 2308 ;; 1475 2309 [ab].out ) … … 1478 2312 break;; 1479 2313 *.* ) 1480 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1481 # FIXME: I believe we export ac_cv_exeext for Libtool, 1482 # but it would be cool to find out if it's true. Does anybody 1483 # maintain Libtool? --akim. 1484 export ac_cv_exeext 2314 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2315 then :; else 2316 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2317 fi 2318 # We set ac_cv_exeext here because the later test for it is not 2319 # safe: cross compilers may not add the suffix if given an `-o' 2320 # argument, so we may need to know it at that point already. 2321 # Even if this section looks crufty: it has the advantage of 2322 # actually working. 1485 2323 break;; 1486 2324 * ) … … 1488 2326 esac 1489 2327 done 1490 else 1491 echo "$as_me: failed program was:" >&5 2328 test "$ac_cv_exeext" = no && ac_cv_exeext= 2329 2330 else 2331 ac_file='' 2332 fi 2333 if test -z "$ac_file"; then : 2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2335 $as_echo "no" >&6; } 2336 $as_echo "$as_me: failed program was:" >&5 1492 2337 sed 's/^/| /' conftest.$ac_ext >&5 1493 2338 1494 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables 1495 See \`config.log' for more details." >&5 1496 echo "$as_me: error: C++ compiler cannot create executables 1497 See \`config.log' for more details." >&2;} 1498 { (exit 77); exit 77; }; } 1499 fi 1500 2339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2341 as_fn_error 77 "C++ compiler cannot create executables 2342 See \`config.log' for more details" "$LINENO" 5; } 2343 else 2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2345 $as_echo "yes" >&6; } 2346 fi 2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 2348 $as_echo_n "checking for C++ compiler default output file name... " >&6; } 2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2350 $as_echo "$ac_file" >&6; } 1501 2351 ac_exeext=$ac_cv_exeext 1502 echo "$as_me:$LINENO: result: $ac_file" >&5 1503 echo "${ECHO_T}$ac_file" >&6 1504 1505 # Check the compiler produces executables we can run. If not, either 1506 # the compiler is broken, or we cross compile. 1507 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 1508 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 1509 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1510 # If not cross compiling, check that we can run a simple program. 1511 if test "$cross_compiling" != yes; then 1512 if { ac_try='./$ac_file' 1513 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&51514 (eval $ac_try) 2>&52352 2353 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2354 ac_clean_files=$ac_clean_files_save 2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2356 $as_echo_n "checking for suffix of executables... " >&6; } 2357 if { { ac_try="$ac_link" 2358 case "(($ac_try" in 2359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2360 *) ac_try_echo=$ac_try;; 2361 esac 2362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2363 $as_echo "$ac_try_echo"; } >&5 2364 (eval "$ac_link") 2>&5 1515 2365 ac_status=$? 1516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1517 (exit $ac_status); }; }; then 1518 cross_compiling=no 1519 else 1520 if test "$cross_compiling" = maybe; then 1521 cross_compiling=yes 1522 else 1523 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. 1524 If you meant to cross compile, use \`--host'. 1525 See \`config.log' for more details." >&5 1526 echo "$as_me: error: cannot run C++ compiled programs. 1527 If you meant to cross compile, use \`--host'. 1528 See \`config.log' for more details." >&2;} 1529 { (exit 1); exit 1; }; } 1530 fi 1531 fi 1532 fi 1533 echo "$as_me:$LINENO: result: yes" >&5 1534 echo "${ECHO_T}yes" >&6 1535 1536 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1537 ac_clean_files=$ac_clean_files_save 1538 # Check the compiler produces executables we can run. If not, either 1539 # the compiler is broken, or we cross compile. 1540 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1541 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1542 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1543 echo "${ECHO_T}$cross_compiling" >&6 1544 1545 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1546 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1548 (eval $ac_link) 2>&5 1549 ac_status=$? 1550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1551 (exit $ac_status); }; then 2366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2367 test $ac_status = 0; }; then : 1552 2368 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1553 2369 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 1557 2373 test -f "$ac_file" || continue 1558 2374 case $ac_file in 1559 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 1560 2376 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1561 export ac_cv_exeext1562 2377 break;; 1563 2378 * ) break;; … … 1565 2380 done 1566 2381 else 1567 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1568 See \`config.log' for more details." >&5 1569 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1570 See \`config.log' for more details." >&2;} 1571 { (exit 1); exit 1; }; } 1572 fi 1573 1574 rm -f conftest$ac_cv_exeext 1575 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1576 echo "${ECHO_T}$ac_cv_exeext" >&6 2382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2384 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2385 See \`config.log' for more details" "$LINENO" 5; } 2386 fi 2387 rm -f conftest conftest$ac_cv_exeext 2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2389 $as_echo "$ac_cv_exeext" >&6; } 1577 2390 1578 2391 rm -f conftest.$ac_ext 1579 2392 EXEEXT=$ac_cv_exeext 1580 2393 ac_exeext=$EXEEXT 1581 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1582 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1583 if test "${ac_cv_objext+set}" = set; then 1584 echo $ECHO_N "(cached) $ECHO_C" >&6 1585 else 1586 cat >conftest.$ac_ext <<_ACEOF 1587 /* confdefs.h. */ 1588 _ACEOF 1589 cat confdefs.h >>conftest.$ac_ext 1590 cat >>conftest.$ac_ext <<_ACEOF 2394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1591 2395 /* end confdefs.h. */ 1592 2396 #include <stdio.h> 1593 2397 int 1594 2398 main () 1595 2399 { 2400 FILE *f = fopen ("conftest.out", "w"); 2401 return ferror (f) || fclose (f) != 0; 1596 2402 1597 2403 ; … … 1599 2405 } 1600 2406 _ACEOF 2407 ac_clean_files="$ac_clean_files conftest.out" 2408 # Check that the compiler produces executables we can run. If not, either 2409 # the compiler is broken, or we cross compile. 2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2411 $as_echo_n "checking whether we are cross compiling... " >&6; } 2412 if test "$cross_compiling" != yes; then 2413 { { ac_try="$ac_link" 2414 case "(($ac_try" in 2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2416 *) ac_try_echo=$ac_try;; 2417 esac 2418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2419 $as_echo "$ac_try_echo"; } >&5 2420 (eval "$ac_link") 2>&5 2421 ac_status=$? 2422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2423 test $ac_status = 0; } 2424 if { ac_try='./conftest$ac_cv_exeext' 2425 { { case "(($ac_try" in 2426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2427 *) ac_try_echo=$ac_try;; 2428 esac 2429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2430 $as_echo "$ac_try_echo"; } >&5 2431 (eval "$ac_try") 2>&5 2432 ac_status=$? 2433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2434 test $ac_status = 0; }; }; then 2435 cross_compiling=no 2436 else 2437 if test "$cross_compiling" = maybe; then 2438 cross_compiling=yes 2439 else 2440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2442 as_fn_error $? "cannot run C++ compiled programs. 2443 If you meant to cross compile, use \`--host'. 2444 See \`config.log' for more details" "$LINENO" 5; } 2445 fi 2446 fi 2447 fi 2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2449 $as_echo "$cross_compiling" >&6; } 2450 2451 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2452 ac_clean_files=$ac_clean_files_save 2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2454 $as_echo_n "checking for suffix of object files... " >&6; } 2455 if ${ac_cv_objext+:} false; then : 2456 $as_echo_n "(cached) " >&6 2457 else 2458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2459 /* end confdefs.h. */ 2460 2461 int 2462 main () 2463 { 2464 2465 ; 2466 return 0; 2467 } 2468 _ACEOF 1601 2469 rm -f conftest.o conftest.obj 1602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1603 (eval $ac_compile) 2>&5 2470 if { { ac_try="$ac_compile" 2471 case "(($ac_try" in 2472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2473 *) ac_try_echo=$ac_try;; 2474 esac 2475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2476 $as_echo "$ac_try_echo"; } >&5 2477 (eval "$ac_compile") 2>&5 1604 2478 ac_status=$? 1605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1606 (exit $ac_status); }; then 1607 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2480 test $ac_status = 0; }; then : 2481 for ac_file in conftest.o conftest.obj conftest.*; do 2482 test -f "$ac_file" || continue; 1608 2483 case $ac_file in 1609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2484 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 1610 2485 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1611 2486 break;; … … 1613 2488 done 1614 2489 else 1615 echo "$as_me: failed program was:" >&52490 $as_echo "$as_me: failed program was:" >&5 1616 2491 sed 's/^/| /' conftest.$ac_ext >&5 1617 2492 1618 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1619 See \`config.log' for more details." >&5 1620 echo "$as_me: error: cannot compute suffix of object files: cannot compile 1621 See \`config.log' for more details." >&2;} 1622 { (exit 1); exit 1; }; } 1623 fi 1624 2493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2495 as_fn_error $? "cannot compute suffix of object files: cannot compile 2496 See \`config.log' for more details" "$LINENO" 5; } 2497 fi 1625 2498 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1626 2499 fi 1627 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51628 echo "${ECHO_T}$ac_cv_objext" >&6 2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2501 $as_echo "$ac_cv_objext" >&6; } 1629 2502 OBJEXT=$ac_cv_objext 1630 2503 ac_objext=$OBJEXT 1631 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 1632 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 1633 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 1634 echo $ECHO_N "(cached) $ECHO_C" >&6 1635 else 1636 cat >conftest.$ac_ext <<_ACEOF 1637 /* confdefs.h. */ 1638 _ACEOF 1639 cat confdefs.h >>conftest.$ac_ext 1640 cat >>conftest.$ac_ext <<_ACEOF 2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 2505 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2506 if ${ac_cv_cxx_compiler_gnu+:} false; then : 2507 $as_echo_n "(cached) " >&6 2508 else 2509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1641 2510 /* end confdefs.h. */ 1642 2511 … … 1652 2521 } 1653 2522 _ACEOF 1654 rm -f conftest.$ac_objext 1655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1656 (eval $ac_compile) 2>conftest.er1 1657 ac_status=$? 1658 grep -v '^ *+' conftest.er1 >conftest.err 1659 rm -f conftest.er1 1660 cat conftest.err >&5 1661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1662 (exit $ac_status); } && 1663 { ac_try='test -z "$ac_cxx_werror_flag" 1664 || test ! -s conftest.err' 1665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1666 (eval $ac_try) 2>&5 1667 ac_status=$? 1668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1669 (exit $ac_status); }; } && 1670 { ac_try='test -s conftest.$ac_objext' 1671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1672 (eval $ac_try) 2>&5 1673 ac_status=$? 1674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1675 (exit $ac_status); }; }; then 2523 if ac_fn_cxx_try_compile "$LINENO"; then : 1676 2524 ac_compiler_gnu=yes 1677 2525 else 1678 echo "$as_me: failed program was:" >&5 1679 sed 's/^/| /' conftest.$ac_ext >&5 1680 1681 ac_compiler_gnu=no 1682 fi 1683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2526 ac_compiler_gnu=no 2527 fi 2528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1684 2529 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1685 2530 1686 2531 fi 1687 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 1688 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 1689 GXX=`test $ac_compiler_gnu = yes && echo yes` 2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 2533 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 2534 if test $ac_compiler_gnu = yes; then 2535 GXX=yes 2536 else 2537 GXX= 2538 fi 1690 2539 ac_test_CXXFLAGS=${CXXFLAGS+set} 1691 2540 ac_save_CXXFLAGS=$CXXFLAGS 1692 CXXFLAGS="-g" 1693 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 1694 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 1695 if test "${ac_cv_prog_cxx_g+set}" = set; then 1696 echo $ECHO_N "(cached) $ECHO_C" >&6 1697 else 1698 cat >conftest.$ac_ext <<_ACEOF 1699 /* confdefs.h. */ 1700 _ACEOF 1701 cat confdefs.h >>conftest.$ac_ext 1702 cat >>conftest.$ac_ext <<_ACEOF 2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 2542 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 2543 if ${ac_cv_prog_cxx_g+:} false; then : 2544 $as_echo_n "(cached) " >&6 2545 else 2546 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 2547 ac_cxx_werror_flag=yes 2548 ac_cv_prog_cxx_g=no 2549 CXXFLAGS="-g" 2550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1703 2551 /* end confdefs.h. */ 1704 2552 … … 1711 2559 } 1712 2560 _ACEOF 1713 rm -f conftest.$ac_objext 1714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1715 (eval $ac_compile) 2>conftest.er1 1716 ac_status=$? 1717 grep -v '^ *+' conftest.er1 >conftest.err 1718 rm -f conftest.er1 1719 cat conftest.err >&5 1720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1721 (exit $ac_status); } && 1722 { ac_try='test -z "$ac_cxx_werror_flag" 1723 || test ! -s conftest.err' 1724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1725 (eval $ac_try) 2>&5 1726 ac_status=$? 1727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1728 (exit $ac_status); }; } && 1729 { ac_try='test -s conftest.$ac_objext' 1730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1731 (eval $ac_try) 2>&5 1732 ac_status=$? 1733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1734 (exit $ac_status); }; }; then 2561 if ac_fn_cxx_try_compile "$LINENO"; then : 1735 2562 ac_cv_prog_cxx_g=yes 1736 2563 else 1737 echo "$as_me: failed program was:" >&5 1738 sed 's/^/| /' conftest.$ac_ext >&5 1739 1740 ac_cv_prog_cxx_g=no 1741 fi 1742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1743 fi 1744 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 1745 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 2564 CXXFLAGS="" 2565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2566 /* end confdefs.h. */ 2567 2568 int 2569 main () 2570 { 2571 2572 ; 2573 return 0; 2574 } 2575 _ACEOF 2576 if ac_fn_cxx_try_compile "$LINENO"; then : 2577 2578 else 2579 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2580 CXXFLAGS="-g" 2581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2582 /* end confdefs.h. */ 2583 2584 int 2585 main () 2586 { 2587 2588 ; 2589 return 0; 2590 } 2591 _ACEOF 2592 if ac_fn_cxx_try_compile "$LINENO"; then : 2593 ac_cv_prog_cxx_g=yes 2594 fi 2595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2596 fi 2597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2598 fi 2599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2600 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2601 fi 2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 2603 $as_echo "$ac_cv_prog_cxx_g" >&6; } 1746 2604 if test "$ac_test_CXXFLAGS" = set; then 1747 2605 CXXFLAGS=$ac_save_CXXFLAGS … … 1759 2617 fi 1760 2618 fi 1761 for ac_declaration in \1762 '' \1763 'extern "C" void std::exit (int) throw (); using std::exit;' \1764 'extern "C" void std::exit (int); using std::exit;' \1765 'extern "C" void exit (int) throw ();' \1766 'extern "C" void exit (int);' \1767 'void exit (int);'1768 do1769 cat >conftest.$ac_ext <<_ACEOF1770 /* confdefs.h. */1771 _ACEOF1772 cat confdefs.h >>conftest.$ac_ext1773 cat >>conftest.$ac_ext <<_ACEOF1774 /* end confdefs.h. */1775 $ac_declaration1776 #include <stdlib.h>1777 int1778 main ()1779 {1780 exit (42);1781 ;1782 return 0;1783 }1784 _ACEOF1785 rm -f conftest.$ac_objext1786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&51787 (eval $ac_compile) 2>conftest.er11788 ac_status=$?1789 grep -v '^ *+' conftest.er1 >conftest.err1790 rm -f conftest.er11791 cat conftest.err >&51792 echo "$as_me:$LINENO: \$? = $ac_status" >&51793 (exit $ac_status); } &&1794 { ac_try='test -z "$ac_cxx_werror_flag"1795 || test ! -s conftest.err'1796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&51797 (eval $ac_try) 2>&51798 ac_status=$?1799 echo "$as_me:$LINENO: \$? = $ac_status" >&51800 (exit $ac_status); }; } &&1801 { ac_try='test -s conftest.$ac_objext'1802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&51803 (eval $ac_try) 2>&51804 ac_status=$?1805 echo "$as_me:$LINENO: \$? = $ac_status" >&51806 (exit $ac_status); }; }; then1807 :1808 else1809 echo "$as_me: failed program was:" >&51810 sed 's/^/| /' conftest.$ac_ext >&51811 1812 continue1813 fi1814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext1815 cat >conftest.$ac_ext <<_ACEOF1816 /* confdefs.h. */1817 _ACEOF1818 cat confdefs.h >>conftest.$ac_ext1819 cat >>conftest.$ac_ext <<_ACEOF1820 /* end confdefs.h. */1821 $ac_declaration1822 int1823 main ()1824 {1825 exit (42);1826 ;1827 return 0;1828 }1829 _ACEOF1830 rm -f conftest.$ac_objext1831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&51832 (eval $ac_compile) 2>conftest.er11833 ac_status=$?1834 grep -v '^ *+' conftest.er1 >conftest.err1835 rm -f conftest.er11836 cat conftest.err >&51837 echo "$as_me:$LINENO: \$? = $ac_status" >&51838 (exit $ac_status); } &&1839 { ac_try='test -z "$ac_cxx_werror_flag"1840 || test ! -s conftest.err'1841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&51842 (eval $ac_try) 2>&51843 ac_status=$?1844 echo "$as_me:$LINENO: \$? = $ac_status" >&51845 (exit $ac_status); }; } &&1846 { ac_try='test -s conftest.$ac_objext'1847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&51848 (eval $ac_try) 2>&51849 ac_status=$?1850 echo "$as_me:$LINENO: \$? = $ac_status" >&51851 (exit $ac_status); }; }; then1852 break1853 else1854 echo "$as_me: failed program was:" >&51855 sed 's/^/| /' conftest.$ac_ext >&51856 1857 fi1858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext1859 done1860 rm -f conftest*1861 if test -n "$ac_declaration"; then1862 echo '#ifdef __cplusplus' >>confdefs.h1863 echo $ac_declaration >>confdefs.h1864 echo '#endif' >>confdefs.h1865 fi1866 1867 2619 ac_ext=c 1868 2620 ac_cpp='$CPP $CPPFLAGS' … … 1879 2631 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1880 2632 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1881 echo "$as_me:$LINENO: checking for $ac_word" >&51882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1883 if test "${ac_cv_prog_CC+set}" = set; then1884 echo $ECHO_N "(cached) $ECHO_C" >&62633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2634 $as_echo_n "checking for $ac_word... " >&6; } 2635 if ${ac_cv_prog_CC+:} false; then : 2636 $as_echo_n "(cached) " >&6 1885 2637 else 1886 2638 if test -n "$CC"; then … … 1892 2644 IFS=$as_save_IFS 1893 2645 test -z "$as_dir" && as_dir=. 1894 for ac_exec_ext in '' $ac_executable_extensions; do1895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2646 for ac_exec_ext in '' $ac_executable_extensions; do 2647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1896 2648 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1898 2650 break 2 1899 2651 fi 1900 2652 done 1901 done 2653 done 2654 IFS=$as_save_IFS 1902 2655 1903 2656 fi … … 1905 2658 CC=$ac_cv_prog_CC 1906 2659 if test -n "$CC"; then 1907 echo "$as_me:$LINENO: result: $CC" >&5 1908 echo "${ECHO_T}$CC" >&6 1909 else 1910 echo "$as_me:$LINENO: result: no" >&5 1911 echo "${ECHO_T}no" >&6 1912 fi 2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2661 $as_echo "$CC" >&6; } 2662 else 2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2664 $as_echo "no" >&6; } 2665 fi 2666 1913 2667 1914 2668 fi … … 1917 2671 # Extract the first word of "gcc", so it can be a program name with args. 1918 2672 set dummy gcc; ac_word=$2 1919 echo "$as_me:$LINENO: checking for $ac_word" >&51920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1921 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then1922 echo $ECHO_N "(cached) $ECHO_C" >&62673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2674 $as_echo_n "checking for $ac_word... " >&6; } 2675 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2676 $as_echo_n "(cached) " >&6 1923 2677 else 1924 2678 if test -n "$ac_ct_CC"; then … … 1930 2684 IFS=$as_save_IFS 1931 2685 test -z "$as_dir" && as_dir=. 1932 for ac_exec_ext in '' $ac_executable_extensions; do1933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2686 for ac_exec_ext in '' $ac_executable_extensions; do 2687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1934 2688 ac_cv_prog_ac_ct_CC="gcc" 1935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1936 2690 break 2 1937 2691 fi 1938 2692 done 1939 done 2693 done 2694 IFS=$as_save_IFS 1940 2695 1941 2696 fi … … 1943 2698 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1944 2699 if test -n "$ac_ct_CC"; then 1945 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1946 echo "${ECHO_T}$ac_ct_CC" >&6 1947 else 1948 echo "$as_me:$LINENO: result: no" >&5 1949 echo "${ECHO_T}no" >&6 1950 fi 1951 1952 CC=$ac_ct_CC 2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2701 $as_echo "$ac_ct_CC" >&6; } 2702 else 2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2704 $as_echo "no" >&6; } 2705 fi 2706 2707 if test "x$ac_ct_CC" = x; then 2708 CC="" 2709 else 2710 case $cross_compiling:$ac_tool_warned in 2711 yes:) 2712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2714 ac_tool_warned=yes ;; 2715 esac 2716 CC=$ac_ct_CC 2717 fi 1953 2718 else 1954 2719 CC="$ac_cv_prog_CC" … … 1956 2721 1957 2722 if test -z "$CC"; then 1958 if test -n "$ac_tool_prefix"; then1959 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2723 if test -n "$ac_tool_prefix"; then 2724 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1960 2725 set dummy ${ac_tool_prefix}cc; ac_word=$2 1961 echo "$as_me:$LINENO: checking for $ac_word" >&51962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1963 if test "${ac_cv_prog_CC+set}" = set; then1964 echo $ECHO_N "(cached) $ECHO_C" >&62726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2727 $as_echo_n "checking for $ac_word... " >&6; } 2728 if ${ac_cv_prog_CC+:} false; then : 2729 $as_echo_n "(cached) " >&6 1965 2730 else 1966 2731 if test -n "$CC"; then … … 1972 2737 IFS=$as_save_IFS 1973 2738 test -z "$as_dir" && as_dir=. 1974 for ac_exec_ext in '' $ac_executable_extensions; do1975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2739 for ac_exec_ext in '' $ac_executable_extensions; do 2740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1976 2741 ac_cv_prog_CC="${ac_tool_prefix}cc" 1977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1978 2743 break 2 1979 2744 fi 1980 2745 done 1981 done 2746 done 2747 IFS=$as_save_IFS 1982 2748 1983 2749 fi … … 1985 2751 CC=$ac_cv_prog_CC 1986 2752 if test -n "$CC"; then 1987 echo "$as_me:$LINENO: result: $CC" >&5 1988 echo "${ECHO_T}$CC" >&6 1989 else 1990 echo "$as_me:$LINENO: result: no" >&5 1991 echo "${ECHO_T}no" >&6 1992 fi 1993 1994 fi 1995 if test -z "$ac_cv_prog_CC"; then 1996 ac_ct_CC=$CC 1997 # Extract the first word of "cc", so it can be a program name with args. 1998 set dummy cc; ac_word=$2 1999 echo "$as_me:$LINENO: checking for $ac_word" >&5 2000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2002 echo $ECHO_N "(cached) $ECHO_C" >&6 2003 else 2004 if test -n "$ac_ct_CC"; then 2005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2006 else 2007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2008 for as_dir in $PATH 2009 do 2010 IFS=$as_save_IFS 2011 test -z "$as_dir" && as_dir=. 2012 for ac_exec_ext in '' $ac_executable_extensions; do 2013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2014 ac_cv_prog_ac_ct_CC="cc" 2015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2016 break 2 2753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2754 $as_echo "$CC" >&6; } 2755 else 2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2757 $as_echo "no" >&6; } 2758 fi 2759 2760 2017 2761 fi 2018 done2019 done2020 2021 fi2022 fi2023 ac_ct_CC=$ac_cv_prog_ac_ct_CC2024 if test -n "$ac_ct_CC"; then2025 echo "$as_me:$LINENO: result: $ac_ct_CC" >&52026 echo "${ECHO_T}$ac_ct_CC" >&62027 else2028 echo "$as_me:$LINENO: result: no" >&52029 echo "${ECHO_T}no" >&62030 fi2031 2032 CC=$ac_ct_CC2033 else2034 CC="$ac_cv_prog_CC"2035 fi2036 2037 2762 fi 2038 2763 if test -z "$CC"; then 2039 2764 # Extract the first word of "cc", so it can be a program name with args. 2040 2765 set dummy cc; ac_word=$2 2041 echo "$as_me:$LINENO: checking for $ac_word" >&52042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2043 if test "${ac_cv_prog_CC+set}" = set; then2044 echo $ECHO_N "(cached) $ECHO_C" >&62766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2767 $as_echo_n "checking for $ac_word... " >&6; } 2768 if ${ac_cv_prog_CC+:} false; then : 2769 $as_echo_n "(cached) " >&6 2045 2770 else 2046 2771 if test -n "$CC"; then … … 2053 2778 IFS=$as_save_IFS 2054 2779 test -z "$as_dir" && as_dir=. 2055 for ac_exec_ext in '' $ac_executable_extensions; do2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2780 for ac_exec_ext in '' $ac_executable_extensions; do 2781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2057 2782 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2058 2783 ac_prog_rejected=yes … … 2060 2785 fi 2061 2786 ac_cv_prog_CC="cc" 2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2063 2788 break 2 2064 2789 fi 2065 2790 done 2066 done 2791 done 2792 IFS=$as_save_IFS 2067 2793 2068 2794 if test $ac_prog_rejected = yes; then … … 2082 2808 CC=$ac_cv_prog_CC 2083 2809 if test -n "$CC"; then 2084 echo "$as_me:$LINENO: result: $CC" >&5 2085 echo "${ECHO_T}$CC" >&6 2086 else 2087 echo "$as_me:$LINENO: result: no" >&5 2088 echo "${ECHO_T}no" >&6 2089 fi 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2811 $as_echo "$CC" >&6; } 2812 else 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2814 $as_echo "no" >&6; } 2815 fi 2816 2090 2817 2091 2818 fi 2092 2819 if test -z "$CC"; then 2093 2820 if test -n "$ac_tool_prefix"; then 2094 for ac_prog in cl 2821 for ac_prog in cl.exe 2095 2822 do 2096 2823 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2097 2824 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2098 echo "$as_me:$LINENO: checking for $ac_word" >&52099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2100 if test "${ac_cv_prog_CC+set}" = set; then2101 echo $ECHO_N "(cached) $ECHO_C" >&62825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2826 $as_echo_n "checking for $ac_word... " >&6; } 2827 if ${ac_cv_prog_CC+:} false; then : 2828 $as_echo_n "(cached) " >&6 2102 2829 else 2103 2830 if test -n "$CC"; then … … 2109 2836 IFS=$as_save_IFS 2110 2837 test -z "$as_dir" && as_dir=. 2111 for ac_exec_ext in '' $ac_executable_extensions; do2112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2838 for ac_exec_ext in '' $ac_executable_extensions; do 2839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2113 2840 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2115 2842 break 2 2116 2843 fi 2117 2844 done 2118 done 2845 done 2846 IFS=$as_save_IFS 2119 2847 2120 2848 fi … … 2122 2850 CC=$ac_cv_prog_CC 2123 2851 if test -n "$CC"; then 2124 echo "$as_me:$LINENO: result: $CC" >&5 2125 echo "${ECHO_T}$CC" >&6 2126 else 2127 echo "$as_me:$LINENO: result: no" >&5 2128 echo "${ECHO_T}no" >&6 2129 fi 2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2853 $as_echo "$CC" >&6; } 2854 else 2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2856 $as_echo "no" >&6; } 2857 fi 2858 2130 2859 2131 2860 test -n "$CC" && break … … 2134 2863 if test -z "$CC"; then 2135 2864 ac_ct_CC=$CC 2136 for ac_prog in cl 2865 for ac_prog in cl.exe 2137 2866 do 2138 2867 # Extract the first word of "$ac_prog", so it can be a program name with args. 2139 2868 set dummy $ac_prog; ac_word=$2 2140 echo "$as_me:$LINENO: checking for $ac_word" >&52141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2142 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2143 echo $ECHO_N "(cached) $ECHO_C" >&62869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2870 $as_echo_n "checking for $ac_word... " >&6; } 2871 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2872 $as_echo_n "(cached) " >&6 2144 2873 else 2145 2874 if test -n "$ac_ct_CC"; then … … 2151 2880 IFS=$as_save_IFS 2152 2881 test -z "$as_dir" && as_dir=. 2153 for ac_exec_ext in '' $ac_executable_extensions; do2154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2882 for ac_exec_ext in '' $ac_executable_extensions; do 2883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2155 2884 ac_cv_prog_ac_ct_CC="$ac_prog" 2156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2157 2886 break 2 2158 2887 fi 2159 2888 done 2160 done 2889 done 2890 IFS=$as_save_IFS 2161 2891 2162 2892 fi … … 2164 2894 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2165 2895 if test -n "$ac_ct_CC"; then 2166 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2167 echo "${ECHO_T}$ac_ct_CC" >&6 2168 else 2169 echo "$as_me:$LINENO: result: no" >&5 2170 echo "${ECHO_T}no" >&6 2171 fi 2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2897 $as_echo "$ac_ct_CC" >&6; } 2898 else 2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2900 $as_echo "no" >&6; } 2901 fi 2902 2172 2903 2173 2904 test -n "$ac_ct_CC" && break 2174 2905 done 2175 2906 2176 CC=$ac_ct_CC 2177 fi 2178 2179 fi 2180 2181 2182 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2183 See \`config.log' for more details." >&5 2184 echo "$as_me: error: no acceptable C compiler found in \$PATH 2185 See \`config.log' for more details." >&2;} 2186 { (exit 1); exit 1; }; } 2907 if test "x$ac_ct_CC" = x; then 2908 CC="" 2909 else 2910 case $cross_compiling:$ac_tool_warned in 2911 yes:) 2912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2914 ac_tool_warned=yes ;; 2915 esac 2916 CC=$ac_ct_CC 2917 fi 2918 fi 2919 2920 fi 2921 2922 2923 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2925 as_fn_error $? "no acceptable C compiler found in \$PATH 2926 See \`config.log' for more details" "$LINENO" 5; } 2187 2927 2188 2928 # Provide some information about the compiler. 2189 echo "$as_me:$LINENO:" \ 2190 "checking for C compiler version" >&5 2191 ac_compiler=`set X $ac_compile; echo $2` 2192 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2193 (eval $ac_compiler --version </dev/null >&5) 2>&5 2929 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2930 set X $ac_compile 2931 ac_compiler=$2 2932 for ac_option in --version -v -V -qversion; do 2933 { { ac_try="$ac_compiler $ac_option >&5" 2934 case "(($ac_try" in 2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2936 *) ac_try_echo=$ac_try;; 2937 esac 2938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2939 $as_echo "$ac_try_echo"; } >&5 2940 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2194 2941 ac_status=$? 2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2196 (exit $ac_status); } 2197 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2198 (eval $ac_compiler -v </dev/null >&5) 2>&5 2199 ac_status=$? 2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2201 (exit $ac_status); } 2202 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2203 (eval $ac_compiler -V </dev/null >&5) 2>&5 2204 ac_status=$? 2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2206 (exit $ac_status); } 2207 2208 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2209 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2210 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2211 echo $ECHO_N "(cached) $ECHO_C" >&6 2212 else 2213 cat >conftest.$ac_ext <<_ACEOF 2214 /* confdefs.h. */ 2215 _ACEOF 2216 cat confdefs.h >>conftest.$ac_ext 2217 cat >>conftest.$ac_ext <<_ACEOF 2942 if test -s conftest.err; then 2943 sed '10a\ 2944 ... rest of stderr output deleted ... 2945 10q' conftest.err >conftest.er1 2946 cat conftest.er1 >&5 2947 fi 2948 rm -f conftest.er1 conftest.err 2949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2950 test $ac_status = 0; } 2951 done 2952 2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2954 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2955 if ${ac_cv_c_compiler_gnu+:} false; then : 2956 $as_echo_n "(cached) " >&6 2957 else 2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2218 2959 /* end confdefs.h. */ 2219 2960 … … 2229 2970 } 2230 2971 _ACEOF 2231 rm -f conftest.$ac_objext 2232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2233 (eval $ac_compile) 2>conftest.er1 2234 ac_status=$? 2235 grep -v '^ *+' conftest.er1 >conftest.err 2236 rm -f conftest.er1 2237 cat conftest.err >&5 2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2239 (exit $ac_status); } && 2240 { ac_try='test -z "$ac_c_werror_flag" 2241 || test ! -s conftest.err' 2242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2243 (eval $ac_try) 2>&5 2244 ac_status=$? 2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2246 (exit $ac_status); }; } && 2247 { ac_try='test -s conftest.$ac_objext' 2248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2249 (eval $ac_try) 2>&5 2250 ac_status=$? 2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2252 (exit $ac_status); }; }; then 2972 if ac_fn_c_try_compile "$LINENO"; then : 2253 2973 ac_compiler_gnu=yes 2254 2974 else 2255 echo "$as_me: failed program was:" >&5 2256 sed 's/^/| /' conftest.$ac_ext >&5 2257 2258 ac_compiler_gnu=no 2259 fi 2260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2975 ac_compiler_gnu=no 2976 fi 2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2261 2978 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2262 2979 2263 2980 fi 2264 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2265 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2266 GCC=`test $ac_compiler_gnu = yes && echo yes` 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2982 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2983 if test $ac_compiler_gnu = yes; then 2984 GCC=yes 2985 else 2986 GCC= 2987 fi 2267 2988 ac_test_CFLAGS=${CFLAGS+set} 2268 2989 ac_save_CFLAGS=$CFLAGS 2269 CFLAGS="-g" 2270 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2271 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2272 if test "${ac_cv_prog_cc_g+set}" = set; then 2273 echo $ECHO_N "(cached) $ECHO_C" >&6 2274 else 2275 cat >conftest.$ac_ext <<_ACEOF 2276 /* confdefs.h. */ 2277 _ACEOF 2278 cat confdefs.h >>conftest.$ac_ext 2279 cat >>conftest.$ac_ext <<_ACEOF 2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2991 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2992 if ${ac_cv_prog_cc_g+:} false; then : 2993 $as_echo_n "(cached) " >&6 2994 else 2995 ac_save_c_werror_flag=$ac_c_werror_flag 2996 ac_c_werror_flag=yes 2997 ac_cv_prog_cc_g=no 2998 CFLAGS="-g" 2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2280 3000 /* end confdefs.h. */ 2281 3001 … … 2288 3008 } 2289 3009 _ACEOF 2290 rm -f conftest.$ac_objext 2291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2292 (eval $ac_compile) 2>conftest.er1 2293 ac_status=$? 2294 grep -v '^ *+' conftest.er1 >conftest.err 2295 rm -f conftest.er1 2296 cat conftest.err >&5 2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2298 (exit $ac_status); } && 2299 { ac_try='test -z "$ac_c_werror_flag" 2300 || test ! -s conftest.err' 2301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2302 (eval $ac_try) 2>&5 2303 ac_status=$? 2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2305 (exit $ac_status); }; } && 2306 { ac_try='test -s conftest.$ac_objext' 2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2308 (eval $ac_try) 2>&5 2309 ac_status=$? 2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2311 (exit $ac_status); }; }; then 3010 if ac_fn_c_try_compile "$LINENO"; then : 2312 3011 ac_cv_prog_cc_g=yes 2313 3012 else 2314 echo "$as_me: failed program was:" >&5 2315 sed 's/^/| /' conftest.$ac_ext >&5 2316 2317 ac_cv_prog_cc_g=no 2318 fi 2319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2320 fi 2321 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2322 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3013 CFLAGS="" 3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3015 /* end confdefs.h. */ 3016 3017 int 3018 main () 3019 { 3020 3021 ; 3022 return 0; 3023 } 3024 _ACEOF 3025 if ac_fn_c_try_compile "$LINENO"; then : 3026 3027 else 3028 ac_c_werror_flag=$ac_save_c_werror_flag 3029 CFLAGS="-g" 3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3031 /* end confdefs.h. */ 3032 3033 int 3034 main () 3035 { 3036 3037 ; 3038 return 0; 3039 } 3040 _ACEOF 3041 if ac_fn_c_try_compile "$LINENO"; then : 3042 ac_cv_prog_cc_g=yes 3043 fi 3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3045 fi 3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3047 fi 3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3049 ac_c_werror_flag=$ac_save_c_werror_flag 3050 fi 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3052 $as_echo "$ac_cv_prog_cc_g" >&6; } 2323 3053 if test "$ac_test_CFLAGS" = set; then 2324 3054 CFLAGS=$ac_save_CFLAGS … … 2336 3066 fi 2337 3067 fi 2338 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52339 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2340 if test "${ac_cv_prog_cc_stdc+set}" = set; then2341 echo $ECHO_N "(cached) $ECHO_C" >&62342 else 2343 ac_cv_prog_cc_ stdc=no3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3069 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3070 if ${ac_cv_prog_cc_c89+:} false; then : 3071 $as_echo_n "(cached) " >&6 3072 else 3073 ac_cv_prog_cc_c89=no 2344 3074 ac_save_CC=$CC 2345 cat >conftest.$ac_ext <<_ACEOF 2346 /* confdefs.h. */ 2347 _ACEOF 2348 cat confdefs.h >>conftest.$ac_ext 2349 cat >>conftest.$ac_ext <<_ACEOF 3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2350 3076 /* end confdefs.h. */ 2351 3077 #include <stdarg.h> 2352 3078 #include <stdio.h> 2353 #include <sys/types.h> 2354 #include <sys/stat.h> 3079 struct stat; 2355 3080 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2356 3081 struct buf { int x; }; … … 2375 3100 function prototypes and stuff, but not '\xHH' hex character constants. 2376 3101 These don't provoke an error unfortunately, instead are silently treated 2377 as 'x'. The following induces an error, until -std 1is added to get3102 as 'x'. The following induces an error, until -std is added to get 2378 3103 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2379 3104 array size at least. It's necessary to write '\x00'==0 to get something 2380 that's true only with -std 1. */3105 that's true only with -std. */ 2381 3106 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3107 3108 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3109 inside strings and character constants. */ 3110 #define FOO(x) 'x' 3111 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2382 3112 2383 3113 int test (int i, double x); … … 2395 3125 } 2396 3126 _ACEOF 2397 # Don't try gcc -ansi; that turns off useful extensions and 2398 # breaks some systems' header files. 2399 # AIX -qlanglvl=ansi 2400 # Ultrix and OSF/1 -std1 2401 # HP-UX 10.20 and later -Ae 2402 # HP-UX older versions -Aa -D_HPUX_SOURCE 2403 # SVR4 -Xc -D__EXTENSIONS__ 2404 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3128 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2405 3129 do 2406 3130 CC="$ac_save_CC $ac_arg" 2407 rm -f conftest.$ac_objext 2408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2409 (eval $ac_compile) 2>conftest.er1 2410 ac_status=$? 2411 grep -v '^ *+' conftest.er1 >conftest.err 2412 rm -f conftest.er1 2413 cat conftest.err >&5 2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2415 (exit $ac_status); } && 2416 { ac_try='test -z "$ac_c_werror_flag" 2417 || test ! -s conftest.err' 2418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2419 (eval $ac_try) 2>&5 2420 ac_status=$? 2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2422 (exit $ac_status); }; } && 2423 { ac_try='test -s conftest.$ac_objext' 2424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2425 (eval $ac_try) 2>&5 2426 ac_status=$? 2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2428 (exit $ac_status); }; }; then 2429 ac_cv_prog_cc_stdc=$ac_arg 2430 break 2431 else 2432 echo "$as_me: failed program was:" >&5 2433 sed 's/^/| /' conftest.$ac_ext >&5 2434 2435 fi 2436 rm -f conftest.err conftest.$ac_objext 3131 if ac_fn_c_try_compile "$LINENO"; then : 3132 ac_cv_prog_cc_c89=$ac_arg 3133 fi 3134 rm -f core conftest.err conftest.$ac_objext 3135 test "x$ac_cv_prog_cc_c89" != "xno" && break 2437 3136 done 2438 rm -f conftest.$ac_ext conftest.$ac_objext3137 rm -f conftest.$ac_ext 2439 3138 CC=$ac_save_CC 2440 3139 2441 3140 fi 2442 2443 case "x$ac_cv_prog_cc_stdc" in 2444 x|xno) 2445 echo "$as_me:$LINENO: result: none needed" >&5 2446 echo "${ECHO_T}none needed" >&6 ;; 3141 # AC_CACHE_VAL 3142 case "x$ac_cv_prog_cc_c89" in 3143 x) 3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3145 $as_echo "none needed" >&6; } ;; 3146 xno) 3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3148 $as_echo "unsupported" >&6; } ;; 2447 3149 *) 2448 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52449 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2450 CC="$CC $ac_cv_prog_cc_stdc";;3150 CC="$CC $ac_cv_prog_cc_c89" 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3152 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2451 3153 esac 2452 2453 # Some people use a C++ compiler to compile C. Since we use `exit', 2454 # in C++ we need to declare it. In case someone uses the same compiler 2455 # for both compiling C and C++ we need to have the C++ compiler decide 2456 # the declaration of exit, since it's the most demanding environment. 2457 cat >conftest.$ac_ext <<_ACEOF 2458 #ifndef __cplusplus 2459 choke me 2460 #endif 2461 _ACEOF 2462 rm -f conftest.$ac_objext 2463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2464 (eval $ac_compile) 2>conftest.er1 2465 ac_status=$? 2466 grep -v '^ *+' conftest.er1 >conftest.err 2467 rm -f conftest.er1 2468 cat conftest.err >&5 2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2470 (exit $ac_status); } && 2471 { ac_try='test -z "$ac_c_werror_flag" 2472 || test ! -s conftest.err' 2473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2474 (eval $ac_try) 2>&5 2475 ac_status=$? 2476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2477 (exit $ac_status); }; } && 2478 { ac_try='test -s conftest.$ac_objext' 2479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2480 (eval $ac_try) 2>&5 2481 ac_status=$? 2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2483 (exit $ac_status); }; }; then 2484 for ac_declaration in \ 2485 '' \ 2486 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2487 'extern "C" void std::exit (int); using std::exit;' \ 2488 'extern "C" void exit (int) throw ();' \ 2489 'extern "C" void exit (int);' \ 2490 'void exit (int);' 2491 do 2492 cat >conftest.$ac_ext <<_ACEOF 2493 /* confdefs.h. */ 2494 _ACEOF 2495 cat confdefs.h >>conftest.$ac_ext 2496 cat >>conftest.$ac_ext <<_ACEOF 2497 /* end confdefs.h. */ 2498 $ac_declaration 2499 #include <stdlib.h> 2500 int 2501 main () 2502 { 2503 exit (42); 2504 ; 2505 return 0; 2506 } 2507 _ACEOF 2508 rm -f conftest.$ac_objext 2509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2510 (eval $ac_compile) 2>conftest.er1 2511 ac_status=$? 2512 grep -v '^ *+' conftest.er1 >conftest.err 2513 rm -f conftest.er1 2514 cat conftest.err >&5 2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2516 (exit $ac_status); } && 2517 { ac_try='test -z "$ac_c_werror_flag" 2518 || test ! -s conftest.err' 2519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2520 (eval $ac_try) 2>&5 2521 ac_status=$? 2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2523 (exit $ac_status); }; } && 2524 { ac_try='test -s conftest.$ac_objext' 2525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2526 (eval $ac_try) 2>&5 2527 ac_status=$? 2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2529 (exit $ac_status); }; }; then 2530 : 2531 else 2532 echo "$as_me: failed program was:" >&5 2533 sed 's/^/| /' conftest.$ac_ext >&5 2534 2535 continue 2536 fi 2537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2538 cat >conftest.$ac_ext <<_ACEOF 2539 /* confdefs.h. */ 2540 _ACEOF 2541 cat confdefs.h >>conftest.$ac_ext 2542 cat >>conftest.$ac_ext <<_ACEOF 2543 /* end confdefs.h. */ 2544 $ac_declaration 2545 int 2546 main () 2547 { 2548 exit (42); 2549 ; 2550 return 0; 2551 } 2552 _ACEOF 2553 rm -f conftest.$ac_objext 2554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2555 (eval $ac_compile) 2>conftest.er1 2556 ac_status=$? 2557 grep -v '^ *+' conftest.er1 >conftest.err 2558 rm -f conftest.er1 2559 cat conftest.err >&5 2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2561 (exit $ac_status); } && 2562 { ac_try='test -z "$ac_c_werror_flag" 2563 || test ! -s conftest.err' 2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2565 (eval $ac_try) 2>&5 2566 ac_status=$? 2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2568 (exit $ac_status); }; } && 2569 { ac_try='test -s conftest.$ac_objext' 2570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2571 (eval $ac_try) 2>&5 2572 ac_status=$? 2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2574 (exit $ac_status); }; }; then 2575 break 2576 else 2577 echo "$as_me: failed program was:" >&5 2578 sed 's/^/| /' conftest.$ac_ext >&5 2579 2580 fi 2581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2582 done 2583 rm -f conftest* 2584 if test -n "$ac_declaration"; then 2585 echo '#ifdef __cplusplus' >>confdefs.h 2586 echo $ac_declaration >>confdefs.h 2587 echo '#endif' >>confdefs.h 2588 fi 2589 2590 else 2591 echo "$as_me: failed program was:" >&5 2592 sed 's/^/| /' conftest.$ac_ext >&5 2593 2594 fi 2595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3154 if test "x$ac_cv_prog_cc_c89" != xno; then : 3155 3156 fi 3157 2596 3158 ac_ext=c 2597 3159 ac_cpp='$CPP $CPPFLAGS' … … 2605 3167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2606 3168 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2607 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52608 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3170 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2609 3171 # On Suns, sometimes $CPP names a directory. 2610 3172 if test -n "$CPP" && test -d "$CPP"; then … … 2612 3174 fi 2613 3175 if test -z "$CPP"; then 2614 if test "${ac_cv_prog_CPP+set}" = set; then2615 echo $ECHO_N "(cached) $ECHO_C" >&63176 if ${ac_cv_prog_CPP+:} false; then : 3177 $as_echo_n "(cached) " >&6 2616 3178 else 2617 3179 # Double quotes because CPP needs to be expanded … … 2627 3189 # On the NeXT, cc -E runs the code through the compiler's parser, 2628 3190 # not just through cpp. "Syntax error" is here to catch this case. 2629 cat >conftest.$ac_ext <<_ACEOF 2630 /* confdefs.h. */ 2631 _ACEOF 2632 cat confdefs.h >>conftest.$ac_ext 2633 cat >>conftest.$ac_ext <<_ACEOF 3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2634 3192 /* end confdefs.h. */ 2635 3193 #ifdef __STDC__ … … 2640 3198 Syntax error 2641 3199 _ACEOF 2642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2644 ac_status=$? 2645 grep -v '^ *+' conftest.er1 >conftest.err 2646 rm -f conftest.er1 2647 cat conftest.err >&5 2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2649 (exit $ac_status); } >/dev/null; then 2650 if test -s conftest.err; then 2651 ac_cpp_err=$ac_c_preproc_warn_flag 2652 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2653 else 2654 ac_cpp_err= 2655 fi 2656 else 2657 ac_cpp_err=yes 2658 fi 2659 if test -z "$ac_cpp_err"; then 2660 : 2661 else 2662 echo "$as_me: failed program was:" >&5 2663 sed 's/^/| /' conftest.$ac_ext >&5 2664 3200 if ac_fn_c_try_cpp "$LINENO"; then : 3201 3202 else 2665 3203 # Broken: fails on valid input. 2666 3204 continue 2667 3205 fi 2668 rm -f conftest.err conftest. $ac_ext2669 2670 # OK, works on sane cases. Now check whether non -existent headers3206 rm -f conftest.err conftest.i conftest.$ac_ext 3207 3208 # OK, works on sane cases. Now check whether nonexistent headers 2671 3209 # can be detected and how. 2672 cat >conftest.$ac_ext <<_ACEOF 2673 /* confdefs.h. */ 2674 _ACEOF 2675 cat confdefs.h >>conftest.$ac_ext 2676 cat >>conftest.$ac_ext <<_ACEOF 3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2677 3211 /* end confdefs.h. */ 2678 3212 #include <ac_nonexistent.h> 2679 3213 _ACEOF 2680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2681 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2682 ac_status=$? 2683 grep -v '^ *+' conftest.er1 >conftest.err 2684 rm -f conftest.er1 2685 cat conftest.err >&5 2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2687 (exit $ac_status); } >/dev/null; then 2688 if test -s conftest.err; then 2689 ac_cpp_err=$ac_c_preproc_warn_flag 2690 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2691 else 2692 ac_cpp_err= 2693 fi 2694 else 2695 ac_cpp_err=yes 2696 fi 2697 if test -z "$ac_cpp_err"; then 3214 if ac_fn_c_try_cpp "$LINENO"; then : 2698 3215 # Broken: success on invalid input. 2699 3216 continue 2700 3217 else 2701 echo "$as_me: failed program was:" >&52702 sed 's/^/| /' conftest.$ac_ext >&52703 2704 3218 # Passes both tests. 2705 3219 ac_preproc_ok=: 2706 3220 break 2707 3221 fi 2708 rm -f conftest.err conftest. $ac_ext3222 rm -f conftest.err conftest.i conftest.$ac_ext 2709 3223 2710 3224 done 2711 3225 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2712 rm -f conftest. err conftest.$ac_ext2713 if $ac_preproc_ok; then 3226 rm -f conftest.i conftest.err conftest.$ac_ext 3227 if $ac_preproc_ok; then : 2714 3228 break 2715 3229 fi … … 2723 3237 ac_cv_prog_CPP=$CPP 2724 3238 fi 2725 echo "$as_me:$LINENO: result: $CPP" >&52726 echo "${ECHO_T}$CPP" >&6 3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3240 $as_echo "$CPP" >&6; } 2727 3241 ac_preproc_ok=false 2728 3242 for ac_c_preproc_warn_flag in '' yes … … 2734 3248 # On the NeXT, cc -E runs the code through the compiler's parser, 2735 3249 # not just through cpp. "Syntax error" is here to catch this case. 2736 cat >conftest.$ac_ext <<_ACEOF 2737 /* confdefs.h. */ 2738 _ACEOF 2739 cat confdefs.h >>conftest.$ac_ext 2740 cat >>conftest.$ac_ext <<_ACEOF 3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2741 3251 /* end confdefs.h. */ 2742 3252 #ifdef __STDC__ … … 2747 3257 Syntax error 2748 3258 _ACEOF 2749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2751 ac_status=$? 2752 grep -v '^ *+' conftest.er1 >conftest.err 2753 rm -f conftest.er1 2754 cat conftest.err >&5 2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2756 (exit $ac_status); } >/dev/null; then 2757 if test -s conftest.err; then 2758 ac_cpp_err=$ac_c_preproc_warn_flag 2759 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2760 else 2761 ac_cpp_err= 2762 fi 2763 else 2764 ac_cpp_err=yes 2765 fi 2766 if test -z "$ac_cpp_err"; then 2767 : 2768 else 2769 echo "$as_me: failed program was:" >&5 2770 sed 's/^/| /' conftest.$ac_ext >&5 2771 3259 if ac_fn_c_try_cpp "$LINENO"; then : 3260 3261 else 2772 3262 # Broken: fails on valid input. 2773 3263 continue 2774 3264 fi 2775 rm -f conftest.err conftest. $ac_ext2776 2777 # OK, works on sane cases. Now check whether non -existent headers3265 rm -f conftest.err conftest.i conftest.$ac_ext 3266 3267 # OK, works on sane cases. Now check whether nonexistent headers 2778 3268 # can be detected and how. 2779 cat >conftest.$ac_ext <<_ACEOF 2780 /* confdefs.h. */ 2781 _ACEOF 2782 cat confdefs.h >>conftest.$ac_ext 2783 cat >>conftest.$ac_ext <<_ACEOF 3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2784 3270 /* end confdefs.h. */ 2785 3271 #include <ac_nonexistent.h> 2786 3272 _ACEOF 2787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2789 ac_status=$? 2790 grep -v '^ *+' conftest.er1 >conftest.err 2791 rm -f conftest.er1 2792 cat conftest.err >&5 2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2794 (exit $ac_status); } >/dev/null; then 2795 if test -s conftest.err; then 2796 ac_cpp_err=$ac_c_preproc_warn_flag 2797 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2798 else 2799 ac_cpp_err= 2800 fi 2801 else 2802 ac_cpp_err=yes 2803 fi 2804 if test -z "$ac_cpp_err"; then 3273 if ac_fn_c_try_cpp "$LINENO"; then : 2805 3274 # Broken: success on invalid input. 2806 3275 continue 2807 3276 else 2808 echo "$as_me: failed program was:" >&52809 sed 's/^/| /' conftest.$ac_ext >&52810 2811 3277 # Passes both tests. 2812 3278 ac_preproc_ok=: 2813 3279 break 2814 3280 fi 2815 rm -f conftest.err conftest. $ac_ext3281 rm -f conftest.err conftest.i conftest.$ac_ext 2816 3282 2817 3283 done 2818 3284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2819 rm -f conftest.err conftest.$ac_ext 2820 if $ac_preproc_ok; then 2821 : 2822 else 2823 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2824 See \`config.log' for more details." >&5 2825 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2826 See \`config.log' for more details." >&2;} 2827 { (exit 1); exit 1; }; } 3285 rm -f conftest.i conftest.err conftest.$ac_ext 3286 if $ac_preproc_ok; then : 3287 3288 else 3289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3291 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3292 See \`config.log' for more details" "$LINENO" 5; } 2828 3293 fi 2829 3294 … … 2835 3300 2836 3301 ac_aux_dir= 2837 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2838 if test -f $ac_dir/install-sh; then3302 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3303 if test -f "$ac_dir/install-sh"; then 2839 3304 ac_aux_dir=$ac_dir 2840 3305 ac_install_sh="$ac_aux_dir/install-sh -c" 2841 3306 break 2842 elif test -f $ac_dir/install.sh; then3307 elif test -f "$ac_dir/install.sh"; then 2843 3308 ac_aux_dir=$ac_dir 2844 3309 ac_install_sh="$ac_aux_dir/install.sh -c" 2845 3310 break 2846 elif test -f $ac_dir/shtool; then3311 elif test -f "$ac_dir/shtool"; then 2847 3312 ac_aux_dir=$ac_dir 2848 3313 ac_install_sh="$ac_aux_dir/shtool install -c" … … 2851 3316 done 2852 3317 if test -z "$ac_aux_dir"; then 2853 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2854 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2855 { (exit 1); exit 1; }; } 2856 fi 2857 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2858 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2859 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3318 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3319 fi 3320 3321 # These three variables are undocumented and unsupported, 3322 # and are intended to be withdrawn in a future Autoconf release. 3323 # They can cause serious problems if a builder's source tree is in a directory 3324 # whose full name contains unusual characters. 3325 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3326 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3327 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3328 2860 3329 2861 3330 # Find a good install program. We prefer a C program (faster), … … 2872 3341 # OS/2's system install, which has a completely different semantic 2873 3342 # ./install, which can be erroneously created by make from ./install.sh. 2874 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2875 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3343 # Reject install programs that cannot install multiple files. 3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3345 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2876 3346 if test -z "$INSTALL"; then 2877 if test "${ac_cv_path_install+set}" = set; then2878 echo $ECHO_N "(cached) $ECHO_C" >&63347 if ${ac_cv_path_install+:} false; then : 3348 $as_echo_n "(cached) " >&6 2879 3349 else 2880 3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2883 3353 IFS=$as_save_IFS 2884 3354 test -z "$as_dir" && as_dir=. 2885 # Account for people who put trailing slashes in PATH elements.2886 case $as_dir/ in 2887 ./ | .// | / cC/* | \3355 # Account for people who put trailing slashes in PATH elements. 3356 case $as_dir/ in #(( 3357 ./ | .// | /[cC]/* | \ 2888 3358 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2889 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \3359 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2890 3360 /usr/ucb/* ) ;; 2891 3361 *) … … 2895 3365 for ac_prog in ginstall scoinst install; do 2896 3366 for ac_exec_ext in '' $ac_executable_extensions; do 2897 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3367 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2898 3368 if test $ac_prog = install && 2899 3369 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2905 3375 : 2906 3376 else 2907 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2908 break 3 3377 rm -rf conftest.one conftest.two conftest.dir 3378 echo one > conftest.one 3379 echo two > conftest.two 3380 mkdir conftest.dir 3381 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3382 test -s conftest.one && test -s conftest.two && 3383 test -s conftest.dir/conftest.one && 3384 test -s conftest.dir/conftest.two 3385 then 3386 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3387 break 3 3388 fi 2909 3389 fi 2910 3390 fi … … 2913 3393 ;; 2914 3394 esac 2915 done 2916 3395 3396 done 3397 IFS=$as_save_IFS 3398 3399 rm -rf conftest.one conftest.two conftest.dir 2917 3400 2918 3401 fi … … 2920 3403 INSTALL=$ac_cv_path_install 2921 3404 else 2922 # As a last resort, use the slow shell script. We don't cache a2923 # pathfor INSTALL within a source directory, because that will3405 # As a last resort, use the slow shell script. Don't cache a 3406 # value for INSTALL within a source directory, because that will 2924 3407 # break other packages using the cache if that directory is 2925 # removed, or if the path is relative.3408 # removed, or if the value is a relative name. 2926 3409 INSTALL=$ac_install_sh 2927 3410 fi 2928 3411 fi 2929 echo "$as_me:$LINENO: result: $INSTALL" >&52930 echo "${ECHO_T}$INSTALL" >&6 3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3413 $as_echo "$INSTALL" >&6; } 2931 3414 2932 3415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2939 3422 2940 3423 3424 3425 if test "x$JAVAC" = x ; then 3426 if test "x$JAVAPREFIX" = x; then 3427 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 3428 do 3429 # Extract the first word of "$ac_prog", so it can be a program name with args. 3430 set dummy $ac_prog; ac_word=$2 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3432 $as_echo_n "checking for $ac_word... " >&6; } 3433 if ${ac_cv_prog_JAVAC+:} false; then : 3434 $as_echo_n "(cached) " >&6 3435 else 3436 if test -n "$JAVAC"; then 3437 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. 3438 else 3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3440 for as_dir in $PATH 3441 do 3442 IFS=$as_save_IFS 3443 test -z "$as_dir" && as_dir=. 3444 for ac_exec_ext in '' $ac_executable_extensions; do 3445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3446 ac_cv_prog_JAVAC="$ac_prog" 3447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3448 break 2 3449 fi 3450 done 3451 done 3452 IFS=$as_save_IFS 3453 3454 fi 3455 fi 3456 JAVAC=$ac_cv_prog_JAVAC 3457 if test -n "$JAVAC"; then 3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3459 $as_echo "$JAVAC" >&6; } 3460 else 3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3462 $as_echo "no" >&6; } 3463 fi 3464 3465 3466 test -n "$JAVAC" && break 3467 done 3468 3469 else 3470 test "x$JAVAC" = x && for ac_prog in javac$EXEEXT 3471 do 3472 # Extract the first word of "$ac_prog", so it can be a program name with args. 3473 set dummy $ac_prog; ac_word=$2 3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3475 $as_echo_n "checking for $ac_word... " >&6; } 3476 if ${ac_cv_prog_JAVAC+:} false; then : 3477 $as_echo_n "(cached) " >&6 3478 else 3479 if test -n "$JAVAC"; then 3480 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. 3481 else 3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3483 for as_dir in $PATH 3484 do 3485 IFS=$as_save_IFS 3486 test -z "$as_dir" && as_dir=. 3487 for ac_exec_ext in '' $ac_executable_extensions; do 3488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3489 ac_cv_prog_JAVAC="$ac_prog" 3490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3491 break 2 3492 fi 3493 done 3494 done 3495 IFS=$as_save_IFS 3496 3497 fi 3498 fi 3499 JAVAC=$ac_cv_prog_JAVAC 3500 if test -n "$JAVAC"; then 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5 3502 $as_echo "$JAVAC" >&6; } 3503 else 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3505 $as_echo "no" >&6; } 3506 fi 3507 3508 3509 test -n "$JAVAC" && break 3510 done 3511 test -n "$JAVAC" || JAVAC="$JAVAPREFIX" 3512 3513 fi 3514 test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5 3515 else 3516 echo "Checking for javac... $JAVAC" 3517 fi 3518 3519 3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5 3521 $as_echo_n "checking if $JAVAC works... " >&6; } 3522 if ${ac_cv_prog_javac_works+:} false; then : 3523 $as_echo_n "(cached) " >&6 3524 else 3525 3526 JAVA_TEST=Test.java 3527 CLASS_TEST=Test.class 3528 cat << \EOF > $JAVA_TEST 3529 /* #line 3529 "configure" */ 3530 public class Test { 3531 } 3532 EOF 3533 if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST' 3534 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 3535 (eval $ac_try) 2>&5 3536 ac_status=$? 3537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3538 test $ac_status = 0; }; } >/dev/null 2>&1; then 3539 ac_cv_prog_javac_works=yes 3540 else 3541 as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5 3542 echo "configure: failed program was:" >&5 3543 cat $JAVA_TEST >&5 3544 fi 3545 rm -f $JAVA_TEST $CLASS_TEST 3546 3547 fi 3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5 3549 $as_echo "$ac_cv_prog_javac_works" >&6; } 3550 if test "x$JAVACFLAGS" = x ; then 3551 JAVACFLAGS="-source 1.6 -target 1.6" 3552 fi 3553 3554 3555 3556 2941 3557 # Checks for libraries. 2942 3558 … … 2946 3562 2947 3563 2948 echo "$as_me:$LINENO: checking for egrep" >&5 2949 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2950 if test "${ac_cv_prog_egrep+set}" = set; then 2951 echo $ECHO_N "(cached) $ECHO_C" >&6 2952 else 2953 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 2954 then ac_cv_prog_egrep='grep -E' 2955 else ac_cv_prog_egrep='egrep' 3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3565 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3566 if ${ac_cv_path_GREP+:} false; then : 3567 $as_echo_n "(cached) " >&6 3568 else 3569 if test -z "$GREP"; then 3570 ac_path_GREP_found=false 3571 # Loop through the user's path and test for each of PROGNAME-LIST 3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3574 do 3575 IFS=$as_save_IFS 3576 test -z "$as_dir" && as_dir=. 3577 for ac_prog in grep ggrep; do 3578 for ac_exec_ext in '' $ac_executable_extensions; do 3579 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3580 as_fn_executable_p "$ac_path_GREP" || continue 3581 # Check for GNU ac_path_GREP and select it if it is found. 3582 # Check for GNU $ac_path_GREP 3583 case `"$ac_path_GREP" --version 2>&1` in 3584 *GNU*) 3585 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3586 *) 3587 ac_count=0 3588 $as_echo_n 0123456789 >"conftest.in" 3589 while : 3590 do 3591 cat "conftest.in" "conftest.in" >"conftest.tmp" 3592 mv "conftest.tmp" "conftest.in" 3593 cp "conftest.in" "conftest.nl" 3594 $as_echo 'GREP' >> "conftest.nl" 3595 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3597 as_fn_arith $ac_count + 1 && ac_count=$as_val 3598 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3599 # Best one so far, save it but keep looking for a better one 3600 ac_cv_path_GREP="$ac_path_GREP" 3601 ac_path_GREP_max=$ac_count 2956 3602 fi 2957 fi 2958 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2959 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2960 EGREP=$ac_cv_prog_egrep 2961 2962 2963 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 2964 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 2965 if test "${ac_cv_header_stdc+set}" = set; then 2966 echo $ECHO_N "(cached) $ECHO_C" >&6 2967 else 2968 cat >conftest.$ac_ext <<_ACEOF 2969 /* confdefs.h. */ 2970 _ACEOF 2971 cat confdefs.h >>conftest.$ac_ext 2972 cat >>conftest.$ac_ext <<_ACEOF 3603 # 10*(2^10) chars as input seems more than enough 3604 test $ac_count -gt 10 && break 3605 done 3606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3607 esac 3608 3609 $ac_path_GREP_found && break 3 3610 done 3611 done 3612 done 3613 IFS=$as_save_IFS 3614 if test -z "$ac_cv_path_GREP"; then 3615 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3616 fi 3617 else 3618 ac_cv_path_GREP=$GREP 3619 fi 3620 3621 fi 3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3623 $as_echo "$ac_cv_path_GREP" >&6; } 3624 GREP="$ac_cv_path_GREP" 3625 3626 3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3628 $as_echo_n "checking for egrep... " >&6; } 3629 if ${ac_cv_path_EGREP+:} false; then : 3630 $as_echo_n "(cached) " >&6 3631 else 3632 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3633 then ac_cv_path_EGREP="$GREP -E" 3634 else 3635 if test -z "$EGREP"; then 3636 ac_path_EGREP_found=false 3637 # Loop through the user's path and test for each of PROGNAME-LIST 3638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3639 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3640 do 3641 IFS=$as_save_IFS 3642 test -z "$as_dir" && as_dir=. 3643 for ac_prog in egrep; do 3644 for ac_exec_ext in '' $ac_executable_extensions; do 3645 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3646 as_fn_executable_p "$ac_path_EGREP" || continue 3647 # Check for GNU ac_path_EGREP and select it if it is found. 3648 # Check for GNU $ac_path_EGREP 3649 case `"$ac_path_EGREP" --version 2>&1` in 3650 *GNU*) 3651 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3652 *) 3653 ac_count=0 3654 $as_echo_n 0123456789 >"conftest.in" 3655 while : 3656 do 3657 cat "conftest.in" "conftest.in" >"conftest.tmp" 3658 mv "conftest.tmp" "conftest.in" 3659 cp "conftest.in" "conftest.nl" 3660 $as_echo 'EGREP' >> "conftest.nl" 3661 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3662 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3663 as_fn_arith $ac_count + 1 && ac_count=$as_val 3664 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3665 # Best one so far, save it but keep looking for a better one 3666 ac_cv_path_EGREP="$ac_path_EGREP" 3667 ac_path_EGREP_max=$ac_count 3668 fi 3669 # 10*(2^10) chars as input seems more than enough 3670 test $ac_count -gt 10 && break 3671 done 3672 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3673 esac 3674 3675 $ac_path_EGREP_found && break 3 3676 done 3677 done 3678 done 3679 IFS=$as_save_IFS 3680 if test -z "$ac_cv_path_EGREP"; then 3681 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3682 fi 3683 else 3684 ac_cv_path_EGREP=$EGREP 3685 fi 3686 3687 fi 3688 fi 3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3690 $as_echo "$ac_cv_path_EGREP" >&6; } 3691 EGREP="$ac_cv_path_EGREP" 3692 3693 3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3695 $as_echo_n "checking for ANSI C header files... " >&6; } 3696 if ${ac_cv_header_stdc+:} false; then : 3697 $as_echo_n "(cached) " >&6 3698 else 3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2973 3700 /* end confdefs.h. */ 2974 3701 #include <stdlib.h> … … 2985 3712 } 2986 3713 _ACEOF 2987 rm -f conftest.$ac_objext 2988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2989 (eval $ac_compile) 2>conftest.er1 2990 ac_status=$? 2991 grep -v '^ *+' conftest.er1 >conftest.err 2992 rm -f conftest.er1 2993 cat conftest.err >&5 2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2995 (exit $ac_status); } && 2996 { ac_try='test -z "$ac_c_werror_flag" 2997 || test ! -s conftest.err' 2998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2999 (eval $ac_try) 2>&5 3000 ac_status=$? 3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3002 (exit $ac_status); }; } && 3003 { ac_try='test -s conftest.$ac_objext' 3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3005 (eval $ac_try) 2>&5 3006 ac_status=$? 3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3008 (exit $ac_status); }; }; then 3714 if ac_fn_c_try_compile "$LINENO"; then : 3009 3715 ac_cv_header_stdc=yes 3010 3716 else 3011 echo "$as_me: failed program was:" >&5 3012 sed 's/^/| /' conftest.$ac_ext >&5 3013 3014 ac_cv_header_stdc=no 3015 fi 3016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3717 ac_cv_header_stdc=no 3718 fi 3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3017 3720 3018 3721 if test $ac_cv_header_stdc = yes; then 3019 3722 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3020 cat >conftest.$ac_ext <<_ACEOF 3021 /* confdefs.h. */ 3022 _ACEOF 3023 cat confdefs.h >>conftest.$ac_ext 3024 cat >>conftest.$ac_ext <<_ACEOF 3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3025 3724 /* end confdefs.h. */ 3026 3725 #include <string.h> … … 3028 3727 _ACEOF 3029 3728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3030 $EGREP "memchr" >/dev/null 2>&1; then 3031 : 3729 $EGREP "memchr" >/dev/null 2>&1; then : 3730 3032 3731 else 3033 3732 ac_cv_header_stdc=no … … 3039 3738 if test $ac_cv_header_stdc = yes; then 3040 3739 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3041 cat >conftest.$ac_ext <<_ACEOF 3042 /* confdefs.h. */ 3043 _ACEOF 3044 cat confdefs.h >>conftest.$ac_ext 3045 cat >>conftest.$ac_ext <<_ACEOF 3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3046 3741 /* end confdefs.h. */ 3047 3742 #include <stdlib.h> … … 3049 3744 _ACEOF 3050 3745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3051 $EGREP "free" >/dev/null 2>&1; then 3052 : 3746 $EGREP "free" >/dev/null 2>&1; then : 3747 3053 3748 else 3054 3749 ac_cv_header_stdc=no … … 3060 3755 if test $ac_cv_header_stdc = yes; then 3061 3756 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3062 if test "$cross_compiling" = yes; then 3757 if test "$cross_compiling" = yes; then : 3063 3758 : 3064 3759 else 3065 cat >conftest.$ac_ext <<_ACEOF 3066 /* confdefs.h. */ 3067 _ACEOF 3068 cat confdefs.h >>conftest.$ac_ext 3069 cat >>conftest.$ac_ext <<_ACEOF 3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3070 3761 /* end confdefs.h. */ 3071 3762 #include <ctype.h> 3763 #include <stdlib.h> 3072 3764 #if ((' ' & 0x0FF) == 0x020) 3073 3765 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3089 3781 if (XOR (islower (i), ISLOWER (i)) 3090 3782 || toupper (i) != TOUPPER (i)) 3091 exit(2);3092 exit (0);3783 return 2; 3784 return 0; 3093 3785 } 3094 3786 _ACEOF 3095 rm -f conftest$ac_exeext 3096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3097 (eval $ac_link) 2>&5 3098 ac_status=$? 3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3102 (eval $ac_try) 2>&5 3103 ac_status=$? 3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3105 (exit $ac_status); }; }; then 3106 : 3107 else 3108 echo "$as_me: program exited with status $ac_status" >&5 3109 echo "$as_me: failed program was:" >&5 3110 sed 's/^/| /' conftest.$ac_ext >&5 3111 3112 ( exit $ac_status ) 3113 ac_cv_header_stdc=no 3114 fi 3115 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3116 fi 3117 fi 3118 fi 3119 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3120 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3787 if ac_fn_c_try_run "$LINENO"; then : 3788 3789 else 3790 ac_cv_header_stdc=no 3791 fi 3792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3793 conftest.$ac_objext conftest.beam conftest.$ac_ext 3794 fi 3795 3796 fi 3797 fi 3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3799 $as_echo "$ac_cv_header_stdc" >&6; } 3121 3800 if test $ac_cv_header_stdc = yes; then 3122 3801 3123 cat >>confdefs.h <<\_ACEOF 3124 #define STDC_HEADERS 1 3125 _ACEOF 3802 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 3126 3803 3127 3804 fi 3128 3805 3129 3806 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3807 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3140 3808 inttypes.h stdint.h unistd.h 3141 do 3142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3143 echo "$as_me:$LINENO: checking for $ac_header" >&5 3144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3145 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3146 echo $ECHO_N "(cached) $ECHO_C" >&6 3147 else 3148 cat >conftest.$ac_ext <<_ACEOF 3149 /* confdefs.h. */ 3150 _ACEOF 3151 cat confdefs.h >>conftest.$ac_ext 3152 cat >>conftest.$ac_ext <<_ACEOF 3809 do : 3810 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3811 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3812 " 3813 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3814 cat >>confdefs.h <<_ACEOF 3815 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3816 _ACEOF 3817 3818 fi 3819 3820 done 3821 3822 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 3824 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 3825 if ${ac_cv_header_stdbool_h+:} false; then : 3826 $as_echo_n "(cached) " >&6 3827 else 3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3153 3829 /* end confdefs.h. */ 3154 $ac_includes_default 3155 3156 #include <$ac_header> 3157 _ACEOF 3158 rm -f conftest.$ac_objext 3159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3160 (eval $ac_compile) 2>conftest.er1 3161 ac_status=$? 3162 grep -v '^ *+' conftest.er1 >conftest.err 3163 rm -f conftest.er1 3164 cat conftest.err >&5 3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3166 (exit $ac_status); } && 3167 { ac_try='test -z "$ac_c_werror_flag" 3168 || test ! -s conftest.err' 3169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3170 (eval $ac_try) 2>&5 3171 ac_status=$? 3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3173 (exit $ac_status); }; } && 3174 { ac_try='test -s conftest.$ac_objext' 3175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3176 (eval $ac_try) 2>&5 3177 ac_status=$? 3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3179 (exit $ac_status); }; }; then 3180 eval "$as_ac_Header=yes" 3181 else 3182 echo "$as_me: failed program was:" >&5 3183 sed 's/^/| /' conftest.$ac_ext >&5 3184 3185 eval "$as_ac_Header=no" 3186 fi 3187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3188 fi 3189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3191 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3192 cat >>confdefs.h <<_ACEOF 3193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3194 _ACEOF 3195 3196 fi 3197 3198 done 3199 3200 3201 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 3202 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6 3203 if test "${ac_cv_header_stdbool_h+set}" = set; then 3204 echo $ECHO_N "(cached) $ECHO_C" >&6 3205 else 3206 cat >conftest.$ac_ext <<_ACEOF 3207 /* confdefs.h. */ 3208 _ACEOF 3209 cat confdefs.h >>conftest.$ac_ext 3210 cat >>conftest.$ac_ext <<_ACEOF 3211 /* end confdefs.h. */ 3212 3213 #include <stdbool.h> 3214 #ifndef bool 3215 # error bool is not defined 3216 #endif 3217 #ifndef false 3218 # error false is not defined 3219 #endif 3220 #if false 3221 # error false is not 0 3222 #endif 3223 #ifndef true 3224 # error true is not defined 3225 #endif 3226 #if true != 1 3227 # error true is not 1 3228 #endif 3229 #ifndef __bool_true_false_are_defined 3230 # error __bool_true_false_are_defined is not defined 3231 #endif 3232 3233 struct s { _Bool s: 1; _Bool t; } s; 3234 3235 char a[true == 1 ? 1 : -1]; 3236 char b[false == 0 ? 1 : -1]; 3237 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 3238 char d[(bool) -0.5 == true ? 1 : -1]; 3239 bool e = &s; 3240 char f[(_Bool) -0.0 == false ? 1 : -1]; 3241 char g[true]; 3242 char h[sizeof (_Bool)]; 3243 char i[sizeof s.t]; 3830 3831 #include <stdbool.h> 3832 #ifndef bool 3833 "error: bool is not defined" 3834 #endif 3835 #ifndef false 3836 "error: false is not defined" 3837 #endif 3838 #if false 3839 "error: false is not 0" 3840 #endif 3841 #ifndef true 3842 "error: true is not defined" 3843 #endif 3844 #if true != 1 3845 "error: true is not 1" 3846 #endif 3847 #ifndef __bool_true_false_are_defined 3848 "error: __bool_true_false_are_defined is not defined" 3849 #endif 3850 3851 struct s { _Bool s: 1; _Bool t; } s; 3852 3853 char a[true == 1 ? 1 : -1]; 3854 char b[false == 0 ? 1 : -1]; 3855 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 3856 char d[(bool) 0.5 == true ? 1 : -1]; 3857 /* See body of main program for 'e'. */ 3858 char f[(_Bool) 0.0 == false ? 1 : -1]; 3859 char g[true]; 3860 char h[sizeof (_Bool)]; 3861 char i[sizeof s.t]; 3862 enum { j = false, k = true, l = false * true, m = true * 256 }; 3863 /* The following fails for 3864 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ 3865 _Bool n[m]; 3866 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 3867 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 3868 /* Catch a bug in an HP-UX C compiler. See 3869 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 3870 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 3871 */ 3872 _Bool q = true; 3873 _Bool *pq = &q; 3244 3874 3245 3875 int 3246 3876 main () 3247 3877 { 3248 return !a + !b + !c + !d + !e + !f + !g + !h + !i; 3878 3879 bool e = &s; 3880 *pq |= q; 3881 *pq |= ! q; 3882 /* Refer to every declared value, to avoid compiler optimizations. */ 3883 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 3884 + !m + !n + !o + !p + !q + !pq); 3885 3249 3886 ; 3250 3887 return 0; 3251 3888 } 3252 3889 _ACEOF 3253 rm -f conftest.$ac_objext 3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3255 (eval $ac_compile) 2>conftest.er1 3256 ac_status=$? 3257 grep -v '^ *+' conftest.er1 >conftest.err 3258 rm -f conftest.er1 3259 cat conftest.err >&5 3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3261 (exit $ac_status); } && 3262 { ac_try='test -z "$ac_c_werror_flag" 3263 || test ! -s conftest.err' 3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3265 (eval $ac_try) 2>&5 3266 ac_status=$? 3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3268 (exit $ac_status); }; } && 3269 { ac_try='test -s conftest.$ac_objext' 3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3271 (eval $ac_try) 2>&5 3272 ac_status=$? 3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3274 (exit $ac_status); }; }; then 3890 if ac_fn_c_try_compile "$LINENO"; then : 3275 3891 ac_cv_header_stdbool_h=yes 3276 3892 else 3277 echo "$as_me: failed program was:" >&5 3278 sed 's/^/| /' conftest.$ac_ext >&5 3279 3280 ac_cv_header_stdbool_h=no 3281 fi 3282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3283 fi 3284 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 3285 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 3286 echo "$as_me:$LINENO: checking for _Bool" >&5 3287 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6 3288 if test "${ac_cv_type__Bool+set}" = set; then 3289 echo $ECHO_N "(cached) $ECHO_C" >&6 3290 else 3291 cat >conftest.$ac_ext <<_ACEOF 3292 /* confdefs.h. */ 3293 _ACEOF 3294 cat confdefs.h >>conftest.$ac_ext 3295 cat >>conftest.$ac_ext <<_ACEOF 3893 ac_cv_header_stdbool_h=no 3894 fi 3895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3896 fi 3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 3898 $as_echo "$ac_cv_header_stdbool_h" >&6; } 3899 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 3900 if test "x$ac_cv_type__Bool" = xyes; then : 3901 3902 cat >>confdefs.h <<_ACEOF 3903 #define HAVE__BOOL 1 3904 _ACEOF 3905 3906 3907 fi 3908 3909 3910 if test $ac_cv_header_stdbool_h = yes; then 3911 3912 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h 3913 3914 fi 3915 3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 3917 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 3918 if ${ac_cv_c_const+:} false; then : 3919 $as_echo_n "(cached) " >&6 3920 else 3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3296 3922 /* end confdefs.h. */ 3297 $ac_includes_default 3923 3298 3924 int 3299 3925 main () 3300 3926 { 3301 if ((_Bool *) 0) 3302 return 0; 3303 if (sizeof (_Bool)) 3304 return 0; 3305 ; 3306 return 0; 3307 } 3308 _ACEOF 3309 rm -f conftest.$ac_objext 3310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3311 (eval $ac_compile) 2>conftest.er1 3312 ac_status=$? 3313 grep -v '^ *+' conftest.er1 >conftest.err 3314 rm -f conftest.er1 3315 cat conftest.err >&5 3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3317 (exit $ac_status); } && 3318 { ac_try='test -z "$ac_c_werror_flag" 3319 || test ! -s conftest.err' 3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3321 (eval $ac_try) 2>&5 3322 ac_status=$? 3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3324 (exit $ac_status); }; } && 3325 { ac_try='test -s conftest.$ac_objext' 3326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3327 (eval $ac_try) 2>&5 3328 ac_status=$? 3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3330 (exit $ac_status); }; }; then 3331 ac_cv_type__Bool=yes 3332 else 3333 echo "$as_me: failed program was:" >&5 3334 sed 's/^/| /' conftest.$ac_ext >&5 3335 3336 ac_cv_type__Bool=no 3337 fi 3338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3339 fi 3340 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 3341 echo "${ECHO_T}$ac_cv_type__Bool" >&6 3342 if test $ac_cv_type__Bool = yes; then 3343 3344 cat >>confdefs.h <<_ACEOF 3345 #define HAVE__BOOL 1 3346 _ACEOF 3347 3348 3349 fi 3350 3351 if test $ac_cv_header_stdbool_h = yes; then 3352 3353 cat >>confdefs.h <<\_ACEOF 3354 #define HAVE_STDBOOL_H 1 3355 _ACEOF 3356 3357 fi 3358 3359 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 3360 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 3361 if test "${ac_cv_c_const+set}" = set; then 3362 echo $ECHO_N "(cached) $ECHO_C" >&6 3363 else 3364 cat >conftest.$ac_ext <<_ACEOF 3365 /* confdefs.h. */ 3366 _ACEOF 3367 cat confdefs.h >>conftest.$ac_ext 3368 cat >>conftest.$ac_ext <<_ACEOF 3369 /* end confdefs.h. */ 3370 3371 int 3372 main () 3373 { 3374 /* FIXME: Include the comments suggested by Paul. */ 3927 3375 3928 #ifndef __cplusplus 3376 /* Ultrix mips cc rejects this . */3929 /* Ultrix mips cc rejects this sort of thing. */ 3377 3930 typedef int charset[2]; 3378 const charset x;3931 const charset cs = { 0, 0 }; 3379 3932 /* SunOS 4.1.1 cc rejects this. */ 3380 char const *const * ccp;3381 char **p ;3933 char const *const *pcpcc; 3934 char **ppc; 3382 3935 /* NEC SVR4.0.2 mips cc rejects this. */ 3383 3936 struct point {int x, y;}; … … 3388 3941 expression */ 3389 3942 const char *g = "string"; 3390 ccp= &g + (g ? g-g : 0);3943 pcpcc = &g + (g ? g-g : 0); 3391 3944 /* HPUX 7.0 cc rejects these. */ 3392 ++ccp; 3393 p = (char**) ccp; 3394 ccp = (char const *const *) p; 3395 { /* SCO 3.2v4 cc rejects this. */ 3396 char *t; 3945 ++pcpcc; 3946 ppc = (char**) pcpcc; 3947 pcpcc = (char const *const *) ppc; 3948 { /* SCO 3.2v4 cc rejects this sort of thing. */ 3949 char tx; 3950 char *t = &tx; 3397 3951 char const *s = 0 ? (char *) 0 : (char const *) 0; 3398 3952 3399 3953 *t++ = 0; 3954 if (s) return 0; 3400 3955 } 3401 3956 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 3409 3964 ++p; 3410 3965 } 3411 { /* AIX XL C 1.02.0.0 rejects this s aying3966 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 3412 3967 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 3413 struct s { int j; const int *ap[3]; } ;3414 struct s *b ; b->j = 5;3968 struct s { int j; const int *ap[3]; } bx; 3969 struct s *b = &bx; b->j = 5; 3415 3970 } 3416 3971 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 3417 3972 const int foo = 10; 3973 if (!foo) return 0; 3418 3974 } 3975 return !cs[0] && !zero.x; 3419 3976 #endif 3420 3977 … … 3423 3980 } 3424 3981 _ACEOF 3425 rm -f conftest.$ac_objext 3426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3427 (eval $ac_compile) 2>conftest.er1 3428 ac_status=$? 3429 grep -v '^ *+' conftest.er1 >conftest.err 3430 rm -f conftest.er1 3431 cat conftest.err >&5 3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3433 (exit $ac_status); } && 3434 { ac_try='test -z "$ac_c_werror_flag" 3435 || test ! -s conftest.err' 3436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3437 (eval $ac_try) 2>&5 3438 ac_status=$? 3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3440 (exit $ac_status); }; } && 3441 { ac_try='test -s conftest.$ac_objext' 3442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3443 (eval $ac_try) 2>&5 3444 ac_status=$? 3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3446 (exit $ac_status); }; }; then 3982 if ac_fn_c_try_compile "$LINENO"; then : 3447 3983 ac_cv_c_const=yes 3448 3984 else 3449 echo "$as_me: failed program was:" >&5 3450 sed 's/^/| /' conftest.$ac_ext >&5 3451 3452 ac_cv_c_const=no 3453 fi 3454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3455 fi 3456 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 3457 echo "${ECHO_T}$ac_cv_c_const" >&6 3985 ac_cv_c_const=no 3986 fi 3987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3988 fi 3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 3990 $as_echo "$ac_cv_c_const" >&6; } 3458 3991 if test $ac_cv_c_const = no; then 3459 3992 3460 cat >>confdefs.h <<\_ACEOF 3461 #define const 3462 _ACEOF 3993 $as_echo "#define const /**/" >>confdefs.h 3463 3994 3464 3995 fi … … 3466 3997 3467 3998 # Checks for library functions. 3468 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3469 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3470 if test "${ac_cv_header_stdc+set}" = set; then 3471 echo $ECHO_N "(cached) $ECHO_C" >&6 3472 else 3473 cat >conftest.$ac_ext <<_ACEOF 3474 /* confdefs.h. */ 3475 _ACEOF 3476 cat confdefs.h >>conftest.$ac_ext 3477 cat >>conftest.$ac_ext <<_ACEOF 3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4000 $as_echo_n "checking for ANSI C header files... " >&6; } 4001 if ${ac_cv_header_stdc+:} false; then : 4002 $as_echo_n "(cached) " >&6 4003 else 4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3478 4005 /* end confdefs.h. */ 3479 4006 #include <stdlib.h> … … 3490 4017 } 3491 4018 _ACEOF 3492 rm -f conftest.$ac_objext 3493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3494 (eval $ac_compile) 2>conftest.er1 3495 ac_status=$? 3496 grep -v '^ *+' conftest.er1 >conftest.err 3497 rm -f conftest.er1 3498 cat conftest.err >&5 3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3500 (exit $ac_status); } && 3501 { ac_try='test -z "$ac_c_werror_flag" 3502 || test ! -s conftest.err' 3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3504 (eval $ac_try) 2>&5 3505 ac_status=$? 3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3507 (exit $ac_status); }; } && 3508 { ac_try='test -s conftest.$ac_objext' 3509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3510 (eval $ac_try) 2>&5 3511 ac_status=$? 3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3513 (exit $ac_status); }; }; then 4019 if ac_fn_c_try_compile "$LINENO"; then : 3514 4020 ac_cv_header_stdc=yes 3515 4021 else 3516 echo "$as_me: failed program was:" >&5 3517 sed 's/^/| /' conftest.$ac_ext >&5 3518 3519 ac_cv_header_stdc=no 3520 fi 3521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4022 ac_cv_header_stdc=no 4023 fi 4024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3522 4025 3523 4026 if test $ac_cv_header_stdc = yes; then 3524 4027 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3525 cat >conftest.$ac_ext <<_ACEOF 3526 /* confdefs.h. */ 3527 _ACEOF 3528 cat confdefs.h >>conftest.$ac_ext 3529 cat >>conftest.$ac_ext <<_ACEOF 4028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3530 4029 /* end confdefs.h. */ 3531 4030 #include <string.h> … … 3533 4032 _ACEOF 3534 4033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3535 $EGREP "memchr" >/dev/null 2>&1; then 3536 : 4034 $EGREP "memchr" >/dev/null 2>&1; then : 4035 3537 4036 else 3538 4037 ac_cv_header_stdc=no … … 3544 4043 if test $ac_cv_header_stdc = yes; then 3545 4044 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3546 cat >conftest.$ac_ext <<_ACEOF 3547 /* confdefs.h. */ 3548 _ACEOF 3549 cat confdefs.h >>conftest.$ac_ext 3550 cat >>conftest.$ac_ext <<_ACEOF 4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3551 4046 /* end confdefs.h. */ 3552 4047 #include <stdlib.h> … … 3554 4049 _ACEOF 3555 4050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3556 $EGREP "free" >/dev/null 2>&1; then 3557 : 4051 $EGREP "free" >/dev/null 2>&1; then : 4052 3558 4053 else 3559 4054 ac_cv_header_stdc=no … … 3565 4060 if test $ac_cv_header_stdc = yes; then 3566 4061 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3567 if test "$cross_compiling" = yes; then 4062 if test "$cross_compiling" = yes; then : 3568 4063 : 3569 4064 else 3570 cat >conftest.$ac_ext <<_ACEOF 3571 /* confdefs.h. */ 3572 _ACEOF 3573 cat confdefs.h >>conftest.$ac_ext 3574 cat >>conftest.$ac_ext <<_ACEOF 4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3575 4066 /* end confdefs.h. */ 3576 4067 #include <ctype.h> 4068 #include <stdlib.h> 3577 4069 #if ((' ' & 0x0FF) == 0x020) 3578 4070 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3594 4086 if (XOR (islower (i), ISLOWER (i)) 3595 4087 || toupper (i) != TOUPPER (i)) 3596 exit(2); 3597 exit (0); 3598 } 3599 _ACEOF 3600 rm -f conftest$ac_exeext 3601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3602 (eval $ac_link) 2>&5 3603 ac_status=$? 3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3607 (eval $ac_try) 2>&5 3608 ac_status=$? 3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3610 (exit $ac_status); }; }; then 3611 : 3612 else 3613 echo "$as_me: program exited with status $ac_status" >&5 3614 echo "$as_me: failed program was:" >&5 3615 sed 's/^/| /' conftest.$ac_ext >&5 3616 3617 ( exit $ac_status ) 3618 ac_cv_header_stdc=no 3619 fi 3620 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3621 fi 3622 fi 3623 fi 3624 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3625 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3626 if test $ac_cv_header_stdc = yes; then 3627 3628 cat >>confdefs.h <<\_ACEOF 3629 #define STDC_HEADERS 1 3630 _ACEOF 3631 3632 fi 3633 3634 3635 for ac_func in memset 3636 do 3637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 3638 echo "$as_me:$LINENO: checking for $ac_func" >&5 3639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3640 if eval "test \"\${$as_ac_var+set}\" = set"; then 3641 echo $ECHO_N "(cached) $ECHO_C" >&6 3642 else 3643 cat >conftest.$ac_ext <<_ACEOF 3644 /* confdefs.h. */ 3645 _ACEOF 3646 cat confdefs.h >>conftest.$ac_ext 3647 cat >>conftest.$ac_ext <<_ACEOF 3648 /* end confdefs.h. */ 3649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 3650 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3651 #define $ac_func innocuous_$ac_func 3652 3653 /* System header to define __stub macros and hopefully few prototypes, 3654 which can conflict with char $ac_func (); below. 3655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3656 <limits.h> exists even on freestanding compilers. */ 3657 3658 #ifdef __STDC__ 3659 # include <limits.h> 3660 #else 3661 # include <assert.h> 3662 #endif 3663 3664 #undef $ac_func 3665 3666 /* Override any gcc2 internal prototype to avoid an error. */ 3667 #ifdef __cplusplus 3668 extern "C" 3669 { 3670 #endif 3671 /* We use char because int might match the return type of a gcc2 3672 builtin and then its argument prototype would still apply. */ 3673 char $ac_func (); 3674 /* The GNU C library defines this for functions which it implements 3675 to always fail with ENOSYS. Some functions are actually named 3676 something starting with __ and the normal name is an alias. */ 3677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3678 choke me 3679 #else 3680 char (*f) () = $ac_func; 3681 #endif 3682 #ifdef __cplusplus 3683 } 3684 #endif 3685 3686 int 3687 main () 3688 { 3689 return f != $ac_func; 3690 ; 4088 return 2; 3691 4089 return 0; 3692 4090 } 3693 4091 _ACEOF 3694 rm -f conftest.$ac_objext conftest$ac_exeext 3695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3696 (eval $ac_link) 2>conftest.er1 3697 ac_status=$? 3698 grep -v '^ *+' conftest.er1 >conftest.err 3699 rm -f conftest.er1 3700 cat conftest.err >&5 3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3702 (exit $ac_status); } && 3703 { ac_try='test -z "$ac_c_werror_flag" 3704 || test ! -s conftest.err' 3705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3706 (eval $ac_try) 2>&5 3707 ac_status=$? 3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3709 (exit $ac_status); }; } && 3710 { ac_try='test -s conftest$ac_exeext' 3711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3712 (eval $ac_try) 2>&5 3713 ac_status=$? 3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3715 (exit $ac_status); }; }; then 3716 eval "$as_ac_var=yes" 3717 else 3718 echo "$as_me: failed program was:" >&5 3719 sed 's/^/| /' conftest.$ac_ext >&5 3720 3721 eval "$as_ac_var=no" 3722 fi 3723 rm -f conftest.err conftest.$ac_objext \ 3724 conftest$ac_exeext conftest.$ac_ext 3725 fi 3726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3728 if test `eval echo '${'$as_ac_var'}'` = yes; then 4092 if ac_fn_c_try_run "$LINENO"; then : 4093 4094 else 4095 ac_cv_header_stdc=no 4096 fi 4097 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4098 conftest.$ac_objext conftest.beam conftest.$ac_ext 4099 fi 4100 4101 fi 4102 fi 4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4104 $as_echo "$ac_cv_header_stdc" >&6; } 4105 if test $ac_cv_header_stdc = yes; then 4106 4107 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4108 4109 fi 4110 4111 for ac_func in memset 4112 do : 4113 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset" 4114 if test "x$ac_cv_func_memset" = xyes; then : 3729 4115 cat >>confdefs.h <<_ACEOF 3730 #define `echo "HAVE_$ac_func" | $as_tr_cpp`14116 #define HAVE_MEMSET 1 3731 4117 _ACEOF 3732 4118 … … 3735 4121 3736 4122 3737 4123 ac_config_files="$ac_config_files Makefile" 3738 4124 3739 4125 cat >confcache <<\_ACEOF … … 3755 4141 # The following way of writing the cache mishandles newlines in values, 3756 4142 # but we know of no workaround that is simple, portable, and efficient. 3757 # So, don't put newlines in cache variables' values.4143 # So, we kill variables containing newlines. 3758 4144 # Ultrix sh set writes to stderr and can't be redirected directly, 3759 4145 # and sets the high bit in the cache file unless we assign to the vars. 3760 { 4146 ( 4147 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4148 eval ac_val=\$$ac_var 4149 case $ac_val in #( 4150 *${as_nl}*) 4151 case $ac_var in #( 4152 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4153 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4154 esac 4155 case $ac_var in #( 4156 _ | IFS | as_nl) ;; #( 4157 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4158 *) { eval $ac_var=; unset $ac_var;} ;; 4159 esac ;; 4160 esac 4161 done 4162 3761 4163 (set) 2>&1 | 3762 case `(ac_space=' '; set | grep ac_space) 2>&1` in3763 * ac_space=\ *)3764 # `set' does not quote correctly, so add quotes (double-quote3765 # substitution turns \\\\ into \\, and sed turns \\ into \ ).4164 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4165 *${as_nl}ac_space=\ *) 4166 # `set' does not quote correctly, so add quotes: double-quote 4167 # substitution turns \\\\ into \\, and sed turns \\ into \. 3766 4168 sed -n \ 3767 4169 "s/'/'\\\\''/g; 3768 4170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3769 ;; 4171 ;; #( 3770 4172 *) 3771 4173 # `set' quotes correctly as required by POSIX, so do not add quotes. 3772 sed -n \ 3773 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 4174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3774 4175 ;; 3775 esac; 3776 } | 4176 esac | 4177 sort 4178 ) | 3777 4179 sed ' 4180 /^ac_cv_env_/b end 3778 4181 t clear 3779 : 4182 :clear 3780 4183 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3781 4184 t end 3782 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3783 : end' >>confcache 3784 if diff $cache_file confcache >/dev/null 2>&1; then :; else 3785 if test -w $cache_file; then 3786 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3787 cat confcache >$cache_file 4185 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4186 :end' >>confcache 4187 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4188 if test -w "$cache_file"; then 4189 if test "x$cache_file" != "x/dev/null"; then 4190 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4191 $as_echo "$as_me: updating cache $cache_file" >&6;} 4192 if test ! -f "$cache_file" || test -h "$cache_file"; then 4193 cat confcache >"$cache_file" 4194 else 4195 case $cache_file in #( 4196 */* | ?:*) 4197 mv -f confcache "$cache_file"$$ && 4198 mv -f "$cache_file"$$ "$cache_file" ;; #( 4199 *) 4200 mv -f confcache "$cache_file" ;; 4201 esac 4202 fi 4203 fi 3788 4204 else 3789 echo "not updating unwritable cache $cache_file" 4205 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4206 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3790 4207 fi 3791 4208 fi … … 3796 4213 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3797 4214 3798 # VPATH may cause trouble with some makes, so we remove $(srcdir),3799 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and3800 # trailing colons and then remove the whole line if VPATH becomes empty3801 # (actually we leave an empty line to preserve line numbers).3802 if test "x$srcdir" = x.; then3803 ac_vpsub='/^[ ]*VPATH[ ]*=/{3804 s/:*\$(srcdir):*/:/;3805 s/:*\${srcdir}:*/:/;3806 s/:*@srcdir@:*/:/;3807 s/^\([^=]*=[ ]*\):*/\1/;3808 s/:*$//;3809 s/^[^=]*=[ ]*$//;3810 }'3811 fi3812 3813 4215 DEFS=-DHAVE_CONFIG_H 3814 4216 3815 4217 ac_libobjs= 3816 4218 ac_ltlibobjs= 4219 U= 3817 4220 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3818 4221 # 1. Remove the extension, and $U if already installed. 3819 ac_i=`echo "$ac_i" | 3820 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 3821 # 2. Add them. 3822 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 3823 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 4222 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4223 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4224 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4225 # will be set to the directory where LIBOBJS objects are built. 4226 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4227 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3824 4228 done 3825 4229 LIBOBJS=$ac_libobjs … … 3829 4233 3830 4234 3831 : ${CONFIG_STATUS=./config.status} 4235 : "${CONFIG_STATUS=./config.status}" 4236 ac_write_fail=0 3832 4237 ac_clean_files_save=$ac_clean_files 3833 4238 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3834 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3835 echo "$as_me: creating $CONFIG_STATUS" >&6;} 3836 cat >$CONFIG_STATUS <<_ACEOF 4239 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4240 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4241 as_write_fail=0 4242 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3837 4243 #! $SHELL 3838 4244 # Generated by $as_me. … … 3844 4250 ac_cs_recheck=false 3845 4251 ac_cs_silent=false 4252 3846 4253 SHELL=\${CONFIG_SHELL-$SHELL} 3847 _ACEOF 3848 3849 cat >>$CONFIG_STATUS <<\_ACEOF 3850 ## --------------------- ## 3851 ## M4sh Initialization. ## 3852 ## --------------------- ## 3853 3854 # Be Bourne compatible 3855 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4254 export SHELL 4255 _ASEOF 4256 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4257 ## -------------------- ## 4258 ## M4sh Initialization. ## 4259 ## -------------------- ## 4260 4261 # Be more Bourne compatible 4262 DUALCASE=1; export DUALCASE # for MKS sh 4263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 3856 4264 emulate sh 3857 4265 NULLCMD=: 3858 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which4266 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3859 4267 # is contrary to our usage. Disable this feature. 3860 4268 alias -g '${1+"$@"}'='"$@"' 3861 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3862 set -o posix 3863 fi 3864 DUALCASE=1; export DUALCASE # for MKS sh 3865 3866 # Support unset when possible. 3867 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 3868 as_unset=unset 3869 else 3870 as_unset=false 3871 fi 3872 3873 3874 # Work around bugs in pre-3.0 UWIN ksh. 3875 $as_unset ENV MAIL MAILPATH 4269 setopt NO_GLOB_SUBST 4270 else 4271 case `(set -o) 2>/dev/null` in #( 4272 *posix*) : 4273 set -o posix ;; #( 4274 *) : 4275 ;; 4276 esac 4277 fi 4278 4279 4280 as_nl=' 4281 ' 4282 export as_nl 4283 # Printing a long string crashes Solaris 7 /usr/bin/printf. 4284 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4285 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4286 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4287 # Prefer a ksh shell builtin over an external printf program on Solaris, 4288 # but without wasting forks for bash or zsh. 4289 if test -z "$BASH_VERSION$ZSH_VERSION" \ 4290 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4291 as_echo='print -r --' 4292 as_echo_n='print -rn --' 4293 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4294 as_echo='printf %s\n' 4295 as_echo_n='printf %s' 4296 else 4297 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4298 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4299 as_echo_n='/usr/ucb/echo -n' 4300 else 4301 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4302 as_echo_n_body='eval 4303 arg=$1; 4304 case $arg in #( 4305 *"$as_nl"*) 4306 expr "X$arg" : "X\\(.*\\)$as_nl"; 4307 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4308 esac; 4309 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4310 ' 4311 export as_echo_n_body 4312 as_echo_n='sh -c $as_echo_n_body as_echo' 4313 fi 4314 export as_echo_body 4315 as_echo='sh -c $as_echo_body as_echo' 4316 fi 4317 4318 # The user is always right. 4319 if test "${PATH_SEPARATOR+set}" != set; then 4320 PATH_SEPARATOR=: 4321 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4322 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4323 PATH_SEPARATOR=';' 4324 } 4325 fi 4326 4327 4328 # IFS 4329 # We need space, tab and new line, in precisely that order. Quoting is 4330 # there to prevent editors from complaining about space-tab. 4331 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 4332 # splitting by setting IFS to empty value.) 4333 IFS=" "" $as_nl" 4334 4335 # Find who we are. Look in the path if we contain no directory separator. 4336 as_myself= 4337 case $0 in #(( 4338 *[\\/]* ) as_myself=$0 ;; 4339 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4340 for as_dir in $PATH 4341 do 4342 IFS=$as_save_IFS 4343 test -z "$as_dir" && as_dir=. 4344 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4345 done 4346 IFS=$as_save_IFS 4347 4348 ;; 4349 esac 4350 # We did not find ourselves, most probably we were run as `sh COMMAND' 4351 # in which case we are not to be found in the path. 4352 if test "x$as_myself" = x; then 4353 as_myself=$0 4354 fi 4355 if test ! -f "$as_myself"; then 4356 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4357 exit 1 4358 fi 4359 4360 # Unset variables that we do not need and which cause bugs (e.g. in 4361 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4362 # suppresses any "Segmentation fault" message there. '((' could 4363 # trigger a bug in pdksh 5.2.14. 4364 for as_var in BASH_ENV ENV MAIL MAILPATH 4365 do eval test x\${$as_var+set} = xset \ 4366 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4367 done 3876 4368 PS1='$ ' 3877 4369 PS2='> ' … … 3879 4371 3880 4372 # NLS nuisances. 3881 for as_var in \ 3882 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3883 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3884 LC_TELEPHONE LC_TIME 3885 do 3886 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3887 eval $as_var=C; export $as_var 3888 else 3889 $as_unset $as_var 4373 LC_ALL=C 4374 export LC_ALL 4375 LANGUAGE=C 4376 export LANGUAGE 4377 4378 # CDPATH. 4379 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4380 4381 4382 # as_fn_error STATUS ERROR [LINENO LOG_FD] 4383 # ---------------------------------------- 4384 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4385 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4386 # script with STATUS, using 1 if that was 0. 4387 as_fn_error () 4388 { 4389 as_status=$1; test $as_status -eq 0 && as_status=1 4390 if test "$4"; then 4391 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4392 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3890 4393 fi 3891 done 3892 3893 # Required to use basename. 3894 if expr a : '\(a\)' >/dev/null 2>&1; then 4394 $as_echo "$as_me: error: $2" >&2 4395 as_fn_exit $as_status 4396 } # as_fn_error 4397 4398 4399 # as_fn_set_status STATUS 4400 # ----------------------- 4401 # Set $? to STATUS, without forking. 4402 as_fn_set_status () 4403 { 4404 return $1 4405 } # as_fn_set_status 4406 4407 # as_fn_exit STATUS 4408 # ----------------- 4409 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4410 as_fn_exit () 4411 { 4412 set +e 4413 as_fn_set_status $1 4414 exit $1 4415 } # as_fn_exit 4416 4417 # as_fn_unset VAR 4418 # --------------- 4419 # Portably unset VAR. 4420 as_fn_unset () 4421 { 4422 { eval $1=; unset $1;} 4423 } 4424 as_unset=as_fn_unset 4425 # as_fn_append VAR VALUE 4426 # ---------------------- 4427 # Append the text in VALUE to the end of the definition contained in VAR. Take 4428 # advantage of any shell optimizations that allow amortized linear growth over 4429 # repeated appends, instead of the typical quadratic growth present in naive 4430 # implementations. 4431 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4432 eval 'as_fn_append () 4433 { 4434 eval $1+=\$2 4435 }' 4436 else 4437 as_fn_append () 4438 { 4439 eval $1=\$$1\$2 4440 } 4441 fi # as_fn_append 4442 4443 # as_fn_arith ARG... 4444 # ------------------ 4445 # Perform arithmetic evaluation on the ARGs, and store the result in the 4446 # global $as_val. Take advantage of shells that can avoid forks. The arguments 4447 # must be portable across $(()) and expr. 4448 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4449 eval 'as_fn_arith () 4450 { 4451 as_val=$(( $* )) 4452 }' 4453 else 4454 as_fn_arith () 4455 { 4456 as_val=`expr "$@" || test $? -eq 1` 4457 } 4458 fi # as_fn_arith 4459 4460 4461 if expr a : '\(a\)' >/dev/null 2>&1 && 4462 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3895 4463 as_expr=expr 3896 4464 else … … 3898 4466 fi 3899 4467 3900 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then4468 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3901 4469 as_basename=basename 3902 4470 else … … 3904 4472 fi 3905 4473 3906 3907 # Name of the executable. 3908 as_me=`$as_basename "$0" || 4474 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4475 as_dirname=dirname 4476 else 4477 as_dirname=false 4478 fi 4479 4480 as_me=`$as_basename -- "$0" || 3909 4481 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3910 4482 X"$0" : 'X\(//\)$' \| \ 3911 X"$0" : 'X\(/\)$' \| \ 3912 . : '\(.\)' 2>/dev/null || 3913 echo X/"$0" | 3914 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3915 /^X\/\(\/\/\)$/{ s//\1/; q; } 3916 /^X\/\(\/\).*/{ s//\1/; q; } 3917 s/.*/./; q'` 3918 3919 3920 # PATH needs CR, and LINENO needs CR and PATH. 4483 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4484 $as_echo X/"$0" | 4485 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4486 s//\1/ 4487 q 4488 } 4489 /^X\/\(\/\/\)$/{ 4490 s//\1/ 4491 q 4492 } 4493 /^X\/\(\/\).*/{ 4494 s//\1/ 4495 q 4496 } 4497 s/.*/./; q'` 4498 3921 4499 # Avoid depending upon Character Ranges. 3922 4500 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 3926 4504 as_cr_alnum=$as_cr_Letters$as_cr_digits 3927 4505 3928 # The user is always right. 3929 if test "${PATH_SEPARATOR+set}" != set; then 3930 echo "#! /bin/sh" >conf$$.sh 3931 echo "exit 0" >>conf$$.sh 3932 chmod +x conf$$.sh 3933 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3934 PATH_SEPARATOR=';' 4506 ECHO_C= ECHO_N= ECHO_T= 4507 case `echo -n x` in #((((( 4508 -n*) 4509 case `echo 'xy\c'` in 4510 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4511 xy) ECHO_C='\c';; 4512 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4513 ECHO_T=' ';; 4514 esac;; 4515 *) 4516 ECHO_N='-n';; 4517 esac 4518 4519 rm -f conf$$ conf$$.exe conf$$.file 4520 if test -d conf$$.dir; then 4521 rm -f conf$$.dir/conf$$.file 4522 else 4523 rm -f conf$$.dir 4524 mkdir conf$$.dir 2>/dev/null 4525 fi 4526 if (echo >conf$$.file) 2>/dev/null; then 4527 if ln -s conf$$.file conf$$ 2>/dev/null; then 4528 as_ln_s='ln -s' 4529 # ... but there are two gotchas: 4530 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4531 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4532 # In both cases, we have to default to `cp -pR'. 4533 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4534 as_ln_s='cp -pR' 4535 elif ln conf$$.file conf$$ 2>/dev/null; then 4536 as_ln_s=ln 3935 4537 else 3936 PATH_SEPARATOR=:4538 as_ln_s='cp -pR' 3937 4539 fi 3938 rm -f conf$$.sh 3939 fi 3940 3941 3942 as_lineno_1=$LINENO 3943 as_lineno_2=$LINENO 3944 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3945 test "x$as_lineno_1" != "x$as_lineno_2" && 3946 test "x$as_lineno_3" = "x$as_lineno_2" || { 3947 # Find who we are. Look in the path if we contain no path at all 3948 # relative or not. 3949 case $0 in 3950 *[\\/]* ) as_myself=$0 ;; 3951 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3952 for as_dir in $PATH 3953 do 3954 IFS=$as_save_IFS 3955 test -z "$as_dir" && as_dir=. 3956 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3957 done 3958 3959 ;; 4540 else 4541 as_ln_s='cp -pR' 4542 fi 4543 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4544 rmdir conf$$.dir 2>/dev/null 4545 4546 4547 # as_fn_mkdir_p 4548 # ------------- 4549 # Create "$as_dir" as a directory, including parents if necessary. 4550 as_fn_mkdir_p () 4551 { 4552 4553 case $as_dir in #( 4554 -*) as_dir=./$as_dir;; 3960 4555 esac 3961 # We did not find ourselves, most probably we were run as `sh COMMAND' 3962 # in which case we are not to be found in the path. 3963 if test "x$as_myself" = x; then 3964 as_myself=$0 3965 fi 3966 if test ! -f "$as_myself"; then 3967 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3968 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3969 { (exit 1); exit 1; }; } 3970 fi 3971 case $CONFIG_SHELL in 3972 '') 3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3974 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3975 do 3976 IFS=$as_save_IFS 3977 test -z "$as_dir" && as_dir=. 3978 for as_base in sh bash ksh sh5; do 3979 case $as_dir in 3980 /*) 3981 if ("$as_dir/$as_base" -c ' 3982 as_lineno_1=$LINENO 3983 as_lineno_2=$LINENO 3984 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3985 test "x$as_lineno_1" != "x$as_lineno_2" && 3986 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3987 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 3988 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 3989 CONFIG_SHELL=$as_dir/$as_base 3990 export CONFIG_SHELL 3991 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3992 fi;; 3993 esac 3994 done 3995 done 3996 ;; 3997 esac 3998 3999 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4000 # uniformly replaced by the line number. The first 'sed' inserts a 4001 # line-number line before each line; the second 'sed' does the real 4002 # work. The second script uses 'N' to pair each line-number line 4003 # with the numbered line, and appends trailing '-' during 4004 # substitution so that $LINENO is not a special case at line end. 4005 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4006 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 4007 sed '=' <$as_myself | 4008 sed ' 4009 N 4010 s,$,-, 4011 : loop 4012 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 4013 t loop 4014 s,-$,, 4015 s,^['$as_cr_digits']*\n,, 4016 ' >$as_me.lineno && 4017 chmod +x $as_me.lineno || 4018 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 4019 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 4020 { (exit 1); exit 1; }; } 4021 4022 # Don't try to exec as it changes $[0], causing all sort of problems 4023 # (the dirname of $[0] is not the place where we might find the 4024 # original and so on. Autoconf is especially sensible to this). 4025 . ./$as_me.lineno 4026 # Exit status is that of the last command. 4027 exit 4028 } 4029 4030 4031 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 4032 *c*,-n*) ECHO_N= ECHO_C=' 4033 ' ECHO_T=' ' ;; 4034 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 4035 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 4036 esac 4037 4038 if expr a : '\(a\)' >/dev/null 2>&1; then 4039 as_expr=expr 4040 else 4041 as_expr=false 4042 fi 4043 4044 rm -f conf$$ conf$$.exe conf$$.file 4045 echo >conf$$.file 4046 if ln -s conf$$.file conf$$ 2>/dev/null; then 4047 # We could just check for DJGPP; but this test a) works b) is more generic 4048 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 4049 if test -f conf$$.exe; then 4050 # Don't use ln at all; we don't have any links 4051 as_ln_s='cp -p' 4052 else 4053 as_ln_s='ln -s' 4054 fi 4055 elif ln conf$$.file conf$$ 2>/dev/null; then 4056 as_ln_s=ln 4057 else 4058 as_ln_s='cp -p' 4059 fi 4060 rm -f conf$$ conf$$.exe conf$$.file 4061 4556 test -d "$as_dir" || eval $as_mkdir_p || { 4557 as_dirs= 4558 while :; do 4559 case $as_dir in #( 4560 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4561 *) as_qdir=$as_dir;; 4562 esac 4563 as_dirs="'$as_qdir' $as_dirs" 4564 as_dir=`$as_dirname -- "$as_dir" || 4565 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4566 X"$as_dir" : 'X\(//\)[^/]' \| \ 4567 X"$as_dir" : 'X\(//\)$' \| \ 4568 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4569 $as_echo X"$as_dir" | 4570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4571 s//\1/ 4572 q 4573 } 4574 /^X\(\/\/\)[^/].*/{ 4575 s//\1/ 4576 q 4577 } 4578 /^X\(\/\/\)$/{ 4579 s//\1/ 4580 q 4581 } 4582 /^X\(\/\).*/{ 4583 s//\1/ 4584 q 4585 } 4586 s/.*/./; q'` 4587 test -d "$as_dir" && break 4588 done 4589 test -z "$as_dirs" || eval "mkdir $as_dirs" 4590 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4591 4592 4593 } # as_fn_mkdir_p 4062 4594 if mkdir -p . 2>/dev/null; then 4063 as_mkdir_p= :4595 as_mkdir_p='mkdir -p "$as_dir"' 4064 4596 else 4065 4597 test -d ./-p && rmdir ./-p … … 4067 4599 fi 4068 4600 4069 as_executable_p="test -f" 4601 4602 # as_fn_executable_p FILE 4603 # ----------------------- 4604 # Test if FILE is an executable regular file. 4605 as_fn_executable_p () 4606 { 4607 test -f "$1" && test -x "$1" 4608 } # as_fn_executable_p 4609 as_test_x='test -x' 4610 as_executable_p=as_fn_executable_p 4070 4611 4071 4612 # Sed expression to map a string onto a valid CPP name. … … 4076 4617 4077 4618 4078 # IFS4079 # We need space, tab and new line, in precisely that order.4080 as_nl='4081 '4082 IFS=" $as_nl"4083 4084 # CDPATH.4085 $as_unset CDPATH4086 4087 4619 exec 6>&1 4088 4089 # Open the log real soon, to keep \$[0] and so on meaningful, and to 4620 ## ----------------------------------- ## 4621 ## Main body of $CONFIG_STATUS script. ## 4622 ## ----------------------------------- ## 4623 _ASEOF 4624 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4625 4626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4627 # Save the log message, to keep $0 and so on meaningful, and to 4090 4628 # report actual input values of CONFIG_FILES etc. instead of their 4091 # values after options handling. Logging --version etc. is OK. 4629 # values after options handling. 4630 ac_log=" 4631 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was 4632 generated by GNU Autoconf 2.69. Invocation command line was 4633 4634 CONFIG_FILES = $CONFIG_FILES 4635 CONFIG_HEADERS = $CONFIG_HEADERS 4636 CONFIG_LINKS = $CONFIG_LINKS 4637 CONFIG_COMMANDS = $CONFIG_COMMANDS 4638 $ $0 $@ 4639 4640 on `(hostname || uname -n) 2>/dev/null | sed 1q` 4641 " 4642 4643 _ACEOF 4644 4645 case $ac_config_files in *" 4646 "*) set x $ac_config_files; shift; ac_config_files=$*;; 4647 esac 4648 4649 case $ac_config_headers in *" 4650 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 4651 esac 4652 4653 4654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4655 # Files that config.status was made for. 4656 config_files="$ac_config_files" 4657 config_headers="$ac_config_headers" 4658 4659 _ACEOF 4660 4661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4662 ac_cs_usage="\ 4663 \`$as_me' instantiates files and other configuration actions 4664 from templates according to the current configuration. Unless the files 4665 and actions are specified as TAGs, all are instantiated by default. 4666 4667 Usage: $0 [OPTION]... [TAG]... 4668 4669 -h, --help print this help, then exit 4670 -V, --version print version number and configuration settings, then exit 4671 --config print configuration, then exit 4672 -q, --quiet, --silent 4673 do not print progress messages 4674 -d, --debug don't remove temporary files 4675 --recheck update $as_me by reconfiguring in the same conditions 4676 --file=FILE[:TEMPLATE] 4677 instantiate the configuration file FILE 4678 --header=FILE[:TEMPLATE] 4679 instantiate the configuration header FILE 4680 4681 Configuration files: 4682 $config_files 4683 4684 Configuration headers: 4685 $config_headers 4686 4687 Report bugs to <BUG-REPORT-ADDRESS>." 4688 4689 _ACEOF 4690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4691 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4692 ac_cs_version="\\ 4693 FULL-PACKAGE-NAME config.status VERSION 4694 configured by $0, generated by GNU Autoconf 2.69, 4695 with options \\"\$ac_cs_config\\" 4696 4697 Copyright (C) 2012 Free Software Foundation, Inc. 4698 This config.status script is free software; the Free Software Foundation 4699 gives unlimited permission to copy, distribute and modify it." 4700 4701 ac_pwd='$ac_pwd' 4702 srcdir='$srcdir' 4703 INSTALL='$INSTALL' 4704 test -n "\$AWK" || AWK=awk 4705 _ACEOF 4706 4707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4708 # The default lists apply if the user does not specify any file. 4709 ac_need_defaults=: 4710 while test $# != 0 4711 do 4712 case $1 in 4713 --*=?*) 4714 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4715 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4716 ac_shift=: 4717 ;; 4718 --*=) 4719 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4720 ac_optarg= 4721 ac_shift=: 4722 ;; 4723 *) 4724 ac_option=$1 4725 ac_optarg=$2 4726 ac_shift=shift 4727 ;; 4728 esac 4729 4730 case $ac_option in 4731 # Handling of the options. 4732 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4733 ac_cs_recheck=: ;; 4734 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4735 $as_echo "$ac_cs_version"; exit ;; 4736 --config | --confi | --conf | --con | --co | --c ) 4737 $as_echo "$ac_cs_config"; exit ;; 4738 --debug | --debu | --deb | --de | --d | -d ) 4739 debug=: ;; 4740 --file | --fil | --fi | --f ) 4741 $ac_shift 4742 case $ac_optarg in 4743 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4744 '') as_fn_error $? "missing file argument" ;; 4745 esac 4746 as_fn_append CONFIG_FILES " '$ac_optarg'" 4747 ac_need_defaults=false;; 4748 --header | --heade | --head | --hea ) 4749 $ac_shift 4750 case $ac_optarg in 4751 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4752 esac 4753 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 4754 ac_need_defaults=false;; 4755 --he | --h) 4756 # Conflict between --help and --header 4757 as_fn_error $? "ambiguous option: \`$1' 4758 Try \`$0 --help' for more information.";; 4759 --help | --hel | -h ) 4760 $as_echo "$ac_cs_usage"; exit ;; 4761 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4762 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4763 ac_cs_silent=: ;; 4764 4765 # This is an error. 4766 -*) as_fn_error $? "unrecognized option: \`$1' 4767 Try \`$0 --help' for more information." ;; 4768 4769 *) as_fn_append ac_config_targets " $1" 4770 ac_need_defaults=false ;; 4771 4772 esac 4773 shift 4774 done 4775 4776 ac_configure_extra_args= 4777 4778 if $ac_cs_silent; then 4779 exec 6>/dev/null 4780 ac_configure_extra_args="$ac_configure_extra_args --silent" 4781 fi 4782 4783 _ACEOF 4784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4785 if \$ac_cs_recheck; then 4786 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4787 shift 4788 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4789 CONFIG_SHELL='$SHELL' 4790 export CONFIG_SHELL 4791 exec "\$@" 4792 fi 4793 4794 _ACEOF 4795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4092 4796 exec 5>>config.log 4093 4797 { … … 4096 4800 ## Running $as_me. ## 4097 4801 _ASBOX 4802 $as_echo "$ac_log" 4098 4803 } >&5 4099 cat >&5 <<_CSEOF 4100 4101 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was 4102 generated by GNU Autoconf 2.59. Invocation command line was 4103 4104 CONFIG_FILES = $CONFIG_FILES 4105 CONFIG_HEADERS = $CONFIG_HEADERS 4106 CONFIG_LINKS = $CONFIG_LINKS 4107 CONFIG_COMMANDS = $CONFIG_COMMANDS 4108 $ $0 $@ 4109 4110 _CSEOF 4111 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 4112 echo >&5 4113 _ACEOF 4114 4115 # Files that config.status was made for. 4116 if test -n "$ac_config_files"; then 4117 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 4118 fi 4119 4120 if test -n "$ac_config_headers"; then 4121 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 4122 fi 4123 4124 if test -n "$ac_config_links"; then 4125 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 4126 fi 4127 4128 if test -n "$ac_config_commands"; then 4129 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 4130 fi 4131 4132 cat >>$CONFIG_STATUS <<\_ACEOF 4133 4134 ac_cs_usage="\ 4135 \`$as_me' instantiates files from templates according to the 4136 current configuration. 4137 4138 Usage: $0 [OPTIONS] [FILE]... 4139 4140 -h, --help print this help, then exit 4141 -V, --version print version number, then exit 4142 -q, --quiet do not print progress messages 4143 -d, --debug don't remove temporary files 4144 --recheck update $as_me by reconfiguring in the same conditions 4145 --file=FILE[:TEMPLATE] 4146 instantiate the configuration file FILE 4147 --header=FILE[:TEMPLATE] 4148 instantiate the configuration header FILE 4149 4150 Configuration files: 4151 $config_files 4152 4153 Configuration headers: 4154 $config_headers 4155 4156 Report bugs to <[email protected]>." 4157 _ACEOF 4158 4159 cat >>$CONFIG_STATUS <<_ACEOF 4160 ac_cs_version="\\ 4161 FULL-PACKAGE-NAME config.status VERSION 4162 configured by $0, generated by GNU Autoconf 2.59, 4163 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4164 4165 Copyright (C) 2003 Free Software Foundation, Inc. 4166 This config.status script is free software; the Free Software Foundation 4167 gives unlimited permission to copy, distribute and modify it." 4168 srcdir=$srcdir 4169 INSTALL="$INSTALL" 4170 _ACEOF 4171 4172 cat >>$CONFIG_STATUS <<\_ACEOF 4173 # If no file are specified by the user, then we need to provide default 4174 # value. By we need to know if files were specified by the user. 4175 ac_need_defaults=: 4176 while test $# != 0 4177 do 4178 case $1 in 4179 --*=*) 4180 ac_option=`expr "x$1" : 'x\([^=]*\)='` 4181 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 4182 ac_shift=: 4183 ;; 4184 -*) 4185 ac_option=$1 4186 ac_optarg=$2 4187 ac_shift=shift 4188 ;; 4189 *) # This is not an option, so the user has probably given explicit 4190 # arguments. 4191 ac_option=$1 4192 ac_need_defaults=false;; 4193 esac 4194 4195 case $ac_option in 4196 # Handling of the options. 4197 _ACEOF 4198 cat >>$CONFIG_STATUS <<\_ACEOF 4199 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4200 ac_cs_recheck=: ;; 4201 --version | --vers* | -V ) 4202 echo "$ac_cs_version"; exit 0 ;; 4203 --he | --h) 4204 # Conflict between --help and --header 4205 { { echo "$as_me:$LINENO: error: ambiguous option: $1 4206 Try \`$0 --help' for more information." >&5 4207 echo "$as_me: error: ambiguous option: $1 4208 Try \`$0 --help' for more information." >&2;} 4209 { (exit 1); exit 1; }; };; 4210 --help | --hel | -h ) 4211 echo "$ac_cs_usage"; exit 0 ;; 4212 --debug | --d* | -d ) 4213 debug=: ;; 4214 --file | --fil | --fi | --f ) 4215 $ac_shift 4216 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4217 ac_need_defaults=false;; 4218 --header | --heade | --head | --hea ) 4219 $ac_shift 4220 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4221 ac_need_defaults=false;; 4222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4223 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4224 ac_cs_silent=: ;; 4225 4226 # This is an error. 4227 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4228 Try \`$0 --help' for more information." >&5 4229 echo "$as_me: error: unrecognized option: $1 4230 Try \`$0 --help' for more information." >&2;} 4231 { (exit 1); exit 1; }; } ;; 4232 4233 *) ac_config_targets="$ac_config_targets $1" ;; 4234 4235 esac 4236 shift 4237 done 4238 4239 ac_configure_extra_args= 4240 4241 if $ac_cs_silent; then 4242 exec 6>/dev/null 4243 ac_configure_extra_args="$ac_configure_extra_args --silent" 4244 fi 4245 4246 _ACEOF 4247 cat >>$CONFIG_STATUS <<_ACEOF 4248 if \$ac_cs_recheck; then 4249 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4250 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4251 fi 4252 4253 _ACEOF 4254 4255 4256 4257 4258 4259 cat >>$CONFIG_STATUS <<\_ACEOF 4804 4805 _ACEOF 4806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4807 _ACEOF 4808 4809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4810 4811 # Handling of arguments. 4260 4812 for ac_config_target in $ac_config_targets 4261 4813 do 4262 case "$ac_config_target" in 4263 # Handling of arguments. 4264 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4265 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4266 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4267 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4268 { (exit 1); exit 1; }; };; 4814 case $ac_config_target in 4815 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4816 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4817 4818 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4269 4819 esac 4270 4820 done 4821 4271 4822 4272 4823 # If the user did not use the arguments to specify the items to instantiate, … … 4280 4831 4281 4832 # Have a temporary directory for convenience. Make it in the build tree 4282 # simply because there is no reason to putit here, and in addition,4833 # simply because there is no reason against having it here, and in addition, 4283 4834 # creating and moving files from /tmp can sometimes cause problems. 4284 # Create a temporary directory, and hook for its removal unless debugging. 4835 # Hook for its removal unless debugging. 4836 # Note that there is a small window in which the directory will not be cleaned: 4837 # after its creation but before its name has been assigned to `$tmp'. 4285 4838 $debug || 4286 4839 { 4287 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 4288 trap '{ (exit 1); exit 1; }' 1 2 13 15 4840 tmp= ac_tmp= 4841 trap 'exit_status=$? 4842 : "${ac_tmp:=$tmp}" 4843 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4844 ' 0 4845 trap 'as_fn_exit 1' 1 2 13 15 4289 4846 } 4290 4291 4847 # Create a (secure) tmp directory for tmp files. 4292 4848 4293 4849 { 4294 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&4295 test - n "$tmp" && test -d "$tmp"4850 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4851 test -d "$tmp" 4296 4852 } || 4297 4853 { 4298 tmp=./confstat$$-$RANDOM 4299 (umask 077 && mkdir $tmp) 4300 } || 4854 tmp=./conf$$-$RANDOM 4855 (umask 077 && mkdir "$tmp") 4856 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4857 ac_tmp=$tmp 4858 4859 # Set up the scripts for CONFIG_FILES section. 4860 # No need to generate them if there are no CONFIG_FILES. 4861 # This happens for instance with `./config.status config.h'. 4862 if test -n "$CONFIG_FILES"; then 4863 4864 4865 ac_cr=`echo X | tr X '\015'` 4866 # On cygwin, bash can eat \r inside `` if the user requested igncr. 4867 # But we know of no other shell where ac_cr would be empty at this 4868 # point, so we can use a bashism as a fallback. 4869 if test "x$ac_cr" = x; then 4870 eval ac_cr=\$\'\\r\' 4871 fi 4872 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4873 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4874 ac_cs_awk_cr='\\r' 4875 else 4876 ac_cs_awk_cr=$ac_cr 4877 fi 4878 4879 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4880 _ACEOF 4881 4882 4301 4883 { 4302 echo "$me: cannot create a temporary directory in ." >&2 4303 { (exit 1); exit 1; } 4884 echo "cat >conf$$subs.awk <<_ACEOF" && 4885 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4886 echo "_ACEOF" 4887 } >conf$$subs.sh || 4888 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4889 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4890 ac_delim='%!_!# ' 4891 for ac_last_try in false false false false false :; do 4892 . ./conf$$subs.sh || 4893 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4894 4895 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4896 if test $ac_delim_n = $ac_delim_num; then 4897 break 4898 elif $ac_last_try; then 4899 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4900 else 4901 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4902 fi 4903 done 4904 rm -f conf$$subs.sh 4905 4906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4907 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4908 _ACEOF 4909 sed -n ' 4910 h 4911 s/^/S["/; s/!.*/"]=/ 4912 p 4913 g 4914 s/^[^!]*!// 4915 :repl 4916 t repl 4917 s/'"$ac_delim"'$// 4918 t delim 4919 :nl 4920 h 4921 s/\(.\{148\}\)..*/\1/ 4922 t more1 4923 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4924 p 4925 n 4926 b repl 4927 :more1 4928 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4929 p 4930 g 4931 s/.\{148\}// 4932 t nl 4933 :delim 4934 h 4935 s/\(.\{148\}\)..*/\1/ 4936 t more2 4937 s/["\\]/\\&/g; s/^/"/; s/$/"/ 4938 p 4939 b 4940 :more2 4941 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4942 p 4943 g 4944 s/.\{148\}// 4945 t delim 4946 ' <conf$$subs.awk | sed ' 4947 /^[^""]/{ 4948 N 4949 s/\n// 4304 4950 } 4305 4306 _ACEOF 4307 4308 cat >>$CONFIG_STATUS <<_ACEOF 4309 4310 # 4311 # CONFIG_FILES section. 4312 # 4313 4314 # No need to generate the scripts if there are no CONFIG_FILES. 4315 # This happens for instance when ./config.status config.h 4316 if test -n "\$CONFIG_FILES"; then 4317 # Protect against being on the right side of a sed subst in config.status. 4318 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 4319 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 4320 s,@SHELL@,$SHELL,;t t 4321 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 4322 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 4323 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 4324 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 4325 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 4326 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 4327 s,@exec_prefix@,$exec_prefix,;t t 4328 s,@prefix@,$prefix,;t t 4329 s,@program_transform_name@,$program_transform_name,;t t 4330 s,@bindir@,$bindir,;t t 4331 s,@sbindir@,$sbindir,;t t 4332 s,@libexecdir@,$libexecdir,;t t 4333 s,@datadir@,$datadir,;t t 4334 s,@sysconfdir@,$sysconfdir,;t t 4335 s,@sharedstatedir@,$sharedstatedir,;t t 4336 s,@localstatedir@,$localstatedir,;t t 4337 s,@libdir@,$libdir,;t t 4338 s,@includedir@,$includedir,;t t 4339 s,@oldincludedir@,$oldincludedir,;t t 4340 s,@infodir@,$infodir,;t t 4341 s,@mandir@,$mandir,;t t 4342 s,@build_alias@,$build_alias,;t t 4343 s,@host_alias@,$host_alias,;t t 4344 s,@target_alias@,$target_alias,;t t 4345 s,@DEFS@,$DEFS,;t t 4346 s,@ECHO_C@,$ECHO_C,;t t 4347 s,@ECHO_N@,$ECHO_N,;t t 4348 s,@ECHO_T@,$ECHO_T,;t t 4349 s,@LIBS@,$LIBS,;t t 4350 s,@CXX@,$CXX,;t t 4351 s,@CXXFLAGS@,$CXXFLAGS,;t t 4352 s,@LDFLAGS@,$LDFLAGS,;t t 4353 s,@CPPFLAGS@,$CPPFLAGS,;t t 4354 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 4355 s,@EXEEXT@,$EXEEXT,;t t 4356 s,@OBJEXT@,$OBJEXT,;t t 4357 s,@CC@,$CC,;t t 4358 s,@CFLAGS@,$CFLAGS,;t t 4359 s,@ac_ct_CC@,$ac_ct_CC,;t t 4360 s,@CPP@,$CPP,;t t 4361 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 4362 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 4363 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 4364 s,@EGREP@,$EGREP,;t t 4365 s,@LIBOBJS@,$LIBOBJS,;t t 4366 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 4367 CEOF 4368 4369 _ACEOF 4370 4371 cat >>$CONFIG_STATUS <<\_ACEOF 4372 # Split the substitutions into bite-sized pieces for seds with 4373 # small command number limits, like on Digital OSF/1 and HP-UX. 4374 ac_max_sed_lines=48 4375 ac_sed_frag=1 # Number of current file. 4376 ac_beg=1 # First line for current file. 4377 ac_end=$ac_max_sed_lines # Line after last line for current file. 4378 ac_more_lines=: 4379 ac_sed_cmds= 4380 while $ac_more_lines; do 4381 if test $ac_beg -gt 1; then 4382 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4383 else 4384 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4951 ' >>$CONFIG_STATUS || ac_write_fail=1 4952 rm -f conf$$subs.awk 4953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4954 _ACAWK 4955 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4956 for (key in S) S_is_set[key] = 1 4957 FS = "" 4958 4959 } 4960 { 4961 line = $ 0 4962 nfields = split(line, field, "@") 4963 substed = 0 4964 len = length(field[1]) 4965 for (i = 2; i < nfields; i++) { 4966 key = field[i] 4967 keylen = length(key) 4968 if (S_is_set[key]) { 4969 value = S[key] 4970 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4971 len += length(value) + length(field[++i]) 4972 substed = 1 4973 } else 4974 len += 1 + keylen 4975 } 4976 4977 print line 4978 } 4979 4980 _ACAWK 4981 _ACEOF 4982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4983 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4984 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4985 else 4986 cat 4987 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4988 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4989 _ACEOF 4990 4991 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4992 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4993 # trailing colons and then remove the whole line if VPATH becomes empty 4994 # (actually we leave an empty line to preserve line numbers). 4995 if test "x$srcdir" = x.; then 4996 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4997 h 4998 s/// 4999 s/^/:/ 5000 s/[ ]*$/:/ 5001 s/:\$(srcdir):/:/g 5002 s/:\${srcdir}:/:/g 5003 s/:@srcdir@:/:/g 5004 s/^:*// 5005 s/:*$// 5006 x 5007 s/\(=[ ]*\).*/\1/ 5008 G 5009 s/\n// 5010 s/^[^=]*=[ ]*$// 5011 }' 5012 fi 5013 5014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5015 fi # test -n "$CONFIG_FILES" 5016 5017 # Set up the scripts for CONFIG_HEADERS section. 5018 # No need to generate them if there are no CONFIG_HEADERS. 5019 # This happens for instance with `./config.status Makefile'. 5020 if test -n "$CONFIG_HEADERS"; then 5021 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 5022 BEGIN { 5023 _ACEOF 5024 5025 # Transform confdefs.h into an awk script `defines.awk', embedded as 5026 # here-document in config.status, that substitutes the proper values into 5027 # config.h.in to produce config.h. 5028 5029 # Create a delimiter string that does not exist in confdefs.h, to ease 5030 # handling of long lines. 5031 ac_delim='%!_!# ' 5032 for ac_last_try in false false :; do 5033 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 5034 if test -z "$ac_tt"; then 5035 break 5036 elif $ac_last_try; then 5037 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 5038 else 5039 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5040 fi 5041 done 5042 5043 # For the awk script, D is an array of macro values keyed by name, 5044 # likewise P contains macro parameters if any. Preserve backslash 5045 # newline sequences. 5046 5047 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5048 sed -n ' 5049 s/.\{148\}/&'"$ac_delim"'/g 5050 t rset 5051 :rset 5052 s/^[ ]*#[ ]*define[ ][ ]*/ / 5053 t def 5054 d 5055 :def 5056 s/\\$// 5057 t bsnl 5058 s/["\\]/\\&/g 5059 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5060 D["\1"]=" \3"/p 5061 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 5062 d 5063 :bsnl 5064 s/["\\]/\\&/g 5065 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5066 D["\1"]=" \3\\\\\\n"\\/p 5067 t cont 5068 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 5069 t cont 5070 d 5071 :cont 5072 n 5073 s/.\{148\}/&'"$ac_delim"'/g 5074 t clear 5075 :clear 5076 s/\\$// 5077 t bsnlc 5078 s/["\\]/\\&/g; s/^/"/; s/$/"/p 5079 d 5080 :bsnlc 5081 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 5082 b cont 5083 ' <confdefs.h | sed ' 5084 s/'"$ac_delim"'/"\\\ 5085 "/g' >>$CONFIG_STATUS || ac_write_fail=1 5086 5087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5088 for (key in D) D_is_set[key] = 1 5089 FS = "" 5090 } 5091 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 5092 line = \$ 0 5093 split(line, arg, " ") 5094 if (arg[1] == "#") { 5095 defundef = arg[2] 5096 mac1 = arg[3] 5097 } else { 5098 defundef = substr(arg[1], 2) 5099 mac1 = arg[2] 5100 } 5101 split(mac1, mac2, "(") #) 5102 macro = mac2[1] 5103 prefix = substr(line, 1, index(line, defundef) - 1) 5104 if (D_is_set[macro]) { 5105 # Preserve the white space surrounding the "#". 5106 print prefix "define", macro P[macro] D[macro] 5107 next 5108 } else { 5109 # Replace #undef with comments. This is necessary, for example, 5110 # in the case of _POSIX_SOURCE, which is predefined and required 5111 # on some systems where configure will not decide to define it. 5112 if (defundef == "undef") { 5113 print "/*", prefix defundef, macro, "*/" 5114 next 5115 } 5116 } 5117 } 5118 { print } 5119 _ACAWK 5120 _ACEOF 5121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5122 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 5123 fi # test -n "$CONFIG_HEADERS" 5124 5125 5126 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 5127 shift 5128 for ac_tag 5129 do 5130 case $ac_tag in 5131 :[FHLC]) ac_mode=$ac_tag; continue;; 5132 esac 5133 case $ac_mode$ac_tag in 5134 :[FHL]*:*);; 5135 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5136 :[FH]-) ac_tag=-:-;; 5137 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5138 esac 5139 ac_save_IFS=$IFS 5140 IFS=: 5141 set x $ac_tag 5142 IFS=$ac_save_IFS 5143 shift 5144 ac_file=$1 5145 shift 5146 5147 case $ac_mode in 5148 :L) ac_source=$1;; 5149 :[FH]) 5150 ac_file_inputs= 5151 for ac_f 5152 do 5153 case $ac_f in 5154 -) ac_f="$ac_tmp/stdin";; 5155 *) # Look for the file first in the build tree, then in the source tree 5156 # (if the path is not absolute). The absolute path cannot be DOS-style, 5157 # because $ac_f cannot contain `:'. 5158 test -f "$ac_f" || 5159 case $ac_f in 5160 [\\/$]*) false;; 5161 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5162 esac || 5163 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5164 esac 5165 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5166 as_fn_append ac_file_inputs " '$ac_f'" 5167 done 5168 5169 # Let's still pretend it is `configure' which instantiates (i.e., don't 5170 # use $as_me), people would be surprised to read: 5171 # /* config.h. Generated by config.status. */ 5172 configure_input='Generated from '` 5173 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5174 `' by configure.' 5175 if test x"$ac_file" != x-; then 5176 configure_input="$ac_file. $configure_input" 5177 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5178 $as_echo "$as_me: creating $ac_file" >&6;} 4385 5179 fi 4386 if test ! -s $tmp/subs.frag; then 4387 ac_more_lines=false 4388 else 4389 # The purpose of the label and of the branching condition is to 4390 # speed up the sed processing (if there are no `@' at all, there 4391 # is no need to browse any of the substitutions). 4392 # These are the two extra sed commands mentioned above. 4393 (echo ':t 4394 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 4395 if test -z "$ac_sed_cmds"; then 4396 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 4397 else 4398 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 4399 fi 4400 ac_sed_frag=`expr $ac_sed_frag + 1` 4401 ac_beg=$ac_end 4402 ac_end=`expr $ac_end + $ac_max_sed_lines` 4403 fi 4404 done 4405 if test -z "$ac_sed_cmds"; then 4406 ac_sed_cmds=cat 4407 fi 4408 fi # test -n "$CONFIG_FILES" 4409 4410 _ACEOF 4411 cat >>$CONFIG_STATUS <<\_ACEOF 4412 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 4413 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4414 case $ac_file in 4415 - | *:- | *:-:* ) # input from stdin 4416 cat >$tmp/stdin 4417 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4418 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4419 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4420 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4421 * ) ac_file_in=$ac_file.in ;; 5180 # Neutralize special characters interpreted by sed in replacement strings. 5181 case $configure_input in #( 5182 *\&* | *\|* | *\\* ) 5183 ac_sed_conf_input=`$as_echo "$configure_input" | 5184 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5185 *) ac_sed_conf_input=$configure_input;; 5186 esac 5187 5188 case $ac_tag in 5189 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5190 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5191 esac 5192 ;; 4422 5193 esac 4423 5194 4424 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 4425 ac_dir=`(dirname "$ac_file") 2>/dev/null || 5195 ac_dir=`$as_dirname -- "$ac_file" || 4426 5196 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4427 5197 X"$ac_file" : 'X\(//\)[^/]' \| \ 4428 5198 X"$ac_file" : 'X\(//\)$' \| \ 4429 X"$ac_file" : 'X\(/\)' \| \ 4430 . : '\(.\)' 2>/dev/null || 4431 echo X"$ac_file" | 4432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4433 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4434 /^X\(\/\/\)$/{ s//\1/; q; } 4435 /^X\(\/\).*/{ s//\1/; q; } 4436 s/.*/./; q'` 4437 { if $as_mkdir_p; then 4438 mkdir -p "$ac_dir" 4439 else 4440 as_dir="$ac_dir" 4441 as_dirs= 4442 while test ! -d "$as_dir"; do 4443 as_dirs="$as_dir $as_dirs" 4444 as_dir=`(dirname "$as_dir") 2>/dev/null || 4445 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4446 X"$as_dir" : 'X\(//\)[^/]' \| \ 4447 X"$as_dir" : 'X\(//\)$' \| \ 4448 X"$as_dir" : 'X\(/\)' \| \ 4449 . : '\(.\)' 2>/dev/null || 4450 echo X"$as_dir" | 4451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4452 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4453 /^X\(\/\/\)$/{ s//\1/; q; } 4454 /^X\(\/\).*/{ s//\1/; q; } 4455 s/.*/./; q'` 4456 done 4457 test ! -n "$as_dirs" || mkdir $as_dirs 4458 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4459 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4460 { (exit 1); exit 1; }; }; } 4461 5199 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5200 $as_echo X"$ac_file" | 5201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5202 s//\1/ 5203 q 5204 } 5205 /^X\(\/\/\)[^/].*/{ 5206 s//\1/ 5207 q 5208 } 5209 /^X\(\/\/\)$/{ 5210 s//\1/ 5211 q 5212 } 5213 /^X\(\/\).*/{ 5214 s//\1/ 5215 q 5216 } 5217 s/.*/./; q'` 5218 as_dir="$ac_dir"; as_fn_mkdir_p 4462 5219 ac_builddir=. 4463 5220 4464 if test "$ac_dir" != .; then 4465 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4466 # A "../" for each directory in $ac_dir_suffix. 4467 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4468 else 4469 ac_dir_suffix= ac_top_builddir= 4470 fi 5221 case "$ac_dir" in 5222 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5223 *) 5224 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5225 # A ".." for each directory in $ac_dir_suffix. 5226 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5227 case $ac_top_builddir_sub in 5228 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5229 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5230 esac ;; 5231 esac 5232 ac_abs_top_builddir=$ac_pwd 5233 ac_abs_builddir=$ac_pwd$ac_dir_suffix 5234 # for backward compatibility: 5235 ac_top_builddir=$ac_top_build_prefix 4471 5236 4472 5237 case $srcdir in 4473 .) # No --srcdir option.We are building in place.5238 .) # We are building in place. 4474 5239 ac_srcdir=. 4475 if test -z "$ac_top_builddir"; then 4476 ac_top_srcdir=. 4477 else 4478 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4479 fi ;; 4480 [\\/]* | ?:[\\/]* ) # Absolute path. 5240 ac_top_srcdir=$ac_top_builddir_sub 5241 ac_abs_top_srcdir=$ac_pwd ;; 5242 [\\/]* | ?:[\\/]* ) # Absolute name. 4481 5243 ac_srcdir=$srcdir$ac_dir_suffix; 4482 ac_top_srcdir=$srcdir ;; 4483 *) # Relative path. 4484 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4485 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5244 ac_top_srcdir=$srcdir 5245 ac_abs_top_srcdir=$srcdir ;; 5246 *) # Relative name. 5247 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5248 ac_top_srcdir=$ac_top_build_prefix$srcdir 5249 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4486 5250 esac 4487 4488 # Do not use `cd foo && pwd` to compute absolute paths, because 4489 # the directories may not exist. 4490 case `pwd` in 4491 .) ac_abs_builddir="$ac_dir";; 4492 *) 4493 case "$ac_dir" in 4494 .) ac_abs_builddir=`pwd`;; 4495 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 4496 *) ac_abs_builddir=`pwd`/"$ac_dir";; 4497 esac;; 4498 esac 4499 case $ac_abs_builddir in 4500 .) ac_abs_top_builddir=${ac_top_builddir}.;; 4501 *) 4502 case ${ac_top_builddir}. in 4503 .) ac_abs_top_builddir=$ac_abs_builddir;; 4504 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 4505 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 4506 esac;; 4507 esac 4508 case $ac_abs_builddir in 4509 .) ac_abs_srcdir=$ac_srcdir;; 4510 *) 4511 case $ac_srcdir in 4512 .) ac_abs_srcdir=$ac_abs_builddir;; 4513 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 4514 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 4515 esac;; 4516 esac 4517 case $ac_abs_builddir in 4518 .) ac_abs_top_srcdir=$ac_top_srcdir;; 4519 *) 4520 case $ac_top_srcdir in 4521 .) ac_abs_top_srcdir=$ac_abs_builddir;; 4522 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 4523 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 4524 esac;; 4525 esac 4526 5251 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5252 5253 5254 case $ac_mode in 5255 :F) 5256 # 5257 # CONFIG_FILE 5258 # 4527 5259 4528 5260 case $INSTALL in 4529 5261 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4530 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;5262 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4531 5263 esac 4532 4533 if test x"$ac_file" != x-; then 4534 { echo "$as_me:$LINENO: creating $ac_file" >&5 4535 echo "$as_me: creating $ac_file" >&6;} 4536 rm -f "$ac_file" 4537 fi 4538 # Let's still pretend it is `configure' which instantiates (i.e., don't 4539 # use $as_me), people would be surprised to read: 4540 # /* config.h. Generated by config.status. */ 4541 if test x"$ac_file" = x-; then 4542 configure_input= 4543 else 4544 configure_input="$ac_file. " 4545 fi 4546 configure_input=$configure_input"Generated from `echo $ac_file_in | 4547 sed 's,.*/,,'` by configure." 4548 4549 # First look for the input files in the build tree, otherwise in the 4550 # src tree. 4551 ac_file_inputs=`IFS=: 4552 for f in $ac_file_in; do 4553 case $f in 4554 -) echo $tmp/stdin ;; 4555 [\\/$]*) 4556 # Absolute (can't be DOS-style, as IFS=:) 4557 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4558 echo "$as_me: error: cannot find input file: $f" >&2;} 4559 { (exit 1); exit 1; }; } 4560 echo "$f";; 4561 *) # Relative 4562 if test -f "$f"; then 4563 # Build tree 4564 echo "$f" 4565 elif test -f "$srcdir/$f"; then 4566 # Source tree 4567 echo "$srcdir/$f" 4568 else 4569 # /dev/null tree 4570 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4571 echo "$as_me: error: cannot find input file: $f" >&2;} 4572 { (exit 1); exit 1; }; } 4573 fi;; 4574 esac 4575 done` || { (exit 1); exit 1; } 4576 _ACEOF 4577 cat >>$CONFIG_STATUS <<_ACEOF 4578 sed "$ac_vpsub 5264 _ACEOF 5265 5266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5267 # If the template does not know about datarootdir, expand it. 5268 # FIXME: This hack should be removed a few years after 2.60. 5269 ac_datarootdir_hack=; ac_datarootdir_seen= 5270 ac_sed_dataroot=' 5271 /datarootdir/ { 5272 p 5273 q 5274 } 5275 /@datadir@/p 5276 /@docdir@/p 5277 /@infodir@/p 5278 /@localedir@/p 5279 /@mandir@/p' 5280 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5281 *datarootdir*) ac_datarootdir_seen=yes;; 5282 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5284 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5285 _ACEOF 5286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5287 ac_datarootdir_hack=' 5288 s&@datadir@&$datadir&g 5289 s&@docdir@&$docdir&g 5290 s&@infodir@&$infodir&g 5291 s&@localedir@&$localedir&g 5292 s&@mandir@&$mandir&g 5293 s&\\\${datarootdir}&$datarootdir&g' ;; 5294 esac 5295 _ACEOF 5296 5297 # Neutralize VPATH when `$srcdir' = `.'. 5298 # Shell code in configure.ac might set extrasub. 5299 # FIXME: do we really want to maintain this feature? 5300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5301 ac_sed_extra="$ac_vpsub 4579 5302 $extrasub 4580 5303 _ACEOF 4581 cat >>$CONFIG_STATUS <<\_ACEOF 5304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4582 5305 :t 4583 5306 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4584 s,@configure_input@,$configure_input,;t t 4585 s,@srcdir@,$ac_srcdir,;t t 4586 s,@abs_srcdir@,$ac_abs_srcdir,;t t 4587 s,@top_srcdir@,$ac_top_srcdir,;t t 4588 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 4589 s,@builddir@,$ac_builddir,;t t 4590 s,@abs_builddir@,$ac_abs_builddir,;t t 4591 s,@top_builddir@,$ac_top_builddir,;t t 4592 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 4593 s,@INSTALL@,$ac_INSTALL,;t t 4594 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4595 rm -f $tmp/stdin 5307 s|@configure_input@|$ac_sed_conf_input|;t t 5308 s&@top_builddir@&$ac_top_builddir_sub&;t t 5309 s&@top_build_prefix@&$ac_top_build_prefix&;t t 5310 s&@srcdir@&$ac_srcdir&;t t 5311 s&@abs_srcdir@&$ac_abs_srcdir&;t t 5312 s&@top_srcdir@&$ac_top_srcdir&;t t 5313 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5314 s&@builddir@&$ac_builddir&;t t 5315 s&@abs_builddir@&$ac_abs_builddir&;t t 5316 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5317 s&@INSTALL@&$ac_INSTALL&;t t 5318 $ac_datarootdir_hack 5319 " 5320 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5321 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5322 5323 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5324 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5325 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5326 "$ac_tmp/out"`; test -z "$ac_out"; } && 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5328 which seems to be undefined. Please make sure it is defined" >&5 5329 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5330 which seems to be undefined. Please make sure it is defined" >&2;} 5331 5332 rm -f "$ac_tmp/stdin" 5333 case $ac_file in 5334 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5335 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5336 esac \ 5337 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5338 ;; 5339 :H) 5340 # 5341 # CONFIG_HEADER 5342 # 4596 5343 if test x"$ac_file" != x-; then 4597 mv $tmp/out $ac_file 4598 else 4599 cat $tmp/out 4600 rm -f $tmp/out 4601 fi 4602 4603 done 4604 _ACEOF 4605 cat >>$CONFIG_STATUS <<\_ACEOF 4606 4607 # 4608 # CONFIG_HEADER section. 4609 # 4610 4611 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 4612 # NAME is the cpp macro being defined and VALUE is the value it is being given. 4613 # 4614 # ac_d sets the value in "#define NAME VALUE" lines. 4615 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 4616 ac_dB='[ ].*$,\1#\2' 4617 ac_dC=' ' 4618 ac_dD=',;t' 4619 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 4620 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 4621 ac_uB='$,\1#\2define\3' 4622 ac_uC=' ' 4623 ac_uD=',;t' 4624 4625 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 4626 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4627 case $ac_file in 4628 - | *:- | *:-:* ) # input from stdin 4629 cat >$tmp/stdin 4630 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4631 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4632 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4633 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4634 * ) ac_file_in=$ac_file.in ;; 4635 esac 4636 4637 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 4638 echo "$as_me: creating $ac_file" >&6;} 4639 4640 # First look for the input files in the build tree, otherwise in the 4641 # src tree. 4642 ac_file_inputs=`IFS=: 4643 for f in $ac_file_in; do 4644 case $f in 4645 -) echo $tmp/stdin ;; 4646 [\\/$]*) 4647 # Absolute (can't be DOS-style, as IFS=:) 4648 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4649 echo "$as_me: error: cannot find input file: $f" >&2;} 4650 { (exit 1); exit 1; }; } 4651 # Do quote $f, to prevent DOS paths from being IFS'd. 4652 echo "$f";; 4653 *) # Relative 4654 if test -f "$f"; then 4655 # Build tree 4656 echo "$f" 4657 elif test -f "$srcdir/$f"; then 4658 # Source tree 4659 echo "$srcdir/$f" 4660 else 4661 # /dev/null tree 4662 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4663 echo "$as_me: error: cannot find input file: $f" >&2;} 4664 { (exit 1); exit 1; }; } 4665 fi;; 4666 esac 4667 done` || { (exit 1); exit 1; } 4668 # Remove the trailing spaces. 4669 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 4670 4671 _ACEOF 4672 4673 # Transform confdefs.h into two sed scripts, `conftest.defines' and 4674 # `conftest.undefs', that substitutes the proper values into 4675 # config.h.in to produce config.h. The first handles `#define' 4676 # templates, and the second `#undef' templates. 4677 # And first: Protect against being on the right side of a sed subst in 4678 # config.status. Protect against being in an unquoted here document 4679 # in config.status. 4680 rm -f conftest.defines conftest.undefs 4681 # Using a here document instead of a string reduces the quoting nightmare. 4682 # Putting comments in sed scripts is not portable. 4683 # 4684 # `end' is used to avoid that the second main sed command (meant for 4685 # 0-ary CPP macros) applies to n-ary macro definitions. 4686 # See the Autoconf documentation for `clear'. 4687 cat >confdef2sed.sed <<\_ACEOF 4688 s/[\\&,]/\\&/g 4689 s,[\\$`],\\&,g 4690 t clear 4691 : clear 4692 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 4693 t end 4694 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 4695 : end 4696 _ACEOF 4697 # If some macros were called several times there might be several times 4698 # the same #defines, which is useless. Nevertheless, we may not want to 4699 # sort them, since we want the *last* AC-DEFINE to be honored. 4700 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 4701 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 4702 rm -f confdef2sed.sed 4703 4704 # This sed command replaces #undef with comments. This is necessary, for 4705 # example, in the case of _POSIX_SOURCE, which is predefined and required 4706 # on some systems where configure will not decide to define it. 4707 cat >>conftest.undefs <<\_ACEOF 4708 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 4709 _ACEOF 4710 4711 # Break up conftest.defines because some shells have a limit on the size 4712 # of here documents, and old seds have small limits too (100 cmds). 4713 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 4714 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 4715 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 4716 echo ' :' >>$CONFIG_STATUS 4717 rm -f conftest.tail 4718 while grep . conftest.defines >/dev/null 4719 do 4720 # Write a limited-size here document to $tmp/defines.sed. 4721 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 4722 # Speed up: don't consider the non `#define' lines. 4723 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 4724 # Work around the forget-to-reset-the-flag bug. 4725 echo 't clr' >>$CONFIG_STATUS 4726 echo ': clr' >>$CONFIG_STATUS 4727 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 4728 echo 'CEOF 4729 sed -f $tmp/defines.sed $tmp/in >$tmp/out 4730 rm -f $tmp/in 4731 mv $tmp/out $tmp/in 4732 ' >>$CONFIG_STATUS 4733 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 4734 rm -f conftest.defines 4735 mv conftest.tail conftest.defines 4736 done 4737 rm -f conftest.defines 4738 echo ' fi # grep' >>$CONFIG_STATUS 4739 echo >>$CONFIG_STATUS 4740 4741 # Break up conftest.undefs because some shells have a limit on the size 4742 # of here documents, and old seds have small limits too (100 cmds). 4743 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 4744 rm -f conftest.tail 4745 while grep . conftest.undefs >/dev/null 4746 do 4747 # Write a limited-size here document to $tmp/undefs.sed. 4748 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 4749 # Speed up: don't consider the non `#undef' 4750 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 4751 # Work around the forget-to-reset-the-flag bug. 4752 echo 't clr' >>$CONFIG_STATUS 4753 echo ': clr' >>$CONFIG_STATUS 4754 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 4755 echo 'CEOF 4756 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 4757 rm -f $tmp/in 4758 mv $tmp/out $tmp/in 4759 ' >>$CONFIG_STATUS 4760 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 4761 rm -f conftest.undefs 4762 mv conftest.tail conftest.undefs 4763 done 4764 rm -f conftest.undefs 4765 4766 cat >>$CONFIG_STATUS <<\_ACEOF 4767 # Let's still pretend it is `configure' which instantiates (i.e., don't 4768 # use $as_me), people would be surprised to read: 4769 # /* config.h. Generated by config.status. */ 4770 if test x"$ac_file" = x-; then 4771 echo "/* Generated by configure. */" >$tmp/config.h 4772 else 4773 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 4774 fi 4775 cat $tmp/in >>$tmp/config.h 4776 rm -f $tmp/in 4777 if test x"$ac_file" != x-; then 4778 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 4779 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 4780 echo "$as_me: $ac_file is unchanged" >&6;} 5344 { 5345 $as_echo "/* $configure_input */" \ 5346 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 5347 } >"$ac_tmp/config.h" \ 5348 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5349 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 5350 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 5351 $as_echo "$as_me: $ac_file is unchanged" >&6;} 4781 5352 else 4782 ac_dir=`(dirname "$ac_file") 2>/dev/null || 4783 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4784 X"$ac_file" : 'X\(//\)[^/]' \| \ 4785 X"$ac_file" : 'X\(//\)$' \| \ 4786 X"$ac_file" : 'X\(/\)' \| \ 4787 . : '\(.\)' 2>/dev/null || 4788 echo X"$ac_file" | 4789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4790 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4791 /^X\(\/\/\)$/{ s//\1/; q; } 4792 /^X\(\/\).*/{ s//\1/; q; } 4793 s/.*/./; q'` 4794 { if $as_mkdir_p; then 4795 mkdir -p "$ac_dir" 4796 else 4797 as_dir="$ac_dir" 4798 as_dirs= 4799 while test ! -d "$as_dir"; do 4800 as_dirs="$as_dir $as_dirs" 4801 as_dir=`(dirname "$as_dir") 2>/dev/null || 4802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4803 X"$as_dir" : 'X\(//\)[^/]' \| \ 4804 X"$as_dir" : 'X\(//\)$' \| \ 4805 X"$as_dir" : 'X\(/\)' \| \ 4806 . : '\(.\)' 2>/dev/null || 4807 echo X"$as_dir" | 4808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4809 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4810 /^X\(\/\/\)$/{ s//\1/; q; } 4811 /^X\(\/\).*/{ s//\1/; q; } 4812 s/.*/./; q'` 4813 done 4814 test ! -n "$as_dirs" || mkdir $as_dirs 4815 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4816 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4817 { (exit 1); exit 1; }; }; } 4818 4819 rm -f $ac_file 4820 mv $tmp/config.h $ac_file 5353 rm -f "$ac_file" 5354 mv "$ac_tmp/config.h" "$ac_file" \ 5355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4821 5356 fi 4822 5357 else 4823 cat $tmp/config.h 4824 rm -f $tmp/config.h 5358 $as_echo "/* $configure_input */" \ 5359 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 5360 || as_fn_error $? "could not create -" "$LINENO" 5 4825 5361 fi 4826 done 4827 _ACEOF 4828 4829 cat >>$CONFIG_STATUS <<\_ACEOF 4830 4831 { (exit 0); exit 0; } 4832 _ACEOF 4833 chmod +x $CONFIG_STATUS 5362 ;; 5363 5364 5365 esac 5366 5367 done # for ac_tag 5368 5369 5370 as_fn_exit 0 5371 _ACEOF 4834 5372 ac_clean_files=$ac_clean_files_save 5373 5374 test $ac_write_fail = 0 || 5375 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4835 5376 4836 5377 … … 4853 5394 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4854 5395 # would make configure fail if this is the last instruction. 4855 $ac_cs_success || { (exit 1); exit 1; } 4856 fi 4857 5396 $ac_cs_success || as_fn_exit 1 5397 fi 5398 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5400 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5401 fi 5402 -
main/trunk/search4j/configure.ac
r17496 r35457 12 12 AC_PROG_CPP 13 13 AC_PROG_INSTALL 14 AC_PROG_JAVAC 14 15 15 16 # Checks for libraries.
Note:
See TracChangeset
for help on using the changeset viewer.