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