configure revision 8650bb69
12c7c4e3dSmrg#! /bin/sh 22c7c4e3dSmrg# Guess values for system-dependent variables and create Makefiles. 38650bb69Smrg# Generated by GNU Autoconf 2.63 for xcmsdb 1.0.2. 42c7c4e3dSmrg# 52c7c4e3dSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 62c7c4e3dSmrg# 78650bb69Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 88650bb69Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 92c7c4e3dSmrg# This configure script is free software; the Free Software Foundation 102c7c4e3dSmrg# gives unlimited permission to copy, distribute and modify it. 112c7c4e3dSmrg## --------------------- ## 122c7c4e3dSmrg## M4sh Initialization. ## 132c7c4e3dSmrg## --------------------- ## 142c7c4e3dSmrg 158650bb69Smrg# Be more Bourne compatible 168650bb69SmrgDUALCASE=1; export DUALCASE # for MKS sh 172c7c4e3dSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 182c7c4e3dSmrg emulate sh 192c7c4e3dSmrg NULLCMD=: 208650bb69Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 212c7c4e3dSmrg # is contrary to our usage. Disable this feature. 222c7c4e3dSmrg alias -g '${1+"$@"}'='"$@"' 238650bb69Smrg setopt NO_GLOB_SUBST 248650bb69Smrgelse 258650bb69Smrg case `(set -o) 2>/dev/null` in 268650bb69Smrg *posix*) set -o posix ;; 278650bb69Smrgesac 288650bb69Smrg 298650bb69Smrgfi 308650bb69Smrg 318650bb69Smrg 328650bb69Smrg 338650bb69Smrg 348650bb69Smrg# PATH needs CR 358650bb69Smrg# Avoid depending upon Character Ranges. 368650bb69Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 378650bb69Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 388650bb69Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 398650bb69Smrgas_cr_digits='0123456789' 408650bb69Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 418650bb69Smrg 428650bb69Smrgas_nl=' 438650bb69Smrg' 448650bb69Smrgexport as_nl 458650bb69Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 468650bb69Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 478650bb69Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 488650bb69Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 498650bb69Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 508650bb69Smrg as_echo='printf %s\n' 518650bb69Smrg as_echo_n='printf %s' 528650bb69Smrgelse 538650bb69Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 548650bb69Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 558650bb69Smrg as_echo_n='/usr/ucb/echo -n' 568650bb69Smrg else 578650bb69Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 588650bb69Smrg as_echo_n_body='eval 598650bb69Smrg arg=$1; 608650bb69Smrg case $arg in 618650bb69Smrg *"$as_nl"*) 628650bb69Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 638650bb69Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 648650bb69Smrg esac; 658650bb69Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 668650bb69Smrg ' 678650bb69Smrg export as_echo_n_body 688650bb69Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 698650bb69Smrg fi 708650bb69Smrg export as_echo_body 718650bb69Smrg as_echo='sh -c $as_echo_body as_echo' 728650bb69Smrgfi 738650bb69Smrg 748650bb69Smrg# The user is always right. 758650bb69Smrgif test "${PATH_SEPARATOR+set}" != set; then 768650bb69Smrg PATH_SEPARATOR=: 778650bb69Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 788650bb69Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 798650bb69Smrg PATH_SEPARATOR=';' 808650bb69Smrg } 812c7c4e3dSmrgfi 822c7c4e3dSmrg 832c7c4e3dSmrg# Support unset when possible. 842c7c4e3dSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 852c7c4e3dSmrg as_unset=unset 862c7c4e3dSmrgelse 872c7c4e3dSmrg as_unset=false 882c7c4e3dSmrgfi 892c7c4e3dSmrg 902c7c4e3dSmrg 918650bb69Smrg# IFS 928650bb69Smrg# We need space, tab and new line, in precisely that order. Quoting is 938650bb69Smrg# there to prevent editors from complaining about space-tab. 948650bb69Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 958650bb69Smrg# splitting by setting IFS to empty value.) 968650bb69SmrgIFS=" "" $as_nl" 978650bb69Smrg 988650bb69Smrg# Find who we are. Look in the path if we contain no directory separator. 998650bb69Smrgcase $0 in 1008650bb69Smrg *[\\/]* ) as_myself=$0 ;; 1018650bb69Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1028650bb69Smrgfor as_dir in $PATH 1038650bb69Smrgdo 1048650bb69Smrg IFS=$as_save_IFS 1058650bb69Smrg test -z "$as_dir" && as_dir=. 1068650bb69Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1078650bb69Smrgdone 1088650bb69SmrgIFS=$as_save_IFS 1098650bb69Smrg 1108650bb69Smrg ;; 1118650bb69Smrgesac 1128650bb69Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1138650bb69Smrg# in which case we are not to be found in the path. 1148650bb69Smrgif test "x$as_myself" = x; then 1158650bb69Smrg as_myself=$0 1168650bb69Smrgfi 1178650bb69Smrgif test ! -f "$as_myself"; then 1188650bb69Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1198650bb69Smrg { (exit 1); exit 1; } 1208650bb69Smrgfi 1218650bb69Smrg 1222c7c4e3dSmrg# Work around bugs in pre-3.0 UWIN ksh. 1238650bb69Smrgfor as_var in ENV MAIL MAILPATH 1248650bb69Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 1258650bb69Smrgdone 1262c7c4e3dSmrgPS1='$ ' 1272c7c4e3dSmrgPS2='> ' 1282c7c4e3dSmrgPS4='+ ' 1292c7c4e3dSmrg 1302c7c4e3dSmrg# NLS nuisances. 1318650bb69SmrgLC_ALL=C 1328650bb69Smrgexport LC_ALL 1338650bb69SmrgLANGUAGE=C 1348650bb69Smrgexport LANGUAGE 1352c7c4e3dSmrg 1362c7c4e3dSmrg# Required to use basename. 1378650bb69Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 1388650bb69Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 1392c7c4e3dSmrg as_expr=expr 1402c7c4e3dSmrgelse 1412c7c4e3dSmrg as_expr=false 1422c7c4e3dSmrgfi 1432c7c4e3dSmrg 1448650bb69Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 1452c7c4e3dSmrg as_basename=basename 1462c7c4e3dSmrgelse 1472c7c4e3dSmrg as_basename=false 1482c7c4e3dSmrgfi 1492c7c4e3dSmrg 1502c7c4e3dSmrg 1512c7c4e3dSmrg# Name of the executable. 1528650bb69Smrgas_me=`$as_basename -- "$0" || 1532c7c4e3dSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1542c7c4e3dSmrg X"$0" : 'X\(//\)$' \| \ 1558650bb69Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 1568650bb69Smrg$as_echo X/"$0" | 1578650bb69Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 1588650bb69Smrg s//\1/ 1598650bb69Smrg q 1608650bb69Smrg } 1618650bb69Smrg /^X\/\(\/\/\)$/{ 1628650bb69Smrg s//\1/ 1638650bb69Smrg q 1648650bb69Smrg } 1658650bb69Smrg /^X\/\(\/\).*/{ 1668650bb69Smrg s//\1/ 1678650bb69Smrg q 1688650bb69Smrg } 1698650bb69Smrg s/.*/./; q'` 1702c7c4e3dSmrg 1718650bb69Smrg# CDPATH. 1728650bb69Smrg$as_unset CDPATH 1732c7c4e3dSmrg 1742c7c4e3dSmrg 1758650bb69Smrgif test "x$CONFIG_SHELL" = x; then 1768650bb69Smrg if (eval ":") 2>/dev/null; then 1778650bb69Smrg as_have_required=yes 1788650bb69Smrgelse 1798650bb69Smrg as_have_required=no 1802c7c4e3dSmrgfi 1812c7c4e3dSmrg 1828650bb69Smrg if test $as_have_required = yes && (eval ": 1838650bb69Smrg(as_func_return () { 1848650bb69Smrg (exit \$1) 1858650bb69Smrg} 1868650bb69Smrgas_func_success () { 1878650bb69Smrg as_func_return 0 1888650bb69Smrg} 1898650bb69Smrgas_func_failure () { 1908650bb69Smrg as_func_return 1 1918650bb69Smrg} 1928650bb69Smrgas_func_ret_success () { 1938650bb69Smrg return 0 1948650bb69Smrg} 1958650bb69Smrgas_func_ret_failure () { 1968650bb69Smrg return 1 1978650bb69Smrg} 1982c7c4e3dSmrg 1998650bb69Smrgexitcode=0 2008650bb69Smrgif as_func_success; then 2018650bb69Smrg : 2028650bb69Smrgelse 2038650bb69Smrg exitcode=1 2048650bb69Smrg echo as_func_success failed. 2058650bb69Smrgfi 2062c7c4e3dSmrg 2078650bb69Smrgif as_func_failure; then 2088650bb69Smrg exitcode=1 2098650bb69Smrg echo as_func_failure succeeded. 2108650bb69Smrgfi 2118650bb69Smrg 2128650bb69Smrgif as_func_ret_success; then 2138650bb69Smrg : 2148650bb69Smrgelse 2158650bb69Smrg exitcode=1 2168650bb69Smrg echo as_func_ret_success failed. 2178650bb69Smrgfi 2188650bb69Smrg 2198650bb69Smrgif as_func_ret_failure; then 2208650bb69Smrg exitcode=1 2218650bb69Smrg echo as_func_ret_failure succeeded. 2228650bb69Smrgfi 2238650bb69Smrg 2248650bb69Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 2258650bb69Smrg : 2268650bb69Smrgelse 2278650bb69Smrg exitcode=1 2288650bb69Smrg echo positional parameters were not saved. 2298650bb69Smrgfi 2308650bb69Smrg 2318650bb69Smrgtest \$exitcode = 0) || { (exit 1); exit 1; } 2328650bb69Smrg 2338650bb69Smrg( 2348650bb69Smrg as_lineno_1=\$LINENO 2358650bb69Smrg as_lineno_2=\$LINENO 2368650bb69Smrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 2378650bb69Smrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 2388650bb69Smrg") 2> /dev/null; then 2398650bb69Smrg : 2408650bb69Smrgelse 2418650bb69Smrg as_candidate_shells= 2422c7c4e3dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2432c7c4e3dSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2442c7c4e3dSmrgdo 2452c7c4e3dSmrg IFS=$as_save_IFS 2462c7c4e3dSmrg test -z "$as_dir" && as_dir=. 2478650bb69Smrg case $as_dir in 2482c7c4e3dSmrg /*) 2498650bb69Smrg for as_base in sh bash ksh sh5; do 2508650bb69Smrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 2518650bb69Smrg done;; 2528650bb69Smrg esac 2538650bb69Smrgdone 2548650bb69SmrgIFS=$as_save_IFS 2558650bb69Smrg 2568650bb69Smrg 2578650bb69Smrg for as_shell in $as_candidate_shells $SHELL; do 2588650bb69Smrg # Try only shells that exist, to save several forks. 2598650bb69Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2608650bb69Smrg { ("$as_shell") 2> /dev/null <<\_ASEOF 2618650bb69Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2628650bb69Smrg emulate sh 2638650bb69Smrg NULLCMD=: 2648650bb69Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2658650bb69Smrg # is contrary to our usage. Disable this feature. 2668650bb69Smrg alias -g '${1+"$@"}'='"$@"' 2678650bb69Smrg setopt NO_GLOB_SUBST 2688650bb69Smrgelse 2698650bb69Smrg case `(set -o) 2>/dev/null` in 2708650bb69Smrg *posix*) set -o posix ;; 2718650bb69Smrgesac 2728650bb69Smrg 2738650bb69Smrgfi 2748650bb69Smrg 2758650bb69Smrg 2768650bb69Smrg: 2778650bb69Smrg_ASEOF 2788650bb69Smrg}; then 2798650bb69Smrg CONFIG_SHELL=$as_shell 2808650bb69Smrg as_have_required=yes 2818650bb69Smrg if { "$as_shell" 2> /dev/null <<\_ASEOF 2828650bb69Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2838650bb69Smrg emulate sh 2848650bb69Smrg NULLCMD=: 2858650bb69Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2868650bb69Smrg # is contrary to our usage. Disable this feature. 2878650bb69Smrg alias -g '${1+"$@"}'='"$@"' 2888650bb69Smrg setopt NO_GLOB_SUBST 2898650bb69Smrgelse 2908650bb69Smrg case `(set -o) 2>/dev/null` in 2918650bb69Smrg *posix*) set -o posix ;; 2928650bb69Smrgesac 2938650bb69Smrg 2948650bb69Smrgfi 2958650bb69Smrg 2968650bb69Smrg 2978650bb69Smrg: 2988650bb69Smrg(as_func_return () { 2998650bb69Smrg (exit $1) 3008650bb69Smrg} 3018650bb69Smrgas_func_success () { 3028650bb69Smrg as_func_return 0 3038650bb69Smrg} 3048650bb69Smrgas_func_failure () { 3058650bb69Smrg as_func_return 1 3068650bb69Smrg} 3078650bb69Smrgas_func_ret_success () { 3088650bb69Smrg return 0 3098650bb69Smrg} 3108650bb69Smrgas_func_ret_failure () { 3118650bb69Smrg return 1 3128650bb69Smrg} 3138650bb69Smrg 3148650bb69Smrgexitcode=0 3158650bb69Smrgif as_func_success; then 3168650bb69Smrg : 3178650bb69Smrgelse 3188650bb69Smrg exitcode=1 3198650bb69Smrg echo as_func_success failed. 3208650bb69Smrgfi 3218650bb69Smrg 3228650bb69Smrgif as_func_failure; then 3238650bb69Smrg exitcode=1 3248650bb69Smrg echo as_func_failure succeeded. 3258650bb69Smrgfi 3268650bb69Smrg 3278650bb69Smrgif as_func_ret_success; then 3288650bb69Smrg : 3298650bb69Smrgelse 3308650bb69Smrg exitcode=1 3318650bb69Smrg echo as_func_ret_success failed. 3328650bb69Smrgfi 3338650bb69Smrg 3348650bb69Smrgif as_func_ret_failure; then 3358650bb69Smrg exitcode=1 3368650bb69Smrg echo as_func_ret_failure succeeded. 3378650bb69Smrgfi 3388650bb69Smrg 3398650bb69Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then 3408650bb69Smrg : 3418650bb69Smrgelse 3428650bb69Smrg exitcode=1 3438650bb69Smrg echo positional parameters were not saved. 3448650bb69Smrgfi 3458650bb69Smrg 3468650bb69Smrgtest $exitcode = 0) || { (exit 1); exit 1; } 3478650bb69Smrg 3488650bb69Smrg( 3492c7c4e3dSmrg as_lineno_1=$LINENO 3502c7c4e3dSmrg as_lineno_2=$LINENO 3512c7c4e3dSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 3528650bb69Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 3538650bb69Smrg 3548650bb69Smrg_ASEOF 3558650bb69Smrg}; then 3568650bb69Smrg break 3578650bb69Smrgfi 3588650bb69Smrg 3598650bb69Smrgfi 3608650bb69Smrg 3618650bb69Smrg done 3628650bb69Smrg 3638650bb69Smrg if test "x$CONFIG_SHELL" != x; then 3648650bb69Smrg for as_var in BASH_ENV ENV 3658650bb69Smrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3668650bb69Smrg done 3678650bb69Smrg export CONFIG_SHELL 3688650bb69Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 3698650bb69Smrgfi 3708650bb69Smrg 3718650bb69Smrg 3728650bb69Smrg if test $as_have_required = no; then 3738650bb69Smrg echo This script requires a shell more modern than all the 3748650bb69Smrg echo shells that I found on your system. Please install a 3758650bb69Smrg echo modern shell, or manually run the script under such a 3768650bb69Smrg echo shell if you do have one. 3778650bb69Smrg { (exit 1); exit 1; } 3788650bb69Smrgfi 3798650bb69Smrg 3808650bb69Smrg 3818650bb69Smrgfi 3828650bb69Smrg 3838650bb69Smrgfi 3848650bb69Smrg 3858650bb69Smrg 3868650bb69Smrg 3878650bb69Smrg(eval "as_func_return () { 3888650bb69Smrg (exit \$1) 3898650bb69Smrg} 3908650bb69Smrgas_func_success () { 3918650bb69Smrg as_func_return 0 3928650bb69Smrg} 3938650bb69Smrgas_func_failure () { 3948650bb69Smrg as_func_return 1 3958650bb69Smrg} 3968650bb69Smrgas_func_ret_success () { 3978650bb69Smrg return 0 3988650bb69Smrg} 3998650bb69Smrgas_func_ret_failure () { 4008650bb69Smrg return 1 4018650bb69Smrg} 4028650bb69Smrg 4038650bb69Smrgexitcode=0 4048650bb69Smrgif as_func_success; then 4058650bb69Smrg : 4068650bb69Smrgelse 4078650bb69Smrg exitcode=1 4088650bb69Smrg echo as_func_success failed. 4098650bb69Smrgfi 4108650bb69Smrg 4118650bb69Smrgif as_func_failure; then 4128650bb69Smrg exitcode=1 4138650bb69Smrg echo as_func_failure succeeded. 4148650bb69Smrgfi 4158650bb69Smrg 4168650bb69Smrgif as_func_ret_success; then 4178650bb69Smrg : 4188650bb69Smrgelse 4198650bb69Smrg exitcode=1 4208650bb69Smrg echo as_func_ret_success failed. 4218650bb69Smrgfi 4228650bb69Smrg 4238650bb69Smrgif as_func_ret_failure; then 4248650bb69Smrg exitcode=1 4258650bb69Smrg echo as_func_ret_failure succeeded. 4268650bb69Smrgfi 4278650bb69Smrg 4288650bb69Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 4298650bb69Smrg : 4308650bb69Smrgelse 4318650bb69Smrg exitcode=1 4328650bb69Smrg echo positional parameters were not saved. 4338650bb69Smrgfi 4348650bb69Smrg 4358650bb69Smrgtest \$exitcode = 0") || { 4368650bb69Smrg echo No shell found that supports shell functions. 4378650bb69Smrg echo Please tell bug-autoconf@gnu.org about your system, 4388650bb69Smrg echo including any error possibly output before this message. 4398650bb69Smrg echo This can help us improve future autoconf versions. 4408650bb69Smrg echo Configuration will now proceed without shell functions. 4418650bb69Smrg} 4428650bb69Smrg 4438650bb69Smrg 4448650bb69Smrg 4458650bb69Smrg as_lineno_1=$LINENO 4468650bb69Smrg as_lineno_2=$LINENO 4478650bb69Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 4488650bb69Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4492c7c4e3dSmrg 4502c7c4e3dSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4512c7c4e3dSmrg # uniformly replaced by the line number. The first 'sed' inserts a 4528650bb69Smrg # line-number line after each line using $LINENO; the second 'sed' 4538650bb69Smrg # does the real work. The second script uses 'N' to pair each 4548650bb69Smrg # line-number line with the line containing $LINENO, and appends 4558650bb69Smrg # trailing '-' during substitution so that $LINENO is not a special 4568650bb69Smrg # case at line end. 4572c7c4e3dSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4588650bb69Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 4598650bb69Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 4608650bb69Smrg sed -n ' 4618650bb69Smrg p 4628650bb69Smrg /[$]LINENO/= 4638650bb69Smrg ' <$as_myself | 4642c7c4e3dSmrg sed ' 4658650bb69Smrg s/[$]LINENO.*/&-/ 4668650bb69Smrg t lineno 4678650bb69Smrg b 4688650bb69Smrg :lineno 4692c7c4e3dSmrg N 4708650bb69Smrg :loop 4718650bb69Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4722c7c4e3dSmrg t loop 4738650bb69Smrg s/-\n.*// 4742c7c4e3dSmrg ' >$as_me.lineno && 4758650bb69Smrg chmod +x "$as_me.lineno" || 4768650bb69Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4772c7c4e3dSmrg { (exit 1); exit 1; }; } 4782c7c4e3dSmrg 4792c7c4e3dSmrg # Don't try to exec as it changes $[0], causing all sort of problems 4802c7c4e3dSmrg # (the dirname of $[0] is not the place where we might find the 4818650bb69Smrg # original and so on. Autoconf is especially sensitive to this). 4828650bb69Smrg . "./$as_me.lineno" 4832c7c4e3dSmrg # Exit status is that of the last command. 4842c7c4e3dSmrg exit 4852c7c4e3dSmrg} 4862c7c4e3dSmrg 4872c7c4e3dSmrg 4888650bb69Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4898650bb69Smrg as_dirname=dirname 4908650bb69Smrgelse 4918650bb69Smrg as_dirname=false 4928650bb69Smrgfi 4932c7c4e3dSmrg 4948650bb69SmrgECHO_C= ECHO_N= ECHO_T= 4958650bb69Smrgcase `echo -n x` in 4968650bb69Smrg-n*) 4978650bb69Smrg case `echo 'x\c'` in 4988650bb69Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4998650bb69Smrg *) ECHO_C='\c';; 5008650bb69Smrg esac;; 5018650bb69Smrg*) 5028650bb69Smrg ECHO_N='-n';; 5038650bb69Smrgesac 5048650bb69Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 5058650bb69Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5062c7c4e3dSmrg as_expr=expr 5072c7c4e3dSmrgelse 5082c7c4e3dSmrg as_expr=false 5092c7c4e3dSmrgfi 5102c7c4e3dSmrg 5112c7c4e3dSmrgrm -f conf$$ conf$$.exe conf$$.file 5128650bb69Smrgif test -d conf$$.dir; then 5138650bb69Smrg rm -f conf$$.dir/conf$$.file 5148650bb69Smrgelse 5158650bb69Smrg rm -f conf$$.dir 5168650bb69Smrg mkdir conf$$.dir 2>/dev/null 5178650bb69Smrgfi 5188650bb69Smrgif (echo >conf$$.file) 2>/dev/null; then 5198650bb69Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5202c7c4e3dSmrg as_ln_s='ln -s' 5218650bb69Smrg # ... but there are two gotchas: 5228650bb69Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5238650bb69Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5248650bb69Smrg # In both cases, we have to default to `cp -p'. 5258650bb69Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5268650bb69Smrg as_ln_s='cp -p' 5278650bb69Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 5288650bb69Smrg as_ln_s=ln 5298650bb69Smrg else 5308650bb69Smrg as_ln_s='cp -p' 5312c7c4e3dSmrg fi 5322c7c4e3dSmrgelse 5332c7c4e3dSmrg as_ln_s='cp -p' 5342c7c4e3dSmrgfi 5358650bb69Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5368650bb69Smrgrmdir conf$$.dir 2>/dev/null 5372c7c4e3dSmrg 5382c7c4e3dSmrgif mkdir -p . 2>/dev/null; then 5392c7c4e3dSmrg as_mkdir_p=: 5402c7c4e3dSmrgelse 5412c7c4e3dSmrg test -d ./-p && rmdir ./-p 5422c7c4e3dSmrg as_mkdir_p=false 5432c7c4e3dSmrgfi 5442c7c4e3dSmrg 5458650bb69Smrgif test -x / >/dev/null 2>&1; then 5468650bb69Smrg as_test_x='test -x' 5478650bb69Smrgelse 5488650bb69Smrg if ls -dL / >/dev/null 2>&1; then 5498650bb69Smrg as_ls_L_option=L 5508650bb69Smrg else 5518650bb69Smrg as_ls_L_option= 5528650bb69Smrg fi 5538650bb69Smrg as_test_x=' 5548650bb69Smrg eval sh -c '\'' 5558650bb69Smrg if test -d "$1"; then 5568650bb69Smrg test -d "$1/."; 5578650bb69Smrg else 5588650bb69Smrg case $1 in 5598650bb69Smrg -*)set "./$1";; 5608650bb69Smrg esac; 5618650bb69Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5628650bb69Smrg ???[sx]*):;;*)false;;esac;fi 5638650bb69Smrg '\'' sh 5648650bb69Smrg ' 5658650bb69Smrgfi 5668650bb69Smrgas_executable_p=$as_test_x 5672c7c4e3dSmrg 5682c7c4e3dSmrg# Sed expression to map a string onto a valid CPP name. 5692c7c4e3dSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5702c7c4e3dSmrg 5712c7c4e3dSmrg# Sed expression to map a string onto a valid variable name. 5722c7c4e3dSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5732c7c4e3dSmrg 5742c7c4e3dSmrg 5752c7c4e3dSmrg 5768650bb69Smrgexec 7<&0 </dev/null 6>&1 5772c7c4e3dSmrg 5782c7c4e3dSmrg# Name of the host. 5792c7c4e3dSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 5802c7c4e3dSmrg# so uname gets run too. 5812c7c4e3dSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5822c7c4e3dSmrg 5832c7c4e3dSmrg# 5842c7c4e3dSmrg# Initializations. 5852c7c4e3dSmrg# 5862c7c4e3dSmrgac_default_prefix=/usr/local 5878650bb69Smrgac_clean_files= 5882c7c4e3dSmrgac_config_libobj_dir=. 5898650bb69SmrgLIBOBJS= 5902c7c4e3dSmrgcross_compiling=no 5912c7c4e3dSmrgsubdirs= 5922c7c4e3dSmrgMFLAGS= 5932c7c4e3dSmrgMAKEFLAGS= 5942c7c4e3dSmrgSHELL=${CONFIG_SHELL-/bin/sh} 5952c7c4e3dSmrg 5962c7c4e3dSmrg# Identity of this package. 5972c7c4e3dSmrgPACKAGE_NAME='xcmsdb' 5982c7c4e3dSmrgPACKAGE_TARNAME='xcmsdb' 5998650bb69SmrgPACKAGE_VERSION='1.0.2' 6008650bb69SmrgPACKAGE_STRING='xcmsdb 1.0.2' 6012c7c4e3dSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 6022c7c4e3dSmrg 6038650bb69Smrg# Factoring default headers for most tests. 6048650bb69Smrgac_includes_default="\ 6058650bb69Smrg#include <stdio.h> 6068650bb69Smrg#ifdef HAVE_SYS_TYPES_H 6078650bb69Smrg# include <sys/types.h> 6088650bb69Smrg#endif 6098650bb69Smrg#ifdef HAVE_SYS_STAT_H 6108650bb69Smrg# include <sys/stat.h> 6118650bb69Smrg#endif 6128650bb69Smrg#ifdef STDC_HEADERS 6138650bb69Smrg# include <stdlib.h> 6148650bb69Smrg# include <stddef.h> 6158650bb69Smrg#else 6168650bb69Smrg# ifdef HAVE_STDLIB_H 6178650bb69Smrg# include <stdlib.h> 6188650bb69Smrg# endif 6198650bb69Smrg#endif 6208650bb69Smrg#ifdef HAVE_STRING_H 6218650bb69Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 6228650bb69Smrg# include <memory.h> 6238650bb69Smrg# endif 6248650bb69Smrg# include <string.h> 6258650bb69Smrg#endif 6268650bb69Smrg#ifdef HAVE_STRINGS_H 6278650bb69Smrg# include <strings.h> 6288650bb69Smrg#endif 6298650bb69Smrg#ifdef HAVE_INTTYPES_H 6308650bb69Smrg# include <inttypes.h> 6318650bb69Smrg#endif 6328650bb69Smrg#ifdef HAVE_STDINT_H 6338650bb69Smrg# include <stdint.h> 6348650bb69Smrg#endif 6358650bb69Smrg#ifdef HAVE_UNISTD_H 6368650bb69Smrg# include <unistd.h> 6378650bb69Smrg#endif" 6388650bb69Smrg 6398650bb69Smrgac_subst_vars='am__EXEEXT_FALSE 6408650bb69Smrgam__EXEEXT_TRUE 6418650bb69SmrgLTLIBOBJS 6428650bb69SmrgLIBOBJS 6438650bb69SmrgXCMSDB_LIBS 6448650bb69SmrgXCMSDB_CFLAGS 6458650bb69SmrgPKG_CONFIG 6468650bb69SmrgADMIN_MAN_DIR 6478650bb69SmrgDRIVER_MAN_DIR 6488650bb69SmrgMISC_MAN_DIR 6498650bb69SmrgFILE_MAN_DIR 6508650bb69SmrgLIB_MAN_DIR 6518650bb69SmrgAPP_MAN_DIR 6528650bb69SmrgADMIN_MAN_SUFFIX 6538650bb69SmrgDRIVER_MAN_SUFFIX 6548650bb69SmrgMISC_MAN_SUFFIX 6558650bb69SmrgFILE_MAN_SUFFIX 6568650bb69SmrgLIB_MAN_SUFFIX 6578650bb69SmrgAPP_MAN_SUFFIX 6588650bb69Smrghost_os 6598650bb69Smrghost_vendor 6608650bb69Smrghost_cpu 6618650bb69Smrghost 6628650bb69Smrgbuild_os 6638650bb69Smrgbuild_vendor 6648650bb69Smrgbuild_cpu 6658650bb69Smrgbuild 6668650bb69Smrgdistcleancheck_listfiles 6678650bb69SmrgCHANGELOG_CMD 6688650bb69SmrgAM_BACKSLASH 6698650bb69SmrgAM_DEFAULT_VERBOSITY 6708650bb69SmrgCWARNFLAGS 6718650bb69SmrgEGREP 6728650bb69SmrgGREP 6738650bb69SmrgCPP 6748650bb69Smrgam__fastdepCC_FALSE 6758650bb69Smrgam__fastdepCC_TRUE 6768650bb69SmrgCCDEPMODE 6778650bb69SmrgAMDEPBACKSLASH 6788650bb69SmrgAMDEP_FALSE 6798650bb69SmrgAMDEP_TRUE 6808650bb69Smrgam__quote 6818650bb69Smrgam__include 6828650bb69SmrgDEPDIR 6838650bb69SmrgOBJEXT 6848650bb69SmrgEXEEXT 6858650bb69Smrgac_ct_CC 6868650bb69SmrgCPPFLAGS 6878650bb69SmrgLDFLAGS 6888650bb69SmrgCFLAGS 6898650bb69SmrgCC 6908650bb69SmrgMAINT 6918650bb69SmrgMAINTAINER_MODE_FALSE 6928650bb69SmrgMAINTAINER_MODE_TRUE 6938650bb69Smrgam__untar 6948650bb69Smrgam__tar 6958650bb69SmrgAMTAR 6968650bb69Smrgam__leading_dot 6978650bb69SmrgSET_MAKE 6988650bb69SmrgAWK 6998650bb69Smrgmkdir_p 7008650bb69SmrgMKDIR_P 7018650bb69SmrgINSTALL_STRIP_PROGRAM 7028650bb69SmrgSTRIP 7038650bb69Smrginstall_sh 7048650bb69SmrgMAKEINFO 7058650bb69SmrgAUTOHEADER 7068650bb69SmrgAUTOMAKE 7078650bb69SmrgAUTOCONF 7088650bb69SmrgACLOCAL 7098650bb69SmrgVERSION 7108650bb69SmrgPACKAGE 7118650bb69SmrgCYGPATH_W 7128650bb69Smrgam__isrc 7138650bb69SmrgINSTALL_DATA 7148650bb69SmrgINSTALL_SCRIPT 7158650bb69SmrgINSTALL_PROGRAM 7168650bb69Smrgtarget_alias 7178650bb69Smrghost_alias 7188650bb69Smrgbuild_alias 7198650bb69SmrgLIBS 7208650bb69SmrgECHO_T 7218650bb69SmrgECHO_N 7228650bb69SmrgECHO_C 7238650bb69SmrgDEFS 7248650bb69Smrgmandir 7258650bb69Smrglocaledir 7268650bb69Smrglibdir 7278650bb69Smrgpsdir 7288650bb69Smrgpdfdir 7298650bb69Smrgdvidir 7308650bb69Smrghtmldir 7318650bb69Smrginfodir 7328650bb69Smrgdocdir 7338650bb69Smrgoldincludedir 7348650bb69Smrgincludedir 7358650bb69Smrglocalstatedir 7368650bb69Smrgsharedstatedir 7378650bb69Smrgsysconfdir 7388650bb69Smrgdatadir 7398650bb69Smrgdatarootdir 7408650bb69Smrglibexecdir 7418650bb69Smrgsbindir 7428650bb69Smrgbindir 7438650bb69Smrgprogram_transform_name 7448650bb69Smrgprefix 7458650bb69Smrgexec_prefix 7468650bb69SmrgPACKAGE_BUGREPORT 7478650bb69SmrgPACKAGE_STRING 7488650bb69SmrgPACKAGE_VERSION 7498650bb69SmrgPACKAGE_TARNAME 7508650bb69SmrgPACKAGE_NAME 7518650bb69SmrgPATH_SEPARATOR 7528650bb69SmrgSHELL' 7532c7c4e3dSmrgac_subst_files='' 7548650bb69Smrgac_user_opts=' 7558650bb69Smrgenable_option_checking 7568650bb69Smrgenable_maintainer_mode 7578650bb69Smrgenable_dependency_tracking 7588650bb69Smrgenable_silent_rules 7598650bb69Smrgenable_strict_compilation 7608650bb69Smrgwith_release_version 7618650bb69Smrg' 7628650bb69Smrg ac_precious_vars='build_alias 7638650bb69Smrghost_alias 7648650bb69Smrgtarget_alias 7658650bb69SmrgCC 7668650bb69SmrgCFLAGS 7678650bb69SmrgLDFLAGS 7688650bb69SmrgLIBS 7698650bb69SmrgCPPFLAGS 7708650bb69SmrgCPP 7718650bb69SmrgPKG_CONFIG 7728650bb69SmrgXCMSDB_CFLAGS 7738650bb69SmrgXCMSDB_LIBS' 7748650bb69Smrg 7752c7c4e3dSmrg 7762c7c4e3dSmrg# Initialize some variables set by options. 7772c7c4e3dSmrgac_init_help= 7782c7c4e3dSmrgac_init_version=false 7798650bb69Smrgac_unrecognized_opts= 7808650bb69Smrgac_unrecognized_sep= 7812c7c4e3dSmrg# The variables have the same names as the options, with 7822c7c4e3dSmrg# dashes changed to underlines. 7832c7c4e3dSmrgcache_file=/dev/null 7842c7c4e3dSmrgexec_prefix=NONE 7852c7c4e3dSmrgno_create= 7862c7c4e3dSmrgno_recursion= 7872c7c4e3dSmrgprefix=NONE 7882c7c4e3dSmrgprogram_prefix=NONE 7892c7c4e3dSmrgprogram_suffix=NONE 7902c7c4e3dSmrgprogram_transform_name=s,x,x, 7912c7c4e3dSmrgsilent= 7922c7c4e3dSmrgsite= 7932c7c4e3dSmrgsrcdir= 7942c7c4e3dSmrgverbose= 7952c7c4e3dSmrgx_includes=NONE 7962c7c4e3dSmrgx_libraries=NONE 7972c7c4e3dSmrg 7982c7c4e3dSmrg# Installation directory options. 7992c7c4e3dSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 8002c7c4e3dSmrg# and all the variables that are supposed to be based on exec_prefix 8012c7c4e3dSmrg# by default will actually change. 8022c7c4e3dSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 8038650bb69Smrg# (The list follows the same order as the GNU Coding Standards.) 8042c7c4e3dSmrgbindir='${exec_prefix}/bin' 8052c7c4e3dSmrgsbindir='${exec_prefix}/sbin' 8062c7c4e3dSmrglibexecdir='${exec_prefix}/libexec' 8078650bb69Smrgdatarootdir='${prefix}/share' 8088650bb69Smrgdatadir='${datarootdir}' 8092c7c4e3dSmrgsysconfdir='${prefix}/etc' 8102c7c4e3dSmrgsharedstatedir='${prefix}/com' 8112c7c4e3dSmrglocalstatedir='${prefix}/var' 8122c7c4e3dSmrgincludedir='${prefix}/include' 8132c7c4e3dSmrgoldincludedir='/usr/include' 8148650bb69Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 8158650bb69Smrginfodir='${datarootdir}/info' 8168650bb69Smrghtmldir='${docdir}' 8178650bb69Smrgdvidir='${docdir}' 8188650bb69Smrgpdfdir='${docdir}' 8198650bb69Smrgpsdir='${docdir}' 8208650bb69Smrglibdir='${exec_prefix}/lib' 8218650bb69Smrglocaledir='${datarootdir}/locale' 8228650bb69Smrgmandir='${datarootdir}/man' 8232c7c4e3dSmrg 8242c7c4e3dSmrgac_prev= 8258650bb69Smrgac_dashdash= 8262c7c4e3dSmrgfor ac_option 8272c7c4e3dSmrgdo 8282c7c4e3dSmrg # If the previous option needs an argument, assign it. 8292c7c4e3dSmrg if test -n "$ac_prev"; then 8308650bb69Smrg eval $ac_prev=\$ac_option 8312c7c4e3dSmrg ac_prev= 8322c7c4e3dSmrg continue 8332c7c4e3dSmrg fi 8342c7c4e3dSmrg 8358650bb69Smrg case $ac_option in 8368650bb69Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8378650bb69Smrg *) ac_optarg=yes ;; 8388650bb69Smrg esac 8392c7c4e3dSmrg 8402c7c4e3dSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 8412c7c4e3dSmrg 8428650bb69Smrg case $ac_dashdash$ac_option in 8438650bb69Smrg --) 8448650bb69Smrg ac_dashdash=yes ;; 8452c7c4e3dSmrg 8462c7c4e3dSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8472c7c4e3dSmrg ac_prev=bindir ;; 8482c7c4e3dSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8492c7c4e3dSmrg bindir=$ac_optarg ;; 8502c7c4e3dSmrg 8512c7c4e3dSmrg -build | --build | --buil | --bui | --bu) 8522c7c4e3dSmrg ac_prev=build_alias ;; 8532c7c4e3dSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8542c7c4e3dSmrg build_alias=$ac_optarg ;; 8552c7c4e3dSmrg 8562c7c4e3dSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8572c7c4e3dSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8582c7c4e3dSmrg ac_prev=cache_file ;; 8592c7c4e3dSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8602c7c4e3dSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8612c7c4e3dSmrg cache_file=$ac_optarg ;; 8622c7c4e3dSmrg 8632c7c4e3dSmrg --config-cache | -C) 8642c7c4e3dSmrg cache_file=config.cache ;; 8652c7c4e3dSmrg 8668650bb69Smrg -datadir | --datadir | --datadi | --datad) 8672c7c4e3dSmrg ac_prev=datadir ;; 8688650bb69Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8692c7c4e3dSmrg datadir=$ac_optarg ;; 8702c7c4e3dSmrg 8718650bb69Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8728650bb69Smrg | --dataroo | --dataro | --datar) 8738650bb69Smrg ac_prev=datarootdir ;; 8748650bb69Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8758650bb69Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8768650bb69Smrg datarootdir=$ac_optarg ;; 8778650bb69Smrg 8782c7c4e3dSmrg -disable-* | --disable-*) 8798650bb69Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8802c7c4e3dSmrg # Reject names that are not valid shell variable names. 8818650bb69Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8828650bb69Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 8832c7c4e3dSmrg { (exit 1); exit 1; }; } 8848650bb69Smrg ac_useropt_orig=$ac_useropt 8858650bb69Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8868650bb69Smrg case $ac_user_opts in 8878650bb69Smrg *" 8888650bb69Smrg"enable_$ac_useropt" 8898650bb69Smrg"*) ;; 8908650bb69Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8918650bb69Smrg ac_unrecognized_sep=', ';; 8928650bb69Smrg esac 8938650bb69Smrg eval enable_$ac_useropt=no ;; 8948650bb69Smrg 8958650bb69Smrg -docdir | --docdir | --docdi | --doc | --do) 8968650bb69Smrg ac_prev=docdir ;; 8978650bb69Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8988650bb69Smrg docdir=$ac_optarg ;; 8998650bb69Smrg 9008650bb69Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 9018650bb69Smrg ac_prev=dvidir ;; 9028650bb69Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 9038650bb69Smrg dvidir=$ac_optarg ;; 9042c7c4e3dSmrg 9052c7c4e3dSmrg -enable-* | --enable-*) 9068650bb69Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 9072c7c4e3dSmrg # Reject names that are not valid shell variable names. 9088650bb69Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 9098650bb69Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 9102c7c4e3dSmrg { (exit 1); exit 1; }; } 9118650bb69Smrg ac_useropt_orig=$ac_useropt 9128650bb69Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 9138650bb69Smrg case $ac_user_opts in 9148650bb69Smrg *" 9158650bb69Smrg"enable_$ac_useropt" 9168650bb69Smrg"*) ;; 9178650bb69Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 9188650bb69Smrg ac_unrecognized_sep=', ';; 9192c7c4e3dSmrg esac 9208650bb69Smrg eval enable_$ac_useropt=\$ac_optarg ;; 9212c7c4e3dSmrg 9222c7c4e3dSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 9232c7c4e3dSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 9242c7c4e3dSmrg | --exec | --exe | --ex) 9252c7c4e3dSmrg ac_prev=exec_prefix ;; 9262c7c4e3dSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 9272c7c4e3dSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 9282c7c4e3dSmrg | --exec=* | --exe=* | --ex=*) 9292c7c4e3dSmrg exec_prefix=$ac_optarg ;; 9302c7c4e3dSmrg 9312c7c4e3dSmrg -gas | --gas | --ga | --g) 9322c7c4e3dSmrg # Obsolete; use --with-gas. 9332c7c4e3dSmrg with_gas=yes ;; 9342c7c4e3dSmrg 9352c7c4e3dSmrg -help | --help | --hel | --he | -h) 9362c7c4e3dSmrg ac_init_help=long ;; 9372c7c4e3dSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9382c7c4e3dSmrg ac_init_help=recursive ;; 9392c7c4e3dSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9402c7c4e3dSmrg ac_init_help=short ;; 9412c7c4e3dSmrg 9422c7c4e3dSmrg -host | --host | --hos | --ho) 9432c7c4e3dSmrg ac_prev=host_alias ;; 9442c7c4e3dSmrg -host=* | --host=* | --hos=* | --ho=*) 9452c7c4e3dSmrg host_alias=$ac_optarg ;; 9462c7c4e3dSmrg 9478650bb69Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9488650bb69Smrg ac_prev=htmldir ;; 9498650bb69Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9508650bb69Smrg | --ht=*) 9518650bb69Smrg htmldir=$ac_optarg ;; 9528650bb69Smrg 9532c7c4e3dSmrg -includedir | --includedir | --includedi | --included | --include \ 9542c7c4e3dSmrg | --includ | --inclu | --incl | --inc) 9552c7c4e3dSmrg ac_prev=includedir ;; 9562c7c4e3dSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9572c7c4e3dSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9582c7c4e3dSmrg includedir=$ac_optarg ;; 9592c7c4e3dSmrg 9602c7c4e3dSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9612c7c4e3dSmrg ac_prev=infodir ;; 9622c7c4e3dSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9632c7c4e3dSmrg infodir=$ac_optarg ;; 9642c7c4e3dSmrg 9652c7c4e3dSmrg -libdir | --libdir | --libdi | --libd) 9662c7c4e3dSmrg ac_prev=libdir ;; 9672c7c4e3dSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9682c7c4e3dSmrg libdir=$ac_optarg ;; 9692c7c4e3dSmrg 9702c7c4e3dSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9712c7c4e3dSmrg | --libexe | --libex | --libe) 9722c7c4e3dSmrg ac_prev=libexecdir ;; 9732c7c4e3dSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9742c7c4e3dSmrg | --libexe=* | --libex=* | --libe=*) 9752c7c4e3dSmrg libexecdir=$ac_optarg ;; 9762c7c4e3dSmrg 9778650bb69Smrg -localedir | --localedir | --localedi | --localed | --locale) 9788650bb69Smrg ac_prev=localedir ;; 9798650bb69Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9808650bb69Smrg localedir=$ac_optarg ;; 9818650bb69Smrg 9822c7c4e3dSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9838650bb69Smrg | --localstate | --localstat | --localsta | --localst | --locals) 9842c7c4e3dSmrg ac_prev=localstatedir ;; 9852c7c4e3dSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9868650bb69Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9872c7c4e3dSmrg localstatedir=$ac_optarg ;; 9882c7c4e3dSmrg 9892c7c4e3dSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9902c7c4e3dSmrg ac_prev=mandir ;; 9912c7c4e3dSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9922c7c4e3dSmrg mandir=$ac_optarg ;; 9932c7c4e3dSmrg 9942c7c4e3dSmrg -nfp | --nfp | --nf) 9952c7c4e3dSmrg # Obsolete; use --without-fp. 9962c7c4e3dSmrg with_fp=no ;; 9972c7c4e3dSmrg 9982c7c4e3dSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9992c7c4e3dSmrg | --no-cr | --no-c | -n) 10002c7c4e3dSmrg no_create=yes ;; 10012c7c4e3dSmrg 10022c7c4e3dSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 10032c7c4e3dSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 10042c7c4e3dSmrg no_recursion=yes ;; 10052c7c4e3dSmrg 10062c7c4e3dSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 10072c7c4e3dSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 10082c7c4e3dSmrg | --oldin | --oldi | --old | --ol | --o) 10092c7c4e3dSmrg ac_prev=oldincludedir ;; 10102c7c4e3dSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 10112c7c4e3dSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 10122c7c4e3dSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 10132c7c4e3dSmrg oldincludedir=$ac_optarg ;; 10142c7c4e3dSmrg 10152c7c4e3dSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 10162c7c4e3dSmrg ac_prev=prefix ;; 10172c7c4e3dSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 10182c7c4e3dSmrg prefix=$ac_optarg ;; 10192c7c4e3dSmrg 10202c7c4e3dSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 10212c7c4e3dSmrg | --program-pre | --program-pr | --program-p) 10222c7c4e3dSmrg ac_prev=program_prefix ;; 10232c7c4e3dSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 10242c7c4e3dSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 10252c7c4e3dSmrg program_prefix=$ac_optarg ;; 10262c7c4e3dSmrg 10272c7c4e3dSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 10282c7c4e3dSmrg | --program-suf | --program-su | --program-s) 10292c7c4e3dSmrg ac_prev=program_suffix ;; 10302c7c4e3dSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 10312c7c4e3dSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 10322c7c4e3dSmrg program_suffix=$ac_optarg ;; 10332c7c4e3dSmrg 10342c7c4e3dSmrg -program-transform-name | --program-transform-name \ 10352c7c4e3dSmrg | --program-transform-nam | --program-transform-na \ 10362c7c4e3dSmrg | --program-transform-n | --program-transform- \ 10372c7c4e3dSmrg | --program-transform | --program-transfor \ 10382c7c4e3dSmrg | --program-transfo | --program-transf \ 10392c7c4e3dSmrg | --program-trans | --program-tran \ 10402c7c4e3dSmrg | --progr-tra | --program-tr | --program-t) 10412c7c4e3dSmrg ac_prev=program_transform_name ;; 10422c7c4e3dSmrg -program-transform-name=* | --program-transform-name=* \ 10432c7c4e3dSmrg | --program-transform-nam=* | --program-transform-na=* \ 10442c7c4e3dSmrg | --program-transform-n=* | --program-transform-=* \ 10452c7c4e3dSmrg | --program-transform=* | --program-transfor=* \ 10462c7c4e3dSmrg | --program-transfo=* | --program-transf=* \ 10472c7c4e3dSmrg | --program-trans=* | --program-tran=* \ 10482c7c4e3dSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 10492c7c4e3dSmrg program_transform_name=$ac_optarg ;; 10502c7c4e3dSmrg 10518650bb69Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10528650bb69Smrg ac_prev=pdfdir ;; 10538650bb69Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10548650bb69Smrg pdfdir=$ac_optarg ;; 10558650bb69Smrg 10568650bb69Smrg -psdir | --psdir | --psdi | --psd | --ps) 10578650bb69Smrg ac_prev=psdir ;; 10588650bb69Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10598650bb69Smrg psdir=$ac_optarg ;; 10608650bb69Smrg 10612c7c4e3dSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10622c7c4e3dSmrg | -silent | --silent | --silen | --sile | --sil) 10632c7c4e3dSmrg silent=yes ;; 10642c7c4e3dSmrg 10652c7c4e3dSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10662c7c4e3dSmrg ac_prev=sbindir ;; 10672c7c4e3dSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10682c7c4e3dSmrg | --sbi=* | --sb=*) 10692c7c4e3dSmrg sbindir=$ac_optarg ;; 10702c7c4e3dSmrg 10712c7c4e3dSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10722c7c4e3dSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10732c7c4e3dSmrg | --sharedst | --shareds | --shared | --share | --shar \ 10742c7c4e3dSmrg | --sha | --sh) 10752c7c4e3dSmrg ac_prev=sharedstatedir ;; 10762c7c4e3dSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10772c7c4e3dSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10782c7c4e3dSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10792c7c4e3dSmrg | --sha=* | --sh=*) 10802c7c4e3dSmrg sharedstatedir=$ac_optarg ;; 10812c7c4e3dSmrg 10822c7c4e3dSmrg -site | --site | --sit) 10832c7c4e3dSmrg ac_prev=site ;; 10842c7c4e3dSmrg -site=* | --site=* | --sit=*) 10852c7c4e3dSmrg site=$ac_optarg ;; 10862c7c4e3dSmrg 10872c7c4e3dSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10882c7c4e3dSmrg ac_prev=srcdir ;; 10892c7c4e3dSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10902c7c4e3dSmrg srcdir=$ac_optarg ;; 10912c7c4e3dSmrg 10922c7c4e3dSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10932c7c4e3dSmrg | --syscon | --sysco | --sysc | --sys | --sy) 10942c7c4e3dSmrg ac_prev=sysconfdir ;; 10952c7c4e3dSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10962c7c4e3dSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10972c7c4e3dSmrg sysconfdir=$ac_optarg ;; 10982c7c4e3dSmrg 10992c7c4e3dSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 11002c7c4e3dSmrg ac_prev=target_alias ;; 11012c7c4e3dSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 11022c7c4e3dSmrg target_alias=$ac_optarg ;; 11032c7c4e3dSmrg 11042c7c4e3dSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 11052c7c4e3dSmrg verbose=yes ;; 11062c7c4e3dSmrg 11072c7c4e3dSmrg -version | --version | --versio | --versi | --vers | -V) 11082c7c4e3dSmrg ac_init_version=: ;; 11092c7c4e3dSmrg 11102c7c4e3dSmrg -with-* | --with-*) 11118650bb69Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 11122c7c4e3dSmrg # Reject names that are not valid shell variable names. 11138650bb69Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11148650bb69Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 11152c7c4e3dSmrg { (exit 1); exit 1; }; } 11168650bb69Smrg ac_useropt_orig=$ac_useropt 11178650bb69Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11188650bb69Smrg case $ac_user_opts in 11198650bb69Smrg *" 11208650bb69Smrg"with_$ac_useropt" 11218650bb69Smrg"*) ;; 11228650bb69Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 11238650bb69Smrg ac_unrecognized_sep=', ';; 11242c7c4e3dSmrg esac 11258650bb69Smrg eval with_$ac_useropt=\$ac_optarg ;; 11262c7c4e3dSmrg 11272c7c4e3dSmrg -without-* | --without-*) 11288650bb69Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 11292c7c4e3dSmrg # Reject names that are not valid shell variable names. 11308650bb69Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11318650bb69Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 11322c7c4e3dSmrg { (exit 1); exit 1; }; } 11338650bb69Smrg ac_useropt_orig=$ac_useropt 11348650bb69Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11358650bb69Smrg case $ac_user_opts in 11368650bb69Smrg *" 11378650bb69Smrg"with_$ac_useropt" 11388650bb69Smrg"*) ;; 11398650bb69Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11408650bb69Smrg ac_unrecognized_sep=', ';; 11418650bb69Smrg esac 11428650bb69Smrg eval with_$ac_useropt=no ;; 11432c7c4e3dSmrg 11442c7c4e3dSmrg --x) 11452c7c4e3dSmrg # Obsolete; use --with-x. 11462c7c4e3dSmrg with_x=yes ;; 11472c7c4e3dSmrg 11482c7c4e3dSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11492c7c4e3dSmrg | --x-incl | --x-inc | --x-in | --x-i) 11502c7c4e3dSmrg ac_prev=x_includes ;; 11512c7c4e3dSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11522c7c4e3dSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11532c7c4e3dSmrg x_includes=$ac_optarg ;; 11542c7c4e3dSmrg 11552c7c4e3dSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11562c7c4e3dSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11572c7c4e3dSmrg ac_prev=x_libraries ;; 11582c7c4e3dSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11592c7c4e3dSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11602c7c4e3dSmrg x_libraries=$ac_optarg ;; 11612c7c4e3dSmrg 11628650bb69Smrg -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 11632c7c4e3dSmrgTry \`$0 --help' for more information." >&2 11642c7c4e3dSmrg { (exit 1); exit 1; }; } 11652c7c4e3dSmrg ;; 11662c7c4e3dSmrg 11672c7c4e3dSmrg *=*) 11682c7c4e3dSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11692c7c4e3dSmrg # Reject names that are not valid shell variable names. 11702c7c4e3dSmrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 11718650bb69Smrg { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 11722c7c4e3dSmrg { (exit 1); exit 1; }; } 11738650bb69Smrg eval $ac_envvar=\$ac_optarg 11742c7c4e3dSmrg export $ac_envvar ;; 11752c7c4e3dSmrg 11762c7c4e3dSmrg *) 11772c7c4e3dSmrg # FIXME: should be removed in autoconf 3.0. 11788650bb69Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 11792c7c4e3dSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11808650bb69Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 11812c7c4e3dSmrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 11822c7c4e3dSmrg ;; 11832c7c4e3dSmrg 11842c7c4e3dSmrg esac 11852c7c4e3dSmrgdone 11862c7c4e3dSmrg 11872c7c4e3dSmrgif test -n "$ac_prev"; then 11882c7c4e3dSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11898650bb69Smrg { $as_echo "$as_me: error: missing argument to $ac_option" >&2 11902c7c4e3dSmrg { (exit 1); exit 1; }; } 11912c7c4e3dSmrgfi 11922c7c4e3dSmrg 11938650bb69Smrgif test -n "$ac_unrecognized_opts"; then 11948650bb69Smrg case $enable_option_checking in 11958650bb69Smrg no) ;; 11968650bb69Smrg fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 11978650bb69Smrg { (exit 1); exit 1; }; } ;; 11988650bb69Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11992c7c4e3dSmrg esac 12008650bb69Smrgfi 12012c7c4e3dSmrg 12028650bb69Smrg# Check all directory arguments for consistency. 12038650bb69Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 12048650bb69Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 12058650bb69Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 12068650bb69Smrg libdir localedir mandir 12072c7c4e3dSmrgdo 12088650bb69Smrg eval ac_val=\$$ac_var 12098650bb69Smrg # Remove trailing slashes. 12102c7c4e3dSmrg case $ac_val in 12118650bb69Smrg */ ) 12128650bb69Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 12138650bb69Smrg eval $ac_var=\$ac_val;; 12148650bb69Smrg esac 12158650bb69Smrg # Be sure to have absolute directory names. 12168650bb69Smrg case $ac_val in 12178650bb69Smrg [\\/$]* | ?:[\\/]* ) continue;; 12188650bb69Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 12192c7c4e3dSmrg esac 12208650bb69Smrg { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 12218650bb69Smrg { (exit 1); exit 1; }; } 12222c7c4e3dSmrgdone 12232c7c4e3dSmrg 12242c7c4e3dSmrg# There might be people who depend on the old broken behavior: `$host' 12252c7c4e3dSmrg# used to hold the argument of --host etc. 12262c7c4e3dSmrg# FIXME: To remove some day. 12272c7c4e3dSmrgbuild=$build_alias 12282c7c4e3dSmrghost=$host_alias 12292c7c4e3dSmrgtarget=$target_alias 12302c7c4e3dSmrg 12312c7c4e3dSmrg# FIXME: To remove some day. 12322c7c4e3dSmrgif test "x$host_alias" != x; then 12332c7c4e3dSmrg if test "x$build_alias" = x; then 12342c7c4e3dSmrg cross_compiling=maybe 12358650bb69Smrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 12362c7c4e3dSmrg If a cross compiler is detected then cross compile mode will be used." >&2 12372c7c4e3dSmrg elif test "x$build_alias" != "x$host_alias"; then 12382c7c4e3dSmrg cross_compiling=yes 12392c7c4e3dSmrg fi 12402c7c4e3dSmrgfi 12412c7c4e3dSmrg 12422c7c4e3dSmrgac_tool_prefix= 12432c7c4e3dSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12442c7c4e3dSmrg 12452c7c4e3dSmrgtest "$silent" = yes && exec 6>/dev/null 12462c7c4e3dSmrg 12472c7c4e3dSmrg 12488650bb69Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12498650bb69Smrgac_ls_di=`ls -di .` && 12508650bb69Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12518650bb69Smrg { $as_echo "$as_me: error: working directory cannot be determined" >&2 12528650bb69Smrg { (exit 1); exit 1; }; } 12538650bb69Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12548650bb69Smrg { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 12558650bb69Smrg { (exit 1); exit 1; }; } 12568650bb69Smrg 12578650bb69Smrg 12588650bb69Smrg# Find the source files, if location was not specified. 12598650bb69Smrgif test -z "$srcdir"; then 12602c7c4e3dSmrg ac_srcdir_defaulted=yes 12618650bb69Smrg # Try the directory containing this script, then the parent directory. 12628650bb69Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12638650bb69Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12648650bb69Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12658650bb69Smrg X"$as_myself" : 'X\(//\)$' \| \ 12668650bb69Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12678650bb69Smrg$as_echo X"$as_myself" | 12688650bb69Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12698650bb69Smrg s//\1/ 12708650bb69Smrg q 12718650bb69Smrg } 12728650bb69Smrg /^X\(\/\/\)[^/].*/{ 12738650bb69Smrg s//\1/ 12748650bb69Smrg q 12758650bb69Smrg } 12768650bb69Smrg /^X\(\/\/\)$/{ 12778650bb69Smrg s//\1/ 12788650bb69Smrg q 12798650bb69Smrg } 12808650bb69Smrg /^X\(\/\).*/{ 12818650bb69Smrg s//\1/ 12828650bb69Smrg q 12838650bb69Smrg } 12848650bb69Smrg s/.*/./; q'` 12852c7c4e3dSmrg srcdir=$ac_confdir 12868650bb69Smrg if test ! -r "$srcdir/$ac_unique_file"; then 12872c7c4e3dSmrg srcdir=.. 12882c7c4e3dSmrg fi 12892c7c4e3dSmrgelse 12902c7c4e3dSmrg ac_srcdir_defaulted=no 12912c7c4e3dSmrgfi 12928650bb69Smrgif test ! -r "$srcdir/$ac_unique_file"; then 12938650bb69Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12948650bb69Smrg { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 12952c7c4e3dSmrg { (exit 1); exit 1; }; } 12962c7c4e3dSmrgfi 12978650bb69Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12988650bb69Smrgac_abs_confdir=`( 12998650bb69Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 13002c7c4e3dSmrg { (exit 1); exit 1; }; } 13018650bb69Smrg pwd)` 13028650bb69Smrg# When building in place, set srcdir=. 13038650bb69Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 13048650bb69Smrg srcdir=. 13058650bb69Smrgfi 13068650bb69Smrg# Remove unnecessary trailing slashes from srcdir. 13078650bb69Smrg# Double slashes in file names in object file debugging info 13088650bb69Smrg# mess up M-x gdb in Emacs. 13098650bb69Smrgcase $srcdir in 13108650bb69Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 13118650bb69Smrgesac 13128650bb69Smrgfor ac_var in $ac_precious_vars; do 13138650bb69Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 13148650bb69Smrg eval ac_env_${ac_var}_value=\$${ac_var} 13158650bb69Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 13168650bb69Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 13178650bb69Smrgdone 13182c7c4e3dSmrg 13192c7c4e3dSmrg# 13202c7c4e3dSmrg# Report the --help message. 13212c7c4e3dSmrg# 13222c7c4e3dSmrgif test "$ac_init_help" = "long"; then 13232c7c4e3dSmrg # Omit some internal or obsolete options to make the list less imposing. 13242c7c4e3dSmrg # This message is too long to be a string in the A/UX 3.1 sh. 13252c7c4e3dSmrg cat <<_ACEOF 13268650bb69Smrg\`configure' configures xcmsdb 1.0.2 to adapt to many kinds of systems. 13272c7c4e3dSmrg 13282c7c4e3dSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 13292c7c4e3dSmrg 13302c7c4e3dSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 13312c7c4e3dSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 13322c7c4e3dSmrg 13332c7c4e3dSmrgDefaults for the options are specified in brackets. 13342c7c4e3dSmrg 13352c7c4e3dSmrgConfiguration: 13362c7c4e3dSmrg -h, --help display this help and exit 13372c7c4e3dSmrg --help=short display options specific to this package 13382c7c4e3dSmrg --help=recursive display the short help of all the included packages 13392c7c4e3dSmrg -V, --version display version information and exit 13402c7c4e3dSmrg -q, --quiet, --silent do not print \`checking...' messages 13412c7c4e3dSmrg --cache-file=FILE cache test results in FILE [disabled] 13422c7c4e3dSmrg -C, --config-cache alias for \`--cache-file=config.cache' 13432c7c4e3dSmrg -n, --no-create do not create output files 13442c7c4e3dSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13452c7c4e3dSmrg 13462c7c4e3dSmrgInstallation directories: 13472c7c4e3dSmrg --prefix=PREFIX install architecture-independent files in PREFIX 13488650bb69Smrg [$ac_default_prefix] 13492c7c4e3dSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13508650bb69Smrg [PREFIX] 13512c7c4e3dSmrg 13522c7c4e3dSmrgBy default, \`make install' will install all the files in 13532c7c4e3dSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13542c7c4e3dSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13552c7c4e3dSmrgfor instance \`--prefix=\$HOME'. 13562c7c4e3dSmrg 13572c7c4e3dSmrgFor better control, use the options below. 13582c7c4e3dSmrg 13592c7c4e3dSmrgFine tuning of the installation directories: 13608650bb69Smrg --bindir=DIR user executables [EPREFIX/bin] 13618650bb69Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13628650bb69Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13638650bb69Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13648650bb69Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13658650bb69Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13668650bb69Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13678650bb69Smrg --includedir=DIR C header files [PREFIX/include] 13688650bb69Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13698650bb69Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13708650bb69Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13718650bb69Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13728650bb69Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13738650bb69Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13748650bb69Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/xcmsdb] 13758650bb69Smrg --htmldir=DIR html documentation [DOCDIR] 13768650bb69Smrg --dvidir=DIR dvi documentation [DOCDIR] 13778650bb69Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13788650bb69Smrg --psdir=DIR ps documentation [DOCDIR] 13792c7c4e3dSmrg_ACEOF 13802c7c4e3dSmrg 13812c7c4e3dSmrg cat <<\_ACEOF 13822c7c4e3dSmrg 13832c7c4e3dSmrgProgram names: 13842c7c4e3dSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 13852c7c4e3dSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 13862c7c4e3dSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13872c7c4e3dSmrg 13882c7c4e3dSmrgSystem types: 13892c7c4e3dSmrg --build=BUILD configure for building on BUILD [guessed] 13902c7c4e3dSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 13912c7c4e3dSmrg_ACEOF 13922c7c4e3dSmrgfi 13932c7c4e3dSmrg 13942c7c4e3dSmrgif test -n "$ac_init_help"; then 13952c7c4e3dSmrg case $ac_init_help in 13968650bb69Smrg short | recursive ) echo "Configuration of xcmsdb 1.0.2:";; 13972c7c4e3dSmrg esac 13982c7c4e3dSmrg cat <<\_ACEOF 13992c7c4e3dSmrg 14002c7c4e3dSmrgOptional Features: 14018650bb69Smrg --disable-option-checking ignore unrecognized --enable/--with options 14022c7c4e3dSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 14032c7c4e3dSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 14048650bb69Smrg --enable-maintainer-mode enable make rules and dependencies not useful 14058650bb69Smrg (and sometimes confusing) to the casual installer 14068650bb69Smrg --disable-dependency-tracking speeds up one-time build 14078650bb69Smrg --enable-dependency-tracking do not reject slow dependency extractors 14088650bb69Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 14098650bb69Smrg --disable-silent-rules verbose build output (undo: `make V=0') 14108650bb69Smrg --enable-strict-compilation 14118650bb69Smrg Enable all warnings from compiler and make them 14128650bb69Smrg errors (default: disabled) 14132c7c4e3dSmrg 14142c7c4e3dSmrgOptional Packages: 14152c7c4e3dSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 14162c7c4e3dSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 14172c7c4e3dSmrg --with-release-version=STRING 14182c7c4e3dSmrg Use release version string in package name 14192c7c4e3dSmrg 14202c7c4e3dSmrgSome influential environment variables: 14212c7c4e3dSmrg CC C compiler command 14222c7c4e3dSmrg CFLAGS C compiler flags 14232c7c4e3dSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 14242c7c4e3dSmrg nonstandard directory <lib dir> 14258650bb69Smrg LIBS libraries to pass to the linker, e.g. -l<library> 14268650bb69Smrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 14278650bb69Smrg you have headers in a nonstandard directory <include dir> 14288650bb69Smrg CPP C preprocessor 14292c7c4e3dSmrg PKG_CONFIG path to pkg-config utility 14302c7c4e3dSmrg XCMSDB_CFLAGS 14312c7c4e3dSmrg C compiler flags for XCMSDB, overriding pkg-config 14322c7c4e3dSmrg XCMSDB_LIBS linker flags for XCMSDB, overriding pkg-config 14332c7c4e3dSmrg 14342c7c4e3dSmrgUse these variables to override the choices made by `configure' or to help 14352c7c4e3dSmrgit to find libraries and programs with nonstandard names/locations. 14362c7c4e3dSmrg 14372c7c4e3dSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 14382c7c4e3dSmrg_ACEOF 14398650bb69Smrgac_status=$? 14402c7c4e3dSmrgfi 14412c7c4e3dSmrg 14422c7c4e3dSmrgif test "$ac_init_help" = "recursive"; then 14432c7c4e3dSmrg # If there are subdirs, report their specific --help. 14442c7c4e3dSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14458650bb69Smrg test -d "$ac_dir" || 14468650bb69Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14478650bb69Smrg continue 14482c7c4e3dSmrg ac_builddir=. 14492c7c4e3dSmrg 14508650bb69Smrgcase "$ac_dir" in 14518650bb69Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14528650bb69Smrg*) 14538650bb69Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14548650bb69Smrg # A ".." for each directory in $ac_dir_suffix. 14558650bb69Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14568650bb69Smrg case $ac_top_builddir_sub in 14578650bb69Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14588650bb69Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14598650bb69Smrg esac ;; 14608650bb69Smrgesac 14618650bb69Smrgac_abs_top_builddir=$ac_pwd 14628650bb69Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14638650bb69Smrg# for backward compatibility: 14648650bb69Smrgac_top_builddir=$ac_top_build_prefix 14652c7c4e3dSmrg 14662c7c4e3dSmrgcase $srcdir in 14678650bb69Smrg .) # We are building in place. 14682c7c4e3dSmrg ac_srcdir=. 14698650bb69Smrg ac_top_srcdir=$ac_top_builddir_sub 14708650bb69Smrg ac_abs_top_srcdir=$ac_pwd ;; 14718650bb69Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 14722c7c4e3dSmrg ac_srcdir=$srcdir$ac_dir_suffix; 14738650bb69Smrg ac_top_srcdir=$srcdir 14748650bb69Smrg ac_abs_top_srcdir=$srcdir ;; 14758650bb69Smrg *) # Relative name. 14768650bb69Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14778650bb69Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14788650bb69Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14792c7c4e3dSmrgesac 14808650bb69Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14818650bb69Smrg 14828650bb69Smrg cd "$ac_dir" || { ac_status=$?; continue; } 14838650bb69Smrg # Check for guested configure. 14848650bb69Smrg if test -f "$ac_srcdir/configure.gnu"; then 14858650bb69Smrg echo && 14868650bb69Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14878650bb69Smrg elif test -f "$ac_srcdir/configure"; then 14888650bb69Smrg echo && 14898650bb69Smrg $SHELL "$ac_srcdir/configure" --help=recursive 14902c7c4e3dSmrg else 14918650bb69Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14928650bb69Smrg fi || ac_status=$? 14938650bb69Smrg cd "$ac_pwd" || { ac_status=$?; break; } 14942c7c4e3dSmrg done 14952c7c4e3dSmrgfi 14962c7c4e3dSmrg 14978650bb69Smrgtest -n "$ac_init_help" && exit $ac_status 14982c7c4e3dSmrgif $ac_init_version; then 14992c7c4e3dSmrg cat <<\_ACEOF 15008650bb69Smrgxcmsdb configure 1.0.2 15018650bb69Smrggenerated by GNU Autoconf 2.63 15022c7c4e3dSmrg 15038650bb69SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 15048650bb69Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 15052c7c4e3dSmrgThis configure script is free software; the Free Software Foundation 15062c7c4e3dSmrggives unlimited permission to copy, distribute and modify it. 15072c7c4e3dSmrg_ACEOF 15088650bb69Smrg exit 15092c7c4e3dSmrgfi 15108650bb69Smrgcat >config.log <<_ACEOF 15112c7c4e3dSmrgThis file contains any messages produced by compilers while 15122c7c4e3dSmrgrunning configure, to aid debugging if configure makes a mistake. 15132c7c4e3dSmrg 15148650bb69SmrgIt was created by xcmsdb $as_me 1.0.2, which was 15158650bb69Smrggenerated by GNU Autoconf 2.63. Invocation command line was 15162c7c4e3dSmrg 15172c7c4e3dSmrg $ $0 $@ 15182c7c4e3dSmrg 15192c7c4e3dSmrg_ACEOF 15208650bb69Smrgexec 5>>config.log 15212c7c4e3dSmrg{ 15222c7c4e3dSmrgcat <<_ASUNAME 15232c7c4e3dSmrg## --------- ## 15242c7c4e3dSmrg## Platform. ## 15252c7c4e3dSmrg## --------- ## 15262c7c4e3dSmrg 15272c7c4e3dSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 15282c7c4e3dSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 15292c7c4e3dSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 15302c7c4e3dSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 15312c7c4e3dSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 15322c7c4e3dSmrg 15332c7c4e3dSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 15342c7c4e3dSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 15352c7c4e3dSmrg 15362c7c4e3dSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 15372c7c4e3dSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 15382c7c4e3dSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 15398650bb69Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 15402c7c4e3dSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 15412c7c4e3dSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 15422c7c4e3dSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 15432c7c4e3dSmrg 15442c7c4e3dSmrg_ASUNAME 15452c7c4e3dSmrg 15462c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15472c7c4e3dSmrgfor as_dir in $PATH 15482c7c4e3dSmrgdo 15492c7c4e3dSmrg IFS=$as_save_IFS 15502c7c4e3dSmrg test -z "$as_dir" && as_dir=. 15518650bb69Smrg $as_echo "PATH: $as_dir" 15522c7c4e3dSmrgdone 15538650bb69SmrgIFS=$as_save_IFS 15542c7c4e3dSmrg 15552c7c4e3dSmrg} >&5 15562c7c4e3dSmrg 15572c7c4e3dSmrgcat >&5 <<_ACEOF 15582c7c4e3dSmrg 15592c7c4e3dSmrg 15602c7c4e3dSmrg## ----------- ## 15612c7c4e3dSmrg## Core tests. ## 15622c7c4e3dSmrg## ----------- ## 15632c7c4e3dSmrg 15642c7c4e3dSmrg_ACEOF 15652c7c4e3dSmrg 15662c7c4e3dSmrg 15672c7c4e3dSmrg# Keep a trace of the command line. 15682c7c4e3dSmrg# Strip out --no-create and --no-recursion so they do not pile up. 15692c7c4e3dSmrg# Strip out --silent because we don't want to record it for future runs. 15702c7c4e3dSmrg# Also quote any args containing shell meta-characters. 15712c7c4e3dSmrg# Make two passes to allow for proper duplicate-argument suppression. 15722c7c4e3dSmrgac_configure_args= 15732c7c4e3dSmrgac_configure_args0= 15742c7c4e3dSmrgac_configure_args1= 15752c7c4e3dSmrgac_must_keep_next=false 15762c7c4e3dSmrgfor ac_pass in 1 2 15772c7c4e3dSmrgdo 15782c7c4e3dSmrg for ac_arg 15792c7c4e3dSmrg do 15802c7c4e3dSmrg case $ac_arg in 15812c7c4e3dSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 15822c7c4e3dSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15832c7c4e3dSmrg | -silent | --silent | --silen | --sile | --sil) 15842c7c4e3dSmrg continue ;; 15858650bb69Smrg *\'*) 15868650bb69Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 15872c7c4e3dSmrg esac 15882c7c4e3dSmrg case $ac_pass in 15892c7c4e3dSmrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 15902c7c4e3dSmrg 2) 15912c7c4e3dSmrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 15922c7c4e3dSmrg if test $ac_must_keep_next = true; then 15932c7c4e3dSmrg ac_must_keep_next=false # Got value, back to normal. 15942c7c4e3dSmrg else 15952c7c4e3dSmrg case $ac_arg in 15962c7c4e3dSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 15972c7c4e3dSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 15982c7c4e3dSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 15992c7c4e3dSmrg | -with-* | --with-* | -without-* | --without-* | --x) 16002c7c4e3dSmrg case "$ac_configure_args0 " in 16012c7c4e3dSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 16022c7c4e3dSmrg esac 16032c7c4e3dSmrg ;; 16042c7c4e3dSmrg -* ) ac_must_keep_next=true ;; 16052c7c4e3dSmrg esac 16062c7c4e3dSmrg fi 16078650bb69Smrg ac_configure_args="$ac_configure_args '$ac_arg'" 16082c7c4e3dSmrg ;; 16092c7c4e3dSmrg esac 16102c7c4e3dSmrg done 16112c7c4e3dSmrgdone 16122c7c4e3dSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 16132c7c4e3dSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 16142c7c4e3dSmrg 16152c7c4e3dSmrg# When interrupted or exit'd, cleanup temporary files, and complete 16162c7c4e3dSmrg# config.log. We remove comments because anyway the quotes in there 16172c7c4e3dSmrg# would cause problems or look ugly. 16188650bb69Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 16198650bb69Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 16202c7c4e3dSmrgtrap 'exit_status=$? 16212c7c4e3dSmrg # Save into config.log some information that might help in debugging. 16222c7c4e3dSmrg { 16232c7c4e3dSmrg echo 16242c7c4e3dSmrg 16252c7c4e3dSmrg cat <<\_ASBOX 16262c7c4e3dSmrg## ---------------- ## 16272c7c4e3dSmrg## Cache variables. ## 16282c7c4e3dSmrg## ---------------- ## 16292c7c4e3dSmrg_ASBOX 16302c7c4e3dSmrg echo 16312c7c4e3dSmrg # The following way of writing the cache mishandles newlines in values, 16328650bb69Smrg( 16338650bb69Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 16348650bb69Smrg eval ac_val=\$$ac_var 16358650bb69Smrg case $ac_val in #( 16368650bb69Smrg *${as_nl}*) 16378650bb69Smrg case $ac_var in #( 16388650bb69Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 16398650bb69Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16408650bb69Smrg esac 16418650bb69Smrg case $ac_var in #( 16428650bb69Smrg _ | IFS | as_nl) ;; #( 16438650bb69Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16448650bb69Smrg *) $as_unset $ac_var ;; 16458650bb69Smrg esac ;; 16468650bb69Smrg esac 16478650bb69Smrg done 16482c7c4e3dSmrg (set) 2>&1 | 16498650bb69Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 16508650bb69Smrg *${as_nl}ac_space=\ *) 16512c7c4e3dSmrg sed -n \ 16528650bb69Smrg "s/'\''/'\''\\\\'\'''\''/g; 16538650bb69Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 16548650bb69Smrg ;; #( 16552c7c4e3dSmrg *) 16568650bb69Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16572c7c4e3dSmrg ;; 16588650bb69Smrg esac | 16598650bb69Smrg sort 16608650bb69Smrg) 16612c7c4e3dSmrg echo 16622c7c4e3dSmrg 16632c7c4e3dSmrg cat <<\_ASBOX 16642c7c4e3dSmrg## ----------------- ## 16652c7c4e3dSmrg## Output variables. ## 16662c7c4e3dSmrg## ----------------- ## 16672c7c4e3dSmrg_ASBOX 16682c7c4e3dSmrg echo 16692c7c4e3dSmrg for ac_var in $ac_subst_vars 16702c7c4e3dSmrg do 16718650bb69Smrg eval ac_val=\$$ac_var 16728650bb69Smrg case $ac_val in 16738650bb69Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16748650bb69Smrg esac 16758650bb69Smrg $as_echo "$ac_var='\''$ac_val'\''" 16762c7c4e3dSmrg done | sort 16772c7c4e3dSmrg echo 16782c7c4e3dSmrg 16792c7c4e3dSmrg if test -n "$ac_subst_files"; then 16802c7c4e3dSmrg cat <<\_ASBOX 16818650bb69Smrg## ------------------- ## 16828650bb69Smrg## File substitutions. ## 16838650bb69Smrg## ------------------- ## 16842c7c4e3dSmrg_ASBOX 16852c7c4e3dSmrg echo 16862c7c4e3dSmrg for ac_var in $ac_subst_files 16872c7c4e3dSmrg do 16888650bb69Smrg eval ac_val=\$$ac_var 16898650bb69Smrg case $ac_val in 16908650bb69Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16918650bb69Smrg esac 16928650bb69Smrg $as_echo "$ac_var='\''$ac_val'\''" 16932c7c4e3dSmrg done | sort 16942c7c4e3dSmrg echo 16952c7c4e3dSmrg fi 16962c7c4e3dSmrg 16972c7c4e3dSmrg if test -s confdefs.h; then 16982c7c4e3dSmrg cat <<\_ASBOX 16992c7c4e3dSmrg## ----------- ## 17002c7c4e3dSmrg## confdefs.h. ## 17012c7c4e3dSmrg## ----------- ## 17022c7c4e3dSmrg_ASBOX 17032c7c4e3dSmrg echo 17048650bb69Smrg cat confdefs.h 17052c7c4e3dSmrg echo 17062c7c4e3dSmrg fi 17072c7c4e3dSmrg test "$ac_signal" != 0 && 17088650bb69Smrg $as_echo "$as_me: caught signal $ac_signal" 17098650bb69Smrg $as_echo "$as_me: exit $exit_status" 17102c7c4e3dSmrg } >&5 17118650bb69Smrg rm -f core *.core core.conftest.* && 17128650bb69Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 17132c7c4e3dSmrg exit $exit_status 17148650bb69Smrg' 0 17152c7c4e3dSmrgfor ac_signal in 1 2 13 15; do 17162c7c4e3dSmrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 17172c7c4e3dSmrgdone 17182c7c4e3dSmrgac_signal=0 17192c7c4e3dSmrg 17202c7c4e3dSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 17218650bb69Smrgrm -f -r conftest* confdefs.h 17222c7c4e3dSmrg 17232c7c4e3dSmrg# Predefined preprocessor variables. 17242c7c4e3dSmrg 17252c7c4e3dSmrgcat >>confdefs.h <<_ACEOF 17262c7c4e3dSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 17272c7c4e3dSmrg_ACEOF 17282c7c4e3dSmrg 17292c7c4e3dSmrg 17302c7c4e3dSmrgcat >>confdefs.h <<_ACEOF 17312c7c4e3dSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 17322c7c4e3dSmrg_ACEOF 17332c7c4e3dSmrg 17342c7c4e3dSmrg 17352c7c4e3dSmrgcat >>confdefs.h <<_ACEOF 17362c7c4e3dSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 17372c7c4e3dSmrg_ACEOF 17382c7c4e3dSmrg 17392c7c4e3dSmrg 17402c7c4e3dSmrgcat >>confdefs.h <<_ACEOF 17412c7c4e3dSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 17422c7c4e3dSmrg_ACEOF 17432c7c4e3dSmrg 17442c7c4e3dSmrg 17452c7c4e3dSmrgcat >>confdefs.h <<_ACEOF 17462c7c4e3dSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 17472c7c4e3dSmrg_ACEOF 17482c7c4e3dSmrg 17492c7c4e3dSmrg 17502c7c4e3dSmrg# Let the site file select an alternate cache file if it wants to. 17518650bb69Smrg# Prefer an explicitly selected file to automatically selected ones. 17528650bb69Smrgac_site_file1=NONE 17538650bb69Smrgac_site_file2=NONE 17548650bb69Smrgif test -n "$CONFIG_SITE"; then 17558650bb69Smrg ac_site_file1=$CONFIG_SITE 17568650bb69Smrgelif test "x$prefix" != xNONE; then 17578650bb69Smrg ac_site_file1=$prefix/share/config.site 17588650bb69Smrg ac_site_file2=$prefix/etc/config.site 17598650bb69Smrgelse 17608650bb69Smrg ac_site_file1=$ac_default_prefix/share/config.site 17618650bb69Smrg ac_site_file2=$ac_default_prefix/etc/config.site 17622c7c4e3dSmrgfi 17638650bb69Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 17648650bb69Smrgdo 17658650bb69Smrg test "x$ac_site_file" = xNONE && continue 17662c7c4e3dSmrg if test -r "$ac_site_file"; then 17678650bb69Smrg { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 17688650bb69Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 17692c7c4e3dSmrg sed 's/^/| /' "$ac_site_file" >&5 17702c7c4e3dSmrg . "$ac_site_file" 17712c7c4e3dSmrg fi 17722c7c4e3dSmrgdone 17732c7c4e3dSmrg 17742c7c4e3dSmrgif test -r "$cache_file"; then 17752c7c4e3dSmrg # Some versions of bash will fail to source /dev/null (special 17762c7c4e3dSmrg # files actually), so we avoid doing that. 17772c7c4e3dSmrg if test -f "$cache_file"; then 17788650bb69Smrg { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 17798650bb69Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 17802c7c4e3dSmrg case $cache_file in 17818650bb69Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 17828650bb69Smrg *) . "./$cache_file";; 17832c7c4e3dSmrg esac 17842c7c4e3dSmrg fi 17852c7c4e3dSmrgelse 17868650bb69Smrg { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 17878650bb69Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 17882c7c4e3dSmrg >$cache_file 17892c7c4e3dSmrgfi 17902c7c4e3dSmrg 17912c7c4e3dSmrg# Check that the precious variables saved in the cache have kept the same 17922c7c4e3dSmrg# value. 17932c7c4e3dSmrgac_cache_corrupted=false 17948650bb69Smrgfor ac_var in $ac_precious_vars; do 17952c7c4e3dSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 17962c7c4e3dSmrg eval ac_new_set=\$ac_env_${ac_var}_set 17978650bb69Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 17988650bb69Smrg eval ac_new_val=\$ac_env_${ac_var}_value 17992c7c4e3dSmrg case $ac_old_set,$ac_new_set in 18002c7c4e3dSmrg set,) 18018650bb69Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 18028650bb69Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 18032c7c4e3dSmrg ac_cache_corrupted=: ;; 18042c7c4e3dSmrg ,set) 18058650bb69Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 18068650bb69Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 18072c7c4e3dSmrg ac_cache_corrupted=: ;; 18082c7c4e3dSmrg ,);; 18092c7c4e3dSmrg *) 18102c7c4e3dSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 18118650bb69Smrg # differences in whitespace do not lead to failure. 18128650bb69Smrg ac_old_val_w=`echo x $ac_old_val` 18138650bb69Smrg ac_new_val_w=`echo x $ac_new_val` 18148650bb69Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 18158650bb69Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 18168650bb69Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 18178650bb69Smrg ac_cache_corrupted=: 18188650bb69Smrg else 18198650bb69Smrg { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 18208650bb69Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 18218650bb69Smrg eval $ac_var=\$ac_old_val 18228650bb69Smrg fi 18238650bb69Smrg { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 18248650bb69Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 18258650bb69Smrg { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 18268650bb69Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 18272c7c4e3dSmrg fi;; 18282c7c4e3dSmrg esac 18292c7c4e3dSmrg # Pass precious variables to config.status. 18302c7c4e3dSmrg if test "$ac_new_set" = set; then 18312c7c4e3dSmrg case $ac_new_val in 18328650bb69Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 18332c7c4e3dSmrg *) ac_arg=$ac_var=$ac_new_val ;; 18342c7c4e3dSmrg esac 18352c7c4e3dSmrg case " $ac_configure_args " in 18362c7c4e3dSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 18372c7c4e3dSmrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 18382c7c4e3dSmrg esac 18392c7c4e3dSmrg fi 18402c7c4e3dSmrgdone 18412c7c4e3dSmrgif $ac_cache_corrupted; then 18428650bb69Smrg { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 18438650bb69Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18448650bb69Smrg { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 18458650bb69Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 18468650bb69Smrg { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 18478650bb69Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 18482c7c4e3dSmrg { (exit 1); exit 1; }; } 18492c7c4e3dSmrgfi 18502c7c4e3dSmrg 18512c7c4e3dSmrg 18522c7c4e3dSmrg 18532c7c4e3dSmrg 18542c7c4e3dSmrg 18552c7c4e3dSmrg 18562c7c4e3dSmrg 18572c7c4e3dSmrg 18582c7c4e3dSmrg 18592c7c4e3dSmrg 18602c7c4e3dSmrg 18612c7c4e3dSmrg 18622c7c4e3dSmrg 18632c7c4e3dSmrg 18642c7c4e3dSmrg 18652c7c4e3dSmrg 18662c7c4e3dSmrg 18672c7c4e3dSmrg 18682c7c4e3dSmrg 18692c7c4e3dSmrg 18702c7c4e3dSmrg 18712c7c4e3dSmrg 18722c7c4e3dSmrg 18732c7c4e3dSmrg 18742c7c4e3dSmrg 18758650bb69Smrgac_ext=c 18768650bb69Smrgac_cpp='$CPP $CPPFLAGS' 18778650bb69Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18788650bb69Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18798650bb69Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 18802c7c4e3dSmrg 18812c7c4e3dSmrg 18828650bb69Smrgam__api_version='1.11' 18832c7c4e3dSmrg 18842c7c4e3dSmrgac_aux_dir= 18858650bb69Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 18868650bb69Smrg if test -f "$ac_dir/install-sh"; then 18872c7c4e3dSmrg ac_aux_dir=$ac_dir 18882c7c4e3dSmrg ac_install_sh="$ac_aux_dir/install-sh -c" 18892c7c4e3dSmrg break 18908650bb69Smrg elif test -f "$ac_dir/install.sh"; then 18912c7c4e3dSmrg ac_aux_dir=$ac_dir 18922c7c4e3dSmrg ac_install_sh="$ac_aux_dir/install.sh -c" 18932c7c4e3dSmrg break 18948650bb69Smrg elif test -f "$ac_dir/shtool"; then 18952c7c4e3dSmrg ac_aux_dir=$ac_dir 18962c7c4e3dSmrg ac_install_sh="$ac_aux_dir/shtool install -c" 18972c7c4e3dSmrg break 18982c7c4e3dSmrg fi 18992c7c4e3dSmrgdone 19002c7c4e3dSmrgif test -z "$ac_aux_dir"; then 19018650bb69Smrg { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 19028650bb69Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 19032c7c4e3dSmrg { (exit 1); exit 1; }; } 19042c7c4e3dSmrgfi 19058650bb69Smrg 19068650bb69Smrg# These three variables are undocumented and unsupported, 19078650bb69Smrg# and are intended to be withdrawn in a future Autoconf release. 19088650bb69Smrg# They can cause serious problems if a builder's source tree is in a directory 19098650bb69Smrg# whose full name contains unusual characters. 19108650bb69Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 19118650bb69Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 19128650bb69Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 19138650bb69Smrg 19142c7c4e3dSmrg 19152c7c4e3dSmrg# Find a good install program. We prefer a C program (faster), 19162c7c4e3dSmrg# so one script is as good as another. But avoid the broken or 19172c7c4e3dSmrg# incompatible versions: 19182c7c4e3dSmrg# SysV /etc/install, /usr/sbin/install 19192c7c4e3dSmrg# SunOS /usr/etc/install 19202c7c4e3dSmrg# IRIX /sbin/install 19212c7c4e3dSmrg# AIX /bin/install 19222c7c4e3dSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 19232c7c4e3dSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 19242c7c4e3dSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 19252c7c4e3dSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 19262c7c4e3dSmrg# OS/2's system install, which has a completely different semantic 19272c7c4e3dSmrg# ./install, which can be erroneously created by make from ./install.sh. 19288650bb69Smrg# Reject install programs that cannot install multiple files. 19298650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 19308650bb69Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 19312c7c4e3dSmrgif test -z "$INSTALL"; then 19322c7c4e3dSmrgif test "${ac_cv_path_install+set}" = set; then 19338650bb69Smrg $as_echo_n "(cached) " >&6 19342c7c4e3dSmrgelse 19352c7c4e3dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19362c7c4e3dSmrgfor as_dir in $PATH 19372c7c4e3dSmrgdo 19382c7c4e3dSmrg IFS=$as_save_IFS 19392c7c4e3dSmrg test -z "$as_dir" && as_dir=. 19402c7c4e3dSmrg # Account for people who put trailing slashes in PATH elements. 19412c7c4e3dSmrgcase $as_dir/ in 19422c7c4e3dSmrg ./ | .// | /cC/* | \ 19432c7c4e3dSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 19442c7c4e3dSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 19452c7c4e3dSmrg /usr/ucb/* ) ;; 19462c7c4e3dSmrg *) 19472c7c4e3dSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 19482c7c4e3dSmrg # Don't use installbsd from OSF since it installs stuff as root 19492c7c4e3dSmrg # by default. 19502c7c4e3dSmrg for ac_prog in ginstall scoinst install; do 19512c7c4e3dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 19528650bb69Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 19532c7c4e3dSmrg if test $ac_prog = install && 19542c7c4e3dSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 19552c7c4e3dSmrg # AIX install. It has an incompatible calling convention. 19562c7c4e3dSmrg : 19572c7c4e3dSmrg elif test $ac_prog = install && 19582c7c4e3dSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 19592c7c4e3dSmrg # program-specific install script used by HP pwplus--don't use. 19602c7c4e3dSmrg : 19612c7c4e3dSmrg else 19628650bb69Smrg rm -rf conftest.one conftest.two conftest.dir 19638650bb69Smrg echo one > conftest.one 19648650bb69Smrg echo two > conftest.two 19658650bb69Smrg mkdir conftest.dir 19668650bb69Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 19678650bb69Smrg test -s conftest.one && test -s conftest.two && 19688650bb69Smrg test -s conftest.dir/conftest.one && 19698650bb69Smrg test -s conftest.dir/conftest.two 19708650bb69Smrg then 19718650bb69Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 19728650bb69Smrg break 3 19738650bb69Smrg fi 19742c7c4e3dSmrg fi 19752c7c4e3dSmrg fi 19762c7c4e3dSmrg done 19772c7c4e3dSmrg done 19782c7c4e3dSmrg ;; 19792c7c4e3dSmrgesac 19808650bb69Smrg 19812c7c4e3dSmrgdone 19828650bb69SmrgIFS=$as_save_IFS 19832c7c4e3dSmrg 19848650bb69Smrgrm -rf conftest.one conftest.two conftest.dir 19852c7c4e3dSmrg 19862c7c4e3dSmrgfi 19872c7c4e3dSmrg if test "${ac_cv_path_install+set}" = set; then 19882c7c4e3dSmrg INSTALL=$ac_cv_path_install 19892c7c4e3dSmrg else 19908650bb69Smrg # As a last resort, use the slow shell script. Don't cache a 19918650bb69Smrg # value for INSTALL within a source directory, because that will 19922c7c4e3dSmrg # break other packages using the cache if that directory is 19938650bb69Smrg # removed, or if the value is a relative name. 19942c7c4e3dSmrg INSTALL=$ac_install_sh 19952c7c4e3dSmrg fi 19962c7c4e3dSmrgfi 19978650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 19988650bb69Smrg$as_echo "$INSTALL" >&6; } 19992c7c4e3dSmrg 20002c7c4e3dSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 20012c7c4e3dSmrg# It thinks the first close brace ends the variable substitution. 20022c7c4e3dSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 20032c7c4e3dSmrg 20042c7c4e3dSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 20052c7c4e3dSmrg 20062c7c4e3dSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 20072c7c4e3dSmrg 20088650bb69Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 20098650bb69Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 20102c7c4e3dSmrg# Just in case 20112c7c4e3dSmrgsleep 1 20122c7c4e3dSmrgecho timestamp > conftest.file 20138650bb69Smrg# Reject unsafe characters in $srcdir or the absolute working directory 20148650bb69Smrg# name. Accept space and tab only in the latter. 20158650bb69Smrgam_lf=' 20168650bb69Smrg' 20178650bb69Smrgcase `pwd` in 20188650bb69Smrg *[\\\"\#\$\&\'\`$am_lf]*) 20198650bb69Smrg { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 20208650bb69Smrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 20218650bb69Smrg { (exit 1); exit 1; }; };; 20228650bb69Smrgesac 20238650bb69Smrgcase $srcdir in 20248650bb69Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 20258650bb69Smrg { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 20268650bb69Smrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 20278650bb69Smrg { (exit 1); exit 1; }; };; 20288650bb69Smrgesac 20298650bb69Smrg 20302c7c4e3dSmrg# Do `set' in a subshell so we don't clobber the current shell's 20312c7c4e3dSmrg# arguments. Must try -L first in case configure is actually a 20322c7c4e3dSmrg# symlink; some systems play weird games with the mod time of symlinks 20332c7c4e3dSmrg# (eg FreeBSD returns the mod time of the symlink's containing 20342c7c4e3dSmrg# directory). 20352c7c4e3dSmrgif ( 20368650bb69Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 20372c7c4e3dSmrg if test "$*" = "X"; then 20382c7c4e3dSmrg # -L didn't work. 20398650bb69Smrg set X `ls -t "$srcdir/configure" conftest.file` 20402c7c4e3dSmrg fi 20412c7c4e3dSmrg rm -f conftest.file 20422c7c4e3dSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 20432c7c4e3dSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 20442c7c4e3dSmrg 20452c7c4e3dSmrg # If neither matched, then we have a broken ls. This can happen 20462c7c4e3dSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 20472c7c4e3dSmrg # broken ls alias from the environment. This has actually 20482c7c4e3dSmrg # happened. Such a system could not be considered "sane". 20498650bb69Smrg { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 20502c7c4e3dSmrgalias in your environment" >&5 20518650bb69Smrg$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 20522c7c4e3dSmrgalias in your environment" >&2;} 20532c7c4e3dSmrg { (exit 1); exit 1; }; } 20542c7c4e3dSmrg fi 20552c7c4e3dSmrg 20562c7c4e3dSmrg test "$2" = conftest.file 20572c7c4e3dSmrg ) 20582c7c4e3dSmrgthen 20592c7c4e3dSmrg # Ok. 20602c7c4e3dSmrg : 20612c7c4e3dSmrgelse 20628650bb69Smrg { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 20632c7c4e3dSmrgCheck your system clock" >&5 20648650bb69Smrg$as_echo "$as_me: error: newly created file is older than distributed files! 20652c7c4e3dSmrgCheck your system clock" >&2;} 20662c7c4e3dSmrg { (exit 1); exit 1; }; } 20672c7c4e3dSmrgfi 20688650bb69Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 20698650bb69Smrg$as_echo "yes" >&6; } 20702c7c4e3dSmrgtest "$program_prefix" != NONE && 20718650bb69Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 20722c7c4e3dSmrg# Use a double $ so make ignores it. 20732c7c4e3dSmrgtest "$program_suffix" != NONE && 20748650bb69Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 20758650bb69Smrg# Double any \ or $. 20762c7c4e3dSmrg# By default was `s,x,x', remove it if useless. 20778650bb69Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 20788650bb69Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 20792c7c4e3dSmrg 20802c7c4e3dSmrg# expand $ac_aux_dir to an absolute path 20812c7c4e3dSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 20822c7c4e3dSmrg 20838650bb69Smrgif test x"${MISSING+set}" != xset; then 20848650bb69Smrg case $am_aux_dir in 20858650bb69Smrg *\ * | *\ *) 20868650bb69Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 20878650bb69Smrg *) 20888650bb69Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 20898650bb69Smrg esac 20908650bb69Smrgfi 20912c7c4e3dSmrg# Use eval to expand $SHELL 20922c7c4e3dSmrgif eval "$MISSING --run true"; then 20932c7c4e3dSmrg am_missing_run="$MISSING --run " 20942c7c4e3dSmrgelse 20952c7c4e3dSmrg am_missing_run= 20968650bb69Smrg { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 20978650bb69Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 20988650bb69Smrgfi 20998650bb69Smrg 21008650bb69Smrgif test x"${install_sh}" != xset; then 21018650bb69Smrg case $am_aux_dir in 21028650bb69Smrg *\ * | *\ *) 21038650bb69Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 21048650bb69Smrg *) 21058650bb69Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 21068650bb69Smrg esac 21078650bb69Smrgfi 21088650bb69Smrg 21098650bb69Smrg# Installed binaries are usually stripped using `strip' when the user 21108650bb69Smrg# run `make install-strip'. However `strip' might not be the right 21118650bb69Smrg# tool to use in cross-compilation environments, therefore Automake 21128650bb69Smrg# will honor the `STRIP' environment variable to overrule this program. 21138650bb69Smrgif test "$cross_compiling" != no; then 21148650bb69Smrg if test -n "$ac_tool_prefix"; then 21158650bb69Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 21168650bb69Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 21178650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 21188650bb69Smrg$as_echo_n "checking for $ac_word... " >&6; } 21198650bb69Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 21208650bb69Smrg $as_echo_n "(cached) " >&6 21218650bb69Smrgelse 21228650bb69Smrg if test -n "$STRIP"; then 21238650bb69Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 21248650bb69Smrgelse 21258650bb69Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21268650bb69Smrgfor as_dir in $PATH 21278650bb69Smrgdo 21288650bb69Smrg IFS=$as_save_IFS 21298650bb69Smrg test -z "$as_dir" && as_dir=. 21308650bb69Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21318650bb69Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21328650bb69Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 21338650bb69Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21348650bb69Smrg break 2 21358650bb69Smrg fi 21368650bb69Smrgdone 21378650bb69Smrgdone 21388650bb69SmrgIFS=$as_save_IFS 21398650bb69Smrg 21408650bb69Smrgfi 21418650bb69Smrgfi 21428650bb69SmrgSTRIP=$ac_cv_prog_STRIP 21438650bb69Smrgif test -n "$STRIP"; then 21448650bb69Smrg { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 21458650bb69Smrg$as_echo "$STRIP" >&6; } 21468650bb69Smrgelse 21478650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 21488650bb69Smrg$as_echo "no" >&6; } 21498650bb69Smrgfi 21508650bb69Smrg 21518650bb69Smrg 21528650bb69Smrgfi 21538650bb69Smrgif test -z "$ac_cv_prog_STRIP"; then 21548650bb69Smrg ac_ct_STRIP=$STRIP 21558650bb69Smrg # Extract the first word of "strip", so it can be a program name with args. 21568650bb69Smrgset dummy strip; ac_word=$2 21578650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 21588650bb69Smrg$as_echo_n "checking for $ac_word... " >&6; } 21598650bb69Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 21608650bb69Smrg $as_echo_n "(cached) " >&6 21618650bb69Smrgelse 21628650bb69Smrg if test -n "$ac_ct_STRIP"; then 21638650bb69Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 21648650bb69Smrgelse 21658650bb69Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21668650bb69Smrgfor as_dir in $PATH 21678650bb69Smrgdo 21688650bb69Smrg IFS=$as_save_IFS 21698650bb69Smrg test -z "$as_dir" && as_dir=. 21708650bb69Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21718650bb69Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21728650bb69Smrg ac_cv_prog_ac_ct_STRIP="strip" 21738650bb69Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21748650bb69Smrg break 2 21758650bb69Smrg fi 21768650bb69Smrgdone 21778650bb69Smrgdone 21788650bb69SmrgIFS=$as_save_IFS 21798650bb69Smrg 21808650bb69Smrgfi 21818650bb69Smrgfi 21828650bb69Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 21838650bb69Smrgif test -n "$ac_ct_STRIP"; then 21848650bb69Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 21858650bb69Smrg$as_echo "$ac_ct_STRIP" >&6; } 21868650bb69Smrgelse 21878650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 21888650bb69Smrg$as_echo "no" >&6; } 21898650bb69Smrgfi 21908650bb69Smrg 21918650bb69Smrg if test "x$ac_ct_STRIP" = x; then 21928650bb69Smrg STRIP=":" 21938650bb69Smrg else 21948650bb69Smrg case $cross_compiling:$ac_tool_warned in 21958650bb69Smrgyes:) 21968650bb69Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 21978650bb69Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 21988650bb69Smrgac_tool_warned=yes ;; 21998650bb69Smrgesac 22008650bb69Smrg STRIP=$ac_ct_STRIP 22018650bb69Smrg fi 22028650bb69Smrgelse 22038650bb69Smrg STRIP="$ac_cv_prog_STRIP" 22048650bb69Smrgfi 22058650bb69Smrg 22068650bb69Smrgfi 22078650bb69SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 22088650bb69Smrg 22098650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 22108650bb69Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 22118650bb69Smrgif test -z "$MKDIR_P"; then 22128650bb69Smrg if test "${ac_cv_path_mkdir+set}" = set; then 22138650bb69Smrg $as_echo_n "(cached) " >&6 22148650bb69Smrgelse 22158650bb69Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22168650bb69Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 22178650bb69Smrgdo 22188650bb69Smrg IFS=$as_save_IFS 22198650bb69Smrg test -z "$as_dir" && as_dir=. 22208650bb69Smrg for ac_prog in mkdir gmkdir; do 22218650bb69Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22228650bb69Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 22238650bb69Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 22248650bb69Smrg 'mkdir (GNU coreutils) '* | \ 22258650bb69Smrg 'mkdir (coreutils) '* | \ 22268650bb69Smrg 'mkdir (fileutils) '4.1*) 22278650bb69Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 22288650bb69Smrg break 3;; 22298650bb69Smrg esac 22308650bb69Smrg done 22318650bb69Smrg done 22328650bb69Smrgdone 22338650bb69SmrgIFS=$as_save_IFS 22348650bb69Smrg 22358650bb69Smrgfi 22368650bb69Smrg 22378650bb69Smrg if test "${ac_cv_path_mkdir+set}" = set; then 22388650bb69Smrg MKDIR_P="$ac_cv_path_mkdir -p" 22398650bb69Smrg else 22408650bb69Smrg # As a last resort, use the slow shell script. Don't cache a 22418650bb69Smrg # value for MKDIR_P within a source directory, because that will 22428650bb69Smrg # break other packages using the cache if that directory is 22438650bb69Smrg # removed, or if the value is a relative name. 22448650bb69Smrg test -d ./--version && rmdir ./--version 22458650bb69Smrg MKDIR_P="$ac_install_sh -d" 22468650bb69Smrg fi 22472c7c4e3dSmrgfi 22488650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 22498650bb69Smrg$as_echo "$MKDIR_P" >&6; } 22508650bb69Smrg 22518650bb69Smrgmkdir_p="$MKDIR_P" 22528650bb69Smrgcase $mkdir_p in 22538650bb69Smrg [\\/$]* | ?:[\\/]*) ;; 22548650bb69Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 22558650bb69Smrgesac 22562c7c4e3dSmrg 22572c7c4e3dSmrgfor ac_prog in gawk mawk nawk awk 22582c7c4e3dSmrgdo 22592c7c4e3dSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 22602c7c4e3dSmrgset dummy $ac_prog; ac_word=$2 22618650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 22628650bb69Smrg$as_echo_n "checking for $ac_word... " >&6; } 22632c7c4e3dSmrgif test "${ac_cv_prog_AWK+set}" = set; then 22648650bb69Smrg $as_echo_n "(cached) " >&6 22652c7c4e3dSmrgelse 22662c7c4e3dSmrg if test -n "$AWK"; then 22672c7c4e3dSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 22682c7c4e3dSmrgelse 22692c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22702c7c4e3dSmrgfor as_dir in $PATH 22712c7c4e3dSmrgdo 22722c7c4e3dSmrg IFS=$as_save_IFS 22732c7c4e3dSmrg test -z "$as_dir" && as_dir=. 22742c7c4e3dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 22758650bb69Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22762c7c4e3dSmrg ac_cv_prog_AWK="$ac_prog" 22778650bb69Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 22782c7c4e3dSmrg break 2 22792c7c4e3dSmrg fi 22802c7c4e3dSmrgdone 22812c7c4e3dSmrgdone 22828650bb69SmrgIFS=$as_save_IFS 22832c7c4e3dSmrg 22842c7c4e3dSmrgfi 22852c7c4e3dSmrgfi 22862c7c4e3dSmrgAWK=$ac_cv_prog_AWK 22872c7c4e3dSmrgif test -n "$AWK"; then 22888650bb69Smrg { $as_echo "$as_me:$LINENO: result: $AWK" >&5 22898650bb69Smrg$as_echo "$AWK" >&6; } 22902c7c4e3dSmrgelse 22918650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 22928650bb69Smrg$as_echo "no" >&6; } 22932c7c4e3dSmrgfi 22942c7c4e3dSmrg 22958650bb69Smrg 22962c7c4e3dSmrg test -n "$AWK" && break 22972c7c4e3dSmrgdone 22982c7c4e3dSmrg 22998650bb69Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 23008650bb69Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 23018650bb69Smrgset x ${MAKE-make} 23028650bb69Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 23038650bb69Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 23048650bb69Smrg $as_echo_n "(cached) " >&6 23052c7c4e3dSmrgelse 23062c7c4e3dSmrg cat >conftest.make <<\_ACEOF 23078650bb69SmrgSHELL = /bin/sh 23082c7c4e3dSmrgall: 23098650bb69Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 23102c7c4e3dSmrg_ACEOF 23112c7c4e3dSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 23128650bb69Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 23138650bb69Smrg *@@@%%%=?*=@@@%%%*) 23148650bb69Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 23158650bb69Smrg *) 23168650bb69Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 23178650bb69Smrgesac 23182c7c4e3dSmrgrm -f conftest.make 23192c7c4e3dSmrgfi 23208650bb69Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 23218650bb69Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 23228650bb69Smrg$as_echo "yes" >&6; } 23232c7c4e3dSmrg SET_MAKE= 23242c7c4e3dSmrgelse 23258650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 23268650bb69Smrg$as_echo "no" >&6; } 23272c7c4e3dSmrg SET_MAKE="MAKE=${MAKE-make}" 23282c7c4e3dSmrgfi 23292c7c4e3dSmrg 23302c7c4e3dSmrgrm -rf .tst 2>/dev/null 23312c7c4e3dSmrgmkdir .tst 2>/dev/null 23322c7c4e3dSmrgif test -d .tst; then 23332c7c4e3dSmrg am__leading_dot=. 23342c7c4e3dSmrgelse 23352c7c4e3dSmrg am__leading_dot=_ 23362c7c4e3dSmrgfi 23372c7c4e3dSmrgrmdir .tst 2>/dev/null 23382c7c4e3dSmrg 23398650bb69Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 23408650bb69Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 23418650bb69Smrg # is not polluted with repeated "-I." 23428650bb69Smrg am__isrc=' -I$(srcdir)' 23438650bb69Smrg # test to see if srcdir already configured 23448650bb69Smrg if test -f $srcdir/config.status; then 23458650bb69Smrg { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 23468650bb69Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 23472c7c4e3dSmrg { (exit 1); exit 1; }; } 23488650bb69Smrg fi 23492c7c4e3dSmrgfi 23502c7c4e3dSmrg 23512c7c4e3dSmrg# test whether we have cygpath 23522c7c4e3dSmrgif test -z "$CYGPATH_W"; then 23532c7c4e3dSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 23542c7c4e3dSmrg CYGPATH_W='cygpath -w' 23552c7c4e3dSmrg else 23562c7c4e3dSmrg CYGPATH_W=echo 23572c7c4e3dSmrg fi 23582c7c4e3dSmrgfi 23592c7c4e3dSmrg 23602c7c4e3dSmrg 23612c7c4e3dSmrg# Define the identity of the package. 23622c7c4e3dSmrg PACKAGE='xcmsdb' 23638650bb69Smrg VERSION='1.0.2' 23642c7c4e3dSmrg 23652c7c4e3dSmrg 23662c7c4e3dSmrgcat >>confdefs.h <<_ACEOF 23672c7c4e3dSmrg#define PACKAGE "$PACKAGE" 23682c7c4e3dSmrg_ACEOF 23692c7c4e3dSmrg 23702c7c4e3dSmrg 23712c7c4e3dSmrgcat >>confdefs.h <<_ACEOF 23722c7c4e3dSmrg#define VERSION "$VERSION" 23732c7c4e3dSmrg_ACEOF 23742c7c4e3dSmrg 23752c7c4e3dSmrg# Some tools Automake needs. 23762c7c4e3dSmrg 23772c7c4e3dSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 23782c7c4e3dSmrg 23792c7c4e3dSmrg 23802c7c4e3dSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 23812c7c4e3dSmrg 23822c7c4e3dSmrg 23832c7c4e3dSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 23842c7c4e3dSmrg 23852c7c4e3dSmrg 23862c7c4e3dSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 23872c7c4e3dSmrg 23882c7c4e3dSmrg 23892c7c4e3dSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 23902c7c4e3dSmrg 23918650bb69Smrg# We need awk for the "check" target. The system "awk" is bad on 23928650bb69Smrg# some platforms. 23938650bb69Smrg# Always define AMTAR for backward compatibility. 23942c7c4e3dSmrg 23952c7c4e3dSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 23962c7c4e3dSmrg 23978650bb69Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 23982c7c4e3dSmrg 23992c7c4e3dSmrg 24002c7c4e3dSmrg 24012c7c4e3dSmrg 24022c7c4e3dSmrg 24032c7c4e3dSmrg 24048650bb69Smrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 24058650bb69Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 24068650bb69Smrg # Check whether --enable-maintainer-mode was given. 24072c7c4e3dSmrgif test "${enable_maintainer_mode+set}" = set; then 24088650bb69Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 24092c7c4e3dSmrgelse 24102c7c4e3dSmrg USE_MAINTAINER_MODE=no 24118650bb69Smrgfi 24122c7c4e3dSmrg 24138650bb69Smrg { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 24148650bb69Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 24158650bb69Smrg if test $USE_MAINTAINER_MODE = yes; then 24162c7c4e3dSmrg MAINTAINER_MODE_TRUE= 24172c7c4e3dSmrg MAINTAINER_MODE_FALSE='#' 24182c7c4e3dSmrgelse 24192c7c4e3dSmrg MAINTAINER_MODE_TRUE='#' 24202c7c4e3dSmrg MAINTAINER_MODE_FALSE= 24212c7c4e3dSmrgfi 24222c7c4e3dSmrg 24232c7c4e3dSmrg MAINT=$MAINTAINER_MODE_TRUE 24242c7c4e3dSmrg 24252c7c4e3dSmrg 24262c7c4e3dSmrg 24278650bb69Smrg# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS 24282c7c4e3dSmrg 24292c7c4e3dSmrg 24308650bb69Smrg 24318650bb69Smrg 24328650bb69Smrg 24338650bb69Smrg 24348650bb69Smrg 24358650bb69Smrg 24368650bb69Smrg 24378650bb69Smrg 24388650bb69Smrg 24398650bb69Smrg 24408650bb69Smrgac_config_headers="$ac_config_headers config.h" 24418650bb69Smrg 24428650bb69Smrg 24438650bb69Smrgac_ext=c 24448650bb69Smrgac_cpp='$CPP $CPPFLAGS' 24458650bb69Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24462c7c4e3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24472c7c4e3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 24482c7c4e3dSmrgif test -n "$ac_tool_prefix"; then 24492c7c4e3dSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 24502c7c4e3dSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 24518650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 24528650bb69Smrg$as_echo_n "checking for $ac_word... " >&6; } 24532c7c4e3dSmrgif test "${ac_cv_prog_CC+set}" = set; then 24548650bb69Smrg $as_echo_n "(cached) " >&6 24552c7c4e3dSmrgelse 24562c7c4e3dSmrg if test -n "$CC"; then 24572c7c4e3dSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 24582c7c4e3dSmrgelse 24592c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24602c7c4e3dSmrgfor as_dir in $PATH 24612c7c4e3dSmrgdo 24622c7c4e3dSmrg IFS=$as_save_IFS 24632c7c4e3dSmrg test -z "$as_dir" && as_dir=. 24642c7c4e3dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 24658650bb69Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 24662c7c4e3dSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 24678650bb69Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 24682c7c4e3dSmrg break 2 24692c7c4e3dSmrg fi 24702c7c4e3dSmrgdone 24712c7c4e3dSmrgdone 24728650bb69SmrgIFS=$as_save_IFS 24732c7c4e3dSmrg 24742c7c4e3dSmrgfi 24752c7c4e3dSmrgfi 24762c7c4e3dSmrgCC=$ac_cv_prog_CC 24772c7c4e3dSmrgif test -n "$CC"; then 24788650bb69Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 24798650bb69Smrg$as_echo "$CC" >&6; } 24802c7c4e3dSmrgelse 24818650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 24828650bb69Smrg$as_echo "no" >&6; } 24832c7c4e3dSmrgfi 24842c7c4e3dSmrg 24858650bb69Smrg 24862c7c4e3dSmrgfi 24872c7c4e3dSmrgif test -z "$ac_cv_prog_CC"; then 24882c7c4e3dSmrg ac_ct_CC=$CC 24892c7c4e3dSmrg # Extract the first word of "gcc", so it can be a program name with args. 24902c7c4e3dSmrgset dummy gcc; ac_word=$2 24918650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 24928650bb69Smrg$as_echo_n "checking for $ac_word... " >&6; } 24932c7c4e3dSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 24948650bb69Smrg $as_echo_n "(cached) " >&6 24952c7c4e3dSmrgelse 24962c7c4e3dSmrg if test -n "$ac_ct_CC"; then 24972c7c4e3dSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 24982c7c4e3dSmrgelse 24992c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25002c7c4e3dSmrgfor as_dir in $PATH 25012c7c4e3dSmrgdo 25022c7c4e3dSmrg IFS=$as_save_IFS 25032c7c4e3dSmrg test -z "$as_dir" && as_dir=. 25042c7c4e3dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 25058650bb69Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 25062c7c4e3dSmrg ac_cv_prog_ac_ct_CC="gcc" 25078650bb69Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25082c7c4e3dSmrg break 2 25092c7c4e3dSmrg fi 25102c7c4e3dSmrgdone 25112c7c4e3dSmrgdone 25128650bb69SmrgIFS=$as_save_IFS 25132c7c4e3dSmrg 25142c7c4e3dSmrgfi 25152c7c4e3dSmrgfi 25162c7c4e3dSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 25172c7c4e3dSmrgif test -n "$ac_ct_CC"; then 25188650bb69Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 25198650bb69Smrg$as_echo "$ac_ct_CC" >&6; } 25202c7c4e3dSmrgelse 25218650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 25228650bb69Smrg$as_echo "no" >&6; } 25232c7c4e3dSmrgfi 25242c7c4e3dSmrg 25258650bb69Smrg if test "x$ac_ct_CC" = x; then 25268650bb69Smrg CC="" 25278650bb69Smrg else 25288650bb69Smrg case $cross_compiling:$ac_tool_warned in 25298650bb69Smrgyes:) 25308650bb69Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 25318650bb69Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 25328650bb69Smrgac_tool_warned=yes ;; 25338650bb69Smrgesac 25348650bb69Smrg CC=$ac_ct_CC 25358650bb69Smrg fi 25362c7c4e3dSmrgelse 25372c7c4e3dSmrg CC="$ac_cv_prog_CC" 25382c7c4e3dSmrgfi 25392c7c4e3dSmrg 25402c7c4e3dSmrgif test -z "$CC"; then 25418650bb69Smrg if test -n "$ac_tool_prefix"; then 25428650bb69Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 25432c7c4e3dSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 25448650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 25458650bb69Smrg$as_echo_n "checking for $ac_word... " >&6; } 25462c7c4e3dSmrgif test "${ac_cv_prog_CC+set}" = set; then 25478650bb69Smrg $as_echo_n "(cached) " >&6 25482c7c4e3dSmrgelse 25492c7c4e3dSmrg if test -n "$CC"; then 25502c7c4e3dSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 25512c7c4e3dSmrgelse 25522c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25532c7c4e3dSmrgfor as_dir in $PATH 25542c7c4e3dSmrgdo 25552c7c4e3dSmrg IFS=$as_save_IFS 25562c7c4e3dSmrg test -z "$as_dir" && as_dir=. 25572c7c4e3dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 25588650bb69Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 25592c7c4e3dSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 25608650bb69Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25612c7c4e3dSmrg break 2 25622c7c4e3dSmrg fi 25632c7c4e3dSmrgdone 25642c7c4e3dSmrgdone 25658650bb69SmrgIFS=$as_save_IFS 25662c7c4e3dSmrg 25672c7c4e3dSmrgfi 25682c7c4e3dSmrgfi 25692c7c4e3dSmrgCC=$ac_cv_prog_CC 25702c7c4e3dSmrgif test -n "$CC"; then 25718650bb69Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 25728650bb69Smrg$as_echo "$CC" >&6; } 25732c7c4e3dSmrgelse 25748650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 25758650bb69Smrg$as_echo "no" >&6; } 25762c7c4e3dSmrgfi 25772c7c4e3dSmrg 25782c7c4e3dSmrg 25798650bb69Smrg fi 25802c7c4e3dSmrgfi 25812c7c4e3dSmrgif test -z "$CC"; then 25822c7c4e3dSmrg # Extract the first word of "cc", so it can be a program name with args. 25832c7c4e3dSmrgset dummy cc; ac_word=$2 25848650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 25858650bb69Smrg$as_echo_n "checking for $ac_word... " >&6; } 25862c7c4e3dSmrgif test "${ac_cv_prog_CC+set}" = set; then 25878650bb69Smrg $as_echo_n "(cached) " >&6 25882c7c4e3dSmrgelse 25892c7c4e3dSmrg if test -n "$CC"; then 25902c7c4e3dSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 25912c7c4e3dSmrgelse 25922c7c4e3dSmrg ac_prog_rejected=no 25932c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25942c7c4e3dSmrgfor as_dir in $PATH 25952c7c4e3dSmrgdo 25962c7c4e3dSmrg IFS=$as_save_IFS 25972c7c4e3dSmrg test -z "$as_dir" && as_dir=. 25982c7c4e3dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 25998650bb69Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26002c7c4e3dSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 26012c7c4e3dSmrg ac_prog_rejected=yes 26022c7c4e3dSmrg continue 26032c7c4e3dSmrg fi 26042c7c4e3dSmrg ac_cv_prog_CC="cc" 26058650bb69Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26062c7c4e3dSmrg break 2 26072c7c4e3dSmrg fi 26082c7c4e3dSmrgdone 26092c7c4e3dSmrgdone 26108650bb69SmrgIFS=$as_save_IFS 26112c7c4e3dSmrg 26122c7c4e3dSmrgif test $ac_prog_rejected = yes; then 26132c7c4e3dSmrg # We found a bogon in the path, so make sure we never use it. 26142c7c4e3dSmrg set dummy $ac_cv_prog_CC 26152c7c4e3dSmrg shift 26162c7c4e3dSmrg if test $# != 0; then 26172c7c4e3dSmrg # We chose a different compiler from the bogus one. 26182c7c4e3dSmrg # However, it has the same basename, so the bogon will be chosen 26192c7c4e3dSmrg # first if we set CC to just the basename; use the full file name. 26202c7c4e3dSmrg shift 26212c7c4e3dSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 26222c7c4e3dSmrg fi 26232c7c4e3dSmrgfi 26242c7c4e3dSmrgfi 26252c7c4e3dSmrgfi 26262c7c4e3dSmrgCC=$ac_cv_prog_CC 26272c7c4e3dSmrgif test -n "$CC"; then 26288650bb69Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 26298650bb69Smrg$as_echo "$CC" >&6; } 26302c7c4e3dSmrgelse 26318650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 26328650bb69Smrg$as_echo "no" >&6; } 26332c7c4e3dSmrgfi 26342c7c4e3dSmrg 26358650bb69Smrg 26362c7c4e3dSmrgfi 26372c7c4e3dSmrgif test -z "$CC"; then 26382c7c4e3dSmrg if test -n "$ac_tool_prefix"; then 26398650bb69Smrg for ac_prog in cl.exe 26402c7c4e3dSmrg do 26412c7c4e3dSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 26422c7c4e3dSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 26438650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 26448650bb69Smrg$as_echo_n "checking for $ac_word... " >&6; } 26452c7c4e3dSmrgif test "${ac_cv_prog_CC+set}" = set; then 26468650bb69Smrg $as_echo_n "(cached) " >&6 26472c7c4e3dSmrgelse 26482c7c4e3dSmrg if test -n "$CC"; then 26492c7c4e3dSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 26502c7c4e3dSmrgelse 26512c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26522c7c4e3dSmrgfor as_dir in $PATH 26532c7c4e3dSmrgdo 26542c7c4e3dSmrg IFS=$as_save_IFS 26552c7c4e3dSmrg test -z "$as_dir" && as_dir=. 26562c7c4e3dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 26578650bb69Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26582c7c4e3dSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 26598650bb69Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26602c7c4e3dSmrg break 2 26612c7c4e3dSmrg fi 26622c7c4e3dSmrgdone 26632c7c4e3dSmrgdone 26648650bb69SmrgIFS=$as_save_IFS 26652c7c4e3dSmrg 26662c7c4e3dSmrgfi 26672c7c4e3dSmrgfi 26682c7c4e3dSmrgCC=$ac_cv_prog_CC 26692c7c4e3dSmrgif test -n "$CC"; then 26708650bb69Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 26718650bb69Smrg$as_echo "$CC" >&6; } 26722c7c4e3dSmrgelse 26738650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 26748650bb69Smrg$as_echo "no" >&6; } 26752c7c4e3dSmrgfi 26762c7c4e3dSmrg 26778650bb69Smrg 26782c7c4e3dSmrg test -n "$CC" && break 26792c7c4e3dSmrg done 26802c7c4e3dSmrgfi 26812c7c4e3dSmrgif test -z "$CC"; then 26822c7c4e3dSmrg ac_ct_CC=$CC 26838650bb69Smrg for ac_prog in cl.exe 26842c7c4e3dSmrgdo 26852c7c4e3dSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 26862c7c4e3dSmrgset dummy $ac_prog; ac_word=$2 26878650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 26888650bb69Smrg$as_echo_n "checking for $ac_word... " >&6; } 26892c7c4e3dSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 26908650bb69Smrg $as_echo_n "(cached) " >&6 26912c7c4e3dSmrgelse 26922c7c4e3dSmrg if test -n "$ac_ct_CC"; then 26932c7c4e3dSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 26942c7c4e3dSmrgelse 26952c7c4e3dSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26962c7c4e3dSmrgfor as_dir in $PATH 26972c7c4e3dSmrgdo 26982c7c4e3dSmrg IFS=$as_save_IFS 26992c7c4e3dSmrg test -z "$as_dir" && as_dir=. 27002c7c4e3dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 27018650bb69Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27022c7c4e3dSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 27038650bb69Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 27042c7c4e3dSmrg break 2 27052c7c4e3dSmrg fi 27062c7c4e3dSmrgdone 27072c7c4e3dSmrgdone 27088650bb69SmrgIFS=$as_save_IFS 27092c7c4e3dSmrg 27102c7c4e3dSmrgfi 27112c7c4e3dSmrgfi 27122c7c4e3dSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 27132c7c4e3dSmrgif test -n "$ac_ct_CC"; then 27148650bb69Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 27158650bb69Smrg$as_echo "$ac_ct_CC" >&6; } 27162c7c4e3dSmrgelse 27178650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 27188650bb69Smrg$as_echo "no" >&6; } 27192c7c4e3dSmrgfi 27202c7c4e3dSmrg 27218650bb69Smrg 27222c7c4e3dSmrg test -n "$ac_ct_CC" && break 27232c7c4e3dSmrgdone 27242c7c4e3dSmrg 27258650bb69Smrg if test "x$ac_ct_CC" = x; then 27268650bb69Smrg CC="" 27278650bb69Smrg else 27288650bb69Smrg case $cross_compiling:$ac_tool_warned in 27298650bb69Smrgyes:) 27308650bb69Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 27318650bb69Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 27328650bb69Smrgac_tool_warned=yes ;; 27338650bb69Smrgesac 27348650bb69Smrg CC=$ac_ct_CC 27358650bb69Smrg fi 27362c7c4e3dSmrgfi 27372c7c4e3dSmrg 27382c7c4e3dSmrgfi 27392c7c4e3dSmrg 27402c7c4e3dSmrg 27418650bb69Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 27428650bb69Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27438650bb69Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 27442c7c4e3dSmrgSee \`config.log' for more details." >&5 27458650bb69Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 27462c7c4e3dSmrgSee \`config.log' for more details." >&2;} 27478650bb69Smrg { (exit 1); exit 1; }; }; } 27482c7c4e3dSmrg 27492c7c4e3dSmrg# Provide some information about the compiler. 27508650bb69Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 27518650bb69Smrgset X $ac_compile 27528650bb69Smrgac_compiler=$2 27538650bb69Smrg{ (ac_try="$ac_compiler --version >&5" 27548650bb69Smrgcase "(($ac_try" in 27558650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27568650bb69Smrg *) ac_try_echo=$ac_try;; 27578650bb69Smrgesac 27588650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 27598650bb69Smrg$as_echo "$ac_try_echo") >&5 27608650bb69Smrg (eval "$ac_compiler --version >&5") 2>&5 27612c7c4e3dSmrg ac_status=$? 27628650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27632c7c4e3dSmrg (exit $ac_status); } 27648650bb69Smrg{ (ac_try="$ac_compiler -v >&5" 27658650bb69Smrgcase "(($ac_try" in 27668650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27678650bb69Smrg *) ac_try_echo=$ac_try;; 27688650bb69Smrgesac 27698650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 27708650bb69Smrg$as_echo "$ac_try_echo") >&5 27718650bb69Smrg (eval "$ac_compiler -v >&5") 2>&5 27722c7c4e3dSmrg ac_status=$? 27738650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27742c7c4e3dSmrg (exit $ac_status); } 27758650bb69Smrg{ (ac_try="$ac_compiler -V >&5" 27768650bb69Smrgcase "(($ac_try" in 27778650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27788650bb69Smrg *) ac_try_echo=$ac_try;; 27798650bb69Smrgesac 27808650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 27818650bb69Smrg$as_echo "$ac_try_echo") >&5 27828650bb69Smrg (eval "$ac_compiler -V >&5") 2>&5 27832c7c4e3dSmrg ac_status=$? 27848650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27852c7c4e3dSmrg (exit $ac_status); } 27862c7c4e3dSmrg 27872c7c4e3dSmrgcat >conftest.$ac_ext <<_ACEOF 27882c7c4e3dSmrg/* confdefs.h. */ 27892c7c4e3dSmrg_ACEOF 27902c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext 27912c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF 27922c7c4e3dSmrg/* end confdefs.h. */ 27932c7c4e3dSmrg 27942c7c4e3dSmrgint 27952c7c4e3dSmrgmain () 27962c7c4e3dSmrg{ 27972c7c4e3dSmrg 27982c7c4e3dSmrg ; 27992c7c4e3dSmrg return 0; 28002c7c4e3dSmrg} 28012c7c4e3dSmrg_ACEOF 28022c7c4e3dSmrgac_clean_files_save=$ac_clean_files 28038650bb69Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 28042c7c4e3dSmrg# Try to create an executable without -o first, disregard a.out. 28052c7c4e3dSmrg# It will help us diagnose broken compilers, and finding out an intuition 28062c7c4e3dSmrg# of exeext. 28078650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 28088650bb69Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 28098650bb69Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 28108650bb69Smrg 28118650bb69Smrg# The possible output files: 28128650bb69Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 28138650bb69Smrg 28148650bb69Smrgac_rmfiles= 28158650bb69Smrgfor ac_file in $ac_files 28168650bb69Smrgdo 28178650bb69Smrg case $ac_file in 28188650bb69Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 28198650bb69Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 28208650bb69Smrg esac 28218650bb69Smrgdone 28228650bb69Smrgrm -f $ac_rmfiles 28238650bb69Smrg 28248650bb69Smrgif { (ac_try="$ac_link_default" 28258650bb69Smrgcase "(($ac_try" in 28268650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28278650bb69Smrg *) ac_try_echo=$ac_try;; 28288650bb69Smrgesac 28298650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28308650bb69Smrg$as_echo "$ac_try_echo") >&5 28318650bb69Smrg (eval "$ac_link_default") 2>&5 28322c7c4e3dSmrg ac_status=$? 28338650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28342c7c4e3dSmrg (exit $ac_status); }; then 28358650bb69Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 28368650bb69Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 28378650bb69Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 28388650bb69Smrg# so that the user can short-circuit this test for compilers unknown to 28398650bb69Smrg# Autoconf. 28408650bb69Smrgfor ac_file in $ac_files '' 28412c7c4e3dSmrgdo 28422c7c4e3dSmrg test -f "$ac_file" || continue 28432c7c4e3dSmrg case $ac_file in 28448650bb69Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 28452c7c4e3dSmrg ;; 28462c7c4e3dSmrg [ab].out ) 28472c7c4e3dSmrg # We found the default executable, but exeext='' is most 28482c7c4e3dSmrg # certainly right. 28492c7c4e3dSmrg break;; 28502c7c4e3dSmrg *.* ) 28518650bb69Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 28528650bb69Smrg then :; else 28538650bb69Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 28548650bb69Smrg fi 28558650bb69Smrg # We set ac_cv_exeext here because the later test for it is not 28568650bb69Smrg # safe: cross compilers may not add the suffix if given an `-o' 28578650bb69Smrg # argument, so we may need to know it at that point already. 28588650bb69Smrg # Even if this section looks crufty: it has the advantage of 28598650bb69Smrg # actually working. 28602c7c4e3dSmrg break;; 28612c7c4e3dSmrg * ) 28622c7c4e3dSmrg break;; 28632c7c4e3dSmrg esac 28642c7c4e3dSmrgdone 28658650bb69Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 28668650bb69Smrg 28672c7c4e3dSmrgelse 28688650bb69Smrg ac_file='' 28698650bb69Smrgfi 28708650bb69Smrg 28718650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 28728650bb69Smrg$as_echo "$ac_file" >&6; } 28738650bb69Smrgif test -z "$ac_file"; then 28748650bb69Smrg $as_echo "$as_me: failed program was:" >&5 28752c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5 28762c7c4e3dSmrg 28778650bb69Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 28788650bb69Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28798650bb69Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 28802c7c4e3dSmrgSee \`config.log' for more details." >&5 28818650bb69Smrg$as_echo "$as_me: error: C compiler cannot create executables 28822c7c4e3dSmrgSee \`config.log' for more details." >&2;} 28838650bb69Smrg { (exit 77); exit 77; }; }; } 28842c7c4e3dSmrgfi 28852c7c4e3dSmrg 28862c7c4e3dSmrgac_exeext=$ac_cv_exeext 28872c7c4e3dSmrg 28888650bb69Smrg# Check that the compiler produces executables we can run. If not, either 28892c7c4e3dSmrg# the compiler is broken, or we cross compile. 28908650bb69Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 28918650bb69Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 28922c7c4e3dSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 28932c7c4e3dSmrg# If not cross compiling, check that we can run a simple program. 28942c7c4e3dSmrgif test "$cross_compiling" != yes; then 28952c7c4e3dSmrg if { ac_try='./$ac_file' 28968650bb69Smrg { (case "(($ac_try" in 28978650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28988650bb69Smrg *) ac_try_echo=$ac_try;; 28998650bb69Smrgesac 29008650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 29018650bb69Smrg$as_echo "$ac_try_echo") >&5 29028650bb69Smrg (eval "$ac_try") 2>&5 29032c7c4e3dSmrg ac_status=$? 29048650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29052c7c4e3dSmrg (exit $ac_status); }; }; then 29062c7c4e3dSmrg cross_compiling=no 29072c7c4e3dSmrg else 29082c7c4e3dSmrg if test "$cross_compiling" = maybe; then 29092c7c4e3dSmrg cross_compiling=yes 29102c7c4e3dSmrg else 29118650bb69Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 29128650bb69Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29138650bb69Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 29142c7c4e3dSmrgIf you meant to cross compile, use \`--host'. 29152c7c4e3dSmrgSee \`config.log' for more details." >&5 29168650bb69Smrg$as_echo "$as_me: error: cannot run C compiled programs. 29172c7c4e3dSmrgIf you meant to cross compile, use \`--host'. 29182c7c4e3dSmrgSee \`config.log' for more details." >&2;} 29198650bb69Smrg { (exit 1); exit 1; }; }; } 29202c7c4e3dSmrg fi 29212c7c4e3dSmrg fi 29222c7c4e3dSmrgfi 29238650bb69Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 29248650bb69Smrg$as_echo "yes" >&6; } 29252c7c4e3dSmrg 29268650bb69Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 29272c7c4e3dSmrgac_clean_files=$ac_clean_files_save 29288650bb69Smrg# Check that the compiler produces executables we can run. If not, either 29292c7c4e3dSmrg# the compiler is broken, or we cross compile. 29308650bb69Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 29318650bb69Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 29328650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 29338650bb69Smrg$as_echo "$cross_compiling" >&6; } 29348650bb69Smrg 29358650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 29368650bb69Smrg$as_echo_n "checking for suffix of executables... " >&6; } 29378650bb69Smrgif { (ac_try="$ac_link" 29388650bb69Smrgcase "(($ac_try" in 29398650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29408650bb69Smrg *) ac_try_echo=$ac_try;; 29418650bb69Smrgesac 29428650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 29438650bb69Smrg$as_echo "$ac_try_echo") >&5 29448650bb69Smrg (eval "$ac_link") 2>&5 29452c7c4e3dSmrg ac_status=$? 29468650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29472c7c4e3dSmrg (exit $ac_status); }; then 29482c7c4e3dSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 29492c7c4e3dSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 29502c7c4e3dSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 29512c7c4e3dSmrg# `rm'. 29522c7c4e3dSmrgfor ac_file in conftest.exe conftest conftest.*; do 29532c7c4e3dSmrg test -f "$ac_file" || continue 29542c7c4e3dSmrg case $ac_file in 29558650bb69Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 29562c7c4e3dSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 29572c7c4e3dSmrg break;; 29582c7c4e3dSmrg * ) break;; 29592c7c4e3dSmrg esac 29602c7c4e3dSmrgdone 29612c7c4e3dSmrgelse 29628650bb69Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 29638650bb69Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29648650bb69Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 29652c7c4e3dSmrgSee \`config.log' for more details." >&5 29668650bb69Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 29672c7c4e3dSmrgSee \`config.log' for more details." >&2;} 29688650bb69Smrg { (exit 1); exit 1; }; }; } 29692c7c4e3dSmrgfi 29702c7c4e3dSmrg 29712c7c4e3dSmrgrm -f conftest$ac_cv_exeext 29728650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 29738650bb69Smrg$as_echo "$ac_cv_exeext" >&6; } 29742c7c4e3dSmrg 29752c7c4e3dSmrgrm -f conftest.$ac_ext 29762c7c4e3dSmrgEXEEXT=$ac_cv_exeext 29772c7c4e3dSmrgac_exeext=$EXEEXT 29788650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 29798650bb69Smrg$as_echo_n "checking for suffix of object files... " >&6; } 29802c7c4e3dSmrgif test "${ac_cv_objext+set}" = set; then 29818650bb69Smrg $as_echo_n "(cached) " >&6 29822c7c4e3dSmrgelse 29832c7c4e3dSmrg cat >conftest.$ac_ext <<_ACEOF 29842c7c4e3dSmrg/* confdefs.h. */ 29852c7c4e3dSmrg_ACEOF 29862c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext 29872c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF 29882c7c4e3dSmrg/* end confdefs.h. */ 29892c7c4e3dSmrg 29902c7c4e3dSmrgint 29912c7c4e3dSmrgmain () 29922c7c4e3dSmrg{ 29932c7c4e3dSmrg 29942c7c4e3dSmrg ; 29952c7c4e3dSmrg return 0; 29962c7c4e3dSmrg} 29972c7c4e3dSmrg_ACEOF 29982c7c4e3dSmrgrm -f conftest.o conftest.obj 29998650bb69Smrgif { (ac_try="$ac_compile" 30008650bb69Smrgcase "(($ac_try" in 30018650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30028650bb69Smrg *) ac_try_echo=$ac_try;; 30038650bb69Smrgesac 30048650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 30058650bb69Smrg$as_echo "$ac_try_echo") >&5 30068650bb69Smrg (eval "$ac_compile") 2>&5 30072c7c4e3dSmrg ac_status=$? 30088650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 30092c7c4e3dSmrg (exit $ac_status); }; then 30108650bb69Smrg for ac_file in conftest.o conftest.obj conftest.*; do 30118650bb69Smrg test -f "$ac_file" || continue; 30122c7c4e3dSmrg case $ac_file in 30138650bb69Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 30142c7c4e3dSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 30152c7c4e3dSmrg break;; 30162c7c4e3dSmrg esac 30172c7c4e3dSmrgdone 30182c7c4e3dSmrgelse 30198650bb69Smrg $as_echo "$as_me: failed program was:" >&5 30202c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5 30212c7c4e3dSmrg 30228650bb69Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 30238650bb69Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30248650bb69Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 30252c7c4e3dSmrgSee \`config.log' for more details." >&5 30268650bb69Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 30272c7c4e3dSmrgSee \`config.log' for more details." >&2;} 30288650bb69Smrg { (exit 1); exit 1; }; }; } 30292c7c4e3dSmrgfi 30302c7c4e3dSmrg 30312c7c4e3dSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 30322c7c4e3dSmrgfi 30338650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 30348650bb69Smrg$as_echo "$ac_cv_objext" >&6; } 30352c7c4e3dSmrgOBJEXT=$ac_cv_objext 30362c7c4e3dSmrgac_objext=$OBJEXT 30378650bb69Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 30388650bb69Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 30392c7c4e3dSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 30408650bb69Smrg $as_echo_n "(cached) " >&6 30412c7c4e3dSmrgelse 30422c7c4e3dSmrg cat >conftest.$ac_ext <<_ACEOF 30432c7c4e3dSmrg/* confdefs.h. */ 30442c7c4e3dSmrg_ACEOF 30452c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext 30462c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF 30472c7c4e3dSmrg/* end confdefs.h. */ 30482c7c4e3dSmrg 30492c7c4e3dSmrgint 30502c7c4e3dSmrgmain () 30512c7c4e3dSmrg{ 30522c7c4e3dSmrg#ifndef __GNUC__ 30532c7c4e3dSmrg choke me 30542c7c4e3dSmrg#endif 30552c7c4e3dSmrg 30562c7c4e3dSmrg ; 30572c7c4e3dSmrg return 0; 30582c7c4e3dSmrg} 30592c7c4e3dSmrg_ACEOF 30602c7c4e3dSmrgrm -f conftest.$ac_objext 30618650bb69Smrgif { (ac_try="$ac_compile" 30628650bb69Smrgcase "(($ac_try" in 30638650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30648650bb69Smrg *) ac_try_echo=$ac_try;; 30658650bb69Smrgesac 30668650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 30678650bb69Smrg$as_echo "$ac_try_echo") >&5 30688650bb69Smrg (eval "$ac_compile") 2>conftest.er1 30692c7c4e3dSmrg ac_status=$? 30702c7c4e3dSmrg grep -v '^ *+' conftest.er1 >conftest.err 30712c7c4e3dSmrg rm -f conftest.er1 30722c7c4e3dSmrg cat conftest.err >&5 30738650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 30748650bb69Smrg (exit $ac_status); } && { 30758650bb69Smrg test -z "$ac_c_werror_flag" || 30768650bb69Smrg test ! -s conftest.err 30778650bb69Smrg } && test -s conftest.$ac_objext; then 30782c7c4e3dSmrg ac_compiler_gnu=yes 30792c7c4e3dSmrgelse 30808650bb69Smrg $as_echo "$as_me: failed program was:" >&5 30812c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5 30822c7c4e3dSmrg 30838650bb69Smrg ac_compiler_gnu=no 30842c7c4e3dSmrgfi 30858650bb69Smrg 30868650bb69Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 30872c7c4e3dSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 30882c7c4e3dSmrg 30892c7c4e3dSmrgfi 30908650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 30918650bb69Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 30928650bb69Smrgif test $ac_compiler_gnu = yes; then 30938650bb69Smrg GCC=yes 30948650bb69Smrgelse 30958650bb69Smrg GCC= 30968650bb69Smrgfi 30972c7c4e3dSmrgac_test_CFLAGS=${CFLAGS+set} 30982c7c4e3dSmrgac_save_CFLAGS=$CFLAGS 30998650bb69Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 31008650bb69Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 31012c7c4e3dSmrgif test "${ac_cv_prog_cc_g+set}" = set; then 31028650bb69Smrg $as_echo_n "(cached) " >&6 31032c7c4e3dSmrgelse 31048650bb69Smrg ac_save_c_werror_flag=$ac_c_werror_flag 31058650bb69Smrg ac_c_werror_flag=yes 31068650bb69Smrg ac_cv_prog_cc_g=no 31078650bb69Smrg CFLAGS="-g" 31088650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 31092c7c4e3dSmrg/* confdefs.h. */ 31102c7c4e3dSmrg_ACEOF 31112c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext 31122c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF 31132c7c4e3dSmrg/* end confdefs.h. */ 31142c7c4e3dSmrg 31152c7c4e3dSmrgint 31162c7c4e3dSmrgmain () 31172c7c4e3dSmrg{ 31182c7c4e3dSmrg 31192c7c4e3dSmrg ; 31202c7c4e3dSmrg return 0; 31212c7c4e3dSmrg} 31222c7c4e3dSmrg_ACEOF 31232c7c4e3dSmrgrm -f conftest.$ac_objext 31248650bb69Smrgif { (ac_try="$ac_compile" 31258650bb69Smrgcase "(($ac_try" in 31268650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31278650bb69Smrg *) ac_try_echo=$ac_try;; 31288650bb69Smrgesac 31298650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 31308650bb69Smrg$as_echo "$ac_try_echo") >&5 31318650bb69Smrg (eval "$ac_compile") 2>conftest.er1 31322c7c4e3dSmrg ac_status=$? 31332c7c4e3dSmrg grep -v '^ *+' conftest.er1 >conftest.err 31342c7c4e3dSmrg rm -f conftest.er1 31352c7c4e3dSmrg cat conftest.err >&5 31368650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 31378650bb69Smrg (exit $ac_status); } && { 31388650bb69Smrg test -z "$ac_c_werror_flag" || 31398650bb69Smrg test ! -s conftest.err 31408650bb69Smrg } && test -s conftest.$ac_objext; then 31418650bb69Smrg ac_cv_prog_cc_g=yes 31428650bb69Smrgelse 31438650bb69Smrg $as_echo "$as_me: failed program was:" >&5 31448650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 31458650bb69Smrg 31468650bb69Smrg CFLAGS="" 31478650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 31488650bb69Smrg/* confdefs.h. */ 31498650bb69Smrg_ACEOF 31508650bb69Smrgcat confdefs.h >>conftest.$ac_ext 31518650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 31528650bb69Smrg/* end confdefs.h. */ 31538650bb69Smrg 31548650bb69Smrgint 31558650bb69Smrgmain () 31568650bb69Smrg{ 31578650bb69Smrg 31588650bb69Smrg ; 31598650bb69Smrg return 0; 31608650bb69Smrg} 31618650bb69Smrg_ACEOF 31628650bb69Smrgrm -f conftest.$ac_objext 31638650bb69Smrgif { (ac_try="$ac_compile" 31648650bb69Smrgcase "(($ac_try" in 31658650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31668650bb69Smrg *) ac_try_echo=$ac_try;; 31678650bb69Smrgesac 31688650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 31698650bb69Smrg$as_echo "$ac_try_echo") >&5 31708650bb69Smrg (eval "$ac_compile") 2>conftest.er1 31712c7c4e3dSmrg ac_status=$? 31728650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 31738650bb69Smrg rm -f conftest.er1 31748650bb69Smrg cat conftest.err >&5 31758650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 31768650bb69Smrg (exit $ac_status); } && { 31778650bb69Smrg test -z "$ac_c_werror_flag" || 31788650bb69Smrg test ! -s conftest.err 31798650bb69Smrg } && test -s conftest.$ac_objext; then 31808650bb69Smrg : 31818650bb69Smrgelse 31828650bb69Smrg $as_echo "$as_me: failed program was:" >&5 31838650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 31848650bb69Smrg 31858650bb69Smrg ac_c_werror_flag=$ac_save_c_werror_flag 31868650bb69Smrg CFLAGS="-g" 31878650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 31888650bb69Smrg/* confdefs.h. */ 31898650bb69Smrg_ACEOF 31908650bb69Smrgcat confdefs.h >>conftest.$ac_ext 31918650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 31928650bb69Smrg/* end confdefs.h. */ 31938650bb69Smrg 31948650bb69Smrgint 31958650bb69Smrgmain () 31968650bb69Smrg{ 31978650bb69Smrg 31988650bb69Smrg ; 31998650bb69Smrg return 0; 32008650bb69Smrg} 32018650bb69Smrg_ACEOF 32028650bb69Smrgrm -f conftest.$ac_objext 32038650bb69Smrgif { (ac_try="$ac_compile" 32048650bb69Smrgcase "(($ac_try" in 32058650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32068650bb69Smrg *) ac_try_echo=$ac_try;; 32078650bb69Smrgesac 32088650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 32098650bb69Smrg$as_echo "$ac_try_echo") >&5 32108650bb69Smrg (eval "$ac_compile") 2>conftest.er1 32112c7c4e3dSmrg ac_status=$? 32128650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 32138650bb69Smrg rm -f conftest.er1 32148650bb69Smrg cat conftest.err >&5 32158650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 32168650bb69Smrg (exit $ac_status); } && { 32178650bb69Smrg test -z "$ac_c_werror_flag" || 32188650bb69Smrg test ! -s conftest.err 32198650bb69Smrg } && test -s conftest.$ac_objext; then 32202c7c4e3dSmrg ac_cv_prog_cc_g=yes 32212c7c4e3dSmrgelse 32228650bb69Smrg $as_echo "$as_me: failed program was:" >&5 32232c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5 32242c7c4e3dSmrg 32258650bb69Smrg 32268650bb69Smrgfi 32278650bb69Smrg 32288650bb69Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32292c7c4e3dSmrgfi 32308650bb69Smrg 32318650bb69Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32328650bb69Smrgfi 32338650bb69Smrg 32348650bb69Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32358650bb69Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32362c7c4e3dSmrgfi 32378650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 32388650bb69Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 32392c7c4e3dSmrgif test "$ac_test_CFLAGS" = set; then 32402c7c4e3dSmrg CFLAGS=$ac_save_CFLAGS 32412c7c4e3dSmrgelif test $ac_cv_prog_cc_g = yes; then 32422c7c4e3dSmrg if test "$GCC" = yes; then 32432c7c4e3dSmrg CFLAGS="-g -O2" 32442c7c4e3dSmrg else 32452c7c4e3dSmrg CFLAGS="-g" 32462c7c4e3dSmrg fi 32472c7c4e3dSmrgelse 32482c7c4e3dSmrg if test "$GCC" = yes; then 32492c7c4e3dSmrg CFLAGS="-O2" 32502c7c4e3dSmrg else 32512c7c4e3dSmrg CFLAGS= 32522c7c4e3dSmrg fi 32532c7c4e3dSmrgfi 32548650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 32558650bb69Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 32568650bb69Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then 32578650bb69Smrg $as_echo_n "(cached) " >&6 32582c7c4e3dSmrgelse 32598650bb69Smrg ac_cv_prog_cc_c89=no 32602c7c4e3dSmrgac_save_CC=$CC 32612c7c4e3dSmrgcat >conftest.$ac_ext <<_ACEOF 32622c7c4e3dSmrg/* confdefs.h. */ 32632c7c4e3dSmrg_ACEOF 32642c7c4e3dSmrgcat confdefs.h >>conftest.$ac_ext 32652c7c4e3dSmrgcat >>conftest.$ac_ext <<_ACEOF 32662c7c4e3dSmrg/* end confdefs.h. */ 32672c7c4e3dSmrg#include <stdarg.h> 32682c7c4e3dSmrg#include <stdio.h> 32692c7c4e3dSmrg#include <sys/types.h> 32702c7c4e3dSmrg#include <sys/stat.h> 32712c7c4e3dSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 32722c7c4e3dSmrgstruct buf { int x; }; 32732c7c4e3dSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 32742c7c4e3dSmrgstatic char *e (p, i) 32752c7c4e3dSmrg char **p; 32762c7c4e3dSmrg int i; 32772c7c4e3dSmrg{ 32782c7c4e3dSmrg return p[i]; 32792c7c4e3dSmrg} 32802c7c4e3dSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 32812c7c4e3dSmrg{ 32822c7c4e3dSmrg char *s; 32832c7c4e3dSmrg va_list v; 32842c7c4e3dSmrg va_start (v,p); 32852c7c4e3dSmrg s = g (p, va_arg (v,int)); 32862c7c4e3dSmrg va_end (v); 32872c7c4e3dSmrg return s; 32882c7c4e3dSmrg} 32892c7c4e3dSmrg 32902c7c4e3dSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 32912c7c4e3dSmrg function prototypes and stuff, but not '\xHH' hex character constants. 32922c7c4e3dSmrg These don't provoke an error unfortunately, instead are silently treated 32938650bb69Smrg as 'x'. The following induces an error, until -std is added to get 32942c7c4e3dSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 32952c7c4e3dSmrg array size at least. It's necessary to write '\x00'==0 to get something 32968650bb69Smrg that's true only with -std. */ 32972c7c4e3dSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 32982c7c4e3dSmrg 32998650bb69Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 33008650bb69Smrg inside strings and character constants. */ 33018650bb69Smrg#define FOO(x) 'x' 33028650bb69Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 33038650bb69Smrg 33042c7c4e3dSmrgint test (int i, double x); 33052c7c4e3dSmrgstruct s1 {int (*f) (int a);}; 33062c7c4e3dSmrgstruct s2 {int (*f) (double a);}; 33072c7c4e3dSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 33082c7c4e3dSmrgint argc; 33092c7c4e3dSmrgchar **argv; 33102c7c4e3dSmrgint 33112c7c4e3dSmrgmain () 33122c7c4e3dSmrg{ 33132c7c4e3dSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 33142c7c4e3dSmrg ; 33152c7c4e3dSmrg return 0; 33162c7c4e3dSmrg} 33172c7c4e3dSmrg_ACEOF 33188650bb69Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 33198650bb69Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 33202c7c4e3dSmrgdo 33212c7c4e3dSmrg CC="$ac_save_CC $ac_arg" 33222c7c4e3dSmrg rm -f conftest.$ac_objext 33238650bb69Smrgif { (ac_try="$ac_compile" 33248650bb69Smrgcase "(($ac_try" in 33258650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 33268650bb69Smrg *) ac_try_echo=$ac_try;; 33278650bb69Smrgesac 33288650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 33298650bb69Smrg$as_echo "$ac_try_echo") >&5 33308650bb69Smrg (eval "$ac_compile") 2>conftest.er1 33312c7c4e3dSmrg ac_status=$? 33322c7c4e3dSmrg grep -v '^ *+' conftest.er1 >conftest.err 33332c7c4e3dSmrg rm -f conftest.er1 33342c7c4e3dSmrg cat conftest.err >&5 33358650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 33368650bb69Smrg (exit $ac_status); } && { 33378650bb69Smrg test -z "$ac_c_werror_flag" || 33388650bb69Smrg test ! -s conftest.err 33398650bb69Smrg } && test -s conftest.$ac_objext; then 33408650bb69Smrg ac_cv_prog_cc_c89=$ac_arg 33412c7c4e3dSmrgelse 33428650bb69Smrg $as_echo "$as_me: failed program was:" >&5 33432c7c4e3dSmrgsed 's/^/| /' conftest.$ac_ext >&5 33442c7c4e3dSmrg 33458650bb69Smrg 33462c7c4e3dSmrgfi 33478650bb69Smrg 33488650bb69Smrgrm -f core conftest.err conftest.$ac_objext 33498650bb69Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 33502c7c4e3dSmrgdone 33518650bb69Smrgrm -f conftest.$ac_ext 33522c7c4e3dSmrgCC=$ac_save_CC 33532c7c4e3dSmrg 33542c7c4e3dSmrgfi 33558650bb69Smrg# AC_CACHE_VAL 33568650bb69Smrgcase "x$ac_cv_prog_cc_c89" in 33578650bb69Smrg x) 33588650bb69Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 33598650bb69Smrg$as_echo "none needed" >&6; } ;; 33608650bb69Smrg xno) 33618650bb69Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 33628650bb69Smrg$as_echo "unsupported" >&6; } ;; 33632c7c4e3dSmrg *) 33648650bb69Smrg CC="$CC $ac_cv_prog_cc_c89" 33658650bb69Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 33668650bb69Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 33672c7c4e3dSmrgesac 33682c7c4e3dSmrg 33692c7c4e3dSmrg 33702c7c4e3dSmrgac_ext=c 33712c7c4e3dSmrgac_cpp='$CPP $CPPFLAGS' 33722c7c4e3dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 33732c7c4e3dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 33742c7c4e3dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 33752c7c4e3dSmrgDEPDIR="${am__leading_dot}deps" 33762c7c4e3dSmrg 33778650bb69Smrgac_config_commands="$ac_config_commands depfiles" 33782c7c4e3dSmrg 33792c7c4e3dSmrg 33802c7c4e3dSmrgam_make=${MAKE-make} 33812c7c4e3dSmrgcat > confinc << 'END' 33822c7c4e3dSmrgam__doit: 33838650bb69Smrg @echo this is the am__doit target 33842c7c4e3dSmrg.PHONY: am__doit 33852c7c4e3dSmrgEND 33862c7c4e3dSmrg# If we don't find an include directive, just comment out the code. 33878650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 33888650bb69Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 33892c7c4e3dSmrgam__include="#" 33902c7c4e3dSmrgam__quote= 33912c7c4e3dSmrg_am_result=none 33922c7c4e3dSmrg# First try GNU make style include. 33932c7c4e3dSmrgecho "include confinc" > confmf 33948650bb69Smrg# Ignore all kinds of additional output from `make'. 33958650bb69Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 33968650bb69Smrg*the\ am__doit\ target*) 33978650bb69Smrg am__include=include 33988650bb69Smrg am__quote= 33998650bb69Smrg _am_result=GNU 34008650bb69Smrg ;; 34018650bb69Smrgesac 34022c7c4e3dSmrg# Now try BSD make style include. 34032c7c4e3dSmrgif test "$am__include" = "#"; then 34042c7c4e3dSmrg echo '.include "confinc"' > confmf 34058650bb69Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 34068650bb69Smrg *the\ am__doit\ target*) 34078650bb69Smrg am__include=.include 34088650bb69Smrg am__quote="\"" 34098650bb69Smrg _am_result=BSD 34108650bb69Smrg ;; 34118650bb69Smrg esac 34122c7c4e3dSmrgfi 34132c7c4e3dSmrg 34142c7c4e3dSmrg 34158650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 34168650bb69Smrg$as_echo "$_am_result" >&6; } 34172c7c4e3dSmrgrm -f confinc confmf 34182c7c4e3dSmrg 34198650bb69Smrg# Check whether --enable-dependency-tracking was given. 34202c7c4e3dSmrgif test "${enable_dependency_tracking+set}" = set; then 34218650bb69Smrg enableval=$enable_dependency_tracking; 34228650bb69Smrgfi 34232c7c4e3dSmrg 34242c7c4e3dSmrgif test "x$enable_dependency_tracking" != xno; then 34252c7c4e3dSmrg am_depcomp="$ac_aux_dir/depcomp" 34262c7c4e3dSmrg AMDEPBACKSLASH='\' 34272c7c4e3dSmrgfi 34288650bb69Smrg if test "x$enable_dependency_tracking" != xno; then 34292c7c4e3dSmrg AMDEP_TRUE= 34302c7c4e3dSmrg AMDEP_FALSE='#' 34312c7c4e3dSmrgelse 34322c7c4e3dSmrg AMDEP_TRUE='#' 34332c7c4e3dSmrg AMDEP_FALSE= 34342c7c4e3dSmrgfi 34352c7c4e3dSmrg 34362c7c4e3dSmrg 34372c7c4e3dSmrg 34382c7c4e3dSmrgdepcc="$CC" am_compiler_list= 34392c7c4e3dSmrg 34408650bb69Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 34418650bb69Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 34422c7c4e3dSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 34438650bb69Smrg $as_echo_n "(cached) " >&6 34442c7c4e3dSmrgelse 34452c7c4e3dSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34462c7c4e3dSmrg # We make a subdir and do the tests there. Otherwise we can end up 34472c7c4e3dSmrg # making bogus files that we don't know about and never remove. For 34482c7c4e3dSmrg # instance it was reported that on HP-UX the gcc test will end up 34492c7c4e3dSmrg # making a dummy file named `D' -- because `-MD' means `put the output 34502c7c4e3dSmrg # in D'. 34512c7c4e3dSmrg mkdir conftest.dir 34522c7c4e3dSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 34532c7c4e3dSmrg # using a relative directory. 34542c7c4e3dSmrg cp "$am_depcomp" conftest.dir 34552c7c4e3dSmrg cd conftest.dir 34562c7c4e3dSmrg # We will build objects and dependencies in a subdirectory because 34572c7c4e3dSmrg # it helps to detect inapplicable dependency modes. For instance 34582c7c4e3dSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 34592c7c4e3dSmrg # side effect of compilation, but ICC will put the dependencies in 34602c7c4e3dSmrg # the current directory while Tru64 will put them in the object 34612c7c4e3dSmrg # directory. 34622c7c4e3dSmrg mkdir sub 34632c7c4e3dSmrg 34642c7c4e3dSmrg am_cv_CC_dependencies_compiler_type=none 34652c7c4e3dSmrg if test "$am_compiler_list" = ""; then 34662c7c4e3dSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34672c7c4e3dSmrg fi 34688650bb69Smrg am__universal=false 34698650bb69Smrg case " $depcc " in #( 34708650bb69Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34718650bb69Smrg esac 34728650bb69Smrg 34732c7c4e3dSmrg for depmode in $am_compiler_list; do 34742c7c4e3dSmrg # Setup a source with many dependencies, because some compilers 34752c7c4e3dSmrg # like to wrap large dependency lists on column 80 (with \), and 34762c7c4e3dSmrg # we should not choose a depcomp mode which is confused by this. 34772c7c4e3dSmrg # 34782c7c4e3dSmrg # We need to recreate these files for each test, as the compiler may 34792c7c4e3dSmrg # overwrite some of them when testing with obscure command lines. 34802c7c4e3dSmrg # This happens at least with the AIX C compiler. 34812c7c4e3dSmrg : > sub/conftest.c 34822c7c4e3dSmrg for i in 1 2 3 4 5 6; do 34832c7c4e3dSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34848650bb69Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34858650bb69Smrg # Solaris 8's {/usr,}/bin/sh. 34868650bb69Smrg touch sub/conftst$i.h 34872c7c4e3dSmrg done 34882c7c4e3dSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 34892c7c4e3dSmrg 34908650bb69Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 34918650bb69Smrg # mode. It turns out that the SunPro C++ compiler does not properly 34928650bb69Smrg # handle `-M -o', and we need to detect this. Also, some Intel 34938650bb69Smrg # versions had trouble with output in subdirs 34948650bb69Smrg am__obj=sub/conftest.${OBJEXT-o} 34958650bb69Smrg am__minus_obj="-o $am__obj" 34962c7c4e3dSmrg case $depmode in 34978650bb69Smrg gcc) 34988650bb69Smrg # This depmode causes a compiler race in universal mode. 34998650bb69Smrg test "$am__universal" = false || continue 35008650bb69Smrg ;; 35012c7c4e3dSmrg nosideeffect) 35022c7c4e3dSmrg # after this tag, mechanisms are not by side-effect, so they'll 35032c7c4e3dSmrg # only be used when explicitly requested 35042c7c4e3dSmrg if test "x$enable_dependency_tracking" = xyes; then 35052c7c4e3dSmrg continue 35062c7c4e3dSmrg else 35072c7c4e3dSmrg break 35082c7c4e3dSmrg fi 35092c7c4e3dSmrg ;; 35108650bb69Smrg msvisualcpp | msvcmsys) 35118650bb69Smrg # This compiler won't grok `-c -o', but also, the minuso test has 35128650bb69Smrg # not run yet. These depmodes are late enough in the game, and 35138650bb69Smrg # so weak that their functioning should not be impacted. 35148650bb69Smrg am__obj=conftest.${OBJEXT-o} 35158650bb69Smrg am__minus_obj= 35168650bb69Smrg ;; 35172c7c4e3dSmrg none) break ;; 35182c7c4e3dSmrg esac 35192c7c4e3dSmrg if depmode=$depmode \ 35208650bb69Smrg source=sub/conftest.c object=$am__obj \ 35212c7c4e3dSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 35228650bb69Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 35232c7c4e3dSmrg >/dev/null 2>conftest.err && 35248650bb69Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 35252c7c4e3dSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 35268650bb69Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 35272c7c4e3dSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 35282c7c4e3dSmrg # icc doesn't choke on unknown options, it will just issue warnings 35298650bb69Smrg # or remarks (even with -Werror). So we grep stderr for any message 35308650bb69Smrg # that says an option was ignored or not supported. 35318650bb69Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 35328650bb69Smrg # icc: Command line warning: ignoring option '-M'; no argument required 35338650bb69Smrg # The diagnosis changed in icc 8.0: 35348650bb69Smrg # icc: Command line remark: option '-MP' not supported 35358650bb69Smrg if (grep 'ignoring option' conftest.err || 35368650bb69Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35372c7c4e3dSmrg am_cv_CC_dependencies_compiler_type=$depmode 35382c7c4e3dSmrg break 35392c7c4e3dSmrg fi 35402c7c4e3dSmrg fi 35412c7c4e3dSmrg done 35422c7c4e3dSmrg 35432c7c4e3dSmrg cd .. 35442c7c4e3dSmrg rm -rf conftest.dir 35452c7c4e3dSmrgelse 35462c7c4e3dSmrg am_cv_CC_dependencies_compiler_type=none 35472c7c4e3dSmrgfi 35482c7c4e3dSmrg 35492c7c4e3dSmrgfi 35508650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 35518650bb69Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35522c7c4e3dSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35532c7c4e3dSmrg 35548650bb69Smrg if 35552c7c4e3dSmrg test "x$enable_dependency_tracking" != xno \ 35562c7c4e3dSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35572c7c4e3dSmrg am__fastdepCC_TRUE= 35582c7c4e3dSmrg am__fastdepCC_FALSE='#' 35592c7c4e3dSmrgelse 35602c7c4e3dSmrg am__fastdepCC_TRUE='#' 35612c7c4e3dSmrg am__fastdepCC_FALSE= 35622c7c4e3dSmrgfi 35632c7c4e3dSmrg 35642c7c4e3dSmrg 35652c7c4e3dSmrg# Find a good install program. We prefer a C program (faster), 35662c7c4e3dSmrg# so one script is as good as another. But avoid the broken or 35672c7c4e3dSmrg# incompatible versions: 35682c7c4e3dSmrg# SysV /etc/install, /usr/sbin/install 35692c7c4e3dSmrg# SunOS /usr/etc/install 35702c7c4e3dSmrg# IRIX /sbin/install 35712c7c4e3dSmrg# AIX /bin/install 35722c7c4e3dSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 35732c7c4e3dSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 35742c7c4e3dSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 35752c7c4e3dSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 35762c7c4e3dSmrg# OS/2's system install, which has a completely different semantic 35772c7c4e3dSmrg# ./install, which can be erroneously created by make from ./install.sh. 35788650bb69Smrg# Reject install programs that cannot install multiple files. 35798650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 35808650bb69Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 35812c7c4e3dSmrgif test -z "$INSTALL"; then 35822c7c4e3dSmrgif test "${ac_cv_path_install+set}" = set; then 35838650bb69Smrg $as_echo_n "(cached) " >&6 35842c7c4e3dSmrgelse 35852c7c4e3dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 35862c7c4e3dSmrgfor as_dir in $PATH 35872c7c4e3dSmrgdo 35882c7c4e3dSmrg IFS=$as_save_IFS 35892c7c4e3dSmrg test -z "$as_dir" && as_dir=. 35902c7c4e3dSmrg # Account for people who put trailing slashes in PATH elements. 35912c7c4e3dSmrgcase $as_dir/ in 35922c7c4e3dSmrg ./ | .// | /cC/* | \ 35932c7c4e3dSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 35942c7c4e3dSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 35952c7c4e3dSmrg /usr/ucb/* ) ;; 35962c7c4e3dSmrg *) 35972c7c4e3dSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 35982c7c4e3dSmrg # Don't use installbsd from OSF since it installs stuff as root 35992c7c4e3dSmrg # by default. 36002c7c4e3dSmrg for ac_prog in ginstall scoinst install; do 36012c7c4e3dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 36028650bb69Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 36032c7c4e3dSmrg if test $ac_prog = install && 36042c7c4e3dSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 36052c7c4e3dSmrg # AIX install. It has an incompatible calling convention. 36062c7c4e3dSmrg : 36072c7c4e3dSmrg elif test $ac_prog = install && 36082c7c4e3dSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 36092c7c4e3dSmrg # program-specific install script used by HP pwplus--don't use. 36102c7c4e3dSmrg : 36112c7c4e3dSmrg else 36128650bb69Smrg rm -rf conftest.one conftest.two conftest.dir 36138650bb69Smrg echo one > conftest.one 36148650bb69Smrg echo two > conftest.two 36158650bb69Smrg mkdir conftest.dir 36168650bb69Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 36178650bb69Smrg test -s conftest.one && test -s conftest.two && 36188650bb69Smrg test -s conftest.dir/conftest.one && 36198650bb69Smrg test -s conftest.dir/conftest.two 36208650bb69Smrg then 36218650bb69Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 36228650bb69Smrg break 3 36238650bb69Smrg fi 36242c7c4e3dSmrg fi 36252c7c4e3dSmrg fi 36262c7c4e3dSmrg done 36272c7c4e3dSmrg done 36282c7c4e3dSmrg ;; 36292c7c4e3dSmrgesac 36308650bb69Smrg 36312c7c4e3dSmrgdone 36328650bb69SmrgIFS=$as_save_IFS 36332c7c4e3dSmrg 36348650bb69Smrgrm -rf conftest.one conftest.two conftest.dir 36352c7c4e3dSmrg 36362c7c4e3dSmrgfi 36372c7c4e3dSmrg if test "${ac_cv_path_install+set}" = set; then 36382c7c4e3dSmrg INSTALL=$ac_cv_path_install 36392c7c4e3dSmrg else 36408650bb69Smrg # As a last resort, use the slow shell script. Don't cache a 36418650bb69Smrg # value for INSTALL within a source directory, because that will 36422c7c4e3dSmrg # break other packages using the cache if that directory is 36438650bb69Smrg # removed, or if the value is a relative name. 36442c7c4e3dSmrg INSTALL=$ac_install_sh 36452c7c4e3dSmrg fi 36462c7c4e3dSmrgfi 36478650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 36488650bb69Smrg$as_echo "$INSTALL" >&6; } 36492c7c4e3dSmrg 36502c7c4e3dSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 36512c7c4e3dSmrg# It thinks the first close brace ends the variable substitution. 36522c7c4e3dSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 36532c7c4e3dSmrg 36542c7c4e3dSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 36552c7c4e3dSmrg 36562c7c4e3dSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 36572c7c4e3dSmrg 36582c7c4e3dSmrg 36592c7c4e3dSmrg 36608650bb69Smrgac_ext=c 36618650bb69Smrgac_cpp='$CPP $CPPFLAGS' 36628650bb69Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36638650bb69Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36648650bb69Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 36658650bb69Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 36668650bb69Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 36678650bb69Smrg# On Suns, sometimes $CPP names a directory. 36688650bb69Smrgif test -n "$CPP" && test -d "$CPP"; then 36698650bb69Smrg CPP= 36708650bb69Smrgfi 36718650bb69Smrgif test -z "$CPP"; then 36728650bb69Smrg if test "${ac_cv_prog_CPP+set}" = set; then 36738650bb69Smrg $as_echo_n "(cached) " >&6 36748650bb69Smrgelse 36758650bb69Smrg # Double quotes because CPP needs to be expanded 36768650bb69Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 36778650bb69Smrg do 36788650bb69Smrg ac_preproc_ok=false 36798650bb69Smrgfor ac_c_preproc_warn_flag in '' yes 36808650bb69Smrgdo 36818650bb69Smrg # Use a header file that comes with gcc, so configuring glibc 36828650bb69Smrg # with a fresh cross-compiler works. 36838650bb69Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 36848650bb69Smrg # <limits.h> exists even on freestanding compilers. 36858650bb69Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 36868650bb69Smrg # not just through cpp. "Syntax error" is here to catch this case. 36878650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 36888650bb69Smrg/* confdefs.h. */ 36898650bb69Smrg_ACEOF 36908650bb69Smrgcat confdefs.h >>conftest.$ac_ext 36918650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 36928650bb69Smrg/* end confdefs.h. */ 36938650bb69Smrg#ifdef __STDC__ 36948650bb69Smrg# include <limits.h> 36958650bb69Smrg#else 36968650bb69Smrg# include <assert.h> 36978650bb69Smrg#endif 36988650bb69Smrg Syntax error 36998650bb69Smrg_ACEOF 37008650bb69Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 37018650bb69Smrgcase "(($ac_try" in 37028650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 37038650bb69Smrg *) ac_try_echo=$ac_try;; 37048650bb69Smrgesac 37058650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 37068650bb69Smrg$as_echo "$ac_try_echo") >&5 37078650bb69Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 37088650bb69Smrg ac_status=$? 37098650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 37108650bb69Smrg rm -f conftest.er1 37118650bb69Smrg cat conftest.err >&5 37128650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 37138650bb69Smrg (exit $ac_status); } >/dev/null && { 37148650bb69Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 37158650bb69Smrg test ! -s conftest.err 37168650bb69Smrg }; then 37178650bb69Smrg : 37188650bb69Smrgelse 37198650bb69Smrg $as_echo "$as_me: failed program was:" >&5 37208650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 37218650bb69Smrg 37228650bb69Smrg # Broken: fails on valid input. 37238650bb69Smrgcontinue 37248650bb69Smrgfi 37258650bb69Smrg 37268650bb69Smrgrm -f conftest.err conftest.$ac_ext 37278650bb69Smrg 37288650bb69Smrg # OK, works on sane cases. Now check whether nonexistent headers 37298650bb69Smrg # can be detected and how. 37308650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 37318650bb69Smrg/* confdefs.h. */ 37328650bb69Smrg_ACEOF 37338650bb69Smrgcat confdefs.h >>conftest.$ac_ext 37348650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 37358650bb69Smrg/* end confdefs.h. */ 37368650bb69Smrg#include <ac_nonexistent.h> 37378650bb69Smrg_ACEOF 37388650bb69Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 37398650bb69Smrgcase "(($ac_try" in 37408650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 37418650bb69Smrg *) ac_try_echo=$ac_try;; 37428650bb69Smrgesac 37438650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 37448650bb69Smrg$as_echo "$ac_try_echo") >&5 37458650bb69Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 37468650bb69Smrg ac_status=$? 37478650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 37488650bb69Smrg rm -f conftest.er1 37498650bb69Smrg cat conftest.err >&5 37508650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 37518650bb69Smrg (exit $ac_status); } >/dev/null && { 37528650bb69Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 37538650bb69Smrg test ! -s conftest.err 37548650bb69Smrg }; then 37558650bb69Smrg # Broken: success on invalid input. 37568650bb69Smrgcontinue 37578650bb69Smrgelse 37588650bb69Smrg $as_echo "$as_me: failed program was:" >&5 37598650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 37608650bb69Smrg 37618650bb69Smrg # Passes both tests. 37628650bb69Smrgac_preproc_ok=: 37638650bb69Smrgbreak 37648650bb69Smrgfi 37658650bb69Smrg 37668650bb69Smrgrm -f conftest.err conftest.$ac_ext 37678650bb69Smrg 37688650bb69Smrgdone 37698650bb69Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37708650bb69Smrgrm -f conftest.err conftest.$ac_ext 37718650bb69Smrgif $ac_preproc_ok; then 37728650bb69Smrg break 37738650bb69Smrgfi 37748650bb69Smrg 37758650bb69Smrg done 37768650bb69Smrg ac_cv_prog_CPP=$CPP 37778650bb69Smrg 37788650bb69Smrgfi 37798650bb69Smrg CPP=$ac_cv_prog_CPP 37808650bb69Smrgelse 37818650bb69Smrg ac_cv_prog_CPP=$CPP 37828650bb69Smrgfi 37838650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 37848650bb69Smrg$as_echo "$CPP" >&6; } 37858650bb69Smrgac_preproc_ok=false 37868650bb69Smrgfor ac_c_preproc_warn_flag in '' yes 37878650bb69Smrgdo 37888650bb69Smrg # Use a header file that comes with gcc, so configuring glibc 37898650bb69Smrg # with a fresh cross-compiler works. 37908650bb69Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37918650bb69Smrg # <limits.h> exists even on freestanding compilers. 37928650bb69Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 37938650bb69Smrg # not just through cpp. "Syntax error" is here to catch this case. 37948650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 37958650bb69Smrg/* confdefs.h. */ 37968650bb69Smrg_ACEOF 37978650bb69Smrgcat confdefs.h >>conftest.$ac_ext 37988650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 37998650bb69Smrg/* end confdefs.h. */ 38008650bb69Smrg#ifdef __STDC__ 38018650bb69Smrg# include <limits.h> 38028650bb69Smrg#else 38038650bb69Smrg# include <assert.h> 38048650bb69Smrg#endif 38058650bb69Smrg Syntax error 38068650bb69Smrg_ACEOF 38078650bb69Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 38088650bb69Smrgcase "(($ac_try" in 38098650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 38108650bb69Smrg *) ac_try_echo=$ac_try;; 38118650bb69Smrgesac 38128650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 38138650bb69Smrg$as_echo "$ac_try_echo") >&5 38148650bb69Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 38158650bb69Smrg ac_status=$? 38168650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 38178650bb69Smrg rm -f conftest.er1 38188650bb69Smrg cat conftest.err >&5 38198650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 38208650bb69Smrg (exit $ac_status); } >/dev/null && { 38218650bb69Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 38228650bb69Smrg test ! -s conftest.err 38238650bb69Smrg }; then 38248650bb69Smrg : 38258650bb69Smrgelse 38268650bb69Smrg $as_echo "$as_me: failed program was:" >&5 38278650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 38288650bb69Smrg 38298650bb69Smrg # Broken: fails on valid input. 38308650bb69Smrgcontinue 38318650bb69Smrgfi 38328650bb69Smrg 38338650bb69Smrgrm -f conftest.err conftest.$ac_ext 38348650bb69Smrg 38358650bb69Smrg # OK, works on sane cases. Now check whether nonexistent headers 38368650bb69Smrg # can be detected and how. 38378650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 38388650bb69Smrg/* confdefs.h. */ 38398650bb69Smrg_ACEOF 38408650bb69Smrgcat confdefs.h >>conftest.$ac_ext 38418650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 38428650bb69Smrg/* end confdefs.h. */ 38438650bb69Smrg#include <ac_nonexistent.h> 38448650bb69Smrg_ACEOF 38458650bb69Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 38468650bb69Smrgcase "(($ac_try" in 38478650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 38488650bb69Smrg *) ac_try_echo=$ac_try;; 38498650bb69Smrgesac 38508650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 38518650bb69Smrg$as_echo "$ac_try_echo") >&5 38528650bb69Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 38538650bb69Smrg ac_status=$? 38548650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 38558650bb69Smrg rm -f conftest.er1 38568650bb69Smrg cat conftest.err >&5 38578650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 38588650bb69Smrg (exit $ac_status); } >/dev/null && { 38598650bb69Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 38608650bb69Smrg test ! -s conftest.err 38618650bb69Smrg }; then 38628650bb69Smrg # Broken: success on invalid input. 38638650bb69Smrgcontinue 38648650bb69Smrgelse 38658650bb69Smrg $as_echo "$as_me: failed program was:" >&5 38668650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 38678650bb69Smrg 38688650bb69Smrg # Passes both tests. 38698650bb69Smrgac_preproc_ok=: 38708650bb69Smrgbreak 38718650bb69Smrgfi 38728650bb69Smrg 38738650bb69Smrgrm -f conftest.err conftest.$ac_ext 38748650bb69Smrg 38758650bb69Smrgdone 38768650bb69Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 38778650bb69Smrgrm -f conftest.err conftest.$ac_ext 38788650bb69Smrgif $ac_preproc_ok; then 38798650bb69Smrg : 38808650bb69Smrgelse 38818650bb69Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 38828650bb69Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38838650bb69Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 38848650bb69SmrgSee \`config.log' for more details." >&5 38858650bb69Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 38868650bb69SmrgSee \`config.log' for more details." >&2;} 38878650bb69Smrg { (exit 1); exit 1; }; }; } 38888650bb69Smrgfi 38898650bb69Smrg 38908650bb69Smrgac_ext=c 38918650bb69Smrgac_cpp='$CPP $CPPFLAGS' 38928650bb69Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38938650bb69Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38948650bb69Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 38958650bb69Smrg 38968650bb69Smrg 38978650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 38988650bb69Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 38998650bb69Smrgif test "${ac_cv_path_GREP+set}" = set; then 39008650bb69Smrg $as_echo_n "(cached) " >&6 39018650bb69Smrgelse 39028650bb69Smrg if test -z "$GREP"; then 39038650bb69Smrg ac_path_GREP_found=false 39048650bb69Smrg # Loop through the user's path and test for each of PROGNAME-LIST 39058650bb69Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39068650bb69Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39078650bb69Smrgdo 39088650bb69Smrg IFS=$as_save_IFS 39098650bb69Smrg test -z "$as_dir" && as_dir=. 39108650bb69Smrg for ac_prog in grep ggrep; do 39118650bb69Smrg for ac_exec_ext in '' $ac_executable_extensions; do 39128650bb69Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 39138650bb69Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 39148650bb69Smrg# Check for GNU ac_path_GREP and select it if it is found. 39158650bb69Smrg # Check for GNU $ac_path_GREP 39168650bb69Smrgcase `"$ac_path_GREP" --version 2>&1` in 39178650bb69Smrg*GNU*) 39188650bb69Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 39198650bb69Smrg*) 39208650bb69Smrg ac_count=0 39218650bb69Smrg $as_echo_n 0123456789 >"conftest.in" 39228650bb69Smrg while : 39238650bb69Smrg do 39248650bb69Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39258650bb69Smrg mv "conftest.tmp" "conftest.in" 39268650bb69Smrg cp "conftest.in" "conftest.nl" 39278650bb69Smrg $as_echo 'GREP' >> "conftest.nl" 39288650bb69Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39298650bb69Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39308650bb69Smrg ac_count=`expr $ac_count + 1` 39318650bb69Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 39328650bb69Smrg # Best one so far, save it but keep looking for a better one 39338650bb69Smrg ac_cv_path_GREP="$ac_path_GREP" 39348650bb69Smrg ac_path_GREP_max=$ac_count 39358650bb69Smrg fi 39368650bb69Smrg # 10*(2^10) chars as input seems more than enough 39378650bb69Smrg test $ac_count -gt 10 && break 39388650bb69Smrg done 39398650bb69Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39408650bb69Smrgesac 39418650bb69Smrg 39428650bb69Smrg $ac_path_GREP_found && break 3 39438650bb69Smrg done 39448650bb69Smrg done 39458650bb69Smrgdone 39468650bb69SmrgIFS=$as_save_IFS 39478650bb69Smrg if test -z "$ac_cv_path_GREP"; then 39488650bb69Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 39498650bb69Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 39508650bb69Smrg { (exit 1); exit 1; }; } 39518650bb69Smrg fi 39528650bb69Smrgelse 39538650bb69Smrg ac_cv_path_GREP=$GREP 39548650bb69Smrgfi 39558650bb69Smrg 39568650bb69Smrgfi 39578650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 39588650bb69Smrg$as_echo "$ac_cv_path_GREP" >&6; } 39598650bb69Smrg GREP="$ac_cv_path_GREP" 39608650bb69Smrg 39618650bb69Smrg 39628650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 39638650bb69Smrg$as_echo_n "checking for egrep... " >&6; } 39648650bb69Smrgif test "${ac_cv_path_EGREP+set}" = set; then 39658650bb69Smrg $as_echo_n "(cached) " >&6 39668650bb69Smrgelse 39678650bb69Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 39688650bb69Smrg then ac_cv_path_EGREP="$GREP -E" 39698650bb69Smrg else 39708650bb69Smrg if test -z "$EGREP"; then 39718650bb69Smrg ac_path_EGREP_found=false 39728650bb69Smrg # Loop through the user's path and test for each of PROGNAME-LIST 39738650bb69Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 39748650bb69Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 39758650bb69Smrgdo 39768650bb69Smrg IFS=$as_save_IFS 39778650bb69Smrg test -z "$as_dir" && as_dir=. 39788650bb69Smrg for ac_prog in egrep; do 39798650bb69Smrg for ac_exec_ext in '' $ac_executable_extensions; do 39808650bb69Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 39818650bb69Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 39828650bb69Smrg# Check for GNU ac_path_EGREP and select it if it is found. 39838650bb69Smrg # Check for GNU $ac_path_EGREP 39848650bb69Smrgcase `"$ac_path_EGREP" --version 2>&1` in 39858650bb69Smrg*GNU*) 39868650bb69Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 39878650bb69Smrg*) 39888650bb69Smrg ac_count=0 39898650bb69Smrg $as_echo_n 0123456789 >"conftest.in" 39908650bb69Smrg while : 39918650bb69Smrg do 39928650bb69Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39938650bb69Smrg mv "conftest.tmp" "conftest.in" 39948650bb69Smrg cp "conftest.in" "conftest.nl" 39958650bb69Smrg $as_echo 'EGREP' >> "conftest.nl" 39968650bb69Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39978650bb69Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39988650bb69Smrg ac_count=`expr $ac_count + 1` 39998650bb69Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 40008650bb69Smrg # Best one so far, save it but keep looking for a better one 40018650bb69Smrg ac_cv_path_EGREP="$ac_path_EGREP" 40028650bb69Smrg ac_path_EGREP_max=$ac_count 40038650bb69Smrg fi 40048650bb69Smrg # 10*(2^10) chars as input seems more than enough 40058650bb69Smrg test $ac_count -gt 10 && break 40068650bb69Smrg done 40078650bb69Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 40088650bb69Smrgesac 40098650bb69Smrg 40108650bb69Smrg $ac_path_EGREP_found && break 3 40118650bb69Smrg done 40128650bb69Smrg done 40138650bb69Smrgdone 40148650bb69SmrgIFS=$as_save_IFS 40158650bb69Smrg if test -z "$ac_cv_path_EGREP"; then 40168650bb69Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 40178650bb69Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 40188650bb69Smrg { (exit 1); exit 1; }; } 40198650bb69Smrg fi 40208650bb69Smrgelse 40218650bb69Smrg ac_cv_path_EGREP=$EGREP 40228650bb69Smrgfi 40238650bb69Smrg 40248650bb69Smrg fi 40258650bb69Smrgfi 40268650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 40278650bb69Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 40288650bb69Smrg EGREP="$ac_cv_path_EGREP" 40298650bb69Smrg 40308650bb69Smrg 40318650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 40328650bb69Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 40338650bb69Smrgif test "${ac_cv_header_stdc+set}" = set; then 40348650bb69Smrg $as_echo_n "(cached) " >&6 40358650bb69Smrgelse 40368650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 40378650bb69Smrg/* confdefs.h. */ 40388650bb69Smrg_ACEOF 40398650bb69Smrgcat confdefs.h >>conftest.$ac_ext 40408650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 40418650bb69Smrg/* end confdefs.h. */ 40428650bb69Smrg#include <stdlib.h> 40438650bb69Smrg#include <stdarg.h> 40448650bb69Smrg#include <string.h> 40458650bb69Smrg#include <float.h> 40468650bb69Smrg 40478650bb69Smrgint 40488650bb69Smrgmain () 40498650bb69Smrg{ 40508650bb69Smrg 40518650bb69Smrg ; 40528650bb69Smrg return 0; 40538650bb69Smrg} 40548650bb69Smrg_ACEOF 40558650bb69Smrgrm -f conftest.$ac_objext 40568650bb69Smrgif { (ac_try="$ac_compile" 40578650bb69Smrgcase "(($ac_try" in 40588650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 40598650bb69Smrg *) ac_try_echo=$ac_try;; 40608650bb69Smrgesac 40618650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 40628650bb69Smrg$as_echo "$ac_try_echo") >&5 40638650bb69Smrg (eval "$ac_compile") 2>conftest.er1 40648650bb69Smrg ac_status=$? 40658650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 40668650bb69Smrg rm -f conftest.er1 40678650bb69Smrg cat conftest.err >&5 40688650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 40698650bb69Smrg (exit $ac_status); } && { 40708650bb69Smrg test -z "$ac_c_werror_flag" || 40718650bb69Smrg test ! -s conftest.err 40728650bb69Smrg } && test -s conftest.$ac_objext; then 40738650bb69Smrg ac_cv_header_stdc=yes 40748650bb69Smrgelse 40758650bb69Smrg $as_echo "$as_me: failed program was:" >&5 40768650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 40778650bb69Smrg 40788650bb69Smrg ac_cv_header_stdc=no 40798650bb69Smrgfi 40808650bb69Smrg 40818650bb69Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 40828650bb69Smrg 40838650bb69Smrgif test $ac_cv_header_stdc = yes; then 40848650bb69Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 40858650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 40868650bb69Smrg/* confdefs.h. */ 40878650bb69Smrg_ACEOF 40888650bb69Smrgcat confdefs.h >>conftest.$ac_ext 40898650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 40908650bb69Smrg/* end confdefs.h. */ 40918650bb69Smrg#include <string.h> 40928650bb69Smrg 40938650bb69Smrg_ACEOF 40948650bb69Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40958650bb69Smrg $EGREP "memchr" >/dev/null 2>&1; then 40968650bb69Smrg : 40978650bb69Smrgelse 40988650bb69Smrg ac_cv_header_stdc=no 40998650bb69Smrgfi 41008650bb69Smrgrm -f conftest* 41018650bb69Smrg 41028650bb69Smrgfi 41038650bb69Smrg 41048650bb69Smrgif test $ac_cv_header_stdc = yes; then 41058650bb69Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 41068650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 41078650bb69Smrg/* confdefs.h. */ 41088650bb69Smrg_ACEOF 41098650bb69Smrgcat confdefs.h >>conftest.$ac_ext 41108650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 41118650bb69Smrg/* end confdefs.h. */ 41128650bb69Smrg#include <stdlib.h> 41138650bb69Smrg 41148650bb69Smrg_ACEOF 41158650bb69Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 41168650bb69Smrg $EGREP "free" >/dev/null 2>&1; then 41178650bb69Smrg : 41188650bb69Smrgelse 41198650bb69Smrg ac_cv_header_stdc=no 41208650bb69Smrgfi 41218650bb69Smrgrm -f conftest* 41228650bb69Smrg 41238650bb69Smrgfi 41248650bb69Smrg 41258650bb69Smrgif test $ac_cv_header_stdc = yes; then 41268650bb69Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 41278650bb69Smrg if test "$cross_compiling" = yes; then 41288650bb69Smrg : 41298650bb69Smrgelse 41308650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 41318650bb69Smrg/* confdefs.h. */ 41328650bb69Smrg_ACEOF 41338650bb69Smrgcat confdefs.h >>conftest.$ac_ext 41348650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 41358650bb69Smrg/* end confdefs.h. */ 41368650bb69Smrg#include <ctype.h> 41378650bb69Smrg#include <stdlib.h> 41388650bb69Smrg#if ((' ' & 0x0FF) == 0x020) 41398650bb69Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 41408650bb69Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 41418650bb69Smrg#else 41428650bb69Smrg# define ISLOWER(c) \ 41438650bb69Smrg (('a' <= (c) && (c) <= 'i') \ 41448650bb69Smrg || ('j' <= (c) && (c) <= 'r') \ 41458650bb69Smrg || ('s' <= (c) && (c) <= 'z')) 41468650bb69Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 41478650bb69Smrg#endif 41488650bb69Smrg 41498650bb69Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 41508650bb69Smrgint 41518650bb69Smrgmain () 41528650bb69Smrg{ 41538650bb69Smrg int i; 41548650bb69Smrg for (i = 0; i < 256; i++) 41558650bb69Smrg if (XOR (islower (i), ISLOWER (i)) 41568650bb69Smrg || toupper (i) != TOUPPER (i)) 41578650bb69Smrg return 2; 41588650bb69Smrg return 0; 41598650bb69Smrg} 41608650bb69Smrg_ACEOF 41618650bb69Smrgrm -f conftest$ac_exeext 41628650bb69Smrgif { (ac_try="$ac_link" 41638650bb69Smrgcase "(($ac_try" in 41648650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 41658650bb69Smrg *) ac_try_echo=$ac_try;; 41668650bb69Smrgesac 41678650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 41688650bb69Smrg$as_echo "$ac_try_echo") >&5 41698650bb69Smrg (eval "$ac_link") 2>&5 41708650bb69Smrg ac_status=$? 41718650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 41728650bb69Smrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 41738650bb69Smrg { (case "(($ac_try" in 41748650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 41758650bb69Smrg *) ac_try_echo=$ac_try;; 41768650bb69Smrgesac 41778650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 41788650bb69Smrg$as_echo "$ac_try_echo") >&5 41798650bb69Smrg (eval "$ac_try") 2>&5 41808650bb69Smrg ac_status=$? 41818650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 41828650bb69Smrg (exit $ac_status); }; }; then 41838650bb69Smrg : 41848650bb69Smrgelse 41858650bb69Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 41868650bb69Smrg$as_echo "$as_me: failed program was:" >&5 41878650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 41888650bb69Smrg 41898650bb69Smrg( exit $ac_status ) 41908650bb69Smrgac_cv_header_stdc=no 41918650bb69Smrgfi 41928650bb69Smrgrm -rf conftest.dSYM 41938650bb69Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 41948650bb69Smrgfi 41958650bb69Smrg 41968650bb69Smrg 41978650bb69Smrgfi 41988650bb69Smrgfi 41998650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 42008650bb69Smrg$as_echo "$ac_cv_header_stdc" >&6; } 42018650bb69Smrgif test $ac_cv_header_stdc = yes; then 42028650bb69Smrg 42038650bb69Smrgcat >>confdefs.h <<\_ACEOF 42048650bb69Smrg#define STDC_HEADERS 1 42058650bb69Smrg_ACEOF 42068650bb69Smrg 42078650bb69Smrgfi 42088650bb69Smrg 42098650bb69Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 42108650bb69Smrg 42118650bb69Smrg 42128650bb69Smrg 42138650bb69Smrg 42148650bb69Smrg 42158650bb69Smrg 42168650bb69Smrg 42178650bb69Smrg 42188650bb69Smrg 42198650bb69Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 42208650bb69Smrg inttypes.h stdint.h unistd.h 42218650bb69Smrgdo 42228650bb69Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 42238650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 42248650bb69Smrg$as_echo_n "checking for $ac_header... " >&6; } 42258650bb69Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 42268650bb69Smrg $as_echo_n "(cached) " >&6 42278650bb69Smrgelse 42288650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 42298650bb69Smrg/* confdefs.h. */ 42308650bb69Smrg_ACEOF 42318650bb69Smrgcat confdefs.h >>conftest.$ac_ext 42328650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 42338650bb69Smrg/* end confdefs.h. */ 42348650bb69Smrg$ac_includes_default 42358650bb69Smrg 42368650bb69Smrg#include <$ac_header> 42378650bb69Smrg_ACEOF 42388650bb69Smrgrm -f conftest.$ac_objext 42398650bb69Smrgif { (ac_try="$ac_compile" 42408650bb69Smrgcase "(($ac_try" in 42418650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 42428650bb69Smrg *) ac_try_echo=$ac_try;; 42438650bb69Smrgesac 42448650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 42458650bb69Smrg$as_echo "$ac_try_echo") >&5 42468650bb69Smrg (eval "$ac_compile") 2>conftest.er1 42478650bb69Smrg ac_status=$? 42488650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 42498650bb69Smrg rm -f conftest.er1 42508650bb69Smrg cat conftest.err >&5 42518650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 42528650bb69Smrg (exit $ac_status); } && { 42538650bb69Smrg test -z "$ac_c_werror_flag" || 42548650bb69Smrg test ! -s conftest.err 42558650bb69Smrg } && test -s conftest.$ac_objext; then 42568650bb69Smrg eval "$as_ac_Header=yes" 42578650bb69Smrgelse 42588650bb69Smrg $as_echo "$as_me: failed program was:" >&5 42598650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 42608650bb69Smrg 42618650bb69Smrg eval "$as_ac_Header=no" 42628650bb69Smrgfi 42638650bb69Smrg 42648650bb69Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 42658650bb69Smrgfi 42668650bb69Smrgac_res=`eval 'as_val=${'$as_ac_Header'} 42678650bb69Smrg $as_echo "$as_val"'` 42688650bb69Smrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 42698650bb69Smrg$as_echo "$ac_res" >&6; } 42708650bb69Smrgas_val=`eval 'as_val=${'$as_ac_Header'} 42718650bb69Smrg $as_echo "$as_val"'` 42728650bb69Smrg if test "x$as_val" = x""yes; then 42738650bb69Smrg cat >>confdefs.h <<_ACEOF 42748650bb69Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 42758650bb69Smrg_ACEOF 42768650bb69Smrg 42778650bb69Smrgfi 42788650bb69Smrg 42798650bb69Smrgdone 42808650bb69Smrg 42818650bb69Smrg 42828650bb69Smrg { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 42838650bb69Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 42848650bb69Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then 42858650bb69Smrg $as_echo_n "(cached) " >&6 42868650bb69Smrgelse 42878650bb69Smrg ac_cv_prog_cc_c99=no 42888650bb69Smrgac_save_CC=$CC 42898650bb69Smrgcat >conftest.$ac_ext <<_ACEOF 42908650bb69Smrg/* confdefs.h. */ 42918650bb69Smrg_ACEOF 42928650bb69Smrgcat confdefs.h >>conftest.$ac_ext 42938650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 42948650bb69Smrg/* end confdefs.h. */ 42958650bb69Smrg#include <stdarg.h> 42968650bb69Smrg#include <stdbool.h> 42978650bb69Smrg#include <stdlib.h> 42988650bb69Smrg#include <wchar.h> 42998650bb69Smrg#include <stdio.h> 43008650bb69Smrg 43018650bb69Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 43028650bb69Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 43038650bb69Smrg#define showlist(...) puts (#__VA_ARGS__) 43048650bb69Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 43058650bb69Smrgstatic void 43068650bb69Smrgtest_varargs_macros (void) 43078650bb69Smrg{ 43088650bb69Smrg int x = 1234; 43098650bb69Smrg int y = 5678; 43108650bb69Smrg debug ("Flag"); 43118650bb69Smrg debug ("X = %d\n", x); 43128650bb69Smrg showlist (The first, second, and third items.); 43138650bb69Smrg report (x>y, "x is %d but y is %d", x, y); 43148650bb69Smrg} 43158650bb69Smrg 43168650bb69Smrg// Check long long types. 43178650bb69Smrg#define BIG64 18446744073709551615ull 43188650bb69Smrg#define BIG32 4294967295ul 43198650bb69Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 43208650bb69Smrg#if !BIG_OK 43218650bb69Smrg your preprocessor is broken; 43228650bb69Smrg#endif 43238650bb69Smrg#if BIG_OK 43248650bb69Smrg#else 43258650bb69Smrg your preprocessor is broken; 43268650bb69Smrg#endif 43278650bb69Smrgstatic long long int bignum = -9223372036854775807LL; 43288650bb69Smrgstatic unsigned long long int ubignum = BIG64; 43298650bb69Smrg 43308650bb69Smrgstruct incomplete_array 43318650bb69Smrg{ 43328650bb69Smrg int datasize; 43338650bb69Smrg double data[]; 43348650bb69Smrg}; 43358650bb69Smrg 43368650bb69Smrgstruct named_init { 43378650bb69Smrg int number; 43388650bb69Smrg const wchar_t *name; 43398650bb69Smrg double average; 43408650bb69Smrg}; 43418650bb69Smrg 43428650bb69Smrgtypedef const char *ccp; 43438650bb69Smrg 43448650bb69Smrgstatic inline int 43458650bb69Smrgtest_restrict (ccp restrict text) 43468650bb69Smrg{ 43478650bb69Smrg // See if C++-style comments work. 43488650bb69Smrg // Iterate through items via the restricted pointer. 43498650bb69Smrg // Also check for declarations in for loops. 43508650bb69Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 43518650bb69Smrg continue; 43528650bb69Smrg return 0; 43538650bb69Smrg} 43548650bb69Smrg 43558650bb69Smrg// Check varargs and va_copy. 43568650bb69Smrgstatic void 43578650bb69Smrgtest_varargs (const char *format, ...) 43588650bb69Smrg{ 43598650bb69Smrg va_list args; 43608650bb69Smrg va_start (args, format); 43618650bb69Smrg va_list args_copy; 43628650bb69Smrg va_copy (args_copy, args); 43638650bb69Smrg 43648650bb69Smrg const char *str; 43658650bb69Smrg int number; 43668650bb69Smrg float fnumber; 43678650bb69Smrg 43688650bb69Smrg while (*format) 43698650bb69Smrg { 43708650bb69Smrg switch (*format++) 43718650bb69Smrg { 43728650bb69Smrg case 's': // string 43738650bb69Smrg str = va_arg (args_copy, const char *); 43748650bb69Smrg break; 43758650bb69Smrg case 'd': // int 43768650bb69Smrg number = va_arg (args_copy, int); 43778650bb69Smrg break; 43788650bb69Smrg case 'f': // float 43798650bb69Smrg fnumber = va_arg (args_copy, double); 43808650bb69Smrg break; 43818650bb69Smrg default: 43828650bb69Smrg break; 43838650bb69Smrg } 43848650bb69Smrg } 43858650bb69Smrg va_end (args_copy); 43868650bb69Smrg va_end (args); 43878650bb69Smrg} 43888650bb69Smrg 43898650bb69Smrgint 43908650bb69Smrgmain () 43918650bb69Smrg{ 43928650bb69Smrg 43938650bb69Smrg // Check bool. 43948650bb69Smrg _Bool success = false; 43958650bb69Smrg 43968650bb69Smrg // Check restrict. 43978650bb69Smrg if (test_restrict ("String literal") == 0) 43988650bb69Smrg success = true; 43998650bb69Smrg char *restrict newvar = "Another string"; 44008650bb69Smrg 44018650bb69Smrg // Check varargs. 44028650bb69Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 44038650bb69Smrg test_varargs_macros (); 44048650bb69Smrg 44058650bb69Smrg // Check flexible array members. 44068650bb69Smrg struct incomplete_array *ia = 44078650bb69Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 44088650bb69Smrg ia->datasize = 10; 44098650bb69Smrg for (int i = 0; i < ia->datasize; ++i) 44108650bb69Smrg ia->data[i] = i * 1.234; 44118650bb69Smrg 44128650bb69Smrg // Check named initializers. 44138650bb69Smrg struct named_init ni = { 44148650bb69Smrg .number = 34, 44158650bb69Smrg .name = L"Test wide string", 44168650bb69Smrg .average = 543.34343, 44178650bb69Smrg }; 44188650bb69Smrg 44198650bb69Smrg ni.number = 58; 44208650bb69Smrg 44218650bb69Smrg int dynamic_array[ni.number]; 44228650bb69Smrg dynamic_array[ni.number - 1] = 543; 44238650bb69Smrg 44248650bb69Smrg // work around unused variable warnings 44258650bb69Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 44268650bb69Smrg || dynamic_array[ni.number - 1] != 543); 44278650bb69Smrg 44288650bb69Smrg ; 44298650bb69Smrg return 0; 44308650bb69Smrg} 44318650bb69Smrg_ACEOF 44328650bb69Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 44338650bb69Smrgdo 44348650bb69Smrg CC="$ac_save_CC $ac_arg" 44358650bb69Smrg rm -f conftest.$ac_objext 44368650bb69Smrgif { (ac_try="$ac_compile" 44378650bb69Smrgcase "(($ac_try" in 44388650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 44398650bb69Smrg *) ac_try_echo=$ac_try;; 44408650bb69Smrgesac 44418650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 44428650bb69Smrg$as_echo "$ac_try_echo") >&5 44438650bb69Smrg (eval "$ac_compile") 2>conftest.er1 44448650bb69Smrg ac_status=$? 44458650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 44468650bb69Smrg rm -f conftest.er1 44478650bb69Smrg cat conftest.err >&5 44488650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 44498650bb69Smrg (exit $ac_status); } && { 44508650bb69Smrg test -z "$ac_c_werror_flag" || 44518650bb69Smrg test ! -s conftest.err 44528650bb69Smrg } && test -s conftest.$ac_objext; then 44538650bb69Smrg ac_cv_prog_cc_c99=$ac_arg 44548650bb69Smrgelse 44558650bb69Smrg $as_echo "$as_me: failed program was:" >&5 44568650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 44578650bb69Smrg 44588650bb69Smrg 44598650bb69Smrgfi 44608650bb69Smrg 44618650bb69Smrgrm -f core conftest.err conftest.$ac_objext 44628650bb69Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 44638650bb69Smrgdone 44648650bb69Smrgrm -f conftest.$ac_ext 44658650bb69SmrgCC=$ac_save_CC 44668650bb69Smrg 44678650bb69Smrgfi 44688650bb69Smrg# AC_CACHE_VAL 44698650bb69Smrgcase "x$ac_cv_prog_cc_c99" in 44708650bb69Smrg x) 44718650bb69Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 44728650bb69Smrg$as_echo "none needed" >&6; } ;; 44738650bb69Smrg xno) 44748650bb69Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 44758650bb69Smrg$as_echo "unsupported" >&6; } ;; 44768650bb69Smrg *) 44778650bb69Smrg CC="$CC $ac_cv_prog_cc_c99" 44788650bb69Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 44798650bb69Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 44808650bb69Smrgesac 44818650bb69Smrg 44828650bb69Smrg 44838650bb69Smrg 44848650bb69Smrg# Make sure we can run config.sub. 44858650bb69Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 44868650bb69Smrg { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 44878650bb69Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 44888650bb69Smrg { (exit 1); exit 1; }; } 44898650bb69Smrg 44908650bb69Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5 44918650bb69Smrg$as_echo_n "checking build system type... " >&6; } 44928650bb69Smrgif test "${ac_cv_build+set}" = set; then 44938650bb69Smrg $as_echo_n "(cached) " >&6 44948650bb69Smrgelse 44958650bb69Smrg ac_build_alias=$build_alias 44968650bb69Smrgtest "x$ac_build_alias" = x && 44978650bb69Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 44988650bb69Smrgtest "x$ac_build_alias" = x && 44998650bb69Smrg { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 45008650bb69Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 45018650bb69Smrg { (exit 1); exit 1; }; } 45028650bb69Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 45038650bb69Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 45048650bb69Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 45058650bb69Smrg { (exit 1); exit 1; }; } 45068650bb69Smrg 45078650bb69Smrgfi 45088650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 45098650bb69Smrg$as_echo "$ac_cv_build" >&6; } 45108650bb69Smrgcase $ac_cv_build in 45118650bb69Smrg*-*-*) ;; 45128650bb69Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 45138650bb69Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;} 45148650bb69Smrg { (exit 1); exit 1; }; };; 45158650bb69Smrgesac 45168650bb69Smrgbuild=$ac_cv_build 45178650bb69Smrgac_save_IFS=$IFS; IFS='-' 45188650bb69Smrgset x $ac_cv_build 45198650bb69Smrgshift 45208650bb69Smrgbuild_cpu=$1 45218650bb69Smrgbuild_vendor=$2 45228650bb69Smrgshift; shift 45238650bb69Smrg# Remember, the first character of IFS is used to create $*, 45248650bb69Smrg# except with old shells: 45258650bb69Smrgbuild_os=$* 45268650bb69SmrgIFS=$ac_save_IFS 45278650bb69Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 45288650bb69Smrg 45298650bb69Smrg 45308650bb69Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5 45318650bb69Smrg$as_echo_n "checking host system type... " >&6; } 45328650bb69Smrgif test "${ac_cv_host+set}" = set; then 45338650bb69Smrg $as_echo_n "(cached) " >&6 45348650bb69Smrgelse 45358650bb69Smrg if test "x$host_alias" = x; then 45368650bb69Smrg ac_cv_host=$ac_cv_build 45378650bb69Smrgelse 45388650bb69Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 45398650bb69Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 45408650bb69Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 45418650bb69Smrg { (exit 1); exit 1; }; } 45428650bb69Smrgfi 45438650bb69Smrg 45448650bb69Smrgfi 45458650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 45468650bb69Smrg$as_echo "$ac_cv_host" >&6; } 45478650bb69Smrgcase $ac_cv_host in 45488650bb69Smrg*-*-*) ;; 45498650bb69Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 45508650bb69Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;} 45518650bb69Smrg { (exit 1); exit 1; }; };; 45528650bb69Smrgesac 45538650bb69Smrghost=$ac_cv_host 45548650bb69Smrgac_save_IFS=$IFS; IFS='-' 45558650bb69Smrgset x $ac_cv_host 45568650bb69Smrgshift 45578650bb69Smrghost_cpu=$1 45588650bb69Smrghost_vendor=$2 45598650bb69Smrgshift; shift 45608650bb69Smrg# Remember, the first character of IFS is used to create $*, 45618650bb69Smrg# except with old shells: 45628650bb69Smrghost_os=$* 45638650bb69SmrgIFS=$ac_save_IFS 45648650bb69Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 45658650bb69Smrg 45668650bb69Smrg 45678650bb69Smrg 45688650bb69Smrg 45698650bb69Smrg 45708650bb69Smrgif test "x$GCC" = xyes ; then 45718650bb69Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 45728650bb69Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 45738650bb69Smrg-Wbad-function-cast" 45748650bb69Smrg case `$CC -dumpversion` in 45758650bb69Smrg 3.4.* | 4.*) 45768650bb69Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 45778650bb69Smrg ;; 45788650bb69Smrg esac 45798650bb69Smrgelse 45808650bb69Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 45818650bb69Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 45828650bb69Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 45838650bb69Smrg $as_echo_n "(cached) " >&6 45848650bb69Smrgelse 45858650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 45868650bb69Smrg/* confdefs.h. */ 45878650bb69Smrg_ACEOF 45888650bb69Smrgcat confdefs.h >>conftest.$ac_ext 45898650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 45908650bb69Smrg/* end confdefs.h. */ 45918650bb69Smrg$ac_includes_default 45928650bb69Smrgint 45938650bb69Smrgmain () 45948650bb69Smrg{ 45958650bb69Smrg#ifndef __SUNPRO_C 45968650bb69Smrg (void) __SUNPRO_C; 45978650bb69Smrg#endif 45988650bb69Smrg 45998650bb69Smrg ; 46008650bb69Smrg return 0; 46018650bb69Smrg} 46028650bb69Smrg_ACEOF 46038650bb69Smrgrm -f conftest.$ac_objext 46048650bb69Smrgif { (ac_try="$ac_compile" 46058650bb69Smrgcase "(($ac_try" in 46068650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 46078650bb69Smrg *) ac_try_echo=$ac_try;; 46088650bb69Smrgesac 46098650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 46108650bb69Smrg$as_echo "$ac_try_echo") >&5 46118650bb69Smrg (eval "$ac_compile") 2>conftest.er1 46128650bb69Smrg ac_status=$? 46138650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 46148650bb69Smrg rm -f conftest.er1 46158650bb69Smrg cat conftest.err >&5 46168650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 46178650bb69Smrg (exit $ac_status); } && { 46188650bb69Smrg test -z "$ac_c_werror_flag" || 46198650bb69Smrg test ! -s conftest.err 46208650bb69Smrg } && test -s conftest.$ac_objext; then 46218650bb69Smrg ac_cv_have_decl___SUNPRO_C=yes 46228650bb69Smrgelse 46238650bb69Smrg $as_echo "$as_me: failed program was:" >&5 46248650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 46258650bb69Smrg 46268650bb69Smrg ac_cv_have_decl___SUNPRO_C=no 46278650bb69Smrgfi 46288650bb69Smrg 46298650bb69Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 46308650bb69Smrgfi 46318650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 46328650bb69Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 46338650bb69Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 46348650bb69Smrg SUNCC="yes" 46358650bb69Smrgelse 46368650bb69Smrg SUNCC="no" 46378650bb69Smrgfi 46388650bb69Smrg 46398650bb69Smrg if test "x$SUNCC" = "xyes"; then 46408650bb69Smrg CWARNFLAGS="-v" 46418650bb69Smrg fi 46428650bb69Smrgfi 46438650bb69Smrg 46448650bb69Smrg# Check whether --enable-silent-rules was given. 46458650bb69Smrgif test "${enable_silent_rules+set}" = set; then 46468650bb69Smrg enableval=$enable_silent_rules; 46478650bb69Smrgfi 46488650bb69Smrg 46498650bb69Smrgcase $enable_silent_rules in 46508650bb69Smrgyes) AM_DEFAULT_VERBOSITY=0;; 46518650bb69Smrgno) AM_DEFAULT_VERBOSITY=1;; 46528650bb69Smrg*) AM_DEFAULT_VERBOSITY=0;; 46538650bb69Smrgesac 46548650bb69SmrgAM_BACKSLASH='\' 46558650bb69Smrg 46568650bb69Smrg 46578650bb69Smrg 46588650bb69Smrg 46598650bb69Smrg 46608650bb69Smrg 46618650bb69Smrg 46628650bb69Smrg# Check whether --enable-strict-compilation was given. 46638650bb69Smrgif test "${enable_strict_compilation+set}" = set; then 46648650bb69Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 46658650bb69Smrgelse 46668650bb69Smrg STRICT_COMPILE=no 46678650bb69Smrgfi 46688650bb69Smrg 46698650bb69Smrgif test "x$STRICT_COMPILE" = "xyes"; then 46708650bb69Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 46718650bb69Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 46728650bb69Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 46738650bb69Smrg $as_echo_n "(cached) " >&6 46748650bb69Smrgelse 46758650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 46768650bb69Smrg/* confdefs.h. */ 46778650bb69Smrg_ACEOF 46788650bb69Smrgcat confdefs.h >>conftest.$ac_ext 46798650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 46808650bb69Smrg/* end confdefs.h. */ 46818650bb69Smrg$ac_includes_default 46828650bb69Smrgint 46838650bb69Smrgmain () 46848650bb69Smrg{ 46858650bb69Smrg#ifndef __SUNPRO_C 46868650bb69Smrg (void) __SUNPRO_C; 46878650bb69Smrg#endif 46888650bb69Smrg 46898650bb69Smrg ; 46908650bb69Smrg return 0; 46918650bb69Smrg} 46928650bb69Smrg_ACEOF 46938650bb69Smrgrm -f conftest.$ac_objext 46948650bb69Smrgif { (ac_try="$ac_compile" 46958650bb69Smrgcase "(($ac_try" in 46968650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 46978650bb69Smrg *) ac_try_echo=$ac_try;; 46988650bb69Smrgesac 46998650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 47008650bb69Smrg$as_echo "$ac_try_echo") >&5 47018650bb69Smrg (eval "$ac_compile") 2>conftest.er1 47028650bb69Smrg ac_status=$? 47038650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 47048650bb69Smrg rm -f conftest.er1 47058650bb69Smrg cat conftest.err >&5 47068650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 47078650bb69Smrg (exit $ac_status); } && { 47088650bb69Smrg test -z "$ac_c_werror_flag" || 47098650bb69Smrg test ! -s conftest.err 47108650bb69Smrg } && test -s conftest.$ac_objext; then 47118650bb69Smrg ac_cv_have_decl___SUNPRO_C=yes 47128650bb69Smrgelse 47138650bb69Smrg $as_echo "$as_me: failed program was:" >&5 47148650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 47158650bb69Smrg 47168650bb69Smrg ac_cv_have_decl___SUNPRO_C=no 47178650bb69Smrgfi 47188650bb69Smrg 47198650bb69Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 47208650bb69Smrgfi 47218650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 47228650bb69Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 47238650bb69Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 47248650bb69Smrg SUNCC="yes" 47258650bb69Smrgelse 47268650bb69Smrg SUNCC="no" 47278650bb69Smrgfi 47288650bb69Smrg 47298650bb69Smrg { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 47308650bb69Smrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 47318650bb69Smrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 47328650bb69Smrg $as_echo_n "(cached) " >&6 47338650bb69Smrgelse 47348650bb69Smrg cat >conftest.$ac_ext <<_ACEOF 47358650bb69Smrg/* confdefs.h. */ 47368650bb69Smrg_ACEOF 47378650bb69Smrgcat confdefs.h >>conftest.$ac_ext 47388650bb69Smrgcat >>conftest.$ac_ext <<_ACEOF 47398650bb69Smrg/* end confdefs.h. */ 47408650bb69Smrg$ac_includes_default 47418650bb69Smrgint 47428650bb69Smrgmain () 47438650bb69Smrg{ 47448650bb69Smrg#ifndef __INTEL_COMPILER 47458650bb69Smrg (void) __INTEL_COMPILER; 47468650bb69Smrg#endif 47478650bb69Smrg 47488650bb69Smrg ; 47498650bb69Smrg return 0; 47508650bb69Smrg} 47518650bb69Smrg_ACEOF 47528650bb69Smrgrm -f conftest.$ac_objext 47538650bb69Smrgif { (ac_try="$ac_compile" 47548650bb69Smrgcase "(($ac_try" in 47558650bb69Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 47568650bb69Smrg *) ac_try_echo=$ac_try;; 47578650bb69Smrgesac 47588650bb69Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 47598650bb69Smrg$as_echo "$ac_try_echo") >&5 47608650bb69Smrg (eval "$ac_compile") 2>conftest.er1 47618650bb69Smrg ac_status=$? 47628650bb69Smrg grep -v '^ *+' conftest.er1 >conftest.err 47638650bb69Smrg rm -f conftest.er1 47648650bb69Smrg cat conftest.err >&5 47658650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 47668650bb69Smrg (exit $ac_status); } && { 47678650bb69Smrg test -z "$ac_c_werror_flag" || 47688650bb69Smrg test ! -s conftest.err 47698650bb69Smrg } && test -s conftest.$ac_objext; then 47708650bb69Smrg ac_cv_have_decl___INTEL_COMPILER=yes 47718650bb69Smrgelse 47728650bb69Smrg $as_echo "$as_me: failed program was:" >&5 47738650bb69Smrgsed 's/^/| /' conftest.$ac_ext >&5 47748650bb69Smrg 47758650bb69Smrg ac_cv_have_decl___INTEL_COMPILER=no 47768650bb69Smrgfi 47778650bb69Smrg 47788650bb69Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 47798650bb69Smrgfi 47808650bb69Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 47818650bb69Smrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 47828650bb69Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then 47838650bb69Smrg INTELCC="yes" 47848650bb69Smrgelse 47858650bb69Smrg INTELCC="no" 47868650bb69Smrgfi 47878650bb69Smrg 47888650bb69Smrg if test "x$GCC" = xyes ; then 47898650bb69Smrg STRICT_CFLAGS="-pedantic -Werror" 47908650bb69Smrg elif test "x$SUNCC" = "xyes"; then 47918650bb69Smrg STRICT_CFLAGS="-errwarn" 47928650bb69Smrg elif test "x$INTELCC" = "xyes"; then 47938650bb69Smrg STRICT_CFLAGS="-Werror" 47948650bb69Smrg fi 47958650bb69Smrgfi 47968650bb69SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 47978650bb69Smrg 47988650bb69Smrg 47998650bb69Smrg 48008650bb69Smrg 48018650bb69Smrg# Check whether --with-release-version was given. 48028650bb69Smrgif test "${with_release_version+set}" = set; then 48038650bb69Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 48048650bb69Smrgelse 48058650bb69Smrg RELEASE_VERSION="" 48068650bb69Smrgfi 48078650bb69Smrg 48088650bb69Smrg if test "x$RELEASE_VERSION" != "x"; then 48098650bb69Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 48108650bb69Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 48118650bb69Smrg { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 48128650bb69Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 48138650bb69Smrg fi 48148650bb69Smrg 48158650bb69Smrgcat >>confdefs.h <<_ACEOF 48168650bb69Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 48178650bb69Smrg_ACEOF 48188650bb69Smrg 48198650bb69Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 48208650bb69Smrg if test "x$PVM" = "x"; then 48218650bb69Smrg PVM="0" 48228650bb69Smrg fi 48238650bb69Smrg 48248650bb69Smrgcat >>confdefs.h <<_ACEOF 48258650bb69Smrg#define PACKAGE_VERSION_MINOR $PVM 48268650bb69Smrg_ACEOF 48278650bb69Smrg 48288650bb69Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 48298650bb69Smrg if test "x$PVP" = "x"; then 48308650bb69Smrg PVP="0" 48318650bb69Smrg fi 48328650bb69Smrg 48338650bb69Smrgcat >>confdefs.h <<_ACEOF 48348650bb69Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 48358650bb69Smrg_ACEOF 48368650bb69Smrg 48378650bb69Smrg 48388650bb69Smrg 48398650bb69SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 48408650bb69Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 48418650bb69Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 48428650bb69Smrg 48438650bb69Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 48448650bb69Smrg 48458650bb69Smrg 48468650bb69Smrg 48478650bb69Smrg 48488650bb69Smrg 48498650bb69Smrgif test x$APP_MAN_SUFFIX = x ; then 48508650bb69Smrg APP_MAN_SUFFIX=1 48518650bb69Smrgfi 48528650bb69Smrgif test x$APP_MAN_DIR = x ; then 48538650bb69Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 48548650bb69Smrgfi 48558650bb69Smrg 48568650bb69Smrgif test x$LIB_MAN_SUFFIX = x ; then 48578650bb69Smrg LIB_MAN_SUFFIX=3 48588650bb69Smrgfi 48598650bb69Smrgif test x$LIB_MAN_DIR = x ; then 48608650bb69Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 48618650bb69Smrgfi 48628650bb69Smrg 48638650bb69Smrgif test x$FILE_MAN_SUFFIX = x ; then 48648650bb69Smrg case $host_os in 48658650bb69Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 48668650bb69Smrg *) FILE_MAN_SUFFIX=5 ;; 48678650bb69Smrg esac 48688650bb69Smrgfi 48698650bb69Smrgif test x$FILE_MAN_DIR = x ; then 48708650bb69Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 48718650bb69Smrgfi 48728650bb69Smrg 48738650bb69Smrgif test x$MISC_MAN_SUFFIX = x ; then 48748650bb69Smrg case $host_os in 48758650bb69Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 48768650bb69Smrg *) MISC_MAN_SUFFIX=7 ;; 48778650bb69Smrg esac 48788650bb69Smrgfi 48798650bb69Smrgif test x$MISC_MAN_DIR = x ; then 48808650bb69Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 48818650bb69Smrgfi 48828650bb69Smrg 48838650bb69Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 48848650bb69Smrg case $host_os in 48858650bb69Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 48868650bb69Smrg *) DRIVER_MAN_SUFFIX=4 ;; 48878650bb69Smrg esac 48888650bb69Smrgfi 48898650bb69Smrgif test x$DRIVER_MAN_DIR = x ; then 48908650bb69Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 48918650bb69Smrgfi 48928650bb69Smrg 48938650bb69Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 48948650bb69Smrg case $host_os in 48958650bb69Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 48968650bb69Smrg *) ADMIN_MAN_SUFFIX=8 ;; 48978650bb69Smrg esac 48988650bb69Smrgfi 48998650bb69Smrgif test x$ADMIN_MAN_DIR = x ; then 49008650bb69Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 49018650bb69Smrgfi 49028650bb69Smrg 49038650bb69Smrg 49048650bb69Smrg 49058650bb69Smrg 49068650bb69Smrg 49078650bb69Smrg 49088650bb69Smrg 49098650bb69Smrg 49108650bb69Smrg 49118650bb69Smrg 49128650bb69Smrg 49138650bb69Smrg 49148650bb69Smrg 49158650bb69Smrg 49168650bb69Smrg 49178650bb69Smrg 49188650bb69Smrg 49198650bb69Smrg# Checks for pkg-config packages 49208650bb69Smrg 49218650bb69Smrg 49228650bb69Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 49238650bb69Smrg if test -n "$ac_tool_prefix"; then 49248650bb69Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 49258650bb69Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 49268650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 49278650bb69Smrg$as_echo_n "checking for $ac_word... " >&6; } 49282c7c4e3dSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 49298650bb69Smrg $as_echo_n "(cached) " >&6 49302c7c4e3dSmrgelse 49312c7c4e3dSmrg case $PKG_CONFIG in 49322c7c4e3dSmrg [\\/]* | ?:[\\/]*) 49332c7c4e3dSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 49342c7c4e3dSmrg ;; 49352c7c4e3dSmrg *) 49362c7c4e3dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49372c7c4e3dSmrgfor as_dir in $PATH 49382c7c4e3dSmrgdo 49392c7c4e3dSmrg IFS=$as_save_IFS 49402c7c4e3dSmrg test -z "$as_dir" && as_dir=. 49412c7c4e3dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 49428650bb69Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 49432c7c4e3dSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 49448650bb69Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 49452c7c4e3dSmrg break 2 49462c7c4e3dSmrg fi 49472c7c4e3dSmrgdone 49482c7c4e3dSmrgdone 49498650bb69SmrgIFS=$as_save_IFS 49502c7c4e3dSmrg 49512c7c4e3dSmrg ;; 49522c7c4e3dSmrgesac 49532c7c4e3dSmrgfi 49542c7c4e3dSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 49552c7c4e3dSmrgif test -n "$PKG_CONFIG"; then 49568650bb69Smrg { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 49578650bb69Smrg$as_echo "$PKG_CONFIG" >&6; } 49582c7c4e3dSmrgelse 49598650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 49608650bb69Smrg$as_echo "no" >&6; } 49612c7c4e3dSmrgfi 49622c7c4e3dSmrg 49638650bb69Smrg 49642c7c4e3dSmrgfi 49652c7c4e3dSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 49662c7c4e3dSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 49672c7c4e3dSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 49682c7c4e3dSmrgset dummy pkg-config; ac_word=$2 49698650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 49708650bb69Smrg$as_echo_n "checking for $ac_word... " >&6; } 49712c7c4e3dSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 49728650bb69Smrg $as_echo_n "(cached) " >&6 49732c7c4e3dSmrgelse 49742c7c4e3dSmrg case $ac_pt_PKG_CONFIG in 49752c7c4e3dSmrg [\\/]* | ?:[\\/]*) 49762c7c4e3dSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 49772c7c4e3dSmrg ;; 49782c7c4e3dSmrg *) 49792c7c4e3dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49802c7c4e3dSmrgfor as_dir in $PATH 49812c7c4e3dSmrgdo 49822c7c4e3dSmrg IFS=$as_save_IFS 49832c7c4e3dSmrg test -z "$as_dir" && as_dir=. 49842c7c4e3dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 49858650bb69Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 49862c7c4e3dSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 49878650bb69Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 49882c7c4e3dSmrg break 2 49892c7c4e3dSmrg fi 49902c7c4e3dSmrgdone 49912c7c4e3dSmrgdone 49928650bb69SmrgIFS=$as_save_IFS 49932c7c4e3dSmrg 49942c7c4e3dSmrg ;; 49952c7c4e3dSmrgesac 49962c7c4e3dSmrgfi 49972c7c4e3dSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 49982c7c4e3dSmrgif test -n "$ac_pt_PKG_CONFIG"; then 49998650bb69Smrg { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 50008650bb69Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 50012c7c4e3dSmrgelse 50028650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 50038650bb69Smrg$as_echo "no" >&6; } 50042c7c4e3dSmrgfi 50052c7c4e3dSmrg 50068650bb69Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 50078650bb69Smrg PKG_CONFIG="" 50088650bb69Smrg else 50098650bb69Smrg case $cross_compiling:$ac_tool_warned in 50108650bb69Smrgyes:) 50118650bb69Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 50128650bb69Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 50138650bb69Smrgac_tool_warned=yes ;; 50148650bb69Smrgesac 50158650bb69Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 50168650bb69Smrg fi 50172c7c4e3dSmrgelse 50182c7c4e3dSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 50192c7c4e3dSmrgfi 50202c7c4e3dSmrg 50212c7c4e3dSmrgfi 50222c7c4e3dSmrgif test -n "$PKG_CONFIG"; then 50232c7c4e3dSmrg _pkg_min_version=0.9.0 50248650bb69Smrg { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 50258650bb69Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 50262c7c4e3dSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 50278650bb69Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 50288650bb69Smrg$as_echo "yes" >&6; } 50292c7c4e3dSmrg else 50308650bb69Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 50318650bb69Smrg$as_echo "no" >&6; } 50322c7c4e3dSmrg PKG_CONFIG="" 50332c7c4e3dSmrg fi 50342c7c4e3dSmrg 50352c7c4e3dSmrgfi 50362c7c4e3dSmrg 50372c7c4e3dSmrgpkg_failed=no 50388650bb69Smrg{ $as_echo "$as_me:$LINENO: checking for XCMSDB" >&5 50398650bb69Smrg$as_echo_n "checking for XCMSDB... " >&6; } 50408650bb69Smrg 50418650bb69Smrgif test -n "$XCMSDB_CFLAGS"; then 50428650bb69Smrg pkg_cv_XCMSDB_CFLAGS="$XCMSDB_CFLAGS" 50438650bb69Smrg elif test -n "$PKG_CONFIG"; then 50448650bb69Smrg if test -n "$PKG_CONFIG" && \ 50458650bb69Smrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5 50462c7c4e3dSmrg ($PKG_CONFIG --exists --print-errors "x11") 2>&5 50472c7c4e3dSmrg ac_status=$? 50488650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 50492c7c4e3dSmrg (exit $ac_status); }; then 50502c7c4e3dSmrg pkg_cv_XCMSDB_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` 50512c7c4e3dSmrgelse 50522c7c4e3dSmrg pkg_failed=yes 50532c7c4e3dSmrgfi 50548650bb69Smrg else 50558650bb69Smrg pkg_failed=untried 50562c7c4e3dSmrgfi 50578650bb69Smrgif test -n "$XCMSDB_LIBS"; then 50588650bb69Smrg pkg_cv_XCMSDB_LIBS="$XCMSDB_LIBS" 50598650bb69Smrg elif test -n "$PKG_CONFIG"; then 50608650bb69Smrg if test -n "$PKG_CONFIG" && \ 50618650bb69Smrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5 50622c7c4e3dSmrg ($PKG_CONFIG --exists --print-errors "x11") 2>&5 50632c7c4e3dSmrg ac_status=$? 50648650bb69Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 50652c7c4e3dSmrg (exit $ac_status); }; then 50662c7c4e3dSmrg pkg_cv_XCMSDB_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` 50672c7c4e3dSmrgelse 50682c7c4e3dSmrg pkg_failed=yes 50692c7c4e3dSmrgfi 50708650bb69Smrg else 50718650bb69Smrg pkg_failed=untried 50722c7c4e3dSmrgfi 50732c7c4e3dSmrg 50742c7c4e3dSmrg 50752c7c4e3dSmrg 50762c7c4e3dSmrgif test $pkg_failed = yes; then 50772c7c4e3dSmrg 50782c7c4e3dSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 50792c7c4e3dSmrg _pkg_short_errors_supported=yes 50802c7c4e3dSmrgelse 50812c7c4e3dSmrg _pkg_short_errors_supported=no 50822c7c4e3dSmrgfi 50832c7c4e3dSmrg if test $_pkg_short_errors_supported = yes; then 50848650bb69Smrg XCMSDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1` 50852c7c4e3dSmrg else 50868650bb69Smrg XCMSDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1` 50872c7c4e3dSmrg fi 50882c7c4e3dSmrg # Put the nasty error message in config.log where it belongs 50892c7c4e3dSmrg echo "$XCMSDB_PKG_ERRORS" >&5 50902c7c4e3dSmrg 50918650bb69Smrg { { $as_echo "$as_me:$LINENO: error: Package requirements (x11) were not met: 50922c7c4e3dSmrg 50932c7c4e3dSmrg$XCMSDB_PKG_ERRORS 50942c7c4e3dSmrg 50952c7c4e3dSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 50962c7c4e3dSmrginstalled software in a non-standard prefix. 50972c7c4e3dSmrg 50982c7c4e3dSmrgAlternatively, you may set the environment variables XCMSDB_CFLAGS 50992c7c4e3dSmrgand XCMSDB_LIBS to avoid the need to call pkg-config. 51002c7c4e3dSmrgSee the pkg-config man page for more details. 51012c7c4e3dSmrg" >&5 51028650bb69Smrg$as_echo "$as_me: error: Package requirements (x11) were not met: 51032c7c4e3dSmrg 51042c7c4e3dSmrg$XCMSDB_PKG_ERRORS 51052c7c4e3dSmrg 51062c7c4e3dSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 51072c7c4e3dSmrginstalled software in a non-standard prefix. 51082c7c4e3dSmrg 51092c7c4e3dSmrgAlternatively, you may set the environment variables XCMSDB_CFLAGS 51102c7c4e3dSmrgand XCMSDB_LIBS to avoid the need to call pkg-config. 51112c7c4e3dSmrgSee the pkg-config man page for more details. 51122c7c4e3dSmrg" >&2;} 51132c7c4e3dSmrg { (exit 1); exit 1; }; } 51142c7c4e3dSmrgelif test $pkg_failed = untried; then 51158650bb69Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 51168650bb69Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 51178650bb69Smrg{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 51182c7c4e3dSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 51192c7c4e3dSmrgpath to pkg-config. 51202c7c4e3dSmrg 51212c7c4e3dSmrgAlternatively, you may set the environment variables XCMSDB_CFLAGS 51222c7c4e3dSmrgand XCMSDB_LIBS to avoid the need to call pkg-config. 51232c7c4e3dSmrgSee the pkg-config man page for more details. 51242c7c4e3dSmrg 51258650bb69SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 51262c7c4e3dSmrgSee \`config.log' for more details." >&5 51278650bb69Smrg$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 51282c7c4e3dSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 51292c7c4e3dSmrgpath to pkg-config. 51302c7c4e3dSmrg 51312c7c4e3dSmrgAlternatively, you may set the environment variables XCMSDB_CFLAGS 51322c7c4e3dSmrgand XCMSDB_LIBS to avoid the need to call pkg-config. 51332c7c4e3dSmrgSee the pkg-config man page for more details. 51342c7c4e3dSmrg 51358650bb69SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 51362c7c4e3dSmrgSee \`config.log' for more details." >&2;} 51378650bb69Smrg { (exit 1); exit 1; }; }; } 51382c7c4e3dSmrgelse 51392c7c4e3dSmrg XCMSDB_CFLAGS=$pkg_cv_XCMSDB_CFLAGS 51402c7c4e3dSmrg XCMSDB_LIBS=$pkg_cv_XCMSDB_LIBS 51418650bb69Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 51428650bb69Smrg$as_echo "yes" >&6; } 51432c7c4e3dSmrg : 51442c7c4e3dSmrgfi 51452c7c4e3dSmrg 51462c7c4e3dSmrg 51472c7c4e3dSmrg 51488650bb69Smrgac_config_files="$ac_config_files Makefile" 51492c7c4e3dSmrg 51502c7c4e3dSmrgcat >confcache <<\_ACEOF 51512c7c4e3dSmrg# This file is a shell script that caches the results of configure 51522c7c4e3dSmrg# tests run on this system so they can be shared between configure 51532c7c4e3dSmrg# scripts and configure runs, see configure's option --config-cache. 51542c7c4e3dSmrg# It is not useful on other systems. If it contains results you don't 51552c7c4e3dSmrg# want to keep, you may remove or edit it. 51562c7c4e3dSmrg# 51572c7c4e3dSmrg# config.status only pays attention to the cache file if you give it 51582c7c4e3dSmrg# the --recheck option to rerun configure. 51592c7c4e3dSmrg# 51602c7c4e3dSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 51612c7c4e3dSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 51622c7c4e3dSmrg# following values. 51632c7c4e3dSmrg 51642c7c4e3dSmrg_ACEOF 51652c7c4e3dSmrg 51662c7c4e3dSmrg# The following way of writing the cache mishandles newlines in values, 51672c7c4e3dSmrg# but we know of no workaround that is simple, portable, and efficient. 51688650bb69Smrg# So, we kill variables containing newlines. 51692c7c4e3dSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 51702c7c4e3dSmrg# and sets the high bit in the cache file unless we assign to the vars. 51718650bb69Smrg( 51728650bb69Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 51738650bb69Smrg eval ac_val=\$$ac_var 51748650bb69Smrg case $ac_val in #( 51758650bb69Smrg *${as_nl}*) 51768650bb69Smrg case $ac_var in #( 51778650bb69Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 51788650bb69Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 51798650bb69Smrg esac 51808650bb69Smrg case $ac_var in #( 51818650bb69Smrg _ | IFS | as_nl) ;; #( 51828650bb69Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 51838650bb69Smrg *) $as_unset $ac_var ;; 51848650bb69Smrg esac ;; 51858650bb69Smrg esac 51868650bb69Smrg done 51878650bb69Smrg 51882c7c4e3dSmrg (set) 2>&1 | 51898650bb69Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 51908650bb69Smrg *${as_nl}ac_space=\ *) 51912c7c4e3dSmrg # `set' does not quote correctly, so add quotes (double-quote 51922c7c4e3dSmrg # substitution turns \\\\ into \\, and sed turns \\ into \). 51932c7c4e3dSmrg sed -n \ 51942c7c4e3dSmrg "s/'/'\\\\''/g; 51952c7c4e3dSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 51968650bb69Smrg ;; #( 51972c7c4e3dSmrg *) 51982c7c4e3dSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 51998650bb69Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 52002c7c4e3dSmrg ;; 52018650bb69Smrg esac | 52028650bb69Smrg sort 52038650bb69Smrg) | 52042c7c4e3dSmrg sed ' 52058650bb69Smrg /^ac_cv_env_/b end 52062c7c4e3dSmrg t clear 52078650bb69Smrg :clear 52082c7c4e3dSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 52092c7c4e3dSmrg t end 52108650bb69Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 52118650bb69Smrg :end' >>confcache 52128650bb69Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 52138650bb69Smrg if test -w "$cache_file"; then 52148650bb69Smrg test "x$cache_file" != "x/dev/null" && 52158650bb69Smrg { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 52168650bb69Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 52172c7c4e3dSmrg cat confcache >$cache_file 52182c7c4e3dSmrg else 52198650bb69Smrg { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 52208650bb69Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 52212c7c4e3dSmrg fi 52222c7c4e3dSmrgfi 52232c7c4e3dSmrgrm -f confcache 52242c7c4e3dSmrg 52252c7c4e3dSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 52262c7c4e3dSmrg# Let make expand exec_prefix. 52272c7c4e3dSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 52282c7c4e3dSmrg 52292c7c4e3dSmrgDEFS=-DHAVE_CONFIG_H 52302c7c4e3dSmrg 52312c7c4e3dSmrgac_libobjs= 52322c7c4e3dSmrgac_ltlibobjs= 52332c7c4e3dSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 52342c7c4e3dSmrg # 1. Remove the extension, and $U if already installed. 52358650bb69Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 52368650bb69Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 52378650bb69Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 52388650bb69Smrg # will be set to the directory where LIBOBJS objects are built. 52398650bb69Smrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 52408650bb69Smrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 52412c7c4e3dSmrgdone 52422c7c4e3dSmrgLIBOBJS=$ac_libobjs 52432c7c4e3dSmrg 52442c7c4e3dSmrgLTLIBOBJS=$ac_ltlibobjs 52452c7c4e3dSmrg 52462c7c4e3dSmrg 52478650bb69Smrg if test -n "$EXEEXT"; then 52488650bb69Smrg am__EXEEXT_TRUE= 52498650bb69Smrg am__EXEEXT_FALSE='#' 52508650bb69Smrgelse 52518650bb69Smrg am__EXEEXT_TRUE='#' 52528650bb69Smrg am__EXEEXT_FALSE= 52538650bb69Smrgfi 52548650bb69Smrg 52552c7c4e3dSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 52568650bb69Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 52572c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&5 52588650bb69Smrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 52592c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&2;} 52602c7c4e3dSmrg { (exit 1); exit 1; }; } 52612c7c4e3dSmrgfi 52622c7c4e3dSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 52638650bb69Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 52642c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&5 52658650bb69Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 52662c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&2;} 52672c7c4e3dSmrg { (exit 1); exit 1; }; } 52682c7c4e3dSmrgfi 52692c7c4e3dSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 52708650bb69Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 52712c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&5 52728650bb69Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 52732c7c4e3dSmrgUsually this means the macro was only invoked conditionally." >&2;} 52742c7c4e3dSmrg { (exit 1); exit 1; }; } 52752c7c4e3dSmrgfi 52762c7c4e3dSmrg 52772c7c4e3dSmrg: ${CONFIG_STATUS=./config.status} 52788650bb69Smrgac_write_fail=0 52792c7c4e3dSmrgac_clean_files_save=$ac_clean_files 52802c7c4e3dSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 52818650bb69Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 52828650bb69Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 52838650bb69Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52842c7c4e3dSmrg#! $SHELL 52852c7c4e3dSmrg# Generated by $as_me. 52862c7c4e3dSmrg# Run this file to recreate the current configuration. 52872c7c4e3dSmrg# Compiler output produced by configure, useful for debugging 52882c7c4e3dSmrg# configure, is in config.log if it exists. 52892c7c4e3dSmrg 52902c7c4e3dSmrgdebug=false 52912c7c4e3dSmrgac_cs_recheck=false 52922c7c4e3dSmrgac_cs_silent=false 52932c7c4e3dSmrgSHELL=\${CONFIG_SHELL-$SHELL} 52942c7c4e3dSmrg_ACEOF 52952c7c4e3dSmrg 52968650bb69Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52972c7c4e3dSmrg## --------------------- ## 52982c7c4e3dSmrg## M4sh Initialization. ## 52992c7c4e3dSmrg## --------------------- ## 53002c7c4e3dSmrg 53018650bb69Smrg# Be more Bourne compatible 53028650bb69SmrgDUALCASE=1; export DUALCASE # for MKS sh 53032c7c4e3dSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 53042c7c4e3dSmrg emulate sh 53052c7c4e3dSmrg NULLCMD=: 53068650bb69Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 53072c7c4e3dSmrg # is contrary to our usage. Disable this feature. 53082c7c4e3dSmrg alias -g '${1+"$@"}'='"$@"' 53098650bb69Smrg setopt NO_GLOB_SUBST 53108650bb69Smrgelse 53118650bb69Smrg case `(set -o) 2>/dev/null` in 53128650bb69Smrg *posix*) set -o posix ;; 53138650bb69Smrgesac 53148650bb69Smrg 53158650bb69Smrgfi 53168650bb69Smrg 53178650bb69Smrg 53188650bb69Smrg 53198650bb69Smrg 53208650bb69Smrg# PATH needs CR 53218650bb69Smrg# Avoid depending upon Character Ranges. 53228650bb69Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 53238650bb69Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 53248650bb69Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 53258650bb69Smrgas_cr_digits='0123456789' 53268650bb69Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 53278650bb69Smrg 53288650bb69Smrgas_nl=' 53298650bb69Smrg' 53308650bb69Smrgexport as_nl 53318650bb69Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 53328650bb69Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 53338650bb69Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 53348650bb69Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 53358650bb69Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 53368650bb69Smrg as_echo='printf %s\n' 53378650bb69Smrg as_echo_n='printf %s' 53388650bb69Smrgelse 53398650bb69Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 53408650bb69Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53418650bb69Smrg as_echo_n='/usr/ucb/echo -n' 53428650bb69Smrg else 53438650bb69Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 53448650bb69Smrg as_echo_n_body='eval 53458650bb69Smrg arg=$1; 53468650bb69Smrg case $arg in 53478650bb69Smrg *"$as_nl"*) 53488650bb69Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 53498650bb69Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 53508650bb69Smrg esac; 53518650bb69Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 53528650bb69Smrg ' 53538650bb69Smrg export as_echo_n_body 53548650bb69Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 53558650bb69Smrg fi 53568650bb69Smrg export as_echo_body 53578650bb69Smrg as_echo='sh -c $as_echo_body as_echo' 53588650bb69Smrgfi 53598650bb69Smrg 53608650bb69Smrg# The user is always right. 53618650bb69Smrgif test "${PATH_SEPARATOR+set}" != set; then 53628650bb69Smrg PATH_SEPARATOR=: 53638650bb69Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 53648650bb69Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 53658650bb69Smrg PATH_SEPARATOR=';' 53668650bb69Smrg } 53672c7c4e3dSmrgfi 53682c7c4e3dSmrg 53692c7c4e3dSmrg# Support unset when possible. 53702c7c4e3dSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 53712c7c4e3dSmrg as_unset=unset 53722c7c4e3dSmrgelse 53732c7c4e3dSmrg as_unset=false 53742c7c4e3dSmrgfi 53752c7c4e3dSmrg 53762c7c4e3dSmrg 53778650bb69Smrg# IFS 53788650bb69Smrg# We need space, tab and new line, in precisely that order. Quoting is 53798650bb69Smrg# there to prevent editors from complaining about space-tab. 53808650bb69Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 53818650bb69Smrg# splitting by setting IFS to empty value.) 53828650bb69SmrgIFS=" "" $as_nl" 53838650bb69Smrg 53848650bb69Smrg# Find who we are. Look in the path if we contain no directory separator. 53858650bb69Smrgcase $0 in 53868650bb69Smrg *[\\/]* ) as_myself=$0 ;; 53878650bb69Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 53888650bb69Smrgfor as_dir in $PATH 53898650bb69Smrgdo 53908650bb69Smrg IFS=$as_save_IFS 53918650bb69Smrg test -z "$as_dir" && as_dir=. 53928650bb69Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 53938650bb69Smrgdone 53948650bb69SmrgIFS=$as_save_IFS 53958650bb69Smrg 53968650bb69Smrg ;; 53978650bb69Smrgesac 53988650bb69Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 53998650bb69Smrg# in which case we are not to be found in the path. 54008650bb69Smrgif test "x$as_myself" = x; then 54018650bb69Smrg as_myself=$0 54028650bb69Smrgfi 54038650bb69Smrgif test ! -f "$as_myself"; then 54048650bb69Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 54058650bb69Smrg { (exit 1); exit 1; } 54068650bb69Smrgfi 54078650bb69Smrg 54082c7c4e3dSmrg# Work around bugs in pre-3.0 UWIN ksh. 54098650bb69Smrgfor as_var in ENV MAIL MAILPATH 54108650bb69Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 54118650bb69Smrgdone 54122c7c4e3dSmrgPS1='$ ' 54132c7c4e3dSmrgPS2='> ' 54142c7c4e3dSmrgPS4='+ ' 54152c7c4e3dSmrg 54162c7c4e3dSmrg# NLS nuisances. 54178650bb69SmrgLC_ALL=C 54188650bb69Smrgexport LC_ALL 54198650bb69SmrgLANGUAGE=C 54208650bb69Smrgexport LANGUAGE 54212c7c4e3dSmrg 54222c7c4e3dSmrg# Required to use basename. 54238650bb69Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 54248650bb69Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 54252c7c4e3dSmrg as_expr=expr 54262c7c4e3dSmrgelse 54272c7c4e3dSmrg as_expr=false 54282c7c4e3dSmrgfi 54292c7c4e3dSmrg 54308650bb69Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 54312c7c4e3dSmrg as_basename=basename 54322c7c4e3dSmrgelse 54332c7c4e3dSmrg as_basename=false 54342c7c4e3dSmrgfi 54352c7c4e3dSmrg 54362c7c4e3dSmrg 54372c7c4e3dSmrg# Name of the executable. 54388650bb69Smrgas_me=`$as_basename -- "$0" || 54392c7c4e3dSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 54402c7c4e3dSmrg X"$0" : 'X\(//\)$' \| \ 54418650bb69Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 54428650bb69Smrg$as_echo X/"$0" | 54438650bb69Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 54448650bb69Smrg s//\1/ 54458650bb69Smrg q 54468650bb69Smrg } 54478650bb69Smrg /^X\/\(\/\/\)$/{ 54488650bb69Smrg s//\1/ 54498650bb69Smrg q 54508650bb69Smrg } 54518650bb69Smrg /^X\/\(\/\).*/{ 54528650bb69Smrg s//\1/ 54538650bb69Smrg q 54548650bb69Smrg } 54558650bb69Smrg s/.*/./; q'` 54562c7c4e3dSmrg 54578650bb69Smrg# CDPATH. 54588650bb69Smrg$as_unset CDPATH 54592c7c4e3dSmrg 54602c7c4e3dSmrg 54612c7c4e3dSmrg 54622c7c4e3dSmrg as_lineno_1=$LINENO 54632c7c4e3dSmrg as_lineno_2=$LINENO 54642c7c4e3dSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 54658650bb69Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 54662c7c4e3dSmrg 54672c7c4e3dSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 54682c7c4e3dSmrg # uniformly replaced by the line number. The first 'sed' inserts a 54698650bb69Smrg # line-number line after each line using $LINENO; the second 'sed' 54708650bb69Smrg # does the real work. The second script uses 'N' to pair each 54718650bb69Smrg # line-number line with the line containing $LINENO, and appends 54728650bb69Smrg # trailing '-' during substitution so that $LINENO is not a special 54738650bb69Smrg # case at line end. 54742c7c4e3dSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 54758650bb69Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 54768650bb69Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 54778650bb69Smrg sed -n ' 54788650bb69Smrg p 54798650bb69Smrg /[$]LINENO/= 54808650bb69Smrg ' <$as_myself | 54812c7c4e3dSmrg sed ' 54828650bb69Smrg s/[$]LINENO.*/&-/ 54838650bb69Smrg t lineno 54848650bb69Smrg b 54858650bb69Smrg :lineno 54862c7c4e3dSmrg N 54878650bb69Smrg :loop 54888650bb69Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 54892c7c4e3dSmrg t loop 54908650bb69Smrg s/-\n.*// 54912c7c4e3dSmrg ' >$as_me.lineno && 54928650bb69Smrg chmod +x "$as_me.lineno" || 54938650bb69Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 54942c7c4e3dSmrg { (exit 1); exit 1; }; } 54952c7c4e3dSmrg 54962c7c4e3dSmrg # Don't try to exec as it changes $[0], causing all sort of problems 54972c7c4e3dSmrg # (the dirname of $[0] is not the place where we might find the 54988650bb69Smrg # original and so on. Autoconf is especially sensitive to this). 54998650bb69Smrg . "./$as_me.lineno" 55002c7c4e3dSmrg # Exit status is that of the last command. 55012c7c4e3dSmrg exit 55022c7c4e3dSmrg} 55032c7c4e3dSmrg 55042c7c4e3dSmrg 55058650bb69Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 55068650bb69Smrg as_dirname=dirname 55078650bb69Smrgelse 55088650bb69Smrg as_dirname=false 55098650bb69Smrgfi 55102c7c4e3dSmrg 55118650bb69SmrgECHO_C= ECHO_N= ECHO_T= 55128650bb69Smrgcase `echo -n x` in 55138650bb69Smrg-n*) 55148650bb69Smrg case `echo 'x\c'` in 55158650bb69Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 55168650bb69Smrg *) ECHO_C='\c';; 55178650bb69Smrg esac;; 55188650bb69Smrg*) 55198650bb69Smrg ECHO_N='-n';; 55208650bb69Smrgesac 55218650bb69Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 55228650bb69Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 55232c7c4e3dSmrg as_expr=expr 55242c7c4e3dSmrgelse 55252c7c4e3dSmrg as_expr=false 55262c7c4e3dSmrgfi 55272c7c4e3dSmrg 55282c7c4e3dSmrgrm -f conf$$ conf$$.exe conf$$.file 55298650bb69Smrgif test -d conf$$.dir; then 55308650bb69Smrg rm -f conf$$.dir/conf$$.file 55318650bb69Smrgelse 55328650bb69Smrg rm -f conf$$.dir 55338650bb69Smrg mkdir conf$$.dir 2>/dev/null 55348650bb69Smrgfi 55358650bb69Smrgif (echo >conf$$.file) 2>/dev/null; then 55368650bb69Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 55372c7c4e3dSmrg as_ln_s='ln -s' 55388650bb69Smrg # ... but there are two gotchas: 55398650bb69Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 55408650bb69Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 55418650bb69Smrg # In both cases, we have to default to `cp -p'. 55428650bb69Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 55438650bb69Smrg as_ln_s='cp -p' 55448650bb69Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 55458650bb69Smrg as_ln_s=ln 55468650bb69Smrg else 55478650bb69Smrg as_ln_s='cp -p' 55482c7c4e3dSmrg fi 55492c7c4e3dSmrgelse 55502c7c4e3dSmrg as_ln_s='cp -p' 55512c7c4e3dSmrgfi 55528650bb69Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 55538650bb69Smrgrmdir conf$$.dir 2>/dev/null 55542c7c4e3dSmrg 55552c7c4e3dSmrgif mkdir -p . 2>/dev/null; then 55562c7c4e3dSmrg as_mkdir_p=: 55572c7c4e3dSmrgelse 55582c7c4e3dSmrg test -d ./-p && rmdir ./-p 55592c7c4e3dSmrg as_mkdir_p=false 55602c7c4e3dSmrgfi 55612c7c4e3dSmrg 55628650bb69Smrgif test -x / >/dev/null 2>&1; then 55638650bb69Smrg as_test_x='test -x' 55648650bb69Smrgelse 55658650bb69Smrg if ls -dL / >/dev/null 2>&1; then 55668650bb69Smrg as_ls_L_option=L 55678650bb69Smrg else 55688650bb69Smrg as_ls_L_option= 55698650bb69Smrg fi 55708650bb69Smrg as_test_x=' 55718650bb69Smrg eval sh -c '\'' 55728650bb69Smrg if test -d "$1"; then 55738650bb69Smrg test -d "$1/."; 55748650bb69Smrg else 55758650bb69Smrg case $1 in 55768650bb69Smrg -*)set "./$1";; 55778650bb69Smrg esac; 55788650bb69Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 55798650bb69Smrg ???[sx]*):;;*)false;;esac;fi 55808650bb69Smrg '\'' sh 55818650bb69Smrg ' 55828650bb69Smrgfi 55838650bb69Smrgas_executable_p=$as_test_x 55842c7c4e3dSmrg 55852c7c4e3dSmrg# Sed expression to map a string onto a valid CPP name. 55862c7c4e3dSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 55872c7c4e3dSmrg 55882c7c4e3dSmrg# Sed expression to map a string onto a valid variable name. 55892c7c4e3dSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 55902c7c4e3dSmrg 55912c7c4e3dSmrg 55922c7c4e3dSmrgexec 6>&1 55932c7c4e3dSmrg 55948650bb69Smrg# Save the log message, to keep $[0] and so on meaningful, and to 55952c7c4e3dSmrg# report actual input values of CONFIG_FILES etc. instead of their 55968650bb69Smrg# values after options handling. 55978650bb69Smrgac_log=" 55988650bb69SmrgThis file was extended by xcmsdb $as_me 1.0.2, which was 55998650bb69Smrggenerated by GNU Autoconf 2.63. Invocation command line was 56002c7c4e3dSmrg 56012c7c4e3dSmrg CONFIG_FILES = $CONFIG_FILES 56022c7c4e3dSmrg CONFIG_HEADERS = $CONFIG_HEADERS 56032c7c4e3dSmrg CONFIG_LINKS = $CONFIG_LINKS 56042c7c4e3dSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 56052c7c4e3dSmrg $ $0 $@ 56062c7c4e3dSmrg 56078650bb69Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 56088650bb69Smrg" 56098650bb69Smrg 56102c7c4e3dSmrg_ACEOF 56112c7c4e3dSmrg 56128650bb69Smrgcase $ac_config_files in *" 56138650bb69Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 56148650bb69Smrgesac 56152c7c4e3dSmrg 56168650bb69Smrgcase $ac_config_headers in *" 56178650bb69Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 56188650bb69Smrgesac 56192c7c4e3dSmrg 56202c7c4e3dSmrg 56218650bb69Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 56228650bb69Smrg# Files that config.status was made for. 56238650bb69Smrgconfig_files="$ac_config_files" 56248650bb69Smrgconfig_headers="$ac_config_headers" 56258650bb69Smrgconfig_commands="$ac_config_commands" 56262c7c4e3dSmrg 56278650bb69Smrg_ACEOF 56282c7c4e3dSmrg 56298650bb69Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 56302c7c4e3dSmrgac_cs_usage="\ 56312c7c4e3dSmrg\`$as_me' instantiates files from templates according to the 56322c7c4e3dSmrgcurrent configuration. 56332c7c4e3dSmrg 56348650bb69SmrgUsage: $0 [OPTION]... [FILE]... 56352c7c4e3dSmrg 56362c7c4e3dSmrg -h, --help print this help, then exit 56378650bb69Smrg -V, --version print version number and configuration settings, then exit 56388650bb69Smrg -q, --quiet, --silent 56398650bb69Smrg do not print progress messages 56402c7c4e3dSmrg -d, --debug don't remove temporary files 56412c7c4e3dSmrg --recheck update $as_me by reconfiguring in the same conditions 56428650bb69Smrg --file=FILE[:TEMPLATE] 56438650bb69Smrg instantiate the configuration file FILE 56448650bb69Smrg --header=FILE[:TEMPLATE] 56458650bb69Smrg instantiate the configuration header FILE 56462c7c4e3dSmrg 56472c7c4e3dSmrgConfiguration files: 56482c7c4e3dSmrg$config_files 56492c7c4e3dSmrg 56502c7c4e3dSmrgConfiguration headers: 56512c7c4e3dSmrg$config_headers 56522c7c4e3dSmrg 56532c7c4e3dSmrgConfiguration commands: 56542c7c4e3dSmrg$config_commands 56552c7c4e3dSmrg 56562c7c4e3dSmrgReport bugs to <bug-autoconf@gnu.org>." 56572c7c4e3dSmrg 56588650bb69Smrg_ACEOF 56598650bb69Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 56602c7c4e3dSmrgac_cs_version="\\ 56618650bb69Smrgxcmsdb config.status 1.0.2 56628650bb69Smrgconfigured by $0, generated by GNU Autoconf 2.63, 56638650bb69Smrg with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 56642c7c4e3dSmrg 56658650bb69SmrgCopyright (C) 2008 Free Software Foundation, Inc. 56662c7c4e3dSmrgThis config.status script is free software; the Free Software Foundation 56672c7c4e3dSmrggives unlimited permission to copy, distribute and modify it." 56688650bb69Smrg 56698650bb69Smrgac_pwd='$ac_pwd' 56708650bb69Smrgsrcdir='$srcdir' 56718650bb69SmrgINSTALL='$INSTALL' 56728650bb69SmrgMKDIR_P='$MKDIR_P' 56738650bb69SmrgAWK='$AWK' 56748650bb69Smrgtest -n "\$AWK" || AWK=awk 56752c7c4e3dSmrg_ACEOF 56762c7c4e3dSmrg 56778650bb69Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 56788650bb69Smrg# The default lists apply if the user does not specify any file. 56792c7c4e3dSmrgac_need_defaults=: 56802c7c4e3dSmrgwhile test $# != 0 56812c7c4e3dSmrgdo 56822c7c4e3dSmrg case $1 in 56832c7c4e3dSmrg --*=*) 56848650bb69Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 56858650bb69Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 56862c7c4e3dSmrg ac_shift=: 56872c7c4e3dSmrg ;; 56888650bb69Smrg *) 56892c7c4e3dSmrg ac_option=$1 56902c7c4e3dSmrg ac_optarg=$2 56912c7c4e3dSmrg ac_shift=shift 56922c7c4e3dSmrg ;; 56932c7c4e3dSmrg esac 56942c7c4e3dSmrg 56952c7c4e3dSmrg case $ac_option in 56962c7c4e3dSmrg # Handling of the options. 56972c7c4e3dSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 56982c7c4e3dSmrg ac_cs_recheck=: ;; 56998650bb69Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 57008650bb69Smrg $as_echo "$ac_cs_version"; exit ;; 57018650bb69Smrg --debug | --debu | --deb | --de | --d | -d ) 57022c7c4e3dSmrg debug=: ;; 57032c7c4e3dSmrg --file | --fil | --fi | --f ) 57042c7c4e3dSmrg $ac_shift 57058650bb69Smrg case $ac_optarg in 57068650bb69Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 57078650bb69Smrg esac 57088650bb69Smrg CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 57092c7c4e3dSmrg ac_need_defaults=false;; 57102c7c4e3dSmrg --header | --heade | --head | --hea ) 57112c7c4e3dSmrg $ac_shift 57128650bb69Smrg case $ac_optarg in 57138650bb69Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 57148650bb69Smrg esac 57158650bb69Smrg CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 57162c7c4e3dSmrg ac_need_defaults=false;; 57178650bb69Smrg --he | --h) 57188650bb69Smrg # Conflict between --help and --header 57198650bb69Smrg { $as_echo "$as_me: error: ambiguous option: $1 57208650bb69SmrgTry \`$0 --help' for more information." >&2 57218650bb69Smrg { (exit 1); exit 1; }; };; 57228650bb69Smrg --help | --hel | -h ) 57238650bb69Smrg $as_echo "$ac_cs_usage"; exit ;; 57242c7c4e3dSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 57252c7c4e3dSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 57262c7c4e3dSmrg ac_cs_silent=: ;; 57272c7c4e3dSmrg 57282c7c4e3dSmrg # This is an error. 57298650bb69Smrg -*) { $as_echo "$as_me: error: unrecognized option: $1 57308650bb69SmrgTry \`$0 --help' for more information." >&2 57312c7c4e3dSmrg { (exit 1); exit 1; }; } ;; 57322c7c4e3dSmrg 57338650bb69Smrg *) ac_config_targets="$ac_config_targets $1" 57348650bb69Smrg ac_need_defaults=false ;; 57352c7c4e3dSmrg 57362c7c4e3dSmrg esac 57372c7c4e3dSmrg shift 57382c7c4e3dSmrgdone 57392c7c4e3dSmrg 57402c7c4e3dSmrgac_configure_extra_args= 57412c7c4e3dSmrg 57422c7c4e3dSmrgif $ac_cs_silent; then 57432c7c4e3dSmrg exec 6>/dev/null 57442c7c4e3dSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 57452c7c4e3dSmrgfi 57462c7c4e3dSmrg 57472c7c4e3dSmrg_ACEOF 57488650bb69Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57492c7c4e3dSmrgif \$ac_cs_recheck; then 57508650bb69Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 57518650bb69Smrg shift 57528650bb69Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 57538650bb69Smrg CONFIG_SHELL='$SHELL' 57548650bb69Smrg export CONFIG_SHELL 57558650bb69Smrg exec "\$@" 57562c7c4e3dSmrgfi 57572c7c4e3dSmrg 57582c7c4e3dSmrg_ACEOF 57598650bb69Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57608650bb69Smrgexec 5>>config.log 57618650bb69Smrg{ 57628650bb69Smrg echo 57638650bb69Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 57648650bb69Smrg## Running $as_me. ## 57658650bb69Smrg_ASBOX 57668650bb69Smrg $as_echo "$ac_log" 57678650bb69Smrg} >&5 57682c7c4e3dSmrg 57698650bb69Smrg_ACEOF 57708650bb69Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 57712c7c4e3dSmrg# 57728650bb69Smrg# INIT-COMMANDS 57732c7c4e3dSmrg# 57742c7c4e3dSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 57752c7c4e3dSmrg 57762c7c4e3dSmrg_ACEOF 57772c7c4e3dSmrg 57788650bb69Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 57792c7c4e3dSmrg 57808650bb69Smrg# Handling of arguments. 57812c7c4e3dSmrgfor ac_config_target in $ac_config_targets 57822c7c4e3dSmrgdo 57838650bb69Smrg case $ac_config_target in 57848650bb69Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 57858650bb69Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 57868650bb69Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 57878650bb69Smrg 57888650bb69Smrg *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 57898650bb69Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 57902c7c4e3dSmrg { (exit 1); exit 1; }; };; 57912c7c4e3dSmrg esac 57922c7c4e3dSmrgdone 57932c7c4e3dSmrg 57948650bb69Smrg 57952c7c4e3dSmrg# If the user did not use the arguments to specify the items to instantiate, 57962c7c4e3dSmrg# then the envvar interface is used. Set only those that are not. 57972c7c4e3dSmrg# We use the long form for the default assignment because of an extremely 57982c7c4e3dSmrg# bizarre bug on SunOS 4.1.3. 57992c7c4e3dSmrgif $ac_need_defaults; then 58002c7c4e3dSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 58012c7c4e3dSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 58022c7c4e3dSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 58032c7c4e3dSmrgfi 58042c7c4e3dSmrg 58052c7c4e3dSmrg# Have a temporary directory for convenience. Make it in the build tree 58068650bb69Smrg# simply because there is no reason against having it here, and in addition, 58072c7c4e3dSmrg# creating and moving files from /tmp can sometimes cause problems. 58088650bb69Smrg# Hook for its removal unless debugging. 58098650bb69Smrg# Note that there is a small window in which the directory will not be cleaned: 58108650bb69Smrg# after its creation but before its name has been assigned to `$tmp'. 58112c7c4e3dSmrg$debug || 58122c7c4e3dSmrg{ 58138650bb69Smrg tmp= 58148650bb69Smrg trap 'exit_status=$? 58158650bb69Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 58168650bb69Smrg' 0 58172c7c4e3dSmrg trap '{ (exit 1); exit 1; }' 1 2 13 15 58182c7c4e3dSmrg} 58192c7c4e3dSmrg# Create a (secure) tmp directory for tmp files. 58202c7c4e3dSmrg 58212c7c4e3dSmrg{ 58228650bb69Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 58232c7c4e3dSmrg test -n "$tmp" && test -d "$tmp" 58242c7c4e3dSmrg} || 58252c7c4e3dSmrg{ 58268650bb69Smrg tmp=./conf$$-$RANDOM 58278650bb69Smrg (umask 077 && mkdir "$tmp") 58282c7c4e3dSmrg} || 58292c7c4e3dSmrg{ 58308650bb69Smrg $as_echo "$as_me: cannot create a temporary directory in ." >&2 58312c7c4e3dSmrg { (exit 1); exit 1; } 58322c7c4e3dSmrg} 58332c7c4e3dSmrg 58348650bb69Smrg# Set up the scripts for CONFIG_FILES section. 58358650bb69Smrg# No need to generate them if there are no CONFIG_FILES. 58368650bb69Smrg# This happens for instance with `./config.status config.h'. 58378650bb69Smrgif test -n "$CONFIG_FILES"; then 58388650bb69Smrg 58398650bb69Smrg 58408650bb69Smrgac_cr=' 58418650bb69Smrg' 58428650bb69Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 58438650bb69Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 58448650bb69Smrg ac_cs_awk_cr='\\r' 58458650bb69Smrgelse 58468650bb69Smrg ac_cs_awk_cr=$ac_cr 58478650bb69Smrgfi 58488650bb69Smrg 58492c7c4e3dSmrgecho 'BEGIN {' >"$tmp/subs1.awk" && 58502c7c4e3dSmrg_ACEOF 58512c7c4e3dSmrg 58528650bb69Smrg 58538650bb69Smrg{ 58548650bb69Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 58558650bb69Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 58568650bb69Smrg echo "_ACEOF" 58578650bb69Smrg} >conf$$subs.sh || 58588650bb69Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 58598650bb69Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 58608650bb69Smrg { (exit 1); exit 1; }; } 58618650bb69Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 58628650bb69Smrgac_delim='%!_!# ' 58638650bb69Smrgfor ac_last_try in false false false false false :; do 58648650bb69Smrg . ./conf$$subs.sh || 58658650bb69Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 58668650bb69Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 58672c7c4e3dSmrg { (exit 1); exit 1; }; } 58688650bb69Smrg 58698650bb69Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 58708650bb69Smrg if test $ac_delim_n = $ac_delim_num; then 58718650bb69Smrg break 58728650bb69Smrg elif $ac_last_try; then 58738650bb69Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 58748650bb69Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 58758650bb69Smrg { (exit 1); exit 1; }; } 58768650bb69Smrg else 58778650bb69Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 58788650bb69Smrg fi 58798650bb69Smrgdone 58802c7c4e3dSmrgrm -f conf$$subs.sh 58818650bb69Smrg 58828650bb69Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 58832c7c4e3dSmrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 58848650bb69Smrg_ACEOF 58858650bb69Smrgsed -n ' 58868650bb69Smrgh 58878650bb69Smrgs/^/S["/; s/!.*/"]=/ 58888650bb69Smrgp 58898650bb69Smrgg 58908650bb69Smrgs/^[^!]*!// 58918650bb69Smrg:repl 58928650bb69Smrgt repl 58938650bb69Smrgs/'"$ac_delim"'$// 58948650bb69Smrgt delim 58958650bb69Smrg:nl 58968650bb69Smrgh 58978650bb69Smrgs/\(.\{148\}\).*/\1/ 58988650bb69Smrgt more1 58998650bb69Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 59008650bb69Smrgp 59018650bb69Smrgn 59028650bb69Smrgb repl 59038650bb69Smrg:more1 59048650bb69Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 59058650bb69Smrgp 59068650bb69Smrgg 59078650bb69Smrgs/.\{148\}// 59088650bb69Smrgt nl 59098650bb69Smrg:delim 59108650bb69Smrgh 59118650bb69Smrgs/\(.\{148\}\).*/\1/ 59128650bb69Smrgt more2 59138650bb69Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 59148650bb69Smrgp 59158650bb69Smrgb 59168650bb69Smrg:more2 59178650bb69Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 59188650bb69Smrgp 59198650bb69Smrgg 59208650bb69Smrgs/.\{148\}// 59218650bb69Smrgt delim 59228650bb69Smrg' <conf$$subs.awk | sed ' 59238650bb69Smrg/^[^""]/{ 59248650bb69Smrg N 59258650bb69Smrg s/\n// 59268650bb69Smrg} 59278650bb69Smrg' >>$CONFIG_STATUS || ac_write_fail=1 59288650bb69Smrgrm -f conf$$subs.awk 59298650bb69Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59308650bb69Smrg_ACAWK 59318650bb69Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 59328650bb69Smrg for (key in S) S_is_set[key] = 1 59332c7c4e3dSmrg FS = "" 59348650bb69Smrg 59358650bb69Smrg} 59368650bb69Smrg{ 59378650bb69Smrg line = $ 0 59388650bb69Smrg nfields = split(line, field, "@") 59398650bb69Smrg substed = 0 59408650bb69Smrg len = length(field[1]) 59418650bb69Smrg for (i = 2; i < nfields; i++) { 59428650bb69Smrg key = field[i] 59438650bb69Smrg keylen = length(key) 59448650bb69Smrg if (S_is_set[key]) { 59458650bb69Smrg value = S[key] 59468650bb69Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 59478650bb69Smrg len += length(value) + length(field[++i]) 59488650bb69Smrg substed = 1 59498650bb69Smrg } else 59508650bb69Smrg len += 1 + keylen 59518650bb69Smrg } 59528650bb69Smrg 59538650bb69Smrg print line 59548650bb69Smrg} 59558650bb69Smrg 59568650bb69Smrg_ACAWK 59578650bb69Smrg_ACEOF 59588650bb69Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59598650bb69Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 59608650bb69Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 59618650bb69Smrgelse 59628650bb69Smrg cat 59638650bb69Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 59648650bb69Smrg || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 59658650bb69Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;} 59668650bb69Smrg { (exit 1); exit 1; }; } 59678650bb69Smrg_ACEOF 59688650bb69Smrg 59698650bb69Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 59708650bb69Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 59718650bb69Smrg# trailing colons and then remove the whole line if VPATH becomes empty 59728650bb69Smrg# (actually we leave an empty line to preserve line numbers). 59738650bb69Smrgif test "x$srcdir" = x.; then 59748650bb69Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 59758650bb69Smrgs/:*\$(srcdir):*/:/ 59768650bb69Smrgs/:*\${srcdir}:*/:/ 59778650bb69Smrgs/:*@srcdir@:*/:/ 59788650bb69Smrgs/^\([^=]*=[ ]*\):*/\1/ 59798650bb69Smrgs/:*$// 59808650bb69Smrgs/^[^=]*=[ ]*$// 59818650bb69Smrg}' 59828650bb69Smrgfi 59838650bb69Smrg 59842c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59852c7c4e3dSmrgfi # test -n "$CONFIG_FILES" 59868650bb69Smrg 59878650bb69Smrg# Set up the scripts for CONFIG_HEADERS section. 59888650bb69Smrg# No need to generate them if there are no CONFIG_HEADERS. 59898650bb69Smrg# This happens for instance with `./config.status Makefile'. 59908650bb69Smrgif test -n "$CONFIG_HEADERS"; then 59918650bb69Smrgcat >"$tmp/defines.awk" <<\_ACAWK || 59922c7c4e3dSmrgBEGIN { 59938650bb69Smrg_ACEOF 59948650bb69Smrg 59958650bb69Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as 59968650bb69Smrg# here-document in config.status, that substitutes the proper values into 59978650bb69Smrg# config.h.in to produce config.h. 59988650bb69Smrg 59998650bb69Smrg# Create a delimiter string that does not exist in confdefs.h, to ease 60008650bb69Smrg# handling of long lines. 60018650bb69Smrgac_delim='%!_!# ' 60028650bb69Smrgfor ac_last_try in false false :; do 60038650bb69Smrg ac_t=`sed -n "/$ac_delim/p" confdefs.h` 60048650bb69Smrg if test -z "$ac_t"; then 60058650bb69Smrg break 60068650bb69Smrg elif $ac_last_try; then 60078650bb69Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 60088650bb69Smrg$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 60098650bb69Smrg { (exit 1); exit 1; }; } 60108650bb69Smrg else 60118650bb69Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 60128650bb69Smrg fi 60138650bb69Smrgdone 60148650bb69Smrg 60158650bb69Smrg# For the awk script, D is an array of macro values keyed by name, 60168650bb69Smrg# likewise P contains macro parameters if any. Preserve backslash 60178650bb69Smrg# newline sequences. 60188650bb69Smrg 60198650bb69Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 60208650bb69Smrgsed -n ' 60218650bb69Smrgs/.\{148\}/&'"$ac_delim"'/g 60228650bb69Smrgt rset 60238650bb69Smrg:rset 60248650bb69Smrgs/^[ ]*#[ ]*define[ ][ ]*/ / 60258650bb69Smrgt def 60268650bb69Smrgd 60278650bb69Smrg:def 60288650bb69Smrgs/\\$// 60298650bb69Smrgt bsnl 60308650bb69Smrgs/["\\]/\\&/g 60318650bb69Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 60328650bb69SmrgD["\1"]=" \3"/p 60338650bb69Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 60348650bb69Smrgd 60358650bb69Smrg:bsnl 60368650bb69Smrgs/["\\]/\\&/g 60378650bb69Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 60388650bb69SmrgD["\1"]=" \3\\\\\\n"\\/p 60398650bb69Smrgt cont 60408650bb69Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 60418650bb69Smrgt cont 60428650bb69Smrgd 60438650bb69Smrg:cont 60448650bb69Smrgn 60458650bb69Smrgs/.\{148\}/&'"$ac_delim"'/g 60468650bb69Smrgt clear 60478650bb69Smrg:clear 60488650bb69Smrgs/\\$// 60498650bb69Smrgt bsnlc 60508650bb69Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 60518650bb69Smrgd 60528650bb69Smrg:bsnlc 60538650bb69Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 60548650bb69Smrgb cont 60558650bb69Smrg' <confdefs.h | sed ' 60568650bb69Smrgs/'"$ac_delim"'/"\\\ 60578650bb69Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 60588650bb69Smrg 60598650bb69Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 60608650bb69Smrg for (key in D) D_is_set[key] = 1 60618650bb69Smrg FS = "" 60628650bb69Smrg} 60638650bb69Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 60648650bb69Smrg line = \$ 0 60658650bb69Smrg split(line, arg, " ") 60668650bb69Smrg if (arg[1] == "#") { 60678650bb69Smrg defundef = arg[2] 60688650bb69Smrg mac1 = arg[3] 60698650bb69Smrg } else { 60708650bb69Smrg defundef = substr(arg[1], 2) 60718650bb69Smrg mac1 = arg[2] 60728650bb69Smrg } 60738650bb69Smrg split(mac1, mac2, "(") #) 60748650bb69Smrg macro = mac2[1] 60758650bb69Smrg prefix = substr(line, 1, index(line, defundef) - 1) 60768650bb69Smrg if (D_is_set[macro]) { 60778650bb69Smrg # Preserve the white space surrounding the "#". 60788650bb69Smrg print prefix "define", macro P[macro] D[macro] 60798650bb69Smrg next 60808650bb69Smrg } else { 60818650bb69Smrg # Replace #undef with comments. This is necessary, for example, 60828650bb69Smrg # in the case of _POSIX_SOURCE, which is predefined and required 60838650bb69Smrg # on some systems where configure will not decide to define it. 60848650bb69Smrg if (defundef == "undef") { 60858650bb69Smrg print "/*", prefix defundef, macro, "*/" 60868650bb69Smrg next 60878650bb69Smrg } 60888650bb69Smrg } 60898650bb69Smrg} 60908650bb69Smrg{ print } 60918650bb69Smrg_ACAWK 60928650bb69Smrg_ACEOF 60938650bb69Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 60948650bb69Smrg { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 60958650bb69Smrg$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 60968650bb69Smrg { (exit 1); exit 1; }; } 60978650bb69Smrgfi # test -n "$CONFIG_HEADERS" 60988650bb69Smrg 60998650bb69Smrg 61008650bb69Smrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 61018650bb69Smrgshift 61028650bb69Smrgfor ac_tag 61038650bb69Smrgdo 61048650bb69Smrg case $ac_tag in 61058650bb69Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 61068650bb69Smrg esac 61078650bb69Smrg case $ac_mode$ac_tag in 61088650bb69Smrg :[FHL]*:*);; 61098650bb69Smrg :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 61108650bb69Smrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 61118650bb69Smrg { (exit 1); exit 1; }; };; 61128650bb69Smrg :[FH]-) ac_tag=-:-;; 61138650bb69Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 61148650bb69Smrg esac 61158650bb69Smrg ac_save_IFS=$IFS 61168650bb69Smrg IFS=: 61178650bb69Smrg set x $ac_tag 61188650bb69Smrg IFS=$ac_save_IFS 61198650bb69Smrg shift 61208650bb69Smrg ac_file=$1 61218650bb69Smrg shift 61228650bb69Smrg 61238650bb69Smrg case $ac_mode in 61248650bb69Smrg :L) ac_source=$1;; 61258650bb69Smrg :[FH]) 61268650bb69Smrg ac_file_inputs= 61278650bb69Smrg for ac_f 61288650bb69Smrg do 61298650bb69Smrg case $ac_f in 61308650bb69Smrg -) ac_f="$tmp/stdin";; 61318650bb69Smrg *) # Look for the file first in the build tree, then in the source tree 61328650bb69Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 61338650bb69Smrg # because $ac_f cannot contain `:'. 61348650bb69Smrg test -f "$ac_f" || 61358650bb69Smrg case $ac_f in 61368650bb69Smrg [\\/$]*) false;; 61378650bb69Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 61388650bb69Smrg esac || 61398650bb69Smrg { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 61408650bb69Smrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 61418650bb69Smrg { (exit 1); exit 1; }; };; 61428650bb69Smrg esac 61438650bb69Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 61448650bb69Smrg ac_file_inputs="$ac_file_inputs '$ac_f'" 61458650bb69Smrg done 61468650bb69Smrg 61478650bb69Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 61488650bb69Smrg # use $as_me), people would be surprised to read: 61498650bb69Smrg # /* config.h. Generated by config.status. */ 61508650bb69Smrg configure_input='Generated from '` 61518650bb69Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 61528650bb69Smrg `' by configure.' 61538650bb69Smrg if test x"$ac_file" != x-; then 61548650bb69Smrg configure_input="$ac_file. $configure_input" 61558650bb69Smrg { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 61568650bb69Smrg$as_echo "$as_me: creating $ac_file" >&6;} 61578650bb69Smrg fi 61588650bb69Smrg # Neutralize special characters interpreted by sed in replacement strings. 61598650bb69Smrg case $configure_input in #( 61608650bb69Smrg *\&* | *\|* | *\\* ) 61618650bb69Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 61628650bb69Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 61638650bb69Smrg *) ac_sed_conf_input=$configure_input;; 61648650bb69Smrg esac 61658650bb69Smrg 61668650bb69Smrg case $ac_tag in 61678650bb69Smrg *:-:* | *:-) cat >"$tmp/stdin" \ 61688650bb69Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 61698650bb69Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 61708650bb69Smrg { (exit 1); exit 1; }; } ;; 61718650bb69Smrg esac 61722c7c4e3dSmrg ;; 61732c7c4e3dSmrg esac 61748650bb69Smrg 61752c7c4e3dSmrg ac_dir=`$as_dirname -- "$ac_file" || 61762c7c4e3dSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 61772c7c4e3dSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 61788650bb69Smrg X"$ac_file" : 'X\(//\)$' \| \ 61798650bb69Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 61808650bb69Smrg$as_echo X"$ac_file" | 61818650bb69Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 61828650bb69Smrg s//\1/ 61838650bb69Smrg q 61848650bb69Smrg } 61858650bb69Smrg /^X\(\/\/\)[^/].*/{ 61868650bb69Smrg s//\1/ 61878650bb69Smrg q 61888650bb69Smrg } 61898650bb69Smrg /^X\(\/\/\)$/{ 61908650bb69Smrg s//\1/ 61918650bb69Smrg q 61928650bb69Smrg } 61938650bb69Smrg /^X\(\/\).*/{ 61948650bb69Smrg s//\1/ 61958650bb69Smrg q 61968650bb69Smrg } 61978650bb69Smrg s/.*/./; q'` 61988650bb69Smrg { as_dir="$ac_dir" 61998650bb69Smrg case $as_dir in #( 62008650bb69Smrg -*) as_dir=./$as_dir;; 62018650bb69Smrg esac 62022c7c4e3dSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 62038650bb69Smrg as_dirs= 62048650bb69Smrg while :; do 62058650bb69Smrg case $as_dir in #( 62068650bb69Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 62078650bb69Smrg *) as_qdir=$as_dir;; 62088650bb69Smrg esac 62098650bb69Smrg as_dirs="'$as_qdir' $as_dirs" 62102c7c4e3dSmrg as_dir=`$as_dirname -- "$as_dir" || 62112c7c4e3dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 62122c7c4e3dSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 62138650bb69Smrg X"$as_dir" : 'X\(//\)$' \| \ 62148650bb69Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 62158650bb69Smrg$as_echo X"$as_dir" | 62168650bb69Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 62178650bb69Smrg s//\1/ 62188650bb69Smrg q 62198650bb69Smrg } 62208650bb69Smrg /^X\(\/\/\)[^/].*/{ 62218650bb69Smrg s//\1/ 62228650bb69Smrg q 62238650bb69Smrg } 62248650bb69Smrg /^X\(\/\/\)$/{ 62258650bb69Smrg s//\1/ 62268650bb69Smrg q 62278650bb69Smrg } 62288650bb69Smrg /^X\(\/\).*/{ 62298650bb69Smrg s//\1/ 62308650bb69Smrg q 62318650bb69Smrg } 62328650bb69Smrg s/.*/./; q'` 62332c7c4e3dSmrg test -d "$as_dir" && break 62348650bb69Smrg done 62358650bb69Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 62368650bb69Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 62372c7c4e3dSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 62382c7c4e3dSmrg { (exit 1); exit 1; }; }; } 62392c7c4e3dSmrg ac_builddir=. 62408650bb69Smrg 62418650bb69Smrgcase "$ac_dir" in 62428650bb69Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 62438650bb69Smrg*) 62448650bb69Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 62458650bb69Smrg # A ".." for each directory in $ac_dir_suffix. 62468650bb69Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 62478650bb69Smrg case $ac_top_builddir_sub in 62488650bb69Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 62498650bb69Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 62508650bb69Smrg esac ;; 62518650bb69Smrgesac 62528650bb69Smrgac_abs_top_builddir=$ac_pwd 62538650bb69Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 62548650bb69Smrg# for backward compatibility: 62552c7c4e3dSmrgac_top_builddir=$ac_top_build_prefix 62562c7c4e3dSmrg 62578650bb69Smrgcase $srcdir in 62582c7c4e3dSmrg .) # We are building in place. 62598650bb69Smrg ac_srcdir=. 62608650bb69Smrg ac_top_srcdir=$ac_top_builddir_sub 62618650bb69Smrg ac_abs_top_srcdir=$ac_pwd ;; 62622c7c4e3dSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 62638650bb69Smrg ac_srcdir=$srcdir$ac_dir_suffix; 62648650bb69Smrg ac_top_srcdir=$srcdir 62658650bb69Smrg ac_abs_top_srcdir=$srcdir ;; 62668650bb69Smrg *) # Relative name. 62678650bb69Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 62688650bb69Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 62692c7c4e3dSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 62708650bb69Smrgesac 62712c7c4e3dSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 62722c7c4e3dSmrg 62738650bb69Smrg 62748650bb69Smrg case $ac_mode in 62758650bb69Smrg :F) 62768650bb69Smrg # 62778650bb69Smrg # CONFIG_FILE 62782c7c4e3dSmrg # 62792c7c4e3dSmrg 62802c7c4e3dSmrg case $INSTALL in 62818650bb69Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 62822c7c4e3dSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 62838650bb69Smrg esac 62848650bb69Smrg ac_MKDIR_P=$MKDIR_P 62858650bb69Smrg case $MKDIR_P in 62868650bb69Smrg [\\/$]* | ?:[\\/]* ) ;; 62878650bb69Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 62888650bb69Smrg esac 62892c7c4e3dSmrg_ACEOF 62908650bb69Smrg 62918650bb69Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 62928650bb69Smrg# If the template does not know about datarootdir, expand it. 62938650bb69Smrg# FIXME: This hack should be removed a few years after 2.60. 62948650bb69Smrgac_datarootdir_hack=; ac_datarootdir_seen= 62958650bb69Smrg 62968650bb69Smrgac_sed_dataroot=' 62978650bb69Smrg/datarootdir/ { 62988650bb69Smrg p 62998650bb69Smrg q 63008650bb69Smrg} 63018650bb69Smrg/@datadir@/p 63028650bb69Smrg/@docdir@/p 63038650bb69Smrg/@infodir@/p 63048650bb69Smrg/@localedir@/p 63058650bb69Smrg/@mandir@/p 63068650bb69Smrg' 63078650bb69Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 63088650bb69Smrg*datarootdir*) ac_datarootdir_seen=yes;; 63098650bb69Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 63108650bb69Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 63112c7c4e3dSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 63128650bb69Smrg_ACEOF 63138650bb69Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 63148650bb69Smrg ac_datarootdir_hack=' 63158650bb69Smrg s&@datadir@&$datadir&g 63168650bb69Smrg s&@docdir@&$docdir&g 63178650bb69Smrg s&@infodir@&$infodir&g 63188650bb69Smrg s&@localedir@&$localedir&g 63198650bb69Smrg s&@mandir@&$mandir&g 63208650bb69Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 63218650bb69Smrgesac 63228650bb69Smrg_ACEOF 63238650bb69Smrg 63248650bb69Smrg# Neutralize VPATH when `$srcdir' = `.'. 63258650bb69Smrg# Shell code in configure.ac might set extrasub. 63268650bb69Smrg# FIXME: do we really want to maintain this feature? 63278650bb69Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 63282c7c4e3dSmrgac_sed_extra="$ac_vpsub 63292c7c4e3dSmrg$extrasub 63308650bb69Smrg_ACEOF 63312c7c4e3dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 63322c7c4e3dSmrg:t 63338650bb69Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 63348650bb69Smrgs|@configure_input@|$ac_sed_conf_input|;t t 63358650bb69Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 63368650bb69Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 63378650bb69Smrgs&@srcdir@&$ac_srcdir&;t t 63388650bb69Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 63398650bb69Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 63408650bb69Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 63418650bb69Smrgs&@builddir@&$ac_builddir&;t t 63428650bb69Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 63438650bb69Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 63448650bb69Smrgs&@INSTALL@&$ac_INSTALL&;t t 63458650bb69Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 63468650bb69Smrg$ac_datarootdir_hack 63478650bb69Smrg" 63488650bb69Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 63498650bb69Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 63508650bb69Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 63512c7c4e3dSmrg { (exit 1); exit 1; }; } 63528650bb69Smrg 63538650bb69Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 63548650bb69Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 63558650bb69Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 63568650bb69Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 63578650bb69Smrgwhich seems to be undefined. Please make sure it is defined." >&5 63588650bb69Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 63592c7c4e3dSmrgwhich seems to be undefined. Please make sure it is defined." >&2;} 63608650bb69Smrg 63612c7c4e3dSmrg rm -f "$tmp/stdin" 63628650bb69Smrg case $ac_file in 63638650bb69Smrg -) cat "$tmp/out" && rm -f "$tmp/out";; 63648650bb69Smrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 63658650bb69Smrg esac \ 63668650bb69Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 63672c7c4e3dSmrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 63688650bb69Smrg { (exit 1); exit 1; }; } 63698650bb69Smrg ;; 63708650bb69Smrg :H) 63718650bb69Smrg # 63728650bb69Smrg # CONFIG_HEADER 63732c7c4e3dSmrg # 63748650bb69Smrg if test x"$ac_file" != x-; then 63758650bb69Smrg { 63768650bb69Smrg $as_echo "/* $configure_input */" \ 63778650bb69Smrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 63788650bb69Smrg } >"$tmp/config.h" \ 63798650bb69Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 63808650bb69Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 63818650bb69Smrg { (exit 1); exit 1; }; } 63828650bb69Smrg if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 63838650bb69Smrg { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 63842c7c4e3dSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 63858650bb69Smrg else 63868650bb69Smrg rm -f "$ac_file" 63878650bb69Smrg mv "$tmp/config.h" "$ac_file" \ 63888650bb69Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 63898650bb69Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 63902c7c4e3dSmrg { (exit 1); exit 1; }; } 63912c7c4e3dSmrg fi 63928650bb69Smrg else 63938650bb69Smrg $as_echo "/* $configure_input */" \ 63948650bb69Smrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 63958650bb69Smrg || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 63968650bb69Smrg$as_echo "$as_me: error: could not create -" >&2;} 63972c7c4e3dSmrg { (exit 1); exit 1; }; } 63988650bb69Smrg fi 63998650bb69Smrg# Compute "$ac_file"'s index in $config_headers. 64002c7c4e3dSmrg_am_arg="$ac_file" 64012c7c4e3dSmrg_am_stamp_count=1 64022c7c4e3dSmrgfor _am_header in $config_headers :; do 64038650bb69Smrg case $_am_header in 64042c7c4e3dSmrg $_am_arg | $_am_arg:* ) 64052c7c4e3dSmrg break ;; 64062c7c4e3dSmrg * ) 64072c7c4e3dSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 64082c7c4e3dSmrg esac 64098650bb69Smrgdone 64108650bb69Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 64118650bb69Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 64128650bb69Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 64138650bb69Smrg X"$_am_arg" : 'X\(//\)$' \| \ 64148650bb69Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 64158650bb69Smrg$as_echo X"$_am_arg" | 64168650bb69Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 64178650bb69Smrg s//\1/ 64188650bb69Smrg q 64198650bb69Smrg } 64208650bb69Smrg /^X\(\/\/\)[^/].*/{ 64218650bb69Smrg s//\1/ 64228650bb69Smrg q 64238650bb69Smrg } 64248650bb69Smrg /^X\(\/\/\)$/{ 64258650bb69Smrg s//\1/ 64268650bb69Smrg q 64278650bb69Smrg } 64288650bb69Smrg /^X\(\/\).*/{ 64298650bb69Smrg s//\1/ 64308650bb69Smrg q 64318650bb69Smrg } 64328650bb69Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 64332c7c4e3dSmrg ;; 64348650bb69Smrg 64358650bb69Smrg :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 64368650bb69Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 64378650bb69Smrg ;; 64382c7c4e3dSmrg esac 64392c7c4e3dSmrg 64408650bb69Smrg 64418650bb69Smrg case $ac_file$ac_mode in 64428650bb69Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 64438650bb69Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 64448650bb69Smrg # are listed without --file. Let's play safe and only enable the eval 64458650bb69Smrg # if we detect the quoting. 64468650bb69Smrg case $CONFIG_FILES in 64478650bb69Smrg *\'*) eval set x "$CONFIG_FILES" ;; 64488650bb69Smrg *) set x $CONFIG_FILES ;; 64498650bb69Smrg esac 64508650bb69Smrg shift 64518650bb69Smrg for mf 64528650bb69Smrg do 64538650bb69Smrg # Strip MF so we end up with the name of the file. 64548650bb69Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 64558650bb69Smrg # Check whether this is an Automake generated Makefile or not. 64568650bb69Smrg # We used to match only the files named `Makefile.in', but 64578650bb69Smrg # some people rename them; so instead we look at the file content. 64588650bb69Smrg # Grep'ing the first line is not enough: some people post-process 64598650bb69Smrg # each Makefile.in and add a new line on top of each file to say so. 64608650bb69Smrg # Grep'ing the whole file is not good either: AIX grep has a line 64618650bb69Smrg # limit of 2048, but all sed's we know have understand at least 4000. 64628650bb69Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 64632c7c4e3dSmrg dirpart=`$as_dirname -- "$mf" || 64642c7c4e3dSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 64652c7c4e3dSmrg X"$mf" : 'X\(//\)[^/]' \| \ 64668650bb69Smrg X"$mf" : 'X\(//\)$' \| \ 64678650bb69Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 64688650bb69Smrg$as_echo X"$mf" | 64698650bb69Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 64708650bb69Smrg s//\1/ 64718650bb69Smrg q 64728650bb69Smrg } 64738650bb69Smrg /^X\(\/\/\)[^/].*/{ 64748650bb69Smrg s//\1/ 64758650bb69Smrg q 64768650bb69Smrg } 64778650bb69Smrg /^X\(\/\/\)$/{ 64788650bb69Smrg s//\1/ 64798650bb69Smrg q 64808650bb69Smrg } 64818650bb69Smrg /^X\(\/\).*/{ 64828650bb69Smrg s//\1/ 64838650bb69Smrg q 64848650bb69Smrg } 64858650bb69Smrg s/.*/./; q'` 64868650bb69Smrg else 64878650bb69Smrg continue 64888650bb69Smrg fi 64898650bb69Smrg # Extract the definition of DEPDIR, am__include, and am__quote 64908650bb69Smrg # from the Makefile without running `make'. 64918650bb69Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 64928650bb69Smrg test -z "$DEPDIR" && continue 64938650bb69Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 64948650bb69Smrg test -z "am__include" && continue 64958650bb69Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 64968650bb69Smrg # When using ansi2knr, U may be empty or an underscore; expand it 64978650bb69Smrg U=`sed -n 's/^U = //p' < "$mf"` 64988650bb69Smrg # Find all dependency output files, they are included files with 64998650bb69Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 65008650bb69Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 65018650bb69Smrg # expansion. 65028650bb69Smrg for file in `sed -n " 65038650bb69Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 65048650bb69Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 65058650bb69Smrg # Make sure the directory exists. 65068650bb69Smrg test -f "$dirpart/$file" && continue 65072c7c4e3dSmrg fdir=`$as_dirname -- "$file" || 65082c7c4e3dSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 65092c7c4e3dSmrg X"$file" : 'X\(//\)[^/]' \| \ 65108650bb69Smrg X"$file" : 'X\(//\)$' \| \ 65118650bb69Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 65128650bb69Smrg$as_echo X"$file" | 65138650bb69Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 65148650bb69Smrg s//\1/ 65158650bb69Smrg q 65168650bb69Smrg } 65178650bb69Smrg /^X\(\/\/\)[^/].*/{ 65188650bb69Smrg s//\1/ 65198650bb69Smrg q 65208650bb69Smrg } 65218650bb69Smrg /^X\(\/\/\)$/{ 65228650bb69Smrg s//\1/ 65238650bb69Smrg q 65248650bb69Smrg } 65258650bb69Smrg /^X\(\/\).*/{ 65268650bb69Smrg s//\1/ 65278650bb69Smrg q 65288650bb69Smrg } 65298650bb69Smrg s/.*/./; q'` 65308650bb69Smrg { as_dir=$dirpart/$fdir 65318650bb69Smrg case $as_dir in #( 65328650bb69Smrg -*) as_dir=./$as_dir;; 65338650bb69Smrg esac 65342c7c4e3dSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 65358650bb69Smrg as_dirs= 65368650bb69Smrg while :; do 65378650bb69Smrg case $as_dir in #( 65388650bb69Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 65398650bb69Smrg *) as_qdir=$as_dir;; 65408650bb69Smrg esac 65418650bb69Smrg as_dirs="'$as_qdir' $as_dirs" 65422c7c4e3dSmrg as_dir=`$as_dirname -- "$as_dir" || 65432c7c4e3dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 65442c7c4e3dSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 65458650bb69Smrg X"$as_dir" : 'X\(//\)$' \| \ 65468650bb69Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 65478650bb69Smrg$as_echo X"$as_dir" | 65488650bb69Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 65498650bb69Smrg s//\1/ 65508650bb69Smrg q 65518650bb69Smrg } 65528650bb69Smrg /^X\(\/\/\)[^/].*/{ 65538650bb69Smrg s//\1/ 65548650bb69Smrg q 65558650bb69Smrg } 65568650bb69Smrg /^X\(\/\/\)$/{ 65578650bb69Smrg s//\1/ 65588650bb69Smrg q 65598650bb69Smrg } 65608650bb69Smrg /^X\(\/\).*/{ 65618650bb69Smrg s//\1/ 65628650bb69Smrg q 65638650bb69Smrg } 65648650bb69Smrg s/.*/./; q'` 65652c7c4e3dSmrg test -d "$as_dir" && break 65668650bb69Smrg done 65678650bb69Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 65688650bb69Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 65692c7c4e3dSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 65708650bb69Smrg { (exit 1); exit 1; }; }; } 65718650bb69Smrg # echo "creating $dirpart/$file" 65728650bb69Smrg echo '# dummy' > "$dirpart/$file" 65732c7c4e3dSmrg done 65748650bb69Smrg done 65752c7c4e3dSmrg} 65768650bb69Smrg ;; 65772c7c4e3dSmrg 65788650bb69Smrg esac 65792c7c4e3dSmrgdone # for ac_tag 65802c7c4e3dSmrg 65812c7c4e3dSmrg 65822c7c4e3dSmrg{ (exit 0); exit 0; } 65832c7c4e3dSmrg_ACEOF 65842c7c4e3dSmrgchmod +x $CONFIG_STATUS 65852c7c4e3dSmrgac_clean_files=$ac_clean_files_save 65868650bb69Smrg 65878650bb69Smrgtest $ac_write_fail = 0 || 65888650bb69Smrg { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 65898650bb69Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 65908650bb69Smrg { (exit 1); exit 1; }; } 65912c7c4e3dSmrg 65922c7c4e3dSmrg 65932c7c4e3dSmrg# configure is writing to config.log, and then calls config.status. 65942c7c4e3dSmrg# config.status does its own redirection, appending to config.log. 65952c7c4e3dSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 65962c7c4e3dSmrg# by configure, so config.status won't be able to write to it; its 65972c7c4e3dSmrg# output is simply discarded. So we exec the FD to /dev/null, 65982c7c4e3dSmrg# effectively closing config.log, so it can be properly (re)opened and 65992c7c4e3dSmrg# appended to by config.status. When coming back to configure, we 66002c7c4e3dSmrg# need to make the FD available again. 66012c7c4e3dSmrgif test "$no_create" != yes; then 66022c7c4e3dSmrg ac_cs_success=: 66032c7c4e3dSmrg ac_config_status_args= 66042c7c4e3dSmrg test "$silent" = yes && 66052c7c4e3dSmrg ac_config_status_args="$ac_config_status_args --quiet" 66062c7c4e3dSmrg exec 5>/dev/null 66072c7c4e3dSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 66082c7c4e3dSmrg exec 5>>config.log 66092c7c4e3dSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 66102c7c4e3dSmrg # would make configure fail if this is the last instruction. 66112c7c4e3dSmrg $ac_cs_success || { (exit 1); exit 1; } 66128650bb69Smrgfi 66138650bb69Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 66148650bb69Smrg { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 66158650bb69Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 66162c7c4e3dSmrgfi 6617 6618