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