configure revision 7d5e3a19
17d5e3a19Smrg#! /bin/sh 27d5e3a19Smrg# Guess values for system-dependent variables and create Makefiles. 37d5e3a19Smrg# Generated by GNU Autoconf 2.61 for setxkbmap 1.0.4. 47d5e3a19Smrg# 57d5e3a19Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 67d5e3a19Smrg# 77d5e3a19Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 87d5e3a19Smrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 97d5e3a19Smrg# This configure script is free software; the Free Software Foundation 107d5e3a19Smrg# gives unlimited permission to copy, distribute and modify it. 117d5e3a19Smrg## --------------------- ## 127d5e3a19Smrg## M4sh Initialization. ## 137d5e3a19Smrg## --------------------- ## 147d5e3a19Smrg 157d5e3a19Smrg# Be more Bourne compatible 167d5e3a19SmrgDUALCASE=1; export DUALCASE # for MKS sh 177d5e3a19Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 187d5e3a19Smrg emulate sh 197d5e3a19Smrg NULLCMD=: 207d5e3a19Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 217d5e3a19Smrg # is contrary to our usage. Disable this feature. 227d5e3a19Smrg alias -g '${1+"$@"}'='"$@"' 237d5e3a19Smrg setopt NO_GLOB_SUBST 247d5e3a19Smrgelse 257d5e3a19Smrg case `(set -o) 2>/dev/null` in 267d5e3a19Smrg *posix*) set -o posix ;; 277d5e3a19Smrgesac 287d5e3a19Smrg 297d5e3a19Smrgfi 307d5e3a19Smrg 317d5e3a19Smrg 327d5e3a19Smrg 337d5e3a19Smrg 347d5e3a19Smrg# PATH needs CR 357d5e3a19Smrg# Avoid depending upon Character Ranges. 367d5e3a19Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 377d5e3a19Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 387d5e3a19Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 397d5e3a19Smrgas_cr_digits='0123456789' 407d5e3a19Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 417d5e3a19Smrg 427d5e3a19Smrg# The user is always right. 437d5e3a19Smrgif test "${PATH_SEPARATOR+set}" != set; then 447d5e3a19Smrg echo "#! /bin/sh" >conf$$.sh 457d5e3a19Smrg echo "exit 0" >>conf$$.sh 467d5e3a19Smrg chmod +x conf$$.sh 477d5e3a19Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 487d5e3a19Smrg PATH_SEPARATOR=';' 497d5e3a19Smrg else 507d5e3a19Smrg PATH_SEPARATOR=: 517d5e3a19Smrg fi 527d5e3a19Smrg rm -f conf$$.sh 537d5e3a19Smrgfi 547d5e3a19Smrg 557d5e3a19Smrg# Support unset when possible. 567d5e3a19Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 577d5e3a19Smrg as_unset=unset 587d5e3a19Smrgelse 597d5e3a19Smrg as_unset=false 607d5e3a19Smrgfi 617d5e3a19Smrg 627d5e3a19Smrg 637d5e3a19Smrg# IFS 647d5e3a19Smrg# We need space, tab and new line, in precisely that order. Quoting is 657d5e3a19Smrg# there to prevent editors from complaining about space-tab. 667d5e3a19Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 677d5e3a19Smrg# splitting by setting IFS to empty value.) 687d5e3a19Smrgas_nl=' 697d5e3a19Smrg' 707d5e3a19SmrgIFS=" "" $as_nl" 717d5e3a19Smrg 727d5e3a19Smrg# Find who we are. Look in the path if we contain no directory separator. 737d5e3a19Smrgcase $0 in 747d5e3a19Smrg *[\\/]* ) as_myself=$0 ;; 757d5e3a19Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 767d5e3a19Smrgfor as_dir in $PATH 777d5e3a19Smrgdo 787d5e3a19Smrg IFS=$as_save_IFS 797d5e3a19Smrg test -z "$as_dir" && as_dir=. 807d5e3a19Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 817d5e3a19Smrgdone 827d5e3a19SmrgIFS=$as_save_IFS 837d5e3a19Smrg 847d5e3a19Smrg ;; 857d5e3a19Smrgesac 867d5e3a19Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 877d5e3a19Smrg# in which case we are not to be found in the path. 887d5e3a19Smrgif test "x$as_myself" = x; then 897d5e3a19Smrg as_myself=$0 907d5e3a19Smrgfi 917d5e3a19Smrgif test ! -f "$as_myself"; then 927d5e3a19Smrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 937d5e3a19Smrg { (exit 1); exit 1; } 947d5e3a19Smrgfi 957d5e3a19Smrg 967d5e3a19Smrg# Work around bugs in pre-3.0 UWIN ksh. 977d5e3a19Smrgfor as_var in ENV MAIL MAILPATH 987d5e3a19Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 997d5e3a19Smrgdone 1007d5e3a19SmrgPS1='$ ' 1017d5e3a19SmrgPS2='> ' 1027d5e3a19SmrgPS4='+ ' 1037d5e3a19Smrg 1047d5e3a19Smrg# NLS nuisances. 1057d5e3a19Smrgfor as_var in \ 1067d5e3a19Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 1077d5e3a19Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 1087d5e3a19Smrg LC_TELEPHONE LC_TIME 1097d5e3a19Smrgdo 1107d5e3a19Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 1117d5e3a19Smrg eval $as_var=C; export $as_var 1127d5e3a19Smrg else 1137d5e3a19Smrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 1147d5e3a19Smrg fi 1157d5e3a19Smrgdone 1167d5e3a19Smrg 1177d5e3a19Smrg# Required to use basename. 1187d5e3a19Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 1197d5e3a19Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 1207d5e3a19Smrg as_expr=expr 1217d5e3a19Smrgelse 1227d5e3a19Smrg as_expr=false 1237d5e3a19Smrgfi 1247d5e3a19Smrg 1257d5e3a19Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 1267d5e3a19Smrg as_basename=basename 1277d5e3a19Smrgelse 1287d5e3a19Smrg as_basename=false 1297d5e3a19Smrgfi 1307d5e3a19Smrg 1317d5e3a19Smrg 1327d5e3a19Smrg# Name of the executable. 1337d5e3a19Smrgas_me=`$as_basename -- "$0" || 1347d5e3a19Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1357d5e3a19Smrg X"$0" : 'X\(//\)$' \| \ 1367d5e3a19Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 1377d5e3a19Smrgecho X/"$0" | 1387d5e3a19Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 1397d5e3a19Smrg s//\1/ 1407d5e3a19Smrg q 1417d5e3a19Smrg } 1427d5e3a19Smrg /^X\/\(\/\/\)$/{ 1437d5e3a19Smrg s//\1/ 1447d5e3a19Smrg q 1457d5e3a19Smrg } 1467d5e3a19Smrg /^X\/\(\/\).*/{ 1477d5e3a19Smrg s//\1/ 1487d5e3a19Smrg q 1497d5e3a19Smrg } 1507d5e3a19Smrg s/.*/./; q'` 1517d5e3a19Smrg 1527d5e3a19Smrg# CDPATH. 1537d5e3a19Smrg$as_unset CDPATH 1547d5e3a19Smrg 1557d5e3a19Smrg 1567d5e3a19Smrgif test "x$CONFIG_SHELL" = x; then 1577d5e3a19Smrg if (eval ":") 2>/dev/null; then 1587d5e3a19Smrg as_have_required=yes 1597d5e3a19Smrgelse 1607d5e3a19Smrg as_have_required=no 1617d5e3a19Smrgfi 1627d5e3a19Smrg 1637d5e3a19Smrg if test $as_have_required = yes && (eval ": 1647d5e3a19Smrg(as_func_return () { 1657d5e3a19Smrg (exit \$1) 1667d5e3a19Smrg} 1677d5e3a19Smrgas_func_success () { 1687d5e3a19Smrg as_func_return 0 1697d5e3a19Smrg} 1707d5e3a19Smrgas_func_failure () { 1717d5e3a19Smrg as_func_return 1 1727d5e3a19Smrg} 1737d5e3a19Smrgas_func_ret_success () { 1747d5e3a19Smrg return 0 1757d5e3a19Smrg} 1767d5e3a19Smrgas_func_ret_failure () { 1777d5e3a19Smrg return 1 1787d5e3a19Smrg} 1797d5e3a19Smrg 1807d5e3a19Smrgexitcode=0 1817d5e3a19Smrgif as_func_success; then 1827d5e3a19Smrg : 1837d5e3a19Smrgelse 1847d5e3a19Smrg exitcode=1 1857d5e3a19Smrg echo as_func_success failed. 1867d5e3a19Smrgfi 1877d5e3a19Smrg 1887d5e3a19Smrgif as_func_failure; then 1897d5e3a19Smrg exitcode=1 1907d5e3a19Smrg echo as_func_failure succeeded. 1917d5e3a19Smrgfi 1927d5e3a19Smrg 1937d5e3a19Smrgif as_func_ret_success; then 1947d5e3a19Smrg : 1957d5e3a19Smrgelse 1967d5e3a19Smrg exitcode=1 1977d5e3a19Smrg echo as_func_ret_success failed. 1987d5e3a19Smrgfi 1997d5e3a19Smrg 2007d5e3a19Smrgif as_func_ret_failure; then 2017d5e3a19Smrg exitcode=1 2027d5e3a19Smrg echo as_func_ret_failure succeeded. 2037d5e3a19Smrgfi 2047d5e3a19Smrg 2057d5e3a19Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 2067d5e3a19Smrg : 2077d5e3a19Smrgelse 2087d5e3a19Smrg exitcode=1 2097d5e3a19Smrg echo positional parameters were not saved. 2107d5e3a19Smrgfi 2117d5e3a19Smrg 2127d5e3a19Smrgtest \$exitcode = 0) || { (exit 1); exit 1; } 2137d5e3a19Smrg 2147d5e3a19Smrg( 2157d5e3a19Smrg as_lineno_1=\$LINENO 2167d5e3a19Smrg as_lineno_2=\$LINENO 2177d5e3a19Smrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 2187d5e3a19Smrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 2197d5e3a19Smrg") 2> /dev/null; then 2207d5e3a19Smrg : 2217d5e3a19Smrgelse 2227d5e3a19Smrg as_candidate_shells= 2237d5e3a19Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2247d5e3a19Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2257d5e3a19Smrgdo 2267d5e3a19Smrg IFS=$as_save_IFS 2277d5e3a19Smrg test -z "$as_dir" && as_dir=. 2287d5e3a19Smrg case $as_dir in 2297d5e3a19Smrg /*) 2307d5e3a19Smrg for as_base in sh bash ksh sh5; do 2317d5e3a19Smrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 2327d5e3a19Smrg done;; 2337d5e3a19Smrg esac 2347d5e3a19Smrgdone 2357d5e3a19SmrgIFS=$as_save_IFS 2367d5e3a19Smrg 2377d5e3a19Smrg 2387d5e3a19Smrg for as_shell in $as_candidate_shells $SHELL; do 2397d5e3a19Smrg # Try only shells that exist, to save several forks. 2407d5e3a19Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2417d5e3a19Smrg { ("$as_shell") 2> /dev/null <<\_ASEOF 2427d5e3a19Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2437d5e3a19Smrg emulate sh 2447d5e3a19Smrg NULLCMD=: 2457d5e3a19Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2467d5e3a19Smrg # is contrary to our usage. Disable this feature. 2477d5e3a19Smrg alias -g '${1+"$@"}'='"$@"' 2487d5e3a19Smrg setopt NO_GLOB_SUBST 2497d5e3a19Smrgelse 2507d5e3a19Smrg case `(set -o) 2>/dev/null` in 2517d5e3a19Smrg *posix*) set -o posix ;; 2527d5e3a19Smrgesac 2537d5e3a19Smrg 2547d5e3a19Smrgfi 2557d5e3a19Smrg 2567d5e3a19Smrg 2577d5e3a19Smrg: 2587d5e3a19Smrg_ASEOF 2597d5e3a19Smrg}; then 2607d5e3a19Smrg CONFIG_SHELL=$as_shell 2617d5e3a19Smrg as_have_required=yes 2627d5e3a19Smrg if { "$as_shell" 2> /dev/null <<\_ASEOF 2637d5e3a19Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2647d5e3a19Smrg emulate sh 2657d5e3a19Smrg NULLCMD=: 2667d5e3a19Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2677d5e3a19Smrg # is contrary to our usage. Disable this feature. 2687d5e3a19Smrg alias -g '${1+"$@"}'='"$@"' 2697d5e3a19Smrg setopt NO_GLOB_SUBST 2707d5e3a19Smrgelse 2717d5e3a19Smrg case `(set -o) 2>/dev/null` in 2727d5e3a19Smrg *posix*) set -o posix ;; 2737d5e3a19Smrgesac 2747d5e3a19Smrg 2757d5e3a19Smrgfi 2767d5e3a19Smrg 2777d5e3a19Smrg 2787d5e3a19Smrg: 2797d5e3a19Smrg(as_func_return () { 2807d5e3a19Smrg (exit $1) 2817d5e3a19Smrg} 2827d5e3a19Smrgas_func_success () { 2837d5e3a19Smrg as_func_return 0 2847d5e3a19Smrg} 2857d5e3a19Smrgas_func_failure () { 2867d5e3a19Smrg as_func_return 1 2877d5e3a19Smrg} 2887d5e3a19Smrgas_func_ret_success () { 2897d5e3a19Smrg return 0 2907d5e3a19Smrg} 2917d5e3a19Smrgas_func_ret_failure () { 2927d5e3a19Smrg return 1 2937d5e3a19Smrg} 2947d5e3a19Smrg 2957d5e3a19Smrgexitcode=0 2967d5e3a19Smrgif as_func_success; then 2977d5e3a19Smrg : 2987d5e3a19Smrgelse 2997d5e3a19Smrg exitcode=1 3007d5e3a19Smrg echo as_func_success failed. 3017d5e3a19Smrgfi 3027d5e3a19Smrg 3037d5e3a19Smrgif as_func_failure; then 3047d5e3a19Smrg exitcode=1 3057d5e3a19Smrg echo as_func_failure succeeded. 3067d5e3a19Smrgfi 3077d5e3a19Smrg 3087d5e3a19Smrgif as_func_ret_success; then 3097d5e3a19Smrg : 3107d5e3a19Smrgelse 3117d5e3a19Smrg exitcode=1 3127d5e3a19Smrg echo as_func_ret_success failed. 3137d5e3a19Smrgfi 3147d5e3a19Smrg 3157d5e3a19Smrgif as_func_ret_failure; then 3167d5e3a19Smrg exitcode=1 3177d5e3a19Smrg echo as_func_ret_failure succeeded. 3187d5e3a19Smrgfi 3197d5e3a19Smrg 3207d5e3a19Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then 3217d5e3a19Smrg : 3227d5e3a19Smrgelse 3237d5e3a19Smrg exitcode=1 3247d5e3a19Smrg echo positional parameters were not saved. 3257d5e3a19Smrgfi 3267d5e3a19Smrg 3277d5e3a19Smrgtest $exitcode = 0) || { (exit 1); exit 1; } 3287d5e3a19Smrg 3297d5e3a19Smrg( 3307d5e3a19Smrg as_lineno_1=$LINENO 3317d5e3a19Smrg as_lineno_2=$LINENO 3327d5e3a19Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 3337d5e3a19Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 3347d5e3a19Smrg 3357d5e3a19Smrg_ASEOF 3367d5e3a19Smrg}; then 3377d5e3a19Smrg break 3387d5e3a19Smrgfi 3397d5e3a19Smrg 3407d5e3a19Smrgfi 3417d5e3a19Smrg 3427d5e3a19Smrg done 3437d5e3a19Smrg 3447d5e3a19Smrg if test "x$CONFIG_SHELL" != x; then 3457d5e3a19Smrg for as_var in BASH_ENV ENV 3467d5e3a19Smrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3477d5e3a19Smrg done 3487d5e3a19Smrg export CONFIG_SHELL 3497d5e3a19Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 3507d5e3a19Smrgfi 3517d5e3a19Smrg 3527d5e3a19Smrg 3537d5e3a19Smrg if test $as_have_required = no; then 3547d5e3a19Smrg echo This script requires a shell more modern than all the 3557d5e3a19Smrg echo shells that I found on your system. Please install a 3567d5e3a19Smrg echo modern shell, or manually run the script under such a 3577d5e3a19Smrg echo shell if you do have one. 3587d5e3a19Smrg { (exit 1); exit 1; } 3597d5e3a19Smrgfi 3607d5e3a19Smrg 3617d5e3a19Smrg 3627d5e3a19Smrgfi 3637d5e3a19Smrg 3647d5e3a19Smrgfi 3657d5e3a19Smrg 3667d5e3a19Smrg 3677d5e3a19Smrg 3687d5e3a19Smrg(eval "as_func_return () { 3697d5e3a19Smrg (exit \$1) 3707d5e3a19Smrg} 3717d5e3a19Smrgas_func_success () { 3727d5e3a19Smrg as_func_return 0 3737d5e3a19Smrg} 3747d5e3a19Smrgas_func_failure () { 3757d5e3a19Smrg as_func_return 1 3767d5e3a19Smrg} 3777d5e3a19Smrgas_func_ret_success () { 3787d5e3a19Smrg return 0 3797d5e3a19Smrg} 3807d5e3a19Smrgas_func_ret_failure () { 3817d5e3a19Smrg return 1 3827d5e3a19Smrg} 3837d5e3a19Smrg 3847d5e3a19Smrgexitcode=0 3857d5e3a19Smrgif as_func_success; then 3867d5e3a19Smrg : 3877d5e3a19Smrgelse 3887d5e3a19Smrg exitcode=1 3897d5e3a19Smrg echo as_func_success failed. 3907d5e3a19Smrgfi 3917d5e3a19Smrg 3927d5e3a19Smrgif as_func_failure; then 3937d5e3a19Smrg exitcode=1 3947d5e3a19Smrg echo as_func_failure succeeded. 3957d5e3a19Smrgfi 3967d5e3a19Smrg 3977d5e3a19Smrgif as_func_ret_success; then 3987d5e3a19Smrg : 3997d5e3a19Smrgelse 4007d5e3a19Smrg exitcode=1 4017d5e3a19Smrg echo as_func_ret_success failed. 4027d5e3a19Smrgfi 4037d5e3a19Smrg 4047d5e3a19Smrgif as_func_ret_failure; then 4057d5e3a19Smrg exitcode=1 4067d5e3a19Smrg echo as_func_ret_failure succeeded. 4077d5e3a19Smrgfi 4087d5e3a19Smrg 4097d5e3a19Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 4107d5e3a19Smrg : 4117d5e3a19Smrgelse 4127d5e3a19Smrg exitcode=1 4137d5e3a19Smrg echo positional parameters were not saved. 4147d5e3a19Smrgfi 4157d5e3a19Smrg 4167d5e3a19Smrgtest \$exitcode = 0") || { 4177d5e3a19Smrg echo No shell found that supports shell functions. 4187d5e3a19Smrg echo Please tell autoconf@gnu.org about your system, 4197d5e3a19Smrg echo including any error possibly output before this 4207d5e3a19Smrg echo message 4217d5e3a19Smrg} 4227d5e3a19Smrg 4237d5e3a19Smrg 4247d5e3a19Smrg 4257d5e3a19Smrg as_lineno_1=$LINENO 4267d5e3a19Smrg as_lineno_2=$LINENO 4277d5e3a19Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 4287d5e3a19Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4297d5e3a19Smrg 4307d5e3a19Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4317d5e3a19Smrg # uniformly replaced by the line number. The first 'sed' inserts a 4327d5e3a19Smrg # line-number line after each line using $LINENO; the second 'sed' 4337d5e3a19Smrg # does the real work. The second script uses 'N' to pair each 4347d5e3a19Smrg # line-number line with the line containing $LINENO, and appends 4357d5e3a19Smrg # trailing '-' during substitution so that $LINENO is not a special 4367d5e3a19Smrg # case at line end. 4377d5e3a19Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4387d5e3a19Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 4397d5e3a19Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 4407d5e3a19Smrg sed -n ' 4417d5e3a19Smrg p 4427d5e3a19Smrg /[$]LINENO/= 4437d5e3a19Smrg ' <$as_myself | 4447d5e3a19Smrg sed ' 4457d5e3a19Smrg s/[$]LINENO.*/&-/ 4467d5e3a19Smrg t lineno 4477d5e3a19Smrg b 4487d5e3a19Smrg :lineno 4497d5e3a19Smrg N 4507d5e3a19Smrg :loop 4517d5e3a19Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4527d5e3a19Smrg t loop 4537d5e3a19Smrg s/-\n.*// 4547d5e3a19Smrg ' >$as_me.lineno && 4557d5e3a19Smrg chmod +x "$as_me.lineno" || 4567d5e3a19Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4577d5e3a19Smrg { (exit 1); exit 1; }; } 4587d5e3a19Smrg 4597d5e3a19Smrg # Don't try to exec as it changes $[0], causing all sort of problems 4607d5e3a19Smrg # (the dirname of $[0] is not the place where we might find the 4617d5e3a19Smrg # original and so on. Autoconf is especially sensitive to this). 4627d5e3a19Smrg . "./$as_me.lineno" 4637d5e3a19Smrg # Exit status is that of the last command. 4647d5e3a19Smrg exit 4657d5e3a19Smrg} 4667d5e3a19Smrg 4677d5e3a19Smrg 4687d5e3a19Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4697d5e3a19Smrg as_dirname=dirname 4707d5e3a19Smrgelse 4717d5e3a19Smrg as_dirname=false 4727d5e3a19Smrgfi 4737d5e3a19Smrg 4747d5e3a19SmrgECHO_C= ECHO_N= ECHO_T= 4757d5e3a19Smrgcase `echo -n x` in 4767d5e3a19Smrg-n*) 4777d5e3a19Smrg case `echo 'x\c'` in 4787d5e3a19Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4797d5e3a19Smrg *) ECHO_C='\c';; 4807d5e3a19Smrg esac;; 4817d5e3a19Smrg*) 4827d5e3a19Smrg ECHO_N='-n';; 4837d5e3a19Smrgesac 4847d5e3a19Smrg 4857d5e3a19Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 4867d5e3a19Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 4877d5e3a19Smrg as_expr=expr 4887d5e3a19Smrgelse 4897d5e3a19Smrg as_expr=false 4907d5e3a19Smrgfi 4917d5e3a19Smrg 4927d5e3a19Smrgrm -f conf$$ conf$$.exe conf$$.file 4937d5e3a19Smrgif test -d conf$$.dir; then 4947d5e3a19Smrg rm -f conf$$.dir/conf$$.file 4957d5e3a19Smrgelse 4967d5e3a19Smrg rm -f conf$$.dir 4977d5e3a19Smrg mkdir conf$$.dir 4987d5e3a19Smrgfi 4997d5e3a19Smrgecho >conf$$.file 5007d5e3a19Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 5017d5e3a19Smrg as_ln_s='ln -s' 5027d5e3a19Smrg # ... but there are two gotchas: 5037d5e3a19Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5047d5e3a19Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5057d5e3a19Smrg # In both cases, we have to default to `cp -p'. 5067d5e3a19Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5077d5e3a19Smrg as_ln_s='cp -p' 5087d5e3a19Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 5097d5e3a19Smrg as_ln_s=ln 5107d5e3a19Smrgelse 5117d5e3a19Smrg as_ln_s='cp -p' 5127d5e3a19Smrgfi 5137d5e3a19Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5147d5e3a19Smrgrmdir conf$$.dir 2>/dev/null 5157d5e3a19Smrg 5167d5e3a19Smrgif mkdir -p . 2>/dev/null; then 5177d5e3a19Smrg as_mkdir_p=: 5187d5e3a19Smrgelse 5197d5e3a19Smrg test -d ./-p && rmdir ./-p 5207d5e3a19Smrg as_mkdir_p=false 5217d5e3a19Smrgfi 5227d5e3a19Smrg 5237d5e3a19Smrgif test -x / >/dev/null 2>&1; then 5247d5e3a19Smrg as_test_x='test -x' 5257d5e3a19Smrgelse 5267d5e3a19Smrg if ls -dL / >/dev/null 2>&1; then 5277d5e3a19Smrg as_ls_L_option=L 5287d5e3a19Smrg else 5297d5e3a19Smrg as_ls_L_option= 5307d5e3a19Smrg fi 5317d5e3a19Smrg as_test_x=' 5327d5e3a19Smrg eval sh -c '\'' 5337d5e3a19Smrg if test -d "$1"; then 5347d5e3a19Smrg test -d "$1/."; 5357d5e3a19Smrg else 5367d5e3a19Smrg case $1 in 5377d5e3a19Smrg -*)set "./$1";; 5387d5e3a19Smrg esac; 5397d5e3a19Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5407d5e3a19Smrg ???[sx]*):;;*)false;;esac;fi 5417d5e3a19Smrg '\'' sh 5427d5e3a19Smrg ' 5437d5e3a19Smrgfi 5447d5e3a19Smrgas_executable_p=$as_test_x 5457d5e3a19Smrg 5467d5e3a19Smrg# Sed expression to map a string onto a valid CPP name. 5477d5e3a19Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5487d5e3a19Smrg 5497d5e3a19Smrg# Sed expression to map a string onto a valid variable name. 5507d5e3a19Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5517d5e3a19Smrg 5527d5e3a19Smrg 5537d5e3a19Smrg 5547d5e3a19Smrgexec 7<&0 </dev/null 6>&1 5557d5e3a19Smrg 5567d5e3a19Smrg# Name of the host. 5577d5e3a19Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 5587d5e3a19Smrg# so uname gets run too. 5597d5e3a19Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5607d5e3a19Smrg 5617d5e3a19Smrg# 5627d5e3a19Smrg# Initializations. 5637d5e3a19Smrg# 5647d5e3a19Smrgac_default_prefix=/usr/local 5657d5e3a19Smrgac_clean_files= 5667d5e3a19Smrgac_config_libobj_dir=. 5677d5e3a19SmrgLIBOBJS= 5687d5e3a19Smrgcross_compiling=no 5697d5e3a19Smrgsubdirs= 5707d5e3a19SmrgMFLAGS= 5717d5e3a19SmrgMAKEFLAGS= 5727d5e3a19SmrgSHELL=${CONFIG_SHELL-/bin/sh} 5737d5e3a19Smrg 5747d5e3a19Smrg# Identity of this package. 5757d5e3a19SmrgPACKAGE_NAME='setxkbmap' 5767d5e3a19SmrgPACKAGE_TARNAME='setxkbmap' 5777d5e3a19SmrgPACKAGE_VERSION='1.0.4' 5787d5e3a19SmrgPACKAGE_STRING='setxkbmap 1.0.4' 5797d5e3a19SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5807d5e3a19Smrg 5817d5e3a19Smrgac_subst_vars='SHELL 5827d5e3a19SmrgPATH_SEPARATOR 5837d5e3a19SmrgPACKAGE_NAME 5847d5e3a19SmrgPACKAGE_TARNAME 5857d5e3a19SmrgPACKAGE_VERSION 5867d5e3a19SmrgPACKAGE_STRING 5877d5e3a19SmrgPACKAGE_BUGREPORT 5887d5e3a19Smrgexec_prefix 5897d5e3a19Smrgprefix 5907d5e3a19Smrgprogram_transform_name 5917d5e3a19Smrgbindir 5927d5e3a19Smrgsbindir 5937d5e3a19Smrglibexecdir 5947d5e3a19Smrgdatarootdir 5957d5e3a19Smrgdatadir 5967d5e3a19Smrgsysconfdir 5977d5e3a19Smrgsharedstatedir 5987d5e3a19Smrglocalstatedir 5997d5e3a19Smrgincludedir 6007d5e3a19Smrgoldincludedir 6017d5e3a19Smrgdocdir 6027d5e3a19Smrginfodir 6037d5e3a19Smrghtmldir 6047d5e3a19Smrgdvidir 6057d5e3a19Smrgpdfdir 6067d5e3a19Smrgpsdir 6077d5e3a19Smrglibdir 6087d5e3a19Smrglocaledir 6097d5e3a19Smrgmandir 6107d5e3a19SmrgDEFS 6117d5e3a19SmrgECHO_C 6127d5e3a19SmrgECHO_N 6137d5e3a19SmrgECHO_T 6147d5e3a19SmrgLIBS 6157d5e3a19Smrgbuild_alias 6167d5e3a19Smrghost_alias 6177d5e3a19Smrgtarget_alias 6187d5e3a19SmrgINSTALL_PROGRAM 6197d5e3a19SmrgINSTALL_SCRIPT 6207d5e3a19SmrgINSTALL_DATA 6217d5e3a19Smrgam__isrc 6227d5e3a19SmrgCYGPATH_W 6237d5e3a19SmrgPACKAGE 6247d5e3a19SmrgVERSION 6257d5e3a19SmrgACLOCAL 6267d5e3a19SmrgAUTOCONF 6277d5e3a19SmrgAUTOMAKE 6287d5e3a19SmrgAUTOHEADER 6297d5e3a19SmrgMAKEINFO 6307d5e3a19Smrginstall_sh 6317d5e3a19SmrgSTRIP 6327d5e3a19SmrgINSTALL_STRIP_PROGRAM 6337d5e3a19Smrgmkdir_p 6347d5e3a19SmrgAWK 6357d5e3a19SmrgSET_MAKE 6367d5e3a19Smrgam__leading_dot 6377d5e3a19SmrgAMTAR 6387d5e3a19Smrgam__tar 6397d5e3a19Smrgam__untar 6407d5e3a19SmrgMAINTAINER_MODE_TRUE 6417d5e3a19SmrgMAINTAINER_MODE_FALSE 6427d5e3a19SmrgMAINT 6437d5e3a19SmrgCC 6447d5e3a19SmrgCFLAGS 6457d5e3a19SmrgLDFLAGS 6467d5e3a19SmrgCPPFLAGS 6477d5e3a19Smrgac_ct_CC 6487d5e3a19SmrgEXEEXT 6497d5e3a19SmrgOBJEXT 6507d5e3a19SmrgDEPDIR 6517d5e3a19Smrgam__include 6527d5e3a19Smrgam__quote 6537d5e3a19SmrgAMDEP_TRUE 6547d5e3a19SmrgAMDEP_FALSE 6557d5e3a19SmrgAMDEPBACKSLASH 6567d5e3a19SmrgCCDEPMODE 6577d5e3a19Smrgam__fastdepCC_TRUE 6587d5e3a19Smrgam__fastdepCC_FALSE 6597d5e3a19SmrgXKBCONFIGROOT 6607d5e3a19SmrgPKG_CONFIG 6617d5e3a19SmrgSETXKBMAP_CFLAGS 6627d5e3a19SmrgSETXKBMAP_LIBS 6637d5e3a19SmrgLINT 6647d5e3a19SmrgLINT_FLAGS 6657d5e3a19SmrgLINT_TRUE 6667d5e3a19SmrgLINT_FALSE 6677d5e3a19Smrgbuild 6687d5e3a19Smrgbuild_cpu 6697d5e3a19Smrgbuild_vendor 6707d5e3a19Smrgbuild_os 6717d5e3a19Smrghost 6727d5e3a19Smrghost_cpu 6737d5e3a19Smrghost_vendor 6747d5e3a19Smrghost_os 6757d5e3a19SmrgAPP_MAN_SUFFIX 6767d5e3a19SmrgLIB_MAN_SUFFIX 6777d5e3a19SmrgFILE_MAN_SUFFIX 6787d5e3a19SmrgMISC_MAN_SUFFIX 6797d5e3a19SmrgDRIVER_MAN_SUFFIX 6807d5e3a19SmrgADMIN_MAN_SUFFIX 6817d5e3a19SmrgAPP_MAN_DIR 6827d5e3a19SmrgLIB_MAN_DIR 6837d5e3a19SmrgFILE_MAN_DIR 6847d5e3a19SmrgMISC_MAN_DIR 6857d5e3a19SmrgDRIVER_MAN_DIR 6867d5e3a19SmrgADMIN_MAN_DIR 6877d5e3a19SmrgLIBOBJS 6887d5e3a19SmrgLTLIBOBJS' 6897d5e3a19Smrgac_subst_files='' 6907d5e3a19Smrg ac_precious_vars='build_alias 6917d5e3a19Smrghost_alias 6927d5e3a19Smrgtarget_alias 6937d5e3a19SmrgCC 6947d5e3a19SmrgCFLAGS 6957d5e3a19SmrgLDFLAGS 6967d5e3a19SmrgLIBS 6977d5e3a19SmrgCPPFLAGS 6987d5e3a19SmrgPKG_CONFIG 6997d5e3a19SmrgSETXKBMAP_CFLAGS 7007d5e3a19SmrgSETXKBMAP_LIBS' 7017d5e3a19Smrg 7027d5e3a19Smrg 7037d5e3a19Smrg# Initialize some variables set by options. 7047d5e3a19Smrgac_init_help= 7057d5e3a19Smrgac_init_version=false 7067d5e3a19Smrg# The variables have the same names as the options, with 7077d5e3a19Smrg# dashes changed to underlines. 7087d5e3a19Smrgcache_file=/dev/null 7097d5e3a19Smrgexec_prefix=NONE 7107d5e3a19Smrgno_create= 7117d5e3a19Smrgno_recursion= 7127d5e3a19Smrgprefix=NONE 7137d5e3a19Smrgprogram_prefix=NONE 7147d5e3a19Smrgprogram_suffix=NONE 7157d5e3a19Smrgprogram_transform_name=s,x,x, 7167d5e3a19Smrgsilent= 7177d5e3a19Smrgsite= 7187d5e3a19Smrgsrcdir= 7197d5e3a19Smrgverbose= 7207d5e3a19Smrgx_includes=NONE 7217d5e3a19Smrgx_libraries=NONE 7227d5e3a19Smrg 7237d5e3a19Smrg# Installation directory options. 7247d5e3a19Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 7257d5e3a19Smrg# and all the variables that are supposed to be based on exec_prefix 7267d5e3a19Smrg# by default will actually change. 7277d5e3a19Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7287d5e3a19Smrg# (The list follows the same order as the GNU Coding Standards.) 7297d5e3a19Smrgbindir='${exec_prefix}/bin' 7307d5e3a19Smrgsbindir='${exec_prefix}/sbin' 7317d5e3a19Smrglibexecdir='${exec_prefix}/libexec' 7327d5e3a19Smrgdatarootdir='${prefix}/share' 7337d5e3a19Smrgdatadir='${datarootdir}' 7347d5e3a19Smrgsysconfdir='${prefix}/etc' 7357d5e3a19Smrgsharedstatedir='${prefix}/com' 7367d5e3a19Smrglocalstatedir='${prefix}/var' 7377d5e3a19Smrgincludedir='${prefix}/include' 7387d5e3a19Smrgoldincludedir='/usr/include' 7397d5e3a19Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7407d5e3a19Smrginfodir='${datarootdir}/info' 7417d5e3a19Smrghtmldir='${docdir}' 7427d5e3a19Smrgdvidir='${docdir}' 7437d5e3a19Smrgpdfdir='${docdir}' 7447d5e3a19Smrgpsdir='${docdir}' 7457d5e3a19Smrglibdir='${exec_prefix}/lib' 7467d5e3a19Smrglocaledir='${datarootdir}/locale' 7477d5e3a19Smrgmandir='${datarootdir}/man' 7487d5e3a19Smrg 7497d5e3a19Smrgac_prev= 7507d5e3a19Smrgac_dashdash= 7517d5e3a19Smrgfor ac_option 7527d5e3a19Smrgdo 7537d5e3a19Smrg # If the previous option needs an argument, assign it. 7547d5e3a19Smrg if test -n "$ac_prev"; then 7557d5e3a19Smrg eval $ac_prev=\$ac_option 7567d5e3a19Smrg ac_prev= 7577d5e3a19Smrg continue 7587d5e3a19Smrg fi 7597d5e3a19Smrg 7607d5e3a19Smrg case $ac_option in 7617d5e3a19Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 7627d5e3a19Smrg *) ac_optarg=yes ;; 7637d5e3a19Smrg esac 7647d5e3a19Smrg 7657d5e3a19Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 7667d5e3a19Smrg 7677d5e3a19Smrg case $ac_dashdash$ac_option in 7687d5e3a19Smrg --) 7697d5e3a19Smrg ac_dashdash=yes ;; 7707d5e3a19Smrg 7717d5e3a19Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 7727d5e3a19Smrg ac_prev=bindir ;; 7737d5e3a19Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 7747d5e3a19Smrg bindir=$ac_optarg ;; 7757d5e3a19Smrg 7767d5e3a19Smrg -build | --build | --buil | --bui | --bu) 7777d5e3a19Smrg ac_prev=build_alias ;; 7787d5e3a19Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 7797d5e3a19Smrg build_alias=$ac_optarg ;; 7807d5e3a19Smrg 7817d5e3a19Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 7827d5e3a19Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 7837d5e3a19Smrg ac_prev=cache_file ;; 7847d5e3a19Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 7857d5e3a19Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 7867d5e3a19Smrg cache_file=$ac_optarg ;; 7877d5e3a19Smrg 7887d5e3a19Smrg --config-cache | -C) 7897d5e3a19Smrg cache_file=config.cache ;; 7907d5e3a19Smrg 7917d5e3a19Smrg -datadir | --datadir | --datadi | --datad) 7927d5e3a19Smrg ac_prev=datadir ;; 7937d5e3a19Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 7947d5e3a19Smrg datadir=$ac_optarg ;; 7957d5e3a19Smrg 7967d5e3a19Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 7977d5e3a19Smrg | --dataroo | --dataro | --datar) 7987d5e3a19Smrg ac_prev=datarootdir ;; 7997d5e3a19Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8007d5e3a19Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8017d5e3a19Smrg datarootdir=$ac_optarg ;; 8027d5e3a19Smrg 8037d5e3a19Smrg -disable-* | --disable-*) 8047d5e3a19Smrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8057d5e3a19Smrg # Reject names that are not valid shell variable names. 8067d5e3a19Smrg expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 8077d5e3a19Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 8087d5e3a19Smrg { (exit 1); exit 1; }; } 8097d5e3a19Smrg ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 8107d5e3a19Smrg eval enable_$ac_feature=no ;; 8117d5e3a19Smrg 8127d5e3a19Smrg -docdir | --docdir | --docdi | --doc | --do) 8137d5e3a19Smrg ac_prev=docdir ;; 8147d5e3a19Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8157d5e3a19Smrg docdir=$ac_optarg ;; 8167d5e3a19Smrg 8177d5e3a19Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8187d5e3a19Smrg ac_prev=dvidir ;; 8197d5e3a19Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8207d5e3a19Smrg dvidir=$ac_optarg ;; 8217d5e3a19Smrg 8227d5e3a19Smrg -enable-* | --enable-*) 8237d5e3a19Smrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8247d5e3a19Smrg # Reject names that are not valid shell variable names. 8257d5e3a19Smrg expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 8267d5e3a19Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 8277d5e3a19Smrg { (exit 1); exit 1; }; } 8287d5e3a19Smrg ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 8297d5e3a19Smrg eval enable_$ac_feature=\$ac_optarg ;; 8307d5e3a19Smrg 8317d5e3a19Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 8327d5e3a19Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 8337d5e3a19Smrg | --exec | --exe | --ex) 8347d5e3a19Smrg ac_prev=exec_prefix ;; 8357d5e3a19Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 8367d5e3a19Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 8377d5e3a19Smrg | --exec=* | --exe=* | --ex=*) 8387d5e3a19Smrg exec_prefix=$ac_optarg ;; 8397d5e3a19Smrg 8407d5e3a19Smrg -gas | --gas | --ga | --g) 8417d5e3a19Smrg # Obsolete; use --with-gas. 8427d5e3a19Smrg with_gas=yes ;; 8437d5e3a19Smrg 8447d5e3a19Smrg -help | --help | --hel | --he | -h) 8457d5e3a19Smrg ac_init_help=long ;; 8467d5e3a19Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 8477d5e3a19Smrg ac_init_help=recursive ;; 8487d5e3a19Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 8497d5e3a19Smrg ac_init_help=short ;; 8507d5e3a19Smrg 8517d5e3a19Smrg -host | --host | --hos | --ho) 8527d5e3a19Smrg ac_prev=host_alias ;; 8537d5e3a19Smrg -host=* | --host=* | --hos=* | --ho=*) 8547d5e3a19Smrg host_alias=$ac_optarg ;; 8557d5e3a19Smrg 8567d5e3a19Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 8577d5e3a19Smrg ac_prev=htmldir ;; 8587d5e3a19Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 8597d5e3a19Smrg | --ht=*) 8607d5e3a19Smrg htmldir=$ac_optarg ;; 8617d5e3a19Smrg 8627d5e3a19Smrg -includedir | --includedir | --includedi | --included | --include \ 8637d5e3a19Smrg | --includ | --inclu | --incl | --inc) 8647d5e3a19Smrg ac_prev=includedir ;; 8657d5e3a19Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 8667d5e3a19Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 8677d5e3a19Smrg includedir=$ac_optarg ;; 8687d5e3a19Smrg 8697d5e3a19Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 8707d5e3a19Smrg ac_prev=infodir ;; 8717d5e3a19Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 8727d5e3a19Smrg infodir=$ac_optarg ;; 8737d5e3a19Smrg 8747d5e3a19Smrg -libdir | --libdir | --libdi | --libd) 8757d5e3a19Smrg ac_prev=libdir ;; 8767d5e3a19Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 8777d5e3a19Smrg libdir=$ac_optarg ;; 8787d5e3a19Smrg 8797d5e3a19Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 8807d5e3a19Smrg | --libexe | --libex | --libe) 8817d5e3a19Smrg ac_prev=libexecdir ;; 8827d5e3a19Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 8837d5e3a19Smrg | --libexe=* | --libex=* | --libe=*) 8847d5e3a19Smrg libexecdir=$ac_optarg ;; 8857d5e3a19Smrg 8867d5e3a19Smrg -localedir | --localedir | --localedi | --localed | --locale) 8877d5e3a19Smrg ac_prev=localedir ;; 8887d5e3a19Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 8897d5e3a19Smrg localedir=$ac_optarg ;; 8907d5e3a19Smrg 8917d5e3a19Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 8927d5e3a19Smrg | --localstate | --localstat | --localsta | --localst | --locals) 8937d5e3a19Smrg ac_prev=localstatedir ;; 8947d5e3a19Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 8957d5e3a19Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 8967d5e3a19Smrg localstatedir=$ac_optarg ;; 8977d5e3a19Smrg 8987d5e3a19Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 8997d5e3a19Smrg ac_prev=mandir ;; 9007d5e3a19Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9017d5e3a19Smrg mandir=$ac_optarg ;; 9027d5e3a19Smrg 9037d5e3a19Smrg -nfp | --nfp | --nf) 9047d5e3a19Smrg # Obsolete; use --without-fp. 9057d5e3a19Smrg with_fp=no ;; 9067d5e3a19Smrg 9077d5e3a19Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9087d5e3a19Smrg | --no-cr | --no-c | -n) 9097d5e3a19Smrg no_create=yes ;; 9107d5e3a19Smrg 9117d5e3a19Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9127d5e3a19Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9137d5e3a19Smrg no_recursion=yes ;; 9147d5e3a19Smrg 9157d5e3a19Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9167d5e3a19Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9177d5e3a19Smrg | --oldin | --oldi | --old | --ol | --o) 9187d5e3a19Smrg ac_prev=oldincludedir ;; 9197d5e3a19Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9207d5e3a19Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9217d5e3a19Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9227d5e3a19Smrg oldincludedir=$ac_optarg ;; 9237d5e3a19Smrg 9247d5e3a19Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9257d5e3a19Smrg ac_prev=prefix ;; 9267d5e3a19Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9277d5e3a19Smrg prefix=$ac_optarg ;; 9287d5e3a19Smrg 9297d5e3a19Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9307d5e3a19Smrg | --program-pre | --program-pr | --program-p) 9317d5e3a19Smrg ac_prev=program_prefix ;; 9327d5e3a19Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 9337d5e3a19Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 9347d5e3a19Smrg program_prefix=$ac_optarg ;; 9357d5e3a19Smrg 9367d5e3a19Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 9377d5e3a19Smrg | --program-suf | --program-su | --program-s) 9387d5e3a19Smrg ac_prev=program_suffix ;; 9397d5e3a19Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 9407d5e3a19Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 9417d5e3a19Smrg program_suffix=$ac_optarg ;; 9427d5e3a19Smrg 9437d5e3a19Smrg -program-transform-name | --program-transform-name \ 9447d5e3a19Smrg | --program-transform-nam | --program-transform-na \ 9457d5e3a19Smrg | --program-transform-n | --program-transform- \ 9467d5e3a19Smrg | --program-transform | --program-transfor \ 9477d5e3a19Smrg | --program-transfo | --program-transf \ 9487d5e3a19Smrg | --program-trans | --program-tran \ 9497d5e3a19Smrg | --progr-tra | --program-tr | --program-t) 9507d5e3a19Smrg ac_prev=program_transform_name ;; 9517d5e3a19Smrg -program-transform-name=* | --program-transform-name=* \ 9527d5e3a19Smrg | --program-transform-nam=* | --program-transform-na=* \ 9537d5e3a19Smrg | --program-transform-n=* | --program-transform-=* \ 9547d5e3a19Smrg | --program-transform=* | --program-transfor=* \ 9557d5e3a19Smrg | --program-transfo=* | --program-transf=* \ 9567d5e3a19Smrg | --program-trans=* | --program-tran=* \ 9577d5e3a19Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 9587d5e3a19Smrg program_transform_name=$ac_optarg ;; 9597d5e3a19Smrg 9607d5e3a19Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 9617d5e3a19Smrg ac_prev=pdfdir ;; 9627d5e3a19Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 9637d5e3a19Smrg pdfdir=$ac_optarg ;; 9647d5e3a19Smrg 9657d5e3a19Smrg -psdir | --psdir | --psdi | --psd | --ps) 9667d5e3a19Smrg ac_prev=psdir ;; 9677d5e3a19Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 9687d5e3a19Smrg psdir=$ac_optarg ;; 9697d5e3a19Smrg 9707d5e3a19Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9717d5e3a19Smrg | -silent | --silent | --silen | --sile | --sil) 9727d5e3a19Smrg silent=yes ;; 9737d5e3a19Smrg 9747d5e3a19Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 9757d5e3a19Smrg ac_prev=sbindir ;; 9767d5e3a19Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 9777d5e3a19Smrg | --sbi=* | --sb=*) 9787d5e3a19Smrg sbindir=$ac_optarg ;; 9797d5e3a19Smrg 9807d5e3a19Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 9817d5e3a19Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 9827d5e3a19Smrg | --sharedst | --shareds | --shared | --share | --shar \ 9837d5e3a19Smrg | --sha | --sh) 9847d5e3a19Smrg ac_prev=sharedstatedir ;; 9857d5e3a19Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 9867d5e3a19Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 9877d5e3a19Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 9887d5e3a19Smrg | --sha=* | --sh=*) 9897d5e3a19Smrg sharedstatedir=$ac_optarg ;; 9907d5e3a19Smrg 9917d5e3a19Smrg -site | --site | --sit) 9927d5e3a19Smrg ac_prev=site ;; 9937d5e3a19Smrg -site=* | --site=* | --sit=*) 9947d5e3a19Smrg site=$ac_optarg ;; 9957d5e3a19Smrg 9967d5e3a19Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 9977d5e3a19Smrg ac_prev=srcdir ;; 9987d5e3a19Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 9997d5e3a19Smrg srcdir=$ac_optarg ;; 10007d5e3a19Smrg 10017d5e3a19Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10027d5e3a19Smrg | --syscon | --sysco | --sysc | --sys | --sy) 10037d5e3a19Smrg ac_prev=sysconfdir ;; 10047d5e3a19Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10057d5e3a19Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10067d5e3a19Smrg sysconfdir=$ac_optarg ;; 10077d5e3a19Smrg 10087d5e3a19Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 10097d5e3a19Smrg ac_prev=target_alias ;; 10107d5e3a19Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10117d5e3a19Smrg target_alias=$ac_optarg ;; 10127d5e3a19Smrg 10137d5e3a19Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 10147d5e3a19Smrg verbose=yes ;; 10157d5e3a19Smrg 10167d5e3a19Smrg -version | --version | --versio | --versi | --vers | -V) 10177d5e3a19Smrg ac_init_version=: ;; 10187d5e3a19Smrg 10197d5e3a19Smrg -with-* | --with-*) 10207d5e3a19Smrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10217d5e3a19Smrg # Reject names that are not valid shell variable names. 10227d5e3a19Smrg expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 10237d5e3a19Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 10247d5e3a19Smrg { (exit 1); exit 1; }; } 10257d5e3a19Smrg ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 10267d5e3a19Smrg eval with_$ac_package=\$ac_optarg ;; 10277d5e3a19Smrg 10287d5e3a19Smrg -without-* | --without-*) 10297d5e3a19Smrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 10307d5e3a19Smrg # Reject names that are not valid shell variable names. 10317d5e3a19Smrg expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 10327d5e3a19Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 10337d5e3a19Smrg { (exit 1); exit 1; }; } 10347d5e3a19Smrg ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 10357d5e3a19Smrg eval with_$ac_package=no ;; 10367d5e3a19Smrg 10377d5e3a19Smrg --x) 10387d5e3a19Smrg # Obsolete; use --with-x. 10397d5e3a19Smrg with_x=yes ;; 10407d5e3a19Smrg 10417d5e3a19Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 10427d5e3a19Smrg | --x-incl | --x-inc | --x-in | --x-i) 10437d5e3a19Smrg ac_prev=x_includes ;; 10447d5e3a19Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 10457d5e3a19Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 10467d5e3a19Smrg x_includes=$ac_optarg ;; 10477d5e3a19Smrg 10487d5e3a19Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 10497d5e3a19Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 10507d5e3a19Smrg ac_prev=x_libraries ;; 10517d5e3a19Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 10527d5e3a19Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 10537d5e3a19Smrg x_libraries=$ac_optarg ;; 10547d5e3a19Smrg 10557d5e3a19Smrg -*) { echo "$as_me: error: unrecognized option: $ac_option 10567d5e3a19SmrgTry \`$0 --help' for more information." >&2 10577d5e3a19Smrg { (exit 1); exit 1; }; } 10587d5e3a19Smrg ;; 10597d5e3a19Smrg 10607d5e3a19Smrg *=*) 10617d5e3a19Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 10627d5e3a19Smrg # Reject names that are not valid shell variable names. 10637d5e3a19Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 10647d5e3a19Smrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 10657d5e3a19Smrg { (exit 1); exit 1; }; } 10667d5e3a19Smrg eval $ac_envvar=\$ac_optarg 10677d5e3a19Smrg export $ac_envvar ;; 10687d5e3a19Smrg 10697d5e3a19Smrg *) 10707d5e3a19Smrg # FIXME: should be removed in autoconf 3.0. 10717d5e3a19Smrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 10727d5e3a19Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 10737d5e3a19Smrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 10747d5e3a19Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 10757d5e3a19Smrg ;; 10767d5e3a19Smrg 10777d5e3a19Smrg esac 10787d5e3a19Smrgdone 10797d5e3a19Smrg 10807d5e3a19Smrgif test -n "$ac_prev"; then 10817d5e3a19Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 10827d5e3a19Smrg { echo "$as_me: error: missing argument to $ac_option" >&2 10837d5e3a19Smrg { (exit 1); exit 1; }; } 10847d5e3a19Smrgfi 10857d5e3a19Smrg 10867d5e3a19Smrg# Be sure to have absolute directory names. 10877d5e3a19Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 10887d5e3a19Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 10897d5e3a19Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 10907d5e3a19Smrg libdir localedir mandir 10917d5e3a19Smrgdo 10927d5e3a19Smrg eval ac_val=\$$ac_var 10937d5e3a19Smrg case $ac_val in 10947d5e3a19Smrg [\\/$]* | ?:[\\/]* ) continue;; 10957d5e3a19Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 10967d5e3a19Smrg esac 10977d5e3a19Smrg { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 10987d5e3a19Smrg { (exit 1); exit 1; }; } 10997d5e3a19Smrgdone 11007d5e3a19Smrg 11017d5e3a19Smrg# There might be people who depend on the old broken behavior: `$host' 11027d5e3a19Smrg# used to hold the argument of --host etc. 11037d5e3a19Smrg# FIXME: To remove some day. 11047d5e3a19Smrgbuild=$build_alias 11057d5e3a19Smrghost=$host_alias 11067d5e3a19Smrgtarget=$target_alias 11077d5e3a19Smrg 11087d5e3a19Smrg# FIXME: To remove some day. 11097d5e3a19Smrgif test "x$host_alias" != x; then 11107d5e3a19Smrg if test "x$build_alias" = x; then 11117d5e3a19Smrg cross_compiling=maybe 11127d5e3a19Smrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 11137d5e3a19Smrg If a cross compiler is detected then cross compile mode will be used." >&2 11147d5e3a19Smrg elif test "x$build_alias" != "x$host_alias"; then 11157d5e3a19Smrg cross_compiling=yes 11167d5e3a19Smrg fi 11177d5e3a19Smrgfi 11187d5e3a19Smrg 11197d5e3a19Smrgac_tool_prefix= 11207d5e3a19Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 11217d5e3a19Smrg 11227d5e3a19Smrgtest "$silent" = yes && exec 6>/dev/null 11237d5e3a19Smrg 11247d5e3a19Smrg 11257d5e3a19Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 11267d5e3a19Smrgac_ls_di=`ls -di .` && 11277d5e3a19Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 11287d5e3a19Smrg { echo "$as_me: error: Working directory cannot be determined" >&2 11297d5e3a19Smrg { (exit 1); exit 1; }; } 11307d5e3a19Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 11317d5e3a19Smrg { echo "$as_me: error: pwd does not report name of working directory" >&2 11327d5e3a19Smrg { (exit 1); exit 1; }; } 11337d5e3a19Smrg 11347d5e3a19Smrg 11357d5e3a19Smrg# Find the source files, if location was not specified. 11367d5e3a19Smrgif test -z "$srcdir"; then 11377d5e3a19Smrg ac_srcdir_defaulted=yes 11387d5e3a19Smrg # Try the directory containing this script, then the parent directory. 11397d5e3a19Smrg ac_confdir=`$as_dirname -- "$0" || 11407d5e3a19Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11417d5e3a19Smrg X"$0" : 'X\(//\)[^/]' \| \ 11427d5e3a19Smrg X"$0" : 'X\(//\)$' \| \ 11437d5e3a19Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 11447d5e3a19Smrgecho X"$0" | 11457d5e3a19Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11467d5e3a19Smrg s//\1/ 11477d5e3a19Smrg q 11487d5e3a19Smrg } 11497d5e3a19Smrg /^X\(\/\/\)[^/].*/{ 11507d5e3a19Smrg s//\1/ 11517d5e3a19Smrg q 11527d5e3a19Smrg } 11537d5e3a19Smrg /^X\(\/\/\)$/{ 11547d5e3a19Smrg s//\1/ 11557d5e3a19Smrg q 11567d5e3a19Smrg } 11577d5e3a19Smrg /^X\(\/\).*/{ 11587d5e3a19Smrg s//\1/ 11597d5e3a19Smrg q 11607d5e3a19Smrg } 11617d5e3a19Smrg s/.*/./; q'` 11627d5e3a19Smrg srcdir=$ac_confdir 11637d5e3a19Smrg if test ! -r "$srcdir/$ac_unique_file"; then 11647d5e3a19Smrg srcdir=.. 11657d5e3a19Smrg fi 11667d5e3a19Smrgelse 11677d5e3a19Smrg ac_srcdir_defaulted=no 11687d5e3a19Smrgfi 11697d5e3a19Smrgif test ! -r "$srcdir/$ac_unique_file"; then 11707d5e3a19Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 11717d5e3a19Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 11727d5e3a19Smrg { (exit 1); exit 1; }; } 11737d5e3a19Smrgfi 11747d5e3a19Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 11757d5e3a19Smrgac_abs_confdir=`( 11767d5e3a19Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 11777d5e3a19Smrg { (exit 1); exit 1; }; } 11787d5e3a19Smrg pwd)` 11797d5e3a19Smrg# When building in place, set srcdir=. 11807d5e3a19Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 11817d5e3a19Smrg srcdir=. 11827d5e3a19Smrgfi 11837d5e3a19Smrg# Remove unnecessary trailing slashes from srcdir. 11847d5e3a19Smrg# Double slashes in file names in object file debugging info 11857d5e3a19Smrg# mess up M-x gdb in Emacs. 11867d5e3a19Smrgcase $srcdir in 11877d5e3a19Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 11887d5e3a19Smrgesac 11897d5e3a19Smrgfor ac_var in $ac_precious_vars; do 11907d5e3a19Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 11917d5e3a19Smrg eval ac_env_${ac_var}_value=\$${ac_var} 11927d5e3a19Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 11937d5e3a19Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 11947d5e3a19Smrgdone 11957d5e3a19Smrg 11967d5e3a19Smrg# 11977d5e3a19Smrg# Report the --help message. 11987d5e3a19Smrg# 11997d5e3a19Smrgif test "$ac_init_help" = "long"; then 12007d5e3a19Smrg # Omit some internal or obsolete options to make the list less imposing. 12017d5e3a19Smrg # This message is too long to be a string in the A/UX 3.1 sh. 12027d5e3a19Smrg cat <<_ACEOF 12037d5e3a19Smrg\`configure' configures setxkbmap 1.0.4 to adapt to many kinds of systems. 12047d5e3a19Smrg 12057d5e3a19SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 12067d5e3a19Smrg 12077d5e3a19SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 12087d5e3a19SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 12097d5e3a19Smrg 12107d5e3a19SmrgDefaults for the options are specified in brackets. 12117d5e3a19Smrg 12127d5e3a19SmrgConfiguration: 12137d5e3a19Smrg -h, --help display this help and exit 12147d5e3a19Smrg --help=short display options specific to this package 12157d5e3a19Smrg --help=recursive display the short help of all the included packages 12167d5e3a19Smrg -V, --version display version information and exit 12177d5e3a19Smrg -q, --quiet, --silent do not print \`checking...' messages 12187d5e3a19Smrg --cache-file=FILE cache test results in FILE [disabled] 12197d5e3a19Smrg -C, --config-cache alias for \`--cache-file=config.cache' 12207d5e3a19Smrg -n, --no-create do not create output files 12217d5e3a19Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 12227d5e3a19Smrg 12237d5e3a19SmrgInstallation directories: 12247d5e3a19Smrg --prefix=PREFIX install architecture-independent files in PREFIX 12257d5e3a19Smrg [$ac_default_prefix] 12267d5e3a19Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 12277d5e3a19Smrg [PREFIX] 12287d5e3a19Smrg 12297d5e3a19SmrgBy default, \`make install' will install all the files in 12307d5e3a19Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 12317d5e3a19Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 12327d5e3a19Smrgfor instance \`--prefix=\$HOME'. 12337d5e3a19Smrg 12347d5e3a19SmrgFor better control, use the options below. 12357d5e3a19Smrg 12367d5e3a19SmrgFine tuning of the installation directories: 12377d5e3a19Smrg --bindir=DIR user executables [EPREFIX/bin] 12387d5e3a19Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 12397d5e3a19Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 12407d5e3a19Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 12417d5e3a19Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 12427d5e3a19Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 12437d5e3a19Smrg --libdir=DIR object code libraries [EPREFIX/lib] 12447d5e3a19Smrg --includedir=DIR C header files [PREFIX/include] 12457d5e3a19Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 12467d5e3a19Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 12477d5e3a19Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 12487d5e3a19Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 12497d5e3a19Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 12507d5e3a19Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 12517d5e3a19Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/setxkbmap] 12527d5e3a19Smrg --htmldir=DIR html documentation [DOCDIR] 12537d5e3a19Smrg --dvidir=DIR dvi documentation [DOCDIR] 12547d5e3a19Smrg --pdfdir=DIR pdf documentation [DOCDIR] 12557d5e3a19Smrg --psdir=DIR ps documentation [DOCDIR] 12567d5e3a19Smrg_ACEOF 12577d5e3a19Smrg 12587d5e3a19Smrg cat <<\_ACEOF 12597d5e3a19Smrg 12607d5e3a19SmrgProgram names: 12617d5e3a19Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 12627d5e3a19Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 12637d5e3a19Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 12647d5e3a19Smrg 12657d5e3a19SmrgSystem types: 12667d5e3a19Smrg --build=BUILD configure for building on BUILD [guessed] 12677d5e3a19Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 12687d5e3a19Smrg_ACEOF 12697d5e3a19Smrgfi 12707d5e3a19Smrg 12717d5e3a19Smrgif test -n "$ac_init_help"; then 12727d5e3a19Smrg case $ac_init_help in 12737d5e3a19Smrg short | recursive ) echo "Configuration of setxkbmap 1.0.4:";; 12747d5e3a19Smrg esac 12757d5e3a19Smrg cat <<\_ACEOF 12767d5e3a19Smrg 12777d5e3a19SmrgOptional Features: 12787d5e3a19Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 12797d5e3a19Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 12807d5e3a19Smrg --enable-maintainer-mode enable make rules and dependencies not useful 12817d5e3a19Smrg (and sometimes confusing) to the casual installer 12827d5e3a19Smrg --disable-dependency-tracking speeds up one-time build 12837d5e3a19Smrg --enable-dependency-tracking do not reject slow dependency extractors 12847d5e3a19Smrg 12857d5e3a19SmrgOptional Packages: 12867d5e3a19Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 12877d5e3a19Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 12887d5e3a19Smrg --with-xkb-config-root=<paths> 12897d5e3a19Smrg Set default XKB config root (default: 12907d5e3a19Smrg ${datadir}/X11/xkb) 12917d5e3a19Smrg --with-lint Use a lint-style source code checker (default: 12927d5e3a19Smrg disabled) 12937d5e3a19Smrg --with-release-version=STRING 12947d5e3a19Smrg Use release version string in package name 12957d5e3a19Smrg 12967d5e3a19SmrgSome influential environment variables: 12977d5e3a19Smrg CC C compiler command 12987d5e3a19Smrg CFLAGS C compiler flags 12997d5e3a19Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13007d5e3a19Smrg nonstandard directory <lib dir> 13017d5e3a19Smrg LIBS libraries to pass to the linker, e.g. -l<library> 13027d5e3a19Smrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 13037d5e3a19Smrg you have headers in a nonstandard directory <include dir> 13047d5e3a19Smrg PKG_CONFIG path to pkg-config utility 13057d5e3a19Smrg SETXKBMAP_CFLAGS 13067d5e3a19Smrg C compiler flags for SETXKBMAP, overriding pkg-config 13077d5e3a19Smrg SETXKBMAP_LIBS 13087d5e3a19Smrg linker flags for SETXKBMAP, overriding pkg-config 13097d5e3a19Smrg 13107d5e3a19SmrgUse these variables to override the choices made by `configure' or to help 13117d5e3a19Smrgit to find libraries and programs with nonstandard names/locations. 13127d5e3a19Smrg 13137d5e3a19SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 13147d5e3a19Smrg_ACEOF 13157d5e3a19Smrgac_status=$? 13167d5e3a19Smrgfi 13177d5e3a19Smrg 13187d5e3a19Smrgif test "$ac_init_help" = "recursive"; then 13197d5e3a19Smrg # If there are subdirs, report their specific --help. 13207d5e3a19Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13217d5e3a19Smrg test -d "$ac_dir" || continue 13227d5e3a19Smrg ac_builddir=. 13237d5e3a19Smrg 13247d5e3a19Smrgcase "$ac_dir" in 13257d5e3a19Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13267d5e3a19Smrg*) 13277d5e3a19Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 13287d5e3a19Smrg # A ".." for each directory in $ac_dir_suffix. 13297d5e3a19Smrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 13307d5e3a19Smrg case $ac_top_builddir_sub in 13317d5e3a19Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13327d5e3a19Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13337d5e3a19Smrg esac ;; 13347d5e3a19Smrgesac 13357d5e3a19Smrgac_abs_top_builddir=$ac_pwd 13367d5e3a19Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 13377d5e3a19Smrg# for backward compatibility: 13387d5e3a19Smrgac_top_builddir=$ac_top_build_prefix 13397d5e3a19Smrg 13407d5e3a19Smrgcase $srcdir in 13417d5e3a19Smrg .) # We are building in place. 13427d5e3a19Smrg ac_srcdir=. 13437d5e3a19Smrg ac_top_srcdir=$ac_top_builddir_sub 13447d5e3a19Smrg ac_abs_top_srcdir=$ac_pwd ;; 13457d5e3a19Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 13467d5e3a19Smrg ac_srcdir=$srcdir$ac_dir_suffix; 13477d5e3a19Smrg ac_top_srcdir=$srcdir 13487d5e3a19Smrg ac_abs_top_srcdir=$srcdir ;; 13497d5e3a19Smrg *) # Relative name. 13507d5e3a19Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13517d5e3a19Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 13527d5e3a19Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13537d5e3a19Smrgesac 13547d5e3a19Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13557d5e3a19Smrg 13567d5e3a19Smrg cd "$ac_dir" || { ac_status=$?; continue; } 13577d5e3a19Smrg # Check for guested configure. 13587d5e3a19Smrg if test -f "$ac_srcdir/configure.gnu"; then 13597d5e3a19Smrg echo && 13607d5e3a19Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 13617d5e3a19Smrg elif test -f "$ac_srcdir/configure"; then 13627d5e3a19Smrg echo && 13637d5e3a19Smrg $SHELL "$ac_srcdir/configure" --help=recursive 13647d5e3a19Smrg else 13657d5e3a19Smrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 13667d5e3a19Smrg fi || ac_status=$? 13677d5e3a19Smrg cd "$ac_pwd" || { ac_status=$?; break; } 13687d5e3a19Smrg done 13697d5e3a19Smrgfi 13707d5e3a19Smrg 13717d5e3a19Smrgtest -n "$ac_init_help" && exit $ac_status 13727d5e3a19Smrgif $ac_init_version; then 13737d5e3a19Smrg cat <<\_ACEOF 13747d5e3a19Smrgsetxkbmap configure 1.0.4 13757d5e3a19Smrggenerated by GNU Autoconf 2.61 13767d5e3a19Smrg 13777d5e3a19SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 13787d5e3a19Smrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 13797d5e3a19SmrgThis configure script is free software; the Free Software Foundation 13807d5e3a19Smrggives unlimited permission to copy, distribute and modify it. 13817d5e3a19Smrg_ACEOF 13827d5e3a19Smrg exit 13837d5e3a19Smrgfi 13847d5e3a19Smrgcat >config.log <<_ACEOF 13857d5e3a19SmrgThis file contains any messages produced by compilers while 13867d5e3a19Smrgrunning configure, to aid debugging if configure makes a mistake. 13877d5e3a19Smrg 13887d5e3a19SmrgIt was created by setxkbmap $as_me 1.0.4, which was 13897d5e3a19Smrggenerated by GNU Autoconf 2.61. Invocation command line was 13907d5e3a19Smrg 13917d5e3a19Smrg $ $0 $@ 13927d5e3a19Smrg 13937d5e3a19Smrg_ACEOF 13947d5e3a19Smrgexec 5>>config.log 13957d5e3a19Smrg{ 13967d5e3a19Smrgcat <<_ASUNAME 13977d5e3a19Smrg## --------- ## 13987d5e3a19Smrg## Platform. ## 13997d5e3a19Smrg## --------- ## 14007d5e3a19Smrg 14017d5e3a19Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 14027d5e3a19Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 14037d5e3a19Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 14047d5e3a19Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 14057d5e3a19Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 14067d5e3a19Smrg 14077d5e3a19Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 14087d5e3a19Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 14097d5e3a19Smrg 14107d5e3a19Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 14117d5e3a19Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 14127d5e3a19Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 14137d5e3a19Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 14147d5e3a19Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 14157d5e3a19Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 14167d5e3a19Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 14177d5e3a19Smrg 14187d5e3a19Smrg_ASUNAME 14197d5e3a19Smrg 14207d5e3a19Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14217d5e3a19Smrgfor as_dir in $PATH 14227d5e3a19Smrgdo 14237d5e3a19Smrg IFS=$as_save_IFS 14247d5e3a19Smrg test -z "$as_dir" && as_dir=. 14257d5e3a19Smrg echo "PATH: $as_dir" 14267d5e3a19Smrgdone 14277d5e3a19SmrgIFS=$as_save_IFS 14287d5e3a19Smrg 14297d5e3a19Smrg} >&5 14307d5e3a19Smrg 14317d5e3a19Smrgcat >&5 <<_ACEOF 14327d5e3a19Smrg 14337d5e3a19Smrg 14347d5e3a19Smrg## ----------- ## 14357d5e3a19Smrg## Core tests. ## 14367d5e3a19Smrg## ----------- ## 14377d5e3a19Smrg 14387d5e3a19Smrg_ACEOF 14397d5e3a19Smrg 14407d5e3a19Smrg 14417d5e3a19Smrg# Keep a trace of the command line. 14427d5e3a19Smrg# Strip out --no-create and --no-recursion so they do not pile up. 14437d5e3a19Smrg# Strip out --silent because we don't want to record it for future runs. 14447d5e3a19Smrg# Also quote any args containing shell meta-characters. 14457d5e3a19Smrg# Make two passes to allow for proper duplicate-argument suppression. 14467d5e3a19Smrgac_configure_args= 14477d5e3a19Smrgac_configure_args0= 14487d5e3a19Smrgac_configure_args1= 14497d5e3a19Smrgac_must_keep_next=false 14507d5e3a19Smrgfor ac_pass in 1 2 14517d5e3a19Smrgdo 14527d5e3a19Smrg for ac_arg 14537d5e3a19Smrg do 14547d5e3a19Smrg case $ac_arg in 14557d5e3a19Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 14567d5e3a19Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14577d5e3a19Smrg | -silent | --silent | --silen | --sile | --sil) 14587d5e3a19Smrg continue ;; 14597d5e3a19Smrg *\'*) 14607d5e3a19Smrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 14617d5e3a19Smrg esac 14627d5e3a19Smrg case $ac_pass in 14637d5e3a19Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 14647d5e3a19Smrg 2) 14657d5e3a19Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 14667d5e3a19Smrg if test $ac_must_keep_next = true; then 14677d5e3a19Smrg ac_must_keep_next=false # Got value, back to normal. 14687d5e3a19Smrg else 14697d5e3a19Smrg case $ac_arg in 14707d5e3a19Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 14717d5e3a19Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 14727d5e3a19Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 14737d5e3a19Smrg | -with-* | --with-* | -without-* | --without-* | --x) 14747d5e3a19Smrg case "$ac_configure_args0 " in 14757d5e3a19Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 14767d5e3a19Smrg esac 14777d5e3a19Smrg ;; 14787d5e3a19Smrg -* ) ac_must_keep_next=true ;; 14797d5e3a19Smrg esac 14807d5e3a19Smrg fi 14817d5e3a19Smrg ac_configure_args="$ac_configure_args '$ac_arg'" 14827d5e3a19Smrg ;; 14837d5e3a19Smrg esac 14847d5e3a19Smrg done 14857d5e3a19Smrgdone 14867d5e3a19Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 14877d5e3a19Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 14887d5e3a19Smrg 14897d5e3a19Smrg# When interrupted or exit'd, cleanup temporary files, and complete 14907d5e3a19Smrg# config.log. We remove comments because anyway the quotes in there 14917d5e3a19Smrg# would cause problems or look ugly. 14927d5e3a19Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 14937d5e3a19Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 14947d5e3a19Smrgtrap 'exit_status=$? 14957d5e3a19Smrg # Save into config.log some information that might help in debugging. 14967d5e3a19Smrg { 14977d5e3a19Smrg echo 14987d5e3a19Smrg 14997d5e3a19Smrg cat <<\_ASBOX 15007d5e3a19Smrg## ---------------- ## 15017d5e3a19Smrg## Cache variables. ## 15027d5e3a19Smrg## ---------------- ## 15037d5e3a19Smrg_ASBOX 15047d5e3a19Smrg echo 15057d5e3a19Smrg # The following way of writing the cache mishandles newlines in values, 15067d5e3a19Smrg( 15077d5e3a19Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 15087d5e3a19Smrg eval ac_val=\$$ac_var 15097d5e3a19Smrg case $ac_val in #( 15107d5e3a19Smrg *${as_nl}*) 15117d5e3a19Smrg case $ac_var in #( 15127d5e3a19Smrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 15137d5e3a19Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 15147d5e3a19Smrg esac 15157d5e3a19Smrg case $ac_var in #( 15167d5e3a19Smrg _ | IFS | as_nl) ;; #( 15177d5e3a19Smrg *) $as_unset $ac_var ;; 15187d5e3a19Smrg esac ;; 15197d5e3a19Smrg esac 15207d5e3a19Smrg done 15217d5e3a19Smrg (set) 2>&1 | 15227d5e3a19Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 15237d5e3a19Smrg *${as_nl}ac_space=\ *) 15247d5e3a19Smrg sed -n \ 15257d5e3a19Smrg "s/'\''/'\''\\\\'\'''\''/g; 15267d5e3a19Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 15277d5e3a19Smrg ;; #( 15287d5e3a19Smrg *) 15297d5e3a19Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 15307d5e3a19Smrg ;; 15317d5e3a19Smrg esac | 15327d5e3a19Smrg sort 15337d5e3a19Smrg) 15347d5e3a19Smrg echo 15357d5e3a19Smrg 15367d5e3a19Smrg cat <<\_ASBOX 15377d5e3a19Smrg## ----------------- ## 15387d5e3a19Smrg## Output variables. ## 15397d5e3a19Smrg## ----------------- ## 15407d5e3a19Smrg_ASBOX 15417d5e3a19Smrg echo 15427d5e3a19Smrg for ac_var in $ac_subst_vars 15437d5e3a19Smrg do 15447d5e3a19Smrg eval ac_val=\$$ac_var 15457d5e3a19Smrg case $ac_val in 15467d5e3a19Smrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 15477d5e3a19Smrg esac 15487d5e3a19Smrg echo "$ac_var='\''$ac_val'\''" 15497d5e3a19Smrg done | sort 15507d5e3a19Smrg echo 15517d5e3a19Smrg 15527d5e3a19Smrg if test -n "$ac_subst_files"; then 15537d5e3a19Smrg cat <<\_ASBOX 15547d5e3a19Smrg## ------------------- ## 15557d5e3a19Smrg## File substitutions. ## 15567d5e3a19Smrg## ------------------- ## 15577d5e3a19Smrg_ASBOX 15587d5e3a19Smrg echo 15597d5e3a19Smrg for ac_var in $ac_subst_files 15607d5e3a19Smrg do 15617d5e3a19Smrg eval ac_val=\$$ac_var 15627d5e3a19Smrg case $ac_val in 15637d5e3a19Smrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 15647d5e3a19Smrg esac 15657d5e3a19Smrg echo "$ac_var='\''$ac_val'\''" 15667d5e3a19Smrg done | sort 15677d5e3a19Smrg echo 15687d5e3a19Smrg fi 15697d5e3a19Smrg 15707d5e3a19Smrg if test -s confdefs.h; then 15717d5e3a19Smrg cat <<\_ASBOX 15727d5e3a19Smrg## ----------- ## 15737d5e3a19Smrg## confdefs.h. ## 15747d5e3a19Smrg## ----------- ## 15757d5e3a19Smrg_ASBOX 15767d5e3a19Smrg echo 15777d5e3a19Smrg cat confdefs.h 15787d5e3a19Smrg echo 15797d5e3a19Smrg fi 15807d5e3a19Smrg test "$ac_signal" != 0 && 15817d5e3a19Smrg echo "$as_me: caught signal $ac_signal" 15827d5e3a19Smrg echo "$as_me: exit $exit_status" 15837d5e3a19Smrg } >&5 15847d5e3a19Smrg rm -f core *.core core.conftest.* && 15857d5e3a19Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 15867d5e3a19Smrg exit $exit_status 15877d5e3a19Smrg' 0 15887d5e3a19Smrgfor ac_signal in 1 2 13 15; do 15897d5e3a19Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 15907d5e3a19Smrgdone 15917d5e3a19Smrgac_signal=0 15927d5e3a19Smrg 15937d5e3a19Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 15947d5e3a19Smrgrm -f -r conftest* confdefs.h 15957d5e3a19Smrg 15967d5e3a19Smrg# Predefined preprocessor variables. 15977d5e3a19Smrg 15987d5e3a19Smrgcat >>confdefs.h <<_ACEOF 15997d5e3a19Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 16007d5e3a19Smrg_ACEOF 16017d5e3a19Smrg 16027d5e3a19Smrg 16037d5e3a19Smrgcat >>confdefs.h <<_ACEOF 16047d5e3a19Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 16057d5e3a19Smrg_ACEOF 16067d5e3a19Smrg 16077d5e3a19Smrg 16087d5e3a19Smrgcat >>confdefs.h <<_ACEOF 16097d5e3a19Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 16107d5e3a19Smrg_ACEOF 16117d5e3a19Smrg 16127d5e3a19Smrg 16137d5e3a19Smrgcat >>confdefs.h <<_ACEOF 16147d5e3a19Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 16157d5e3a19Smrg_ACEOF 16167d5e3a19Smrg 16177d5e3a19Smrg 16187d5e3a19Smrgcat >>confdefs.h <<_ACEOF 16197d5e3a19Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 16207d5e3a19Smrg_ACEOF 16217d5e3a19Smrg 16227d5e3a19Smrg 16237d5e3a19Smrg# Let the site file select an alternate cache file if it wants to. 16247d5e3a19Smrg# Prefer explicitly selected file to automatically selected ones. 16257d5e3a19Smrgif test -n "$CONFIG_SITE"; then 16267d5e3a19Smrg set x "$CONFIG_SITE" 16277d5e3a19Smrgelif test "x$prefix" != xNONE; then 16287d5e3a19Smrg set x "$prefix/share/config.site" "$prefix/etc/config.site" 16297d5e3a19Smrgelse 16307d5e3a19Smrg set x "$ac_default_prefix/share/config.site" \ 16317d5e3a19Smrg "$ac_default_prefix/etc/config.site" 16327d5e3a19Smrgfi 16337d5e3a19Smrgshift 16347d5e3a19Smrgfor ac_site_file 16357d5e3a19Smrgdo 16367d5e3a19Smrg if test -r "$ac_site_file"; then 16377d5e3a19Smrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 16387d5e3a19Smrgecho "$as_me: loading site script $ac_site_file" >&6;} 16397d5e3a19Smrg sed 's/^/| /' "$ac_site_file" >&5 16407d5e3a19Smrg . "$ac_site_file" 16417d5e3a19Smrg fi 16427d5e3a19Smrgdone 16437d5e3a19Smrg 16447d5e3a19Smrgif test -r "$cache_file"; then 16457d5e3a19Smrg # Some versions of bash will fail to source /dev/null (special 16467d5e3a19Smrg # files actually), so we avoid doing that. 16477d5e3a19Smrg if test -f "$cache_file"; then 16487d5e3a19Smrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 16497d5e3a19Smrgecho "$as_me: loading cache $cache_file" >&6;} 16507d5e3a19Smrg case $cache_file in 16517d5e3a19Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 16527d5e3a19Smrg *) . "./$cache_file";; 16537d5e3a19Smrg esac 16547d5e3a19Smrg fi 16557d5e3a19Smrgelse 16567d5e3a19Smrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 16577d5e3a19Smrgecho "$as_me: creating cache $cache_file" >&6;} 16587d5e3a19Smrg >$cache_file 16597d5e3a19Smrgfi 16607d5e3a19Smrg 16617d5e3a19Smrg# Check that the precious variables saved in the cache have kept the same 16627d5e3a19Smrg# value. 16637d5e3a19Smrgac_cache_corrupted=false 16647d5e3a19Smrgfor ac_var in $ac_precious_vars; do 16657d5e3a19Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 16667d5e3a19Smrg eval ac_new_set=\$ac_env_${ac_var}_set 16677d5e3a19Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 16687d5e3a19Smrg eval ac_new_val=\$ac_env_${ac_var}_value 16697d5e3a19Smrg case $ac_old_set,$ac_new_set in 16707d5e3a19Smrg set,) 16717d5e3a19Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 16727d5e3a19Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 16737d5e3a19Smrg ac_cache_corrupted=: ;; 16747d5e3a19Smrg ,set) 16757d5e3a19Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 16767d5e3a19Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 16777d5e3a19Smrg ac_cache_corrupted=: ;; 16787d5e3a19Smrg ,);; 16797d5e3a19Smrg *) 16807d5e3a19Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 16817d5e3a19Smrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 16827d5e3a19Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 16837d5e3a19Smrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 16847d5e3a19Smrgecho "$as_me: former value: $ac_old_val" >&2;} 16857d5e3a19Smrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 16867d5e3a19Smrgecho "$as_me: current value: $ac_new_val" >&2;} 16877d5e3a19Smrg ac_cache_corrupted=: 16887d5e3a19Smrg fi;; 16897d5e3a19Smrg esac 16907d5e3a19Smrg # Pass precious variables to config.status. 16917d5e3a19Smrg if test "$ac_new_set" = set; then 16927d5e3a19Smrg case $ac_new_val in 16937d5e3a19Smrg *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 16947d5e3a19Smrg *) ac_arg=$ac_var=$ac_new_val ;; 16957d5e3a19Smrg esac 16967d5e3a19Smrg case " $ac_configure_args " in 16977d5e3a19Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 16987d5e3a19Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 16997d5e3a19Smrg esac 17007d5e3a19Smrg fi 17017d5e3a19Smrgdone 17027d5e3a19Smrgif $ac_cache_corrupted; then 17037d5e3a19Smrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 17047d5e3a19Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 17057d5e3a19Smrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 17067d5e3a19Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 17077d5e3a19Smrg { (exit 1); exit 1; }; } 17087d5e3a19Smrgfi 17097d5e3a19Smrg 17107d5e3a19Smrg 17117d5e3a19Smrg 17127d5e3a19Smrg 17137d5e3a19Smrg 17147d5e3a19Smrg 17157d5e3a19Smrg 17167d5e3a19Smrg 17177d5e3a19Smrg 17187d5e3a19Smrg 17197d5e3a19Smrg 17207d5e3a19Smrg 17217d5e3a19Smrg 17227d5e3a19Smrg 17237d5e3a19Smrg 17247d5e3a19Smrg 17257d5e3a19Smrg 17267d5e3a19Smrg 17277d5e3a19Smrg 17287d5e3a19Smrg 17297d5e3a19Smrg 17307d5e3a19Smrg 17317d5e3a19Smrg 17327d5e3a19Smrg 17337d5e3a19Smrg 17347d5e3a19Smrgac_ext=c 17357d5e3a19Smrgac_cpp='$CPP $CPPFLAGS' 17367d5e3a19Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17377d5e3a19Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17387d5e3a19Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 17397d5e3a19Smrg 17407d5e3a19Smrg 17417d5e3a19Smrgam__api_version='1.10' 17427d5e3a19Smrg 17437d5e3a19Smrgac_aux_dir= 17447d5e3a19Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 17457d5e3a19Smrg if test -f "$ac_dir/install-sh"; then 17467d5e3a19Smrg ac_aux_dir=$ac_dir 17477d5e3a19Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 17487d5e3a19Smrg break 17497d5e3a19Smrg elif test -f "$ac_dir/install.sh"; then 17507d5e3a19Smrg ac_aux_dir=$ac_dir 17517d5e3a19Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 17527d5e3a19Smrg break 17537d5e3a19Smrg elif test -f "$ac_dir/shtool"; then 17547d5e3a19Smrg ac_aux_dir=$ac_dir 17557d5e3a19Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 17567d5e3a19Smrg break 17577d5e3a19Smrg fi 17587d5e3a19Smrgdone 17597d5e3a19Smrgif test -z "$ac_aux_dir"; then 17607d5e3a19Smrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 17617d5e3a19Smrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 17627d5e3a19Smrg { (exit 1); exit 1; }; } 17637d5e3a19Smrgfi 17647d5e3a19Smrg 17657d5e3a19Smrg# These three variables are undocumented and unsupported, 17667d5e3a19Smrg# and are intended to be withdrawn in a future Autoconf release. 17677d5e3a19Smrg# They can cause serious problems if a builder's source tree is in a directory 17687d5e3a19Smrg# whose full name contains unusual characters. 17697d5e3a19Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 17707d5e3a19Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 17717d5e3a19Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 17727d5e3a19Smrg 17737d5e3a19Smrg 17747d5e3a19Smrg# Find a good install program. We prefer a C program (faster), 17757d5e3a19Smrg# so one script is as good as another. But avoid the broken or 17767d5e3a19Smrg# incompatible versions: 17777d5e3a19Smrg# SysV /etc/install, /usr/sbin/install 17787d5e3a19Smrg# SunOS /usr/etc/install 17797d5e3a19Smrg# IRIX /sbin/install 17807d5e3a19Smrg# AIX /bin/install 17817d5e3a19Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 17827d5e3a19Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 17837d5e3a19Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 17847d5e3a19Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 17857d5e3a19Smrg# OS/2's system install, which has a completely different semantic 17867d5e3a19Smrg# ./install, which can be erroneously created by make from ./install.sh. 17877d5e3a19Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 17887d5e3a19Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 17897d5e3a19Smrgif test -z "$INSTALL"; then 17907d5e3a19Smrgif test "${ac_cv_path_install+set}" = set; then 17917d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 17927d5e3a19Smrgelse 17937d5e3a19Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17947d5e3a19Smrgfor as_dir in $PATH 17957d5e3a19Smrgdo 17967d5e3a19Smrg IFS=$as_save_IFS 17977d5e3a19Smrg test -z "$as_dir" && as_dir=. 17987d5e3a19Smrg # Account for people who put trailing slashes in PATH elements. 17997d5e3a19Smrgcase $as_dir/ in 18007d5e3a19Smrg ./ | .// | /cC/* | \ 18017d5e3a19Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 18027d5e3a19Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 18037d5e3a19Smrg /usr/ucb/* ) ;; 18047d5e3a19Smrg *) 18057d5e3a19Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 18067d5e3a19Smrg # Don't use installbsd from OSF since it installs stuff as root 18077d5e3a19Smrg # by default. 18087d5e3a19Smrg for ac_prog in ginstall scoinst install; do 18097d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 18107d5e3a19Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 18117d5e3a19Smrg if test $ac_prog = install && 18127d5e3a19Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 18137d5e3a19Smrg # AIX install. It has an incompatible calling convention. 18147d5e3a19Smrg : 18157d5e3a19Smrg elif test $ac_prog = install && 18167d5e3a19Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 18177d5e3a19Smrg # program-specific install script used by HP pwplus--don't use. 18187d5e3a19Smrg : 18197d5e3a19Smrg else 18207d5e3a19Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 18217d5e3a19Smrg break 3 18227d5e3a19Smrg fi 18237d5e3a19Smrg fi 18247d5e3a19Smrg done 18257d5e3a19Smrg done 18267d5e3a19Smrg ;; 18277d5e3a19Smrgesac 18287d5e3a19Smrgdone 18297d5e3a19SmrgIFS=$as_save_IFS 18307d5e3a19Smrg 18317d5e3a19Smrg 18327d5e3a19Smrgfi 18337d5e3a19Smrg if test "${ac_cv_path_install+set}" = set; then 18347d5e3a19Smrg INSTALL=$ac_cv_path_install 18357d5e3a19Smrg else 18367d5e3a19Smrg # As a last resort, use the slow shell script. Don't cache a 18377d5e3a19Smrg # value for INSTALL within a source directory, because that will 18387d5e3a19Smrg # break other packages using the cache if that directory is 18397d5e3a19Smrg # removed, or if the value is a relative name. 18407d5e3a19Smrg INSTALL=$ac_install_sh 18417d5e3a19Smrg fi 18427d5e3a19Smrgfi 18437d5e3a19Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 18447d5e3a19Smrgecho "${ECHO_T}$INSTALL" >&6; } 18457d5e3a19Smrg 18467d5e3a19Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 18477d5e3a19Smrg# It thinks the first close brace ends the variable substitution. 18487d5e3a19Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 18497d5e3a19Smrg 18507d5e3a19Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 18517d5e3a19Smrg 18527d5e3a19Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 18537d5e3a19Smrg 18547d5e3a19Smrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 18557d5e3a19Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 18567d5e3a19Smrg# Just in case 18577d5e3a19Smrgsleep 1 18587d5e3a19Smrgecho timestamp > conftest.file 18597d5e3a19Smrg# Do `set' in a subshell so we don't clobber the current shell's 18607d5e3a19Smrg# arguments. Must try -L first in case configure is actually a 18617d5e3a19Smrg# symlink; some systems play weird games with the mod time of symlinks 18627d5e3a19Smrg# (eg FreeBSD returns the mod time of the symlink's containing 18637d5e3a19Smrg# directory). 18647d5e3a19Smrgif ( 18657d5e3a19Smrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 18667d5e3a19Smrg if test "$*" = "X"; then 18677d5e3a19Smrg # -L didn't work. 18687d5e3a19Smrg set X `ls -t $srcdir/configure conftest.file` 18697d5e3a19Smrg fi 18707d5e3a19Smrg rm -f conftest.file 18717d5e3a19Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 18727d5e3a19Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 18737d5e3a19Smrg 18747d5e3a19Smrg # If neither matched, then we have a broken ls. This can happen 18757d5e3a19Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 18767d5e3a19Smrg # broken ls alias from the environment. This has actually 18777d5e3a19Smrg # happened. Such a system could not be considered "sane". 18787d5e3a19Smrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 18797d5e3a19Smrgalias in your environment" >&5 18807d5e3a19Smrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 18817d5e3a19Smrgalias in your environment" >&2;} 18827d5e3a19Smrg { (exit 1); exit 1; }; } 18837d5e3a19Smrg fi 18847d5e3a19Smrg 18857d5e3a19Smrg test "$2" = conftest.file 18867d5e3a19Smrg ) 18877d5e3a19Smrgthen 18887d5e3a19Smrg # Ok. 18897d5e3a19Smrg : 18907d5e3a19Smrgelse 18917d5e3a19Smrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 18927d5e3a19SmrgCheck your system clock" >&5 18937d5e3a19Smrgecho "$as_me: error: newly created file is older than distributed files! 18947d5e3a19SmrgCheck your system clock" >&2;} 18957d5e3a19Smrg { (exit 1); exit 1; }; } 18967d5e3a19Smrgfi 18977d5e3a19Smrg{ echo "$as_me:$LINENO: result: yes" >&5 18987d5e3a19Smrgecho "${ECHO_T}yes" >&6; } 18997d5e3a19Smrgtest "$program_prefix" != NONE && 19007d5e3a19Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 19017d5e3a19Smrg# Use a double $ so make ignores it. 19027d5e3a19Smrgtest "$program_suffix" != NONE && 19037d5e3a19Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 19047d5e3a19Smrg# Double any \ or $. echo might interpret backslashes. 19057d5e3a19Smrg# By default was `s,x,x', remove it if useless. 19067d5e3a19Smrgcat <<\_ACEOF >conftest.sed 19077d5e3a19Smrgs/[\\$]/&&/g;s/;s,x,x,$// 19087d5e3a19Smrg_ACEOF 19097d5e3a19Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 19107d5e3a19Smrgrm -f conftest.sed 19117d5e3a19Smrg 19127d5e3a19Smrg# expand $ac_aux_dir to an absolute path 19137d5e3a19Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 19147d5e3a19Smrg 19157d5e3a19Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 19167d5e3a19Smrg# Use eval to expand $SHELL 19177d5e3a19Smrgif eval "$MISSING --run true"; then 19187d5e3a19Smrg am_missing_run="$MISSING --run " 19197d5e3a19Smrgelse 19207d5e3a19Smrg am_missing_run= 19217d5e3a19Smrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 19227d5e3a19Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 19237d5e3a19Smrgfi 19247d5e3a19Smrg 19257d5e3a19Smrg{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 19267d5e3a19Smrgecho $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 19277d5e3a19Smrgif test -z "$MKDIR_P"; then 19287d5e3a19Smrg if test "${ac_cv_path_mkdir+set}" = set; then 19297d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 19307d5e3a19Smrgelse 19317d5e3a19Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19327d5e3a19Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 19337d5e3a19Smrgdo 19347d5e3a19Smrg IFS=$as_save_IFS 19357d5e3a19Smrg test -z "$as_dir" && as_dir=. 19367d5e3a19Smrg for ac_prog in mkdir gmkdir; do 19377d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 19387d5e3a19Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 19397d5e3a19Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 19407d5e3a19Smrg 'mkdir (GNU coreutils) '* | \ 19417d5e3a19Smrg 'mkdir (coreutils) '* | \ 19427d5e3a19Smrg 'mkdir (fileutils) '4.1*) 19437d5e3a19Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 19447d5e3a19Smrg break 3;; 19457d5e3a19Smrg esac 19467d5e3a19Smrg done 19477d5e3a19Smrg done 19487d5e3a19Smrgdone 19497d5e3a19SmrgIFS=$as_save_IFS 19507d5e3a19Smrg 19517d5e3a19Smrgfi 19527d5e3a19Smrg 19537d5e3a19Smrg if test "${ac_cv_path_mkdir+set}" = set; then 19547d5e3a19Smrg MKDIR_P="$ac_cv_path_mkdir -p" 19557d5e3a19Smrg else 19567d5e3a19Smrg # As a last resort, use the slow shell script. Don't cache a 19577d5e3a19Smrg # value for MKDIR_P within a source directory, because that will 19587d5e3a19Smrg # break other packages using the cache if that directory is 19597d5e3a19Smrg # removed, or if the value is a relative name. 19607d5e3a19Smrg test -d ./--version && rmdir ./--version 19617d5e3a19Smrg MKDIR_P="$ac_install_sh -d" 19627d5e3a19Smrg fi 19637d5e3a19Smrgfi 19647d5e3a19Smrg{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 19657d5e3a19Smrgecho "${ECHO_T}$MKDIR_P" >&6; } 19667d5e3a19Smrg 19677d5e3a19Smrgmkdir_p="$MKDIR_P" 19687d5e3a19Smrgcase $mkdir_p in 19697d5e3a19Smrg [\\/$]* | ?:[\\/]*) ;; 19707d5e3a19Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 19717d5e3a19Smrgesac 19727d5e3a19Smrg 19737d5e3a19Smrgfor ac_prog in gawk mawk nawk awk 19747d5e3a19Smrgdo 19757d5e3a19Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 19767d5e3a19Smrgset dummy $ac_prog; ac_word=$2 19777d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19787d5e3a19Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19797d5e3a19Smrgif test "${ac_cv_prog_AWK+set}" = set; then 19807d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 19817d5e3a19Smrgelse 19827d5e3a19Smrg if test -n "$AWK"; then 19837d5e3a19Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 19847d5e3a19Smrgelse 19857d5e3a19Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19867d5e3a19Smrgfor as_dir in $PATH 19877d5e3a19Smrgdo 19887d5e3a19Smrg IFS=$as_save_IFS 19897d5e3a19Smrg test -z "$as_dir" && as_dir=. 19907d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 19917d5e3a19Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19927d5e3a19Smrg ac_cv_prog_AWK="$ac_prog" 19937d5e3a19Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19947d5e3a19Smrg break 2 19957d5e3a19Smrg fi 19967d5e3a19Smrgdone 19977d5e3a19Smrgdone 19987d5e3a19SmrgIFS=$as_save_IFS 19997d5e3a19Smrg 20007d5e3a19Smrgfi 20017d5e3a19Smrgfi 20027d5e3a19SmrgAWK=$ac_cv_prog_AWK 20037d5e3a19Smrgif test -n "$AWK"; then 20047d5e3a19Smrg { echo "$as_me:$LINENO: result: $AWK" >&5 20057d5e3a19Smrgecho "${ECHO_T}$AWK" >&6; } 20067d5e3a19Smrgelse 20077d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 20087d5e3a19Smrgecho "${ECHO_T}no" >&6; } 20097d5e3a19Smrgfi 20107d5e3a19Smrg 20117d5e3a19Smrg 20127d5e3a19Smrg test -n "$AWK" && break 20137d5e3a19Smrgdone 20147d5e3a19Smrg 20157d5e3a19Smrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 20167d5e3a19Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 20177d5e3a19Smrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 20187d5e3a19Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 20197d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 20207d5e3a19Smrgelse 20217d5e3a19Smrg cat >conftest.make <<\_ACEOF 20227d5e3a19SmrgSHELL = /bin/sh 20237d5e3a19Smrgall: 20247d5e3a19Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 20257d5e3a19Smrg_ACEOF 20267d5e3a19Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 20277d5e3a19Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 20287d5e3a19Smrg *@@@%%%=?*=@@@%%%*) 20297d5e3a19Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 20307d5e3a19Smrg *) 20317d5e3a19Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 20327d5e3a19Smrgesac 20337d5e3a19Smrgrm -f conftest.make 20347d5e3a19Smrgfi 20357d5e3a19Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 20367d5e3a19Smrg { echo "$as_me:$LINENO: result: yes" >&5 20377d5e3a19Smrgecho "${ECHO_T}yes" >&6; } 20387d5e3a19Smrg SET_MAKE= 20397d5e3a19Smrgelse 20407d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 20417d5e3a19Smrgecho "${ECHO_T}no" >&6; } 20427d5e3a19Smrg SET_MAKE="MAKE=${MAKE-make}" 20437d5e3a19Smrgfi 20447d5e3a19Smrg 20457d5e3a19Smrgrm -rf .tst 2>/dev/null 20467d5e3a19Smrgmkdir .tst 2>/dev/null 20477d5e3a19Smrgif test -d .tst; then 20487d5e3a19Smrg am__leading_dot=. 20497d5e3a19Smrgelse 20507d5e3a19Smrg am__leading_dot=_ 20517d5e3a19Smrgfi 20527d5e3a19Smrgrmdir .tst 2>/dev/null 20537d5e3a19Smrg 20547d5e3a19Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 20557d5e3a19Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 20567d5e3a19Smrg # is not polluted with repeated "-I." 20577d5e3a19Smrg am__isrc=' -I$(srcdir)' 20587d5e3a19Smrg # test to see if srcdir already configured 20597d5e3a19Smrg if test -f $srcdir/config.status; then 20607d5e3a19Smrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 20617d5e3a19Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 20627d5e3a19Smrg { (exit 1); exit 1; }; } 20637d5e3a19Smrg fi 20647d5e3a19Smrgfi 20657d5e3a19Smrg 20667d5e3a19Smrg# test whether we have cygpath 20677d5e3a19Smrgif test -z "$CYGPATH_W"; then 20687d5e3a19Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 20697d5e3a19Smrg CYGPATH_W='cygpath -w' 20707d5e3a19Smrg else 20717d5e3a19Smrg CYGPATH_W=echo 20727d5e3a19Smrg fi 20737d5e3a19Smrgfi 20747d5e3a19Smrg 20757d5e3a19Smrg 20767d5e3a19Smrg# Define the identity of the package. 20777d5e3a19Smrg PACKAGE='setxkbmap' 20787d5e3a19Smrg VERSION='1.0.4' 20797d5e3a19Smrg 20807d5e3a19Smrg 20817d5e3a19Smrgcat >>confdefs.h <<_ACEOF 20827d5e3a19Smrg#define PACKAGE "$PACKAGE" 20837d5e3a19Smrg_ACEOF 20847d5e3a19Smrg 20857d5e3a19Smrg 20867d5e3a19Smrgcat >>confdefs.h <<_ACEOF 20877d5e3a19Smrg#define VERSION "$VERSION" 20887d5e3a19Smrg_ACEOF 20897d5e3a19Smrg 20907d5e3a19Smrg# Some tools Automake needs. 20917d5e3a19Smrg 20927d5e3a19SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 20937d5e3a19Smrg 20947d5e3a19Smrg 20957d5e3a19SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 20967d5e3a19Smrg 20977d5e3a19Smrg 20987d5e3a19SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 20997d5e3a19Smrg 21007d5e3a19Smrg 21017d5e3a19SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 21027d5e3a19Smrg 21037d5e3a19Smrg 21047d5e3a19SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 21057d5e3a19Smrg 21067d5e3a19Smrginstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 21077d5e3a19Smrg 21087d5e3a19Smrg# Installed binaries are usually stripped using `strip' when the user 21097d5e3a19Smrg# run `make install-strip'. However `strip' might not be the right 21107d5e3a19Smrg# tool to use in cross-compilation environments, therefore Automake 21117d5e3a19Smrg# will honor the `STRIP' environment variable to overrule this program. 21127d5e3a19Smrgif test "$cross_compiling" != no; then 21137d5e3a19Smrg if test -n "$ac_tool_prefix"; then 21147d5e3a19Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 21157d5e3a19Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 21167d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 21177d5e3a19Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 21187d5e3a19Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 21197d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 21207d5e3a19Smrgelse 21217d5e3a19Smrg if test -n "$STRIP"; then 21227d5e3a19Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 21237d5e3a19Smrgelse 21247d5e3a19Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21257d5e3a19Smrgfor as_dir in $PATH 21267d5e3a19Smrgdo 21277d5e3a19Smrg IFS=$as_save_IFS 21287d5e3a19Smrg test -z "$as_dir" && as_dir=. 21297d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21307d5e3a19Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21317d5e3a19Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 21327d5e3a19Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21337d5e3a19Smrg break 2 21347d5e3a19Smrg fi 21357d5e3a19Smrgdone 21367d5e3a19Smrgdone 21377d5e3a19SmrgIFS=$as_save_IFS 21387d5e3a19Smrg 21397d5e3a19Smrgfi 21407d5e3a19Smrgfi 21417d5e3a19SmrgSTRIP=$ac_cv_prog_STRIP 21427d5e3a19Smrgif test -n "$STRIP"; then 21437d5e3a19Smrg { echo "$as_me:$LINENO: result: $STRIP" >&5 21447d5e3a19Smrgecho "${ECHO_T}$STRIP" >&6; } 21457d5e3a19Smrgelse 21467d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 21477d5e3a19Smrgecho "${ECHO_T}no" >&6; } 21487d5e3a19Smrgfi 21497d5e3a19Smrg 21507d5e3a19Smrg 21517d5e3a19Smrgfi 21527d5e3a19Smrgif test -z "$ac_cv_prog_STRIP"; then 21537d5e3a19Smrg ac_ct_STRIP=$STRIP 21547d5e3a19Smrg # Extract the first word of "strip", so it can be a program name with args. 21557d5e3a19Smrgset dummy strip; ac_word=$2 21567d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 21577d5e3a19Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 21587d5e3a19Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 21597d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 21607d5e3a19Smrgelse 21617d5e3a19Smrg if test -n "$ac_ct_STRIP"; then 21627d5e3a19Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 21637d5e3a19Smrgelse 21647d5e3a19Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21657d5e3a19Smrgfor as_dir in $PATH 21667d5e3a19Smrgdo 21677d5e3a19Smrg IFS=$as_save_IFS 21687d5e3a19Smrg test -z "$as_dir" && as_dir=. 21697d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21707d5e3a19Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21717d5e3a19Smrg ac_cv_prog_ac_ct_STRIP="strip" 21727d5e3a19Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21737d5e3a19Smrg break 2 21747d5e3a19Smrg fi 21757d5e3a19Smrgdone 21767d5e3a19Smrgdone 21777d5e3a19SmrgIFS=$as_save_IFS 21787d5e3a19Smrg 21797d5e3a19Smrgfi 21807d5e3a19Smrgfi 21817d5e3a19Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 21827d5e3a19Smrgif test -n "$ac_ct_STRIP"; then 21837d5e3a19Smrg { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 21847d5e3a19Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6; } 21857d5e3a19Smrgelse 21867d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 21877d5e3a19Smrgecho "${ECHO_T}no" >&6; } 21887d5e3a19Smrgfi 21897d5e3a19Smrg 21907d5e3a19Smrg if test "x$ac_ct_STRIP" = x; then 21917d5e3a19Smrg STRIP=":" 21927d5e3a19Smrg else 21937d5e3a19Smrg case $cross_compiling:$ac_tool_warned in 21947d5e3a19Smrgyes:) 21957d5e3a19Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 21967d5e3a19Smrgwhose name does not start with the host triplet. If you think this 21977d5e3a19Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 21987d5e3a19Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 21997d5e3a19Smrgwhose name does not start with the host triplet. If you think this 22007d5e3a19Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 22017d5e3a19Smrgac_tool_warned=yes ;; 22027d5e3a19Smrgesac 22037d5e3a19Smrg STRIP=$ac_ct_STRIP 22047d5e3a19Smrg fi 22057d5e3a19Smrgelse 22067d5e3a19Smrg STRIP="$ac_cv_prog_STRIP" 22077d5e3a19Smrgfi 22087d5e3a19Smrg 22097d5e3a19Smrgfi 22107d5e3a19SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 22117d5e3a19Smrg 22127d5e3a19Smrg# We need awk for the "check" target. The system "awk" is bad on 22137d5e3a19Smrg# some platforms. 22147d5e3a19Smrg# Always define AMTAR for backward compatibility. 22157d5e3a19Smrg 22167d5e3a19SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 22177d5e3a19Smrg 22187d5e3a19Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 22197d5e3a19Smrg 22207d5e3a19Smrg 22217d5e3a19Smrg 22227d5e3a19Smrg 22237d5e3a19Smrg 22247d5e3a19Smrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 22257d5e3a19Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 22267d5e3a19Smrg # Check whether --enable-maintainer-mode was given. 22277d5e3a19Smrgif test "${enable_maintainer_mode+set}" = set; then 22287d5e3a19Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 22297d5e3a19Smrgelse 22307d5e3a19Smrg USE_MAINTAINER_MODE=no 22317d5e3a19Smrgfi 22327d5e3a19Smrg 22337d5e3a19Smrg { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 22347d5e3a19Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 22357d5e3a19Smrg if test $USE_MAINTAINER_MODE = yes; then 22367d5e3a19Smrg MAINTAINER_MODE_TRUE= 22377d5e3a19Smrg MAINTAINER_MODE_FALSE='#' 22387d5e3a19Smrgelse 22397d5e3a19Smrg MAINTAINER_MODE_TRUE='#' 22407d5e3a19Smrg MAINTAINER_MODE_FALSE= 22417d5e3a19Smrgfi 22427d5e3a19Smrg 22437d5e3a19Smrg MAINT=$MAINTAINER_MODE_TRUE 22447d5e3a19Smrg 22457d5e3a19Smrg 22467d5e3a19Smrg 22477d5e3a19Smrgac_config_headers="$ac_config_headers config.h" 22487d5e3a19Smrg 22497d5e3a19Smrg 22507d5e3a19Smrgac_ext=c 22517d5e3a19Smrgac_cpp='$CPP $CPPFLAGS' 22527d5e3a19Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22537d5e3a19Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22547d5e3a19Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 22557d5e3a19Smrgif test -n "$ac_tool_prefix"; then 22567d5e3a19Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 22577d5e3a19Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 22587d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 22597d5e3a19Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 22607d5e3a19Smrgif test "${ac_cv_prog_CC+set}" = set; then 22617d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 22627d5e3a19Smrgelse 22637d5e3a19Smrg if test -n "$CC"; then 22647d5e3a19Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 22657d5e3a19Smrgelse 22667d5e3a19Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22677d5e3a19Smrgfor as_dir in $PATH 22687d5e3a19Smrgdo 22697d5e3a19Smrg IFS=$as_save_IFS 22707d5e3a19Smrg test -z "$as_dir" && as_dir=. 22717d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22727d5e3a19Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22737d5e3a19Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 22747d5e3a19Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 22757d5e3a19Smrg break 2 22767d5e3a19Smrg fi 22777d5e3a19Smrgdone 22787d5e3a19Smrgdone 22797d5e3a19SmrgIFS=$as_save_IFS 22807d5e3a19Smrg 22817d5e3a19Smrgfi 22827d5e3a19Smrgfi 22837d5e3a19SmrgCC=$ac_cv_prog_CC 22847d5e3a19Smrgif test -n "$CC"; then 22857d5e3a19Smrg { echo "$as_me:$LINENO: result: $CC" >&5 22867d5e3a19Smrgecho "${ECHO_T}$CC" >&6; } 22877d5e3a19Smrgelse 22887d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 22897d5e3a19Smrgecho "${ECHO_T}no" >&6; } 22907d5e3a19Smrgfi 22917d5e3a19Smrg 22927d5e3a19Smrg 22937d5e3a19Smrgfi 22947d5e3a19Smrgif test -z "$ac_cv_prog_CC"; then 22957d5e3a19Smrg ac_ct_CC=$CC 22967d5e3a19Smrg # Extract the first word of "gcc", so it can be a program name with args. 22977d5e3a19Smrgset dummy gcc; ac_word=$2 22987d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 22997d5e3a19Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 23007d5e3a19Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 23017d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 23027d5e3a19Smrgelse 23037d5e3a19Smrg if test -n "$ac_ct_CC"; then 23047d5e3a19Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 23057d5e3a19Smrgelse 23067d5e3a19Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23077d5e3a19Smrgfor as_dir in $PATH 23087d5e3a19Smrgdo 23097d5e3a19Smrg IFS=$as_save_IFS 23107d5e3a19Smrg test -z "$as_dir" && as_dir=. 23117d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23127d5e3a19Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23137d5e3a19Smrg ac_cv_prog_ac_ct_CC="gcc" 23147d5e3a19Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 23157d5e3a19Smrg break 2 23167d5e3a19Smrg fi 23177d5e3a19Smrgdone 23187d5e3a19Smrgdone 23197d5e3a19SmrgIFS=$as_save_IFS 23207d5e3a19Smrg 23217d5e3a19Smrgfi 23227d5e3a19Smrgfi 23237d5e3a19Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 23247d5e3a19Smrgif test -n "$ac_ct_CC"; then 23257d5e3a19Smrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 23267d5e3a19Smrgecho "${ECHO_T}$ac_ct_CC" >&6; } 23277d5e3a19Smrgelse 23287d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 23297d5e3a19Smrgecho "${ECHO_T}no" >&6; } 23307d5e3a19Smrgfi 23317d5e3a19Smrg 23327d5e3a19Smrg if test "x$ac_ct_CC" = x; then 23337d5e3a19Smrg CC="" 23347d5e3a19Smrg else 23357d5e3a19Smrg case $cross_compiling:$ac_tool_warned in 23367d5e3a19Smrgyes:) 23377d5e3a19Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 23387d5e3a19Smrgwhose name does not start with the host triplet. If you think this 23397d5e3a19Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 23407d5e3a19Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 23417d5e3a19Smrgwhose name does not start with the host triplet. If you think this 23427d5e3a19Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 23437d5e3a19Smrgac_tool_warned=yes ;; 23447d5e3a19Smrgesac 23457d5e3a19Smrg CC=$ac_ct_CC 23467d5e3a19Smrg fi 23477d5e3a19Smrgelse 23487d5e3a19Smrg CC="$ac_cv_prog_CC" 23497d5e3a19Smrgfi 23507d5e3a19Smrg 23517d5e3a19Smrgif test -z "$CC"; then 23527d5e3a19Smrg if test -n "$ac_tool_prefix"; then 23537d5e3a19Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 23547d5e3a19Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 23557d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 23567d5e3a19Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 23577d5e3a19Smrgif test "${ac_cv_prog_CC+set}" = set; then 23587d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 23597d5e3a19Smrgelse 23607d5e3a19Smrg if test -n "$CC"; then 23617d5e3a19Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 23627d5e3a19Smrgelse 23637d5e3a19Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23647d5e3a19Smrgfor as_dir in $PATH 23657d5e3a19Smrgdo 23667d5e3a19Smrg IFS=$as_save_IFS 23677d5e3a19Smrg test -z "$as_dir" && as_dir=. 23687d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23697d5e3a19Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23707d5e3a19Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 23717d5e3a19Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 23727d5e3a19Smrg break 2 23737d5e3a19Smrg fi 23747d5e3a19Smrgdone 23757d5e3a19Smrgdone 23767d5e3a19SmrgIFS=$as_save_IFS 23777d5e3a19Smrg 23787d5e3a19Smrgfi 23797d5e3a19Smrgfi 23807d5e3a19SmrgCC=$ac_cv_prog_CC 23817d5e3a19Smrgif test -n "$CC"; then 23827d5e3a19Smrg { echo "$as_me:$LINENO: result: $CC" >&5 23837d5e3a19Smrgecho "${ECHO_T}$CC" >&6; } 23847d5e3a19Smrgelse 23857d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 23867d5e3a19Smrgecho "${ECHO_T}no" >&6; } 23877d5e3a19Smrgfi 23887d5e3a19Smrg 23897d5e3a19Smrg 23907d5e3a19Smrg fi 23917d5e3a19Smrgfi 23927d5e3a19Smrgif test -z "$CC"; then 23937d5e3a19Smrg # Extract the first word of "cc", so it can be a program name with args. 23947d5e3a19Smrgset dummy cc; ac_word=$2 23957d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 23967d5e3a19Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 23977d5e3a19Smrgif test "${ac_cv_prog_CC+set}" = set; then 23987d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 23997d5e3a19Smrgelse 24007d5e3a19Smrg if test -n "$CC"; then 24017d5e3a19Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 24027d5e3a19Smrgelse 24037d5e3a19Smrg ac_prog_rejected=no 24047d5e3a19Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24057d5e3a19Smrgfor as_dir in $PATH 24067d5e3a19Smrgdo 24077d5e3a19Smrg IFS=$as_save_IFS 24087d5e3a19Smrg test -z "$as_dir" && as_dir=. 24097d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 24107d5e3a19Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 24117d5e3a19Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 24127d5e3a19Smrg ac_prog_rejected=yes 24137d5e3a19Smrg continue 24147d5e3a19Smrg fi 24157d5e3a19Smrg ac_cv_prog_CC="cc" 24167d5e3a19Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 24177d5e3a19Smrg break 2 24187d5e3a19Smrg fi 24197d5e3a19Smrgdone 24207d5e3a19Smrgdone 24217d5e3a19SmrgIFS=$as_save_IFS 24227d5e3a19Smrg 24237d5e3a19Smrgif test $ac_prog_rejected = yes; then 24247d5e3a19Smrg # We found a bogon in the path, so make sure we never use it. 24257d5e3a19Smrg set dummy $ac_cv_prog_CC 24267d5e3a19Smrg shift 24277d5e3a19Smrg if test $# != 0; then 24287d5e3a19Smrg # We chose a different compiler from the bogus one. 24297d5e3a19Smrg # However, it has the same basename, so the bogon will be chosen 24307d5e3a19Smrg # first if we set CC to just the basename; use the full file name. 24317d5e3a19Smrg shift 24327d5e3a19Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 24337d5e3a19Smrg fi 24347d5e3a19Smrgfi 24357d5e3a19Smrgfi 24367d5e3a19Smrgfi 24377d5e3a19SmrgCC=$ac_cv_prog_CC 24387d5e3a19Smrgif test -n "$CC"; then 24397d5e3a19Smrg { echo "$as_me:$LINENO: result: $CC" >&5 24407d5e3a19Smrgecho "${ECHO_T}$CC" >&6; } 24417d5e3a19Smrgelse 24427d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 24437d5e3a19Smrgecho "${ECHO_T}no" >&6; } 24447d5e3a19Smrgfi 24457d5e3a19Smrg 24467d5e3a19Smrg 24477d5e3a19Smrgfi 24487d5e3a19Smrgif test -z "$CC"; then 24497d5e3a19Smrg if test -n "$ac_tool_prefix"; then 24507d5e3a19Smrg for ac_prog in cl.exe 24517d5e3a19Smrg do 24527d5e3a19Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 24537d5e3a19Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 24547d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 24557d5e3a19Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 24567d5e3a19Smrgif test "${ac_cv_prog_CC+set}" = set; then 24577d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 24587d5e3a19Smrgelse 24597d5e3a19Smrg if test -n "$CC"; then 24607d5e3a19Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 24617d5e3a19Smrgelse 24627d5e3a19Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24637d5e3a19Smrgfor as_dir in $PATH 24647d5e3a19Smrgdo 24657d5e3a19Smrg IFS=$as_save_IFS 24667d5e3a19Smrg test -z "$as_dir" && as_dir=. 24677d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 24687d5e3a19Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 24697d5e3a19Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 24707d5e3a19Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 24717d5e3a19Smrg break 2 24727d5e3a19Smrg fi 24737d5e3a19Smrgdone 24747d5e3a19Smrgdone 24757d5e3a19SmrgIFS=$as_save_IFS 24767d5e3a19Smrg 24777d5e3a19Smrgfi 24787d5e3a19Smrgfi 24797d5e3a19SmrgCC=$ac_cv_prog_CC 24807d5e3a19Smrgif test -n "$CC"; then 24817d5e3a19Smrg { echo "$as_me:$LINENO: result: $CC" >&5 24827d5e3a19Smrgecho "${ECHO_T}$CC" >&6; } 24837d5e3a19Smrgelse 24847d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 24857d5e3a19Smrgecho "${ECHO_T}no" >&6; } 24867d5e3a19Smrgfi 24877d5e3a19Smrg 24887d5e3a19Smrg 24897d5e3a19Smrg test -n "$CC" && break 24907d5e3a19Smrg done 24917d5e3a19Smrgfi 24927d5e3a19Smrgif test -z "$CC"; then 24937d5e3a19Smrg ac_ct_CC=$CC 24947d5e3a19Smrg for ac_prog in cl.exe 24957d5e3a19Smrgdo 24967d5e3a19Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 24977d5e3a19Smrgset dummy $ac_prog; ac_word=$2 24987d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 24997d5e3a19Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 25007d5e3a19Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 25017d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 25027d5e3a19Smrgelse 25037d5e3a19Smrg if test -n "$ac_ct_CC"; then 25047d5e3a19Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 25057d5e3a19Smrgelse 25067d5e3a19Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25077d5e3a19Smrgfor as_dir in $PATH 25087d5e3a19Smrgdo 25097d5e3a19Smrg IFS=$as_save_IFS 25107d5e3a19Smrg test -z "$as_dir" && as_dir=. 25117d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 25127d5e3a19Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 25137d5e3a19Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 25147d5e3a19Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25157d5e3a19Smrg break 2 25167d5e3a19Smrg fi 25177d5e3a19Smrgdone 25187d5e3a19Smrgdone 25197d5e3a19SmrgIFS=$as_save_IFS 25207d5e3a19Smrg 25217d5e3a19Smrgfi 25227d5e3a19Smrgfi 25237d5e3a19Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 25247d5e3a19Smrgif test -n "$ac_ct_CC"; then 25257d5e3a19Smrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 25267d5e3a19Smrgecho "${ECHO_T}$ac_ct_CC" >&6; } 25277d5e3a19Smrgelse 25287d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 25297d5e3a19Smrgecho "${ECHO_T}no" >&6; } 25307d5e3a19Smrgfi 25317d5e3a19Smrg 25327d5e3a19Smrg 25337d5e3a19Smrg test -n "$ac_ct_CC" && break 25347d5e3a19Smrgdone 25357d5e3a19Smrg 25367d5e3a19Smrg if test "x$ac_ct_CC" = x; then 25377d5e3a19Smrg CC="" 25387d5e3a19Smrg else 25397d5e3a19Smrg case $cross_compiling:$ac_tool_warned in 25407d5e3a19Smrgyes:) 25417d5e3a19Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 25427d5e3a19Smrgwhose name does not start with the host triplet. If you think this 25437d5e3a19Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 25447d5e3a19Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 25457d5e3a19Smrgwhose name does not start with the host triplet. If you think this 25467d5e3a19Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 25477d5e3a19Smrgac_tool_warned=yes ;; 25487d5e3a19Smrgesac 25497d5e3a19Smrg CC=$ac_ct_CC 25507d5e3a19Smrg fi 25517d5e3a19Smrgfi 25527d5e3a19Smrg 25537d5e3a19Smrgfi 25547d5e3a19Smrg 25557d5e3a19Smrg 25567d5e3a19Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 25577d5e3a19SmrgSee \`config.log' for more details." >&5 25587d5e3a19Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH 25597d5e3a19SmrgSee \`config.log' for more details." >&2;} 25607d5e3a19Smrg { (exit 1); exit 1; }; } 25617d5e3a19Smrg 25627d5e3a19Smrg# Provide some information about the compiler. 25637d5e3a19Smrgecho "$as_me:$LINENO: checking for C compiler version" >&5 25647d5e3a19Smrgac_compiler=`set X $ac_compile; echo $2` 25657d5e3a19Smrg{ (ac_try="$ac_compiler --version >&5" 25667d5e3a19Smrgcase "(($ac_try" in 25677d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25687d5e3a19Smrg *) ac_try_echo=$ac_try;; 25697d5e3a19Smrgesac 25707d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25717d5e3a19Smrg (eval "$ac_compiler --version >&5") 2>&5 25727d5e3a19Smrg ac_status=$? 25737d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25747d5e3a19Smrg (exit $ac_status); } 25757d5e3a19Smrg{ (ac_try="$ac_compiler -v >&5" 25767d5e3a19Smrgcase "(($ac_try" in 25777d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25787d5e3a19Smrg *) ac_try_echo=$ac_try;; 25797d5e3a19Smrgesac 25807d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25817d5e3a19Smrg (eval "$ac_compiler -v >&5") 2>&5 25827d5e3a19Smrg ac_status=$? 25837d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25847d5e3a19Smrg (exit $ac_status); } 25857d5e3a19Smrg{ (ac_try="$ac_compiler -V >&5" 25867d5e3a19Smrgcase "(($ac_try" in 25877d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25887d5e3a19Smrg *) ac_try_echo=$ac_try;; 25897d5e3a19Smrgesac 25907d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25917d5e3a19Smrg (eval "$ac_compiler -V >&5") 2>&5 25927d5e3a19Smrg ac_status=$? 25937d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 25947d5e3a19Smrg (exit $ac_status); } 25957d5e3a19Smrg 25967d5e3a19Smrgcat >conftest.$ac_ext <<_ACEOF 25977d5e3a19Smrg/* confdefs.h. */ 25987d5e3a19Smrg_ACEOF 25997d5e3a19Smrgcat confdefs.h >>conftest.$ac_ext 26007d5e3a19Smrgcat >>conftest.$ac_ext <<_ACEOF 26017d5e3a19Smrg/* end confdefs.h. */ 26027d5e3a19Smrg 26037d5e3a19Smrgint 26047d5e3a19Smrgmain () 26057d5e3a19Smrg{ 26067d5e3a19Smrg 26077d5e3a19Smrg ; 26087d5e3a19Smrg return 0; 26097d5e3a19Smrg} 26107d5e3a19Smrg_ACEOF 26117d5e3a19Smrgac_clean_files_save=$ac_clean_files 26127d5e3a19Smrgac_clean_files="$ac_clean_files a.out a.exe b.out" 26137d5e3a19Smrg# Try to create an executable without -o first, disregard a.out. 26147d5e3a19Smrg# It will help us diagnose broken compilers, and finding out an intuition 26157d5e3a19Smrg# of exeext. 26167d5e3a19Smrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 26177d5e3a19Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 26187d5e3a19Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 26197d5e3a19Smrg# 26207d5e3a19Smrg# List of possible output files, starting from the most likely. 26217d5e3a19Smrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 26227d5e3a19Smrg# only as a last resort. b.out is created by i960 compilers. 26237d5e3a19Smrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 26247d5e3a19Smrg# 26257d5e3a19Smrg# The IRIX 6 linker writes into existing files which may not be 26267d5e3a19Smrg# executable, retaining their permissions. Remove them first so a 26277d5e3a19Smrg# subsequent execution test works. 26287d5e3a19Smrgac_rmfiles= 26297d5e3a19Smrgfor ac_file in $ac_files 26307d5e3a19Smrgdo 26317d5e3a19Smrg case $ac_file in 26327d5e3a19Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 26337d5e3a19Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 26347d5e3a19Smrg esac 26357d5e3a19Smrgdone 26367d5e3a19Smrgrm -f $ac_rmfiles 26377d5e3a19Smrg 26387d5e3a19Smrgif { (ac_try="$ac_link_default" 26397d5e3a19Smrgcase "(($ac_try" in 26407d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26417d5e3a19Smrg *) ac_try_echo=$ac_try;; 26427d5e3a19Smrgesac 26437d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26447d5e3a19Smrg (eval "$ac_link_default") 2>&5 26457d5e3a19Smrg ac_status=$? 26467d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26477d5e3a19Smrg (exit $ac_status); }; then 26487d5e3a19Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 26497d5e3a19Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 26507d5e3a19Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 26517d5e3a19Smrg# so that the user can short-circuit this test for compilers unknown to 26527d5e3a19Smrg# Autoconf. 26537d5e3a19Smrgfor ac_file in $ac_files '' 26547d5e3a19Smrgdo 26557d5e3a19Smrg test -f "$ac_file" || continue 26567d5e3a19Smrg case $ac_file in 26577d5e3a19Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 26587d5e3a19Smrg ;; 26597d5e3a19Smrg [ab].out ) 26607d5e3a19Smrg # We found the default executable, but exeext='' is most 26617d5e3a19Smrg # certainly right. 26627d5e3a19Smrg break;; 26637d5e3a19Smrg *.* ) 26647d5e3a19Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 26657d5e3a19Smrg then :; else 26667d5e3a19Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 26677d5e3a19Smrg fi 26687d5e3a19Smrg # We set ac_cv_exeext here because the later test for it is not 26697d5e3a19Smrg # safe: cross compilers may not add the suffix if given an `-o' 26707d5e3a19Smrg # argument, so we may need to know it at that point already. 26717d5e3a19Smrg # Even if this section looks crufty: it has the advantage of 26727d5e3a19Smrg # actually working. 26737d5e3a19Smrg break;; 26747d5e3a19Smrg * ) 26757d5e3a19Smrg break;; 26767d5e3a19Smrg esac 26777d5e3a19Smrgdone 26787d5e3a19Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 26797d5e3a19Smrg 26807d5e3a19Smrgelse 26817d5e3a19Smrg ac_file='' 26827d5e3a19Smrgfi 26837d5e3a19Smrg 26847d5e3a19Smrg{ echo "$as_me:$LINENO: result: $ac_file" >&5 26857d5e3a19Smrgecho "${ECHO_T}$ac_file" >&6; } 26867d5e3a19Smrgif test -z "$ac_file"; then 26877d5e3a19Smrg echo "$as_me: failed program was:" >&5 26887d5e3a19Smrgsed 's/^/| /' conftest.$ac_ext >&5 26897d5e3a19Smrg 26907d5e3a19Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 26917d5e3a19SmrgSee \`config.log' for more details." >&5 26927d5e3a19Smrgecho "$as_me: error: C compiler cannot create executables 26937d5e3a19SmrgSee \`config.log' for more details." >&2;} 26947d5e3a19Smrg { (exit 77); exit 77; }; } 26957d5e3a19Smrgfi 26967d5e3a19Smrg 26977d5e3a19Smrgac_exeext=$ac_cv_exeext 26987d5e3a19Smrg 26997d5e3a19Smrg# Check that the compiler produces executables we can run. If not, either 27007d5e3a19Smrg# the compiler is broken, or we cross compile. 27017d5e3a19Smrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 27027d5e3a19Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 27037d5e3a19Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 27047d5e3a19Smrg# If not cross compiling, check that we can run a simple program. 27057d5e3a19Smrgif test "$cross_compiling" != yes; then 27067d5e3a19Smrg if { ac_try='./$ac_file' 27077d5e3a19Smrg { (case "(($ac_try" in 27087d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27097d5e3a19Smrg *) ac_try_echo=$ac_try;; 27107d5e3a19Smrgesac 27117d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27127d5e3a19Smrg (eval "$ac_try") 2>&5 27137d5e3a19Smrg ac_status=$? 27147d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 27157d5e3a19Smrg (exit $ac_status); }; }; then 27167d5e3a19Smrg cross_compiling=no 27177d5e3a19Smrg else 27187d5e3a19Smrg if test "$cross_compiling" = maybe; then 27197d5e3a19Smrg cross_compiling=yes 27207d5e3a19Smrg else 27217d5e3a19Smrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 27227d5e3a19SmrgIf you meant to cross compile, use \`--host'. 27237d5e3a19SmrgSee \`config.log' for more details." >&5 27247d5e3a19Smrgecho "$as_me: error: cannot run C compiled programs. 27257d5e3a19SmrgIf you meant to cross compile, use \`--host'. 27267d5e3a19SmrgSee \`config.log' for more details." >&2;} 27277d5e3a19Smrg { (exit 1); exit 1; }; } 27287d5e3a19Smrg fi 27297d5e3a19Smrg fi 27307d5e3a19Smrgfi 27317d5e3a19Smrg{ echo "$as_me:$LINENO: result: yes" >&5 27327d5e3a19Smrgecho "${ECHO_T}yes" >&6; } 27337d5e3a19Smrg 27347d5e3a19Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 27357d5e3a19Smrgac_clean_files=$ac_clean_files_save 27367d5e3a19Smrg# Check that the compiler produces executables we can run. If not, either 27377d5e3a19Smrg# the compiler is broken, or we cross compile. 27387d5e3a19Smrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 27397d5e3a19Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 27407d5e3a19Smrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 27417d5e3a19Smrgecho "${ECHO_T}$cross_compiling" >&6; } 27427d5e3a19Smrg 27437d5e3a19Smrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 27447d5e3a19Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 27457d5e3a19Smrgif { (ac_try="$ac_link" 27467d5e3a19Smrgcase "(($ac_try" in 27477d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27487d5e3a19Smrg *) ac_try_echo=$ac_try;; 27497d5e3a19Smrgesac 27507d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27517d5e3a19Smrg (eval "$ac_link") 2>&5 27527d5e3a19Smrg ac_status=$? 27537d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 27547d5e3a19Smrg (exit $ac_status); }; then 27557d5e3a19Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 27567d5e3a19Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 27577d5e3a19Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 27587d5e3a19Smrg# `rm'. 27597d5e3a19Smrgfor ac_file in conftest.exe conftest conftest.*; do 27607d5e3a19Smrg test -f "$ac_file" || continue 27617d5e3a19Smrg case $ac_file in 27627d5e3a19Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 27637d5e3a19Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 27647d5e3a19Smrg break;; 27657d5e3a19Smrg * ) break;; 27667d5e3a19Smrg esac 27677d5e3a19Smrgdone 27687d5e3a19Smrgelse 27697d5e3a19Smrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 27707d5e3a19SmrgSee \`config.log' for more details." >&5 27717d5e3a19Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 27727d5e3a19SmrgSee \`config.log' for more details." >&2;} 27737d5e3a19Smrg { (exit 1); exit 1; }; } 27747d5e3a19Smrgfi 27757d5e3a19Smrg 27767d5e3a19Smrgrm -f conftest$ac_cv_exeext 27777d5e3a19Smrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 27787d5e3a19Smrgecho "${ECHO_T}$ac_cv_exeext" >&6; } 27797d5e3a19Smrg 27807d5e3a19Smrgrm -f conftest.$ac_ext 27817d5e3a19SmrgEXEEXT=$ac_cv_exeext 27827d5e3a19Smrgac_exeext=$EXEEXT 27837d5e3a19Smrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 27847d5e3a19Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 27857d5e3a19Smrgif test "${ac_cv_objext+set}" = set; then 27867d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 27877d5e3a19Smrgelse 27887d5e3a19Smrg cat >conftest.$ac_ext <<_ACEOF 27897d5e3a19Smrg/* confdefs.h. */ 27907d5e3a19Smrg_ACEOF 27917d5e3a19Smrgcat confdefs.h >>conftest.$ac_ext 27927d5e3a19Smrgcat >>conftest.$ac_ext <<_ACEOF 27937d5e3a19Smrg/* end confdefs.h. */ 27947d5e3a19Smrg 27957d5e3a19Smrgint 27967d5e3a19Smrgmain () 27977d5e3a19Smrg{ 27987d5e3a19Smrg 27997d5e3a19Smrg ; 28007d5e3a19Smrg return 0; 28017d5e3a19Smrg} 28027d5e3a19Smrg_ACEOF 28037d5e3a19Smrgrm -f conftest.o conftest.obj 28047d5e3a19Smrgif { (ac_try="$ac_compile" 28057d5e3a19Smrgcase "(($ac_try" in 28067d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28077d5e3a19Smrg *) ac_try_echo=$ac_try;; 28087d5e3a19Smrgesac 28097d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28107d5e3a19Smrg (eval "$ac_compile") 2>&5 28117d5e3a19Smrg ac_status=$? 28127d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 28137d5e3a19Smrg (exit $ac_status); }; then 28147d5e3a19Smrg for ac_file in conftest.o conftest.obj conftest.*; do 28157d5e3a19Smrg test -f "$ac_file" || continue; 28167d5e3a19Smrg case $ac_file in 28177d5e3a19Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 28187d5e3a19Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 28197d5e3a19Smrg break;; 28207d5e3a19Smrg esac 28217d5e3a19Smrgdone 28227d5e3a19Smrgelse 28237d5e3a19Smrg echo "$as_me: failed program was:" >&5 28247d5e3a19Smrgsed 's/^/| /' conftest.$ac_ext >&5 28257d5e3a19Smrg 28267d5e3a19Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 28277d5e3a19SmrgSee \`config.log' for more details." >&5 28287d5e3a19Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 28297d5e3a19SmrgSee \`config.log' for more details." >&2;} 28307d5e3a19Smrg { (exit 1); exit 1; }; } 28317d5e3a19Smrgfi 28327d5e3a19Smrg 28337d5e3a19Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 28347d5e3a19Smrgfi 28357d5e3a19Smrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 28367d5e3a19Smrgecho "${ECHO_T}$ac_cv_objext" >&6; } 28377d5e3a19SmrgOBJEXT=$ac_cv_objext 28387d5e3a19Smrgac_objext=$OBJEXT 28397d5e3a19Smrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 28407d5e3a19Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 28417d5e3a19Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 28427d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 28437d5e3a19Smrgelse 28447d5e3a19Smrg cat >conftest.$ac_ext <<_ACEOF 28457d5e3a19Smrg/* confdefs.h. */ 28467d5e3a19Smrg_ACEOF 28477d5e3a19Smrgcat confdefs.h >>conftest.$ac_ext 28487d5e3a19Smrgcat >>conftest.$ac_ext <<_ACEOF 28497d5e3a19Smrg/* end confdefs.h. */ 28507d5e3a19Smrg 28517d5e3a19Smrgint 28527d5e3a19Smrgmain () 28537d5e3a19Smrg{ 28547d5e3a19Smrg#ifndef __GNUC__ 28557d5e3a19Smrg choke me 28567d5e3a19Smrg#endif 28577d5e3a19Smrg 28587d5e3a19Smrg ; 28597d5e3a19Smrg return 0; 28607d5e3a19Smrg} 28617d5e3a19Smrg_ACEOF 28627d5e3a19Smrgrm -f conftest.$ac_objext 28637d5e3a19Smrgif { (ac_try="$ac_compile" 28647d5e3a19Smrgcase "(($ac_try" in 28657d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28667d5e3a19Smrg *) ac_try_echo=$ac_try;; 28677d5e3a19Smrgesac 28687d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28697d5e3a19Smrg (eval "$ac_compile") 2>conftest.er1 28707d5e3a19Smrg ac_status=$? 28717d5e3a19Smrg grep -v '^ *+' conftest.er1 >conftest.err 28727d5e3a19Smrg rm -f conftest.er1 28737d5e3a19Smrg cat conftest.err >&5 28747d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 28757d5e3a19Smrg (exit $ac_status); } && { 28767d5e3a19Smrg test -z "$ac_c_werror_flag" || 28777d5e3a19Smrg test ! -s conftest.err 28787d5e3a19Smrg } && test -s conftest.$ac_objext; then 28797d5e3a19Smrg ac_compiler_gnu=yes 28807d5e3a19Smrgelse 28817d5e3a19Smrg echo "$as_me: failed program was:" >&5 28827d5e3a19Smrgsed 's/^/| /' conftest.$ac_ext >&5 28837d5e3a19Smrg 28847d5e3a19Smrg ac_compiler_gnu=no 28857d5e3a19Smrgfi 28867d5e3a19Smrg 28877d5e3a19Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28887d5e3a19Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 28897d5e3a19Smrg 28907d5e3a19Smrgfi 28917d5e3a19Smrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 28927d5e3a19Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 28937d5e3a19SmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 28947d5e3a19Smrgac_test_CFLAGS=${CFLAGS+set} 28957d5e3a19Smrgac_save_CFLAGS=$CFLAGS 28967d5e3a19Smrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 28977d5e3a19Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 28987d5e3a19Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 28997d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 29007d5e3a19Smrgelse 29017d5e3a19Smrg ac_save_c_werror_flag=$ac_c_werror_flag 29027d5e3a19Smrg ac_c_werror_flag=yes 29037d5e3a19Smrg ac_cv_prog_cc_g=no 29047d5e3a19Smrg CFLAGS="-g" 29057d5e3a19Smrg cat >conftest.$ac_ext <<_ACEOF 29067d5e3a19Smrg/* confdefs.h. */ 29077d5e3a19Smrg_ACEOF 29087d5e3a19Smrgcat confdefs.h >>conftest.$ac_ext 29097d5e3a19Smrgcat >>conftest.$ac_ext <<_ACEOF 29107d5e3a19Smrg/* end confdefs.h. */ 29117d5e3a19Smrg 29127d5e3a19Smrgint 29137d5e3a19Smrgmain () 29147d5e3a19Smrg{ 29157d5e3a19Smrg 29167d5e3a19Smrg ; 29177d5e3a19Smrg return 0; 29187d5e3a19Smrg} 29197d5e3a19Smrg_ACEOF 29207d5e3a19Smrgrm -f conftest.$ac_objext 29217d5e3a19Smrgif { (ac_try="$ac_compile" 29227d5e3a19Smrgcase "(($ac_try" in 29237d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29247d5e3a19Smrg *) ac_try_echo=$ac_try;; 29257d5e3a19Smrgesac 29267d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29277d5e3a19Smrg (eval "$ac_compile") 2>conftest.er1 29287d5e3a19Smrg ac_status=$? 29297d5e3a19Smrg grep -v '^ *+' conftest.er1 >conftest.err 29307d5e3a19Smrg rm -f conftest.er1 29317d5e3a19Smrg cat conftest.err >&5 29327d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 29337d5e3a19Smrg (exit $ac_status); } && { 29347d5e3a19Smrg test -z "$ac_c_werror_flag" || 29357d5e3a19Smrg test ! -s conftest.err 29367d5e3a19Smrg } && test -s conftest.$ac_objext; then 29377d5e3a19Smrg ac_cv_prog_cc_g=yes 29387d5e3a19Smrgelse 29397d5e3a19Smrg echo "$as_me: failed program was:" >&5 29407d5e3a19Smrgsed 's/^/| /' conftest.$ac_ext >&5 29417d5e3a19Smrg 29427d5e3a19Smrg CFLAGS="" 29437d5e3a19Smrg cat >conftest.$ac_ext <<_ACEOF 29447d5e3a19Smrg/* confdefs.h. */ 29457d5e3a19Smrg_ACEOF 29467d5e3a19Smrgcat confdefs.h >>conftest.$ac_ext 29477d5e3a19Smrgcat >>conftest.$ac_ext <<_ACEOF 29487d5e3a19Smrg/* end confdefs.h. */ 29497d5e3a19Smrg 29507d5e3a19Smrgint 29517d5e3a19Smrgmain () 29527d5e3a19Smrg{ 29537d5e3a19Smrg 29547d5e3a19Smrg ; 29557d5e3a19Smrg return 0; 29567d5e3a19Smrg} 29577d5e3a19Smrg_ACEOF 29587d5e3a19Smrgrm -f conftest.$ac_objext 29597d5e3a19Smrgif { (ac_try="$ac_compile" 29607d5e3a19Smrgcase "(($ac_try" in 29617d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29627d5e3a19Smrg *) ac_try_echo=$ac_try;; 29637d5e3a19Smrgesac 29647d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29657d5e3a19Smrg (eval "$ac_compile") 2>conftest.er1 29667d5e3a19Smrg ac_status=$? 29677d5e3a19Smrg grep -v '^ *+' conftest.er1 >conftest.err 29687d5e3a19Smrg rm -f conftest.er1 29697d5e3a19Smrg cat conftest.err >&5 29707d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 29717d5e3a19Smrg (exit $ac_status); } && { 29727d5e3a19Smrg test -z "$ac_c_werror_flag" || 29737d5e3a19Smrg test ! -s conftest.err 29747d5e3a19Smrg } && test -s conftest.$ac_objext; then 29757d5e3a19Smrg : 29767d5e3a19Smrgelse 29777d5e3a19Smrg echo "$as_me: failed program was:" >&5 29787d5e3a19Smrgsed 's/^/| /' conftest.$ac_ext >&5 29797d5e3a19Smrg 29807d5e3a19Smrg ac_c_werror_flag=$ac_save_c_werror_flag 29817d5e3a19Smrg CFLAGS="-g" 29827d5e3a19Smrg cat >conftest.$ac_ext <<_ACEOF 29837d5e3a19Smrg/* confdefs.h. */ 29847d5e3a19Smrg_ACEOF 29857d5e3a19Smrgcat confdefs.h >>conftest.$ac_ext 29867d5e3a19Smrgcat >>conftest.$ac_ext <<_ACEOF 29877d5e3a19Smrg/* end confdefs.h. */ 29887d5e3a19Smrg 29897d5e3a19Smrgint 29907d5e3a19Smrgmain () 29917d5e3a19Smrg{ 29927d5e3a19Smrg 29937d5e3a19Smrg ; 29947d5e3a19Smrg return 0; 29957d5e3a19Smrg} 29967d5e3a19Smrg_ACEOF 29977d5e3a19Smrgrm -f conftest.$ac_objext 29987d5e3a19Smrgif { (ac_try="$ac_compile" 29997d5e3a19Smrgcase "(($ac_try" in 30007d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30017d5e3a19Smrg *) ac_try_echo=$ac_try;; 30027d5e3a19Smrgesac 30037d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30047d5e3a19Smrg (eval "$ac_compile") 2>conftest.er1 30057d5e3a19Smrg ac_status=$? 30067d5e3a19Smrg grep -v '^ *+' conftest.er1 >conftest.err 30077d5e3a19Smrg rm -f conftest.er1 30087d5e3a19Smrg cat conftest.err >&5 30097d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 30107d5e3a19Smrg (exit $ac_status); } && { 30117d5e3a19Smrg test -z "$ac_c_werror_flag" || 30127d5e3a19Smrg test ! -s conftest.err 30137d5e3a19Smrg } && test -s conftest.$ac_objext; then 30147d5e3a19Smrg ac_cv_prog_cc_g=yes 30157d5e3a19Smrgelse 30167d5e3a19Smrg echo "$as_me: failed program was:" >&5 30177d5e3a19Smrgsed 's/^/| /' conftest.$ac_ext >&5 30187d5e3a19Smrg 30197d5e3a19Smrg 30207d5e3a19Smrgfi 30217d5e3a19Smrg 30227d5e3a19Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 30237d5e3a19Smrgfi 30247d5e3a19Smrg 30257d5e3a19Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 30267d5e3a19Smrgfi 30277d5e3a19Smrg 30287d5e3a19Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 30297d5e3a19Smrg ac_c_werror_flag=$ac_save_c_werror_flag 30307d5e3a19Smrgfi 30317d5e3a19Smrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 30327d5e3a19Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 30337d5e3a19Smrgif test "$ac_test_CFLAGS" = set; then 30347d5e3a19Smrg CFLAGS=$ac_save_CFLAGS 30357d5e3a19Smrgelif test $ac_cv_prog_cc_g = yes; then 30367d5e3a19Smrg if test "$GCC" = yes; then 30377d5e3a19Smrg CFLAGS="-g -O2" 30387d5e3a19Smrg else 30397d5e3a19Smrg CFLAGS="-g" 30407d5e3a19Smrg fi 30417d5e3a19Smrgelse 30427d5e3a19Smrg if test "$GCC" = yes; then 30437d5e3a19Smrg CFLAGS="-O2" 30447d5e3a19Smrg else 30457d5e3a19Smrg CFLAGS= 30467d5e3a19Smrg fi 30477d5e3a19Smrgfi 30487d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 30497d5e3a19Smrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 30507d5e3a19Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then 30517d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 30527d5e3a19Smrgelse 30537d5e3a19Smrg ac_cv_prog_cc_c89=no 30547d5e3a19Smrgac_save_CC=$CC 30557d5e3a19Smrgcat >conftest.$ac_ext <<_ACEOF 30567d5e3a19Smrg/* confdefs.h. */ 30577d5e3a19Smrg_ACEOF 30587d5e3a19Smrgcat confdefs.h >>conftest.$ac_ext 30597d5e3a19Smrgcat >>conftest.$ac_ext <<_ACEOF 30607d5e3a19Smrg/* end confdefs.h. */ 30617d5e3a19Smrg#include <stdarg.h> 30627d5e3a19Smrg#include <stdio.h> 30637d5e3a19Smrg#include <sys/types.h> 30647d5e3a19Smrg#include <sys/stat.h> 30657d5e3a19Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 30667d5e3a19Smrgstruct buf { int x; }; 30677d5e3a19SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 30687d5e3a19Smrgstatic char *e (p, i) 30697d5e3a19Smrg char **p; 30707d5e3a19Smrg int i; 30717d5e3a19Smrg{ 30727d5e3a19Smrg return p[i]; 30737d5e3a19Smrg} 30747d5e3a19Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 30757d5e3a19Smrg{ 30767d5e3a19Smrg char *s; 30777d5e3a19Smrg va_list v; 30787d5e3a19Smrg va_start (v,p); 30797d5e3a19Smrg s = g (p, va_arg (v,int)); 30807d5e3a19Smrg va_end (v); 30817d5e3a19Smrg return s; 30827d5e3a19Smrg} 30837d5e3a19Smrg 30847d5e3a19Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 30857d5e3a19Smrg function prototypes and stuff, but not '\xHH' hex character constants. 30867d5e3a19Smrg These don't provoke an error unfortunately, instead are silently treated 30877d5e3a19Smrg as 'x'. The following induces an error, until -std is added to get 30887d5e3a19Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 30897d5e3a19Smrg array size at least. It's necessary to write '\x00'==0 to get something 30907d5e3a19Smrg that's true only with -std. */ 30917d5e3a19Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 30927d5e3a19Smrg 30937d5e3a19Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 30947d5e3a19Smrg inside strings and character constants. */ 30957d5e3a19Smrg#define FOO(x) 'x' 30967d5e3a19Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 30977d5e3a19Smrg 30987d5e3a19Smrgint test (int i, double x); 30997d5e3a19Smrgstruct s1 {int (*f) (int a);}; 31007d5e3a19Smrgstruct s2 {int (*f) (double a);}; 31017d5e3a19Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 31027d5e3a19Smrgint argc; 31037d5e3a19Smrgchar **argv; 31047d5e3a19Smrgint 31057d5e3a19Smrgmain () 31067d5e3a19Smrg{ 31077d5e3a19Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 31087d5e3a19Smrg ; 31097d5e3a19Smrg return 0; 31107d5e3a19Smrg} 31117d5e3a19Smrg_ACEOF 31127d5e3a19Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 31137d5e3a19Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 31147d5e3a19Smrgdo 31157d5e3a19Smrg CC="$ac_save_CC $ac_arg" 31167d5e3a19Smrg rm -f conftest.$ac_objext 31177d5e3a19Smrgif { (ac_try="$ac_compile" 31187d5e3a19Smrgcase "(($ac_try" in 31197d5e3a19Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31207d5e3a19Smrg *) ac_try_echo=$ac_try;; 31217d5e3a19Smrgesac 31227d5e3a19Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 31237d5e3a19Smrg (eval "$ac_compile") 2>conftest.er1 31247d5e3a19Smrg ac_status=$? 31257d5e3a19Smrg grep -v '^ *+' conftest.er1 >conftest.err 31267d5e3a19Smrg rm -f conftest.er1 31277d5e3a19Smrg cat conftest.err >&5 31287d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 31297d5e3a19Smrg (exit $ac_status); } && { 31307d5e3a19Smrg test -z "$ac_c_werror_flag" || 31317d5e3a19Smrg test ! -s conftest.err 31327d5e3a19Smrg } && test -s conftest.$ac_objext; then 31337d5e3a19Smrg ac_cv_prog_cc_c89=$ac_arg 31347d5e3a19Smrgelse 31357d5e3a19Smrg echo "$as_me: failed program was:" >&5 31367d5e3a19Smrgsed 's/^/| /' conftest.$ac_ext >&5 31377d5e3a19Smrg 31387d5e3a19Smrg 31397d5e3a19Smrgfi 31407d5e3a19Smrg 31417d5e3a19Smrgrm -f core conftest.err conftest.$ac_objext 31427d5e3a19Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 31437d5e3a19Smrgdone 31447d5e3a19Smrgrm -f conftest.$ac_ext 31457d5e3a19SmrgCC=$ac_save_CC 31467d5e3a19Smrg 31477d5e3a19Smrgfi 31487d5e3a19Smrg# AC_CACHE_VAL 31497d5e3a19Smrgcase "x$ac_cv_prog_cc_c89" in 31507d5e3a19Smrg x) 31517d5e3a19Smrg { echo "$as_me:$LINENO: result: none needed" >&5 31527d5e3a19Smrgecho "${ECHO_T}none needed" >&6; } ;; 31537d5e3a19Smrg xno) 31547d5e3a19Smrg { echo "$as_me:$LINENO: result: unsupported" >&5 31557d5e3a19Smrgecho "${ECHO_T}unsupported" >&6; } ;; 31567d5e3a19Smrg *) 31577d5e3a19Smrg CC="$CC $ac_cv_prog_cc_c89" 31587d5e3a19Smrg { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 31597d5e3a19Smrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 31607d5e3a19Smrgesac 31617d5e3a19Smrg 31627d5e3a19Smrg 31637d5e3a19Smrgac_ext=c 31647d5e3a19Smrgac_cpp='$CPP $CPPFLAGS' 31657d5e3a19Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 31667d5e3a19Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 31677d5e3a19Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 31687d5e3a19SmrgDEPDIR="${am__leading_dot}deps" 31697d5e3a19Smrg 31707d5e3a19Smrgac_config_commands="$ac_config_commands depfiles" 31717d5e3a19Smrg 31727d5e3a19Smrg 31737d5e3a19Smrgam_make=${MAKE-make} 31747d5e3a19Smrgcat > confinc << 'END' 31757d5e3a19Smrgam__doit: 31767d5e3a19Smrg @echo done 31777d5e3a19Smrg.PHONY: am__doit 31787d5e3a19SmrgEND 31797d5e3a19Smrg# If we don't find an include directive, just comment out the code. 31807d5e3a19Smrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 31817d5e3a19Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 31827d5e3a19Smrgam__include="#" 31837d5e3a19Smrgam__quote= 31847d5e3a19Smrg_am_result=none 31857d5e3a19Smrg# First try GNU make style include. 31867d5e3a19Smrgecho "include confinc" > confmf 31877d5e3a19Smrg# We grep out `Entering directory' and `Leaving directory' 31887d5e3a19Smrg# messages which can occur if `w' ends up in MAKEFLAGS. 31897d5e3a19Smrg# In particular we don't look at `^make:' because GNU make might 31907d5e3a19Smrg# be invoked under some other name (usually "gmake"), in which 31917d5e3a19Smrg# case it prints its new name instead of `make'. 31927d5e3a19Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 31937d5e3a19Smrg am__include=include 31947d5e3a19Smrg am__quote= 31957d5e3a19Smrg _am_result=GNU 31967d5e3a19Smrgfi 31977d5e3a19Smrg# Now try BSD make style include. 31987d5e3a19Smrgif test "$am__include" = "#"; then 31997d5e3a19Smrg echo '.include "confinc"' > confmf 32007d5e3a19Smrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 32017d5e3a19Smrg am__include=.include 32027d5e3a19Smrg am__quote="\"" 32037d5e3a19Smrg _am_result=BSD 32047d5e3a19Smrg fi 32057d5e3a19Smrgfi 32067d5e3a19Smrg 32077d5e3a19Smrg 32087d5e3a19Smrg{ echo "$as_me:$LINENO: result: $_am_result" >&5 32097d5e3a19Smrgecho "${ECHO_T}$_am_result" >&6; } 32107d5e3a19Smrgrm -f confinc confmf 32117d5e3a19Smrg 32127d5e3a19Smrg# Check whether --enable-dependency-tracking was given. 32137d5e3a19Smrgif test "${enable_dependency_tracking+set}" = set; then 32147d5e3a19Smrg enableval=$enable_dependency_tracking; 32157d5e3a19Smrgfi 32167d5e3a19Smrg 32177d5e3a19Smrgif test "x$enable_dependency_tracking" != xno; then 32187d5e3a19Smrg am_depcomp="$ac_aux_dir/depcomp" 32197d5e3a19Smrg AMDEPBACKSLASH='\' 32207d5e3a19Smrgfi 32217d5e3a19Smrg if test "x$enable_dependency_tracking" != xno; then 32227d5e3a19Smrg AMDEP_TRUE= 32237d5e3a19Smrg AMDEP_FALSE='#' 32247d5e3a19Smrgelse 32257d5e3a19Smrg AMDEP_TRUE='#' 32267d5e3a19Smrg AMDEP_FALSE= 32277d5e3a19Smrgfi 32287d5e3a19Smrg 32297d5e3a19Smrg 32307d5e3a19Smrg 32317d5e3a19Smrgdepcc="$CC" am_compiler_list= 32327d5e3a19Smrg 32337d5e3a19Smrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 32347d5e3a19Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 32357d5e3a19Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 32367d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 32377d5e3a19Smrgelse 32387d5e3a19Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 32397d5e3a19Smrg # We make a subdir and do the tests there. Otherwise we can end up 32407d5e3a19Smrg # making bogus files that we don't know about and never remove. For 32417d5e3a19Smrg # instance it was reported that on HP-UX the gcc test will end up 32427d5e3a19Smrg # making a dummy file named `D' -- because `-MD' means `put the output 32437d5e3a19Smrg # in D'. 32447d5e3a19Smrg mkdir conftest.dir 32457d5e3a19Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 32467d5e3a19Smrg # using a relative directory. 32477d5e3a19Smrg cp "$am_depcomp" conftest.dir 32487d5e3a19Smrg cd conftest.dir 32497d5e3a19Smrg # We will build objects and dependencies in a subdirectory because 32507d5e3a19Smrg # it helps to detect inapplicable dependency modes. For instance 32517d5e3a19Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 32527d5e3a19Smrg # side effect of compilation, but ICC will put the dependencies in 32537d5e3a19Smrg # the current directory while Tru64 will put them in the object 32547d5e3a19Smrg # directory. 32557d5e3a19Smrg mkdir sub 32567d5e3a19Smrg 32577d5e3a19Smrg am_cv_CC_dependencies_compiler_type=none 32587d5e3a19Smrg if test "$am_compiler_list" = ""; then 32597d5e3a19Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 32607d5e3a19Smrg fi 32617d5e3a19Smrg for depmode in $am_compiler_list; do 32627d5e3a19Smrg # Setup a source with many dependencies, because some compilers 32637d5e3a19Smrg # like to wrap large dependency lists on column 80 (with \), and 32647d5e3a19Smrg # we should not choose a depcomp mode which is confused by this. 32657d5e3a19Smrg # 32667d5e3a19Smrg # We need to recreate these files for each test, as the compiler may 32677d5e3a19Smrg # overwrite some of them when testing with obscure command lines. 32687d5e3a19Smrg # This happens at least with the AIX C compiler. 32697d5e3a19Smrg : > sub/conftest.c 32707d5e3a19Smrg for i in 1 2 3 4 5 6; do 32717d5e3a19Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 32727d5e3a19Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 32737d5e3a19Smrg # Solaris 8's {/usr,}/bin/sh. 32747d5e3a19Smrg touch sub/conftst$i.h 32757d5e3a19Smrg done 32767d5e3a19Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 32777d5e3a19Smrg 32787d5e3a19Smrg case $depmode in 32797d5e3a19Smrg nosideeffect) 32807d5e3a19Smrg # after this tag, mechanisms are not by side-effect, so they'll 32817d5e3a19Smrg # only be used when explicitly requested 32827d5e3a19Smrg if test "x$enable_dependency_tracking" = xyes; then 32837d5e3a19Smrg continue 32847d5e3a19Smrg else 32857d5e3a19Smrg break 32867d5e3a19Smrg fi 32877d5e3a19Smrg ;; 32887d5e3a19Smrg none) break ;; 32897d5e3a19Smrg esac 32907d5e3a19Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 32917d5e3a19Smrg # mode. It turns out that the SunPro C++ compiler does not properly 32927d5e3a19Smrg # handle `-M -o', and we need to detect this. 32937d5e3a19Smrg if depmode=$depmode \ 32947d5e3a19Smrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 32957d5e3a19Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 32967d5e3a19Smrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 32977d5e3a19Smrg >/dev/null 2>conftest.err && 32987d5e3a19Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 32997d5e3a19Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 33007d5e3a19Smrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 33017d5e3a19Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 33027d5e3a19Smrg # icc doesn't choke on unknown options, it will just issue warnings 33037d5e3a19Smrg # or remarks (even with -Werror). So we grep stderr for any message 33047d5e3a19Smrg # that says an option was ignored or not supported. 33057d5e3a19Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 33067d5e3a19Smrg # icc: Command line warning: ignoring option '-M'; no argument required 33077d5e3a19Smrg # The diagnosis changed in icc 8.0: 33087d5e3a19Smrg # icc: Command line remark: option '-MP' not supported 33097d5e3a19Smrg if (grep 'ignoring option' conftest.err || 33107d5e3a19Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 33117d5e3a19Smrg am_cv_CC_dependencies_compiler_type=$depmode 33127d5e3a19Smrg break 33137d5e3a19Smrg fi 33147d5e3a19Smrg fi 33157d5e3a19Smrg done 33167d5e3a19Smrg 33177d5e3a19Smrg cd .. 33187d5e3a19Smrg rm -rf conftest.dir 33197d5e3a19Smrgelse 33207d5e3a19Smrg am_cv_CC_dependencies_compiler_type=none 33217d5e3a19Smrgfi 33227d5e3a19Smrg 33237d5e3a19Smrgfi 33247d5e3a19Smrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 33257d5e3a19Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 33267d5e3a19SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 33277d5e3a19Smrg 33287d5e3a19Smrg if 33297d5e3a19Smrg test "x$enable_dependency_tracking" != xno \ 33307d5e3a19Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 33317d5e3a19Smrg am__fastdepCC_TRUE= 33327d5e3a19Smrg am__fastdepCC_FALSE='#' 33337d5e3a19Smrgelse 33347d5e3a19Smrg am__fastdepCC_TRUE='#' 33357d5e3a19Smrg am__fastdepCC_FALSE= 33367d5e3a19Smrgfi 33377d5e3a19Smrg 33387d5e3a19Smrg 33397d5e3a19Smrg# Find a good install program. We prefer a C program (faster), 33407d5e3a19Smrg# so one script is as good as another. But avoid the broken or 33417d5e3a19Smrg# incompatible versions: 33427d5e3a19Smrg# SysV /etc/install, /usr/sbin/install 33437d5e3a19Smrg# SunOS /usr/etc/install 33447d5e3a19Smrg# IRIX /sbin/install 33457d5e3a19Smrg# AIX /bin/install 33467d5e3a19Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 33477d5e3a19Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 33487d5e3a19Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 33497d5e3a19Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 33507d5e3a19Smrg# OS/2's system install, which has a completely different semantic 33517d5e3a19Smrg# ./install, which can be erroneously created by make from ./install.sh. 33527d5e3a19Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 33537d5e3a19Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 33547d5e3a19Smrgif test -z "$INSTALL"; then 33557d5e3a19Smrgif test "${ac_cv_path_install+set}" = set; then 33567d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 33577d5e3a19Smrgelse 33587d5e3a19Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 33597d5e3a19Smrgfor as_dir in $PATH 33607d5e3a19Smrgdo 33617d5e3a19Smrg IFS=$as_save_IFS 33627d5e3a19Smrg test -z "$as_dir" && as_dir=. 33637d5e3a19Smrg # Account for people who put trailing slashes in PATH elements. 33647d5e3a19Smrgcase $as_dir/ in 33657d5e3a19Smrg ./ | .// | /cC/* | \ 33667d5e3a19Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 33677d5e3a19Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 33687d5e3a19Smrg /usr/ucb/* ) ;; 33697d5e3a19Smrg *) 33707d5e3a19Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 33717d5e3a19Smrg # Don't use installbsd from OSF since it installs stuff as root 33727d5e3a19Smrg # by default. 33737d5e3a19Smrg for ac_prog in ginstall scoinst install; do 33747d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 33757d5e3a19Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 33767d5e3a19Smrg if test $ac_prog = install && 33777d5e3a19Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 33787d5e3a19Smrg # AIX install. It has an incompatible calling convention. 33797d5e3a19Smrg : 33807d5e3a19Smrg elif test $ac_prog = install && 33817d5e3a19Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 33827d5e3a19Smrg # program-specific install script used by HP pwplus--don't use. 33837d5e3a19Smrg : 33847d5e3a19Smrg else 33857d5e3a19Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 33867d5e3a19Smrg break 3 33877d5e3a19Smrg fi 33887d5e3a19Smrg fi 33897d5e3a19Smrg done 33907d5e3a19Smrg done 33917d5e3a19Smrg ;; 33927d5e3a19Smrgesac 33937d5e3a19Smrgdone 33947d5e3a19SmrgIFS=$as_save_IFS 33957d5e3a19Smrg 33967d5e3a19Smrg 33977d5e3a19Smrgfi 33987d5e3a19Smrg if test "${ac_cv_path_install+set}" = set; then 33997d5e3a19Smrg INSTALL=$ac_cv_path_install 34007d5e3a19Smrg else 34017d5e3a19Smrg # As a last resort, use the slow shell script. Don't cache a 34027d5e3a19Smrg # value for INSTALL within a source directory, because that will 34037d5e3a19Smrg # break other packages using the cache if that directory is 34047d5e3a19Smrg # removed, or if the value is a relative name. 34057d5e3a19Smrg INSTALL=$ac_install_sh 34067d5e3a19Smrg fi 34077d5e3a19Smrgfi 34087d5e3a19Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 34097d5e3a19Smrgecho "${ECHO_T}$INSTALL" >&6; } 34107d5e3a19Smrg 34117d5e3a19Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 34127d5e3a19Smrg# It thinks the first close brace ends the variable substitution. 34137d5e3a19Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 34147d5e3a19Smrg 34157d5e3a19Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 34167d5e3a19Smrg 34177d5e3a19Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 34187d5e3a19Smrg 34197d5e3a19Smrg 34207d5e3a19Smrg 34217d5e3a19Smrg# Check whether --with-xkb-config-root was given. 34227d5e3a19Smrgif test "${with_xkb_config_root+set}" = set; then 34237d5e3a19Smrg withval=$with_xkb_config_root; XKBCONFIGROOT="$withval" 34247d5e3a19Smrgelse 34257d5e3a19Smrg XKBCONFIGROOT=${datadir}/X11/xkb 34267d5e3a19Smrgfi 34277d5e3a19Smrg 34287d5e3a19Smrg 34297d5e3a19Smrg 34307d5e3a19Smrg# Checks for pkg-config packages 34317d5e3a19Smrg 34327d5e3a19Smrg 34337d5e3a19Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 34347d5e3a19Smrg if test -n "$ac_tool_prefix"; then 34357d5e3a19Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 34367d5e3a19Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 34377d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 34387d5e3a19Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 34397d5e3a19Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 34407d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 34417d5e3a19Smrgelse 34427d5e3a19Smrg case $PKG_CONFIG in 34437d5e3a19Smrg [\\/]* | ?:[\\/]*) 34447d5e3a19Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 34457d5e3a19Smrg ;; 34467d5e3a19Smrg *) 34477d5e3a19Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 34487d5e3a19Smrgfor as_dir in $PATH 34497d5e3a19Smrgdo 34507d5e3a19Smrg IFS=$as_save_IFS 34517d5e3a19Smrg test -z "$as_dir" && as_dir=. 34527d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 34537d5e3a19Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 34547d5e3a19Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 34557d5e3a19Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 34567d5e3a19Smrg break 2 34577d5e3a19Smrg fi 34587d5e3a19Smrgdone 34597d5e3a19Smrgdone 34607d5e3a19SmrgIFS=$as_save_IFS 34617d5e3a19Smrg 34627d5e3a19Smrg ;; 34637d5e3a19Smrgesac 34647d5e3a19Smrgfi 34657d5e3a19SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 34667d5e3a19Smrgif test -n "$PKG_CONFIG"; then 34677d5e3a19Smrg { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 34687d5e3a19Smrgecho "${ECHO_T}$PKG_CONFIG" >&6; } 34697d5e3a19Smrgelse 34707d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 34717d5e3a19Smrgecho "${ECHO_T}no" >&6; } 34727d5e3a19Smrgfi 34737d5e3a19Smrg 34747d5e3a19Smrg 34757d5e3a19Smrgfi 34767d5e3a19Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 34777d5e3a19Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 34787d5e3a19Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 34797d5e3a19Smrgset dummy pkg-config; ac_word=$2 34807d5e3a19Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 34817d5e3a19Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 34827d5e3a19Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 34837d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 34847d5e3a19Smrgelse 34857d5e3a19Smrg case $ac_pt_PKG_CONFIG in 34867d5e3a19Smrg [\\/]* | ?:[\\/]*) 34877d5e3a19Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 34887d5e3a19Smrg ;; 34897d5e3a19Smrg *) 34907d5e3a19Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 34917d5e3a19Smrgfor as_dir in $PATH 34927d5e3a19Smrgdo 34937d5e3a19Smrg IFS=$as_save_IFS 34947d5e3a19Smrg test -z "$as_dir" && as_dir=. 34957d5e3a19Smrg for ac_exec_ext in '' $ac_executable_extensions; do 34967d5e3a19Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 34977d5e3a19Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 34987d5e3a19Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 34997d5e3a19Smrg break 2 35007d5e3a19Smrg fi 35017d5e3a19Smrgdone 35027d5e3a19Smrgdone 35037d5e3a19SmrgIFS=$as_save_IFS 35047d5e3a19Smrg 35057d5e3a19Smrg ;; 35067d5e3a19Smrgesac 35077d5e3a19Smrgfi 35087d5e3a19Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 35097d5e3a19Smrgif test -n "$ac_pt_PKG_CONFIG"; then 35107d5e3a19Smrg { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 35117d5e3a19Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 35127d5e3a19Smrgelse 35137d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 35147d5e3a19Smrgecho "${ECHO_T}no" >&6; } 35157d5e3a19Smrgfi 35167d5e3a19Smrg 35177d5e3a19Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 35187d5e3a19Smrg PKG_CONFIG="" 35197d5e3a19Smrg else 35207d5e3a19Smrg case $cross_compiling:$ac_tool_warned in 35217d5e3a19Smrgyes:) 35227d5e3a19Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 35237d5e3a19Smrgwhose name does not start with the host triplet. If you think this 35247d5e3a19Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 35257d5e3a19Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 35267d5e3a19Smrgwhose name does not start with the host triplet. If you think this 35277d5e3a19Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 35287d5e3a19Smrgac_tool_warned=yes ;; 35297d5e3a19Smrgesac 35307d5e3a19Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 35317d5e3a19Smrg fi 35327d5e3a19Smrgelse 35337d5e3a19Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 35347d5e3a19Smrgfi 35357d5e3a19Smrg 35367d5e3a19Smrgfi 35377d5e3a19Smrgif test -n "$PKG_CONFIG"; then 35387d5e3a19Smrg _pkg_min_version=0.9.0 35397d5e3a19Smrg { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 35407d5e3a19Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 35417d5e3a19Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 35427d5e3a19Smrg { echo "$as_me:$LINENO: result: yes" >&5 35437d5e3a19Smrgecho "${ECHO_T}yes" >&6; } 35447d5e3a19Smrg else 35457d5e3a19Smrg { echo "$as_me:$LINENO: result: no" >&5 35467d5e3a19Smrgecho "${ECHO_T}no" >&6; } 35477d5e3a19Smrg PKG_CONFIG="" 35487d5e3a19Smrg fi 35497d5e3a19Smrg 35507d5e3a19Smrgfi 35517d5e3a19Smrg 35527d5e3a19Smrgpkg_failed=no 35537d5e3a19Smrg{ echo "$as_me:$LINENO: checking for SETXKBMAP" >&5 35547d5e3a19Smrgecho $ECHO_N "checking for SETXKBMAP... $ECHO_C" >&6; } 35557d5e3a19Smrg 35567d5e3a19Smrgif test -n "$PKG_CONFIG"; then 35577d5e3a19Smrg if test -n "$PKG_CONFIG" && \ 35587d5e3a19Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\"") >&5 35597d5e3a19Smrg ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5 35607d5e3a19Smrg ac_status=$? 35617d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 35627d5e3a19Smrg (exit $ac_status); }; then 35637d5e3a19Smrg pkg_cv_SETXKBMAP_CFLAGS=`$PKG_CONFIG --cflags "xkbfile x11" 2>/dev/null` 35647d5e3a19Smrgelse 35657d5e3a19Smrg pkg_failed=yes 35667d5e3a19Smrgfi 35677d5e3a19Smrgelse 35687d5e3a19Smrg pkg_failed=untried 35697d5e3a19Smrgfi 35707d5e3a19Smrgif test -n "$PKG_CONFIG"; then 35717d5e3a19Smrg if test -n "$PKG_CONFIG" && \ 35727d5e3a19Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile x11\"") >&5 35737d5e3a19Smrg ($PKG_CONFIG --exists --print-errors "xkbfile x11") 2>&5 35747d5e3a19Smrg ac_status=$? 35757d5e3a19Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 35767d5e3a19Smrg (exit $ac_status); }; then 35777d5e3a19Smrg pkg_cv_SETXKBMAP_LIBS=`$PKG_CONFIG --libs "xkbfile x11" 2>/dev/null` 35787d5e3a19Smrgelse 35797d5e3a19Smrg pkg_failed=yes 35807d5e3a19Smrgfi 35817d5e3a19Smrgelse 35827d5e3a19Smrg pkg_failed=untried 35837d5e3a19Smrgfi 35847d5e3a19Smrg 35857d5e3a19Smrgif test $pkg_failed = yes; then 35867d5e3a19Smrg SETXKBMAP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xkbfile x11"` 35877d5e3a19Smrg # Put the nasty error message in config.log where it belongs 35887d5e3a19Smrg echo "$SETXKBMAP_PKG_ERRORS" 1>&5 35897d5e3a19Smrg 35907d5e3a19Smrg { { echo "$as_me:$LINENO: error: Package requirements (xkbfile x11) were not met. 35917d5e3a19SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 35927d5e3a19Smrginstalled software in a non-standard prefix. 35937d5e3a19Smrg 35947d5e3a19SmrgAlternatively you may set the SETXKBMAP_CFLAGS and SETXKBMAP_LIBS environment variables 35957d5e3a19Smrgto avoid the need to call pkg-config. See the pkg-config man page for 35967d5e3a19Smrgmore details." >&5 35977d5e3a19Smrgecho "$as_me: error: Package requirements (xkbfile x11) were not met. 35987d5e3a19SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 35997d5e3a19Smrginstalled software in a non-standard prefix. 36007d5e3a19Smrg 36017d5e3a19SmrgAlternatively you may set the SETXKBMAP_CFLAGS and SETXKBMAP_LIBS environment variables 36027d5e3a19Smrgto avoid the need to call pkg-config. See the pkg-config man page for 36037d5e3a19Smrgmore details." >&2;} 36047d5e3a19Smrg { (exit 1); exit 1; }; } 36057d5e3a19Smrgelif test $pkg_failed = untried; then 36067d5e3a19Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 36077d5e3a19Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 36087d5e3a19Smrgpath to pkg-config. 36097d5e3a19Smrg 36107d5e3a19SmrgAlternatively you may set the SETXKBMAP_CFLAGS and SETXKBMAP_LIBS environment variables 36117d5e3a19Smrgto avoid the need to call pkg-config. See the pkg-config man page for 36127d5e3a19Smrgmore details. 36137d5e3a19Smrg 36147d5e3a19SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 36157d5e3a19SmrgSee \`config.log' for more details." >&5 36167d5e3a19Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 36177d5e3a19Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 36187d5e3a19Smrgpath to pkg-config. 36197d5e3a19Smrg 36207d5e3a19SmrgAlternatively you may set the SETXKBMAP_CFLAGS and SETXKBMAP_LIBS environment variables 36217d5e3a19Smrgto avoid the need to call pkg-config. See the pkg-config man page for 36227d5e3a19Smrgmore details. 36237d5e3a19Smrg 36247d5e3a19SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 36257d5e3a19SmrgSee \`config.log' for more details." >&2;} 36267d5e3a19Smrg { (exit 1); exit 1; }; } 36277d5e3a19Smrgelse 36287d5e3a19Smrg SETXKBMAP_CFLAGS=$pkg_cv_SETXKBMAP_CFLAGS 36297d5e3a19Smrg SETXKBMAP_LIBS=$pkg_cv_SETXKBMAP_LIBS 36307d5e3a19Smrg { echo "$as_me:$LINENO: result: yes" >&5 36317d5e3a19Smrgecho "${ECHO_T}yes" >&6; } 36327d5e3a19Smrg : 36337d5e3a19Smrgfi 36347d5e3a19Smrg 36357d5e3a19Smrg 36367d5e3a19Smrg 36377d5e3a19Smrg# Allow checking code with lint, sparse, etc. 36387d5e3a19Smrg 36397d5e3a19Smrg 36407d5e3a19Smrg# Allow checking code with lint, sparse, etc. 36417d5e3a19Smrg 36427d5e3a19Smrg# Check whether --with-lint was given. 36437d5e3a19Smrgif test "${with_lint+set}" = set; then 36447d5e3a19Smrg withval=$with_lint; use_lint=$withval 36457d5e3a19Smrgelse 36467d5e3a19Smrg use_lint=no 36477d5e3a19Smrgfi 36487d5e3a19Smrg 36497d5e3a19Smrgif test "x$use_lint" = "xyes" ; then 36507d5e3a19Smrg LINT="lint" 36517d5e3a19Smrgelse 36527d5e3a19Smrg LINT="$use_lint" 36537d5e3a19Smrgfi 36547d5e3a19Smrgif test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then 36557d5e3a19Smrg case $LINT in 36567d5e3a19Smrg lint|*/lint) 36577d5e3a19Smrg case $host_os in 36587d5e3a19Smrg solaris*) 36597d5e3a19Smrg LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2" 36607d5e3a19Smrg ;; 36617d5e3a19Smrg esac 36627d5e3a19Smrg ;; 36637d5e3a19Smrg esac 36647d5e3a19Smrgfi 36657d5e3a19Smrg 36667d5e3a19Smrg 36677d5e3a19Smrg 36687d5e3a19Smrg if test x$LINT != xno; then 36697d5e3a19Smrg LINT_TRUE= 36707d5e3a19Smrg LINT_FALSE='#' 36717d5e3a19Smrgelse 36727d5e3a19Smrg LINT_TRUE='#' 36737d5e3a19Smrg LINT_FALSE= 36747d5e3a19Smrgfi 36757d5e3a19Smrg 36767d5e3a19Smrg 36777d5e3a19Smrg 36787d5e3a19Smrg 36797d5e3a19Smrg# Make sure we can run config.sub. 36807d5e3a19Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 36817d5e3a19Smrg { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 36827d5e3a19Smrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 36837d5e3a19Smrg { (exit 1); exit 1; }; } 36847d5e3a19Smrg 36857d5e3a19Smrg{ echo "$as_me:$LINENO: checking build system type" >&5 36867d5e3a19Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; } 36877d5e3a19Smrgif test "${ac_cv_build+set}" = set; then 36887d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 36897d5e3a19Smrgelse 36907d5e3a19Smrg ac_build_alias=$build_alias 36917d5e3a19Smrgtest "x$ac_build_alias" = x && 36927d5e3a19Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 36937d5e3a19Smrgtest "x$ac_build_alias" = x && 36947d5e3a19Smrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 36957d5e3a19Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 36967d5e3a19Smrg { (exit 1); exit 1; }; } 36977d5e3a19Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 36987d5e3a19Smrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 36997d5e3a19Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 37007d5e3a19Smrg { (exit 1); exit 1; }; } 37017d5e3a19Smrg 37027d5e3a19Smrgfi 37037d5e3a19Smrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 37047d5e3a19Smrgecho "${ECHO_T}$ac_cv_build" >&6; } 37057d5e3a19Smrgcase $ac_cv_build in 37067d5e3a19Smrg*-*-*) ;; 37077d5e3a19Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 37087d5e3a19Smrgecho "$as_me: error: invalid value of canonical build" >&2;} 37097d5e3a19Smrg { (exit 1); exit 1; }; };; 37107d5e3a19Smrgesac 37117d5e3a19Smrgbuild=$ac_cv_build 37127d5e3a19Smrgac_save_IFS=$IFS; IFS='-' 37137d5e3a19Smrgset x $ac_cv_build 37147d5e3a19Smrgshift 37157d5e3a19Smrgbuild_cpu=$1 37167d5e3a19Smrgbuild_vendor=$2 37177d5e3a19Smrgshift; shift 37187d5e3a19Smrg# Remember, the first character of IFS is used to create $*, 37197d5e3a19Smrg# except with old shells: 37207d5e3a19Smrgbuild_os=$* 37217d5e3a19SmrgIFS=$ac_save_IFS 37227d5e3a19Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 37237d5e3a19Smrg 37247d5e3a19Smrg 37257d5e3a19Smrg{ echo "$as_me:$LINENO: checking host system type" >&5 37267d5e3a19Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; } 37277d5e3a19Smrgif test "${ac_cv_host+set}" = set; then 37287d5e3a19Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 37297d5e3a19Smrgelse 37307d5e3a19Smrg if test "x$host_alias" = x; then 37317d5e3a19Smrg ac_cv_host=$ac_cv_build 37327d5e3a19Smrgelse 37337d5e3a19Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 37347d5e3a19Smrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 37357d5e3a19Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 37367d5e3a19Smrg { (exit 1); exit 1; }; } 37377d5e3a19Smrgfi 37387d5e3a19Smrg 37397d5e3a19Smrgfi 37407d5e3a19Smrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 37417d5e3a19Smrgecho "${ECHO_T}$ac_cv_host" >&6; } 37427d5e3a19Smrgcase $ac_cv_host in 37437d5e3a19Smrg*-*-*) ;; 37447d5e3a19Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 37457d5e3a19Smrgecho "$as_me: error: invalid value of canonical host" >&2;} 37467d5e3a19Smrg { (exit 1); exit 1; }; };; 37477d5e3a19Smrgesac 37487d5e3a19Smrghost=$ac_cv_host 37497d5e3a19Smrgac_save_IFS=$IFS; IFS='-' 37507d5e3a19Smrgset x $ac_cv_host 37517d5e3a19Smrgshift 37527d5e3a19Smrghost_cpu=$1 37537d5e3a19Smrghost_vendor=$2 37547d5e3a19Smrgshift; shift 37557d5e3a19Smrg# Remember, the first character of IFS is used to create $*, 37567d5e3a19Smrg# except with old shells: 37577d5e3a19Smrghost_os=$* 37587d5e3a19SmrgIFS=$ac_save_IFS 37597d5e3a19Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 37607d5e3a19Smrg 37617d5e3a19Smrg 37627d5e3a19Smrg 37637d5e3a19Smrg 37647d5e3a19Smrg 37657d5e3a19Smrgif test x$APP_MAN_SUFFIX = x ; then 37667d5e3a19Smrg APP_MAN_SUFFIX=1 37677d5e3a19Smrgfi 37687d5e3a19Smrgif test x$APP_MAN_DIR = x ; then 37697d5e3a19Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 37707d5e3a19Smrgfi 37717d5e3a19Smrg 37727d5e3a19Smrgif test x$LIB_MAN_SUFFIX = x ; then 37737d5e3a19Smrg LIB_MAN_SUFFIX=3 37747d5e3a19Smrgfi 37757d5e3a19Smrgif test x$LIB_MAN_DIR = x ; then 37767d5e3a19Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 37777d5e3a19Smrgfi 37787d5e3a19Smrg 37797d5e3a19Smrgif test x$FILE_MAN_SUFFIX = x ; then 37807d5e3a19Smrg case $host_os in 37817d5e3a19Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 37827d5e3a19Smrg *) FILE_MAN_SUFFIX=5 ;; 37837d5e3a19Smrg esac 37847d5e3a19Smrgfi 37857d5e3a19Smrgif test x$FILE_MAN_DIR = x ; then 37867d5e3a19Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 37877d5e3a19Smrgfi 37887d5e3a19Smrg 37897d5e3a19Smrgif test x$MISC_MAN_SUFFIX = x ; then 37907d5e3a19Smrg case $host_os in 37917d5e3a19Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 37927d5e3a19Smrg *) MISC_MAN_SUFFIX=7 ;; 37937d5e3a19Smrg esac 37947d5e3a19Smrgfi 37957d5e3a19Smrgif test x$MISC_MAN_DIR = x ; then 37967d5e3a19Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 37977d5e3a19Smrgfi 37987d5e3a19Smrg 37997d5e3a19Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 38007d5e3a19Smrg case $host_os in 38017d5e3a19Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 38027d5e3a19Smrg *) DRIVER_MAN_SUFFIX=4 ;; 38037d5e3a19Smrg esac 38047d5e3a19Smrgfi 38057d5e3a19Smrgif test x$DRIVER_MAN_DIR = x ; then 38067d5e3a19Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 38077d5e3a19Smrgfi 38087d5e3a19Smrg 38097d5e3a19Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 38107d5e3a19Smrg case $host_os in 38117d5e3a19Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 38127d5e3a19Smrg *) ADMIN_MAN_SUFFIX=8 ;; 38137d5e3a19Smrg esac 38147d5e3a19Smrgfi 38157d5e3a19Smrgif test x$ADMIN_MAN_DIR = x ; then 38167d5e3a19Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 38177d5e3a19Smrgfi 38187d5e3a19Smrg 38197d5e3a19Smrg 38207d5e3a19Smrg 38217d5e3a19Smrg 38227d5e3a19Smrg 38237d5e3a19Smrg 38247d5e3a19Smrg 38257d5e3a19Smrg 38267d5e3a19Smrg 38277d5e3a19Smrg 38287d5e3a19Smrg 38297d5e3a19Smrg 38307d5e3a19Smrg 38317d5e3a19Smrg 38327d5e3a19Smrg 38337d5e3a19Smrg 38347d5e3a19Smrg 38357d5e3a19Smrg# Check whether --with-release-version was given. 38367d5e3a19Smrgif test "${with_release_version+set}" = set; then 38377d5e3a19Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 38387d5e3a19Smrgelse 38397d5e3a19Smrg RELEASE_VERSION="" 38407d5e3a19Smrgfi 38417d5e3a19Smrg 38427d5e3a19Smrg if test "x$RELEASE_VERSION" != "x"; then 38437d5e3a19Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 38447d5e3a19Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 38457d5e3a19Smrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 38467d5e3a19Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 38477d5e3a19Smrg fi 38487d5e3a19Smrg 38497d5e3a19Smrgcat >>confdefs.h <<_ACEOF 38507d5e3a19Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 38517d5e3a19Smrg_ACEOF 38527d5e3a19Smrg 38537d5e3a19Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2` 38547d5e3a19Smrg if test "x$PVM" = "x"; then 38557d5e3a19Smrg PVM="0" 38567d5e3a19Smrg fi 38577d5e3a19Smrg 38587d5e3a19Smrgcat >>confdefs.h <<_ACEOF 38597d5e3a19Smrg#define PACKAGE_VERSION_MINOR $PVM 38607d5e3a19Smrg_ACEOF 38617d5e3a19Smrg 38627d5e3a19Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3` 38637d5e3a19Smrg if test "x$PVP" = "x"; then 38647d5e3a19Smrg PVP="0" 38657d5e3a19Smrg fi 38667d5e3a19Smrg 38677d5e3a19Smrgcat >>confdefs.h <<_ACEOF 38687d5e3a19Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 38697d5e3a19Smrg_ACEOF 38707d5e3a19Smrg 38717d5e3a19Smrg 38727d5e3a19Smrg 38737d5e3a19Smrgac_config_files="$ac_config_files Makefile" 38747d5e3a19Smrg 38757d5e3a19Smrgcat >confcache <<\_ACEOF 38767d5e3a19Smrg# This file is a shell script that caches the results of configure 38777d5e3a19Smrg# tests run on this system so they can be shared between configure 38787d5e3a19Smrg# scripts and configure runs, see configure's option --config-cache. 38797d5e3a19Smrg# It is not useful on other systems. If it contains results you don't 38807d5e3a19Smrg# want to keep, you may remove or edit it. 38817d5e3a19Smrg# 38827d5e3a19Smrg# config.status only pays attention to the cache file if you give it 38837d5e3a19Smrg# the --recheck option to rerun configure. 38847d5e3a19Smrg# 38857d5e3a19Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 38867d5e3a19Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 38877d5e3a19Smrg# following values. 38887d5e3a19Smrg 38897d5e3a19Smrg_ACEOF 38907d5e3a19Smrg 38917d5e3a19Smrg# The following way of writing the cache mishandles newlines in values, 38927d5e3a19Smrg# but we know of no workaround that is simple, portable, and efficient. 38937d5e3a19Smrg# So, we kill variables containing newlines. 38947d5e3a19Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 38957d5e3a19Smrg# and sets the high bit in the cache file unless we assign to the vars. 38967d5e3a19Smrg( 38977d5e3a19Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 38987d5e3a19Smrg eval ac_val=\$$ac_var 38997d5e3a19Smrg case $ac_val in #( 39007d5e3a19Smrg *${as_nl}*) 39017d5e3a19Smrg case $ac_var in #( 39027d5e3a19Smrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 39037d5e3a19Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 39047d5e3a19Smrg esac 39057d5e3a19Smrg case $ac_var in #( 39067d5e3a19Smrg _ | IFS | as_nl) ;; #( 39077d5e3a19Smrg *) $as_unset $ac_var ;; 39087d5e3a19Smrg esac ;; 39097d5e3a19Smrg esac 39107d5e3a19Smrg done 39117d5e3a19Smrg 39127d5e3a19Smrg (set) 2>&1 | 39137d5e3a19Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 39147d5e3a19Smrg *${as_nl}ac_space=\ *) 39157d5e3a19Smrg # `set' does not quote correctly, so add quotes (double-quote 39167d5e3a19Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 39177d5e3a19Smrg sed -n \ 39187d5e3a19Smrg "s/'/'\\\\''/g; 39197d5e3a19Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 39207d5e3a19Smrg ;; #( 39217d5e3a19Smrg *) 39227d5e3a19Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 39237d5e3a19Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 39247d5e3a19Smrg ;; 39257d5e3a19Smrg esac | 39267d5e3a19Smrg sort 39277d5e3a19Smrg) | 39287d5e3a19Smrg sed ' 39297d5e3a19Smrg /^ac_cv_env_/b end 39307d5e3a19Smrg t clear 39317d5e3a19Smrg :clear 39327d5e3a19Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 39337d5e3a19Smrg t end 39347d5e3a19Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 39357d5e3a19Smrg :end' >>confcache 39367d5e3a19Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 39377d5e3a19Smrg if test -w "$cache_file"; then 39387d5e3a19Smrg test "x$cache_file" != "x/dev/null" && 39397d5e3a19Smrg { echo "$as_me:$LINENO: updating cache $cache_file" >&5 39407d5e3a19Smrgecho "$as_me: updating cache $cache_file" >&6;} 39417d5e3a19Smrg cat confcache >$cache_file 39427d5e3a19Smrg else 39437d5e3a19Smrg { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 39447d5e3a19Smrgecho "$as_me: not updating unwritable cache $cache_file" >&6;} 39457d5e3a19Smrg fi 39467d5e3a19Smrgfi 39477d5e3a19Smrgrm -f confcache 39487d5e3a19Smrg 39497d5e3a19Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 39507d5e3a19Smrg# Let make expand exec_prefix. 39517d5e3a19Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 39527d5e3a19Smrg 39537d5e3a19SmrgDEFS=-DHAVE_CONFIG_H 39547d5e3a19Smrg 39557d5e3a19Smrgac_libobjs= 39567d5e3a19Smrgac_ltlibobjs= 39577d5e3a19Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 39587d5e3a19Smrg # 1. Remove the extension, and $U if already installed. 39597d5e3a19Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 39607d5e3a19Smrg ac_i=`echo "$ac_i" | sed "$ac_script"` 39617d5e3a19Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 39627d5e3a19Smrg # will be set to the directory where LIBOBJS objects are built. 39637d5e3a19Smrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 39647d5e3a19Smrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 39657d5e3a19Smrgdone 39667d5e3a19SmrgLIBOBJS=$ac_libobjs 39677d5e3a19Smrg 39687d5e3a19SmrgLTLIBOBJS=$ac_ltlibobjs 39697d5e3a19Smrg 39707d5e3a19Smrg 39717d5e3a19Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 39727d5e3a19Smrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 39737d5e3a19SmrgUsually this means the macro was only invoked conditionally." >&5 39747d5e3a19Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 39757d5e3a19SmrgUsually this means the macro was only invoked conditionally." >&2;} 39767d5e3a19Smrg { (exit 1); exit 1; }; } 39777d5e3a19Smrgfi 39787d5e3a19Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 39797d5e3a19Smrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 39807d5e3a19SmrgUsually this means the macro was only invoked conditionally." >&5 39817d5e3a19Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 39827d5e3a19SmrgUsually this means the macro was only invoked conditionally." >&2;} 39837d5e3a19Smrg { (exit 1); exit 1; }; } 39847d5e3a19Smrgfi 39857d5e3a19Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 39867d5e3a19Smrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 39877d5e3a19SmrgUsually this means the macro was only invoked conditionally." >&5 39887d5e3a19Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 39897d5e3a19SmrgUsually this means the macro was only invoked conditionally." >&2;} 39907d5e3a19Smrg { (exit 1); exit 1; }; } 39917d5e3a19Smrgfi 39927d5e3a19Smrgif test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then 39937d5e3a19Smrg { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined. 39947d5e3a19SmrgUsually this means the macro was only invoked conditionally." >&5 39957d5e3a19Smrgecho "$as_me: error: conditional \"LINT\" was never defined. 39967d5e3a19SmrgUsually this means the macro was only invoked conditionally." >&2;} 39977d5e3a19Smrg { (exit 1); exit 1; }; } 39987d5e3a19Smrgfi 39997d5e3a19Smrg 40007d5e3a19Smrg: ${CONFIG_STATUS=./config.status} 40017d5e3a19Smrgac_clean_files_save=$ac_clean_files 40027d5e3a19Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 40037d5e3a19Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 40047d5e3a19Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 40057d5e3a19Smrgcat >$CONFIG_STATUS <<_ACEOF 40067d5e3a19Smrg#! $SHELL 40077d5e3a19Smrg# Generated by $as_me. 40087d5e3a19Smrg# Run this file to recreate the current configuration. 40097d5e3a19Smrg# Compiler output produced by configure, useful for debugging 40107d5e3a19Smrg# configure, is in config.log if it exists. 40117d5e3a19Smrg 40127d5e3a19Smrgdebug=false 40137d5e3a19Smrgac_cs_recheck=false 40147d5e3a19Smrgac_cs_silent=false 40157d5e3a19SmrgSHELL=\${CONFIG_SHELL-$SHELL} 40167d5e3a19Smrg_ACEOF 40177d5e3a19Smrg 40187d5e3a19Smrgcat >>$CONFIG_STATUS <<\_ACEOF 40197d5e3a19Smrg## --------------------- ## 40207d5e3a19Smrg## M4sh Initialization. ## 40217d5e3a19Smrg## --------------------- ## 40227d5e3a19Smrg 40237d5e3a19Smrg# Be more Bourne compatible 40247d5e3a19SmrgDUALCASE=1; export DUALCASE # for MKS sh 40257d5e3a19Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 40267d5e3a19Smrg emulate sh 40277d5e3a19Smrg NULLCMD=: 40287d5e3a19Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 40297d5e3a19Smrg # is contrary to our usage. Disable this feature. 40307d5e3a19Smrg alias -g '${1+"$@"}'='"$@"' 40317d5e3a19Smrg setopt NO_GLOB_SUBST 40327d5e3a19Smrgelse 40337d5e3a19Smrg case `(set -o) 2>/dev/null` in 40347d5e3a19Smrg *posix*) set -o posix ;; 40357d5e3a19Smrgesac 40367d5e3a19Smrg 40377d5e3a19Smrgfi 40387d5e3a19Smrg 40397d5e3a19Smrg 40407d5e3a19Smrg 40417d5e3a19Smrg 40427d5e3a19Smrg# PATH needs CR 40437d5e3a19Smrg# Avoid depending upon Character Ranges. 40447d5e3a19Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 40457d5e3a19Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 40467d5e3a19Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 40477d5e3a19Smrgas_cr_digits='0123456789' 40487d5e3a19Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 40497d5e3a19Smrg 40507d5e3a19Smrg# The user is always right. 40517d5e3a19Smrgif test "${PATH_SEPARATOR+set}" != set; then 40527d5e3a19Smrg echo "#! /bin/sh" >conf$$.sh 40537d5e3a19Smrg echo "exit 0" >>conf$$.sh 40547d5e3a19Smrg chmod +x conf$$.sh 40557d5e3a19Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 40567d5e3a19Smrg PATH_SEPARATOR=';' 40577d5e3a19Smrg else 40587d5e3a19Smrg PATH_SEPARATOR=: 40597d5e3a19Smrg fi 40607d5e3a19Smrg rm -f conf$$.sh 40617d5e3a19Smrgfi 40627d5e3a19Smrg 40637d5e3a19Smrg# Support unset when possible. 40647d5e3a19Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 40657d5e3a19Smrg as_unset=unset 40667d5e3a19Smrgelse 40677d5e3a19Smrg as_unset=false 40687d5e3a19Smrgfi 40697d5e3a19Smrg 40707d5e3a19Smrg 40717d5e3a19Smrg# IFS 40727d5e3a19Smrg# We need space, tab and new line, in precisely that order. Quoting is 40737d5e3a19Smrg# there to prevent editors from complaining about space-tab. 40747d5e3a19Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 40757d5e3a19Smrg# splitting by setting IFS to empty value.) 40767d5e3a19Smrgas_nl=' 40777d5e3a19Smrg' 40787d5e3a19SmrgIFS=" "" $as_nl" 40797d5e3a19Smrg 40807d5e3a19Smrg# Find who we are. Look in the path if we contain no directory separator. 40817d5e3a19Smrgcase $0 in 40827d5e3a19Smrg *[\\/]* ) as_myself=$0 ;; 40837d5e3a19Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 40847d5e3a19Smrgfor as_dir in $PATH 40857d5e3a19Smrgdo 40867d5e3a19Smrg IFS=$as_save_IFS 40877d5e3a19Smrg test -z "$as_dir" && as_dir=. 40887d5e3a19Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 40897d5e3a19Smrgdone 40907d5e3a19SmrgIFS=$as_save_IFS 40917d5e3a19Smrg 40927d5e3a19Smrg ;; 40937d5e3a19Smrgesac 40947d5e3a19Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 40957d5e3a19Smrg# in which case we are not to be found in the path. 40967d5e3a19Smrgif test "x$as_myself" = x; then 40977d5e3a19Smrg as_myself=$0 40987d5e3a19Smrgfi 40997d5e3a19Smrgif test ! -f "$as_myself"; then 41007d5e3a19Smrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 41017d5e3a19Smrg { (exit 1); exit 1; } 41027d5e3a19Smrgfi 41037d5e3a19Smrg 41047d5e3a19Smrg# Work around bugs in pre-3.0 UWIN ksh. 41057d5e3a19Smrgfor as_var in ENV MAIL MAILPATH 41067d5e3a19Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 41077d5e3a19Smrgdone 41087d5e3a19SmrgPS1='$ ' 41097d5e3a19SmrgPS2='> ' 41107d5e3a19SmrgPS4='+ ' 41117d5e3a19Smrg 41127d5e3a19Smrg# NLS nuisances. 41137d5e3a19Smrgfor as_var in \ 41147d5e3a19Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41157d5e3a19Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 41167d5e3a19Smrg LC_TELEPHONE LC_TIME 41177d5e3a19Smrgdo 41187d5e3a19Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 41197d5e3a19Smrg eval $as_var=C; export $as_var 41207d5e3a19Smrg else 41217d5e3a19Smrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 41227d5e3a19Smrg fi 41237d5e3a19Smrgdone 41247d5e3a19Smrg 41257d5e3a19Smrg# Required to use basename. 41267d5e3a19Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 41277d5e3a19Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 41287d5e3a19Smrg as_expr=expr 41297d5e3a19Smrgelse 41307d5e3a19Smrg as_expr=false 41317d5e3a19Smrgfi 41327d5e3a19Smrg 41337d5e3a19Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 41347d5e3a19Smrg as_basename=basename 41357d5e3a19Smrgelse 41367d5e3a19Smrg as_basename=false 41377d5e3a19Smrgfi 41387d5e3a19Smrg 41397d5e3a19Smrg 41407d5e3a19Smrg# Name of the executable. 41417d5e3a19Smrgas_me=`$as_basename -- "$0" || 41427d5e3a19Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 41437d5e3a19Smrg X"$0" : 'X\(//\)$' \| \ 41447d5e3a19Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 41457d5e3a19Smrgecho X/"$0" | 41467d5e3a19Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 41477d5e3a19Smrg s//\1/ 41487d5e3a19Smrg q 41497d5e3a19Smrg } 41507d5e3a19Smrg /^X\/\(\/\/\)$/{ 41517d5e3a19Smrg s//\1/ 41527d5e3a19Smrg q 41537d5e3a19Smrg } 41547d5e3a19Smrg /^X\/\(\/\).*/{ 41557d5e3a19Smrg s//\1/ 41567d5e3a19Smrg q 41577d5e3a19Smrg } 41587d5e3a19Smrg s/.*/./; q'` 41597d5e3a19Smrg 41607d5e3a19Smrg# CDPATH. 41617d5e3a19Smrg$as_unset CDPATH 41627d5e3a19Smrg 41637d5e3a19Smrg 41647d5e3a19Smrg 41657d5e3a19Smrg as_lineno_1=$LINENO 41667d5e3a19Smrg as_lineno_2=$LINENO 41677d5e3a19Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 41687d5e3a19Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 41697d5e3a19Smrg 41707d5e3a19Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 41717d5e3a19Smrg # uniformly replaced by the line number. The first 'sed' inserts a 41727d5e3a19Smrg # line-number line after each line using $LINENO; the second 'sed' 41737d5e3a19Smrg # does the real work. The second script uses 'N' to pair each 41747d5e3a19Smrg # line-number line with the line containing $LINENO, and appends 41757d5e3a19Smrg # trailing '-' during substitution so that $LINENO is not a special 41767d5e3a19Smrg # case at line end. 41777d5e3a19Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 41787d5e3a19Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 41797d5e3a19Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 41807d5e3a19Smrg sed -n ' 41817d5e3a19Smrg p 41827d5e3a19Smrg /[$]LINENO/= 41837d5e3a19Smrg ' <$as_myself | 41847d5e3a19Smrg sed ' 41857d5e3a19Smrg s/[$]LINENO.*/&-/ 41867d5e3a19Smrg t lineno 41877d5e3a19Smrg b 41887d5e3a19Smrg :lineno 41897d5e3a19Smrg N 41907d5e3a19Smrg :loop 41917d5e3a19Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 41927d5e3a19Smrg t loop 41937d5e3a19Smrg s/-\n.*// 41947d5e3a19Smrg ' >$as_me.lineno && 41957d5e3a19Smrg chmod +x "$as_me.lineno" || 41967d5e3a19Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 41977d5e3a19Smrg { (exit 1); exit 1; }; } 41987d5e3a19Smrg 41997d5e3a19Smrg # Don't try to exec as it changes $[0], causing all sort of problems 42007d5e3a19Smrg # (the dirname of $[0] is not the place where we might find the 42017d5e3a19Smrg # original and so on. Autoconf is especially sensitive to this). 42027d5e3a19Smrg . "./$as_me.lineno" 42037d5e3a19Smrg # Exit status is that of the last command. 42047d5e3a19Smrg exit 42057d5e3a19Smrg} 42067d5e3a19Smrg 42077d5e3a19Smrg 42087d5e3a19Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 42097d5e3a19Smrg as_dirname=dirname 42107d5e3a19Smrgelse 42117d5e3a19Smrg as_dirname=false 42127d5e3a19Smrgfi 42137d5e3a19Smrg 42147d5e3a19SmrgECHO_C= ECHO_N= ECHO_T= 42157d5e3a19Smrgcase `echo -n x` in 42167d5e3a19Smrg-n*) 42177d5e3a19Smrg case `echo 'x\c'` in 42187d5e3a19Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 42197d5e3a19Smrg *) ECHO_C='\c';; 42207d5e3a19Smrg esac;; 42217d5e3a19Smrg*) 42227d5e3a19Smrg ECHO_N='-n';; 42237d5e3a19Smrgesac 42247d5e3a19Smrg 42257d5e3a19Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 42267d5e3a19Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 42277d5e3a19Smrg as_expr=expr 42287d5e3a19Smrgelse 42297d5e3a19Smrg as_expr=false 42307d5e3a19Smrgfi 42317d5e3a19Smrg 42327d5e3a19Smrgrm -f conf$$ conf$$.exe conf$$.file 42337d5e3a19Smrgif test -d conf$$.dir; then 42347d5e3a19Smrg rm -f conf$$.dir/conf$$.file 42357d5e3a19Smrgelse 42367d5e3a19Smrg rm -f conf$$.dir 42377d5e3a19Smrg mkdir conf$$.dir 42387d5e3a19Smrgfi 42397d5e3a19Smrgecho >conf$$.file 42407d5e3a19Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 42417d5e3a19Smrg as_ln_s='ln -s' 42427d5e3a19Smrg # ... but there are two gotchas: 42437d5e3a19Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 42447d5e3a19Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 42457d5e3a19Smrg # In both cases, we have to default to `cp -p'. 42467d5e3a19Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 42477d5e3a19Smrg as_ln_s='cp -p' 42487d5e3a19Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 42497d5e3a19Smrg as_ln_s=ln 42507d5e3a19Smrgelse 42517d5e3a19Smrg as_ln_s='cp -p' 42527d5e3a19Smrgfi 42537d5e3a19Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 42547d5e3a19Smrgrmdir conf$$.dir 2>/dev/null 42557d5e3a19Smrg 42567d5e3a19Smrgif mkdir -p . 2>/dev/null; then 42577d5e3a19Smrg as_mkdir_p=: 42587d5e3a19Smrgelse 42597d5e3a19Smrg test -d ./-p && rmdir ./-p 42607d5e3a19Smrg as_mkdir_p=false 42617d5e3a19Smrgfi 42627d5e3a19Smrg 42637d5e3a19Smrgif test -x / >/dev/null 2>&1; then 42647d5e3a19Smrg as_test_x='test -x' 42657d5e3a19Smrgelse 42667d5e3a19Smrg if ls -dL / >/dev/null 2>&1; then 42677d5e3a19Smrg as_ls_L_option=L 42687d5e3a19Smrg else 42697d5e3a19Smrg as_ls_L_option= 42707d5e3a19Smrg fi 42717d5e3a19Smrg as_test_x=' 42727d5e3a19Smrg eval sh -c '\'' 42737d5e3a19Smrg if test -d "$1"; then 42747d5e3a19Smrg test -d "$1/."; 42757d5e3a19Smrg else 42767d5e3a19Smrg case $1 in 42777d5e3a19Smrg -*)set "./$1";; 42787d5e3a19Smrg esac; 42797d5e3a19Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 42807d5e3a19Smrg ???[sx]*):;;*)false;;esac;fi 42817d5e3a19Smrg '\'' sh 42827d5e3a19Smrg ' 42837d5e3a19Smrgfi 42847d5e3a19Smrgas_executable_p=$as_test_x 42857d5e3a19Smrg 42867d5e3a19Smrg# Sed expression to map a string onto a valid CPP name. 42877d5e3a19Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 42887d5e3a19Smrg 42897d5e3a19Smrg# Sed expression to map a string onto a valid variable name. 42907d5e3a19Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 42917d5e3a19Smrg 42927d5e3a19Smrg 42937d5e3a19Smrgexec 6>&1 42947d5e3a19Smrg 42957d5e3a19Smrg# Save the log message, to keep $[0] and so on meaningful, and to 42967d5e3a19Smrg# report actual input values of CONFIG_FILES etc. instead of their 42977d5e3a19Smrg# values after options handling. 42987d5e3a19Smrgac_log=" 42997d5e3a19SmrgThis file was extended by setxkbmap $as_me 1.0.4, which was 43007d5e3a19Smrggenerated by GNU Autoconf 2.61. Invocation command line was 43017d5e3a19Smrg 43027d5e3a19Smrg CONFIG_FILES = $CONFIG_FILES 43037d5e3a19Smrg CONFIG_HEADERS = $CONFIG_HEADERS 43047d5e3a19Smrg CONFIG_LINKS = $CONFIG_LINKS 43057d5e3a19Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 43067d5e3a19Smrg $ $0 $@ 43077d5e3a19Smrg 43087d5e3a19Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 43097d5e3a19Smrg" 43107d5e3a19Smrg 43117d5e3a19Smrg_ACEOF 43127d5e3a19Smrg 43137d5e3a19Smrgcat >>$CONFIG_STATUS <<_ACEOF 43147d5e3a19Smrg# Files that config.status was made for. 43157d5e3a19Smrgconfig_files="$ac_config_files" 43167d5e3a19Smrgconfig_headers="$ac_config_headers" 43177d5e3a19Smrgconfig_commands="$ac_config_commands" 43187d5e3a19Smrg 43197d5e3a19Smrg_ACEOF 43207d5e3a19Smrg 43217d5e3a19Smrgcat >>$CONFIG_STATUS <<\_ACEOF 43227d5e3a19Smrgac_cs_usage="\ 43237d5e3a19Smrg\`$as_me' instantiates files from templates according to the 43247d5e3a19Smrgcurrent configuration. 43257d5e3a19Smrg 43267d5e3a19SmrgUsage: $0 [OPTIONS] [FILE]... 43277d5e3a19Smrg 43287d5e3a19Smrg -h, --help print this help, then exit 43297d5e3a19Smrg -V, --version print version number and configuration settings, then exit 43307d5e3a19Smrg -q, --quiet do not print progress messages 43317d5e3a19Smrg -d, --debug don't remove temporary files 43327d5e3a19Smrg --recheck update $as_me by reconfiguring in the same conditions 43337d5e3a19Smrg --file=FILE[:TEMPLATE] 43347d5e3a19Smrg instantiate the configuration file FILE 43357d5e3a19Smrg --header=FILE[:TEMPLATE] 43367d5e3a19Smrg instantiate the configuration header FILE 43377d5e3a19Smrg 43387d5e3a19SmrgConfiguration files: 43397d5e3a19Smrg$config_files 43407d5e3a19Smrg 43417d5e3a19SmrgConfiguration headers: 43427d5e3a19Smrg$config_headers 43437d5e3a19Smrg 43447d5e3a19SmrgConfiguration commands: 43457d5e3a19Smrg$config_commands 43467d5e3a19Smrg 43477d5e3a19SmrgReport bugs to <bug-autoconf@gnu.org>." 43487d5e3a19Smrg 43497d5e3a19Smrg_ACEOF 43507d5e3a19Smrgcat >>$CONFIG_STATUS <<_ACEOF 43517d5e3a19Smrgac_cs_version="\\ 43527d5e3a19Smrgsetxkbmap config.status 1.0.4 43537d5e3a19Smrgconfigured by $0, generated by GNU Autoconf 2.61, 43547d5e3a19Smrg with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 43557d5e3a19Smrg 43567d5e3a19SmrgCopyright (C) 2006 Free Software Foundation, Inc. 43577d5e3a19SmrgThis config.status script is free software; the Free Software Foundation 43587d5e3a19Smrggives unlimited permission to copy, distribute and modify it." 43597d5e3a19Smrg 43607d5e3a19Smrgac_pwd='$ac_pwd' 43617d5e3a19Smrgsrcdir='$srcdir' 43627d5e3a19SmrgINSTALL='$INSTALL' 43637d5e3a19SmrgMKDIR_P='$MKDIR_P' 43647d5e3a19Smrg_ACEOF 43657d5e3a19Smrg 43667d5e3a19Smrgcat >>$CONFIG_STATUS <<\_ACEOF 43677d5e3a19Smrg# If no file are specified by the user, then we need to provide default 43687d5e3a19Smrg# value. By we need to know if files were specified by the user. 43697d5e3a19Smrgac_need_defaults=: 43707d5e3a19Smrgwhile test $# != 0 43717d5e3a19Smrgdo 43727d5e3a19Smrg case $1 in 43737d5e3a19Smrg --*=*) 43747d5e3a19Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 43757d5e3a19Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 43767d5e3a19Smrg ac_shift=: 43777d5e3a19Smrg ;; 43787d5e3a19Smrg *) 43797d5e3a19Smrg ac_option=$1 43807d5e3a19Smrg ac_optarg=$2 43817d5e3a19Smrg ac_shift=shift 43827d5e3a19Smrg ;; 43837d5e3a19Smrg esac 43847d5e3a19Smrg 43857d5e3a19Smrg case $ac_option in 43867d5e3a19Smrg # Handling of the options. 43877d5e3a19Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 43887d5e3a19Smrg ac_cs_recheck=: ;; 43897d5e3a19Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 43907d5e3a19Smrg echo "$ac_cs_version"; exit ;; 43917d5e3a19Smrg --debug | --debu | --deb | --de | --d | -d ) 43927d5e3a19Smrg debug=: ;; 43937d5e3a19Smrg --file | --fil | --fi | --f ) 43947d5e3a19Smrg $ac_shift 43957d5e3a19Smrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 43967d5e3a19Smrg ac_need_defaults=false;; 43977d5e3a19Smrg --header | --heade | --head | --hea ) 43987d5e3a19Smrg $ac_shift 43997d5e3a19Smrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 44007d5e3a19Smrg ac_need_defaults=false;; 44017d5e3a19Smrg --he | --h) 44027d5e3a19Smrg # Conflict between --help and --header 44037d5e3a19Smrg { echo "$as_me: error: ambiguous option: $1 44047d5e3a19SmrgTry \`$0 --help' for more information." >&2 44057d5e3a19Smrg { (exit 1); exit 1; }; };; 44067d5e3a19Smrg --help | --hel | -h ) 44077d5e3a19Smrg echo "$ac_cs_usage"; exit ;; 44087d5e3a19Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 44097d5e3a19Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 44107d5e3a19Smrg ac_cs_silent=: ;; 44117d5e3a19Smrg 44127d5e3a19Smrg # This is an error. 44137d5e3a19Smrg -*) { echo "$as_me: error: unrecognized option: $1 44147d5e3a19SmrgTry \`$0 --help' for more information." >&2 44157d5e3a19Smrg { (exit 1); exit 1; }; } ;; 44167d5e3a19Smrg 44177d5e3a19Smrg *) ac_config_targets="$ac_config_targets $1" 44187d5e3a19Smrg ac_need_defaults=false ;; 44197d5e3a19Smrg 44207d5e3a19Smrg esac 44217d5e3a19Smrg shift 44227d5e3a19Smrgdone 44237d5e3a19Smrg 44247d5e3a19Smrgac_configure_extra_args= 44257d5e3a19Smrg 44267d5e3a19Smrgif $ac_cs_silent; then 44277d5e3a19Smrg exec 6>/dev/null 44287d5e3a19Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 44297d5e3a19Smrgfi 44307d5e3a19Smrg 44317d5e3a19Smrg_ACEOF 44327d5e3a19Smrgcat >>$CONFIG_STATUS <<_ACEOF 44337d5e3a19Smrgif \$ac_cs_recheck; then 44347d5e3a19Smrg echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 44357d5e3a19Smrg CONFIG_SHELL=$SHELL 44367d5e3a19Smrg export CONFIG_SHELL 44377d5e3a19Smrg exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 44387d5e3a19Smrgfi 44397d5e3a19Smrg 44407d5e3a19Smrg_ACEOF 44417d5e3a19Smrgcat >>$CONFIG_STATUS <<\_ACEOF 44427d5e3a19Smrgexec 5>>config.log 44437d5e3a19Smrg{ 44447d5e3a19Smrg echo 44457d5e3a19Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 44467d5e3a19Smrg## Running $as_me. ## 44477d5e3a19Smrg_ASBOX 44487d5e3a19Smrg echo "$ac_log" 44497d5e3a19Smrg} >&5 44507d5e3a19Smrg 44517d5e3a19Smrg_ACEOF 44527d5e3a19Smrgcat >>$CONFIG_STATUS <<_ACEOF 44537d5e3a19Smrg# 44547d5e3a19Smrg# INIT-COMMANDS 44557d5e3a19Smrg# 44567d5e3a19SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 44577d5e3a19Smrg 44587d5e3a19Smrg_ACEOF 44597d5e3a19Smrg 44607d5e3a19Smrgcat >>$CONFIG_STATUS <<\_ACEOF 44617d5e3a19Smrg 44627d5e3a19Smrg# Handling of arguments. 44637d5e3a19Smrgfor ac_config_target in $ac_config_targets 44647d5e3a19Smrgdo 44657d5e3a19Smrg case $ac_config_target in 44667d5e3a19Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 44677d5e3a19Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 44687d5e3a19Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 44697d5e3a19Smrg 44707d5e3a19Smrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 44717d5e3a19Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 44727d5e3a19Smrg { (exit 1); exit 1; }; };; 44737d5e3a19Smrg esac 44747d5e3a19Smrgdone 44757d5e3a19Smrg 44767d5e3a19Smrg 44777d5e3a19Smrg# If the user did not use the arguments to specify the items to instantiate, 44787d5e3a19Smrg# then the envvar interface is used. Set only those that are not. 44797d5e3a19Smrg# We use the long form for the default assignment because of an extremely 44807d5e3a19Smrg# bizarre bug on SunOS 4.1.3. 44817d5e3a19Smrgif $ac_need_defaults; then 44827d5e3a19Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 44837d5e3a19Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 44847d5e3a19Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 44857d5e3a19Smrgfi 44867d5e3a19Smrg 44877d5e3a19Smrg# Have a temporary directory for convenience. Make it in the build tree 44887d5e3a19Smrg# simply because there is no reason against having it here, and in addition, 44897d5e3a19Smrg# creating and moving files from /tmp can sometimes cause problems. 44907d5e3a19Smrg# Hook for its removal unless debugging. 44917d5e3a19Smrg# Note that there is a small window in which the directory will not be cleaned: 44927d5e3a19Smrg# after its creation but before its name has been assigned to `$tmp'. 44937d5e3a19Smrg$debug || 44947d5e3a19Smrg{ 44957d5e3a19Smrg tmp= 44967d5e3a19Smrg trap 'exit_status=$? 44977d5e3a19Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 44987d5e3a19Smrg' 0 44997d5e3a19Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 45007d5e3a19Smrg} 45017d5e3a19Smrg# Create a (secure) tmp directory for tmp files. 45027d5e3a19Smrg 45037d5e3a19Smrg{ 45047d5e3a19Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 45057d5e3a19Smrg test -n "$tmp" && test -d "$tmp" 45067d5e3a19Smrg} || 45077d5e3a19Smrg{ 45087d5e3a19Smrg tmp=./conf$$-$RANDOM 45097d5e3a19Smrg (umask 077 && mkdir "$tmp") 45107d5e3a19Smrg} || 45117d5e3a19Smrg{ 45127d5e3a19Smrg echo "$me: cannot create a temporary directory in ." >&2 45137d5e3a19Smrg { (exit 1); exit 1; } 45147d5e3a19Smrg} 45157d5e3a19Smrg 45167d5e3a19Smrg# 45177d5e3a19Smrg# Set up the sed scripts for CONFIG_FILES section. 45187d5e3a19Smrg# 45197d5e3a19Smrg 45207d5e3a19Smrg# No need to generate the scripts if there are no CONFIG_FILES. 45217d5e3a19Smrg# This happens for instance when ./config.status config.h 45227d5e3a19Smrgif test -n "$CONFIG_FILES"; then 45237d5e3a19Smrg 45247d5e3a19Smrg_ACEOF 45257d5e3a19Smrg 45267d5e3a19Smrg 45277d5e3a19Smrg 45287d5e3a19Smrgac_delim='%!_!# ' 45297d5e3a19Smrgfor ac_last_try in false false false false false :; do 45307d5e3a19Smrg cat >conf$$subs.sed <<_ACEOF 45317d5e3a19SmrgSHELL!$SHELL$ac_delim 45327d5e3a19SmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 45337d5e3a19SmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim 45347d5e3a19SmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 45357d5e3a19SmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 45367d5e3a19SmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim 45377d5e3a19SmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 45387d5e3a19Smrgexec_prefix!$exec_prefix$ac_delim 45397d5e3a19Smrgprefix!$prefix$ac_delim 45407d5e3a19Smrgprogram_transform_name!$program_transform_name$ac_delim 45417d5e3a19Smrgbindir!$bindir$ac_delim 45427d5e3a19Smrgsbindir!$sbindir$ac_delim 45437d5e3a19Smrglibexecdir!$libexecdir$ac_delim 45447d5e3a19Smrgdatarootdir!$datarootdir$ac_delim 45457d5e3a19Smrgdatadir!$datadir$ac_delim 45467d5e3a19Smrgsysconfdir!$sysconfdir$ac_delim 45477d5e3a19Smrgsharedstatedir!$sharedstatedir$ac_delim 45487d5e3a19Smrglocalstatedir!$localstatedir$ac_delim 45497d5e3a19Smrgincludedir!$includedir$ac_delim 45507d5e3a19Smrgoldincludedir!$oldincludedir$ac_delim 45517d5e3a19Smrgdocdir!$docdir$ac_delim 45527d5e3a19Smrginfodir!$infodir$ac_delim 45537d5e3a19Smrghtmldir!$htmldir$ac_delim 45547d5e3a19Smrgdvidir!$dvidir$ac_delim 45557d5e3a19Smrgpdfdir!$pdfdir$ac_delim 45567d5e3a19Smrgpsdir!$psdir$ac_delim 45577d5e3a19Smrglibdir!$libdir$ac_delim 45587d5e3a19Smrglocaledir!$localedir$ac_delim 45597d5e3a19Smrgmandir!$mandir$ac_delim 45607d5e3a19SmrgDEFS!$DEFS$ac_delim 45617d5e3a19SmrgECHO_C!$ECHO_C$ac_delim 45627d5e3a19SmrgECHO_N!$ECHO_N$ac_delim 45637d5e3a19SmrgECHO_T!$ECHO_T$ac_delim 45647d5e3a19SmrgLIBS!$LIBS$ac_delim 45657d5e3a19Smrgbuild_alias!$build_alias$ac_delim 45667d5e3a19Smrghost_alias!$host_alias$ac_delim 45677d5e3a19Smrgtarget_alias!$target_alias$ac_delim 45687d5e3a19SmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 45697d5e3a19SmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 45707d5e3a19SmrgINSTALL_DATA!$INSTALL_DATA$ac_delim 45717d5e3a19Smrgam__isrc!$am__isrc$ac_delim 45727d5e3a19SmrgCYGPATH_W!$CYGPATH_W$ac_delim 45737d5e3a19SmrgPACKAGE!$PACKAGE$ac_delim 45747d5e3a19SmrgVERSION!$VERSION$ac_delim 45757d5e3a19SmrgACLOCAL!$ACLOCAL$ac_delim 45767d5e3a19SmrgAUTOCONF!$AUTOCONF$ac_delim 45777d5e3a19SmrgAUTOMAKE!$AUTOMAKE$ac_delim 45787d5e3a19SmrgAUTOHEADER!$AUTOHEADER$ac_delim 45797d5e3a19SmrgMAKEINFO!$MAKEINFO$ac_delim 45807d5e3a19Smrginstall_sh!$install_sh$ac_delim 45817d5e3a19SmrgSTRIP!$STRIP$ac_delim 45827d5e3a19SmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 45837d5e3a19Smrgmkdir_p!$mkdir_p$ac_delim 45847d5e3a19SmrgAWK!$AWK$ac_delim 45857d5e3a19SmrgSET_MAKE!$SET_MAKE$ac_delim 45867d5e3a19Smrgam__leading_dot!$am__leading_dot$ac_delim 45877d5e3a19SmrgAMTAR!$AMTAR$ac_delim 45887d5e3a19Smrgam__tar!$am__tar$ac_delim 45897d5e3a19Smrgam__untar!$am__untar$ac_delim 45907d5e3a19SmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 45917d5e3a19SmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 45927d5e3a19SmrgMAINT!$MAINT$ac_delim 45937d5e3a19SmrgCC!$CC$ac_delim 45947d5e3a19SmrgCFLAGS!$CFLAGS$ac_delim 45957d5e3a19SmrgLDFLAGS!$LDFLAGS$ac_delim 45967d5e3a19SmrgCPPFLAGS!$CPPFLAGS$ac_delim 45977d5e3a19Smrgac_ct_CC!$ac_ct_CC$ac_delim 45987d5e3a19SmrgEXEEXT!$EXEEXT$ac_delim 45997d5e3a19SmrgOBJEXT!$OBJEXT$ac_delim 46007d5e3a19SmrgDEPDIR!$DEPDIR$ac_delim 46017d5e3a19Smrgam__include!$am__include$ac_delim 46027d5e3a19Smrgam__quote!$am__quote$ac_delim 46037d5e3a19SmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim 46047d5e3a19SmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim 46057d5e3a19SmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 46067d5e3a19SmrgCCDEPMODE!$CCDEPMODE$ac_delim 46077d5e3a19Smrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 46087d5e3a19Smrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 46097d5e3a19SmrgXKBCONFIGROOT!$XKBCONFIGROOT$ac_delim 46107d5e3a19SmrgPKG_CONFIG!$PKG_CONFIG$ac_delim 46117d5e3a19SmrgSETXKBMAP_CFLAGS!$SETXKBMAP_CFLAGS$ac_delim 46127d5e3a19SmrgSETXKBMAP_LIBS!$SETXKBMAP_LIBS$ac_delim 46137d5e3a19SmrgLINT!$LINT$ac_delim 46147d5e3a19SmrgLINT_FLAGS!$LINT_FLAGS$ac_delim 46157d5e3a19SmrgLINT_TRUE!$LINT_TRUE$ac_delim 46167d5e3a19SmrgLINT_FALSE!$LINT_FALSE$ac_delim 46177d5e3a19Smrgbuild!$build$ac_delim 46187d5e3a19Smrgbuild_cpu!$build_cpu$ac_delim 46197d5e3a19Smrgbuild_vendor!$build_vendor$ac_delim 46207d5e3a19Smrgbuild_os!$build_os$ac_delim 46217d5e3a19Smrghost!$host$ac_delim 46227d5e3a19Smrghost_cpu!$host_cpu$ac_delim 46237d5e3a19Smrghost_vendor!$host_vendor$ac_delim 46247d5e3a19Smrghost_os!$host_os$ac_delim 46257d5e3a19SmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim 46267d5e3a19SmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim 46277d5e3a19SmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim 46287d5e3a19Smrg_ACEOF 46297d5e3a19Smrg 46307d5e3a19Smrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 46317d5e3a19Smrg break 46327d5e3a19Smrg elif $ac_last_try; then 46337d5e3a19Smrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 46347d5e3a19Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 46357d5e3a19Smrg { (exit 1); exit 1; }; } 46367d5e3a19Smrg else 46377d5e3a19Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 46387d5e3a19Smrg fi 46397d5e3a19Smrgdone 46407d5e3a19Smrg 46417d5e3a19Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 46427d5e3a19Smrgif test -n "$ac_eof"; then 46437d5e3a19Smrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 46447d5e3a19Smrg ac_eof=`expr $ac_eof + 1` 46457d5e3a19Smrgfi 46467d5e3a19Smrg 46477d5e3a19Smrgcat >>$CONFIG_STATUS <<_ACEOF 46487d5e3a19Smrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 46497d5e3a19Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 46507d5e3a19Smrg_ACEOF 46517d5e3a19Smrgsed ' 46527d5e3a19Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 46537d5e3a19Smrgs/^/s,@/; s/!/@,|#_!!_#|/ 46547d5e3a19Smrg:n 46557d5e3a19Smrgt n 46567d5e3a19Smrgs/'"$ac_delim"'$/,g/; t 46577d5e3a19Smrgs/$/\\/; p 46587d5e3a19SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 46597d5e3a19Smrg' >>$CONFIG_STATUS <conf$$subs.sed 46607d5e3a19Smrgrm -f conf$$subs.sed 46617d5e3a19Smrgcat >>$CONFIG_STATUS <<_ACEOF 46627d5e3a19SmrgCEOF$ac_eof 46637d5e3a19Smrg_ACEOF 46647d5e3a19Smrg 46657d5e3a19Smrg 46667d5e3a19Smrgac_delim='%!_!# ' 46677d5e3a19Smrgfor ac_last_try in false false false false false :; do 46687d5e3a19Smrg cat >conf$$subs.sed <<_ACEOF 46697d5e3a19SmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim 46707d5e3a19SmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim 46717d5e3a19SmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim 46727d5e3a19SmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim 46737d5e3a19SmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim 46747d5e3a19SmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim 46757d5e3a19SmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim 46767d5e3a19SmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim 46777d5e3a19SmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim 46787d5e3a19SmrgLIBOBJS!$LIBOBJS$ac_delim 46797d5e3a19SmrgLTLIBOBJS!$LTLIBOBJS$ac_delim 46807d5e3a19Smrg_ACEOF 46817d5e3a19Smrg 46827d5e3a19Smrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then 46837d5e3a19Smrg break 46847d5e3a19Smrg elif $ac_last_try; then 46857d5e3a19Smrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 46867d5e3a19Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 46877d5e3a19Smrg { (exit 1); exit 1; }; } 46887d5e3a19Smrg else 46897d5e3a19Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 46907d5e3a19Smrg fi 46917d5e3a19Smrgdone 46927d5e3a19Smrg 46937d5e3a19Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 46947d5e3a19Smrgif test -n "$ac_eof"; then 46957d5e3a19Smrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 46967d5e3a19Smrg ac_eof=`expr $ac_eof + 1` 46977d5e3a19Smrgfi 46987d5e3a19Smrg 46997d5e3a19Smrgcat >>$CONFIG_STATUS <<_ACEOF 47007d5e3a19Smrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 47017d5e3a19Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 47027d5e3a19Smrg_ACEOF 47037d5e3a19Smrgsed ' 47047d5e3a19Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 47057d5e3a19Smrgs/^/s,@/; s/!/@,|#_!!_#|/ 47067d5e3a19Smrg:n 47077d5e3a19Smrgt n 47087d5e3a19Smrgs/'"$ac_delim"'$/,g/; t 47097d5e3a19Smrgs/$/\\/; p 47107d5e3a19SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 47117d5e3a19Smrg' >>$CONFIG_STATUS <conf$$subs.sed 47127d5e3a19Smrgrm -f conf$$subs.sed 47137d5e3a19Smrgcat >>$CONFIG_STATUS <<_ACEOF 47147d5e3a19Smrg:end 47157d5e3a19Smrgs/|#_!!_#|//g 47167d5e3a19SmrgCEOF$ac_eof 47177d5e3a19Smrg_ACEOF 47187d5e3a19Smrg 47197d5e3a19Smrg 47207d5e3a19Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 47217d5e3a19Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 47227d5e3a19Smrg# trailing colons and then remove the whole line if VPATH becomes empty 47237d5e3a19Smrg# (actually we leave an empty line to preserve line numbers). 47247d5e3a19Smrgif test "x$srcdir" = x.; then 47257d5e3a19Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 47267d5e3a19Smrgs/:*\$(srcdir):*/:/ 47277d5e3a19Smrgs/:*\${srcdir}:*/:/ 47287d5e3a19Smrgs/:*@srcdir@:*/:/ 47297d5e3a19Smrgs/^\([^=]*=[ ]*\):*/\1/ 47307d5e3a19Smrgs/:*$// 47317d5e3a19Smrgs/^[^=]*=[ ]*$// 47327d5e3a19Smrg}' 47337d5e3a19Smrgfi 47347d5e3a19Smrg 47357d5e3a19Smrgcat >>$CONFIG_STATUS <<\_ACEOF 47367d5e3a19Smrgfi # test -n "$CONFIG_FILES" 47377d5e3a19Smrg 47387d5e3a19Smrg 47397d5e3a19Smrgfor ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 47407d5e3a19Smrgdo 47417d5e3a19Smrg case $ac_tag in 47427d5e3a19Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 47437d5e3a19Smrg esac 47447d5e3a19Smrg case $ac_mode$ac_tag in 47457d5e3a19Smrg :[FHL]*:*);; 47467d5e3a19Smrg :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 47477d5e3a19Smrgecho "$as_me: error: Invalid tag $ac_tag." >&2;} 47487d5e3a19Smrg { (exit 1); exit 1; }; };; 47497d5e3a19Smrg :[FH]-) ac_tag=-:-;; 47507d5e3a19Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 47517d5e3a19Smrg esac 47527d5e3a19Smrg ac_save_IFS=$IFS 47537d5e3a19Smrg IFS=: 47547d5e3a19Smrg set x $ac_tag 47557d5e3a19Smrg IFS=$ac_save_IFS 47567d5e3a19Smrg shift 47577d5e3a19Smrg ac_file=$1 47587d5e3a19Smrg shift 47597d5e3a19Smrg 47607d5e3a19Smrg case $ac_mode in 47617d5e3a19Smrg :L) ac_source=$1;; 47627d5e3a19Smrg :[FH]) 47637d5e3a19Smrg ac_file_inputs= 47647d5e3a19Smrg for ac_f 47657d5e3a19Smrg do 47667d5e3a19Smrg case $ac_f in 47677d5e3a19Smrg -) ac_f="$tmp/stdin";; 47687d5e3a19Smrg *) # Look for the file first in the build tree, then in the source tree 47697d5e3a19Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 47707d5e3a19Smrg # because $ac_f cannot contain `:'. 47717d5e3a19Smrg test -f "$ac_f" || 47727d5e3a19Smrg case $ac_f in 47737d5e3a19Smrg [\\/$]*) false;; 47747d5e3a19Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 47757d5e3a19Smrg esac || 47767d5e3a19Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 47777d5e3a19Smrgecho "$as_me: error: cannot find input file: $ac_f" >&2;} 47787d5e3a19Smrg { (exit 1); exit 1; }; };; 47797d5e3a19Smrg esac 47807d5e3a19Smrg ac_file_inputs="$ac_file_inputs $ac_f" 47817d5e3a19Smrg done 47827d5e3a19Smrg 47837d5e3a19Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 47847d5e3a19Smrg # use $as_me), people would be surprised to read: 47857d5e3a19Smrg # /* config.h. Generated by config.status. */ 47867d5e3a19Smrg configure_input="Generated from "`IFS=: 47877d5e3a19Smrg echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 47887d5e3a19Smrg if test x"$ac_file" != x-; then 47897d5e3a19Smrg configure_input="$ac_file. $configure_input" 47907d5e3a19Smrg { echo "$as_me:$LINENO: creating $ac_file" >&5 47917d5e3a19Smrgecho "$as_me: creating $ac_file" >&6;} 47927d5e3a19Smrg fi 47937d5e3a19Smrg 47947d5e3a19Smrg case $ac_tag in 47957d5e3a19Smrg *:-:* | *:-) cat >"$tmp/stdin";; 47967d5e3a19Smrg esac 47977d5e3a19Smrg ;; 47987d5e3a19Smrg esac 47997d5e3a19Smrg 48007d5e3a19Smrg ac_dir=`$as_dirname -- "$ac_file" || 48017d5e3a19Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 48027d5e3a19Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 48037d5e3a19Smrg X"$ac_file" : 'X\(//\)$' \| \ 48047d5e3a19Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 48057d5e3a19Smrgecho X"$ac_file" | 48067d5e3a19Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 48077d5e3a19Smrg s//\1/ 48087d5e3a19Smrg q 48097d5e3a19Smrg } 48107d5e3a19Smrg /^X\(\/\/\)[^/].*/{ 48117d5e3a19Smrg s//\1/ 48127d5e3a19Smrg q 48137d5e3a19Smrg } 48147d5e3a19Smrg /^X\(\/\/\)$/{ 48157d5e3a19Smrg s//\1/ 48167d5e3a19Smrg q 48177d5e3a19Smrg } 48187d5e3a19Smrg /^X\(\/\).*/{ 48197d5e3a19Smrg s//\1/ 48207d5e3a19Smrg q 48217d5e3a19Smrg } 48227d5e3a19Smrg s/.*/./; q'` 48237d5e3a19Smrg { as_dir="$ac_dir" 48247d5e3a19Smrg case $as_dir in #( 48257d5e3a19Smrg -*) as_dir=./$as_dir;; 48267d5e3a19Smrg esac 48277d5e3a19Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 48287d5e3a19Smrg as_dirs= 48297d5e3a19Smrg while :; do 48307d5e3a19Smrg case $as_dir in #( 48317d5e3a19Smrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 48327d5e3a19Smrg *) as_qdir=$as_dir;; 48337d5e3a19Smrg esac 48347d5e3a19Smrg as_dirs="'$as_qdir' $as_dirs" 48357d5e3a19Smrg as_dir=`$as_dirname -- "$as_dir" || 48367d5e3a19Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 48377d5e3a19Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 48387d5e3a19Smrg X"$as_dir" : 'X\(//\)$' \| \ 48397d5e3a19Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 48407d5e3a19Smrgecho X"$as_dir" | 48417d5e3a19Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 48427d5e3a19Smrg s//\1/ 48437d5e3a19Smrg q 48447d5e3a19Smrg } 48457d5e3a19Smrg /^X\(\/\/\)[^/].*/{ 48467d5e3a19Smrg s//\1/ 48477d5e3a19Smrg q 48487d5e3a19Smrg } 48497d5e3a19Smrg /^X\(\/\/\)$/{ 48507d5e3a19Smrg s//\1/ 48517d5e3a19Smrg q 48527d5e3a19Smrg } 48537d5e3a19Smrg /^X\(\/\).*/{ 48547d5e3a19Smrg s//\1/ 48557d5e3a19Smrg q 48567d5e3a19Smrg } 48577d5e3a19Smrg s/.*/./; q'` 48587d5e3a19Smrg test -d "$as_dir" && break 48597d5e3a19Smrg done 48607d5e3a19Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 48617d5e3a19Smrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 48627d5e3a19Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 48637d5e3a19Smrg { (exit 1); exit 1; }; }; } 48647d5e3a19Smrg ac_builddir=. 48657d5e3a19Smrg 48667d5e3a19Smrgcase "$ac_dir" in 48677d5e3a19Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 48687d5e3a19Smrg*) 48697d5e3a19Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 48707d5e3a19Smrg # A ".." for each directory in $ac_dir_suffix. 48717d5e3a19Smrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 48727d5e3a19Smrg case $ac_top_builddir_sub in 48737d5e3a19Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 48747d5e3a19Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 48757d5e3a19Smrg esac ;; 48767d5e3a19Smrgesac 48777d5e3a19Smrgac_abs_top_builddir=$ac_pwd 48787d5e3a19Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 48797d5e3a19Smrg# for backward compatibility: 48807d5e3a19Smrgac_top_builddir=$ac_top_build_prefix 48817d5e3a19Smrg 48827d5e3a19Smrgcase $srcdir in 48837d5e3a19Smrg .) # We are building in place. 48847d5e3a19Smrg ac_srcdir=. 48857d5e3a19Smrg ac_top_srcdir=$ac_top_builddir_sub 48867d5e3a19Smrg ac_abs_top_srcdir=$ac_pwd ;; 48877d5e3a19Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 48887d5e3a19Smrg ac_srcdir=$srcdir$ac_dir_suffix; 48897d5e3a19Smrg ac_top_srcdir=$srcdir 48907d5e3a19Smrg ac_abs_top_srcdir=$srcdir ;; 48917d5e3a19Smrg *) # Relative name. 48927d5e3a19Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 48937d5e3a19Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 48947d5e3a19Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 48957d5e3a19Smrgesac 48967d5e3a19Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 48977d5e3a19Smrg 48987d5e3a19Smrg 48997d5e3a19Smrg case $ac_mode in 49007d5e3a19Smrg :F) 49017d5e3a19Smrg # 49027d5e3a19Smrg # CONFIG_FILE 49037d5e3a19Smrg # 49047d5e3a19Smrg 49057d5e3a19Smrg case $INSTALL in 49067d5e3a19Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 49077d5e3a19Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 49087d5e3a19Smrg esac 49097d5e3a19Smrg ac_MKDIR_P=$MKDIR_P 49107d5e3a19Smrg case $MKDIR_P in 49117d5e3a19Smrg [\\/$]* | ?:[\\/]* ) ;; 49127d5e3a19Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 49137d5e3a19Smrg esac 49147d5e3a19Smrg_ACEOF 49157d5e3a19Smrg 49167d5e3a19Smrgcat >>$CONFIG_STATUS <<\_ACEOF 49177d5e3a19Smrg# If the template does not know about datarootdir, expand it. 49187d5e3a19Smrg# FIXME: This hack should be removed a few years after 2.60. 49197d5e3a19Smrgac_datarootdir_hack=; ac_datarootdir_seen= 49207d5e3a19Smrg 49217d5e3a19Smrgcase `sed -n '/datarootdir/ { 49227d5e3a19Smrg p 49237d5e3a19Smrg q 49247d5e3a19Smrg} 49257d5e3a19Smrg/@datadir@/p 49267d5e3a19Smrg/@docdir@/p 49277d5e3a19Smrg/@infodir@/p 49287d5e3a19Smrg/@localedir@/p 49297d5e3a19Smrg/@mandir@/p 49307d5e3a19Smrg' $ac_file_inputs` in 49317d5e3a19Smrg*datarootdir*) ac_datarootdir_seen=yes;; 49327d5e3a19Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 49337d5e3a19Smrg { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 49347d5e3a19Smrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 49357d5e3a19Smrg_ACEOF 49367d5e3a19Smrgcat >>$CONFIG_STATUS <<_ACEOF 49377d5e3a19Smrg ac_datarootdir_hack=' 49387d5e3a19Smrg s&@datadir@&$datadir&g 49397d5e3a19Smrg s&@docdir@&$docdir&g 49407d5e3a19Smrg s&@infodir@&$infodir&g 49417d5e3a19Smrg s&@localedir@&$localedir&g 49427d5e3a19Smrg s&@mandir@&$mandir&g 49437d5e3a19Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 49447d5e3a19Smrgesac 49457d5e3a19Smrg_ACEOF 49467d5e3a19Smrg 49477d5e3a19Smrg# Neutralize VPATH when `$srcdir' = `.'. 49487d5e3a19Smrg# Shell code in configure.ac might set extrasub. 49497d5e3a19Smrg# FIXME: do we really want to maintain this feature? 49507d5e3a19Smrgcat >>$CONFIG_STATUS <<_ACEOF 49517d5e3a19Smrg sed "$ac_vpsub 49527d5e3a19Smrg$extrasub 49537d5e3a19Smrg_ACEOF 49547d5e3a19Smrgcat >>$CONFIG_STATUS <<\_ACEOF 49557d5e3a19Smrg:t 49567d5e3a19Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 49577d5e3a19Smrgs&@configure_input@&$configure_input&;t t 49587d5e3a19Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 49597d5e3a19Smrgs&@srcdir@&$ac_srcdir&;t t 49607d5e3a19Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 49617d5e3a19Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 49627d5e3a19Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 49637d5e3a19Smrgs&@builddir@&$ac_builddir&;t t 49647d5e3a19Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 49657d5e3a19Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 49667d5e3a19Smrgs&@INSTALL@&$ac_INSTALL&;t t 49677d5e3a19Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 49687d5e3a19Smrg$ac_datarootdir_hack 49697d5e3a19Smrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 49707d5e3a19Smrg 49717d5e3a19Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 49727d5e3a19Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 49737d5e3a19Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 49747d5e3a19Smrg { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 49757d5e3a19Smrgwhich seems to be undefined. Please make sure it is defined." >&5 49767d5e3a19Smrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 49777d5e3a19Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 49787d5e3a19Smrg 49797d5e3a19Smrg rm -f "$tmp/stdin" 49807d5e3a19Smrg case $ac_file in 49817d5e3a19Smrg -) cat "$tmp/out"; rm -f "$tmp/out";; 49827d5e3a19Smrg *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 49837d5e3a19Smrg esac 49847d5e3a19Smrg ;; 49857d5e3a19Smrg :H) 49867d5e3a19Smrg # 49877d5e3a19Smrg # CONFIG_HEADER 49887d5e3a19Smrg # 49897d5e3a19Smrg_ACEOF 49907d5e3a19Smrg 49917d5e3a19Smrg# Transform confdefs.h into a sed script `conftest.defines', that 49927d5e3a19Smrg# substitutes the proper values into config.h.in to produce config.h. 49937d5e3a19Smrgrm -f conftest.defines conftest.tail 49947d5e3a19Smrg# First, append a space to every undef/define line, to ease matching. 49957d5e3a19Smrgecho 's/$/ /' >conftest.defines 49967d5e3a19Smrg# Then, protect against being on the right side of a sed subst, or in 49977d5e3a19Smrg# an unquoted here document, in config.status. If some macros were 49987d5e3a19Smrg# called several times there might be several #defines for the same 49997d5e3a19Smrg# symbol, which is useless. But do not sort them, since the last 50007d5e3a19Smrg# AC_DEFINE must be honored. 50017d5e3a19Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 50027d5e3a19Smrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 50037d5e3a19Smrg# NAME is the cpp macro being defined, VALUE is the value it is being given. 50047d5e3a19Smrg# PARAMS is the parameter list in the macro definition--in most cases, it's 50057d5e3a19Smrg# just an empty string. 50067d5e3a19Smrgac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 50077d5e3a19Smrgac_dB='\\)[ (].*,\\1define\\2' 50087d5e3a19Smrgac_dC=' ' 50097d5e3a19Smrgac_dD=' ,' 50107d5e3a19Smrg 50117d5e3a19Smrguniq confdefs.h | 50127d5e3a19Smrg sed -n ' 50137d5e3a19Smrg t rset 50147d5e3a19Smrg :rset 50157d5e3a19Smrg s/^[ ]*#[ ]*define[ ][ ]*// 50167d5e3a19Smrg t ok 50177d5e3a19Smrg d 50187d5e3a19Smrg :ok 50197d5e3a19Smrg s/[\\&,]/\\&/g 50207d5e3a19Smrg s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 50217d5e3a19Smrg s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 50227d5e3a19Smrg ' >>conftest.defines 50237d5e3a19Smrg 50247d5e3a19Smrg# Remove the space that was appended to ease matching. 50257d5e3a19Smrg# Then replace #undef with comments. This is necessary, for 50267d5e3a19Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required 50277d5e3a19Smrg# on some systems where configure will not decide to define it. 50287d5e3a19Smrg# (The regexp can be short, since the line contains either #define or #undef.) 50297d5e3a19Smrgecho 's/ $// 50307d5e3a19Smrgs,^[ #]*u.*,/* & */,' >>conftest.defines 50317d5e3a19Smrg 50327d5e3a19Smrg# Break up conftest.defines: 50337d5e3a19Smrgac_max_sed_lines=50 50347d5e3a19Smrg 50357d5e3a19Smrg# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 50367d5e3a19Smrg# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 50377d5e3a19Smrg# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 50387d5e3a19Smrg# et cetera. 50397d5e3a19Smrgac_in='$ac_file_inputs' 50407d5e3a19Smrgac_out='"$tmp/out1"' 50417d5e3a19Smrgac_nxt='"$tmp/out2"' 50427d5e3a19Smrg 50437d5e3a19Smrgwhile : 50447d5e3a19Smrgdo 50457d5e3a19Smrg # Write a here document: 50467d5e3a19Smrg cat >>$CONFIG_STATUS <<_ACEOF 50477d5e3a19Smrg # First, check the format of the line: 50487d5e3a19Smrg cat >"\$tmp/defines.sed" <<\\CEOF 50497d5e3a19Smrg/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 50507d5e3a19Smrg/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 50517d5e3a19Smrgb 50527d5e3a19Smrg:def 50537d5e3a19Smrg_ACEOF 50547d5e3a19Smrg sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 50557d5e3a19Smrg echo 'CEOF 50567d5e3a19Smrg sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 50577d5e3a19Smrg ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 50587d5e3a19Smrg sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 50597d5e3a19Smrg grep . conftest.tail >/dev/null || break 50607d5e3a19Smrg rm -f conftest.defines 50617d5e3a19Smrg mv conftest.tail conftest.defines 50627d5e3a19Smrgdone 50637d5e3a19Smrgrm -f conftest.defines conftest.tail 50647d5e3a19Smrg 50657d5e3a19Smrgecho "ac_result=$ac_in" >>$CONFIG_STATUS 50667d5e3a19Smrgcat >>$CONFIG_STATUS <<\_ACEOF 50677d5e3a19Smrg if test x"$ac_file" != x-; then 50687d5e3a19Smrg echo "/* $configure_input */" >"$tmp/config.h" 50697d5e3a19Smrg cat "$ac_result" >>"$tmp/config.h" 50707d5e3a19Smrg if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 50717d5e3a19Smrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 50727d5e3a19Smrgecho "$as_me: $ac_file is unchanged" >&6;} 50737d5e3a19Smrg else 50747d5e3a19Smrg rm -f $ac_file 50757d5e3a19Smrg mv "$tmp/config.h" $ac_file 50767d5e3a19Smrg fi 50777d5e3a19Smrg else 50787d5e3a19Smrg echo "/* $configure_input */" 50797d5e3a19Smrg cat "$ac_result" 50807d5e3a19Smrg fi 50817d5e3a19Smrg rm -f "$tmp/out12" 50827d5e3a19Smrg# Compute $ac_file's index in $config_headers. 50837d5e3a19Smrg_am_stamp_count=1 50847d5e3a19Smrgfor _am_header in $config_headers :; do 50857d5e3a19Smrg case $_am_header in 50867d5e3a19Smrg $ac_file | $ac_file:* ) 50877d5e3a19Smrg break ;; 50887d5e3a19Smrg * ) 50897d5e3a19Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 50907d5e3a19Smrg esac 50917d5e3a19Smrgdone 50927d5e3a19Smrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file || 50937d5e3a19Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 50947d5e3a19Smrg X$ac_file : 'X\(//\)[^/]' \| \ 50957d5e3a19Smrg X$ac_file : 'X\(//\)$' \| \ 50967d5e3a19Smrg X$ac_file : 'X\(/\)' \| . 2>/dev/null || 50977d5e3a19Smrgecho X$ac_file | 50987d5e3a19Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 50997d5e3a19Smrg s//\1/ 51007d5e3a19Smrg q 51017d5e3a19Smrg } 51027d5e3a19Smrg /^X\(\/\/\)[^/].*/{ 51037d5e3a19Smrg s//\1/ 51047d5e3a19Smrg q 51057d5e3a19Smrg } 51067d5e3a19Smrg /^X\(\/\/\)$/{ 51077d5e3a19Smrg s//\1/ 51087d5e3a19Smrg q 51097d5e3a19Smrg } 51107d5e3a19Smrg /^X\(\/\).*/{ 51117d5e3a19Smrg s//\1/ 51127d5e3a19Smrg q 51137d5e3a19Smrg } 51147d5e3a19Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 51157d5e3a19Smrg ;; 51167d5e3a19Smrg 51177d5e3a19Smrg :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 51187d5e3a19Smrgecho "$as_me: executing $ac_file commands" >&6;} 51197d5e3a19Smrg ;; 51207d5e3a19Smrg esac 51217d5e3a19Smrg 51227d5e3a19Smrg 51237d5e3a19Smrg case $ac_file$ac_mode in 51247d5e3a19Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 51257d5e3a19Smrg # Strip MF so we end up with the name of the file. 51267d5e3a19Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 51277d5e3a19Smrg # Check whether this is an Automake generated Makefile or not. 51287d5e3a19Smrg # We used to match only the files named `Makefile.in', but 51297d5e3a19Smrg # some people rename them; so instead we look at the file content. 51307d5e3a19Smrg # Grep'ing the first line is not enough: some people post-process 51317d5e3a19Smrg # each Makefile.in and add a new line on top of each file to say so. 51327d5e3a19Smrg # Grep'ing the whole file is not good either: AIX grep has a line 51337d5e3a19Smrg # limit of 2048, but all sed's we know have understand at least 4000. 51347d5e3a19Smrg if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then 51357d5e3a19Smrg dirpart=`$as_dirname -- "$mf" || 51367d5e3a19Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51377d5e3a19Smrg X"$mf" : 'X\(//\)[^/]' \| \ 51387d5e3a19Smrg X"$mf" : 'X\(//\)$' \| \ 51397d5e3a19Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 51407d5e3a19Smrgecho X"$mf" | 51417d5e3a19Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 51427d5e3a19Smrg s//\1/ 51437d5e3a19Smrg q 51447d5e3a19Smrg } 51457d5e3a19Smrg /^X\(\/\/\)[^/].*/{ 51467d5e3a19Smrg s//\1/ 51477d5e3a19Smrg q 51487d5e3a19Smrg } 51497d5e3a19Smrg /^X\(\/\/\)$/{ 51507d5e3a19Smrg s//\1/ 51517d5e3a19Smrg q 51527d5e3a19Smrg } 51537d5e3a19Smrg /^X\(\/\).*/{ 51547d5e3a19Smrg s//\1/ 51557d5e3a19Smrg q 51567d5e3a19Smrg } 51577d5e3a19Smrg s/.*/./; q'` 51587d5e3a19Smrg else 51597d5e3a19Smrg continue 51607d5e3a19Smrg fi 51617d5e3a19Smrg # Extract the definition of DEPDIR, am__include, and am__quote 51627d5e3a19Smrg # from the Makefile without running `make'. 51637d5e3a19Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 51647d5e3a19Smrg test -z "$DEPDIR" && continue 51657d5e3a19Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 51667d5e3a19Smrg test -z "am__include" && continue 51677d5e3a19Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 51687d5e3a19Smrg # When using ansi2knr, U may be empty or an underscore; expand it 51697d5e3a19Smrg U=`sed -n 's/^U = //p' < "$mf"` 51707d5e3a19Smrg # Find all dependency output files, they are included files with 51717d5e3a19Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 51727d5e3a19Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 51737d5e3a19Smrg # expansion. 51747d5e3a19Smrg for file in `sed -n " 51757d5e3a19Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 51767d5e3a19Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 51777d5e3a19Smrg # Make sure the directory exists. 51787d5e3a19Smrg test -f "$dirpart/$file" && continue 51797d5e3a19Smrg fdir=`$as_dirname -- "$file" || 51807d5e3a19Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51817d5e3a19Smrg X"$file" : 'X\(//\)[^/]' \| \ 51827d5e3a19Smrg X"$file" : 'X\(//\)$' \| \ 51837d5e3a19Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 51847d5e3a19Smrgecho X"$file" | 51857d5e3a19Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 51867d5e3a19Smrg s//\1/ 51877d5e3a19Smrg q 51887d5e3a19Smrg } 51897d5e3a19Smrg /^X\(\/\/\)[^/].*/{ 51907d5e3a19Smrg s//\1/ 51917d5e3a19Smrg q 51927d5e3a19Smrg } 51937d5e3a19Smrg /^X\(\/\/\)$/{ 51947d5e3a19Smrg s//\1/ 51957d5e3a19Smrg q 51967d5e3a19Smrg } 51977d5e3a19Smrg /^X\(\/\).*/{ 51987d5e3a19Smrg s//\1/ 51997d5e3a19Smrg q 52007d5e3a19Smrg } 52017d5e3a19Smrg s/.*/./; q'` 52027d5e3a19Smrg { as_dir=$dirpart/$fdir 52037d5e3a19Smrg case $as_dir in #( 52047d5e3a19Smrg -*) as_dir=./$as_dir;; 52057d5e3a19Smrg esac 52067d5e3a19Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 52077d5e3a19Smrg as_dirs= 52087d5e3a19Smrg while :; do 52097d5e3a19Smrg case $as_dir in #( 52107d5e3a19Smrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 52117d5e3a19Smrg *) as_qdir=$as_dir;; 52127d5e3a19Smrg esac 52137d5e3a19Smrg as_dirs="'$as_qdir' $as_dirs" 52147d5e3a19Smrg as_dir=`$as_dirname -- "$as_dir" || 52157d5e3a19Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 52167d5e3a19Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 52177d5e3a19Smrg X"$as_dir" : 'X\(//\)$' \| \ 52187d5e3a19Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 52197d5e3a19Smrgecho X"$as_dir" | 52207d5e3a19Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 52217d5e3a19Smrg s//\1/ 52227d5e3a19Smrg q 52237d5e3a19Smrg } 52247d5e3a19Smrg /^X\(\/\/\)[^/].*/{ 52257d5e3a19Smrg s//\1/ 52267d5e3a19Smrg q 52277d5e3a19Smrg } 52287d5e3a19Smrg /^X\(\/\/\)$/{ 52297d5e3a19Smrg s//\1/ 52307d5e3a19Smrg q 52317d5e3a19Smrg } 52327d5e3a19Smrg /^X\(\/\).*/{ 52337d5e3a19Smrg s//\1/ 52347d5e3a19Smrg q 52357d5e3a19Smrg } 52367d5e3a19Smrg s/.*/./; q'` 52377d5e3a19Smrg test -d "$as_dir" && break 52387d5e3a19Smrg done 52397d5e3a19Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 52407d5e3a19Smrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 52417d5e3a19Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 52427d5e3a19Smrg { (exit 1); exit 1; }; }; } 52437d5e3a19Smrg # echo "creating $dirpart/$file" 52447d5e3a19Smrg echo '# dummy' > "$dirpart/$file" 52457d5e3a19Smrg done 52467d5e3a19Smrgdone 52477d5e3a19Smrg ;; 52487d5e3a19Smrg 52497d5e3a19Smrg esac 52507d5e3a19Smrgdone # for ac_tag 52517d5e3a19Smrg 52527d5e3a19Smrg 52537d5e3a19Smrg{ (exit 0); exit 0; } 52547d5e3a19Smrg_ACEOF 52557d5e3a19Smrgchmod +x $CONFIG_STATUS 52567d5e3a19Smrgac_clean_files=$ac_clean_files_save 52577d5e3a19Smrg 52587d5e3a19Smrg 52597d5e3a19Smrg# configure is writing to config.log, and then calls config.status. 52607d5e3a19Smrg# config.status does its own redirection, appending to config.log. 52617d5e3a19Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 52627d5e3a19Smrg# by configure, so config.status won't be able to write to it; its 52637d5e3a19Smrg# output is simply discarded. So we exec the FD to /dev/null, 52647d5e3a19Smrg# effectively closing config.log, so it can be properly (re)opened and 52657d5e3a19Smrg# appended to by config.status. When coming back to configure, we 52667d5e3a19Smrg# need to make the FD available again. 52677d5e3a19Smrgif test "$no_create" != yes; then 52687d5e3a19Smrg ac_cs_success=: 52697d5e3a19Smrg ac_config_status_args= 52707d5e3a19Smrg test "$silent" = yes && 52717d5e3a19Smrg ac_config_status_args="$ac_config_status_args --quiet" 52727d5e3a19Smrg exec 5>/dev/null 52737d5e3a19Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 52747d5e3a19Smrg exec 5>>config.log 52757d5e3a19Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 52767d5e3a19Smrg # would make configure fail if this is the last instruction. 52777d5e3a19Smrg $ac_cs_success || { (exit 1); exit 1; } 52787d5e3a19Smrgfi 52797d5e3a19Smrg 5280