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