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