configure revision e4c0bf4d
10eb10989Smrg#! /bin/sh 20eb10989Smrg# Guess values for system-dependent variables and create Makefiles. 3e4c0bf4dSmrg# Generated by GNU Autoconf 2.68 for makedepend 1.0.3. 40eb10989Smrg# 50eb10989Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 60eb10989Smrg# 7e4c0bf4dSmrg# 863165362Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9e4c0bf4dSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10e4c0bf4dSmrg# Foundation, Inc. 11e4c0bf4dSmrg# 12e4c0bf4dSmrg# 130eb10989Smrg# This configure script is free software; the Free Software Foundation 140eb10989Smrg# gives unlimited permission to copy, distribute and modify it. 15e4c0bf4dSmrg## -------------------- ## 16e4c0bf4dSmrg## M4sh Initialization. ## 17e4c0bf4dSmrg## -------------------- ## 180eb10989Smrg 1963165362Smrg# Be more Bourne compatible 2063165362SmrgDUALCASE=1; export DUALCASE # for MKS sh 21e4c0bf4dSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 220eb10989Smrg emulate sh 230eb10989Smrg NULLCMD=: 2463165362Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 250eb10989Smrg # is contrary to our usage. Disable this feature. 260eb10989Smrg alias -g '${1+"$@"}'='"$@"' 2763165362Smrg setopt NO_GLOB_SUBST 2863165362Smrgelse 29e4c0bf4dSmrg case `(set -o) 2>/dev/null` in #( 30e4c0bf4dSmrg *posix*) : 31e4c0bf4dSmrg set -o posix ;; #( 32e4c0bf4dSmrg *) : 33e4c0bf4dSmrg ;; 3463165362Smrgesac 3563165362Smrgfi 3663165362Smrg 3763165362Smrg 3863165362Smrgas_nl=' 3963165362Smrg' 4063165362Smrgexport as_nl 4163165362Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 4263165362Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4363165362Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4463165362Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45e4c0bf4dSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 46e4c0bf4dSmrg# but without wasting forks for bash or zsh. 47e4c0bf4dSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 48e4c0bf4dSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49e4c0bf4dSmrg as_echo='print -r --' 50e4c0bf4dSmrg as_echo_n='print -rn --' 51e4c0bf4dSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5263165362Smrg as_echo='printf %s\n' 5363165362Smrg as_echo_n='printf %s' 5463165362Smrgelse 5563165362Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5663165362Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5763165362Smrg as_echo_n='/usr/ucb/echo -n' 5863165362Smrg else 5963165362Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6063165362Smrg as_echo_n_body='eval 6163165362Smrg arg=$1; 62e4c0bf4dSmrg case $arg in #( 6363165362Smrg *"$as_nl"*) 6463165362Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 6563165362Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6663165362Smrg esac; 6763165362Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6863165362Smrg ' 6963165362Smrg export as_echo_n_body 7063165362Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 7163165362Smrg fi 7263165362Smrg export as_echo_body 7363165362Smrg as_echo='sh -c $as_echo_body as_echo' 7463165362Smrgfi 7563165362Smrg 7663165362Smrg# The user is always right. 7763165362Smrgif test "${PATH_SEPARATOR+set}" != set; then 7863165362Smrg PATH_SEPARATOR=: 7963165362Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8063165362Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8163165362Smrg PATH_SEPARATOR=';' 8263165362Smrg } 830eb10989Smrgfi 840eb10989Smrg 850eb10989Smrg 8663165362Smrg# IFS 8763165362Smrg# We need space, tab and new line, in precisely that order. Quoting is 8863165362Smrg# there to prevent editors from complaining about space-tab. 8963165362Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9063165362Smrg# splitting by setting IFS to empty value.) 9163165362SmrgIFS=" "" $as_nl" 9263165362Smrg 9363165362Smrg# Find who we are. Look in the path if we contain no directory separator. 94e4c0bf4dSmrgas_myself= 95e4c0bf4dSmrgcase $0 in #(( 9663165362Smrg *[\\/]* ) as_myself=$0 ;; 9763165362Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9863165362Smrgfor as_dir in $PATH 9963165362Smrgdo 10063165362Smrg IFS=$as_save_IFS 10163165362Smrg test -z "$as_dir" && as_dir=. 102e4c0bf4dSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103e4c0bf4dSmrg done 10463165362SmrgIFS=$as_save_IFS 10563165362Smrg 10663165362Smrg ;; 10763165362Smrgesac 10863165362Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 10963165362Smrg# in which case we are not to be found in the path. 11063165362Smrgif test "x$as_myself" = x; then 11163165362Smrg as_myself=$0 11263165362Smrgfi 11363165362Smrgif test ! -f "$as_myself"; then 11463165362Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115e4c0bf4dSmrg exit 1 11663165362Smrgfi 11763165362Smrg 118e4c0bf4dSmrg# Unset variables that we do not need and which cause bugs (e.g. in 119e4c0bf4dSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120e4c0bf4dSmrg# suppresses any "Segmentation fault" message there. '((' could 121e4c0bf4dSmrg# trigger a bug in pdksh 5.2.14. 122e4c0bf4dSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 123e4c0bf4dSmrgdo eval test x\${$as_var+set} = xset \ 124e4c0bf4dSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12563165362Smrgdone 1260eb10989SmrgPS1='$ ' 1270eb10989SmrgPS2='> ' 1280eb10989SmrgPS4='+ ' 1290eb10989Smrg 1300eb10989Smrg# NLS nuisances. 13163165362SmrgLC_ALL=C 13263165362Smrgexport LC_ALL 13363165362SmrgLANGUAGE=C 13463165362Smrgexport LANGUAGE 1350eb10989Smrg 136e4c0bf4dSmrg# CDPATH. 137e4c0bf4dSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138e4c0bf4dSmrg 139e4c0bf4dSmrgif test "x$CONFIG_SHELL" = x; then 140e4c0bf4dSmrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141e4c0bf4dSmrg emulate sh 142e4c0bf4dSmrg NULLCMD=: 143e4c0bf4dSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144e4c0bf4dSmrg # is contrary to our usage. Disable this feature. 145e4c0bf4dSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 146e4c0bf4dSmrg setopt NO_GLOB_SUBST 147e4c0bf4dSmrgelse 148e4c0bf4dSmrg case \`(set -o) 2>/dev/null\` in #( 149e4c0bf4dSmrg *posix*) : 150e4c0bf4dSmrg set -o posix ;; #( 151e4c0bf4dSmrg *) : 152e4c0bf4dSmrg ;; 153e4c0bf4dSmrgesac 154e4c0bf4dSmrgfi 155e4c0bf4dSmrg" 156e4c0bf4dSmrg as_required="as_fn_return () { (exit \$1); } 157e4c0bf4dSmrgas_fn_success () { as_fn_return 0; } 158e4c0bf4dSmrgas_fn_failure () { as_fn_return 1; } 159e4c0bf4dSmrgas_fn_ret_success () { return 0; } 160e4c0bf4dSmrgas_fn_ret_failure () { return 1; } 161e4c0bf4dSmrg 162e4c0bf4dSmrgexitcode=0 163e4c0bf4dSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 164e4c0bf4dSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165e4c0bf4dSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166e4c0bf4dSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167e4c0bf4dSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168e4c0bf4dSmrg 169e4c0bf4dSmrgelse 170e4c0bf4dSmrg exitcode=1; echo positional parameters were not saved. 171e4c0bf4dSmrgfi 172e4c0bf4dSmrgtest x\$exitcode = x0 || exit 1" 173e4c0bf4dSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174e4c0bf4dSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175e4c0bf4dSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176e4c0bf4dSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177e4c0bf4dSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 178e4c0bf4dSmrg if (eval "$as_required") 2>/dev/null; then : 179e4c0bf4dSmrg as_have_required=yes 180e4c0bf4dSmrgelse 181e4c0bf4dSmrg as_have_required=no 182e4c0bf4dSmrgfi 183e4c0bf4dSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184e4c0bf4dSmrg 185e4c0bf4dSmrgelse 186e4c0bf4dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187e4c0bf4dSmrgas_found=false 188e4c0bf4dSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189e4c0bf4dSmrgdo 190e4c0bf4dSmrg IFS=$as_save_IFS 191e4c0bf4dSmrg test -z "$as_dir" && as_dir=. 192e4c0bf4dSmrg as_found=: 193e4c0bf4dSmrg case $as_dir in #( 194e4c0bf4dSmrg /*) 195e4c0bf4dSmrg for as_base in sh bash ksh sh5; do 196e4c0bf4dSmrg # Try only shells that exist, to save several forks. 197e4c0bf4dSmrg as_shell=$as_dir/$as_base 198e4c0bf4dSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199e4c0bf4dSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200e4c0bf4dSmrg CONFIG_SHELL=$as_shell as_have_required=yes 201e4c0bf4dSmrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202e4c0bf4dSmrg break 2 203e4c0bf4dSmrgfi 204e4c0bf4dSmrgfi 205e4c0bf4dSmrg done;; 206e4c0bf4dSmrg esac 207e4c0bf4dSmrg as_found=false 208e4c0bf4dSmrgdone 209e4c0bf4dSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210e4c0bf4dSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211e4c0bf4dSmrg CONFIG_SHELL=$SHELL as_have_required=yes 212e4c0bf4dSmrgfi; } 213e4c0bf4dSmrgIFS=$as_save_IFS 214e4c0bf4dSmrg 215e4c0bf4dSmrg 216e4c0bf4dSmrg if test "x$CONFIG_SHELL" != x; then : 217e4c0bf4dSmrg # We cannot yet assume a decent shell, so we have to provide a 218e4c0bf4dSmrg # neutralization value for shells without unset; and this also 219e4c0bf4dSmrg # works around shells that cannot unset nonexistent variables. 220e4c0bf4dSmrg # Preserve -v and -x to the replacement shell. 221e4c0bf4dSmrg BASH_ENV=/dev/null 222e4c0bf4dSmrg ENV=/dev/null 223e4c0bf4dSmrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224e4c0bf4dSmrg export CONFIG_SHELL 225e4c0bf4dSmrg case $- in # (((( 226e4c0bf4dSmrg *v*x* | *x*v* ) as_opts=-vx ;; 227e4c0bf4dSmrg *v* ) as_opts=-v ;; 228e4c0bf4dSmrg *x* ) as_opts=-x ;; 229e4c0bf4dSmrg * ) as_opts= ;; 230e4c0bf4dSmrg esac 231e4c0bf4dSmrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232e4c0bf4dSmrgfi 233e4c0bf4dSmrg 234e4c0bf4dSmrg if test x$as_have_required = xno; then : 235e4c0bf4dSmrg $as_echo "$0: This script requires a shell more modern than all" 236e4c0bf4dSmrg $as_echo "$0: the shells that I found on your system." 237e4c0bf4dSmrg if test x${ZSH_VERSION+set} = xset ; then 238e4c0bf4dSmrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239e4c0bf4dSmrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240e4c0bf4dSmrg else 241e4c0bf4dSmrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 242e4c0bf4dSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 243e4c0bf4dSmrg$0: about your system, including any error possibly output 244e4c0bf4dSmrg$0: before this message. Then install a modern shell, or 245e4c0bf4dSmrg$0: manually run the script under such a shell if you do 246e4c0bf4dSmrg$0: have one." 247e4c0bf4dSmrg fi 248e4c0bf4dSmrg exit 1 249e4c0bf4dSmrgfi 250e4c0bf4dSmrgfi 251e4c0bf4dSmrgfi 252e4c0bf4dSmrgSHELL=${CONFIG_SHELL-/bin/sh} 253e4c0bf4dSmrgexport SHELL 254e4c0bf4dSmrg# Unset more variables known to interfere with behavior of common tools. 255e4c0bf4dSmrgCLICOLOR_FORCE= GREP_OPTIONS= 256e4c0bf4dSmrgunset CLICOLOR_FORCE GREP_OPTIONS 257e4c0bf4dSmrg 258e4c0bf4dSmrg## --------------------- ## 259e4c0bf4dSmrg## M4sh Shell Functions. ## 260e4c0bf4dSmrg## --------------------- ## 261e4c0bf4dSmrg# as_fn_unset VAR 262e4c0bf4dSmrg# --------------- 263e4c0bf4dSmrg# Portably unset VAR. 264e4c0bf4dSmrgas_fn_unset () 265e4c0bf4dSmrg{ 266e4c0bf4dSmrg { eval $1=; unset $1;} 267e4c0bf4dSmrg} 268e4c0bf4dSmrgas_unset=as_fn_unset 269e4c0bf4dSmrg 270e4c0bf4dSmrg# as_fn_set_status STATUS 271e4c0bf4dSmrg# ----------------------- 272e4c0bf4dSmrg# Set $? to STATUS, without forking. 273e4c0bf4dSmrgas_fn_set_status () 274e4c0bf4dSmrg{ 275e4c0bf4dSmrg return $1 276e4c0bf4dSmrg} # as_fn_set_status 277e4c0bf4dSmrg 278e4c0bf4dSmrg# as_fn_exit STATUS 279e4c0bf4dSmrg# ----------------- 280e4c0bf4dSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 281e4c0bf4dSmrgas_fn_exit () 282e4c0bf4dSmrg{ 283e4c0bf4dSmrg set +e 284e4c0bf4dSmrg as_fn_set_status $1 285e4c0bf4dSmrg exit $1 286e4c0bf4dSmrg} # as_fn_exit 287e4c0bf4dSmrg 288e4c0bf4dSmrg# as_fn_mkdir_p 289e4c0bf4dSmrg# ------------- 290e4c0bf4dSmrg# Create "$as_dir" as a directory, including parents if necessary. 291e4c0bf4dSmrgas_fn_mkdir_p () 292e4c0bf4dSmrg{ 293e4c0bf4dSmrg 294e4c0bf4dSmrg case $as_dir in #( 295e4c0bf4dSmrg -*) as_dir=./$as_dir;; 296e4c0bf4dSmrg esac 297e4c0bf4dSmrg test -d "$as_dir" || eval $as_mkdir_p || { 298e4c0bf4dSmrg as_dirs= 299e4c0bf4dSmrg while :; do 300e4c0bf4dSmrg case $as_dir in #( 301e4c0bf4dSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 302e4c0bf4dSmrg *) as_qdir=$as_dir;; 303e4c0bf4dSmrg esac 304e4c0bf4dSmrg as_dirs="'$as_qdir' $as_dirs" 305e4c0bf4dSmrg as_dir=`$as_dirname -- "$as_dir" || 306e4c0bf4dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 307e4c0bf4dSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 308e4c0bf4dSmrg X"$as_dir" : 'X\(//\)$' \| \ 309e4c0bf4dSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 310e4c0bf4dSmrg$as_echo X"$as_dir" | 311e4c0bf4dSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 312e4c0bf4dSmrg s//\1/ 313e4c0bf4dSmrg q 314e4c0bf4dSmrg } 315e4c0bf4dSmrg /^X\(\/\/\)[^/].*/{ 316e4c0bf4dSmrg s//\1/ 317e4c0bf4dSmrg q 318e4c0bf4dSmrg } 319e4c0bf4dSmrg /^X\(\/\/\)$/{ 320e4c0bf4dSmrg s//\1/ 321e4c0bf4dSmrg q 322e4c0bf4dSmrg } 323e4c0bf4dSmrg /^X\(\/\).*/{ 324e4c0bf4dSmrg s//\1/ 325e4c0bf4dSmrg q 326e4c0bf4dSmrg } 327e4c0bf4dSmrg s/.*/./; q'` 328e4c0bf4dSmrg test -d "$as_dir" && break 329e4c0bf4dSmrg done 330e4c0bf4dSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 331e4c0bf4dSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 332e4c0bf4dSmrg 333e4c0bf4dSmrg 334e4c0bf4dSmrg} # as_fn_mkdir_p 335e4c0bf4dSmrg# as_fn_append VAR VALUE 336e4c0bf4dSmrg# ---------------------- 337e4c0bf4dSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 338e4c0bf4dSmrg# advantage of any shell optimizations that allow amortized linear growth over 339e4c0bf4dSmrg# repeated appends, instead of the typical quadratic growth present in naive 340e4c0bf4dSmrg# implementations. 341e4c0bf4dSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 342e4c0bf4dSmrg eval 'as_fn_append () 343e4c0bf4dSmrg { 344e4c0bf4dSmrg eval $1+=\$2 345e4c0bf4dSmrg }' 346e4c0bf4dSmrgelse 347e4c0bf4dSmrg as_fn_append () 348e4c0bf4dSmrg { 349e4c0bf4dSmrg eval $1=\$$1\$2 350e4c0bf4dSmrg } 351e4c0bf4dSmrgfi # as_fn_append 352e4c0bf4dSmrg 353e4c0bf4dSmrg# as_fn_arith ARG... 354e4c0bf4dSmrg# ------------------ 355e4c0bf4dSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 356e4c0bf4dSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 357e4c0bf4dSmrg# must be portable across $(()) and expr. 358e4c0bf4dSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 359e4c0bf4dSmrg eval 'as_fn_arith () 360e4c0bf4dSmrg { 361e4c0bf4dSmrg as_val=$(( $* )) 362e4c0bf4dSmrg }' 363e4c0bf4dSmrgelse 364e4c0bf4dSmrg as_fn_arith () 365e4c0bf4dSmrg { 366e4c0bf4dSmrg as_val=`expr "$@" || test $? -eq 1` 367e4c0bf4dSmrg } 368e4c0bf4dSmrgfi # as_fn_arith 369e4c0bf4dSmrg 370e4c0bf4dSmrg 371e4c0bf4dSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 372e4c0bf4dSmrg# ---------------------------------------- 373e4c0bf4dSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 374e4c0bf4dSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 375e4c0bf4dSmrg# script with STATUS, using 1 if that was 0. 376e4c0bf4dSmrgas_fn_error () 377e4c0bf4dSmrg{ 378e4c0bf4dSmrg as_status=$1; test $as_status -eq 0 && as_status=1 379e4c0bf4dSmrg if test "$4"; then 380e4c0bf4dSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 381e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 382e4c0bf4dSmrg fi 383e4c0bf4dSmrg $as_echo "$as_me: error: $2" >&2 384e4c0bf4dSmrg as_fn_exit $as_status 385e4c0bf4dSmrg} # as_fn_error 386e4c0bf4dSmrg 38763165362Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 38863165362Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 3890eb10989Smrg as_expr=expr 3900eb10989Smrgelse 3910eb10989Smrg as_expr=false 3920eb10989Smrgfi 3930eb10989Smrg 39463165362Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3950eb10989Smrg as_basename=basename 3960eb10989Smrgelse 3970eb10989Smrg as_basename=false 3980eb10989Smrgfi 3990eb10989Smrg 400e4c0bf4dSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 401e4c0bf4dSmrg as_dirname=dirname 402e4c0bf4dSmrgelse 403e4c0bf4dSmrg as_dirname=false 404e4c0bf4dSmrgfi 4050eb10989Smrg 40663165362Smrgas_me=`$as_basename -- "$0" || 4070eb10989Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4080eb10989Smrg X"$0" : 'X\(//\)$' \| \ 40963165362Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 41063165362Smrg$as_echo X/"$0" | 41163165362Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 41263165362Smrg s//\1/ 41363165362Smrg q 41463165362Smrg } 41563165362Smrg /^X\/\(\/\/\)$/{ 41663165362Smrg s//\1/ 41763165362Smrg q 41863165362Smrg } 41963165362Smrg /^X\/\(\/\).*/{ 42063165362Smrg s//\1/ 42163165362Smrg q 42263165362Smrg } 42363165362Smrg s/.*/./; q'` 4240eb10989Smrg 425e4c0bf4dSmrg# Avoid depending upon Character Ranges. 426e4c0bf4dSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 427e4c0bf4dSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 428e4c0bf4dSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 429e4c0bf4dSmrgas_cr_digits='0123456789' 430e4c0bf4dSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4310eb10989Smrg 4320eb10989Smrg 433e4c0bf4dSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 434e4c0bf4dSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 435e4c0bf4dSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 436e4c0bf4dSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 437e4c0bf4dSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438e4c0bf4dSmrg sed -n ' 439e4c0bf4dSmrg p 440e4c0bf4dSmrg /[$]LINENO/= 441e4c0bf4dSmrg ' <$as_myself | 442e4c0bf4dSmrg sed ' 443e4c0bf4dSmrg s/[$]LINENO.*/&-/ 444e4c0bf4dSmrg t lineno 445e4c0bf4dSmrg b 446e4c0bf4dSmrg :lineno 447e4c0bf4dSmrg N 448e4c0bf4dSmrg :loop 449e4c0bf4dSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450e4c0bf4dSmrg t loop 451e4c0bf4dSmrg s/-\n.*// 452e4c0bf4dSmrg ' >$as_me.lineno && 453e4c0bf4dSmrg chmod +x "$as_me.lineno" || 454e4c0bf4dSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 4550eb10989Smrg 456e4c0bf4dSmrg # Don't try to exec as it changes $[0], causing all sort of problems 457e4c0bf4dSmrg # (the dirname of $[0] is not the place where we might find the 458e4c0bf4dSmrg # original and so on. Autoconf is especially sensitive to this). 459e4c0bf4dSmrg . "./$as_me.lineno" 460e4c0bf4dSmrg # Exit status is that of the last command. 461e4c0bf4dSmrg exit 46263165362Smrg} 4630eb10989Smrg 464e4c0bf4dSmrgECHO_C= ECHO_N= ECHO_T= 465e4c0bf4dSmrgcase `echo -n x` in #((((( 466e4c0bf4dSmrg-n*) 467e4c0bf4dSmrg case `echo 'xy\c'` in 468e4c0bf4dSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 469e4c0bf4dSmrg xy) ECHO_C='\c';; 470e4c0bf4dSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 471e4c0bf4dSmrg ECHO_T=' ';; 472e4c0bf4dSmrg esac;; 473e4c0bf4dSmrg*) 474e4c0bf4dSmrg ECHO_N='-n';; 475e4c0bf4dSmrgesac 4760eb10989Smrg 477e4c0bf4dSmrgrm -f conf$$ conf$$.exe conf$$.file 478e4c0bf4dSmrgif test -d conf$$.dir; then 479e4c0bf4dSmrg rm -f conf$$.dir/conf$$.file 480e4c0bf4dSmrgelse 481e4c0bf4dSmrg rm -f conf$$.dir 482e4c0bf4dSmrg mkdir conf$$.dir 2>/dev/null 48363165362Smrgfi 484e4c0bf4dSmrgif (echo >conf$$.file) 2>/dev/null; then 485e4c0bf4dSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 486e4c0bf4dSmrg as_ln_s='ln -s' 487e4c0bf4dSmrg # ... but there are two gotchas: 488e4c0bf4dSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 489e4c0bf4dSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 490e4c0bf4dSmrg # In both cases, we have to default to `cp -p'. 491e4c0bf4dSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 492e4c0bf4dSmrg as_ln_s='cp -p' 493e4c0bf4dSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 494e4c0bf4dSmrg as_ln_s=ln 495e4c0bf4dSmrg else 496e4c0bf4dSmrg as_ln_s='cp -p' 497e4c0bf4dSmrg fi 49863165362Smrgelse 499e4c0bf4dSmrg as_ln_s='cp -p' 50063165362Smrgfi 501e4c0bf4dSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 502e4c0bf4dSmrgrmdir conf$$.dir 2>/dev/null 50363165362Smrg 504e4c0bf4dSmrgif mkdir -p . 2>/dev/null; then 505e4c0bf4dSmrg as_mkdir_p='mkdir -p "$as_dir"' 506e4c0bf4dSmrgelse 507e4c0bf4dSmrg test -d ./-p && rmdir ./-p 508e4c0bf4dSmrg as_mkdir_p=false 50963165362Smrgfi 51063165362Smrg 511e4c0bf4dSmrgif test -x / >/dev/null 2>&1; then 512e4c0bf4dSmrg as_test_x='test -x' 51363165362Smrgelse 514e4c0bf4dSmrg if ls -dL / >/dev/null 2>&1; then 515e4c0bf4dSmrg as_ls_L_option=L 516e4c0bf4dSmrg else 517e4c0bf4dSmrg as_ls_L_option= 518e4c0bf4dSmrg fi 519e4c0bf4dSmrg as_test_x=' 520e4c0bf4dSmrg eval sh -c '\'' 521e4c0bf4dSmrg if test -d "$1"; then 522e4c0bf4dSmrg test -d "$1/."; 523e4c0bf4dSmrg else 524e4c0bf4dSmrg case $1 in #( 525e4c0bf4dSmrg -*)set "./$1";; 526e4c0bf4dSmrg esac; 527e4c0bf4dSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 528e4c0bf4dSmrg ???[sx]*):;;*)false;;esac;fi 529e4c0bf4dSmrg '\'' sh 530e4c0bf4dSmrg ' 53163165362Smrgfi 532e4c0bf4dSmrgas_executable_p=$as_test_x 53363165362Smrg 534e4c0bf4dSmrg# Sed expression to map a string onto a valid CPP name. 535e4c0bf4dSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 53663165362Smrg 537e4c0bf4dSmrg# Sed expression to map a string onto a valid variable name. 538e4c0bf4dSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 53963165362Smrg 54063165362Smrg 541e4c0bf4dSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 542e4c0bf4dSmrgexec 6>&1 5430eb10989Smrg 5440eb10989Smrg# Name of the host. 545e4c0bf4dSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 5460eb10989Smrg# so uname gets run too. 5470eb10989Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5480eb10989Smrg 5490eb10989Smrg# 5500eb10989Smrg# Initializations. 5510eb10989Smrg# 5520eb10989Smrgac_default_prefix=/usr/local 55363165362Smrgac_clean_files= 5540eb10989Smrgac_config_libobj_dir=. 55563165362SmrgLIBOBJS= 5560eb10989Smrgcross_compiling=no 5570eb10989Smrgsubdirs= 5580eb10989SmrgMFLAGS= 5590eb10989SmrgMAKEFLAGS= 5600eb10989Smrg 5610eb10989Smrg# Identity of this package. 5620eb10989SmrgPACKAGE_NAME='makedepend' 5630eb10989SmrgPACKAGE_TARNAME='makedepend' 564e4c0bf4dSmrgPACKAGE_VERSION='1.0.3' 565e4c0bf4dSmrgPACKAGE_STRING='makedepend 1.0.3' 5660eb10989SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 567e4c0bf4dSmrgPACKAGE_URL='' 5680eb10989Smrg 56963165362Smrg# Factoring default headers for most tests. 57063165362Smrgac_includes_default="\ 57163165362Smrg#include <stdio.h> 57263165362Smrg#ifdef HAVE_SYS_TYPES_H 57363165362Smrg# include <sys/types.h> 57463165362Smrg#endif 57563165362Smrg#ifdef HAVE_SYS_STAT_H 57663165362Smrg# include <sys/stat.h> 57763165362Smrg#endif 57863165362Smrg#ifdef STDC_HEADERS 57963165362Smrg# include <stdlib.h> 58063165362Smrg# include <stddef.h> 58163165362Smrg#else 58263165362Smrg# ifdef HAVE_STDLIB_H 58363165362Smrg# include <stdlib.h> 58463165362Smrg# endif 58563165362Smrg#endif 58663165362Smrg#ifdef HAVE_STRING_H 58763165362Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 58863165362Smrg# include <memory.h> 58963165362Smrg# endif 59063165362Smrg# include <string.h> 59163165362Smrg#endif 59263165362Smrg#ifdef HAVE_STRINGS_H 59363165362Smrg# include <strings.h> 59463165362Smrg#endif 59563165362Smrg#ifdef HAVE_INTTYPES_H 59663165362Smrg# include <inttypes.h> 59763165362Smrg#endif 59863165362Smrg#ifdef HAVE_STDINT_H 59963165362Smrg# include <stdint.h> 60063165362Smrg#endif 60163165362Smrg#ifdef HAVE_UNISTD_H 60263165362Smrg# include <unistd.h> 60363165362Smrg#endif" 60463165362Smrg 60563165362Smrgac_subst_vars='am__EXEEXT_FALSE 60663165362Smrgam__EXEEXT_TRUE 60763165362SmrgLTLIBOBJS 60863165362SmrgLIBOBJS 60963165362SmrgX_LIBS 61063165362SmrgX_CFLAGS 61163165362SmrgLINT_FALSE 61263165362SmrgLINT_TRUE 61363165362SmrgLINT_FLAGS 61463165362SmrgLINT 615e4c0bf4dSmrgAM_BACKSLASH 616e4c0bf4dSmrgAM_DEFAULT_VERBOSITY 617e4c0bf4dSmrgMAN_SUBSTS 618e4c0bf4dSmrgXORG_MAN_PAGE 61963165362SmrgADMIN_MAN_DIR 62063165362SmrgDRIVER_MAN_DIR 62163165362SmrgMISC_MAN_DIR 62263165362SmrgFILE_MAN_DIR 62363165362SmrgLIB_MAN_DIR 62463165362SmrgAPP_MAN_DIR 62563165362SmrgADMIN_MAN_SUFFIX 62663165362SmrgDRIVER_MAN_SUFFIX 62763165362SmrgMISC_MAN_SUFFIX 62863165362SmrgFILE_MAN_SUFFIX 62963165362SmrgLIB_MAN_SUFFIX 63063165362SmrgAPP_MAN_SUFFIX 631e4c0bf4dSmrgSED 63263165362Smrghost_os 63363165362Smrghost_vendor 63463165362Smrghost_cpu 63563165362Smrghost 63663165362Smrgbuild_os 63763165362Smrgbuild_vendor 63863165362Smrgbuild_cpu 63963165362Smrgbuild 640e4c0bf4dSmrgINSTALL_CMD 641e4c0bf4dSmrgPKG_CONFIG 64263165362SmrgCHANGELOG_CMD 64363165362SmrgCWARNFLAGS 64463165362SmrgEGREP 64563165362SmrgGREP 64663165362SmrgCPP 64763165362Smrgam__fastdepCC_FALSE 64863165362Smrgam__fastdepCC_TRUE 64963165362SmrgCCDEPMODE 65063165362SmrgAMDEPBACKSLASH 65163165362SmrgAMDEP_FALSE 65263165362SmrgAMDEP_TRUE 65363165362Smrgam__quote 65463165362Smrgam__include 65563165362SmrgDEPDIR 65663165362SmrgOBJEXT 65763165362SmrgEXEEXT 65863165362Smrgac_ct_CC 65963165362SmrgCPPFLAGS 66063165362SmrgLDFLAGS 66163165362SmrgCFLAGS 66263165362SmrgCC 66363165362Smrgam__untar 66463165362Smrgam__tar 66563165362SmrgAMTAR 66663165362Smrgam__leading_dot 66763165362SmrgSET_MAKE 66863165362SmrgAWK 66963165362Smrgmkdir_p 67063165362SmrgMKDIR_P 67163165362SmrgINSTALL_STRIP_PROGRAM 67263165362SmrgSTRIP 67363165362Smrginstall_sh 67463165362SmrgMAKEINFO 67563165362SmrgAUTOHEADER 67663165362SmrgAUTOMAKE 67763165362SmrgAUTOCONF 67863165362SmrgACLOCAL 67963165362SmrgVERSION 68063165362SmrgPACKAGE 68163165362SmrgCYGPATH_W 68263165362Smrgam__isrc 68363165362SmrgINSTALL_DATA 68463165362SmrgINSTALL_SCRIPT 68563165362SmrgINSTALL_PROGRAM 68663165362Smrgtarget_alias 68763165362Smrghost_alias 68863165362Smrgbuild_alias 68963165362SmrgLIBS 69063165362SmrgECHO_T 69163165362SmrgECHO_N 69263165362SmrgECHO_C 69363165362SmrgDEFS 69463165362Smrgmandir 69563165362Smrglocaledir 69663165362Smrglibdir 69763165362Smrgpsdir 69863165362Smrgpdfdir 69963165362Smrgdvidir 70063165362Smrghtmldir 70163165362Smrginfodir 70263165362Smrgdocdir 70363165362Smrgoldincludedir 70463165362Smrgincludedir 70563165362Smrglocalstatedir 70663165362Smrgsharedstatedir 70763165362Smrgsysconfdir 70863165362Smrgdatadir 70963165362Smrgdatarootdir 71063165362Smrglibexecdir 71163165362Smrgsbindir 71263165362Smrgbindir 71363165362Smrgprogram_transform_name 71463165362Smrgprefix 71563165362Smrgexec_prefix 716e4c0bf4dSmrgPACKAGE_URL 71763165362SmrgPACKAGE_BUGREPORT 71863165362SmrgPACKAGE_STRING 71963165362SmrgPACKAGE_VERSION 72063165362SmrgPACKAGE_TARNAME 72163165362SmrgPACKAGE_NAME 72263165362SmrgPATH_SEPARATOR 72363165362SmrgSHELL' 7240eb10989Smrgac_subst_files='' 72563165362Smrgac_user_opts=' 72663165362Smrgenable_option_checking 72763165362Smrgenable_dependency_tracking 72863165362Smrgenable_strict_compilation 729e4c0bf4dSmrgenable_silent_rules 73063165362Smrgwith_lint 73163165362Smrgenable_largefile 73263165362Smrg' 73363165362Smrg ac_precious_vars='build_alias 73463165362Smrghost_alias 73563165362Smrgtarget_alias 73663165362SmrgCC 73763165362SmrgCFLAGS 73863165362SmrgLDFLAGS 73963165362SmrgLIBS 74063165362SmrgCPPFLAGS 74163165362SmrgCPP 74263165362SmrgPKG_CONFIG 743e4c0bf4dSmrgLINT 744e4c0bf4dSmrgLINT_FLAGS 74563165362SmrgX_CFLAGS 74663165362SmrgX_LIBS' 74763165362Smrg 7480eb10989Smrg 7490eb10989Smrg# Initialize some variables set by options. 7500eb10989Smrgac_init_help= 7510eb10989Smrgac_init_version=false 75263165362Smrgac_unrecognized_opts= 75363165362Smrgac_unrecognized_sep= 7540eb10989Smrg# The variables have the same names as the options, with 7550eb10989Smrg# dashes changed to underlines. 7560eb10989Smrgcache_file=/dev/null 7570eb10989Smrgexec_prefix=NONE 7580eb10989Smrgno_create= 7590eb10989Smrgno_recursion= 7600eb10989Smrgprefix=NONE 7610eb10989Smrgprogram_prefix=NONE 7620eb10989Smrgprogram_suffix=NONE 7630eb10989Smrgprogram_transform_name=s,x,x, 7640eb10989Smrgsilent= 7650eb10989Smrgsite= 7660eb10989Smrgsrcdir= 7670eb10989Smrgverbose= 7680eb10989Smrgx_includes=NONE 7690eb10989Smrgx_libraries=NONE 7700eb10989Smrg 7710eb10989Smrg# Installation directory options. 7720eb10989Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 7730eb10989Smrg# and all the variables that are supposed to be based on exec_prefix 7740eb10989Smrg# by default will actually change. 7750eb10989Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 77663165362Smrg# (The list follows the same order as the GNU Coding Standards.) 7770eb10989Smrgbindir='${exec_prefix}/bin' 7780eb10989Smrgsbindir='${exec_prefix}/sbin' 7790eb10989Smrglibexecdir='${exec_prefix}/libexec' 78063165362Smrgdatarootdir='${prefix}/share' 78163165362Smrgdatadir='${datarootdir}' 7820eb10989Smrgsysconfdir='${prefix}/etc' 7830eb10989Smrgsharedstatedir='${prefix}/com' 7840eb10989Smrglocalstatedir='${prefix}/var' 7850eb10989Smrgincludedir='${prefix}/include' 7860eb10989Smrgoldincludedir='/usr/include' 78763165362Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 78863165362Smrginfodir='${datarootdir}/info' 78963165362Smrghtmldir='${docdir}' 79063165362Smrgdvidir='${docdir}' 79163165362Smrgpdfdir='${docdir}' 79263165362Smrgpsdir='${docdir}' 79363165362Smrglibdir='${exec_prefix}/lib' 79463165362Smrglocaledir='${datarootdir}/locale' 79563165362Smrgmandir='${datarootdir}/man' 7960eb10989Smrg 7970eb10989Smrgac_prev= 79863165362Smrgac_dashdash= 7990eb10989Smrgfor ac_option 8000eb10989Smrgdo 8010eb10989Smrg # If the previous option needs an argument, assign it. 8020eb10989Smrg if test -n "$ac_prev"; then 80363165362Smrg eval $ac_prev=\$ac_option 8040eb10989Smrg ac_prev= 8050eb10989Smrg continue 8060eb10989Smrg fi 8070eb10989Smrg 80863165362Smrg case $ac_option in 809e4c0bf4dSmrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 810e4c0bf4dSmrg *=) ac_optarg= ;; 811e4c0bf4dSmrg *) ac_optarg=yes ;; 81263165362Smrg esac 8130eb10989Smrg 8140eb10989Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 8150eb10989Smrg 81663165362Smrg case $ac_dashdash$ac_option in 81763165362Smrg --) 81863165362Smrg ac_dashdash=yes ;; 8190eb10989Smrg 8200eb10989Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8210eb10989Smrg ac_prev=bindir ;; 8220eb10989Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8230eb10989Smrg bindir=$ac_optarg ;; 8240eb10989Smrg 8250eb10989Smrg -build | --build | --buil | --bui | --bu) 8260eb10989Smrg ac_prev=build_alias ;; 8270eb10989Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8280eb10989Smrg build_alias=$ac_optarg ;; 8290eb10989Smrg 8300eb10989Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8310eb10989Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8320eb10989Smrg ac_prev=cache_file ;; 8330eb10989Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8340eb10989Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8350eb10989Smrg cache_file=$ac_optarg ;; 8360eb10989Smrg 8370eb10989Smrg --config-cache | -C) 8380eb10989Smrg cache_file=config.cache ;; 8390eb10989Smrg 84063165362Smrg -datadir | --datadir | --datadi | --datad) 8410eb10989Smrg ac_prev=datadir ;; 84263165362Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8430eb10989Smrg datadir=$ac_optarg ;; 8440eb10989Smrg 84563165362Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 84663165362Smrg | --dataroo | --dataro | --datar) 84763165362Smrg ac_prev=datarootdir ;; 84863165362Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 84963165362Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 85063165362Smrg datarootdir=$ac_optarg ;; 85163165362Smrg 8520eb10989Smrg -disable-* | --disable-*) 85363165362Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8540eb10989Smrg # Reject names that are not valid shell variable names. 85563165362Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 856e4c0bf4dSmrg as_fn_error $? "invalid feature name: $ac_useropt" 85763165362Smrg ac_useropt_orig=$ac_useropt 85863165362Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 85963165362Smrg case $ac_user_opts in 86063165362Smrg *" 86163165362Smrg"enable_$ac_useropt" 86263165362Smrg"*) ;; 86363165362Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 86463165362Smrg ac_unrecognized_sep=', ';; 86563165362Smrg esac 86663165362Smrg eval enable_$ac_useropt=no ;; 86763165362Smrg 86863165362Smrg -docdir | --docdir | --docdi | --doc | --do) 86963165362Smrg ac_prev=docdir ;; 87063165362Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 87163165362Smrg docdir=$ac_optarg ;; 87263165362Smrg 87363165362Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 87463165362Smrg ac_prev=dvidir ;; 87563165362Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 87663165362Smrg dvidir=$ac_optarg ;; 8770eb10989Smrg 8780eb10989Smrg -enable-* | --enable-*) 87963165362Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8800eb10989Smrg # Reject names that are not valid shell variable names. 88163165362Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 882e4c0bf4dSmrg as_fn_error $? "invalid feature name: $ac_useropt" 88363165362Smrg ac_useropt_orig=$ac_useropt 88463165362Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 88563165362Smrg case $ac_user_opts in 88663165362Smrg *" 88763165362Smrg"enable_$ac_useropt" 88863165362Smrg"*) ;; 88963165362Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 89063165362Smrg ac_unrecognized_sep=', ';; 8910eb10989Smrg esac 89263165362Smrg eval enable_$ac_useropt=\$ac_optarg ;; 8930eb10989Smrg 8940eb10989Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 8950eb10989Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 8960eb10989Smrg | --exec | --exe | --ex) 8970eb10989Smrg ac_prev=exec_prefix ;; 8980eb10989Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 8990eb10989Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 9000eb10989Smrg | --exec=* | --exe=* | --ex=*) 9010eb10989Smrg exec_prefix=$ac_optarg ;; 9020eb10989Smrg 9030eb10989Smrg -gas | --gas | --ga | --g) 9040eb10989Smrg # Obsolete; use --with-gas. 9050eb10989Smrg with_gas=yes ;; 9060eb10989Smrg 9070eb10989Smrg -help | --help | --hel | --he | -h) 9080eb10989Smrg ac_init_help=long ;; 9090eb10989Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9100eb10989Smrg ac_init_help=recursive ;; 9110eb10989Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9120eb10989Smrg ac_init_help=short ;; 9130eb10989Smrg 9140eb10989Smrg -host | --host | --hos | --ho) 9150eb10989Smrg ac_prev=host_alias ;; 9160eb10989Smrg -host=* | --host=* | --hos=* | --ho=*) 9170eb10989Smrg host_alias=$ac_optarg ;; 9180eb10989Smrg 91963165362Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 92063165362Smrg ac_prev=htmldir ;; 92163165362Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 92263165362Smrg | --ht=*) 92363165362Smrg htmldir=$ac_optarg ;; 92463165362Smrg 9250eb10989Smrg -includedir | --includedir | --includedi | --included | --include \ 9260eb10989Smrg | --includ | --inclu | --incl | --inc) 9270eb10989Smrg ac_prev=includedir ;; 9280eb10989Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9290eb10989Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9300eb10989Smrg includedir=$ac_optarg ;; 9310eb10989Smrg 9320eb10989Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9330eb10989Smrg ac_prev=infodir ;; 9340eb10989Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9350eb10989Smrg infodir=$ac_optarg ;; 9360eb10989Smrg 9370eb10989Smrg -libdir | --libdir | --libdi | --libd) 9380eb10989Smrg ac_prev=libdir ;; 9390eb10989Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9400eb10989Smrg libdir=$ac_optarg ;; 9410eb10989Smrg 9420eb10989Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9430eb10989Smrg | --libexe | --libex | --libe) 9440eb10989Smrg ac_prev=libexecdir ;; 9450eb10989Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9460eb10989Smrg | --libexe=* | --libex=* | --libe=*) 9470eb10989Smrg libexecdir=$ac_optarg ;; 9480eb10989Smrg 94963165362Smrg -localedir | --localedir | --localedi | --localed | --locale) 95063165362Smrg ac_prev=localedir ;; 95163165362Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 95263165362Smrg localedir=$ac_optarg ;; 95363165362Smrg 9540eb10989Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 95563165362Smrg | --localstate | --localstat | --localsta | --localst | --locals) 9560eb10989Smrg ac_prev=localstatedir ;; 9570eb10989Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 95863165362Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9590eb10989Smrg localstatedir=$ac_optarg ;; 9600eb10989Smrg 9610eb10989Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9620eb10989Smrg ac_prev=mandir ;; 9630eb10989Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9640eb10989Smrg mandir=$ac_optarg ;; 9650eb10989Smrg 9660eb10989Smrg -nfp | --nfp | --nf) 9670eb10989Smrg # Obsolete; use --without-fp. 9680eb10989Smrg with_fp=no ;; 9690eb10989Smrg 9700eb10989Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9710eb10989Smrg | --no-cr | --no-c | -n) 9720eb10989Smrg no_create=yes ;; 9730eb10989Smrg 9740eb10989Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9750eb10989Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9760eb10989Smrg no_recursion=yes ;; 9770eb10989Smrg 9780eb10989Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9790eb10989Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9800eb10989Smrg | --oldin | --oldi | --old | --ol | --o) 9810eb10989Smrg ac_prev=oldincludedir ;; 9820eb10989Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9830eb10989Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9840eb10989Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9850eb10989Smrg oldincludedir=$ac_optarg ;; 9860eb10989Smrg 9870eb10989Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9880eb10989Smrg ac_prev=prefix ;; 9890eb10989Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9900eb10989Smrg prefix=$ac_optarg ;; 9910eb10989Smrg 9920eb10989Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9930eb10989Smrg | --program-pre | --program-pr | --program-p) 9940eb10989Smrg ac_prev=program_prefix ;; 9950eb10989Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 9960eb10989Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 9970eb10989Smrg program_prefix=$ac_optarg ;; 9980eb10989Smrg 9990eb10989Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 10000eb10989Smrg | --program-suf | --program-su | --program-s) 10010eb10989Smrg ac_prev=program_suffix ;; 10020eb10989Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 10030eb10989Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 10040eb10989Smrg program_suffix=$ac_optarg ;; 10050eb10989Smrg 10060eb10989Smrg -program-transform-name | --program-transform-name \ 10070eb10989Smrg | --program-transform-nam | --program-transform-na \ 10080eb10989Smrg | --program-transform-n | --program-transform- \ 10090eb10989Smrg | --program-transform | --program-transfor \ 10100eb10989Smrg | --program-transfo | --program-transf \ 10110eb10989Smrg | --program-trans | --program-tran \ 10120eb10989Smrg | --progr-tra | --program-tr | --program-t) 10130eb10989Smrg ac_prev=program_transform_name ;; 10140eb10989Smrg -program-transform-name=* | --program-transform-name=* \ 10150eb10989Smrg | --program-transform-nam=* | --program-transform-na=* \ 10160eb10989Smrg | --program-transform-n=* | --program-transform-=* \ 10170eb10989Smrg | --program-transform=* | --program-transfor=* \ 10180eb10989Smrg | --program-transfo=* | --program-transf=* \ 10190eb10989Smrg | --program-trans=* | --program-tran=* \ 10200eb10989Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 10210eb10989Smrg program_transform_name=$ac_optarg ;; 10220eb10989Smrg 102363165362Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 102463165362Smrg ac_prev=pdfdir ;; 102563165362Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 102663165362Smrg pdfdir=$ac_optarg ;; 102763165362Smrg 102863165362Smrg -psdir | --psdir | --psdi | --psd | --ps) 102963165362Smrg ac_prev=psdir ;; 103063165362Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 103163165362Smrg psdir=$ac_optarg ;; 103263165362Smrg 10330eb10989Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10340eb10989Smrg | -silent | --silent | --silen | --sile | --sil) 10350eb10989Smrg silent=yes ;; 10360eb10989Smrg 10370eb10989Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10380eb10989Smrg ac_prev=sbindir ;; 10390eb10989Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10400eb10989Smrg | --sbi=* | --sb=*) 10410eb10989Smrg sbindir=$ac_optarg ;; 10420eb10989Smrg 10430eb10989Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10440eb10989Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10450eb10989Smrg | --sharedst | --shareds | --shared | --share | --shar \ 10460eb10989Smrg | --sha | --sh) 10470eb10989Smrg ac_prev=sharedstatedir ;; 10480eb10989Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10490eb10989Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10500eb10989Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10510eb10989Smrg | --sha=* | --sh=*) 10520eb10989Smrg sharedstatedir=$ac_optarg ;; 10530eb10989Smrg 10540eb10989Smrg -site | --site | --sit) 10550eb10989Smrg ac_prev=site ;; 10560eb10989Smrg -site=* | --site=* | --sit=*) 10570eb10989Smrg site=$ac_optarg ;; 10580eb10989Smrg 10590eb10989Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10600eb10989Smrg ac_prev=srcdir ;; 10610eb10989Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10620eb10989Smrg srcdir=$ac_optarg ;; 10630eb10989Smrg 10640eb10989Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10650eb10989Smrg | --syscon | --sysco | --sysc | --sys | --sy) 10660eb10989Smrg ac_prev=sysconfdir ;; 10670eb10989Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10680eb10989Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10690eb10989Smrg sysconfdir=$ac_optarg ;; 10700eb10989Smrg 10710eb10989Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 10720eb10989Smrg ac_prev=target_alias ;; 10730eb10989Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10740eb10989Smrg target_alias=$ac_optarg ;; 10750eb10989Smrg 10760eb10989Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 10770eb10989Smrg verbose=yes ;; 10780eb10989Smrg 10790eb10989Smrg -version | --version | --versio | --versi | --vers | -V) 10800eb10989Smrg ac_init_version=: ;; 10810eb10989Smrg 10820eb10989Smrg -with-* | --with-*) 108363165362Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10840eb10989Smrg # Reject names that are not valid shell variable names. 108563165362Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1086e4c0bf4dSmrg as_fn_error $? "invalid package name: $ac_useropt" 108763165362Smrg ac_useropt_orig=$ac_useropt 108863165362Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 108963165362Smrg case $ac_user_opts in 109063165362Smrg *" 109163165362Smrg"with_$ac_useropt" 109263165362Smrg"*) ;; 109363165362Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 109463165362Smrg ac_unrecognized_sep=', ';; 10950eb10989Smrg esac 109663165362Smrg eval with_$ac_useropt=\$ac_optarg ;; 10970eb10989Smrg 10980eb10989Smrg -without-* | --without-*) 109963165362Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 11000eb10989Smrg # Reject names that are not valid shell variable names. 110163165362Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1102e4c0bf4dSmrg as_fn_error $? "invalid package name: $ac_useropt" 110363165362Smrg ac_useropt_orig=$ac_useropt 110463165362Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 110563165362Smrg case $ac_user_opts in 110663165362Smrg *" 110763165362Smrg"with_$ac_useropt" 110863165362Smrg"*) ;; 110963165362Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 111063165362Smrg ac_unrecognized_sep=', ';; 111163165362Smrg esac 111263165362Smrg eval with_$ac_useropt=no ;; 11130eb10989Smrg 11140eb10989Smrg --x) 11150eb10989Smrg # Obsolete; use --with-x. 11160eb10989Smrg with_x=yes ;; 11170eb10989Smrg 11180eb10989Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11190eb10989Smrg | --x-incl | --x-inc | --x-in | --x-i) 11200eb10989Smrg ac_prev=x_includes ;; 11210eb10989Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11220eb10989Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11230eb10989Smrg x_includes=$ac_optarg ;; 11240eb10989Smrg 11250eb10989Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11260eb10989Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11270eb10989Smrg ac_prev=x_libraries ;; 11280eb10989Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11290eb10989Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11300eb10989Smrg x_libraries=$ac_optarg ;; 11310eb10989Smrg 1132e4c0bf4dSmrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 1133e4c0bf4dSmrgTry \`$0 --help' for more information" 11340eb10989Smrg ;; 11350eb10989Smrg 11360eb10989Smrg *=*) 11370eb10989Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11380eb10989Smrg # Reject names that are not valid shell variable names. 1139e4c0bf4dSmrg case $ac_envvar in #( 1140e4c0bf4dSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 1141e4c0bf4dSmrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1142e4c0bf4dSmrg esac 114363165362Smrg eval $ac_envvar=\$ac_optarg 11440eb10989Smrg export $ac_envvar ;; 11450eb10989Smrg 11460eb10989Smrg *) 11470eb10989Smrg # FIXME: should be removed in autoconf 3.0. 114863165362Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 11490eb10989Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 115063165362Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1151e4c0bf4dSmrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 11520eb10989Smrg ;; 11530eb10989Smrg 11540eb10989Smrg esac 11550eb10989Smrgdone 11560eb10989Smrg 11570eb10989Smrgif test -n "$ac_prev"; then 11580eb10989Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1159e4c0bf4dSmrg as_fn_error $? "missing argument to $ac_option" 11600eb10989Smrgfi 11610eb10989Smrg 116263165362Smrgif test -n "$ac_unrecognized_opts"; then 116363165362Smrg case $enable_option_checking in 116463165362Smrg no) ;; 1165e4c0bf4dSmrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 116663165362Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11670eb10989Smrg esac 116863165362Smrgfi 11690eb10989Smrg 117063165362Smrg# Check all directory arguments for consistency. 117163165362Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 117263165362Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 117363165362Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 117463165362Smrg libdir localedir mandir 11750eb10989Smrgdo 117663165362Smrg eval ac_val=\$$ac_var 117763165362Smrg # Remove trailing slashes. 11780eb10989Smrg case $ac_val in 117963165362Smrg */ ) 118063165362Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 118163165362Smrg eval $ac_var=\$ac_val;; 11820eb10989Smrg esac 118363165362Smrg # Be sure to have absolute directory names. 118463165362Smrg case $ac_val in 118563165362Smrg [\\/$]* | ?:[\\/]* ) continue;; 118663165362Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 118763165362Smrg esac 1188e4c0bf4dSmrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 11890eb10989Smrgdone 11900eb10989Smrg 11910eb10989Smrg# There might be people who depend on the old broken behavior: `$host' 11920eb10989Smrg# used to hold the argument of --host etc. 11930eb10989Smrg# FIXME: To remove some day. 11940eb10989Smrgbuild=$build_alias 11950eb10989Smrghost=$host_alias 11960eb10989Smrgtarget=$target_alias 11970eb10989Smrg 11980eb10989Smrg# FIXME: To remove some day. 11990eb10989Smrgif test "x$host_alias" != x; then 12000eb10989Smrg if test "x$build_alias" = x; then 12010eb10989Smrg cross_compiling=maybe 1202e4c0bf4dSmrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1203e4c0bf4dSmrg If a cross compiler is detected then cross compile mode will be used" >&2 12040eb10989Smrg elif test "x$build_alias" != "x$host_alias"; then 12050eb10989Smrg cross_compiling=yes 12060eb10989Smrg fi 12070eb10989Smrgfi 12080eb10989Smrg 12090eb10989Smrgac_tool_prefix= 12100eb10989Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12110eb10989Smrg 12120eb10989Smrgtest "$silent" = yes && exec 6>/dev/null 12130eb10989Smrg 12140eb10989Smrg 121563165362Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 121663165362Smrgac_ls_di=`ls -di .` && 121763165362Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1218e4c0bf4dSmrg as_fn_error $? "working directory cannot be determined" 121963165362Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1220e4c0bf4dSmrg as_fn_error $? "pwd does not report name of working directory" 122163165362Smrg 122263165362Smrg 122363165362Smrg# Find the source files, if location was not specified. 12240eb10989Smrgif test -z "$srcdir"; then 12250eb10989Smrg ac_srcdir_defaulted=yes 122663165362Smrg # Try the directory containing this script, then the parent directory. 122763165362Smrg ac_confdir=`$as_dirname -- "$as_myself" || 122863165362Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 122963165362Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 123063165362Smrg X"$as_myself" : 'X\(//\)$' \| \ 123163165362Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 123263165362Smrg$as_echo X"$as_myself" | 123363165362Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 123463165362Smrg s//\1/ 123563165362Smrg q 123663165362Smrg } 123763165362Smrg /^X\(\/\/\)[^/].*/{ 123863165362Smrg s//\1/ 123963165362Smrg q 124063165362Smrg } 124163165362Smrg /^X\(\/\/\)$/{ 124263165362Smrg s//\1/ 124363165362Smrg q 124463165362Smrg } 124563165362Smrg /^X\(\/\).*/{ 124663165362Smrg s//\1/ 124763165362Smrg q 124863165362Smrg } 124963165362Smrg s/.*/./; q'` 12500eb10989Smrg srcdir=$ac_confdir 125163165362Smrg if test ! -r "$srcdir/$ac_unique_file"; then 12520eb10989Smrg srcdir=.. 12530eb10989Smrg fi 12540eb10989Smrgelse 12550eb10989Smrg ac_srcdir_defaulted=no 12560eb10989Smrgfi 125763165362Smrgif test ! -r "$srcdir/$ac_unique_file"; then 125863165362Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1259e4c0bf4dSmrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 12600eb10989Smrgfi 126163165362Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 126263165362Smrgac_abs_confdir=`( 1263e4c0bf4dSmrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 126463165362Smrg pwd)` 126563165362Smrg# When building in place, set srcdir=. 126663165362Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 126763165362Smrg srcdir=. 126863165362Smrgfi 126963165362Smrg# Remove unnecessary trailing slashes from srcdir. 127063165362Smrg# Double slashes in file names in object file debugging info 127163165362Smrg# mess up M-x gdb in Emacs. 127263165362Smrgcase $srcdir in 127363165362Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 127463165362Smrgesac 127563165362Smrgfor ac_var in $ac_precious_vars; do 127663165362Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 127763165362Smrg eval ac_env_${ac_var}_value=\$${ac_var} 127863165362Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 127963165362Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 128063165362Smrgdone 12810eb10989Smrg 12820eb10989Smrg# 12830eb10989Smrg# Report the --help message. 12840eb10989Smrg# 12850eb10989Smrgif test "$ac_init_help" = "long"; then 12860eb10989Smrg # Omit some internal or obsolete options to make the list less imposing. 12870eb10989Smrg # This message is too long to be a string in the A/UX 3.1 sh. 12880eb10989Smrg cat <<_ACEOF 1289e4c0bf4dSmrg\`configure' configures makedepend 1.0.3 to adapt to many kinds of systems. 12900eb10989Smrg 12910eb10989SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 12920eb10989Smrg 12930eb10989SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 12940eb10989SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 12950eb10989Smrg 12960eb10989SmrgDefaults for the options are specified in brackets. 12970eb10989Smrg 12980eb10989SmrgConfiguration: 12990eb10989Smrg -h, --help display this help and exit 13000eb10989Smrg --help=short display options specific to this package 13010eb10989Smrg --help=recursive display the short help of all the included packages 13020eb10989Smrg -V, --version display version information and exit 1303e4c0bf4dSmrg -q, --quiet, --silent do not print \`checking ...' messages 13040eb10989Smrg --cache-file=FILE cache test results in FILE [disabled] 13050eb10989Smrg -C, --config-cache alias for \`--cache-file=config.cache' 13060eb10989Smrg -n, --no-create do not create output files 13070eb10989Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13080eb10989Smrg 13090eb10989SmrgInstallation directories: 13100eb10989Smrg --prefix=PREFIX install architecture-independent files in PREFIX 131163165362Smrg [$ac_default_prefix] 13120eb10989Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 131363165362Smrg [PREFIX] 13140eb10989Smrg 13150eb10989SmrgBy default, \`make install' will install all the files in 13160eb10989Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13170eb10989Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13180eb10989Smrgfor instance \`--prefix=\$HOME'. 13190eb10989Smrg 13200eb10989SmrgFor better control, use the options below. 13210eb10989Smrg 13220eb10989SmrgFine tuning of the installation directories: 132363165362Smrg --bindir=DIR user executables [EPREFIX/bin] 132463165362Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 132563165362Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 132663165362Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 132763165362Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 132863165362Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 132963165362Smrg --libdir=DIR object code libraries [EPREFIX/lib] 133063165362Smrg --includedir=DIR C header files [PREFIX/include] 133163165362Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 133263165362Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 133363165362Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 133463165362Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 133563165362Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 133663165362Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 133763165362Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/makedepend] 133863165362Smrg --htmldir=DIR html documentation [DOCDIR] 133963165362Smrg --dvidir=DIR dvi documentation [DOCDIR] 134063165362Smrg --pdfdir=DIR pdf documentation [DOCDIR] 134163165362Smrg --psdir=DIR ps documentation [DOCDIR] 13420eb10989Smrg_ACEOF 13430eb10989Smrg 13440eb10989Smrg cat <<\_ACEOF 13450eb10989Smrg 13460eb10989SmrgProgram names: 13470eb10989Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 13480eb10989Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 13490eb10989Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13500eb10989Smrg 13510eb10989SmrgSystem types: 13520eb10989Smrg --build=BUILD configure for building on BUILD [guessed] 13530eb10989Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 13540eb10989Smrg_ACEOF 13550eb10989Smrgfi 13560eb10989Smrg 13570eb10989Smrgif test -n "$ac_init_help"; then 13580eb10989Smrg case $ac_init_help in 1359e4c0bf4dSmrg short | recursive ) echo "Configuration of makedepend 1.0.3:";; 13600eb10989Smrg esac 13610eb10989Smrg cat <<\_ACEOF 13620eb10989Smrg 13630eb10989SmrgOptional Features: 136463165362Smrg --disable-option-checking ignore unrecognized --enable/--with options 13650eb10989Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 13660eb10989Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13670eb10989Smrg --disable-dependency-tracking speeds up one-time build 13680eb10989Smrg --enable-dependency-tracking do not reject slow dependency extractors 136963165362Smrg --enable-strict-compilation 137063165362Smrg Enable all warnings from compiler and make them 137163165362Smrg errors (default: disabled) 1372e4c0bf4dSmrg --enable-silent-rules less verbose build output (undo: `make V=1') 1373e4c0bf4dSmrg --disable-silent-rules verbose build output (undo: `make V=0') 13740eb10989Smrg --disable-largefile omit support for large files 13750eb10989Smrg 13760eb10989SmrgOptional Packages: 13770eb10989Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 13780eb10989Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 137963165362Smrg --with-lint Use a lint-style source code checker (default: 138063165362Smrg disabled) 13810eb10989Smrg 13820eb10989SmrgSome influential environment variables: 13830eb10989Smrg CC C compiler command 13840eb10989Smrg CFLAGS C compiler flags 13850eb10989Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13860eb10989Smrg nonstandard directory <lib dir> 138763165362Smrg LIBS libraries to pass to the linker, e.g. -l<library> 1388e4c0bf4dSmrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 138963165362Smrg you have headers in a nonstandard directory <include dir> 139063165362Smrg CPP C preprocessor 13910eb10989Smrg PKG_CONFIG path to pkg-config utility 1392e4c0bf4dSmrg LINT Path to a lint-style command 1393e4c0bf4dSmrg LINT_FLAGS Flags for the lint-style command 13940eb10989Smrg X_CFLAGS C compiler flags for X, overriding pkg-config 13950eb10989Smrg X_LIBS linker flags for X, overriding pkg-config 13960eb10989Smrg 13970eb10989SmrgUse these variables to override the choices made by `configure' or to help 13980eb10989Smrgit to find libraries and programs with nonstandard names/locations. 13990eb10989Smrg 14000eb10989SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 14010eb10989Smrg_ACEOF 140263165362Smrgac_status=$? 14030eb10989Smrgfi 14040eb10989Smrg 14050eb10989Smrgif test "$ac_init_help" = "recursive"; then 14060eb10989Smrg # If there are subdirs, report their specific --help. 14070eb10989Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 140863165362Smrg test -d "$ac_dir" || 140963165362Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 141063165362Smrg continue 14110eb10989Smrg ac_builddir=. 14120eb10989Smrg 141363165362Smrgcase "$ac_dir" in 141463165362Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 141563165362Smrg*) 141663165362Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 141763165362Smrg # A ".." for each directory in $ac_dir_suffix. 141863165362Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 141963165362Smrg case $ac_top_builddir_sub in 142063165362Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 142163165362Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 142263165362Smrg esac ;; 142363165362Smrgesac 142463165362Smrgac_abs_top_builddir=$ac_pwd 142563165362Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 142663165362Smrg# for backward compatibility: 142763165362Smrgac_top_builddir=$ac_top_build_prefix 14280eb10989Smrg 14290eb10989Smrgcase $srcdir in 143063165362Smrg .) # We are building in place. 14310eb10989Smrg ac_srcdir=. 143263165362Smrg ac_top_srcdir=$ac_top_builddir_sub 143363165362Smrg ac_abs_top_srcdir=$ac_pwd ;; 143463165362Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 14350eb10989Smrg ac_srcdir=$srcdir$ac_dir_suffix; 143663165362Smrg ac_top_srcdir=$srcdir 143763165362Smrg ac_abs_top_srcdir=$srcdir ;; 143863165362Smrg *) # Relative name. 143963165362Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 144063165362Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 144163165362Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14420eb10989Smrgesac 144363165362Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 144463165362Smrg 144563165362Smrg cd "$ac_dir" || { ac_status=$?; continue; } 144663165362Smrg # Check for guested configure. 144763165362Smrg if test -f "$ac_srcdir/configure.gnu"; then 144863165362Smrg echo && 144963165362Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 145063165362Smrg elif test -f "$ac_srcdir/configure"; then 145163165362Smrg echo && 145263165362Smrg $SHELL "$ac_srcdir/configure" --help=recursive 14530eb10989Smrg else 145463165362Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 145563165362Smrg fi || ac_status=$? 145663165362Smrg cd "$ac_pwd" || { ac_status=$?; break; } 14570eb10989Smrg done 14580eb10989Smrgfi 14590eb10989Smrg 146063165362Smrgtest -n "$ac_init_help" && exit $ac_status 14610eb10989Smrgif $ac_init_version; then 14620eb10989Smrg cat <<\_ACEOF 1463e4c0bf4dSmrgmakedepend configure 1.0.3 1464e4c0bf4dSmrggenerated by GNU Autoconf 2.68 14650eb10989Smrg 1466e4c0bf4dSmrgCopyright (C) 2010 Free Software Foundation, Inc. 14670eb10989SmrgThis configure script is free software; the Free Software Foundation 14680eb10989Smrggives unlimited permission to copy, distribute and modify it. 14690eb10989Smrg_ACEOF 147063165362Smrg exit 14710eb10989Smrgfi 14720eb10989Smrg 1473e4c0bf4dSmrg## ------------------------ ## 1474e4c0bf4dSmrg## Autoconf initialization. ## 1475e4c0bf4dSmrg## ------------------------ ## 14760eb10989Smrg 1477e4c0bf4dSmrg# ac_fn_c_try_compile LINENO 1478e4c0bf4dSmrg# -------------------------- 1479e4c0bf4dSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 1480e4c0bf4dSmrgac_fn_c_try_compile () 14810eb10989Smrg{ 1482e4c0bf4dSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1483e4c0bf4dSmrg rm -f conftest.$ac_objext 1484e4c0bf4dSmrg if { { ac_try="$ac_compile" 1485e4c0bf4dSmrgcase "(($ac_try" in 1486e4c0bf4dSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1487e4c0bf4dSmrg *) ac_try_echo=$ac_try;; 1488e4c0bf4dSmrgesac 1489e4c0bf4dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1490e4c0bf4dSmrg$as_echo "$ac_try_echo"; } >&5 1491e4c0bf4dSmrg (eval "$ac_compile") 2>conftest.err 1492e4c0bf4dSmrg ac_status=$? 1493e4c0bf4dSmrg if test -s conftest.err; then 1494e4c0bf4dSmrg grep -v '^ *+' conftest.err >conftest.er1 1495e4c0bf4dSmrg cat conftest.er1 >&5 1496e4c0bf4dSmrg mv -f conftest.er1 conftest.err 1497e4c0bf4dSmrg fi 1498e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1499e4c0bf4dSmrg test $ac_status = 0; } && { 1500e4c0bf4dSmrg test -z "$ac_c_werror_flag" || 1501e4c0bf4dSmrg test ! -s conftest.err 1502e4c0bf4dSmrg } && test -s conftest.$ac_objext; then : 1503e4c0bf4dSmrg ac_retval=0 1504e4c0bf4dSmrgelse 1505e4c0bf4dSmrg $as_echo "$as_me: failed program was:" >&5 1506e4c0bf4dSmrgsed 's/^/| /' conftest.$ac_ext >&5 15070eb10989Smrg 1508e4c0bf4dSmrg ac_retval=1 1509e4c0bf4dSmrgfi 1510e4c0bf4dSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1511e4c0bf4dSmrg as_fn_set_status $ac_retval 15120eb10989Smrg 1513e4c0bf4dSmrg} # ac_fn_c_try_compile 1514e4c0bf4dSmrg 1515e4c0bf4dSmrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1516e4c0bf4dSmrg# --------------------------------------------- 1517e4c0bf4dSmrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1518e4c0bf4dSmrg# accordingly. 1519e4c0bf4dSmrgac_fn_c_check_decl () 1520e4c0bf4dSmrg{ 1521e4c0bf4dSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1522e4c0bf4dSmrg as_decl_name=`echo $2|sed 's/ *(.*//'` 1523e4c0bf4dSmrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1524e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1525e4c0bf4dSmrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1526e4c0bf4dSmrgif eval \${$3+:} false; then : 1527e4c0bf4dSmrg $as_echo_n "(cached) " >&6 1528e4c0bf4dSmrgelse 1529e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1530e4c0bf4dSmrg/* end confdefs.h. */ 1531e4c0bf4dSmrg$4 1532e4c0bf4dSmrgint 1533e4c0bf4dSmrgmain () 1534e4c0bf4dSmrg{ 1535e4c0bf4dSmrg#ifndef $as_decl_name 1536e4c0bf4dSmrg#ifdef __cplusplus 1537e4c0bf4dSmrg (void) $as_decl_use; 1538e4c0bf4dSmrg#else 1539e4c0bf4dSmrg (void) $as_decl_name; 1540e4c0bf4dSmrg#endif 1541e4c0bf4dSmrg#endif 1542e4c0bf4dSmrg 1543e4c0bf4dSmrg ; 1544e4c0bf4dSmrg return 0; 1545e4c0bf4dSmrg} 1546e4c0bf4dSmrg_ACEOF 1547e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 1548e4c0bf4dSmrg eval "$3=yes" 1549e4c0bf4dSmrgelse 1550e4c0bf4dSmrg eval "$3=no" 1551e4c0bf4dSmrgfi 1552e4c0bf4dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1553e4c0bf4dSmrgfi 1554e4c0bf4dSmrgeval ac_res=\$$3 1555e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1556e4c0bf4dSmrg$as_echo "$ac_res" >&6; } 1557e4c0bf4dSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1558e4c0bf4dSmrg 1559e4c0bf4dSmrg} # ac_fn_c_check_decl 1560e4c0bf4dSmrg 1561e4c0bf4dSmrg# ac_fn_c_try_cpp LINENO 1562e4c0bf4dSmrg# ---------------------- 1563e4c0bf4dSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1564e4c0bf4dSmrgac_fn_c_try_cpp () 1565e4c0bf4dSmrg{ 1566e4c0bf4dSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1567e4c0bf4dSmrg if { { ac_try="$ac_cpp conftest.$ac_ext" 1568e4c0bf4dSmrgcase "(($ac_try" in 1569e4c0bf4dSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1570e4c0bf4dSmrg *) ac_try_echo=$ac_try;; 1571e4c0bf4dSmrgesac 1572e4c0bf4dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1573e4c0bf4dSmrg$as_echo "$ac_try_echo"; } >&5 1574e4c0bf4dSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1575e4c0bf4dSmrg ac_status=$? 1576e4c0bf4dSmrg if test -s conftest.err; then 1577e4c0bf4dSmrg grep -v '^ *+' conftest.err >conftest.er1 1578e4c0bf4dSmrg cat conftest.er1 >&5 1579e4c0bf4dSmrg mv -f conftest.er1 conftest.err 1580e4c0bf4dSmrg fi 1581e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1582e4c0bf4dSmrg test $ac_status = 0; } > conftest.i && { 1583e4c0bf4dSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1584e4c0bf4dSmrg test ! -s conftest.err 1585e4c0bf4dSmrg }; then : 1586e4c0bf4dSmrg ac_retval=0 1587e4c0bf4dSmrgelse 1588e4c0bf4dSmrg $as_echo "$as_me: failed program was:" >&5 1589e4c0bf4dSmrgsed 's/^/| /' conftest.$ac_ext >&5 1590e4c0bf4dSmrg 1591e4c0bf4dSmrg ac_retval=1 1592e4c0bf4dSmrgfi 1593e4c0bf4dSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1594e4c0bf4dSmrg as_fn_set_status $ac_retval 1595e4c0bf4dSmrg 1596e4c0bf4dSmrg} # ac_fn_c_try_cpp 1597e4c0bf4dSmrg 1598e4c0bf4dSmrg# ac_fn_c_try_run LINENO 1599e4c0bf4dSmrg# ---------------------- 1600e4c0bf4dSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1601e4c0bf4dSmrg# that executables *can* be run. 1602e4c0bf4dSmrgac_fn_c_try_run () 1603e4c0bf4dSmrg{ 1604e4c0bf4dSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1605e4c0bf4dSmrg if { { ac_try="$ac_link" 1606e4c0bf4dSmrgcase "(($ac_try" in 1607e4c0bf4dSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1608e4c0bf4dSmrg *) ac_try_echo=$ac_try;; 1609e4c0bf4dSmrgesac 1610e4c0bf4dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1611e4c0bf4dSmrg$as_echo "$ac_try_echo"; } >&5 1612e4c0bf4dSmrg (eval "$ac_link") 2>&5 1613e4c0bf4dSmrg ac_status=$? 1614e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1615e4c0bf4dSmrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1616e4c0bf4dSmrg { { case "(($ac_try" in 1617e4c0bf4dSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1618e4c0bf4dSmrg *) ac_try_echo=$ac_try;; 1619e4c0bf4dSmrgesac 1620e4c0bf4dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1621e4c0bf4dSmrg$as_echo "$ac_try_echo"; } >&5 1622e4c0bf4dSmrg (eval "$ac_try") 2>&5 1623e4c0bf4dSmrg ac_status=$? 1624e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1625e4c0bf4dSmrg test $ac_status = 0; }; }; then : 1626e4c0bf4dSmrg ac_retval=0 1627e4c0bf4dSmrgelse 1628e4c0bf4dSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 1629e4c0bf4dSmrg $as_echo "$as_me: failed program was:" >&5 1630e4c0bf4dSmrgsed 's/^/| /' conftest.$ac_ext >&5 1631e4c0bf4dSmrg 1632e4c0bf4dSmrg ac_retval=$ac_status 1633e4c0bf4dSmrgfi 1634e4c0bf4dSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1635e4c0bf4dSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1636e4c0bf4dSmrg as_fn_set_status $ac_retval 1637e4c0bf4dSmrg 1638e4c0bf4dSmrg} # ac_fn_c_try_run 1639e4c0bf4dSmrg 1640e4c0bf4dSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1641e4c0bf4dSmrg# ------------------------------------------------------- 1642e4c0bf4dSmrg# Tests whether HEADER exists and can be compiled using the include files in 1643e4c0bf4dSmrg# INCLUDES, setting the cache variable VAR accordingly. 1644e4c0bf4dSmrgac_fn_c_check_header_compile () 1645e4c0bf4dSmrg{ 1646e4c0bf4dSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1647e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1648e4c0bf4dSmrg$as_echo_n "checking for $2... " >&6; } 1649e4c0bf4dSmrgif eval \${$3+:} false; then : 1650e4c0bf4dSmrg $as_echo_n "(cached) " >&6 1651e4c0bf4dSmrgelse 1652e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1653e4c0bf4dSmrg/* end confdefs.h. */ 1654e4c0bf4dSmrg$4 1655e4c0bf4dSmrg#include <$2> 1656e4c0bf4dSmrg_ACEOF 1657e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 1658e4c0bf4dSmrg eval "$3=yes" 1659e4c0bf4dSmrgelse 1660e4c0bf4dSmrg eval "$3=no" 1661e4c0bf4dSmrgfi 1662e4c0bf4dSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1663e4c0bf4dSmrgfi 1664e4c0bf4dSmrgeval ac_res=\$$3 1665e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1666e4c0bf4dSmrg$as_echo "$ac_res" >&6; } 1667e4c0bf4dSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1668e4c0bf4dSmrg 1669e4c0bf4dSmrg} # ac_fn_c_check_header_compile 1670e4c0bf4dSmrg 1671e4c0bf4dSmrg# ac_fn_c_try_link LINENO 1672e4c0bf4dSmrg# ----------------------- 1673e4c0bf4dSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. 1674e4c0bf4dSmrgac_fn_c_try_link () 1675e4c0bf4dSmrg{ 1676e4c0bf4dSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1677e4c0bf4dSmrg rm -f conftest.$ac_objext conftest$ac_exeext 1678e4c0bf4dSmrg if { { ac_try="$ac_link" 1679e4c0bf4dSmrgcase "(($ac_try" in 1680e4c0bf4dSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1681e4c0bf4dSmrg *) ac_try_echo=$ac_try;; 1682e4c0bf4dSmrgesac 1683e4c0bf4dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1684e4c0bf4dSmrg$as_echo "$ac_try_echo"; } >&5 1685e4c0bf4dSmrg (eval "$ac_link") 2>conftest.err 1686e4c0bf4dSmrg ac_status=$? 1687e4c0bf4dSmrg if test -s conftest.err; then 1688e4c0bf4dSmrg grep -v '^ *+' conftest.err >conftest.er1 1689e4c0bf4dSmrg cat conftest.er1 >&5 1690e4c0bf4dSmrg mv -f conftest.er1 conftest.err 1691e4c0bf4dSmrg fi 1692e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1693e4c0bf4dSmrg test $ac_status = 0; } && { 1694e4c0bf4dSmrg test -z "$ac_c_werror_flag" || 1695e4c0bf4dSmrg test ! -s conftest.err 1696e4c0bf4dSmrg } && test -s conftest$ac_exeext && { 1697e4c0bf4dSmrg test "$cross_compiling" = yes || 1698e4c0bf4dSmrg $as_test_x conftest$ac_exeext 1699e4c0bf4dSmrg }; then : 1700e4c0bf4dSmrg ac_retval=0 1701e4c0bf4dSmrgelse 1702e4c0bf4dSmrg $as_echo "$as_me: failed program was:" >&5 1703e4c0bf4dSmrgsed 's/^/| /' conftest.$ac_ext >&5 1704e4c0bf4dSmrg 1705e4c0bf4dSmrg ac_retval=1 1706e4c0bf4dSmrgfi 1707e4c0bf4dSmrg # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1708e4c0bf4dSmrg # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1709e4c0bf4dSmrg # interfere with the next link command; also delete a directory that is 1710e4c0bf4dSmrg # left behind by Apple's compiler. We do this before executing the actions. 1711e4c0bf4dSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1712e4c0bf4dSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1713e4c0bf4dSmrg as_fn_set_status $ac_retval 1714e4c0bf4dSmrg 1715e4c0bf4dSmrg} # ac_fn_c_try_link 1716e4c0bf4dSmrg 1717e4c0bf4dSmrg# ac_fn_c_check_func LINENO FUNC VAR 1718e4c0bf4dSmrg# ---------------------------------- 1719e4c0bf4dSmrg# Tests whether FUNC exists, setting the cache variable VAR accordingly 1720e4c0bf4dSmrgac_fn_c_check_func () 1721e4c0bf4dSmrg{ 1722e4c0bf4dSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1723e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1724e4c0bf4dSmrg$as_echo_n "checking for $2... " >&6; } 1725e4c0bf4dSmrgif eval \${$3+:} false; then : 1726e4c0bf4dSmrg $as_echo_n "(cached) " >&6 1727e4c0bf4dSmrgelse 1728e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1729e4c0bf4dSmrg/* end confdefs.h. */ 1730e4c0bf4dSmrg/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1731e4c0bf4dSmrg For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1732e4c0bf4dSmrg#define $2 innocuous_$2 1733e4c0bf4dSmrg 1734e4c0bf4dSmrg/* System header to define __stub macros and hopefully few prototypes, 1735e4c0bf4dSmrg which can conflict with char $2 (); below. 1736e4c0bf4dSmrg Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1737e4c0bf4dSmrg <limits.h> exists even on freestanding compilers. */ 1738e4c0bf4dSmrg 1739e4c0bf4dSmrg#ifdef __STDC__ 1740e4c0bf4dSmrg# include <limits.h> 1741e4c0bf4dSmrg#else 1742e4c0bf4dSmrg# include <assert.h> 1743e4c0bf4dSmrg#endif 1744e4c0bf4dSmrg 1745e4c0bf4dSmrg#undef $2 1746e4c0bf4dSmrg 1747e4c0bf4dSmrg/* Override any GCC internal prototype to avoid an error. 1748e4c0bf4dSmrg Use char because int might match the return type of a GCC 1749e4c0bf4dSmrg builtin and then its argument prototype would still apply. */ 1750e4c0bf4dSmrg#ifdef __cplusplus 1751e4c0bf4dSmrgextern "C" 1752e4c0bf4dSmrg#endif 1753e4c0bf4dSmrgchar $2 (); 1754e4c0bf4dSmrg/* The GNU C library defines this for functions which it implements 1755e4c0bf4dSmrg to always fail with ENOSYS. Some functions are actually named 1756e4c0bf4dSmrg something starting with __ and the normal name is an alias. */ 1757e4c0bf4dSmrg#if defined __stub_$2 || defined __stub___$2 1758e4c0bf4dSmrgchoke me 1759e4c0bf4dSmrg#endif 1760e4c0bf4dSmrg 1761e4c0bf4dSmrgint 1762e4c0bf4dSmrgmain () 1763e4c0bf4dSmrg{ 1764e4c0bf4dSmrgreturn $2 (); 1765e4c0bf4dSmrg ; 1766e4c0bf4dSmrg return 0; 1767e4c0bf4dSmrg} 1768e4c0bf4dSmrg_ACEOF 1769e4c0bf4dSmrgif ac_fn_c_try_link "$LINENO"; then : 1770e4c0bf4dSmrg eval "$3=yes" 1771e4c0bf4dSmrgelse 1772e4c0bf4dSmrg eval "$3=no" 1773e4c0bf4dSmrgfi 1774e4c0bf4dSmrgrm -f core conftest.err conftest.$ac_objext \ 1775e4c0bf4dSmrg conftest$ac_exeext conftest.$ac_ext 1776e4c0bf4dSmrgfi 1777e4c0bf4dSmrgeval ac_res=\$$3 1778e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1779e4c0bf4dSmrg$as_echo "$ac_res" >&6; } 1780e4c0bf4dSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1781e4c0bf4dSmrg 1782e4c0bf4dSmrg} # ac_fn_c_check_func 1783e4c0bf4dSmrgcat >config.log <<_ACEOF 1784e4c0bf4dSmrgThis file contains any messages produced by compilers while 1785e4c0bf4dSmrgrunning configure, to aid debugging if configure makes a mistake. 1786e4c0bf4dSmrg 1787e4c0bf4dSmrgIt was created by makedepend $as_me 1.0.3, which was 1788e4c0bf4dSmrggenerated by GNU Autoconf 2.68. Invocation command line was 1789e4c0bf4dSmrg 1790e4c0bf4dSmrg $ $0 $@ 1791e4c0bf4dSmrg 1792e4c0bf4dSmrg_ACEOF 1793e4c0bf4dSmrgexec 5>>config.log 1794e4c0bf4dSmrg{ 1795e4c0bf4dSmrgcat <<_ASUNAME 1796e4c0bf4dSmrg## --------- ## 1797e4c0bf4dSmrg## Platform. ## 1798e4c0bf4dSmrg## --------- ## 1799e4c0bf4dSmrg 1800e4c0bf4dSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1801e4c0bf4dSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1802e4c0bf4dSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1803e4c0bf4dSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1804e4c0bf4dSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1805e4c0bf4dSmrg 1806e4c0bf4dSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1807e4c0bf4dSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1808e4c0bf4dSmrg 1809e4c0bf4dSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1810e4c0bf4dSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1811e4c0bf4dSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1812e4c0bf4dSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1813e4c0bf4dSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1814e4c0bf4dSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1815e4c0bf4dSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1816e4c0bf4dSmrg 1817e4c0bf4dSmrg_ASUNAME 18180eb10989Smrg 18190eb10989Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18200eb10989Smrgfor as_dir in $PATH 18210eb10989Smrgdo 18220eb10989Smrg IFS=$as_save_IFS 18230eb10989Smrg test -z "$as_dir" && as_dir=. 1824e4c0bf4dSmrg $as_echo "PATH: $as_dir" 1825e4c0bf4dSmrg done 182663165362SmrgIFS=$as_save_IFS 18270eb10989Smrg 18280eb10989Smrg} >&5 18290eb10989Smrg 18300eb10989Smrgcat >&5 <<_ACEOF 18310eb10989Smrg 18320eb10989Smrg 18330eb10989Smrg## ----------- ## 18340eb10989Smrg## Core tests. ## 18350eb10989Smrg## ----------- ## 18360eb10989Smrg 18370eb10989Smrg_ACEOF 18380eb10989Smrg 18390eb10989Smrg 18400eb10989Smrg# Keep a trace of the command line. 18410eb10989Smrg# Strip out --no-create and --no-recursion so they do not pile up. 18420eb10989Smrg# Strip out --silent because we don't want to record it for future runs. 18430eb10989Smrg# Also quote any args containing shell meta-characters. 18440eb10989Smrg# Make two passes to allow for proper duplicate-argument suppression. 18450eb10989Smrgac_configure_args= 18460eb10989Smrgac_configure_args0= 18470eb10989Smrgac_configure_args1= 18480eb10989Smrgac_must_keep_next=false 18490eb10989Smrgfor ac_pass in 1 2 18500eb10989Smrgdo 18510eb10989Smrg for ac_arg 18520eb10989Smrg do 18530eb10989Smrg case $ac_arg in 18540eb10989Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 18550eb10989Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 18560eb10989Smrg | -silent | --silent | --silen | --sile | --sil) 18570eb10989Smrg continue ;; 185863165362Smrg *\'*) 185963165362Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 18600eb10989Smrg esac 18610eb10989Smrg case $ac_pass in 1862e4c0bf4dSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 18630eb10989Smrg 2) 1864e4c0bf4dSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 18650eb10989Smrg if test $ac_must_keep_next = true; then 18660eb10989Smrg ac_must_keep_next=false # Got value, back to normal. 18670eb10989Smrg else 18680eb10989Smrg case $ac_arg in 18690eb10989Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 18700eb10989Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 18710eb10989Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 18720eb10989Smrg | -with-* | --with-* | -without-* | --without-* | --x) 18730eb10989Smrg case "$ac_configure_args0 " in 18740eb10989Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 18750eb10989Smrg esac 18760eb10989Smrg ;; 18770eb10989Smrg -* ) ac_must_keep_next=true ;; 18780eb10989Smrg esac 18790eb10989Smrg fi 1880e4c0bf4dSmrg as_fn_append ac_configure_args " '$ac_arg'" 18810eb10989Smrg ;; 18820eb10989Smrg esac 18830eb10989Smrg done 18840eb10989Smrgdone 1885e4c0bf4dSmrg{ ac_configure_args0=; unset ac_configure_args0;} 1886e4c0bf4dSmrg{ ac_configure_args1=; unset ac_configure_args1;} 18870eb10989Smrg 18880eb10989Smrg# When interrupted or exit'd, cleanup temporary files, and complete 18890eb10989Smrg# config.log. We remove comments because anyway the quotes in there 18900eb10989Smrg# would cause problems or look ugly. 189163165362Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 189263165362Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 18930eb10989Smrgtrap 'exit_status=$? 18940eb10989Smrg # Save into config.log some information that might help in debugging. 18950eb10989Smrg { 18960eb10989Smrg echo 18970eb10989Smrg 1898e4c0bf4dSmrg $as_echo "## ---------------- ## 18990eb10989Smrg## Cache variables. ## 1900e4c0bf4dSmrg## ---------------- ##" 19010eb10989Smrg echo 19020eb10989Smrg # The following way of writing the cache mishandles newlines in values, 190363165362Smrg( 190463165362Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 190563165362Smrg eval ac_val=\$$ac_var 190663165362Smrg case $ac_val in #( 190763165362Smrg *${as_nl}*) 190863165362Smrg case $ac_var in #( 1909e4c0bf4dSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 191063165362Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 191163165362Smrg esac 191263165362Smrg case $ac_var in #( 191363165362Smrg _ | IFS | as_nl) ;; #( 191463165362Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1915e4c0bf4dSmrg *) { eval $ac_var=; unset $ac_var;} ;; 191663165362Smrg esac ;; 191763165362Smrg esac 191863165362Smrg done 19190eb10989Smrg (set) 2>&1 | 192063165362Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 192163165362Smrg *${as_nl}ac_space=\ *) 19220eb10989Smrg sed -n \ 192363165362Smrg "s/'\''/'\''\\\\'\'''\''/g; 192463165362Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 192563165362Smrg ;; #( 19260eb10989Smrg *) 192763165362Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 19280eb10989Smrg ;; 192963165362Smrg esac | 193063165362Smrg sort 193163165362Smrg) 19320eb10989Smrg echo 19330eb10989Smrg 1934e4c0bf4dSmrg $as_echo "## ----------------- ## 19350eb10989Smrg## Output variables. ## 1936e4c0bf4dSmrg## ----------------- ##" 19370eb10989Smrg echo 19380eb10989Smrg for ac_var in $ac_subst_vars 19390eb10989Smrg do 194063165362Smrg eval ac_val=\$$ac_var 194163165362Smrg case $ac_val in 194263165362Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 194363165362Smrg esac 194463165362Smrg $as_echo "$ac_var='\''$ac_val'\''" 19450eb10989Smrg done | sort 19460eb10989Smrg echo 19470eb10989Smrg 19480eb10989Smrg if test -n "$ac_subst_files"; then 1949e4c0bf4dSmrg $as_echo "## ------------------- ## 195063165362Smrg## File substitutions. ## 1951e4c0bf4dSmrg## ------------------- ##" 19520eb10989Smrg echo 19530eb10989Smrg for ac_var in $ac_subst_files 19540eb10989Smrg do 195563165362Smrg eval ac_val=\$$ac_var 195663165362Smrg case $ac_val in 195763165362Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 195863165362Smrg esac 195963165362Smrg $as_echo "$ac_var='\''$ac_val'\''" 19600eb10989Smrg done | sort 19610eb10989Smrg echo 19620eb10989Smrg fi 19630eb10989Smrg 19640eb10989Smrg if test -s confdefs.h; then 1965e4c0bf4dSmrg $as_echo "## ----------- ## 19660eb10989Smrg## confdefs.h. ## 1967e4c0bf4dSmrg## ----------- ##" 19680eb10989Smrg echo 196963165362Smrg cat confdefs.h 19700eb10989Smrg echo 19710eb10989Smrg fi 19720eb10989Smrg test "$ac_signal" != 0 && 197363165362Smrg $as_echo "$as_me: caught signal $ac_signal" 197463165362Smrg $as_echo "$as_me: exit $exit_status" 19750eb10989Smrg } >&5 197663165362Smrg rm -f core *.core core.conftest.* && 197763165362Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 19780eb10989Smrg exit $exit_status 197963165362Smrg' 0 19800eb10989Smrgfor ac_signal in 1 2 13 15; do 1981e4c0bf4dSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 19820eb10989Smrgdone 19830eb10989Smrgac_signal=0 19840eb10989Smrg 19850eb10989Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 198663165362Smrgrm -f -r conftest* confdefs.h 19870eb10989Smrg 1988e4c0bf4dSmrg$as_echo "/* confdefs.h */" > confdefs.h 1989e4c0bf4dSmrg 19900eb10989Smrg# Predefined preprocessor variables. 19910eb10989Smrg 19920eb10989Smrgcat >>confdefs.h <<_ACEOF 19930eb10989Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 19940eb10989Smrg_ACEOF 19950eb10989Smrg 19960eb10989Smrgcat >>confdefs.h <<_ACEOF 19970eb10989Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 19980eb10989Smrg_ACEOF 19990eb10989Smrg 20000eb10989Smrgcat >>confdefs.h <<_ACEOF 20010eb10989Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 20020eb10989Smrg_ACEOF 20030eb10989Smrg 20040eb10989Smrgcat >>confdefs.h <<_ACEOF 20050eb10989Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 20060eb10989Smrg_ACEOF 20070eb10989Smrg 20080eb10989Smrgcat >>confdefs.h <<_ACEOF 20090eb10989Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 20100eb10989Smrg_ACEOF 20110eb10989Smrg 2012e4c0bf4dSmrgcat >>confdefs.h <<_ACEOF 2013e4c0bf4dSmrg#define PACKAGE_URL "$PACKAGE_URL" 2014e4c0bf4dSmrg_ACEOF 2015e4c0bf4dSmrg 20160eb10989Smrg 20170eb10989Smrg# Let the site file select an alternate cache file if it wants to. 201863165362Smrg# Prefer an explicitly selected file to automatically selected ones. 201963165362Smrgac_site_file1=NONE 202063165362Smrgac_site_file2=NONE 202163165362Smrgif test -n "$CONFIG_SITE"; then 2022e4c0bf4dSmrg # We do not want a PATH search for config.site. 2023e4c0bf4dSmrg case $CONFIG_SITE in #(( 2024e4c0bf4dSmrg -*) ac_site_file1=./$CONFIG_SITE;; 2025e4c0bf4dSmrg */*) ac_site_file1=$CONFIG_SITE;; 2026e4c0bf4dSmrg *) ac_site_file1=./$CONFIG_SITE;; 2027e4c0bf4dSmrg esac 202863165362Smrgelif test "x$prefix" != xNONE; then 202963165362Smrg ac_site_file1=$prefix/share/config.site 203063165362Smrg ac_site_file2=$prefix/etc/config.site 203163165362Smrgelse 203263165362Smrg ac_site_file1=$ac_default_prefix/share/config.site 203363165362Smrg ac_site_file2=$ac_default_prefix/etc/config.site 20340eb10989Smrgfi 203563165362Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 203663165362Smrgdo 203763165362Smrg test "x$ac_site_file" = xNONE && continue 2038e4c0bf4dSmrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2039e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 204063165362Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 20410eb10989Smrg sed 's/^/| /' "$ac_site_file" >&5 2042e4c0bf4dSmrg . "$ac_site_file" \ 2043e4c0bf4dSmrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2044e4c0bf4dSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2045e4c0bf4dSmrgas_fn_error $? "failed to load site script $ac_site_file 2046e4c0bf4dSmrgSee \`config.log' for more details" "$LINENO" 5; } 20470eb10989Smrg fi 20480eb10989Smrgdone 20490eb10989Smrg 20500eb10989Smrgif test -r "$cache_file"; then 2051e4c0bf4dSmrg # Some versions of bash will fail to source /dev/null (special files 2052e4c0bf4dSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2053e4c0bf4dSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2054e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 205563165362Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 20560eb10989Smrg case $cache_file in 205763165362Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 205863165362Smrg *) . "./$cache_file";; 20590eb10989Smrg esac 20600eb10989Smrg fi 20610eb10989Smrgelse 2062e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 206363165362Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 20640eb10989Smrg >$cache_file 20650eb10989Smrgfi 20660eb10989Smrg 20670eb10989Smrg# Check that the precious variables saved in the cache have kept the same 20680eb10989Smrg# value. 20690eb10989Smrgac_cache_corrupted=false 207063165362Smrgfor ac_var in $ac_precious_vars; do 20710eb10989Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 20720eb10989Smrg eval ac_new_set=\$ac_env_${ac_var}_set 207363165362Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 207463165362Smrg eval ac_new_val=\$ac_env_${ac_var}_value 20750eb10989Smrg case $ac_old_set,$ac_new_set in 20760eb10989Smrg set,) 2077e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 207863165362Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 20790eb10989Smrg ac_cache_corrupted=: ;; 20800eb10989Smrg ,set) 2081e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 208263165362Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 20830eb10989Smrg ac_cache_corrupted=: ;; 20840eb10989Smrg ,);; 20850eb10989Smrg *) 20860eb10989Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 208763165362Smrg # differences in whitespace do not lead to failure. 208863165362Smrg ac_old_val_w=`echo x $ac_old_val` 208963165362Smrg ac_new_val_w=`echo x $ac_new_val` 209063165362Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 2091e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 209263165362Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 209363165362Smrg ac_cache_corrupted=: 209463165362Smrg else 2095e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 209663165362Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 209763165362Smrg eval $ac_var=\$ac_old_val 209863165362Smrg fi 2099e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 210063165362Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2101e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 210263165362Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 21030eb10989Smrg fi;; 21040eb10989Smrg esac 21050eb10989Smrg # Pass precious variables to config.status. 21060eb10989Smrg if test "$ac_new_set" = set; then 21070eb10989Smrg case $ac_new_val in 210863165362Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 21090eb10989Smrg *) ac_arg=$ac_var=$ac_new_val ;; 21100eb10989Smrg esac 21110eb10989Smrg case " $ac_configure_args " in 21120eb10989Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2113e4c0bf4dSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 21140eb10989Smrg esac 21150eb10989Smrg fi 21160eb10989Smrgdone 21170eb10989Smrgif $ac_cache_corrupted; then 2118e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 211963165362Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2120e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 212163165362Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2122e4c0bf4dSmrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 21230eb10989Smrgfi 2124e4c0bf4dSmrg## -------------------- ## 2125e4c0bf4dSmrg## Main body of script. ## 2126e4c0bf4dSmrg## -------------------- ## 21270eb10989Smrg 212863165362Smrgac_ext=c 212963165362Smrgac_cpp='$CPP $CPPFLAGS' 213063165362Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 213163165362Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 213263165362Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 21330eb10989Smrg 21340eb10989Smrg 213563165362Smrgam__api_version='1.11' 21360eb10989Smrg 21370eb10989Smrgac_aux_dir= 213863165362Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 213963165362Smrg if test -f "$ac_dir/install-sh"; then 21400eb10989Smrg ac_aux_dir=$ac_dir 21410eb10989Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 21420eb10989Smrg break 214363165362Smrg elif test -f "$ac_dir/install.sh"; then 21440eb10989Smrg ac_aux_dir=$ac_dir 21450eb10989Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 21460eb10989Smrg break 214763165362Smrg elif test -f "$ac_dir/shtool"; then 21480eb10989Smrg ac_aux_dir=$ac_dir 21490eb10989Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 21500eb10989Smrg break 21510eb10989Smrg fi 21520eb10989Smrgdone 21530eb10989Smrgif test -z "$ac_aux_dir"; then 2154e4c0bf4dSmrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 21550eb10989Smrgfi 215663165362Smrg 215763165362Smrg# These three variables are undocumented and unsupported, 215863165362Smrg# and are intended to be withdrawn in a future Autoconf release. 215963165362Smrg# They can cause serious problems if a builder's source tree is in a directory 216063165362Smrg# whose full name contains unusual characters. 216163165362Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 216263165362Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 216363165362Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 216463165362Smrg 21650eb10989Smrg 21660eb10989Smrg# Find a good install program. We prefer a C program (faster), 21670eb10989Smrg# so one script is as good as another. But avoid the broken or 21680eb10989Smrg# incompatible versions: 21690eb10989Smrg# SysV /etc/install, /usr/sbin/install 21700eb10989Smrg# SunOS /usr/etc/install 21710eb10989Smrg# IRIX /sbin/install 21720eb10989Smrg# AIX /bin/install 21730eb10989Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 21740eb10989Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 21750eb10989Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 21760eb10989Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 21770eb10989Smrg# OS/2's system install, which has a completely different semantic 21780eb10989Smrg# ./install, which can be erroneously created by make from ./install.sh. 217963165362Smrg# Reject install programs that cannot install multiple files. 2180e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 218163165362Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 21820eb10989Smrgif test -z "$INSTALL"; then 2183e4c0bf4dSmrgif ${ac_cv_path_install+:} false; then : 218463165362Smrg $as_echo_n "(cached) " >&6 21850eb10989Smrgelse 21860eb10989Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21870eb10989Smrgfor as_dir in $PATH 21880eb10989Smrgdo 21890eb10989Smrg IFS=$as_save_IFS 21900eb10989Smrg test -z "$as_dir" && as_dir=. 2191e4c0bf4dSmrg # Account for people who put trailing slashes in PATH elements. 2192e4c0bf4dSmrgcase $as_dir/ in #(( 2193e4c0bf4dSmrg ./ | .// | /[cC]/* | \ 21940eb10989Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2195e4c0bf4dSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 21960eb10989Smrg /usr/ucb/* ) ;; 21970eb10989Smrg *) 21980eb10989Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 21990eb10989Smrg # Don't use installbsd from OSF since it installs stuff as root 22000eb10989Smrg # by default. 22010eb10989Smrg for ac_prog in ginstall scoinst install; do 22020eb10989Smrg for ac_exec_ext in '' $ac_executable_extensions; do 220363165362Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 22040eb10989Smrg if test $ac_prog = install && 22050eb10989Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 22060eb10989Smrg # AIX install. It has an incompatible calling convention. 22070eb10989Smrg : 22080eb10989Smrg elif test $ac_prog = install && 22090eb10989Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 22100eb10989Smrg # program-specific install script used by HP pwplus--don't use. 22110eb10989Smrg : 22120eb10989Smrg else 221363165362Smrg rm -rf conftest.one conftest.two conftest.dir 221463165362Smrg echo one > conftest.one 221563165362Smrg echo two > conftest.two 221663165362Smrg mkdir conftest.dir 221763165362Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 221863165362Smrg test -s conftest.one && test -s conftest.two && 221963165362Smrg test -s conftest.dir/conftest.one && 222063165362Smrg test -s conftest.dir/conftest.two 222163165362Smrg then 222263165362Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 222363165362Smrg break 3 222463165362Smrg fi 22250eb10989Smrg fi 22260eb10989Smrg fi 22270eb10989Smrg done 22280eb10989Smrg done 22290eb10989Smrg ;; 22300eb10989Smrgesac 223163165362Smrg 2232e4c0bf4dSmrg done 223363165362SmrgIFS=$as_save_IFS 22340eb10989Smrg 223563165362Smrgrm -rf conftest.one conftest.two conftest.dir 22360eb10989Smrg 22370eb10989Smrgfi 22380eb10989Smrg if test "${ac_cv_path_install+set}" = set; then 22390eb10989Smrg INSTALL=$ac_cv_path_install 22400eb10989Smrg else 224163165362Smrg # As a last resort, use the slow shell script. Don't cache a 224263165362Smrg # value for INSTALL within a source directory, because that will 22430eb10989Smrg # break other packages using the cache if that directory is 224463165362Smrg # removed, or if the value is a relative name. 22450eb10989Smrg INSTALL=$ac_install_sh 22460eb10989Smrg fi 22470eb10989Smrgfi 2248e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 224963165362Smrg$as_echo "$INSTALL" >&6; } 22500eb10989Smrg 22510eb10989Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 22520eb10989Smrg# It thinks the first close brace ends the variable substitution. 22530eb10989Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 22540eb10989Smrg 22550eb10989Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 22560eb10989Smrg 22570eb10989Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 22580eb10989Smrg 2259e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 226063165362Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 22610eb10989Smrg# Just in case 22620eb10989Smrgsleep 1 22630eb10989Smrgecho timestamp > conftest.file 226463165362Smrg# Reject unsafe characters in $srcdir or the absolute working directory 226563165362Smrg# name. Accept space and tab only in the latter. 226663165362Smrgam_lf=' 226763165362Smrg' 226863165362Smrgcase `pwd` in 226963165362Smrg *[\\\"\#\$\&\'\`$am_lf]*) 2270e4c0bf4dSmrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 227163165362Smrgesac 227263165362Smrgcase $srcdir in 227363165362Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2274e4c0bf4dSmrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 227563165362Smrgesac 227663165362Smrg 22770eb10989Smrg# Do `set' in a subshell so we don't clobber the current shell's 22780eb10989Smrg# arguments. Must try -L first in case configure is actually a 22790eb10989Smrg# symlink; some systems play weird games with the mod time of symlinks 22800eb10989Smrg# (eg FreeBSD returns the mod time of the symlink's containing 22810eb10989Smrg# directory). 22820eb10989Smrgif ( 228363165362Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 22840eb10989Smrg if test "$*" = "X"; then 22850eb10989Smrg # -L didn't work. 228663165362Smrg set X `ls -t "$srcdir/configure" conftest.file` 22870eb10989Smrg fi 22880eb10989Smrg rm -f conftest.file 22890eb10989Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 22900eb10989Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 22910eb10989Smrg 22920eb10989Smrg # If neither matched, then we have a broken ls. This can happen 22930eb10989Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 22940eb10989Smrg # broken ls alias from the environment. This has actually 22950eb10989Smrg # happened. Such a system could not be considered "sane". 2296e4c0bf4dSmrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2297e4c0bf4dSmrgalias in your environment" "$LINENO" 5 22980eb10989Smrg fi 22990eb10989Smrg 23000eb10989Smrg test "$2" = conftest.file 23010eb10989Smrg ) 23020eb10989Smrgthen 23030eb10989Smrg # Ok. 23040eb10989Smrg : 23050eb10989Smrgelse 2306e4c0bf4dSmrg as_fn_error $? "newly created file is older than distributed files! 2307e4c0bf4dSmrgCheck your system clock" "$LINENO" 5 23080eb10989Smrgfi 2309e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 231063165362Smrg$as_echo "yes" >&6; } 23110eb10989Smrgtest "$program_prefix" != NONE && 231263165362Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 23130eb10989Smrg# Use a double $ so make ignores it. 23140eb10989Smrgtest "$program_suffix" != NONE && 231563165362Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 231663165362Smrg# Double any \ or $. 23170eb10989Smrg# By default was `s,x,x', remove it if useless. 231863165362Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 231963165362Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 23200eb10989Smrg 23210eb10989Smrg# expand $ac_aux_dir to an absolute path 23220eb10989Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 23230eb10989Smrg 232463165362Smrgif test x"${MISSING+set}" != xset; then 232563165362Smrg case $am_aux_dir in 232663165362Smrg *\ * | *\ *) 232763165362Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 232863165362Smrg *) 232963165362Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 233063165362Smrg esac 233163165362Smrgfi 23320eb10989Smrg# Use eval to expand $SHELL 23330eb10989Smrgif eval "$MISSING --run true"; then 23340eb10989Smrg am_missing_run="$MISSING --run " 23350eb10989Smrgelse 23360eb10989Smrg am_missing_run= 2337e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 233863165362Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 233963165362Smrgfi 234063165362Smrg 234163165362Smrgif test x"${install_sh}" != xset; then 234263165362Smrg case $am_aux_dir in 234363165362Smrg *\ * | *\ *) 234463165362Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 234563165362Smrg *) 234663165362Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 234763165362Smrg esac 234863165362Smrgfi 234963165362Smrg 235063165362Smrg# Installed binaries are usually stripped using `strip' when the user 235163165362Smrg# run `make install-strip'. However `strip' might not be the right 235263165362Smrg# tool to use in cross-compilation environments, therefore Automake 235363165362Smrg# will honor the `STRIP' environment variable to overrule this program. 235463165362Smrgif test "$cross_compiling" != no; then 235563165362Smrg if test -n "$ac_tool_prefix"; then 235663165362Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 235763165362Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2358e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 235963165362Smrg$as_echo_n "checking for $ac_word... " >&6; } 2360e4c0bf4dSmrgif ${ac_cv_prog_STRIP+:} false; then : 236163165362Smrg $as_echo_n "(cached) " >&6 236263165362Smrgelse 236363165362Smrg if test -n "$STRIP"; then 236463165362Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 236563165362Smrgelse 236663165362Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 236763165362Smrgfor as_dir in $PATH 236863165362Smrgdo 236963165362Smrg IFS=$as_save_IFS 237063165362Smrg test -z "$as_dir" && as_dir=. 2371e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 237263165362Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 237363165362Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2374e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 237563165362Smrg break 2 237663165362Smrg fi 237763165362Smrgdone 2378e4c0bf4dSmrg done 237963165362SmrgIFS=$as_save_IFS 238063165362Smrg 238163165362Smrgfi 238263165362Smrgfi 238363165362SmrgSTRIP=$ac_cv_prog_STRIP 238463165362Smrgif test -n "$STRIP"; then 2385e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 238663165362Smrg$as_echo "$STRIP" >&6; } 238763165362Smrgelse 2388e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 238963165362Smrg$as_echo "no" >&6; } 239063165362Smrgfi 239163165362Smrg 239263165362Smrg 239363165362Smrgfi 239463165362Smrgif test -z "$ac_cv_prog_STRIP"; then 239563165362Smrg ac_ct_STRIP=$STRIP 239663165362Smrg # Extract the first word of "strip", so it can be a program name with args. 239763165362Smrgset dummy strip; ac_word=$2 2398e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 239963165362Smrg$as_echo_n "checking for $ac_word... " >&6; } 2400e4c0bf4dSmrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 240163165362Smrg $as_echo_n "(cached) " >&6 240263165362Smrgelse 240363165362Smrg if test -n "$ac_ct_STRIP"; then 240463165362Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 240563165362Smrgelse 240663165362Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 240763165362Smrgfor as_dir in $PATH 240863165362Smrgdo 240963165362Smrg IFS=$as_save_IFS 241063165362Smrg test -z "$as_dir" && as_dir=. 2411e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 241263165362Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 241363165362Smrg ac_cv_prog_ac_ct_STRIP="strip" 2414e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 241563165362Smrg break 2 241663165362Smrg fi 241763165362Smrgdone 2418e4c0bf4dSmrg done 241963165362SmrgIFS=$as_save_IFS 242063165362Smrg 242163165362Smrgfi 242263165362Smrgfi 242363165362Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 242463165362Smrgif test -n "$ac_ct_STRIP"; then 2425e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 242663165362Smrg$as_echo "$ac_ct_STRIP" >&6; } 242763165362Smrgelse 2428e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 242963165362Smrg$as_echo "no" >&6; } 243063165362Smrgfi 243163165362Smrg 243263165362Smrg if test "x$ac_ct_STRIP" = x; then 243363165362Smrg STRIP=":" 243463165362Smrg else 243563165362Smrg case $cross_compiling:$ac_tool_warned in 243663165362Smrgyes:) 2437e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 243863165362Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 243963165362Smrgac_tool_warned=yes ;; 244063165362Smrgesac 244163165362Smrg STRIP=$ac_ct_STRIP 244263165362Smrg fi 244363165362Smrgelse 244463165362Smrg STRIP="$ac_cv_prog_STRIP" 244563165362Smrgfi 244663165362Smrg 244763165362Smrgfi 244863165362SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 244963165362Smrg 2450e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 245163165362Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 245263165362Smrgif test -z "$MKDIR_P"; then 2453e4c0bf4dSmrg if ${ac_cv_path_mkdir+:} false; then : 245463165362Smrg $as_echo_n "(cached) " >&6 245563165362Smrgelse 245663165362Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 245763165362Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 245863165362Smrgdo 245963165362Smrg IFS=$as_save_IFS 246063165362Smrg test -z "$as_dir" && as_dir=. 2461e4c0bf4dSmrg for ac_prog in mkdir gmkdir; do 246263165362Smrg for ac_exec_ext in '' $ac_executable_extensions; do 246363165362Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 246463165362Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 246563165362Smrg 'mkdir (GNU coreutils) '* | \ 246663165362Smrg 'mkdir (coreutils) '* | \ 246763165362Smrg 'mkdir (fileutils) '4.1*) 246863165362Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 246963165362Smrg break 3;; 247063165362Smrg esac 247163165362Smrg done 247263165362Smrg done 2473e4c0bf4dSmrg done 247463165362SmrgIFS=$as_save_IFS 247563165362Smrg 247663165362Smrgfi 247763165362Smrg 2478e4c0bf4dSmrg test -d ./--version && rmdir ./--version 247963165362Smrg if test "${ac_cv_path_mkdir+set}" = set; then 248063165362Smrg MKDIR_P="$ac_cv_path_mkdir -p" 24810eb10989Smrg else 248263165362Smrg # As a last resort, use the slow shell script. Don't cache a 248363165362Smrg # value for MKDIR_P within a source directory, because that will 248463165362Smrg # break other packages using the cache if that directory is 248563165362Smrg # removed, or if the value is a relative name. 248663165362Smrg MKDIR_P="$ac_install_sh -d" 24870eb10989Smrg fi 24880eb10989Smrgfi 2489e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 249063165362Smrg$as_echo "$MKDIR_P" >&6; } 249163165362Smrg 249263165362Smrgmkdir_p="$MKDIR_P" 249363165362Smrgcase $mkdir_p in 249463165362Smrg [\\/$]* | ?:[\\/]*) ;; 249563165362Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 249663165362Smrgesac 24970eb10989Smrg 24980eb10989Smrgfor ac_prog in gawk mawk nawk awk 24990eb10989Smrgdo 25000eb10989Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 25010eb10989Smrgset dummy $ac_prog; ac_word=$2 2502e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 250363165362Smrg$as_echo_n "checking for $ac_word... " >&6; } 2504e4c0bf4dSmrgif ${ac_cv_prog_AWK+:} false; then : 250563165362Smrg $as_echo_n "(cached) " >&6 25060eb10989Smrgelse 25070eb10989Smrg if test -n "$AWK"; then 25080eb10989Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 25090eb10989Smrgelse 25100eb10989Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25110eb10989Smrgfor as_dir in $PATH 25120eb10989Smrgdo 25130eb10989Smrg IFS=$as_save_IFS 25140eb10989Smrg test -z "$as_dir" && as_dir=. 2515e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 251663165362Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 25170eb10989Smrg ac_cv_prog_AWK="$ac_prog" 2518e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 25190eb10989Smrg break 2 25200eb10989Smrg fi 25210eb10989Smrgdone 2522e4c0bf4dSmrg done 252363165362SmrgIFS=$as_save_IFS 25240eb10989Smrg 25250eb10989Smrgfi 25260eb10989Smrgfi 25270eb10989SmrgAWK=$ac_cv_prog_AWK 25280eb10989Smrgif test -n "$AWK"; then 2529e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 253063165362Smrg$as_echo "$AWK" >&6; } 25310eb10989Smrgelse 2532e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 253363165362Smrg$as_echo "no" >&6; } 25340eb10989Smrgfi 25350eb10989Smrg 253663165362Smrg 25370eb10989Smrg test -n "$AWK" && break 25380eb10989Smrgdone 25390eb10989Smrg 2540e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 254163165362Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 254263165362Smrgset x ${MAKE-make} 254363165362Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2544e4c0bf4dSmrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 254563165362Smrg $as_echo_n "(cached) " >&6 25460eb10989Smrgelse 25470eb10989Smrg cat >conftest.make <<\_ACEOF 254863165362SmrgSHELL = /bin/sh 25490eb10989Smrgall: 255063165362Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 25510eb10989Smrg_ACEOF 2552e4c0bf4dSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 255363165362Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 255463165362Smrg *@@@%%%=?*=@@@%%%*) 255563165362Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 255663165362Smrg *) 255763165362Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 255863165362Smrgesac 25590eb10989Smrgrm -f conftest.make 25600eb10989Smrgfi 256163165362Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2562e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 256363165362Smrg$as_echo "yes" >&6; } 25640eb10989Smrg SET_MAKE= 25650eb10989Smrgelse 2566e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 256763165362Smrg$as_echo "no" >&6; } 25680eb10989Smrg SET_MAKE="MAKE=${MAKE-make}" 25690eb10989Smrgfi 25700eb10989Smrg 25710eb10989Smrgrm -rf .tst 2>/dev/null 25720eb10989Smrgmkdir .tst 2>/dev/null 25730eb10989Smrgif test -d .tst; then 25740eb10989Smrg am__leading_dot=. 25750eb10989Smrgelse 25760eb10989Smrg am__leading_dot=_ 25770eb10989Smrgfi 25780eb10989Smrgrmdir .tst 2>/dev/null 25790eb10989Smrg 258063165362Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 258163165362Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 258263165362Smrg # is not polluted with repeated "-I." 258363165362Smrg am__isrc=' -I$(srcdir)' 258463165362Smrg # test to see if srcdir already configured 258563165362Smrg if test -f $srcdir/config.status; then 2586e4c0bf4dSmrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 258763165362Smrg fi 25880eb10989Smrgfi 25890eb10989Smrg 25900eb10989Smrg# test whether we have cygpath 25910eb10989Smrgif test -z "$CYGPATH_W"; then 25920eb10989Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 25930eb10989Smrg CYGPATH_W='cygpath -w' 25940eb10989Smrg else 25950eb10989Smrg CYGPATH_W=echo 25960eb10989Smrg fi 25970eb10989Smrgfi 25980eb10989Smrg 25990eb10989Smrg 26000eb10989Smrg# Define the identity of the package. 26010eb10989Smrg PACKAGE='makedepend' 2602e4c0bf4dSmrg VERSION='1.0.3' 26030eb10989Smrg 26040eb10989Smrg 26050eb10989Smrgcat >>confdefs.h <<_ACEOF 26060eb10989Smrg#define PACKAGE "$PACKAGE" 26070eb10989Smrg_ACEOF 26080eb10989Smrg 26090eb10989Smrg 26100eb10989Smrgcat >>confdefs.h <<_ACEOF 26110eb10989Smrg#define VERSION "$VERSION" 26120eb10989Smrg_ACEOF 26130eb10989Smrg 26140eb10989Smrg# Some tools Automake needs. 26150eb10989Smrg 26160eb10989SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 26170eb10989Smrg 26180eb10989Smrg 26190eb10989SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 26200eb10989Smrg 26210eb10989Smrg 26220eb10989SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 26230eb10989Smrg 26240eb10989Smrg 26250eb10989SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 26260eb10989Smrg 26270eb10989Smrg 26280eb10989SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 26290eb10989Smrg 263063165362Smrg# We need awk for the "check" target. The system "awk" is bad on 263163165362Smrg# some platforms. 263263165362Smrg# Always define AMTAR for backward compatibility. 26330eb10989Smrg 263463165362SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 26350eb10989Smrg 263663165362Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 26370eb10989Smrg 26380eb10989Smrg 26390eb10989Smrg 26400eb10989Smrg 26410eb10989Smrg 264263165362Smrgac_config_headers="$ac_config_headers makedepend-config.h" 264363165362Smrg 264463165362Smrg 2645e4c0bf4dSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 264663165362Smrg 264763165362Smrg 264863165362Smrg 26490eb10989Smrg 26500eb10989Smrg 26510eb10989Smrg 26520eb10989Smrg 26530eb10989Smrg 26540eb10989Smrg 26550eb10989Smrg 26560eb10989Smrg 26570eb10989Smrg 26580eb10989Smrgac_ext=c 26590eb10989Smrgac_cpp='$CPP $CPPFLAGS' 26600eb10989Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 26610eb10989Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 26620eb10989Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 26630eb10989Smrgif test -n "$ac_tool_prefix"; then 26640eb10989Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 26650eb10989Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 2666e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 266763165362Smrg$as_echo_n "checking for $ac_word... " >&6; } 2668e4c0bf4dSmrgif ${ac_cv_prog_CC+:} false; then : 266963165362Smrg $as_echo_n "(cached) " >&6 26700eb10989Smrgelse 26710eb10989Smrg if test -n "$CC"; then 26720eb10989Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 26730eb10989Smrgelse 26740eb10989Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26750eb10989Smrgfor as_dir in $PATH 26760eb10989Smrgdo 26770eb10989Smrg IFS=$as_save_IFS 26780eb10989Smrg test -z "$as_dir" && as_dir=. 2679e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 268063165362Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26810eb10989Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 2682e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26830eb10989Smrg break 2 26840eb10989Smrg fi 26850eb10989Smrgdone 2686e4c0bf4dSmrg done 268763165362SmrgIFS=$as_save_IFS 26880eb10989Smrg 26890eb10989Smrgfi 26900eb10989Smrgfi 26910eb10989SmrgCC=$ac_cv_prog_CC 26920eb10989Smrgif test -n "$CC"; then 2693e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 269463165362Smrg$as_echo "$CC" >&6; } 26950eb10989Smrgelse 2696e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 269763165362Smrg$as_echo "no" >&6; } 26980eb10989Smrgfi 26990eb10989Smrg 270063165362Smrg 27010eb10989Smrgfi 27020eb10989Smrgif test -z "$ac_cv_prog_CC"; then 27030eb10989Smrg ac_ct_CC=$CC 27040eb10989Smrg # Extract the first word of "gcc", so it can be a program name with args. 27050eb10989Smrgset dummy gcc; ac_word=$2 2706e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 270763165362Smrg$as_echo_n "checking for $ac_word... " >&6; } 2708e4c0bf4dSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 270963165362Smrg $as_echo_n "(cached) " >&6 27100eb10989Smrgelse 27110eb10989Smrg if test -n "$ac_ct_CC"; then 27120eb10989Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 27130eb10989Smrgelse 27140eb10989Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27150eb10989Smrgfor as_dir in $PATH 27160eb10989Smrgdo 27170eb10989Smrg IFS=$as_save_IFS 27180eb10989Smrg test -z "$as_dir" && as_dir=. 2719e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 272063165362Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27210eb10989Smrg ac_cv_prog_ac_ct_CC="gcc" 2722e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27230eb10989Smrg break 2 27240eb10989Smrg fi 27250eb10989Smrgdone 2726e4c0bf4dSmrg done 272763165362SmrgIFS=$as_save_IFS 27280eb10989Smrg 27290eb10989Smrgfi 27300eb10989Smrgfi 27310eb10989Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 27320eb10989Smrgif test -n "$ac_ct_CC"; then 2733e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 273463165362Smrg$as_echo "$ac_ct_CC" >&6; } 27350eb10989Smrgelse 2736e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 273763165362Smrg$as_echo "no" >&6; } 27380eb10989Smrgfi 27390eb10989Smrg 274063165362Smrg if test "x$ac_ct_CC" = x; then 274163165362Smrg CC="" 274263165362Smrg else 274363165362Smrg case $cross_compiling:$ac_tool_warned in 274463165362Smrgyes:) 2745e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 274663165362Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 274763165362Smrgac_tool_warned=yes ;; 274863165362Smrgesac 274963165362Smrg CC=$ac_ct_CC 275063165362Smrg fi 27510eb10989Smrgelse 27520eb10989Smrg CC="$ac_cv_prog_CC" 27530eb10989Smrgfi 27540eb10989Smrg 27550eb10989Smrgif test -z "$CC"; then 275663165362Smrg if test -n "$ac_tool_prefix"; then 275763165362Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 27580eb10989Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 2759e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 276063165362Smrg$as_echo_n "checking for $ac_word... " >&6; } 2761e4c0bf4dSmrgif ${ac_cv_prog_CC+:} false; then : 276263165362Smrg $as_echo_n "(cached) " >&6 27630eb10989Smrgelse 27640eb10989Smrg if test -n "$CC"; then 27650eb10989Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27660eb10989Smrgelse 27670eb10989Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27680eb10989Smrgfor as_dir in $PATH 27690eb10989Smrgdo 27700eb10989Smrg IFS=$as_save_IFS 27710eb10989Smrg test -z "$as_dir" && as_dir=. 2772e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 277363165362Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27740eb10989Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 2775e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27760eb10989Smrg break 2 27770eb10989Smrg fi 27780eb10989Smrgdone 2779e4c0bf4dSmrg done 278063165362SmrgIFS=$as_save_IFS 27810eb10989Smrg 27820eb10989Smrgfi 27830eb10989Smrgfi 27840eb10989SmrgCC=$ac_cv_prog_CC 27850eb10989Smrgif test -n "$CC"; then 2786e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 278763165362Smrg$as_echo "$CC" >&6; } 27880eb10989Smrgelse 2789e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 279063165362Smrg$as_echo "no" >&6; } 27910eb10989Smrgfi 27920eb10989Smrg 27930eb10989Smrg 279463165362Smrg fi 27950eb10989Smrgfi 27960eb10989Smrgif test -z "$CC"; then 27970eb10989Smrg # Extract the first word of "cc", so it can be a program name with args. 27980eb10989Smrgset dummy cc; ac_word=$2 2799e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 280063165362Smrg$as_echo_n "checking for $ac_word... " >&6; } 2801e4c0bf4dSmrgif ${ac_cv_prog_CC+:} false; then : 280263165362Smrg $as_echo_n "(cached) " >&6 28030eb10989Smrgelse 28040eb10989Smrg if test -n "$CC"; then 28050eb10989Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 28060eb10989Smrgelse 28070eb10989Smrg ac_prog_rejected=no 28080eb10989Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28090eb10989Smrgfor as_dir in $PATH 28100eb10989Smrgdo 28110eb10989Smrg IFS=$as_save_IFS 28120eb10989Smrg test -z "$as_dir" && as_dir=. 2813e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 281463165362Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28150eb10989Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 28160eb10989Smrg ac_prog_rejected=yes 28170eb10989Smrg continue 28180eb10989Smrg fi 28190eb10989Smrg ac_cv_prog_CC="cc" 2820e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28210eb10989Smrg break 2 28220eb10989Smrg fi 28230eb10989Smrgdone 2824e4c0bf4dSmrg done 282563165362SmrgIFS=$as_save_IFS 28260eb10989Smrg 28270eb10989Smrgif test $ac_prog_rejected = yes; then 28280eb10989Smrg # We found a bogon in the path, so make sure we never use it. 28290eb10989Smrg set dummy $ac_cv_prog_CC 28300eb10989Smrg shift 28310eb10989Smrg if test $# != 0; then 28320eb10989Smrg # We chose a different compiler from the bogus one. 28330eb10989Smrg # However, it has the same basename, so the bogon will be chosen 28340eb10989Smrg # first if we set CC to just the basename; use the full file name. 28350eb10989Smrg shift 28360eb10989Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 28370eb10989Smrg fi 28380eb10989Smrgfi 28390eb10989Smrgfi 28400eb10989Smrgfi 28410eb10989SmrgCC=$ac_cv_prog_CC 28420eb10989Smrgif test -n "$CC"; then 2843e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 284463165362Smrg$as_echo "$CC" >&6; } 28450eb10989Smrgelse 2846e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 284763165362Smrg$as_echo "no" >&6; } 28480eb10989Smrgfi 28490eb10989Smrg 285063165362Smrg 28510eb10989Smrgfi 28520eb10989Smrgif test -z "$CC"; then 28530eb10989Smrg if test -n "$ac_tool_prefix"; then 285463165362Smrg for ac_prog in cl.exe 28550eb10989Smrg do 28560eb10989Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 28570eb10989Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 2858e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 285963165362Smrg$as_echo_n "checking for $ac_word... " >&6; } 2860e4c0bf4dSmrgif ${ac_cv_prog_CC+:} false; then : 286163165362Smrg $as_echo_n "(cached) " >&6 28620eb10989Smrgelse 28630eb10989Smrg if test -n "$CC"; then 28640eb10989Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 28650eb10989Smrgelse 28660eb10989Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28670eb10989Smrgfor as_dir in $PATH 28680eb10989Smrgdo 28690eb10989Smrg IFS=$as_save_IFS 28700eb10989Smrg test -z "$as_dir" && as_dir=. 2871e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 287263165362Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28730eb10989Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2874e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28750eb10989Smrg break 2 28760eb10989Smrg fi 28770eb10989Smrgdone 2878e4c0bf4dSmrg done 287963165362SmrgIFS=$as_save_IFS 28800eb10989Smrg 28810eb10989Smrgfi 28820eb10989Smrgfi 28830eb10989SmrgCC=$ac_cv_prog_CC 28840eb10989Smrgif test -n "$CC"; then 2885e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 288663165362Smrg$as_echo "$CC" >&6; } 28870eb10989Smrgelse 2888e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 288963165362Smrg$as_echo "no" >&6; } 28900eb10989Smrgfi 28910eb10989Smrg 289263165362Smrg 28930eb10989Smrg test -n "$CC" && break 28940eb10989Smrg done 28950eb10989Smrgfi 28960eb10989Smrgif test -z "$CC"; then 28970eb10989Smrg ac_ct_CC=$CC 289863165362Smrg for ac_prog in cl.exe 28990eb10989Smrgdo 29000eb10989Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 29010eb10989Smrgset dummy $ac_prog; ac_word=$2 2902e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 290363165362Smrg$as_echo_n "checking for $ac_word... " >&6; } 2904e4c0bf4dSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 290563165362Smrg $as_echo_n "(cached) " >&6 29060eb10989Smrgelse 29070eb10989Smrg if test -n "$ac_ct_CC"; then 29080eb10989Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 29090eb10989Smrgelse 29100eb10989Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 29110eb10989Smrgfor as_dir in $PATH 29120eb10989Smrgdo 29130eb10989Smrg IFS=$as_save_IFS 29140eb10989Smrg test -z "$as_dir" && as_dir=. 2915e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 291663165362Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 29170eb10989Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 2918e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 29190eb10989Smrg break 2 29200eb10989Smrg fi 29210eb10989Smrgdone 2922e4c0bf4dSmrg done 292363165362SmrgIFS=$as_save_IFS 29240eb10989Smrg 29250eb10989Smrgfi 29260eb10989Smrgfi 29270eb10989Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 29280eb10989Smrgif test -n "$ac_ct_CC"; then 2929e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 293063165362Smrg$as_echo "$ac_ct_CC" >&6; } 29310eb10989Smrgelse 2932e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 293363165362Smrg$as_echo "no" >&6; } 29340eb10989Smrgfi 29350eb10989Smrg 293663165362Smrg 29370eb10989Smrg test -n "$ac_ct_CC" && break 29380eb10989Smrgdone 29390eb10989Smrg 294063165362Smrg if test "x$ac_ct_CC" = x; then 294163165362Smrg CC="" 294263165362Smrg else 294363165362Smrg case $cross_compiling:$ac_tool_warned in 294463165362Smrgyes:) 2945e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 294663165362Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 294763165362Smrgac_tool_warned=yes ;; 294863165362Smrgesac 294963165362Smrg CC=$ac_ct_CC 295063165362Smrg fi 29510eb10989Smrgfi 29520eb10989Smrg 29530eb10989Smrgfi 29540eb10989Smrg 29550eb10989Smrg 2956e4c0bf4dSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 295763165362Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2958e4c0bf4dSmrgas_fn_error $? "no acceptable C compiler found in \$PATH 2959e4c0bf4dSmrgSee \`config.log' for more details" "$LINENO" 5; } 29600eb10989Smrg 29610eb10989Smrg# Provide some information about the compiler. 2962e4c0bf4dSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 296363165362Smrgset X $ac_compile 296463165362Smrgac_compiler=$2 2965e4c0bf4dSmrgfor ac_option in --version -v -V -qversion; do 2966e4c0bf4dSmrg { { ac_try="$ac_compiler $ac_option >&5" 296763165362Smrgcase "(($ac_try" in 296863165362Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 296963165362Smrg *) ac_try_echo=$ac_try;; 297063165362Smrgesac 2971e4c0bf4dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2972e4c0bf4dSmrg$as_echo "$ac_try_echo"; } >&5 2973e4c0bf4dSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 29740eb10989Smrg ac_status=$? 2975e4c0bf4dSmrg if test -s conftest.err; then 2976e4c0bf4dSmrg sed '10a\ 2977e4c0bf4dSmrg... rest of stderr output deleted ... 2978e4c0bf4dSmrg 10q' conftest.err >conftest.er1 2979e4c0bf4dSmrg cat conftest.er1 >&5 2980e4c0bf4dSmrg fi 2981e4c0bf4dSmrg rm -f conftest.er1 conftest.err 2982e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2983e4c0bf4dSmrg test $ac_status = 0; } 2984e4c0bf4dSmrgdone 29850eb10989Smrg 2986e4c0bf4dSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 29870eb10989Smrg/* end confdefs.h. */ 29880eb10989Smrg 29890eb10989Smrgint 29900eb10989Smrgmain () 29910eb10989Smrg{ 29920eb10989Smrg 29930eb10989Smrg ; 29940eb10989Smrg return 0; 29950eb10989Smrg} 29960eb10989Smrg_ACEOF 29970eb10989Smrgac_clean_files_save=$ac_clean_files 299863165362Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 29990eb10989Smrg# Try to create an executable without -o first, disregard a.out. 30000eb10989Smrg# It will help us diagnose broken compilers, and finding out an intuition 30010eb10989Smrg# of exeext. 3002e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3003e4c0bf4dSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 300463165362Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 300563165362Smrg 300663165362Smrg# The possible output files: 300763165362Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 300863165362Smrg 300963165362Smrgac_rmfiles= 301063165362Smrgfor ac_file in $ac_files 301163165362Smrgdo 301263165362Smrg case $ac_file in 301363165362Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 301463165362Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 301563165362Smrg esac 301663165362Smrgdone 301763165362Smrgrm -f $ac_rmfiles 301863165362Smrg 3019e4c0bf4dSmrgif { { ac_try="$ac_link_default" 302063165362Smrgcase "(($ac_try" in 302163165362Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 302263165362Smrg *) ac_try_echo=$ac_try;; 302363165362Smrgesac 3024e4c0bf4dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3025e4c0bf4dSmrg$as_echo "$ac_try_echo"; } >&5 302663165362Smrg (eval "$ac_link_default") 2>&5 30270eb10989Smrg ac_status=$? 3028e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3029e4c0bf4dSmrg test $ac_status = 0; }; then : 303063165362Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 303163165362Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 303263165362Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 303363165362Smrg# so that the user can short-circuit this test for compilers unknown to 303463165362Smrg# Autoconf. 303563165362Smrgfor ac_file in $ac_files '' 30360eb10989Smrgdo 30370eb10989Smrg test -f "$ac_file" || continue 30380eb10989Smrg case $ac_file in 303963165362Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 30400eb10989Smrg ;; 30410eb10989Smrg [ab].out ) 30420eb10989Smrg # We found the default executable, but exeext='' is most 30430eb10989Smrg # certainly right. 30440eb10989Smrg break;; 30450eb10989Smrg *.* ) 3046e4c0bf4dSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 304763165362Smrg then :; else 304863165362Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 304963165362Smrg fi 305063165362Smrg # We set ac_cv_exeext here because the later test for it is not 305163165362Smrg # safe: cross compilers may not add the suffix if given an `-o' 305263165362Smrg # argument, so we may need to know it at that point already. 305363165362Smrg # Even if this section looks crufty: it has the advantage of 305463165362Smrg # actually working. 30550eb10989Smrg break;; 30560eb10989Smrg * ) 30570eb10989Smrg break;; 30580eb10989Smrg esac 30590eb10989Smrgdone 306063165362Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 306163165362Smrg 30620eb10989Smrgelse 306363165362Smrg ac_file='' 306463165362Smrgfi 3065e4c0bf4dSmrgif test -z "$ac_file"; then : 3066e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3067e4c0bf4dSmrg$as_echo "no" >&6; } 3068e4c0bf4dSmrg$as_echo "$as_me: failed program was:" >&5 3069e4c0bf4dSmrgsed 's/^/| /' conftest.$ac_ext >&5 307063165362Smrg 3071e4c0bf4dSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 307263165362Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3073e4c0bf4dSmrgas_fn_error 77 "C compiler cannot create executables 3074e4c0bf4dSmrgSee \`config.log' for more details" "$LINENO" 5; } 3075e4c0bf4dSmrgelse 3076e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3077e4c0bf4dSmrg$as_echo "yes" >&6; } 30780eb10989Smrgfi 3079e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3080e4c0bf4dSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 3081e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3082e4c0bf4dSmrg$as_echo "$ac_file" >&6; } 30830eb10989Smrgac_exeext=$ac_cv_exeext 30840eb10989Smrg 308563165362Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 30860eb10989Smrgac_clean_files=$ac_clean_files_save 3087e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 308863165362Smrg$as_echo_n "checking for suffix of executables... " >&6; } 3089e4c0bf4dSmrgif { { ac_try="$ac_link" 309063165362Smrgcase "(($ac_try" in 309163165362Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 309263165362Smrg *) ac_try_echo=$ac_try;; 309363165362Smrgesac 3094e4c0bf4dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3095e4c0bf4dSmrg$as_echo "$ac_try_echo"; } >&5 309663165362Smrg (eval "$ac_link") 2>&5 30970eb10989Smrg ac_status=$? 3098e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3099e4c0bf4dSmrg test $ac_status = 0; }; then : 31000eb10989Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 31010eb10989Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 31020eb10989Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 31030eb10989Smrg# `rm'. 31040eb10989Smrgfor ac_file in conftest.exe conftest conftest.*; do 31050eb10989Smrg test -f "$ac_file" || continue 31060eb10989Smrg case $ac_file in 310763165362Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 31080eb10989Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 31090eb10989Smrg break;; 31100eb10989Smrg * ) break;; 31110eb10989Smrg esac 31120eb10989Smrgdone 31130eb10989Smrgelse 3114e4c0bf4dSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 311563165362Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3116e4c0bf4dSmrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 3117e4c0bf4dSmrgSee \`config.log' for more details" "$LINENO" 5; } 31180eb10989Smrgfi 3119e4c0bf4dSmrgrm -f conftest conftest$ac_cv_exeext 3120e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 312163165362Smrg$as_echo "$ac_cv_exeext" >&6; } 31220eb10989Smrg 31230eb10989Smrgrm -f conftest.$ac_ext 31240eb10989SmrgEXEEXT=$ac_cv_exeext 31250eb10989Smrgac_exeext=$EXEEXT 3126e4c0bf4dSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3127e4c0bf4dSmrg/* end confdefs.h. */ 3128e4c0bf4dSmrg#include <stdio.h> 3129e4c0bf4dSmrgint 3130e4c0bf4dSmrgmain () 3131e4c0bf4dSmrg{ 3132e4c0bf4dSmrgFILE *f = fopen ("conftest.out", "w"); 3133e4c0bf4dSmrg return ferror (f) || fclose (f) != 0; 3134e4c0bf4dSmrg 3135e4c0bf4dSmrg ; 3136e4c0bf4dSmrg return 0; 3137e4c0bf4dSmrg} 3138e4c0bf4dSmrg_ACEOF 3139e4c0bf4dSmrgac_clean_files="$ac_clean_files conftest.out" 3140e4c0bf4dSmrg# Check that the compiler produces executables we can run. If not, either 3141e4c0bf4dSmrg# the compiler is broken, or we cross compile. 3142e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3143e4c0bf4dSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 3144e4c0bf4dSmrgif test "$cross_compiling" != yes; then 3145e4c0bf4dSmrg { { ac_try="$ac_link" 3146e4c0bf4dSmrgcase "(($ac_try" in 3147e4c0bf4dSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3148e4c0bf4dSmrg *) ac_try_echo=$ac_try;; 3149e4c0bf4dSmrgesac 3150e4c0bf4dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3151e4c0bf4dSmrg$as_echo "$ac_try_echo"; } >&5 3152e4c0bf4dSmrg (eval "$ac_link") 2>&5 3153e4c0bf4dSmrg ac_status=$? 3154e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3155e4c0bf4dSmrg test $ac_status = 0; } 3156e4c0bf4dSmrg if { ac_try='./conftest$ac_cv_exeext' 3157e4c0bf4dSmrg { { case "(($ac_try" in 3158e4c0bf4dSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3159e4c0bf4dSmrg *) ac_try_echo=$ac_try;; 3160e4c0bf4dSmrgesac 3161e4c0bf4dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3162e4c0bf4dSmrg$as_echo "$ac_try_echo"; } >&5 3163e4c0bf4dSmrg (eval "$ac_try") 2>&5 3164e4c0bf4dSmrg ac_status=$? 3165e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3166e4c0bf4dSmrg test $ac_status = 0; }; }; then 3167e4c0bf4dSmrg cross_compiling=no 3168e4c0bf4dSmrg else 3169e4c0bf4dSmrg if test "$cross_compiling" = maybe; then 3170e4c0bf4dSmrg cross_compiling=yes 3171e4c0bf4dSmrg else 3172e4c0bf4dSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3173e4c0bf4dSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3174e4c0bf4dSmrgas_fn_error $? "cannot run C compiled programs. 3175e4c0bf4dSmrgIf you meant to cross compile, use \`--host'. 3176e4c0bf4dSmrgSee \`config.log' for more details" "$LINENO" 5; } 3177e4c0bf4dSmrg fi 3178e4c0bf4dSmrg fi 3179e4c0bf4dSmrgfi 3180e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3181e4c0bf4dSmrg$as_echo "$cross_compiling" >&6; } 3182e4c0bf4dSmrg 3183e4c0bf4dSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3184e4c0bf4dSmrgac_clean_files=$ac_clean_files_save 3185e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 318663165362Smrg$as_echo_n "checking for suffix of object files... " >&6; } 3187e4c0bf4dSmrgif ${ac_cv_objext+:} false; then : 318863165362Smrg $as_echo_n "(cached) " >&6 31890eb10989Smrgelse 3190e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31910eb10989Smrg/* end confdefs.h. */ 31920eb10989Smrg 31930eb10989Smrgint 31940eb10989Smrgmain () 31950eb10989Smrg{ 31960eb10989Smrg 31970eb10989Smrg ; 31980eb10989Smrg return 0; 31990eb10989Smrg} 32000eb10989Smrg_ACEOF 32010eb10989Smrgrm -f conftest.o conftest.obj 3202e4c0bf4dSmrgif { { ac_try="$ac_compile" 320363165362Smrgcase "(($ac_try" in 320463165362Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 320563165362Smrg *) ac_try_echo=$ac_try;; 320663165362Smrgesac 3207e4c0bf4dSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3208e4c0bf4dSmrg$as_echo "$ac_try_echo"; } >&5 320963165362Smrg (eval "$ac_compile") 2>&5 32100eb10989Smrg ac_status=$? 3211e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3212e4c0bf4dSmrg test $ac_status = 0; }; then : 321363165362Smrg for ac_file in conftest.o conftest.obj conftest.*; do 321463165362Smrg test -f "$ac_file" || continue; 32150eb10989Smrg case $ac_file in 321663165362Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 32170eb10989Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 32180eb10989Smrg break;; 32190eb10989Smrg esac 32200eb10989Smrgdone 32210eb10989Smrgelse 322263165362Smrg $as_echo "$as_me: failed program was:" >&5 32230eb10989Smrgsed 's/^/| /' conftest.$ac_ext >&5 32240eb10989Smrg 3225e4c0bf4dSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 322663165362Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3227e4c0bf4dSmrgas_fn_error $? "cannot compute suffix of object files: cannot compile 3228e4c0bf4dSmrgSee \`config.log' for more details" "$LINENO" 5; } 32290eb10989Smrgfi 32300eb10989Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 32310eb10989Smrgfi 3232e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 323363165362Smrg$as_echo "$ac_cv_objext" >&6; } 32340eb10989SmrgOBJEXT=$ac_cv_objext 32350eb10989Smrgac_objext=$OBJEXT 3236e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 323763165362Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3238e4c0bf4dSmrgif ${ac_cv_c_compiler_gnu+:} false; then : 323963165362Smrg $as_echo_n "(cached) " >&6 32400eb10989Smrgelse 3241e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32420eb10989Smrg/* end confdefs.h. */ 32430eb10989Smrg 32440eb10989Smrgint 32450eb10989Smrgmain () 32460eb10989Smrg{ 32470eb10989Smrg#ifndef __GNUC__ 32480eb10989Smrg choke me 32490eb10989Smrg#endif 32500eb10989Smrg 32510eb10989Smrg ; 32520eb10989Smrg return 0; 32530eb10989Smrg} 32540eb10989Smrg_ACEOF 3255e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 32560eb10989Smrg ac_compiler_gnu=yes 32570eb10989Smrgelse 3258e4c0bf4dSmrg ac_compiler_gnu=no 32590eb10989Smrgfi 326063165362Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32610eb10989Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 32620eb10989Smrg 32630eb10989Smrgfi 3264e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 326563165362Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 326663165362Smrgif test $ac_compiler_gnu = yes; then 326763165362Smrg GCC=yes 326863165362Smrgelse 326963165362Smrg GCC= 327063165362Smrgfi 32710eb10989Smrgac_test_CFLAGS=${CFLAGS+set} 32720eb10989Smrgac_save_CFLAGS=$CFLAGS 3273e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 327463165362Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 3275e4c0bf4dSmrgif ${ac_cv_prog_cc_g+:} false; then : 327663165362Smrg $as_echo_n "(cached) " >&6 32770eb10989Smrgelse 327863165362Smrg ac_save_c_werror_flag=$ac_c_werror_flag 327963165362Smrg ac_c_werror_flag=yes 328063165362Smrg ac_cv_prog_cc_g=no 328163165362Smrg CFLAGS="-g" 3282e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32830eb10989Smrg/* end confdefs.h. */ 32840eb10989Smrg 32850eb10989Smrgint 32860eb10989Smrgmain () 32870eb10989Smrg{ 32880eb10989Smrg 32890eb10989Smrg ; 32900eb10989Smrg return 0; 32910eb10989Smrg} 32920eb10989Smrg_ACEOF 3293e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 329463165362Smrg ac_cv_prog_cc_g=yes 329563165362Smrgelse 3296e4c0bf4dSmrg CFLAGS="" 3297e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 329863165362Smrg/* end confdefs.h. */ 329963165362Smrg 330063165362Smrgint 330163165362Smrgmain () 330263165362Smrg{ 330363165362Smrg 330463165362Smrg ; 330563165362Smrg return 0; 330663165362Smrg} 330763165362Smrg_ACEOF 3308e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 330963165362Smrg 3310e4c0bf4dSmrgelse 3311e4c0bf4dSmrg ac_c_werror_flag=$ac_save_c_werror_flag 331263165362Smrg CFLAGS="-g" 3313e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 331463165362Smrg/* end confdefs.h. */ 331563165362Smrg 331663165362Smrgint 331763165362Smrgmain () 331863165362Smrg{ 331963165362Smrg 332063165362Smrg ; 332163165362Smrg return 0; 332263165362Smrg} 332363165362Smrg_ACEOF 3324e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 33250eb10989Smrg ac_cv_prog_cc_g=yes 33260eb10989Smrgfi 332763165362Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 332863165362Smrgfi 332963165362Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 333063165362Smrgfi 333163165362Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 333263165362Smrg ac_c_werror_flag=$ac_save_c_werror_flag 33330eb10989Smrgfi 3334e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 333563165362Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 33360eb10989Smrgif test "$ac_test_CFLAGS" = set; then 33370eb10989Smrg CFLAGS=$ac_save_CFLAGS 33380eb10989Smrgelif test $ac_cv_prog_cc_g = yes; then 33390eb10989Smrg if test "$GCC" = yes; then 33400eb10989Smrg CFLAGS="-g -O2" 33410eb10989Smrg else 33420eb10989Smrg CFLAGS="-g" 33430eb10989Smrg fi 33440eb10989Smrgelse 33450eb10989Smrg if test "$GCC" = yes; then 33460eb10989Smrg CFLAGS="-O2" 33470eb10989Smrg else 33480eb10989Smrg CFLAGS= 33490eb10989Smrg fi 33500eb10989Smrgfi 3351e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 335263165362Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3353e4c0bf4dSmrgif ${ac_cv_prog_cc_c89+:} false; then : 335463165362Smrg $as_echo_n "(cached) " >&6 33550eb10989Smrgelse 335663165362Smrg ac_cv_prog_cc_c89=no 33570eb10989Smrgac_save_CC=$CC 3358e4c0bf4dSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 33590eb10989Smrg/* end confdefs.h. */ 33600eb10989Smrg#include <stdarg.h> 33610eb10989Smrg#include <stdio.h> 33620eb10989Smrg#include <sys/types.h> 33630eb10989Smrg#include <sys/stat.h> 33640eb10989Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 33650eb10989Smrgstruct buf { int x; }; 33660eb10989SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 33670eb10989Smrgstatic char *e (p, i) 33680eb10989Smrg char **p; 33690eb10989Smrg int i; 33700eb10989Smrg{ 33710eb10989Smrg return p[i]; 33720eb10989Smrg} 33730eb10989Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 33740eb10989Smrg{ 33750eb10989Smrg char *s; 33760eb10989Smrg va_list v; 33770eb10989Smrg va_start (v,p); 33780eb10989Smrg s = g (p, va_arg (v,int)); 33790eb10989Smrg va_end (v); 33800eb10989Smrg return s; 33810eb10989Smrg} 33820eb10989Smrg 33830eb10989Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 33840eb10989Smrg function prototypes and stuff, but not '\xHH' hex character constants. 33850eb10989Smrg These don't provoke an error unfortunately, instead are silently treated 338663165362Smrg as 'x'. The following induces an error, until -std is added to get 33870eb10989Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 33880eb10989Smrg array size at least. It's necessary to write '\x00'==0 to get something 338963165362Smrg that's true only with -std. */ 33900eb10989Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 33910eb10989Smrg 339263165362Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 339363165362Smrg inside strings and character constants. */ 339463165362Smrg#define FOO(x) 'x' 339563165362Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 339663165362Smrg 33970eb10989Smrgint test (int i, double x); 33980eb10989Smrgstruct s1 {int (*f) (int a);}; 33990eb10989Smrgstruct s2 {int (*f) (double a);}; 34000eb10989Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 34010eb10989Smrgint argc; 34020eb10989Smrgchar **argv; 34030eb10989Smrgint 34040eb10989Smrgmain () 34050eb10989Smrg{ 34060eb10989Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 34070eb10989Smrg ; 34080eb10989Smrg return 0; 34090eb10989Smrg} 34100eb10989Smrg_ACEOF 341163165362Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 341263165362Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 34130eb10989Smrgdo 34140eb10989Smrg CC="$ac_save_CC $ac_arg" 3415e4c0bf4dSmrg if ac_fn_c_try_compile "$LINENO"; then : 341663165362Smrg ac_cv_prog_cc_c89=$ac_arg 34170eb10989Smrgfi 341863165362Smrgrm -f core conftest.err conftest.$ac_objext 341963165362Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 34200eb10989Smrgdone 342163165362Smrgrm -f conftest.$ac_ext 34220eb10989SmrgCC=$ac_save_CC 34230eb10989Smrg 34240eb10989Smrgfi 342563165362Smrg# AC_CACHE_VAL 342663165362Smrgcase "x$ac_cv_prog_cc_c89" in 342763165362Smrg x) 3428e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 342963165362Smrg$as_echo "none needed" >&6; } ;; 343063165362Smrg xno) 3431e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 343263165362Smrg$as_echo "unsupported" >&6; } ;; 34330eb10989Smrg *) 343463165362Smrg CC="$CC $ac_cv_prog_cc_c89" 3435e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 343663165362Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 34370eb10989Smrgesac 3438e4c0bf4dSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 34390eb10989Smrg 3440e4c0bf4dSmrgfi 34410eb10989Smrg 34420eb10989Smrgac_ext=c 34430eb10989Smrgac_cpp='$CPP $CPPFLAGS' 34440eb10989Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 34450eb10989Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 34460eb10989Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 34470eb10989SmrgDEPDIR="${am__leading_dot}deps" 34480eb10989Smrg 344963165362Smrgac_config_commands="$ac_config_commands depfiles" 34500eb10989Smrg 34510eb10989Smrg 34520eb10989Smrgam_make=${MAKE-make} 34530eb10989Smrgcat > confinc << 'END' 34540eb10989Smrgam__doit: 345563165362Smrg @echo this is the am__doit target 34560eb10989Smrg.PHONY: am__doit 34570eb10989SmrgEND 34580eb10989Smrg# If we don't find an include directive, just comment out the code. 3459e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 346063165362Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 34610eb10989Smrgam__include="#" 34620eb10989Smrgam__quote= 34630eb10989Smrg_am_result=none 34640eb10989Smrg# First try GNU make style include. 34650eb10989Smrgecho "include confinc" > confmf 346663165362Smrg# Ignore all kinds of additional output from `make'. 346763165362Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 346863165362Smrg*the\ am__doit\ target*) 346963165362Smrg am__include=include 347063165362Smrg am__quote= 347163165362Smrg _am_result=GNU 347263165362Smrg ;; 347363165362Smrgesac 34740eb10989Smrg# Now try BSD make style include. 34750eb10989Smrgif test "$am__include" = "#"; then 34760eb10989Smrg echo '.include "confinc"' > confmf 347763165362Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 347863165362Smrg *the\ am__doit\ target*) 347963165362Smrg am__include=.include 348063165362Smrg am__quote="\"" 348163165362Smrg _am_result=BSD 348263165362Smrg ;; 348363165362Smrg esac 34840eb10989Smrgfi 34850eb10989Smrg 34860eb10989Smrg 3487e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 348863165362Smrg$as_echo "$_am_result" >&6; } 34890eb10989Smrgrm -f confinc confmf 34900eb10989Smrg 349163165362Smrg# Check whether --enable-dependency-tracking was given. 3492e4c0bf4dSmrgif test "${enable_dependency_tracking+set}" = set; then : 349363165362Smrg enableval=$enable_dependency_tracking; 349463165362Smrgfi 34950eb10989Smrg 34960eb10989Smrgif test "x$enable_dependency_tracking" != xno; then 34970eb10989Smrg am_depcomp="$ac_aux_dir/depcomp" 34980eb10989Smrg AMDEPBACKSLASH='\' 34990eb10989Smrgfi 350063165362Smrg if test "x$enable_dependency_tracking" != xno; then 35010eb10989Smrg AMDEP_TRUE= 35020eb10989Smrg AMDEP_FALSE='#' 35030eb10989Smrgelse 35040eb10989Smrg AMDEP_TRUE='#' 35050eb10989Smrg AMDEP_FALSE= 35060eb10989Smrgfi 35070eb10989Smrg 35080eb10989Smrg 35090eb10989Smrg 35100eb10989Smrgdepcc="$CC" am_compiler_list= 35110eb10989Smrg 3512e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 351363165362Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 3514e4c0bf4dSmrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 351563165362Smrg $as_echo_n "(cached) " >&6 35160eb10989Smrgelse 35170eb10989Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 35180eb10989Smrg # We make a subdir and do the tests there. Otherwise we can end up 35190eb10989Smrg # making bogus files that we don't know about and never remove. For 35200eb10989Smrg # instance it was reported that on HP-UX the gcc test will end up 35210eb10989Smrg # making a dummy file named `D' -- because `-MD' means `put the output 35220eb10989Smrg # in D'. 35230eb10989Smrg mkdir conftest.dir 35240eb10989Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 35250eb10989Smrg # using a relative directory. 35260eb10989Smrg cp "$am_depcomp" conftest.dir 35270eb10989Smrg cd conftest.dir 35280eb10989Smrg # We will build objects and dependencies in a subdirectory because 35290eb10989Smrg # it helps to detect inapplicable dependency modes. For instance 35300eb10989Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 35310eb10989Smrg # side effect of compilation, but ICC will put the dependencies in 35320eb10989Smrg # the current directory while Tru64 will put them in the object 35330eb10989Smrg # directory. 35340eb10989Smrg mkdir sub 35350eb10989Smrg 35360eb10989Smrg am_cv_CC_dependencies_compiler_type=none 35370eb10989Smrg if test "$am_compiler_list" = ""; then 35380eb10989Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 35390eb10989Smrg fi 354063165362Smrg am__universal=false 354163165362Smrg case " $depcc " in #( 354263165362Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 354363165362Smrg esac 354463165362Smrg 35450eb10989Smrg for depmode in $am_compiler_list; do 35460eb10989Smrg # Setup a source with many dependencies, because some compilers 35470eb10989Smrg # like to wrap large dependency lists on column 80 (with \), and 35480eb10989Smrg # we should not choose a depcomp mode which is confused by this. 35490eb10989Smrg # 35500eb10989Smrg # We need to recreate these files for each test, as the compiler may 35510eb10989Smrg # overwrite some of them when testing with obscure command lines. 35520eb10989Smrg # This happens at least with the AIX C compiler. 35530eb10989Smrg : > sub/conftest.c 35540eb10989Smrg for i in 1 2 3 4 5 6; do 35550eb10989Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 35560eb10989Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 35570eb10989Smrg # Solaris 8's {/usr,}/bin/sh. 35580eb10989Smrg touch sub/conftst$i.h 35590eb10989Smrg done 35600eb10989Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 35610eb10989Smrg 356263165362Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 356363165362Smrg # mode. It turns out that the SunPro C++ compiler does not properly 356463165362Smrg # handle `-M -o', and we need to detect this. Also, some Intel 356563165362Smrg # versions had trouble with output in subdirs 356663165362Smrg am__obj=sub/conftest.${OBJEXT-o} 356763165362Smrg am__minus_obj="-o $am__obj" 35680eb10989Smrg case $depmode in 356963165362Smrg gcc) 357063165362Smrg # This depmode causes a compiler race in universal mode. 357163165362Smrg test "$am__universal" = false || continue 357263165362Smrg ;; 35730eb10989Smrg nosideeffect) 35740eb10989Smrg # after this tag, mechanisms are not by side-effect, so they'll 35750eb10989Smrg # only be used when explicitly requested 35760eb10989Smrg if test "x$enable_dependency_tracking" = xyes; then 35770eb10989Smrg continue 35780eb10989Smrg else 35790eb10989Smrg break 35800eb10989Smrg fi 35810eb10989Smrg ;; 358263165362Smrg msvisualcpp | msvcmsys) 358363165362Smrg # This compiler won't grok `-c -o', but also, the minuso test has 358463165362Smrg # not run yet. These depmodes are late enough in the game, and 358563165362Smrg # so weak that their functioning should not be impacted. 358663165362Smrg am__obj=conftest.${OBJEXT-o} 358763165362Smrg am__minus_obj= 358863165362Smrg ;; 35890eb10989Smrg none) break ;; 35900eb10989Smrg esac 35910eb10989Smrg if depmode=$depmode \ 359263165362Smrg source=sub/conftest.c object=$am__obj \ 35930eb10989Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 359463165362Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 35950eb10989Smrg >/dev/null 2>conftest.err && 359663165362Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 35970eb10989Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 359863165362Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 35990eb10989Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 36000eb10989Smrg # icc doesn't choke on unknown options, it will just issue warnings 36010eb10989Smrg # or remarks (even with -Werror). So we grep stderr for any message 36020eb10989Smrg # that says an option was ignored or not supported. 36030eb10989Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 36040eb10989Smrg # icc: Command line warning: ignoring option '-M'; no argument required 36050eb10989Smrg # The diagnosis changed in icc 8.0: 36060eb10989Smrg # icc: Command line remark: option '-MP' not supported 36070eb10989Smrg if (grep 'ignoring option' conftest.err || 36080eb10989Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 36090eb10989Smrg am_cv_CC_dependencies_compiler_type=$depmode 36100eb10989Smrg break 36110eb10989Smrg fi 36120eb10989Smrg fi 36130eb10989Smrg done 36140eb10989Smrg 36150eb10989Smrg cd .. 36160eb10989Smrg rm -rf conftest.dir 36170eb10989Smrgelse 36180eb10989Smrg am_cv_CC_dependencies_compiler_type=none 36190eb10989Smrgfi 36200eb10989Smrg 36210eb10989Smrgfi 3622e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 362363165362Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 36240eb10989SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 36250eb10989Smrg 362663165362Smrg if 36270eb10989Smrg test "x$enable_dependency_tracking" != xno \ 36280eb10989Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 36290eb10989Smrg am__fastdepCC_TRUE= 36300eb10989Smrg am__fastdepCC_FALSE='#' 36310eb10989Smrgelse 36320eb10989Smrg am__fastdepCC_TRUE='#' 36330eb10989Smrg am__fastdepCC_FALSE= 36340eb10989Smrgfi 36350eb10989Smrg 36360eb10989Smrg 3637e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3638e4c0bf4dSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3639e4c0bf4dSmrgif ${ac_cv_prog_cc_c99+:} false; then : 364063165362Smrg $as_echo_n "(cached) " >&6 36410eb10989Smrgelse 3642e4c0bf4dSmrg ac_cv_prog_cc_c99=no 3643e4c0bf4dSmrgac_save_CC=$CC 3644e4c0bf4dSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 36450eb10989Smrg/* end confdefs.h. */ 3646e4c0bf4dSmrg#include <stdarg.h> 3647e4c0bf4dSmrg#include <stdbool.h> 3648e4c0bf4dSmrg#include <stdlib.h> 3649e4c0bf4dSmrg#include <wchar.h> 3650e4c0bf4dSmrg#include <stdio.h> 3651e4c0bf4dSmrg 3652e4c0bf4dSmrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 3653e4c0bf4dSmrg#define debug(...) fprintf (stderr, __VA_ARGS__) 3654e4c0bf4dSmrg#define showlist(...) puts (#__VA_ARGS__) 3655e4c0bf4dSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3656e4c0bf4dSmrgstatic void 3657e4c0bf4dSmrgtest_varargs_macros (void) 3658e4c0bf4dSmrg{ 3659e4c0bf4dSmrg int x = 1234; 3660e4c0bf4dSmrg int y = 5678; 3661e4c0bf4dSmrg debug ("Flag"); 3662e4c0bf4dSmrg debug ("X = %d\n", x); 3663e4c0bf4dSmrg showlist (The first, second, and third items.); 3664e4c0bf4dSmrg report (x>y, "x is %d but y is %d", x, y); 3665e4c0bf4dSmrg} 3666e4c0bf4dSmrg 3667e4c0bf4dSmrg// Check long long types. 3668e4c0bf4dSmrg#define BIG64 18446744073709551615ull 3669e4c0bf4dSmrg#define BIG32 4294967295ul 3670e4c0bf4dSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3671e4c0bf4dSmrg#if !BIG_OK 3672e4c0bf4dSmrg your preprocessor is broken; 3673e4c0bf4dSmrg#endif 3674e4c0bf4dSmrg#if BIG_OK 36750eb10989Smrg#else 3676e4c0bf4dSmrg your preprocessor is broken; 36770eb10989Smrg#endif 3678e4c0bf4dSmrgstatic long long int bignum = -9223372036854775807LL; 3679e4c0bf4dSmrgstatic unsigned long long int ubignum = BIG64; 368063165362Smrg 3681e4c0bf4dSmrgstruct incomplete_array 3682e4c0bf4dSmrg{ 3683e4c0bf4dSmrg int datasize; 3684e4c0bf4dSmrg double data[]; 3685e4c0bf4dSmrg}; 368663165362Smrg 3687e4c0bf4dSmrgstruct named_init { 3688e4c0bf4dSmrg int number; 3689e4c0bf4dSmrg const wchar_t *name; 3690e4c0bf4dSmrg double average; 3691e4c0bf4dSmrg}; 369263165362Smrg 3693e4c0bf4dSmrgtypedef const char *ccp; 369463165362Smrg 3695e4c0bf4dSmrgstatic inline int 3696e4c0bf4dSmrgtest_restrict (ccp restrict text) 3697e4c0bf4dSmrg{ 3698e4c0bf4dSmrg // See if C++-style comments work. 3699e4c0bf4dSmrg // Iterate through items via the restricted pointer. 3700e4c0bf4dSmrg // Also check for declarations in for loops. 3701e4c0bf4dSmrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3702e4c0bf4dSmrg continue; 3703e4c0bf4dSmrg return 0; 3704e4c0bf4dSmrg} 3705e4c0bf4dSmrg 3706e4c0bf4dSmrg// Check varargs and va_copy. 3707e4c0bf4dSmrgstatic void 3708e4c0bf4dSmrgtest_varargs (const char *format, ...) 3709e4c0bf4dSmrg{ 3710e4c0bf4dSmrg va_list args; 3711e4c0bf4dSmrg va_start (args, format); 3712e4c0bf4dSmrg va_list args_copy; 3713e4c0bf4dSmrg va_copy (args_copy, args); 3714e4c0bf4dSmrg 3715e4c0bf4dSmrg const char *str; 3716e4c0bf4dSmrg int number; 3717e4c0bf4dSmrg float fnumber; 3718e4c0bf4dSmrg 3719e4c0bf4dSmrg while (*format) 3720e4c0bf4dSmrg { 3721e4c0bf4dSmrg switch (*format++) 3722e4c0bf4dSmrg { 3723e4c0bf4dSmrg case 's': // string 3724e4c0bf4dSmrg str = va_arg (args_copy, const char *); 3725e4c0bf4dSmrg break; 3726e4c0bf4dSmrg case 'd': // int 3727e4c0bf4dSmrg number = va_arg (args_copy, int); 3728e4c0bf4dSmrg break; 3729e4c0bf4dSmrg case 'f': // float 3730e4c0bf4dSmrg fnumber = va_arg (args_copy, double); 3731e4c0bf4dSmrg break; 3732e4c0bf4dSmrg default: 3733e4c0bf4dSmrg break; 3734e4c0bf4dSmrg } 3735e4c0bf4dSmrg } 3736e4c0bf4dSmrg va_end (args_copy); 3737e4c0bf4dSmrg va_end (args); 3738e4c0bf4dSmrg} 3739e4c0bf4dSmrg 3740e4c0bf4dSmrgint 3741e4c0bf4dSmrgmain () 3742e4c0bf4dSmrg{ 3743e4c0bf4dSmrg 3744e4c0bf4dSmrg // Check bool. 3745e4c0bf4dSmrg _Bool success = false; 3746e4c0bf4dSmrg 3747e4c0bf4dSmrg // Check restrict. 3748e4c0bf4dSmrg if (test_restrict ("String literal") == 0) 3749e4c0bf4dSmrg success = true; 3750e4c0bf4dSmrg char *restrict newvar = "Another string"; 3751e4c0bf4dSmrg 3752e4c0bf4dSmrg // Check varargs. 3753e4c0bf4dSmrg test_varargs ("s, d' f .", "string", 65, 34.234); 3754e4c0bf4dSmrg test_varargs_macros (); 3755e4c0bf4dSmrg 3756e4c0bf4dSmrg // Check flexible array members. 3757e4c0bf4dSmrg struct incomplete_array *ia = 3758e4c0bf4dSmrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3759e4c0bf4dSmrg ia->datasize = 10; 3760e4c0bf4dSmrg for (int i = 0; i < ia->datasize; ++i) 3761e4c0bf4dSmrg ia->data[i] = i * 1.234; 3762e4c0bf4dSmrg 3763e4c0bf4dSmrg // Check named initializers. 3764e4c0bf4dSmrg struct named_init ni = { 3765e4c0bf4dSmrg .number = 34, 3766e4c0bf4dSmrg .name = L"Test wide string", 3767e4c0bf4dSmrg .average = 543.34343, 3768e4c0bf4dSmrg }; 3769e4c0bf4dSmrg 3770e4c0bf4dSmrg ni.number = 58; 3771e4c0bf4dSmrg 3772e4c0bf4dSmrg int dynamic_array[ni.number]; 3773e4c0bf4dSmrg dynamic_array[ni.number - 1] = 543; 3774e4c0bf4dSmrg 3775e4c0bf4dSmrg // work around unused variable warnings 3776e4c0bf4dSmrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3777e4c0bf4dSmrg || dynamic_array[ni.number - 1] != 543); 3778e4c0bf4dSmrg 3779e4c0bf4dSmrg ; 3780e4c0bf4dSmrg return 0; 3781e4c0bf4dSmrg} 3782e4c0bf4dSmrg_ACEOF 3783e4c0bf4dSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 3784e4c0bf4dSmrgdo 3785e4c0bf4dSmrg CC="$ac_save_CC $ac_arg" 3786e4c0bf4dSmrg if ac_fn_c_try_compile "$LINENO"; then : 3787e4c0bf4dSmrg ac_cv_prog_cc_c99=$ac_arg 3788e4c0bf4dSmrgfi 3789e4c0bf4dSmrgrm -f core conftest.err conftest.$ac_objext 3790e4c0bf4dSmrg test "x$ac_cv_prog_cc_c99" != "xno" && break 3791e4c0bf4dSmrgdone 3792e4c0bf4dSmrgrm -f conftest.$ac_ext 3793e4c0bf4dSmrgCC=$ac_save_CC 3794e4c0bf4dSmrg 3795e4c0bf4dSmrgfi 3796e4c0bf4dSmrg# AC_CACHE_VAL 3797e4c0bf4dSmrgcase "x$ac_cv_prog_cc_c99" in 3798e4c0bf4dSmrg x) 3799e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3800e4c0bf4dSmrg$as_echo "none needed" >&6; } ;; 3801e4c0bf4dSmrg xno) 3802e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3803e4c0bf4dSmrg$as_echo "unsupported" >&6; } ;; 3804e4c0bf4dSmrg *) 3805e4c0bf4dSmrg CC="$CC $ac_cv_prog_cc_c99" 3806e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3807e4c0bf4dSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3808e4c0bf4dSmrgesac 3809e4c0bf4dSmrgif test "x$ac_cv_prog_cc_c99" != xno; then : 3810e4c0bf4dSmrg 3811e4c0bf4dSmrgfi 3812e4c0bf4dSmrg 3813e4c0bf4dSmrg 3814e4c0bf4dSmrg 3815e4c0bf4dSmrgac_ext=c 3816e4c0bf4dSmrgac_cpp='$CPP $CPPFLAGS' 3817e4c0bf4dSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3818e4c0bf4dSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3819e4c0bf4dSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3820e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3821e4c0bf4dSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 3822e4c0bf4dSmrg# On Suns, sometimes $CPP names a directory. 3823e4c0bf4dSmrgif test -n "$CPP" && test -d "$CPP"; then 3824e4c0bf4dSmrg CPP= 3825e4c0bf4dSmrgfi 3826e4c0bf4dSmrgif test -z "$CPP"; then 3827e4c0bf4dSmrg if ${ac_cv_prog_CPP+:} false; then : 3828e4c0bf4dSmrg $as_echo_n "(cached) " >&6 3829e4c0bf4dSmrgelse 3830e4c0bf4dSmrg # Double quotes because CPP needs to be expanded 3831e4c0bf4dSmrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3832e4c0bf4dSmrg do 3833e4c0bf4dSmrg ac_preproc_ok=false 3834e4c0bf4dSmrgfor ac_c_preproc_warn_flag in '' yes 3835e4c0bf4dSmrgdo 3836e4c0bf4dSmrg # Use a header file that comes with gcc, so configuring glibc 3837e4c0bf4dSmrg # with a fresh cross-compiler works. 3838e4c0bf4dSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3839e4c0bf4dSmrg # <limits.h> exists even on freestanding compilers. 3840e4c0bf4dSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 3841e4c0bf4dSmrg # not just through cpp. "Syntax error" is here to catch this case. 3842e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3843e4c0bf4dSmrg/* end confdefs.h. */ 3844e4c0bf4dSmrg#ifdef __STDC__ 3845e4c0bf4dSmrg# include <limits.h> 3846e4c0bf4dSmrg#else 3847e4c0bf4dSmrg# include <assert.h> 3848e4c0bf4dSmrg#endif 3849e4c0bf4dSmrg Syntax error 3850e4c0bf4dSmrg_ACEOF 3851e4c0bf4dSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3852e4c0bf4dSmrg 3853e4c0bf4dSmrgelse 3854e4c0bf4dSmrg # Broken: fails on valid input. 3855e4c0bf4dSmrgcontinue 385663165362Smrgfi 3857e4c0bf4dSmrgrm -f conftest.err conftest.i conftest.$ac_ext 385863165362Smrg 3859e4c0bf4dSmrg # OK, works on sane cases. Now check whether nonexistent headers 3860e4c0bf4dSmrg # can be detected and how. 3861e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3862e4c0bf4dSmrg/* end confdefs.h. */ 3863e4c0bf4dSmrg#include <ac_nonexistent.h> 3864e4c0bf4dSmrg_ACEOF 3865e4c0bf4dSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3866e4c0bf4dSmrg # Broken: success on invalid input. 3867e4c0bf4dSmrgcontinue 3868e4c0bf4dSmrgelse 3869e4c0bf4dSmrg # Passes both tests. 3870e4c0bf4dSmrgac_preproc_ok=: 3871e4c0bf4dSmrgbreak 3872e4c0bf4dSmrgfi 3873e4c0bf4dSmrgrm -f conftest.err conftest.i conftest.$ac_ext 387463165362Smrg 387563165362Smrgdone 387663165362Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3877e4c0bf4dSmrgrm -f conftest.i conftest.err conftest.$ac_ext 3878e4c0bf4dSmrgif $ac_preproc_ok; then : 387963165362Smrg break 388063165362Smrgfi 388163165362Smrg 388263165362Smrg done 388363165362Smrg ac_cv_prog_CPP=$CPP 388463165362Smrg 388563165362Smrgfi 388663165362Smrg CPP=$ac_cv_prog_CPP 388763165362Smrgelse 388863165362Smrg ac_cv_prog_CPP=$CPP 388963165362Smrgfi 3890e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 389163165362Smrg$as_echo "$CPP" >&6; } 389263165362Smrgac_preproc_ok=false 389363165362Smrgfor ac_c_preproc_warn_flag in '' yes 389463165362Smrgdo 389563165362Smrg # Use a header file that comes with gcc, so configuring glibc 389663165362Smrg # with a fresh cross-compiler works. 389763165362Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 389863165362Smrg # <limits.h> exists even on freestanding compilers. 389963165362Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 390063165362Smrg # not just through cpp. "Syntax error" is here to catch this case. 3901e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 390263165362Smrg/* end confdefs.h. */ 390363165362Smrg#ifdef __STDC__ 390463165362Smrg# include <limits.h> 390563165362Smrg#else 390663165362Smrg# include <assert.h> 390763165362Smrg#endif 390863165362Smrg Syntax error 390963165362Smrg_ACEOF 3910e4c0bf4dSmrgif ac_fn_c_try_cpp "$LINENO"; then : 391163165362Smrg 3912e4c0bf4dSmrgelse 391363165362Smrg # Broken: fails on valid input. 391463165362Smrgcontinue 391563165362Smrgfi 3916e4c0bf4dSmrgrm -f conftest.err conftest.i conftest.$ac_ext 391763165362Smrg 391863165362Smrg # OK, works on sane cases. Now check whether nonexistent headers 391963165362Smrg # can be detected and how. 3920e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 392163165362Smrg/* end confdefs.h. */ 392263165362Smrg#include <ac_nonexistent.h> 392363165362Smrg_ACEOF 3924e4c0bf4dSmrgif ac_fn_c_try_cpp "$LINENO"; then : 392563165362Smrg # Broken: success on invalid input. 392663165362Smrgcontinue 392763165362Smrgelse 392863165362Smrg # Passes both tests. 392963165362Smrgac_preproc_ok=: 393063165362Smrgbreak 393163165362Smrgfi 3932e4c0bf4dSmrgrm -f conftest.err conftest.i conftest.$ac_ext 393363165362Smrg 393463165362Smrgdone 393563165362Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3936e4c0bf4dSmrgrm -f conftest.i conftest.err conftest.$ac_ext 3937e4c0bf4dSmrgif $ac_preproc_ok; then : 3938e4c0bf4dSmrg 393963165362Smrgelse 3940e4c0bf4dSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 394163165362Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3942e4c0bf4dSmrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3943e4c0bf4dSmrgSee \`config.log' for more details" "$LINENO" 5; } 394463165362Smrgfi 394563165362Smrg 394663165362Smrgac_ext=c 394763165362Smrgac_cpp='$CPP $CPPFLAGS' 394863165362Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 394963165362Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 395063165362Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 395163165362Smrg 395263165362Smrg 3953e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 395463165362Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3955e4c0bf4dSmrgif ${ac_cv_path_GREP+:} false; then : 395663165362Smrg $as_echo_n "(cached) " >&6 395763165362Smrgelse 395863165362Smrg if test -z "$GREP"; then 395963165362Smrg ac_path_GREP_found=false 396063165362Smrg # Loop through the user's path and test for each of PROGNAME-LIST 396163165362Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 396263165362Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 396363165362Smrgdo 396463165362Smrg IFS=$as_save_IFS 396563165362Smrg test -z "$as_dir" && as_dir=. 3966e4c0bf4dSmrg for ac_prog in grep ggrep; do 396763165362Smrg for ac_exec_ext in '' $ac_executable_extensions; do 396863165362Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 396963165362Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 397063165362Smrg# Check for GNU ac_path_GREP and select it if it is found. 397163165362Smrg # Check for GNU $ac_path_GREP 397263165362Smrgcase `"$ac_path_GREP" --version 2>&1` in 397363165362Smrg*GNU*) 397463165362Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 397563165362Smrg*) 397663165362Smrg ac_count=0 397763165362Smrg $as_echo_n 0123456789 >"conftest.in" 397863165362Smrg while : 397963165362Smrg do 398063165362Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 398163165362Smrg mv "conftest.tmp" "conftest.in" 398263165362Smrg cp "conftest.in" "conftest.nl" 398363165362Smrg $as_echo 'GREP' >> "conftest.nl" 398463165362Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 398563165362Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3986e4c0bf4dSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 398763165362Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 398863165362Smrg # Best one so far, save it but keep looking for a better one 398963165362Smrg ac_cv_path_GREP="$ac_path_GREP" 399063165362Smrg ac_path_GREP_max=$ac_count 399163165362Smrg fi 399263165362Smrg # 10*(2^10) chars as input seems more than enough 399363165362Smrg test $ac_count -gt 10 && break 399463165362Smrg done 399563165362Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 399663165362Smrgesac 399763165362Smrg 399863165362Smrg $ac_path_GREP_found && break 3 399963165362Smrg done 400063165362Smrg done 4001e4c0bf4dSmrg done 400263165362SmrgIFS=$as_save_IFS 400363165362Smrg if test -z "$ac_cv_path_GREP"; then 4004e4c0bf4dSmrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 400563165362Smrg fi 400663165362Smrgelse 400763165362Smrg ac_cv_path_GREP=$GREP 400863165362Smrgfi 400963165362Smrg 401063165362Smrgfi 4011e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 401263165362Smrg$as_echo "$ac_cv_path_GREP" >&6; } 401363165362Smrg GREP="$ac_cv_path_GREP" 401463165362Smrg 401563165362Smrg 4016e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 401763165362Smrg$as_echo_n "checking for egrep... " >&6; } 4018e4c0bf4dSmrgif ${ac_cv_path_EGREP+:} false; then : 401963165362Smrg $as_echo_n "(cached) " >&6 402063165362Smrgelse 402163165362Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 402263165362Smrg then ac_cv_path_EGREP="$GREP -E" 402363165362Smrg else 402463165362Smrg if test -z "$EGREP"; then 402563165362Smrg ac_path_EGREP_found=false 402663165362Smrg # Loop through the user's path and test for each of PROGNAME-LIST 402763165362Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 402863165362Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 402963165362Smrgdo 403063165362Smrg IFS=$as_save_IFS 403163165362Smrg test -z "$as_dir" && as_dir=. 4032e4c0bf4dSmrg for ac_prog in egrep; do 403363165362Smrg for ac_exec_ext in '' $ac_executable_extensions; do 403463165362Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 403563165362Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 403663165362Smrg# Check for GNU ac_path_EGREP and select it if it is found. 403763165362Smrg # Check for GNU $ac_path_EGREP 403863165362Smrgcase `"$ac_path_EGREP" --version 2>&1` in 403963165362Smrg*GNU*) 404063165362Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 404163165362Smrg*) 404263165362Smrg ac_count=0 404363165362Smrg $as_echo_n 0123456789 >"conftest.in" 404463165362Smrg while : 404563165362Smrg do 404663165362Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 404763165362Smrg mv "conftest.tmp" "conftest.in" 404863165362Smrg cp "conftest.in" "conftest.nl" 404963165362Smrg $as_echo 'EGREP' >> "conftest.nl" 405063165362Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 405163165362Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4052e4c0bf4dSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 405363165362Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 405463165362Smrg # Best one so far, save it but keep looking for a better one 405563165362Smrg ac_cv_path_EGREP="$ac_path_EGREP" 405663165362Smrg ac_path_EGREP_max=$ac_count 405763165362Smrg fi 405863165362Smrg # 10*(2^10) chars as input seems more than enough 405963165362Smrg test $ac_count -gt 10 && break 406063165362Smrg done 406163165362Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 406263165362Smrgesac 406363165362Smrg 406463165362Smrg $ac_path_EGREP_found && break 3 406563165362Smrg done 406663165362Smrg done 4067e4c0bf4dSmrg done 406863165362SmrgIFS=$as_save_IFS 406963165362Smrg if test -z "$ac_cv_path_EGREP"; then 4070e4c0bf4dSmrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 407163165362Smrg fi 407263165362Smrgelse 407363165362Smrg ac_cv_path_EGREP=$EGREP 407463165362Smrgfi 407563165362Smrg 407663165362Smrg fi 407763165362Smrgfi 4078e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 407963165362Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 408063165362Smrg EGREP="$ac_cv_path_EGREP" 408163165362Smrg 408263165362Smrg 4083e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 408463165362Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 4085e4c0bf4dSmrgif ${ac_cv_header_stdc+:} false; then : 408663165362Smrg $as_echo_n "(cached) " >&6 408763165362Smrgelse 4088e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 408963165362Smrg/* end confdefs.h. */ 409063165362Smrg#include <stdlib.h> 409163165362Smrg#include <stdarg.h> 409263165362Smrg#include <string.h> 409363165362Smrg#include <float.h> 409463165362Smrg 409563165362Smrgint 409663165362Smrgmain () 409763165362Smrg{ 409863165362Smrg 409963165362Smrg ; 410063165362Smrg return 0; 410163165362Smrg} 410263165362Smrg_ACEOF 4103e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 410463165362Smrg ac_cv_header_stdc=yes 410563165362Smrgelse 4106e4c0bf4dSmrg ac_cv_header_stdc=no 410763165362Smrgfi 410863165362Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 410963165362Smrg 411063165362Smrgif test $ac_cv_header_stdc = yes; then 411163165362Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4112e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 411363165362Smrg/* end confdefs.h. */ 411463165362Smrg#include <string.h> 411563165362Smrg 411663165362Smrg_ACEOF 411763165362Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4118e4c0bf4dSmrg $EGREP "memchr" >/dev/null 2>&1; then : 4119e4c0bf4dSmrg 412063165362Smrgelse 412163165362Smrg ac_cv_header_stdc=no 412263165362Smrgfi 412363165362Smrgrm -f conftest* 412463165362Smrg 412563165362Smrgfi 412663165362Smrg 412763165362Smrgif test $ac_cv_header_stdc = yes; then 412863165362Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4129e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 413063165362Smrg/* end confdefs.h. */ 413163165362Smrg#include <stdlib.h> 413263165362Smrg 413363165362Smrg_ACEOF 413463165362Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4135e4c0bf4dSmrg $EGREP "free" >/dev/null 2>&1; then : 4136e4c0bf4dSmrg 413763165362Smrgelse 413863165362Smrg ac_cv_header_stdc=no 413963165362Smrgfi 414063165362Smrgrm -f conftest* 414163165362Smrg 414263165362Smrgfi 414363165362Smrg 414463165362Smrgif test $ac_cv_header_stdc = yes; then 414563165362Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4146e4c0bf4dSmrg if test "$cross_compiling" = yes; then : 414763165362Smrg : 414863165362Smrgelse 4149e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 415063165362Smrg/* end confdefs.h. */ 415163165362Smrg#include <ctype.h> 415263165362Smrg#include <stdlib.h> 415363165362Smrg#if ((' ' & 0x0FF) == 0x020) 415463165362Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 415563165362Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 415663165362Smrg#else 415763165362Smrg# define ISLOWER(c) \ 415863165362Smrg (('a' <= (c) && (c) <= 'i') \ 415963165362Smrg || ('j' <= (c) && (c) <= 'r') \ 416063165362Smrg || ('s' <= (c) && (c) <= 'z')) 416163165362Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 416263165362Smrg#endif 416363165362Smrg 416463165362Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 416563165362Smrgint 416663165362Smrgmain () 416763165362Smrg{ 416863165362Smrg int i; 416963165362Smrg for (i = 0; i < 256; i++) 417063165362Smrg if (XOR (islower (i), ISLOWER (i)) 417163165362Smrg || toupper (i) != TOUPPER (i)) 417263165362Smrg return 2; 417363165362Smrg return 0; 417463165362Smrg} 417563165362Smrg_ACEOF 4176e4c0bf4dSmrgif ac_fn_c_try_run "$LINENO"; then : 417763165362Smrg 4178e4c0bf4dSmrgelse 4179e4c0bf4dSmrg ac_cv_header_stdc=no 418063165362Smrgfi 4181e4c0bf4dSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4182e4c0bf4dSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 418363165362Smrgfi 418463165362Smrg 418563165362Smrgfi 418663165362Smrgfi 4187e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 418863165362Smrg$as_echo "$ac_cv_header_stdc" >&6; } 418963165362Smrgif test $ac_cv_header_stdc = yes; then 419063165362Smrg 4191e4c0bf4dSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 419263165362Smrg 419363165362Smrgfi 419463165362Smrg 419563165362Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4196e4c0bf4dSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4197e4c0bf4dSmrg inttypes.h stdint.h unistd.h 4198e4c0bf4dSmrgdo : 4199e4c0bf4dSmrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4200e4c0bf4dSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4201e4c0bf4dSmrg" 4202e4c0bf4dSmrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4203e4c0bf4dSmrg cat >>confdefs.h <<_ACEOF 4204e4c0bf4dSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4205e4c0bf4dSmrg_ACEOF 420663165362Smrg 4207e4c0bf4dSmrgfi 420863165362Smrg 4209e4c0bf4dSmrgdone 421063165362Smrg 421163165362Smrg 421263165362Smrg 421363165362Smrg 4214e4c0bf4dSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4215e4c0bf4dSmrg if test -n "$ac_tool_prefix"; then 4216e4c0bf4dSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4217e4c0bf4dSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4218e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4219e4c0bf4dSmrg$as_echo_n "checking for $ac_word... " >&6; } 4220e4c0bf4dSmrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 422163165362Smrg $as_echo_n "(cached) " >&6 422263165362Smrgelse 4223e4c0bf4dSmrg case $PKG_CONFIG in 4224e4c0bf4dSmrg [\\/]* | ?:[\\/]*) 4225e4c0bf4dSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4226e4c0bf4dSmrg ;; 4227e4c0bf4dSmrg *) 4228e4c0bf4dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4229e4c0bf4dSmrgfor as_dir in $PATH 4230e4c0bf4dSmrgdo 4231e4c0bf4dSmrg IFS=$as_save_IFS 4232e4c0bf4dSmrg test -z "$as_dir" && as_dir=. 4233e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4234e4c0bf4dSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4235e4c0bf4dSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4236e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4237e4c0bf4dSmrg break 2 4238e4c0bf4dSmrg fi 4239e4c0bf4dSmrgdone 4240e4c0bf4dSmrg done 4241e4c0bf4dSmrgIFS=$as_save_IFS 424263165362Smrg 4243e4c0bf4dSmrg ;; 424463165362Smrgesac 4245e4c0bf4dSmrgfi 4246e4c0bf4dSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 4247e4c0bf4dSmrgif test -n "$PKG_CONFIG"; then 4248e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4249e4c0bf4dSmrg$as_echo "$PKG_CONFIG" >&6; } 425063165362Smrgelse 4251e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4252e4c0bf4dSmrg$as_echo "no" >&6; } 425363165362Smrgfi 425463165362Smrg 425563165362Smrg 425663165362Smrgfi 4257e4c0bf4dSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4258e4c0bf4dSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4259e4c0bf4dSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 4260e4c0bf4dSmrgset dummy pkg-config; ac_word=$2 4261e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4262e4c0bf4dSmrg$as_echo_n "checking for $ac_word... " >&6; } 4263e4c0bf4dSmrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 426463165362Smrg $as_echo_n "(cached) " >&6 426563165362Smrgelse 4266e4c0bf4dSmrg case $ac_pt_PKG_CONFIG in 4267e4c0bf4dSmrg [\\/]* | ?:[\\/]*) 4268e4c0bf4dSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4269e4c0bf4dSmrg ;; 4270e4c0bf4dSmrg *) 4271e4c0bf4dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4272e4c0bf4dSmrgfor as_dir in $PATH 4273e4c0bf4dSmrgdo 4274e4c0bf4dSmrg IFS=$as_save_IFS 4275e4c0bf4dSmrg test -z "$as_dir" && as_dir=. 4276e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4277e4c0bf4dSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4278e4c0bf4dSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4279e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4280e4c0bf4dSmrg break 2 4281e4c0bf4dSmrg fi 4282e4c0bf4dSmrgdone 4283e4c0bf4dSmrg done 4284e4c0bf4dSmrgIFS=$as_save_IFS 428563165362Smrg 4286e4c0bf4dSmrg ;; 428763165362Smrgesac 4288e4c0bf4dSmrgfi 4289e4c0bf4dSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4290e4c0bf4dSmrgif test -n "$ac_pt_PKG_CONFIG"; then 4291e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4292e4c0bf4dSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 429363165362Smrgelse 4294e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4295e4c0bf4dSmrg$as_echo "no" >&6; } 429663165362Smrgfi 429763165362Smrg 4298e4c0bf4dSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 4299e4c0bf4dSmrg PKG_CONFIG="" 4300e4c0bf4dSmrg else 4301e4c0bf4dSmrg case $cross_compiling:$ac_tool_warned in 4302e4c0bf4dSmrgyes:) 4303e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4304e4c0bf4dSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4305e4c0bf4dSmrgac_tool_warned=yes ;; 430663165362Smrgesac 4307e4c0bf4dSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 4308e4c0bf4dSmrg fi 4309e4c0bf4dSmrgelse 4310e4c0bf4dSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4311e4c0bf4dSmrgfi 431263165362Smrg 4313e4c0bf4dSmrgfi 4314e4c0bf4dSmrgif test -n "$PKG_CONFIG"; then 4315e4c0bf4dSmrg _pkg_min_version=0.9.0 4316e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4317e4c0bf4dSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4318e4c0bf4dSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4319e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4320e4c0bf4dSmrg$as_echo "yes" >&6; } 4321e4c0bf4dSmrg else 4322e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4323e4c0bf4dSmrg$as_echo "no" >&6; } 4324e4c0bf4dSmrg PKG_CONFIG="" 4325e4c0bf4dSmrg fi 432663165362Smrg 4327e4c0bf4dSmrgfi 432863165362Smrg# Make sure we can run config.sub. 432963165362Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4330e4c0bf4dSmrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 433163165362Smrg 4332e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 433363165362Smrg$as_echo_n "checking build system type... " >&6; } 4334e4c0bf4dSmrgif ${ac_cv_build+:} false; then : 433563165362Smrg $as_echo_n "(cached) " >&6 433663165362Smrgelse 433763165362Smrg ac_build_alias=$build_alias 433863165362Smrgtest "x$ac_build_alias" = x && 433963165362Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 434063165362Smrgtest "x$ac_build_alias" = x && 4341e4c0bf4dSmrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 434263165362Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4343e4c0bf4dSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 434463165362Smrg 434563165362Smrgfi 4346e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 434763165362Smrg$as_echo "$ac_cv_build" >&6; } 434863165362Smrgcase $ac_cv_build in 434963165362Smrg*-*-*) ;; 4350e4c0bf4dSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 435163165362Smrgesac 435263165362Smrgbuild=$ac_cv_build 435363165362Smrgac_save_IFS=$IFS; IFS='-' 435463165362Smrgset x $ac_cv_build 435563165362Smrgshift 435663165362Smrgbuild_cpu=$1 435763165362Smrgbuild_vendor=$2 435863165362Smrgshift; shift 435963165362Smrg# Remember, the first character of IFS is used to create $*, 436063165362Smrg# except with old shells: 436163165362Smrgbuild_os=$* 436263165362SmrgIFS=$ac_save_IFS 436363165362Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 436463165362Smrg 436563165362Smrg 4366e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 436763165362Smrg$as_echo_n "checking host system type... " >&6; } 4368e4c0bf4dSmrgif ${ac_cv_host+:} false; then : 436963165362Smrg $as_echo_n "(cached) " >&6 437063165362Smrgelse 437163165362Smrg if test "x$host_alias" = x; then 437263165362Smrg ac_cv_host=$ac_cv_build 437363165362Smrgelse 437463165362Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4375e4c0bf4dSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 437663165362Smrgfi 437763165362Smrg 437863165362Smrgfi 4379e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 438063165362Smrg$as_echo "$ac_cv_host" >&6; } 438163165362Smrgcase $ac_cv_host in 438263165362Smrg*-*-*) ;; 4383e4c0bf4dSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 438463165362Smrgesac 438563165362Smrghost=$ac_cv_host 438663165362Smrgac_save_IFS=$IFS; IFS='-' 438763165362Smrgset x $ac_cv_host 438863165362Smrgshift 438963165362Smrghost_cpu=$1 439063165362Smrghost_vendor=$2 439163165362Smrgshift; shift 439263165362Smrg# Remember, the first character of IFS is used to create $*, 439363165362Smrg# except with old shells: 439463165362Smrghost_os=$* 439563165362SmrgIFS=$ac_save_IFS 439663165362Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 439763165362Smrg 439863165362Smrg 4399e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4400e4c0bf4dSmrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4401e4c0bf4dSmrgif ${ac_cv_path_SED+:} false; then : 4402e4c0bf4dSmrg $as_echo_n "(cached) " >&6 4403e4c0bf4dSmrgelse 4404e4c0bf4dSmrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4405e4c0bf4dSmrg for ac_i in 1 2 3 4 5 6 7; do 4406e4c0bf4dSmrg ac_script="$ac_script$as_nl$ac_script" 4407e4c0bf4dSmrg done 4408e4c0bf4dSmrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4409e4c0bf4dSmrg { ac_script=; unset ac_script;} 4410e4c0bf4dSmrg if test -z "$SED"; then 4411e4c0bf4dSmrg ac_path_SED_found=false 4412e4c0bf4dSmrg # Loop through the user's path and test for each of PROGNAME-LIST 4413e4c0bf4dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4414e4c0bf4dSmrgfor as_dir in $PATH 4415e4c0bf4dSmrgdo 4416e4c0bf4dSmrg IFS=$as_save_IFS 4417e4c0bf4dSmrg test -z "$as_dir" && as_dir=. 4418e4c0bf4dSmrg for ac_prog in sed gsed; do 4419e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4420e4c0bf4dSmrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4421e4c0bf4dSmrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4422e4c0bf4dSmrg# Check for GNU ac_path_SED and select it if it is found. 4423e4c0bf4dSmrg # Check for GNU $ac_path_SED 4424e4c0bf4dSmrgcase `"$ac_path_SED" --version 2>&1` in 4425e4c0bf4dSmrg*GNU*) 4426e4c0bf4dSmrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4427e4c0bf4dSmrg*) 4428e4c0bf4dSmrg ac_count=0 4429e4c0bf4dSmrg $as_echo_n 0123456789 >"conftest.in" 4430e4c0bf4dSmrg while : 4431e4c0bf4dSmrg do 4432e4c0bf4dSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4433e4c0bf4dSmrg mv "conftest.tmp" "conftest.in" 4434e4c0bf4dSmrg cp "conftest.in" "conftest.nl" 4435e4c0bf4dSmrg $as_echo '' >> "conftest.nl" 4436e4c0bf4dSmrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4437e4c0bf4dSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4438e4c0bf4dSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 4439e4c0bf4dSmrg if test $ac_count -gt ${ac_path_SED_max-0}; then 4440e4c0bf4dSmrg # Best one so far, save it but keep looking for a better one 4441e4c0bf4dSmrg ac_cv_path_SED="$ac_path_SED" 4442e4c0bf4dSmrg ac_path_SED_max=$ac_count 4443e4c0bf4dSmrg fi 4444e4c0bf4dSmrg # 10*(2^10) chars as input seems more than enough 4445e4c0bf4dSmrg test $ac_count -gt 10 && break 4446e4c0bf4dSmrg done 4447e4c0bf4dSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4448e4c0bf4dSmrgesac 4449e4c0bf4dSmrg 4450e4c0bf4dSmrg $ac_path_SED_found && break 3 4451e4c0bf4dSmrg done 4452e4c0bf4dSmrg done 4453e4c0bf4dSmrg done 4454e4c0bf4dSmrgIFS=$as_save_IFS 4455e4c0bf4dSmrg if test -z "$ac_cv_path_SED"; then 4456e4c0bf4dSmrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4457e4c0bf4dSmrg fi 4458e4c0bf4dSmrgelse 4459e4c0bf4dSmrg ac_cv_path_SED=$SED 4460e4c0bf4dSmrgfi 4461e4c0bf4dSmrg 4462e4c0bf4dSmrgfi 4463e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4464e4c0bf4dSmrg$as_echo "$ac_cv_path_SED" >&6; } 4465e4c0bf4dSmrg SED="$ac_cv_path_SED" 4466e4c0bf4dSmrg rm -f conftest.sed 4467e4c0bf4dSmrg 4468e4c0bf4dSmrg 446963165362Smrg 447063165362Smrg 447163165362Smrg 447263165362Smrgif test "x$GCC" = xyes ; then 447363165362Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 447463165362Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4475e4c0bf4dSmrg-Wbad-function-cast -Wformat=2" 447663165362Smrg case `$CC -dumpversion` in 447763165362Smrg 3.4.* | 4.*) 447863165362Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 447963165362Smrg ;; 448063165362Smrg esac 448163165362Smrgelse 4482e4c0bf4dSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4483e4c0bf4dSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 448463165362Smrg SUNCC="yes" 448563165362Smrgelse 448663165362Smrg SUNCC="no" 448763165362Smrgfi 448863165362Smrg 448963165362Smrg if test "x$SUNCC" = "xyes"; then 449063165362Smrg CWARNFLAGS="-v" 449163165362Smrg fi 449263165362Smrgfi 449363165362Smrg 449463165362Smrg 449563165362Smrg 4496e4c0bf4dSmrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 449763165362Smrg 449863165362Smrg 449963165362Smrg 450063165362Smrg# Check whether --enable-strict-compilation was given. 4501e4c0bf4dSmrgif test "${enable_strict_compilation+set}" = set; then : 450263165362Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 450363165362Smrgelse 450463165362Smrg STRICT_COMPILE=no 450563165362Smrgfi 450663165362Smrg 450763165362Smrgif test "x$STRICT_COMPILE" = "xyes"; then 4508e4c0bf4dSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4509e4c0bf4dSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 451063165362Smrg SUNCC="yes" 451163165362Smrgelse 451263165362Smrg SUNCC="no" 451363165362Smrgfi 451463165362Smrg 4515e4c0bf4dSmrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4516e4c0bf4dSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 451763165362Smrg INTELCC="yes" 451863165362Smrgelse 451963165362Smrg INTELCC="no" 452063165362Smrgfi 452163165362Smrg 452263165362Smrg if test "x$GCC" = xyes ; then 452363165362Smrg STRICT_CFLAGS="-pedantic -Werror" 452463165362Smrg elif test "x$SUNCC" = "xyes"; then 452563165362Smrg STRICT_CFLAGS="-errwarn" 452663165362Smrg elif test "x$INTELCC" = "xyes"; then 452763165362Smrg STRICT_CFLAGS="-Werror" 452863165362Smrg fi 452963165362Smrgfi 453063165362SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 453163165362Smrg 453263165362Smrg 453363165362Smrg 453463165362Smrg 453563165362Smrgcat >>confdefs.h <<_ACEOF 453663165362Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 453763165362Smrg_ACEOF 453863165362Smrg 453963165362Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 454063165362Smrg if test "x$PVM" = "x"; then 454163165362Smrg PVM="0" 454263165362Smrg fi 454363165362Smrg 454463165362Smrgcat >>confdefs.h <<_ACEOF 454563165362Smrg#define PACKAGE_VERSION_MINOR $PVM 454663165362Smrg_ACEOF 454763165362Smrg 454863165362Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 454963165362Smrg if test "x$PVP" = "x"; then 455063165362Smrg PVP="0" 455163165362Smrg fi 455263165362Smrg 455363165362Smrgcat >>confdefs.h <<_ACEOF 455463165362Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 455563165362Smrg_ACEOF 455663165362Smrg 455763165362Smrg 455863165362Smrg 4559e4c0bf4dSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 4560e4c0bf4dSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 4561e4c0bf4dSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 456263165362Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 456363165362Smrg 4564e4c0bf4dSmrg 4565e4c0bf4dSmrg 4566e4c0bf4dSmrg 4567e4c0bf4dSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4568e4c0bf4dSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 4569e4c0bf4dSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 4570e4c0bf4dSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4571e4c0bf4dSmrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4572e4c0bf4dSmrg 457363165362Smrg 457463165362Smrg 457563165362Smrg 457663165362Smrg 457763165362Smrg 457863165362Smrgif test x$APP_MAN_SUFFIX = x ; then 457963165362Smrg APP_MAN_SUFFIX=1 458063165362Smrgfi 458163165362Smrgif test x$APP_MAN_DIR = x ; then 458263165362Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 458363165362Smrgfi 458463165362Smrg 458563165362Smrgif test x$LIB_MAN_SUFFIX = x ; then 458663165362Smrg LIB_MAN_SUFFIX=3 458763165362Smrgfi 458863165362Smrgif test x$LIB_MAN_DIR = x ; then 458963165362Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 459063165362Smrgfi 459163165362Smrg 459263165362Smrgif test x$FILE_MAN_SUFFIX = x ; then 459363165362Smrg case $host_os in 459463165362Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 459563165362Smrg *) FILE_MAN_SUFFIX=5 ;; 459663165362Smrg esac 459763165362Smrgfi 459863165362Smrgif test x$FILE_MAN_DIR = x ; then 459963165362Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 460063165362Smrgfi 460163165362Smrg 460263165362Smrgif test x$MISC_MAN_SUFFIX = x ; then 460363165362Smrg case $host_os in 460463165362Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 460563165362Smrg *) MISC_MAN_SUFFIX=7 ;; 460663165362Smrg esac 460763165362Smrgfi 460863165362Smrgif test x$MISC_MAN_DIR = x ; then 460963165362Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 461063165362Smrgfi 461163165362Smrg 461263165362Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 461363165362Smrg case $host_os in 461463165362Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 461563165362Smrg *) DRIVER_MAN_SUFFIX=4 ;; 461663165362Smrg esac 461763165362Smrgfi 461863165362Smrgif test x$DRIVER_MAN_DIR = x ; then 461963165362Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 462063165362Smrgfi 462163165362Smrg 462263165362Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 462363165362Smrg case $host_os in 462463165362Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 462563165362Smrg *) ADMIN_MAN_SUFFIX=8 ;; 462663165362Smrg esac 462763165362Smrgfi 462863165362Smrgif test x$ADMIN_MAN_DIR = x ; then 462963165362Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 463063165362Smrgfi 463163165362Smrg 463263165362Smrg 463363165362Smrg 463463165362Smrg 463563165362Smrg 463663165362Smrg 463763165362Smrg 463863165362Smrg 463963165362Smrg 464063165362Smrg 464163165362Smrg 464263165362Smrg 464363165362Smrg 464463165362Smrg 464563165362Smrg 4646e4c0bf4dSmrgXORG_MAN_PAGE="X Version 11" 4647e4c0bf4dSmrg 4648e4c0bf4dSmrgMAN_SUBSTS="\ 4649e4c0bf4dSmrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4650e4c0bf4dSmrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4651e4c0bf4dSmrg -e 's|__xservername__|Xorg|g' \ 4652e4c0bf4dSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 4653e4c0bf4dSmrg -e 's|__projectroot__|\$(prefix)|g' \ 4654e4c0bf4dSmrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 4655e4c0bf4dSmrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 4656e4c0bf4dSmrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 4657e4c0bf4dSmrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 4658e4c0bf4dSmrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 4659e4c0bf4dSmrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 4660e4c0bf4dSmrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 4661e4c0bf4dSmrg 4662e4c0bf4dSmrg 4663e4c0bf4dSmrg 4664e4c0bf4dSmrg# Check whether --enable-silent-rules was given. 4665e4c0bf4dSmrgif test "${enable_silent_rules+set}" = set; then : 4666e4c0bf4dSmrg enableval=$enable_silent_rules; 4667e4c0bf4dSmrgfi 4668e4c0bf4dSmrg 4669e4c0bf4dSmrgcase $enable_silent_rules in 4670e4c0bf4dSmrgyes) AM_DEFAULT_VERBOSITY=0;; 4671e4c0bf4dSmrgno) AM_DEFAULT_VERBOSITY=1;; 4672e4c0bf4dSmrg*) AM_DEFAULT_VERBOSITY=0;; 4673e4c0bf4dSmrgesac 4674e4c0bf4dSmrgAM_BACKSLASH='\' 4675e4c0bf4dSmrg 4676e4c0bf4dSmrg 4677e4c0bf4dSmrg 4678e4c0bf4dSmrg 4679e4c0bf4dSmrg 4680e4c0bf4dSmrg 4681e4c0bf4dSmrg 4682e4c0bf4dSmrg# Check whether --with-lint was given. 4683e4c0bf4dSmrgif test "${with_lint+set}" = set; then : 4684e4c0bf4dSmrg withval=$with_lint; use_lint=$withval 4685e4c0bf4dSmrgelse 4686e4c0bf4dSmrg use_lint=no 4687e4c0bf4dSmrgfi 468863165362Smrg 468963165362Smrg 4690e4c0bf4dSmrg# Obtain platform specific info like program name and options 4691e4c0bf4dSmrg# The lint program on FreeBSD and NetBSD is different from the one on Solaris 4692e4c0bf4dSmrgcase $host_os in 4693e4c0bf4dSmrg *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*) 4694e4c0bf4dSmrg lint_name=splint 4695e4c0bf4dSmrg lint_options="-badflag" 4696e4c0bf4dSmrg ;; 4697e4c0bf4dSmrg *freebsd* | *netbsd*) 4698e4c0bf4dSmrg lint_name=lint 4699e4c0bf4dSmrg lint_options="-u -b" 4700e4c0bf4dSmrg ;; 4701e4c0bf4dSmrg *solaris*) 4702e4c0bf4dSmrg lint_name=lint 4703e4c0bf4dSmrg lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2" 4704e4c0bf4dSmrg ;; 4705e4c0bf4dSmrgesac 470663165362Smrg 4707e4c0bf4dSmrg# Test for the presence of the program (either guessed by the code or spelled out by the user) 4708e4c0bf4dSmrgif test "x$use_lint" = x"yes" ; then 4709e4c0bf4dSmrg # Extract the first word of "$lint_name", so it can be a program name with args. 4710e4c0bf4dSmrgset dummy $lint_name; ac_word=$2 4711e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4712e4c0bf4dSmrg$as_echo_n "checking for $ac_word... " >&6; } 4713e4c0bf4dSmrgif ${ac_cv_path_LINT+:} false; then : 4714e4c0bf4dSmrg $as_echo_n "(cached) " >&6 4715e4c0bf4dSmrgelse 4716e4c0bf4dSmrg case $LINT in 4717e4c0bf4dSmrg [\\/]* | ?:[\\/]*) 4718e4c0bf4dSmrg ac_cv_path_LINT="$LINT" # Let the user override the test with a path. 4719e4c0bf4dSmrg ;; 4720e4c0bf4dSmrg *) 4721e4c0bf4dSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4722e4c0bf4dSmrgfor as_dir in $PATH 4723e4c0bf4dSmrgdo 4724e4c0bf4dSmrg IFS=$as_save_IFS 4725e4c0bf4dSmrg test -z "$as_dir" && as_dir=. 4726e4c0bf4dSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4727e4c0bf4dSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4728e4c0bf4dSmrg ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext" 4729e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4730e4c0bf4dSmrg break 2 4731e4c0bf4dSmrg fi 4732e4c0bf4dSmrgdone 4733e4c0bf4dSmrg done 4734e4c0bf4dSmrgIFS=$as_save_IFS 473563165362Smrg 4736e4c0bf4dSmrg ;; 4737e4c0bf4dSmrgesac 4738e4c0bf4dSmrgfi 4739e4c0bf4dSmrgLINT=$ac_cv_path_LINT 4740e4c0bf4dSmrgif test -n "$LINT"; then 4741e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5 4742e4c0bf4dSmrg$as_echo "$LINT" >&6; } 474363165362Smrgelse 4744e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4745e4c0bf4dSmrg$as_echo "no" >&6; } 474663165362Smrgfi 474763165362Smrg 4748e4c0bf4dSmrg 4749e4c0bf4dSmrg if test "x$LINT" = "x"; then 4750e4c0bf4dSmrg as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5 4751e4c0bf4dSmrg fi 4752e4c0bf4dSmrgelif test "x$use_lint" = x"no" ; then 4753e4c0bf4dSmrg if test "x$LINT" != "x"; then 4754e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5 4755e4c0bf4dSmrg$as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;} 4756e4c0bf4dSmrg fi 475763165362Smrgelse 4758e4c0bf4dSmrg as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5 475963165362Smrgfi 476063165362Smrg 4761e4c0bf4dSmrg# User supplied flags override default flags 4762e4c0bf4dSmrgif test "x$LINT_FLAGS" != "x"; then 4763e4c0bf4dSmrg lint_options=$LINT_FLAGS 4764e4c0bf4dSmrgfi 476563165362Smrg 4766e4c0bf4dSmrgLINT_FLAGS=$lint_options 476763165362Smrg 4768e4c0bf4dSmrg if test "x$LINT" != x; then 476963165362Smrg LINT_TRUE= 477063165362Smrg LINT_FALSE='#' 477163165362Smrgelse 477263165362Smrg LINT_TRUE='#' 477363165362Smrg LINT_FALSE= 477463165362Smrgfi 477563165362Smrg 477663165362Smrg 477763165362Smrg 477863165362Smrg 4779e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 478063165362Smrg$as_echo_n "checking return type of signal handlers... " >&6; } 4781e4c0bf4dSmrgif ${ac_cv_type_signal+:} false; then : 478263165362Smrg $as_echo_n "(cached) " >&6 478363165362Smrgelse 4784e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 478563165362Smrg/* end confdefs.h. */ 478663165362Smrg#include <sys/types.h> 478763165362Smrg#include <signal.h> 478863165362Smrg 478963165362Smrgint 479063165362Smrgmain () 479163165362Smrg{ 479263165362Smrgreturn *(signal (0, 0)) (0) == 1; 479363165362Smrg ; 47940eb10989Smrg return 0; 47950eb10989Smrg} 47960eb10989Smrg_ACEOF 4797e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 479863165362Smrg ac_cv_type_signal=int 47990eb10989Smrgelse 4800e4c0bf4dSmrg ac_cv_type_signal=void 48010eb10989Smrgfi 480263165362Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 48030eb10989Smrgfi 4804e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 480563165362Smrg$as_echo "$ac_cv_type_signal" >&6; } 48060eb10989Smrg 48070eb10989Smrgcat >>confdefs.h <<_ACEOF 48080eb10989Smrg#define RETSIGTYPE $ac_cv_type_signal 48090eb10989Smrg_ACEOF 48100eb10989Smrg 48110eb10989Smrg 48120eb10989Smrg 48130eb10989Smrgfor ac_func in rename fchmod 4814e4c0bf4dSmrgdo : 4815e4c0bf4dSmrg as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4816e4c0bf4dSmrgac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 4817e4c0bf4dSmrgif eval test \"x\$"$as_ac_var"\" = x"yes"; then : 48180eb10989Smrg cat >>confdefs.h <<_ACEOF 481963165362Smrg#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 48200eb10989Smrg_ACEOF 48210eb10989Smrg 48220eb10989Smrgfi 48230eb10989Smrgdone 48240eb10989Smrg 48250eb10989Smrg 482663165362Smrg# Check whether --enable-largefile was given. 4827e4c0bf4dSmrgif test "${enable_largefile+set}" = set; then : 482863165362Smrg enableval=$enable_largefile; 482963165362Smrgfi 48300eb10989Smrg 48310eb10989Smrgif test "$enable_largefile" != no; then 48320eb10989Smrg 4833e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 483463165362Smrg$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 4835e4c0bf4dSmrgif ${ac_cv_sys_largefile_CC+:} false; then : 483663165362Smrg $as_echo_n "(cached) " >&6 48370eb10989Smrgelse 48380eb10989Smrg ac_cv_sys_largefile_CC=no 48390eb10989Smrg if test "$GCC" != yes; then 48400eb10989Smrg ac_save_CC=$CC 48410eb10989Smrg while :; do 484263165362Smrg # IRIX 6.2 and later do not support large files by default, 484363165362Smrg # so use the C compiler's -n32 option if that helps. 4844e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48450eb10989Smrg/* end confdefs.h. */ 48460eb10989Smrg#include <sys/types.h> 48470eb10989Smrg /* Check that off_t can represent 2**63 - 1 correctly. 48480eb10989Smrg We can't simply define LARGE_OFF_T to be 9223372036854775807, 48490eb10989Smrg since some C++ compilers masquerading as C compilers 48500eb10989Smrg incorrectly reject 9223372036854775807. */ 48510eb10989Smrg#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 48520eb10989Smrg int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 48530eb10989Smrg && LARGE_OFF_T % 2147483647 == 1) 48540eb10989Smrg ? 1 : -1]; 48550eb10989Smrgint 48560eb10989Smrgmain () 48570eb10989Smrg{ 48580eb10989Smrg 48590eb10989Smrg ; 48600eb10989Smrg return 0; 48610eb10989Smrg} 48620eb10989Smrg_ACEOF 4863e4c0bf4dSmrg if ac_fn_c_try_compile "$LINENO"; then : 48640eb10989Smrg break 48650eb10989Smrgfi 486663165362Smrgrm -f core conftest.err conftest.$ac_objext 486763165362Smrg CC="$CC -n32" 4868e4c0bf4dSmrg if ac_fn_c_try_compile "$LINENO"; then : 48690eb10989Smrg ac_cv_sys_largefile_CC=' -n32'; break 48700eb10989Smrgfi 487163165362Smrgrm -f core conftest.err conftest.$ac_objext 48720eb10989Smrg break 48730eb10989Smrg done 48740eb10989Smrg CC=$ac_save_CC 48750eb10989Smrg rm -f conftest.$ac_ext 48760eb10989Smrg fi 48770eb10989Smrgfi 4878e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 487963165362Smrg$as_echo "$ac_cv_sys_largefile_CC" >&6; } 48800eb10989Smrg if test "$ac_cv_sys_largefile_CC" != no; then 48810eb10989Smrg CC=$CC$ac_cv_sys_largefile_CC 48820eb10989Smrg fi 48830eb10989Smrg 4884e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 488563165362Smrg$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 4886e4c0bf4dSmrgif ${ac_cv_sys_file_offset_bits+:} false; then : 488763165362Smrg $as_echo_n "(cached) " >&6 48880eb10989Smrgelse 48890eb10989Smrg while :; do 4890e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48910eb10989Smrg/* end confdefs.h. */ 48920eb10989Smrg#include <sys/types.h> 48930eb10989Smrg /* Check that off_t can represent 2**63 - 1 correctly. 48940eb10989Smrg We can't simply define LARGE_OFF_T to be 9223372036854775807, 48950eb10989Smrg since some C++ compilers masquerading as C compilers 48960eb10989Smrg incorrectly reject 9223372036854775807. */ 48970eb10989Smrg#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 48980eb10989Smrg int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 48990eb10989Smrg && LARGE_OFF_T % 2147483647 == 1) 49000eb10989Smrg ? 1 : -1]; 49010eb10989Smrgint 49020eb10989Smrgmain () 49030eb10989Smrg{ 49040eb10989Smrg 49050eb10989Smrg ; 49060eb10989Smrg return 0; 49070eb10989Smrg} 49080eb10989Smrg_ACEOF 4909e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 491063165362Smrg ac_cv_sys_file_offset_bits=no; break 49110eb10989Smrgfi 491263165362Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4913e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49140eb10989Smrg/* end confdefs.h. */ 49150eb10989Smrg#define _FILE_OFFSET_BITS 64 49160eb10989Smrg#include <sys/types.h> 49170eb10989Smrg /* Check that off_t can represent 2**63 - 1 correctly. 49180eb10989Smrg We can't simply define LARGE_OFF_T to be 9223372036854775807, 49190eb10989Smrg since some C++ compilers masquerading as C compilers 49200eb10989Smrg incorrectly reject 9223372036854775807. */ 49210eb10989Smrg#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 49220eb10989Smrg int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 49230eb10989Smrg && LARGE_OFF_T % 2147483647 == 1) 49240eb10989Smrg ? 1 : -1]; 49250eb10989Smrgint 49260eb10989Smrgmain () 49270eb10989Smrg{ 49280eb10989Smrg 49290eb10989Smrg ; 49300eb10989Smrg return 0; 49310eb10989Smrg} 49320eb10989Smrg_ACEOF 4933e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 49340eb10989Smrg ac_cv_sys_file_offset_bits=64; break 49350eb10989Smrgfi 493663165362Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 493763165362Smrg ac_cv_sys_file_offset_bits=unknown 49380eb10989Smrg break 49390eb10989Smrgdone 49400eb10989Smrgfi 4941e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 494263165362Smrg$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 494363165362Smrgcase $ac_cv_sys_file_offset_bits in #( 494463165362Smrg no | unknown) ;; 494563165362Smrg *) 49460eb10989Smrgcat >>confdefs.h <<_ACEOF 49470eb10989Smrg#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 49480eb10989Smrg_ACEOF 494963165362Smrg;; 495063165362Smrgesac 495163165362Smrgrm -rf conftest* 495263165362Smrg if test $ac_cv_sys_file_offset_bits = unknown; then 4953e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 495463165362Smrg$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 4955e4c0bf4dSmrgif ${ac_cv_sys_large_files+:} false; then : 495663165362Smrg $as_echo_n "(cached) " >&6 49570eb10989Smrgelse 49580eb10989Smrg while :; do 4959e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49600eb10989Smrg/* end confdefs.h. */ 49610eb10989Smrg#include <sys/types.h> 49620eb10989Smrg /* Check that off_t can represent 2**63 - 1 correctly. 49630eb10989Smrg We can't simply define LARGE_OFF_T to be 9223372036854775807, 49640eb10989Smrg since some C++ compilers masquerading as C compilers 49650eb10989Smrg incorrectly reject 9223372036854775807. */ 49660eb10989Smrg#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 49670eb10989Smrg int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 49680eb10989Smrg && LARGE_OFF_T % 2147483647 == 1) 49690eb10989Smrg ? 1 : -1]; 49700eb10989Smrgint 49710eb10989Smrgmain () 49720eb10989Smrg{ 49730eb10989Smrg 49740eb10989Smrg ; 49750eb10989Smrg return 0; 49760eb10989Smrg} 49770eb10989Smrg_ACEOF 4978e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 497963165362Smrg ac_cv_sys_large_files=no; break 49800eb10989Smrgfi 498163165362Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4982e4c0bf4dSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49830eb10989Smrg/* end confdefs.h. */ 49840eb10989Smrg#define _LARGE_FILES 1 49850eb10989Smrg#include <sys/types.h> 49860eb10989Smrg /* Check that off_t can represent 2**63 - 1 correctly. 49870eb10989Smrg We can't simply define LARGE_OFF_T to be 9223372036854775807, 49880eb10989Smrg since some C++ compilers masquerading as C compilers 49890eb10989Smrg incorrectly reject 9223372036854775807. */ 49900eb10989Smrg#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 49910eb10989Smrg int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 49920eb10989Smrg && LARGE_OFF_T % 2147483647 == 1) 49930eb10989Smrg ? 1 : -1]; 49940eb10989Smrgint 49950eb10989Smrgmain () 49960eb10989Smrg{ 49970eb10989Smrg 49980eb10989Smrg ; 49990eb10989Smrg return 0; 50000eb10989Smrg} 50010eb10989Smrg_ACEOF 5002e4c0bf4dSmrgif ac_fn_c_try_compile "$LINENO"; then : 50030eb10989Smrg ac_cv_sys_large_files=1; break 50040eb10989Smrgfi 500563165362Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 500663165362Smrg ac_cv_sys_large_files=unknown 50070eb10989Smrg break 50080eb10989Smrgdone 50090eb10989Smrgfi 5010e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 501163165362Smrg$as_echo "$ac_cv_sys_large_files" >&6; } 501263165362Smrgcase $ac_cv_sys_large_files in #( 501363165362Smrg no | unknown) ;; 501463165362Smrg *) 50150eb10989Smrgcat >>confdefs.h <<_ACEOF 50160eb10989Smrg#define _LARGE_FILES $ac_cv_sys_large_files 50170eb10989Smrg_ACEOF 501863165362Smrg;; 501963165362Smrgesac 502063165362Smrgrm -rf conftest* 502163165362Smrg fi 50220eb10989Smrgfi 50230eb10989Smrg 50240eb10989Smrg 50250eb10989Smrg 502663165362Smrgpkg_failed=no 5027e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 502863165362Smrg$as_echo_n "checking for X... " >&6; } 502963165362Smrg 503063165362Smrgif test -n "$X_CFLAGS"; then 503163165362Smrg pkg_cv_X_CFLAGS="$X_CFLAGS" 503263165362Smrg elif test -n "$PKG_CONFIG"; then 503363165362Smrg if test -n "$PKG_CONFIG" && \ 5034e4c0bf4dSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5 503563165362Smrg ($PKG_CONFIG --exists --print-errors "xproto") 2>&5 503663165362Smrg ac_status=$? 5037e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5038e4c0bf4dSmrg test $ac_status = 0; }; then 503963165362Smrg pkg_cv_X_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null` 504063165362Smrgelse 504163165362Smrg pkg_failed=yes 50420eb10989Smrgfi 504363165362Smrg else 504463165362Smrg pkg_failed=untried 50450eb10989Smrgfi 504663165362Smrgif test -n "$X_LIBS"; then 504763165362Smrg pkg_cv_X_LIBS="$X_LIBS" 504863165362Smrg elif test -n "$PKG_CONFIG"; then 504963165362Smrg if test -n "$PKG_CONFIG" && \ 5050e4c0bf4dSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5 505163165362Smrg ($PKG_CONFIG --exists --print-errors "xproto") 2>&5 505263165362Smrg ac_status=$? 5053e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5054e4c0bf4dSmrg test $ac_status = 0; }; then 505563165362Smrg pkg_cv_X_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null` 505663165362Smrgelse 505763165362Smrg pkg_failed=yes 50580eb10989Smrgfi 505963165362Smrg else 506063165362Smrg pkg_failed=untried 50610eb10989Smrgfi 50620eb10989Smrg 50630eb10989Smrg 50640eb10989Smrg 506563165362Smrgif test $pkg_failed = yes; then 50660eb10989Smrg 506763165362Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 506863165362Smrg _pkg_short_errors_supported=yes 506963165362Smrgelse 507063165362Smrg _pkg_short_errors_supported=no 507163165362Smrgfi 507263165362Smrg if test $_pkg_short_errors_supported = yes; then 507363165362Smrg X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1` 507463165362Smrg else 507563165362Smrg X_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1` 507663165362Smrg fi 507763165362Smrg # Put the nasty error message in config.log where it belongs 507863165362Smrg echo "$X_PKG_ERRORS" >&5 50790eb10989Smrg 5080e4c0bf4dSmrg as_fn_error $? "Package requirements (xproto) were not met: 50810eb10989Smrg 508263165362Smrg$X_PKG_ERRORS 50830eb10989Smrg 508463165362SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 508563165362Smrginstalled software in a non-standard prefix. 50860eb10989Smrg 508763165362SmrgAlternatively, you may set the environment variables X_CFLAGS 508863165362Smrgand X_LIBS to avoid the need to call pkg-config. 508963165362SmrgSee the pkg-config man page for more details. 5090e4c0bf4dSmrg" "$LINENO" 5 509163165362Smrgelif test $pkg_failed = untried; then 5092e4c0bf4dSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 509363165362Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5094e4c0bf4dSmrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 509563165362Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 509663165362Smrgpath to pkg-config. 50970eb10989Smrg 509863165362SmrgAlternatively, you may set the environment variables X_CFLAGS 509963165362Smrgand X_LIBS to avoid the need to call pkg-config. 510063165362SmrgSee the pkg-config man page for more details. 51010eb10989Smrg 510263165362SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 5103e4c0bf4dSmrgSee \`config.log' for more details" "$LINENO" 5; } 51040eb10989Smrgelse 510563165362Smrg X_CFLAGS=$pkg_cv_X_CFLAGS 510663165362Smrg X_LIBS=$pkg_cv_X_LIBS 5107e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 510863165362Smrg$as_echo "yes" >&6; } 510963165362Smrg : 511063165362Smrgfi 51110eb10989Smrg 51120eb10989Smrg 511363165362Smrgac_config_files="$ac_config_files Makefile" 51140eb10989Smrg 51150eb10989Smrgcat >confcache <<\_ACEOF 51160eb10989Smrg# This file is a shell script that caches the results of configure 51170eb10989Smrg# tests run on this system so they can be shared between configure 51180eb10989Smrg# scripts and configure runs, see configure's option --config-cache. 51190eb10989Smrg# It is not useful on other systems. If it contains results you don't 51200eb10989Smrg# want to keep, you may remove or edit it. 51210eb10989Smrg# 51220eb10989Smrg# config.status only pays attention to the cache file if you give it 51230eb10989Smrg# the --recheck option to rerun configure. 51240eb10989Smrg# 51250eb10989Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 51260eb10989Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 51270eb10989Smrg# following values. 51280eb10989Smrg 51290eb10989Smrg_ACEOF 51300eb10989Smrg 51310eb10989Smrg# The following way of writing the cache mishandles newlines in values, 51320eb10989Smrg# but we know of no workaround that is simple, portable, and efficient. 513363165362Smrg# So, we kill variables containing newlines. 51340eb10989Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 51350eb10989Smrg# and sets the high bit in the cache file unless we assign to the vars. 513663165362Smrg( 513763165362Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 513863165362Smrg eval ac_val=\$$ac_var 513963165362Smrg case $ac_val in #( 514063165362Smrg *${as_nl}*) 514163165362Smrg case $ac_var in #( 5142e4c0bf4dSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 514363165362Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 514463165362Smrg esac 514563165362Smrg case $ac_var in #( 514663165362Smrg _ | IFS | as_nl) ;; #( 514763165362Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5148e4c0bf4dSmrg *) { eval $ac_var=; unset $ac_var;} ;; 514963165362Smrg esac ;; 515063165362Smrg esac 515163165362Smrg done 515263165362Smrg 51530eb10989Smrg (set) 2>&1 | 515463165362Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 515563165362Smrg *${as_nl}ac_space=\ *) 5156e4c0bf4dSmrg # `set' does not quote correctly, so add quotes: double-quote 5157e4c0bf4dSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 51580eb10989Smrg sed -n \ 51590eb10989Smrg "s/'/'\\\\''/g; 51600eb10989Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 516163165362Smrg ;; #( 51620eb10989Smrg *) 51630eb10989Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 516463165362Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 51650eb10989Smrg ;; 516663165362Smrg esac | 516763165362Smrg sort 516863165362Smrg) | 51690eb10989Smrg sed ' 517063165362Smrg /^ac_cv_env_/b end 51710eb10989Smrg t clear 517263165362Smrg :clear 51730eb10989Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 51740eb10989Smrg t end 517563165362Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 517663165362Smrg :end' >>confcache 517763165362Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 517863165362Smrg if test -w "$cache_file"; then 5179e4c0bf4dSmrg if test "x$cache_file" != "x/dev/null"; then 5180e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 518163165362Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 5182e4c0bf4dSmrg if test ! -f "$cache_file" || test -h "$cache_file"; then 5183e4c0bf4dSmrg cat confcache >"$cache_file" 5184e4c0bf4dSmrg else 5185e4c0bf4dSmrg case $cache_file in #( 5186e4c0bf4dSmrg */* | ?:*) 5187e4c0bf4dSmrg mv -f confcache "$cache_file"$$ && 5188e4c0bf4dSmrg mv -f "$cache_file"$$ "$cache_file" ;; #( 5189e4c0bf4dSmrg *) 5190e4c0bf4dSmrg mv -f confcache "$cache_file" ;; 5191e4c0bf4dSmrg esac 5192e4c0bf4dSmrg fi 5193e4c0bf4dSmrg fi 51940eb10989Smrg else 5195e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 519663165362Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 51970eb10989Smrg fi 51980eb10989Smrgfi 51990eb10989Smrgrm -f confcache 52000eb10989Smrg 52010eb10989Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 52020eb10989Smrg# Let make expand exec_prefix. 52030eb10989Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 52040eb10989Smrg 52050eb10989SmrgDEFS=-DHAVE_CONFIG_H 52060eb10989Smrg 52070eb10989Smrgac_libobjs= 52080eb10989Smrgac_ltlibobjs= 5209e4c0bf4dSmrgU= 52100eb10989Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 52110eb10989Smrg # 1. Remove the extension, and $U if already installed. 521263165362Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 521363165362Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 521463165362Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 521563165362Smrg # will be set to the directory where LIBOBJS objects are built. 5216e4c0bf4dSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5217e4c0bf4dSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 52180eb10989Smrgdone 52190eb10989SmrgLIBOBJS=$ac_libobjs 52200eb10989Smrg 52210eb10989SmrgLTLIBOBJS=$ac_ltlibobjs 52220eb10989Smrg 52230eb10989Smrg 522463165362Smrg if test -n "$EXEEXT"; then 522563165362Smrg am__EXEEXT_TRUE= 522663165362Smrg am__EXEEXT_FALSE='#' 522763165362Smrgelse 522863165362Smrg am__EXEEXT_TRUE='#' 522963165362Smrg am__EXEEXT_FALSE= 523063165362Smrgfi 523163165362Smrg 52320eb10989Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5233e4c0bf4dSmrg as_fn_error $? "conditional \"AMDEP\" was never defined. 5234e4c0bf4dSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 52350eb10989Smrgfi 52360eb10989Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5237e4c0bf4dSmrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 5238e4c0bf4dSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 523963165362Smrgfi 524063165362Smrgif test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then 5241e4c0bf4dSmrg as_fn_error $? "conditional \"LINT\" was never defined. 5242e4c0bf4dSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 52430eb10989Smrgfi 52440eb10989Smrg 5245e4c0bf4dSmrg: "${CONFIG_STATUS=./config.status}" 524663165362Smrgac_write_fail=0 52470eb10989Smrgac_clean_files_save=$ac_clean_files 52480eb10989Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 5249e4c0bf4dSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 525063165362Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5251e4c0bf4dSmrgas_write_fail=0 5252e4c0bf4dSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 52530eb10989Smrg#! $SHELL 52540eb10989Smrg# Generated by $as_me. 52550eb10989Smrg# Run this file to recreate the current configuration. 52560eb10989Smrg# Compiler output produced by configure, useful for debugging 52570eb10989Smrg# configure, is in config.log if it exists. 52580eb10989Smrg 52590eb10989Smrgdebug=false 52600eb10989Smrgac_cs_recheck=false 52610eb10989Smrgac_cs_silent=false 52620eb10989Smrg 5263e4c0bf4dSmrgSHELL=\${CONFIG_SHELL-$SHELL} 5264e4c0bf4dSmrgexport SHELL 5265e4c0bf4dSmrg_ASEOF 5266e4c0bf4dSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 5267e4c0bf4dSmrg## -------------------- ## 5268e4c0bf4dSmrg## M4sh Initialization. ## 5269e4c0bf4dSmrg## -------------------- ## 52700eb10989Smrg 527163165362Smrg# Be more Bourne compatible 527263165362SmrgDUALCASE=1; export DUALCASE # for MKS sh 5273e4c0bf4dSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 52740eb10989Smrg emulate sh 52750eb10989Smrg NULLCMD=: 527663165362Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 52770eb10989Smrg # is contrary to our usage. Disable this feature. 52780eb10989Smrg alias -g '${1+"$@"}'='"$@"' 527963165362Smrg setopt NO_GLOB_SUBST 528063165362Smrgelse 5281e4c0bf4dSmrg case `(set -o) 2>/dev/null` in #( 5282e4c0bf4dSmrg *posix*) : 5283e4c0bf4dSmrg set -o posix ;; #( 5284e4c0bf4dSmrg *) : 5285e4c0bf4dSmrg ;; 528663165362Smrgesac 528763165362Smrgfi 528863165362Smrg 528963165362Smrg 529063165362Smrgas_nl=' 529163165362Smrg' 529263165362Smrgexport as_nl 529363165362Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 529463165362Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 529563165362Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 529663165362Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5297e4c0bf4dSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 5298e4c0bf4dSmrg# but without wasting forks for bash or zsh. 5299e4c0bf4dSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 5300e4c0bf4dSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 5301e4c0bf4dSmrg as_echo='print -r --' 5302e4c0bf4dSmrg as_echo_n='print -rn --' 5303e4c0bf4dSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 530463165362Smrg as_echo='printf %s\n' 530563165362Smrg as_echo_n='printf %s' 530663165362Smrgelse 530763165362Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 530863165362Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 530963165362Smrg as_echo_n='/usr/ucb/echo -n' 531063165362Smrg else 531163165362Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 531263165362Smrg as_echo_n_body='eval 531363165362Smrg arg=$1; 5314e4c0bf4dSmrg case $arg in #( 531563165362Smrg *"$as_nl"*) 531663165362Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 531763165362Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 531863165362Smrg esac; 531963165362Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 532063165362Smrg ' 532163165362Smrg export as_echo_n_body 532263165362Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 532363165362Smrg fi 532463165362Smrg export as_echo_body 532563165362Smrg as_echo='sh -c $as_echo_body as_echo' 532663165362Smrgfi 532763165362Smrg 532863165362Smrg# The user is always right. 532963165362Smrgif test "${PATH_SEPARATOR+set}" != set; then 533063165362Smrg PATH_SEPARATOR=: 533163165362Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 533263165362Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 533363165362Smrg PATH_SEPARATOR=';' 533463165362Smrg } 53350eb10989Smrgfi 53360eb10989Smrg 53370eb10989Smrg 533863165362Smrg# IFS 533963165362Smrg# We need space, tab and new line, in precisely that order. Quoting is 534063165362Smrg# there to prevent editors from complaining about space-tab. 534163165362Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 534263165362Smrg# splitting by setting IFS to empty value.) 534363165362SmrgIFS=" "" $as_nl" 534463165362Smrg 534563165362Smrg# Find who we are. Look in the path if we contain no directory separator. 5346e4c0bf4dSmrgas_myself= 5347e4c0bf4dSmrgcase $0 in #(( 534863165362Smrg *[\\/]* ) as_myself=$0 ;; 534963165362Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 535063165362Smrgfor as_dir in $PATH 535163165362Smrgdo 535263165362Smrg IFS=$as_save_IFS 535363165362Smrg test -z "$as_dir" && as_dir=. 5354e4c0bf4dSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5355e4c0bf4dSmrg done 535663165362SmrgIFS=$as_save_IFS 535763165362Smrg 535863165362Smrg ;; 535963165362Smrgesac 536063165362Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 536163165362Smrg# in which case we are not to be found in the path. 536263165362Smrgif test "x$as_myself" = x; then 536363165362Smrg as_myself=$0 536463165362Smrgfi 536563165362Smrgif test ! -f "$as_myself"; then 536663165362Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5367e4c0bf4dSmrg exit 1 536863165362Smrgfi 536963165362Smrg 5370e4c0bf4dSmrg# Unset variables that we do not need and which cause bugs (e.g. in 5371e4c0bf4dSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5372e4c0bf4dSmrg# suppresses any "Segmentation fault" message there. '((' could 5373e4c0bf4dSmrg# trigger a bug in pdksh 5.2.14. 5374e4c0bf4dSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 5375e4c0bf4dSmrgdo eval test x\${$as_var+set} = xset \ 5376e4c0bf4dSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 537763165362Smrgdone 53780eb10989SmrgPS1='$ ' 53790eb10989SmrgPS2='> ' 53800eb10989SmrgPS4='+ ' 53810eb10989Smrg 53820eb10989Smrg# NLS nuisances. 538363165362SmrgLC_ALL=C 538463165362Smrgexport LC_ALL 538563165362SmrgLANGUAGE=C 538663165362Smrgexport LANGUAGE 53870eb10989Smrg 5388e4c0bf4dSmrg# CDPATH. 5389e4c0bf4dSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5390e4c0bf4dSmrg 5391e4c0bf4dSmrg 5392e4c0bf4dSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 5393e4c0bf4dSmrg# ---------------------------------------- 5394e4c0bf4dSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5395e4c0bf4dSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5396e4c0bf4dSmrg# script with STATUS, using 1 if that was 0. 5397e4c0bf4dSmrgas_fn_error () 5398e4c0bf4dSmrg{ 5399e4c0bf4dSmrg as_status=$1; test $as_status -eq 0 && as_status=1 5400e4c0bf4dSmrg if test "$4"; then 5401e4c0bf4dSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5402e4c0bf4dSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5403e4c0bf4dSmrg fi 5404e4c0bf4dSmrg $as_echo "$as_me: error: $2" >&2 5405e4c0bf4dSmrg as_fn_exit $as_status 5406e4c0bf4dSmrg} # as_fn_error 5407e4c0bf4dSmrg 5408e4c0bf4dSmrg 5409e4c0bf4dSmrg# as_fn_set_status STATUS 5410e4c0bf4dSmrg# ----------------------- 5411e4c0bf4dSmrg# Set $? to STATUS, without forking. 5412e4c0bf4dSmrgas_fn_set_status () 5413e4c0bf4dSmrg{ 5414e4c0bf4dSmrg return $1 5415e4c0bf4dSmrg} # as_fn_set_status 5416e4c0bf4dSmrg 5417e4c0bf4dSmrg# as_fn_exit STATUS 5418e4c0bf4dSmrg# ----------------- 5419e4c0bf4dSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5420e4c0bf4dSmrgas_fn_exit () 5421e4c0bf4dSmrg{ 5422e4c0bf4dSmrg set +e 5423e4c0bf4dSmrg as_fn_set_status $1 5424e4c0bf4dSmrg exit $1 5425e4c0bf4dSmrg} # as_fn_exit 5426e4c0bf4dSmrg 5427e4c0bf4dSmrg# as_fn_unset VAR 5428e4c0bf4dSmrg# --------------- 5429e4c0bf4dSmrg# Portably unset VAR. 5430e4c0bf4dSmrgas_fn_unset () 5431e4c0bf4dSmrg{ 5432e4c0bf4dSmrg { eval $1=; unset $1;} 5433e4c0bf4dSmrg} 5434e4c0bf4dSmrgas_unset=as_fn_unset 5435e4c0bf4dSmrg# as_fn_append VAR VALUE 5436e4c0bf4dSmrg# ---------------------- 5437e4c0bf4dSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 5438e4c0bf4dSmrg# advantage of any shell optimizations that allow amortized linear growth over 5439e4c0bf4dSmrg# repeated appends, instead of the typical quadratic growth present in naive 5440e4c0bf4dSmrg# implementations. 5441e4c0bf4dSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5442e4c0bf4dSmrg eval 'as_fn_append () 5443e4c0bf4dSmrg { 5444e4c0bf4dSmrg eval $1+=\$2 5445e4c0bf4dSmrg }' 5446e4c0bf4dSmrgelse 5447e4c0bf4dSmrg as_fn_append () 5448e4c0bf4dSmrg { 5449e4c0bf4dSmrg eval $1=\$$1\$2 5450e4c0bf4dSmrg } 5451e4c0bf4dSmrgfi # as_fn_append 5452e4c0bf4dSmrg 5453e4c0bf4dSmrg# as_fn_arith ARG... 5454e4c0bf4dSmrg# ------------------ 5455e4c0bf4dSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 5456e4c0bf4dSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 5457e4c0bf4dSmrg# must be portable across $(()) and expr. 5458e4c0bf4dSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5459e4c0bf4dSmrg eval 'as_fn_arith () 5460e4c0bf4dSmrg { 5461e4c0bf4dSmrg as_val=$(( $* )) 5462e4c0bf4dSmrg }' 5463e4c0bf4dSmrgelse 5464e4c0bf4dSmrg as_fn_arith () 5465e4c0bf4dSmrg { 5466e4c0bf4dSmrg as_val=`expr "$@" || test $? -eq 1` 5467e4c0bf4dSmrg } 5468e4c0bf4dSmrgfi # as_fn_arith 5469e4c0bf4dSmrg 5470e4c0bf4dSmrg 547163165362Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 547263165362Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 54730eb10989Smrg as_expr=expr 54740eb10989Smrgelse 54750eb10989Smrg as_expr=false 54760eb10989Smrgfi 54770eb10989Smrg 547863165362Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 54790eb10989Smrg as_basename=basename 54800eb10989Smrgelse 54810eb10989Smrg as_basename=false 54820eb10989Smrgfi 54830eb10989Smrg 5484e4c0bf4dSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5485e4c0bf4dSmrg as_dirname=dirname 5486e4c0bf4dSmrgelse 5487e4c0bf4dSmrg as_dirname=false 5488e4c0bf4dSmrgfi 54890eb10989Smrg 549063165362Smrgas_me=`$as_basename -- "$0" || 54910eb10989Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 54920eb10989Smrg X"$0" : 'X\(//\)$' \| \ 549363165362Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 549463165362Smrg$as_echo X/"$0" | 549563165362Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 549663165362Smrg s//\1/ 549763165362Smrg q 549863165362Smrg } 549963165362Smrg /^X\/\(\/\/\)$/{ 550063165362Smrg s//\1/ 550163165362Smrg q 550263165362Smrg } 550363165362Smrg /^X\/\(\/\).*/{ 550463165362Smrg s//\1/ 550563165362Smrg q 550663165362Smrg } 550763165362Smrg s/.*/./; q'` 55080eb10989Smrg 5509e4c0bf4dSmrg# Avoid depending upon Character Ranges. 5510e4c0bf4dSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 5511e4c0bf4dSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5512e4c0bf4dSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 5513e4c0bf4dSmrgas_cr_digits='0123456789' 5514e4c0bf4dSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 55150eb10989Smrg 551663165362SmrgECHO_C= ECHO_N= ECHO_T= 5517e4c0bf4dSmrgcase `echo -n x` in #((((( 551863165362Smrg-n*) 5519e4c0bf4dSmrg case `echo 'xy\c'` in 552063165362Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5521e4c0bf4dSmrg xy) ECHO_C='\c';; 5522e4c0bf4dSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5523e4c0bf4dSmrg ECHO_T=' ';; 552463165362Smrg esac;; 552563165362Smrg*) 552663165362Smrg ECHO_N='-n';; 552763165362Smrgesac 55280eb10989Smrg 55290eb10989Smrgrm -f conf$$ conf$$.exe conf$$.file 553063165362Smrgif test -d conf$$.dir; then 553163165362Smrg rm -f conf$$.dir/conf$$.file 553263165362Smrgelse 553363165362Smrg rm -f conf$$.dir 553463165362Smrg mkdir conf$$.dir 2>/dev/null 553563165362Smrgfi 553663165362Smrgif (echo >conf$$.file) 2>/dev/null; then 553763165362Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 55380eb10989Smrg as_ln_s='ln -s' 553963165362Smrg # ... but there are two gotchas: 554063165362Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 554163165362Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 554263165362Smrg # In both cases, we have to default to `cp -p'. 554363165362Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 554463165362Smrg as_ln_s='cp -p' 554563165362Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 554663165362Smrg as_ln_s=ln 554763165362Smrg else 554863165362Smrg as_ln_s='cp -p' 55490eb10989Smrg fi 55500eb10989Smrgelse 55510eb10989Smrg as_ln_s='cp -p' 55520eb10989Smrgfi 555363165362Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 555463165362Smrgrmdir conf$$.dir 2>/dev/null 55550eb10989Smrg 5556e4c0bf4dSmrg 5557e4c0bf4dSmrg# as_fn_mkdir_p 5558e4c0bf4dSmrg# ------------- 5559e4c0bf4dSmrg# Create "$as_dir" as a directory, including parents if necessary. 5560e4c0bf4dSmrgas_fn_mkdir_p () 5561e4c0bf4dSmrg{ 5562e4c0bf4dSmrg 5563e4c0bf4dSmrg case $as_dir in #( 5564e4c0bf4dSmrg -*) as_dir=./$as_dir;; 5565e4c0bf4dSmrg esac 5566e4c0bf4dSmrg test -d "$as_dir" || eval $as_mkdir_p || { 5567e4c0bf4dSmrg as_dirs= 5568e4c0bf4dSmrg while :; do 5569e4c0bf4dSmrg case $as_dir in #( 5570e4c0bf4dSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5571e4c0bf4dSmrg *) as_qdir=$as_dir;; 5572e4c0bf4dSmrg esac 5573e4c0bf4dSmrg as_dirs="'$as_qdir' $as_dirs" 5574e4c0bf4dSmrg as_dir=`$as_dirname -- "$as_dir" || 5575e4c0bf4dSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5576e4c0bf4dSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 5577e4c0bf4dSmrg X"$as_dir" : 'X\(//\)$' \| \ 5578e4c0bf4dSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5579e4c0bf4dSmrg$as_echo X"$as_dir" | 5580e4c0bf4dSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5581e4c0bf4dSmrg s//\1/ 5582e4c0bf4dSmrg q 5583e4c0bf4dSmrg } 5584e4c0bf4dSmrg /^X\(\/\/\)[^/].*/{ 5585e4c0bf4dSmrg s//\1/ 5586e4c0bf4dSmrg q 5587e4c0bf4dSmrg } 5588e4c0bf4dSmrg /^X\(\/\/\)$/{ 5589e4c0bf4dSmrg s//\1/ 5590e4c0bf4dSmrg q 5591e4c0bf4dSmrg } 5592e4c0bf4dSmrg /^X\(\/\).*/{ 5593e4c0bf4dSmrg s//\1/ 5594e4c0bf4dSmrg q 5595e4c0bf4dSmrg } 5596e4c0bf4dSmrg s/.*/./; q'` 5597e4c0bf4dSmrg test -d "$as_dir" && break 5598e4c0bf4dSmrg done 5599e4c0bf4dSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 5600e4c0bf4dSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5601e4c0bf4dSmrg 5602e4c0bf4dSmrg 5603e4c0bf4dSmrg} # as_fn_mkdir_p 56040eb10989Smrgif mkdir -p . 2>/dev/null; then 5605e4c0bf4dSmrg as_mkdir_p='mkdir -p "$as_dir"' 56060eb10989Smrgelse 56070eb10989Smrg test -d ./-p && rmdir ./-p 56080eb10989Smrg as_mkdir_p=false 56090eb10989Smrgfi 56100eb10989Smrg 561163165362Smrgif test -x / >/dev/null 2>&1; then 561263165362Smrg as_test_x='test -x' 561363165362Smrgelse 561463165362Smrg if ls -dL / >/dev/null 2>&1; then 561563165362Smrg as_ls_L_option=L 561663165362Smrg else 561763165362Smrg as_ls_L_option= 561863165362Smrg fi 561963165362Smrg as_test_x=' 562063165362Smrg eval sh -c '\'' 562163165362Smrg if test -d "$1"; then 562263165362Smrg test -d "$1/."; 562363165362Smrg else 5624e4c0bf4dSmrg case $1 in #( 562563165362Smrg -*)set "./$1";; 562663165362Smrg esac; 5627e4c0bf4dSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 562863165362Smrg ???[sx]*):;;*)false;;esac;fi 562963165362Smrg '\'' sh 563063165362Smrg ' 563163165362Smrgfi 563263165362Smrgas_executable_p=$as_test_x 56330eb10989Smrg 56340eb10989Smrg# Sed expression to map a string onto a valid CPP name. 56350eb10989Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 56360eb10989Smrg 56370eb10989Smrg# Sed expression to map a string onto a valid variable name. 56380eb10989Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 56390eb10989Smrg 56400eb10989Smrg 56410eb10989Smrgexec 6>&1 5642e4c0bf4dSmrg## ----------------------------------- ## 5643e4c0bf4dSmrg## Main body of $CONFIG_STATUS script. ## 5644e4c0bf4dSmrg## ----------------------------------- ## 5645e4c0bf4dSmrg_ASEOF 5646e4c0bf4dSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 56470eb10989Smrg 5648e4c0bf4dSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5649e4c0bf4dSmrg# Save the log message, to keep $0 and so on meaningful, and to 56500eb10989Smrg# report actual input values of CONFIG_FILES etc. instead of their 565163165362Smrg# values after options handling. 565263165362Smrgac_log=" 5653e4c0bf4dSmrgThis file was extended by makedepend $as_me 1.0.3, which was 5654e4c0bf4dSmrggenerated by GNU Autoconf 2.68. Invocation command line was 56550eb10989Smrg 56560eb10989Smrg CONFIG_FILES = $CONFIG_FILES 56570eb10989Smrg CONFIG_HEADERS = $CONFIG_HEADERS 56580eb10989Smrg CONFIG_LINKS = $CONFIG_LINKS 56590eb10989Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 56600eb10989Smrg $ $0 $@ 56610eb10989Smrg 566263165362Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 566363165362Smrg" 566463165362Smrg 56650eb10989Smrg_ACEOF 56660eb10989Smrg 566763165362Smrgcase $ac_config_files in *" 566863165362Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 566963165362Smrgesac 56700eb10989Smrg 567163165362Smrgcase $ac_config_headers in *" 567263165362Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 567363165362Smrgesac 56740eb10989Smrg 56750eb10989Smrg 567663165362Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 567763165362Smrg# Files that config.status was made for. 567863165362Smrgconfig_files="$ac_config_files" 567963165362Smrgconfig_headers="$ac_config_headers" 568063165362Smrgconfig_commands="$ac_config_commands" 56810eb10989Smrg 568263165362Smrg_ACEOF 56830eb10989Smrg 568463165362Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 56850eb10989Smrgac_cs_usage="\ 5686e4c0bf4dSmrg\`$as_me' instantiates files and other configuration actions 5687e4c0bf4dSmrgfrom templates according to the current configuration. Unless the files 5688e4c0bf4dSmrgand actions are specified as TAGs, all are instantiated by default. 56890eb10989Smrg 5690e4c0bf4dSmrgUsage: $0 [OPTION]... [TAG]... 56910eb10989Smrg 56920eb10989Smrg -h, --help print this help, then exit 569363165362Smrg -V, --version print version number and configuration settings, then exit 5694e4c0bf4dSmrg --config print configuration, then exit 569563165362Smrg -q, --quiet, --silent 569663165362Smrg do not print progress messages 56970eb10989Smrg -d, --debug don't remove temporary files 56980eb10989Smrg --recheck update $as_me by reconfiguring in the same conditions 569963165362Smrg --file=FILE[:TEMPLATE] 570063165362Smrg instantiate the configuration file FILE 570163165362Smrg --header=FILE[:TEMPLATE] 570263165362Smrg instantiate the configuration header FILE 57030eb10989Smrg 57040eb10989SmrgConfiguration files: 57050eb10989Smrg$config_files 57060eb10989Smrg 57070eb10989SmrgConfiguration headers: 57080eb10989Smrg$config_headers 57090eb10989Smrg 57100eb10989SmrgConfiguration commands: 57110eb10989Smrg$config_commands 57120eb10989Smrg 5713e4c0bf4dSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 57140eb10989Smrg 571563165362Smrg_ACEOF 571663165362Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5717e4c0bf4dSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 57180eb10989Smrgac_cs_version="\\ 5719e4c0bf4dSmrgmakedepend config.status 1.0.3 5720e4c0bf4dSmrgconfigured by $0, generated by GNU Autoconf 2.68, 5721e4c0bf4dSmrg with options \\"\$ac_cs_config\\" 57220eb10989Smrg 5723e4c0bf4dSmrgCopyright (C) 2010 Free Software Foundation, Inc. 57240eb10989SmrgThis config.status script is free software; the Free Software Foundation 57250eb10989Smrggives unlimited permission to copy, distribute and modify it." 572663165362Smrg 572763165362Smrgac_pwd='$ac_pwd' 572863165362Smrgsrcdir='$srcdir' 572963165362SmrgINSTALL='$INSTALL' 573063165362SmrgMKDIR_P='$MKDIR_P' 573163165362SmrgAWK='$AWK' 573263165362Smrgtest -n "\$AWK" || AWK=awk 57330eb10989Smrg_ACEOF 57340eb10989Smrg 573563165362Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 573663165362Smrg# The default lists apply if the user does not specify any file. 57370eb10989Smrgac_need_defaults=: 57380eb10989Smrgwhile test $# != 0 57390eb10989Smrgdo 57400eb10989Smrg case $1 in 5741e4c0bf4dSmrg --*=?*) 574263165362Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 574363165362Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 57440eb10989Smrg ac_shift=: 57450eb10989Smrg ;; 5746e4c0bf4dSmrg --*=) 5747e4c0bf4dSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5748e4c0bf4dSmrg ac_optarg= 5749e4c0bf4dSmrg ac_shift=: 5750e4c0bf4dSmrg ;; 575163165362Smrg *) 57520eb10989Smrg ac_option=$1 57530eb10989Smrg ac_optarg=$2 57540eb10989Smrg ac_shift=shift 57550eb10989Smrg ;; 57560eb10989Smrg esac 57570eb10989Smrg 57580eb10989Smrg case $ac_option in 57590eb10989Smrg # Handling of the options. 57600eb10989Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 57610eb10989Smrg ac_cs_recheck=: ;; 576263165362Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 576363165362Smrg $as_echo "$ac_cs_version"; exit ;; 5764e4c0bf4dSmrg --config | --confi | --conf | --con | --co | --c ) 5765e4c0bf4dSmrg $as_echo "$ac_cs_config"; exit ;; 576663165362Smrg --debug | --debu | --deb | --de | --d | -d ) 57670eb10989Smrg debug=: ;; 57680eb10989Smrg --file | --fil | --fi | --f ) 57690eb10989Smrg $ac_shift 577063165362Smrg case $ac_optarg in 577163165362Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5772e4c0bf4dSmrg '') as_fn_error $? "missing file argument" ;; 577363165362Smrg esac 5774e4c0bf4dSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 57750eb10989Smrg ac_need_defaults=false;; 57760eb10989Smrg --header | --heade | --head | --hea ) 57770eb10989Smrg $ac_shift 577863165362Smrg case $ac_optarg in 577963165362Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 578063165362Smrg esac 5781e4c0bf4dSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 57820eb10989Smrg ac_need_defaults=false;; 578363165362Smrg --he | --h) 578463165362Smrg # Conflict between --help and --header 5785e4c0bf4dSmrg as_fn_error $? "ambiguous option: \`$1' 5786e4c0bf4dSmrgTry \`$0 --help' for more information.";; 578763165362Smrg --help | --hel | -h ) 578863165362Smrg $as_echo "$ac_cs_usage"; exit ;; 57890eb10989Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 57900eb10989Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 57910eb10989Smrg ac_cs_silent=: ;; 57920eb10989Smrg 57930eb10989Smrg # This is an error. 5794e4c0bf4dSmrg -*) as_fn_error $? "unrecognized option: \`$1' 5795e4c0bf4dSmrgTry \`$0 --help' for more information." ;; 57960eb10989Smrg 5797e4c0bf4dSmrg *) as_fn_append ac_config_targets " $1" 579863165362Smrg ac_need_defaults=false ;; 57990eb10989Smrg 58000eb10989Smrg esac 58010eb10989Smrg shift 58020eb10989Smrgdone 58030eb10989Smrg 58040eb10989Smrgac_configure_extra_args= 58050eb10989Smrg 58060eb10989Smrgif $ac_cs_silent; then 58070eb10989Smrg exec 6>/dev/null 58080eb10989Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 58090eb10989Smrgfi 58100eb10989Smrg 58110eb10989Smrg_ACEOF 581263165362Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 58130eb10989Smrgif \$ac_cs_recheck; then 581463165362Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 581563165362Smrg shift 581663165362Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 581763165362Smrg CONFIG_SHELL='$SHELL' 581863165362Smrg export CONFIG_SHELL 581963165362Smrg exec "\$@" 58200eb10989Smrgfi 58210eb10989Smrg 58220eb10989Smrg_ACEOF 582363165362Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 582463165362Smrgexec 5>>config.log 582563165362Smrg{ 582663165362Smrg echo 582763165362Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 582863165362Smrg## Running $as_me. ## 582963165362Smrg_ASBOX 583063165362Smrg $as_echo "$ac_log" 583163165362Smrg} >&5 58320eb10989Smrg 583363165362Smrg_ACEOF 583463165362Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 58350eb10989Smrg# 583663165362Smrg# INIT-COMMANDS 58370eb10989Smrg# 58380eb10989SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 58390eb10989Smrg 58400eb10989Smrg_ACEOF 58410eb10989Smrg 584263165362Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 58430eb10989Smrg 584463165362Smrg# Handling of arguments. 58450eb10989Smrgfor ac_config_target in $ac_config_targets 58460eb10989Smrgdo 584763165362Smrg case $ac_config_target in 584863165362Smrg "makedepend-config.h") CONFIG_HEADERS="$CONFIG_HEADERS makedepend-config.h" ;; 584963165362Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 585063165362Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 585163165362Smrg 5852e4c0bf4dSmrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 58530eb10989Smrg esac 58540eb10989Smrgdone 58550eb10989Smrg 585663165362Smrg 58570eb10989Smrg# If the user did not use the arguments to specify the items to instantiate, 58580eb10989Smrg# then the envvar interface is used. Set only those that are not. 58590eb10989Smrg# We use the long form for the default assignment because of an extremely 58600eb10989Smrg# bizarre bug on SunOS 4.1.3. 58610eb10989Smrgif $ac_need_defaults; then 58620eb10989Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 58630eb10989Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 58640eb10989Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 58650eb10989Smrgfi 58660eb10989Smrg 58670eb10989Smrg# Have a temporary directory for convenience. Make it in the build tree 586863165362Smrg# simply because there is no reason against having it here, and in addition, 58690eb10989Smrg# creating and moving files from /tmp can sometimes cause problems. 587063165362Smrg# Hook for its removal unless debugging. 587163165362Smrg# Note that there is a small window in which the directory will not be cleaned: 587263165362Smrg# after its creation but before its name has been assigned to `$tmp'. 58730eb10989Smrg$debug || 58740eb10989Smrg{ 5875e4c0bf4dSmrg tmp= ac_tmp= 587663165362Smrg trap 'exit_status=$? 5877e4c0bf4dSmrg : "${ac_tmp:=$tmp}" 5878e4c0bf4dSmrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 587963165362Smrg' 0 5880e4c0bf4dSmrg trap 'as_fn_exit 1' 1 2 13 15 58810eb10989Smrg} 58820eb10989Smrg# Create a (secure) tmp directory for tmp files. 58830eb10989Smrg 58840eb10989Smrg{ 588563165362Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5886e4c0bf4dSmrg test -d "$tmp" 58870eb10989Smrg} || 58880eb10989Smrg{ 588963165362Smrg tmp=./conf$$-$RANDOM 589063165362Smrg (umask 077 && mkdir "$tmp") 5891e4c0bf4dSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5892e4c0bf4dSmrgac_tmp=$tmp 58930eb10989Smrg 589463165362Smrg# Set up the scripts for CONFIG_FILES section. 589563165362Smrg# No need to generate them if there are no CONFIG_FILES. 589663165362Smrg# This happens for instance with `./config.status config.h'. 589763165362Smrgif test -n "$CONFIG_FILES"; then 589863165362Smrg 589963165362Smrg 5900e4c0bf4dSmrgac_cr=`echo X | tr X '\015'` 5901e4c0bf4dSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 5902e4c0bf4dSmrg# But we know of no other shell where ac_cr would be empty at this 5903e4c0bf4dSmrg# point, so we can use a bashism as a fallback. 5904e4c0bf4dSmrgif test "x$ac_cr" = x; then 5905e4c0bf4dSmrg eval ac_cr=\$\'\\r\' 5906e4c0bf4dSmrgfi 590763165362Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 590863165362Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 590963165362Smrg ac_cs_awk_cr='\\r' 591063165362Smrgelse 591163165362Smrg ac_cs_awk_cr=$ac_cr 591263165362Smrgfi 591363165362Smrg 5914e4c0bf4dSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 59150eb10989Smrg_ACEOF 59160eb10989Smrg 59170eb10989Smrg 591863165362Smrg{ 591963165362Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 592063165362Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 592163165362Smrg echo "_ACEOF" 592263165362Smrg} >conf$$subs.sh || 5923e4c0bf4dSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5924e4c0bf4dSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 592563165362Smrgac_delim='%!_!# ' 592663165362Smrgfor ac_last_try in false false false false false :; do 592763165362Smrg . ./conf$$subs.sh || 5928e4c0bf4dSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 59290eb10989Smrg 593063165362Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 593163165362Smrg if test $ac_delim_n = $ac_delim_num; then 593263165362Smrg break 593363165362Smrg elif $ac_last_try; then 5934e4c0bf4dSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 593563165362Smrg else 593663165362Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 593763165362Smrg fi 593863165362Smrgdone 593963165362Smrgrm -f conf$$subs.sh 59400eb10989Smrg 594163165362Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5942e4c0bf4dSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 59430eb10989Smrg_ACEOF 594463165362Smrgsed -n ' 594563165362Smrgh 594663165362Smrgs/^/S["/; s/!.*/"]=/ 594763165362Smrgp 594863165362Smrgg 594963165362Smrgs/^[^!]*!// 595063165362Smrg:repl 595163165362Smrgt repl 595263165362Smrgs/'"$ac_delim"'$// 595363165362Smrgt delim 595463165362Smrg:nl 595563165362Smrgh 5956e4c0bf4dSmrgs/\(.\{148\}\)..*/\1/ 595763165362Smrgt more1 595863165362Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 595963165362Smrgp 596063165362Smrgn 596163165362Smrgb repl 596263165362Smrg:more1 596363165362Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 596463165362Smrgp 596563165362Smrgg 596663165362Smrgs/.\{148\}// 596763165362Smrgt nl 596863165362Smrg:delim 596963165362Smrgh 5970e4c0bf4dSmrgs/\(.\{148\}\)..*/\1/ 597163165362Smrgt more2 597263165362Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 597363165362Smrgp 597463165362Smrgb 597563165362Smrg:more2 597663165362Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 597763165362Smrgp 597863165362Smrgg 597963165362Smrgs/.\{148\}// 598063165362Smrgt delim 598163165362Smrg' <conf$$subs.awk | sed ' 598263165362Smrg/^[^""]/{ 598363165362Smrg N 598463165362Smrg s/\n// 598563165362Smrg} 598663165362Smrg' >>$CONFIG_STATUS || ac_write_fail=1 598763165362Smrgrm -f conf$$subs.awk 598863165362Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 598963165362Smrg_ACAWK 5990e4c0bf4dSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 599163165362Smrg for (key in S) S_is_set[key] = 1 599263165362Smrg FS = "" 59930eb10989Smrg 599463165362Smrg} 599563165362Smrg{ 599663165362Smrg line = $ 0 599763165362Smrg nfields = split(line, field, "@") 599863165362Smrg substed = 0 599963165362Smrg len = length(field[1]) 600063165362Smrg for (i = 2; i < nfields; i++) { 600163165362Smrg key = field[i] 600263165362Smrg keylen = length(key) 600363165362Smrg if (S_is_set[key]) { 600463165362Smrg value = S[key] 600563165362Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 600663165362Smrg len += length(value) + length(field[++i]) 600763165362Smrg substed = 1 600863165362Smrg } else 600963165362Smrg len += 1 + keylen 601063165362Smrg } 601163165362Smrg 601263165362Smrg print line 601363165362Smrg} 601463165362Smrg 601563165362Smrg_ACAWK 601663165362Smrg_ACEOF 601763165362Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 601863165362Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 601963165362Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 602063165362Smrgelse 602163165362Smrg cat 6022e4c0bf4dSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 6023e4c0bf4dSmrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 602463165362Smrg_ACEOF 602563165362Smrg 6026e4c0bf4dSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 6027e4c0bf4dSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 602863165362Smrg# trailing colons and then remove the whole line if VPATH becomes empty 602963165362Smrg# (actually we leave an empty line to preserve line numbers). 603063165362Smrgif test "x$srcdir" = x.; then 6031e4c0bf4dSmrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 6032e4c0bf4dSmrgh 6033e4c0bf4dSmrgs/// 6034e4c0bf4dSmrgs/^/:/ 6035e4c0bf4dSmrgs/[ ]*$/:/ 6036e4c0bf4dSmrgs/:\$(srcdir):/:/g 6037e4c0bf4dSmrgs/:\${srcdir}:/:/g 6038e4c0bf4dSmrgs/:@srcdir@:/:/g 6039e4c0bf4dSmrgs/^:*// 604063165362Smrgs/:*$// 6041e4c0bf4dSmrgx 6042e4c0bf4dSmrgs/\(=[ ]*\).*/\1/ 6043e4c0bf4dSmrgG 6044e4c0bf4dSmrgs/\n// 604563165362Smrgs/^[^=]*=[ ]*$// 604663165362Smrg}' 604763165362Smrgfi 604863165362Smrg 604963165362Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 60500eb10989Smrgfi # test -n "$CONFIG_FILES" 60510eb10989Smrg 605263165362Smrg# Set up the scripts for CONFIG_HEADERS section. 605363165362Smrg# No need to generate them if there are no CONFIG_HEADERS. 605463165362Smrg# This happens for instance with `./config.status Makefile'. 605563165362Smrgif test -n "$CONFIG_HEADERS"; then 6056e4c0bf4dSmrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 605763165362SmrgBEGIN { 60580eb10989Smrg_ACEOF 605963165362Smrg 606063165362Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as 606163165362Smrg# here-document in config.status, that substitutes the proper values into 606263165362Smrg# config.h.in to produce config.h. 606363165362Smrg 606463165362Smrg# Create a delimiter string that does not exist in confdefs.h, to ease 606563165362Smrg# handling of long lines. 606663165362Smrgac_delim='%!_!# ' 606763165362Smrgfor ac_last_try in false false :; do 6068e4c0bf4dSmrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 6069e4c0bf4dSmrg if test -z "$ac_tt"; then 607063165362Smrg break 607163165362Smrg elif $ac_last_try; then 6072e4c0bf4dSmrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 607363165362Smrg else 607463165362Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 607563165362Smrg fi 607663165362Smrgdone 607763165362Smrg 607863165362Smrg# For the awk script, D is an array of macro values keyed by name, 607963165362Smrg# likewise P contains macro parameters if any. Preserve backslash 608063165362Smrg# newline sequences. 608163165362Smrg 608263165362Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 608363165362Smrgsed -n ' 608463165362Smrgs/.\{148\}/&'"$ac_delim"'/g 608563165362Smrgt rset 608663165362Smrg:rset 608763165362Smrgs/^[ ]*#[ ]*define[ ][ ]*/ / 608863165362Smrgt def 608963165362Smrgd 609063165362Smrg:def 609163165362Smrgs/\\$// 609263165362Smrgt bsnl 609363165362Smrgs/["\\]/\\&/g 609463165362Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 609563165362SmrgD["\1"]=" \3"/p 609663165362Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 609763165362Smrgd 609863165362Smrg:bsnl 609963165362Smrgs/["\\]/\\&/g 610063165362Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 610163165362SmrgD["\1"]=" \3\\\\\\n"\\/p 610263165362Smrgt cont 610363165362Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 610463165362Smrgt cont 610563165362Smrgd 610663165362Smrg:cont 610763165362Smrgn 610863165362Smrgs/.\{148\}/&'"$ac_delim"'/g 610963165362Smrgt clear 611063165362Smrg:clear 611163165362Smrgs/\\$// 611263165362Smrgt bsnlc 611363165362Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 611463165362Smrgd 611563165362Smrg:bsnlc 611663165362Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 611763165362Smrgb cont 611863165362Smrg' <confdefs.h | sed ' 611963165362Smrgs/'"$ac_delim"'/"\\\ 612063165362Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 612163165362Smrg 612263165362Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 612363165362Smrg for (key in D) D_is_set[key] = 1 612463165362Smrg FS = "" 612563165362Smrg} 612663165362Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 612763165362Smrg line = \$ 0 612863165362Smrg split(line, arg, " ") 612963165362Smrg if (arg[1] == "#") { 613063165362Smrg defundef = arg[2] 613163165362Smrg mac1 = arg[3] 613263165362Smrg } else { 613363165362Smrg defundef = substr(arg[1], 2) 613463165362Smrg mac1 = arg[2] 613563165362Smrg } 613663165362Smrg split(mac1, mac2, "(") #) 613763165362Smrg macro = mac2[1] 613863165362Smrg prefix = substr(line, 1, index(line, defundef) - 1) 613963165362Smrg if (D_is_set[macro]) { 614063165362Smrg # Preserve the white space surrounding the "#". 614163165362Smrg print prefix "define", macro P[macro] D[macro] 614263165362Smrg next 614363165362Smrg } else { 614463165362Smrg # Replace #undef with comments. This is necessary, for example, 614563165362Smrg # in the case of _POSIX_SOURCE, which is predefined and required 614663165362Smrg # on some systems where configure will not decide to define it. 614763165362Smrg if (defundef == "undef") { 614863165362Smrg print "/*", prefix defundef, macro, "*/" 614963165362Smrg next 615063165362Smrg } 615163165362Smrg } 615263165362Smrg} 615363165362Smrg{ print } 615463165362Smrg_ACAWK 615563165362Smrg_ACEOF 615663165362Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6157e4c0bf4dSmrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 615863165362Smrgfi # test -n "$CONFIG_HEADERS" 615963165362Smrg 616063165362Smrg 616163165362Smrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 616263165362Smrgshift 616363165362Smrgfor ac_tag 616463165362Smrgdo 616563165362Smrg case $ac_tag in 616663165362Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 616763165362Smrg esac 616863165362Smrg case $ac_mode$ac_tag in 616963165362Smrg :[FHL]*:*);; 6170e4c0bf4dSmrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 617163165362Smrg :[FH]-) ac_tag=-:-;; 617263165362Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 617363165362Smrg esac 617463165362Smrg ac_save_IFS=$IFS 617563165362Smrg IFS=: 617663165362Smrg set x $ac_tag 617763165362Smrg IFS=$ac_save_IFS 617863165362Smrg shift 617963165362Smrg ac_file=$1 618063165362Smrg shift 618163165362Smrg 618263165362Smrg case $ac_mode in 618363165362Smrg :L) ac_source=$1;; 618463165362Smrg :[FH]) 618563165362Smrg ac_file_inputs= 618663165362Smrg for ac_f 618763165362Smrg do 618863165362Smrg case $ac_f in 6189e4c0bf4dSmrg -) ac_f="$ac_tmp/stdin";; 619063165362Smrg *) # Look for the file first in the build tree, then in the source tree 619163165362Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 619263165362Smrg # because $ac_f cannot contain `:'. 619363165362Smrg test -f "$ac_f" || 619463165362Smrg case $ac_f in 619563165362Smrg [\\/$]*) false;; 619663165362Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 619763165362Smrg esac || 6198e4c0bf4dSmrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 619963165362Smrg esac 620063165362Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6201e4c0bf4dSmrg as_fn_append ac_file_inputs " '$ac_f'" 620263165362Smrg done 620363165362Smrg 620463165362Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 620563165362Smrg # use $as_me), people would be surprised to read: 620663165362Smrg # /* config.h. Generated by config.status. */ 620763165362Smrg configure_input='Generated from '` 620863165362Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 620963165362Smrg `' by configure.' 621063165362Smrg if test x"$ac_file" != x-; then 621163165362Smrg configure_input="$ac_file. $configure_input" 6212e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 621363165362Smrg$as_echo "$as_me: creating $ac_file" >&6;} 621463165362Smrg fi 621563165362Smrg # Neutralize special characters interpreted by sed in replacement strings. 621663165362Smrg case $configure_input in #( 621763165362Smrg *\&* | *\|* | *\\* ) 621863165362Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 621963165362Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 622063165362Smrg *) ac_sed_conf_input=$configure_input;; 622163165362Smrg esac 622263165362Smrg 622363165362Smrg case $ac_tag in 6224e4c0bf4dSmrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 6225e4c0bf4dSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 622663165362Smrg esac 622763165362Smrg ;; 62280eb10989Smrg esac 62290eb10989Smrg 623063165362Smrg ac_dir=`$as_dirname -- "$ac_file" || 62310eb10989Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 62320eb10989Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 62330eb10989Smrg X"$ac_file" : 'X\(//\)$' \| \ 623463165362Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 623563165362Smrg$as_echo X"$ac_file" | 623663165362Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 623763165362Smrg s//\1/ 623863165362Smrg q 623963165362Smrg } 624063165362Smrg /^X\(\/\/\)[^/].*/{ 624163165362Smrg s//\1/ 624263165362Smrg q 624363165362Smrg } 624463165362Smrg /^X\(\/\/\)$/{ 624563165362Smrg s//\1/ 624663165362Smrg q 624763165362Smrg } 624863165362Smrg /^X\(\/\).*/{ 624963165362Smrg s//\1/ 625063165362Smrg q 625163165362Smrg } 625263165362Smrg s/.*/./; q'` 6253e4c0bf4dSmrg as_dir="$ac_dir"; as_fn_mkdir_p 62540eb10989Smrg ac_builddir=. 62550eb10989Smrg 625663165362Smrgcase "$ac_dir" in 625763165362Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 625863165362Smrg*) 625963165362Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 626063165362Smrg # A ".." for each directory in $ac_dir_suffix. 626163165362Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 626263165362Smrg case $ac_top_builddir_sub in 626363165362Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 626463165362Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 626563165362Smrg esac ;; 626663165362Smrgesac 626763165362Smrgac_abs_top_builddir=$ac_pwd 626863165362Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 626963165362Smrg# for backward compatibility: 627063165362Smrgac_top_builddir=$ac_top_build_prefix 62710eb10989Smrg 62720eb10989Smrgcase $srcdir in 627363165362Smrg .) # We are building in place. 62740eb10989Smrg ac_srcdir=. 627563165362Smrg ac_top_srcdir=$ac_top_builddir_sub 627663165362Smrg ac_abs_top_srcdir=$ac_pwd ;; 627763165362Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 62780eb10989Smrg ac_srcdir=$srcdir$ac_dir_suffix; 627963165362Smrg ac_top_srcdir=$srcdir 628063165362Smrg ac_abs_top_srcdir=$srcdir ;; 628163165362Smrg *) # Relative name. 628263165362Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 628363165362Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 628463165362Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 62850eb10989Smrgesac 628663165362Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 62870eb10989Smrg 62880eb10989Smrg 628963165362Smrg case $ac_mode in 629063165362Smrg :F) 629163165362Smrg # 629263165362Smrg # CONFIG_FILE 629363165362Smrg # 62940eb10989Smrg 62950eb10989Smrg case $INSTALL in 62960eb10989Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 629763165362Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 62980eb10989Smrg esac 629963165362Smrg ac_MKDIR_P=$MKDIR_P 630063165362Smrg case $MKDIR_P in 630163165362Smrg [\\/$]* | ?:[\\/]* ) ;; 630263165362Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 630363165362Smrg esac 630463165362Smrg_ACEOF 63050eb10989Smrg 630663165362Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 630763165362Smrg# If the template does not know about datarootdir, expand it. 630863165362Smrg# FIXME: This hack should be removed a few years after 2.60. 630963165362Smrgac_datarootdir_hack=; ac_datarootdir_seen= 631063165362Smrgac_sed_dataroot=' 631163165362Smrg/datarootdir/ { 631263165362Smrg p 631363165362Smrg q 631463165362Smrg} 631563165362Smrg/@datadir@/p 631663165362Smrg/@docdir@/p 631763165362Smrg/@infodir@/p 631863165362Smrg/@localedir@/p 6319e4c0bf4dSmrg/@mandir@/p' 632063165362Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 632163165362Smrg*datarootdir*) ac_datarootdir_seen=yes;; 632263165362Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6323e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 632463165362Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 632563165362Smrg_ACEOF 632663165362Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 632763165362Smrg ac_datarootdir_hack=' 632863165362Smrg s&@datadir@&$datadir&g 632963165362Smrg s&@docdir@&$docdir&g 633063165362Smrg s&@infodir@&$infodir&g 633163165362Smrg s&@localedir@&$localedir&g 633263165362Smrg s&@mandir@&$mandir&g 6333e4c0bf4dSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 633463165362Smrgesac 63350eb10989Smrg_ACEOF 633663165362Smrg 633763165362Smrg# Neutralize VPATH when `$srcdir' = `.'. 633863165362Smrg# Shell code in configure.ac might set extrasub. 633963165362Smrg# FIXME: do we really want to maintain this feature? 634063165362Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 634163165362Smrgac_sed_extra="$ac_vpsub 63420eb10989Smrg$extrasub 63430eb10989Smrg_ACEOF 634463165362Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 63450eb10989Smrg:t 63460eb10989Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 634763165362Smrgs|@configure_input@|$ac_sed_conf_input|;t t 634863165362Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 634963165362Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 635063165362Smrgs&@srcdir@&$ac_srcdir&;t t 635163165362Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 635263165362Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 635363165362Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 635463165362Smrgs&@builddir@&$ac_builddir&;t t 635563165362Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 635663165362Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 635763165362Smrgs&@INSTALL@&$ac_INSTALL&;t t 635863165362Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 635963165362Smrg$ac_datarootdir_hack 636063165362Smrg" 6361e4c0bf4dSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6362e4c0bf4dSmrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 63630eb10989Smrg 636463165362Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6365e4c0bf4dSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6366e4c0bf4dSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6367e4c0bf4dSmrg "$ac_tmp/out"`; test -z "$ac_out"; } && 6368e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6369e4c0bf4dSmrgwhich seems to be undefined. Please make sure it is defined" >&5 637063165362Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6371e4c0bf4dSmrgwhich seems to be undefined. Please make sure it is defined" >&2;} 63720eb10989Smrg 6373e4c0bf4dSmrg rm -f "$ac_tmp/stdin" 63740eb10989Smrg case $ac_file in 6375e4c0bf4dSmrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6376e4c0bf4dSmrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 637763165362Smrg esac \ 6378e4c0bf4dSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 637963165362Smrg ;; 638063165362Smrg :H) 638163165362Smrg # 638263165362Smrg # CONFIG_HEADER 638363165362Smrg # 63840eb10989Smrg if test x"$ac_file" != x-; then 638563165362Smrg { 638663165362Smrg $as_echo "/* $configure_input */" \ 6387e4c0bf4dSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 6388e4c0bf4dSmrg } >"$ac_tmp/config.h" \ 6389e4c0bf4dSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6390e4c0bf4dSmrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 6391e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 639263165362Smrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 63930eb10989Smrg else 639463165362Smrg rm -f "$ac_file" 6395e4c0bf4dSmrg mv "$ac_tmp/config.h" "$ac_file" \ 6396e4c0bf4dSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 63970eb10989Smrg fi 63980eb10989Smrg else 639963165362Smrg $as_echo "/* $configure_input */" \ 6400e4c0bf4dSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 6401e4c0bf4dSmrg || as_fn_error $? "could not create -" "$LINENO" 5 64020eb10989Smrg fi 640363165362Smrg# Compute "$ac_file"'s index in $config_headers. 640463165362Smrg_am_arg="$ac_file" 64050eb10989Smrg_am_stamp_count=1 64060eb10989Smrgfor _am_header in $config_headers :; do 64070eb10989Smrg case $_am_header in 640863165362Smrg $_am_arg | $_am_arg:* ) 64090eb10989Smrg break ;; 64100eb10989Smrg * ) 64110eb10989Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 64120eb10989Smrg esac 64130eb10989Smrgdone 641463165362Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 641563165362Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 641663165362Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 641763165362Smrg X"$_am_arg" : 'X\(//\)$' \| \ 641863165362Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 641963165362Smrg$as_echo X"$_am_arg" | 642063165362Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 642163165362Smrg s//\1/ 642263165362Smrg q 642363165362Smrg } 642463165362Smrg /^X\(\/\/\)[^/].*/{ 642563165362Smrg s//\1/ 642663165362Smrg q 642763165362Smrg } 642863165362Smrg /^X\(\/\/\)$/{ 642963165362Smrg s//\1/ 643063165362Smrg q 643163165362Smrg } 643263165362Smrg /^X\(\/\).*/{ 643363165362Smrg s//\1/ 643463165362Smrg q 643563165362Smrg } 643663165362Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 643763165362Smrg ;; 64380eb10989Smrg 6439e4c0bf4dSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 644063165362Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 644163165362Smrg ;; 644263165362Smrg esac 64430eb10989Smrg 64440eb10989Smrg 644563165362Smrg case $ac_file$ac_mode in 644663165362Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 644763165362Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 644863165362Smrg # are listed without --file. Let's play safe and only enable the eval 644963165362Smrg # if we detect the quoting. 645063165362Smrg case $CONFIG_FILES in 645163165362Smrg *\'*) eval set x "$CONFIG_FILES" ;; 645263165362Smrg *) set x $CONFIG_FILES ;; 645363165362Smrg esac 645463165362Smrg shift 645563165362Smrg for mf 645663165362Smrg do 645763165362Smrg # Strip MF so we end up with the name of the file. 645863165362Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 645963165362Smrg # Check whether this is an Automake generated Makefile or not. 646063165362Smrg # We used to match only the files named `Makefile.in', but 646163165362Smrg # some people rename them; so instead we look at the file content. 646263165362Smrg # Grep'ing the first line is not enough: some people post-process 646363165362Smrg # each Makefile.in and add a new line on top of each file to say so. 646463165362Smrg # Grep'ing the whole file is not good either: AIX grep has a line 646563165362Smrg # limit of 2048, but all sed's we know have understand at least 4000. 646663165362Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 646763165362Smrg dirpart=`$as_dirname -- "$mf" || 64680eb10989Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 64690eb10989Smrg X"$mf" : 'X\(//\)[^/]' \| \ 64700eb10989Smrg X"$mf" : 'X\(//\)$' \| \ 647163165362Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 647263165362Smrg$as_echo X"$mf" | 647363165362Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 647463165362Smrg s//\1/ 647563165362Smrg q 647663165362Smrg } 647763165362Smrg /^X\(\/\/\)[^/].*/{ 647863165362Smrg s//\1/ 647963165362Smrg q 648063165362Smrg } 648163165362Smrg /^X\(\/\/\)$/{ 648263165362Smrg s//\1/ 648363165362Smrg q 648463165362Smrg } 648563165362Smrg /^X\(\/\).*/{ 648663165362Smrg s//\1/ 648763165362Smrg q 648863165362Smrg } 648963165362Smrg s/.*/./; q'` 649063165362Smrg else 649163165362Smrg continue 649263165362Smrg fi 649363165362Smrg # Extract the definition of DEPDIR, am__include, and am__quote 649463165362Smrg # from the Makefile without running `make'. 649563165362Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 649663165362Smrg test -z "$DEPDIR" && continue 649763165362Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 649863165362Smrg test -z "am__include" && continue 649963165362Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 650063165362Smrg # When using ansi2knr, U may be empty or an underscore; expand it 650163165362Smrg U=`sed -n 's/^U = //p' < "$mf"` 650263165362Smrg # Find all dependency output files, they are included files with 650363165362Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 650463165362Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 650563165362Smrg # expansion. 650663165362Smrg for file in `sed -n " 650763165362Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 650863165362Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 650963165362Smrg # Make sure the directory exists. 651063165362Smrg test -f "$dirpart/$file" && continue 651163165362Smrg fdir=`$as_dirname -- "$file" || 65120eb10989Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 65130eb10989Smrg X"$file" : 'X\(//\)[^/]' \| \ 65140eb10989Smrg X"$file" : 'X\(//\)$' \| \ 651563165362Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 651663165362Smrg$as_echo X"$file" | 651763165362Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 651863165362Smrg s//\1/ 651963165362Smrg q 652063165362Smrg } 652163165362Smrg /^X\(\/\/\)[^/].*/{ 652263165362Smrg s//\1/ 652363165362Smrg q 652463165362Smrg } 652563165362Smrg /^X\(\/\/\)$/{ 652663165362Smrg s//\1/ 652763165362Smrg q 652863165362Smrg } 652963165362Smrg /^X\(\/\).*/{ 653063165362Smrg s//\1/ 653163165362Smrg q 653263165362Smrg } 653363165362Smrg s/.*/./; q'` 6534e4c0bf4dSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 653563165362Smrg # echo "creating $dirpart/$file" 653663165362Smrg echo '# dummy' > "$dirpart/$file" 653763165362Smrg done 65380eb10989Smrg done 653963165362Smrg} 65400eb10989Smrg ;; 654163165362Smrg 65420eb10989Smrg esac 654363165362Smrgdone # for ac_tag 65440eb10989Smrg 65450eb10989Smrg 6546e4c0bf4dSmrgas_fn_exit 0 65470eb10989Smrg_ACEOF 65480eb10989Smrgac_clean_files=$ac_clean_files_save 65490eb10989Smrg 655063165362Smrgtest $ac_write_fail = 0 || 6551e4c0bf4dSmrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 655263165362Smrg 65530eb10989Smrg 65540eb10989Smrg# configure is writing to config.log, and then calls config.status. 65550eb10989Smrg# config.status does its own redirection, appending to config.log. 65560eb10989Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 65570eb10989Smrg# by configure, so config.status won't be able to write to it; its 65580eb10989Smrg# output is simply discarded. So we exec the FD to /dev/null, 65590eb10989Smrg# effectively closing config.log, so it can be properly (re)opened and 65600eb10989Smrg# appended to by config.status. When coming back to configure, we 65610eb10989Smrg# need to make the FD available again. 65620eb10989Smrgif test "$no_create" != yes; then 65630eb10989Smrg ac_cs_success=: 65640eb10989Smrg ac_config_status_args= 65650eb10989Smrg test "$silent" = yes && 65660eb10989Smrg ac_config_status_args="$ac_config_status_args --quiet" 65670eb10989Smrg exec 5>/dev/null 65680eb10989Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 65690eb10989Smrg exec 5>>config.log 65700eb10989Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 65710eb10989Smrg # would make configure fail if this is the last instruction. 6572e4c0bf4dSmrg $ac_cs_success || as_fn_exit 1 65730eb10989Smrgfi 657463165362Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6575e4c0bf4dSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 657663165362Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 657763165362Smrgfi 65780eb10989Smrg 6579