configure revision 8ff16396
10bd0e222Smrg#! /bin/sh 20bd0e222Smrg# Guess values for system-dependent variables and create Makefiles. 38ff16396Smrg# Generated by GNU Autoconf 2.63 for font-jis-misc 1.0.1. 40bd0e222Smrg# 50bd0e222Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 60bd0e222Smrg# 78ff16396Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 88ff16396Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 90bd0e222Smrg# This configure script is free software; the Free Software Foundation 100bd0e222Smrg# gives unlimited permission to copy, distribute and modify it. 110bd0e222Smrg## --------------------- ## 120bd0e222Smrg## M4sh Initialization. ## 130bd0e222Smrg## --------------------- ## 140bd0e222Smrg 158ff16396Smrg# Be more Bourne compatible 168ff16396SmrgDUALCASE=1; export DUALCASE # for MKS sh 170bd0e222Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 180bd0e222Smrg emulate sh 190bd0e222Smrg NULLCMD=: 208ff16396Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 210bd0e222Smrg # is contrary to our usage. Disable this feature. 220bd0e222Smrg alias -g '${1+"$@"}'='"$@"' 238ff16396Smrg setopt NO_GLOB_SUBST 248ff16396Smrgelse 258ff16396Smrg case `(set -o) 2>/dev/null` in 268ff16396Smrg *posix*) set -o posix ;; 278ff16396Smrgesac 288ff16396Smrg 298ff16396Smrgfi 308ff16396Smrg 318ff16396Smrg 328ff16396Smrg 338ff16396Smrg 348ff16396Smrg# PATH needs CR 358ff16396Smrg# Avoid depending upon Character Ranges. 368ff16396Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 378ff16396Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 388ff16396Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 398ff16396Smrgas_cr_digits='0123456789' 408ff16396Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 418ff16396Smrg 428ff16396Smrgas_nl=' 438ff16396Smrg' 448ff16396Smrgexport as_nl 458ff16396Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 468ff16396Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 478ff16396Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 488ff16396Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 498ff16396Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 508ff16396Smrg as_echo='printf %s\n' 518ff16396Smrg as_echo_n='printf %s' 528ff16396Smrgelse 538ff16396Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 548ff16396Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 558ff16396Smrg as_echo_n='/usr/ucb/echo -n' 568ff16396Smrg else 578ff16396Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 588ff16396Smrg as_echo_n_body='eval 598ff16396Smrg arg=$1; 608ff16396Smrg case $arg in 618ff16396Smrg *"$as_nl"*) 628ff16396Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 638ff16396Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 648ff16396Smrg esac; 658ff16396Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 668ff16396Smrg ' 678ff16396Smrg export as_echo_n_body 688ff16396Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 698ff16396Smrg fi 708ff16396Smrg export as_echo_body 718ff16396Smrg as_echo='sh -c $as_echo_body as_echo' 728ff16396Smrgfi 738ff16396Smrg 748ff16396Smrg# The user is always right. 758ff16396Smrgif test "${PATH_SEPARATOR+set}" != set; then 768ff16396Smrg PATH_SEPARATOR=: 778ff16396Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 788ff16396Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 798ff16396Smrg PATH_SEPARATOR=';' 808ff16396Smrg } 810bd0e222Smrgfi 820bd0e222Smrg 830bd0e222Smrg# Support unset when possible. 840bd0e222Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 850bd0e222Smrg as_unset=unset 860bd0e222Smrgelse 870bd0e222Smrg as_unset=false 880bd0e222Smrgfi 890bd0e222Smrg 900bd0e222Smrg 918ff16396Smrg# IFS 928ff16396Smrg# We need space, tab and new line, in precisely that order. Quoting is 938ff16396Smrg# there to prevent editors from complaining about space-tab. 948ff16396Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 958ff16396Smrg# splitting by setting IFS to empty value.) 968ff16396SmrgIFS=" "" $as_nl" 978ff16396Smrg 988ff16396Smrg# Find who we are. Look in the path if we contain no directory separator. 998ff16396Smrgcase $0 in 1008ff16396Smrg *[\\/]* ) as_myself=$0 ;; 1018ff16396Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1028ff16396Smrgfor as_dir in $PATH 1038ff16396Smrgdo 1048ff16396Smrg IFS=$as_save_IFS 1058ff16396Smrg test -z "$as_dir" && as_dir=. 1068ff16396Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1078ff16396Smrgdone 1088ff16396SmrgIFS=$as_save_IFS 1098ff16396Smrg 1108ff16396Smrg ;; 1118ff16396Smrgesac 1128ff16396Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 1138ff16396Smrg# in which case we are not to be found in the path. 1148ff16396Smrgif test "x$as_myself" = x; then 1158ff16396Smrg as_myself=$0 1168ff16396Smrgfi 1178ff16396Smrgif test ! -f "$as_myself"; then 1188ff16396Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 1198ff16396Smrg { (exit 1); exit 1; } 1208ff16396Smrgfi 1218ff16396Smrg 1220bd0e222Smrg# Work around bugs in pre-3.0 UWIN ksh. 1238ff16396Smrgfor as_var in ENV MAIL MAILPATH 1248ff16396Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 1258ff16396Smrgdone 1260bd0e222SmrgPS1='$ ' 1270bd0e222SmrgPS2='> ' 1280bd0e222SmrgPS4='+ ' 1290bd0e222Smrg 1300bd0e222Smrg# NLS nuisances. 1318ff16396SmrgLC_ALL=C 1328ff16396Smrgexport LC_ALL 1338ff16396SmrgLANGUAGE=C 1348ff16396Smrgexport LANGUAGE 1350bd0e222Smrg 1360bd0e222Smrg# Required to use basename. 1378ff16396Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 1388ff16396Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 1390bd0e222Smrg as_expr=expr 1400bd0e222Smrgelse 1410bd0e222Smrg as_expr=false 1420bd0e222Smrgfi 1430bd0e222Smrg 1448ff16396Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 1450bd0e222Smrg as_basename=basename 1460bd0e222Smrgelse 1470bd0e222Smrg as_basename=false 1480bd0e222Smrgfi 1490bd0e222Smrg 1500bd0e222Smrg 1510bd0e222Smrg# Name of the executable. 1528ff16396Smrgas_me=`$as_basename -- "$0" || 1530bd0e222Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1540bd0e222Smrg X"$0" : 'X\(//\)$' \| \ 1558ff16396Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 1568ff16396Smrg$as_echo X/"$0" | 1578ff16396Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 1588ff16396Smrg s//\1/ 1598ff16396Smrg q 1608ff16396Smrg } 1618ff16396Smrg /^X\/\(\/\/\)$/{ 1628ff16396Smrg s//\1/ 1638ff16396Smrg q 1648ff16396Smrg } 1658ff16396Smrg /^X\/\(\/\).*/{ 1668ff16396Smrg s//\1/ 1678ff16396Smrg q 1688ff16396Smrg } 1698ff16396Smrg s/.*/./; q'` 1700bd0e222Smrg 1718ff16396Smrg# CDPATH. 1728ff16396Smrg$as_unset CDPATH 1730bd0e222Smrg 1740bd0e222Smrg 1758ff16396Smrgif test "x$CONFIG_SHELL" = x; then 1768ff16396Smrg if (eval ":") 2>/dev/null; then 1778ff16396Smrg as_have_required=yes 1788ff16396Smrgelse 1798ff16396Smrg as_have_required=no 1800bd0e222Smrgfi 1810bd0e222Smrg 1828ff16396Smrg if test $as_have_required = yes && (eval ": 1838ff16396Smrg(as_func_return () { 1848ff16396Smrg (exit \$1) 1858ff16396Smrg} 1868ff16396Smrgas_func_success () { 1878ff16396Smrg as_func_return 0 1888ff16396Smrg} 1898ff16396Smrgas_func_failure () { 1908ff16396Smrg as_func_return 1 1918ff16396Smrg} 1928ff16396Smrgas_func_ret_success () { 1938ff16396Smrg return 0 1948ff16396Smrg} 1958ff16396Smrgas_func_ret_failure () { 1968ff16396Smrg return 1 1978ff16396Smrg} 1980bd0e222Smrg 1998ff16396Smrgexitcode=0 2008ff16396Smrgif as_func_success; then 2018ff16396Smrg : 2028ff16396Smrgelse 2038ff16396Smrg exitcode=1 2048ff16396Smrg echo as_func_success failed. 2058ff16396Smrgfi 2060bd0e222Smrg 2078ff16396Smrgif as_func_failure; then 2088ff16396Smrg exitcode=1 2098ff16396Smrg echo as_func_failure succeeded. 2108ff16396Smrgfi 2118ff16396Smrg 2128ff16396Smrgif as_func_ret_success; then 2138ff16396Smrg : 2148ff16396Smrgelse 2158ff16396Smrg exitcode=1 2168ff16396Smrg echo as_func_ret_success failed. 2178ff16396Smrgfi 2188ff16396Smrg 2198ff16396Smrgif as_func_ret_failure; then 2208ff16396Smrg exitcode=1 2218ff16396Smrg echo as_func_ret_failure succeeded. 2228ff16396Smrgfi 2238ff16396Smrg 2248ff16396Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 2258ff16396Smrg : 2268ff16396Smrgelse 2278ff16396Smrg exitcode=1 2288ff16396Smrg echo positional parameters were not saved. 2298ff16396Smrgfi 2308ff16396Smrg 2318ff16396Smrgtest \$exitcode = 0) || { (exit 1); exit 1; } 2328ff16396Smrg 2338ff16396Smrg( 2348ff16396Smrg as_lineno_1=\$LINENO 2358ff16396Smrg as_lineno_2=\$LINENO 2368ff16396Smrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 2378ff16396Smrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 2388ff16396Smrg") 2> /dev/null; then 2398ff16396Smrg : 2408ff16396Smrgelse 2418ff16396Smrg as_candidate_shells= 2420bd0e222Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2430bd0e222Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2440bd0e222Smrgdo 2450bd0e222Smrg IFS=$as_save_IFS 2460bd0e222Smrg test -z "$as_dir" && as_dir=. 2478ff16396Smrg case $as_dir in 2480bd0e222Smrg /*) 2498ff16396Smrg for as_base in sh bash ksh sh5; do 2508ff16396Smrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 2518ff16396Smrg done;; 2528ff16396Smrg esac 2538ff16396Smrgdone 2548ff16396SmrgIFS=$as_save_IFS 2558ff16396Smrg 2568ff16396Smrg 2578ff16396Smrg for as_shell in $as_candidate_shells $SHELL; do 2588ff16396Smrg # Try only shells that exist, to save several forks. 2598ff16396Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2608ff16396Smrg { ("$as_shell") 2> /dev/null <<\_ASEOF 2618ff16396Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2628ff16396Smrg emulate sh 2638ff16396Smrg NULLCMD=: 2648ff16396Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2658ff16396Smrg # is contrary to our usage. Disable this feature. 2668ff16396Smrg alias -g '${1+"$@"}'='"$@"' 2678ff16396Smrg setopt NO_GLOB_SUBST 2688ff16396Smrgelse 2698ff16396Smrg case `(set -o) 2>/dev/null` in 2708ff16396Smrg *posix*) set -o posix ;; 2718ff16396Smrgesac 2728ff16396Smrg 2738ff16396Smrgfi 2748ff16396Smrg 2758ff16396Smrg 2768ff16396Smrg: 2778ff16396Smrg_ASEOF 2788ff16396Smrg}; then 2798ff16396Smrg CONFIG_SHELL=$as_shell 2808ff16396Smrg as_have_required=yes 2818ff16396Smrg if { "$as_shell" 2> /dev/null <<\_ASEOF 2828ff16396Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2838ff16396Smrg emulate sh 2848ff16396Smrg NULLCMD=: 2858ff16396Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2868ff16396Smrg # is contrary to our usage. Disable this feature. 2878ff16396Smrg alias -g '${1+"$@"}'='"$@"' 2888ff16396Smrg setopt NO_GLOB_SUBST 2898ff16396Smrgelse 2908ff16396Smrg case `(set -o) 2>/dev/null` in 2918ff16396Smrg *posix*) set -o posix ;; 2928ff16396Smrgesac 2938ff16396Smrg 2948ff16396Smrgfi 2958ff16396Smrg 2968ff16396Smrg 2978ff16396Smrg: 2988ff16396Smrg(as_func_return () { 2998ff16396Smrg (exit $1) 3008ff16396Smrg} 3018ff16396Smrgas_func_success () { 3028ff16396Smrg as_func_return 0 3038ff16396Smrg} 3048ff16396Smrgas_func_failure () { 3058ff16396Smrg as_func_return 1 3068ff16396Smrg} 3078ff16396Smrgas_func_ret_success () { 3088ff16396Smrg return 0 3098ff16396Smrg} 3108ff16396Smrgas_func_ret_failure () { 3118ff16396Smrg return 1 3128ff16396Smrg} 3138ff16396Smrg 3148ff16396Smrgexitcode=0 3158ff16396Smrgif as_func_success; then 3168ff16396Smrg : 3178ff16396Smrgelse 3188ff16396Smrg exitcode=1 3198ff16396Smrg echo as_func_success failed. 3208ff16396Smrgfi 3218ff16396Smrg 3228ff16396Smrgif as_func_failure; then 3238ff16396Smrg exitcode=1 3248ff16396Smrg echo as_func_failure succeeded. 3258ff16396Smrgfi 3268ff16396Smrg 3278ff16396Smrgif as_func_ret_success; then 3288ff16396Smrg : 3298ff16396Smrgelse 3308ff16396Smrg exitcode=1 3318ff16396Smrg echo as_func_ret_success failed. 3328ff16396Smrgfi 3338ff16396Smrg 3348ff16396Smrgif as_func_ret_failure; then 3358ff16396Smrg exitcode=1 3368ff16396Smrg echo as_func_ret_failure succeeded. 3378ff16396Smrgfi 3388ff16396Smrg 3398ff16396Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then 3408ff16396Smrg : 3418ff16396Smrgelse 3428ff16396Smrg exitcode=1 3438ff16396Smrg echo positional parameters were not saved. 3448ff16396Smrgfi 3458ff16396Smrg 3468ff16396Smrgtest $exitcode = 0) || { (exit 1); exit 1; } 3478ff16396Smrg 3488ff16396Smrg( 3490bd0e222Smrg as_lineno_1=$LINENO 3500bd0e222Smrg as_lineno_2=$LINENO 3510bd0e222Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 3528ff16396Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 3538ff16396Smrg 3548ff16396Smrg_ASEOF 3558ff16396Smrg}; then 3568ff16396Smrg break 3578ff16396Smrgfi 3588ff16396Smrg 3598ff16396Smrgfi 3608ff16396Smrg 3618ff16396Smrg done 3628ff16396Smrg 3638ff16396Smrg if test "x$CONFIG_SHELL" != x; then 3648ff16396Smrg for as_var in BASH_ENV ENV 3658ff16396Smrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3668ff16396Smrg done 3678ff16396Smrg export CONFIG_SHELL 3688ff16396Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 3698ff16396Smrgfi 3708ff16396Smrg 3718ff16396Smrg 3728ff16396Smrg if test $as_have_required = no; then 3738ff16396Smrg echo This script requires a shell more modern than all the 3748ff16396Smrg echo shells that I found on your system. Please install a 3758ff16396Smrg echo modern shell, or manually run the script under such a 3768ff16396Smrg echo shell if you do have one. 3778ff16396Smrg { (exit 1); exit 1; } 3788ff16396Smrgfi 3798ff16396Smrg 3808ff16396Smrg 3818ff16396Smrgfi 3828ff16396Smrg 3838ff16396Smrgfi 3848ff16396Smrg 3858ff16396Smrg 3868ff16396Smrg 3878ff16396Smrg(eval "as_func_return () { 3888ff16396Smrg (exit \$1) 3898ff16396Smrg} 3908ff16396Smrgas_func_success () { 3918ff16396Smrg as_func_return 0 3928ff16396Smrg} 3938ff16396Smrgas_func_failure () { 3948ff16396Smrg as_func_return 1 3958ff16396Smrg} 3968ff16396Smrgas_func_ret_success () { 3978ff16396Smrg return 0 3988ff16396Smrg} 3998ff16396Smrgas_func_ret_failure () { 4008ff16396Smrg return 1 4018ff16396Smrg} 4028ff16396Smrg 4038ff16396Smrgexitcode=0 4048ff16396Smrgif as_func_success; then 4058ff16396Smrg : 4068ff16396Smrgelse 4078ff16396Smrg exitcode=1 4088ff16396Smrg echo as_func_success failed. 4098ff16396Smrgfi 4108ff16396Smrg 4118ff16396Smrgif as_func_failure; then 4128ff16396Smrg exitcode=1 4138ff16396Smrg echo as_func_failure succeeded. 4148ff16396Smrgfi 4158ff16396Smrg 4168ff16396Smrgif as_func_ret_success; then 4178ff16396Smrg : 4188ff16396Smrgelse 4198ff16396Smrg exitcode=1 4208ff16396Smrg echo as_func_ret_success failed. 4218ff16396Smrgfi 4228ff16396Smrg 4238ff16396Smrgif as_func_ret_failure; then 4248ff16396Smrg exitcode=1 4258ff16396Smrg echo as_func_ret_failure succeeded. 4268ff16396Smrgfi 4278ff16396Smrg 4288ff16396Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 4298ff16396Smrg : 4308ff16396Smrgelse 4318ff16396Smrg exitcode=1 4328ff16396Smrg echo positional parameters were not saved. 4338ff16396Smrgfi 4348ff16396Smrg 4358ff16396Smrgtest \$exitcode = 0") || { 4368ff16396Smrg echo No shell found that supports shell functions. 4378ff16396Smrg echo Please tell bug-autoconf@gnu.org about your system, 4388ff16396Smrg echo including any error possibly output before this message. 4398ff16396Smrg echo This can help us improve future autoconf versions. 4408ff16396Smrg echo Configuration will now proceed without shell functions. 4418ff16396Smrg} 4428ff16396Smrg 4438ff16396Smrg 4448ff16396Smrg 4458ff16396Smrg as_lineno_1=$LINENO 4468ff16396Smrg as_lineno_2=$LINENO 4478ff16396Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 4488ff16396Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4490bd0e222Smrg 4500bd0e222Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4510bd0e222Smrg # uniformly replaced by the line number. The first 'sed' inserts a 4528ff16396Smrg # line-number line after each line using $LINENO; the second 'sed' 4538ff16396Smrg # does the real work. The second script uses 'N' to pair each 4548ff16396Smrg # line-number line with the line containing $LINENO, and appends 4558ff16396Smrg # trailing '-' during substitution so that $LINENO is not a special 4568ff16396Smrg # case at line end. 4570bd0e222Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4588ff16396Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 4598ff16396Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 4608ff16396Smrg sed -n ' 4618ff16396Smrg p 4628ff16396Smrg /[$]LINENO/= 4638ff16396Smrg ' <$as_myself | 4640bd0e222Smrg sed ' 4658ff16396Smrg s/[$]LINENO.*/&-/ 4668ff16396Smrg t lineno 4678ff16396Smrg b 4688ff16396Smrg :lineno 4690bd0e222Smrg N 4708ff16396Smrg :loop 4718ff16396Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4720bd0e222Smrg t loop 4738ff16396Smrg s/-\n.*// 4740bd0e222Smrg ' >$as_me.lineno && 4758ff16396Smrg chmod +x "$as_me.lineno" || 4768ff16396Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4770bd0e222Smrg { (exit 1); exit 1; }; } 4780bd0e222Smrg 4790bd0e222Smrg # Don't try to exec as it changes $[0], causing all sort of problems 4800bd0e222Smrg # (the dirname of $[0] is not the place where we might find the 4818ff16396Smrg # original and so on. Autoconf is especially sensitive to this). 4828ff16396Smrg . "./$as_me.lineno" 4830bd0e222Smrg # Exit status is that of the last command. 4840bd0e222Smrg exit 4850bd0e222Smrg} 4860bd0e222Smrg 4870bd0e222Smrg 4888ff16396Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4898ff16396Smrg as_dirname=dirname 4908ff16396Smrgelse 4918ff16396Smrg as_dirname=false 4928ff16396Smrgfi 4930bd0e222Smrg 4948ff16396SmrgECHO_C= ECHO_N= ECHO_T= 4958ff16396Smrgcase `echo -n x` in 4968ff16396Smrg-n*) 4978ff16396Smrg case `echo 'x\c'` in 4988ff16396Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4998ff16396Smrg *) ECHO_C='\c';; 5008ff16396Smrg esac;; 5018ff16396Smrg*) 5028ff16396Smrg ECHO_N='-n';; 5038ff16396Smrgesac 5048ff16396Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 5058ff16396Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5060bd0e222Smrg as_expr=expr 5070bd0e222Smrgelse 5080bd0e222Smrg as_expr=false 5090bd0e222Smrgfi 5100bd0e222Smrg 5110bd0e222Smrgrm -f conf$$ conf$$.exe conf$$.file 5128ff16396Smrgif test -d conf$$.dir; then 5138ff16396Smrg rm -f conf$$.dir/conf$$.file 5148ff16396Smrgelse 5158ff16396Smrg rm -f conf$$.dir 5168ff16396Smrg mkdir conf$$.dir 2>/dev/null 5178ff16396Smrgfi 5188ff16396Smrgif (echo >conf$$.file) 2>/dev/null; then 5198ff16396Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5200bd0e222Smrg as_ln_s='ln -s' 5218ff16396Smrg # ... but there are two gotchas: 5228ff16396Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5238ff16396Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5248ff16396Smrg # In both cases, we have to default to `cp -p'. 5258ff16396Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5268ff16396Smrg as_ln_s='cp -p' 5278ff16396Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 5288ff16396Smrg as_ln_s=ln 5298ff16396Smrg else 5308ff16396Smrg as_ln_s='cp -p' 5310bd0e222Smrg fi 5320bd0e222Smrgelse 5330bd0e222Smrg as_ln_s='cp -p' 5340bd0e222Smrgfi 5358ff16396Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5368ff16396Smrgrmdir conf$$.dir 2>/dev/null 5370bd0e222Smrg 5380bd0e222Smrgif mkdir -p . 2>/dev/null; then 5390bd0e222Smrg as_mkdir_p=: 5400bd0e222Smrgelse 5410bd0e222Smrg test -d ./-p && rmdir ./-p 5420bd0e222Smrg as_mkdir_p=false 5430bd0e222Smrgfi 5440bd0e222Smrg 5458ff16396Smrgif test -x / >/dev/null 2>&1; then 5468ff16396Smrg as_test_x='test -x' 5478ff16396Smrgelse 5488ff16396Smrg if ls -dL / >/dev/null 2>&1; then 5498ff16396Smrg as_ls_L_option=L 5508ff16396Smrg else 5518ff16396Smrg as_ls_L_option= 5528ff16396Smrg fi 5538ff16396Smrg as_test_x=' 5548ff16396Smrg eval sh -c '\'' 5558ff16396Smrg if test -d "$1"; then 5568ff16396Smrg test -d "$1/."; 5578ff16396Smrg else 5588ff16396Smrg case $1 in 5598ff16396Smrg -*)set "./$1";; 5608ff16396Smrg esac; 5618ff16396Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5628ff16396Smrg ???[sx]*):;;*)false;;esac;fi 5638ff16396Smrg '\'' sh 5648ff16396Smrg ' 5658ff16396Smrgfi 5668ff16396Smrgas_executable_p=$as_test_x 5670bd0e222Smrg 5680bd0e222Smrg# Sed expression to map a string onto a valid CPP name. 5690bd0e222Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5700bd0e222Smrg 5710bd0e222Smrg# Sed expression to map a string onto a valid variable name. 5720bd0e222Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5730bd0e222Smrg 5740bd0e222Smrg 5750bd0e222Smrg 5768ff16396Smrgexec 7<&0 </dev/null 6>&1 5770bd0e222Smrg 5780bd0e222Smrg# Name of the host. 5790bd0e222Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 5800bd0e222Smrg# so uname gets run too. 5810bd0e222Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5820bd0e222Smrg 5830bd0e222Smrg# 5840bd0e222Smrg# Initializations. 5850bd0e222Smrg# 5860bd0e222Smrgac_default_prefix=/usr/local 5878ff16396Smrgac_clean_files= 5880bd0e222Smrgac_config_libobj_dir=. 5898ff16396SmrgLIBOBJS= 5900bd0e222Smrgcross_compiling=no 5910bd0e222Smrgsubdirs= 5920bd0e222SmrgMFLAGS= 5930bd0e222SmrgMAKEFLAGS= 5940bd0e222SmrgSHELL=${CONFIG_SHELL-/bin/sh} 5950bd0e222Smrg 5960bd0e222Smrg# Identity of this package. 5970bd0e222SmrgPACKAGE_NAME='font-jis-misc' 5980bd0e222SmrgPACKAGE_TARNAME='font-jis-misc' 5998ff16396SmrgPACKAGE_VERSION='1.0.1' 6008ff16396SmrgPACKAGE_STRING='font-jis-misc 1.0.1' 6010bd0e222SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 6020bd0e222Smrg 6038ff16396Smrg# Factoring default headers for most tests. 6048ff16396Smrgac_includes_default="\ 6058ff16396Smrg#include <stdio.h> 6068ff16396Smrg#ifdef HAVE_SYS_TYPES_H 6078ff16396Smrg# include <sys/types.h> 6088ff16396Smrg#endif 6098ff16396Smrg#ifdef HAVE_SYS_STAT_H 6108ff16396Smrg# include <sys/stat.h> 6118ff16396Smrg#endif 6128ff16396Smrg#ifdef STDC_HEADERS 6138ff16396Smrg# include <stdlib.h> 6148ff16396Smrg# include <stddef.h> 6158ff16396Smrg#else 6168ff16396Smrg# ifdef HAVE_STDLIB_H 6178ff16396Smrg# include <stdlib.h> 6188ff16396Smrg# endif 6198ff16396Smrg#endif 6208ff16396Smrg#ifdef HAVE_STRING_H 6218ff16396Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 6228ff16396Smrg# include <memory.h> 6238ff16396Smrg# endif 6248ff16396Smrg# include <string.h> 6258ff16396Smrg#endif 6268ff16396Smrg#ifdef HAVE_STRINGS_H 6278ff16396Smrg# include <strings.h> 6288ff16396Smrg#endif 6298ff16396Smrg#ifdef HAVE_INTTYPES_H 6308ff16396Smrg# include <inttypes.h> 6318ff16396Smrg#endif 6328ff16396Smrg#ifdef HAVE_STDINT_H 6338ff16396Smrg# include <stdint.h> 6348ff16396Smrg#endif 6358ff16396Smrg#ifdef HAVE_UNISTD_H 6368ff16396Smrg# include <unistd.h> 6378ff16396Smrg#endif" 6388ff16396Smrg 6398ff16396Smrgac_subst_vars='am__EXEEXT_FALSE 6408ff16396Smrgam__EXEEXT_TRUE 6418ff16396SmrgLTLIBOBJS 6428ff16396SmrgLIBOBJS 6438ff16396SmrgCOMPRESS_SUFFIX 6448ff16396SmrgCOMPRESS 6458ff16396SmrgBDFTOPCF 6468ff16396SmrgMKFONTDIR 6478ff16396SmrgRUN_FCCACHE 6488ff16396SmrgFCCACHE 6498ff16396SmrgFONTDIR 6508ff16396SmrgFONTROOTDIR 6518ff16396SmrgPKG_CONFIG 6528ff16396SmrgADMIN_MAN_DIR 6538ff16396SmrgDRIVER_MAN_DIR 6548ff16396SmrgMISC_MAN_DIR 6558ff16396SmrgFILE_MAN_DIR 6568ff16396SmrgLIB_MAN_DIR 6578ff16396SmrgAPP_MAN_DIR 6588ff16396SmrgADMIN_MAN_SUFFIX 6598ff16396SmrgDRIVER_MAN_SUFFIX 6608ff16396SmrgMISC_MAN_SUFFIX 6618ff16396SmrgFILE_MAN_SUFFIX 6628ff16396SmrgLIB_MAN_SUFFIX 6638ff16396SmrgAPP_MAN_SUFFIX 6648ff16396Smrghost_os 6658ff16396Smrghost_vendor 6668ff16396Smrghost_cpu 6678ff16396Smrghost 6688ff16396Smrgbuild_os 6698ff16396Smrgbuild_vendor 6708ff16396Smrgbuild_cpu 6718ff16396Smrgbuild 6728ff16396Smrgdistcleancheck_listfiles 6738ff16396SmrgCHANGELOG_CMD 6748ff16396SmrgAM_BACKSLASH 6758ff16396SmrgAM_DEFAULT_VERBOSITY 6768ff16396SmrgCWARNFLAGS 6778ff16396SmrgEGREP 6788ff16396SmrgGREP 6798ff16396SmrgCPP 6808ff16396Smrgam__fastdepCC_FALSE 6818ff16396Smrgam__fastdepCC_TRUE 6828ff16396SmrgCCDEPMODE 6838ff16396SmrgAMDEPBACKSLASH 6848ff16396SmrgAMDEP_FALSE 6858ff16396SmrgAMDEP_TRUE 6868ff16396Smrgam__quote 6878ff16396Smrgam__include 6888ff16396SmrgDEPDIR 6898ff16396SmrgOBJEXT 6908ff16396SmrgEXEEXT 6918ff16396Smrgac_ct_CC 6928ff16396SmrgCPPFLAGS 6938ff16396SmrgLDFLAGS 6948ff16396SmrgCFLAGS 6958ff16396SmrgCC 6968ff16396SmrgMAINT 6978ff16396SmrgMAINTAINER_MODE_FALSE 6988ff16396SmrgMAINTAINER_MODE_TRUE 6998ff16396Smrgam__untar 7008ff16396Smrgam__tar 7018ff16396SmrgAMTAR 7028ff16396Smrgam__leading_dot 7038ff16396SmrgSET_MAKE 7048ff16396SmrgAWK 7058ff16396Smrgmkdir_p 7068ff16396SmrgMKDIR_P 7078ff16396SmrgINSTALL_STRIP_PROGRAM 7088ff16396SmrgSTRIP 7098ff16396Smrginstall_sh 7108ff16396SmrgMAKEINFO 7118ff16396SmrgAUTOHEADER 7128ff16396SmrgAUTOMAKE 7138ff16396SmrgAUTOCONF 7148ff16396SmrgACLOCAL 7158ff16396SmrgVERSION 7168ff16396SmrgPACKAGE 7178ff16396SmrgCYGPATH_W 7188ff16396Smrgam__isrc 7198ff16396SmrgINSTALL_DATA 7208ff16396SmrgINSTALL_SCRIPT 7218ff16396SmrgINSTALL_PROGRAM 7228ff16396Smrgtarget_alias 7238ff16396Smrghost_alias 7248ff16396Smrgbuild_alias 7258ff16396SmrgLIBS 7268ff16396SmrgECHO_T 7278ff16396SmrgECHO_N 7288ff16396SmrgECHO_C 7298ff16396SmrgDEFS 7308ff16396Smrgmandir 7318ff16396Smrglocaledir 7328ff16396Smrglibdir 7338ff16396Smrgpsdir 7348ff16396Smrgpdfdir 7358ff16396Smrgdvidir 7368ff16396Smrghtmldir 7378ff16396Smrginfodir 7388ff16396Smrgdocdir 7398ff16396Smrgoldincludedir 7408ff16396Smrgincludedir 7418ff16396Smrglocalstatedir 7428ff16396Smrgsharedstatedir 7438ff16396Smrgsysconfdir 7448ff16396Smrgdatadir 7458ff16396Smrgdatarootdir 7468ff16396Smrglibexecdir 7478ff16396Smrgsbindir 7488ff16396Smrgbindir 7498ff16396Smrgprogram_transform_name 7508ff16396Smrgprefix 7518ff16396Smrgexec_prefix 7528ff16396SmrgPACKAGE_BUGREPORT 7538ff16396SmrgPACKAGE_STRING 7548ff16396SmrgPACKAGE_VERSION 7558ff16396SmrgPACKAGE_TARNAME 7568ff16396SmrgPACKAGE_NAME 7578ff16396SmrgPATH_SEPARATOR 7588ff16396SmrgSHELL' 7590bd0e222Smrgac_subst_files='' 7608ff16396Smrgac_user_opts=' 7618ff16396Smrgenable_option_checking 7628ff16396Smrgenable_maintainer_mode 7638ff16396Smrgenable_dependency_tracking 7648ff16396Smrgenable_silent_rules 7658ff16396Smrgenable_strict_compilation 7668ff16396Smrgwith_release_version 7678ff16396Smrgwith_fontrootdir 7688ff16396Smrgwith_fontdir 7698ff16396Smrgwith_compression 7708ff16396Smrg' 7718ff16396Smrg ac_precious_vars='build_alias 7728ff16396Smrghost_alias 7738ff16396Smrgtarget_alias 7748ff16396SmrgCC 7758ff16396SmrgCFLAGS 7768ff16396SmrgLDFLAGS 7778ff16396SmrgLIBS 7788ff16396SmrgCPPFLAGS 7798ff16396SmrgCPP 7808ff16396SmrgPKG_CONFIG' 7818ff16396Smrg 7820bd0e222Smrg 7830bd0e222Smrg# Initialize some variables set by options. 7840bd0e222Smrgac_init_help= 7850bd0e222Smrgac_init_version=false 7868ff16396Smrgac_unrecognized_opts= 7878ff16396Smrgac_unrecognized_sep= 7880bd0e222Smrg# The variables have the same names as the options, with 7890bd0e222Smrg# dashes changed to underlines. 7900bd0e222Smrgcache_file=/dev/null 7910bd0e222Smrgexec_prefix=NONE 7920bd0e222Smrgno_create= 7930bd0e222Smrgno_recursion= 7940bd0e222Smrgprefix=NONE 7950bd0e222Smrgprogram_prefix=NONE 7960bd0e222Smrgprogram_suffix=NONE 7970bd0e222Smrgprogram_transform_name=s,x,x, 7980bd0e222Smrgsilent= 7990bd0e222Smrgsite= 8000bd0e222Smrgsrcdir= 8010bd0e222Smrgverbose= 8020bd0e222Smrgx_includes=NONE 8030bd0e222Smrgx_libraries=NONE 8040bd0e222Smrg 8050bd0e222Smrg# Installation directory options. 8060bd0e222Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 8070bd0e222Smrg# and all the variables that are supposed to be based on exec_prefix 8080bd0e222Smrg# by default will actually change. 8090bd0e222Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 8108ff16396Smrg# (The list follows the same order as the GNU Coding Standards.) 8110bd0e222Smrgbindir='${exec_prefix}/bin' 8120bd0e222Smrgsbindir='${exec_prefix}/sbin' 8130bd0e222Smrglibexecdir='${exec_prefix}/libexec' 8148ff16396Smrgdatarootdir='${prefix}/share' 8158ff16396Smrgdatadir='${datarootdir}' 8160bd0e222Smrgsysconfdir='${prefix}/etc' 8170bd0e222Smrgsharedstatedir='${prefix}/com' 8180bd0e222Smrglocalstatedir='${prefix}/var' 8190bd0e222Smrgincludedir='${prefix}/include' 8200bd0e222Smrgoldincludedir='/usr/include' 8218ff16396Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 8228ff16396Smrginfodir='${datarootdir}/info' 8238ff16396Smrghtmldir='${docdir}' 8248ff16396Smrgdvidir='${docdir}' 8258ff16396Smrgpdfdir='${docdir}' 8268ff16396Smrgpsdir='${docdir}' 8278ff16396Smrglibdir='${exec_prefix}/lib' 8288ff16396Smrglocaledir='${datarootdir}/locale' 8298ff16396Smrgmandir='${datarootdir}/man' 8300bd0e222Smrg 8310bd0e222Smrgac_prev= 8328ff16396Smrgac_dashdash= 8330bd0e222Smrgfor ac_option 8340bd0e222Smrgdo 8350bd0e222Smrg # If the previous option needs an argument, assign it. 8360bd0e222Smrg if test -n "$ac_prev"; then 8378ff16396Smrg eval $ac_prev=\$ac_option 8380bd0e222Smrg ac_prev= 8390bd0e222Smrg continue 8400bd0e222Smrg fi 8410bd0e222Smrg 8428ff16396Smrg case $ac_option in 8438ff16396Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8448ff16396Smrg *) ac_optarg=yes ;; 8458ff16396Smrg esac 8460bd0e222Smrg 8470bd0e222Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 8480bd0e222Smrg 8498ff16396Smrg case $ac_dashdash$ac_option in 8508ff16396Smrg --) 8518ff16396Smrg ac_dashdash=yes ;; 8520bd0e222Smrg 8530bd0e222Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8540bd0e222Smrg ac_prev=bindir ;; 8550bd0e222Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8560bd0e222Smrg bindir=$ac_optarg ;; 8570bd0e222Smrg 8580bd0e222Smrg -build | --build | --buil | --bui | --bu) 8590bd0e222Smrg ac_prev=build_alias ;; 8600bd0e222Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8610bd0e222Smrg build_alias=$ac_optarg ;; 8620bd0e222Smrg 8630bd0e222Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8640bd0e222Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8650bd0e222Smrg ac_prev=cache_file ;; 8660bd0e222Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8670bd0e222Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8680bd0e222Smrg cache_file=$ac_optarg ;; 8690bd0e222Smrg 8700bd0e222Smrg --config-cache | -C) 8710bd0e222Smrg cache_file=config.cache ;; 8720bd0e222Smrg 8738ff16396Smrg -datadir | --datadir | --datadi | --datad) 8740bd0e222Smrg ac_prev=datadir ;; 8758ff16396Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8760bd0e222Smrg datadir=$ac_optarg ;; 8770bd0e222Smrg 8788ff16396Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8798ff16396Smrg | --dataroo | --dataro | --datar) 8808ff16396Smrg ac_prev=datarootdir ;; 8818ff16396Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8828ff16396Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8838ff16396Smrg datarootdir=$ac_optarg ;; 8848ff16396Smrg 8850bd0e222Smrg -disable-* | --disable-*) 8868ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8870bd0e222Smrg # Reject names that are not valid shell variable names. 8888ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 8898ff16396Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 8900bd0e222Smrg { (exit 1); exit 1; }; } 8918ff16396Smrg ac_useropt_orig=$ac_useropt 8928ff16396Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 8938ff16396Smrg case $ac_user_opts in 8948ff16396Smrg *" 8958ff16396Smrg"enable_$ac_useropt" 8968ff16396Smrg"*) ;; 8978ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 8988ff16396Smrg ac_unrecognized_sep=', ';; 8998ff16396Smrg esac 9008ff16396Smrg eval enable_$ac_useropt=no ;; 9018ff16396Smrg 9028ff16396Smrg -docdir | --docdir | --docdi | --doc | --do) 9038ff16396Smrg ac_prev=docdir ;; 9048ff16396Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 9058ff16396Smrg docdir=$ac_optarg ;; 9068ff16396Smrg 9078ff16396Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 9088ff16396Smrg ac_prev=dvidir ;; 9098ff16396Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 9108ff16396Smrg dvidir=$ac_optarg ;; 9110bd0e222Smrg 9120bd0e222Smrg -enable-* | --enable-*) 9138ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 9140bd0e222Smrg # Reject names that are not valid shell variable names. 9158ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 9168ff16396Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 9170bd0e222Smrg { (exit 1); exit 1; }; } 9188ff16396Smrg ac_useropt_orig=$ac_useropt 9198ff16396Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 9208ff16396Smrg case $ac_user_opts in 9218ff16396Smrg *" 9228ff16396Smrg"enable_$ac_useropt" 9238ff16396Smrg"*) ;; 9248ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 9258ff16396Smrg ac_unrecognized_sep=', ';; 9260bd0e222Smrg esac 9278ff16396Smrg eval enable_$ac_useropt=\$ac_optarg ;; 9280bd0e222Smrg 9290bd0e222Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 9300bd0e222Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 9310bd0e222Smrg | --exec | --exe | --ex) 9320bd0e222Smrg ac_prev=exec_prefix ;; 9330bd0e222Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 9340bd0e222Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 9350bd0e222Smrg | --exec=* | --exe=* | --ex=*) 9360bd0e222Smrg exec_prefix=$ac_optarg ;; 9370bd0e222Smrg 9380bd0e222Smrg -gas | --gas | --ga | --g) 9390bd0e222Smrg # Obsolete; use --with-gas. 9400bd0e222Smrg with_gas=yes ;; 9410bd0e222Smrg 9420bd0e222Smrg -help | --help | --hel | --he | -h) 9430bd0e222Smrg ac_init_help=long ;; 9440bd0e222Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9450bd0e222Smrg ac_init_help=recursive ;; 9460bd0e222Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9470bd0e222Smrg ac_init_help=short ;; 9480bd0e222Smrg 9490bd0e222Smrg -host | --host | --hos | --ho) 9500bd0e222Smrg ac_prev=host_alias ;; 9510bd0e222Smrg -host=* | --host=* | --hos=* | --ho=*) 9520bd0e222Smrg host_alias=$ac_optarg ;; 9530bd0e222Smrg 9548ff16396Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 9558ff16396Smrg ac_prev=htmldir ;; 9568ff16396Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 9578ff16396Smrg | --ht=*) 9588ff16396Smrg htmldir=$ac_optarg ;; 9598ff16396Smrg 9600bd0e222Smrg -includedir | --includedir | --includedi | --included | --include \ 9610bd0e222Smrg | --includ | --inclu | --incl | --inc) 9620bd0e222Smrg ac_prev=includedir ;; 9630bd0e222Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9640bd0e222Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9650bd0e222Smrg includedir=$ac_optarg ;; 9660bd0e222Smrg 9670bd0e222Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9680bd0e222Smrg ac_prev=infodir ;; 9690bd0e222Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9700bd0e222Smrg infodir=$ac_optarg ;; 9710bd0e222Smrg 9720bd0e222Smrg -libdir | --libdir | --libdi | --libd) 9730bd0e222Smrg ac_prev=libdir ;; 9740bd0e222Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9750bd0e222Smrg libdir=$ac_optarg ;; 9760bd0e222Smrg 9770bd0e222Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9780bd0e222Smrg | --libexe | --libex | --libe) 9790bd0e222Smrg ac_prev=libexecdir ;; 9800bd0e222Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9810bd0e222Smrg | --libexe=* | --libex=* | --libe=*) 9820bd0e222Smrg libexecdir=$ac_optarg ;; 9830bd0e222Smrg 9848ff16396Smrg -localedir | --localedir | --localedi | --localed | --locale) 9858ff16396Smrg ac_prev=localedir ;; 9868ff16396Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9878ff16396Smrg localedir=$ac_optarg ;; 9888ff16396Smrg 9890bd0e222Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9908ff16396Smrg | --localstate | --localstat | --localsta | --localst | --locals) 9910bd0e222Smrg ac_prev=localstatedir ;; 9920bd0e222Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9938ff16396Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9940bd0e222Smrg localstatedir=$ac_optarg ;; 9950bd0e222Smrg 9960bd0e222Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9970bd0e222Smrg ac_prev=mandir ;; 9980bd0e222Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9990bd0e222Smrg mandir=$ac_optarg ;; 10000bd0e222Smrg 10010bd0e222Smrg -nfp | --nfp | --nf) 10020bd0e222Smrg # Obsolete; use --without-fp. 10030bd0e222Smrg with_fp=no ;; 10040bd0e222Smrg 10050bd0e222Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 10060bd0e222Smrg | --no-cr | --no-c | -n) 10070bd0e222Smrg no_create=yes ;; 10080bd0e222Smrg 10090bd0e222Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 10100bd0e222Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 10110bd0e222Smrg no_recursion=yes ;; 10120bd0e222Smrg 10130bd0e222Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 10140bd0e222Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 10150bd0e222Smrg | --oldin | --oldi | --old | --ol | --o) 10160bd0e222Smrg ac_prev=oldincludedir ;; 10170bd0e222Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 10180bd0e222Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 10190bd0e222Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 10200bd0e222Smrg oldincludedir=$ac_optarg ;; 10210bd0e222Smrg 10220bd0e222Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 10230bd0e222Smrg ac_prev=prefix ;; 10240bd0e222Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 10250bd0e222Smrg prefix=$ac_optarg ;; 10260bd0e222Smrg 10270bd0e222Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 10280bd0e222Smrg | --program-pre | --program-pr | --program-p) 10290bd0e222Smrg ac_prev=program_prefix ;; 10300bd0e222Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 10310bd0e222Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 10320bd0e222Smrg program_prefix=$ac_optarg ;; 10330bd0e222Smrg 10340bd0e222Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 10350bd0e222Smrg | --program-suf | --program-su | --program-s) 10360bd0e222Smrg ac_prev=program_suffix ;; 10370bd0e222Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 10380bd0e222Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 10390bd0e222Smrg program_suffix=$ac_optarg ;; 10400bd0e222Smrg 10410bd0e222Smrg -program-transform-name | --program-transform-name \ 10420bd0e222Smrg | --program-transform-nam | --program-transform-na \ 10430bd0e222Smrg | --program-transform-n | --program-transform- \ 10440bd0e222Smrg | --program-transform | --program-transfor \ 10450bd0e222Smrg | --program-transfo | --program-transf \ 10460bd0e222Smrg | --program-trans | --program-tran \ 10470bd0e222Smrg | --progr-tra | --program-tr | --program-t) 10480bd0e222Smrg ac_prev=program_transform_name ;; 10490bd0e222Smrg -program-transform-name=* | --program-transform-name=* \ 10500bd0e222Smrg | --program-transform-nam=* | --program-transform-na=* \ 10510bd0e222Smrg | --program-transform-n=* | --program-transform-=* \ 10520bd0e222Smrg | --program-transform=* | --program-transfor=* \ 10530bd0e222Smrg | --program-transfo=* | --program-transf=* \ 10540bd0e222Smrg | --program-trans=* | --program-tran=* \ 10550bd0e222Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 10560bd0e222Smrg program_transform_name=$ac_optarg ;; 10570bd0e222Smrg 10588ff16396Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10598ff16396Smrg ac_prev=pdfdir ;; 10608ff16396Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10618ff16396Smrg pdfdir=$ac_optarg ;; 10628ff16396Smrg 10638ff16396Smrg -psdir | --psdir | --psdi | --psd | --ps) 10648ff16396Smrg ac_prev=psdir ;; 10658ff16396Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10668ff16396Smrg psdir=$ac_optarg ;; 10678ff16396Smrg 10680bd0e222Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10690bd0e222Smrg | -silent | --silent | --silen | --sile | --sil) 10700bd0e222Smrg silent=yes ;; 10710bd0e222Smrg 10720bd0e222Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10730bd0e222Smrg ac_prev=sbindir ;; 10740bd0e222Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10750bd0e222Smrg | --sbi=* | --sb=*) 10760bd0e222Smrg sbindir=$ac_optarg ;; 10770bd0e222Smrg 10780bd0e222Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10790bd0e222Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10800bd0e222Smrg | --sharedst | --shareds | --shared | --share | --shar \ 10810bd0e222Smrg | --sha | --sh) 10820bd0e222Smrg ac_prev=sharedstatedir ;; 10830bd0e222Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10840bd0e222Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10850bd0e222Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10860bd0e222Smrg | --sha=* | --sh=*) 10870bd0e222Smrg sharedstatedir=$ac_optarg ;; 10880bd0e222Smrg 10890bd0e222Smrg -site | --site | --sit) 10900bd0e222Smrg ac_prev=site ;; 10910bd0e222Smrg -site=* | --site=* | --sit=*) 10920bd0e222Smrg site=$ac_optarg ;; 10930bd0e222Smrg 10940bd0e222Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10950bd0e222Smrg ac_prev=srcdir ;; 10960bd0e222Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10970bd0e222Smrg srcdir=$ac_optarg ;; 10980bd0e222Smrg 10990bd0e222Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 11000bd0e222Smrg | --syscon | --sysco | --sysc | --sys | --sy) 11010bd0e222Smrg ac_prev=sysconfdir ;; 11020bd0e222Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 11030bd0e222Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 11040bd0e222Smrg sysconfdir=$ac_optarg ;; 11050bd0e222Smrg 11060bd0e222Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 11070bd0e222Smrg ac_prev=target_alias ;; 11080bd0e222Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 11090bd0e222Smrg target_alias=$ac_optarg ;; 11100bd0e222Smrg 11110bd0e222Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 11120bd0e222Smrg verbose=yes ;; 11130bd0e222Smrg 11140bd0e222Smrg -version | --version | --versio | --versi | --vers | -V) 11150bd0e222Smrg ac_init_version=: ;; 11160bd0e222Smrg 11170bd0e222Smrg -with-* | --with-*) 11188ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 11190bd0e222Smrg # Reject names that are not valid shell variable names. 11208ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11218ff16396Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 11220bd0e222Smrg { (exit 1); exit 1; }; } 11238ff16396Smrg ac_useropt_orig=$ac_useropt 11248ff16396Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11258ff16396Smrg case $ac_user_opts in 11268ff16396Smrg *" 11278ff16396Smrg"with_$ac_useropt" 11288ff16396Smrg"*) ;; 11298ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 11308ff16396Smrg ac_unrecognized_sep=', ';; 11310bd0e222Smrg esac 11328ff16396Smrg eval with_$ac_useropt=\$ac_optarg ;; 11330bd0e222Smrg 11340bd0e222Smrg -without-* | --without-*) 11358ff16396Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 11360bd0e222Smrg # Reject names that are not valid shell variable names. 11378ff16396Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 11388ff16396Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 11390bd0e222Smrg { (exit 1); exit 1; }; } 11408ff16396Smrg ac_useropt_orig=$ac_useropt 11418ff16396Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 11428ff16396Smrg case $ac_user_opts in 11438ff16396Smrg *" 11448ff16396Smrg"with_$ac_useropt" 11458ff16396Smrg"*) ;; 11468ff16396Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 11478ff16396Smrg ac_unrecognized_sep=', ';; 11488ff16396Smrg esac 11498ff16396Smrg eval with_$ac_useropt=no ;; 11500bd0e222Smrg 11510bd0e222Smrg --x) 11520bd0e222Smrg # Obsolete; use --with-x. 11530bd0e222Smrg with_x=yes ;; 11540bd0e222Smrg 11550bd0e222Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11560bd0e222Smrg | --x-incl | --x-inc | --x-in | --x-i) 11570bd0e222Smrg ac_prev=x_includes ;; 11580bd0e222Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11590bd0e222Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11600bd0e222Smrg x_includes=$ac_optarg ;; 11610bd0e222Smrg 11620bd0e222Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11630bd0e222Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11640bd0e222Smrg ac_prev=x_libraries ;; 11650bd0e222Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11660bd0e222Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11670bd0e222Smrg x_libraries=$ac_optarg ;; 11680bd0e222Smrg 11698ff16396Smrg -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 11700bd0e222SmrgTry \`$0 --help' for more information." >&2 11710bd0e222Smrg { (exit 1); exit 1; }; } 11720bd0e222Smrg ;; 11730bd0e222Smrg 11740bd0e222Smrg *=*) 11750bd0e222Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11760bd0e222Smrg # Reject names that are not valid shell variable names. 11770bd0e222Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 11788ff16396Smrg { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 11790bd0e222Smrg { (exit 1); exit 1; }; } 11808ff16396Smrg eval $ac_envvar=\$ac_optarg 11810bd0e222Smrg export $ac_envvar ;; 11820bd0e222Smrg 11830bd0e222Smrg *) 11840bd0e222Smrg # FIXME: should be removed in autoconf 3.0. 11858ff16396Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 11860bd0e222Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11878ff16396Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 11880bd0e222Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 11890bd0e222Smrg ;; 11900bd0e222Smrg 11910bd0e222Smrg esac 11920bd0e222Smrgdone 11930bd0e222Smrg 11940bd0e222Smrgif test -n "$ac_prev"; then 11950bd0e222Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11968ff16396Smrg { $as_echo "$as_me: error: missing argument to $ac_option" >&2 11970bd0e222Smrg { (exit 1); exit 1; }; } 11980bd0e222Smrgfi 11990bd0e222Smrg 12008ff16396Smrgif test -n "$ac_unrecognized_opts"; then 12018ff16396Smrg case $enable_option_checking in 12028ff16396Smrg no) ;; 12038ff16396Smrg fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 12048ff16396Smrg { (exit 1); exit 1; }; } ;; 12058ff16396Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 12060bd0e222Smrg esac 12078ff16396Smrgfi 12080bd0e222Smrg 12098ff16396Smrg# Check all directory arguments for consistency. 12108ff16396Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 12118ff16396Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 12128ff16396Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 12138ff16396Smrg libdir localedir mandir 12140bd0e222Smrgdo 12158ff16396Smrg eval ac_val=\$$ac_var 12168ff16396Smrg # Remove trailing slashes. 12170bd0e222Smrg case $ac_val in 12188ff16396Smrg */ ) 12198ff16396Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 12208ff16396Smrg eval $ac_var=\$ac_val;; 12218ff16396Smrg esac 12228ff16396Smrg # Be sure to have absolute directory names. 12238ff16396Smrg case $ac_val in 12248ff16396Smrg [\\/$]* | ?:[\\/]* ) continue;; 12258ff16396Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 12260bd0e222Smrg esac 12278ff16396Smrg { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 12288ff16396Smrg { (exit 1); exit 1; }; } 12290bd0e222Smrgdone 12300bd0e222Smrg 12310bd0e222Smrg# There might be people who depend on the old broken behavior: `$host' 12320bd0e222Smrg# used to hold the argument of --host etc. 12330bd0e222Smrg# FIXME: To remove some day. 12340bd0e222Smrgbuild=$build_alias 12350bd0e222Smrghost=$host_alias 12360bd0e222Smrgtarget=$target_alias 12370bd0e222Smrg 12380bd0e222Smrg# FIXME: To remove some day. 12390bd0e222Smrgif test "x$host_alias" != x; then 12400bd0e222Smrg if test "x$build_alias" = x; then 12410bd0e222Smrg cross_compiling=maybe 12428ff16396Smrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 12430bd0e222Smrg If a cross compiler is detected then cross compile mode will be used." >&2 12440bd0e222Smrg elif test "x$build_alias" != "x$host_alias"; then 12450bd0e222Smrg cross_compiling=yes 12460bd0e222Smrg fi 12470bd0e222Smrgfi 12480bd0e222Smrg 12490bd0e222Smrgac_tool_prefix= 12500bd0e222Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12510bd0e222Smrg 12520bd0e222Smrgtest "$silent" = yes && exec 6>/dev/null 12530bd0e222Smrg 12540bd0e222Smrg 12558ff16396Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 12568ff16396Smrgac_ls_di=`ls -di .` && 12578ff16396Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 12588ff16396Smrg { $as_echo "$as_me: error: working directory cannot be determined" >&2 12598ff16396Smrg { (exit 1); exit 1; }; } 12608ff16396Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 12618ff16396Smrg { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 12628ff16396Smrg { (exit 1); exit 1; }; } 12638ff16396Smrg 12648ff16396Smrg 12650bd0e222Smrg# Find the source files, if location was not specified. 12660bd0e222Smrgif test -z "$srcdir"; then 12670bd0e222Smrg ac_srcdir_defaulted=yes 12688ff16396Smrg # Try the directory containing this script, then the parent directory. 12698ff16396Smrg ac_confdir=`$as_dirname -- "$as_myself" || 12708ff16396Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12718ff16396Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 12728ff16396Smrg X"$as_myself" : 'X\(//\)$' \| \ 12738ff16396Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 12748ff16396Smrg$as_echo X"$as_myself" | 12758ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12768ff16396Smrg s//\1/ 12778ff16396Smrg q 12788ff16396Smrg } 12798ff16396Smrg /^X\(\/\/\)[^/].*/{ 12808ff16396Smrg s//\1/ 12818ff16396Smrg q 12828ff16396Smrg } 12838ff16396Smrg /^X\(\/\/\)$/{ 12848ff16396Smrg s//\1/ 12858ff16396Smrg q 12868ff16396Smrg } 12878ff16396Smrg /^X\(\/\).*/{ 12888ff16396Smrg s//\1/ 12898ff16396Smrg q 12908ff16396Smrg } 12918ff16396Smrg s/.*/./; q'` 12920bd0e222Smrg srcdir=$ac_confdir 12938ff16396Smrg if test ! -r "$srcdir/$ac_unique_file"; then 12940bd0e222Smrg srcdir=.. 12950bd0e222Smrg fi 12960bd0e222Smrgelse 12970bd0e222Smrg ac_srcdir_defaulted=no 12980bd0e222Smrgfi 12998ff16396Smrgif test ! -r "$srcdir/$ac_unique_file"; then 13008ff16396Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 13018ff16396Smrg { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 13020bd0e222Smrg { (exit 1); exit 1; }; } 13030bd0e222Smrgfi 13048ff16396Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 13058ff16396Smrgac_abs_confdir=`( 13068ff16396Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 13070bd0e222Smrg { (exit 1); exit 1; }; } 13088ff16396Smrg pwd)` 13098ff16396Smrg# When building in place, set srcdir=. 13108ff16396Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 13118ff16396Smrg srcdir=. 13128ff16396Smrgfi 13138ff16396Smrg# Remove unnecessary trailing slashes from srcdir. 13148ff16396Smrg# Double slashes in file names in object file debugging info 13158ff16396Smrg# mess up M-x gdb in Emacs. 13168ff16396Smrgcase $srcdir in 13178ff16396Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 13188ff16396Smrgesac 13198ff16396Smrgfor ac_var in $ac_precious_vars; do 13208ff16396Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 13218ff16396Smrg eval ac_env_${ac_var}_value=\$${ac_var} 13228ff16396Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 13238ff16396Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 13248ff16396Smrgdone 13250bd0e222Smrg 13260bd0e222Smrg# 13270bd0e222Smrg# Report the --help message. 13280bd0e222Smrg# 13290bd0e222Smrgif test "$ac_init_help" = "long"; then 13300bd0e222Smrg # Omit some internal or obsolete options to make the list less imposing. 13310bd0e222Smrg # This message is too long to be a string in the A/UX 3.1 sh. 13320bd0e222Smrg cat <<_ACEOF 13338ff16396Smrg\`configure' configures font-jis-misc 1.0.1 to adapt to many kinds of systems. 13340bd0e222Smrg 13350bd0e222SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 13360bd0e222Smrg 13370bd0e222SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 13380bd0e222SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 13390bd0e222Smrg 13400bd0e222SmrgDefaults for the options are specified in brackets. 13410bd0e222Smrg 13420bd0e222SmrgConfiguration: 13430bd0e222Smrg -h, --help display this help and exit 13440bd0e222Smrg --help=short display options specific to this package 13450bd0e222Smrg --help=recursive display the short help of all the included packages 13460bd0e222Smrg -V, --version display version information and exit 13470bd0e222Smrg -q, --quiet, --silent do not print \`checking...' messages 13480bd0e222Smrg --cache-file=FILE cache test results in FILE [disabled] 13490bd0e222Smrg -C, --config-cache alias for \`--cache-file=config.cache' 13500bd0e222Smrg -n, --no-create do not create output files 13510bd0e222Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13520bd0e222Smrg 13530bd0e222SmrgInstallation directories: 13540bd0e222Smrg --prefix=PREFIX install architecture-independent files in PREFIX 13558ff16396Smrg [$ac_default_prefix] 13560bd0e222Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 13578ff16396Smrg [PREFIX] 13580bd0e222Smrg 13590bd0e222SmrgBy default, \`make install' will install all the files in 13600bd0e222Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13610bd0e222Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13620bd0e222Smrgfor instance \`--prefix=\$HOME'. 13630bd0e222Smrg 13640bd0e222SmrgFor better control, use the options below. 13650bd0e222Smrg 13660bd0e222SmrgFine tuning of the installation directories: 13678ff16396Smrg --bindir=DIR user executables [EPREFIX/bin] 13688ff16396Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 13698ff16396Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 13708ff16396Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 13718ff16396Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 13728ff16396Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 13738ff16396Smrg --libdir=DIR object code libraries [EPREFIX/lib] 13748ff16396Smrg --includedir=DIR C header files [PREFIX/include] 13758ff16396Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 13768ff16396Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 13778ff16396Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 13788ff16396Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 13798ff16396Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 13808ff16396Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 13818ff16396Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/font-jis-misc] 13828ff16396Smrg --htmldir=DIR html documentation [DOCDIR] 13838ff16396Smrg --dvidir=DIR dvi documentation [DOCDIR] 13848ff16396Smrg --pdfdir=DIR pdf documentation [DOCDIR] 13858ff16396Smrg --psdir=DIR ps documentation [DOCDIR] 13860bd0e222Smrg_ACEOF 13870bd0e222Smrg 13880bd0e222Smrg cat <<\_ACEOF 13890bd0e222Smrg 13900bd0e222SmrgProgram names: 13910bd0e222Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 13920bd0e222Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 13930bd0e222Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13948ff16396Smrg 13958ff16396SmrgSystem types: 13968ff16396Smrg --build=BUILD configure for building on BUILD [guessed] 13978ff16396Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 13980bd0e222Smrg_ACEOF 13990bd0e222Smrgfi 14000bd0e222Smrg 14010bd0e222Smrgif test -n "$ac_init_help"; then 14020bd0e222Smrg case $ac_init_help in 14038ff16396Smrg short | recursive ) echo "Configuration of font-jis-misc 1.0.1:";; 14040bd0e222Smrg esac 14050bd0e222Smrg cat <<\_ACEOF 14060bd0e222Smrg 14070bd0e222SmrgOptional Features: 14088ff16396Smrg --disable-option-checking ignore unrecognized --enable/--with options 14090bd0e222Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 14100bd0e222Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 14118ff16396Smrg --enable-maintainer-mode enable make rules and dependencies not useful 14128ff16396Smrg (and sometimes confusing) to the casual installer 14138ff16396Smrg --disable-dependency-tracking speeds up one-time build 14148ff16396Smrg --enable-dependency-tracking do not reject slow dependency extractors 14158ff16396Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 14168ff16396Smrg --disable-silent-rules verbose build output (undo: `make V=0') 14178ff16396Smrg --enable-strict-compilation 14188ff16396Smrg Enable all warnings from compiler and make them 14198ff16396Smrg errors (default: disabled) 14200bd0e222Smrg 14210bd0e222SmrgOptional Packages: 14220bd0e222Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 14230bd0e222Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 14240bd0e222Smrg --with-release-version=STRING 14250bd0e222Smrg Use release version string in package name 14268ff16396Smrg --with-fontrootdir=DIR Path to root directory for font files 14278ff16396Smrg --with-fontdir=DIR Path to misc files [FONTROOTDIR/misc] 14288ff16396Smrg --with-compression=<no|compress|gzip|bzip2> 14298ff16396Smrg compression method to use on pcf fonts 14308ff16396Smrg 14318ff16396SmrgSome influential environment variables: 14328ff16396Smrg CC C compiler command 14338ff16396Smrg CFLAGS C compiler flags 14348ff16396Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 14358ff16396Smrg nonstandard directory <lib dir> 14368ff16396Smrg LIBS libraries to pass to the linker, e.g. -l<library> 14378ff16396Smrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 14388ff16396Smrg you have headers in a nonstandard directory <include dir> 14398ff16396Smrg CPP C preprocessor 14408ff16396Smrg PKG_CONFIG path to pkg-config utility 14418ff16396Smrg 14428ff16396SmrgUse these variables to override the choices made by `configure' or to help 14438ff16396Smrgit to find libraries and programs with nonstandard names/locations. 14440bd0e222Smrg 14450bd0e222SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 14460bd0e222Smrg_ACEOF 14478ff16396Smrgac_status=$? 14480bd0e222Smrgfi 14490bd0e222Smrg 14500bd0e222Smrgif test "$ac_init_help" = "recursive"; then 14510bd0e222Smrg # If there are subdirs, report their specific --help. 14520bd0e222Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 14538ff16396Smrg test -d "$ac_dir" || 14548ff16396Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 14558ff16396Smrg continue 14560bd0e222Smrg ac_builddir=. 14570bd0e222Smrg 14588ff16396Smrgcase "$ac_dir" in 14598ff16396Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14608ff16396Smrg*) 14618ff16396Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14628ff16396Smrg # A ".." for each directory in $ac_dir_suffix. 14638ff16396Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14648ff16396Smrg case $ac_top_builddir_sub in 14658ff16396Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14668ff16396Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14678ff16396Smrg esac ;; 14688ff16396Smrgesac 14698ff16396Smrgac_abs_top_builddir=$ac_pwd 14708ff16396Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 14718ff16396Smrg# for backward compatibility: 14728ff16396Smrgac_top_builddir=$ac_top_build_prefix 14730bd0e222Smrg 14740bd0e222Smrgcase $srcdir in 14758ff16396Smrg .) # We are building in place. 14760bd0e222Smrg ac_srcdir=. 14778ff16396Smrg ac_top_srcdir=$ac_top_builddir_sub 14788ff16396Smrg ac_abs_top_srcdir=$ac_pwd ;; 14798ff16396Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 14800bd0e222Smrg ac_srcdir=$srcdir$ac_dir_suffix; 14818ff16396Smrg ac_top_srcdir=$srcdir 14828ff16396Smrg ac_abs_top_srcdir=$srcdir ;; 14838ff16396Smrg *) # Relative name. 14848ff16396Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14858ff16396Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 14868ff16396Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14870bd0e222Smrgesac 14888ff16396Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14898ff16396Smrg 14908ff16396Smrg cd "$ac_dir" || { ac_status=$?; continue; } 14918ff16396Smrg # Check for guested configure. 14928ff16396Smrg if test -f "$ac_srcdir/configure.gnu"; then 14938ff16396Smrg echo && 14948ff16396Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14958ff16396Smrg elif test -f "$ac_srcdir/configure"; then 14968ff16396Smrg echo && 14978ff16396Smrg $SHELL "$ac_srcdir/configure" --help=recursive 14980bd0e222Smrg else 14998ff16396Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 15008ff16396Smrg fi || ac_status=$? 15018ff16396Smrg cd "$ac_pwd" || { ac_status=$?; break; } 15020bd0e222Smrg done 15030bd0e222Smrgfi 15040bd0e222Smrg 15058ff16396Smrgtest -n "$ac_init_help" && exit $ac_status 15060bd0e222Smrgif $ac_init_version; then 15070bd0e222Smrg cat <<\_ACEOF 15088ff16396Smrgfont-jis-misc configure 1.0.1 15098ff16396Smrggenerated by GNU Autoconf 2.63 15100bd0e222Smrg 15118ff16396SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 15128ff16396Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 15130bd0e222SmrgThis configure script is free software; the Free Software Foundation 15140bd0e222Smrggives unlimited permission to copy, distribute and modify it. 15150bd0e222Smrg_ACEOF 15168ff16396Smrg exit 15170bd0e222Smrgfi 15188ff16396Smrgcat >config.log <<_ACEOF 15190bd0e222SmrgThis file contains any messages produced by compilers while 15200bd0e222Smrgrunning configure, to aid debugging if configure makes a mistake. 15210bd0e222Smrg 15228ff16396SmrgIt was created by font-jis-misc $as_me 1.0.1, which was 15238ff16396Smrggenerated by GNU Autoconf 2.63. Invocation command line was 15240bd0e222Smrg 15250bd0e222Smrg $ $0 $@ 15260bd0e222Smrg 15270bd0e222Smrg_ACEOF 15288ff16396Smrgexec 5>>config.log 15290bd0e222Smrg{ 15300bd0e222Smrgcat <<_ASUNAME 15310bd0e222Smrg## --------- ## 15320bd0e222Smrg## Platform. ## 15330bd0e222Smrg## --------- ## 15340bd0e222Smrg 15350bd0e222Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 15360bd0e222Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 15370bd0e222Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 15380bd0e222Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 15390bd0e222Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 15400bd0e222Smrg 15410bd0e222Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 15420bd0e222Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 15430bd0e222Smrg 15440bd0e222Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 15450bd0e222Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 15460bd0e222Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 15478ff16396Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 15480bd0e222Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 15490bd0e222Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 15500bd0e222Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 15510bd0e222Smrg 15520bd0e222Smrg_ASUNAME 15530bd0e222Smrg 15540bd0e222Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15550bd0e222Smrgfor as_dir in $PATH 15560bd0e222Smrgdo 15570bd0e222Smrg IFS=$as_save_IFS 15580bd0e222Smrg test -z "$as_dir" && as_dir=. 15598ff16396Smrg $as_echo "PATH: $as_dir" 15600bd0e222Smrgdone 15618ff16396SmrgIFS=$as_save_IFS 15620bd0e222Smrg 15630bd0e222Smrg} >&5 15640bd0e222Smrg 15650bd0e222Smrgcat >&5 <<_ACEOF 15660bd0e222Smrg 15670bd0e222Smrg 15680bd0e222Smrg## ----------- ## 15690bd0e222Smrg## Core tests. ## 15700bd0e222Smrg## ----------- ## 15710bd0e222Smrg 15720bd0e222Smrg_ACEOF 15730bd0e222Smrg 15740bd0e222Smrg 15750bd0e222Smrg# Keep a trace of the command line. 15760bd0e222Smrg# Strip out --no-create and --no-recursion so they do not pile up. 15770bd0e222Smrg# Strip out --silent because we don't want to record it for future runs. 15780bd0e222Smrg# Also quote any args containing shell meta-characters. 15790bd0e222Smrg# Make two passes to allow for proper duplicate-argument suppression. 15800bd0e222Smrgac_configure_args= 15810bd0e222Smrgac_configure_args0= 15820bd0e222Smrgac_configure_args1= 15830bd0e222Smrgac_must_keep_next=false 15840bd0e222Smrgfor ac_pass in 1 2 15850bd0e222Smrgdo 15860bd0e222Smrg for ac_arg 15870bd0e222Smrg do 15880bd0e222Smrg case $ac_arg in 15890bd0e222Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 15900bd0e222Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15910bd0e222Smrg | -silent | --silent | --silen | --sile | --sil) 15920bd0e222Smrg continue ;; 15938ff16396Smrg *\'*) 15948ff16396Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 15950bd0e222Smrg esac 15960bd0e222Smrg case $ac_pass in 15970bd0e222Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 15980bd0e222Smrg 2) 15990bd0e222Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 16000bd0e222Smrg if test $ac_must_keep_next = true; then 16010bd0e222Smrg ac_must_keep_next=false # Got value, back to normal. 16020bd0e222Smrg else 16030bd0e222Smrg case $ac_arg in 16040bd0e222Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 16050bd0e222Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 16060bd0e222Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 16070bd0e222Smrg | -with-* | --with-* | -without-* | --without-* | --x) 16080bd0e222Smrg case "$ac_configure_args0 " in 16090bd0e222Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 16100bd0e222Smrg esac 16110bd0e222Smrg ;; 16120bd0e222Smrg -* ) ac_must_keep_next=true ;; 16130bd0e222Smrg esac 16140bd0e222Smrg fi 16158ff16396Smrg ac_configure_args="$ac_configure_args '$ac_arg'" 16160bd0e222Smrg ;; 16170bd0e222Smrg esac 16180bd0e222Smrg done 16190bd0e222Smrgdone 16200bd0e222Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 16210bd0e222Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 16220bd0e222Smrg 16230bd0e222Smrg# When interrupted or exit'd, cleanup temporary files, and complete 16240bd0e222Smrg# config.log. We remove comments because anyway the quotes in there 16250bd0e222Smrg# would cause problems or look ugly. 16268ff16396Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 16278ff16396Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 16280bd0e222Smrgtrap 'exit_status=$? 16290bd0e222Smrg # Save into config.log some information that might help in debugging. 16300bd0e222Smrg { 16310bd0e222Smrg echo 16320bd0e222Smrg 16330bd0e222Smrg cat <<\_ASBOX 16340bd0e222Smrg## ---------------- ## 16350bd0e222Smrg## Cache variables. ## 16360bd0e222Smrg## ---------------- ## 16370bd0e222Smrg_ASBOX 16380bd0e222Smrg echo 16390bd0e222Smrg # The following way of writing the cache mishandles newlines in values, 16408ff16396Smrg( 16418ff16396Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 16428ff16396Smrg eval ac_val=\$$ac_var 16438ff16396Smrg case $ac_val in #( 16448ff16396Smrg *${as_nl}*) 16458ff16396Smrg case $ac_var in #( 16468ff16396Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 16478ff16396Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 16488ff16396Smrg esac 16498ff16396Smrg case $ac_var in #( 16508ff16396Smrg _ | IFS | as_nl) ;; #( 16518ff16396Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 16528ff16396Smrg *) $as_unset $ac_var ;; 16538ff16396Smrg esac ;; 16548ff16396Smrg esac 16558ff16396Smrg done 16560bd0e222Smrg (set) 2>&1 | 16578ff16396Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 16588ff16396Smrg *${as_nl}ac_space=\ *) 16590bd0e222Smrg sed -n \ 16608ff16396Smrg "s/'\''/'\''\\\\'\'''\''/g; 16618ff16396Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 16628ff16396Smrg ;; #( 16630bd0e222Smrg *) 16648ff16396Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 16650bd0e222Smrg ;; 16668ff16396Smrg esac | 16678ff16396Smrg sort 16688ff16396Smrg) 16690bd0e222Smrg echo 16700bd0e222Smrg 16710bd0e222Smrg cat <<\_ASBOX 16720bd0e222Smrg## ----------------- ## 16730bd0e222Smrg## Output variables. ## 16740bd0e222Smrg## ----------------- ## 16750bd0e222Smrg_ASBOX 16760bd0e222Smrg echo 16770bd0e222Smrg for ac_var in $ac_subst_vars 16780bd0e222Smrg do 16798ff16396Smrg eval ac_val=\$$ac_var 16808ff16396Smrg case $ac_val in 16818ff16396Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16828ff16396Smrg esac 16838ff16396Smrg $as_echo "$ac_var='\''$ac_val'\''" 16840bd0e222Smrg done | sort 16850bd0e222Smrg echo 16860bd0e222Smrg 16870bd0e222Smrg if test -n "$ac_subst_files"; then 16880bd0e222Smrg cat <<\_ASBOX 16898ff16396Smrg## ------------------- ## 16908ff16396Smrg## File substitutions. ## 16918ff16396Smrg## ------------------- ## 16920bd0e222Smrg_ASBOX 16930bd0e222Smrg echo 16940bd0e222Smrg for ac_var in $ac_subst_files 16950bd0e222Smrg do 16968ff16396Smrg eval ac_val=\$$ac_var 16978ff16396Smrg case $ac_val in 16988ff16396Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16998ff16396Smrg esac 17008ff16396Smrg $as_echo "$ac_var='\''$ac_val'\''" 17010bd0e222Smrg done | sort 17020bd0e222Smrg echo 17030bd0e222Smrg fi 17040bd0e222Smrg 17050bd0e222Smrg if test -s confdefs.h; then 17060bd0e222Smrg cat <<\_ASBOX 17070bd0e222Smrg## ----------- ## 17080bd0e222Smrg## confdefs.h. ## 17090bd0e222Smrg## ----------- ## 17100bd0e222Smrg_ASBOX 17110bd0e222Smrg echo 17128ff16396Smrg cat confdefs.h 17130bd0e222Smrg echo 17140bd0e222Smrg fi 17150bd0e222Smrg test "$ac_signal" != 0 && 17168ff16396Smrg $as_echo "$as_me: caught signal $ac_signal" 17178ff16396Smrg $as_echo "$as_me: exit $exit_status" 17180bd0e222Smrg } >&5 17198ff16396Smrg rm -f core *.core core.conftest.* && 17208ff16396Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 17210bd0e222Smrg exit $exit_status 17228ff16396Smrg' 0 17230bd0e222Smrgfor ac_signal in 1 2 13 15; do 17240bd0e222Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 17250bd0e222Smrgdone 17260bd0e222Smrgac_signal=0 17270bd0e222Smrg 17280bd0e222Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 17298ff16396Smrgrm -f -r conftest* confdefs.h 17300bd0e222Smrg 17310bd0e222Smrg# Predefined preprocessor variables. 17320bd0e222Smrg 17330bd0e222Smrgcat >>confdefs.h <<_ACEOF 17340bd0e222Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 17350bd0e222Smrg_ACEOF 17360bd0e222Smrg 17370bd0e222Smrg 17380bd0e222Smrgcat >>confdefs.h <<_ACEOF 17390bd0e222Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 17400bd0e222Smrg_ACEOF 17410bd0e222Smrg 17420bd0e222Smrg 17430bd0e222Smrgcat >>confdefs.h <<_ACEOF 17440bd0e222Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 17450bd0e222Smrg_ACEOF 17460bd0e222Smrg 17470bd0e222Smrg 17480bd0e222Smrgcat >>confdefs.h <<_ACEOF 17490bd0e222Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 17500bd0e222Smrg_ACEOF 17510bd0e222Smrg 17520bd0e222Smrg 17530bd0e222Smrgcat >>confdefs.h <<_ACEOF 17540bd0e222Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 17550bd0e222Smrg_ACEOF 17560bd0e222Smrg 17570bd0e222Smrg 17580bd0e222Smrg# Let the site file select an alternate cache file if it wants to. 17598ff16396Smrg# Prefer an explicitly selected file to automatically selected ones. 17608ff16396Smrgac_site_file1=NONE 17618ff16396Smrgac_site_file2=NONE 17628ff16396Smrgif test -n "$CONFIG_SITE"; then 17638ff16396Smrg ac_site_file1=$CONFIG_SITE 17648ff16396Smrgelif test "x$prefix" != xNONE; then 17658ff16396Smrg ac_site_file1=$prefix/share/config.site 17668ff16396Smrg ac_site_file2=$prefix/etc/config.site 17678ff16396Smrgelse 17688ff16396Smrg ac_site_file1=$ac_default_prefix/share/config.site 17698ff16396Smrg ac_site_file2=$ac_default_prefix/etc/config.site 17700bd0e222Smrgfi 17718ff16396Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 17728ff16396Smrgdo 17738ff16396Smrg test "x$ac_site_file" = xNONE && continue 17740bd0e222Smrg if test -r "$ac_site_file"; then 17758ff16396Smrg { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 17768ff16396Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 17770bd0e222Smrg sed 's/^/| /' "$ac_site_file" >&5 17780bd0e222Smrg . "$ac_site_file" 17790bd0e222Smrg fi 17800bd0e222Smrgdone 17810bd0e222Smrg 17820bd0e222Smrgif test -r "$cache_file"; then 17830bd0e222Smrg # Some versions of bash will fail to source /dev/null (special 17840bd0e222Smrg # files actually), so we avoid doing that. 17850bd0e222Smrg if test -f "$cache_file"; then 17868ff16396Smrg { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 17878ff16396Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 17880bd0e222Smrg case $cache_file in 17898ff16396Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 17908ff16396Smrg *) . "./$cache_file";; 17910bd0e222Smrg esac 17920bd0e222Smrg fi 17930bd0e222Smrgelse 17948ff16396Smrg { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 17958ff16396Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 17960bd0e222Smrg >$cache_file 17970bd0e222Smrgfi 17980bd0e222Smrg 17990bd0e222Smrg# Check that the precious variables saved in the cache have kept the same 18000bd0e222Smrg# value. 18010bd0e222Smrgac_cache_corrupted=false 18028ff16396Smrgfor ac_var in $ac_precious_vars; do 18030bd0e222Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 18040bd0e222Smrg eval ac_new_set=\$ac_env_${ac_var}_set 18058ff16396Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 18068ff16396Smrg eval ac_new_val=\$ac_env_${ac_var}_value 18070bd0e222Smrg case $ac_old_set,$ac_new_set in 18080bd0e222Smrg set,) 18098ff16396Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 18108ff16396Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 18110bd0e222Smrg ac_cache_corrupted=: ;; 18120bd0e222Smrg ,set) 18138ff16396Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 18148ff16396Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 18150bd0e222Smrg ac_cache_corrupted=: ;; 18160bd0e222Smrg ,);; 18170bd0e222Smrg *) 18180bd0e222Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 18198ff16396Smrg # differences in whitespace do not lead to failure. 18208ff16396Smrg ac_old_val_w=`echo x $ac_old_val` 18218ff16396Smrg ac_new_val_w=`echo x $ac_new_val` 18228ff16396Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 18238ff16396Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 18248ff16396Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 18258ff16396Smrg ac_cache_corrupted=: 18268ff16396Smrg else 18278ff16396Smrg { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 18288ff16396Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 18298ff16396Smrg eval $ac_var=\$ac_old_val 18308ff16396Smrg fi 18318ff16396Smrg { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 18328ff16396Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 18338ff16396Smrg { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 18348ff16396Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 18350bd0e222Smrg fi;; 18360bd0e222Smrg esac 18370bd0e222Smrg # Pass precious variables to config.status. 18380bd0e222Smrg if test "$ac_new_set" = set; then 18390bd0e222Smrg case $ac_new_val in 18408ff16396Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 18410bd0e222Smrg *) ac_arg=$ac_var=$ac_new_val ;; 18420bd0e222Smrg esac 18430bd0e222Smrg case " $ac_configure_args " in 18440bd0e222Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 18450bd0e222Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 18460bd0e222Smrg esac 18470bd0e222Smrg fi 18480bd0e222Smrgdone 18490bd0e222Smrgif $ac_cache_corrupted; then 18508ff16396Smrg { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 18518ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18528ff16396Smrg { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 18538ff16396Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 18548ff16396Smrg { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 18558ff16396Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 18560bd0e222Smrg { (exit 1); exit 1; }; } 18570bd0e222Smrgfi 18580bd0e222Smrg 18590bd0e222Smrg 18600bd0e222Smrg 18610bd0e222Smrg 18620bd0e222Smrg 18630bd0e222Smrg 18640bd0e222Smrg 18650bd0e222Smrg 18660bd0e222Smrg 18670bd0e222Smrg 18680bd0e222Smrg 18690bd0e222Smrg 18700bd0e222Smrg 18710bd0e222Smrg 18720bd0e222Smrg 18730bd0e222Smrg 18740bd0e222Smrg 18750bd0e222Smrg 18760bd0e222Smrg 18770bd0e222Smrg 18780bd0e222Smrg 18790bd0e222Smrg 18800bd0e222Smrg 18810bd0e222Smrg 18820bd0e222Smrg 18838ff16396Smrgac_ext=c 18848ff16396Smrgac_cpp='$CPP $CPPFLAGS' 18858ff16396Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 18868ff16396Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 18878ff16396Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 18880bd0e222Smrg 18890bd0e222Smrg 18908ff16396Smrgam__api_version='1.11' 18910bd0e222Smrg 18920bd0e222Smrgac_aux_dir= 18938ff16396Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 18948ff16396Smrg if test -f "$ac_dir/install-sh"; then 18950bd0e222Smrg ac_aux_dir=$ac_dir 18960bd0e222Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 18970bd0e222Smrg break 18988ff16396Smrg elif test -f "$ac_dir/install.sh"; then 18990bd0e222Smrg ac_aux_dir=$ac_dir 19000bd0e222Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 19010bd0e222Smrg break 19028ff16396Smrg elif test -f "$ac_dir/shtool"; then 19030bd0e222Smrg ac_aux_dir=$ac_dir 19040bd0e222Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 19050bd0e222Smrg break 19060bd0e222Smrg fi 19070bd0e222Smrgdone 19080bd0e222Smrgif test -z "$ac_aux_dir"; then 19098ff16396Smrg { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 19108ff16396Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 19110bd0e222Smrg { (exit 1); exit 1; }; } 19120bd0e222Smrgfi 19138ff16396Smrg 19148ff16396Smrg# These three variables are undocumented and unsupported, 19158ff16396Smrg# and are intended to be withdrawn in a future Autoconf release. 19168ff16396Smrg# They can cause serious problems if a builder's source tree is in a directory 19178ff16396Smrg# whose full name contains unusual characters. 19188ff16396Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 19198ff16396Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 19208ff16396Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 19218ff16396Smrg 19220bd0e222Smrg 19230bd0e222Smrg# Find a good install program. We prefer a C program (faster), 19240bd0e222Smrg# so one script is as good as another. But avoid the broken or 19250bd0e222Smrg# incompatible versions: 19260bd0e222Smrg# SysV /etc/install, /usr/sbin/install 19270bd0e222Smrg# SunOS /usr/etc/install 19280bd0e222Smrg# IRIX /sbin/install 19290bd0e222Smrg# AIX /bin/install 19300bd0e222Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 19310bd0e222Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 19320bd0e222Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 19330bd0e222Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 19340bd0e222Smrg# OS/2's system install, which has a completely different semantic 19350bd0e222Smrg# ./install, which can be erroneously created by make from ./install.sh. 19368ff16396Smrg# Reject install programs that cannot install multiple files. 19378ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 19388ff16396Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 19390bd0e222Smrgif test -z "$INSTALL"; then 19400bd0e222Smrgif test "${ac_cv_path_install+set}" = set; then 19418ff16396Smrg $as_echo_n "(cached) " >&6 19420bd0e222Smrgelse 19430bd0e222Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19440bd0e222Smrgfor as_dir in $PATH 19450bd0e222Smrgdo 19460bd0e222Smrg IFS=$as_save_IFS 19470bd0e222Smrg test -z "$as_dir" && as_dir=. 19480bd0e222Smrg # Account for people who put trailing slashes in PATH elements. 19490bd0e222Smrgcase $as_dir/ in 19500bd0e222Smrg ./ | .// | /cC/* | \ 19510bd0e222Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 19520bd0e222Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 19530bd0e222Smrg /usr/ucb/* ) ;; 19540bd0e222Smrg *) 19550bd0e222Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 19560bd0e222Smrg # Don't use installbsd from OSF since it installs stuff as root 19570bd0e222Smrg # by default. 19580bd0e222Smrg for ac_prog in ginstall scoinst install; do 19590bd0e222Smrg for ac_exec_ext in '' $ac_executable_extensions; do 19608ff16396Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 19610bd0e222Smrg if test $ac_prog = install && 19620bd0e222Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 19630bd0e222Smrg # AIX install. It has an incompatible calling convention. 19640bd0e222Smrg : 19650bd0e222Smrg elif test $ac_prog = install && 19660bd0e222Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 19670bd0e222Smrg # program-specific install script used by HP pwplus--don't use. 19680bd0e222Smrg : 19690bd0e222Smrg else 19708ff16396Smrg rm -rf conftest.one conftest.two conftest.dir 19718ff16396Smrg echo one > conftest.one 19728ff16396Smrg echo two > conftest.two 19738ff16396Smrg mkdir conftest.dir 19748ff16396Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 19758ff16396Smrg test -s conftest.one && test -s conftest.two && 19768ff16396Smrg test -s conftest.dir/conftest.one && 19778ff16396Smrg test -s conftest.dir/conftest.two 19788ff16396Smrg then 19798ff16396Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 19808ff16396Smrg break 3 19818ff16396Smrg fi 19820bd0e222Smrg fi 19830bd0e222Smrg fi 19840bd0e222Smrg done 19850bd0e222Smrg done 19860bd0e222Smrg ;; 19870bd0e222Smrgesac 19888ff16396Smrg 19890bd0e222Smrgdone 19908ff16396SmrgIFS=$as_save_IFS 19910bd0e222Smrg 19928ff16396Smrgrm -rf conftest.one conftest.two conftest.dir 19930bd0e222Smrg 19940bd0e222Smrgfi 19950bd0e222Smrg if test "${ac_cv_path_install+set}" = set; then 19960bd0e222Smrg INSTALL=$ac_cv_path_install 19970bd0e222Smrg else 19988ff16396Smrg # As a last resort, use the slow shell script. Don't cache a 19998ff16396Smrg # value for INSTALL within a source directory, because that will 20000bd0e222Smrg # break other packages using the cache if that directory is 20018ff16396Smrg # removed, or if the value is a relative name. 20020bd0e222Smrg INSTALL=$ac_install_sh 20030bd0e222Smrg fi 20040bd0e222Smrgfi 20058ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 20068ff16396Smrg$as_echo "$INSTALL" >&6; } 20070bd0e222Smrg 20080bd0e222Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 20090bd0e222Smrg# It thinks the first close brace ends the variable substitution. 20100bd0e222Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 20110bd0e222Smrg 20120bd0e222Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 20130bd0e222Smrg 20140bd0e222Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 20150bd0e222Smrg 20168ff16396Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 20178ff16396Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 20180bd0e222Smrg# Just in case 20190bd0e222Smrgsleep 1 20200bd0e222Smrgecho timestamp > conftest.file 20218ff16396Smrg# Reject unsafe characters in $srcdir or the absolute working directory 20228ff16396Smrg# name. Accept space and tab only in the latter. 20238ff16396Smrgam_lf=' 20248ff16396Smrg' 20258ff16396Smrgcase `pwd` in 20268ff16396Smrg *[\\\"\#\$\&\'\`$am_lf]*) 20278ff16396Smrg { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 20288ff16396Smrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 20298ff16396Smrg { (exit 1); exit 1; }; };; 20308ff16396Smrgesac 20318ff16396Smrgcase $srcdir in 20328ff16396Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 20338ff16396Smrg { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 20348ff16396Smrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 20358ff16396Smrg { (exit 1); exit 1; }; };; 20368ff16396Smrgesac 20378ff16396Smrg 20380bd0e222Smrg# Do `set' in a subshell so we don't clobber the current shell's 20390bd0e222Smrg# arguments. Must try -L first in case configure is actually a 20400bd0e222Smrg# symlink; some systems play weird games with the mod time of symlinks 20410bd0e222Smrg# (eg FreeBSD returns the mod time of the symlink's containing 20420bd0e222Smrg# directory). 20430bd0e222Smrgif ( 20448ff16396Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 20450bd0e222Smrg if test "$*" = "X"; then 20460bd0e222Smrg # -L didn't work. 20478ff16396Smrg set X `ls -t "$srcdir/configure" conftest.file` 20480bd0e222Smrg fi 20490bd0e222Smrg rm -f conftest.file 20500bd0e222Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 20510bd0e222Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 20520bd0e222Smrg 20530bd0e222Smrg # If neither matched, then we have a broken ls. This can happen 20540bd0e222Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 20550bd0e222Smrg # broken ls alias from the environment. This has actually 20560bd0e222Smrg # happened. Such a system could not be considered "sane". 20578ff16396Smrg { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 20580bd0e222Smrgalias in your environment" >&5 20598ff16396Smrg$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 20600bd0e222Smrgalias in your environment" >&2;} 20610bd0e222Smrg { (exit 1); exit 1; }; } 20620bd0e222Smrg fi 20630bd0e222Smrg 20640bd0e222Smrg test "$2" = conftest.file 20650bd0e222Smrg ) 20660bd0e222Smrgthen 20670bd0e222Smrg # Ok. 20680bd0e222Smrg : 20690bd0e222Smrgelse 20708ff16396Smrg { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 20710bd0e222SmrgCheck your system clock" >&5 20728ff16396Smrg$as_echo "$as_me: error: newly created file is older than distributed files! 20730bd0e222SmrgCheck your system clock" >&2;} 20740bd0e222Smrg { (exit 1); exit 1; }; } 20750bd0e222Smrgfi 20768ff16396Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 20778ff16396Smrg$as_echo "yes" >&6; } 20780bd0e222Smrgtest "$program_prefix" != NONE && 20798ff16396Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 20800bd0e222Smrg# Use a double $ so make ignores it. 20810bd0e222Smrgtest "$program_suffix" != NONE && 20828ff16396Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 20838ff16396Smrg# Double any \ or $. 20840bd0e222Smrg# By default was `s,x,x', remove it if useless. 20858ff16396Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 20868ff16396Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 20870bd0e222Smrg 20880bd0e222Smrg# expand $ac_aux_dir to an absolute path 20890bd0e222Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 20900bd0e222Smrg 20918ff16396Smrgif test x"${MISSING+set}" != xset; then 20928ff16396Smrg case $am_aux_dir in 20938ff16396Smrg *\ * | *\ *) 20948ff16396Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 20958ff16396Smrg *) 20968ff16396Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 20978ff16396Smrg esac 20988ff16396Smrgfi 20990bd0e222Smrg# Use eval to expand $SHELL 21000bd0e222Smrgif eval "$MISSING --run true"; then 21010bd0e222Smrg am_missing_run="$MISSING --run " 21020bd0e222Smrgelse 21030bd0e222Smrg am_missing_run= 21048ff16396Smrg { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 21058ff16396Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 21068ff16396Smrgfi 21078ff16396Smrg 21088ff16396Smrgif test x"${install_sh}" != xset; then 21098ff16396Smrg case $am_aux_dir in 21108ff16396Smrg *\ * | *\ *) 21118ff16396Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 21128ff16396Smrg *) 21138ff16396Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 21148ff16396Smrg esac 21158ff16396Smrgfi 21168ff16396Smrg 21178ff16396Smrg# Installed binaries are usually stripped using `strip' when the user 21188ff16396Smrg# run `make install-strip'. However `strip' might not be the right 21198ff16396Smrg# tool to use in cross-compilation environments, therefore Automake 21208ff16396Smrg# will honor the `STRIP' environment variable to overrule this program. 21218ff16396Smrgif test "$cross_compiling" != no; then 21228ff16396Smrg if test -n "$ac_tool_prefix"; then 21238ff16396Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 21248ff16396Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 21258ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 21268ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 21278ff16396Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 21288ff16396Smrg $as_echo_n "(cached) " >&6 21298ff16396Smrgelse 21308ff16396Smrg if test -n "$STRIP"; then 21318ff16396Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 21328ff16396Smrgelse 21338ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21348ff16396Smrgfor as_dir in $PATH 21358ff16396Smrgdo 21368ff16396Smrg IFS=$as_save_IFS 21378ff16396Smrg test -z "$as_dir" && as_dir=. 21388ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21398ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21408ff16396Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 21418ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21428ff16396Smrg break 2 21438ff16396Smrg fi 21448ff16396Smrgdone 21458ff16396Smrgdone 21468ff16396SmrgIFS=$as_save_IFS 21478ff16396Smrg 21488ff16396Smrgfi 21498ff16396Smrgfi 21508ff16396SmrgSTRIP=$ac_cv_prog_STRIP 21518ff16396Smrgif test -n "$STRIP"; then 21528ff16396Smrg { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 21538ff16396Smrg$as_echo "$STRIP" >&6; } 21548ff16396Smrgelse 21558ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 21568ff16396Smrg$as_echo "no" >&6; } 21578ff16396Smrgfi 21588ff16396Smrg 21598ff16396Smrg 21608ff16396Smrgfi 21618ff16396Smrgif test -z "$ac_cv_prog_STRIP"; then 21628ff16396Smrg ac_ct_STRIP=$STRIP 21638ff16396Smrg # Extract the first word of "strip", so it can be a program name with args. 21648ff16396Smrgset dummy strip; ac_word=$2 21658ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 21668ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 21678ff16396Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 21688ff16396Smrg $as_echo_n "(cached) " >&6 21698ff16396Smrgelse 21708ff16396Smrg if test -n "$ac_ct_STRIP"; then 21718ff16396Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 21728ff16396Smrgelse 21738ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21748ff16396Smrgfor as_dir in $PATH 21758ff16396Smrgdo 21768ff16396Smrg IFS=$as_save_IFS 21778ff16396Smrg test -z "$as_dir" && as_dir=. 21788ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21798ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21808ff16396Smrg ac_cv_prog_ac_ct_STRIP="strip" 21818ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21828ff16396Smrg break 2 21838ff16396Smrg fi 21848ff16396Smrgdone 21858ff16396Smrgdone 21868ff16396SmrgIFS=$as_save_IFS 21878ff16396Smrg 21888ff16396Smrgfi 21898ff16396Smrgfi 21908ff16396Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 21918ff16396Smrgif test -n "$ac_ct_STRIP"; then 21928ff16396Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 21938ff16396Smrg$as_echo "$ac_ct_STRIP" >&6; } 21948ff16396Smrgelse 21958ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 21968ff16396Smrg$as_echo "no" >&6; } 21978ff16396Smrgfi 21988ff16396Smrg 21998ff16396Smrg if test "x$ac_ct_STRIP" = x; then 22008ff16396Smrg STRIP=":" 22018ff16396Smrg else 22028ff16396Smrg case $cross_compiling:$ac_tool_warned in 22038ff16396Smrgyes:) 22048ff16396Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 22058ff16396Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 22068ff16396Smrgac_tool_warned=yes ;; 22078ff16396Smrgesac 22088ff16396Smrg STRIP=$ac_ct_STRIP 22098ff16396Smrg fi 22108ff16396Smrgelse 22118ff16396Smrg STRIP="$ac_cv_prog_STRIP" 22128ff16396Smrgfi 22138ff16396Smrg 22148ff16396Smrgfi 22158ff16396SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 22168ff16396Smrg 22178ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 22188ff16396Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 22198ff16396Smrgif test -z "$MKDIR_P"; then 22208ff16396Smrg if test "${ac_cv_path_mkdir+set}" = set; then 22218ff16396Smrg $as_echo_n "(cached) " >&6 22228ff16396Smrgelse 22238ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22248ff16396Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 22258ff16396Smrgdo 22268ff16396Smrg IFS=$as_save_IFS 22278ff16396Smrg test -z "$as_dir" && as_dir=. 22288ff16396Smrg for ac_prog in mkdir gmkdir; do 22298ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22308ff16396Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 22318ff16396Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 22328ff16396Smrg 'mkdir (GNU coreutils) '* | \ 22338ff16396Smrg 'mkdir (coreutils) '* | \ 22348ff16396Smrg 'mkdir (fileutils) '4.1*) 22358ff16396Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 22368ff16396Smrg break 3;; 22378ff16396Smrg esac 22388ff16396Smrg done 22398ff16396Smrg done 22408ff16396Smrgdone 22418ff16396SmrgIFS=$as_save_IFS 22428ff16396Smrg 22438ff16396Smrgfi 22448ff16396Smrg 22458ff16396Smrg if test "${ac_cv_path_mkdir+set}" = set; then 22468ff16396Smrg MKDIR_P="$ac_cv_path_mkdir -p" 22478ff16396Smrg else 22488ff16396Smrg # As a last resort, use the slow shell script. Don't cache a 22498ff16396Smrg # value for MKDIR_P within a source directory, because that will 22508ff16396Smrg # break other packages using the cache if that directory is 22518ff16396Smrg # removed, or if the value is a relative name. 22528ff16396Smrg test -d ./--version && rmdir ./--version 22538ff16396Smrg MKDIR_P="$ac_install_sh -d" 22548ff16396Smrg fi 22550bd0e222Smrgfi 22568ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 22578ff16396Smrg$as_echo "$MKDIR_P" >&6; } 22588ff16396Smrg 22598ff16396Smrgmkdir_p="$MKDIR_P" 22608ff16396Smrgcase $mkdir_p in 22618ff16396Smrg [\\/$]* | ?:[\\/]*) ;; 22628ff16396Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 22638ff16396Smrgesac 22640bd0e222Smrg 22650bd0e222Smrgfor ac_prog in gawk mawk nawk awk 22660bd0e222Smrgdo 22670bd0e222Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 22680bd0e222Smrgset dummy $ac_prog; ac_word=$2 22698ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 22708ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 22710bd0e222Smrgif test "${ac_cv_prog_AWK+set}" = set; then 22728ff16396Smrg $as_echo_n "(cached) " >&6 22730bd0e222Smrgelse 22740bd0e222Smrg if test -n "$AWK"; then 22750bd0e222Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 22760bd0e222Smrgelse 22770bd0e222Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22780bd0e222Smrgfor as_dir in $PATH 22790bd0e222Smrgdo 22800bd0e222Smrg IFS=$as_save_IFS 22810bd0e222Smrg test -z "$as_dir" && as_dir=. 22820bd0e222Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22838ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22840bd0e222Smrg ac_cv_prog_AWK="$ac_prog" 22858ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 22860bd0e222Smrg break 2 22870bd0e222Smrg fi 22880bd0e222Smrgdone 22890bd0e222Smrgdone 22908ff16396SmrgIFS=$as_save_IFS 22910bd0e222Smrg 22920bd0e222Smrgfi 22930bd0e222Smrgfi 22940bd0e222SmrgAWK=$ac_cv_prog_AWK 22950bd0e222Smrgif test -n "$AWK"; then 22968ff16396Smrg { $as_echo "$as_me:$LINENO: result: $AWK" >&5 22978ff16396Smrg$as_echo "$AWK" >&6; } 22980bd0e222Smrgelse 22998ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 23008ff16396Smrg$as_echo "no" >&6; } 23010bd0e222Smrgfi 23020bd0e222Smrg 23038ff16396Smrg 23040bd0e222Smrg test -n "$AWK" && break 23050bd0e222Smrgdone 23060bd0e222Smrg 23078ff16396Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 23088ff16396Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 23098ff16396Smrgset x ${MAKE-make} 23108ff16396Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 23118ff16396Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 23128ff16396Smrg $as_echo_n "(cached) " >&6 23130bd0e222Smrgelse 23140bd0e222Smrg cat >conftest.make <<\_ACEOF 23158ff16396SmrgSHELL = /bin/sh 23160bd0e222Smrgall: 23178ff16396Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 23180bd0e222Smrg_ACEOF 23190bd0e222Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 23208ff16396Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 23218ff16396Smrg *@@@%%%=?*=@@@%%%*) 23228ff16396Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 23238ff16396Smrg *) 23248ff16396Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 23258ff16396Smrgesac 23260bd0e222Smrgrm -f conftest.make 23270bd0e222Smrgfi 23288ff16396Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 23298ff16396Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 23308ff16396Smrg$as_echo "yes" >&6; } 23310bd0e222Smrg SET_MAKE= 23320bd0e222Smrgelse 23338ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 23348ff16396Smrg$as_echo "no" >&6; } 23350bd0e222Smrg SET_MAKE="MAKE=${MAKE-make}" 23360bd0e222Smrgfi 23370bd0e222Smrg 23380bd0e222Smrgrm -rf .tst 2>/dev/null 23390bd0e222Smrgmkdir .tst 2>/dev/null 23400bd0e222Smrgif test -d .tst; then 23410bd0e222Smrg am__leading_dot=. 23420bd0e222Smrgelse 23430bd0e222Smrg am__leading_dot=_ 23440bd0e222Smrgfi 23450bd0e222Smrgrmdir .tst 2>/dev/null 23460bd0e222Smrg 23478ff16396Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 23488ff16396Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 23498ff16396Smrg # is not polluted with repeated "-I." 23508ff16396Smrg am__isrc=' -I$(srcdir)' 23518ff16396Smrg # test to see if srcdir already configured 23528ff16396Smrg if test -f $srcdir/config.status; then 23538ff16396Smrg { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 23548ff16396Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 23550bd0e222Smrg { (exit 1); exit 1; }; } 23568ff16396Smrg fi 23570bd0e222Smrgfi 23580bd0e222Smrg 23590bd0e222Smrg# test whether we have cygpath 23600bd0e222Smrgif test -z "$CYGPATH_W"; then 23610bd0e222Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 23620bd0e222Smrg CYGPATH_W='cygpath -w' 23630bd0e222Smrg else 23640bd0e222Smrg CYGPATH_W=echo 23650bd0e222Smrg fi 23660bd0e222Smrgfi 23670bd0e222Smrg 23680bd0e222Smrg 23690bd0e222Smrg# Define the identity of the package. 23700bd0e222Smrg PACKAGE='font-jis-misc' 23718ff16396Smrg VERSION='1.0.1' 23720bd0e222Smrg 23730bd0e222Smrg 23740bd0e222Smrgcat >>confdefs.h <<_ACEOF 23750bd0e222Smrg#define PACKAGE "$PACKAGE" 23760bd0e222Smrg_ACEOF 23770bd0e222Smrg 23780bd0e222Smrg 23790bd0e222Smrgcat >>confdefs.h <<_ACEOF 23800bd0e222Smrg#define VERSION "$VERSION" 23810bd0e222Smrg_ACEOF 23820bd0e222Smrg 23830bd0e222Smrg# Some tools Automake needs. 23840bd0e222Smrg 23850bd0e222SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 23860bd0e222Smrg 23870bd0e222Smrg 23880bd0e222SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 23890bd0e222Smrg 23900bd0e222Smrg 23910bd0e222SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 23920bd0e222Smrg 23930bd0e222Smrg 23940bd0e222SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 23950bd0e222Smrg 23960bd0e222Smrg 23970bd0e222SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 23980bd0e222Smrg 23998ff16396Smrg# We need awk for the "check" target. The system "awk" is bad on 24008ff16396Smrg# some platforms. 24018ff16396Smrg# Always define AMTAR for backward compatibility. 24020bd0e222Smrg 24030bd0e222SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 24040bd0e222Smrg 24058ff16396Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 24060bd0e222Smrg 24078ff16396Smrg 24088ff16396Smrg 24098ff16396Smrg 24108ff16396Smrg 24118ff16396Smrg 24128ff16396Smrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 24138ff16396Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 24148ff16396Smrg # Check whether --enable-maintainer-mode was given. 24158ff16396Smrgif test "${enable_maintainer_mode+set}" = set; then 24168ff16396Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 24170bd0e222Smrgelse 24188ff16396Smrg USE_MAINTAINER_MODE=no 24198ff16396Smrgfi 24208ff16396Smrg 24218ff16396Smrg { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 24228ff16396Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 24238ff16396Smrg if test $USE_MAINTAINER_MODE = yes; then 24248ff16396Smrg MAINTAINER_MODE_TRUE= 24258ff16396Smrg MAINTAINER_MODE_FALSE='#' 24268ff16396Smrgelse 24278ff16396Smrg MAINTAINER_MODE_TRUE='#' 24288ff16396Smrg MAINTAINER_MODE_FALSE= 24298ff16396Smrgfi 24308ff16396Smrg 24318ff16396Smrg MAINT=$MAINTAINER_MODE_TRUE 24328ff16396Smrg 24338ff16396Smrg 24348ff16396Smrg 24358ff16396Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS 24368ff16396Smrg 24378ff16396Smrg 24388ff16396Smrg 24398ff16396Smrg 24408ff16396Smrg 24418ff16396Smrg 24428ff16396Smrg 24438ff16396Smrg 24448ff16396Smrg 24458ff16396Smrg 24468ff16396Smrg 24478ff16396SmrgDEPDIR="${am__leading_dot}deps" 24488ff16396Smrg 24498ff16396Smrgac_config_commands="$ac_config_commands depfiles" 24508ff16396Smrg 24518ff16396Smrg 24528ff16396Smrgam_make=${MAKE-make} 24538ff16396Smrgcat > confinc << 'END' 24548ff16396Smrgam__doit: 24558ff16396Smrg @echo this is the am__doit target 24568ff16396Smrg.PHONY: am__doit 24578ff16396SmrgEND 24588ff16396Smrg# If we don't find an include directive, just comment out the code. 24598ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 24608ff16396Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 24618ff16396Smrgam__include="#" 24628ff16396Smrgam__quote= 24638ff16396Smrg_am_result=none 24648ff16396Smrg# First try GNU make style include. 24658ff16396Smrgecho "include confinc" > confmf 24668ff16396Smrg# Ignore all kinds of additional output from `make'. 24678ff16396Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 24688ff16396Smrg*the\ am__doit\ target*) 24698ff16396Smrg am__include=include 24708ff16396Smrg am__quote= 24718ff16396Smrg _am_result=GNU 24728ff16396Smrg ;; 24738ff16396Smrgesac 24748ff16396Smrg# Now try BSD make style include. 24758ff16396Smrgif test "$am__include" = "#"; then 24768ff16396Smrg echo '.include "confinc"' > confmf 24778ff16396Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 24788ff16396Smrg *the\ am__doit\ target*) 24798ff16396Smrg am__include=.include 24808ff16396Smrg am__quote="\"" 24818ff16396Smrg _am_result=BSD 24828ff16396Smrg ;; 24838ff16396Smrg esac 24848ff16396Smrgfi 24858ff16396Smrg 24868ff16396Smrg 24878ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 24888ff16396Smrg$as_echo "$_am_result" >&6; } 24898ff16396Smrgrm -f confinc confmf 24908ff16396Smrg 24918ff16396Smrg# Check whether --enable-dependency-tracking was given. 24928ff16396Smrgif test "${enable_dependency_tracking+set}" = set; then 24938ff16396Smrg enableval=$enable_dependency_tracking; 24948ff16396Smrgfi 24958ff16396Smrg 24968ff16396Smrgif test "x$enable_dependency_tracking" != xno; then 24978ff16396Smrg am_depcomp="$ac_aux_dir/depcomp" 24988ff16396Smrg AMDEPBACKSLASH='\' 24998ff16396Smrgfi 25008ff16396Smrg if test "x$enable_dependency_tracking" != xno; then 25018ff16396Smrg AMDEP_TRUE= 25028ff16396Smrg AMDEP_FALSE='#' 25038ff16396Smrgelse 25048ff16396Smrg AMDEP_TRUE='#' 25058ff16396Smrg AMDEP_FALSE= 25068ff16396Smrgfi 25078ff16396Smrg 25088ff16396Smrg 25098ff16396Smrgac_ext=c 25108ff16396Smrgac_cpp='$CPP $CPPFLAGS' 25118ff16396Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 25128ff16396Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 25138ff16396Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 25148ff16396Smrgif test -n "$ac_tool_prefix"; then 25158ff16396Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 25168ff16396Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 25178ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 25188ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 25198ff16396Smrgif test "${ac_cv_prog_CC+set}" = set; then 25208ff16396Smrg $as_echo_n "(cached) " >&6 25218ff16396Smrgelse 25228ff16396Smrg if test -n "$CC"; then 25238ff16396Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 25240bd0e222Smrgelse 25250bd0e222Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25260bd0e222Smrgfor as_dir in $PATH 25270bd0e222Smrgdo 25280bd0e222Smrg IFS=$as_save_IFS 25290bd0e222Smrg test -z "$as_dir" && as_dir=. 25300bd0e222Smrg for ac_exec_ext in '' $ac_executable_extensions; do 25318ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 25328ff16396Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 25338ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25340bd0e222Smrg break 2 25350bd0e222Smrg fi 25360bd0e222Smrgdone 25370bd0e222Smrgdone 25388ff16396SmrgIFS=$as_save_IFS 25390bd0e222Smrg 25400bd0e222Smrgfi 25410bd0e222Smrgfi 25428ff16396SmrgCC=$ac_cv_prog_CC 25438ff16396Smrgif test -n "$CC"; then 25448ff16396Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 25458ff16396Smrg$as_echo "$CC" >&6; } 25460bd0e222Smrgelse 25478ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 25488ff16396Smrg$as_echo "no" >&6; } 25490bd0e222Smrgfi 25500bd0e222Smrg 25518ff16396Smrg 25520bd0e222Smrgfi 25538ff16396Smrgif test -z "$ac_cv_prog_CC"; then 25548ff16396Smrg ac_ct_CC=$CC 25558ff16396Smrg # Extract the first word of "gcc", so it can be a program name with args. 25568ff16396Smrgset dummy gcc; ac_word=$2 25578ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 25588ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 25598ff16396Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 25608ff16396Smrg $as_echo_n "(cached) " >&6 25610bd0e222Smrgelse 25628ff16396Smrg if test -n "$ac_ct_CC"; then 25638ff16396Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 25640bd0e222Smrgelse 25650bd0e222Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25660bd0e222Smrgfor as_dir in $PATH 25670bd0e222Smrgdo 25680bd0e222Smrg IFS=$as_save_IFS 25690bd0e222Smrg test -z "$as_dir" && as_dir=. 25700bd0e222Smrg for ac_exec_ext in '' $ac_executable_extensions; do 25718ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 25728ff16396Smrg ac_cv_prog_ac_ct_CC="gcc" 25738ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25740bd0e222Smrg break 2 25750bd0e222Smrg fi 25760bd0e222Smrgdone 25770bd0e222Smrgdone 25788ff16396SmrgIFS=$as_save_IFS 25790bd0e222Smrg 25800bd0e222Smrgfi 25810bd0e222Smrgfi 25828ff16396Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 25838ff16396Smrgif test -n "$ac_ct_CC"; then 25848ff16396Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 25858ff16396Smrg$as_echo "$ac_ct_CC" >&6; } 25860bd0e222Smrgelse 25878ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 25888ff16396Smrg$as_echo "no" >&6; } 25890bd0e222Smrgfi 25900bd0e222Smrg 25918ff16396Smrg if test "x$ac_ct_CC" = x; then 25928ff16396Smrg CC="" 25938ff16396Smrg else 25948ff16396Smrg case $cross_compiling:$ac_tool_warned in 25958ff16396Smrgyes:) 25968ff16396Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 25978ff16396Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 25988ff16396Smrgac_tool_warned=yes ;; 25998ff16396Smrgesac 26008ff16396Smrg CC=$ac_ct_CC 26018ff16396Smrg fi 26020bd0e222Smrgelse 26038ff16396Smrg CC="$ac_cv_prog_CC" 26040bd0e222Smrgfi 26050bd0e222Smrg 26068ff16396Smrgif test -z "$CC"; then 26078ff16396Smrg if test -n "$ac_tool_prefix"; then 26088ff16396Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 26098ff16396Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 26108ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 26118ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 26128ff16396Smrgif test "${ac_cv_prog_CC+set}" = set; then 26138ff16396Smrg $as_echo_n "(cached) " >&6 26140bd0e222Smrgelse 26158ff16396Smrg if test -n "$CC"; then 26168ff16396Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 26178ff16396Smrgelse 26188ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26198ff16396Smrgfor as_dir in $PATH 26208ff16396Smrgdo 26218ff16396Smrg IFS=$as_save_IFS 26228ff16396Smrg test -z "$as_dir" && as_dir=. 26238ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26248ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26258ff16396Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 26268ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26278ff16396Smrg break 2 26288ff16396Smrg fi 26298ff16396Smrgdone 26308ff16396Smrgdone 26318ff16396SmrgIFS=$as_save_IFS 26328ff16396Smrg 26338ff16396Smrgfi 26348ff16396Smrgfi 26358ff16396SmrgCC=$ac_cv_prog_CC 26368ff16396Smrgif test -n "$CC"; then 26378ff16396Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 26388ff16396Smrg$as_echo "$CC" >&6; } 26398ff16396Smrgelse 26408ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 26418ff16396Smrg$as_echo "no" >&6; } 26428ff16396Smrgfi 26438ff16396Smrg 26448ff16396Smrg 26458ff16396Smrg fi 26468ff16396Smrgfi 26478ff16396Smrgif test -z "$CC"; then 26488ff16396Smrg # Extract the first word of "cc", so it can be a program name with args. 26498ff16396Smrgset dummy cc; ac_word=$2 26508ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 26518ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 26528ff16396Smrgif test "${ac_cv_prog_CC+set}" = set; then 26538ff16396Smrg $as_echo_n "(cached) " >&6 26548ff16396Smrgelse 26558ff16396Smrg if test -n "$CC"; then 26568ff16396Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 26578ff16396Smrgelse 26588ff16396Smrg ac_prog_rejected=no 26598ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26608ff16396Smrgfor as_dir in $PATH 26618ff16396Smrgdo 26628ff16396Smrg IFS=$as_save_IFS 26638ff16396Smrg test -z "$as_dir" && as_dir=. 26648ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 26658ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26668ff16396Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 26678ff16396Smrg ac_prog_rejected=yes 26688ff16396Smrg continue 26698ff16396Smrg fi 26708ff16396Smrg ac_cv_prog_CC="cc" 26718ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26728ff16396Smrg break 2 26738ff16396Smrg fi 26748ff16396Smrgdone 26758ff16396Smrgdone 26768ff16396SmrgIFS=$as_save_IFS 26778ff16396Smrg 26788ff16396Smrgif test $ac_prog_rejected = yes; then 26798ff16396Smrg # We found a bogon in the path, so make sure we never use it. 26808ff16396Smrg set dummy $ac_cv_prog_CC 26818ff16396Smrg shift 26828ff16396Smrg if test $# != 0; then 26838ff16396Smrg # We chose a different compiler from the bogus one. 26848ff16396Smrg # However, it has the same basename, so the bogon will be chosen 26858ff16396Smrg # first if we set CC to just the basename; use the full file name. 26868ff16396Smrg shift 26878ff16396Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 26888ff16396Smrg fi 26898ff16396Smrgfi 26908ff16396Smrgfi 26918ff16396Smrgfi 26928ff16396SmrgCC=$ac_cv_prog_CC 26938ff16396Smrgif test -n "$CC"; then 26948ff16396Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 26958ff16396Smrg$as_echo "$CC" >&6; } 26968ff16396Smrgelse 26978ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 26988ff16396Smrg$as_echo "no" >&6; } 26998ff16396Smrgfi 27008ff16396Smrg 27018ff16396Smrg 27028ff16396Smrgfi 27038ff16396Smrgif test -z "$CC"; then 27048ff16396Smrg if test -n "$ac_tool_prefix"; then 27058ff16396Smrg for ac_prog in cl.exe 27068ff16396Smrg do 27078ff16396Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 27088ff16396Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 27098ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 27108ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 27118ff16396Smrgif test "${ac_cv_prog_CC+set}" = set; then 27128ff16396Smrg $as_echo_n "(cached) " >&6 27138ff16396Smrgelse 27148ff16396Smrg if test -n "$CC"; then 27158ff16396Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27168ff16396Smrgelse 27178ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27188ff16396Smrgfor as_dir in $PATH 27198ff16396Smrgdo 27208ff16396Smrg IFS=$as_save_IFS 27218ff16396Smrg test -z "$as_dir" && as_dir=. 27228ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27238ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27248ff16396Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 27258ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 27268ff16396Smrg break 2 27278ff16396Smrg fi 27288ff16396Smrgdone 27298ff16396Smrgdone 27308ff16396SmrgIFS=$as_save_IFS 27318ff16396Smrg 27328ff16396Smrgfi 27338ff16396Smrgfi 27348ff16396SmrgCC=$ac_cv_prog_CC 27358ff16396Smrgif test -n "$CC"; then 27368ff16396Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 27378ff16396Smrg$as_echo "$CC" >&6; } 27388ff16396Smrgelse 27398ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 27408ff16396Smrg$as_echo "no" >&6; } 27418ff16396Smrgfi 27428ff16396Smrg 27438ff16396Smrg 27448ff16396Smrg test -n "$CC" && break 27458ff16396Smrg done 27468ff16396Smrgfi 27478ff16396Smrgif test -z "$CC"; then 27488ff16396Smrg ac_ct_CC=$CC 27498ff16396Smrg for ac_prog in cl.exe 27508ff16396Smrgdo 27518ff16396Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 27528ff16396Smrgset dummy $ac_prog; ac_word=$2 27538ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 27548ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 27558ff16396Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 27568ff16396Smrg $as_echo_n "(cached) " >&6 27578ff16396Smrgelse 27588ff16396Smrg if test -n "$ac_ct_CC"; then 27598ff16396Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 27608ff16396Smrgelse 27618ff16396Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27628ff16396Smrgfor as_dir in $PATH 27638ff16396Smrgdo 27648ff16396Smrg IFS=$as_save_IFS 27658ff16396Smrg test -z "$as_dir" && as_dir=. 27668ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 27678ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27688ff16396Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 27698ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 27708ff16396Smrg break 2 27718ff16396Smrg fi 27728ff16396Smrgdone 27738ff16396Smrgdone 27748ff16396SmrgIFS=$as_save_IFS 27758ff16396Smrg 27768ff16396Smrgfi 27778ff16396Smrgfi 27788ff16396Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 27798ff16396Smrgif test -n "$ac_ct_CC"; then 27808ff16396Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 27818ff16396Smrg$as_echo "$ac_ct_CC" >&6; } 27828ff16396Smrgelse 27838ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 27848ff16396Smrg$as_echo "no" >&6; } 27858ff16396Smrgfi 27868ff16396Smrg 27878ff16396Smrg 27888ff16396Smrg test -n "$ac_ct_CC" && break 27898ff16396Smrgdone 27908ff16396Smrg 27918ff16396Smrg if test "x$ac_ct_CC" = x; then 27928ff16396Smrg CC="" 27938ff16396Smrg else 27948ff16396Smrg case $cross_compiling:$ac_tool_warned in 27958ff16396Smrgyes:) 27968ff16396Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 27978ff16396Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 27988ff16396Smrgac_tool_warned=yes ;; 27998ff16396Smrgesac 28008ff16396Smrg CC=$ac_ct_CC 28018ff16396Smrg fi 28028ff16396Smrgfi 28038ff16396Smrg 28048ff16396Smrgfi 28058ff16396Smrg 28068ff16396Smrg 28078ff16396Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 28088ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28098ff16396Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 28108ff16396SmrgSee \`config.log' for more details." >&5 28118ff16396Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 28128ff16396SmrgSee \`config.log' for more details." >&2;} 28138ff16396Smrg { (exit 1); exit 1; }; }; } 28148ff16396Smrg 28158ff16396Smrg# Provide some information about the compiler. 28168ff16396Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 28178ff16396Smrgset X $ac_compile 28188ff16396Smrgac_compiler=$2 28198ff16396Smrg{ (ac_try="$ac_compiler --version >&5" 28208ff16396Smrgcase "(($ac_try" in 28218ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28228ff16396Smrg *) ac_try_echo=$ac_try;; 28238ff16396Smrgesac 28248ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28258ff16396Smrg$as_echo "$ac_try_echo") >&5 28268ff16396Smrg (eval "$ac_compiler --version >&5") 2>&5 28278ff16396Smrg ac_status=$? 28288ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28298ff16396Smrg (exit $ac_status); } 28308ff16396Smrg{ (ac_try="$ac_compiler -v >&5" 28318ff16396Smrgcase "(($ac_try" in 28328ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28338ff16396Smrg *) ac_try_echo=$ac_try;; 28348ff16396Smrgesac 28358ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28368ff16396Smrg$as_echo "$ac_try_echo") >&5 28378ff16396Smrg (eval "$ac_compiler -v >&5") 2>&5 28388ff16396Smrg ac_status=$? 28398ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28408ff16396Smrg (exit $ac_status); } 28418ff16396Smrg{ (ac_try="$ac_compiler -V >&5" 28428ff16396Smrgcase "(($ac_try" in 28438ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28448ff16396Smrg *) ac_try_echo=$ac_try;; 28458ff16396Smrgesac 28468ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28478ff16396Smrg$as_echo "$ac_try_echo") >&5 28488ff16396Smrg (eval "$ac_compiler -V >&5") 2>&5 28498ff16396Smrg ac_status=$? 28508ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28518ff16396Smrg (exit $ac_status); } 28528ff16396Smrg 28538ff16396Smrgcat >conftest.$ac_ext <<_ACEOF 28548ff16396Smrg/* confdefs.h. */ 28558ff16396Smrg_ACEOF 28568ff16396Smrgcat confdefs.h >>conftest.$ac_ext 28578ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 28588ff16396Smrg/* end confdefs.h. */ 28598ff16396Smrg 28608ff16396Smrgint 28618ff16396Smrgmain () 28628ff16396Smrg{ 28638ff16396Smrg 28648ff16396Smrg ; 28658ff16396Smrg return 0; 28668ff16396Smrg} 28678ff16396Smrg_ACEOF 28688ff16396Smrgac_clean_files_save=$ac_clean_files 28698ff16396Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 28708ff16396Smrg# Try to create an executable without -o first, disregard a.out. 28718ff16396Smrg# It will help us diagnose broken compilers, and finding out an intuition 28728ff16396Smrg# of exeext. 28738ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 28748ff16396Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 28758ff16396Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 28768ff16396Smrg 28778ff16396Smrg# The possible output files: 28788ff16396Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 28798ff16396Smrg 28808ff16396Smrgac_rmfiles= 28818ff16396Smrgfor ac_file in $ac_files 28828ff16396Smrgdo 28838ff16396Smrg case $ac_file in 28848ff16396Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 28858ff16396Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 28868ff16396Smrg esac 28878ff16396Smrgdone 28888ff16396Smrgrm -f $ac_rmfiles 28898ff16396Smrg 28908ff16396Smrgif { (ac_try="$ac_link_default" 28918ff16396Smrgcase "(($ac_try" in 28928ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28938ff16396Smrg *) ac_try_echo=$ac_try;; 28948ff16396Smrgesac 28958ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28968ff16396Smrg$as_echo "$ac_try_echo") >&5 28978ff16396Smrg (eval "$ac_link_default") 2>&5 28988ff16396Smrg ac_status=$? 28998ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29008ff16396Smrg (exit $ac_status); }; then 29018ff16396Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 29028ff16396Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 29038ff16396Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 29048ff16396Smrg# so that the user can short-circuit this test for compilers unknown to 29058ff16396Smrg# Autoconf. 29068ff16396Smrgfor ac_file in $ac_files '' 29078ff16396Smrgdo 29088ff16396Smrg test -f "$ac_file" || continue 29098ff16396Smrg case $ac_file in 29108ff16396Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 29118ff16396Smrg ;; 29128ff16396Smrg [ab].out ) 29138ff16396Smrg # We found the default executable, but exeext='' is most 29148ff16396Smrg # certainly right. 29158ff16396Smrg break;; 29168ff16396Smrg *.* ) 29178ff16396Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 29188ff16396Smrg then :; else 29198ff16396Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 29208ff16396Smrg fi 29218ff16396Smrg # We set ac_cv_exeext here because the later test for it is not 29228ff16396Smrg # safe: cross compilers may not add the suffix if given an `-o' 29238ff16396Smrg # argument, so we may need to know it at that point already. 29248ff16396Smrg # Even if this section looks crufty: it has the advantage of 29258ff16396Smrg # actually working. 29268ff16396Smrg break;; 29278ff16396Smrg * ) 29288ff16396Smrg break;; 29298ff16396Smrg esac 29308ff16396Smrgdone 29318ff16396Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 29328ff16396Smrg 29338ff16396Smrgelse 29348ff16396Smrg ac_file='' 29358ff16396Smrgfi 29368ff16396Smrg 29378ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 29388ff16396Smrg$as_echo "$ac_file" >&6; } 29398ff16396Smrgif test -z "$ac_file"; then 29408ff16396Smrg $as_echo "$as_me: failed program was:" >&5 29418ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 29428ff16396Smrg 29438ff16396Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 29448ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29458ff16396Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 29468ff16396SmrgSee \`config.log' for more details." >&5 29478ff16396Smrg$as_echo "$as_me: error: C compiler cannot create executables 29488ff16396SmrgSee \`config.log' for more details." >&2;} 29498ff16396Smrg { (exit 77); exit 77; }; }; } 29508ff16396Smrgfi 29518ff16396Smrg 29528ff16396Smrgac_exeext=$ac_cv_exeext 29538ff16396Smrg 29548ff16396Smrg# Check that the compiler produces executables we can run. If not, either 29558ff16396Smrg# the compiler is broken, or we cross compile. 29568ff16396Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 29578ff16396Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 29588ff16396Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 29598ff16396Smrg# If not cross compiling, check that we can run a simple program. 29608ff16396Smrgif test "$cross_compiling" != yes; then 29618ff16396Smrg if { ac_try='./$ac_file' 29628ff16396Smrg { (case "(($ac_try" in 29638ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29648ff16396Smrg *) ac_try_echo=$ac_try;; 29658ff16396Smrgesac 29668ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 29678ff16396Smrg$as_echo "$ac_try_echo") >&5 29688ff16396Smrg (eval "$ac_try") 2>&5 29698ff16396Smrg ac_status=$? 29708ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29718ff16396Smrg (exit $ac_status); }; }; then 29728ff16396Smrg cross_compiling=no 29738ff16396Smrg else 29748ff16396Smrg if test "$cross_compiling" = maybe; then 29758ff16396Smrg cross_compiling=yes 29768ff16396Smrg else 29778ff16396Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 29788ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29798ff16396Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 29808ff16396SmrgIf you meant to cross compile, use \`--host'. 29818ff16396SmrgSee \`config.log' for more details." >&5 29828ff16396Smrg$as_echo "$as_me: error: cannot run C compiled programs. 29838ff16396SmrgIf you meant to cross compile, use \`--host'. 29848ff16396SmrgSee \`config.log' for more details." >&2;} 29858ff16396Smrg { (exit 1); exit 1; }; }; } 29868ff16396Smrg fi 29878ff16396Smrg fi 29888ff16396Smrgfi 29898ff16396Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 29908ff16396Smrg$as_echo "yes" >&6; } 29918ff16396Smrg 29928ff16396Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 29938ff16396Smrgac_clean_files=$ac_clean_files_save 29948ff16396Smrg# Check that the compiler produces executables we can run. If not, either 29958ff16396Smrg# the compiler is broken, or we cross compile. 29968ff16396Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 29978ff16396Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 29988ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 29998ff16396Smrg$as_echo "$cross_compiling" >&6; } 30008ff16396Smrg 30018ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 30028ff16396Smrg$as_echo_n "checking for suffix of executables... " >&6; } 30038ff16396Smrgif { (ac_try="$ac_link" 30048ff16396Smrgcase "(($ac_try" in 30058ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30068ff16396Smrg *) ac_try_echo=$ac_try;; 30078ff16396Smrgesac 30088ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 30098ff16396Smrg$as_echo "$ac_try_echo") >&5 30108ff16396Smrg (eval "$ac_link") 2>&5 30118ff16396Smrg ac_status=$? 30128ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 30138ff16396Smrg (exit $ac_status); }; then 30148ff16396Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 30158ff16396Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 30168ff16396Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 30178ff16396Smrg# `rm'. 30188ff16396Smrgfor ac_file in conftest.exe conftest conftest.*; do 30198ff16396Smrg test -f "$ac_file" || continue 30208ff16396Smrg case $ac_file in 30218ff16396Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 30228ff16396Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30238ff16396Smrg break;; 30248ff16396Smrg * ) break;; 30258ff16396Smrg esac 30268ff16396Smrgdone 30278ff16396Smrgelse 30288ff16396Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 30298ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30308ff16396Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 30318ff16396SmrgSee \`config.log' for more details." >&5 30328ff16396Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 30338ff16396SmrgSee \`config.log' for more details." >&2;} 30348ff16396Smrg { (exit 1); exit 1; }; }; } 30358ff16396Smrgfi 30368ff16396Smrg 30378ff16396Smrgrm -f conftest$ac_cv_exeext 30388ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 30398ff16396Smrg$as_echo "$ac_cv_exeext" >&6; } 30408ff16396Smrg 30418ff16396Smrgrm -f conftest.$ac_ext 30428ff16396SmrgEXEEXT=$ac_cv_exeext 30438ff16396Smrgac_exeext=$EXEEXT 30448ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 30458ff16396Smrg$as_echo_n "checking for suffix of object files... " >&6; } 30468ff16396Smrgif test "${ac_cv_objext+set}" = set; then 30478ff16396Smrg $as_echo_n "(cached) " >&6 30488ff16396Smrgelse 30498ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 30508ff16396Smrg/* confdefs.h. */ 30518ff16396Smrg_ACEOF 30528ff16396Smrgcat confdefs.h >>conftest.$ac_ext 30538ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 30548ff16396Smrg/* end confdefs.h. */ 30558ff16396Smrg 30568ff16396Smrgint 30578ff16396Smrgmain () 30588ff16396Smrg{ 30598ff16396Smrg 30608ff16396Smrg ; 30618ff16396Smrg return 0; 30628ff16396Smrg} 30638ff16396Smrg_ACEOF 30648ff16396Smrgrm -f conftest.o conftest.obj 30658ff16396Smrgif { (ac_try="$ac_compile" 30668ff16396Smrgcase "(($ac_try" in 30678ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30688ff16396Smrg *) ac_try_echo=$ac_try;; 30698ff16396Smrgesac 30708ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 30718ff16396Smrg$as_echo "$ac_try_echo") >&5 30728ff16396Smrg (eval "$ac_compile") 2>&5 30738ff16396Smrg ac_status=$? 30748ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 30758ff16396Smrg (exit $ac_status); }; then 30768ff16396Smrg for ac_file in conftest.o conftest.obj conftest.*; do 30778ff16396Smrg test -f "$ac_file" || continue; 30788ff16396Smrg case $ac_file in 30798ff16396Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 30808ff16396Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 30818ff16396Smrg break;; 30828ff16396Smrg esac 30838ff16396Smrgdone 30848ff16396Smrgelse 30858ff16396Smrg $as_echo "$as_me: failed program was:" >&5 30868ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 30878ff16396Smrg 30888ff16396Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 30898ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30908ff16396Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 30918ff16396SmrgSee \`config.log' for more details." >&5 30928ff16396Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 30938ff16396SmrgSee \`config.log' for more details." >&2;} 30948ff16396Smrg { (exit 1); exit 1; }; }; } 30958ff16396Smrgfi 30968ff16396Smrg 30978ff16396Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 30988ff16396Smrgfi 30998ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 31008ff16396Smrg$as_echo "$ac_cv_objext" >&6; } 31018ff16396SmrgOBJEXT=$ac_cv_objext 31028ff16396Smrgac_objext=$OBJEXT 31038ff16396Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 31048ff16396Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 31058ff16396Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 31068ff16396Smrg $as_echo_n "(cached) " >&6 31078ff16396Smrgelse 31088ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 31098ff16396Smrg/* confdefs.h. */ 31108ff16396Smrg_ACEOF 31118ff16396Smrgcat confdefs.h >>conftest.$ac_ext 31128ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 31138ff16396Smrg/* end confdefs.h. */ 31148ff16396Smrg 31158ff16396Smrgint 31168ff16396Smrgmain () 31178ff16396Smrg{ 31188ff16396Smrg#ifndef __GNUC__ 31198ff16396Smrg choke me 31208ff16396Smrg#endif 31218ff16396Smrg 31228ff16396Smrg ; 31238ff16396Smrg return 0; 31248ff16396Smrg} 31258ff16396Smrg_ACEOF 31268ff16396Smrgrm -f conftest.$ac_objext 31278ff16396Smrgif { (ac_try="$ac_compile" 31288ff16396Smrgcase "(($ac_try" in 31298ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31308ff16396Smrg *) ac_try_echo=$ac_try;; 31318ff16396Smrgesac 31328ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 31338ff16396Smrg$as_echo "$ac_try_echo") >&5 31348ff16396Smrg (eval "$ac_compile") 2>conftest.er1 31358ff16396Smrg ac_status=$? 31368ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 31378ff16396Smrg rm -f conftest.er1 31388ff16396Smrg cat conftest.err >&5 31398ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 31408ff16396Smrg (exit $ac_status); } && { 31418ff16396Smrg test -z "$ac_c_werror_flag" || 31428ff16396Smrg test ! -s conftest.err 31438ff16396Smrg } && test -s conftest.$ac_objext; then 31448ff16396Smrg ac_compiler_gnu=yes 31458ff16396Smrgelse 31468ff16396Smrg $as_echo "$as_me: failed program was:" >&5 31478ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 31488ff16396Smrg 31498ff16396Smrg ac_compiler_gnu=no 31508ff16396Smrgfi 31518ff16396Smrg 31528ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 31538ff16396Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 31548ff16396Smrg 31558ff16396Smrgfi 31568ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 31578ff16396Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 31588ff16396Smrgif test $ac_compiler_gnu = yes; then 31598ff16396Smrg GCC=yes 31608ff16396Smrgelse 31618ff16396Smrg GCC= 31628ff16396Smrgfi 31638ff16396Smrgac_test_CFLAGS=${CFLAGS+set} 31648ff16396Smrgac_save_CFLAGS=$CFLAGS 31658ff16396Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 31668ff16396Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 31678ff16396Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 31688ff16396Smrg $as_echo_n "(cached) " >&6 31698ff16396Smrgelse 31708ff16396Smrg ac_save_c_werror_flag=$ac_c_werror_flag 31718ff16396Smrg ac_c_werror_flag=yes 31728ff16396Smrg ac_cv_prog_cc_g=no 31738ff16396Smrg CFLAGS="-g" 31748ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 31758ff16396Smrg/* confdefs.h. */ 31768ff16396Smrg_ACEOF 31778ff16396Smrgcat confdefs.h >>conftest.$ac_ext 31788ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 31798ff16396Smrg/* end confdefs.h. */ 31808ff16396Smrg 31818ff16396Smrgint 31828ff16396Smrgmain () 31838ff16396Smrg{ 31848ff16396Smrg 31858ff16396Smrg ; 31868ff16396Smrg return 0; 31878ff16396Smrg} 31888ff16396Smrg_ACEOF 31898ff16396Smrgrm -f conftest.$ac_objext 31908ff16396Smrgif { (ac_try="$ac_compile" 31918ff16396Smrgcase "(($ac_try" in 31928ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31938ff16396Smrg *) ac_try_echo=$ac_try;; 31948ff16396Smrgesac 31958ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 31968ff16396Smrg$as_echo "$ac_try_echo") >&5 31978ff16396Smrg (eval "$ac_compile") 2>conftest.er1 31988ff16396Smrg ac_status=$? 31998ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 32008ff16396Smrg rm -f conftest.er1 32018ff16396Smrg cat conftest.err >&5 32028ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 32038ff16396Smrg (exit $ac_status); } && { 32048ff16396Smrg test -z "$ac_c_werror_flag" || 32058ff16396Smrg test ! -s conftest.err 32068ff16396Smrg } && test -s conftest.$ac_objext; then 32078ff16396Smrg ac_cv_prog_cc_g=yes 32088ff16396Smrgelse 32098ff16396Smrg $as_echo "$as_me: failed program was:" >&5 32108ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 32118ff16396Smrg 32128ff16396Smrg CFLAGS="" 32138ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 32148ff16396Smrg/* confdefs.h. */ 32158ff16396Smrg_ACEOF 32168ff16396Smrgcat confdefs.h >>conftest.$ac_ext 32178ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 32188ff16396Smrg/* end confdefs.h. */ 32198ff16396Smrg 32208ff16396Smrgint 32218ff16396Smrgmain () 32228ff16396Smrg{ 32238ff16396Smrg 32248ff16396Smrg ; 32258ff16396Smrg return 0; 32268ff16396Smrg} 32278ff16396Smrg_ACEOF 32288ff16396Smrgrm -f conftest.$ac_objext 32298ff16396Smrgif { (ac_try="$ac_compile" 32308ff16396Smrgcase "(($ac_try" in 32318ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32328ff16396Smrg *) ac_try_echo=$ac_try;; 32338ff16396Smrgesac 32348ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 32358ff16396Smrg$as_echo "$ac_try_echo") >&5 32368ff16396Smrg (eval "$ac_compile") 2>conftest.er1 32378ff16396Smrg ac_status=$? 32388ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 32398ff16396Smrg rm -f conftest.er1 32408ff16396Smrg cat conftest.err >&5 32418ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 32428ff16396Smrg (exit $ac_status); } && { 32438ff16396Smrg test -z "$ac_c_werror_flag" || 32448ff16396Smrg test ! -s conftest.err 32458ff16396Smrg } && test -s conftest.$ac_objext; then 32468ff16396Smrg : 32478ff16396Smrgelse 32488ff16396Smrg $as_echo "$as_me: failed program was:" >&5 32498ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 32508ff16396Smrg 32518ff16396Smrg ac_c_werror_flag=$ac_save_c_werror_flag 32528ff16396Smrg CFLAGS="-g" 32538ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 32548ff16396Smrg/* confdefs.h. */ 32558ff16396Smrg_ACEOF 32568ff16396Smrgcat confdefs.h >>conftest.$ac_ext 32578ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 32588ff16396Smrg/* end confdefs.h. */ 32598ff16396Smrg 32608ff16396Smrgint 32618ff16396Smrgmain () 32628ff16396Smrg{ 32638ff16396Smrg 32648ff16396Smrg ; 32658ff16396Smrg return 0; 32668ff16396Smrg} 32678ff16396Smrg_ACEOF 32688ff16396Smrgrm -f conftest.$ac_objext 32698ff16396Smrgif { (ac_try="$ac_compile" 32708ff16396Smrgcase "(($ac_try" in 32718ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 32728ff16396Smrg *) ac_try_echo=$ac_try;; 32738ff16396Smrgesac 32748ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 32758ff16396Smrg$as_echo "$ac_try_echo") >&5 32768ff16396Smrg (eval "$ac_compile") 2>conftest.er1 32778ff16396Smrg ac_status=$? 32788ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 32798ff16396Smrg rm -f conftest.er1 32808ff16396Smrg cat conftest.err >&5 32818ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 32828ff16396Smrg (exit $ac_status); } && { 32838ff16396Smrg test -z "$ac_c_werror_flag" || 32848ff16396Smrg test ! -s conftest.err 32858ff16396Smrg } && test -s conftest.$ac_objext; then 32868ff16396Smrg ac_cv_prog_cc_g=yes 32878ff16396Smrgelse 32888ff16396Smrg $as_echo "$as_me: failed program was:" >&5 32898ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 32908ff16396Smrg 32918ff16396Smrg 32928ff16396Smrgfi 32938ff16396Smrg 32948ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32958ff16396Smrgfi 32968ff16396Smrg 32978ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32988ff16396Smrgfi 32998ff16396Smrg 33008ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33018ff16396Smrg ac_c_werror_flag=$ac_save_c_werror_flag 33028ff16396Smrgfi 33038ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 33048ff16396Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 33058ff16396Smrgif test "$ac_test_CFLAGS" = set; then 33068ff16396Smrg CFLAGS=$ac_save_CFLAGS 33078ff16396Smrgelif test $ac_cv_prog_cc_g = yes; then 33088ff16396Smrg if test "$GCC" = yes; then 33098ff16396Smrg CFLAGS="-g -O2" 33108ff16396Smrg else 33118ff16396Smrg CFLAGS="-g" 33128ff16396Smrg fi 33138ff16396Smrgelse 33148ff16396Smrg if test "$GCC" = yes; then 33158ff16396Smrg CFLAGS="-O2" 33168ff16396Smrg else 33178ff16396Smrg CFLAGS= 33188ff16396Smrg fi 33198ff16396Smrgfi 33208ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 33218ff16396Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 33228ff16396Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then 33238ff16396Smrg $as_echo_n "(cached) " >&6 33248ff16396Smrgelse 33258ff16396Smrg ac_cv_prog_cc_c89=no 33268ff16396Smrgac_save_CC=$CC 33278ff16396Smrgcat >conftest.$ac_ext <<_ACEOF 33288ff16396Smrg/* confdefs.h. */ 33298ff16396Smrg_ACEOF 33308ff16396Smrgcat confdefs.h >>conftest.$ac_ext 33318ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 33328ff16396Smrg/* end confdefs.h. */ 33338ff16396Smrg#include <stdarg.h> 33348ff16396Smrg#include <stdio.h> 33358ff16396Smrg#include <sys/types.h> 33368ff16396Smrg#include <sys/stat.h> 33378ff16396Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 33388ff16396Smrgstruct buf { int x; }; 33398ff16396SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 33408ff16396Smrgstatic char *e (p, i) 33418ff16396Smrg char **p; 33428ff16396Smrg int i; 33438ff16396Smrg{ 33448ff16396Smrg return p[i]; 33458ff16396Smrg} 33468ff16396Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 33478ff16396Smrg{ 33488ff16396Smrg char *s; 33498ff16396Smrg va_list v; 33508ff16396Smrg va_start (v,p); 33518ff16396Smrg s = g (p, va_arg (v,int)); 33528ff16396Smrg va_end (v); 33538ff16396Smrg return s; 33548ff16396Smrg} 33558ff16396Smrg 33568ff16396Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 33578ff16396Smrg function prototypes and stuff, but not '\xHH' hex character constants. 33588ff16396Smrg These don't provoke an error unfortunately, instead are silently treated 33598ff16396Smrg as 'x'. The following induces an error, until -std is added to get 33608ff16396Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 33618ff16396Smrg array size at least. It's necessary to write '\x00'==0 to get something 33628ff16396Smrg that's true only with -std. */ 33638ff16396Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 33648ff16396Smrg 33658ff16396Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 33668ff16396Smrg inside strings and character constants. */ 33678ff16396Smrg#define FOO(x) 'x' 33688ff16396Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 33698ff16396Smrg 33708ff16396Smrgint test (int i, double x); 33718ff16396Smrgstruct s1 {int (*f) (int a);}; 33728ff16396Smrgstruct s2 {int (*f) (double a);}; 33738ff16396Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 33748ff16396Smrgint argc; 33758ff16396Smrgchar **argv; 33768ff16396Smrgint 33778ff16396Smrgmain () 33788ff16396Smrg{ 33798ff16396Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 33808ff16396Smrg ; 33818ff16396Smrg return 0; 33828ff16396Smrg} 33838ff16396Smrg_ACEOF 33848ff16396Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 33858ff16396Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 33868ff16396Smrgdo 33878ff16396Smrg CC="$ac_save_CC $ac_arg" 33888ff16396Smrg rm -f conftest.$ac_objext 33898ff16396Smrgif { (ac_try="$ac_compile" 33908ff16396Smrgcase "(($ac_try" in 33918ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 33928ff16396Smrg *) ac_try_echo=$ac_try;; 33938ff16396Smrgesac 33948ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 33958ff16396Smrg$as_echo "$ac_try_echo") >&5 33968ff16396Smrg (eval "$ac_compile") 2>conftest.er1 33978ff16396Smrg ac_status=$? 33988ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 33998ff16396Smrg rm -f conftest.er1 34008ff16396Smrg cat conftest.err >&5 34018ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 34028ff16396Smrg (exit $ac_status); } && { 34038ff16396Smrg test -z "$ac_c_werror_flag" || 34048ff16396Smrg test ! -s conftest.err 34058ff16396Smrg } && test -s conftest.$ac_objext; then 34068ff16396Smrg ac_cv_prog_cc_c89=$ac_arg 34078ff16396Smrgelse 34088ff16396Smrg $as_echo "$as_me: failed program was:" >&5 34098ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 34108ff16396Smrg 34118ff16396Smrg 34128ff16396Smrgfi 34138ff16396Smrg 34148ff16396Smrgrm -f core conftest.err conftest.$ac_objext 34158ff16396Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 34168ff16396Smrgdone 34178ff16396Smrgrm -f conftest.$ac_ext 34188ff16396SmrgCC=$ac_save_CC 34198ff16396Smrg 34208ff16396Smrgfi 34218ff16396Smrg# AC_CACHE_VAL 34228ff16396Smrgcase "x$ac_cv_prog_cc_c89" in 34238ff16396Smrg x) 34248ff16396Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 34258ff16396Smrg$as_echo "none needed" >&6; } ;; 34268ff16396Smrg xno) 34278ff16396Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 34288ff16396Smrg$as_echo "unsupported" >&6; } ;; 34298ff16396Smrg *) 34308ff16396Smrg CC="$CC $ac_cv_prog_cc_c89" 34318ff16396Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 34328ff16396Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 34338ff16396Smrgesac 34348ff16396Smrg 34358ff16396Smrg 34368ff16396Smrgac_ext=c 34378ff16396Smrgac_cpp='$CPP $CPPFLAGS' 34388ff16396Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 34398ff16396Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 34408ff16396Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 34418ff16396Smrg 34428ff16396Smrgdepcc="$CC" am_compiler_list= 34438ff16396Smrg 34448ff16396Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 34458ff16396Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 34468ff16396Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 34478ff16396Smrg $as_echo_n "(cached) " >&6 34488ff16396Smrgelse 34498ff16396Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34508ff16396Smrg # We make a subdir and do the tests there. Otherwise we can end up 34518ff16396Smrg # making bogus files that we don't know about and never remove. For 34528ff16396Smrg # instance it was reported that on HP-UX the gcc test will end up 34538ff16396Smrg # making a dummy file named `D' -- because `-MD' means `put the output 34548ff16396Smrg # in D'. 34558ff16396Smrg mkdir conftest.dir 34568ff16396Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 34578ff16396Smrg # using a relative directory. 34588ff16396Smrg cp "$am_depcomp" conftest.dir 34598ff16396Smrg cd conftest.dir 34608ff16396Smrg # We will build objects and dependencies in a subdirectory because 34618ff16396Smrg # it helps to detect inapplicable dependency modes. For instance 34628ff16396Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 34638ff16396Smrg # side effect of compilation, but ICC will put the dependencies in 34648ff16396Smrg # the current directory while Tru64 will put them in the object 34658ff16396Smrg # directory. 34668ff16396Smrg mkdir sub 34678ff16396Smrg 34688ff16396Smrg am_cv_CC_dependencies_compiler_type=none 34698ff16396Smrg if test "$am_compiler_list" = ""; then 34708ff16396Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34718ff16396Smrg fi 34728ff16396Smrg am__universal=false 34738ff16396Smrg case " $depcc " in #( 34748ff16396Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 34758ff16396Smrg esac 34768ff16396Smrg 34778ff16396Smrg for depmode in $am_compiler_list; do 34788ff16396Smrg # Setup a source with many dependencies, because some compilers 34798ff16396Smrg # like to wrap large dependency lists on column 80 (with \), and 34808ff16396Smrg # we should not choose a depcomp mode which is confused by this. 34818ff16396Smrg # 34828ff16396Smrg # We need to recreate these files for each test, as the compiler may 34838ff16396Smrg # overwrite some of them when testing with obscure command lines. 34848ff16396Smrg # This happens at least with the AIX C compiler. 34858ff16396Smrg : > sub/conftest.c 34868ff16396Smrg for i in 1 2 3 4 5 6; do 34878ff16396Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 34888ff16396Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 34898ff16396Smrg # Solaris 8's {/usr,}/bin/sh. 34908ff16396Smrg touch sub/conftst$i.h 34918ff16396Smrg done 34928ff16396Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 34938ff16396Smrg 34948ff16396Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 34958ff16396Smrg # mode. It turns out that the SunPro C++ compiler does not properly 34968ff16396Smrg # handle `-M -o', and we need to detect this. Also, some Intel 34978ff16396Smrg # versions had trouble with output in subdirs 34988ff16396Smrg am__obj=sub/conftest.${OBJEXT-o} 34998ff16396Smrg am__minus_obj="-o $am__obj" 35008ff16396Smrg case $depmode in 35018ff16396Smrg gcc) 35028ff16396Smrg # This depmode causes a compiler race in universal mode. 35038ff16396Smrg test "$am__universal" = false || continue 35048ff16396Smrg ;; 35058ff16396Smrg nosideeffect) 35068ff16396Smrg # after this tag, mechanisms are not by side-effect, so they'll 35078ff16396Smrg # only be used when explicitly requested 35088ff16396Smrg if test "x$enable_dependency_tracking" = xyes; then 35098ff16396Smrg continue 35108ff16396Smrg else 35118ff16396Smrg break 35128ff16396Smrg fi 35138ff16396Smrg ;; 35148ff16396Smrg msvisualcpp | msvcmsys) 35158ff16396Smrg # This compiler won't grok `-c -o', but also, the minuso test has 35168ff16396Smrg # not run yet. These depmodes are late enough in the game, and 35178ff16396Smrg # so weak that their functioning should not be impacted. 35188ff16396Smrg am__obj=conftest.${OBJEXT-o} 35198ff16396Smrg am__minus_obj= 35208ff16396Smrg ;; 35218ff16396Smrg none) break ;; 35228ff16396Smrg esac 35238ff16396Smrg if depmode=$depmode \ 35248ff16396Smrg source=sub/conftest.c object=$am__obj \ 35258ff16396Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 35268ff16396Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 35278ff16396Smrg >/dev/null 2>conftest.err && 35288ff16396Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 35298ff16396Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 35308ff16396Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 35318ff16396Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 35328ff16396Smrg # icc doesn't choke on unknown options, it will just issue warnings 35338ff16396Smrg # or remarks (even with -Werror). So we grep stderr for any message 35348ff16396Smrg # that says an option was ignored or not supported. 35358ff16396Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 35368ff16396Smrg # icc: Command line warning: ignoring option '-M'; no argument required 35378ff16396Smrg # The diagnosis changed in icc 8.0: 35388ff16396Smrg # icc: Command line remark: option '-MP' not supported 35398ff16396Smrg if (grep 'ignoring option' conftest.err || 35408ff16396Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35418ff16396Smrg am_cv_CC_dependencies_compiler_type=$depmode 35428ff16396Smrg break 35438ff16396Smrg fi 35448ff16396Smrg fi 35458ff16396Smrg done 35468ff16396Smrg 35478ff16396Smrg cd .. 35488ff16396Smrg rm -rf conftest.dir 35498ff16396Smrgelse 35508ff16396Smrg am_cv_CC_dependencies_compiler_type=none 35518ff16396Smrgfi 35528ff16396Smrg 35538ff16396Smrgfi 35548ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 35558ff16396Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35568ff16396SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35578ff16396Smrg 35588ff16396Smrg if 35598ff16396Smrg test "x$enable_dependency_tracking" != xno \ 35608ff16396Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35618ff16396Smrg am__fastdepCC_TRUE= 35628ff16396Smrg am__fastdepCC_FALSE='#' 35638ff16396Smrgelse 35648ff16396Smrg am__fastdepCC_TRUE='#' 35658ff16396Smrg am__fastdepCC_FALSE= 35668ff16396Smrgfi 35678ff16396Smrg 35688ff16396Smrg 35698ff16396Smrg 35708ff16396Smrgac_ext=c 35718ff16396Smrgac_cpp='$CPP $CPPFLAGS' 35728ff16396Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35738ff16396Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35748ff16396Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 35758ff16396Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 35768ff16396Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 35778ff16396Smrg# On Suns, sometimes $CPP names a directory. 35788ff16396Smrgif test -n "$CPP" && test -d "$CPP"; then 35798ff16396Smrg CPP= 35808ff16396Smrgfi 35818ff16396Smrgif test -z "$CPP"; then 35828ff16396Smrg if test "${ac_cv_prog_CPP+set}" = set; then 35838ff16396Smrg $as_echo_n "(cached) " >&6 35848ff16396Smrgelse 35858ff16396Smrg # Double quotes because CPP needs to be expanded 35868ff16396Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 35878ff16396Smrg do 35888ff16396Smrg ac_preproc_ok=false 35898ff16396Smrgfor ac_c_preproc_warn_flag in '' yes 35908ff16396Smrgdo 35918ff16396Smrg # Use a header file that comes with gcc, so configuring glibc 35928ff16396Smrg # with a fresh cross-compiler works. 35938ff16396Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 35948ff16396Smrg # <limits.h> exists even on freestanding compilers. 35958ff16396Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 35968ff16396Smrg # not just through cpp. "Syntax error" is here to catch this case. 35978ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 35988ff16396Smrg/* confdefs.h. */ 35998ff16396Smrg_ACEOF 36008ff16396Smrgcat confdefs.h >>conftest.$ac_ext 36018ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 36028ff16396Smrg/* end confdefs.h. */ 36038ff16396Smrg#ifdef __STDC__ 36048ff16396Smrg# include <limits.h> 36058ff16396Smrg#else 36068ff16396Smrg# include <assert.h> 36078ff16396Smrg#endif 36088ff16396Smrg Syntax error 36098ff16396Smrg_ACEOF 36108ff16396Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 36118ff16396Smrgcase "(($ac_try" in 36128ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 36138ff16396Smrg *) ac_try_echo=$ac_try;; 36148ff16396Smrgesac 36158ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 36168ff16396Smrg$as_echo "$ac_try_echo") >&5 36178ff16396Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 36188ff16396Smrg ac_status=$? 36198ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 36208ff16396Smrg rm -f conftest.er1 36218ff16396Smrg cat conftest.err >&5 36228ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 36238ff16396Smrg (exit $ac_status); } >/dev/null && { 36248ff16396Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 36258ff16396Smrg test ! -s conftest.err 36268ff16396Smrg }; then 36278ff16396Smrg : 36288ff16396Smrgelse 36298ff16396Smrg $as_echo "$as_me: failed program was:" >&5 36308ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 36318ff16396Smrg 36328ff16396Smrg # Broken: fails on valid input. 36338ff16396Smrgcontinue 36348ff16396Smrgfi 36358ff16396Smrg 36368ff16396Smrgrm -f conftest.err conftest.$ac_ext 36378ff16396Smrg 36388ff16396Smrg # OK, works on sane cases. Now check whether nonexistent headers 36398ff16396Smrg # can be detected and how. 36408ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 36418ff16396Smrg/* confdefs.h. */ 36428ff16396Smrg_ACEOF 36438ff16396Smrgcat confdefs.h >>conftest.$ac_ext 36448ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 36458ff16396Smrg/* end confdefs.h. */ 36468ff16396Smrg#include <ac_nonexistent.h> 36478ff16396Smrg_ACEOF 36488ff16396Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 36498ff16396Smrgcase "(($ac_try" in 36508ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 36518ff16396Smrg *) ac_try_echo=$ac_try;; 36528ff16396Smrgesac 36538ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 36548ff16396Smrg$as_echo "$ac_try_echo") >&5 36558ff16396Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 36568ff16396Smrg ac_status=$? 36578ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 36588ff16396Smrg rm -f conftest.er1 36598ff16396Smrg cat conftest.err >&5 36608ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 36618ff16396Smrg (exit $ac_status); } >/dev/null && { 36628ff16396Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 36638ff16396Smrg test ! -s conftest.err 36648ff16396Smrg }; then 36658ff16396Smrg # Broken: success on invalid input. 36668ff16396Smrgcontinue 36678ff16396Smrgelse 36688ff16396Smrg $as_echo "$as_me: failed program was:" >&5 36698ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 36708ff16396Smrg 36718ff16396Smrg # Passes both tests. 36728ff16396Smrgac_preproc_ok=: 36738ff16396Smrgbreak 36748ff16396Smrgfi 36758ff16396Smrg 36768ff16396Smrgrm -f conftest.err conftest.$ac_ext 36778ff16396Smrg 36788ff16396Smrgdone 36798ff16396Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 36808ff16396Smrgrm -f conftest.err conftest.$ac_ext 36818ff16396Smrgif $ac_preproc_ok; then 36828ff16396Smrg break 36838ff16396Smrgfi 36848ff16396Smrg 36858ff16396Smrg done 36868ff16396Smrg ac_cv_prog_CPP=$CPP 36878ff16396Smrg 36888ff16396Smrgfi 36898ff16396Smrg CPP=$ac_cv_prog_CPP 36908ff16396Smrgelse 36918ff16396Smrg ac_cv_prog_CPP=$CPP 36928ff16396Smrgfi 36938ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 36948ff16396Smrg$as_echo "$CPP" >&6; } 36958ff16396Smrgac_preproc_ok=false 36968ff16396Smrgfor ac_c_preproc_warn_flag in '' yes 36978ff16396Smrgdo 36988ff16396Smrg # Use a header file that comes with gcc, so configuring glibc 36998ff16396Smrg # with a fresh cross-compiler works. 37008ff16396Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 37018ff16396Smrg # <limits.h> exists even on freestanding compilers. 37028ff16396Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 37038ff16396Smrg # not just through cpp. "Syntax error" is here to catch this case. 37048ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 37058ff16396Smrg/* confdefs.h. */ 37068ff16396Smrg_ACEOF 37078ff16396Smrgcat confdefs.h >>conftest.$ac_ext 37088ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 37098ff16396Smrg/* end confdefs.h. */ 37108ff16396Smrg#ifdef __STDC__ 37118ff16396Smrg# include <limits.h> 37128ff16396Smrg#else 37138ff16396Smrg# include <assert.h> 37148ff16396Smrg#endif 37158ff16396Smrg Syntax error 37168ff16396Smrg_ACEOF 37178ff16396Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 37188ff16396Smrgcase "(($ac_try" in 37198ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 37208ff16396Smrg *) ac_try_echo=$ac_try;; 37218ff16396Smrgesac 37228ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 37238ff16396Smrg$as_echo "$ac_try_echo") >&5 37248ff16396Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 37258ff16396Smrg ac_status=$? 37268ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 37278ff16396Smrg rm -f conftest.er1 37288ff16396Smrg cat conftest.err >&5 37298ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 37308ff16396Smrg (exit $ac_status); } >/dev/null && { 37318ff16396Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 37328ff16396Smrg test ! -s conftest.err 37338ff16396Smrg }; then 37348ff16396Smrg : 37358ff16396Smrgelse 37368ff16396Smrg $as_echo "$as_me: failed program was:" >&5 37378ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 37388ff16396Smrg 37398ff16396Smrg # Broken: fails on valid input. 37408ff16396Smrgcontinue 37418ff16396Smrgfi 37428ff16396Smrg 37438ff16396Smrgrm -f conftest.err conftest.$ac_ext 37448ff16396Smrg 37458ff16396Smrg # OK, works on sane cases. Now check whether nonexistent headers 37468ff16396Smrg # can be detected and how. 37478ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 37488ff16396Smrg/* confdefs.h. */ 37498ff16396Smrg_ACEOF 37508ff16396Smrgcat confdefs.h >>conftest.$ac_ext 37518ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 37528ff16396Smrg/* end confdefs.h. */ 37538ff16396Smrg#include <ac_nonexistent.h> 37548ff16396Smrg_ACEOF 37558ff16396Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 37568ff16396Smrgcase "(($ac_try" in 37578ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 37588ff16396Smrg *) ac_try_echo=$ac_try;; 37598ff16396Smrgesac 37608ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 37618ff16396Smrg$as_echo "$ac_try_echo") >&5 37628ff16396Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 37638ff16396Smrg ac_status=$? 37648ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 37658ff16396Smrg rm -f conftest.er1 37668ff16396Smrg cat conftest.err >&5 37678ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 37688ff16396Smrg (exit $ac_status); } >/dev/null && { 37698ff16396Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 37708ff16396Smrg test ! -s conftest.err 37718ff16396Smrg }; then 37728ff16396Smrg # Broken: success on invalid input. 37738ff16396Smrgcontinue 37748ff16396Smrgelse 37758ff16396Smrg $as_echo "$as_me: failed program was:" >&5 37768ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 37778ff16396Smrg 37788ff16396Smrg # Passes both tests. 37798ff16396Smrgac_preproc_ok=: 37808ff16396Smrgbreak 37818ff16396Smrgfi 37828ff16396Smrg 37838ff16396Smrgrm -f conftest.err conftest.$ac_ext 37848ff16396Smrg 37858ff16396Smrgdone 37868ff16396Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37878ff16396Smrgrm -f conftest.err conftest.$ac_ext 37888ff16396Smrgif $ac_preproc_ok; then 37898ff16396Smrg : 37908ff16396Smrgelse 37918ff16396Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 37928ff16396Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37938ff16396Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 37948ff16396SmrgSee \`config.log' for more details." >&5 37958ff16396Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 37968ff16396SmrgSee \`config.log' for more details." >&2;} 37978ff16396Smrg { (exit 1); exit 1; }; }; } 37988ff16396Smrgfi 37998ff16396Smrg 38008ff16396Smrgac_ext=c 38018ff16396Smrgac_cpp='$CPP $CPPFLAGS' 38028ff16396Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38038ff16396Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38048ff16396Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 38058ff16396Smrg 38068ff16396Smrg 38078ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 38088ff16396Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 38098ff16396Smrgif test "${ac_cv_path_GREP+set}" = set; then 38108ff16396Smrg $as_echo_n "(cached) " >&6 38118ff16396Smrgelse 38128ff16396Smrg if test -z "$GREP"; then 38138ff16396Smrg ac_path_GREP_found=false 38148ff16396Smrg # Loop through the user's path and test for each of PROGNAME-LIST 38158ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38168ff16396Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 38178ff16396Smrgdo 38188ff16396Smrg IFS=$as_save_IFS 38198ff16396Smrg test -z "$as_dir" && as_dir=. 38208ff16396Smrg for ac_prog in grep ggrep; do 38218ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 38228ff16396Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 38238ff16396Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 38248ff16396Smrg# Check for GNU ac_path_GREP and select it if it is found. 38258ff16396Smrg # Check for GNU $ac_path_GREP 38268ff16396Smrgcase `"$ac_path_GREP" --version 2>&1` in 38278ff16396Smrg*GNU*) 38288ff16396Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 38298ff16396Smrg*) 38308ff16396Smrg ac_count=0 38318ff16396Smrg $as_echo_n 0123456789 >"conftest.in" 38328ff16396Smrg while : 38338ff16396Smrg do 38348ff16396Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 38358ff16396Smrg mv "conftest.tmp" "conftest.in" 38368ff16396Smrg cp "conftest.in" "conftest.nl" 38378ff16396Smrg $as_echo 'GREP' >> "conftest.nl" 38388ff16396Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 38398ff16396Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 38408ff16396Smrg ac_count=`expr $ac_count + 1` 38418ff16396Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 38428ff16396Smrg # Best one so far, save it but keep looking for a better one 38438ff16396Smrg ac_cv_path_GREP="$ac_path_GREP" 38448ff16396Smrg ac_path_GREP_max=$ac_count 38458ff16396Smrg fi 38468ff16396Smrg # 10*(2^10) chars as input seems more than enough 38478ff16396Smrg test $ac_count -gt 10 && break 38488ff16396Smrg done 38498ff16396Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 38508ff16396Smrgesac 38518ff16396Smrg 38528ff16396Smrg $ac_path_GREP_found && break 3 38538ff16396Smrg done 38548ff16396Smrg done 38558ff16396Smrgdone 38568ff16396SmrgIFS=$as_save_IFS 38578ff16396Smrg if test -z "$ac_cv_path_GREP"; then 38588ff16396Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 38598ff16396Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 38608ff16396Smrg { (exit 1); exit 1; }; } 38618ff16396Smrg fi 38628ff16396Smrgelse 38638ff16396Smrg ac_cv_path_GREP=$GREP 38648ff16396Smrgfi 38658ff16396Smrg 38668ff16396Smrgfi 38678ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 38688ff16396Smrg$as_echo "$ac_cv_path_GREP" >&6; } 38698ff16396Smrg GREP="$ac_cv_path_GREP" 38708ff16396Smrg 38718ff16396Smrg 38728ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 38738ff16396Smrg$as_echo_n "checking for egrep... " >&6; } 38748ff16396Smrgif test "${ac_cv_path_EGREP+set}" = set; then 38758ff16396Smrg $as_echo_n "(cached) " >&6 38760bd0e222Smrgelse 38778ff16396Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 38788ff16396Smrg then ac_cv_path_EGREP="$GREP -E" 38798ff16396Smrg else 38808ff16396Smrg if test -z "$EGREP"; then 38818ff16396Smrg ac_path_EGREP_found=false 38828ff16396Smrg # Loop through the user's path and test for each of PROGNAME-LIST 38838ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38848ff16396Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 38858ff16396Smrgdo 38868ff16396Smrg IFS=$as_save_IFS 38878ff16396Smrg test -z "$as_dir" && as_dir=. 38888ff16396Smrg for ac_prog in egrep; do 38898ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 38908ff16396Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 38918ff16396Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 38928ff16396Smrg# Check for GNU ac_path_EGREP and select it if it is found. 38938ff16396Smrg # Check for GNU $ac_path_EGREP 38948ff16396Smrgcase `"$ac_path_EGREP" --version 2>&1` in 38958ff16396Smrg*GNU*) 38968ff16396Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 38978ff16396Smrg*) 38988ff16396Smrg ac_count=0 38998ff16396Smrg $as_echo_n 0123456789 >"conftest.in" 39008ff16396Smrg while : 39018ff16396Smrg do 39028ff16396Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 39038ff16396Smrg mv "conftest.tmp" "conftest.in" 39048ff16396Smrg cp "conftest.in" "conftest.nl" 39058ff16396Smrg $as_echo 'EGREP' >> "conftest.nl" 39068ff16396Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 39078ff16396Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 39088ff16396Smrg ac_count=`expr $ac_count + 1` 39098ff16396Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 39108ff16396Smrg # Best one so far, save it but keep looking for a better one 39118ff16396Smrg ac_cv_path_EGREP="$ac_path_EGREP" 39128ff16396Smrg ac_path_EGREP_max=$ac_count 39138ff16396Smrg fi 39148ff16396Smrg # 10*(2^10) chars as input seems more than enough 39158ff16396Smrg test $ac_count -gt 10 && break 39168ff16396Smrg done 39178ff16396Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39188ff16396Smrgesac 39198ff16396Smrg 39208ff16396Smrg $ac_path_EGREP_found && break 3 39218ff16396Smrg done 39228ff16396Smrg done 39238ff16396Smrgdone 39248ff16396SmrgIFS=$as_save_IFS 39258ff16396Smrg if test -z "$ac_cv_path_EGREP"; then 39268ff16396Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 39278ff16396Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 39288ff16396Smrg { (exit 1); exit 1; }; } 39298ff16396Smrg fi 39308ff16396Smrgelse 39318ff16396Smrg ac_cv_path_EGREP=$EGREP 39328ff16396Smrgfi 39338ff16396Smrg 39348ff16396Smrg fi 39358ff16396Smrgfi 39368ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 39378ff16396Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 39388ff16396Smrg EGREP="$ac_cv_path_EGREP" 39398ff16396Smrg 39408ff16396Smrg 39418ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 39428ff16396Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 39438ff16396Smrgif test "${ac_cv_header_stdc+set}" = set; then 39448ff16396Smrg $as_echo_n "(cached) " >&6 39458ff16396Smrgelse 39468ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 39478ff16396Smrg/* confdefs.h. */ 39488ff16396Smrg_ACEOF 39498ff16396Smrgcat confdefs.h >>conftest.$ac_ext 39508ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 39518ff16396Smrg/* end confdefs.h. */ 39528ff16396Smrg#include <stdlib.h> 39538ff16396Smrg#include <stdarg.h> 39548ff16396Smrg#include <string.h> 39558ff16396Smrg#include <float.h> 39568ff16396Smrg 39578ff16396Smrgint 39588ff16396Smrgmain () 39598ff16396Smrg{ 39608ff16396Smrg 39618ff16396Smrg ; 39628ff16396Smrg return 0; 39638ff16396Smrg} 39648ff16396Smrg_ACEOF 39658ff16396Smrgrm -f conftest.$ac_objext 39668ff16396Smrgif { (ac_try="$ac_compile" 39678ff16396Smrgcase "(($ac_try" in 39688ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 39698ff16396Smrg *) ac_try_echo=$ac_try;; 39708ff16396Smrgesac 39718ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 39728ff16396Smrg$as_echo "$ac_try_echo") >&5 39738ff16396Smrg (eval "$ac_compile") 2>conftest.er1 39748ff16396Smrg ac_status=$? 39758ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 39768ff16396Smrg rm -f conftest.er1 39778ff16396Smrg cat conftest.err >&5 39788ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 39798ff16396Smrg (exit $ac_status); } && { 39808ff16396Smrg test -z "$ac_c_werror_flag" || 39818ff16396Smrg test ! -s conftest.err 39828ff16396Smrg } && test -s conftest.$ac_objext; then 39838ff16396Smrg ac_cv_header_stdc=yes 39848ff16396Smrgelse 39858ff16396Smrg $as_echo "$as_me: failed program was:" >&5 39868ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 39878ff16396Smrg 39888ff16396Smrg ac_cv_header_stdc=no 39898ff16396Smrgfi 39908ff16396Smrg 39918ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 39928ff16396Smrg 39938ff16396Smrgif test $ac_cv_header_stdc = yes; then 39948ff16396Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 39958ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 39968ff16396Smrg/* confdefs.h. */ 39978ff16396Smrg_ACEOF 39988ff16396Smrgcat confdefs.h >>conftest.$ac_ext 39998ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 40008ff16396Smrg/* end confdefs.h. */ 40018ff16396Smrg#include <string.h> 40028ff16396Smrg 40038ff16396Smrg_ACEOF 40048ff16396Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40058ff16396Smrg $EGREP "memchr" >/dev/null 2>&1; then 40068ff16396Smrg : 40078ff16396Smrgelse 40088ff16396Smrg ac_cv_header_stdc=no 40098ff16396Smrgfi 40108ff16396Smrgrm -f conftest* 40118ff16396Smrg 40128ff16396Smrgfi 40138ff16396Smrg 40148ff16396Smrgif test $ac_cv_header_stdc = yes; then 40158ff16396Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 40168ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 40178ff16396Smrg/* confdefs.h. */ 40188ff16396Smrg_ACEOF 40198ff16396Smrgcat confdefs.h >>conftest.$ac_ext 40208ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 40218ff16396Smrg/* end confdefs.h. */ 40228ff16396Smrg#include <stdlib.h> 40238ff16396Smrg 40248ff16396Smrg_ACEOF 40258ff16396Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40268ff16396Smrg $EGREP "free" >/dev/null 2>&1; then 40278ff16396Smrg : 40288ff16396Smrgelse 40298ff16396Smrg ac_cv_header_stdc=no 40308ff16396Smrgfi 40318ff16396Smrgrm -f conftest* 40328ff16396Smrg 40338ff16396Smrgfi 40348ff16396Smrg 40358ff16396Smrgif test $ac_cv_header_stdc = yes; then 40368ff16396Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 40378ff16396Smrg if test "$cross_compiling" = yes; then 40388ff16396Smrg : 40398ff16396Smrgelse 40408ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 40418ff16396Smrg/* confdefs.h. */ 40428ff16396Smrg_ACEOF 40438ff16396Smrgcat confdefs.h >>conftest.$ac_ext 40448ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 40458ff16396Smrg/* end confdefs.h. */ 40468ff16396Smrg#include <ctype.h> 40478ff16396Smrg#include <stdlib.h> 40488ff16396Smrg#if ((' ' & 0x0FF) == 0x020) 40498ff16396Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 40508ff16396Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 40518ff16396Smrg#else 40528ff16396Smrg# define ISLOWER(c) \ 40538ff16396Smrg (('a' <= (c) && (c) <= 'i') \ 40548ff16396Smrg || ('j' <= (c) && (c) <= 'r') \ 40558ff16396Smrg || ('s' <= (c) && (c) <= 'z')) 40568ff16396Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 40578ff16396Smrg#endif 40588ff16396Smrg 40598ff16396Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 40608ff16396Smrgint 40618ff16396Smrgmain () 40628ff16396Smrg{ 40638ff16396Smrg int i; 40648ff16396Smrg for (i = 0; i < 256; i++) 40658ff16396Smrg if (XOR (islower (i), ISLOWER (i)) 40668ff16396Smrg || toupper (i) != TOUPPER (i)) 40678ff16396Smrg return 2; 40688ff16396Smrg return 0; 40698ff16396Smrg} 40708ff16396Smrg_ACEOF 40718ff16396Smrgrm -f conftest$ac_exeext 40728ff16396Smrgif { (ac_try="$ac_link" 40738ff16396Smrgcase "(($ac_try" in 40748ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 40758ff16396Smrg *) ac_try_echo=$ac_try;; 40768ff16396Smrgesac 40778ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 40788ff16396Smrg$as_echo "$ac_try_echo") >&5 40798ff16396Smrg (eval "$ac_link") 2>&5 40808ff16396Smrg ac_status=$? 40818ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 40828ff16396Smrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 40838ff16396Smrg { (case "(($ac_try" in 40848ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 40858ff16396Smrg *) ac_try_echo=$ac_try;; 40868ff16396Smrgesac 40878ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 40888ff16396Smrg$as_echo "$ac_try_echo") >&5 40898ff16396Smrg (eval "$ac_try") 2>&5 40908ff16396Smrg ac_status=$? 40918ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 40928ff16396Smrg (exit $ac_status); }; }; then 40938ff16396Smrg : 40948ff16396Smrgelse 40958ff16396Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 40968ff16396Smrg$as_echo "$as_me: failed program was:" >&5 40978ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 40988ff16396Smrg 40998ff16396Smrg( exit $ac_status ) 41008ff16396Smrgac_cv_header_stdc=no 41018ff16396Smrgfi 41028ff16396Smrgrm -rf conftest.dSYM 41038ff16396Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 41048ff16396Smrgfi 41058ff16396Smrg 41068ff16396Smrg 41078ff16396Smrgfi 41088ff16396Smrgfi 41098ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 41108ff16396Smrg$as_echo "$ac_cv_header_stdc" >&6; } 41118ff16396Smrgif test $ac_cv_header_stdc = yes; then 41128ff16396Smrg 41138ff16396Smrgcat >>confdefs.h <<\_ACEOF 41148ff16396Smrg#define STDC_HEADERS 1 41158ff16396Smrg_ACEOF 41168ff16396Smrg 41178ff16396Smrgfi 41188ff16396Smrg 41198ff16396Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 41208ff16396Smrg 41218ff16396Smrg 41228ff16396Smrg 41238ff16396Smrg 41248ff16396Smrg 41258ff16396Smrg 41268ff16396Smrg 41278ff16396Smrg 41288ff16396Smrg 41298ff16396Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 41308ff16396Smrg inttypes.h stdint.h unistd.h 41318ff16396Smrgdo 41328ff16396Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 41338ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 41348ff16396Smrg$as_echo_n "checking for $ac_header... " >&6; } 41358ff16396Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 41368ff16396Smrg $as_echo_n "(cached) " >&6 41378ff16396Smrgelse 41388ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 41398ff16396Smrg/* confdefs.h. */ 41408ff16396Smrg_ACEOF 41418ff16396Smrgcat confdefs.h >>conftest.$ac_ext 41428ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 41438ff16396Smrg/* end confdefs.h. */ 41448ff16396Smrg$ac_includes_default 41458ff16396Smrg 41468ff16396Smrg#include <$ac_header> 41478ff16396Smrg_ACEOF 41488ff16396Smrgrm -f conftest.$ac_objext 41498ff16396Smrgif { (ac_try="$ac_compile" 41508ff16396Smrgcase "(($ac_try" in 41518ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 41528ff16396Smrg *) ac_try_echo=$ac_try;; 41538ff16396Smrgesac 41548ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 41558ff16396Smrg$as_echo "$ac_try_echo") >&5 41568ff16396Smrg (eval "$ac_compile") 2>conftest.er1 41578ff16396Smrg ac_status=$? 41588ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 41598ff16396Smrg rm -f conftest.er1 41608ff16396Smrg cat conftest.err >&5 41618ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 41628ff16396Smrg (exit $ac_status); } && { 41638ff16396Smrg test -z "$ac_c_werror_flag" || 41648ff16396Smrg test ! -s conftest.err 41658ff16396Smrg } && test -s conftest.$ac_objext; then 41668ff16396Smrg eval "$as_ac_Header=yes" 41678ff16396Smrgelse 41688ff16396Smrg $as_echo "$as_me: failed program was:" >&5 41698ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 41708ff16396Smrg 41718ff16396Smrg eval "$as_ac_Header=no" 41728ff16396Smrgfi 41738ff16396Smrg 41748ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41758ff16396Smrgfi 41768ff16396Smrgac_res=`eval 'as_val=${'$as_ac_Header'} 41778ff16396Smrg $as_echo "$as_val"'` 41788ff16396Smrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 41798ff16396Smrg$as_echo "$ac_res" >&6; } 41808ff16396Smrgas_val=`eval 'as_val=${'$as_ac_Header'} 41818ff16396Smrg $as_echo "$as_val"'` 41828ff16396Smrg if test "x$as_val" = x""yes; then 41838ff16396Smrg cat >>confdefs.h <<_ACEOF 41848ff16396Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 41858ff16396Smrg_ACEOF 41868ff16396Smrg 41878ff16396Smrgfi 41888ff16396Smrg 41898ff16396Smrgdone 41908ff16396Smrg 41918ff16396Smrg 41928ff16396Smrg { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 41938ff16396Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 41948ff16396Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then 41958ff16396Smrg $as_echo_n "(cached) " >&6 41968ff16396Smrgelse 41978ff16396Smrg ac_cv_prog_cc_c99=no 41988ff16396Smrgac_save_CC=$CC 41998ff16396Smrgcat >conftest.$ac_ext <<_ACEOF 42008ff16396Smrg/* confdefs.h. */ 42018ff16396Smrg_ACEOF 42028ff16396Smrgcat confdefs.h >>conftest.$ac_ext 42038ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 42048ff16396Smrg/* end confdefs.h. */ 42058ff16396Smrg#include <stdarg.h> 42068ff16396Smrg#include <stdbool.h> 42078ff16396Smrg#include <stdlib.h> 42088ff16396Smrg#include <wchar.h> 42098ff16396Smrg#include <stdio.h> 42108ff16396Smrg 42118ff16396Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 42128ff16396Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 42138ff16396Smrg#define showlist(...) puts (#__VA_ARGS__) 42148ff16396Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 42158ff16396Smrgstatic void 42168ff16396Smrgtest_varargs_macros (void) 42178ff16396Smrg{ 42188ff16396Smrg int x = 1234; 42198ff16396Smrg int y = 5678; 42208ff16396Smrg debug ("Flag"); 42218ff16396Smrg debug ("X = %d\n", x); 42228ff16396Smrg showlist (The first, second, and third items.); 42238ff16396Smrg report (x>y, "x is %d but y is %d", x, y); 42248ff16396Smrg} 42258ff16396Smrg 42268ff16396Smrg// Check long long types. 42278ff16396Smrg#define BIG64 18446744073709551615ull 42288ff16396Smrg#define BIG32 4294967295ul 42298ff16396Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 42308ff16396Smrg#if !BIG_OK 42318ff16396Smrg your preprocessor is broken; 42328ff16396Smrg#endif 42338ff16396Smrg#if BIG_OK 42348ff16396Smrg#else 42358ff16396Smrg your preprocessor is broken; 42368ff16396Smrg#endif 42378ff16396Smrgstatic long long int bignum = -9223372036854775807LL; 42388ff16396Smrgstatic unsigned long long int ubignum = BIG64; 42398ff16396Smrg 42408ff16396Smrgstruct incomplete_array 42418ff16396Smrg{ 42428ff16396Smrg int datasize; 42438ff16396Smrg double data[]; 42448ff16396Smrg}; 42458ff16396Smrg 42468ff16396Smrgstruct named_init { 42478ff16396Smrg int number; 42488ff16396Smrg const wchar_t *name; 42498ff16396Smrg double average; 42508ff16396Smrg}; 42518ff16396Smrg 42528ff16396Smrgtypedef const char *ccp; 42538ff16396Smrg 42548ff16396Smrgstatic inline int 42558ff16396Smrgtest_restrict (ccp restrict text) 42568ff16396Smrg{ 42578ff16396Smrg // See if C++-style comments work. 42588ff16396Smrg // Iterate through items via the restricted pointer. 42598ff16396Smrg // Also check for declarations in for loops. 42608ff16396Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 42618ff16396Smrg continue; 42628ff16396Smrg return 0; 42638ff16396Smrg} 42648ff16396Smrg 42658ff16396Smrg// Check varargs and va_copy. 42668ff16396Smrgstatic void 42678ff16396Smrgtest_varargs (const char *format, ...) 42688ff16396Smrg{ 42698ff16396Smrg va_list args; 42708ff16396Smrg va_start (args, format); 42718ff16396Smrg va_list args_copy; 42728ff16396Smrg va_copy (args_copy, args); 42738ff16396Smrg 42748ff16396Smrg const char *str; 42758ff16396Smrg int number; 42768ff16396Smrg float fnumber; 42778ff16396Smrg 42788ff16396Smrg while (*format) 42798ff16396Smrg { 42808ff16396Smrg switch (*format++) 42818ff16396Smrg { 42828ff16396Smrg case 's': // string 42838ff16396Smrg str = va_arg (args_copy, const char *); 42848ff16396Smrg break; 42858ff16396Smrg case 'd': // int 42868ff16396Smrg number = va_arg (args_copy, int); 42878ff16396Smrg break; 42888ff16396Smrg case 'f': // float 42898ff16396Smrg fnumber = va_arg (args_copy, double); 42908ff16396Smrg break; 42918ff16396Smrg default: 42928ff16396Smrg break; 42938ff16396Smrg } 42948ff16396Smrg } 42958ff16396Smrg va_end (args_copy); 42968ff16396Smrg va_end (args); 42978ff16396Smrg} 42988ff16396Smrg 42998ff16396Smrgint 43008ff16396Smrgmain () 43018ff16396Smrg{ 43028ff16396Smrg 43038ff16396Smrg // Check bool. 43048ff16396Smrg _Bool success = false; 43058ff16396Smrg 43068ff16396Smrg // Check restrict. 43078ff16396Smrg if (test_restrict ("String literal") == 0) 43088ff16396Smrg success = true; 43098ff16396Smrg char *restrict newvar = "Another string"; 43108ff16396Smrg 43118ff16396Smrg // Check varargs. 43128ff16396Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 43138ff16396Smrg test_varargs_macros (); 43148ff16396Smrg 43158ff16396Smrg // Check flexible array members. 43168ff16396Smrg struct incomplete_array *ia = 43178ff16396Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 43188ff16396Smrg ia->datasize = 10; 43198ff16396Smrg for (int i = 0; i < ia->datasize; ++i) 43208ff16396Smrg ia->data[i] = i * 1.234; 43218ff16396Smrg 43228ff16396Smrg // Check named initializers. 43238ff16396Smrg struct named_init ni = { 43248ff16396Smrg .number = 34, 43258ff16396Smrg .name = L"Test wide string", 43268ff16396Smrg .average = 543.34343, 43278ff16396Smrg }; 43288ff16396Smrg 43298ff16396Smrg ni.number = 58; 43308ff16396Smrg 43318ff16396Smrg int dynamic_array[ni.number]; 43328ff16396Smrg dynamic_array[ni.number - 1] = 543; 43338ff16396Smrg 43348ff16396Smrg // work around unused variable warnings 43358ff16396Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 43368ff16396Smrg || dynamic_array[ni.number - 1] != 543); 43378ff16396Smrg 43388ff16396Smrg ; 43398ff16396Smrg return 0; 43408ff16396Smrg} 43418ff16396Smrg_ACEOF 43428ff16396Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 43438ff16396Smrgdo 43448ff16396Smrg CC="$ac_save_CC $ac_arg" 43458ff16396Smrg rm -f conftest.$ac_objext 43468ff16396Smrgif { (ac_try="$ac_compile" 43478ff16396Smrgcase "(($ac_try" in 43488ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 43498ff16396Smrg *) ac_try_echo=$ac_try;; 43508ff16396Smrgesac 43518ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 43528ff16396Smrg$as_echo "$ac_try_echo") >&5 43538ff16396Smrg (eval "$ac_compile") 2>conftest.er1 43548ff16396Smrg ac_status=$? 43558ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 43568ff16396Smrg rm -f conftest.er1 43578ff16396Smrg cat conftest.err >&5 43588ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 43598ff16396Smrg (exit $ac_status); } && { 43608ff16396Smrg test -z "$ac_c_werror_flag" || 43618ff16396Smrg test ! -s conftest.err 43628ff16396Smrg } && test -s conftest.$ac_objext; then 43638ff16396Smrg ac_cv_prog_cc_c99=$ac_arg 43648ff16396Smrgelse 43658ff16396Smrg $as_echo "$as_me: failed program was:" >&5 43668ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 43678ff16396Smrg 43688ff16396Smrg 43698ff16396Smrgfi 43708ff16396Smrg 43718ff16396Smrgrm -f core conftest.err conftest.$ac_objext 43728ff16396Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 43738ff16396Smrgdone 43748ff16396Smrgrm -f conftest.$ac_ext 43758ff16396SmrgCC=$ac_save_CC 43768ff16396Smrg 43778ff16396Smrgfi 43788ff16396Smrg# AC_CACHE_VAL 43798ff16396Smrgcase "x$ac_cv_prog_cc_c99" in 43808ff16396Smrg x) 43818ff16396Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 43828ff16396Smrg$as_echo "none needed" >&6; } ;; 43838ff16396Smrg xno) 43848ff16396Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 43858ff16396Smrg$as_echo "unsupported" >&6; } ;; 43868ff16396Smrg *) 43878ff16396Smrg CC="$CC $ac_cv_prog_cc_c99" 43888ff16396Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 43898ff16396Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 43908ff16396Smrgesac 43918ff16396Smrg 43928ff16396Smrg 43938ff16396Smrg 43948ff16396Smrg# Make sure we can run config.sub. 43958ff16396Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 43968ff16396Smrg { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 43978ff16396Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 43988ff16396Smrg { (exit 1); exit 1; }; } 43998ff16396Smrg 44008ff16396Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5 44018ff16396Smrg$as_echo_n "checking build system type... " >&6; } 44028ff16396Smrgif test "${ac_cv_build+set}" = set; then 44038ff16396Smrg $as_echo_n "(cached) " >&6 44048ff16396Smrgelse 44058ff16396Smrg ac_build_alias=$build_alias 44068ff16396Smrgtest "x$ac_build_alias" = x && 44078ff16396Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 44088ff16396Smrgtest "x$ac_build_alias" = x && 44098ff16396Smrg { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 44108ff16396Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 44118ff16396Smrg { (exit 1); exit 1; }; } 44128ff16396Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 44138ff16396Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 44148ff16396Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 44158ff16396Smrg { (exit 1); exit 1; }; } 44168ff16396Smrg 44178ff16396Smrgfi 44188ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 44198ff16396Smrg$as_echo "$ac_cv_build" >&6; } 44208ff16396Smrgcase $ac_cv_build in 44218ff16396Smrg*-*-*) ;; 44228ff16396Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 44238ff16396Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;} 44248ff16396Smrg { (exit 1); exit 1; }; };; 44258ff16396Smrgesac 44268ff16396Smrgbuild=$ac_cv_build 44278ff16396Smrgac_save_IFS=$IFS; IFS='-' 44288ff16396Smrgset x $ac_cv_build 44298ff16396Smrgshift 44308ff16396Smrgbuild_cpu=$1 44318ff16396Smrgbuild_vendor=$2 44328ff16396Smrgshift; shift 44338ff16396Smrg# Remember, the first character of IFS is used to create $*, 44348ff16396Smrg# except with old shells: 44358ff16396Smrgbuild_os=$* 44368ff16396SmrgIFS=$ac_save_IFS 44378ff16396Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 44388ff16396Smrg 44398ff16396Smrg 44408ff16396Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5 44418ff16396Smrg$as_echo_n "checking host system type... " >&6; } 44428ff16396Smrgif test "${ac_cv_host+set}" = set; then 44438ff16396Smrg $as_echo_n "(cached) " >&6 44448ff16396Smrgelse 44458ff16396Smrg if test "x$host_alias" = x; then 44468ff16396Smrg ac_cv_host=$ac_cv_build 44478ff16396Smrgelse 44488ff16396Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 44498ff16396Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 44508ff16396Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 44518ff16396Smrg { (exit 1); exit 1; }; } 44528ff16396Smrgfi 44538ff16396Smrg 44548ff16396Smrgfi 44558ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 44568ff16396Smrg$as_echo "$ac_cv_host" >&6; } 44578ff16396Smrgcase $ac_cv_host in 44588ff16396Smrg*-*-*) ;; 44598ff16396Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 44608ff16396Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;} 44618ff16396Smrg { (exit 1); exit 1; }; };; 44628ff16396Smrgesac 44638ff16396Smrghost=$ac_cv_host 44648ff16396Smrgac_save_IFS=$IFS; IFS='-' 44658ff16396Smrgset x $ac_cv_host 44668ff16396Smrgshift 44678ff16396Smrghost_cpu=$1 44688ff16396Smrghost_vendor=$2 44698ff16396Smrgshift; shift 44708ff16396Smrg# Remember, the first character of IFS is used to create $*, 44718ff16396Smrg# except with old shells: 44728ff16396Smrghost_os=$* 44738ff16396SmrgIFS=$ac_save_IFS 44748ff16396Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 44758ff16396Smrg 44768ff16396Smrg 44778ff16396Smrg 44788ff16396Smrg 44798ff16396Smrg 44808ff16396Smrgif test "x$GCC" = xyes ; then 44818ff16396Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 44828ff16396Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 44838ff16396Smrg-Wbad-function-cast" 44848ff16396Smrg case `$CC -dumpversion` in 44858ff16396Smrg 3.4.* | 4.*) 44868ff16396Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 44878ff16396Smrg ;; 44888ff16396Smrg esac 44898ff16396Smrgelse 44908ff16396Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 44918ff16396Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 44928ff16396Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 44938ff16396Smrg $as_echo_n "(cached) " >&6 44948ff16396Smrgelse 44958ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 44968ff16396Smrg/* confdefs.h. */ 44978ff16396Smrg_ACEOF 44988ff16396Smrgcat confdefs.h >>conftest.$ac_ext 44998ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 45008ff16396Smrg/* end confdefs.h. */ 45018ff16396Smrg$ac_includes_default 45028ff16396Smrgint 45038ff16396Smrgmain () 45048ff16396Smrg{ 45058ff16396Smrg#ifndef __SUNPRO_C 45068ff16396Smrg (void) __SUNPRO_C; 45078ff16396Smrg#endif 45088ff16396Smrg 45098ff16396Smrg ; 45108ff16396Smrg return 0; 45118ff16396Smrg} 45128ff16396Smrg_ACEOF 45138ff16396Smrgrm -f conftest.$ac_objext 45148ff16396Smrgif { (ac_try="$ac_compile" 45158ff16396Smrgcase "(($ac_try" in 45168ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 45178ff16396Smrg *) ac_try_echo=$ac_try;; 45188ff16396Smrgesac 45198ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 45208ff16396Smrg$as_echo "$ac_try_echo") >&5 45218ff16396Smrg (eval "$ac_compile") 2>conftest.er1 45228ff16396Smrg ac_status=$? 45238ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 45248ff16396Smrg rm -f conftest.er1 45258ff16396Smrg cat conftest.err >&5 45268ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 45278ff16396Smrg (exit $ac_status); } && { 45288ff16396Smrg test -z "$ac_c_werror_flag" || 45298ff16396Smrg test ! -s conftest.err 45308ff16396Smrg } && test -s conftest.$ac_objext; then 45318ff16396Smrg ac_cv_have_decl___SUNPRO_C=yes 45328ff16396Smrgelse 45338ff16396Smrg $as_echo "$as_me: failed program was:" >&5 45348ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 45358ff16396Smrg 45368ff16396Smrg ac_cv_have_decl___SUNPRO_C=no 45378ff16396Smrgfi 45388ff16396Smrg 45398ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 45408ff16396Smrgfi 45418ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 45428ff16396Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 45438ff16396Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 45448ff16396Smrg SUNCC="yes" 45458ff16396Smrgelse 45468ff16396Smrg SUNCC="no" 45478ff16396Smrgfi 45488ff16396Smrg 45498ff16396Smrg if test "x$SUNCC" = "xyes"; then 45508ff16396Smrg CWARNFLAGS="-v" 45518ff16396Smrg fi 45528ff16396Smrgfi 45538ff16396Smrg 45548ff16396Smrg# Check whether --enable-silent-rules was given. 45558ff16396Smrgif test "${enable_silent_rules+set}" = set; then 45568ff16396Smrg enableval=$enable_silent_rules; 45578ff16396Smrgfi 45588ff16396Smrg 45598ff16396Smrgcase $enable_silent_rules in 45608ff16396Smrgyes) AM_DEFAULT_VERBOSITY=0;; 45618ff16396Smrgno) AM_DEFAULT_VERBOSITY=1;; 45628ff16396Smrg*) AM_DEFAULT_VERBOSITY=0;; 45638ff16396Smrgesac 45648ff16396SmrgAM_BACKSLASH='\' 45658ff16396Smrg 45668ff16396Smrg 45678ff16396Smrg 45688ff16396Smrg 45698ff16396Smrg 45708ff16396Smrg 45718ff16396Smrg 45728ff16396Smrg# Check whether --enable-strict-compilation was given. 45738ff16396Smrgif test "${enable_strict_compilation+set}" = set; then 45748ff16396Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 45758ff16396Smrgelse 45768ff16396Smrg STRICT_COMPILE=no 45778ff16396Smrgfi 45788ff16396Smrg 45798ff16396Smrgif test "x$STRICT_COMPILE" = "xyes"; then 45808ff16396Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 45818ff16396Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 45828ff16396Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 45838ff16396Smrg $as_echo_n "(cached) " >&6 45848ff16396Smrgelse 45858ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 45868ff16396Smrg/* confdefs.h. */ 45878ff16396Smrg_ACEOF 45888ff16396Smrgcat confdefs.h >>conftest.$ac_ext 45898ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 45908ff16396Smrg/* end confdefs.h. */ 45918ff16396Smrg$ac_includes_default 45928ff16396Smrgint 45938ff16396Smrgmain () 45948ff16396Smrg{ 45958ff16396Smrg#ifndef __SUNPRO_C 45968ff16396Smrg (void) __SUNPRO_C; 45978ff16396Smrg#endif 45988ff16396Smrg 45998ff16396Smrg ; 46008ff16396Smrg return 0; 46018ff16396Smrg} 46028ff16396Smrg_ACEOF 46038ff16396Smrgrm -f conftest.$ac_objext 46048ff16396Smrgif { (ac_try="$ac_compile" 46058ff16396Smrgcase "(($ac_try" in 46068ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 46078ff16396Smrg *) ac_try_echo=$ac_try;; 46088ff16396Smrgesac 46098ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 46108ff16396Smrg$as_echo "$ac_try_echo") >&5 46118ff16396Smrg (eval "$ac_compile") 2>conftest.er1 46128ff16396Smrg ac_status=$? 46138ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 46148ff16396Smrg rm -f conftest.er1 46158ff16396Smrg cat conftest.err >&5 46168ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 46178ff16396Smrg (exit $ac_status); } && { 46188ff16396Smrg test -z "$ac_c_werror_flag" || 46198ff16396Smrg test ! -s conftest.err 46208ff16396Smrg } && test -s conftest.$ac_objext; then 46218ff16396Smrg ac_cv_have_decl___SUNPRO_C=yes 46228ff16396Smrgelse 46238ff16396Smrg $as_echo "$as_me: failed program was:" >&5 46248ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 46258ff16396Smrg 46268ff16396Smrg ac_cv_have_decl___SUNPRO_C=no 46278ff16396Smrgfi 46288ff16396Smrg 46298ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 46308ff16396Smrgfi 46318ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 46328ff16396Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 46338ff16396Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 46348ff16396Smrg SUNCC="yes" 46358ff16396Smrgelse 46368ff16396Smrg SUNCC="no" 46378ff16396Smrgfi 46388ff16396Smrg 46398ff16396Smrg { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 46408ff16396Smrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 46418ff16396Smrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 46428ff16396Smrg $as_echo_n "(cached) " >&6 46438ff16396Smrgelse 46448ff16396Smrg cat >conftest.$ac_ext <<_ACEOF 46458ff16396Smrg/* confdefs.h. */ 46468ff16396Smrg_ACEOF 46478ff16396Smrgcat confdefs.h >>conftest.$ac_ext 46488ff16396Smrgcat >>conftest.$ac_ext <<_ACEOF 46498ff16396Smrg/* end confdefs.h. */ 46508ff16396Smrg$ac_includes_default 46518ff16396Smrgint 46528ff16396Smrgmain () 46538ff16396Smrg{ 46548ff16396Smrg#ifndef __INTEL_COMPILER 46558ff16396Smrg (void) __INTEL_COMPILER; 46568ff16396Smrg#endif 46578ff16396Smrg 46588ff16396Smrg ; 46598ff16396Smrg return 0; 46608ff16396Smrg} 46618ff16396Smrg_ACEOF 46628ff16396Smrgrm -f conftest.$ac_objext 46638ff16396Smrgif { (ac_try="$ac_compile" 46648ff16396Smrgcase "(($ac_try" in 46658ff16396Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 46668ff16396Smrg *) ac_try_echo=$ac_try;; 46678ff16396Smrgesac 46688ff16396Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 46698ff16396Smrg$as_echo "$ac_try_echo") >&5 46708ff16396Smrg (eval "$ac_compile") 2>conftest.er1 46718ff16396Smrg ac_status=$? 46728ff16396Smrg grep -v '^ *+' conftest.er1 >conftest.err 46738ff16396Smrg rm -f conftest.er1 46748ff16396Smrg cat conftest.err >&5 46758ff16396Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 46768ff16396Smrg (exit $ac_status); } && { 46778ff16396Smrg test -z "$ac_c_werror_flag" || 46788ff16396Smrg test ! -s conftest.err 46798ff16396Smrg } && test -s conftest.$ac_objext; then 46808ff16396Smrg ac_cv_have_decl___INTEL_COMPILER=yes 46818ff16396Smrgelse 46828ff16396Smrg $as_echo "$as_me: failed program was:" >&5 46838ff16396Smrgsed 's/^/| /' conftest.$ac_ext >&5 46848ff16396Smrg 46858ff16396Smrg ac_cv_have_decl___INTEL_COMPILER=no 46868ff16396Smrgfi 46878ff16396Smrg 46888ff16396Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 46898ff16396Smrgfi 46908ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 46918ff16396Smrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 46928ff16396Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then 46938ff16396Smrg INTELCC="yes" 46948ff16396Smrgelse 46958ff16396Smrg INTELCC="no" 46968ff16396Smrgfi 46978ff16396Smrg 46988ff16396Smrg if test "x$GCC" = xyes ; then 46998ff16396Smrg STRICT_CFLAGS="-pedantic -Werror" 47008ff16396Smrg elif test "x$SUNCC" = "xyes"; then 47018ff16396Smrg STRICT_CFLAGS="-errwarn" 47028ff16396Smrg elif test "x$INTELCC" = "xyes"; then 47038ff16396Smrg STRICT_CFLAGS="-Werror" 47048ff16396Smrg fi 47058ff16396Smrgfi 47068ff16396SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 47078ff16396Smrg 47088ff16396Smrg 47098ff16396Smrg 47108ff16396Smrg 47118ff16396Smrg# Check whether --with-release-version was given. 47128ff16396Smrgif test "${with_release_version+set}" = set; then 47138ff16396Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 47148ff16396Smrgelse 47158ff16396Smrg RELEASE_VERSION="" 47168ff16396Smrgfi 47178ff16396Smrg 47188ff16396Smrg if test "x$RELEASE_VERSION" != "x"; then 47198ff16396Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 47208ff16396Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 47218ff16396Smrg { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 47228ff16396Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 47238ff16396Smrg fi 47248ff16396Smrg 47258ff16396Smrgcat >>confdefs.h <<_ACEOF 47268ff16396Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 47278ff16396Smrg_ACEOF 47288ff16396Smrg 47298ff16396Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 47308ff16396Smrg if test "x$PVM" = "x"; then 47318ff16396Smrg PVM="0" 47328ff16396Smrg fi 47338ff16396Smrg 47348ff16396Smrgcat >>confdefs.h <<_ACEOF 47358ff16396Smrg#define PACKAGE_VERSION_MINOR $PVM 47368ff16396Smrg_ACEOF 47378ff16396Smrg 47388ff16396Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 47398ff16396Smrg if test "x$PVP" = "x"; then 47408ff16396Smrg PVP="0" 47418ff16396Smrg fi 47428ff16396Smrg 47438ff16396Smrgcat >>confdefs.h <<_ACEOF 47448ff16396Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 47458ff16396Smrg_ACEOF 47468ff16396Smrg 47478ff16396Smrg 47488ff16396Smrg 47498ff16396SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 47508ff16396Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 47518ff16396Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 47528ff16396Smrg 47538ff16396Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 47548ff16396Smrg 47558ff16396Smrg 47568ff16396Smrg 47578ff16396Smrg 47588ff16396Smrg 47598ff16396Smrgif test x$APP_MAN_SUFFIX = x ; then 47608ff16396Smrg APP_MAN_SUFFIX=1 47618ff16396Smrgfi 47628ff16396Smrgif test x$APP_MAN_DIR = x ; then 47638ff16396Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 47640bd0e222Smrgfi 47650bd0e222Smrg 47668ff16396Smrgif test x$LIB_MAN_SUFFIX = x ; then 47678ff16396Smrg LIB_MAN_SUFFIX=3 47688ff16396Smrgfi 47698ff16396Smrgif test x$LIB_MAN_DIR = x ; then 47708ff16396Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 47718ff16396Smrgfi 47728ff16396Smrg 47738ff16396Smrgif test x$FILE_MAN_SUFFIX = x ; then 47748ff16396Smrg case $host_os in 47758ff16396Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 47768ff16396Smrg *) FILE_MAN_SUFFIX=5 ;; 47778ff16396Smrg esac 47788ff16396Smrgfi 47798ff16396Smrgif test x$FILE_MAN_DIR = x ; then 47808ff16396Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 47818ff16396Smrgfi 47828ff16396Smrg 47838ff16396Smrgif test x$MISC_MAN_SUFFIX = x ; then 47848ff16396Smrg case $host_os in 47858ff16396Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 47868ff16396Smrg *) MISC_MAN_SUFFIX=7 ;; 47878ff16396Smrg esac 47888ff16396Smrgfi 47898ff16396Smrgif test x$MISC_MAN_DIR = x ; then 47908ff16396Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 47918ff16396Smrgfi 47928ff16396Smrg 47938ff16396Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 47948ff16396Smrg case $host_os in 47958ff16396Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 47968ff16396Smrg *) DRIVER_MAN_SUFFIX=4 ;; 47978ff16396Smrg esac 47988ff16396Smrgfi 47998ff16396Smrgif test x$DRIVER_MAN_DIR = x ; then 48008ff16396Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 48018ff16396Smrgfi 48028ff16396Smrg 48038ff16396Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 48048ff16396Smrg case $host_os in 48058ff16396Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 48068ff16396Smrg *) ADMIN_MAN_SUFFIX=8 ;; 48078ff16396Smrg esac 48088ff16396Smrgfi 48098ff16396Smrgif test x$ADMIN_MAN_DIR = x ; then 48108ff16396Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 48118ff16396Smrgfi 48128ff16396Smrg 48138ff16396Smrg 48148ff16396Smrg 48158ff16396Smrg 48168ff16396Smrg 48178ff16396Smrg 48188ff16396Smrg 48198ff16396Smrg 48208ff16396Smrg 48218ff16396Smrg 48228ff16396Smrg 48238ff16396Smrg 48248ff16396Smrg 48258ff16396Smrg 48260bd0e222Smrg 48270bd0e222Smrg 48280bd0e222Smrg 48290bd0e222Smrg# Find a good install program. We prefer a C program (faster), 48300bd0e222Smrg# so one script is as good as another. But avoid the broken or 48310bd0e222Smrg# incompatible versions: 48320bd0e222Smrg# SysV /etc/install, /usr/sbin/install 48330bd0e222Smrg# SunOS /usr/etc/install 48340bd0e222Smrg# IRIX /sbin/install 48350bd0e222Smrg# AIX /bin/install 48360bd0e222Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 48370bd0e222Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 48380bd0e222Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 48390bd0e222Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 48400bd0e222Smrg# OS/2's system install, which has a completely different semantic 48410bd0e222Smrg# ./install, which can be erroneously created by make from ./install.sh. 48428ff16396Smrg# Reject install programs that cannot install multiple files. 48438ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 48448ff16396Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 48450bd0e222Smrgif test -z "$INSTALL"; then 48460bd0e222Smrgif test "${ac_cv_path_install+set}" = set; then 48478ff16396Smrg $as_echo_n "(cached) " >&6 48480bd0e222Smrgelse 48490bd0e222Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 48500bd0e222Smrgfor as_dir in $PATH 48510bd0e222Smrgdo 48520bd0e222Smrg IFS=$as_save_IFS 48530bd0e222Smrg test -z "$as_dir" && as_dir=. 48540bd0e222Smrg # Account for people who put trailing slashes in PATH elements. 48550bd0e222Smrgcase $as_dir/ in 48560bd0e222Smrg ./ | .// | /cC/* | \ 48570bd0e222Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 48580bd0e222Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 48590bd0e222Smrg /usr/ucb/* ) ;; 48600bd0e222Smrg *) 48610bd0e222Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 48620bd0e222Smrg # Don't use installbsd from OSF since it installs stuff as root 48630bd0e222Smrg # by default. 48640bd0e222Smrg for ac_prog in ginstall scoinst install; do 48650bd0e222Smrg for ac_exec_ext in '' $ac_executable_extensions; do 48668ff16396Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 48670bd0e222Smrg if test $ac_prog = install && 48680bd0e222Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 48690bd0e222Smrg # AIX install. It has an incompatible calling convention. 48700bd0e222Smrg : 48710bd0e222Smrg elif test $ac_prog = install && 48720bd0e222Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 48730bd0e222Smrg # program-specific install script used by HP pwplus--don't use. 48740bd0e222Smrg : 48750bd0e222Smrg else 48768ff16396Smrg rm -rf conftest.one conftest.two conftest.dir 48778ff16396Smrg echo one > conftest.one 48788ff16396Smrg echo two > conftest.two 48798ff16396Smrg mkdir conftest.dir 48808ff16396Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 48818ff16396Smrg test -s conftest.one && test -s conftest.two && 48828ff16396Smrg test -s conftest.dir/conftest.one && 48838ff16396Smrg test -s conftest.dir/conftest.two 48848ff16396Smrg then 48858ff16396Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 48868ff16396Smrg break 3 48878ff16396Smrg fi 48880bd0e222Smrg fi 48890bd0e222Smrg fi 48900bd0e222Smrg done 48910bd0e222Smrg done 48920bd0e222Smrg ;; 48930bd0e222Smrgesac 48948ff16396Smrg 48950bd0e222Smrgdone 48968ff16396SmrgIFS=$as_save_IFS 48970bd0e222Smrg 48988ff16396Smrgrm -rf conftest.one conftest.two conftest.dir 48990bd0e222Smrg 49000bd0e222Smrgfi 49010bd0e222Smrg if test "${ac_cv_path_install+set}" = set; then 49020bd0e222Smrg INSTALL=$ac_cv_path_install 49030bd0e222Smrg else 49048ff16396Smrg # As a last resort, use the slow shell script. Don't cache a 49058ff16396Smrg # value for INSTALL within a source directory, because that will 49060bd0e222Smrg # break other packages using the cache if that directory is 49078ff16396Smrg # removed, or if the value is a relative name. 49080bd0e222Smrg INSTALL=$ac_install_sh 49090bd0e222Smrg fi 49100bd0e222Smrgfi 49118ff16396Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 49128ff16396Smrg$as_echo "$INSTALL" >&6; } 49130bd0e222Smrg 49140bd0e222Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 49150bd0e222Smrg# It thinks the first close brace ends the variable substitution. 49160bd0e222Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 49170bd0e222Smrg 49180bd0e222Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 49190bd0e222Smrg 49200bd0e222Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 49210bd0e222Smrg 49220bd0e222Smrg 49238ff16396Smrg# Require X.Org's font util macros 1.1 or later 49248ff16396Smrg 49258ff16396Smrg 49268ff16396Smrg 49278ff16396Smrg 49288ff16396Smrg 49298ff16396Smrg 49308ff16396Smrg 49318ff16396Smrg 49328ff16396Smrg 49338ff16396Smrg 49348ff16396Smrg 49358ff16396Smrg 49368ff16396Smrg 49378ff16396Smrg 49388ff16396Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 49398ff16396Smrg if test -n "$ac_tool_prefix"; then 49408ff16396Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 49418ff16396Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 49428ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 49438ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 49448ff16396Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 49458ff16396Smrg $as_echo_n "(cached) " >&6 49460bd0e222Smrgelse 49478ff16396Smrg case $PKG_CONFIG in 49480bd0e222Smrg [\\/]* | ?:[\\/]*) 49498ff16396Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 49500bd0e222Smrg ;; 49510bd0e222Smrg *) 49520bd0e222Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49530bd0e222Smrgfor as_dir in $PATH 49540bd0e222Smrgdo 49550bd0e222Smrg IFS=$as_save_IFS 49560bd0e222Smrg test -z "$as_dir" && as_dir=. 49570bd0e222Smrg for ac_exec_ext in '' $ac_executable_extensions; do 49588ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 49598ff16396Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 49608ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 49610bd0e222Smrg break 2 49620bd0e222Smrg fi 49630bd0e222Smrgdone 49640bd0e222Smrgdone 49658ff16396SmrgIFS=$as_save_IFS 49660bd0e222Smrg 49670bd0e222Smrg ;; 49680bd0e222Smrgesac 49690bd0e222Smrgfi 49708ff16396SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 49718ff16396Smrgif test -n "$PKG_CONFIG"; then 49728ff16396Smrg { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 49738ff16396Smrg$as_echo "$PKG_CONFIG" >&6; } 49740bd0e222Smrgelse 49758ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 49768ff16396Smrg$as_echo "no" >&6; } 49770bd0e222Smrgfi 49780bd0e222Smrg 49798ff16396Smrg 49808ff16396Smrgfi 49818ff16396Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 49828ff16396Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 49838ff16396Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 49848ff16396Smrgset dummy pkg-config; ac_word=$2 49858ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 49868ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 49878ff16396Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 49888ff16396Smrg $as_echo_n "(cached) " >&6 49890bd0e222Smrgelse 49908ff16396Smrg case $ac_pt_PKG_CONFIG in 49910bd0e222Smrg [\\/]* | ?:[\\/]*) 49928ff16396Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 49930bd0e222Smrg ;; 49940bd0e222Smrg *) 49950bd0e222Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49960bd0e222Smrgfor as_dir in $PATH 49970bd0e222Smrgdo 49980bd0e222Smrg IFS=$as_save_IFS 49990bd0e222Smrg test -z "$as_dir" && as_dir=. 50000bd0e222Smrg for ac_exec_ext in '' $ac_executable_extensions; do 50018ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 50028ff16396Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 50038ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 50040bd0e222Smrg break 2 50050bd0e222Smrg fi 50060bd0e222Smrgdone 50070bd0e222Smrgdone 50088ff16396SmrgIFS=$as_save_IFS 50090bd0e222Smrg 50100bd0e222Smrg ;; 50110bd0e222Smrgesac 50120bd0e222Smrgfi 50138ff16396Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 50148ff16396Smrgif test -n "$ac_pt_PKG_CONFIG"; then 50158ff16396Smrg { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 50168ff16396Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 50178ff16396Smrgelse 50188ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 50198ff16396Smrg$as_echo "no" >&6; } 50208ff16396Smrgfi 50218ff16396Smrg 50228ff16396Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 50238ff16396Smrg PKG_CONFIG="" 50248ff16396Smrg else 50258ff16396Smrg case $cross_compiling:$ac_tool_warned in 50268ff16396Smrgyes:) 50278ff16396Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 50288ff16396Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 50298ff16396Smrgac_tool_warned=yes ;; 50308ff16396Smrgesac 50318ff16396Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 50328ff16396Smrg fi 50338ff16396Smrgelse 50348ff16396Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 50358ff16396Smrgfi 50368ff16396Smrg 50378ff16396Smrgfi 50388ff16396Smrgif test -n "$PKG_CONFIG"; then 50398ff16396Smrg _pkg_min_version=0.9.0 50408ff16396Smrg { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 50418ff16396Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 50428ff16396Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 50438ff16396Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 50448ff16396Smrg$as_echo "yes" >&6; } 50458ff16396Smrg else 50468ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 50478ff16396Smrg$as_echo "no" >&6; } 50488ff16396Smrg PKG_CONFIG="" 50498ff16396Smrg fi 50508ff16396Smrg 50518ff16396Smrgfi 50528ff16396Smrg 50538ff16396Smrg 50548ff16396Smrg 50558ff16396Smrg { $as_echo "$as_me:$LINENO: checking for root directory for font files" >&5 50568ff16396Smrg$as_echo_n "checking for root directory for font files... " >&6; } 50578ff16396Smrg 50588ff16396Smrg# Check whether --with-fontrootdir was given. 50598ff16396Smrgif test "${with_fontrootdir+set}" = set; then 50608ff16396Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 50618ff16396Smrgfi 50628ff16396Smrg 50638ff16396Smrg # if --with-fontrootdir not specified... 50648ff16396Smrg if test "x${FONTROOTDIR}" = "x"; then 50658ff16396Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 50668ff16396Smrg fi 50678ff16396Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 50688ff16396Smrg if test "x${FONTROOTDIR}" = "x"; then 50698ff16396Smrg FONTROOTDIR="${datadir}/fonts/X11" 50708ff16396Smrg fi 50718ff16396Smrg 50728ff16396Smrg { $as_echo "$as_me:$LINENO: result: ${FONTROOTDIR}" >&5 50738ff16396Smrg$as_echo "${FONTROOTDIR}" >&6; } 50748ff16396Smrg 50758ff16396Smrg 50768ff16396Smrg 50778ff16396Smrg 50788ff16396Smrg { $as_echo "$as_me:$LINENO: checking for directory for misc files" >&5 50798ff16396Smrg$as_echo_n "checking for directory for misc files... " >&6; } 50808ff16396Smrg 50818ff16396Smrg# Check whether --with-fontdir was given. 50828ff16396Smrgif test "${with_fontdir+set}" = set; then 50838ff16396Smrg withval=$with_fontdir; FONTDIR="${withval}" 50848ff16396Smrgelse 50858ff16396Smrg FONTDIR='${FONTROOTDIR}/misc' 50868ff16396Smrgfi 50878ff16396Smrg 50888ff16396Smrg 50898ff16396Smrg { $as_echo "$as_me:$LINENO: result: ${FONTDIR}" >&5 50908ff16396Smrg$as_echo "${FONTDIR}" >&6; } 50918ff16396Smrg 50920bd0e222Smrg 50938ff16396Smrg 50948ff16396Smrg 50958ff16396Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 50968ff16396Smrgset dummy fc-cache; ac_word=$2 50978ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 50988ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 50998ff16396Smrgif test "${ac_cv_path_FCCACHE+set}" = set; then 51008ff16396Smrg $as_echo_n "(cached) " >&6 51018ff16396Smrgelse 51028ff16396Smrg case $FCCACHE in 51038ff16396Smrg [\\/]* | ?:[\\/]*) 51048ff16396Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 51058ff16396Smrg ;; 51068ff16396Smrg *) 51078ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51088ff16396Smrgfor as_dir in $PATH 51098ff16396Smrgdo 51108ff16396Smrg IFS=$as_save_IFS 51118ff16396Smrg test -z "$as_dir" && as_dir=. 51128ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 51138ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 51148ff16396Smrg ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext" 51158ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 51168ff16396Smrg break 2 51178ff16396Smrg fi 51188ff16396Smrgdone 51198ff16396Smrgdone 51208ff16396SmrgIFS=$as_save_IFS 51218ff16396Smrg 51228ff16396Smrg ;; 51238ff16396Smrgesac 51248ff16396Smrgfi 51258ff16396SmrgFCCACHE=$ac_cv_path_FCCACHE 51268ff16396Smrgif test -n "$FCCACHE"; then 51278ff16396Smrg { $as_echo "$as_me:$LINENO: result: $FCCACHE" >&5 51288ff16396Smrg$as_echo "$FCCACHE" >&6; } 51290bd0e222Smrgelse 51308ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 51318ff16396Smrg$as_echo "no" >&6; } 51320bd0e222Smrgfi 51330bd0e222Smrg 51348ff16396Smrg 51358ff16396Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 51368ff16396Smrg if test x"$FCCACHE" = x ; then 51378ff16396Smrg RUN_FCCACHE="${FCCACHE_WARN}" 51388ff16396Smrg else 51398ff16396Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 51408ff16396Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 51418ff16396Smrg fi 51428ff16396Smrg 51438ff16396Smrg 51448ff16396Smrg 51458ff16396Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 51460bd0e222Smrgset dummy mkfontdir; ac_word=$2 51478ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 51488ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 51490bd0e222Smrgif test "${ac_cv_path_MKFONTDIR+set}" = set; then 51508ff16396Smrg $as_echo_n "(cached) " >&6 51510bd0e222Smrgelse 51520bd0e222Smrg case $MKFONTDIR in 51530bd0e222Smrg [\\/]* | ?:[\\/]*) 51540bd0e222Smrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 51550bd0e222Smrg ;; 51560bd0e222Smrg *) 51570bd0e222Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51580bd0e222Smrgfor as_dir in $PATH 51590bd0e222Smrgdo 51600bd0e222Smrg IFS=$as_save_IFS 51610bd0e222Smrg test -z "$as_dir" && as_dir=. 51620bd0e222Smrg for ac_exec_ext in '' $ac_executable_extensions; do 51638ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 51640bd0e222Smrg ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext" 51658ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 51660bd0e222Smrg break 2 51670bd0e222Smrg fi 51680bd0e222Smrgdone 51690bd0e222Smrgdone 51708ff16396SmrgIFS=$as_save_IFS 51710bd0e222Smrg 51720bd0e222Smrg ;; 51730bd0e222Smrgesac 51740bd0e222Smrgfi 51750bd0e222SmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 51760bd0e222Smrgif test -n "$MKFONTDIR"; then 51778ff16396Smrg { $as_echo "$as_me:$LINENO: result: $MKFONTDIR" >&5 51788ff16396Smrg$as_echo "$MKFONTDIR" >&6; } 51790bd0e222Smrgelse 51808ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 51818ff16396Smrg$as_echo "no" >&6; } 51820bd0e222Smrgfi 51830bd0e222Smrg 51840bd0e222Smrg 51858ff16396Smrg if test x"MKFONTDIR" = x; then 51868ff16396Smrg { { $as_echo "$as_me:$LINENO: error: mkfontdir is required to build $PACKAGE_NAME." >&5 51878ff16396Smrg$as_echo "$as_me: error: mkfontdir is required to build $PACKAGE_NAME." >&2;} 51888ff16396Smrg { (exit 1); exit 1; }; } 51898ff16396Smrg fi 51900bd0e222Smrg 51910bd0e222Smrg 51920bd0e222Smrg 51938ff16396Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 51948ff16396Smrgset dummy bdftopcf; ac_word=$2 51958ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 51968ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 51978ff16396Smrgif test "${ac_cv_path_BDFTOPCF+set}" = set; then 51988ff16396Smrg $as_echo_n "(cached) " >&6 51998ff16396Smrgelse 52008ff16396Smrg case $BDFTOPCF in 52018ff16396Smrg [\\/]* | ?:[\\/]*) 52028ff16396Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 52038ff16396Smrg ;; 52048ff16396Smrg *) 52058ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 52068ff16396Smrgfor as_dir in $PATH 52078ff16396Smrgdo 52088ff16396Smrg IFS=$as_save_IFS 52098ff16396Smrg test -z "$as_dir" && as_dir=. 52108ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 52118ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 52128ff16396Smrg ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext" 52138ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 52148ff16396Smrg break 2 52158ff16396Smrg fi 52168ff16396Smrgdone 52178ff16396Smrgdone 52188ff16396SmrgIFS=$as_save_IFS 52198ff16396Smrg 52208ff16396Smrg ;; 52218ff16396Smrgesac 52228ff16396Smrgfi 52238ff16396SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 52248ff16396Smrgif test -n "$BDFTOPCF"; then 52258ff16396Smrg { $as_echo "$as_me:$LINENO: result: $BDFTOPCF" >&5 52268ff16396Smrg$as_echo "$BDFTOPCF" >&6; } 52270bd0e222Smrgelse 52288ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 52298ff16396Smrg$as_echo "no" >&6; } 52308ff16396Smrgfi 52318ff16396Smrg 52320bd0e222Smrg 52338ff16396Smrg if test x"BDFTOPCF" = x; then 52348ff16396Smrg { { $as_echo "$as_me:$LINENO: error: bdftopcf is required to build $PACKAGE_NAME." >&5 52358ff16396Smrg$as_echo "$as_me: error: bdftopcf is required to build $PACKAGE_NAME." >&2;} 52368ff16396Smrg { (exit 1); exit 1; }; } 52378ff16396Smrg fi 52380bd0e222Smrg 52390bd0e222Smrg 52408ff16396Smrg { $as_echo "$as_me:$LINENO: checking font compression method" >&5 52418ff16396Smrg$as_echo_n "checking font compression method... " >&6; } 52420bd0e222Smrg 52438ff16396Smrg# Check whether --with-compression was given. 52448ff16396Smrgif test "${with_compression+set}" = set; then 52458ff16396Smrg withval=$with_compression; compression="$withval" 52460bd0e222Smrgelse 52478ff16396Smrg compression="yes" 52488ff16396Smrgfi 52498ff16396Smrg 52508ff16396Smrg if test x"$compression" = "xyes" ; then 52518ff16396Smrg compression="gzip" 52528ff16396Smrg fi 52538ff16396Smrg { $as_echo "$as_me:$LINENO: result: ${compression}" >&5 52548ff16396Smrg$as_echo "${compression}" >&6; } 52558ff16396Smrg case ${compression} in 52568ff16396Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 52578ff16396Smrg *gzip) COMPRESS_SUFFIX=".gz" ;; 52588ff16396Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 52598ff16396Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 52608ff16396Smrg *) { { $as_echo "$as_me:$LINENO: error: ${compression} is not a supported compression method" >&5 52618ff16396Smrg$as_echo "$as_me: error: ${compression} is not a supported compression method" >&2;} 52628ff16396Smrg { (exit 1); exit 1; }; } ;; 52638ff16396Smrg esac 52648ff16396Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 52658ff16396Smrg 52668ff16396Smrg # Extract the first word of "${compression}", so it can be a program name with args. 52678ff16396Smrgset dummy ${compression}; ac_word=$2 52688ff16396Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 52698ff16396Smrg$as_echo_n "checking for $ac_word... " >&6; } 52708ff16396Smrgif test "${ac_cv_path_COMPRESS+set}" = set; then 52718ff16396Smrg $as_echo_n "(cached) " >&6 52728ff16396Smrgelse 52738ff16396Smrg case $COMPRESS in 52748ff16396Smrg [\\/]* | ?:[\\/]*) 52758ff16396Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 52768ff16396Smrg ;; 52778ff16396Smrg *) 52788ff16396Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 52798ff16396Smrgfor as_dir in $PATH 52808ff16396Smrgdo 52818ff16396Smrg IFS=$as_save_IFS 52828ff16396Smrg test -z "$as_dir" && as_dir=. 52838ff16396Smrg for ac_exec_ext in '' $ac_executable_extensions; do 52848ff16396Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 52858ff16396Smrg ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext" 52868ff16396Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 52878ff16396Smrg break 2 52888ff16396Smrg fi 52898ff16396Smrgdone 52908ff16396Smrgdone 52918ff16396SmrgIFS=$as_save_IFS 52928ff16396Smrg 52938ff16396Smrg ;; 52948ff16396Smrgesac 52958ff16396Smrgfi 52968ff16396SmrgCOMPRESS=$ac_cv_path_COMPRESS 52978ff16396Smrgif test -n "$COMPRESS"; then 52988ff16396Smrg { $as_echo "$as_me:$LINENO: result: $COMPRESS" >&5 52998ff16396Smrg$as_echo "$COMPRESS" >&6; } 53008ff16396Smrgelse 53018ff16396Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 53028ff16396Smrg$as_echo "no" >&6; } 53038ff16396Smrgfi 53048ff16396Smrg 53058ff16396Smrg 53068ff16396Smrg if test x"COMPRESS" = x; then 53078ff16396Smrg { { $as_echo "$as_me:$LINENO: error: ${compression} is required to build $PACKAGE_NAME." >&5 53088ff16396Smrg$as_echo "$as_me: error: ${compression} is required to build $PACKAGE_NAME." >&2;} 53098ff16396Smrg { (exit 1); exit 1; }; } 53108ff16396Smrg fi 53118ff16396Smrg 53120bd0e222Smrg fi 53130bd0e222Smrg 53140bd0e222Smrg 53158ff16396Smrg 53168ff16396Smrg 53178ff16396Smrgac_config_files="$ac_config_files Makefile" 53188ff16396Smrg 53190bd0e222Smrgcat >confcache <<\_ACEOF 53200bd0e222Smrg# This file is a shell script that caches the results of configure 53210bd0e222Smrg# tests run on this system so they can be shared between configure 53220bd0e222Smrg# scripts and configure runs, see configure's option --config-cache. 53230bd0e222Smrg# It is not useful on other systems. If it contains results you don't 53240bd0e222Smrg# want to keep, you may remove or edit it. 53250bd0e222Smrg# 53260bd0e222Smrg# config.status only pays attention to the cache file if you give it 53270bd0e222Smrg# the --recheck option to rerun configure. 53280bd0e222Smrg# 53290bd0e222Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 53300bd0e222Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 53310bd0e222Smrg# following values. 53320bd0e222Smrg 53330bd0e222Smrg_ACEOF 53340bd0e222Smrg 53350bd0e222Smrg# The following way of writing the cache mishandles newlines in values, 53360bd0e222Smrg# but we know of no workaround that is simple, portable, and efficient. 53378ff16396Smrg# So, we kill variables containing newlines. 53380bd0e222Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 53390bd0e222Smrg# and sets the high bit in the cache file unless we assign to the vars. 53408ff16396Smrg( 53418ff16396Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 53428ff16396Smrg eval ac_val=\$$ac_var 53438ff16396Smrg case $ac_val in #( 53448ff16396Smrg *${as_nl}*) 53458ff16396Smrg case $ac_var in #( 53468ff16396Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 53478ff16396Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 53488ff16396Smrg esac 53498ff16396Smrg case $ac_var in #( 53508ff16396Smrg _ | IFS | as_nl) ;; #( 53518ff16396Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 53528ff16396Smrg *) $as_unset $ac_var ;; 53538ff16396Smrg esac ;; 53548ff16396Smrg esac 53558ff16396Smrg done 53568ff16396Smrg 53570bd0e222Smrg (set) 2>&1 | 53588ff16396Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 53598ff16396Smrg *${as_nl}ac_space=\ *) 53600bd0e222Smrg # `set' does not quote correctly, so add quotes (double-quote 53610bd0e222Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 53620bd0e222Smrg sed -n \ 53630bd0e222Smrg "s/'/'\\\\''/g; 53640bd0e222Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 53658ff16396Smrg ;; #( 53660bd0e222Smrg *) 53670bd0e222Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 53688ff16396Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 53690bd0e222Smrg ;; 53708ff16396Smrg esac | 53718ff16396Smrg sort 53728ff16396Smrg) | 53730bd0e222Smrg sed ' 53748ff16396Smrg /^ac_cv_env_/b end 53750bd0e222Smrg t clear 53768ff16396Smrg :clear 53770bd0e222Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 53780bd0e222Smrg t end 53798ff16396Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 53808ff16396Smrg :end' >>confcache 53818ff16396Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 53828ff16396Smrg if test -w "$cache_file"; then 53838ff16396Smrg test "x$cache_file" != "x/dev/null" && 53848ff16396Smrg { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 53858ff16396Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 53860bd0e222Smrg cat confcache >$cache_file 53870bd0e222Smrg else 53888ff16396Smrg { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 53898ff16396Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 53900bd0e222Smrg fi 53910bd0e222Smrgfi 53920bd0e222Smrgrm -f confcache 53930bd0e222Smrg 53940bd0e222Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 53950bd0e222Smrg# Let make expand exec_prefix. 53960bd0e222Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 53970bd0e222Smrg 53980bd0e222Smrg# Transform confdefs.h into DEFS. 53990bd0e222Smrg# Protect against shell expansion while executing Makefile rules. 54000bd0e222Smrg# Protect against Makefile macro expansion. 54010bd0e222Smrg# 54020bd0e222Smrg# If the first sed substitution is executed (which looks for macros that 54038ff16396Smrg# take arguments), then branch to the quote section. Otherwise, 54040bd0e222Smrg# look for a macro that doesn't take arguments. 54058ff16396Smrgac_script=' 54068ff16396Smrg:mline 54078ff16396Smrg/\\$/{ 54088ff16396Smrg N 54098ff16396Smrg s,\\\n,, 54108ff16396Smrg b mline 54118ff16396Smrg} 54120bd0e222Smrgt clear 54138ff16396Smrg:clear 54148ff16396Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 54150bd0e222Smrgt quote 54168ff16396Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 54170bd0e222Smrgt quote 54188ff16396Smrgb any 54198ff16396Smrg:quote 54208ff16396Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 54218ff16396Smrgs/\[/\\&/g 54228ff16396Smrgs/\]/\\&/g 54238ff16396Smrgs/\$/$$/g 54248ff16396SmrgH 54258ff16396Smrg:any 54268ff16396Smrg${ 54278ff16396Smrg g 54288ff16396Smrg s/^\n// 54298ff16396Smrg s/\n/ /g 54308ff16396Smrg p 54318ff16396Smrg} 54328ff16396Smrg' 54338ff16396SmrgDEFS=`sed -n "$ac_script" confdefs.h` 54340bd0e222Smrg 54350bd0e222Smrg 54360bd0e222Smrgac_libobjs= 54370bd0e222Smrgac_ltlibobjs= 54380bd0e222Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 54390bd0e222Smrg # 1. Remove the extension, and $U if already installed. 54408ff16396Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 54418ff16396Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 54428ff16396Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 54438ff16396Smrg # will be set to the directory where LIBOBJS objects are built. 54448ff16396Smrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 54458ff16396Smrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 54460bd0e222Smrgdone 54470bd0e222SmrgLIBOBJS=$ac_libobjs 54480bd0e222Smrg 54490bd0e222SmrgLTLIBOBJS=$ac_ltlibobjs 54500bd0e222Smrg 54510bd0e222Smrg 54528ff16396Smrg if test -n "$EXEEXT"; then 54538ff16396Smrg am__EXEEXT_TRUE= 54548ff16396Smrg am__EXEEXT_FALSE='#' 54558ff16396Smrgelse 54568ff16396Smrg am__EXEEXT_TRUE='#' 54578ff16396Smrg am__EXEEXT_FALSE= 54588ff16396Smrgfi 54598ff16396Smrg 54600bd0e222Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 54618ff16396Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 54628ff16396SmrgUsually this means the macro was only invoked conditionally." >&5 54638ff16396Smrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 54648ff16396SmrgUsually this means the macro was only invoked conditionally." >&2;} 54658ff16396Smrg { (exit 1); exit 1; }; } 54668ff16396Smrgfi 54678ff16396Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 54688ff16396Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 54698ff16396SmrgUsually this means the macro was only invoked conditionally." >&5 54708ff16396Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 54718ff16396SmrgUsually this means the macro was only invoked conditionally." >&2;} 54728ff16396Smrg { (exit 1); exit 1; }; } 54738ff16396Smrgfi 54748ff16396Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 54758ff16396Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 54760bd0e222SmrgUsually this means the macro was only invoked conditionally." >&5 54778ff16396Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 54780bd0e222SmrgUsually this means the macro was only invoked conditionally." >&2;} 54790bd0e222Smrg { (exit 1); exit 1; }; } 54800bd0e222Smrgfi 54810bd0e222Smrg 54820bd0e222Smrg: ${CONFIG_STATUS=./config.status} 54838ff16396Smrgac_write_fail=0 54840bd0e222Smrgac_clean_files_save=$ac_clean_files 54850bd0e222Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 54868ff16396Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 54878ff16396Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 54888ff16396Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 54890bd0e222Smrg#! $SHELL 54900bd0e222Smrg# Generated by $as_me. 54910bd0e222Smrg# Run this file to recreate the current configuration. 54920bd0e222Smrg# Compiler output produced by configure, useful for debugging 54930bd0e222Smrg# configure, is in config.log if it exists. 54940bd0e222Smrg 54950bd0e222Smrgdebug=false 54960bd0e222Smrgac_cs_recheck=false 54970bd0e222Smrgac_cs_silent=false 54980bd0e222SmrgSHELL=\${CONFIG_SHELL-$SHELL} 54990bd0e222Smrg_ACEOF 55000bd0e222Smrg 55018ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55020bd0e222Smrg## --------------------- ## 55030bd0e222Smrg## M4sh Initialization. ## 55040bd0e222Smrg## --------------------- ## 55050bd0e222Smrg 55068ff16396Smrg# Be more Bourne compatible 55078ff16396SmrgDUALCASE=1; export DUALCASE # for MKS sh 55080bd0e222Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 55090bd0e222Smrg emulate sh 55100bd0e222Smrg NULLCMD=: 55118ff16396Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 55120bd0e222Smrg # is contrary to our usage. Disable this feature. 55130bd0e222Smrg alias -g '${1+"$@"}'='"$@"' 55148ff16396Smrg setopt NO_GLOB_SUBST 55158ff16396Smrgelse 55168ff16396Smrg case `(set -o) 2>/dev/null` in 55178ff16396Smrg *posix*) set -o posix ;; 55188ff16396Smrgesac 55198ff16396Smrg 55208ff16396Smrgfi 55218ff16396Smrg 55228ff16396Smrg 55238ff16396Smrg 55248ff16396Smrg 55258ff16396Smrg# PATH needs CR 55268ff16396Smrg# Avoid depending upon Character Ranges. 55278ff16396Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 55288ff16396Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 55298ff16396Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 55308ff16396Smrgas_cr_digits='0123456789' 55318ff16396Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 55328ff16396Smrg 55338ff16396Smrgas_nl=' 55348ff16396Smrg' 55358ff16396Smrgexport as_nl 55368ff16396Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 55378ff16396Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 55388ff16396Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 55398ff16396Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 55408ff16396Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 55418ff16396Smrg as_echo='printf %s\n' 55428ff16396Smrg as_echo_n='printf %s' 55438ff16396Smrgelse 55448ff16396Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 55458ff16396Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55468ff16396Smrg as_echo_n='/usr/ucb/echo -n' 55478ff16396Smrg else 55488ff16396Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 55498ff16396Smrg as_echo_n_body='eval 55508ff16396Smrg arg=$1; 55518ff16396Smrg case $arg in 55528ff16396Smrg *"$as_nl"*) 55538ff16396Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 55548ff16396Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 55558ff16396Smrg esac; 55568ff16396Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 55578ff16396Smrg ' 55588ff16396Smrg export as_echo_n_body 55598ff16396Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 55608ff16396Smrg fi 55618ff16396Smrg export as_echo_body 55628ff16396Smrg as_echo='sh -c $as_echo_body as_echo' 55638ff16396Smrgfi 55648ff16396Smrg 55658ff16396Smrg# The user is always right. 55668ff16396Smrgif test "${PATH_SEPARATOR+set}" != set; then 55678ff16396Smrg PATH_SEPARATOR=: 55688ff16396Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 55698ff16396Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 55708ff16396Smrg PATH_SEPARATOR=';' 55718ff16396Smrg } 55720bd0e222Smrgfi 55730bd0e222Smrg 55740bd0e222Smrg# Support unset when possible. 55750bd0e222Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55760bd0e222Smrg as_unset=unset 55770bd0e222Smrgelse 55780bd0e222Smrg as_unset=false 55790bd0e222Smrgfi 55800bd0e222Smrg 55810bd0e222Smrg 55828ff16396Smrg# IFS 55838ff16396Smrg# We need space, tab and new line, in precisely that order. Quoting is 55848ff16396Smrg# there to prevent editors from complaining about space-tab. 55858ff16396Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 55868ff16396Smrg# splitting by setting IFS to empty value.) 55878ff16396SmrgIFS=" "" $as_nl" 55888ff16396Smrg 55898ff16396Smrg# Find who we are. Look in the path if we contain no directory separator. 55908ff16396Smrgcase $0 in 55918ff16396Smrg *[\\/]* ) as_myself=$0 ;; 55928ff16396Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 55938ff16396Smrgfor as_dir in $PATH 55948ff16396Smrgdo 55958ff16396Smrg IFS=$as_save_IFS 55968ff16396Smrg test -z "$as_dir" && as_dir=. 55978ff16396Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 55988ff16396Smrgdone 55998ff16396SmrgIFS=$as_save_IFS 56008ff16396Smrg 56018ff16396Smrg ;; 56028ff16396Smrgesac 56038ff16396Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 56048ff16396Smrg# in which case we are not to be found in the path. 56058ff16396Smrgif test "x$as_myself" = x; then 56068ff16396Smrg as_myself=$0 56078ff16396Smrgfi 56088ff16396Smrgif test ! -f "$as_myself"; then 56098ff16396Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 56108ff16396Smrg { (exit 1); exit 1; } 56118ff16396Smrgfi 56128ff16396Smrg 56130bd0e222Smrg# Work around bugs in pre-3.0 UWIN ksh. 56148ff16396Smrgfor as_var in ENV MAIL MAILPATH 56158ff16396Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 56168ff16396Smrgdone 56170bd0e222SmrgPS1='$ ' 56180bd0e222SmrgPS2='> ' 56190bd0e222SmrgPS4='+ ' 56200bd0e222Smrg 56210bd0e222Smrg# NLS nuisances. 56228ff16396SmrgLC_ALL=C 56238ff16396Smrgexport LC_ALL 56248ff16396SmrgLANGUAGE=C 56258ff16396Smrgexport LANGUAGE 56260bd0e222Smrg 56270bd0e222Smrg# Required to use basename. 56288ff16396Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 56298ff16396Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 56300bd0e222Smrg as_expr=expr 56310bd0e222Smrgelse 56320bd0e222Smrg as_expr=false 56330bd0e222Smrgfi 56340bd0e222Smrg 56358ff16396Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 56360bd0e222Smrg as_basename=basename 56370bd0e222Smrgelse 56380bd0e222Smrg as_basename=false 56390bd0e222Smrgfi 56400bd0e222Smrg 56410bd0e222Smrg 56420bd0e222Smrg# Name of the executable. 56438ff16396Smrgas_me=`$as_basename -- "$0" || 56440bd0e222Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 56450bd0e222Smrg X"$0" : 'X\(//\)$' \| \ 56468ff16396Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 56478ff16396Smrg$as_echo X/"$0" | 56488ff16396Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 56498ff16396Smrg s//\1/ 56508ff16396Smrg q 56518ff16396Smrg } 56528ff16396Smrg /^X\/\(\/\/\)$/{ 56538ff16396Smrg s//\1/ 56548ff16396Smrg q 56558ff16396Smrg } 56568ff16396Smrg /^X\/\(\/\).*/{ 56578ff16396Smrg s//\1/ 56588ff16396Smrg q 56598ff16396Smrg } 56608ff16396Smrg s/.*/./; q'` 56610bd0e222Smrg 56628ff16396Smrg# CDPATH. 56638ff16396Smrg$as_unset CDPATH 56640bd0e222Smrg 56650bd0e222Smrg 56660bd0e222Smrg 56670bd0e222Smrg as_lineno_1=$LINENO 56680bd0e222Smrg as_lineno_2=$LINENO 56690bd0e222Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 56708ff16396Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 56710bd0e222Smrg 56720bd0e222Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 56730bd0e222Smrg # uniformly replaced by the line number. The first 'sed' inserts a 56748ff16396Smrg # line-number line after each line using $LINENO; the second 'sed' 56758ff16396Smrg # does the real work. The second script uses 'N' to pair each 56768ff16396Smrg # line-number line with the line containing $LINENO, and appends 56778ff16396Smrg # trailing '-' during substitution so that $LINENO is not a special 56788ff16396Smrg # case at line end. 56790bd0e222Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 56808ff16396Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 56818ff16396Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 56828ff16396Smrg sed -n ' 56838ff16396Smrg p 56848ff16396Smrg /[$]LINENO/= 56858ff16396Smrg ' <$as_myself | 56860bd0e222Smrg sed ' 56878ff16396Smrg s/[$]LINENO.*/&-/ 56888ff16396Smrg t lineno 56898ff16396Smrg b 56908ff16396Smrg :lineno 56910bd0e222Smrg N 56928ff16396Smrg :loop 56938ff16396Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 56940bd0e222Smrg t loop 56958ff16396Smrg s/-\n.*// 56960bd0e222Smrg ' >$as_me.lineno && 56978ff16396Smrg chmod +x "$as_me.lineno" || 56988ff16396Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 56990bd0e222Smrg { (exit 1); exit 1; }; } 57000bd0e222Smrg 57010bd0e222Smrg # Don't try to exec as it changes $[0], causing all sort of problems 57020bd0e222Smrg # (the dirname of $[0] is not the place where we might find the 57038ff16396Smrg # original and so on. Autoconf is especially sensitive to this). 57048ff16396Smrg . "./$as_me.lineno" 57050bd0e222Smrg # Exit status is that of the last command. 57060bd0e222Smrg exit 57070bd0e222Smrg} 57080bd0e222Smrg 57090bd0e222Smrg 57108ff16396Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 57118ff16396Smrg as_dirname=dirname 57128ff16396Smrgelse 57138ff16396Smrg as_dirname=false 57148ff16396Smrgfi 57150bd0e222Smrg 57168ff16396SmrgECHO_C= ECHO_N= ECHO_T= 57178ff16396Smrgcase `echo -n x` in 57188ff16396Smrg-n*) 57198ff16396Smrg case `echo 'x\c'` in 57208ff16396Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 57218ff16396Smrg *) ECHO_C='\c';; 57228ff16396Smrg esac;; 57238ff16396Smrg*) 57248ff16396Smrg ECHO_N='-n';; 57258ff16396Smrgesac 57268ff16396Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 57278ff16396Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 57280bd0e222Smrg as_expr=expr 57290bd0e222Smrgelse 57300bd0e222Smrg as_expr=false 57310bd0e222Smrgfi 57320bd0e222Smrg 57330bd0e222Smrgrm -f conf$$ conf$$.exe conf$$.file 57348ff16396Smrgif test -d conf$$.dir; then 57358ff16396Smrg rm -f conf$$.dir/conf$$.file 57368ff16396Smrgelse 57378ff16396Smrg rm -f conf$$.dir 57388ff16396Smrg mkdir conf$$.dir 2>/dev/null 57398ff16396Smrgfi 57408ff16396Smrgif (echo >conf$$.file) 2>/dev/null; then 57418ff16396Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 57420bd0e222Smrg as_ln_s='ln -s' 57438ff16396Smrg # ... but there are two gotchas: 57448ff16396Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 57458ff16396Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 57468ff16396Smrg # In both cases, we have to default to `cp -p'. 57478ff16396Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 57488ff16396Smrg as_ln_s='cp -p' 57498ff16396Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 57508ff16396Smrg as_ln_s=ln 57518ff16396Smrg else 57528ff16396Smrg as_ln_s='cp -p' 57530bd0e222Smrg fi 57540bd0e222Smrgelse 57550bd0e222Smrg as_ln_s='cp -p' 57560bd0e222Smrgfi 57578ff16396Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 57588ff16396Smrgrmdir conf$$.dir 2>/dev/null 57590bd0e222Smrg 57600bd0e222Smrgif mkdir -p . 2>/dev/null; then 57610bd0e222Smrg as_mkdir_p=: 57620bd0e222Smrgelse 57630bd0e222Smrg test -d ./-p && rmdir ./-p 57640bd0e222Smrg as_mkdir_p=false 57650bd0e222Smrgfi 57660bd0e222Smrg 57678ff16396Smrgif test -x / >/dev/null 2>&1; then 57688ff16396Smrg as_test_x='test -x' 57698ff16396Smrgelse 57708ff16396Smrg if ls -dL / >/dev/null 2>&1; then 57718ff16396Smrg as_ls_L_option=L 57728ff16396Smrg else 57738ff16396Smrg as_ls_L_option= 57748ff16396Smrg fi 57758ff16396Smrg as_test_x=' 57768ff16396Smrg eval sh -c '\'' 57778ff16396Smrg if test -d "$1"; then 57788ff16396Smrg test -d "$1/."; 57798ff16396Smrg else 57808ff16396Smrg case $1 in 57818ff16396Smrg -*)set "./$1";; 57828ff16396Smrg esac; 57838ff16396Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 57848ff16396Smrg ???[sx]*):;;*)false;;esac;fi 57858ff16396Smrg '\'' sh 57868ff16396Smrg ' 57878ff16396Smrgfi 57888ff16396Smrgas_executable_p=$as_test_x 57890bd0e222Smrg 57900bd0e222Smrg# Sed expression to map a string onto a valid CPP name. 57910bd0e222Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 57920bd0e222Smrg 57930bd0e222Smrg# Sed expression to map a string onto a valid variable name. 57940bd0e222Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 57950bd0e222Smrg 57960bd0e222Smrg 57970bd0e222Smrgexec 6>&1 57980bd0e222Smrg 57998ff16396Smrg# Save the log message, to keep $[0] and so on meaningful, and to 58000bd0e222Smrg# report actual input values of CONFIG_FILES etc. instead of their 58018ff16396Smrg# values after options handling. 58028ff16396Smrgac_log=" 58038ff16396SmrgThis file was extended by font-jis-misc $as_me 1.0.1, which was 58048ff16396Smrggenerated by GNU Autoconf 2.63. Invocation command line was 58050bd0e222Smrg 58060bd0e222Smrg CONFIG_FILES = $CONFIG_FILES 58070bd0e222Smrg CONFIG_HEADERS = $CONFIG_HEADERS 58080bd0e222Smrg CONFIG_LINKS = $CONFIG_LINKS 58090bd0e222Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 58100bd0e222Smrg $ $0 $@ 58110bd0e222Smrg 58128ff16396Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 58138ff16396Smrg" 58148ff16396Smrg 58150bd0e222Smrg_ACEOF 58160bd0e222Smrg 58178ff16396Smrgcase $ac_config_files in *" 58188ff16396Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 58198ff16396Smrgesac 58200bd0e222Smrg 58210bd0e222Smrg 58220bd0e222Smrg 58238ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 58248ff16396Smrg# Files that config.status was made for. 58258ff16396Smrgconfig_files="$ac_config_files" 58268ff16396Smrgconfig_commands="$ac_config_commands" 58270bd0e222Smrg 58288ff16396Smrg_ACEOF 58290bd0e222Smrg 58308ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 58310bd0e222Smrgac_cs_usage="\ 58320bd0e222Smrg\`$as_me' instantiates files from templates according to the 58330bd0e222Smrgcurrent configuration. 58340bd0e222Smrg 58358ff16396SmrgUsage: $0 [OPTION]... [FILE]... 58360bd0e222Smrg 58370bd0e222Smrg -h, --help print this help, then exit 58388ff16396Smrg -V, --version print version number and configuration settings, then exit 58398ff16396Smrg -q, --quiet, --silent 58408ff16396Smrg do not print progress messages 58410bd0e222Smrg -d, --debug don't remove temporary files 58420bd0e222Smrg --recheck update $as_me by reconfiguring in the same conditions 58438ff16396Smrg --file=FILE[:TEMPLATE] 58448ff16396Smrg instantiate the configuration file FILE 58450bd0e222Smrg 58460bd0e222SmrgConfiguration files: 58470bd0e222Smrg$config_files 58480bd0e222Smrg 58498ff16396SmrgConfiguration commands: 58508ff16396Smrg$config_commands 58518ff16396Smrg 58520bd0e222SmrgReport bugs to <bug-autoconf@gnu.org>." 58530bd0e222Smrg 58548ff16396Smrg_ACEOF 58558ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 58560bd0e222Smrgac_cs_version="\\ 58578ff16396Smrgfont-jis-misc config.status 1.0.1 58588ff16396Smrgconfigured by $0, generated by GNU Autoconf 2.63, 58598ff16396Smrg with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 58600bd0e222Smrg 58618ff16396SmrgCopyright (C) 2008 Free Software Foundation, Inc. 58620bd0e222SmrgThis config.status script is free software; the Free Software Foundation 58630bd0e222Smrggives unlimited permission to copy, distribute and modify it." 58648ff16396Smrg 58658ff16396Smrgac_pwd='$ac_pwd' 58668ff16396Smrgsrcdir='$srcdir' 58678ff16396SmrgINSTALL='$INSTALL' 58688ff16396SmrgMKDIR_P='$MKDIR_P' 58698ff16396SmrgAWK='$AWK' 58708ff16396Smrgtest -n "\$AWK" || AWK=awk 58710bd0e222Smrg_ACEOF 58720bd0e222Smrg 58738ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 58748ff16396Smrg# The default lists apply if the user does not specify any file. 58750bd0e222Smrgac_need_defaults=: 58760bd0e222Smrgwhile test $# != 0 58770bd0e222Smrgdo 58780bd0e222Smrg case $1 in 58790bd0e222Smrg --*=*) 58808ff16396Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 58818ff16396Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 58820bd0e222Smrg ac_shift=: 58830bd0e222Smrg ;; 58848ff16396Smrg *) 58850bd0e222Smrg ac_option=$1 58860bd0e222Smrg ac_optarg=$2 58870bd0e222Smrg ac_shift=shift 58880bd0e222Smrg ;; 58890bd0e222Smrg esac 58900bd0e222Smrg 58910bd0e222Smrg case $ac_option in 58920bd0e222Smrg # Handling of the options. 58930bd0e222Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 58940bd0e222Smrg ac_cs_recheck=: ;; 58958ff16396Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 58968ff16396Smrg $as_echo "$ac_cs_version"; exit ;; 58978ff16396Smrg --debug | --debu | --deb | --de | --d | -d ) 58980bd0e222Smrg debug=: ;; 58990bd0e222Smrg --file | --fil | --fi | --f ) 59000bd0e222Smrg $ac_shift 59018ff16396Smrg case $ac_optarg in 59028ff16396Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 59038ff16396Smrg esac 59048ff16396Smrg CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 59050bd0e222Smrg ac_need_defaults=false;; 59068ff16396Smrg --he | --h | --help | --hel | -h ) 59078ff16396Smrg $as_echo "$ac_cs_usage"; exit ;; 59080bd0e222Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 59090bd0e222Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 59100bd0e222Smrg ac_cs_silent=: ;; 59110bd0e222Smrg 59120bd0e222Smrg # This is an error. 59138ff16396Smrg -*) { $as_echo "$as_me: error: unrecognized option: $1 59148ff16396SmrgTry \`$0 --help' for more information." >&2 59150bd0e222Smrg { (exit 1); exit 1; }; } ;; 59160bd0e222Smrg 59178ff16396Smrg *) ac_config_targets="$ac_config_targets $1" 59188ff16396Smrg ac_need_defaults=false ;; 59190bd0e222Smrg 59200bd0e222Smrg esac 59210bd0e222Smrg shift 59220bd0e222Smrgdone 59230bd0e222Smrg 59240bd0e222Smrgac_configure_extra_args= 59250bd0e222Smrg 59260bd0e222Smrgif $ac_cs_silent; then 59270bd0e222Smrg exec 6>/dev/null 59280bd0e222Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 59290bd0e222Smrgfi 59300bd0e222Smrg 59310bd0e222Smrg_ACEOF 59328ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59330bd0e222Smrgif \$ac_cs_recheck; then 59348ff16396Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 59358ff16396Smrg shift 59368ff16396Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 59378ff16396Smrg CONFIG_SHELL='$SHELL' 59388ff16396Smrg export CONFIG_SHELL 59398ff16396Smrg exec "\$@" 59400bd0e222Smrgfi 59410bd0e222Smrg 59420bd0e222Smrg_ACEOF 59438ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59448ff16396Smrgexec 5>>config.log 59458ff16396Smrg{ 59468ff16396Smrg echo 59478ff16396Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 59488ff16396Smrg## Running $as_me. ## 59498ff16396Smrg_ASBOX 59508ff16396Smrg $as_echo "$ac_log" 59518ff16396Smrg} >&5 59520bd0e222Smrg 59538ff16396Smrg_ACEOF 59548ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 59558ff16396Smrg# 59568ff16396Smrg# INIT-COMMANDS 59578ff16396Smrg# 59588ff16396SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 59590bd0e222Smrg 59608ff16396Smrg_ACEOF 59610bd0e222Smrg 59628ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 59630bd0e222Smrg 59648ff16396Smrg# Handling of arguments. 59650bd0e222Smrgfor ac_config_target in $ac_config_targets 59660bd0e222Smrgdo 59678ff16396Smrg case $ac_config_target in 59688ff16396Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 59698ff16396Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 59708ff16396Smrg 59718ff16396Smrg *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 59728ff16396Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 59730bd0e222Smrg { (exit 1); exit 1; }; };; 59740bd0e222Smrg esac 59750bd0e222Smrgdone 59760bd0e222Smrg 59778ff16396Smrg 59780bd0e222Smrg# If the user did not use the arguments to specify the items to instantiate, 59790bd0e222Smrg# then the envvar interface is used. Set only those that are not. 59800bd0e222Smrg# We use the long form for the default assignment because of an extremely 59810bd0e222Smrg# bizarre bug on SunOS 4.1.3. 59820bd0e222Smrgif $ac_need_defaults; then 59830bd0e222Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 59848ff16396Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 59850bd0e222Smrgfi 59860bd0e222Smrg 59870bd0e222Smrg# Have a temporary directory for convenience. Make it in the build tree 59888ff16396Smrg# simply because there is no reason against having it here, and in addition, 59890bd0e222Smrg# creating and moving files from /tmp can sometimes cause problems. 59908ff16396Smrg# Hook for its removal unless debugging. 59918ff16396Smrg# Note that there is a small window in which the directory will not be cleaned: 59928ff16396Smrg# after its creation but before its name has been assigned to `$tmp'. 59930bd0e222Smrg$debug || 59940bd0e222Smrg{ 59958ff16396Smrg tmp= 59968ff16396Smrg trap 'exit_status=$? 59978ff16396Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 59988ff16396Smrg' 0 59990bd0e222Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 60000bd0e222Smrg} 60010bd0e222Smrg# Create a (secure) tmp directory for tmp files. 60020bd0e222Smrg 60030bd0e222Smrg{ 60048ff16396Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 60050bd0e222Smrg test -n "$tmp" && test -d "$tmp" 60060bd0e222Smrg} || 60070bd0e222Smrg{ 60088ff16396Smrg tmp=./conf$$-$RANDOM 60098ff16396Smrg (umask 077 && mkdir "$tmp") 60100bd0e222Smrg} || 60110bd0e222Smrg{ 60128ff16396Smrg $as_echo "$as_me: cannot create a temporary directory in ." >&2 60130bd0e222Smrg { (exit 1); exit 1; } 60140bd0e222Smrg} 60150bd0e222Smrg 60168ff16396Smrg# Set up the scripts for CONFIG_FILES section. 60178ff16396Smrg# No need to generate them if there are no CONFIG_FILES. 60188ff16396Smrg# This happens for instance with `./config.status config.h'. 60198ff16396Smrgif test -n "$CONFIG_FILES"; then 60208ff16396Smrg 60218ff16396Smrg 60228ff16396Smrgac_cr=' 60238ff16396Smrg' 60248ff16396Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 60258ff16396Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 60268ff16396Smrg ac_cs_awk_cr='\\r' 60278ff16396Smrgelse 60288ff16396Smrg ac_cs_awk_cr=$ac_cr 60298ff16396Smrgfi 60308ff16396Smrg 60310bd0e222Smrgecho 'BEGIN {' >"$tmp/subs1.awk" && 60320bd0e222Smrg_ACEOF 60330bd0e222Smrg 60348ff16396Smrg 60358ff16396Smrg{ 60368ff16396Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 60378ff16396Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 60388ff16396Smrg echo "_ACEOF" 60398ff16396Smrg} >conf$$subs.sh || 60408ff16396Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 60418ff16396Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 60428ff16396Smrg { (exit 1); exit 1; }; } 60438ff16396Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 60448ff16396Smrgac_delim='%!_!# ' 60458ff16396Smrgfor ac_last_try in false false false false false :; do 60468ff16396Smrg . ./conf$$subs.sh || 60478ff16396Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 60488ff16396Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 60490bd0e222Smrg { (exit 1); exit 1; }; } 60508ff16396Smrg 60518ff16396Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 60528ff16396Smrg if test $ac_delim_n = $ac_delim_num; then 60538ff16396Smrg break 60548ff16396Smrg elif $ac_last_try; then 60558ff16396Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 60568ff16396Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 60578ff16396Smrg { (exit 1); exit 1; }; } 60588ff16396Smrg else 60590bd0e222Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 60608ff16396Smrg fi 60618ff16396Smrgdone 60620bd0e222Smrgrm -f conf$$subs.sh 60638ff16396Smrg 60648ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 60650bd0e222Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 60668ff16396Smrg_ACEOF 60678ff16396Smrgsed -n ' 60688ff16396Smrgh 60698ff16396Smrgs/^/S["/; s/!.*/"]=/ 60708ff16396Smrgp 60718ff16396Smrgg 60728ff16396Smrgs/^[^!]*!// 60738ff16396Smrg:repl 60748ff16396Smrgt repl 60758ff16396Smrgs/'"$ac_delim"'$// 60768ff16396Smrgt delim 60778ff16396Smrg:nl 60788ff16396Smrgh 60798ff16396Smrgs/\(.\{148\}\).*/\1/ 60808ff16396Smrgt more1 60818ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 60828ff16396Smrgp 60838ff16396Smrgn 60848ff16396Smrgb repl 60858ff16396Smrg:more1 60868ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 60878ff16396Smrgp 60888ff16396Smrgg 60898ff16396Smrgs/.\{148\}// 60908ff16396Smrgt nl 60918ff16396Smrg:delim 60928ff16396Smrgh 60938ff16396Smrgs/\(.\{148\}\).*/\1/ 60948ff16396Smrgt more2 60958ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 60968ff16396Smrgp 60978ff16396Smrgb 60988ff16396Smrg:more2 60998ff16396Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 61008ff16396Smrgp 61018ff16396Smrgg 61028ff16396Smrgs/.\{148\}// 61038ff16396Smrgt delim 61048ff16396Smrg' <conf$$subs.awk | sed ' 61058ff16396Smrg/^[^""]/{ 61068ff16396Smrg N 61078ff16396Smrg s/\n// 61088ff16396Smrg} 61098ff16396Smrg' >>$CONFIG_STATUS || ac_write_fail=1 61108ff16396Smrgrm -f conf$$subs.awk 61118ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 61128ff16396Smrg_ACAWK 61138ff16396Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 61148ff16396Smrg for (key in S) S_is_set[key] = 1 61158ff16396Smrg FS = "" 61168ff16396Smrg 61178ff16396Smrg} 61188ff16396Smrg{ 61198ff16396Smrg line = $ 0 61208ff16396Smrg nfields = split(line, field, "@") 61218ff16396Smrg substed = 0 61228ff16396Smrg len = length(field[1]) 61238ff16396Smrg for (i = 2; i < nfields; i++) { 61248ff16396Smrg key = field[i] 61258ff16396Smrg keylen = length(key) 61268ff16396Smrg if (S_is_set[key]) { 61278ff16396Smrg value = S[key] 61288ff16396Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 61298ff16396Smrg len += length(value) + length(field[++i]) 61308ff16396Smrg substed = 1 61318ff16396Smrg } else 61328ff16396Smrg len += 1 + keylen 61338ff16396Smrg } 61348ff16396Smrg 61358ff16396Smrg print line 61368ff16396Smrg} 61378ff16396Smrg 61388ff16396Smrg_ACAWK 61398ff16396Smrg_ACEOF 61408ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 61418ff16396Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 61428ff16396Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 61438ff16396Smrgelse 61448ff16396Smrg cat 61458ff16396Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 61468ff16396Smrg || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 61478ff16396Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;} 61488ff16396Smrg { (exit 1); exit 1; }; } 61498ff16396Smrg_ACEOF 61508ff16396Smrg 61518ff16396Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 61528ff16396Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 61538ff16396Smrg# trailing colons and then remove the whole line if VPATH becomes empty 61548ff16396Smrg# (actually we leave an empty line to preserve line numbers). 61558ff16396Smrgif test "x$srcdir" = x.; then 61568ff16396Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 61578ff16396Smrgs/:*\$(srcdir):*/:/ 61588ff16396Smrgs/:*\${srcdir}:*/:/ 61598ff16396Smrgs/:*@srcdir@:*/:/ 61608ff16396Smrgs/^\([^=]*=[ ]*\):*/\1/ 61618ff16396Smrgs/:*$// 61628ff16396Smrgs/^[^=]*=[ ]*$// 61638ff16396Smrg}' 61648ff16396Smrgfi 61658ff16396Smrg 61668ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 61678ff16396Smrgfi # test -n "$CONFIG_FILES" 61688ff16396Smrg 61698ff16396Smrg 61708ff16396Smrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 61718ff16396Smrgshift 61728ff16396Smrgfor ac_tag 61738ff16396Smrgdo 61748ff16396Smrg case $ac_tag in 61758ff16396Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 61768ff16396Smrg esac 61778ff16396Smrg case $ac_mode$ac_tag in 61788ff16396Smrg :[FHL]*:*);; 61798ff16396Smrg :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 61808ff16396Smrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 61818ff16396Smrg { (exit 1); exit 1; }; };; 61828ff16396Smrg :[FH]-) ac_tag=-:-;; 61838ff16396Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 61848ff16396Smrg esac 61858ff16396Smrg ac_save_IFS=$IFS 61868ff16396Smrg IFS=: 61878ff16396Smrg set x $ac_tag 61888ff16396Smrg IFS=$ac_save_IFS 61898ff16396Smrg shift 61908ff16396Smrg ac_file=$1 61918ff16396Smrg shift 61928ff16396Smrg 61938ff16396Smrg case $ac_mode in 61948ff16396Smrg :L) ac_source=$1;; 61958ff16396Smrg :[FH]) 61968ff16396Smrg ac_file_inputs= 61978ff16396Smrg for ac_f 61988ff16396Smrg do 61998ff16396Smrg case $ac_f in 62008ff16396Smrg -) ac_f="$tmp/stdin";; 62018ff16396Smrg *) # Look for the file first in the build tree, then in the source tree 62028ff16396Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 62038ff16396Smrg # because $ac_f cannot contain `:'. 62048ff16396Smrg test -f "$ac_f" || 62058ff16396Smrg case $ac_f in 62068ff16396Smrg [\\/$]*) false;; 62078ff16396Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 62088ff16396Smrg esac || 62098ff16396Smrg { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 62108ff16396Smrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 62118ff16396Smrg { (exit 1); exit 1; }; };; 62128ff16396Smrg esac 62138ff16396Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 62148ff16396Smrg ac_file_inputs="$ac_file_inputs '$ac_f'" 62158ff16396Smrg done 62168ff16396Smrg 62178ff16396Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 62188ff16396Smrg # use $as_me), people would be surprised to read: 62198ff16396Smrg # /* config.h. Generated by config.status. */ 62208ff16396Smrg configure_input='Generated from '` 62218ff16396Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 62228ff16396Smrg `' by configure.' 62238ff16396Smrg if test x"$ac_file" != x-; then 62248ff16396Smrg configure_input="$ac_file. $configure_input" 62258ff16396Smrg { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 62268ff16396Smrg$as_echo "$as_me: creating $ac_file" >&6;} 62278ff16396Smrg fi 62288ff16396Smrg # Neutralize special characters interpreted by sed in replacement strings. 62298ff16396Smrg case $configure_input in #( 62308ff16396Smrg *\&* | *\|* | *\\* ) 62318ff16396Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 62328ff16396Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 62338ff16396Smrg *) ac_sed_conf_input=$configure_input;; 62348ff16396Smrg esac 62358ff16396Smrg 62368ff16396Smrg case $ac_tag in 62378ff16396Smrg *:-:* | *:-) cat >"$tmp/stdin" \ 62388ff16396Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 62398ff16396Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 62408ff16396Smrg { (exit 1); exit 1; }; } ;; 62418ff16396Smrg esac 62420bd0e222Smrg ;; 62430bd0e222Smrg esac 62448ff16396Smrg 62450bd0e222Smrg ac_dir=`$as_dirname -- "$ac_file" || 62460bd0e222Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 62470bd0e222Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 62488ff16396Smrg X"$ac_file" : 'X\(//\)$' \| \ 62498ff16396Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 62508ff16396Smrg$as_echo X"$ac_file" | 62518ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 62528ff16396Smrg s//\1/ 62538ff16396Smrg q 62548ff16396Smrg } 62558ff16396Smrg /^X\(\/\/\)[^/].*/{ 62568ff16396Smrg s//\1/ 62578ff16396Smrg q 62588ff16396Smrg } 62598ff16396Smrg /^X\(\/\/\)$/{ 62608ff16396Smrg s//\1/ 62618ff16396Smrg q 62628ff16396Smrg } 62638ff16396Smrg /^X\(\/\).*/{ 62648ff16396Smrg s//\1/ 62658ff16396Smrg q 62668ff16396Smrg } 62678ff16396Smrg s/.*/./; q'` 62688ff16396Smrg { as_dir="$ac_dir" 62698ff16396Smrg case $as_dir in #( 62708ff16396Smrg -*) as_dir=./$as_dir;; 62718ff16396Smrg esac 62720bd0e222Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 62738ff16396Smrg as_dirs= 62748ff16396Smrg while :; do 62758ff16396Smrg case $as_dir in #( 62768ff16396Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 62778ff16396Smrg *) as_qdir=$as_dir;; 62788ff16396Smrg esac 62798ff16396Smrg as_dirs="'$as_qdir' $as_dirs" 62800bd0e222Smrg as_dir=`$as_dirname -- "$as_dir" || 62810bd0e222Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 62820bd0e222Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 62838ff16396Smrg X"$as_dir" : 'X\(//\)$' \| \ 62848ff16396Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 62858ff16396Smrg$as_echo X"$as_dir" | 62868ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 62878ff16396Smrg s//\1/ 62888ff16396Smrg q 62898ff16396Smrg } 62908ff16396Smrg /^X\(\/\/\)[^/].*/{ 62918ff16396Smrg s//\1/ 62928ff16396Smrg q 62938ff16396Smrg } 62948ff16396Smrg /^X\(\/\/\)$/{ 62958ff16396Smrg s//\1/ 62968ff16396Smrg q 62978ff16396Smrg } 62988ff16396Smrg /^X\(\/\).*/{ 62998ff16396Smrg s//\1/ 63008ff16396Smrg q 63018ff16396Smrg } 63028ff16396Smrg s/.*/./; q'` 63030bd0e222Smrg test -d "$as_dir" && break 63048ff16396Smrg done 63058ff16396Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 63068ff16396Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 63070bd0e222Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 63080bd0e222Smrg { (exit 1); exit 1; }; }; } 63090bd0e222Smrg ac_builddir=. 63108ff16396Smrg 63118ff16396Smrgcase "$ac_dir" in 63128ff16396Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 63138ff16396Smrg*) 63148ff16396Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 63158ff16396Smrg # A ".." for each directory in $ac_dir_suffix. 63168ff16396Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 63178ff16396Smrg case $ac_top_builddir_sub in 63188ff16396Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 63198ff16396Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 63208ff16396Smrg esac ;; 63218ff16396Smrgesac 63228ff16396Smrgac_abs_top_builddir=$ac_pwd 63238ff16396Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 63248ff16396Smrg# for backward compatibility: 63250bd0e222Smrgac_top_builddir=$ac_top_build_prefix 63260bd0e222Smrg 63278ff16396Smrgcase $srcdir in 63280bd0e222Smrg .) # We are building in place. 63298ff16396Smrg ac_srcdir=. 63308ff16396Smrg ac_top_srcdir=$ac_top_builddir_sub 63318ff16396Smrg ac_abs_top_srcdir=$ac_pwd ;; 63320bd0e222Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 63338ff16396Smrg ac_srcdir=$srcdir$ac_dir_suffix; 63348ff16396Smrg ac_top_srcdir=$srcdir 63358ff16396Smrg ac_abs_top_srcdir=$srcdir ;; 63368ff16396Smrg *) # Relative name. 63378ff16396Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 63388ff16396Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 63390bd0e222Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 63408ff16396Smrgesac 63410bd0e222Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 63420bd0e222Smrg 63438ff16396Smrg 63448ff16396Smrg case $ac_mode in 63458ff16396Smrg :F) 63468ff16396Smrg # 63478ff16396Smrg # CONFIG_FILE 63480bd0e222Smrg # 63490bd0e222Smrg 63500bd0e222Smrg case $INSTALL in 63518ff16396Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 63520bd0e222Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 63538ff16396Smrg esac 63548ff16396Smrg ac_MKDIR_P=$MKDIR_P 63558ff16396Smrg case $MKDIR_P in 63568ff16396Smrg [\\/$]* | ?:[\\/]* ) ;; 63578ff16396Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 63588ff16396Smrg esac 63590bd0e222Smrg_ACEOF 63608ff16396Smrg 63618ff16396Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 63628ff16396Smrg# If the template does not know about datarootdir, expand it. 63638ff16396Smrg# FIXME: This hack should be removed a few years after 2.60. 63648ff16396Smrgac_datarootdir_hack=; ac_datarootdir_seen= 63658ff16396Smrg 63668ff16396Smrgac_sed_dataroot=' 63678ff16396Smrg/datarootdir/ { 63688ff16396Smrg p 63698ff16396Smrg q 63708ff16396Smrg} 63718ff16396Smrg/@datadir@/p 63728ff16396Smrg/@docdir@/p 63738ff16396Smrg/@infodir@/p 63748ff16396Smrg/@localedir@/p 63758ff16396Smrg/@mandir@/p 63768ff16396Smrg' 63778ff16396Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 63788ff16396Smrg*datarootdir*) ac_datarootdir_seen=yes;; 63798ff16396Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 63808ff16396Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 63818ff16396Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 63828ff16396Smrg_ACEOF 63838ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 63848ff16396Smrg ac_datarootdir_hack=' 63858ff16396Smrg s&@datadir@&$datadir&g 63868ff16396Smrg s&@docdir@&$docdir&g 63878ff16396Smrg s&@infodir@&$infodir&g 63888ff16396Smrg s&@localedir@&$localedir&g 63898ff16396Smrg s&@mandir@&$mandir&g 63908ff16396Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 63910bd0e222Smrgesac 63928ff16396Smrg_ACEOF 63938ff16396Smrg 63948ff16396Smrg# Neutralize VPATH when `$srcdir' = `.'. 63958ff16396Smrg# Shell code in configure.ac might set extrasub. 63968ff16396Smrg# FIXME: do we really want to maintain this feature? 63978ff16396Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 63980bd0e222Smrgac_sed_extra="$ac_vpsub 63990bd0e222Smrg$extrasub 64008ff16396Smrg_ACEOF 64010bd0e222Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 64020bd0e222Smrg:t 64038ff16396Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 64048ff16396Smrgs|@configure_input@|$ac_sed_conf_input|;t t 64058ff16396Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 64068ff16396Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 64078ff16396Smrgs&@srcdir@&$ac_srcdir&;t t 64088ff16396Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 64098ff16396Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 64108ff16396Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 64118ff16396Smrgs&@builddir@&$ac_builddir&;t t 64128ff16396Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 64138ff16396Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 64148ff16396Smrgs&@INSTALL@&$ac_INSTALL&;t t 64158ff16396Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 64168ff16396Smrg$ac_datarootdir_hack 64178ff16396Smrg" 64188ff16396Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 64198ff16396Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 64208ff16396Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 64210bd0e222Smrg { (exit 1); exit 1; }; } 64228ff16396Smrg 64238ff16396Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 64248ff16396Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 64258ff16396Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 64268ff16396Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 64278ff16396Smrgwhich seems to be undefined. Please make sure it is defined." >&5 64288ff16396Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 64298ff16396Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 64308ff16396Smrg 64318ff16396Smrg rm -f "$tmp/stdin" 64328ff16396Smrg case $ac_file in 64338ff16396Smrg -) cat "$tmp/out" && rm -f "$tmp/out";; 64348ff16396Smrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 64358ff16396Smrg esac \ 64368ff16396Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 64378ff16396Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 64388ff16396Smrg { (exit 1); exit 1; }; } 64398ff16396Smrg ;; 64408ff16396Smrg 64418ff16396Smrg 64428ff16396Smrg :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 64438ff16396Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 64448ff16396Smrg ;; 64458ff16396Smrg esac 64468ff16396Smrg 64478ff16396Smrg 64488ff16396Smrg case $ac_file$ac_mode in 64498ff16396Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 64508ff16396Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 64518ff16396Smrg # are listed without --file. Let's play safe and only enable the eval 64528ff16396Smrg # if we detect the quoting. 64538ff16396Smrg case $CONFIG_FILES in 64548ff16396Smrg *\'*) eval set x "$CONFIG_FILES" ;; 64558ff16396Smrg *) set x $CONFIG_FILES ;; 64568ff16396Smrg esac 64578ff16396Smrg shift 64588ff16396Smrg for mf 64598ff16396Smrg do 64608ff16396Smrg # Strip MF so we end up with the name of the file. 64618ff16396Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 64628ff16396Smrg # Check whether this is an Automake generated Makefile or not. 64638ff16396Smrg # We used to match only the files named `Makefile.in', but 64648ff16396Smrg # some people rename them; so instead we look at the file content. 64658ff16396Smrg # Grep'ing the first line is not enough: some people post-process 64668ff16396Smrg # each Makefile.in and add a new line on top of each file to say so. 64678ff16396Smrg # Grep'ing the whole file is not good either: AIX grep has a line 64688ff16396Smrg # limit of 2048, but all sed's we know have understand at least 4000. 64698ff16396Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 64708ff16396Smrg dirpart=`$as_dirname -- "$mf" || 64718ff16396Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 64728ff16396Smrg X"$mf" : 'X\(//\)[^/]' \| \ 64738ff16396Smrg X"$mf" : 'X\(//\)$' \| \ 64748ff16396Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 64758ff16396Smrg$as_echo X"$mf" | 64768ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 64778ff16396Smrg s//\1/ 64788ff16396Smrg q 64798ff16396Smrg } 64808ff16396Smrg /^X\(\/\/\)[^/].*/{ 64818ff16396Smrg s//\1/ 64828ff16396Smrg q 64838ff16396Smrg } 64848ff16396Smrg /^X\(\/\/\)$/{ 64858ff16396Smrg s//\1/ 64868ff16396Smrg q 64878ff16396Smrg } 64888ff16396Smrg /^X\(\/\).*/{ 64898ff16396Smrg s//\1/ 64908ff16396Smrg q 64918ff16396Smrg } 64928ff16396Smrg s/.*/./; q'` 64938ff16396Smrg else 64948ff16396Smrg continue 64958ff16396Smrg fi 64968ff16396Smrg # Extract the definition of DEPDIR, am__include, and am__quote 64978ff16396Smrg # from the Makefile without running `make'. 64988ff16396Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 64998ff16396Smrg test -z "$DEPDIR" && continue 65008ff16396Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 65018ff16396Smrg test -z "am__include" && continue 65028ff16396Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 65038ff16396Smrg # When using ansi2knr, U may be empty or an underscore; expand it 65048ff16396Smrg U=`sed -n 's/^U = //p' < "$mf"` 65058ff16396Smrg # Find all dependency output files, they are included files with 65068ff16396Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 65078ff16396Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 65088ff16396Smrg # expansion. 65098ff16396Smrg for file in `sed -n " 65108ff16396Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 65118ff16396Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 65128ff16396Smrg # Make sure the directory exists. 65138ff16396Smrg test -f "$dirpart/$file" && continue 65148ff16396Smrg fdir=`$as_dirname -- "$file" || 65158ff16396Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 65168ff16396Smrg X"$file" : 'X\(//\)[^/]' \| \ 65178ff16396Smrg X"$file" : 'X\(//\)$' \| \ 65188ff16396Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 65198ff16396Smrg$as_echo X"$file" | 65208ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 65218ff16396Smrg s//\1/ 65228ff16396Smrg q 65238ff16396Smrg } 65248ff16396Smrg /^X\(\/\/\)[^/].*/{ 65258ff16396Smrg s//\1/ 65268ff16396Smrg q 65278ff16396Smrg } 65288ff16396Smrg /^X\(\/\/\)$/{ 65298ff16396Smrg s//\1/ 65308ff16396Smrg q 65318ff16396Smrg } 65328ff16396Smrg /^X\(\/\).*/{ 65338ff16396Smrg s//\1/ 65348ff16396Smrg q 65358ff16396Smrg } 65368ff16396Smrg s/.*/./; q'` 65378ff16396Smrg { as_dir=$dirpart/$fdir 65388ff16396Smrg case $as_dir in #( 65398ff16396Smrg -*) as_dir=./$as_dir;; 65408ff16396Smrg esac 65418ff16396Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 65428ff16396Smrg as_dirs= 65438ff16396Smrg while :; do 65448ff16396Smrg case $as_dir in #( 65458ff16396Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 65468ff16396Smrg *) as_qdir=$as_dir;; 65478ff16396Smrg esac 65488ff16396Smrg as_dirs="'$as_qdir' $as_dirs" 65498ff16396Smrg as_dir=`$as_dirname -- "$as_dir" || 65508ff16396Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 65518ff16396Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 65528ff16396Smrg X"$as_dir" : 'X\(//\)$' \| \ 65538ff16396Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 65548ff16396Smrg$as_echo X"$as_dir" | 65558ff16396Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 65568ff16396Smrg s//\1/ 65578ff16396Smrg q 65588ff16396Smrg } 65598ff16396Smrg /^X\(\/\/\)[^/].*/{ 65608ff16396Smrg s//\1/ 65618ff16396Smrg q 65628ff16396Smrg } 65638ff16396Smrg /^X\(\/\/\)$/{ 65648ff16396Smrg s//\1/ 65658ff16396Smrg q 65668ff16396Smrg } 65678ff16396Smrg /^X\(\/\).*/{ 65688ff16396Smrg s//\1/ 65698ff16396Smrg q 65708ff16396Smrg } 65718ff16396Smrg s/.*/./; q'` 65728ff16396Smrg test -d "$as_dir" && break 65738ff16396Smrg done 65748ff16396Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 65758ff16396Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 65768ff16396Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 65778ff16396Smrg { (exit 1); exit 1; }; }; } 65788ff16396Smrg # echo "creating $dirpart/$file" 65798ff16396Smrg echo '# dummy' > "$dirpart/$file" 65808ff16396Smrg done 65818ff16396Smrg done 65828ff16396Smrg} 65838ff16396Smrg ;; 65848ff16396Smrg 65858ff16396Smrg esac 65860bd0e222Smrgdone # for ac_tag 65870bd0e222Smrg 65880bd0e222Smrg 65890bd0e222Smrg{ (exit 0); exit 0; } 65900bd0e222Smrg_ACEOF 65910bd0e222Smrgchmod +x $CONFIG_STATUS 65920bd0e222Smrgac_clean_files=$ac_clean_files_save 65938ff16396Smrg 65948ff16396Smrgtest $ac_write_fail = 0 || 65958ff16396Smrg { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 65968ff16396Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 65978ff16396Smrg { (exit 1); exit 1; }; } 65980bd0e222Smrg 65990bd0e222Smrg 66000bd0e222Smrg# configure is writing to config.log, and then calls config.status. 66010bd0e222Smrg# config.status does its own redirection, appending to config.log. 66020bd0e222Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 66030bd0e222Smrg# by configure, so config.status won't be able to write to it; its 66040bd0e222Smrg# output is simply discarded. So we exec the FD to /dev/null, 66050bd0e222Smrg# effectively closing config.log, so it can be properly (re)opened and 66060bd0e222Smrg# appended to by config.status. When coming back to configure, we 66070bd0e222Smrg# need to make the FD available again. 66080bd0e222Smrgif test "$no_create" != yes; then 66090bd0e222Smrg ac_cs_success=: 66100bd0e222Smrg ac_config_status_args= 66110bd0e222Smrg test "$silent" = yes && 66120bd0e222Smrg ac_config_status_args="$ac_config_status_args --quiet" 66130bd0e222Smrg exec 5>/dev/null 66140bd0e222Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 66150bd0e222Smrg exec 5>>config.log 66160bd0e222Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 66170bd0e222Smrg # would make configure fail if this is the last instruction. 66180bd0e222Smrg $ac_cs_success || { (exit 1); exit 1; } 66198ff16396Smrgfi 66208ff16396Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 66218ff16396Smrg { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 66228ff16396Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 66230bd0e222Smrgfi 6624 6625