![]() ![]() | ![]() |
Mise à jour de lapack vers la version 3.3.0.
1: #! /bin/sh 2: # Guess values for system-dependent variables and create Makefiles. 3: # Generated by GNU Autoconf 2.67 for rpl 4.0.20. 4: # 5: # 6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8: # Foundation, Inc. 9: # 10: # 11: # This configure script is free software; the Free Software Foundation 12: # gives unlimited permission to copy, distribute and modify it. 13: ## -------------------- ## 14: ## M4sh Initialization. ## 15: ## -------------------- ## 16: 17: # Be more Bourne compatible 18: DUALCASE=1; export DUALCASE # for MKS sh 19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20: emulate sh 21: NULLCMD=: 22: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23: # is contrary to our usage. Disable this feature. 24: alias -g '${1+"$@"}'='"$@"' 25: setopt NO_GLOB_SUBST 26: else 27: case `(set -o) 2>/dev/null` in #( 28: *posix*) : 29: set -o posix ;; #( 30: *) : 31: ;; 32: esac 33: fi 34: 35: 36: as_nl=' 37: ' 38: export as_nl 39: # Printing a long string crashes Solaris 7 /usr/bin/printf. 40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43: # Prefer a ksh shell builtin over an external printf program on Solaris, 44: # but without wasting forks for bash or zsh. 45: if test -z "$BASH_VERSION$ZSH_VERSION" \ 46: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47: as_echo='print -r --' 48: as_echo_n='print -rn --' 49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50: as_echo='printf %s\n' 51: as_echo_n='printf %s' 52: else 53: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55: as_echo_n='/usr/ucb/echo -n' 56: else 57: as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58: as_echo_n_body='eval 59: arg=$1; 60: case $arg in #( 61: *"$as_nl"*) 62: expr "X$arg" : "X\\(.*\\)$as_nl"; 63: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64: esac; 65: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66: ' 67: export as_echo_n_body 68: as_echo_n='sh -c $as_echo_n_body as_echo' 69: fi 70: export as_echo_body 71: as_echo='sh -c $as_echo_body as_echo' 72: fi 73: 74: # The user is always right. 75: if test "${PATH_SEPARATOR+set}" != set; then 76: PATH_SEPARATOR=: 77: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79: PATH_SEPARATOR=';' 80: } 81: fi 82: 83: 84: # IFS 85: # We need space, tab and new line, in precisely that order. Quoting is 86: # there to prevent editors from complaining about space-tab. 87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88: # splitting by setting IFS to empty value.) 89: IFS=" "" $as_nl" 90: 91: # Find who we are. Look in the path if we contain no directory separator. 92: case $0 in #(( 93: *[\\/]* ) as_myself=$0 ;; 94: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95: for as_dir in $PATH 96: do 97: IFS=$as_save_IFS 98: test -z "$as_dir" && as_dir=. 99: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100: done 101: IFS=$as_save_IFS 102: 103: ;; 104: esac 105: # We did not find ourselves, most probably we were run as `sh COMMAND' 106: # in which case we are not to be found in the path. 107: if test "x$as_myself" = x; then 108: as_myself=$0 109: fi 110: if test ! -f "$as_myself"; then 111: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112: exit 1 113: fi 114: 115: # Unset variables that we do not need and which cause bugs (e.g. in 116: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117: # suppresses any "Segmentation fault" message there. '((' could 118: # trigger a bug in pdksh 5.2.14. 119: for as_var in BASH_ENV ENV MAIL MAILPATH 120: do eval test x\${$as_var+set} = xset \ 121: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122: done 123: PS1='$ ' 124: PS2='> ' 125: PS4='+ ' 126: 127: # NLS nuisances. 128: LC_ALL=C 129: export LC_ALL 130: LANGUAGE=C 131: export LANGUAGE 132: 133: # CDPATH. 134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135: 136: if test "x$CONFIG_SHELL" = x; then 137: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138: emulate sh 139: NULLCMD=: 140: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141: # is contrary to our usage. Disable this feature. 142: alias -g '\${1+\"\$@\"}'='\"\$@\"' 143: setopt NO_GLOB_SUBST 144: else 145: case \`(set -o) 2>/dev/null\` in #( 146: *posix*) : 147: set -o posix ;; #( 148: *) : 149: ;; 150: esac 151: fi 152: " 153: as_required="as_fn_return () { (exit \$1); } 154: as_fn_success () { as_fn_return 0; } 155: as_fn_failure () { as_fn_return 1; } 156: as_fn_ret_success () { return 0; } 157: as_fn_ret_failure () { return 1; } 158: 159: exitcode=0 160: as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165: 166: else 167: exitcode=1; echo positional parameters were not saved. 168: fi 169: test x\$exitcode = x0 || exit 1" 170: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174: test \$(( 1 + 1 )) = 2 || exit 1" 175: if (eval "$as_required") 2>/dev/null; then : 176: as_have_required=yes 177: else 178: as_have_required=no 179: fi 180: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181: 182: else 183: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184: as_found=false 185: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 186: do 187: IFS=$as_save_IFS 188: test -z "$as_dir" && as_dir=. 189: as_found=: 190: case $as_dir in #( 191: /*) 192: for as_base in sh bash ksh sh5; do 193: # Try only shells that exist, to save several forks. 194: as_shell=$as_dir/$as_base 195: if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197: CONFIG_SHELL=$as_shell as_have_required=yes 198: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199: break 2 200: fi 201: fi 202: done;; 203: esac 204: as_found=false 205: done 206: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208: CONFIG_SHELL=$SHELL as_have_required=yes 209: fi; } 210: IFS=$as_save_IFS 211: 212: 213: if test "x$CONFIG_SHELL" != x; then : 214: # We cannot yet assume a decent shell, so we have to provide a 215: # neutralization value for shells without unset; and this also 216: # works around shells that cannot unset nonexistent variables. 217: BASH_ENV=/dev/null 218: ENV=/dev/null 219: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220: export CONFIG_SHELL 221: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222: fi 223: 224: if test x$as_have_required = xno; then : 225: $as_echo "$0: This script requires a shell more modern than all" 226: $as_echo "$0: the shells that I found on your system." 227: if test x${ZSH_VERSION+set} = xset ; then 228: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229: $as_echo "$0: be upgraded to zsh 4.3.4 or later." 230: else 231: $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 232: $0: including any error possibly output before this 233: $0: message. Then install a modern shell, or manually run 234: $0: the script under such a shell if you do have one." 235: fi 236: exit 1 237: fi 238: fi 239: fi 240: SHELL=${CONFIG_SHELL-/bin/sh} 241: export SHELL 242: # Unset more variables known to interfere with behavior of common tools. 243: CLICOLOR_FORCE= GREP_OPTIONS= 244: unset CLICOLOR_FORCE GREP_OPTIONS 245: 246: ## --------------------- ## 247: ## M4sh Shell Functions. ## 248: ## --------------------- ## 249: # as_fn_unset VAR 250: # --------------- 251: # Portably unset VAR. 252: as_fn_unset () 253: { 254: { eval $1=; unset $1;} 255: } 256: as_unset=as_fn_unset 257: 258: # as_fn_set_status STATUS 259: # ----------------------- 260: # Set $? to STATUS, without forking. 261: as_fn_set_status () 262: { 263: return $1 264: } # as_fn_set_status 265: 266: # as_fn_exit STATUS 267: # ----------------- 268: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269: as_fn_exit () 270: { 271: set +e 272: as_fn_set_status $1 273: exit $1 274: } # as_fn_exit 275: 276: # as_fn_mkdir_p 277: # ------------- 278: # Create "$as_dir" as a directory, including parents if necessary. 279: as_fn_mkdir_p () 280: { 281: 282: case $as_dir in #( 283: -*) as_dir=./$as_dir;; 284: esac 285: test -d "$as_dir" || eval $as_mkdir_p || { 286: as_dirs= 287: while :; do 288: case $as_dir in #( 289: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290: *) as_qdir=$as_dir;; 291: esac 292: as_dirs="'$as_qdir' $as_dirs" 293: as_dir=`$as_dirname -- "$as_dir" || 294: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295: X"$as_dir" : 'X\(//\)[^/]' \| \ 296: X"$as_dir" : 'X\(//\)$' \| \ 297: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298: $as_echo X"$as_dir" | 299: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300: s//\1/ 301: q 302: } 303: /^X\(\/\/\)[^/].*/{ 304: s//\1/ 305: q 306: } 307: /^X\(\/\/\)$/{ 308: s//\1/ 309: q 310: } 311: /^X\(\/\).*/{ 312: s//\1/ 313: q 314: } 315: s/.*/./; q'` 316: test -d "$as_dir" && break 317: done 318: test -z "$as_dirs" || eval "mkdir $as_dirs" 319: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 320: 321: 322: } # as_fn_mkdir_p 323: # as_fn_append VAR VALUE 324: # ---------------------- 325: # Append the text in VALUE to the end of the definition contained in VAR. Take 326: # advantage of any shell optimizations that allow amortized linear growth over 327: # repeated appends, instead of the typical quadratic growth present in naive 328: # implementations. 329: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330: eval 'as_fn_append () 331: { 332: eval $1+=\$2 333: }' 334: else 335: as_fn_append () 336: { 337: eval $1=\$$1\$2 338: } 339: fi # as_fn_append 340: 341: # as_fn_arith ARG... 342: # ------------------ 343: # Perform arithmetic evaluation on the ARGs, and store the result in the 344: # global $as_val. Take advantage of shells that can avoid forks. The arguments 345: # must be portable across $(()) and expr. 346: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347: eval 'as_fn_arith () 348: { 349: as_val=$(( $* )) 350: }' 351: else 352: as_fn_arith () 353: { 354: as_val=`expr "$@" || test $? -eq 1` 355: } 356: fi # as_fn_arith 357: 358: 359: # as_fn_error STATUS ERROR [LINENO LOG_FD] 360: # ---------------------------------------- 361: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363: # script with STATUS, using 1 if that was 0. 364: as_fn_error () 365: { 366: as_status=$1; test $as_status -eq 0 && as_status=1 367: if test "$4"; then 368: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 370: fi 371: $as_echo "$as_me: error: $2" >&2 372: as_fn_exit $as_status 373: } # as_fn_error 374: 375: if expr a : '\(a\)' >/dev/null 2>&1 && 376: test "X`expr 00001 : '.*\(...\)'`" = X001; then 377: as_expr=expr 378: else 379: as_expr=false 380: fi 381: 382: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 383: as_basename=basename 384: else 385: as_basename=false 386: fi 387: 388: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389: as_dirname=dirname 390: else 391: as_dirname=false 392: fi 393: 394: as_me=`$as_basename -- "$0" || 395: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 396: X"$0" : 'X\(//\)$' \| \ 397: X"$0" : 'X\(/\)' \| . 2>/dev/null || 398: $as_echo X/"$0" | 399: sed '/^.*\/\([^/][^/]*\)\/*$/{ 400: s//\1/ 401: q 402: } 403: /^X\/\(\/\/\)$/{ 404: s//\1/ 405: q 406: } 407: /^X\/\(\/\).*/{ 408: s//\1/ 409: q 410: } 411: s/.*/./; q'` 412: 413: # Avoid depending upon Character Ranges. 414: as_cr_letters='abcdefghijklmnopqrstuvwxyz' 415: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 416: as_cr_Letters=$as_cr_letters$as_cr_LETTERS 417: as_cr_digits='0123456789' 418: as_cr_alnum=$as_cr_Letters$as_cr_digits 419: 420: 421: as_lineno_1=$LINENO as_lineno_1a=$LINENO 422: as_lineno_2=$LINENO as_lineno_2a=$LINENO 423: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 426: sed -n ' 427: p 428: /[$]LINENO/= 429: ' <$as_myself | 430: sed ' 431: s/[$]LINENO.*/&-/ 432: t lineno 433: b 434: :lineno 435: N 436: :loop 437: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 438: t loop 439: s/-\n.*// 440: ' >$as_me.lineno && 441: chmod +x "$as_me.lineno" || 442: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 443: 444: # Don't try to exec as it changes $[0], causing all sort of problems 445: # (the dirname of $[0] is not the place where we might find the 446: # original and so on. Autoconf is especially sensitive to this). 447: . "./$as_me.lineno" 448: # Exit status is that of the last command. 449: exit 450: } 451: 452: ECHO_C= ECHO_N= ECHO_T= 453: case `echo -n x` in #((((( 454: -n*) 455: case `echo 'xy\c'` in 456: *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457: xy) ECHO_C='\c';; 458: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459: ECHO_T=' ';; 460: esac;; 461: *) 462: ECHO_N='-n';; 463: esac 464: 465: rm -f conf$$ conf$$.exe conf$$.file 466: if test -d conf$$.dir; then 467: rm -f conf$$.dir/conf$$.file 468: else 469: rm -f conf$$.dir 470: mkdir conf$$.dir 2>/dev/null 471: fi 472: if (echo >conf$$.file) 2>/dev/null; then 473: if ln -s conf$$.file conf$$ 2>/dev/null; then 474: as_ln_s='ln -s' 475: # ... but there are two gotchas: 476: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478: # In both cases, we have to default to `cp -p'. 479: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480: as_ln_s='cp -p' 481: elif ln conf$$.file conf$$ 2>/dev/null; then 482: as_ln_s=ln 483: else 484: as_ln_s='cp -p' 485: fi 486: else 487: as_ln_s='cp -p' 488: fi 489: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 490: rmdir conf$$.dir 2>/dev/null 491: 492: if mkdir -p . 2>/dev/null; then 493: as_mkdir_p='mkdir -p "$as_dir"' 494: else 495: test -d ./-p && rmdir ./-p 496: as_mkdir_p=false 497: fi 498: 499: if test -x / >/dev/null 2>&1; then 500: as_test_x='test -x' 501: else 502: if ls -dL / >/dev/null 2>&1; then 503: as_ls_L_option=L 504: else 505: as_ls_L_option= 506: fi 507: as_test_x=' 508: eval sh -c '\'' 509: if test -d "$1"; then 510: test -d "$1/."; 511: else 512: case $1 in #( 513: -*)set "./$1";; 514: esac; 515: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 516: ???[sx]*):;;*)false;;esac;fi 517: '\'' sh 518: ' 519: fi 520: as_executable_p=$as_test_x 521: 522: # Sed expression to map a string onto a valid CPP name. 523: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 524: 525: # Sed expression to map a string onto a valid variable name. 526: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 527: 528: 529: test -n "$DJDIR" || exec 7<&0 </dev/null 530: exec 6>&1 531: 532: # Name of the host. 533: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 534: # so uname gets run too. 535: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 536: 537: # 538: # Initializations. 539: # 540: ac_default_prefix=/usr/local 541: ac_clean_files= 542: ac_config_libobj_dir=. 543: LIBOBJS= 544: cross_compiling=no 545: subdirs= 546: MFLAGS= 547: MAKEFLAGS= 548: 549: # Identity of this package. 550: PACKAGE_NAME='rpl' 551: PACKAGE_TARNAME='rpl' 552: PACKAGE_VERSION='4.0.20' 553: PACKAGE_STRING='rpl 4.0.20' 554: PACKAGE_BUGREPORT='' 555: PACKAGE_URL='' 556: 557: ac_default_prefix=/usr/local 558: # Factoring default headers for most tests. 559: ac_includes_default="\ 560: #include <stdio.h> 561: #ifdef HAVE_SYS_TYPES_H 562: # include <sys/types.h> 563: #endif 564: #ifdef HAVE_SYS_STAT_H 565: # include <sys/stat.h> 566: #endif 567: #ifdef STDC_HEADERS 568: # include <stdlib.h> 569: # include <stddef.h> 570: #else 571: # ifdef HAVE_STDLIB_H 572: # include <stdlib.h> 573: # endif 574: #endif 575: #ifdef HAVE_STRING_H 576: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 577: # include <memory.h> 578: # endif 579: # include <string.h> 580: #endif 581: #ifdef HAVE_STRINGS_H 582: # include <strings.h> 583: #endif 584: #ifdef HAVE_INTTYPES_H 585: # include <inttypes.h> 586: #endif 587: #ifdef HAVE_STDINT_H 588: # include <stdint.h> 589: #endif 590: #ifdef HAVE_UNISTD_H 591: # include <unistd.h> 592: #endif" 593: 594: enable_option_checking=no 595: ac_subst_vars='am__EXEEXT_FALSE 596: am__EXEEXT_TRUE 597: LTLIBOBJS 598: LIBOBJS 599: MALLOC 600: EXT_SQL 601: DATE_FR 602: FINAL_ENCODING 603: OPENSSL 604: SQLITE 605: ICONV 606: FILE 607: GNUPLOT 608: GPP 609: GSL 610: UNITS 611: READLINE 612: NCURSES 613: BSH_PATH 614: BROKEN_SIGINFO 615: IPV6 616: SEMUN 617: IPCS_SYSV 618: SEMAPHORES_NOMMES 619: NESTED_FUNCTIONS 620: EXPORT_DYNAMIC 621: C_STANDARD 622: OS 623: GNUPLOT_COMPILATION 624: subdirs 625: EGREP 626: GREP 627: libPgSQLlib 628: libPgSQLinc 629: POSTGRESQL_SUPPORT 630: libMySQLlib 631: libMySQLinc 632: MYSQL_SUPPORT 633: DATE 634: includeX 635: libX 636: MOTIF_SUPPORT 637: DEBUG 638: EXPERIMENTAL_CODE 639: VIM_SUPPORT 640: POSTSCRIPT_SUPPORT 641: FORCE_GNUPLOT_PATH 642: GNUPLOT_SUPPORT 643: VIM 644: GNUPLOT_P 645: GV 646: GS 647: DVIPS 648: LATEX 649: TEX 650: SED 651: RANLIB 652: LN_S 653: RUNPATH 654: PROFILAGE 655: X_EXTRA_LIBS 656: X_LIBS 657: X_PRE_LIBS 658: X_CFLAGS 659: CPP 660: XMKMF 661: ac_ct_FC 662: FCFLAGS 663: FC 664: ac_ct_F77 665: FFLAGS 666: F77 667: am__fastdepCXX_FALSE 668: am__fastdepCXX_TRUE 669: CXXDEPMODE 670: ac_ct_CXX 671: CXXFLAGS 672: CXX 673: am__fastdepCC_FALSE 674: am__fastdepCC_TRUE 675: CCDEPMODE 676: AMDEPBACKSLASH 677: AMDEP_FALSE 678: AMDEP_TRUE 679: am__quote 680: am__include 681: DEPDIR 682: OBJEXT 683: EXEEXT 684: ac_ct_CC 685: CPPFLAGS 686: LDFLAGS 687: CFLAGS 688: CC 689: am__untar 690: am__tar 691: AMTAR 692: am__leading_dot 693: SET_MAKE 694: AWK 695: mkdir_p 696: MKDIR_P 697: INSTALL_STRIP_PROGRAM 698: STRIP 699: install_sh 700: MAKEINFO 701: AUTOHEADER 702: AUTOMAKE 703: AUTOCONF 704: ACLOCAL 705: VERSION 706: PACKAGE 707: CYGPATH_W 708: am__isrc 709: INSTALL_DATA 710: INSTALL_SCRIPT 711: INSTALL_PROGRAM 712: target_os 713: target_vendor 714: target_cpu 715: target 716: host_os 717: host_vendor 718: host_cpu 719: host 720: build_os 721: build_vendor 722: build_cpu 723: build 724: target_alias 725: host_alias 726: build_alias 727: LIBS 728: ECHO_T 729: ECHO_N 730: ECHO_C 731: DEFS 732: mandir 733: localedir 734: libdir 735: psdir 736: pdfdir 737: dvidir 738: htmldir 739: infodir 740: docdir 741: oldincludedir 742: includedir 743: localstatedir 744: sharedstatedir 745: sysconfdir 746: datadir 747: datarootdir 748: libexecdir 749: sbindir 750: bindir 751: program_transform_name 752: prefix 753: exec_prefix 754: PACKAGE_URL 755: PACKAGE_BUGREPORT 756: PACKAGE_STRING 757: PACKAGE_VERSION 758: PACKAGE_TARNAME 759: PACKAGE_NAME 760: PATH_SEPARATOR 761: SHELL' 762: ac_subst_files='' 763: ac_user_opts=' 764: enable_option_checking 765: enable_dependency_tracking 766: with_x 767: enable_optimization 768: enable_sysv_semaphores 769: enable_full_static 770: enable_final_encoding 771: enable_tex 772: enable_vim 773: enable_embedded_gnuplot 774: enable_gnuplot 775: enable_motif 776: enable_experimental 777: enable_debug 778: enable_profile 779: enable_final_run_path 780: with_mysql 781: with_postgresql 782: with_bourne_shell 783: with_openssl_arch 784: ' 785: ac_precious_vars='build_alias 786: host_alias 787: target_alias 788: CC 789: CFLAGS 790: LDFLAGS 791: LIBS 792: CPPFLAGS 793: CXX 794: CXXFLAGS 795: CCC 796: F77 797: FFLAGS 798: FC 799: FCFLAGS 800: XMKMF 801: CPP' 802: ac_subdirs_all='tools/$NCURSES 803: tools/$READLINE 804: tools/$GSL 805: tools/$GPP 806: tools/$FILE 807: tools/$ICONV 808: tools/$SQLITE 809: tools/$UNITS 810: tools/$GNUPLOT' 811: 812: # Initialize some variables set by options. 813: ac_init_help= 814: ac_init_version=false 815: ac_unrecognized_opts= 816: ac_unrecognized_sep= 817: # The variables have the same names as the options, with 818: # dashes changed to underlines. 819: cache_file=/dev/null 820: exec_prefix=NONE 821: no_create= 822: no_recursion= 823: prefix=NONE 824: program_prefix=NONE 825: program_suffix=NONE 826: program_transform_name=s,x,x, 827: silent= 828: site= 829: srcdir= 830: verbose= 831: x_includes=NONE 832: x_libraries=NONE 833: 834: # Installation directory options. 835: # These are left unexpanded so users can "make install exec_prefix=/foo" 836: # and all the variables that are supposed to be based on exec_prefix 837: # by default will actually change. 838: # Use braces instead of parens because sh, perl, etc. also accept them. 839: # (The list follows the same order as the GNU Coding Standards.) 840: bindir='${exec_prefix}/bin' 841: sbindir='${exec_prefix}/sbin' 842: libexecdir='${exec_prefix}/libexec' 843: datarootdir='${prefix}/share' 844: datadir='${datarootdir}' 845: sysconfdir='${prefix}/etc' 846: sharedstatedir='${prefix}/com' 847: localstatedir='${prefix}/var' 848: includedir='${prefix}/include' 849: oldincludedir='/usr/include' 850: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 851: infodir='${datarootdir}/info' 852: htmldir='${docdir}' 853: dvidir='${docdir}' 854: pdfdir='${docdir}' 855: psdir='${docdir}' 856: libdir='${exec_prefix}/lib' 857: localedir='${datarootdir}/locale' 858: mandir='${datarootdir}/man' 859: 860: ac_prev= 861: ac_dashdash= 862: for ac_option 863: do 864: # If the previous option needs an argument, assign it. 865: if test -n "$ac_prev"; then 866: eval $ac_prev=\$ac_option 867: ac_prev= 868: continue 869: fi 870: 871: case $ac_option in 872: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 873: *=) ac_optarg= ;; 874: *) ac_optarg=yes ;; 875: esac 876: 877: # Accept the important Cygnus configure options, so we can diagnose typos. 878: 879: case $ac_dashdash$ac_option in 880: --) 881: ac_dashdash=yes ;; 882: 883: -bindir | --bindir | --bindi | --bind | --bin | --bi) 884: ac_prev=bindir ;; 885: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 886: bindir=$ac_optarg ;; 887: 888: -build | --build | --buil | --bui | --bu) 889: ac_prev=build_alias ;; 890: -build=* | --build=* | --buil=* | --bui=* | --bu=*) 891: build_alias=$ac_optarg ;; 892: 893: -cache-file | --cache-file | --cache-fil | --cache-fi \ 894: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 895: ac_prev=cache_file ;; 896: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 897: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 898: cache_file=$ac_optarg ;; 899: 900: --config-cache | -C) 901: cache_file=config.cache ;; 902: 903: -datadir | --datadir | --datadi | --datad) 904: ac_prev=datadir ;; 905: -datadir=* | --datadir=* | --datadi=* | --datad=*) 906: datadir=$ac_optarg ;; 907: 908: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 909: | --dataroo | --dataro | --datar) 910: ac_prev=datarootdir ;; 911: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 912: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 913: datarootdir=$ac_optarg ;; 914: 915: -disable-* | --disable-*) 916: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 917: # Reject names that are not valid shell variable names. 918: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 919: as_fn_error $? "invalid feature name: $ac_useropt" 920: ac_useropt_orig=$ac_useropt 921: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 922: case $ac_user_opts in 923: *" 924: "enable_$ac_useropt" 925: "*) ;; 926: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 927: ac_unrecognized_sep=', ';; 928: esac 929: eval enable_$ac_useropt=no ;; 930: 931: -docdir | --docdir | --docdi | --doc | --do) 932: ac_prev=docdir ;; 933: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 934: docdir=$ac_optarg ;; 935: 936: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 937: ac_prev=dvidir ;; 938: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 939: dvidir=$ac_optarg ;; 940: 941: -enable-* | --enable-*) 942: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 943: # Reject names that are not valid shell variable names. 944: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 945: as_fn_error $? "invalid feature name: $ac_useropt" 946: ac_useropt_orig=$ac_useropt 947: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 948: case $ac_user_opts in 949: *" 950: "enable_$ac_useropt" 951: "*) ;; 952: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 953: ac_unrecognized_sep=', ';; 954: esac 955: eval enable_$ac_useropt=\$ac_optarg ;; 956: 957: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 958: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 959: | --exec | --exe | --ex) 960: ac_prev=exec_prefix ;; 961: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 962: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 963: | --exec=* | --exe=* | --ex=*) 964: exec_prefix=$ac_optarg ;; 965: 966: -gas | --gas | --ga | --g) 967: # Obsolete; use --with-gas. 968: with_gas=yes ;; 969: 970: -help | --help | --hel | --he | -h) 971: ac_init_help=long ;; 972: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 973: ac_init_help=recursive ;; 974: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 975: ac_init_help=short ;; 976: 977: -host | --host | --hos | --ho) 978: ac_prev=host_alias ;; 979: -host=* | --host=* | --hos=* | --ho=*) 980: host_alias=$ac_optarg ;; 981: 982: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 983: ac_prev=htmldir ;; 984: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 985: | --ht=*) 986: htmldir=$ac_optarg ;; 987: 988: -includedir | --includedir | --includedi | --included | --include \ 989: | --includ | --inclu | --incl | --inc) 990: ac_prev=includedir ;; 991: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 992: | --includ=* | --inclu=* | --incl=* | --inc=*) 993: includedir=$ac_optarg ;; 994: 995: -infodir | --infodir | --infodi | --infod | --info | --inf) 996: ac_prev=infodir ;; 997: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 998: infodir=$ac_optarg ;; 999: 1000: -libdir | --libdir | --libdi | --libd) 1001: ac_prev=libdir ;; 1002: -libdir=* | --libdir=* | --libdi=* | --libd=*) 1003: libdir=$ac_optarg ;; 1004: 1005: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1006: | --libexe | --libex | --libe) 1007: ac_prev=libexecdir ;; 1008: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1009: | --libexe=* | --libex=* | --libe=*) 1010: libexecdir=$ac_optarg ;; 1011: 1012: -localedir | --localedir | --localedi | --localed | --locale) 1013: ac_prev=localedir ;; 1014: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1015: localedir=$ac_optarg ;; 1016: 1017: -localstatedir | --localstatedir | --localstatedi | --localstated \ 1018: | --localstate | --localstat | --localsta | --localst | --locals) 1019: ac_prev=localstatedir ;; 1020: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1021: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1022: localstatedir=$ac_optarg ;; 1023: 1024: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1025: ac_prev=mandir ;; 1026: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1027: mandir=$ac_optarg ;; 1028: 1029: -nfp | --nfp | --nf) 1030: # Obsolete; use --without-fp. 1031: with_fp=no ;; 1032: 1033: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1034: | --no-cr | --no-c | -n) 1035: no_create=yes ;; 1036: 1037: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1038: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1039: no_recursion=yes ;; 1040: 1041: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1042: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1043: | --oldin | --oldi | --old | --ol | --o) 1044: ac_prev=oldincludedir ;; 1045: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1046: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1047: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1048: oldincludedir=$ac_optarg ;; 1049: 1050: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1051: ac_prev=prefix ;; 1052: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1053: prefix=$ac_optarg ;; 1054: 1055: -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1056: | --program-pre | --program-pr | --program-p) 1057: ac_prev=program_prefix ;; 1058: -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1059: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1060: program_prefix=$ac_optarg ;; 1061: 1062: -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1063: | --program-suf | --program-su | --program-s) 1064: ac_prev=program_suffix ;; 1065: -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1066: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1067: program_suffix=$ac_optarg ;; 1068: 1069: -program-transform-name | --program-transform-name \ 1070: | --program-transform-nam | --program-transform-na \ 1071: | --program-transform-n | --program-transform- \ 1072: | --program-transform | --program-transfor \ 1073: | --program-transfo | --program-transf \ 1074: | --program-trans | --program-tran \ 1075: | --progr-tra | --program-tr | --program-t) 1076: ac_prev=program_transform_name ;; 1077: -program-transform-name=* | --program-transform-name=* \ 1078: | --program-transform-nam=* | --program-transform-na=* \ 1079: | --program-transform-n=* | --program-transform-=* \ 1080: | --program-transform=* | --program-transfor=* \ 1081: | --program-transfo=* | --program-transf=* \ 1082: | --program-trans=* | --program-tran=* \ 1083: | --progr-tra=* | --program-tr=* | --program-t=*) 1084: program_transform_name=$ac_optarg ;; 1085: 1086: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1087: ac_prev=pdfdir ;; 1088: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1089: pdfdir=$ac_optarg ;; 1090: 1091: -psdir | --psdir | --psdi | --psd | --ps) 1092: ac_prev=psdir ;; 1093: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1094: psdir=$ac_optarg ;; 1095: 1096: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1097: | -silent | --silent | --silen | --sile | --sil) 1098: silent=yes ;; 1099: 1100: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1101: ac_prev=sbindir ;; 1102: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1103: | --sbi=* | --sb=*) 1104: sbindir=$ac_optarg ;; 1105: 1106: -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1107: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1108: | --sharedst | --shareds | --shared | --share | --shar \ 1109: | --sha | --sh) 1110: ac_prev=sharedstatedir ;; 1111: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1112: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1113: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1114: | --sha=* | --sh=*) 1115: sharedstatedir=$ac_optarg ;; 1116: 1117: -site | --site | --sit) 1118: ac_prev=site ;; 1119: -site=* | --site=* | --sit=*) 1120: site=$ac_optarg ;; 1121: 1122: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1123: ac_prev=srcdir ;; 1124: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1125: srcdir=$ac_optarg ;; 1126: 1127: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1128: | --syscon | --sysco | --sysc | --sys | --sy) 1129: ac_prev=sysconfdir ;; 1130: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1131: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1132: sysconfdir=$ac_optarg ;; 1133: 1134: -target | --target | --targe | --targ | --tar | --ta | --t) 1135: ac_prev=target_alias ;; 1136: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1137: target_alias=$ac_optarg ;; 1138: 1139: -v | -verbose | --verbose | --verbos | --verbo | --verb) 1140: verbose=yes ;; 1141: 1142: -version | --version | --versio | --versi | --vers | -V) 1143: ac_init_version=: ;; 1144: 1145: -with-* | --with-*) 1146: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1147: # Reject names that are not valid shell variable names. 1148: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1149: as_fn_error $? "invalid package name: $ac_useropt" 1150: ac_useropt_orig=$ac_useropt 1151: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1152: case $ac_user_opts in 1153: *" 1154: "with_$ac_useropt" 1155: "*) ;; 1156: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1157: ac_unrecognized_sep=', ';; 1158: esac 1159: eval with_$ac_useropt=\$ac_optarg ;; 1160: 1161: -without-* | --without-*) 1162: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1163: # Reject names that are not valid shell variable names. 1164: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1165: as_fn_error $? "invalid package name: $ac_useropt" 1166: ac_useropt_orig=$ac_useropt 1167: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1168: case $ac_user_opts in 1169: *" 1170: "with_$ac_useropt" 1171: "*) ;; 1172: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1173: ac_unrecognized_sep=', ';; 1174: esac 1175: eval with_$ac_useropt=no ;; 1176: 1177: --x) 1178: # Obsolete; use --with-x. 1179: with_x=yes ;; 1180: 1181: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1182: | --x-incl | --x-inc | --x-in | --x-i) 1183: ac_prev=x_includes ;; 1184: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1185: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1186: x_includes=$ac_optarg ;; 1187: 1188: -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1189: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1190: ac_prev=x_libraries ;; 1191: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1192: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1193: x_libraries=$ac_optarg ;; 1194: 1195: -*) as_fn_error $? "unrecognized option: \`$ac_option' 1196: Try \`$0 --help' for more information" 1197: ;; 1198: 1199: *=*) 1200: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1201: # Reject names that are not valid shell variable names. 1202: case $ac_envvar in #( 1203: '' | [0-9]* | *[!_$as_cr_alnum]* ) 1204: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1205: esac 1206: eval $ac_envvar=\$ac_optarg 1207: export $ac_envvar ;; 1208: 1209: *) 1210: # FIXME: should be removed in autoconf 3.0. 1211: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1212: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1213: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1214: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1215: ;; 1216: 1217: esac 1218: done 1219: 1220: if test -n "$ac_prev"; then 1221: ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1222: as_fn_error $? "missing argument to $ac_option" 1223: fi 1224: 1225: if test -n "$ac_unrecognized_opts"; then 1226: case $enable_option_checking in 1227: no) ;; 1228: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1229: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1230: esac 1231: fi 1232: 1233: # Check all directory arguments for consistency. 1234: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1235: datadir sysconfdir sharedstatedir localstatedir includedir \ 1236: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1237: libdir localedir mandir 1238: do 1239: eval ac_val=\$$ac_var 1240: # Remove trailing slashes. 1241: case $ac_val in 1242: */ ) 1243: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1244: eval $ac_var=\$ac_val;; 1245: esac 1246: # Be sure to have absolute directory names. 1247: case $ac_val in 1248: [\\/$]* | ?:[\\/]* ) continue;; 1249: NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1250: esac 1251: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1252: done 1253: 1254: # There might be people who depend on the old broken behavior: `$host' 1255: # used to hold the argument of --host etc. 1256: # FIXME: To remove some day. 1257: build=$build_alias 1258: host=$host_alias 1259: target=$target_alias 1260: 1261: # FIXME: To remove some day. 1262: if test "x$host_alias" != x; then 1263: if test "x$build_alias" = x; then 1264: cross_compiling=maybe 1265: $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1266: If a cross compiler is detected then cross compile mode will be used" >&2 1267: elif test "x$build_alias" != "x$host_alias"; then 1268: cross_compiling=yes 1269: fi 1270: fi 1271: 1272: ac_tool_prefix= 1273: test -n "$host_alias" && ac_tool_prefix=$host_alias- 1274: 1275: test "$silent" = yes && exec 6>/dev/null 1276: 1277: 1278: ac_pwd=`pwd` && test -n "$ac_pwd" && 1279: ac_ls_di=`ls -di .` && 1280: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1281: as_fn_error $? "working directory cannot be determined" 1282: test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1283: as_fn_error $? "pwd does not report name of working directory" 1284: 1285: 1286: # Find the source files, if location was not specified. 1287: if test -z "$srcdir"; then 1288: ac_srcdir_defaulted=yes 1289: # Try the directory containing this script, then the parent directory. 1290: ac_confdir=`$as_dirname -- "$as_myself" || 1291: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1292: X"$as_myself" : 'X\(//\)[^/]' \| \ 1293: X"$as_myself" : 'X\(//\)$' \| \ 1294: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1295: $as_echo X"$as_myself" | 1296: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1297: s//\1/ 1298: q 1299: } 1300: /^X\(\/\/\)[^/].*/{ 1301: s//\1/ 1302: q 1303: } 1304: /^X\(\/\/\)$/{ 1305: s//\1/ 1306: q 1307: } 1308: /^X\(\/\).*/{ 1309: s//\1/ 1310: q 1311: } 1312: s/.*/./; q'` 1313: srcdir=$ac_confdir 1314: if test ! -r "$srcdir/$ac_unique_file"; then 1315: srcdir=.. 1316: fi 1317: else 1318: ac_srcdir_defaulted=no 1319: fi 1320: if test ! -r "$srcdir/$ac_unique_file"; then 1321: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1322: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1323: fi 1324: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1325: ac_abs_confdir=`( 1326: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1327: pwd)` 1328: # When building in place, set srcdir=. 1329: if test "$ac_abs_confdir" = "$ac_pwd"; then 1330: srcdir=. 1331: fi 1332: # Remove unnecessary trailing slashes from srcdir. 1333: # Double slashes in file names in object file debugging info 1334: # mess up M-x gdb in Emacs. 1335: case $srcdir in 1336: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1337: esac 1338: for ac_var in $ac_precious_vars; do 1339: eval ac_env_${ac_var}_set=\${${ac_var}+set} 1340: eval ac_env_${ac_var}_value=\$${ac_var} 1341: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1342: eval ac_cv_env_${ac_var}_value=\$${ac_var} 1343: done 1344: 1345: # 1346: # Report the --help message. 1347: # 1348: if test "$ac_init_help" = "long"; then 1349: # Omit some internal or obsolete options to make the list less imposing. 1350: # This message is too long to be a string in the A/UX 3.1 sh. 1351: cat <<_ACEOF 1352: \`configure' configures rpl 4.0.20 to adapt to many kinds of systems. 1353: 1354: Usage: $0 [OPTION]... [VAR=VALUE]... 1355: 1356: To assign environment variables (e.g., CC, CFLAGS...), specify them as 1357: VAR=VALUE. See below for descriptions of some of the useful variables. 1358: 1359: Defaults for the options are specified in brackets. 1360: 1361: Configuration: 1362: -h, --help display this help and exit 1363: --help=short display options specific to this package 1364: --help=recursive display the short help of all the included packages 1365: -V, --version display version information and exit 1366: -q, --quiet, --silent do not print \`checking ...' messages 1367: --cache-file=FILE cache test results in FILE [disabled] 1368: -C, --config-cache alias for \`--cache-file=config.cache' 1369: -n, --no-create do not create output files 1370: --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1371: 1372: Installation directories: 1373: --prefix=PREFIX install architecture-independent files in PREFIX 1374: [$ac_default_prefix] 1375: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1376: [PREFIX] 1377: 1378: By default, \`make install' will install all the files in 1379: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1380: an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1381: for instance \`--prefix=\$HOME'. 1382: 1383: For better control, use the options below. 1384: 1385: Fine tuning of the installation directories: 1386: --bindir=DIR user executables [EPREFIX/bin] 1387: --sbindir=DIR system admin executables [EPREFIX/sbin] 1388: --libexecdir=DIR program executables [EPREFIX/libexec] 1389: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1390: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1391: --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1392: --libdir=DIR object code libraries [EPREFIX/lib] 1393: --includedir=DIR C header files [PREFIX/include] 1394: --oldincludedir=DIR C header files for non-gcc [/usr/include] 1395: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1396: --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1397: --infodir=DIR info documentation [DATAROOTDIR/info] 1398: --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1399: --mandir=DIR man documentation [DATAROOTDIR/man] 1400: --docdir=DIR documentation root [DATAROOTDIR/doc/rpl] 1401: --htmldir=DIR html documentation [DOCDIR] 1402: --dvidir=DIR dvi documentation [DOCDIR] 1403: --pdfdir=DIR pdf documentation [DOCDIR] 1404: --psdir=DIR ps documentation [DOCDIR] 1405: _ACEOF 1406: 1407: cat <<\_ACEOF 1408: 1409: Program names: 1410: --program-prefix=PREFIX prepend PREFIX to installed program names 1411: --program-suffix=SUFFIX append SUFFIX to installed program names 1412: --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1413: 1414: X features: 1415: --x-includes=DIR X include files are in DIR 1416: --x-libraries=DIR X library files are in DIR 1417: 1418: System types: 1419: --build=BUILD configure for building on BUILD [guessed] 1420: --host=HOST cross-compile to build programs to run on HOST [BUILD] 1421: --target=TARGET configure for building compilers for TARGET [HOST] 1422: _ACEOF 1423: fi 1424: 1425: if test -n "$ac_init_help"; then 1426: case $ac_init_help in 1427: short | recursive ) echo "Configuration of rpl 4.0.20:";; 1428: esac 1429: cat <<\_ACEOF 1430: 1431: Optional Features: 1432: --disable-option-checking ignore unrecognized --enable/--with options 1433: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1434: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1435: --disable-dependency-tracking speeds up one-time build 1436: --enable-dependency-tracking do not reject slow dependency extractors 1437: --enable-optimization set compiler flags [default=environment variables -O3] 1438: --enable-sysv-ipcs use SystemV IPC functions [default=no] 1439: --enable-full-static build static RPL/2 engine [default=shared] 1440: --enable-final-encoding force final encoding [default=guessed] 1441: --enable-tex provide the TeX support [default=guessed] 1442: --enable-vim provide the vim support [default=guessed] 1443: --enable-embedded-gnuplot build gnuplot provided by this package [default=yes] 1444: --enable-gnuplot provide the GnuPlot support [default=guessed] 1445: --enable-motif provide the Motif support [default=guessed] 1446: --enable-experimental enable experimental code [default=no] 1447: --enable-debug enable debug code [default=no] 1448: --enable-profile enable profile code [default=no] 1449: --enable-final-run-path=PATH enable another final run path than PREFIX 1450: 1451: Optional Packages: 1452: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1453: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1454: --with-x use the X Window System 1455: --with-mysql=PATH specify directory for installed mysql 1456: --with-postgresql=PATH specify directory for installed postgresql 1457: --with-bourne-shell=PATH specify path for OS/2 bourne shell 1458: --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list) 1459: 1460: Some influential environment variables: 1461: CC C compiler command 1462: CFLAGS C compiler flags 1463: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1464: nonstandard directory <lib dir> 1465: LIBS libraries to pass to the linker, e.g. -l<library> 1466: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1467: you have headers in a nonstandard directory <include dir> 1468: CXX C++ compiler command 1469: CXXFLAGS C++ compiler flags 1470: F77 Fortran 77 compiler command 1471: FFLAGS Fortran 77 compiler flags 1472: FC Fortran compiler command 1473: FCFLAGS Fortran compiler flags 1474: XMKMF Path to xmkmf, Makefile generator for X Window System 1475: CPP C preprocessor 1476: 1477: Use these variables to override the choices made by `configure' or to help 1478: it to find libraries and programs with nonstandard names/locations. 1479: 1480: Report bugs to the package provider. 1481: _ACEOF 1482: ac_status=$? 1483: fi 1484: 1485: if test "$ac_init_help" = "recursive"; then 1486: # If there are subdirs, report their specific --help. 1487: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1488: test -d "$ac_dir" || 1489: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1490: continue 1491: ac_builddir=. 1492: 1493: case "$ac_dir" in 1494: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1495: *) 1496: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1497: # A ".." for each directory in $ac_dir_suffix. 1498: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1499: case $ac_top_builddir_sub in 1500: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1501: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1502: esac ;; 1503: esac 1504: ac_abs_top_builddir=$ac_pwd 1505: ac_abs_builddir=$ac_pwd$ac_dir_suffix 1506: # for backward compatibility: 1507: ac_top_builddir=$ac_top_build_prefix 1508: 1509: case $srcdir in 1510: .) # We are building in place. 1511: ac_srcdir=. 1512: ac_top_srcdir=$ac_top_builddir_sub 1513: ac_abs_top_srcdir=$ac_pwd ;; 1514: [\\/]* | ?:[\\/]* ) # Absolute name. 1515: ac_srcdir=$srcdir$ac_dir_suffix; 1516: ac_top_srcdir=$srcdir 1517: ac_abs_top_srcdir=$srcdir ;; 1518: *) # Relative name. 1519: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1520: ac_top_srcdir=$ac_top_build_prefix$srcdir 1521: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1522: esac 1523: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1524: 1525: cd "$ac_dir" || { ac_status=$?; continue; } 1526: # Check for guested configure. 1527: if test -f "$ac_srcdir/configure.gnu"; then 1528: echo && 1529: $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1530: elif test -f "$ac_srcdir/configure"; then 1531: echo && 1532: $SHELL "$ac_srcdir/configure" --help=recursive 1533: else 1534: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1535: fi || ac_status=$? 1536: cd "$ac_pwd" || { ac_status=$?; break; } 1537: done 1538: fi 1539: 1540: test -n "$ac_init_help" && exit $ac_status 1541: if $ac_init_version; then 1542: cat <<\_ACEOF 1543: rpl configure 4.0.20 1544: generated by GNU Autoconf 2.67 1545: 1546: Copyright (C) 2010 Free Software Foundation, Inc. 1547: This configure script is free software; the Free Software Foundation 1548: gives unlimited permission to copy, distribute and modify it. 1549: _ACEOF 1550: exit 1551: fi 1552: 1553: ## ------------------------ ## 1554: ## Autoconf initialization. ## 1555: ## ------------------------ ## 1556: 1557: # ac_fn_c_try_compile LINENO 1558: # -------------------------- 1559: # Try to compile conftest.$ac_ext, and return whether this succeeded. 1560: ac_fn_c_try_compile () 1561: { 1562: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1563: rm -f conftest.$ac_objext 1564: if { { ac_try="$ac_compile" 1565: case "(($ac_try" in 1566: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1567: *) ac_try_echo=$ac_try;; 1568: esac 1569: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1570: $as_echo "$ac_try_echo"; } >&5 1571: (eval "$ac_compile") 2>conftest.err 1572: ac_status=$? 1573: if test -s conftest.err; then 1574: grep -v '^ *+' conftest.err >conftest.er1 1575: cat conftest.er1 >&5 1576: mv -f conftest.er1 conftest.err 1577: fi 1578: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1579: test $ac_status = 0; } && { 1580: test -z "$ac_c_werror_flag" || 1581: test ! -s conftest.err 1582: } && test -s conftest.$ac_objext; then : 1583: ac_retval=0 1584: else 1585: $as_echo "$as_me: failed program was:" >&5 1586: sed 's/^/| /' conftest.$ac_ext >&5 1587: 1588: ac_retval=1 1589: fi 1590: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1591: as_fn_set_status $ac_retval 1592: 1593: } # ac_fn_c_try_compile 1594: 1595: # ac_fn_cxx_try_compile LINENO 1596: # ---------------------------- 1597: # Try to compile conftest.$ac_ext, and return whether this succeeded. 1598: ac_fn_cxx_try_compile () 1599: { 1600: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1601: rm -f conftest.$ac_objext 1602: if { { ac_try="$ac_compile" 1603: case "(($ac_try" in 1604: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1605: *) ac_try_echo=$ac_try;; 1606: esac 1607: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1608: $as_echo "$ac_try_echo"; } >&5 1609: (eval "$ac_compile") 2>conftest.err 1610: ac_status=$? 1611: if test -s conftest.err; then 1612: grep -v '^ *+' conftest.err >conftest.er1 1613: cat conftest.er1 >&5 1614: mv -f conftest.er1 conftest.err 1615: fi 1616: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1617: test $ac_status = 0; } && { 1618: test -z "$ac_cxx_werror_flag" || 1619: test ! -s conftest.err 1620: } && test -s conftest.$ac_objext; then : 1621: ac_retval=0 1622: else 1623: $as_echo "$as_me: failed program was:" >&5 1624: sed 's/^/| /' conftest.$ac_ext >&5 1625: 1626: ac_retval=1 1627: fi 1628: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1629: as_fn_set_status $ac_retval 1630: 1631: } # ac_fn_cxx_try_compile 1632: 1633: # ac_fn_f77_try_compile LINENO 1634: # ---------------------------- 1635: # Try to compile conftest.$ac_ext, and return whether this succeeded. 1636: ac_fn_f77_try_compile () 1637: { 1638: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1639: rm -f conftest.$ac_objext 1640: if { { ac_try="$ac_compile" 1641: case "(($ac_try" in 1642: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1643: *) ac_try_echo=$ac_try;; 1644: esac 1645: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1646: $as_echo "$ac_try_echo"; } >&5 1647: (eval "$ac_compile") 2>conftest.err 1648: ac_status=$? 1649: if test -s conftest.err; then 1650: grep -v '^ *+' conftest.err >conftest.er1 1651: cat conftest.er1 >&5 1652: mv -f conftest.er1 conftest.err 1653: fi 1654: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1655: test $ac_status = 0; } && { 1656: test -z "$ac_f77_werror_flag" || 1657: test ! -s conftest.err 1658: } && test -s conftest.$ac_objext; then : 1659: ac_retval=0 1660: else 1661: $as_echo "$as_me: failed program was:" >&5 1662: sed 's/^/| /' conftest.$ac_ext >&5 1663: 1664: ac_retval=1 1665: fi 1666: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1667: as_fn_set_status $ac_retval 1668: 1669: } # ac_fn_f77_try_compile 1670: 1671: # ac_fn_fc_try_compile LINENO 1672: # --------------------------- 1673: # Try to compile conftest.$ac_ext, and return whether this succeeded. 1674: ac_fn_fc_try_compile () 1675: { 1676: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1677: rm -f conftest.$ac_objext 1678: if { { ac_try="$ac_compile" 1679: case "(($ac_try" in 1680: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1681: *) ac_try_echo=$ac_try;; 1682: esac 1683: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1684: $as_echo "$ac_try_echo"; } >&5 1685: (eval "$ac_compile") 2>conftest.err 1686: ac_status=$? 1687: if test -s conftest.err; then 1688: grep -v '^ *+' conftest.err >conftest.er1 1689: cat conftest.er1 >&5 1690: mv -f conftest.er1 conftest.err 1691: fi 1692: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1693: test $ac_status = 0; } && { 1694: test -z "$ac_fc_werror_flag" || 1695: test ! -s conftest.err 1696: } && test -s conftest.$ac_objext; then : 1697: ac_retval=0 1698: else 1699: $as_echo "$as_me: failed program was:" >&5 1700: sed 's/^/| /' conftest.$ac_ext >&5 1701: 1702: ac_retval=1 1703: fi 1704: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1705: as_fn_set_status $ac_retval 1706: 1707: } # ac_fn_fc_try_compile 1708: 1709: # ac_fn_c_try_cpp LINENO 1710: # ---------------------- 1711: # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1712: ac_fn_c_try_cpp () 1713: { 1714: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1715: if { { ac_try="$ac_cpp conftest.$ac_ext" 1716: case "(($ac_try" in 1717: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1718: *) ac_try_echo=$ac_try;; 1719: esac 1720: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1721: $as_echo "$ac_try_echo"; } >&5 1722: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1723: ac_status=$? 1724: if test -s conftest.err; then 1725: grep -v '^ *+' conftest.err >conftest.er1 1726: cat conftest.er1 >&5 1727: mv -f conftest.er1 conftest.err 1728: fi 1729: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1730: test $ac_status = 0; } > conftest.i && { 1731: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1732: test ! -s conftest.err 1733: }; then : 1734: ac_retval=0 1735: else 1736: $as_echo "$as_me: failed program was:" >&5 1737: sed 's/^/| /' conftest.$ac_ext >&5 1738: 1739: ac_retval=1 1740: fi 1741: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1742: as_fn_set_status $ac_retval 1743: 1744: } # ac_fn_c_try_cpp 1745: 1746: # ac_fn_c_try_link LINENO 1747: # ----------------------- 1748: # Try to link conftest.$ac_ext, and return whether this succeeded. 1749: ac_fn_c_try_link () 1750: { 1751: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1752: rm -f conftest.$ac_objext conftest$ac_exeext 1753: if { { ac_try="$ac_link" 1754: case "(($ac_try" in 1755: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1756: *) ac_try_echo=$ac_try;; 1757: esac 1758: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1759: $as_echo "$ac_try_echo"; } >&5 1760: (eval "$ac_link") 2>conftest.err 1761: ac_status=$? 1762: if test -s conftest.err; then 1763: grep -v '^ *+' conftest.err >conftest.er1 1764: cat conftest.er1 >&5 1765: mv -f conftest.er1 conftest.err 1766: fi 1767: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1768: test $ac_status = 0; } && { 1769: test -z "$ac_c_werror_flag" || 1770: test ! -s conftest.err 1771: } && test -s conftest$ac_exeext && { 1772: test "$cross_compiling" = yes || 1773: $as_test_x conftest$ac_exeext 1774: }; then : 1775: ac_retval=0 1776: else 1777: $as_echo "$as_me: failed program was:" >&5 1778: sed 's/^/| /' conftest.$ac_ext >&5 1779: 1780: ac_retval=1 1781: fi 1782: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1783: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1784: # interfere with the next link command; also delete a directory that is 1785: # left behind by Apple's compiler. We do this before executing the actions. 1786: rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1787: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1788: as_fn_set_status $ac_retval 1789: 1790: } # ac_fn_c_try_link 1791: 1792: # ac_fn_c_check_func LINENO FUNC VAR 1793: # ---------------------------------- 1794: # Tests whether FUNC exists, setting the cache variable VAR accordingly 1795: ac_fn_c_check_func () 1796: { 1797: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1798: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1799: $as_echo_n "checking for $2... " >&6; } 1800: if eval "test \"\${$3+set}\"" = set; then : 1801: $as_echo_n "(cached) " >&6 1802: else 1803: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1804: /* end confdefs.h. */ 1805: /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1806: For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1807: #define $2 innocuous_$2 1808: 1809: /* System header to define __stub macros and hopefully few prototypes, 1810: which can conflict with char $2 (); below. 1811: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1812: <limits.h> exists even on freestanding compilers. */ 1813: 1814: #ifdef __STDC__ 1815: # include <limits.h> 1816: #else 1817: # include <assert.h> 1818: #endif 1819: 1820: #undef $2 1821: 1822: /* Override any GCC internal prototype to avoid an error. 1823: Use char because int might match the return type of a GCC 1824: builtin and then its argument prototype would still apply. */ 1825: #ifdef __cplusplus 1826: extern "C" 1827: #endif 1828: char $2 (); 1829: /* The GNU C library defines this for functions which it implements 1830: to always fail with ENOSYS. Some functions are actually named 1831: something starting with __ and the normal name is an alias. */ 1832: #if defined __stub_$2 || defined __stub___$2 1833: choke me 1834: #endif 1835: 1836: int 1837: main () 1838: { 1839: return $2 (); 1840: ; 1841: return 0; 1842: } 1843: _ACEOF 1844: if ac_fn_c_try_link "$LINENO"; then : 1845: eval "$3=yes" 1846: else 1847: eval "$3=no" 1848: fi 1849: rm -f core conftest.err conftest.$ac_objext \ 1850: conftest$ac_exeext conftest.$ac_ext 1851: fi 1852: eval ac_res=\$$3 1853: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1854: $as_echo "$ac_res" >&6; } 1855: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1856: 1857: } # ac_fn_c_check_func 1858: 1859: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1860: # ------------------------------------------- 1861: # Tests whether TYPE exists after having included INCLUDES, setting cache 1862: # variable VAR accordingly. 1863: ac_fn_c_check_type () 1864: { 1865: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1866: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1867: $as_echo_n "checking for $2... " >&6; } 1868: if eval "test \"\${$3+set}\"" = set; then : 1869: $as_echo_n "(cached) " >&6 1870: else 1871: eval "$3=no" 1872: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1873: /* end confdefs.h. */ 1874: $4 1875: int 1876: main () 1877: { 1878: if (sizeof ($2)) 1879: return 0; 1880: ; 1881: return 0; 1882: } 1883: _ACEOF 1884: if ac_fn_c_try_compile "$LINENO"; then : 1885: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1886: /* end confdefs.h. */ 1887: $4 1888: int 1889: main () 1890: { 1891: if (sizeof (($2))) 1892: return 0; 1893: ; 1894: return 0; 1895: } 1896: _ACEOF 1897: if ac_fn_c_try_compile "$LINENO"; then : 1898: 1899: else 1900: eval "$3=yes" 1901: fi 1902: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1903: fi 1904: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1905: fi 1906: eval ac_res=\$$3 1907: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1908: $as_echo "$ac_res" >&6; } 1909: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1910: 1911: } # ac_fn_c_check_type 1912: 1913: # ac_fn_c_try_run LINENO 1914: # ---------------------- 1915: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1916: # that executables *can* be run. 1917: ac_fn_c_try_run () 1918: { 1919: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1920: if { { ac_try="$ac_link" 1921: case "(($ac_try" in 1922: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1923: *) ac_try_echo=$ac_try;; 1924: esac 1925: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1926: $as_echo "$ac_try_echo"; } >&5 1927: (eval "$ac_link") 2>&5 1928: ac_status=$? 1929: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1930: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1931: { { case "(($ac_try" in 1932: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1933: *) ac_try_echo=$ac_try;; 1934: esac 1935: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1936: $as_echo "$ac_try_echo"; } >&5 1937: (eval "$ac_try") 2>&5 1938: ac_status=$? 1939: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1940: test $ac_status = 0; }; }; then : 1941: ac_retval=0 1942: else 1943: $as_echo "$as_me: program exited with status $ac_status" >&5 1944: $as_echo "$as_me: failed program was:" >&5 1945: sed 's/^/| /' conftest.$ac_ext >&5 1946: 1947: ac_retval=$ac_status 1948: fi 1949: rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1950: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1951: as_fn_set_status $ac_retval 1952: 1953: } # ac_fn_c_try_run 1954: 1955: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1956: # -------------------------------------------- 1957: # Tries to find the compile-time value of EXPR in a program that includes 1958: # INCLUDES, setting VAR accordingly. Returns whether the value could be 1959: # computed 1960: ac_fn_c_compute_int () 1961: { 1962: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1963: if test "$cross_compiling" = yes; then 1964: # Depending upon the size, compute the lo and hi bounds. 1965: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1966: /* end confdefs.h. */ 1967: $4 1968: int 1969: main () 1970: { 1971: static int test_array [1 - 2 * !(($2) >= 0)]; 1972: test_array [0] = 0 1973: 1974: ; 1975: return 0; 1976: } 1977: _ACEOF 1978: if ac_fn_c_try_compile "$LINENO"; then : 1979: ac_lo=0 ac_mid=0 1980: while :; do 1981: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1982: /* end confdefs.h. */ 1983: $4 1984: int 1985: main () 1986: { 1987: static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1988: test_array [0] = 0 1989: 1990: ; 1991: return 0; 1992: } 1993: _ACEOF 1994: if ac_fn_c_try_compile "$LINENO"; then : 1995: ac_hi=$ac_mid; break 1996: else 1997: as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1998: if test $ac_lo -le $ac_mid; then 1999: ac_lo= ac_hi= 2000: break 2001: fi 2002: as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2003: fi 2004: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2005: done 2006: else 2007: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2008: /* end confdefs.h. */ 2009: $4 2010: int 2011: main () 2012: { 2013: static int test_array [1 - 2 * !(($2) < 0)]; 2014: test_array [0] = 0 2015: 2016: ; 2017: return 0; 2018: } 2019: _ACEOF 2020: if ac_fn_c_try_compile "$LINENO"; then : 2021: ac_hi=-1 ac_mid=-1 2022: while :; do 2023: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2024: /* end confdefs.h. */ 2025: $4 2026: int 2027: main () 2028: { 2029: static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2030: test_array [0] = 0 2031: 2032: ; 2033: return 0; 2034: } 2035: _ACEOF 2036: if ac_fn_c_try_compile "$LINENO"; then : 2037: ac_lo=$ac_mid; break 2038: else 2039: as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2040: if test $ac_mid -le $ac_hi; then 2041: ac_lo= ac_hi= 2042: break 2043: fi 2044: as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2045: fi 2046: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2047: done 2048: else 2049: ac_lo= ac_hi= 2050: fi 2051: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2052: fi 2053: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2054: # Binary search between lo and hi bounds. 2055: while test "x$ac_lo" != "x$ac_hi"; do 2056: as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2057: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2058: /* end confdefs.h. */ 2059: $4 2060: int 2061: main () 2062: { 2063: static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2064: test_array [0] = 0 2065: 2066: ; 2067: return 0; 2068: } 2069: _ACEOF 2070: if ac_fn_c_try_compile "$LINENO"; then : 2071: ac_hi=$ac_mid 2072: else 2073: as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2074: fi 2075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2076: done 2077: case $ac_lo in #(( 2078: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2079: '') ac_retval=1 ;; 2080: esac 2081: else 2082: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2083: /* end confdefs.h. */ 2084: $4 2085: static long int longval () { return $2; } 2086: static unsigned long int ulongval () { return $2; } 2087: #include <stdio.h> 2088: #include <stdlib.h> 2089: int 2090: main () 2091: { 2092: 2093: FILE *f = fopen ("conftest.val", "w"); 2094: if (! f) 2095: return 1; 2096: if (($2) < 0) 2097: { 2098: long int i = longval (); 2099: if (i != ($2)) 2100: return 1; 2101: fprintf (f, "%ld", i); 2102: } 2103: else 2104: { 2105: unsigned long int i = ulongval (); 2106: if (i != ($2)) 2107: return 1; 2108: fprintf (f, "%lu", i); 2109: } 2110: /* Do not output a trailing newline, as this causes \r\n confusion 2111: on some platforms. */ 2112: return ferror (f) || fclose (f) != 0; 2113: 2114: ; 2115: return 0; 2116: } 2117: _ACEOF 2118: if ac_fn_c_try_run "$LINENO"; then : 2119: echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2120: else 2121: ac_retval=1 2122: fi 2123: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2124: conftest.$ac_objext conftest.beam conftest.$ac_ext 2125: rm -f conftest.val 2126: 2127: fi 2128: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2129: as_fn_set_status $ac_retval 2130: 2131: } # ac_fn_c_compute_int 2132: 2133: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2134: # ------------------------------------------------------- 2135: # Tests whether HEADER exists and can be compiled using the include files in 2136: # INCLUDES, setting the cache variable VAR accordingly. 2137: ac_fn_c_check_header_compile () 2138: { 2139: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2141: $as_echo_n "checking for $2... " >&6; } 2142: if eval "test \"\${$3+set}\"" = set; then : 2143: $as_echo_n "(cached) " >&6 2144: else 2145: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2146: /* end confdefs.h. */ 2147: $4 2148: #include <$2> 2149: _ACEOF 2150: if ac_fn_c_try_compile "$LINENO"; then : 2151: eval "$3=yes" 2152: else 2153: eval "$3=no" 2154: fi 2155: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2156: fi 2157: eval ac_res=\$$3 2158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2159: $as_echo "$ac_res" >&6; } 2160: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2161: 2162: } # ac_fn_c_check_header_compile 2163: 2164: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2165: # ------------------------------------------------------- 2166: # Tests whether HEADER exists, giving a warning if it cannot be compiled using 2167: # the include files in INCLUDES and setting the cache variable VAR 2168: # accordingly. 2169: ac_fn_c_check_header_mongrel () 2170: { 2171: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2172: if eval "test \"\${$3+set}\"" = set; then : 2173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2174: $as_echo_n "checking for $2... " >&6; } 2175: if eval "test \"\${$3+set}\"" = set; then : 2176: $as_echo_n "(cached) " >&6 2177: fi 2178: eval ac_res=\$$3 2179: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2180: $as_echo "$ac_res" >&6; } 2181: else 2182: # Is the header compilable? 2183: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2184: $as_echo_n "checking $2 usability... " >&6; } 2185: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2186: /* end confdefs.h. */ 2187: $4 2188: #include <$2> 2189: _ACEOF 2190: if ac_fn_c_try_compile "$LINENO"; then : 2191: ac_header_compiler=yes 2192: else 2193: ac_header_compiler=no 2194: fi 2195: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2196: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2197: $as_echo "$ac_header_compiler" >&6; } 2198: 2199: # Is the header present? 2200: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2201: $as_echo_n "checking $2 presence... " >&6; } 2202: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2203: /* end confdefs.h. */ 2204: #include <$2> 2205: _ACEOF 2206: if ac_fn_c_try_cpp "$LINENO"; then : 2207: ac_header_preproc=yes 2208: else 2209: ac_header_preproc=no 2210: fi 2211: rm -f conftest.err conftest.i conftest.$ac_ext 2212: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2213: $as_echo "$ac_header_preproc" >&6; } 2214: 2215: # So? What about this header? 2216: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2217: yes:no: ) 2218: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2219: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2220: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2221: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2222: ;; 2223: no:yes:* ) 2224: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2225: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2226: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2227: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2228: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2229: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2230: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2231: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2232: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2233: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2234: ;; 2235: esac 2236: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2237: $as_echo_n "checking for $2... " >&6; } 2238: if eval "test \"\${$3+set}\"" = set; then : 2239: $as_echo_n "(cached) " >&6 2240: else 2241: eval "$3=\$ac_header_compiler" 2242: fi 2243: eval ac_res=\$$3 2244: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2245: $as_echo "$ac_res" >&6; } 2246: fi 2247: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2248: 2249: } # ac_fn_c_check_header_mongrel 2250: cat >config.log <<_ACEOF 2251: This file contains any messages produced by compilers while 2252: running configure, to aid debugging if configure makes a mistake. 2253: 2254: It was created by rpl $as_me 4.0.20, which was 2255: generated by GNU Autoconf 2.67. Invocation command line was 2256: 2257: $ $0 $@ 2258: 2259: _ACEOF 2260: exec 5>>config.log 2261: { 2262: cat <<_ASUNAME 2263: ## --------- ## 2264: ## Platform. ## 2265: ## --------- ## 2266: 2267: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2268: uname -m = `(uname -m) 2>/dev/null || echo unknown` 2269: uname -r = `(uname -r) 2>/dev/null || echo unknown` 2270: uname -s = `(uname -s) 2>/dev/null || echo unknown` 2271: uname -v = `(uname -v) 2>/dev/null || echo unknown` 2272: 2273: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2274: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2275: 2276: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2277: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2278: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2279: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2280: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2281: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2282: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2283: 2284: _ASUNAME 2285: 2286: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2287: for as_dir in $PATH 2288: do 2289: IFS=$as_save_IFS 2290: test -z "$as_dir" && as_dir=. 2291: $as_echo "PATH: $as_dir" 2292: done 2293: IFS=$as_save_IFS 2294: 2295: } >&5 2296: 2297: cat >&5 <<_ACEOF 2298: 2299: 2300: ## ----------- ## 2301: ## Core tests. ## 2302: ## ----------- ## 2303: 2304: _ACEOF 2305: 2306: 2307: # Keep a trace of the command line. 2308: # Strip out --no-create and --no-recursion so they do not pile up. 2309: # Strip out --silent because we don't want to record it for future runs. 2310: # Also quote any args containing shell meta-characters. 2311: # Make two passes to allow for proper duplicate-argument suppression. 2312: ac_configure_args= 2313: ac_configure_args0= 2314: ac_configure_args1= 2315: ac_must_keep_next=false 2316: for ac_pass in 1 2 2317: do 2318: for ac_arg 2319: do 2320: case $ac_arg in 2321: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2322: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2323: | -silent | --silent | --silen | --sile | --sil) 2324: continue ;; 2325: *\'*) 2326: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2327: esac 2328: case $ac_pass in 2329: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2330: 2) 2331: as_fn_append ac_configure_args1 " '$ac_arg'" 2332: if test $ac_must_keep_next = true; then 2333: ac_must_keep_next=false # Got value, back to normal. 2334: else 2335: case $ac_arg in 2336: *=* | --config-cache | -C | -disable-* | --disable-* \ 2337: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2338: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2339: | -with-* | --with-* | -without-* | --without-* | --x) 2340: case "$ac_configure_args0 " in 2341: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2342: esac 2343: ;; 2344: -* ) ac_must_keep_next=true ;; 2345: esac 2346: fi 2347: as_fn_append ac_configure_args " '$ac_arg'" 2348: ;; 2349: esac 2350: done 2351: done 2352: { ac_configure_args0=; unset ac_configure_args0;} 2353: { ac_configure_args1=; unset ac_configure_args1;} 2354: 2355: # When interrupted or exit'd, cleanup temporary files, and complete 2356: # config.log. We remove comments because anyway the quotes in there 2357: # would cause problems or look ugly. 2358: # WARNING: Use '\'' to represent an apostrophe within the trap. 2359: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2360: trap 'exit_status=$? 2361: # Save into config.log some information that might help in debugging. 2362: { 2363: echo 2364: 2365: $as_echo "## ---------------- ## 2366: ## Cache variables. ## 2367: ## ---------------- ##" 2368: echo 2369: # The following way of writing the cache mishandles newlines in values, 2370: ( 2371: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2372: eval ac_val=\$$ac_var 2373: case $ac_val in #( 2374: *${as_nl}*) 2375: case $ac_var in #( 2376: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2377: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2378: esac 2379: case $ac_var in #( 2380: _ | IFS | as_nl) ;; #( 2381: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2382: *) { eval $ac_var=; unset $ac_var;} ;; 2383: esac ;; 2384: esac 2385: done 2386: (set) 2>&1 | 2387: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2388: *${as_nl}ac_space=\ *) 2389: sed -n \ 2390: "s/'\''/'\''\\\\'\'''\''/g; 2391: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2392: ;; #( 2393: *) 2394: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2395: ;; 2396: esac | 2397: sort 2398: ) 2399: echo 2400: 2401: $as_echo "## ----------------- ## 2402: ## Output variables. ## 2403: ## ----------------- ##" 2404: echo 2405: for ac_var in $ac_subst_vars 2406: do 2407: eval ac_val=\$$ac_var 2408: case $ac_val in 2409: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2410: esac 2411: $as_echo "$ac_var='\''$ac_val'\''" 2412: done | sort 2413: echo 2414: 2415: if test -n "$ac_subst_files"; then 2416: $as_echo "## ------------------- ## 2417: ## File substitutions. ## 2418: ## ------------------- ##" 2419: echo 2420: for ac_var in $ac_subst_files 2421: do 2422: eval ac_val=\$$ac_var 2423: case $ac_val in 2424: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2425: esac 2426: $as_echo "$ac_var='\''$ac_val'\''" 2427: done | sort 2428: echo 2429: fi 2430: 2431: if test -s confdefs.h; then 2432: $as_echo "## ----------- ## 2433: ## confdefs.h. ## 2434: ## ----------- ##" 2435: echo 2436: cat confdefs.h 2437: echo 2438: fi 2439: test "$ac_signal" != 0 && 2440: $as_echo "$as_me: caught signal $ac_signal" 2441: $as_echo "$as_me: exit $exit_status" 2442: } >&5 2443: rm -f core *.core core.conftest.* && 2444: rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2445: exit $exit_status 2446: ' 0 2447: for ac_signal in 1 2 13 15; do 2448: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2449: done 2450: ac_signal=0 2451: 2452: # confdefs.h avoids OS command line length limits that DEFS can exceed. 2453: rm -f -r conftest* confdefs.h 2454: 2455: $as_echo "/* confdefs.h */" > confdefs.h 2456: 2457: # Predefined preprocessor variables. 2458: 2459: cat >>confdefs.h <<_ACEOF 2460: #define PACKAGE_NAME "$PACKAGE_NAME" 2461: _ACEOF 2462: 2463: cat >>confdefs.h <<_ACEOF 2464: #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2465: _ACEOF 2466: 2467: cat >>confdefs.h <<_ACEOF 2468: #define PACKAGE_VERSION "$PACKAGE_VERSION" 2469: _ACEOF 2470: 2471: cat >>confdefs.h <<_ACEOF 2472: #define PACKAGE_STRING "$PACKAGE_STRING" 2473: _ACEOF 2474: 2475: cat >>confdefs.h <<_ACEOF 2476: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2477: _ACEOF 2478: 2479: cat >>confdefs.h <<_ACEOF 2480: #define PACKAGE_URL "$PACKAGE_URL" 2481: _ACEOF 2482: 2483: 2484: # Let the site file select an alternate cache file if it wants to. 2485: # Prefer an explicitly selected file to automatically selected ones. 2486: ac_site_file1=NONE 2487: ac_site_file2=NONE 2488: if test -n "$CONFIG_SITE"; then 2489: # We do not want a PATH search for config.site. 2490: case $CONFIG_SITE in #(( 2491: -*) ac_site_file1=./$CONFIG_SITE;; 2492: */*) ac_site_file1=$CONFIG_SITE;; 2493: *) ac_site_file1=./$CONFIG_SITE;; 2494: esac 2495: elif test "x$prefix" != xNONE; then 2496: ac_site_file1=$prefix/share/config.site 2497: ac_site_file2=$prefix/etc/config.site 2498: else 2499: ac_site_file1=$ac_default_prefix/share/config.site 2500: ac_site_file2=$ac_default_prefix/etc/config.site 2501: fi 2502: for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2503: do 2504: test "x$ac_site_file" = xNONE && continue 2505: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2506: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2507: $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2508: sed 's/^/| /' "$ac_site_file" >&5 2509: . "$ac_site_file" \ 2510: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2511: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2512: as_fn_error $? "failed to load site script $ac_site_file 2513: See \`config.log' for more details" "$LINENO" 5 ; } 2514: fi 2515: done 2516: 2517: if test -r "$cache_file"; then 2518: # Some versions of bash will fail to source /dev/null (special files 2519: # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2520: if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2521: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2522: $as_echo "$as_me: loading cache $cache_file" >&6;} 2523: case $cache_file in 2524: [\\/]* | ?:[\\/]* ) . "$cache_file";; 2525: *) . "./$cache_file";; 2526: esac 2527: fi 2528: else 2529: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2530: $as_echo "$as_me: creating cache $cache_file" >&6;} 2531: >$cache_file 2532: fi 2533: 2534: # Check that the precious variables saved in the cache have kept the same 2535: # value. 2536: ac_cache_corrupted=false 2537: for ac_var in $ac_precious_vars; do 2538: eval ac_old_set=\$ac_cv_env_${ac_var}_set 2539: eval ac_new_set=\$ac_env_${ac_var}_set 2540: eval ac_old_val=\$ac_cv_env_${ac_var}_value 2541: eval ac_new_val=\$ac_env_${ac_var}_value 2542: case $ac_old_set,$ac_new_set in 2543: set,) 2544: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2545: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2546: ac_cache_corrupted=: ;; 2547: ,set) 2548: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2549: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2550: ac_cache_corrupted=: ;; 2551: ,);; 2552: *) 2553: if test "x$ac_old_val" != "x$ac_new_val"; then 2554: # differences in whitespace do not lead to failure. 2555: ac_old_val_w=`echo x $ac_old_val` 2556: ac_new_val_w=`echo x $ac_new_val` 2557: if test "$ac_old_val_w" != "$ac_new_val_w"; then 2558: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2559: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2560: ac_cache_corrupted=: 2561: else 2562: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2563: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2564: eval $ac_var=\$ac_old_val 2565: fi 2566: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2567: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2568: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2569: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2570: fi;; 2571: esac 2572: # Pass precious variables to config.status. 2573: if test "$ac_new_set" = set; then 2574: case $ac_new_val in 2575: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2576: *) ac_arg=$ac_var=$ac_new_val ;; 2577: esac 2578: case " $ac_configure_args " in 2579: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2580: *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2581: esac 2582: fi 2583: done 2584: if $ac_cache_corrupted; then 2585: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2586: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2587: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2588: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2589: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2590: fi 2591: ## -------------------- ## 2592: ## Main body of script. ## 2593: ## -------------------- ## 2594: 2595: ac_ext=c 2596: ac_cpp='$CPP $CPPFLAGS' 2597: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2598: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2599: ac_compiler_gnu=$ac_cv_c_compiler_gnu 2600: 2601: 2602: ac_aux_dir= 2603: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2604: if test -f "$ac_dir/install-sh"; then 2605: ac_aux_dir=$ac_dir 2606: ac_install_sh="$ac_aux_dir/install-sh -c" 2607: break 2608: elif test -f "$ac_dir/install.sh"; then 2609: ac_aux_dir=$ac_dir 2610: ac_install_sh="$ac_aux_dir/install.sh -c" 2611: break 2612: elif test -f "$ac_dir/shtool"; then 2613: ac_aux_dir=$ac_dir 2614: ac_install_sh="$ac_aux_dir/shtool install -c" 2615: break 2616: fi 2617: done 2618: if test -z "$ac_aux_dir"; then 2619: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2620: fi 2621: 2622: # These three variables are undocumented and unsupported, 2623: # and are intended to be withdrawn in a future Autoconf release. 2624: # They can cause serious problems if a builder's source tree is in a directory 2625: # whose full name contains unusual characters. 2626: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2627: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2628: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2629: 2630: 2631: # Make sure we can run config.sub. 2632: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2633: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2634: 2635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2636: $as_echo_n "checking build system type... " >&6; } 2637: if test "${ac_cv_build+set}" = set; then : 2638: $as_echo_n "(cached) " >&6 2639: else 2640: ac_build_alias=$build_alias 2641: test "x$ac_build_alias" = x && 2642: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2643: test "x$ac_build_alias" = x && 2644: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2645: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2646: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2647: 2648: fi 2649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2650: $as_echo "$ac_cv_build" >&6; } 2651: case $ac_cv_build in 2652: *-*-*) ;; 2653: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2654: esac 2655: build=$ac_cv_build 2656: ac_save_IFS=$IFS; IFS='-' 2657: set x $ac_cv_build 2658: shift 2659: build_cpu=$1 2660: build_vendor=$2 2661: shift; shift 2662: # Remember, the first character of IFS is used to create $*, 2663: # except with old shells: 2664: build_os=$* 2665: IFS=$ac_save_IFS 2666: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2667: 2668: 2669: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2670: $as_echo_n "checking host system type... " >&6; } 2671: if test "${ac_cv_host+set}" = set; then : 2672: $as_echo_n "(cached) " >&6 2673: else 2674: if test "x$host_alias" = x; then 2675: ac_cv_host=$ac_cv_build 2676: else 2677: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2678: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2679: fi 2680: 2681: fi 2682: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2683: $as_echo "$ac_cv_host" >&6; } 2684: case $ac_cv_host in 2685: *-*-*) ;; 2686: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2687: esac 2688: host=$ac_cv_host 2689: ac_save_IFS=$IFS; IFS='-' 2690: set x $ac_cv_host 2691: shift 2692: host_cpu=$1 2693: host_vendor=$2 2694: shift; shift 2695: # Remember, the first character of IFS is used to create $*, 2696: # except with old shells: 2697: host_os=$* 2698: IFS=$ac_save_IFS 2699: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2700: 2701: 2702: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2703: $as_echo_n "checking target system type... " >&6; } 2704: if test "${ac_cv_target+set}" = set; then : 2705: $as_echo_n "(cached) " >&6 2706: else 2707: if test "x$target_alias" = x; then 2708: ac_cv_target=$ac_cv_host 2709: else 2710: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2711: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2712: fi 2713: 2714: fi 2715: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2716: $as_echo "$ac_cv_target" >&6; } 2717: case $ac_cv_target in 2718: *-*-*) ;; 2719: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 2720: esac 2721: target=$ac_cv_target 2722: ac_save_IFS=$IFS; IFS='-' 2723: set x $ac_cv_target 2724: shift 2725: target_cpu=$1 2726: target_vendor=$2 2727: shift; shift 2728: # Remember, the first character of IFS is used to create $*, 2729: # except with old shells: 2730: target_os=$* 2731: IFS=$ac_save_IFS 2732: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2733: 2734: 2735: # The aliases save the names the user supplied, while $host etc. 2736: # will get canonicalized. 2737: test -n "$target_alias" && 2738: test "$program_prefix$program_suffix$program_transform_name" = \ 2739: NONENONEs,x,x, && 2740: program_prefix=${target_alias}- 2741: 2742: am__api_version='1.11' 2743: 2744: # Find a good install program. We prefer a C program (faster), 2745: # so one script is as good as another. But avoid the broken or 2746: # incompatible versions: 2747: # SysV /etc/install, /usr/sbin/install 2748: # SunOS /usr/etc/install 2749: # IRIX /sbin/install 2750: # AIX /bin/install 2751: # AmigaOS /C/install, which installs bootblocks on floppy discs 2752: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2753: # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2754: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2755: # OS/2's system install, which has a completely different semantic 2756: # ./install, which can be erroneously created by make from ./install.sh. 2757: # Reject install programs that cannot install multiple files. 2758: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2759: $as_echo_n "checking for a BSD-compatible install... " >&6; } 2760: if test -z "$INSTALL"; then 2761: if test "${ac_cv_path_install+set}" = set; then : 2762: $as_echo_n "(cached) " >&6 2763: else 2764: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2765: for as_dir in $PATH 2766: do 2767: IFS=$as_save_IFS 2768: test -z "$as_dir" && as_dir=. 2769: # Account for people who put trailing slashes in PATH elements. 2770: case $as_dir/ in #(( 2771: ./ | .// | /[cC]/* | \ 2772: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2773: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2774: /usr/ucb/* ) ;; 2775: *) 2776: # OSF1 and SCO ODT 3.0 have their own names for install. 2777: # Don't use installbsd from OSF since it installs stuff as root 2778: # by default. 2779: for ac_prog in ginstall scoinst install; do 2780: for ac_exec_ext in '' $ac_executable_extensions; do 2781: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2782: if test $ac_prog = install && 2783: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2784: # AIX install. It has an incompatible calling convention. 2785: : 2786: elif test $ac_prog = install && 2787: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2788: # program-specific install script used by HP pwplus--don't use. 2789: : 2790: else 2791: rm -rf conftest.one conftest.two conftest.dir 2792: echo one > conftest.one 2793: echo two > conftest.two 2794: mkdir conftest.dir 2795: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2796: test -s conftest.one && test -s conftest.two && 2797: test -s conftest.dir/conftest.one && 2798: test -s conftest.dir/conftest.two 2799: then 2800: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2801: break 3 2802: fi 2803: fi 2804: fi 2805: done 2806: done 2807: ;; 2808: esac 2809: 2810: done 2811: IFS=$as_save_IFS 2812: 2813: rm -rf conftest.one conftest.two conftest.dir 2814: 2815: fi 2816: if test "${ac_cv_path_install+set}" = set; then 2817: INSTALL=$ac_cv_path_install 2818: else 2819: # As a last resort, use the slow shell script. Don't cache a 2820: # value for INSTALL within a source directory, because that will 2821: # break other packages using the cache if that directory is 2822: # removed, or if the value is a relative name. 2823: INSTALL=$ac_install_sh 2824: fi 2825: fi 2826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2827: $as_echo "$INSTALL" >&6; } 2828: 2829: # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2830: # It thinks the first close brace ends the variable substitution. 2831: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2832: 2833: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2834: 2835: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2836: 2837: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2838: $as_echo_n "checking whether build environment is sane... " >&6; } 2839: # Just in case 2840: sleep 1 2841: echo timestamp > conftest.file 2842: # Reject unsafe characters in $srcdir or the absolute working directory 2843: # name. Accept space and tab only in the latter. 2844: am_lf=' 2845: ' 2846: case `pwd` in 2847: *[\\\"\#\$\&\'\`$am_lf]*) 2848: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 2849: esac 2850: case $srcdir in 2851: *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2852: as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 2853: esac 2854: 2855: # Do `set' in a subshell so we don't clobber the current shell's 2856: # arguments. Must try -L first in case configure is actually a 2857: # symlink; some systems play weird games with the mod time of symlinks 2858: # (eg FreeBSD returns the mod time of the symlink's containing 2859: # directory). 2860: if ( 2861: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2862: if test "$*" = "X"; then 2863: # -L didn't work. 2864: set X `ls -t "$srcdir/configure" conftest.file` 2865: fi 2866: rm -f conftest.file 2867: if test "$*" != "X $srcdir/configure conftest.file" \ 2868: && test "$*" != "X conftest.file $srcdir/configure"; then 2869: 2870: # If neither matched, then we have a broken ls. This can happen 2871: # if, for instance, CONFIG_SHELL is bash and it inherits a 2872: # broken ls alias from the environment. This has actually 2873: # happened. Such a system could not be considered "sane". 2874: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2875: alias in your environment" "$LINENO" 5 2876: fi 2877: 2878: test "$2" = conftest.file 2879: ) 2880: then 2881: # Ok. 2882: : 2883: else 2884: as_fn_error $? "newly created file is older than distributed files! 2885: Check your system clock" "$LINENO" 5 2886: fi 2887: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2888: $as_echo "yes" >&6; } 2889: test "$program_prefix" != NONE && 2890: program_transform_name="s&^&$program_prefix&;$program_transform_name" 2891: # Use a double $ so make ignores it. 2892: test "$program_suffix" != NONE && 2893: program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2894: # Double any \ or $. 2895: # By default was `s,x,x', remove it if useless. 2896: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2897: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2898: 2899: # expand $ac_aux_dir to an absolute path 2900: am_aux_dir=`cd $ac_aux_dir && pwd` 2901: 2902: if test x"${MISSING+set}" != xset; then 2903: case $am_aux_dir in 2904: *\ * | *\ *) 2905: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2906: *) 2907: MISSING="\${SHELL} $am_aux_dir/missing" ;; 2908: esac 2909: fi 2910: # Use eval to expand $SHELL 2911: if eval "$MISSING --run true"; then 2912: am_missing_run="$MISSING --run " 2913: else 2914: am_missing_run= 2915: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2916: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2917: fi 2918: 2919: if test x"${install_sh}" != xset; then 2920: case $am_aux_dir in 2921: *\ * | *\ *) 2922: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2923: *) 2924: install_sh="\${SHELL} $am_aux_dir/install-sh" 2925: esac 2926: fi 2927: 2928: # Installed binaries are usually stripped using `strip' when the user 2929: # run `make install-strip'. However `strip' might not be the right 2930: # tool to use in cross-compilation environments, therefore Automake 2931: # will honor the `STRIP' environment variable to overrule this program. 2932: if test "$cross_compiling" != no; then 2933: if test -n "$ac_tool_prefix"; then 2934: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2935: set dummy ${ac_tool_prefix}strip; ac_word=$2 2936: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2937: $as_echo_n "checking for $ac_word... " >&6; } 2938: if test "${ac_cv_prog_STRIP+set}" = set; then : 2939: $as_echo_n "(cached) " >&6 2940: else 2941: if test -n "$STRIP"; then 2942: ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2943: else 2944: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2945: for as_dir in $PATH 2946: do 2947: IFS=$as_save_IFS 2948: test -z "$as_dir" && as_dir=. 2949: for ac_exec_ext in '' $ac_executable_extensions; do 2950: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2951: ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2952: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2953: break 2 2954: fi 2955: done 2956: done 2957: IFS=$as_save_IFS 2958: 2959: fi 2960: fi 2961: STRIP=$ac_cv_prog_STRIP 2962: if test -n "$STRIP"; then 2963: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2964: $as_echo "$STRIP" >&6; } 2965: else 2966: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2967: $as_echo "no" >&6; } 2968: fi 2969: 2970: 2971: fi 2972: if test -z "$ac_cv_prog_STRIP"; then 2973: ac_ct_STRIP=$STRIP 2974: # Extract the first word of "strip", so it can be a program name with args. 2975: set dummy strip; ac_word=$2 2976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2977: $as_echo_n "checking for $ac_word... " >&6; } 2978: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2979: $as_echo_n "(cached) " >&6 2980: else 2981: if test -n "$ac_ct_STRIP"; then 2982: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2983: else 2984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2985: for as_dir in $PATH 2986: do 2987: IFS=$as_save_IFS 2988: test -z "$as_dir" && as_dir=. 2989: for ac_exec_ext in '' $ac_executable_extensions; do 2990: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2991: ac_cv_prog_ac_ct_STRIP="strip" 2992: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2993: break 2 2994: fi 2995: done 2996: done 2997: IFS=$as_save_IFS 2998: 2999: fi 3000: fi 3001: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3002: if test -n "$ac_ct_STRIP"; then 3003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3004: $as_echo "$ac_ct_STRIP" >&6; } 3005: else 3006: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3007: $as_echo "no" >&6; } 3008: fi 3009: 3010: if test "x$ac_ct_STRIP" = x; then 3011: STRIP=":" 3012: else 3013: case $cross_compiling:$ac_tool_warned in 3014: yes:) 3015: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3016: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3017: ac_tool_warned=yes ;; 3018: esac 3019: STRIP=$ac_ct_STRIP 3020: fi 3021: else 3022: STRIP="$ac_cv_prog_STRIP" 3023: fi 3024: 3025: fi 3026: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3027: 3028: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3029: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3030: if test -z "$MKDIR_P"; then 3031: if test "${ac_cv_path_mkdir+set}" = set; then : 3032: $as_echo_n "(cached) " >&6 3033: else 3034: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3035: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3036: do 3037: IFS=$as_save_IFS 3038: test -z "$as_dir" && as_dir=. 3039: for ac_prog in mkdir gmkdir; do 3040: for ac_exec_ext in '' $ac_executable_extensions; do 3041: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 3042: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3043: 'mkdir (GNU coreutils) '* | \ 3044: 'mkdir (coreutils) '* | \ 3045: 'mkdir (fileutils) '4.1*) 3046: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3047: break 3;; 3048: esac 3049: done 3050: done 3051: done 3052: IFS=$as_save_IFS 3053: 3054: fi 3055: 3056: test -d ./--version && rmdir ./--version 3057: if test "${ac_cv_path_mkdir+set}" = set; then 3058: MKDIR_P="$ac_cv_path_mkdir -p" 3059: else 3060: # As a last resort, use the slow shell script. Don't cache a 3061: # value for MKDIR_P within a source directory, because that will 3062: # break other packages using the cache if that directory is 3063: # removed, or if the value is a relative name. 3064: MKDIR_P="$ac_install_sh -d" 3065: fi 3066: fi 3067: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3068: $as_echo "$MKDIR_P" >&6; } 3069: 3070: mkdir_p="$MKDIR_P" 3071: case $mkdir_p in 3072: [\\/$]* | ?:[\\/]*) ;; 3073: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 3074: esac 3075: 3076: for ac_prog in gawk mawk nawk awk 3077: do 3078: # Extract the first word of "$ac_prog", so it can be a program name with args. 3079: set dummy $ac_prog; ac_word=$2 3080: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3081: $as_echo_n "checking for $ac_word... " >&6; } 3082: if test "${ac_cv_prog_AWK+set}" = set; then : 3083: $as_echo_n "(cached) " >&6 3084: else 3085: if test -n "$AWK"; then 3086: ac_cv_prog_AWK="$AWK" # Let the user override the test. 3087: else 3088: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3089: for as_dir in $PATH 3090: do 3091: IFS=$as_save_IFS 3092: test -z "$as_dir" && as_dir=. 3093: for ac_exec_ext in '' $ac_executable_extensions; do 3094: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3095: ac_cv_prog_AWK="$ac_prog" 3096: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3097: break 2 3098: fi 3099: done 3100: done 3101: IFS=$as_save_IFS 3102: 3103: fi 3104: fi 3105: AWK=$ac_cv_prog_AWK 3106: if test -n "$AWK"; then 3107: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3108: $as_echo "$AWK" >&6; } 3109: else 3110: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3111: $as_echo "no" >&6; } 3112: fi 3113: 3114: 3115: test -n "$AWK" && break 3116: done 3117: 3118: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3119: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3120: set x ${MAKE-make} 3121: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3122: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 3123: $as_echo_n "(cached) " >&6 3124: else 3125: cat >conftest.make <<\_ACEOF 3126: SHELL = /bin/sh 3127: all: 3128: @echo '@@@%%%=$(MAKE)=@@@%%%' 3129: _ACEOF 3130: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3131: case `${MAKE-make} -f conftest.make 2>/dev/null` in 3132: *@@@%%%=?*=@@@%%%*) 3133: eval ac_cv_prog_make_${ac_make}_set=yes;; 3134: *) 3135: eval ac_cv_prog_make_${ac_make}_set=no;; 3136: esac 3137: rm -f conftest.make 3138: fi 3139: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3140: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3141: $as_echo "yes" >&6; } 3142: SET_MAKE= 3143: else 3144: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3145: $as_echo "no" >&6; } 3146: SET_MAKE="MAKE=${MAKE-make}" 3147: fi 3148: 3149: rm -rf .tst 2>/dev/null 3150: mkdir .tst 2>/dev/null 3151: if test -d .tst; then 3152: am__leading_dot=. 3153: else 3154: am__leading_dot=_ 3155: fi 3156: rmdir .tst 2>/dev/null 3157: 3158: if test "`cd $srcdir && pwd`" != "`pwd`"; then 3159: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3160: # is not polluted with repeated "-I." 3161: am__isrc=' -I$(srcdir)' 3162: # test to see if srcdir already configured 3163: if test -f $srcdir/config.status; then 3164: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3165: fi 3166: fi 3167: 3168: # test whether we have cygpath 3169: if test -z "$CYGPATH_W"; then 3170: if (cygpath --version) >/dev/null 2>/dev/null; then 3171: CYGPATH_W='cygpath -w' 3172: else 3173: CYGPATH_W=echo 3174: fi 3175: fi 3176: 3177: 3178: # Define the identity of the package. 3179: PACKAGE='rpl' 3180: VERSION='4.0.20' 3181: 3182: 3183: cat >>confdefs.h <<_ACEOF 3184: #define PACKAGE "$PACKAGE" 3185: _ACEOF 3186: 3187: 3188: cat >>confdefs.h <<_ACEOF 3189: #define VERSION "$VERSION" 3190: _ACEOF 3191: 3192: # Some tools Automake needs. 3193: 3194: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3195: 3196: 3197: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3198: 3199: 3200: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3201: 3202: 3203: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3204: 3205: 3206: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3207: 3208: # We need awk for the "check" target. The system "awk" is bad on 3209: # some platforms. 3210: # Always define AMTAR for backward compatibility. 3211: 3212: AMTAR=${AMTAR-"${am_missing_run}tar"} 3213: 3214: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 3215: 3216: 3217: 3218: 3219: 3220: 3221: ac_config_headers="$ac_config_headers rplconfig.h" 3222: 3223: 3224: NCURSES=ncurses-5.7-20101204 3225: READLINE=readline-6.1 3226: UNITS=units-1.88 3227: GSL=gsl-1.14 3228: GPP=gpp-2.24 3229: GNUPLOT=gnuplot-4.4.2 3230: FILE=file-5.03 3231: ICONV=libiconv-1.13.1 3232: SQLITE=sqlite-3.7.4 3233: OPENSSL=openssl-1.0.0c 3234: 3235: ac_ext=c 3236: ac_cpp='$CPP $CPPFLAGS' 3237: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3238: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3239: ac_compiler_gnu=$ac_cv_c_compiler_gnu 3240: if test -n "$ac_tool_prefix"; then 3241: for ac_prog in gcc 3242: do 3243: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3244: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3246: $as_echo_n "checking for $ac_word... " >&6; } 3247: if test "${ac_cv_prog_CC+set}" = set; then : 3248: $as_echo_n "(cached) " >&6 3249: else 3250: if test -n "$CC"; then 3251: ac_cv_prog_CC="$CC" # Let the user override the test. 3252: else 3253: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3254: for as_dir in $PATH 3255: do 3256: IFS=$as_save_IFS 3257: test -z "$as_dir" && as_dir=. 3258: for ac_exec_ext in '' $ac_executable_extensions; do 3259: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3260: ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3261: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3262: break 2 3263: fi 3264: done 3265: done 3266: IFS=$as_save_IFS 3267: 3268: fi 3269: fi 3270: CC=$ac_cv_prog_CC 3271: if test -n "$CC"; then 3272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3273: $as_echo "$CC" >&6; } 3274: else 3275: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3276: $as_echo "no" >&6; } 3277: fi 3278: 3279: 3280: test -n "$CC" && break 3281: done 3282: fi 3283: if test -z "$CC"; then 3284: ac_ct_CC=$CC 3285: for ac_prog in gcc 3286: do 3287: # Extract the first word of "$ac_prog", so it can be a program name with args. 3288: set dummy $ac_prog; ac_word=$2 3289: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3290: $as_echo_n "checking for $ac_word... " >&6; } 3291: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3292: $as_echo_n "(cached) " >&6 3293: else 3294: if test -n "$ac_ct_CC"; then 3295: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3296: else 3297: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3298: for as_dir in $PATH 3299: do 3300: IFS=$as_save_IFS 3301: test -z "$as_dir" && as_dir=. 3302: for ac_exec_ext in '' $ac_executable_extensions; do 3303: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3304: ac_cv_prog_ac_ct_CC="$ac_prog" 3305: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3306: break 2 3307: fi 3308: done 3309: done 3310: IFS=$as_save_IFS 3311: 3312: fi 3313: fi 3314: ac_ct_CC=$ac_cv_prog_ac_ct_CC 3315: if test -n "$ac_ct_CC"; then 3316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3317: $as_echo "$ac_ct_CC" >&6; } 3318: else 3319: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3320: $as_echo "no" >&6; } 3321: fi 3322: 3323: 3324: test -n "$ac_ct_CC" && break 3325: done 3326: 3327: if test "x$ac_ct_CC" = x; then 3328: CC="" 3329: else 3330: case $cross_compiling:$ac_tool_warned in 3331: yes:) 3332: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3333: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3334: ac_tool_warned=yes ;; 3335: esac 3336: CC=$ac_ct_CC 3337: fi 3338: fi 3339: 3340: 3341: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3342: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3343: as_fn_error $? "no acceptable C compiler found in \$PATH 3344: See \`config.log' for more details" "$LINENO" 5 ; } 3345: 3346: # Provide some information about the compiler. 3347: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3348: set X $ac_compile 3349: ac_compiler=$2 3350: for ac_option in --version -v -V -qversion; do 3351: { { ac_try="$ac_compiler $ac_option >&5" 3352: case "(($ac_try" in 3353: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3354: *) ac_try_echo=$ac_try;; 3355: esac 3356: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3357: $as_echo "$ac_try_echo"; } >&5 3358: (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3359: ac_status=$? 3360: if test -s conftest.err; then 3361: sed '10a\ 3362: ... rest of stderr output deleted ... 3363: 10q' conftest.err >conftest.er1 3364: cat conftest.er1 >&5 3365: fi 3366: rm -f conftest.er1 conftest.err 3367: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3368: test $ac_status = 0; } 3369: done 3370: 3371: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3372: /* end confdefs.h. */ 3373: 3374: int 3375: main () 3376: { 3377: 3378: ; 3379: return 0; 3380: } 3381: _ACEOF 3382: ac_clean_files_save=$ac_clean_files 3383: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3384: # Try to create an executable without -o first, disregard a.out. 3385: # It will help us diagnose broken compilers, and finding out an intuition 3386: # of exeext. 3387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3388: $as_echo_n "checking whether the C compiler works... " >&6; } 3389: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3390: 3391: # The possible output files: 3392: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3393: 3394: ac_rmfiles= 3395: for ac_file in $ac_files 3396: do 3397: case $ac_file in 3398: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3399: * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3400: esac 3401: done 3402: rm -f $ac_rmfiles 3403: 3404: if { { ac_try="$ac_link_default" 3405: case "(($ac_try" in 3406: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3407: *) ac_try_echo=$ac_try;; 3408: esac 3409: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3410: $as_echo "$ac_try_echo"; } >&5 3411: (eval "$ac_link_default") 2>&5 3412: ac_status=$? 3413: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3414: test $ac_status = 0; }; then : 3415: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3416: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3417: # in a Makefile. We should not override ac_cv_exeext if it was cached, 3418: # so that the user can short-circuit this test for compilers unknown to 3419: # Autoconf. 3420: for ac_file in $ac_files '' 3421: do 3422: test -f "$ac_file" || continue 3423: case $ac_file in 3424: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3425: ;; 3426: [ab].out ) 3427: # We found the default executable, but exeext='' is most 3428: # certainly right. 3429: break;; 3430: *.* ) 3431: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3432: then :; else 3433: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3434: fi 3435: # We set ac_cv_exeext here because the later test for it is not 3436: # safe: cross compilers may not add the suffix if given an `-o' 3437: # argument, so we may need to know it at that point already. 3438: # Even if this section looks crufty: it has the advantage of 3439: # actually working. 3440: break;; 3441: * ) 3442: break;; 3443: esac 3444: done 3445: test "$ac_cv_exeext" = no && ac_cv_exeext= 3446: 3447: else 3448: ac_file='' 3449: fi 3450: if test -z "$ac_file"; then : 3451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3452: $as_echo "no" >&6; } 3453: $as_echo "$as_me: failed program was:" >&5 3454: sed 's/^/| /' conftest.$ac_ext >&5 3455: 3456: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3457: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3458: as_fn_error 77 "C compiler cannot create executables 3459: See \`config.log' for more details" "$LINENO" 5 ; } 3460: else 3461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3462: $as_echo "yes" >&6; } 3463: fi 3464: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3465: $as_echo_n "checking for C compiler default output file name... " >&6; } 3466: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3467: $as_echo "$ac_file" >&6; } 3468: ac_exeext=$ac_cv_exeext 3469: 3470: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3471: ac_clean_files=$ac_clean_files_save 3472: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3473: $as_echo_n "checking for suffix of executables... " >&6; } 3474: if { { ac_try="$ac_link" 3475: case "(($ac_try" in 3476: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3477: *) ac_try_echo=$ac_try;; 3478: esac 3479: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3480: $as_echo "$ac_try_echo"; } >&5 3481: (eval "$ac_link") 2>&5 3482: ac_status=$? 3483: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3484: test $ac_status = 0; }; then : 3485: # If both `conftest.exe' and `conftest' are `present' (well, observable) 3486: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3487: # work properly (i.e., refer to `conftest.exe'), while it won't with 3488: # `rm'. 3489: for ac_file in conftest.exe conftest conftest.*; do 3490: test -f "$ac_file" || continue 3491: case $ac_file in 3492: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3493: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3494: break;; 3495: * ) break;; 3496: esac 3497: done 3498: else 3499: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3500: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3501: as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3502: See \`config.log' for more details" "$LINENO" 5 ; } 3503: fi 3504: rm -f conftest conftest$ac_cv_exeext 3505: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3506: $as_echo "$ac_cv_exeext" >&6; } 3507: 3508: rm -f conftest.$ac_ext 3509: EXEEXT=$ac_cv_exeext 3510: ac_exeext=$EXEEXT 3511: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3512: /* end confdefs.h. */ 3513: #include <stdio.h> 3514: int 3515: main () 3516: { 3517: FILE *f = fopen ("conftest.out", "w"); 3518: return ferror (f) || fclose (f) != 0; 3519: 3520: ; 3521: return 0; 3522: } 3523: _ACEOF 3524: ac_clean_files="$ac_clean_files conftest.out" 3525: # Check that the compiler produces executables we can run. If not, either 3526: # the compiler is broken, or we cross compile. 3527: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3528: $as_echo_n "checking whether we are cross compiling... " >&6; } 3529: if test "$cross_compiling" != yes; then 3530: { { ac_try="$ac_link" 3531: case "(($ac_try" in 3532: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3533: *) ac_try_echo=$ac_try;; 3534: esac 3535: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3536: $as_echo "$ac_try_echo"; } >&5 3537: (eval "$ac_link") 2>&5 3538: ac_status=$? 3539: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3540: test $ac_status = 0; } 3541: if { ac_try='./conftest$ac_cv_exeext' 3542: { { case "(($ac_try" in 3543: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3544: *) ac_try_echo=$ac_try;; 3545: esac 3546: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3547: $as_echo "$ac_try_echo"; } >&5 3548: (eval "$ac_try") 2>&5 3549: ac_status=$? 3550: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3551: test $ac_status = 0; }; }; then 3552: cross_compiling=no 3553: else 3554: if test "$cross_compiling" = maybe; then 3555: cross_compiling=yes 3556: else 3557: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3558: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3559: as_fn_error $? "cannot run C compiled programs. 3560: If you meant to cross compile, use \`--host'. 3561: See \`config.log' for more details" "$LINENO" 5 ; } 3562: fi 3563: fi 3564: fi 3565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3566: $as_echo "$cross_compiling" >&6; } 3567: 3568: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3569: ac_clean_files=$ac_clean_files_save 3570: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3571: $as_echo_n "checking for suffix of object files... " >&6; } 3572: if test "${ac_cv_objext+set}" = set; then : 3573: $as_echo_n "(cached) " >&6 3574: else 3575: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3576: /* end confdefs.h. */ 3577: 3578: int 3579: main () 3580: { 3581: 3582: ; 3583: return 0; 3584: } 3585: _ACEOF 3586: rm -f conftest.o conftest.obj 3587: if { { ac_try="$ac_compile" 3588: case "(($ac_try" in 3589: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3590: *) ac_try_echo=$ac_try;; 3591: esac 3592: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3593: $as_echo "$ac_try_echo"; } >&5 3594: (eval "$ac_compile") 2>&5 3595: ac_status=$? 3596: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3597: test $ac_status = 0; }; then : 3598: for ac_file in conftest.o conftest.obj conftest.*; do 3599: test -f "$ac_file" || continue; 3600: case $ac_file in 3601: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3602: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3603: break;; 3604: esac 3605: done 3606: else 3607: $as_echo "$as_me: failed program was:" >&5 3608: sed 's/^/| /' conftest.$ac_ext >&5 3609: 3610: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3611: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3612: as_fn_error $? "cannot compute suffix of object files: cannot compile 3613: See \`config.log' for more details" "$LINENO" 5 ; } 3614: fi 3615: rm -f conftest.$ac_cv_objext conftest.$ac_ext 3616: fi 3617: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3618: $as_echo "$ac_cv_objext" >&6; } 3619: OBJEXT=$ac_cv_objext 3620: ac_objext=$OBJEXT 3621: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3622: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3623: if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3624: $as_echo_n "(cached) " >&6 3625: else 3626: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3627: /* end confdefs.h. */ 3628: 3629: int 3630: main () 3631: { 3632: #ifndef __GNUC__ 3633: choke me 3634: #endif 3635: 3636: ; 3637: return 0; 3638: } 3639: _ACEOF 3640: if ac_fn_c_try_compile "$LINENO"; then : 3641: ac_compiler_gnu=yes 3642: else 3643: ac_compiler_gnu=no 3644: fi 3645: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3646: ac_cv_c_compiler_gnu=$ac_compiler_gnu 3647: 3648: fi 3649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3650: $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3651: if test $ac_compiler_gnu = yes; then 3652: GCC=yes 3653: else 3654: GCC= 3655: fi 3656: ac_test_CFLAGS=${CFLAGS+set} 3657: ac_save_CFLAGS=$CFLAGS 3658: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3659: $as_echo_n "checking whether $CC accepts -g... " >&6; } 3660: if test "${ac_cv_prog_cc_g+set}" = set; then : 3661: $as_echo_n "(cached) " >&6 3662: else 3663: ac_save_c_werror_flag=$ac_c_werror_flag 3664: ac_c_werror_flag=yes 3665: ac_cv_prog_cc_g=no 3666: CFLAGS="-g" 3667: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3668: /* end confdefs.h. */ 3669: 3670: int 3671: main () 3672: { 3673: 3674: ; 3675: return 0; 3676: } 3677: _ACEOF 3678: if ac_fn_c_try_compile "$LINENO"; then : 3679: ac_cv_prog_cc_g=yes 3680: else 3681: CFLAGS="" 3682: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3683: /* end confdefs.h. */ 3684: 3685: int 3686: main () 3687: { 3688: 3689: ; 3690: return 0; 3691: } 3692: _ACEOF 3693: if ac_fn_c_try_compile "$LINENO"; then : 3694: 3695: else 3696: ac_c_werror_flag=$ac_save_c_werror_flag 3697: CFLAGS="-g" 3698: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3699: /* end confdefs.h. */ 3700: 3701: int 3702: main () 3703: { 3704: 3705: ; 3706: return 0; 3707: } 3708: _ACEOF 3709: if ac_fn_c_try_compile "$LINENO"; then : 3710: ac_cv_prog_cc_g=yes 3711: fi 3712: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3713: fi 3714: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3715: fi 3716: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3717: ac_c_werror_flag=$ac_save_c_werror_flag 3718: fi 3719: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3720: $as_echo "$ac_cv_prog_cc_g" >&6; } 3721: if test "$ac_test_CFLAGS" = set; then 3722: CFLAGS=$ac_save_CFLAGS 3723: elif test $ac_cv_prog_cc_g = yes; then 3724: if test "$GCC" = yes; then 3725: CFLAGS="-g -O2" 3726: else 3727: CFLAGS="-g" 3728: fi 3729: else 3730: if test "$GCC" = yes; then 3731: CFLAGS="-O2" 3732: else 3733: CFLAGS= 3734: fi 3735: fi 3736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3737: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3738: if test "${ac_cv_prog_cc_c89+set}" = set; then : 3739: $as_echo_n "(cached) " >&6 3740: else 3741: ac_cv_prog_cc_c89=no 3742: ac_save_CC=$CC 3743: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3744: /* end confdefs.h. */ 3745: #include <stdarg.h> 3746: #include <stdio.h> 3747: #include <sys/types.h> 3748: #include <sys/stat.h> 3749: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3750: struct buf { int x; }; 3751: FILE * (*rcsopen) (struct buf *, struct stat *, int); 3752: static char *e (p, i) 3753: char **p; 3754: int i; 3755: { 3756: return p[i]; 3757: } 3758: static char *f (char * (*g) (char **, int), char **p, ...) 3759: { 3760: char *s; 3761: va_list v; 3762: va_start (v,p); 3763: s = g (p, va_arg (v,int)); 3764: va_end (v); 3765: return s; 3766: } 3767: 3768: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3769: function prototypes and stuff, but not '\xHH' hex character constants. 3770: These don't provoke an error unfortunately, instead are silently treated 3771: as 'x'. The following induces an error, until -std is added to get 3772: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3773: array size at least. It's necessary to write '\x00'==0 to get something 3774: that's true only with -std. */ 3775: int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3776: 3777: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3778: inside strings and character constants. */ 3779: #define FOO(x) 'x' 3780: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3781: 3782: int test (int i, double x); 3783: struct s1 {int (*f) (int a);}; 3784: struct s2 {int (*f) (double a);}; 3785: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3786: int argc; 3787: char **argv; 3788: int 3789: main () 3790: { 3791: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3792: ; 3793: return 0; 3794: } 3795: _ACEOF 3796: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3797: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3798: do 3799: CC="$ac_save_CC $ac_arg" 3800: if ac_fn_c_try_compile "$LINENO"; then : 3801: ac_cv_prog_cc_c89=$ac_arg 3802: fi 3803: rm -f core conftest.err conftest.$ac_objext 3804: test "x$ac_cv_prog_cc_c89" != "xno" && break 3805: done 3806: rm -f conftest.$ac_ext 3807: CC=$ac_save_CC 3808: 3809: fi 3810: # AC_CACHE_VAL 3811: case "x$ac_cv_prog_cc_c89" in 3812: x) 3813: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3814: $as_echo "none needed" >&6; } ;; 3815: xno) 3816: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3817: $as_echo "unsupported" >&6; } ;; 3818: *) 3819: CC="$CC $ac_cv_prog_cc_c89" 3820: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3821: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3822: esac 3823: if test "x$ac_cv_prog_cc_c89" != xno; then : 3824: 3825: fi 3826: 3827: ac_ext=c 3828: ac_cpp='$CPP $CPPFLAGS' 3829: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3830: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3831: ac_compiler_gnu=$ac_cv_c_compiler_gnu 3832: DEPDIR="${am__leading_dot}deps" 3833: 3834: ac_config_commands="$ac_config_commands depfiles" 3835: 3836: 3837: am_make=${MAKE-make} 3838: cat > confinc << 'END' 3839: am__doit: 3840: @echo this is the am__doit target 3841: .PHONY: am__doit 3842: END 3843: # If we don't find an include directive, just comment out the code. 3844: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3845: $as_echo_n "checking for style of include used by $am_make... " >&6; } 3846: am__include="#" 3847: am__quote= 3848: _am_result=none 3849: # First try GNU make style include. 3850: echo "include confinc" > confmf 3851: # Ignore all kinds of additional output from `make'. 3852: case `$am_make -s -f confmf 2> /dev/null` in #( 3853: *the\ am__doit\ target*) 3854: am__include=include 3855: am__quote= 3856: _am_result=GNU 3857: ;; 3858: esac 3859: # Now try BSD make style include. 3860: if test "$am__include" = "#"; then 3861: echo '.include "confinc"' > confmf 3862: case `$am_make -s -f confmf 2> /dev/null` in #( 3863: *the\ am__doit\ target*) 3864: am__include=.include 3865: am__quote="\"" 3866: _am_result=BSD 3867: ;; 3868: esac 3869: fi 3870: 3871: 3872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3873: $as_echo "$_am_result" >&6; } 3874: rm -f confinc confmf 3875: 3876: # Check whether --enable-dependency-tracking was given. 3877: if test "${enable_dependency_tracking+set}" = set; then : 3878: enableval=$enable_dependency_tracking; 3879: fi 3880: 3881: if test "x$enable_dependency_tracking" != xno; then 3882: am_depcomp="$ac_aux_dir/depcomp" 3883: AMDEPBACKSLASH='\' 3884: fi 3885: if test "x$enable_dependency_tracking" != xno; then 3886: AMDEP_TRUE= 3887: AMDEP_FALSE='#' 3888: else 3889: AMDEP_TRUE='#' 3890: AMDEP_FALSE= 3891: fi 3892: 3893: 3894: 3895: depcc="$CC" am_compiler_list= 3896: 3897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3898: $as_echo_n "checking dependency style of $depcc... " >&6; } 3899: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3900: $as_echo_n "(cached) " >&6 3901: else 3902: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3903: # We make a subdir and do the tests there. Otherwise we can end up 3904: # making bogus files that we don't know about and never remove. For 3905: # instance it was reported that on HP-UX the gcc test will end up 3906: # making a dummy file named `D' -- because `-MD' means `put the output 3907: # in D'. 3908: mkdir conftest.dir 3909: # Copy depcomp to subdir because otherwise we won't find it if we're 3910: # using a relative directory. 3911: cp "$am_depcomp" conftest.dir 3912: cd conftest.dir 3913: # We will build objects and dependencies in a subdirectory because 3914: # it helps to detect inapplicable dependency modes. For instance 3915: # both Tru64's cc and ICC support -MD to output dependencies as a 3916: # side effect of compilation, but ICC will put the dependencies in 3917: # the current directory while Tru64 will put them in the object 3918: # directory. 3919: mkdir sub 3920: 3921: am_cv_CC_dependencies_compiler_type=none 3922: if test "$am_compiler_list" = ""; then 3923: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3924: fi 3925: am__universal=false 3926: case " $depcc " in #( 3927: *\ -arch\ *\ -arch\ *) am__universal=true ;; 3928: esac 3929: 3930: for depmode in $am_compiler_list; do 3931: # Setup a source with many dependencies, because some compilers 3932: # like to wrap large dependency lists on column 80 (with \), and 3933: # we should not choose a depcomp mode which is confused by this. 3934: # 3935: # We need to recreate these files for each test, as the compiler may 3936: # overwrite some of them when testing with obscure command lines. 3937: # This happens at least with the AIX C compiler. 3938: : > sub/conftest.c 3939: for i in 1 2 3 4 5 6; do 3940: echo '#include "conftst'$i'.h"' >> sub/conftest.c 3941: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3942: # Solaris 8's {/usr,}/bin/sh. 3943: touch sub/conftst$i.h 3944: done 3945: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3946: 3947: # We check with `-c' and `-o' for the sake of the "dashmstdout" 3948: # mode. It turns out that the SunPro C++ compiler does not properly 3949: # handle `-M -o', and we need to detect this. Also, some Intel 3950: # versions had trouble with output in subdirs 3951: am__obj=sub/conftest.${OBJEXT-o} 3952: am__minus_obj="-o $am__obj" 3953: case $depmode in 3954: gcc) 3955: # This depmode causes a compiler race in universal mode. 3956: test "$am__universal" = false || continue 3957: ;; 3958: nosideeffect) 3959: # after this tag, mechanisms are not by side-effect, so they'll 3960: # only be used when explicitly requested 3961: if test "x$enable_dependency_tracking" = xyes; then 3962: continue 3963: else 3964: break 3965: fi 3966: ;; 3967: msvisualcpp | msvcmsys) 3968: # This compiler won't grok `-c -o', but also, the minuso test has 3969: # not run yet. These depmodes are late enough in the game, and 3970: # so weak that their functioning should not be impacted. 3971: am__obj=conftest.${OBJEXT-o} 3972: am__minus_obj= 3973: ;; 3974: none) break ;; 3975: esac 3976: if depmode=$depmode \ 3977: source=sub/conftest.c object=$am__obj \ 3978: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3979: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3980: >/dev/null 2>conftest.err && 3981: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3982: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3983: grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3984: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3985: # icc doesn't choke on unknown options, it will just issue warnings 3986: # or remarks (even with -Werror). So we grep stderr for any message 3987: # that says an option was ignored or not supported. 3988: # When given -MP, icc 7.0 and 7.1 complain thusly: 3989: # icc: Command line warning: ignoring option '-M'; no argument required 3990: # The diagnosis changed in icc 8.0: 3991: # icc: Command line remark: option '-MP' not supported 3992: if (grep 'ignoring option' conftest.err || 3993: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3994: am_cv_CC_dependencies_compiler_type=$depmode 3995: break 3996: fi 3997: fi 3998: done 3999: 4000: cd .. 4001: rm -rf conftest.dir 4002: else 4003: am_cv_CC_dependencies_compiler_type=none 4004: fi 4005: 4006: fi 4007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4008: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4009: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4010: 4011: if 4012: test "x$enable_dependency_tracking" != xno \ 4013: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4014: am__fastdepCC_TRUE= 4015: am__fastdepCC_FALSE='#' 4016: else 4017: am__fastdepCC_TRUE='#' 4018: am__fastdepCC_FALSE= 4019: fi 4020: 4021: 4022: 4023: EXT_SQL= 4024: 4025: if test x"$CC" != x""; then 4026: GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \ 4027: awk -F. '{ printf("%s", $1);}'` 4028: GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \ 4029: awk -F. '{ printf("%s", $2);}'` 4030: if test $GCC_VERSION_MAJEURE -ge 5; then 4031: OPTIMISATION_C=-O3 4032: else 4033: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \ 4034: then 4035: OPTIMISATION_C=-O3 4036: else 4037: if test $GCC_VERSION_MAJEURE -ge 2; then 4038: OPTIMISATION_C=-O2 4039: else 4040: as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5 4041: fi 4042: fi 4043: fi 4044: fi 4045: 4046: if test "x$CC" != xcc; then 4047: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 4048: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 4049: else 4050: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 4051: $as_echo_n "checking whether cc understands -c and -o together... " >&6; } 4052: fi 4053: set dummy $CC; ac_cc=`$as_echo "$2" | 4054: sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4055: if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then : 4056: $as_echo_n "(cached) " >&6 4057: else 4058: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4059: /* end confdefs.h. */ 4060: 4061: int 4062: main () 4063: { 4064: 4065: ; 4066: return 0; 4067: } 4068: _ACEOF 4069: # Make sure it works both with $CC and with simple cc. 4070: # We do the test twice because some compilers refuse to overwrite an 4071: # existing .o file with -o, though they will create one. 4072: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 4073: rm -f conftest2.* 4074: if { { case "(($ac_try" in 4075: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4076: *) ac_try_echo=$ac_try;; 4077: esac 4078: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4079: $as_echo "$ac_try_echo"; } >&5 4080: (eval "$ac_try") 2>&5 4081: ac_status=$? 4082: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4083: test $ac_status = 0; } && 4084: test -f conftest2.$ac_objext && { { case "(($ac_try" in 4085: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4086: *) ac_try_echo=$ac_try;; 4087: esac 4088: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4089: $as_echo "$ac_try_echo"; } >&5 4090: (eval "$ac_try") 2>&5 4091: ac_status=$? 4092: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4093: test $ac_status = 0; }; 4094: then 4095: eval ac_cv_prog_cc_${ac_cc}_c_o=yes 4096: if test "x$CC" != xcc; then 4097: # Test first that cc exists at all. 4098: if { ac_try='cc -c conftest.$ac_ext >&5' 4099: { { case "(($ac_try" in 4100: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4101: *) ac_try_echo=$ac_try;; 4102: esac 4103: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4104: $as_echo "$ac_try_echo"; } >&5 4105: (eval "$ac_try") 2>&5 4106: ac_status=$? 4107: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4108: test $ac_status = 0; }; }; then 4109: ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 4110: rm -f conftest2.* 4111: if { { case "(($ac_try" in 4112: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4113: *) ac_try_echo=$ac_try;; 4114: esac 4115: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4116: $as_echo "$ac_try_echo"; } >&5 4117: (eval "$ac_try") 2>&5 4118: ac_status=$? 4119: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4120: test $ac_status = 0; } && 4121: test -f conftest2.$ac_objext && { { case "(($ac_try" in 4122: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4123: *) ac_try_echo=$ac_try;; 4124: esac 4125: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4126: $as_echo "$ac_try_echo"; } >&5 4127: (eval "$ac_try") 2>&5 4128: ac_status=$? 4129: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4130: test $ac_status = 0; }; 4131: then 4132: # cc works too. 4133: : 4134: else 4135: # cc exists but doesn't like -o. 4136: eval ac_cv_prog_cc_${ac_cc}_c_o=no 4137: fi 4138: fi 4139: fi 4140: else 4141: eval ac_cv_prog_cc_${ac_cc}_c_o=no 4142: fi 4143: rm -f core conftest* 4144: 4145: fi 4146: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 4147: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4148: $as_echo "yes" >&6; } 4149: else 4150: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4151: $as_echo "no" >&6; } 4152: 4153: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h 4154: 4155: fi 4156: 4157: # FIXME: we rely on the cache variable name because 4158: # there is no other way. 4159: set dummy $CC 4160: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4161: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 4162: if test "$am_t" != yes; then 4163: # Losing compiler, so override with the script. 4164: # FIXME: It is wrong to rewrite CC. 4165: # But if we don't then we get into trouble of one sort or another. 4166: # A longer-term fix would be to have automake use am__CC in this case, 4167: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4168: CC="$am_aux_dir/compile $CC" 4169: fi 4170: 4171: 4172: 4173: if test "$GCC" != yes; then 4174: as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5 4175: fi 4176: 4177: ac_ext=cpp 4178: ac_cpp='$CXXCPP $CPPFLAGS' 4179: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4180: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4181: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4182: if test -z "$CXX"; then 4183: if test -n "$CCC"; then 4184: CXX=$CCC 4185: else 4186: if test -n "$ac_tool_prefix"; then 4187: for ac_prog in g++ 4188: do 4189: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4190: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4191: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4192: $as_echo_n "checking for $ac_word... " >&6; } 4193: if test "${ac_cv_prog_CXX+set}" = set; then : 4194: $as_echo_n "(cached) " >&6 4195: else 4196: if test -n "$CXX"; then 4197: ac_cv_prog_CXX="$CXX" # Let the user override the test. 4198: else 4199: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4200: for as_dir in $PATH 4201: do 4202: IFS=$as_save_IFS 4203: test -z "$as_dir" && as_dir=. 4204: for ac_exec_ext in '' $ac_executable_extensions; do 4205: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4206: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4207: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4208: break 2 4209: fi 4210: done 4211: done 4212: IFS=$as_save_IFS 4213: 4214: fi 4215: fi 4216: CXX=$ac_cv_prog_CXX 4217: if test -n "$CXX"; then 4218: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4219: $as_echo "$CXX" >&6; } 4220: else 4221: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4222: $as_echo "no" >&6; } 4223: fi 4224: 4225: 4226: test -n "$CXX" && break 4227: done 4228: fi 4229: if test -z "$CXX"; then 4230: ac_ct_CXX=$CXX 4231: for ac_prog in g++ 4232: do 4233: # Extract the first word of "$ac_prog", so it can be a program name with args. 4234: set dummy $ac_prog; ac_word=$2 4235: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4236: $as_echo_n "checking for $ac_word... " >&6; } 4237: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 4238: $as_echo_n "(cached) " >&6 4239: else 4240: if test -n "$ac_ct_CXX"; then 4241: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4242: else 4243: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4244: for as_dir in $PATH 4245: do 4246: IFS=$as_save_IFS 4247: test -z "$as_dir" && as_dir=. 4248: for ac_exec_ext in '' $ac_executable_extensions; do 4249: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4250: ac_cv_prog_ac_ct_CXX="$ac_prog" 4251: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4252: break 2 4253: fi 4254: done 4255: done 4256: IFS=$as_save_IFS 4257: 4258: fi 4259: fi 4260: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4261: if test -n "$ac_ct_CXX"; then 4262: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4263: $as_echo "$ac_ct_CXX" >&6; } 4264: else 4265: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4266: $as_echo "no" >&6; } 4267: fi 4268: 4269: 4270: test -n "$ac_ct_CXX" && break 4271: done 4272: 4273: if test "x$ac_ct_CXX" = x; then 4274: CXX="g++" 4275: else 4276: case $cross_compiling:$ac_tool_warned in 4277: yes:) 4278: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4279: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4280: ac_tool_warned=yes ;; 4281: esac 4282: CXX=$ac_ct_CXX 4283: fi 4284: fi 4285: 4286: fi 4287: fi 4288: # Provide some information about the compiler. 4289: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 4290: set X $ac_compile 4291: ac_compiler=$2 4292: for ac_option in --version -v -V -qversion; do 4293: { { ac_try="$ac_compiler $ac_option >&5" 4294: case "(($ac_try" in 4295: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4296: *) ac_try_echo=$ac_try;; 4297: esac 4298: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4299: $as_echo "$ac_try_echo"; } >&5 4300: (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4301: ac_status=$? 4302: if test -s conftest.err; then 4303: sed '10a\ 4304: ... rest of stderr output deleted ... 4305: 10q' conftest.err >conftest.er1 4306: cat conftest.er1 >&5 4307: fi 4308: rm -f conftest.er1 conftest.err 4309: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4310: test $ac_status = 0; } 4311: done 4312: 4313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 4314: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 4315: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 4316: $as_echo_n "(cached) " >&6 4317: else 4318: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4319: /* end confdefs.h. */ 4320: 4321: int 4322: main () 4323: { 4324: #ifndef __GNUC__ 4325: choke me 4326: #endif 4327: 4328: ; 4329: return 0; 4330: } 4331: _ACEOF 4332: if ac_fn_cxx_try_compile "$LINENO"; then : 4333: ac_compiler_gnu=yes 4334: else 4335: ac_compiler_gnu=no 4336: fi 4337: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4338: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 4339: 4340: fi 4341: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 4342: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 4343: if test $ac_compiler_gnu = yes; then 4344: GXX=yes 4345: else 4346: GXX= 4347: fi 4348: ac_test_CXXFLAGS=${CXXFLAGS+set} 4349: ac_save_CXXFLAGS=$CXXFLAGS 4350: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 4351: $as_echo_n "checking whether $CXX accepts -g... " >&6; } 4352: if test "${ac_cv_prog_cxx_g+set}" = set; then : 4353: $as_echo_n "(cached) " >&6 4354: else 4355: ac_save_cxx_werror_flag=$ac_cxx_werror_flag 4356: ac_cxx_werror_flag=yes 4357: ac_cv_prog_cxx_g=no 4358: CXXFLAGS="-g" 4359: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4360: /* end confdefs.h. */ 4361: 4362: int 4363: main () 4364: { 4365: 4366: ; 4367: return 0; 4368: } 4369: _ACEOF 4370: if ac_fn_cxx_try_compile "$LINENO"; then : 4371: ac_cv_prog_cxx_g=yes 4372: else 4373: CXXFLAGS="" 4374: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4375: /* end confdefs.h. */ 4376: 4377: int 4378: main () 4379: { 4380: 4381: ; 4382: return 0; 4383: } 4384: _ACEOF 4385: if ac_fn_cxx_try_compile "$LINENO"; then : 4386: 4387: else 4388: ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4389: CXXFLAGS="-g" 4390: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4391: /* end confdefs.h. */ 4392: 4393: int 4394: main () 4395: { 4396: 4397: ; 4398: return 0; 4399: } 4400: _ACEOF 4401: if ac_fn_cxx_try_compile "$LINENO"; then : 4402: ac_cv_prog_cxx_g=yes 4403: fi 4404: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4405: fi 4406: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4407: fi 4408: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4409: ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4410: fi 4411: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4412: $as_echo "$ac_cv_prog_cxx_g" >&6; } 4413: if test "$ac_test_CXXFLAGS" = set; then 4414: CXXFLAGS=$ac_save_CXXFLAGS 4415: elif test $ac_cv_prog_cxx_g = yes; then 4416: if test "$GXX" = yes; then 4417: CXXFLAGS="-g -O2" 4418: else 4419: CXXFLAGS="-g" 4420: fi 4421: else 4422: if test "$GXX" = yes; then 4423: CXXFLAGS="-O2" 4424: else 4425: CXXFLAGS= 4426: fi 4427: fi 4428: ac_ext=c 4429: ac_cpp='$CPP $CPPFLAGS' 4430: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4431: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4432: ac_compiler_gnu=$ac_cv_c_compiler_gnu 4433: 4434: depcc="$CXX" am_compiler_list= 4435: 4436: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4437: $as_echo_n "checking dependency style of $depcc... " >&6; } 4438: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : 4439: $as_echo_n "(cached) " >&6 4440: else 4441: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4442: # We make a subdir and do the tests there. Otherwise we can end up 4443: # making bogus files that we don't know about and never remove. For 4444: # instance it was reported that on HP-UX the gcc test will end up 4445: # making a dummy file named `D' -- because `-MD' means `put the output 4446: # in D'. 4447: mkdir conftest.dir 4448: # Copy depcomp to subdir because otherwise we won't find it if we're 4449: # using a relative directory. 4450: cp "$am_depcomp" conftest.dir 4451: cd conftest.dir 4452: # We will build objects and dependencies in a subdirectory because 4453: # it helps to detect inapplicable dependency modes. For instance 4454: # both Tru64's cc and ICC support -MD to output dependencies as a 4455: # side effect of compilation, but ICC will put the dependencies in 4456: # the current directory while Tru64 will put them in the object 4457: # directory. 4458: mkdir sub 4459: 4460: am_cv_CXX_dependencies_compiler_type=none 4461: if test "$am_compiler_list" = ""; then 4462: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4463: fi 4464: am__universal=false 4465: case " $depcc " in #( 4466: *\ -arch\ *\ -arch\ *) am__universal=true ;; 4467: esac 4468: 4469: for depmode in $am_compiler_list; do 4470: # Setup a source with many dependencies, because some compilers 4471: # like to wrap large dependency lists on column 80 (with \), and 4472: # we should not choose a depcomp mode which is confused by this. 4473: # 4474: # We need to recreate these files for each test, as the compiler may 4475: # overwrite some of them when testing with obscure command lines. 4476: # This happens at least with the AIX C compiler. 4477: : > sub/conftest.c 4478: for i in 1 2 3 4 5 6; do 4479: echo '#include "conftst'$i'.h"' >> sub/conftest.c 4480: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4481: # Solaris 8's {/usr,}/bin/sh. 4482: touch sub/conftst$i.h 4483: done 4484: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4485: 4486: # We check with `-c' and `-o' for the sake of the "dashmstdout" 4487: # mode. It turns out that the SunPro C++ compiler does not properly 4488: # handle `-M -o', and we need to detect this. Also, some Intel 4489: # versions had trouble with output in subdirs 4490: am__obj=sub/conftest.${OBJEXT-o} 4491: am__minus_obj="-o $am__obj" 4492: case $depmode in 4493: gcc) 4494: # This depmode causes a compiler race in universal mode. 4495: test "$am__universal" = false || continue 4496: ;; 4497: nosideeffect) 4498: # after this tag, mechanisms are not by side-effect, so they'll 4499: # only be used when explicitly requested 4500: if test "x$enable_dependency_tracking" = xyes; then 4501: continue 4502: else 4503: break 4504: fi 4505: ;; 4506: msvisualcpp | msvcmsys) 4507: # This compiler won't grok `-c -o', but also, the minuso test has 4508: # not run yet. These depmodes are late enough in the game, and 4509: # so weak that their functioning should not be impacted. 4510: am__obj=conftest.${OBJEXT-o} 4511: am__minus_obj= 4512: ;; 4513: none) break ;; 4514: esac 4515: if depmode=$depmode \ 4516: source=sub/conftest.c object=$am__obj \ 4517: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4518: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4519: >/dev/null 2>conftest.err && 4520: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4521: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4522: grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4523: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4524: # icc doesn't choke on unknown options, it will just issue warnings 4525: # or remarks (even with -Werror). So we grep stderr for any message 4526: # that says an option was ignored or not supported. 4527: # When given -MP, icc 7.0 and 7.1 complain thusly: 4528: # icc: Command line warning: ignoring option '-M'; no argument required 4529: # The diagnosis changed in icc 8.0: 4530: # icc: Command line remark: option '-MP' not supported 4531: if (grep 'ignoring option' conftest.err || 4532: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4533: am_cv_CXX_dependencies_compiler_type=$depmode 4534: break 4535: fi 4536: fi 4537: done 4538: 4539: cd .. 4540: rm -rf conftest.dir 4541: else 4542: am_cv_CXX_dependencies_compiler_type=none 4543: fi 4544: 4545: fi 4546: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4547: $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4548: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4549: 4550: if 4551: test "x$enable_dependency_tracking" != xno \ 4552: && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4553: am__fastdepCXX_TRUE= 4554: am__fastdepCXX_FALSE='#' 4555: else 4556: am__fastdepCXX_TRUE='#' 4557: am__fastdepCXX_FALSE= 4558: fi 4559: 4560: 4561: 4562: if test "$GXX" != yes; then 4563: as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5 4564: fi 4565: 4566: ac_ext=f 4567: ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' 4568: ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4569: ac_compiler_gnu=$ac_cv_f77_compiler_gnu 4570: if test -n "$ac_tool_prefix"; then 4571: for ac_prog in gfortran 4572: do 4573: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4574: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4575: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4576: $as_echo_n "checking for $ac_word... " >&6; } 4577: if test "${ac_cv_prog_F77+set}" = set; then : 4578: $as_echo_n "(cached) " >&6 4579: else 4580: if test -n "$F77"; then 4581: ac_cv_prog_F77="$F77" # Let the user override the test. 4582: else 4583: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4584: for as_dir in $PATH 4585: do 4586: IFS=$as_save_IFS 4587: test -z "$as_dir" && as_dir=. 4588: for ac_exec_ext in '' $ac_executable_extensions; do 4589: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4590: ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 4591: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4592: break 2 4593: fi 4594: done 4595: done 4596: IFS=$as_save_IFS 4597: 4598: fi 4599: fi 4600: F77=$ac_cv_prog_F77 4601: if test -n "$F77"; then 4602: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5 4603: $as_echo "$F77" >&6; } 4604: else 4605: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4606: $as_echo "no" >&6; } 4607: fi 4608: 4609: 4610: test -n "$F77" && break 4611: done 4612: fi 4613: if test -z "$F77"; then 4614: ac_ct_F77=$F77 4615: for ac_prog in gfortran 4616: do 4617: # Extract the first word of "$ac_prog", so it can be a program name with args. 4618: set dummy $ac_prog; ac_word=$2 4619: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4620: $as_echo_n "checking for $ac_word... " >&6; } 4621: if test "${ac_cv_prog_ac_ct_F77+set}" = set; then : 4622: $as_echo_n "(cached) " >&6 4623: else 4624: if test -n "$ac_ct_F77"; then 4625: ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. 4626: else 4627: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4628: for as_dir in $PATH 4629: do 4630: IFS=$as_save_IFS 4631: test -z "$as_dir" && as_dir=. 4632: for ac_exec_ext in '' $ac_executable_extensions; do 4633: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4634: ac_cv_prog_ac_ct_F77="$ac_prog" 4635: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4636: break 2 4637: fi 4638: done 4639: done 4640: IFS=$as_save_IFS 4641: 4642: fi 4643: fi 4644: ac_ct_F77=$ac_cv_prog_ac_ct_F77 4645: if test -n "$ac_ct_F77"; then 4646: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5 4647: $as_echo "$ac_ct_F77" >&6; } 4648: else 4649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4650: $as_echo "no" >&6; } 4651: fi 4652: 4653: 4654: test -n "$ac_ct_F77" && break 4655: done 4656: 4657: if test "x$ac_ct_F77" = x; then 4658: F77="" 4659: else 4660: case $cross_compiling:$ac_tool_warned in 4661: yes:) 4662: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4663: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4664: ac_tool_warned=yes ;; 4665: esac 4666: F77=$ac_ct_F77 4667: fi 4668: fi 4669: 4670: 4671: # Provide some information about the compiler. 4672: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5 4673: set X $ac_compile 4674: ac_compiler=$2 4675: for ac_option in --version -v -V -qversion; do 4676: { { ac_try="$ac_compiler $ac_option >&5" 4677: case "(($ac_try" in 4678: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4679: *) ac_try_echo=$ac_try;; 4680: esac 4681: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4682: $as_echo "$ac_try_echo"; } >&5 4683: (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4684: ac_status=$? 4685: if test -s conftest.err; then 4686: sed '10a\ 4687: ... rest of stderr output deleted ... 4688: 10q' conftest.err >conftest.er1 4689: cat conftest.er1 >&5 4690: fi 4691: rm -f conftest.er1 conftest.err 4692: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4693: test $ac_status = 0; } 4694: done 4695: rm -f a.out 4696: 4697: # If we don't use `.F' as extension, the preprocessor is not run on the 4698: # input file. (Note that this only needs to work for GNU compilers.) 4699: ac_save_ext=$ac_ext 4700: ac_ext=F 4701: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5 4702: $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; } 4703: if test "${ac_cv_f77_compiler_gnu+set}" = set; then : 4704: $as_echo_n "(cached) " >&6 4705: else 4706: cat > conftest.$ac_ext <<_ACEOF 4707: program main 4708: #ifndef __GNUC__ 4709: choke me 4710: #endif 4711: 4712: end 4713: _ACEOF 4714: if ac_fn_f77_try_compile "$LINENO"; then : 4715: ac_compiler_gnu=yes 4716: else 4717: ac_compiler_gnu=no 4718: fi 4719: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4720: ac_cv_f77_compiler_gnu=$ac_compiler_gnu 4721: 4722: fi 4723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5 4724: $as_echo "$ac_cv_f77_compiler_gnu" >&6; } 4725: ac_ext=$ac_save_ext 4726: ac_test_FFLAGS=${FFLAGS+set} 4727: ac_save_FFLAGS=$FFLAGS 4728: FFLAGS= 4729: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5 4730: $as_echo_n "checking whether $F77 accepts -g... " >&6; } 4731: if test "${ac_cv_prog_f77_g+set}" = set; then : 4732: $as_echo_n "(cached) " >&6 4733: else 4734: FFLAGS=-g 4735: cat > conftest.$ac_ext <<_ACEOF 4736: program main 4737: 4738: end 4739: _ACEOF 4740: if ac_fn_f77_try_compile "$LINENO"; then : 4741: ac_cv_prog_f77_g=yes 4742: else 4743: ac_cv_prog_f77_g=no 4744: fi 4745: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4746: 4747: fi 4748: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5 4749: $as_echo "$ac_cv_prog_f77_g" >&6; } 4750: if test "$ac_test_FFLAGS" = set; then 4751: FFLAGS=$ac_save_FFLAGS 4752: elif test $ac_cv_prog_f77_g = yes; then 4753: if test "x$ac_cv_f77_compiler_gnu" = xyes; then 4754: FFLAGS="-g -O2" 4755: else 4756: FFLAGS="-g" 4757: fi 4758: else 4759: if test "x$ac_cv_f77_compiler_gnu" = xyes; then 4760: FFLAGS="-O2" 4761: else 4762: FFLAGS= 4763: fi 4764: fi 4765: 4766: if test $ac_compiler_gnu = yes; then 4767: G77=yes 4768: else 4769: G77= 4770: fi 4771: ac_ext=c 4772: ac_cpp='$CPP $CPPFLAGS' 4773: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4774: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4775: ac_compiler_gnu=$ac_cv_c_compiler_gnu 4776: 4777: 4778: if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then 4779: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5 4780: fi 4781: 4782: ac_ext=${ac_fc_srcext-f} 4783: ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' 4784: ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' 4785: ac_compiler_gnu=$ac_cv_fc_compiler_gnu 4786: if test -n "$ac_tool_prefix"; then 4787: for ac_prog in gfortran 4788: do 4789: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4790: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4791: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4792: $as_echo_n "checking for $ac_word... " >&6; } 4793: if test "${ac_cv_prog_FC+set}" = set; then : 4794: $as_echo_n "(cached) " >&6 4795: else 4796: if test -n "$FC"; then 4797: ac_cv_prog_FC="$FC" # Let the user override the test. 4798: else 4799: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4800: for as_dir in $PATH 4801: do 4802: IFS=$as_save_IFS 4803: test -z "$as_dir" && as_dir=. 4804: for ac_exec_ext in '' $ac_executable_extensions; do 4805: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4806: ac_cv_prog_FC="$ac_tool_prefix$ac_prog" 4807: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4808: break 2 4809: fi 4810: done 4811: done 4812: IFS=$as_save_IFS 4813: 4814: fi 4815: fi 4816: FC=$ac_cv_prog_FC 4817: if test -n "$FC"; then 4818: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5 4819: $as_echo "$FC" >&6; } 4820: else 4821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4822: $as_echo "no" >&6; } 4823: fi 4824: 4825: 4826: test -n "$FC" && break 4827: done 4828: fi 4829: if test -z "$FC"; then 4830: ac_ct_FC=$FC 4831: for ac_prog in gfortran 4832: do 4833: # Extract the first word of "$ac_prog", so it can be a program name with args. 4834: set dummy $ac_prog; ac_word=$2 4835: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4836: $as_echo_n "checking for $ac_word... " >&6; } 4837: if test "${ac_cv_prog_ac_ct_FC+set}" = set; then : 4838: $as_echo_n "(cached) " >&6 4839: else 4840: if test -n "$ac_ct_FC"; then 4841: ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test. 4842: else 4843: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4844: for as_dir in $PATH 4845: do 4846: IFS=$as_save_IFS 4847: test -z "$as_dir" && as_dir=. 4848: for ac_exec_ext in '' $ac_executable_extensions; do 4849: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4850: ac_cv_prog_ac_ct_FC="$ac_prog" 4851: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4852: break 2 4853: fi 4854: done 4855: done 4856: IFS=$as_save_IFS 4857: 4858: fi 4859: fi 4860: ac_ct_FC=$ac_cv_prog_ac_ct_FC 4861: if test -n "$ac_ct_FC"; then 4862: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5 4863: $as_echo "$ac_ct_FC" >&6; } 4864: else 4865: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4866: $as_echo "no" >&6; } 4867: fi 4868: 4869: 4870: test -n "$ac_ct_FC" && break 4871: done 4872: 4873: if test "x$ac_ct_FC" = x; then 4874: FC="" 4875: else 4876: case $cross_compiling:$ac_tool_warned in 4877: yes:) 4878: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4879: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4880: ac_tool_warned=yes ;; 4881: esac 4882: FC=$ac_ct_FC 4883: fi 4884: fi 4885: 4886: 4887: # Provide some information about the compiler. 4888: $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5 4889: set X $ac_compile 4890: ac_compiler=$2 4891: for ac_option in --version -v -V -qversion; do 4892: { { ac_try="$ac_compiler $ac_option >&5" 4893: case "(($ac_try" in 4894: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4895: *) ac_try_echo=$ac_try;; 4896: esac 4897: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4898: $as_echo "$ac_try_echo"; } >&5 4899: (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4900: ac_status=$? 4901: if test -s conftest.err; then 4902: sed '10a\ 4903: ... rest of stderr output deleted ... 4904: 10q' conftest.err >conftest.er1 4905: cat conftest.er1 >&5 4906: fi 4907: rm -f conftest.er1 conftest.err 4908: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4909: test $ac_status = 0; } 4910: done 4911: rm -f a.out 4912: 4913: # If we don't use `.F' as extension, the preprocessor is not run on the 4914: # input file. (Note that this only needs to work for GNU compilers.) 4915: ac_save_ext=$ac_ext 4916: ac_ext=F 4917: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5 4918: $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; } 4919: if test "${ac_cv_fc_compiler_gnu+set}" = set; then : 4920: $as_echo_n "(cached) " >&6 4921: else 4922: cat > conftest.$ac_ext <<_ACEOF 4923: program main 4924: #ifndef __GNUC__ 4925: choke me 4926: #endif 4927: 4928: end 4929: _ACEOF 4930: if ac_fn_fc_try_compile "$LINENO"; then : 4931: ac_compiler_gnu=yes 4932: else 4933: ac_compiler_gnu=no 4934: fi 4935: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4936: ac_cv_fc_compiler_gnu=$ac_compiler_gnu 4937: 4938: fi 4939: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5 4940: $as_echo "$ac_cv_fc_compiler_gnu" >&6; } 4941: ac_ext=$ac_save_ext 4942: ac_test_FCFLAGS=${FCFLAGS+set} 4943: ac_save_FCFLAGS=$FCFLAGS 4944: FCFLAGS= 4945: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5 4946: $as_echo_n "checking whether $FC accepts -g... " >&6; } 4947: if test "${ac_cv_prog_fc_g+set}" = set; then : 4948: $as_echo_n "(cached) " >&6 4949: else 4950: FCFLAGS=-g 4951: cat > conftest.$ac_ext <<_ACEOF 4952: program main 4953: 4954: end 4955: _ACEOF 4956: if ac_fn_fc_try_compile "$LINENO"; then : 4957: ac_cv_prog_fc_g=yes 4958: else 4959: ac_cv_prog_fc_g=no 4960: fi 4961: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4962: 4963: fi 4964: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5 4965: $as_echo "$ac_cv_prog_fc_g" >&6; } 4966: if test "$ac_test_FCFLAGS" = set; then 4967: FCFLAGS=$ac_save_FCFLAGS 4968: elif test $ac_cv_prog_fc_g = yes; then 4969: if test "x$ac_cv_fc_compiler_gnu" = xyes; then 4970: FCFLAGS="-g -O2" 4971: else 4972: FCFLAGS="-g" 4973: fi 4974: else 4975: if test "x$ac_cv_fc_compiler_gnu" = xyes; then 4976: FCFLAGS="-O2" 4977: else 4978: FCFLAGS= 4979: fi 4980: fi 4981: 4982: ac_ext=c 4983: ac_cpp='$CPP $CPPFLAGS' 4984: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4985: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4986: ac_compiler_gnu=$ac_cv_c_compiler_gnu 4987: 4988: 4989: if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then 4990: as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5 4991: fi 4992: 4993: if test x"$FC" != x""; then 4994: GCC_VERSION_MAJEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \ 4995: awk -F. '{ printf("%s", $1);}'` 4996: GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \ 4997: awk -F. '{ printf("%s", $2);}'` 4998: if test $GCC_VERSION_MAJEURE -ge 5; then 4999: OPTIMISATION_F=-O3 5000: else 5001: if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then 5002: OPTIMISATION_F=-O3 5003: else 5004: if test $GCC_VERSION_MAJEURE -ge 3; then 5005: OPTIMISATION_F=-O2 5006: else 5007: as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5 5008: fi 5009: fi 5010: fi 5011: fi 5012: 5013: 5014: ac_ext=c 5015: ac_cpp='$CPP $CPPFLAGS' 5016: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5017: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5018: ac_compiler_gnu=$ac_cv_c_compiler_gnu 5019: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5020: $as_echo_n "checking how to run the C preprocessor... " >&6; } 5021: # On Suns, sometimes $CPP names a directory. 5022: if test -n "$CPP" && test -d "$CPP"; then 5023: CPP= 5024: fi 5025: if test -z "$CPP"; then 5026: if test "${ac_cv_prog_CPP+set}" = set; then : 5027: $as_echo_n "(cached) " >&6 5028: else 5029: # Double quotes because CPP needs to be expanded 5030: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5031: do 5032: ac_preproc_ok=false 5033: for ac_c_preproc_warn_flag in '' yes 5034: do 5035: # Use a header file that comes with gcc, so configuring glibc 5036: # with a fresh cross-compiler works. 5037: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5038: # <limits.h> exists even on freestanding compilers. 5039: # On the NeXT, cc -E runs the code through the compiler's parser, 5040: # not just through cpp. "Syntax error" is here to catch this case. 5041: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5042: /* end confdefs.h. */ 5043: #ifdef __STDC__ 5044: # include <limits.h> 5045: #else 5046: # include <assert.h> 5047: #endif 5048: Syntax error 5049: _ACEOF 5050: if ac_fn_c_try_cpp "$LINENO"; then : 5051: 5052: else 5053: # Broken: fails on valid input. 5054: continue 5055: fi 5056: rm -f conftest.err conftest.i conftest.$ac_ext 5057: 5058: # OK, works on sane cases. Now check whether nonexistent headers 5059: # can be detected and how. 5060: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5061: /* end confdefs.h. */ 5062: #include <ac_nonexistent.h> 5063: _ACEOF 5064: if ac_fn_c_try_cpp "$LINENO"; then : 5065: # Broken: success on invalid input. 5066: continue 5067: else 5068: # Passes both tests. 5069: ac_preproc_ok=: 5070: break 5071: fi 5072: rm -f conftest.err conftest.i conftest.$ac_ext 5073: 5074: done 5075: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5076: rm -f conftest.i conftest.err conftest.$ac_ext 5077: if $ac_preproc_ok; then : 5078: break 5079: fi 5080: 5081: done 5082: ac_cv_prog_CPP=$CPP 5083: 5084: fi 5085: CPP=$ac_cv_prog_CPP 5086: else 5087: ac_cv_prog_CPP=$CPP 5088: fi 5089: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5090: $as_echo "$CPP" >&6; } 5091: ac_preproc_ok=false 5092: for ac_c_preproc_warn_flag in '' yes 5093: do 5094: # Use a header file that comes with gcc, so configuring glibc 5095: # with a fresh cross-compiler works. 5096: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5097: # <limits.h> exists even on freestanding compilers. 5098: # On the NeXT, cc -E runs the code through the compiler's parser, 5099: # not just through cpp. "Syntax error" is here to catch this case. 5100: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5101: /* end confdefs.h. */ 5102: #ifdef __STDC__ 5103: # include <limits.h> 5104: #else 5105: # include <assert.h> 5106: #endif 5107: Syntax error 5108: _ACEOF 5109: if ac_fn_c_try_cpp "$LINENO"; then : 5110: 5111: else 5112: # Broken: fails on valid input. 5113: continue 5114: fi 5115: rm -f conftest.err conftest.i conftest.$ac_ext 5116: 5117: # OK, works on sane cases. Now check whether nonexistent headers 5118: # can be detected and how. 5119: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5120: /* end confdefs.h. */ 5121: #include <ac_nonexistent.h> 5122: _ACEOF 5123: if ac_fn_c_try_cpp "$LINENO"; then : 5124: # Broken: success on invalid input. 5125: continue 5126: else 5127: # Passes both tests. 5128: ac_preproc_ok=: 5129: break 5130: fi 5131: rm -f conftest.err conftest.i conftest.$ac_ext 5132: 5133: done 5134: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5135: rm -f conftest.i conftest.err conftest.$ac_ext 5136: if $ac_preproc_ok; then : 5137: 5138: else 5139: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5140: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5141: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5142: See \`config.log' for more details" "$LINENO" 5 ; } 5143: fi 5144: 5145: ac_ext=c 5146: ac_cpp='$CPP $CPPFLAGS' 5147: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5148: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5149: ac_compiler_gnu=$ac_cv_c_compiler_gnu 5150: 5151: 5152: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 5153: $as_echo_n "checking for X... " >&6; } 5154: 5155: 5156: # Check whether --with-x was given. 5157: if test "${with_x+set}" = set; then : 5158: withval=$with_x; 5159: fi 5160: 5161: # $have_x is `yes', `no', `disabled', or empty when we do not yet know. 5162: if test "x$with_x" = xno; then 5163: # The user explicitly disabled X. 5164: have_x=disabled 5165: else 5166: case $x_includes,$x_libraries in #( 5167: *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( 5168: *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 5169: $as_echo_n "(cached) " >&6 5170: else 5171: # One or both of the vars are not set, and there is no cached value. 5172: ac_x_includes=no ac_x_libraries=no 5173: rm -f -r conftest.dir 5174: if mkdir conftest.dir; then 5175: cd conftest.dir 5176: cat >Imakefile <<'_ACEOF' 5177: incroot: 5178: @echo incroot='${INCROOT}' 5179: usrlibdir: 5180: @echo usrlibdir='${USRLIBDIR}' 5181: libdir: 5182: @echo libdir='${LIBDIR}' 5183: _ACEOF 5184: if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 5185: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5186: for ac_var in incroot usrlibdir libdir; do 5187: eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 5188: done 5189: # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 5190: for ac_extension in a so sl dylib la dll; do 5191: if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 5192: test -f "$ac_im_libdir/libX11.$ac_extension"; then 5193: ac_im_usrlibdir=$ac_im_libdir; break 5194: fi 5195: done 5196: # Screen out bogus values from the imake configuration. They are 5197: # bogus both because they are the default anyway, and because 5198: # using them would break gcc on systems where it needs fixed includes. 5199: case $ac_im_incroot in 5200: /usr/include) ac_x_includes= ;; 5201: *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 5202: esac 5203: case $ac_im_usrlibdir in 5204: /usr/lib | /usr/lib64 | /lib | /lib64) ;; 5205: *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 5206: esac 5207: fi 5208: cd .. 5209: rm -f -r conftest.dir 5210: fi 5211: 5212: # Standard set of common directories for X headers. 5213: # Check X11 before X11Rn because it is often a symlink to the current release. 5214: ac_x_header_dirs=' 5215: /usr/X11/include 5216: /usr/X11R7/include 5217: /usr/X11R6/include 5218: /usr/X11R5/include 5219: /usr/X11R4/include 5220: 5221: /usr/include/X11 5222: /usr/include/X11R7 5223: /usr/include/X11R6 5224: /usr/include/X11R5 5225: /usr/include/X11R4 5226: 5227: /usr/local/X11/include 5228: /usr/local/X11R7/include 5229: /usr/local/X11R6/include 5230: /usr/local/X11R5/include 5231: /usr/local/X11R4/include 5232: 5233: /usr/local/include/X11 5234: /usr/local/include/X11R7 5235: /usr/local/include/X11R6 5236: /usr/local/include/X11R5 5237: /usr/local/include/X11R4 5238: 5239: /usr/X386/include 5240: /usr/x386/include 5241: /usr/XFree86/include/X11 5242: 5243: /usr/include 5244: /usr/local/include 5245: /usr/unsupported/include 5246: /usr/athena/include 5247: /usr/local/x11r5/include 5248: /usr/lpp/Xamples/include 5249: 5250: /usr/openwin/include 5251: /usr/openwin/share/include' 5252: 5253: if test "$ac_x_includes" = no; then 5254: # Guess where to find include files, by looking for Xlib.h. 5255: # First, try using that file with no special directory specified. 5256: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5257: /* end confdefs.h. */ 5258: #include <X11/Xlib.h> 5259: _ACEOF 5260: if ac_fn_c_try_cpp "$LINENO"; then : 5261: # We can compile using X headers with no special include directory. 5262: ac_x_includes= 5263: else 5264: for ac_dir in $ac_x_header_dirs; do 5265: if test -r "$ac_dir/X11/Xlib.h"; then 5266: ac_x_includes=$ac_dir 5267: break 5268: fi 5269: done 5270: fi 5271: rm -f conftest.err conftest.i conftest.$ac_ext 5272: fi # $ac_x_includes = no 5273: 5274: if test "$ac_x_libraries" = no; then 5275: # Check for the libraries. 5276: # See if we find them without any special options. 5277: # Don't add to $LIBS permanently. 5278: ac_save_LIBS=$LIBS 5279: LIBS="-lX11 $LIBS" 5280: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5281: /* end confdefs.h. */ 5282: #include <X11/Xlib.h> 5283: int 5284: main () 5285: { 5286: XrmInitialize () 5287: ; 5288: return 0; 5289: } 5290: _ACEOF 5291: if ac_fn_c_try_link "$LINENO"; then : 5292: LIBS=$ac_save_LIBS 5293: # We can link X programs with no special library path. 5294: ac_x_libraries= 5295: else 5296: LIBS=$ac_save_LIBS 5297: for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 5298: do 5299: # Don't even attempt the hair of trying to link an X program! 5300: for ac_extension in a so sl dylib la dll; do 5301: if test -r "$ac_dir/libX11.$ac_extension"; then 5302: ac_x_libraries=$ac_dir 5303: break 2 5304: fi 5305: done 5306: done 5307: fi 5308: rm -f core conftest.err conftest.$ac_objext \ 5309: conftest$ac_exeext conftest.$ac_ext 5310: fi # $ac_x_libraries = no 5311: 5312: case $ac_x_includes,$ac_x_libraries in #( 5313: no,* | *,no | *\'*) 5314: # Didn't find X, or a directory has "'" in its name. 5315: ac_cv_have_x="have_x=no";; #( 5316: *) 5317: # Record where we found X for the cache. 5318: ac_cv_have_x="have_x=yes\ 5319: ac_x_includes='$ac_x_includes'\ 5320: ac_x_libraries='$ac_x_libraries'" 5321: esac 5322: fi 5323: ;; #( 5324: *) have_x=yes;; 5325: esac 5326: eval "$ac_cv_have_x" 5327: fi # $with_x != no 5328: 5329: if test "$have_x" != yes; then 5330: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 5331: $as_echo "$have_x" >&6; } 5332: no_x=yes 5333: else 5334: # If each of the values was on the command line, it overrides each guess. 5335: test "x$x_includes" = xNONE && x_includes=$ac_x_includes 5336: test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 5337: # Update the cache value to reflect the command line values. 5338: ac_cv_have_x="have_x=yes\ 5339: ac_x_includes='$x_includes'\ 5340: ac_x_libraries='$x_libraries'" 5341: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 5342: $as_echo "libraries $x_libraries, headers $x_includes" >&6; } 5343: fi 5344: 5345: if test "$no_x" = yes; then 5346: # Not all programs may use this symbol, but it does not hurt to define it. 5347: 5348: $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h 5349: 5350: X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= 5351: else 5352: if test -n "$x_includes"; then 5353: X_CFLAGS="$X_CFLAGS -I$x_includes" 5354: fi 5355: 5356: # It would also be nice to do this for all -L options, not just this one. 5357: if test -n "$x_libraries"; then 5358: X_LIBS="$X_LIBS -L$x_libraries" 5359: # For Solaris; some versions of Sun CC require a space after -R and 5360: # others require no space. Words are not sufficient . . . . 5361: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 5362: $as_echo_n "checking whether -R must be followed by a space... " >&6; } 5363: ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" 5364: ac_xsave_c_werror_flag=$ac_c_werror_flag 5365: ac_c_werror_flag=yes 5366: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5367: /* end confdefs.h. */ 5368: 5369: int 5370: main () 5371: { 5372: 5373: ; 5374: return 0; 5375: } 5376: _ACEOF 5377: if ac_fn_c_try_link "$LINENO"; then : 5378: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5379: $as_echo "no" >&6; } 5380: X_LIBS="$X_LIBS -R$x_libraries" 5381: else 5382: LIBS="$ac_xsave_LIBS -R $x_libraries" 5383: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5384: /* end confdefs.h. */ 5385: 5386: int 5387: main () 5388: { 5389: 5390: ; 5391: return 0; 5392: } 5393: _ACEOF 5394: if ac_fn_c_try_link "$LINENO"; then : 5395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5396: $as_echo "yes" >&6; } 5397: X_LIBS="$X_LIBS -R $x_libraries" 5398: else 5399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 5400: $as_echo "neither works" >&6; } 5401: fi 5402: rm -f core conftest.err conftest.$ac_objext \ 5403: conftest$ac_exeext conftest.$ac_ext 5404: fi 5405: rm -f core conftest.err conftest.$ac_objext \ 5406: conftest$ac_exeext conftest.$ac_ext 5407: ac_c_werror_flag=$ac_xsave_c_werror_flag 5408: LIBS=$ac_xsave_LIBS 5409: fi 5410: 5411: # Check for system-dependent libraries X programs must link with. 5412: # Do this before checking for the system-independent R6 libraries 5413: # (-lICE), since we may need -lsocket or whatever for X linking. 5414: 5415: if test "$ISC" = yes; then 5416: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" 5417: else 5418: # Martyn Johnson says this is needed for Ultrix, if the X 5419: # libraries were built with DECnet support. And Karl Berry says 5420: # the Alpha needs dnet_stub (dnet does not exist). 5421: ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" 5422: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5423: /* end confdefs.h. */ 5424: 5425: /* Override any GCC internal prototype to avoid an error. 5426: Use char because int might match the return type of a GCC 5427: builtin and then its argument prototype would still apply. */ 5428: #ifdef __cplusplus 5429: extern "C" 5430: #endif 5431: char XOpenDisplay (); 5432: int 5433: main () 5434: { 5435: return XOpenDisplay (); 5436: ; 5437: return 0; 5438: } 5439: _ACEOF 5440: if ac_fn_c_try_link "$LINENO"; then : 5441: 5442: else 5443: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 5444: $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 5445: if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 5446: $as_echo_n "(cached) " >&6 5447: else 5448: ac_check_lib_save_LIBS=$LIBS 5449: LIBS="-ldnet $LIBS" 5450: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5451: /* end confdefs.h. */ 5452: 5453: /* Override any GCC internal prototype to avoid an error. 5454: Use char because int might match the return type of a GCC 5455: builtin and then its argument prototype would still apply. */ 5456: #ifdef __cplusplus 5457: extern "C" 5458: #endif 5459: char dnet_ntoa (); 5460: int 5461: main () 5462: { 5463: return dnet_ntoa (); 5464: ; 5465: return 0; 5466: } 5467: _ACEOF 5468: if ac_fn_c_try_link "$LINENO"; then : 5469: ac_cv_lib_dnet_dnet_ntoa=yes 5470: else 5471: ac_cv_lib_dnet_dnet_ntoa=no 5472: fi 5473: rm -f core conftest.err conftest.$ac_objext \ 5474: conftest$ac_exeext conftest.$ac_ext 5475: LIBS=$ac_check_lib_save_LIBS 5476: fi 5477: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 5478: $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 5479: if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 5480: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 5481: fi 5482: 5483: if test $ac_cv_lib_dnet_dnet_ntoa = no; then 5484: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 5485: $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 5486: if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then : 5487: $as_echo_n "(cached) " >&6 5488: else 5489: ac_check_lib_save_LIBS=$LIBS 5490: LIBS="-ldnet_stub $LIBS" 5491: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5492: /* end confdefs.h. */ 5493: 5494: /* Override any GCC internal prototype to avoid an error. 5495: Use char because int might match the return type of a GCC 5496: builtin and then its argument prototype would still apply. */ 5497: #ifdef __cplusplus 5498: extern "C" 5499: #endif 5500: char dnet_ntoa (); 5501: int 5502: main () 5503: { 5504: return dnet_ntoa (); 5505: ; 5506: return 0; 5507: } 5508: _ACEOF 5509: if ac_fn_c_try_link "$LINENO"; then : 5510: ac_cv_lib_dnet_stub_dnet_ntoa=yes 5511: else 5512: ac_cv_lib_dnet_stub_dnet_ntoa=no 5513: fi 5514: rm -f core conftest.err conftest.$ac_objext \ 5515: conftest$ac_exeext conftest.$ac_ext 5516: LIBS=$ac_check_lib_save_LIBS 5517: fi 5518: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 5519: $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 5520: if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then : 5521: X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 5522: fi 5523: 5524: fi 5525: fi 5526: rm -f core conftest.err conftest.$ac_objext \ 5527: conftest$ac_exeext conftest.$ac_ext 5528: LIBS="$ac_xsave_LIBS" 5529: 5530: # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, 5531: # to get the SysV transport functions. 5532: # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) 5533: # needs -lnsl. 5534: # The nsl library prevents programs from opening the X display 5535: # on Irix 5.2, according to T.E. Dickey. 5536: # The functions gethostbyname, getservbyname, and inet_addr are 5537: # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 5538: ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 5539: if test "x$ac_cv_func_gethostbyname" = x""yes; then : 5540: 5541: fi 5542: 5543: if test $ac_cv_func_gethostbyname = no; then 5544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 5545: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 5546: if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 5547: $as_echo_n "(cached) " >&6 5548: else 5549: ac_check_lib_save_LIBS=$LIBS 5550: LIBS="-lnsl $LIBS" 5551: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5552: /* end confdefs.h. */ 5553: 5554: /* Override any GCC internal prototype to avoid an error. 5555: Use char because int might match the return type of a GCC 5556: builtin and then its argument prototype would still apply. */ 5557: #ifdef __cplusplus 5558: extern "C" 5559: #endif 5560: char gethostbyname (); 5561: int 5562: main () 5563: { 5564: return gethostbyname (); 5565: ; 5566: return 0; 5567: } 5568: _ACEOF 5569: if ac_fn_c_try_link "$LINENO"; then : 5570: ac_cv_lib_nsl_gethostbyname=yes 5571: else 5572: ac_cv_lib_nsl_gethostbyname=no 5573: fi 5574: rm -f core conftest.err conftest.$ac_objext \ 5575: conftest$ac_exeext conftest.$ac_ext 5576: LIBS=$ac_check_lib_save_LIBS 5577: fi 5578: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 5579: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 5580: if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 5581: X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 5582: fi 5583: 5584: if test $ac_cv_lib_nsl_gethostbyname = no; then 5585: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 5586: $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 5587: if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then : 5588: $as_echo_n "(cached) " >&6 5589: else 5590: ac_check_lib_save_LIBS=$LIBS 5591: LIBS="-lbsd $LIBS" 5592: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5593: /* end confdefs.h. */ 5594: 5595: /* Override any GCC internal prototype to avoid an error. 5596: Use char because int might match the return type of a GCC 5597: builtin and then its argument prototype would still apply. */ 5598: #ifdef __cplusplus 5599: extern "C" 5600: #endif 5601: char gethostbyname (); 5602: int 5603: main () 5604: { 5605: return gethostbyname (); 5606: ; 5607: return 0; 5608: } 5609: _ACEOF 5610: if ac_fn_c_try_link "$LINENO"; then : 5611: ac_cv_lib_bsd_gethostbyname=yes 5612: else 5613: ac_cv_lib_bsd_gethostbyname=no 5614: fi 5615: rm -f core conftest.err conftest.$ac_objext \ 5616: conftest$ac_exeext conftest.$ac_ext 5617: LIBS=$ac_check_lib_save_LIBS 5618: fi 5619: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 5620: $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 5621: if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then : 5622: X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 5623: fi 5624: 5625: fi 5626: fi 5627: 5628: # lieder@skyler.mavd.honeywell.com says without -lsocket, 5629: # socket/setsockopt and other routines are undefined under SCO ODT 5630: # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary 5631: # on later versions), says Simon Leinen: it contains gethostby* 5632: # variants that don't use the name server (or something). -lsocket 5633: # must be given before -lnsl if both are needed. We assume that 5634: # if connect needs -lnsl, so does gethostbyname. 5635: ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" 5636: if test "x$ac_cv_func_connect" = x""yes; then : 5637: 5638: fi 5639: 5640: if test $ac_cv_func_connect = no; then 5641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 5642: $as_echo_n "checking for connect in -lsocket... " >&6; } 5643: if test "${ac_cv_lib_socket_connect+set}" = set; then : 5644: $as_echo_n "(cached) " >&6 5645: else 5646: ac_check_lib_save_LIBS=$LIBS 5647: LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 5648: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5649: /* end confdefs.h. */ 5650: 5651: /* Override any GCC internal prototype to avoid an error. 5652: Use char because int might match the return type of a GCC 5653: builtin and then its argument prototype would still apply. */ 5654: #ifdef __cplusplus 5655: extern "C" 5656: #endif 5657: char connect (); 5658: int 5659: main () 5660: { 5661: return connect (); 5662: ; 5663: return 0; 5664: } 5665: _ACEOF 5666: if ac_fn_c_try_link "$LINENO"; then : 5667: ac_cv_lib_socket_connect=yes 5668: else 5669: ac_cv_lib_socket_connect=no 5670: fi 5671: rm -f core conftest.err conftest.$ac_objext \ 5672: conftest$ac_exeext conftest.$ac_ext 5673: LIBS=$ac_check_lib_save_LIBS 5674: fi 5675: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 5676: $as_echo "$ac_cv_lib_socket_connect" >&6; } 5677: if test "x$ac_cv_lib_socket_connect" = x""yes; then : 5678: X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 5679: fi 5680: 5681: fi 5682: 5683: # Guillermo Gomez says -lposix is necessary on A/UX. 5684: ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" 5685: if test "x$ac_cv_func_remove" = x""yes; then : 5686: 5687: fi 5688: 5689: if test $ac_cv_func_remove = no; then 5690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 5691: $as_echo_n "checking for remove in -lposix... " >&6; } 5692: if test "${ac_cv_lib_posix_remove+set}" = set; then : 5693: $as_echo_n "(cached) " >&6 5694: else 5695: ac_check_lib_save_LIBS=$LIBS 5696: LIBS="-lposix $LIBS" 5697: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5698: /* end confdefs.h. */ 5699: 5700: /* Override any GCC internal prototype to avoid an error. 5701: Use char because int might match the return type of a GCC 5702: builtin and then its argument prototype would still apply. */ 5703: #ifdef __cplusplus 5704: extern "C" 5705: #endif 5706: char remove (); 5707: int 5708: main () 5709: { 5710: return remove (); 5711: ; 5712: return 0; 5713: } 5714: _ACEOF 5715: if ac_fn_c_try_link "$LINENO"; then : 5716: ac_cv_lib_posix_remove=yes 5717: else 5718: ac_cv_lib_posix_remove=no 5719: fi 5720: rm -f core conftest.err conftest.$ac_objext \ 5721: conftest$ac_exeext conftest.$ac_ext 5722: LIBS=$ac_check_lib_save_LIBS 5723: fi 5724: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 5725: $as_echo "$ac_cv_lib_posix_remove" >&6; } 5726: if test "x$ac_cv_lib_posix_remove" = x""yes; then : 5727: X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 5728: fi 5729: 5730: fi 5731: 5732: # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 5733: ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 5734: if test "x$ac_cv_func_shmat" = x""yes; then : 5735: 5736: fi 5737: 5738: if test $ac_cv_func_shmat = no; then 5739: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 5740: $as_echo_n "checking for shmat in -lipc... " >&6; } 5741: if test "${ac_cv_lib_ipc_shmat+set}" = set; then : 5742: $as_echo_n "(cached) " >&6 5743: else 5744: ac_check_lib_save_LIBS=$LIBS 5745: LIBS="-lipc $LIBS" 5746: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5747: /* end confdefs.h. */ 5748: 5749: /* Override any GCC internal prototype to avoid an error. 5750: Use char because int might match the return type of a GCC 5751: builtin and then its argument prototype would still apply. */ 5752: #ifdef __cplusplus 5753: extern "C" 5754: #endif 5755: char shmat (); 5756: int 5757: main () 5758: { 5759: return shmat (); 5760: ; 5761: return 0; 5762: } 5763: _ACEOF 5764: if ac_fn_c_try_link "$LINENO"; then : 5765: ac_cv_lib_ipc_shmat=yes 5766: else 5767: ac_cv_lib_ipc_shmat=no 5768: fi 5769: rm -f core conftest.err conftest.$ac_objext \ 5770: conftest$ac_exeext conftest.$ac_ext 5771: LIBS=$ac_check_lib_save_LIBS 5772: fi 5773: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 5774: $as_echo "$ac_cv_lib_ipc_shmat" >&6; } 5775: if test "x$ac_cv_lib_ipc_shmat" = x""yes; then : 5776: X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 5777: fi 5778: 5779: fi 5780: fi 5781: 5782: # Check for libraries that X11R6 Xt/Xaw programs need. 5783: ac_save_LDFLAGS=$LDFLAGS 5784: test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" 5785: # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to 5786: # check for ICE first), but we must link in the order -lSM -lICE or 5787: # we get undefined symbols. So assume we have SM if we have ICE. 5788: # These have to be linked with before -lX11, unlike the other 5789: # libraries we check for below, so use a different variable. 5790: # John Interrante, Karl Berry 5791: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 5792: $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 5793: if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then : 5794: $as_echo_n "(cached) " >&6 5795: else 5796: ac_check_lib_save_LIBS=$LIBS 5797: LIBS="-lICE $X_EXTRA_LIBS $LIBS" 5798: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5799: /* end confdefs.h. */ 5800: 5801: /* Override any GCC internal prototype to avoid an error. 5802: Use char because int might match the return type of a GCC 5803: builtin and then its argument prototype would still apply. */ 5804: #ifdef __cplusplus 5805: extern "C" 5806: #endif 5807: char IceConnectionNumber (); 5808: int 5809: main () 5810: { 5811: return IceConnectionNumber (); 5812: ; 5813: return 0; 5814: } 5815: _ACEOF 5816: if ac_fn_c_try_link "$LINENO"; then : 5817: ac_cv_lib_ICE_IceConnectionNumber=yes 5818: else 5819: ac_cv_lib_ICE_IceConnectionNumber=no 5820: fi 5821: rm -f core conftest.err conftest.$ac_objext \ 5822: conftest$ac_exeext conftest.$ac_ext 5823: LIBS=$ac_check_lib_save_LIBS 5824: fi 5825: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 5826: $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 5827: if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : 5828: X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 5829: fi 5830: 5831: LDFLAGS=$ac_save_LDFLAGS 5832: 5833: fi 5834: 5835: 5836: if test "$ac_x_includes" != "no"; then 5837: if test x"$ac_x_includes" != x; then 5838: X_CFLAGS="$X_CFLAGS -I$ac_x_includes" 5839: includeX="-I$ac_x_includes" 5840: fi 5841: fi 5842: if test "$ac_x_libraries" != "no"; then 5843: if test x"$ac_x_libraries" != x; then 5844: X_LIBS="$X_LIBS -L$ac_x_libraries" 5845: fi 5846: fi 5847: 5848: # Check whether --enable-optimization was given. 5849: if test "${enable_optimization+set}" = set; then : 5850: enableval=$enable_optimization; 5851: if test "$enableval" = "no"; then 5852: CFLAGS= 5853: FFLAGS= 5854: CXXFLAGS= 5855: FCFLAGS= 5856: else 5857: CFLAGS="$CFLAGS $enable_optimization" 5858: FFLAGS="$FFLAGS $enable_optimization" 5859: FCFLAGS="$FCFLAGS $enable_optimization" 5860: fi 5861: else 5862: 5863: CFLAGS="$CFLAGS $OPTIMISATION_C" 5864: FFLAGS="$FFLAGS $OPTIMISATION_F" 5865: FCFLAGS="$FCFLAGS $OPTIMISATION_F" 5866: 5867: 5868: fi 5869: 5870: 5871: # Check whether --enable-sysv-semaphores was given. 5872: if test "${enable_sysv_semaphores+set}" = set; then : 5873: enableval=$enable_sysv_semaphores; 5874: if test "$enableval" = "no"; then 5875: IPCS_SYSV=no 5876: else 5877: IPCS_SYSV=yes 5878: fi 5879: else 5880: IPCS_SYSV=no 5881: fi 5882: 5883: 5884: # Check whether --enable-full-static was given. 5885: if test "${enable_full_static+set}" = set; then : 5886: enableval=$enable_full_static; 5887: if test "$enableval" = "no"; then 5888: STATIC=no 5889: else 5890: STATIC=yes 5891: fi 5892: else 5893: STATIC=no 5894: fi 5895: 5896: 5897: # Check whether --enable-final-encoding was given. 5898: if test "${enable_final_encoding+set}" = set; then : 5899: enableval=$enable_final_encoding; 5900: if test "$enableval" = "no"; then 5901: FINAL_ENCODING="\$(shell locale charmap | \ 5902: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')" 5903: FORCED_FINAL_ENCODING=0 5904: else 5905: FINAL_ENCODING="$enable_final_encoding" 5906: FORCED_FINAL_ENCODING=1 5907: fi 5908: else 5909: 5910: FORCED_FINAL_ENCODING=0 5911: FINAL_ENCODING="\$(shell locale charmap | \ 5912: \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')" 5913: fi 5914: 5915: 5916: # Check whether --enable-tex was given. 5917: if test "${enable_tex+set}" = set; then : 5918: enableval=$enable_tex; 5919: if test "$enableval" = "no"; then 5920: TEX_SUPPORT=no 5921: else 5922: TEX_SUPPORT=yes 5923: fi 5924: else 5925: TEX_SUPPORT=guessed 5926: fi 5927: 5928: 5929: # Check whether --enable-vim was given. 5930: if test "${enable_vim+set}" = set; then : 5931: enableval=$enable_vim; 5932: if test "$enableval" = "no"; then 5933: VIM_SUPPORT=no 5934: else 5935: VIM_SUPPORT=yes 5936: fi 5937: else 5938: VIM_SUPPORT=guessed 5939: fi 5940: 5941: 5942: # Check whether --enable-embedded-gnuplot was given. 5943: if test "${enable_embedded_gnuplot+set}" = set; then : 5944: enableval=$enable_embedded_gnuplot; 5945: if test "$enableval" = "no"; then 5946: MYGNUPLOT=no 5947: else 5948: MYGNUPLOT=yes 5949: fi 5950: else 5951: 5952: MYGNUPLOT=yes 5953: fi 5954: 5955: 5956: # Check whether --enable-gnuplot was given. 5957: if test "${enable_gnuplot+set}" = set; then : 5958: enableval=$enable_gnuplot; 5959: if test "$enableval" = "no"; then 5960: GNUPLOT_SUPPORT=no 5961: MYGNUPLOT=no 5962: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH 5963: else 5964: GNUPLOT_SUPPORT=yes 5965: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH 5966: fi 5967: else 5968: 5969: if test "$MYGNUPLOT" = "yes"; then 5970: GNUPLOT_SUPPORT=yes 5971: FORCE_GNUPLOT_PATH=-DFORCE_GNUPLOT_PATH 5972: else 5973: GNUPLOT_SUPPORT=guessed 5974: FORCE_GNUPLOT_PATH=-UFORCE_GNUPLOT_PATH 5975: fi 5976: fi 5977: 5978: 5979: # Check whether --enable-motif was given. 5980: if test "${enable_motif+set}" = set; then : 5981: enableval=$enable_motif; 5982: if test "$enableval" = "no"; then 5983: MOTIF_SUPPORT="-UMOTIF_SUPPORT" 5984: else 5985: CFLAGS_ORIG=$CFLAGS 5986: LIBS_ORIG=$LIBS 5987: CFLAGS="$CFLAGS $X_CFLAGS" 5988: LIBS="$LIB $X_LIBS" 5989: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5 5990: $as_echo_n "checking for main in -lXm... " >&6; } 5991: if test "${ac_cv_lib_Xm_main+set}" = set; then : 5992: $as_echo_n "(cached) " >&6 5993: else 5994: ac_check_lib_save_LIBS=$LIBS 5995: LIBS="-lXm $LIBS" 5996: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5997: /* end confdefs.h. */ 5998: 5999: 6000: int 6001: main () 6002: { 6003: return main (); 6004: ; 6005: return 0; 6006: } 6007: _ACEOF 6008: if ac_fn_c_try_link "$LINENO"; then : 6009: ac_cv_lib_Xm_main=yes 6010: else 6011: ac_cv_lib_Xm_main=no 6012: fi 6013: rm -f core conftest.err conftest.$ac_objext \ 6014: conftest$ac_exeext conftest.$ac_ext 6015: LIBS=$ac_check_lib_save_LIBS 6016: fi 6017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5 6018: $as_echo "$ac_cv_lib_Xm_main" >&6; } 6019: if test "x$ac_cv_lib_Xm_main" = x""yes; then : 6020: MOTIF_SUPPORT="-DMOTIF_SUPPORT" 6021: else 6022: MOTIF_SUPPORT="-UMOTIF_SUPPORT" 6023: fi 6024: 6025: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then 6026: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it. 6027: Motif flag is disabled. 6028: " >&5 6029: $as_echo "$as_me: WARNING: Can not find Motif! You may install it. 6030: Motif flag is disabled. 6031: " >&2;} 6032: fi 6033: LIBS=$LIBS_ORIG 6034: CFLAGS=$CFLAGS_ORIG 6035: fi 6036: else 6037: MOTIF_SUPPORT=guessed 6038: fi 6039: 6040: 6041: # Check whether --enable-experimental was given. 6042: if test "${enable_experimental+set}" = set; then : 6043: enableval=$enable_experimental; 6044: if test "$enableval" = "no"; then 6045: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE" 6046: else 6047: EXPERIMENTAL_CODE="-DEXPERIMENTAL_CODE" 6048: fi 6049: else 6050: EXPERIMENTAL_CODE="-UEXPERIMENTAL_CODE" 6051: fi 6052: 6053: 6054: # Check whether --enable-debug was given. 6055: if test "${enable_debug+set}" = set; then : 6056: enableval=$enable_debug; 6057: if test "$enableval" = "no"; then 6058: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS" 6059: else 6060: DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS" 6061: fi 6062: else 6063: DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS" 6064: fi 6065: 6066: 6067: # Check whether --enable-profile was given. 6068: if test "${enable_profile+set}" = set; then : 6069: enableval=$enable_profile; 6070: if test "$enableval" = "no"; then 6071: PROFILAGE="" 6072: else 6073: PROFILAGE="-pg" 6074: fi 6075: else 6076: PROFILAGE="" 6077: fi 6078: 6079: 6080: 6081: 6082: if test ! -d tools; then 6083: mkdir tools 6084: fi 6085: if test ! -d "$srcdir"/tools/$NCURSES; then 6086: gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \ 6087: (cd "$srcdir/tools" && tar -xf -) 6088: fi 6089: if test ! -d "$srcdir"/tools/$READLINE; then 6090: gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \ 6091: (cd "$srcdir/tools" && tar -xf -) 6092: fi 6093: if test ! -d "$srcdir"/tools/$UNITS; then 6094: gunzip -c "$srcdir"/tools/$UNITS.tar.gz | \ 6095: (cd "$srcdir/tools" && tar -xf -) 6096: fi 6097: if test ! -d "$srcdir"/tools/$GSL; then 6098: gunzip -c "$srcdir"/tools/$GSL.tar.gz | \ 6099: (cd "$srcdir/tools" && tar -xf -) 6100: if test $(uname) = "OS/2"; then 6101: (cd "$srcdir"/tools/$GSL; \ 6102: TMP=$(mktemp tmp.XXXXXXXXXX); \ 6103: sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \ 6104: \mv -f $TMP ltmain.sh) 6105: fi 6106: fi 6107: if test ! -d "$srcdir"/tools/$GPP; then 6108: gunzip -c "$srcdir"/tools/$GPP.tar.gz | \ 6109: (cd "$srcdir/tools" && tar -xf -) 6110: fi 6111: if test ! -d "$srcdir"/tools/$FILE; then 6112: gunzip -c "$srcdir"/tools/$FILE.tar.gz | \ 6113: (cd "$srcdir/tools" && tar -xf - ) 6114: (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1) 6115: fi 6116: if test ! -d "$srcdir"/tools/$ICONV; then 6117: gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \ 6118: (cd "$srcdir/tools" && tar -xf -) 6119: fi 6120: if test ! -d "$srcdir"/tools/$SQLITE; then 6121: gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \ 6122: (cd "$srcdir/tools" && tar -xf -) 6123: (cd "$srcdir/tools"/$SQLITE && gunzip -c ../$SQLITE.diff.gz | patch -p1) 6124: fi 6125: if test ! -d tools/$OPENSSL; then 6126: gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \ 6127: (cd tools && tar -xf -) 6128: fi 6129: 6130: 6131: 6132: # Check whether --enable-final-run-path was given. 6133: if test "${enable_final_run_path+set}" = set; then : 6134: enableval=$enable_final_run_path; 6135: if test "x$enable_final_run_path" = "x"; then 6136: { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5 6137: $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;} 6138: as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5 6139: else 6140: RUNPATH="$enable_final_run_path" 6141: fi 6142: 6143: else 6144: RUNPATH="\${prefix}" 6145: 6146: fi 6147: 6148: 6149: 6150: 6151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6152: $as_echo_n "checking whether ln -s works... " >&6; } 6153: LN_S=$as_ln_s 6154: if test "$LN_S" = "ln -s"; then 6155: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6156: $as_echo "yes" >&6; } 6157: else 6158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6159: $as_echo "no, using $LN_S" >&6; } 6160: fi 6161: 6162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6163: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 6164: set x ${MAKE-make} 6165: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 6166: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 6167: $as_echo_n "(cached) " >&6 6168: else 6169: cat >conftest.make <<\_ACEOF 6170: SHELL = /bin/sh 6171: all: 6172: @echo '@@@%%%=$(MAKE)=@@@%%%' 6173: _ACEOF 6174: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 6175: case `${MAKE-make} -f conftest.make 2>/dev/null` in 6176: *@@@%%%=?*=@@@%%%*) 6177: eval ac_cv_prog_make_${ac_make}_set=yes;; 6178: *) 6179: eval ac_cv_prog_make_${ac_make}_set=no;; 6180: esac 6181: rm -f conftest.make 6182: fi 6183: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 6184: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6185: $as_echo "yes" >&6; } 6186: SET_MAKE= 6187: else 6188: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6189: $as_echo "no" >&6; } 6190: SET_MAKE="MAKE=${MAKE-make}" 6191: fi 6192: 6193: if test -n "$ac_tool_prefix"; then 6194: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6195: set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6196: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6197: $as_echo_n "checking for $ac_word... " >&6; } 6198: if test "${ac_cv_prog_RANLIB+set}" = set; then : 6199: $as_echo_n "(cached) " >&6 6200: else 6201: if test -n "$RANLIB"; then 6202: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6203: else 6204: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6205: for as_dir in $PATH 6206: do 6207: IFS=$as_save_IFS 6208: test -z "$as_dir" && as_dir=. 6209: for ac_exec_ext in '' $ac_executable_extensions; do 6210: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6211: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6212: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6213: break 2 6214: fi 6215: done 6216: done 6217: IFS=$as_save_IFS 6218: 6219: fi 6220: fi 6221: RANLIB=$ac_cv_prog_RANLIB 6222: if test -n "$RANLIB"; then 6223: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6224: $as_echo "$RANLIB" >&6; } 6225: else 6226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6227: $as_echo "no" >&6; } 6228: fi 6229: 6230: 6231: fi 6232: if test -z "$ac_cv_prog_RANLIB"; then 6233: ac_ct_RANLIB=$RANLIB 6234: # Extract the first word of "ranlib", so it can be a program name with args. 6235: set dummy ranlib; ac_word=$2 6236: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6237: $as_echo_n "checking for $ac_word... " >&6; } 6238: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 6239: $as_echo_n "(cached) " >&6 6240: else 6241: if test -n "$ac_ct_RANLIB"; then 6242: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6243: else 6244: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6245: for as_dir in $PATH 6246: do 6247: IFS=$as_save_IFS 6248: test -z "$as_dir" && as_dir=. 6249: for ac_exec_ext in '' $ac_executable_extensions; do 6250: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6251: ac_cv_prog_ac_ct_RANLIB="ranlib" 6252: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6253: break 2 6254: fi 6255: done 6256: done 6257: IFS=$as_save_IFS 6258: 6259: fi 6260: fi 6261: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6262: if test -n "$ac_ct_RANLIB"; then 6263: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6264: $as_echo "$ac_ct_RANLIB" >&6; } 6265: else 6266: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6267: $as_echo "no" >&6; } 6268: fi 6269: 6270: if test "x$ac_ct_RANLIB" = x; then 6271: RANLIB=":" 6272: else 6273: case $cross_compiling:$ac_tool_warned in 6274: yes:) 6275: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6276: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6277: ac_tool_warned=yes ;; 6278: esac 6279: RANLIB=$ac_ct_RANLIB 6280: fi 6281: else 6282: RANLIB="$ac_cv_prog_RANLIB" 6283: fi 6284: 6285: 6286: # Extract the first word of "nawk", so it can be a program name with args. 6287: set dummy nawk; ac_word=$2 6288: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6289: $as_echo_n "checking for $ac_word... " >&6; } 6290: if test "${ac_cv_prog_AWK+set}" = set; then : 6291: $as_echo_n "(cached) " >&6 6292: else 6293: if test -n "$AWK"; then 6294: ac_cv_prog_AWK="$AWK" # Let the user override the test. 6295: else 6296: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6297: for as_dir in $PATH 6298: do 6299: IFS=$as_save_IFS 6300: test -z "$as_dir" && as_dir=. 6301: for ac_exec_ext in '' $ac_executable_extensions; do 6302: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6303: ac_cv_prog_AWK="yes" 6304: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6305: break 2 6306: fi 6307: done 6308: done 6309: IFS=$as_save_IFS 6310: 6311: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no" 6312: fi 6313: fi 6314: AWK=$ac_cv_prog_AWK 6315: if test -n "$AWK"; then 6316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 6317: $as_echo "$AWK" >&6; } 6318: else 6319: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6320: $as_echo "no" >&6; } 6321: fi 6322: 6323: 6324: if test "$AWK" = no; then 6325: # Extract the first word of "gawk", so it can be a program name with args. 6326: set dummy gawk; ac_word=$2 6327: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6328: $as_echo_n "checking for $ac_word... " >&6; } 6329: if test "${ac_cv_prog_AWK+set}" = set; then : 6330: $as_echo_n "(cached) " >&6 6331: else 6332: if test -n "$AWK"; then 6333: ac_cv_prog_AWK="$AWK" # Let the user override the test. 6334: else 6335: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6336: for as_dir in $PATH 6337: do 6338: IFS=$as_save_IFS 6339: test -z "$as_dir" && as_dir=. 6340: for ac_exec_ext in '' $ac_executable_extensions; do 6341: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6342: ac_cv_prog_AWK="yes" 6343: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6344: break 2 6345: fi 6346: done 6347: done 6348: IFS=$as_save_IFS 6349: 6350: test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no" 6351: fi 6352: fi 6353: AWK=$ac_cv_prog_AWK 6354: if test -n "$AWK"; then 6355: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 6356: $as_echo "$AWK" >&6; } 6357: else 6358: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6359: $as_echo "no" >&6; } 6360: fi 6361: 6362: 6363: if test "$AWK" = no; then 6364: as_fn_error $? "Can not find nawk !" "$LINENO" 5 6365: fi 6366: fi 6367: 6368: # Extract the first word of "sed", so it can be a program name with args. 6369: set dummy sed; ac_word=$2 6370: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6371: $as_echo_n "checking for $ac_word... " >&6; } 6372: if test "${ac_cv_prog_SED+set}" = set; then : 6373: $as_echo_n "(cached) " >&6 6374: else 6375: if test -n "$SED"; then 6376: ac_cv_prog_SED="$SED" # Let the user override the test. 6377: else 6378: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6379: for as_dir in $PATH 6380: do 6381: IFS=$as_save_IFS 6382: test -z "$as_dir" && as_dir=. 6383: for ac_exec_ext in '' $ac_executable_extensions; do 6384: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6385: ac_cv_prog_SED="yes" 6386: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6387: break 2 6388: fi 6389: done 6390: done 6391: IFS=$as_save_IFS 6392: 6393: test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="no" 6394: fi 6395: fi 6396: SED=$ac_cv_prog_SED 6397: if test -n "$SED"; then 6398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 6399: $as_echo "$SED" >&6; } 6400: else 6401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6402: $as_echo "no" >&6; } 6403: fi 6404: 6405: 6406: if test "$SED" = no; then 6407: as_fn_error $? "Can not find sed !" "$LINENO" 5 6408: fi 6409: 6410: if test "$TEX_SUPPORT" = guessed; then 6411: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT" 6412: 6413: # Extract the first word of "tex", so it can be a program name with args. 6414: set dummy tex; ac_word=$2 6415: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6416: $as_echo_n "checking for $ac_word... " >&6; } 6417: if test "${ac_cv_prog_TEX+set}" = set; then : 6418: $as_echo_n "(cached) " >&6 6419: else 6420: if test -n "$TEX"; then 6421: ac_cv_prog_TEX="$TEX" # Let the user override the test. 6422: else 6423: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6424: for as_dir in $PATH 6425: do 6426: IFS=$as_save_IFS 6427: test -z "$as_dir" && as_dir=. 6428: for ac_exec_ext in '' $ac_executable_extensions; do 6429: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6430: ac_cv_prog_TEX="yes" 6431: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6432: break 2 6433: fi 6434: done 6435: done 6436: IFS=$as_save_IFS 6437: 6438: test -z "$ac_cv_prog_TEX" && ac_cv_prog_TEX="no" 6439: fi 6440: fi 6441: TEX=$ac_cv_prog_TEX 6442: if test -n "$TEX"; then 6443: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEX" >&5 6444: $as_echo "$TEX" >&6; } 6445: else 6446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6447: $as_echo "no" >&6; } 6448: fi 6449: 6450: 6451: if test "$TEX" = no; then 6452: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find TeX! You may install it. 6453: Download at http://tex.loria.fr/ 6454: " >&5 6455: $as_echo "$as_me: WARNING: Cannot find TeX! You may install it. 6456: Download at http://tex.loria.fr/ 6457: " >&2;} 6458: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT" 6459: fi 6460: 6461: # Extract the first word of "latex", so it can be a program name with args. 6462: set dummy latex; ac_word=$2 6463: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6464: $as_echo_n "checking for $ac_word... " >&6; } 6465: if test "${ac_cv_prog_LATEX+set}" = set; then : 6466: $as_echo_n "(cached) " >&6 6467: else 6468: if test -n "$LATEX"; then 6469: ac_cv_prog_LATEX="$LATEX" # Let the user override the test. 6470: else 6471: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6472: for as_dir in $PATH 6473: do 6474: IFS=$as_save_IFS 6475: test -z "$as_dir" && as_dir=. 6476: for ac_exec_ext in '' $ac_executable_extensions; do 6477: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6478: ac_cv_prog_LATEX="yes" 6479: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6480: break 2 6481: fi 6482: done 6483: done 6484: IFS=$as_save_IFS 6485: 6486: test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no" 6487: fi 6488: fi 6489: LATEX=$ac_cv_prog_LATEX 6490: if test -n "$LATEX"; then 6491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5 6492: $as_echo "$LATEX" >&6; } 6493: else 6494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6495: $as_echo "no" >&6; } 6496: fi 6497: 6498: 6499: if test "$LATEX" = no; then 6500: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find LaTeX! You may install it. 6501: Download at http://tex.loria.fr/ 6502: " >&5 6503: $as_echo "$as_me: WARNING: Cannot find LaTeX! You may install it. 6504: Download at http://tex.loria.fr/ 6505: " >&2;} 6506: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT" 6507: fi 6508: 6509: # Extract the first word of "dvips", so it can be a program name with args. 6510: set dummy dvips; ac_word=$2 6511: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6512: $as_echo_n "checking for $ac_word... " >&6; } 6513: if test "${ac_cv_prog_DVIPS+set}" = set; then : 6514: $as_echo_n "(cached) " >&6 6515: else 6516: if test -n "$DVIPS"; then 6517: ac_cv_prog_DVIPS="$DVIPS" # Let the user override the test. 6518: else 6519: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6520: for as_dir in $PATH 6521: do 6522: IFS=$as_save_IFS 6523: test -z "$as_dir" && as_dir=. 6524: for ac_exec_ext in '' $ac_executable_extensions; do 6525: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6526: ac_cv_prog_DVIPS="yes" 6527: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6528: break 2 6529: fi 6530: done 6531: done 6532: IFS=$as_save_IFS 6533: 6534: test -z "$ac_cv_prog_DVIPS" && ac_cv_prog_DVIPS="no" 6535: fi 6536: fi 6537: DVIPS=$ac_cv_prog_DVIPS 6538: if test -n "$DVIPS"; then 6539: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5 6540: $as_echo "$DVIPS" >&6; } 6541: else 6542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6543: $as_echo "no" >&6; } 6544: fi 6545: 6546: 6547: if test "$DVIPS" = no; then 6548: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dvips! You may install it. 6549: Download at http://tex.loria.fr/ 6550: " >&5 6551: $as_echo "$as_me: WARNING: Cannot find dvips! You may install it. 6552: Download at http://tex.loria.fr/ 6553: " >&2;} 6554: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT" 6555: fi 6556: 6557: # Extract the first word of "gs", so it can be a program name with args. 6558: set dummy gs; ac_word=$2 6559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6560: $as_echo_n "checking for $ac_word... " >&6; } 6561: if test "${ac_cv_prog_GS+set}" = set; then : 6562: $as_echo_n "(cached) " >&6 6563: else 6564: if test -n "$GS"; then 6565: ac_cv_prog_GS="$GS" # Let the user override the test. 6566: else 6567: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6568: for as_dir in $PATH 6569: do 6570: IFS=$as_save_IFS 6571: test -z "$as_dir" && as_dir=. 6572: for ac_exec_ext in '' $ac_executable_extensions; do 6573: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6574: ac_cv_prog_GS="yes" 6575: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6576: break 2 6577: fi 6578: done 6579: done 6580: IFS=$as_save_IFS 6581: 6582: test -z "$ac_cv_prog_GS" && ac_cv_prog_GS="no" 6583: fi 6584: fi 6585: GS=$ac_cv_prog_GS 6586: if test -n "$GS"; then 6587: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GS" >&5 6588: $as_echo "$GS" >&6; } 6589: else 6590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6591: $as_echo "no" >&6; } 6592: fi 6593: 6594: 6595: if test "$GS" = no; then 6596: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gs! You may install it. 6597: Download at http://ftp.lip6.fr/ 6598: " >&5 6599: $as_echo "$as_me: WARNING: Cannot find gs! You may install it. 6600: Download at http://ftp.lip6.fr/ 6601: " >&2;} 6602: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT" 6603: fi 6604: 6605: # Extract the first word of "gv", so it can be a program name with args. 6606: set dummy gv; ac_word=$2 6607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6608: $as_echo_n "checking for $ac_word... " >&6; } 6609: if test "${ac_cv_prog_GV+set}" = set; then : 6610: $as_echo_n "(cached) " >&6 6611: else 6612: if test -n "$GV"; then 6613: ac_cv_prog_GV="$GV" # Let the user override the test. 6614: else 6615: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6616: for as_dir in $PATH 6617: do 6618: IFS=$as_save_IFS 6619: test -z "$as_dir" && as_dir=. 6620: for ac_exec_ext in '' $ac_executable_extensions; do 6621: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6622: ac_cv_prog_GV="yes" 6623: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6624: break 2 6625: fi 6626: done 6627: done 6628: IFS=$as_save_IFS 6629: 6630: test -z "$ac_cv_prog_GV" && ac_cv_prog_GV="no" 6631: fi 6632: fi 6633: GV=$ac_cv_prog_GV 6634: if test -n "$GV"; then 6635: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GV" >&5 6636: $as_echo "$GV" >&6; } 6637: else 6638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6639: $as_echo "no" >&6; } 6640: fi 6641: 6642: 6643: if test "$GV" = no; then 6644: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gv! You may install it. 6645: Download at http://ftp.lip6.fr/ 6646: " >&5 6647: $as_echo "$as_me: WARNING: Cannot find gv! You may install it. 6648: Download at http://ftp.lip6.fr/ 6649: " >&2;} 6650: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT" 6651: fi 6652: else 6653: if test "$TEX_SUPPORT" = no; then 6654: POSTSCRIPT_SUPPORT="-UPOSTSCRIPT_SUPPORT" 6655: else 6656: POSTSCRIPT_SUPPORT="-DPOSTSCRIPT_SUPPORT" 6657: fi 6658: fi 6659: 6660: if test "$GNUPLOT_SUPPORT" = guessed; then 6661: # Extract the first word of "gnuplot", so it can be a program name with args. 6662: set dummy gnuplot; ac_word=$2 6663: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6664: $as_echo_n "checking for $ac_word... " >&6; } 6665: if test "${ac_cv_prog_GNUPLOT_P+set}" = set; then : 6666: $as_echo_n "(cached) " >&6 6667: else 6668: if test -n "$GNUPLOT_P"; then 6669: ac_cv_prog_GNUPLOT_P="$GNUPLOT_P" # Let the user override the test. 6670: else 6671: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6672: for as_dir in $PATH 6673: do 6674: IFS=$as_save_IFS 6675: test -z "$as_dir" && as_dir=. 6676: for ac_exec_ext in '' $ac_executable_extensions; do 6677: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6678: ac_cv_prog_GNUPLOT_P="yes" 6679: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6680: break 2 6681: fi 6682: done 6683: done 6684: IFS=$as_save_IFS 6685: 6686: test -z "$ac_cv_prog_GNUPLOT_P" && ac_cv_prog_GNUPLOT_P="no" 6687: fi 6688: fi 6689: GNUPLOT_P=$ac_cv_prog_GNUPLOT_P 6690: if test -n "$GNUPLOT_P"; then 6691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUPLOT_P" >&5 6692: $as_echo "$GNUPLOT_P" >&6; } 6693: else 6694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6695: $as_echo "no" >&6; } 6696: fi 6697: 6698: 6699: if test "$GNUPLOT_P" = no; then 6700: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find gnuplot! You may install it. 6701: Download at http://www.gnuplot.vt.edu/ 6702: " >&5 6703: $as_echo "$as_me: WARNING: Cannot find gnuplot! You may install it. 6704: Download at http://www.gnuplot.vt.edu/ 6705: " >&2;} 6706: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT" 6707: else 6708: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT" 6709: fi 6710: else 6711: if test "$GNUPLOT_SUPPORT" = no; then 6712: GNUPLOT_SUPPORT="-UGNUPLOT_SUPPORT" 6713: else 6714: GNUPLOT_SUPPORT="-DGNUPLOT_SUPPORT" 6715: fi 6716: fi 6717: 6718: if test "$VIM_SUPPORT" = guessed; then 6719: # Extract the first word of "vim", so it can be a program name with args. 6720: set dummy vim; ac_word=$2 6721: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6722: $as_echo_n "checking for $ac_word... " >&6; } 6723: if test "${ac_cv_prog_VIM+set}" = set; then : 6724: $as_echo_n "(cached) " >&6 6725: else 6726: if test -n "$VIM"; then 6727: ac_cv_prog_VIM="$VIM" # Let the user override the test. 6728: else 6729: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6730: for as_dir in $PATH 6731: do 6732: IFS=$as_save_IFS 6733: test -z "$as_dir" && as_dir=. 6734: for ac_exec_ext in '' $ac_executable_extensions; do 6735: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6736: ac_cv_prog_VIM="yes" 6737: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6738: break 2 6739: fi 6740: done 6741: done 6742: IFS=$as_save_IFS 6743: 6744: test -z "$ac_cv_prog_VIM" && ac_cv_prog_VIM="no" 6745: fi 6746: fi 6747: VIM=$ac_cv_prog_VIM 6748: if test -n "$VIM"; then 6749: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIM" >&5 6750: $as_echo "$VIM" >&6; } 6751: else 6752: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6753: $as_echo "no" >&6; } 6754: fi 6755: 6756: 6757: if test "$VIM" = no; then 6758: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find vim! You may install it. 6759: Download at http://www.vim.org/ 6760: " >&5 6761: $as_echo "$as_me: WARNING: Cannot find vim! You may install it. 6762: Download at http://www.vim.org/ 6763: " >&2;} 6764: VIM_SUPPORT="-UVIM_SUPPORT" 6765: else 6766: VIM_SUPPORT="-DVIM_SUPPORT" 6767: fi 6768: else 6769: if test "$VIM_SUPPORT" = no; then 6770: VIM_SUPPORT="-UVIM_SUPPORT" 6771: else 6772: VIM_SUPPORT="-DVIM_SUPPORT" 6773: fi 6774: fi 6775: 6776: if test "$MOTIF_SUPPORT" = guessed; then 6777: CFLAGS_ORIG=$CFLAGS 6778: LIBS_ORIG=$LIBS 6779: CFLAGS="$CFLAGS $X_CFLAGS" 6780: LIBS="$LIB $X_LIBS" 6781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5 6782: $as_echo_n "checking for main in -lXm... " >&6; } 6783: if test "${ac_cv_lib_Xm_main+set}" = set; then : 6784: $as_echo_n "(cached) " >&6 6785: else 6786: ac_check_lib_save_LIBS=$LIBS 6787: LIBS="-lXm $LIBS" 6788: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6789: /* end confdefs.h. */ 6790: 6791: 6792: int 6793: main () 6794: { 6795: return main (); 6796: ; 6797: return 0; 6798: } 6799: _ACEOF 6800: if ac_fn_c_try_link "$LINENO"; then : 6801: ac_cv_lib_Xm_main=yes 6802: else 6803: ac_cv_lib_Xm_main=no 6804: fi 6805: rm -f core conftest.err conftest.$ac_objext \ 6806: conftest$ac_exeext conftest.$ac_ext 6807: LIBS=$ac_check_lib_save_LIBS 6808: fi 6809: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5 6810: $as_echo "$ac_cv_lib_Xm_main" >&6; } 6811: if test "x$ac_cv_lib_Xm_main" = x""yes; then : 6812: MOTIF_SUPPORT="-DMOTIF_SUPPORT" 6813: else 6814: MOTIF_SUPPORT="-UMOTIF_SUPPORT" 6815: fi 6816: 6817: if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then 6818: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it. 6819: Motif flag is disabled. 6820: " >&5 6821: $as_echo "$as_me: WARNING: Cannot find Motif! You may install it. 6822: Motif flag is disabled. 6823: " >&2;} 6824: fi 6825: LIBS=$LIBS_ORIG 6826: CFLAGS=$CFLAGS_ORIG 6827: fi 6828: 6829: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then 6830: CFLAGS_ORIG=$CFLAGS 6831: LIBS_ORIG=$LIBS 6832: CFLAGS="$CFLAGS $X_CFLAGS" 6833: LIBS="$LIB $X_LIBS" 6834: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5 6835: $as_echo_n "checking for main in -lXpm... " >&6; } 6836: if test "${ac_cv_lib_Xpm_main+set}" = set; then : 6837: $as_echo_n "(cached) " >&6 6838: else 6839: ac_check_lib_save_LIBS=$LIBS 6840: LIBS="-lXpm $LIBS" 6841: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6842: /* end confdefs.h. */ 6843: 6844: 6845: int 6846: main () 6847: { 6848: return main (); 6849: ; 6850: return 0; 6851: } 6852: _ACEOF 6853: if ac_fn_c_try_link "$LINENO"; then : 6854: ac_cv_lib_Xpm_main=yes 6855: else 6856: ac_cv_lib_Xpm_main=no 6857: fi 6858: rm -f core conftest.err conftest.$ac_objext \ 6859: conftest$ac_exeext conftest.$ac_ext 6860: LIBS=$ac_check_lib_save_LIBS 6861: fi 6862: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5 6863: $as_echo "$ac_cv_lib_Xpm_main" >&6; } 6864: if test "x$ac_cv_lib_Xpm_main" = x""yes; then : 6865: MOTIF_SUPPORT="-DMOTIF_SUPPORT" 6866: else 6867: MOTIF_SUPPORT="-UMOTIF_SUPPORT" 6868: fi 6869: 6870: if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then 6871: libX="$X_LIBS -lXm -lXpm -lXt -lX11" 6872: else 6873: libX="" 6874: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it. 6875: Motif flag is disabled. 6876: " >&5 6877: $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it. 6878: Motif flag is disabled. 6879: " >&2;} 6880: fi 6881: LIBS=$LIBS_ORIG 6882: CFLAGS=$CFLAGS_ORIG 6883: else 6884: libX="" 6885: fi 6886: 6887: 6888: 6889: 6890: 6891: 6892: 6893: 6894: 6895: 6896: 6897: DATE=$(LANG=C date +"%A, %e %B %Y %T %z") 6898: 6899: 6900: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 6901: $as_echo_n "checking for main in -lm... " >&6; } 6902: if test "${ac_cv_lib_m_main+set}" = set; then : 6903: $as_echo_n "(cached) " >&6 6904: else 6905: ac_check_lib_save_LIBS=$LIBS 6906: LIBS="-lm $LIBS" 6907: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6908: /* end confdefs.h. */ 6909: 6910: 6911: int 6912: main () 6913: { 6914: return main (); 6915: ; 6916: return 0; 6917: } 6918: _ACEOF 6919: if ac_fn_c_try_link "$LINENO"; then : 6920: ac_cv_lib_m_main=yes 6921: else 6922: ac_cv_lib_m_main=no 6923: fi 6924: rm -f core conftest.err conftest.$ac_objext \ 6925: conftest$ac_exeext conftest.$ac_ext 6926: LIBS=$ac_check_lib_save_LIBS 6927: fi 6928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 6929: $as_echo "$ac_cv_lib_m_main" >&6; } 6930: if test "x$ac_cv_lib_m_main" = x""yes; then : 6931: cat >>confdefs.h <<_ACEOF 6932: #define HAVE_LIBM 1 6933: _ACEOF 6934: 6935: LIBS="-lm $LIBS" 6936: 6937: else 6938: as_fn_error $? "Can not find libm !" "$LINENO" 5 6939: fi 6940: 6941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 6942: $as_echo_n "checking for main in -lpthread... " >&6; } 6943: if test "${ac_cv_lib_pthread_main+set}" = set; then : 6944: $as_echo_n "(cached) " >&6 6945: else 6946: ac_check_lib_save_LIBS=$LIBS 6947: LIBS="-lpthread $LIBS" 6948: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6949: /* end confdefs.h. */ 6950: 6951: 6952: int 6953: main () 6954: { 6955: return main (); 6956: ; 6957: return 0; 6958: } 6959: _ACEOF 6960: if ac_fn_c_try_link "$LINENO"; then : 6961: ac_cv_lib_pthread_main=yes 6962: else 6963: ac_cv_lib_pthread_main=no 6964: fi 6965: rm -f core conftest.err conftest.$ac_objext \ 6966: conftest$ac_exeext conftest.$ac_ext 6967: LIBS=$ac_check_lib_save_LIBS 6968: fi 6969: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5 6970: $as_echo "$ac_cv_lib_pthread_main" >&6; } 6971: if test "x$ac_cv_lib_pthread_main" = x""yes; then : 6972: cat >>confdefs.h <<_ACEOF 6973: #define HAVE_LIBPTHREAD 1 6974: _ACEOF 6975: 6976: LIBS="-lpthread $LIBS" 6977: 6978: else 6979: as_fn_error $? "Can not find libpthread !" "$LINENO" 5 6980: fi 6981: 6982: 6983: ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" " 6984: #include <sys/sem.h> 6985: 6986: " 6987: if test "x$ac_cv_type_union_semun" = x""yes; then : 6988: SEMUN=-DUNION_SEMUN 6989: else 6990: SEMUN=-UUNION_SEMUN 6991: fi 6992: 6993: 6994: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" " 6995: #include <sys/types.h> 6996: #include <netinet/in.h> 6997: 6998: " 6999: if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : 7000: IPV6=-DIPV6 7001: else 7002: IPV6=-UIPV6 7003: fi 7004: 7005: 7006: if test "$CYGWIN" != yes; then 7007: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 7008: $as_echo_n "checking for dlopen in -ldl... " >&6; } 7009: if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 7010: $as_echo_n "(cached) " >&6 7011: else 7012: ac_check_lib_save_LIBS=$LIBS 7013: LIBS="-ldl $LIBS" 7014: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7015: /* end confdefs.h. */ 7016: 7017: /* Override any GCC internal prototype to avoid an error. 7018: Use char because int might match the return type of a GCC 7019: builtin and then its argument prototype would still apply. */ 7020: #ifdef __cplusplus 7021: extern "C" 7022: #endif 7023: char dlopen (); 7024: int 7025: main () 7026: { 7027: return dlopen (); 7028: ; 7029: return 0; 7030: } 7031: _ACEOF 7032: if ac_fn_c_try_link "$LINENO"; then : 7033: ac_cv_lib_dl_dlopen=yes 7034: else 7035: ac_cv_lib_dl_dlopen=no 7036: fi 7037: rm -f core conftest.err conftest.$ac_objext \ 7038: conftest$ac_exeext conftest.$ac_ext 7039: LIBS=$ac_check_lib_save_LIBS 7040: fi 7041: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 7042: $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 7043: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 7044: LIBS="$LIBS -ldl" 7045: else 7046: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdl doesn't seem to be needed on this system." >&5 7047: $as_echo "$as_me: WARNING: libdl doesn't seem to be needed on this system." >&2;} 7048: fi 7049: 7050: fi 7051: 7052: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 7053: $as_echo_n "checking for nanosleep in -lrt... " >&6; } 7054: if test "${ac_cv_lib_rt_nanosleep+set}" = set; then : 7055: $as_echo_n "(cached) " >&6 7056: else 7057: ac_check_lib_save_LIBS=$LIBS 7058: LIBS="-lrt $LIBS" 7059: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7060: /* end confdefs.h. */ 7061: 7062: /* Override any GCC internal prototype to avoid an error. 7063: Use char because int might match the return type of a GCC 7064: builtin and then its argument prototype would still apply. */ 7065: #ifdef __cplusplus 7066: extern "C" 7067: #endif 7068: char nanosleep (); 7069: int 7070: main () 7071: { 7072: return nanosleep (); 7073: ; 7074: return 0; 7075: } 7076: _ACEOF 7077: if ac_fn_c_try_link "$LINENO"; then : 7078: ac_cv_lib_rt_nanosleep=yes 7079: else 7080: ac_cv_lib_rt_nanosleep=no 7081: fi 7082: rm -f core conftest.err conftest.$ac_objext \ 7083: conftest$ac_exeext conftest.$ac_ext 7084: LIBS=$ac_check_lib_save_LIBS 7085: fi 7086: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 7087: $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 7088: if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then : 7089: LIBS="$LIBS -lrt" 7090: else 7091: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: librt doesn't seem to be needed on this system." >&5 7092: $as_echo "$as_me: WARNING: librt doesn't seem to be needed on this system." >&2;} 7093: fi 7094: 7095: 7096: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5 7097: $as_echo_n "checking for bind in -lsocket... " >&6; } 7098: if test "${ac_cv_lib_socket_bind+set}" = set; then : 7099: $as_echo_n "(cached) " >&6 7100: else 7101: ac_check_lib_save_LIBS=$LIBS 7102: LIBS="-lsocket $LIBS" 7103: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7104: /* end confdefs.h. */ 7105: 7106: /* Override any GCC internal prototype to avoid an error. 7107: Use char because int might match the return type of a GCC 7108: builtin and then its argument prototype would still apply. */ 7109: #ifdef __cplusplus 7110: extern "C" 7111: #endif 7112: char bind (); 7113: int 7114: main () 7115: { 7116: return bind (); 7117: ; 7118: return 0; 7119: } 7120: _ACEOF 7121: if ac_fn_c_try_link "$LINENO"; then : 7122: ac_cv_lib_socket_bind=yes 7123: else 7124: ac_cv_lib_socket_bind=no 7125: fi 7126: rm -f core conftest.err conftest.$ac_objext \ 7127: conftest$ac_exeext conftest.$ac_ext 7128: LIBS=$ac_check_lib_save_LIBS 7129: fi 7130: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5 7131: $as_echo "$ac_cv_lib_socket_bind" >&6; } 7132: if test "x$ac_cv_lib_socket_bind" = x""yes; then : 7133: LIBS="$LIBS -lsocket" 7134: else 7135: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsocket doesn't seem to be needed on this system." >&5 7136: $as_echo "$as_me: WARNING: libsocket doesn't seem to be needed on this system." >&2;} 7137: fi 7138: 7139: 7140: MYSQL_SUPPORT="-UMYSQL_SUPPORT" 7141: 7142: # Check whether --with-mysql was given. 7143: if test "${with_mysql+set}" = set; then : 7144: withval=$with_mysql; 7145: else 7146: with_mysql=check 7147: fi 7148: 7149: 7150: if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then 7151: libMySQLinc="-I/usr/include" 7152: libMySQLlib="/usr/lib" 7153: 7154: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5 7155: $as_echo_n "checking for libmysql includes in /usr/include... " >&6; } 7156: saved_CFLAGS="$CFLAGS" 7157: CFLAGS="$CFLAGS -L/$libMySQLinc" 7158: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7159: /* end confdefs.h. */ 7160: #include "mysql.h" 7161: int 7162: main () 7163: { 7164: 7165: ; 7166: return 0; 7167: } 7168: _ACEOF 7169: if ac_fn_c_try_compile "$LINENO"; then : 7170: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7171: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT"; 7172: libMySQLinc=$libMySQLinc/mysql 7173: else 7174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7175: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT" 7176: fi 7177: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7178: CFLAGS=$saved_CFLAGS 7179: 7180: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then 7181: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include/mysql" >&5 7182: $as_echo_n "checking for libmysql includes in /usr/include/mysql... " >&6; } 7183: saved_CFLAGS="$CFLAGS" 7184: CFLAGS="$CFLAGS $libMySQLinc/mysql" 7185: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7186: /* end confdefs.h. */ 7187: #include "mysql.h" 7188: int 7189: main () 7190: { 7191: 7192: ; 7193: return 0; 7194: } 7195: _ACEOF 7196: if ac_fn_c_try_compile "$LINENO"; then : 7197: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7198: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT"; 7199: libMySQLinc=$libMySQLinc 7200: else 7201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7202: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT" 7203: fi 7204: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7205: CFLAGS=$saved_CFLAGS 7206: libMySQLinc=$libMySQLinc/mysql 7207: fi 7208: 7209: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then 7210: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include" >&5 7211: $as_echo_n "checking for libmysql includes in /usr/local/include... " >&6; } 7212: saved_CFLAGS="$CFLAGS" 7213: CFLAGS="$CFLAGS $libMySQLinc/../local/include" 7214: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7215: /* end confdefs.h. */ 7216: #include "mysql.h" 7217: int 7218: main () 7219: { 7220: 7221: ; 7222: return 0; 7223: } 7224: _ACEOF 7225: if ac_fn_c_try_compile "$LINENO"; then : 7226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7227: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT"; 7228: libMySQLinc=$libMySQLinc/mysql 7229: else 7230: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7231: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT" 7232: fi 7233: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7234: CFLAGS=$saved_CFLAGS 7235: libMySQLinc=$libMySQLinc/../local/include 7236: libMySQLlib=$libMySQLlib/../local/lib 7237: fi 7238: 7239: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then 7240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/local/include/mysql" >&5 7241: $as_echo_n "checking for libmysql includes in /usr/local/include/mysql... " >&6; } 7242: saved_CFLAGS="$CFLAGS" 7243: CFLAGS="$CFLAGS $libMySQLinc/../local/include/mysql" 7244: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7245: /* end confdefs.h. */ 7246: #include "mysql.h" 7247: int 7248: main () 7249: { 7250: 7251: ; 7252: return 0; 7253: } 7254: _ACEOF 7255: if ac_fn_c_try_compile "$LINENO"; then : 7256: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7257: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT"; 7258: libMySQLinc=$libMySQLinc/mysql 7259: else 7260: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7261: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT" 7262: fi 7263: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7264: CFLAGS=$saved_CFLAGS 7265: libMySQLinc=$libMySQLinc/../local/include/mysql 7266: libMySQLlib=$libMySQLlib/../local/lib 7267: fi 7268: else 7269: if test "x$with_mysql" != xno; then 7270: libMySQLinc="-I$with_mysql/include" 7271: libMySQLlib="$with_mysql/lib" 7272: 7273: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5 7274: $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; } 7275: saved_CFLAGS="$CFLAGS" 7276: CFLAGS="$CFLAGS $libMySQLinc" 7277: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7278: /* end confdefs.h. */ 7279: #include "mysql.h" 7280: int 7281: main () 7282: { 7283: 7284: ; 7285: return 0; 7286: } 7287: _ACEOF 7288: if ac_fn_c_try_compile "$LINENO"; then : 7289: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7290: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT"; 7291: libMySQLinc=$libMySQLinc/mysql 7292: else 7293: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7294: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT" 7295: fi 7296: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7297: CFLAGS=$saved_CFLAGS 7298: 7299: if test "$MYSQL_SUPPORT" = "-UMYSQL_SUPPORT"; then 7300: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql/mysql" >&5 7301: $as_echo_n "checking for libmysql includes in $with_mysql/mysql... " >&6; } 7302: saved_CFLAGS="$CFLAGS" 7303: CFLAGS="$CFLAGS $libMySQLinc/mysql" 7304: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7305: /* end confdefs.h. */ 7306: #include "mysql.h" 7307: int 7308: main () 7309: { 7310: 7311: ; 7312: return 0; 7313: } 7314: _ACEOF 7315: if ac_fn_c_try_compile "$LINENO"; then : 7316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7317: $as_echo "yes" >&6; }; MYSQL_SUPPORT="-DMYSQL_SUPPORT"; 7318: libMySQLinc=$libMySQLinc 7319: else 7320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7321: $as_echo "no" >&6; }; MYSQL_SUPPORT="-UMYSQL_SUPPORT" 7322: fi 7323: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7324: CFLAGS=$saved_CFLAGS 7325: libMySQLinc=$libMySQLinc/mysql 7326: fi 7327: else 7328: MYSQL_SUPPORT="-UMYSQL_SUPPORT" 7329: fi 7330: fi 7331: 7332: if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then 7333: MYSQL_LIB=no 7334: 7335: if test $MYSQL_LIB = no; then 7336: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5 7337: $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; } 7338: saved_LIBS="$LIBS" 7339: if test $STATIC = no; then 7340: LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc" 7341: else 7342: LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc" 7343: fi 7344: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7345: /* end confdefs.h. */ 7346: #include "mysql.h" 7347: int 7348: main () 7349: { 7350: MYSQL mysql; mysql_init(&mysql); 7351: ; 7352: return 0; 7353: } 7354: _ACEOF 7355: if ac_fn_c_try_link "$LINENO"; then : 7356: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7357: $as_echo "yes" >&6; }; MYSQL_LIB="yes" 7358: else 7359: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7360: $as_echo "no" >&6; }; MYSQL_LIB="no" 7361: fi 7362: rm -f core conftest.err conftest.$ac_objext \ 7363: conftest$ac_exeext conftest.$ac_ext 7364: LIBS=$saved_LIBS; 7365: if test $STATIC = no; then 7366: libMySQLlib="-L/$libMySQLlib -lmysqlclient_r" 7367: else 7368: libMySQLlib="$libMySQLlib/libmysqlclient_r.a" 7369: EXT_SQL="$EXT_SQL $libMySQLlib" 7370: fi 7371: fi 7372: 7373: if test $MYSQL_LIB = no; then 7374: MYSQL_SUPPORT="-UMYSQL_SUPPORT" 7375: fi 7376: fi 7377: 7378: if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then 7379: libMySQLinc= 7380: libMySQLlib= 7381: fi 7382: 7383: 7384: 7385: 7386: 7387: POSTGRESQL_SUPPORT=-UPOSTGRESQL_SUPPORT 7388: 7389: # Check whether --with-postgresql was given. 7390: if test "${with_postgresql+set}" = set; then : 7391: withval=$with_postgresql; 7392: else 7393: with_postgresql=check 7394: fi 7395: 7396: 7397: # with_postgresql : check [pas défini], yes [uniquement --with], 7398: # no [--without], valeur [--with=valeur]. 7399: 7400: if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then 7401: libPgSQLinc="-I/usr/include" 7402: libPgSQLlib="/usr/lib" 7403: 7404: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5 7405: $as_echo_n "checking for libpq includes in /usr/include... " >&6; } 7406: saved_CFLAGS="$CFLAGS" 7407: CFLAGS="$CFLAGS $libPgSQLinc" 7408: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7409: /* end confdefs.h. */ 7410: #include "libpq-fe.h" 7411: int 7412: main () 7413: { 7414: 7415: ; 7416: return 0; 7417: } 7418: _ACEOF 7419: if ac_fn_c_try_compile "$LINENO"; then : 7420: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7421: $as_echo "yes" >&6; }; POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT" 7422: else 7423: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7424: $as_echo "no" >&6; }; POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT" 7425: fi 7426: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7427: CFLAGS=$saved_CFLAGS 7428: 7429: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then 7430: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/postgresql" >&5 7431: $as_echo_n "checking for libpq includes in /usr/include/postgresql... " >&6; } 7432: saved_CFLAGS="$CFLAGS" 7433: CFLAGS="$CFLAGS $libPgSQLinc/postgresql" 7434: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7435: /* end confdefs.h. */ 7436: #include "libpq-fe.h" 7437: int 7438: main () 7439: { 7440: 7441: ; 7442: return 0; 7443: } 7444: _ACEOF 7445: if ac_fn_c_try_compile "$LINENO"; then : 7446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7447: $as_echo "yes" >&6; }; 7448: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT" 7449: else 7450: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7451: $as_echo "no" >&6; }; 7452: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT" 7453: fi 7454: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7455: CFLAGS=$saved_CFLAGS 7456: libPgSQLinc=$libPgSQLinc/postgresql 7457: fi 7458: 7459: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then 7460: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include/pgsql" >&5 7461: $as_echo_n "checking for libpq includes in /usr/include/pgsql... " >&6; } 7462: saved_CFLAGS="$CFLAGS" 7463: CFLAGS="$CFLAGS $libPgSQLinc/pgsql" 7464: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7465: /* end confdefs.h. */ 7466: #include "libpq-fe.h" 7467: int 7468: main () 7469: { 7470: 7471: ; 7472: return 0; 7473: } 7474: _ACEOF 7475: if ac_fn_c_try_compile "$LINENO"; then : 7476: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7477: $as_echo "yes" >&6; }; 7478: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT" 7479: else 7480: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7481: $as_echo "no" >&6; }; 7482: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT" 7483: fi 7484: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7485: CFLAGS=$saved_CFLAGS 7486: libPgSQLinc=$libPgSQLinc/pgsql 7487: fi 7488: 7489: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then 7490: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include" >&5 7491: $as_echo_n "checking for libpq includes in /usr/local/include... " >&6; } 7492: saved_CFLAGS="$CFLAGS" 7493: CFLAGS="$CFLAGS $libPgSQLinc/../local/include" 7494: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7495: /* end confdefs.h. */ 7496: #include "libpq-fe.h" 7497: int 7498: main () 7499: { 7500: 7501: ; 7502: return 0; 7503: } 7504: _ACEOF 7505: if ac_fn_c_try_compile "$LINENO"; then : 7506: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7507: $as_echo "yes" >&6; }; 7508: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT" 7509: else 7510: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7511: $as_echo "no" >&6; }; 7512: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT" 7513: fi 7514: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7515: CFLAGS=$saved_CFLAGS 7516: libPgSQLinc=$libPgSQLinc/../local/include 7517: libPgSQLlib=$libPgSQLlib/../local/lib 7518: fi 7519: 7520: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then 7521: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/postgresql" >&5 7522: $as_echo_n "checking for libpq includes in /usr/local/include/postgresql... " >&6; } 7523: saved_CFLAGS="$CFLAGS" 7524: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/postgresql" 7525: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7526: /* end confdefs.h. */ 7527: #include "libpq-fe.h" 7528: int 7529: main () 7530: { 7531: 7532: ; 7533: return 0; 7534: } 7535: _ACEOF 7536: if ac_fn_c_try_compile "$LINENO"; then : 7537: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7538: $as_echo "yes" >&6; }; 7539: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT" 7540: else 7541: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7542: $as_echo "no" >&6; }; 7543: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT" 7544: fi 7545: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7546: CFLAGS=$saved_CFLAGS 7547: libPgSQLinc=$libPgSQLinc/../local/include/postgresql 7548: libPgSQLlib=$libPgSQLlib/../local/lib 7549: fi 7550: 7551: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then 7552: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/local/include/pgsql" >&5 7553: $as_echo_n "checking for libpq includes in /usr/local/include/pgsql... " >&6; } 7554: saved_CFLAGS="$CFLAGS" 7555: CFLAGS="$CFLAGS $libPgSQLinc/../local/include/pgsql" 7556: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7557: /* end confdefs.h. */ 7558: #include "libpq-fe.h" 7559: int 7560: main () 7561: { 7562: 7563: ; 7564: return 0; 7565: } 7566: _ACEOF 7567: if ac_fn_c_try_compile "$LINENO"; then : 7568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7569: $as_echo "yes" >&6; }; 7570: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT" 7571: else 7572: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7573: $as_echo "no" >&6; }; 7574: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT" 7575: fi 7576: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7577: CFLAGS=$saved_CFLAGS 7578: libPgSQLinc=$libPgSQLinc/local/include/pgsql 7579: libPgSQLlib=$libPgSQLlib/../local/lib 7580: fi 7581: else 7582: if test "x$with_postgresql" != xno; then 7583: libPgSQLinc="-I$with_postgresql/include" 7584: libPgSQLlib="$with_postgresql/lib" 7585: 7586: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5 7587: $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; } 7588: saved_CFLAGS="$CFLAGS" 7589: CFLAGS="$CFLAGS $libPgSQLinc" 7590: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7591: /* end confdefs.h. */ 7592: #include "libpq-fe.h" 7593: int 7594: main () 7595: { 7596: 7597: ; 7598: return 0; 7599: } 7600: _ACEOF 7601: if ac_fn_c_try_compile "$LINENO"; then : 7602: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7603: $as_echo "yes" >&6; }; 7604: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT" 7605: else 7606: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7607: $as_echo "no" >&6; }; 7608: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT" 7609: fi 7610: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7611: CFLAGS=$saved_CFLAGS 7612: 7613: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then 7614: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/postgresql" >&5 7615: $as_echo_n "checking for libpq includes in $libPgSQLinc/postgresql... " >&6; } 7616: saved_CFLAGS="$CFLAGS" 7617: CFLAGS="$CFLAGS $libPgSQLinc/postgresql" 7618: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7619: /* end confdefs.h. */ 7620: #include "libpq-fe.h" 7621: int 7622: main () 7623: { 7624: 7625: ; 7626: return 0; 7627: } 7628: _ACEOF 7629: if ac_fn_c_try_compile "$LINENO"; then : 7630: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7631: $as_echo "yes" >&6; }; 7632: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT" 7633: else 7634: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7635: $as_echo "no" >&6; }; 7636: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT" 7637: fi 7638: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7639: CFLAGS=$saved_CFLAGS 7640: libPgSQLinc=$libPgSQLinc/postgresql 7641: fi 7642: 7643: if test "$POSTGRESQL_SUPPORT" = "-UPOSTGRESQL_SUPPORT"; then 7644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc/pgsql" >&5 7645: $as_echo_n "checking for libpq includes in $libPgSQLinc/pgsql... " >&6; } 7646: saved_CFLAGS="$CFLAGS" 7647: CFLAGS="$CFLAGS $libPgSQLinc/pgsql" 7648: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7649: /* end confdefs.h. */ 7650: #include "libpq-fe.h" 7651: int 7652: main () 7653: { 7654: 7655: ; 7656: return 0; 7657: } 7658: _ACEOF 7659: if ac_fn_c_try_compile "$LINENO"; then : 7660: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7661: $as_echo "yes" >&6; }; 7662: POSTGRESQL_SUPPORT="-DPOSTGRESQL_SUPPORT" 7663: else 7664: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7665: $as_echo "no" >&6; }; 7666: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT" 7667: fi 7668: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7669: CFLAGS=$saved_CFLAGS 7670: libPgSQLinc=$libPgSQLinc/pgsql 7671: fi 7672: else 7673: POSTGRESQL_SUPPORT="-UPOSTGRESQL_SUPPORT" 7674: fi 7675: fi 7676: 7677: if test "$POSTGRESQL_SUPPORT" = "-DPOSTGRESQL_SUPPORT"; then 7678: POSTGRESQL_LIB=no 7679: 7680: if test $POSTGRESQL_LIB = no; then 7681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5 7682: $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; } 7683: saved_LIBS="$LIBS" 7684: if test $STATIC = no; then 7685: LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq" 7686: else 7687: LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc" 7688: fi 7689: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7690: /* end confdefs.h. */ 7691: #include "libpq-fe.h" 7692: int 7693: main () 7694: { 7695: PGconn *conn; const char *conninfo="dbname=postgres"; conn = 7696: PQconnectdb(conninfo); 7697: ; 7698: return 0; 7699: } 7700: _ACEOF 7701: if ac_fn_c_try_link "$LINENO"; then : 7702: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7703: $as_echo "yes" >&6; }; POSTGRESQL_LIB="yes" 7704: else 7705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7706: $as_echo "no" >&6; }; POSTGRESQL_LIB="no" 7707: fi 7708: rm -f core conftest.err conftest.$ac_objext \ 7709: conftest$ac_exeext conftest.$ac_ext 7710: LIBS=$saved_LIBS; 7711: if test $STATIC = no; then 7712: libPgSQLlib="-L/$libPgSQLlib -lpq" 7713: else 7714: libPgSQLlib="$libPgSQLlib/libpq.a" 7715: EXT_SQL="$EXT_SQL $libPgSQLlib" 7716: fi 7717: fi 7718: fi 7719: 7720: if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then 7721: libPgSQLinc= 7722: libPgSQLlib= 7723: fi 7724: 7725: 7726: 7727: 7728: 7729: # with_postgresql : check [pas défini], yes [uniquement --with], 7730: # no [--without], valeur [--with=valeur]. 7731: 7732: # Check whether --with-bourne_shell was given. 7733: if test "${with_bourne_shell+set}" = set; then : 7734: withval=$with_bourne_shell; 7735: else 7736: with_bourne_shell=no 7737: fi 7738: 7739: 7740: if test "x$with_bourne_shell" = xyes; then 7741: as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5 7742: fi 7743: 7744: if test "x$with_bourne_shell" = xno; then 7745: if test $(uname) = "OS/2"; then 7746: as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5 7747: fi 7748: 7749: BSH_PATH= 7750: else 7751: if test ! -x $with_bourne_shell; then 7752: as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5 7753: fi 7754: 7755: if test $(uname) = "OS/2"; then 7756: with_os2_bourne_shell=$(echo $with_bourne_shell | \ 7757: sed -e '1,$s/\//\\\\\\\\/g') 7758: BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\" 7759: else 7760: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5 7761: $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;} 7762: BSH_PATH= 7763: fi 7764: fi 7765: 7766: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 7767: $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 7768: if test "${ac_cv_path_GREP+set}" = set; then : 7769: $as_echo_n "(cached) " >&6 7770: else 7771: if test -z "$GREP"; then 7772: ac_path_GREP_found=false 7773: # Loop through the user's path and test for each of PROGNAME-LIST 7774: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7775: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7776: do 7777: IFS=$as_save_IFS 7778: test -z "$as_dir" && as_dir=. 7779: for ac_prog in grep ggrep; do 7780: for ac_exec_ext in '' $ac_executable_extensions; do 7781: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 7782: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 7783: # Check for GNU ac_path_GREP and select it if it is found. 7784: # Check for GNU $ac_path_GREP 7785: case `"$ac_path_GREP" --version 2>&1` in 7786: *GNU*) 7787: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 7788: *) 7789: ac_count=0 7790: $as_echo_n 0123456789 >"conftest.in" 7791: while : 7792: do 7793: cat "conftest.in" "conftest.in" >"conftest.tmp" 7794: mv "conftest.tmp" "conftest.in" 7795: cp "conftest.in" "conftest.nl" 7796: $as_echo 'GREP' >> "conftest.nl" 7797: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7798: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7799: as_fn_arith $ac_count + 1 && ac_count=$as_val 7800: if test $ac_count -gt ${ac_path_GREP_max-0}; then 7801: # Best one so far, save it but keep looking for a better one 7802: ac_cv_path_GREP="$ac_path_GREP" 7803: ac_path_GREP_max=$ac_count 7804: fi 7805: # 10*(2^10) chars as input seems more than enough 7806: test $ac_count -gt 10 && break 7807: done 7808: rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7809: esac 7810: 7811: $ac_path_GREP_found && break 3 7812: done 7813: done 7814: done 7815: IFS=$as_save_IFS 7816: if test -z "$ac_cv_path_GREP"; then 7817: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 7818: fi 7819: else 7820: ac_cv_path_GREP=$GREP 7821: fi 7822: 7823: fi 7824: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 7825: $as_echo "$ac_cv_path_GREP" >&6; } 7826: GREP="$ac_cv_path_GREP" 7827: 7828: 7829: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 7830: $as_echo_n "checking for egrep... " >&6; } 7831: if test "${ac_cv_path_EGREP+set}" = set; then : 7832: $as_echo_n "(cached) " >&6 7833: else 7834: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 7835: then ac_cv_path_EGREP="$GREP -E" 7836: else 7837: if test -z "$EGREP"; then 7838: ac_path_EGREP_found=false 7839: # Loop through the user's path and test for each of PROGNAME-LIST 7840: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7841: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 7842: do 7843: IFS=$as_save_IFS 7844: test -z "$as_dir" && as_dir=. 7845: for ac_prog in egrep; do 7846: for ac_exec_ext in '' $ac_executable_extensions; do 7847: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 7848: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 7849: # Check for GNU ac_path_EGREP and select it if it is found. 7850: # Check for GNU $ac_path_EGREP 7851: case `"$ac_path_EGREP" --version 2>&1` in 7852: *GNU*) 7853: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 7854: *) 7855: ac_count=0 7856: $as_echo_n 0123456789 >"conftest.in" 7857: while : 7858: do 7859: cat "conftest.in" "conftest.in" >"conftest.tmp" 7860: mv "conftest.tmp" "conftest.in" 7861: cp "conftest.in" "conftest.nl" 7862: $as_echo 'EGREP' >> "conftest.nl" 7863: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 7864: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 7865: as_fn_arith $ac_count + 1 && ac_count=$as_val 7866: if test $ac_count -gt ${ac_path_EGREP_max-0}; then 7867: # Best one so far, save it but keep looking for a better one 7868: ac_cv_path_EGREP="$ac_path_EGREP" 7869: ac_path_EGREP_max=$ac_count 7870: fi 7871: # 10*(2^10) chars as input seems more than enough 7872: test $ac_count -gt 10 && break 7873: done 7874: rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 7875: esac 7876: 7877: $ac_path_EGREP_found && break 3 7878: done 7879: done 7880: done 7881: IFS=$as_save_IFS 7882: if test -z "$ac_cv_path_EGREP"; then 7883: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 7884: fi 7885: else 7886: ac_cv_path_EGREP=$EGREP 7887: fi 7888: 7889: fi 7890: fi 7891: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 7892: $as_echo "$ac_cv_path_EGREP" >&6; } 7893: EGREP="$ac_cv_path_EGREP" 7894: 7895: 7896: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7897: $as_echo_n "checking for ANSI C header files... " >&6; } 7898: if test "${ac_cv_header_stdc+set}" = set; then : 7899: $as_echo_n "(cached) " >&6 7900: else 7901: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7902: /* end confdefs.h. */ 7903: #include <stdlib.h> 7904: #include <stdarg.h> 7905: #include <string.h> 7906: #include <float.h> 7907: 7908: int 7909: main () 7910: { 7911: 7912: ; 7913: return 0; 7914: } 7915: _ACEOF 7916: if ac_fn_c_try_compile "$LINENO"; then : 7917: ac_cv_header_stdc=yes 7918: else 7919: ac_cv_header_stdc=no 7920: fi 7921: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7922: 7923: if test $ac_cv_header_stdc = yes; then 7924: # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7925: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7926: /* end confdefs.h. */ 7927: #include <string.h> 7928: 7929: _ACEOF 7930: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7931: $EGREP "memchr" >/dev/null 2>&1; then : 7932: 7933: else 7934: ac_cv_header_stdc=no 7935: fi 7936: rm -f conftest* 7937: 7938: fi 7939: 7940: if test $ac_cv_header_stdc = yes; then 7941: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7942: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7943: /* end confdefs.h. */ 7944: #include <stdlib.h> 7945: 7946: _ACEOF 7947: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7948: $EGREP "free" >/dev/null 2>&1; then : 7949: 7950: else 7951: ac_cv_header_stdc=no 7952: fi 7953: rm -f conftest* 7954: 7955: fi 7956: 7957: if test $ac_cv_header_stdc = yes; then 7958: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7959: if test "$cross_compiling" = yes; then : 7960: : 7961: else 7962: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7963: /* end confdefs.h. */ 7964: #include <ctype.h> 7965: #include <stdlib.h> 7966: #if ((' ' & 0x0FF) == 0x020) 7967: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7968: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7969: #else 7970: # define ISLOWER(c) \ 7971: (('a' <= (c) && (c) <= 'i') \ 7972: || ('j' <= (c) && (c) <= 'r') \ 7973: || ('s' <= (c) && (c) <= 'z')) 7974: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7975: #endif 7976: 7977: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7978: int 7979: main () 7980: { 7981: int i; 7982: for (i = 0; i < 256; i++) 7983: if (XOR (islower (i), ISLOWER (i)) 7984: || toupper (i) != TOUPPER (i)) 7985: return 2; 7986: return 0; 7987: } 7988: _ACEOF 7989: if ac_fn_c_try_run "$LINENO"; then : 7990: 7991: else 7992: ac_cv_header_stdc=no 7993: fi 7994: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7995: conftest.$ac_objext conftest.beam conftest.$ac_ext 7996: fi 7997: 7998: fi 7999: fi 8000: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8001: $as_echo "$ac_cv_header_stdc" >&6; } 8002: if test $ac_cv_header_stdc = yes; then 8003: 8004: $as_echo "#define STDC_HEADERS 1" >>confdefs.h 8005: 8006: fi 8007: 8008: # On IRIX 5.3, sys/types and inttypes.h are conflicting. 8009: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8010: inttypes.h stdint.h unistd.h 8011: do : 8012: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8013: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 8014: " 8015: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8016: cat >>confdefs.h <<_ACEOF 8017: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8018: _ACEOF 8019: 8020: fi 8021: 8022: done 8023: 8024: 8025: # The cast to long int works around a bug in the HP C Compiler 8026: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 8027: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8028: # This bug is HP SR number 8606223364. 8029: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 8030: $as_echo_n "checking size of void *... " >&6; } 8031: if test "${ac_cv_sizeof_void_p+set}" = set; then : 8032: $as_echo_n "(cached) " >&6 8033: else 8034: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 8035: 8036: else 8037: if test "$ac_cv_type_void_p" = yes; then 8038: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8039: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8040: as_fn_error 77 "cannot compute sizeof (void *) 8041: See \`config.log' for more details" "$LINENO" 5 ; } 8042: else 8043: ac_cv_sizeof_void_p=0 8044: fi 8045: fi 8046: 8047: fi 8048: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 8049: $as_echo "$ac_cv_sizeof_void_p" >&6; } 8050: 8051: 8052: 8053: cat >>confdefs.h <<_ACEOF 8054: #define SIZEOF_VOID_P $ac_cv_sizeof_void_p 8055: _ACEOF 8056: 8057: 8058: # The cast to long int works around a bug in the HP C Compiler 8059: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 8060: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8061: # This bug is HP SR number 8606223364. 8062: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5 8063: $as_echo_n "checking size of char... " >&6; } 8064: if test "${ac_cv_sizeof_char+set}" = set; then : 8065: $as_echo_n "(cached) " >&6 8066: else 8067: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then : 8068: 8069: else 8070: if test "$ac_cv_type_char" = yes; then 8071: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8072: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8073: as_fn_error 77 "cannot compute sizeof (char) 8074: See \`config.log' for more details" "$LINENO" 5 ; } 8075: else 8076: ac_cv_sizeof_char=0 8077: fi 8078: fi 8079: 8080: fi 8081: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5 8082: $as_echo "$ac_cv_sizeof_char" >&6; } 8083: 8084: 8085: 8086: cat >>confdefs.h <<_ACEOF 8087: #define SIZEOF_CHAR $ac_cv_sizeof_char 8088: _ACEOF 8089: 8090: 8091: # The cast to long int works around a bug in the HP C Compiler 8092: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 8093: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8094: # This bug is HP SR number 8606223364. 8095: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5 8096: $as_echo_n "checking size of short int... " >&6; } 8097: if test "${ac_cv_sizeof_short_int+set}" = set; then : 8098: $as_echo_n "(cached) " >&6 8099: else 8100: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default"; then : 8101: 8102: else 8103: if test "$ac_cv_type_short_int" = yes; then 8104: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8105: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8106: as_fn_error 77 "cannot compute sizeof (short int) 8107: See \`config.log' for more details" "$LINENO" 5 ; } 8108: else 8109: ac_cv_sizeof_short_int=0 8110: fi 8111: fi 8112: 8113: fi 8114: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5 8115: $as_echo "$ac_cv_sizeof_short_int" >&6; } 8116: 8117: 8118: 8119: cat >>confdefs.h <<_ACEOF 8120: #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int 8121: _ACEOF 8122: 8123: 8124: # The cast to long int works around a bug in the HP C Compiler 8125: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 8126: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8127: # This bug is HP SR number 8606223364. 8128: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 8129: $as_echo_n "checking size of int... " >&6; } 8130: if test "${ac_cv_sizeof_int+set}" = set; then : 8131: $as_echo_n "(cached) " >&6 8132: else 8133: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 8134: 8135: else 8136: if test "$ac_cv_type_int" = yes; then 8137: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8138: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8139: as_fn_error 77 "cannot compute sizeof (int) 8140: See \`config.log' for more details" "$LINENO" 5 ; } 8141: else 8142: ac_cv_sizeof_int=0 8143: fi 8144: fi 8145: 8146: fi 8147: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 8148: $as_echo "$ac_cv_sizeof_int" >&6; } 8149: 8150: 8151: 8152: cat >>confdefs.h <<_ACEOF 8153: #define SIZEOF_INT $ac_cv_sizeof_int 8154: _ACEOF 8155: 8156: 8157: # The cast to long int works around a bug in the HP C Compiler 8158: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 8159: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8160: # This bug is HP SR number 8606223364. 8161: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5 8162: $as_echo_n "checking size of long int... " >&6; } 8163: if test "${ac_cv_sizeof_long_int+set}" = set; then : 8164: $as_echo_n "(cached) " >&6 8165: else 8166: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then : 8167: 8168: else 8169: if test "$ac_cv_type_long_int" = yes; then 8170: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8171: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8172: as_fn_error 77 "cannot compute sizeof (long int) 8173: See \`config.log' for more details" "$LINENO" 5 ; } 8174: else 8175: ac_cv_sizeof_long_int=0 8176: fi 8177: fi 8178: 8179: fi 8180: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5 8181: $as_echo "$ac_cv_sizeof_long_int" >&6; } 8182: 8183: 8184: 8185: cat >>confdefs.h <<_ACEOF 8186: #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int 8187: _ACEOF 8188: 8189: 8190: # The cast to long int works around a bug in the HP C Compiler 8191: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 8192: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8193: # This bug is HP SR number 8606223364. 8194: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5 8195: $as_echo_n "checking size of long long int... " >&6; } 8196: if test "${ac_cv_sizeof_long_long_int+set}" = set; then : 8197: $as_echo_n "(cached) " >&6 8198: else 8199: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then : 8200: 8201: else 8202: if test "$ac_cv_type_long_long_int" = yes; then 8203: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8204: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8205: as_fn_error 77 "cannot compute sizeof (long long int) 8206: See \`config.log' for more details" "$LINENO" 5 ; } 8207: else 8208: ac_cv_sizeof_long_long_int=0 8209: fi 8210: fi 8211: 8212: fi 8213: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5 8214: $as_echo "$ac_cv_sizeof_long_long_int" >&6; } 8215: 8216: 8217: 8218: cat >>confdefs.h <<_ACEOF 8219: #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int 8220: _ACEOF 8221: 8222: 8223: # The cast to long int works around a bug in the HP C Compiler 8224: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 8225: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8226: # This bug is HP SR number 8606223364. 8227: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 8228: $as_echo_n "checking size of float... " >&6; } 8229: if test "${ac_cv_sizeof_float+set}" = set; then : 8230: $as_echo_n "(cached) " >&6 8231: else 8232: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : 8233: 8234: else 8235: if test "$ac_cv_type_float" = yes; then 8236: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8237: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8238: as_fn_error 77 "cannot compute sizeof (float) 8239: See \`config.log' for more details" "$LINENO" 5 ; } 8240: else 8241: ac_cv_sizeof_float=0 8242: fi 8243: fi 8244: 8245: fi 8246: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 8247: $as_echo "$ac_cv_sizeof_float" >&6; } 8248: 8249: 8250: 8251: cat >>confdefs.h <<_ACEOF 8252: #define SIZEOF_FLOAT $ac_cv_sizeof_float 8253: _ACEOF 8254: 8255: 8256: # The cast to long int works around a bug in the HP C Compiler 8257: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 8258: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8259: # This bug is HP SR number 8606223364. 8260: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5 8261: $as_echo_n "checking size of double... " >&6; } 8262: if test "${ac_cv_sizeof_double+set}" = set; then : 8263: $as_echo_n "(cached) " >&6 8264: else 8265: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then : 8266: 8267: else 8268: if test "$ac_cv_type_double" = yes; then 8269: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8270: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8271: as_fn_error 77 "cannot compute sizeof (double) 8272: See \`config.log' for more details" "$LINENO" 5 ; } 8273: else 8274: ac_cv_sizeof_double=0 8275: fi 8276: fi 8277: 8278: fi 8279: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5 8280: $as_echo "$ac_cv_sizeof_double" >&6; } 8281: 8282: 8283: 8284: cat >>confdefs.h <<_ACEOF 8285: #define SIZEOF_DOUBLE $ac_cv_sizeof_double 8286: _ACEOF 8287: 8288: 8289: # The cast to long int works around a bug in the HP C Compiler 8290: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 8291: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8292: # This bug is HP SR number 8606223364. 8293: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5 8294: $as_echo_n "checking size of long double... " >&6; } 8295: if test "${ac_cv_sizeof_long_double+set}" = set; then : 8296: $as_echo_n "(cached) " >&6 8297: else 8298: if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long double))" "ac_cv_sizeof_long_double" "$ac_includes_default"; then : 8299: 8300: else 8301: if test "$ac_cv_type_long_double" = yes; then 8302: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8303: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8304: as_fn_error 77 "cannot compute sizeof (long double) 8305: See \`config.log' for more details" "$LINENO" 5 ; } 8306: else 8307: ac_cv_sizeof_long_double=0 8308: fi 8309: fi 8310: 8311: fi 8312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5 8313: $as_echo "$ac_cv_sizeof_long_double" >&6; } 8314: 8315: 8316: 8317: cat >>confdefs.h <<_ACEOF 8318: #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double 8319: _ACEOF 8320: 8321: 8322: 8323: ac_header_dirent=no 8324: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 8325: as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 8326: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 8327: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 8328: if eval "test \"\${$as_ac_Header+set}\"" = set; then : 8329: $as_echo_n "(cached) " >&6 8330: else 8331: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8332: /* end confdefs.h. */ 8333: #include <sys/types.h> 8334: #include <$ac_hdr> 8335: 8336: int 8337: main () 8338: { 8339: if ((DIR *) 0) 8340: return 0; 8341: ; 8342: return 0; 8343: } 8344: _ACEOF 8345: if ac_fn_c_try_compile "$LINENO"; then : 8346: eval "$as_ac_Header=yes" 8347: else 8348: eval "$as_ac_Header=no" 8349: fi 8350: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8351: fi 8352: eval ac_res=\$$as_ac_Header 8353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 8354: $as_echo "$ac_res" >&6; } 8355: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8356: cat >>confdefs.h <<_ACEOF 8357: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 8358: _ACEOF 8359: 8360: ac_header_dirent=$ac_hdr; break 8361: fi 8362: 8363: done 8364: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 8365: if test $ac_header_dirent = dirent.h; then 8366: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 8367: $as_echo_n "checking for library containing opendir... " >&6; } 8368: if test "${ac_cv_search_opendir+set}" = set; then : 8369: $as_echo_n "(cached) " >&6 8370: else 8371: ac_func_search_save_LIBS=$LIBS 8372: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8373: /* end confdefs.h. */ 8374: 8375: /* Override any GCC internal prototype to avoid an error. 8376: Use char because int might match the return type of a GCC 8377: builtin and then its argument prototype would still apply. */ 8378: #ifdef __cplusplus 8379: extern "C" 8380: #endif 8381: char opendir (); 8382: int 8383: main () 8384: { 8385: return opendir (); 8386: ; 8387: return 0; 8388: } 8389: _ACEOF 8390: for ac_lib in '' dir; do 8391: if test -z "$ac_lib"; then 8392: ac_res="none required" 8393: else 8394: ac_res=-l$ac_lib 8395: LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8396: fi 8397: if ac_fn_c_try_link "$LINENO"; then : 8398: ac_cv_search_opendir=$ac_res 8399: fi 8400: rm -f core conftest.err conftest.$ac_objext \ 8401: conftest$ac_exeext 8402: if test "${ac_cv_search_opendir+set}" = set; then : 8403: break 8404: fi 8405: done 8406: if test "${ac_cv_search_opendir+set}" = set; then : 8407: 8408: else 8409: ac_cv_search_opendir=no 8410: fi 8411: rm conftest.$ac_ext 8412: LIBS=$ac_func_search_save_LIBS 8413: fi 8414: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 8415: $as_echo "$ac_cv_search_opendir" >&6; } 8416: ac_res=$ac_cv_search_opendir 8417: if test "$ac_res" != no; then : 8418: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8419: 8420: fi 8421: 8422: else 8423: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 8424: $as_echo_n "checking for library containing opendir... " >&6; } 8425: if test "${ac_cv_search_opendir+set}" = set; then : 8426: $as_echo_n "(cached) " >&6 8427: else 8428: ac_func_search_save_LIBS=$LIBS 8429: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8430: /* end confdefs.h. */ 8431: 8432: /* Override any GCC internal prototype to avoid an error. 8433: Use char because int might match the return type of a GCC 8434: builtin and then its argument prototype would still apply. */ 8435: #ifdef __cplusplus 8436: extern "C" 8437: #endif 8438: char opendir (); 8439: int 8440: main () 8441: { 8442: return opendir (); 8443: ; 8444: return 0; 8445: } 8446: _ACEOF 8447: for ac_lib in '' x; do 8448: if test -z "$ac_lib"; then 8449: ac_res="none required" 8450: else 8451: ac_res=-l$ac_lib 8452: LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8453: fi 8454: if ac_fn_c_try_link "$LINENO"; then : 8455: ac_cv_search_opendir=$ac_res 8456: fi 8457: rm -f core conftest.err conftest.$ac_objext \ 8458: conftest$ac_exeext 8459: if test "${ac_cv_search_opendir+set}" = set; then : 8460: break 8461: fi 8462: done 8463: if test "${ac_cv_search_opendir+set}" = set; then : 8464: 8465: else 8466: ac_cv_search_opendir=no 8467: fi 8468: rm conftest.$ac_ext 8469: LIBS=$ac_func_search_save_LIBS 8470: fi 8471: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 8472: $as_echo "$ac_cv_search_opendir" >&6; } 8473: ac_res=$ac_cv_search_opendir 8474: if test "$ac_res" != no; then : 8475: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8476: 8477: fi 8478: 8479: fi 8480: 8481: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 8482: $as_echo_n "checking for ANSI C header files... " >&6; } 8483: if test "${ac_cv_header_stdc+set}" = set; then : 8484: $as_echo_n "(cached) " >&6 8485: else 8486: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8487: /* end confdefs.h. */ 8488: #include <stdlib.h> 8489: #include <stdarg.h> 8490: #include <string.h> 8491: #include <float.h> 8492: 8493: int 8494: main () 8495: { 8496: 8497: ; 8498: return 0; 8499: } 8500: _ACEOF 8501: if ac_fn_c_try_compile "$LINENO"; then : 8502: ac_cv_header_stdc=yes 8503: else 8504: ac_cv_header_stdc=no 8505: fi 8506: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8507: 8508: if test $ac_cv_header_stdc = yes; then 8509: # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8510: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8511: /* end confdefs.h. */ 8512: #include <string.h> 8513: 8514: _ACEOF 8515: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8516: $EGREP "memchr" >/dev/null 2>&1; then : 8517: 8518: else 8519: ac_cv_header_stdc=no 8520: fi 8521: rm -f conftest* 8522: 8523: fi 8524: 8525: if test $ac_cv_header_stdc = yes; then 8526: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8527: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8528: /* end confdefs.h. */ 8529: #include <stdlib.h> 8530: 8531: _ACEOF 8532: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8533: $EGREP "free" >/dev/null 2>&1; then : 8534: 8535: else 8536: ac_cv_header_stdc=no 8537: fi 8538: rm -f conftest* 8539: 8540: fi 8541: 8542: if test $ac_cv_header_stdc = yes; then 8543: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8544: if test "$cross_compiling" = yes; then : 8545: : 8546: else 8547: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8548: /* end confdefs.h. */ 8549: #include <ctype.h> 8550: #include <stdlib.h> 8551: #if ((' ' & 0x0FF) == 0x020) 8552: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8553: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8554: #else 8555: # define ISLOWER(c) \ 8556: (('a' <= (c) && (c) <= 'i') \ 8557: || ('j' <= (c) && (c) <= 'r') \ 8558: || ('s' <= (c) && (c) <= 'z')) 8559: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8560: #endif 8561: 8562: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8563: int 8564: main () 8565: { 8566: int i; 8567: for (i = 0; i < 256; i++) 8568: if (XOR (islower (i), ISLOWER (i)) 8569: || toupper (i) != TOUPPER (i)) 8570: return 2; 8571: return 0; 8572: } 8573: _ACEOF 8574: if ac_fn_c_try_run "$LINENO"; then : 8575: 8576: else 8577: ac_cv_header_stdc=no 8578: fi 8579: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8580: conftest.$ac_objext conftest.beam conftest.$ac_ext 8581: fi 8582: 8583: fi 8584: fi 8585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 8586: $as_echo "$ac_cv_header_stdc" >&6; } 8587: if test $ac_cv_header_stdc = yes; then 8588: 8589: $as_echo "#define STDC_HEADERS 1" >>confdefs.h 8590: 8591: fi 8592: 8593: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 8594: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 8595: if test "${ac_cv_header_sys_wait_h+set}" = set; then : 8596: $as_echo_n "(cached) " >&6 8597: else 8598: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8599: /* end confdefs.h. */ 8600: #include <sys/types.h> 8601: #include <sys/wait.h> 8602: #ifndef WEXITSTATUS 8603: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) 8604: #endif 8605: #ifndef WIFEXITED 8606: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 8607: #endif 8608: 8609: int 8610: main () 8611: { 8612: int s; 8613: wait (&s); 8614: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 8615: ; 8616: return 0; 8617: } 8618: _ACEOF 8619: if ac_fn_c_try_compile "$LINENO"; then : 8620: ac_cv_header_sys_wait_h=yes 8621: else 8622: ac_cv_header_sys_wait_h=no 8623: fi 8624: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8625: fi 8626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 8627: $as_echo "$ac_cv_header_sys_wait_h" >&6; } 8628: if test $ac_cv_header_sys_wait_h = yes; then 8629: 8630: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h 8631: 8632: fi 8633: 8634: for ac_header in dlfcn.h fcntl.h math.h pwd.h signal.h string.h termios.h \ 8635: time.h unistd.h sys/resource.h sys/stat.h sys/time.h sys/timeb.h \ 8636: sys/types.h sys/select.h sys/wait.h stdio.h stdlib.h pthread.h 8637: do : 8638: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8639: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 8640: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 8641: cat >>confdefs.h <<_ACEOF 8642: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8643: _ACEOF 8644: 8645: fi 8646: 8647: done 8648: 8649: 8650: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 8651: $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 8652: if test "${ac_cv_c_const+set}" = set; then : 8653: $as_echo_n "(cached) " >&6 8654: else 8655: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8656: /* end confdefs.h. */ 8657: 8658: int 8659: main () 8660: { 8661: /* FIXME: Include the comments suggested by Paul. */ 8662: #ifndef __cplusplus 8663: /* Ultrix mips cc rejects this. */ 8664: typedef int charset[2]; 8665: const charset cs; 8666: /* SunOS 4.1.1 cc rejects this. */ 8667: char const *const *pcpcc; 8668: char **ppc; 8669: /* NEC SVR4.0.2 mips cc rejects this. */ 8670: struct point {int x, y;}; 8671: static struct point const zero = {0,0}; 8672: /* AIX XL C 1.02.0.0 rejects this. 8673: It does not let you subtract one const X* pointer from another in 8674: an arm of an if-expression whose if-part is not a constant 8675: expression */ 8676: const char *g = "string"; 8677: pcpcc = &g + (g ? g-g : 0); 8678: /* HPUX 7.0 cc rejects these. */ 8679: ++pcpcc; 8680: ppc = (char**) pcpcc; 8681: pcpcc = (char const *const *) ppc; 8682: { /* SCO 3.2v4 cc rejects this. */ 8683: char *t; 8684: char const *s = 0 ? (char *) 0 : (char const *) 0; 8685: 8686: *t++ = 0; 8687: if (s) return 0; 8688: } 8689: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 8690: int x[] = {25, 17}; 8691: const int *foo = &x[0]; 8692: ++foo; 8693: } 8694: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 8695: typedef const int *iptr; 8696: iptr p = 0; 8697: ++p; 8698: } 8699: { /* AIX XL C 1.02.0.0 rejects this saying 8700: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 8701: struct s { int j; const int *ap[3]; }; 8702: struct s *b; b->j = 5; 8703: } 8704: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 8705: const int foo = 10; 8706: if (!foo) return 0; 8707: } 8708: return !cs[0] && !zero.x; 8709: #endif 8710: 8711: ; 8712: return 0; 8713: } 8714: _ACEOF 8715: if ac_fn_c_try_compile "$LINENO"; then : 8716: ac_cv_c_const=yes 8717: else 8718: ac_cv_c_const=no 8719: fi 8720: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8721: fi 8722: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 8723: $as_echo "$ac_cv_c_const" >&6; } 8724: if test $ac_cv_c_const = no; then 8725: 8726: $as_echo "#define const /**/" >>confdefs.h 8727: 8728: fi 8729: 8730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 8731: $as_echo_n "checking for uid_t in sys/types.h... " >&6; } 8732: if test "${ac_cv_type_uid_t+set}" = set; then : 8733: $as_echo_n "(cached) " >&6 8734: else 8735: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8736: /* end confdefs.h. */ 8737: #include <sys/types.h> 8738: 8739: _ACEOF 8740: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 8741: $EGREP "uid_t" >/dev/null 2>&1; then : 8742: ac_cv_type_uid_t=yes 8743: else 8744: ac_cv_type_uid_t=no 8745: fi 8746: rm -f conftest* 8747: 8748: fi 8749: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 8750: $as_echo "$ac_cv_type_uid_t" >&6; } 8751: if test $ac_cv_type_uid_t = no; then 8752: 8753: $as_echo "#define uid_t int" >>confdefs.h 8754: 8755: 8756: $as_echo "#define gid_t int" >>confdefs.h 8757: 8758: fi 8759: 8760: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 8761: if test "x$ac_cv_type_pid_t" = x""yes; then : 8762: 8763: else 8764: 8765: cat >>confdefs.h <<_ACEOF 8766: #define pid_t int 8767: _ACEOF 8768: 8769: fi 8770: 8771: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 8772: if test "x$ac_cv_type_size_t" = x""yes; then : 8773: 8774: else 8775: 8776: cat >>confdefs.h <<_ACEOF 8777: #define size_t unsigned int 8778: _ACEOF 8779: 8780: fi 8781: 8782: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 8783: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 8784: if test "${ac_cv_header_time+set}" = set; then : 8785: $as_echo_n "(cached) " >&6 8786: else 8787: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8788: /* end confdefs.h. */ 8789: #include <sys/types.h> 8790: #include <sys/time.h> 8791: #include <time.h> 8792: 8793: int 8794: main () 8795: { 8796: if ((struct tm *) 0) 8797: return 0; 8798: ; 8799: return 0; 8800: } 8801: _ACEOF 8802: if ac_fn_c_try_compile "$LINENO"; then : 8803: ac_cv_header_time=yes 8804: else 8805: ac_cv_header_time=no 8806: fi 8807: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8808: fi 8809: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 8810: $as_echo "$ac_cv_header_time" >&6; } 8811: if test $ac_cv_header_time = yes; then 8812: 8813: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 8814: 8815: fi 8816: 8817: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 8818: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 8819: if test "${ac_cv_struct_tm+set}" = set; then : 8820: $as_echo_n "(cached) " >&6 8821: else 8822: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8823: /* end confdefs.h. */ 8824: #include <sys/types.h> 8825: #include <time.h> 8826: 8827: int 8828: main () 8829: { 8830: struct tm tm; 8831: int *p = &tm.tm_sec; 8832: return !p; 8833: ; 8834: return 0; 8835: } 8836: _ACEOF 8837: if ac_fn_c_try_compile "$LINENO"; then : 8838: ac_cv_struct_tm=time.h 8839: else 8840: ac_cv_struct_tm=sys/time.h 8841: fi 8842: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8843: fi 8844: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 8845: $as_echo "$ac_cv_struct_tm" >&6; } 8846: if test $ac_cv_struct_tm = sys/time.h; then 8847: 8848: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 8849: 8850: fi 8851: 8852: 8853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 8854: $as_echo_n "checking return type of signal handlers... " >&6; } 8855: if test "${ac_cv_type_signal+set}" = set; then : 8856: $as_echo_n "(cached) " >&6 8857: else 8858: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8859: /* end confdefs.h. */ 8860: #include <sys/types.h> 8861: #include <signal.h> 8862: 8863: int 8864: main () 8865: { 8866: return *(signal (0, 0)) (0) == 1; 8867: ; 8868: return 0; 8869: } 8870: _ACEOF 8871: if ac_fn_c_try_compile "$LINENO"; then : 8872: ac_cv_type_signal=int 8873: else 8874: ac_cv_type_signal=void 8875: fi 8876: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8877: fi 8878: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 8879: $as_echo "$ac_cv_type_signal" >&6; } 8880: 8881: cat >>confdefs.h <<_ACEOF 8882: #define RETSIGTYPE $ac_cv_type_signal 8883: _ACEOF 8884: 8885: 8886: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5 8887: $as_echo_n "checking for broken siginfo->si_pid... " >&6; } 8888: if test "$cross_compiling" = yes; then : 8889: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8890: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8891: as_fn_error $? "cannot run test program while cross compiling 8892: See \`config.log' for more details" "$LINENO" 5 ; } 8893: else 8894: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8895: /* end confdefs.h. */ 8896: #include <unistd.h> 8897: #include <signal.h> 8898: int flag; 8899: void handler(int signal, siginfo_t *siginfo, void *context) 8900: { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; } 8901: int 8902: main () 8903: { 8904: struct sigaction action; 8905: action.sa_sigaction = handler; 8906: action.sa_flags = SA_SIGINFO; 8907: sigaction(SIGUSR1, &action, NULL); 8908: raise(SIGUSR1); 8909: return(flag); 8910: ; 8911: return 0; 8912: } 8913: _ACEOF 8914: if ac_fn_c_try_run "$LINENO"; then : 8915: BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8916: $as_echo "no" >&6; } 8917: else 8918: BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8919: $as_echo "yes" >&6; } 8920: fi 8921: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8922: conftest.$ac_objext conftest.beam conftest.$ac_ext 8923: fi 8924: 8925: 8926: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5 8927: $as_echo_n "checking for working strcoll... " >&6; } 8928: if test "${ac_cv_func_strcoll_works+set}" = set; then : 8929: $as_echo_n "(cached) " >&6 8930: else 8931: if test "$cross_compiling" = yes; then : 8932: ac_cv_func_strcoll_works=no 8933: else 8934: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8935: /* end confdefs.h. */ 8936: $ac_includes_default 8937: int 8938: main () 8939: { 8940: return (strcoll ("abc", "def") >= 0 || 8941: strcoll ("ABC", "DEF") >= 0 || 8942: strcoll ("123", "456") >= 0) 8943: ; 8944: return 0; 8945: } 8946: _ACEOF 8947: if ac_fn_c_try_run "$LINENO"; then : 8948: ac_cv_func_strcoll_works=yes 8949: else 8950: ac_cv_func_strcoll_works=no 8951: fi 8952: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 8953: conftest.$ac_objext conftest.beam conftest.$ac_ext 8954: fi 8955: 8956: fi 8957: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5 8958: $as_echo "$ac_cv_func_strcoll_works" >&6; } 8959: if test $ac_cv_func_strcoll_works = yes; then 8960: 8961: $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h 8962: 8963: fi 8964: 8965: for ac_func in strftime 8966: do : 8967: ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 8968: if test "x$ac_cv_func_strftime" = x""yes; then : 8969: cat >>confdefs.h <<_ACEOF 8970: #define HAVE_STRFTIME 1 8971: _ACEOF 8972: 8973: else 8974: # strftime is in -lintl on SCO UNIX. 8975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 8976: $as_echo_n "checking for strftime in -lintl... " >&6; } 8977: if test "${ac_cv_lib_intl_strftime+set}" = set; then : 8978: $as_echo_n "(cached) " >&6 8979: else 8980: ac_check_lib_save_LIBS=$LIBS 8981: LIBS="-lintl $LIBS" 8982: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8983: /* end confdefs.h. */ 8984: 8985: /* Override any GCC internal prototype to avoid an error. 8986: Use char because int might match the return type of a GCC 8987: builtin and then its argument prototype would still apply. */ 8988: #ifdef __cplusplus 8989: extern "C" 8990: #endif 8991: char strftime (); 8992: int 8993: main () 8994: { 8995: return strftime (); 8996: ; 8997: return 0; 8998: } 8999: _ACEOF 9000: if ac_fn_c_try_link "$LINENO"; then : 9001: ac_cv_lib_intl_strftime=yes 9002: else 9003: ac_cv_lib_intl_strftime=no 9004: fi 9005: rm -f core conftest.err conftest.$ac_objext \ 9006: conftest$ac_exeext conftest.$ac_ext 9007: LIBS=$ac_check_lib_save_LIBS 9008: fi 9009: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 9010: $as_echo "$ac_cv_lib_intl_strftime" >&6; } 9011: if test "x$ac_cv_lib_intl_strftime" = x""yes; then : 9012: $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 9013: 9014: LIBS="-lintl $LIBS" 9015: fi 9016: 9017: fi 9018: done 9019: 9020: for ac_func in vprintf 9021: do : 9022: ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 9023: if test "x$ac_cv_func_vprintf" = x""yes; then : 9024: cat >>confdefs.h <<_ACEOF 9025: #define HAVE_VPRINTF 1 9026: _ACEOF 9027: 9028: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 9029: if test "x$ac_cv_func__doprnt" = x""yes; then : 9030: 9031: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 9032: 9033: fi 9034: 9035: fi 9036: done 9037: 9038: 9039: for ac_func in ftime getcwd putenv select strcspn strdup \ 9040: strerror strspn strstr strtod 9041: do : 9042: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9043: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 9044: if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 9045: cat >>confdefs.h <<_ACEOF 9046: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9047: _ACEOF 9048: 9049: fi 9050: done 9051: 9052: 9053: 9054: # Check whether --with-openssl_arch was given. 9055: if test "${with_openssl_arch+set}" = set; then : 9056: withval=$with_openssl_arch; 9057: else 9058: with_openssl_arch=none 9059: fi 9060: 9061: 9062: if test $(uname) = "OS/2"; then 9063: bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd" 9064: else 9065: if test "x$with_openssl_arch" = xnone; then 9066: (cd tools/$OPENSSL && ./config) 9067: elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then 9068: (cd tools/$OPENSSL && ./Configure) 9069: as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5 9070: elif test "x$with_openssl_arch" = xlist; then 9071: (cd tools/$OPENSSL && ./Configure) 9072: as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5 9073: else 9074: (cd tools/$OPENSSL && ./Configure $with_openssl_arch) 9075: fi 9076: fi 9077: 9078: 9079: 9080: subdirs="$subdirs tools/$NCURSES" 9081: 9082: subdirs="$subdirs tools/$READLINE" 9083: 9084: subdirs="$subdirs tools/$GSL" 9085: 9086: subdirs="$subdirs tools/$GPP" 9087: 9088: subdirs="$subdirs tools/$FILE" 9089: 9090: subdirs="$subdirs tools/$ICONV" 9091: 9092: subdirs="$subdirs tools/$SQLITE" 9093: 9094: subdirs="$subdirs tools/$UNITS" 9095: 9096: 9097: if test "$MYGNUPLOT" = "yes"; then 9098: if test ! -d "$srcdir"/tools/$GNUPLOT; then 9099: gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \ 9100: (cd "$srcdir/tools" && tar -xf -) 9101: fi 9102: subdirs="$subdirs tools/$GNUPLOT" 9103: 9104: GNUPLOT_COMPILATION=$GNUPLOT 9105: else 9106: GNUPLOT_COMPILATION= 9107: fi 9108: 9109: 9110: 9111: case $host_cpu in 9112: 9113: i?86) 9114: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \ 9115: -Wno-pointer-sign" 9116: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c" 9117: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c" 9118: break ;; 9119: 9120: x86_64*) 9121: CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \ 9122: -Wno-pointer-sign" 9123: FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c" 9124: FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c" 9125: break ;; 9126: 9127: alpha*) 9128: CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \ 9129: -Wno-pointer-sign" 9130: FFLAGS="$FFLAGS -mieee -Wall" 9131: FCFLAGS="$FCFLAGS -mieee -Wall" 9132: break ;; 9133: 9134: sparc*) 9135: CFLAGS="$CFLAGS -Wall -funsigned-char \ 9136: -Wno-pointer-sign" 9137: FFLAGS="$FFLAGS -Wall" 9138: FCFLAGS="$FCFLAGS -Wall" 9139: break ;; 9140: 9141: esac 9142: 9143: case $host_os in 9144: 9145: cygwin*) 9146: OS=Cygwin 9147: break ;; 9148: 9149: interix*) 9150: OS=Interix 9151: break ;; 9152: 9153: *) 9154: OS=$(uname) 9155: break ;; 9156: 9157: esac 9158: 9159: 9160: 9161: DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z') 9162: DATE=$(env LC_ALL=C date +'%A %x, %X %Z') 9163: MALLOC= 9164: 9165: case $OS in 9166: 9167: Darwin) 9168: EXPORT_DYNAMIC=-Wl,-flat_namespace 9169: NESTED_FUNCTIONS=-fnested-functions 9170: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES 9171: IPCS_SYSV=-UIPCS_SYSV 9172: CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING" 9173: ac_configure_args="$ac_configure_args --with-readline=builtin \ 9174: --disable-shared --enable-static --enable-threads" 9175: C_STANDARD=-std=gnu99 9176: break ;; 9177: 9178: Cygwin) 9179: EXPORT_DYNAMIC=-Wl,--export-all-symbols 9180: NESTED_FUNCTIONS= 9181: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES 9182: IPCS_SYSV=-UIPCS_SYSV 9183: ac_configure_args="$ac_configure_args --with-readline=builtin \ 9184: --disable-shared --enable-static --enable-threads" 9185: C_STANDARD=-std=gnu99 9186: break ;; 9187: 9188: Interix) 9189: EXPORT_DYNAMIC=-Wl,--export-all-symbols 9190: NESTED_FUNCTIONS= 9191: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES 9192: IPCS_SYSV=-UIPCS_SYSV 9193: ac_configure_args="$ac_configure_args --with-readline=builtin \ 9194: --disable-shared --enable-static --enable-threads" 9195: C_STANDARD=-std=gnu99 9196: break;; 9197: 9198: AIX) 9199: EXPORT_DYNAMIC=-Wl,--export-dynamic 9200: NESTED_FUNCTIONS= 9201: SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES 9202: IPCS_SYSV=-UIPCS_SYSV 9203: ac_configure_args="$ac_configure_args --with-readline=builtin \ 9204: --disable-shared --enable-static --enable-threads" 9205: C_STANDARD=-std=gnu99 9206: break ;; 9207: 9208: OS/2) 9209: if test $FORCED_FINAL_ENCODING -eq 0; then \ 9210: FINAL_ENCODING=CP850; \ 9211: fi; 9212: OS=OS2 9213: NESTED_FUNCTIONS= 9214: EXPORT_DYNAMIC=-Zmap 9215: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES 9216: IPCS_SYSV=-DIPCS_SYSV 9217: ac_configure_args="$ac_configure_args --without-readline \ 9218: --without-cairo --disable-shared --enable-static \ 9219: --enable-threads" 9220: C_STANDARD= 9221: break;; 9222: 9223: OpenBSD) 9224: if test $FORCED_FINAL_ENCODING -eq 0; then \ 9225: FINAL_ENCODING=UTF-8; \ 9226: fi; 9227: EXPORT_DYNAMIC=-Wl,--export-dynamic 9228: NESTED_FUNCTIONS= 9229: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES 9230: IPCS_SYSV=-DIPCS_SYSV 9231: ac_configure_args="$ac_configure_args --with-readline=builtin \ 9232: --disable-shared --enable-static --enable-threads" 9233: C_STANDARD=-std=gnu99 9234: break;; 9235: 9236: SunOS) 9237: EXPORT_DYNAMIC=-Wl,--export-dynamic 9238: NESTED_FUNCTIONS= 9239: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES 9240: 9241: if test $IPCS_SYSV = no; then 9242: IPCS_SYSV=-UIPCS_SYSV 9243: else 9244: IPCS_SYSV=-DIPCS_SYSV 9245: fi 9246: 9247: ac_configure_args="$ac_configure_args --with-readline=builtin \ 9248: --disable-shared --enable-static --enable-threads" 9249: C_STANDARD=-std=gnu99 9250: MALLOC=-lumem 9251: break ;; 9252: 9253: *) 9254: EXPORT_DYNAMIC=-Wl,--export-dynamic 9255: NESTED_FUNCTIONS= 9256: SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES 9257: 9258: if test $IPCS_SYSV = no; then 9259: IPCS_SYSV=-UIPCS_SYSV 9260: else 9261: IPCS_SYSV=-DIPCS_SYSV 9262: fi 9263: 9264: ac_configure_args="$ac_configure_args --with-readline=builtin \ 9265: --disable-shared --enable-static --enable-threads" 9266: C_STANDARD=-std=gnu99 9267: break ;; 9268: 9269: esac 9270: 9271: 9272: 9273: 9274: 9275: 9276: 9277: 9278: 9279: 9280: 9281: 9282: 9283: 9284: 9285: 9286: 9287: 9288: 9289: 9290: 9291: 9292: 9293: 9294: 9295: 9296: 9297: 9298: 9299: 9300: 9301: 9302: ac_config_files="$ac_config_files Makefile" 9303: 9304: ac_config_files="$ac_config_files COPYING" 9305: 9306: ac_config_files="$ac_config_files tools/Makefile" 9307: 9308: ac_config_files="$ac_config_files src/Makefile" 9309: 9310: ac_config_files="$ac_config_files man/Makefile" 9311: 9312: ac_config_files="$ac_config_files man/fr_FR/Makefile" 9313: 9314: ac_config_files="$ac_config_files doc/Makefile" 9315: 9316: ac_config_files="$ac_config_files scripts/Makefile" 9317: 9318: ac_config_files="$ac_config_files scripts/mkrplso" 9319: 9320: ac_config_files="$ac_config_files scripts/rplcc" 9321: 9322: ac_config_files="$ac_config_files scripts/rpllink" 9323: 9324: ac_config_files="$ac_config_files rpltags/Makefile" 9325: 9326: ac_config_files="$ac_config_files rpliconv/Makefile" 9327: 9328: ac_config_files="$ac_config_files rplsums/Makefile" 9329: 9330: ac_config_files="$ac_config_files rplawk/Makefile" 9331: 9332: ac_config_files="$ac_config_files lapack/lapack/Makefile" 9333: 9334: ac_config_files="$ac_config_files lapack/blas/Makefile" 9335: 9336: 9337: ac_config_files="$ac_config_files man/rpl.1" 9338: 9339: ac_config_files="$ac_config_files man/rplcc.1" 9340: 9341: ac_config_files="$ac_config_files man/rpllink.1" 9342: 9343: ac_config_files="$ac_config_files man/rpltags.1" 9344: 9345: ac_config_files="$ac_config_files man/mkrplso.1" 9346: 9347: ac_config_files="$ac_config_files man/fr_FR/rpl.1" 9348: 9349: ac_config_files="$ac_config_files man/fr_FR/rplcc.1" 9350: 9351: ac_config_files="$ac_config_files man/fr_FR/rpllink.1" 9352: 9353: ac_config_files="$ac_config_files man/fr_FR/rpltags.1" 9354: 9355: ac_config_files="$ac_config_files man/fr_FR/mkrplso.1" 9356: 9357: 9358: cat >confcache <<\_ACEOF 9359: # This file is a shell script that caches the results of configure 9360: # tests run on this system so they can be shared between configure 9361: # scripts and configure runs, see configure's option --config-cache. 9362: # It is not useful on other systems. If it contains results you don't 9363: # want to keep, you may remove or edit it. 9364: # 9365: # config.status only pays attention to the cache file if you give it 9366: # the --recheck option to rerun configure. 9367: # 9368: # `ac_cv_env_foo' variables (set or unset) will be overridden when 9369: # loading this file, other *unset* `ac_cv_foo' will be assigned the 9370: # following values. 9371: 9372: _ACEOF 9373: 9374: # The following way of writing the cache mishandles newlines in values, 9375: # but we know of no workaround that is simple, portable, and efficient. 9376: # So, we kill variables containing newlines. 9377: # Ultrix sh set writes to stderr and can't be redirected directly, 9378: # and sets the high bit in the cache file unless we assign to the vars. 9379: ( 9380: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9381: eval ac_val=\$$ac_var 9382: case $ac_val in #( 9383: *${as_nl}*) 9384: case $ac_var in #( 9385: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9386: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9387: esac 9388: case $ac_var in #( 9389: _ | IFS | as_nl) ;; #( 9390: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9391: *) { eval $ac_var=; unset $ac_var;} ;; 9392: esac ;; 9393: esac 9394: done 9395: 9396: (set) 2>&1 | 9397: case $as_nl`(ac_space=' '; set) 2>&1` in #( 9398: *${as_nl}ac_space=\ *) 9399: # `set' does not quote correctly, so add quotes: double-quote 9400: # substitution turns \\\\ into \\, and sed turns \\ into \. 9401: sed -n \ 9402: "s/'/'\\\\''/g; 9403: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9404: ;; #( 9405: *) 9406: # `set' quotes correctly as required by POSIX, so do not add quotes. 9407: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 9408: ;; 9409: esac | 9410: sort 9411: ) | 9412: sed ' 9413: /^ac_cv_env_/b end 9414: t clear 9415: :clear 9416: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 9417: t end 9418: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9419: :end' >>confcache 9420: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9421: if test -w "$cache_file"; then 9422: test "x$cache_file" != "x/dev/null" && 9423: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9424: $as_echo "$as_me: updating cache $cache_file" >&6;} 9425: cat confcache >$cache_file 9426: else 9427: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9428: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9429: fi 9430: fi 9431: rm -f confcache 9432: 9433: test "x$prefix" = xNONE && prefix=$ac_default_prefix 9434: # Let make expand exec_prefix. 9435: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 9436: 9437: DEFS=-DHAVE_CONFIG_H 9438: 9439: ac_libobjs= 9440: ac_ltlibobjs= 9441: U= 9442: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9443: # 1. Remove the extension, and $U if already installed. 9444: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9445: ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9446: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9447: # will be set to the directory where LIBOBJS objects are built. 9448: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9449: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 9450: done 9451: LIBOBJS=$ac_libobjs 9452: 9453: LTLIBOBJS=$ac_ltlibobjs 9454: 9455: 9456: if test -n "$EXEEXT"; then 9457: am__EXEEXT_TRUE= 9458: am__EXEEXT_FALSE='#' 9459: else 9460: am__EXEEXT_TRUE='#' 9461: am__EXEEXT_FALSE= 9462: fi 9463: 9464: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 9465: as_fn_error $? "conditional \"AMDEP\" was never defined. 9466: Usually this means the macro was only invoked conditionally." "$LINENO" 5 9467: fi 9468: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 9469: as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 9470: Usually this means the macro was only invoked conditionally." "$LINENO" 5 9471: fi 9472: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 9473: as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 9474: Usually this means the macro was only invoked conditionally." "$LINENO" 5 9475: fi 9476: 9477: : ${CONFIG_STATUS=./config.status} 9478: ac_write_fail=0 9479: ac_clean_files_save=$ac_clean_files 9480: ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9481: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9482: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9483: as_write_fail=0 9484: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 9485: #! $SHELL 9486: # Generated by $as_me. 9487: # Run this file to recreate the current configuration. 9488: # Compiler output produced by configure, useful for debugging 9489: # configure, is in config.log if it exists. 9490: 9491: debug=false 9492: ac_cs_recheck=false 9493: ac_cs_silent=false 9494: 9495: SHELL=\${CONFIG_SHELL-$SHELL} 9496: export SHELL 9497: _ASEOF 9498: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9499: ## -------------------- ## 9500: ## M4sh Initialization. ## 9501: ## -------------------- ## 9502: 9503: # Be more Bourne compatible 9504: DUALCASE=1; export DUALCASE # for MKS sh 9505: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 9506: emulate sh 9507: NULLCMD=: 9508: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 9509: # is contrary to our usage. Disable this feature. 9510: alias -g '${1+"$@"}'='"$@"' 9511: setopt NO_GLOB_SUBST 9512: else 9513: case `(set -o) 2>/dev/null` in #( 9514: *posix*) : 9515: set -o posix ;; #( 9516: *) : 9517: ;; 9518: esac 9519: fi 9520: 9521: 9522: as_nl=' 9523: ' 9524: export as_nl 9525: # Printing a long string crashes Solaris 7 /usr/bin/printf. 9526: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9527: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9528: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9529: # Prefer a ksh shell builtin over an external printf program on Solaris, 9530: # but without wasting forks for bash or zsh. 9531: if test -z "$BASH_VERSION$ZSH_VERSION" \ 9532: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9533: as_echo='print -r --' 9534: as_echo_n='print -rn --' 9535: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9536: as_echo='printf %s\n' 9537: as_echo_n='printf %s' 9538: else 9539: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9540: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9541: as_echo_n='/usr/ucb/echo -n' 9542: else 9543: as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9544: as_echo_n_body='eval 9545: arg=$1; 9546: case $arg in #( 9547: *"$as_nl"*) 9548: expr "X$arg" : "X\\(.*\\)$as_nl"; 9549: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 9550: esac; 9551: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 9552: ' 9553: export as_echo_n_body 9554: as_echo_n='sh -c $as_echo_n_body as_echo' 9555: fi 9556: export as_echo_body 9557: as_echo='sh -c $as_echo_body as_echo' 9558: fi 9559: 9560: # The user is always right. 9561: if test "${PATH_SEPARATOR+set}" != set; then 9562: PATH_SEPARATOR=: 9563: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9564: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9565: PATH_SEPARATOR=';' 9566: } 9567: fi 9568: 9569: 9570: # IFS 9571: # We need space, tab and new line, in precisely that order. Quoting is 9572: # there to prevent editors from complaining about space-tab. 9573: # (If _AS_PATH_WALK were called with IFS unset, it would disable word 9574: # splitting by setting IFS to empty value.) 9575: IFS=" "" $as_nl" 9576: 9577: # Find who we are. Look in the path if we contain no directory separator. 9578: case $0 in #(( 9579: *[\\/]* ) as_myself=$0 ;; 9580: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9581: for as_dir in $PATH 9582: do 9583: IFS=$as_save_IFS 9584: test -z "$as_dir" && as_dir=. 9585: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 9586: done 9587: IFS=$as_save_IFS 9588: 9589: ;; 9590: esac 9591: # We did not find ourselves, most probably we were run as `sh COMMAND' 9592: # in which case we are not to be found in the path. 9593: if test "x$as_myself" = x; then 9594: as_myself=$0 9595: fi 9596: if test ! -f "$as_myself"; then 9597: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9598: exit 1 9599: fi 9600: 9601: # Unset variables that we do not need and which cause bugs (e.g. in 9602: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 9603: # suppresses any "Segmentation fault" message there. '((' could 9604: # trigger a bug in pdksh 5.2.14. 9605: for as_var in BASH_ENV ENV MAIL MAILPATH 9606: do eval test x\${$as_var+set} = xset \ 9607: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 9608: done 9609: PS1='$ ' 9610: PS2='> ' 9611: PS4='+ ' 9612: 9613: # NLS nuisances. 9614: LC_ALL=C 9615: export LC_ALL 9616: LANGUAGE=C 9617: export LANGUAGE 9618: 9619: # CDPATH. 9620: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 9621: 9622: 9623: # as_fn_error STATUS ERROR [LINENO LOG_FD] 9624: # ---------------------------------------- 9625: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9626: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9627: # script with STATUS, using 1 if that was 0. 9628: as_fn_error () 9629: { 9630: as_status=$1; test $as_status -eq 0 && as_status=1 9631: if test "$4"; then 9632: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9633: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9634: fi 9635: $as_echo "$as_me: error: $2" >&2 9636: as_fn_exit $as_status 9637: } # as_fn_error 9638: 9639: 9640: # as_fn_set_status STATUS 9641: # ----------------------- 9642: # Set $? to STATUS, without forking. 9643: as_fn_set_status () 9644: { 9645: return $1 9646: } # as_fn_set_status 9647: 9648: # as_fn_exit STATUS 9649: # ----------------- 9650: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9651: as_fn_exit () 9652: { 9653: set +e 9654: as_fn_set_status $1 9655: exit $1 9656: } # as_fn_exit 9657: 9658: # as_fn_unset VAR 9659: # --------------- 9660: # Portably unset VAR. 9661: as_fn_unset () 9662: { 9663: { eval $1=; unset $1;} 9664: } 9665: as_unset=as_fn_unset 9666: # as_fn_append VAR VALUE 9667: # ---------------------- 9668: # Append the text in VALUE to the end of the definition contained in VAR. Take 9669: # advantage of any shell optimizations that allow amortized linear growth over 9670: # repeated appends, instead of the typical quadratic growth present in naive 9671: # implementations. 9672: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 9673: eval 'as_fn_append () 9674: { 9675: eval $1+=\$2 9676: }' 9677: else 9678: as_fn_append () 9679: { 9680: eval $1=\$$1\$2 9681: } 9682: fi # as_fn_append 9683: 9684: # as_fn_arith ARG... 9685: # ------------------ 9686: # Perform arithmetic evaluation on the ARGs, and store the result in the 9687: # global $as_val. Take advantage of shells that can avoid forks. The arguments 9688: # must be portable across $(()) and expr. 9689: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 9690: eval 'as_fn_arith () 9691: { 9692: as_val=$(( $* )) 9693: }' 9694: else 9695: as_fn_arith () 9696: { 9697: as_val=`expr "$@" || test $? -eq 1` 9698: } 9699: fi # as_fn_arith 9700: 9701: 9702: if expr a : '\(a\)' >/dev/null 2>&1 && 9703: test "X`expr 00001 : '.*\(...\)'`" = X001; then 9704: as_expr=expr 9705: else 9706: as_expr=false 9707: fi 9708: 9709: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9710: as_basename=basename 9711: else 9712: as_basename=false 9713: fi 9714: 9715: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9716: as_dirname=dirname 9717: else 9718: as_dirname=false 9719: fi 9720: 9721: as_me=`$as_basename -- "$0" || 9722: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9723: X"$0" : 'X\(//\)$' \| \ 9724: X"$0" : 'X\(/\)' \| . 2>/dev/null || 9725: $as_echo X/"$0" | 9726: sed '/^.*\/\([^/][^/]*\)\/*$/{ 9727: s//\1/ 9728: q 9729: } 9730: /^X\/\(\/\/\)$/{ 9731: s//\1/ 9732: q 9733: } 9734: /^X\/\(\/\).*/{ 9735: s//\1/ 9736: q 9737: } 9738: s/.*/./; q'` 9739: 9740: # Avoid depending upon Character Ranges. 9741: as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9742: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9743: as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9744: as_cr_digits='0123456789' 9745: as_cr_alnum=$as_cr_Letters$as_cr_digits 9746: 9747: ECHO_C= ECHO_N= ECHO_T= 9748: case `echo -n x` in #((((( 9749: -n*) 9750: case `echo 'xy\c'` in 9751: *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9752: xy) ECHO_C='\c';; 9753: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9754: ECHO_T=' ';; 9755: esac;; 9756: *) 9757: ECHO_N='-n';; 9758: esac 9759: 9760: rm -f conf$$ conf$$.exe conf$$.file 9761: if test -d conf$$.dir; then 9762: rm -f conf$$.dir/conf$$.file 9763: else 9764: rm -f conf$$.dir 9765: mkdir conf$$.dir 2>/dev/null 9766: fi 9767: if (echo >conf$$.file) 2>/dev/null; then 9768: if ln -s conf$$.file conf$$ 2>/dev/null; then 9769: as_ln_s='ln -s' 9770: # ... but there are two gotchas: 9771: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9772: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9773: # In both cases, we have to default to `cp -p'. 9774: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9775: as_ln_s='cp -p' 9776: elif ln conf$$.file conf$$ 2>/dev/null; then 9777: as_ln_s=ln 9778: else 9779: as_ln_s='cp -p' 9780: fi 9781: else 9782: as_ln_s='cp -p' 9783: fi 9784: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9785: rmdir conf$$.dir 2>/dev/null 9786: 9787: 9788: # as_fn_mkdir_p 9789: # ------------- 9790: # Create "$as_dir" as a directory, including parents if necessary. 9791: as_fn_mkdir_p () 9792: { 9793: 9794: case $as_dir in #( 9795: -*) as_dir=./$as_dir;; 9796: esac 9797: test -d "$as_dir" || eval $as_mkdir_p || { 9798: as_dirs= 9799: while :; do 9800: case $as_dir in #( 9801: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9802: *) as_qdir=$as_dir;; 9803: esac 9804: as_dirs="'$as_qdir' $as_dirs" 9805: as_dir=`$as_dirname -- "$as_dir" || 9806: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9807: X"$as_dir" : 'X\(//\)[^/]' \| \ 9808: X"$as_dir" : 'X\(//\)$' \| \ 9809: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9810: $as_echo X"$as_dir" | 9811: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9812: s//\1/ 9813: q 9814: } 9815: /^X\(\/\/\)[^/].*/{ 9816: s//\1/ 9817: q 9818: } 9819: /^X\(\/\/\)$/{ 9820: s//\1/ 9821: q 9822: } 9823: /^X\(\/\).*/{ 9824: s//\1/ 9825: q 9826: } 9827: s/.*/./; q'` 9828: test -d "$as_dir" && break 9829: done 9830: test -z "$as_dirs" || eval "mkdir $as_dirs" 9831: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 9832: 9833: 9834: } # as_fn_mkdir_p 9835: if mkdir -p . 2>/dev/null; then 9836: as_mkdir_p='mkdir -p "$as_dir"' 9837: else 9838: test -d ./-p && rmdir ./-p 9839: as_mkdir_p=false 9840: fi 9841: 9842: if test -x / >/dev/null 2>&1; then 9843: as_test_x='test -x' 9844: else 9845: if ls -dL / >/dev/null 2>&1; then 9846: as_ls_L_option=L 9847: else 9848: as_ls_L_option= 9849: fi 9850: as_test_x=' 9851: eval sh -c '\'' 9852: if test -d "$1"; then 9853: test -d "$1/."; 9854: else 9855: case $1 in #( 9856: -*)set "./$1";; 9857: esac; 9858: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 9859: ???[sx]*):;;*)false;;esac;fi 9860: '\'' sh 9861: ' 9862: fi 9863: as_executable_p=$as_test_x 9864: 9865: # Sed expression to map a string onto a valid CPP name. 9866: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 9867: 9868: # Sed expression to map a string onto a valid variable name. 9869: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 9870: 9871: 9872: exec 6>&1 9873: ## ----------------------------------- ## 9874: ## Main body of $CONFIG_STATUS script. ## 9875: ## ----------------------------------- ## 9876: _ASEOF 9877: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9878: 9879: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9880: # Save the log message, to keep $0 and so on meaningful, and to 9881: # report actual input values of CONFIG_FILES etc. instead of their 9882: # values after options handling. 9883: ac_log=" 9884: This file was extended by rpl $as_me 4.0.20, which was 9885: generated by GNU Autoconf 2.67. Invocation command line was 9886: 9887: CONFIG_FILES = $CONFIG_FILES 9888: CONFIG_HEADERS = $CONFIG_HEADERS 9889: CONFIG_LINKS = $CONFIG_LINKS 9890: CONFIG_COMMANDS = $CONFIG_COMMANDS 9891: $ $0 $@ 9892: 9893: on `(hostname || uname -n) 2>/dev/null | sed 1q` 9894: " 9895: 9896: _ACEOF 9897: 9898: case $ac_config_files in *" 9899: "*) set x $ac_config_files; shift; ac_config_files=$*;; 9900: esac 9901: 9902: case $ac_config_headers in *" 9903: "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9904: esac 9905: 9906: 9907: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9908: # Files that config.status was made for. 9909: config_files="$ac_config_files" 9910: config_headers="$ac_config_headers" 9911: config_commands="$ac_config_commands" 9912: 9913: _ACEOF 9914: 9915: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9916: ac_cs_usage="\ 9917: \`$as_me' instantiates files and other configuration actions 9918: from templates according to the current configuration. Unless the files 9919: and actions are specified as TAGs, all are instantiated by default. 9920: 9921: Usage: $0 [OPTION]... [TAG]... 9922: 9923: -h, --help print this help, then exit 9924: -V, --version print version number and configuration settings, then exit 9925: --config print configuration, then exit 9926: -q, --quiet, --silent 9927: do not print progress messages 9928: -d, --debug don't remove temporary files 9929: --recheck update $as_me by reconfiguring in the same conditions 9930: --file=FILE[:TEMPLATE] 9931: instantiate the configuration file FILE 9932: --header=FILE[:TEMPLATE] 9933: instantiate the configuration header FILE 9934: 9935: Configuration files: 9936: $config_files 9937: 9938: Configuration headers: 9939: $config_headers 9940: 9941: Configuration commands: 9942: $config_commands 9943: 9944: Report bugs to the package provider." 9945: 9946: _ACEOF 9947: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9948: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 9949: ac_cs_version="\\ 9950: rpl config.status 4.0.20 9951: configured by $0, generated by GNU Autoconf 2.67, 9952: with options \\"\$ac_cs_config\\" 9953: 9954: Copyright (C) 2010 Free Software Foundation, Inc. 9955: This config.status script is free software; the Free Software Foundation 9956: gives unlimited permission to copy, distribute and modify it." 9957: 9958: ac_pwd='$ac_pwd' 9959: srcdir='$srcdir' 9960: INSTALL='$INSTALL' 9961: MKDIR_P='$MKDIR_P' 9962: AWK='$AWK' 9963: test -n "\$AWK" || AWK=awk 9964: _ACEOF 9965: 9966: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9967: # The default lists apply if the user does not specify any file. 9968: ac_need_defaults=: 9969: while test $# != 0 9970: do 9971: case $1 in 9972: --*=?*) 9973: ac_option=`expr "X$1" : 'X\([^=]*\)='` 9974: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9975: ac_shift=: 9976: ;; 9977: --*=) 9978: ac_option=`expr "X$1" : 'X\([^=]*\)='` 9979: ac_optarg= 9980: ac_shift=: 9981: ;; 9982: *) 9983: ac_option=$1 9984: ac_optarg=$2 9985: ac_shift=shift 9986: ;; 9987: esac 9988: 9989: case $ac_option in 9990: # Handling of the options. 9991: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9992: ac_cs_recheck=: ;; 9993: --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9994: $as_echo "$ac_cs_version"; exit ;; 9995: --config | --confi | --conf | --con | --co | --c ) 9996: $as_echo "$ac_cs_config"; exit ;; 9997: --debug | --debu | --deb | --de | --d | -d ) 9998: debug=: ;; 9999: --file | --fil | --fi | --f ) 10000: $ac_shift 10001: case $ac_optarg in 10002: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10003: '') as_fn_error $? "missing file argument" ;; 10004: esac 10005: as_fn_append CONFIG_FILES " '$ac_optarg'" 10006: ac_need_defaults=false;; 10007: --header | --heade | --head | --hea ) 10008: $ac_shift 10009: case $ac_optarg in 10010: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10011: esac 10012: as_fn_append CONFIG_HEADERS " '$ac_optarg'" 10013: ac_need_defaults=false;; 10014: --he | --h) 10015: # Conflict between --help and --header 10016: as_fn_error $? "ambiguous option: \`$1' 10017: Try \`$0 --help' for more information.";; 10018: --help | --hel | -h ) 10019: $as_echo "$ac_cs_usage"; exit ;; 10020: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10021: | -silent | --silent | --silen | --sile | --sil | --si | --s) 10022: ac_cs_silent=: ;; 10023: 10024: # This is an error. 10025: -*) as_fn_error $? "unrecognized option: \`$1' 10026: Try \`$0 --help' for more information." ;; 10027: 10028: *) as_fn_append ac_config_targets " $1" 10029: ac_need_defaults=false ;; 10030: 10031: esac 10032: shift 10033: done 10034: 10035: ac_configure_extra_args= 10036: 10037: if $ac_cs_silent; then 10038: exec 6>/dev/null 10039: ac_configure_extra_args="$ac_configure_extra_args --silent" 10040: fi 10041: 10042: _ACEOF 10043: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10044: if \$ac_cs_recheck; then 10045: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10046: shift 10047: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10048: CONFIG_SHELL='$SHELL' 10049: export CONFIG_SHELL 10050: exec "\$@" 10051: fi 10052: 10053: _ACEOF 10054: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10055: exec 5>>config.log 10056: { 10057: echo 10058: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 10059: ## Running $as_me. ## 10060: _ASBOX 10061: $as_echo "$ac_log" 10062: } >&5 10063: 10064: _ACEOF 10065: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10066: # 10067: # INIT-COMMANDS 10068: # 10069: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 10070: 10071: _ACEOF 10072: 10073: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10074: 10075: # Handling of arguments. 10076: for ac_config_target in $ac_config_targets 10077: do 10078: case $ac_config_target in 10079: "rplconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS rplconfig.h" ;; 10080: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 10081: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 10082: "COPYING") CONFIG_FILES="$CONFIG_FILES COPYING" ;; 10083: "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; 10084: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 10085: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 10086: "man/fr_FR/Makefile") CONFIG_FILES="$CONFIG_FILES man/fr_FR/Makefile" ;; 10087: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 10088: "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; 10089: "scripts/mkrplso") CONFIG_FILES="$CONFIG_FILES scripts/mkrplso" ;; 10090: "scripts/rplcc") CONFIG_FILES="$CONFIG_FILES scripts/rplcc" ;; 10091: "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;; 10092: "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;; 10093: "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;; 10094: "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;; 10095: "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/Makefile" ;; 10096: "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;; 10097: "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;; 10098: "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;; 10099: "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;; 10100: "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;; 10101: "man/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/rpltags.1" ;; 10102: "man/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/mkrplso.1" ;; 10103: "man/fr_FR/rpl.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpl.1" ;; 10104: "man/fr_FR/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rplcc.1" ;; 10105: "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;; 10106: "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;; 10107: "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;; 10108: 10109: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 10110: esac 10111: done 10112: 10113: 10114: # If the user did not use the arguments to specify the items to instantiate, 10115: # then the envvar interface is used. Set only those that are not. 10116: # We use the long form for the default assignment because of an extremely 10117: # bizarre bug on SunOS 4.1.3. 10118: if $ac_need_defaults; then 10119: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 10120: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 10121: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 10122: fi 10123: 10124: # Have a temporary directory for convenience. Make it in the build tree 10125: # simply because there is no reason against having it here, and in addition, 10126: # creating and moving files from /tmp can sometimes cause problems. 10127: # Hook for its removal unless debugging. 10128: # Note that there is a small window in which the directory will not be cleaned: 10129: # after its creation but before its name has been assigned to `$tmp'. 10130: $debug || 10131: { 10132: tmp= 10133: trap 'exit_status=$? 10134: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 10135: ' 0 10136: trap 'as_fn_exit 1' 1 2 13 15 10137: } 10138: # Create a (secure) tmp directory for tmp files. 10139: 10140: { 10141: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 10142: test -n "$tmp" && test -d "$tmp" 10143: } || 10144: { 10145: tmp=./conf$$-$RANDOM 10146: (umask 077 && mkdir "$tmp") 10147: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10148: 10149: # Set up the scripts for CONFIG_FILES section. 10150: # No need to generate them if there are no CONFIG_FILES. 10151: # This happens for instance with `./config.status config.h'. 10152: if test -n "$CONFIG_FILES"; then 10153: 10154: 10155: ac_cr=`echo X | tr X '\015'` 10156: # On cygwin, bash can eat \r inside `` if the user requested igncr. 10157: # But we know of no other shell where ac_cr would be empty at this 10158: # point, so we can use a bashism as a fallback. 10159: if test "x$ac_cr" = x; then 10160: eval ac_cr=\$\'\\r\' 10161: fi 10162: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10163: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10164: ac_cs_awk_cr='\\r' 10165: else 10166: ac_cs_awk_cr=$ac_cr 10167: fi 10168: 10169: echo 'BEGIN {' >"$tmp/subs1.awk" && 10170: _ACEOF 10171: 10172: 10173: { 10174: echo "cat >conf$$subs.awk <<_ACEOF" && 10175: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10176: echo "_ACEOF" 10177: } >conf$$subs.sh || 10178: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10179: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 10180: ac_delim='%!_!# ' 10181: for ac_last_try in false false false false false :; do 10182: . ./conf$$subs.sh || 10183: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10184: 10185: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10186: if test $ac_delim_n = $ac_delim_num; then 10187: break 10188: elif $ac_last_try; then 10189: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10190: else 10191: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10192: fi 10193: done 10194: rm -f conf$$subs.sh 10195: 10196: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10197: cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 10198: _ACEOF 10199: sed -n ' 10200: h 10201: s/^/S["/; s/!.*/"]=/ 10202: p 10203: g 10204: s/^[^!]*!// 10205: :repl 10206: t repl 10207: s/'"$ac_delim"'$// 10208: t delim 10209: :nl 10210: h 10211: s/\(.\{148\}\)..*/\1/ 10212: t more1 10213: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10214: p 10215: n 10216: b repl 10217: :more1 10218: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10219: p 10220: g 10221: s/.\{148\}// 10222: t nl 10223: :delim 10224: h 10225: s/\(.\{148\}\)..*/\1/ 10226: t more2 10227: s/["\\]/\\&/g; s/^/"/; s/$/"/ 10228: p 10229: b 10230: :more2 10231: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10232: p 10233: g 10234: s/.\{148\}// 10235: t delim 10236: ' <conf$$subs.awk | sed ' 10237: /^[^""]/{ 10238: N 10239: s/\n// 10240: } 10241: ' >>$CONFIG_STATUS || ac_write_fail=1 10242: rm -f conf$$subs.awk 10243: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10244: _ACAWK 10245: cat >>"\$tmp/subs1.awk" <<_ACAWK && 10246: for (key in S) S_is_set[key] = 1 10247: FS = "" 10248: 10249: } 10250: { 10251: line = $ 0 10252: nfields = split(line, field, "@") 10253: substed = 0 10254: len = length(field[1]) 10255: for (i = 2; i < nfields; i++) { 10256: key = field[i] 10257: keylen = length(key) 10258: if (S_is_set[key]) { 10259: value = S[key] 10260: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10261: len += length(value) + length(field[++i]) 10262: substed = 1 10263: } else 10264: len += 1 + keylen 10265: } 10266: 10267: print line 10268: } 10269: 10270: _ACAWK 10271: _ACEOF 10272: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10273: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10274: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10275: else 10276: cat 10277: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 10278: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10279: _ACEOF 10280: 10281: # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10282: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 10283: # trailing colons and then remove the whole line if VPATH becomes empty 10284: # (actually we leave an empty line to preserve line numbers). 10285: if test "x$srcdir" = x.; then 10286: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10287: h 10288: s/// 10289: s/^/:/ 10290: s/[ ]*$/:/ 10291: s/:\$(srcdir):/:/g 10292: s/:\${srcdir}:/:/g 10293: s/:@srcdir@:/:/g 10294: s/^:*// 10295: s/:*$// 10296: x 10297: s/\(=[ ]*\).*/\1/ 10298: G 10299: s/\n// 10300: s/^[^=]*=[ ]*$// 10301: }' 10302: fi 10303: 10304: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10305: fi # test -n "$CONFIG_FILES" 10306: 10307: # Set up the scripts for CONFIG_HEADERS section. 10308: # No need to generate them if there are no CONFIG_HEADERS. 10309: # This happens for instance with `./config.status Makefile'. 10310: if test -n "$CONFIG_HEADERS"; then 10311: cat >"$tmp/defines.awk" <<\_ACAWK || 10312: BEGIN { 10313: _ACEOF 10314: 10315: # Transform confdefs.h into an awk script `defines.awk', embedded as 10316: # here-document in config.status, that substitutes the proper values into 10317: # config.h.in to produce config.h. 10318: 10319: # Create a delimiter string that does not exist in confdefs.h, to ease 10320: # handling of long lines. 10321: ac_delim='%!_!# ' 10322: for ac_last_try in false false :; do 10323: ac_t=`sed -n "/$ac_delim/p" confdefs.h` 10324: if test -z "$ac_t"; then 10325: break 10326: elif $ac_last_try; then 10327: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 10328: else 10329: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10330: fi 10331: done 10332: 10333: # For the awk script, D is an array of macro values keyed by name, 10334: # likewise P contains macro parameters if any. Preserve backslash 10335: # newline sequences. 10336: 10337: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10338: sed -n ' 10339: s/.\{148\}/&'"$ac_delim"'/g 10340: t rset 10341: :rset 10342: s/^[ ]*#[ ]*define[ ][ ]*/ / 10343: t def 10344: d 10345: :def 10346: s/\\$// 10347: t bsnl 10348: s/["\\]/\\&/g 10349: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10350: D["\1"]=" \3"/p 10351: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10352: d 10353: :bsnl 10354: s/["\\]/\\&/g 10355: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10356: D["\1"]=" \3\\\\\\n"\\/p 10357: t cont 10358: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10359: t cont 10360: d 10361: :cont 10362: n 10363: s/.\{148\}/&'"$ac_delim"'/g 10364: t clear 10365: :clear 10366: s/\\$// 10367: t bsnlc 10368: s/["\\]/\\&/g; s/^/"/; s/$/"/p 10369: d 10370: :bsnlc 10371: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10372: b cont 10373: ' <confdefs.h | sed ' 10374: s/'"$ac_delim"'/"\\\ 10375: "/g' >>$CONFIG_STATUS || ac_write_fail=1 10376: 10377: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10378: for (key in D) D_is_set[key] = 1 10379: FS = "" 10380: } 10381: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10382: line = \$ 0 10383: split(line, arg, " ") 10384: if (arg[1] == "#") { 10385: defundef = arg[2] 10386: mac1 = arg[3] 10387: } else { 10388: defundef = substr(arg[1], 2) 10389: mac1 = arg[2] 10390: } 10391: split(mac1, mac2, "(") #) 10392: macro = mac2[1] 10393: prefix = substr(line, 1, index(line, defundef) - 1) 10394: if (D_is_set[macro]) { 10395: # Preserve the white space surrounding the "#". 10396: print prefix "define", macro P[macro] D[macro] 10397: next 10398: } else { 10399: # Replace #undef with comments. This is necessary, for example, 10400: # in the case of _POSIX_SOURCE, which is predefined and required 10401: # on some systems where configure will not decide to define it. 10402: if (defundef == "undef") { 10403: print "/*", prefix defundef, macro, "*/" 10404: next 10405: } 10406: } 10407: } 10408: { print } 10409: _ACAWK 10410: _ACEOF 10411: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10412: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 10413: fi # test -n "$CONFIG_HEADERS" 10414: 10415: 10416: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 10417: shift 10418: for ac_tag 10419: do 10420: case $ac_tag in 10421: :[FHLC]) ac_mode=$ac_tag; continue;; 10422: esac 10423: case $ac_mode$ac_tag in 10424: :[FHL]*:*);; 10425: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 10426: :[FH]-) ac_tag=-:-;; 10427: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 10428: esac 10429: ac_save_IFS=$IFS 10430: IFS=: 10431: set x $ac_tag 10432: IFS=$ac_save_IFS 10433: shift 10434: ac_file=$1 10435: shift 10436: 10437: case $ac_mode in 10438: :L) ac_source=$1;; 10439: :[FH]) 10440: ac_file_inputs= 10441: for ac_f 10442: do 10443: case $ac_f in 10444: -) ac_f="$tmp/stdin";; 10445: *) # Look for the file first in the build tree, then in the source tree 10446: # (if the path is not absolute). The absolute path cannot be DOS-style, 10447: # because $ac_f cannot contain `:'. 10448: test -f "$ac_f" || 10449: case $ac_f in 10450: [\\/$]*) false;; 10451: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10452: esac || 10453: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 10454: esac 10455: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10456: as_fn_append ac_file_inputs " '$ac_f'" 10457: done 10458: 10459: # Let's still pretend it is `configure' which instantiates (i.e., don't 10460: # use $as_me), people would be surprised to read: 10461: # /* config.h. Generated by config.status. */ 10462: configure_input='Generated from '` 10463: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10464: `' by configure.' 10465: if test x"$ac_file" != x-; then 10466: configure_input="$ac_file. $configure_input" 10467: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10468: $as_echo "$as_me: creating $ac_file" >&6;} 10469: fi 10470: # Neutralize special characters interpreted by sed in replacement strings. 10471: case $configure_input in #( 10472: *\&* | *\|* | *\\* ) 10473: ac_sed_conf_input=`$as_echo "$configure_input" | 10474: sed 's/[\\\\&|]/\\\\&/g'`;; #( 10475: *) ac_sed_conf_input=$configure_input;; 10476: esac 10477: 10478: case $ac_tag in 10479: *:-:* | *:-) cat >"$tmp/stdin" \ 10480: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 10481: esac 10482: ;; 10483: esac 10484: 10485: ac_dir=`$as_dirname -- "$ac_file" || 10486: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10487: X"$ac_file" : 'X\(//\)[^/]' \| \ 10488: X"$ac_file" : 'X\(//\)$' \| \ 10489: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10490: $as_echo X"$ac_file" | 10491: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10492: s//\1/ 10493: q 10494: } 10495: /^X\(\/\/\)[^/].*/{ 10496: s//\1/ 10497: q 10498: } 10499: /^X\(\/\/\)$/{ 10500: s//\1/ 10501: q 10502: } 10503: /^X\(\/\).*/{ 10504: s//\1/ 10505: q 10506: } 10507: s/.*/./; q'` 10508: as_dir="$ac_dir"; as_fn_mkdir_p 10509: ac_builddir=. 10510: 10511: case "$ac_dir" in 10512: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10513: *) 10514: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10515: # A ".." for each directory in $ac_dir_suffix. 10516: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10517: case $ac_top_builddir_sub in 10518: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10519: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10520: esac ;; 10521: esac 10522: ac_abs_top_builddir=$ac_pwd 10523: ac_abs_builddir=$ac_pwd$ac_dir_suffix 10524: # for backward compatibility: 10525: ac_top_builddir=$ac_top_build_prefix 10526: 10527: case $srcdir in 10528: .) # We are building in place. 10529: ac_srcdir=. 10530: ac_top_srcdir=$ac_top_builddir_sub 10531: ac_abs_top_srcdir=$ac_pwd ;; 10532: [\\/]* | ?:[\\/]* ) # Absolute name. 10533: ac_srcdir=$srcdir$ac_dir_suffix; 10534: ac_top_srcdir=$srcdir 10535: ac_abs_top_srcdir=$srcdir ;; 10536: *) # Relative name. 10537: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10538: ac_top_srcdir=$ac_top_build_prefix$srcdir 10539: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10540: esac 10541: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10542: 10543: 10544: case $ac_mode in 10545: :F) 10546: # 10547: # CONFIG_FILE 10548: # 10549: 10550: case $INSTALL in 10551: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 10552: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 10553: esac 10554: ac_MKDIR_P=$MKDIR_P 10555: case $MKDIR_P in 10556: [\\/$]* | ?:[\\/]* ) ;; 10557: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 10558: esac 10559: _ACEOF 10560: 10561: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10562: # If the template does not know about datarootdir, expand it. 10563: # FIXME: This hack should be removed a few years after 2.60. 10564: ac_datarootdir_hack=; ac_datarootdir_seen= 10565: ac_sed_dataroot=' 10566: /datarootdir/ { 10567: p 10568: q 10569: } 10570: /@datadir@/p 10571: /@docdir@/p 10572: /@infodir@/p 10573: /@localedir@/p 10574: /@mandir@/p' 10575: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10576: *datarootdir*) ac_datarootdir_seen=yes;; 10577: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10578: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10579: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10580: _ACEOF 10581: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10582: ac_datarootdir_hack=' 10583: s&@datadir@&$datadir&g 10584: s&@docdir@&$docdir&g 10585: s&@infodir@&$infodir&g 10586: s&@localedir@&$localedir&g 10587: s&@mandir@&$mandir&g 10588: s&\\\${datarootdir}&$datarootdir&g' ;; 10589: esac 10590: _ACEOF 10591: 10592: # Neutralize VPATH when `$srcdir' = `.'. 10593: # Shell code in configure.ac might set extrasub. 10594: # FIXME: do we really want to maintain this feature? 10595: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10596: ac_sed_extra="$ac_vpsub 10597: $extrasub 10598: _ACEOF 10599: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10600: :t 10601: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 10602: s|@configure_input@|$ac_sed_conf_input|;t t 10603: s&@top_builddir@&$ac_top_builddir_sub&;t t 10604: s&@top_build_prefix@&$ac_top_build_prefix&;t t 10605: s&@srcdir@&$ac_srcdir&;t t 10606: s&@abs_srcdir@&$ac_abs_srcdir&;t t 10607: s&@top_srcdir@&$ac_top_srcdir&;t t 10608: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10609: s&@builddir@&$ac_builddir&;t t 10610: s&@abs_builddir@&$ac_abs_builddir&;t t 10611: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10612: s&@INSTALL@&$ac_INSTALL&;t t 10613: s&@MKDIR_P@&$ac_MKDIR_P&;t t 10614: $ac_datarootdir_hack 10615: " 10616: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 10617: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10618: 10619: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10620: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 10621: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 10622: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10623: which seems to be undefined. Please make sure it is defined" >&5 10624: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10625: which seems to be undefined. Please make sure it is defined" >&2;} 10626: 10627: rm -f "$tmp/stdin" 10628: case $ac_file in 10629: -) cat "$tmp/out" && rm -f "$tmp/out";; 10630: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 10631: esac \ 10632: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10633: ;; 10634: :H) 10635: # 10636: # CONFIG_HEADER 10637: # 10638: if test x"$ac_file" != x-; then 10639: { 10640: $as_echo "/* $configure_input */" \ 10641: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 10642: } >"$tmp/config.h" \ 10643: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10644: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 10645: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 10646: $as_echo "$as_me: $ac_file is unchanged" >&6;} 10647: else 10648: rm -f "$ac_file" 10649: mv "$tmp/config.h" "$ac_file" \ 10650: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10651: fi 10652: else 10653: $as_echo "/* $configure_input */" \ 10654: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 10655: || as_fn_error $? "could not create -" "$LINENO" 5 10656: fi 10657: # Compute "$ac_file"'s index in $config_headers. 10658: _am_arg="$ac_file" 10659: _am_stamp_count=1 10660: for _am_header in $config_headers :; do 10661: case $_am_header in 10662: $_am_arg | $_am_arg:* ) 10663: break ;; 10664: * ) 10665: _am_stamp_count=`expr $_am_stamp_count + 1` ;; 10666: esac 10667: done 10668: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 10669: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10670: X"$_am_arg" : 'X\(//\)[^/]' \| \ 10671: X"$_am_arg" : 'X\(//\)$' \| \ 10672: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 10673: $as_echo X"$_am_arg" | 10674: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10675: s//\1/ 10676: q 10677: } 10678: /^X\(\/\/\)[^/].*/{ 10679: s//\1/ 10680: q 10681: } 10682: /^X\(\/\/\)$/{ 10683: s//\1/ 10684: q 10685: } 10686: /^X\(\/\).*/{ 10687: s//\1/ 10688: q 10689: } 10690: s/.*/./; q'`/stamp-h$_am_stamp_count 10691: ;; 10692: 10693: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 10694: $as_echo "$as_me: executing $ac_file commands" >&6;} 10695: ;; 10696: esac 10697: 10698: 10699: case $ac_file$ac_mode in 10700: "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 10701: # Autoconf 2.62 quotes --file arguments for eval, but not when files 10702: # are listed without --file. Let's play safe and only enable the eval 10703: # if we detect the quoting. 10704: case $CONFIG_FILES in 10705: *\'*) eval set x "$CONFIG_FILES" ;; 10706: *) set x $CONFIG_FILES ;; 10707: esac 10708: shift 10709: for mf 10710: do 10711: # Strip MF so we end up with the name of the file. 10712: mf=`echo "$mf" | sed -e 's/:.*$//'` 10713: # Check whether this is an Automake generated Makefile or not. 10714: # We used to match only the files named `Makefile.in', but 10715: # some people rename them; so instead we look at the file content. 10716: # Grep'ing the first line is not enough: some people post-process 10717: # each Makefile.in and add a new line on top of each file to say so. 10718: # Grep'ing the whole file is not good either: AIX grep has a line 10719: # limit of 2048, but all sed's we know have understand at least 4000. 10720: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 10721: dirpart=`$as_dirname -- "$mf" || 10722: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10723: X"$mf" : 'X\(//\)[^/]' \| \ 10724: X"$mf" : 'X\(//\)$' \| \ 10725: X"$mf" : 'X\(/\)' \| . 2>/dev/null || 10726: $as_echo X"$mf" | 10727: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10728: s//\1/ 10729: q 10730: } 10731: /^X\(\/\/\)[^/].*/{ 10732: s//\1/ 10733: q 10734: } 10735: /^X\(\/\/\)$/{ 10736: s//\1/ 10737: q 10738: } 10739: /^X\(\/\).*/{ 10740: s//\1/ 10741: q 10742: } 10743: s/.*/./; q'` 10744: else 10745: continue 10746: fi 10747: # Extract the definition of DEPDIR, am__include, and am__quote 10748: # from the Makefile without running `make'. 10749: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 10750: test -z "$DEPDIR" && continue 10751: am__include=`sed -n 's/^am__include = //p' < "$mf"` 10752: test -z "am__include" && continue 10753: am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 10754: # When using ansi2knr, U may be empty or an underscore; expand it 10755: U=`sed -n 's/^U = //p' < "$mf"` 10756: # Find all dependency output files, they are included files with 10757: # $(DEPDIR) in their names. We invoke sed twice because it is the 10758: # simplest approach to changing $(DEPDIR) to its actual value in the 10759: # expansion. 10760: for file in `sed -n " 10761: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 10762: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 10763: # Make sure the directory exists. 10764: test -f "$dirpart/$file" && continue 10765: fdir=`$as_dirname -- "$file" || 10766: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10767: X"$file" : 'X\(//\)[^/]' \| \ 10768: X"$file" : 'X\(//\)$' \| \ 10769: X"$file" : 'X\(/\)' \| . 2>/dev/null || 10770: $as_echo X"$file" | 10771: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10772: s//\1/ 10773: q 10774: } 10775: /^X\(\/\/\)[^/].*/{ 10776: s//\1/ 10777: q 10778: } 10779: /^X\(\/\/\)$/{ 10780: s//\1/ 10781: q 10782: } 10783: /^X\(\/\).*/{ 10784: s//\1/ 10785: q 10786: } 10787: s/.*/./; q'` 10788: as_dir=$dirpart/$fdir; as_fn_mkdir_p 10789: # echo "creating $dirpart/$file" 10790: echo '# dummy' > "$dirpart/$file" 10791: done 10792: done 10793: } 10794: ;; 10795: 10796: esac 10797: done # for ac_tag 10798: 10799: 10800: as_fn_exit 0 10801: _ACEOF 10802: ac_clean_files=$ac_clean_files_save 10803: 10804: test $ac_write_fail = 0 || 10805: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 10806: 10807: 10808: # configure is writing to config.log, and then calls config.status. 10809: # config.status does its own redirection, appending to config.log. 10810: # Unfortunately, on DOS this fails, as config.log is still kept open 10811: # by configure, so config.status won't be able to write to it; its 10812: # output is simply discarded. So we exec the FD to /dev/null, 10813: # effectively closing config.log, so it can be properly (re)opened and 10814: # appended to by config.status. When coming back to configure, we 10815: # need to make the FD available again. 10816: if test "$no_create" != yes; then 10817: ac_cs_success=: 10818: ac_config_status_args= 10819: test "$silent" = yes && 10820: ac_config_status_args="$ac_config_status_args --quiet" 10821: exec 5>/dev/null 10822: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 10823: exec 5>>config.log 10824: # Use ||, not &&, to avoid exiting from the if with $? = 1, which 10825: # would make configure fail if this is the last instruction. 10826: $ac_cs_success || as_fn_exit 1 10827: fi 10828: 10829: # 10830: # CONFIG_SUBDIRS section. 10831: # 10832: if test "$no_recursion" != yes; then 10833: 10834: # Remove --cache-file, --srcdir, and --disable-option-checking arguments 10835: # so they do not pile up. 10836: ac_sub_configure_args= 10837: ac_prev= 10838: eval "set x $ac_configure_args" 10839: shift 10840: for ac_arg 10841: do 10842: if test -n "$ac_prev"; then 10843: ac_prev= 10844: continue 10845: fi 10846: case $ac_arg in 10847: -cache-file | --cache-file | --cache-fil | --cache-fi \ 10848: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 10849: ac_prev=cache_file ;; 10850: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 10851: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 10852: | --c=*) 10853: ;; 10854: --config-cache | -C) 10855: ;; 10856: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10857: ac_prev=srcdir ;; 10858: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10859: ;; 10860: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 10861: ac_prev=prefix ;; 10862: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 10863: ;; 10864: --disable-option-checking) 10865: ;; 10866: *) 10867: case $ac_arg in 10868: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10869: esac 10870: as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 10871: esac 10872: done 10873: 10874: # Always prepend --prefix to ensure using the same prefix 10875: # in subdir configurations. 10876: ac_arg="--prefix=$prefix" 10877: case $ac_arg in 10878: *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 10879: esac 10880: ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 10881: 10882: # Pass --silent 10883: if test "$silent" = yes; then 10884: ac_sub_configure_args="--silent $ac_sub_configure_args" 10885: fi 10886: 10887: # Always prepend --disable-option-checking to silence warnings, since 10888: # different subdirs can have different --enable and --with options. 10889: ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 10890: 10891: ac_popdir=`pwd` 10892: for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 10893: 10894: # Do not complain, so a configure script can configure whichever 10895: # parts of a large source tree are present. 10896: test -d "$srcdir/$ac_dir" || continue 10897: 10898: ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 10899: $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 10900: $as_echo "$ac_msg" >&6 10901: as_dir="$ac_dir"; as_fn_mkdir_p 10902: ac_builddir=. 10903: 10904: case "$ac_dir" in 10905: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10906: *) 10907: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10908: # A ".." for each directory in $ac_dir_suffix. 10909: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10910: case $ac_top_builddir_sub in 10911: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10912: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10913: esac ;; 10914: esac 10915: ac_abs_top_builddir=$ac_pwd 10916: ac_abs_builddir=$ac_pwd$ac_dir_suffix 10917: # for backward compatibility: 10918: ac_top_builddir=$ac_top_build_prefix 10919: 10920: case $srcdir in 10921: .) # We are building in place. 10922: ac_srcdir=. 10923: ac_top_srcdir=$ac_top_builddir_sub 10924: ac_abs_top_srcdir=$ac_pwd ;; 10925: [\\/]* | ?:[\\/]* ) # Absolute name. 10926: ac_srcdir=$srcdir$ac_dir_suffix; 10927: ac_top_srcdir=$srcdir 10928: ac_abs_top_srcdir=$srcdir ;; 10929: *) # Relative name. 10930: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10931: ac_top_srcdir=$ac_top_build_prefix$srcdir 10932: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10933: esac 10934: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10935: 10936: 10937: cd "$ac_dir" 10938: 10939: # Check for guested configure; otherwise get Cygnus style configure. 10940: if test -f "$ac_srcdir/configure.gnu"; then 10941: ac_sub_configure=$ac_srcdir/configure.gnu 10942: elif test -f "$ac_srcdir/configure"; then 10943: ac_sub_configure=$ac_srcdir/configure 10944: elif test -f "$ac_srcdir/configure.in"; then 10945: # This should be Cygnus configure. 10946: ac_sub_configure=$ac_aux_dir/configure 10947: else 10948: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 10949: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 10950: ac_sub_configure= 10951: fi 10952: 10953: # The recursion is here. 10954: if test -n "$ac_sub_configure"; then 10955: # Make the cache file name correct relative to the subdirectory. 10956: case $cache_file in 10957: [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 10958: *) # Relative name. 10959: ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 10960: esac 10961: 10962: { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 10963: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 10964: # The eval makes quoting arguments work. 10965: eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 10966: --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 10967: as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 10968: fi 10969: 10970: cd "$ac_popdir" 10971: done 10972: fi 10973: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10974: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10975: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10976: fi 10977: