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