configure revision 29004570
1a73027baSmrg#! /bin/sh 2a73027baSmrg# Guess values for system-dependent variables and create Makefiles. 329004570Smrg# Generated by GNU Autoconf 2.68 for xinit 1.3.0. 4a73027baSmrg# 5a73027baSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6a73027baSmrg# 7bf4a254eSmrg# 8a73027baSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 929004570Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 1029004570Smrg# Foundation, Inc. 11bf4a254eSmrg# 12bf4a254eSmrg# 13a73027baSmrg# This configure script is free software; the Free Software Foundation 14a73027baSmrg# gives unlimited permission to copy, distribute and modify it. 15bf4a254eSmrg## -------------------- ## 16bf4a254eSmrg## M4sh Initialization. ## 17bf4a254eSmrg## -------------------- ## 18a73027baSmrg 19a73027baSmrg# Be more Bourne compatible 20a73027baSmrgDUALCASE=1; export DUALCASE # for MKS sh 21bf4a254eSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22a73027baSmrg emulate sh 23a73027baSmrg NULLCMD=: 24bf4a254eSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25a73027baSmrg # is contrary to our usage. Disable this feature. 26a73027baSmrg alias -g '${1+"$@"}'='"$@"' 27a73027baSmrg setopt NO_GLOB_SUBST 28a73027baSmrgelse 29bf4a254eSmrg case `(set -o) 2>/dev/null` in #( 30bf4a254eSmrg *posix*) : 31bf4a254eSmrg set -o posix ;; #( 32bf4a254eSmrg *) : 33bf4a254eSmrg ;; 34a73027baSmrgesac 35a73027baSmrgfi 36a73027baSmrg 37a73027baSmrg 38bf4a254eSmrgas_nl=' 39bf4a254eSmrg' 40bf4a254eSmrgexport as_nl 41bf4a254eSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 42bf4a254eSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43bf4a254eSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44bf4a254eSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45bf4a254eSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 46bf4a254eSmrg# but without wasting forks for bash or zsh. 47bf4a254eSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 48bf4a254eSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49bf4a254eSmrg as_echo='print -r --' 50bf4a254eSmrg as_echo_n='print -rn --' 51bf4a254eSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52bf4a254eSmrg as_echo='printf %s\n' 53bf4a254eSmrg as_echo_n='printf %s' 54bf4a254eSmrgelse 55bf4a254eSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56bf4a254eSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57bf4a254eSmrg as_echo_n='/usr/ucb/echo -n' 58a73027baSmrg else 59bf4a254eSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60bf4a254eSmrg as_echo_n_body='eval 61bf4a254eSmrg arg=$1; 62bf4a254eSmrg case $arg in #( 63bf4a254eSmrg *"$as_nl"*) 64bf4a254eSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 65bf4a254eSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66bf4a254eSmrg esac; 67bf4a254eSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68bf4a254eSmrg ' 69bf4a254eSmrg export as_echo_n_body 70bf4a254eSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 71a73027baSmrg fi 72bf4a254eSmrg export as_echo_body 73bf4a254eSmrg as_echo='sh -c $as_echo_body as_echo' 74a73027baSmrgfi 75a73027baSmrg 76bf4a254eSmrg# The user is always right. 77bf4a254eSmrgif test "${PATH_SEPARATOR+set}" != set; then 78bf4a254eSmrg PATH_SEPARATOR=: 79bf4a254eSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80bf4a254eSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81bf4a254eSmrg PATH_SEPARATOR=';' 82bf4a254eSmrg } 83a73027baSmrgfi 84a73027baSmrg 85a73027baSmrg 86a73027baSmrg# IFS 87a73027baSmrg# We need space, tab and new line, in precisely that order. Quoting is 88a73027baSmrg# there to prevent editors from complaining about space-tab. 89a73027baSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90a73027baSmrg# splitting by setting IFS to empty value.) 91a73027baSmrgIFS=" "" $as_nl" 92a73027baSmrg 93a73027baSmrg# Find who we are. Look in the path if we contain no directory separator. 9429004570Smrgas_myself= 95bf4a254eSmrgcase $0 in #(( 96a73027baSmrg *[\\/]* ) as_myself=$0 ;; 97a73027baSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98a73027baSmrgfor as_dir in $PATH 99a73027baSmrgdo 100a73027baSmrg IFS=$as_save_IFS 101a73027baSmrg test -z "$as_dir" && as_dir=. 102bf4a254eSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103bf4a254eSmrg done 104a73027baSmrgIFS=$as_save_IFS 105a73027baSmrg 106a73027baSmrg ;; 107a73027baSmrgesac 108a73027baSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 109a73027baSmrg# in which case we are not to be found in the path. 110a73027baSmrgif test "x$as_myself" = x; then 111a73027baSmrg as_myself=$0 112a73027baSmrgfi 113a73027baSmrgif test ! -f "$as_myself"; then 114bf4a254eSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115bf4a254eSmrg exit 1 116a73027baSmrgfi 117a73027baSmrg 118bf4a254eSmrg# Unset variables that we do not need and which cause bugs (e.g. in 119bf4a254eSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120bf4a254eSmrg# suppresses any "Segmentation fault" message there. '((' could 121bf4a254eSmrg# trigger a bug in pdksh 5.2.14. 122bf4a254eSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 123bf4a254eSmrgdo eval test x\${$as_var+set} = xset \ 124bf4a254eSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125a73027baSmrgdone 126a73027baSmrgPS1='$ ' 127a73027baSmrgPS2='> ' 128a73027baSmrgPS4='+ ' 129a73027baSmrg 130a73027baSmrg# NLS nuisances. 131bf4a254eSmrgLC_ALL=C 132bf4a254eSmrgexport LC_ALL 133bf4a254eSmrgLANGUAGE=C 134bf4a254eSmrgexport LANGUAGE 135bf4a254eSmrg 136bf4a254eSmrg# CDPATH. 137bf4a254eSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138bf4a254eSmrg 139bf4a254eSmrgif test "x$CONFIG_SHELL" = x; then 140bf4a254eSmrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141bf4a254eSmrg emulate sh 142bf4a254eSmrg NULLCMD=: 143bf4a254eSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144bf4a254eSmrg # is contrary to our usage. Disable this feature. 145bf4a254eSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 146bf4a254eSmrg setopt NO_GLOB_SUBST 147bf4a254eSmrgelse 148bf4a254eSmrg case \`(set -o) 2>/dev/null\` in #( 149bf4a254eSmrg *posix*) : 150bf4a254eSmrg set -o posix ;; #( 151bf4a254eSmrg *) : 152bf4a254eSmrg ;; 153bf4a254eSmrgesac 154bf4a254eSmrgfi 155bf4a254eSmrg" 156bf4a254eSmrg as_required="as_fn_return () { (exit \$1); } 157bf4a254eSmrgas_fn_success () { as_fn_return 0; } 158bf4a254eSmrgas_fn_failure () { as_fn_return 1; } 159bf4a254eSmrgas_fn_ret_success () { return 0; } 160bf4a254eSmrgas_fn_ret_failure () { return 1; } 161bf4a254eSmrg 162bf4a254eSmrgexitcode=0 163bf4a254eSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 164bf4a254eSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165bf4a254eSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166bf4a254eSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167bf4a254eSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168bf4a254eSmrg 169bf4a254eSmrgelse 170bf4a254eSmrg exitcode=1; echo positional parameters were not saved. 171bf4a254eSmrgfi 172bf4a254eSmrgtest x\$exitcode = x0 || exit 1" 173bf4a254eSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174bf4a254eSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175bf4a254eSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176bf4a254eSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177bf4a254eSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 178bf4a254eSmrg if (eval "$as_required") 2>/dev/null; then : 179bf4a254eSmrg as_have_required=yes 180bf4a254eSmrgelse 181bf4a254eSmrg as_have_required=no 182bf4a254eSmrgfi 183bf4a254eSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184bf4a254eSmrg 185bf4a254eSmrgelse 186bf4a254eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187bf4a254eSmrgas_found=false 188bf4a254eSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189a73027baSmrgdo 190bf4a254eSmrg IFS=$as_save_IFS 191bf4a254eSmrg test -z "$as_dir" && as_dir=. 192bf4a254eSmrg as_found=: 193bf4a254eSmrg case $as_dir in #( 194bf4a254eSmrg /*) 195bf4a254eSmrg for as_base in sh bash ksh sh5; do 196bf4a254eSmrg # Try only shells that exist, to save several forks. 197bf4a254eSmrg as_shell=$as_dir/$as_base 198bf4a254eSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199bf4a254eSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200bf4a254eSmrg CONFIG_SHELL=$as_shell as_have_required=yes 201bf4a254eSmrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202bf4a254eSmrg break 2 203bf4a254eSmrgfi 204bf4a254eSmrgfi 205bf4a254eSmrg done;; 206bf4a254eSmrg esac 207bf4a254eSmrg as_found=false 208bf4a254eSmrgdone 209bf4a254eSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210bf4a254eSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211bf4a254eSmrg CONFIG_SHELL=$SHELL as_have_required=yes 212bf4a254eSmrgfi; } 213bf4a254eSmrgIFS=$as_save_IFS 214bf4a254eSmrg 215bf4a254eSmrg 216bf4a254eSmrg if test "x$CONFIG_SHELL" != x; then : 217bf4a254eSmrg # We cannot yet assume a decent shell, so we have to provide a 218bf4a254eSmrg # neutralization value for shells without unset; and this also 219bf4a254eSmrg # works around shells that cannot unset nonexistent variables. 22029004570Smrg # Preserve -v and -x to the replacement shell. 221bf4a254eSmrg BASH_ENV=/dev/null 222bf4a254eSmrg ENV=/dev/null 223bf4a254eSmrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224bf4a254eSmrg export CONFIG_SHELL 22529004570Smrg case $- in # (((( 22629004570Smrg *v*x* | *x*v* ) as_opts=-vx ;; 22729004570Smrg *v* ) as_opts=-v ;; 22829004570Smrg *x* ) as_opts=-x ;; 22929004570Smrg * ) as_opts= ;; 23029004570Smrg esac 23129004570Smrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232bf4a254eSmrgfi 233bf4a254eSmrg 234bf4a254eSmrg if test x$as_have_required = xno; then : 235bf4a254eSmrg $as_echo "$0: This script requires a shell more modern than all" 236bf4a254eSmrg $as_echo "$0: the shells that I found on your system." 237bf4a254eSmrg if test x${ZSH_VERSION+set} = xset ; then 238bf4a254eSmrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239bf4a254eSmrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240a73027baSmrg else 241bf4a254eSmrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 242bf4a254eSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 243bf4a254eSmrg$0: about your system, including any error possibly output 244bf4a254eSmrg$0: before this message. Then install a modern shell, or 245bf4a254eSmrg$0: manually run the script under such a shell if you do 246bf4a254eSmrg$0: have one." 247a73027baSmrg fi 248bf4a254eSmrg exit 1 249bf4a254eSmrgfi 250bf4a254eSmrgfi 251bf4a254eSmrgfi 252bf4a254eSmrgSHELL=${CONFIG_SHELL-/bin/sh} 253bf4a254eSmrgexport SHELL 254bf4a254eSmrg# Unset more variables known to interfere with behavior of common tools. 255bf4a254eSmrgCLICOLOR_FORCE= GREP_OPTIONS= 256bf4a254eSmrgunset CLICOLOR_FORCE GREP_OPTIONS 257bf4a254eSmrg 258bf4a254eSmrg## --------------------- ## 259bf4a254eSmrg## M4sh Shell Functions. ## 260bf4a254eSmrg## --------------------- ## 261bf4a254eSmrg# as_fn_unset VAR 262bf4a254eSmrg# --------------- 263bf4a254eSmrg# Portably unset VAR. 264bf4a254eSmrgas_fn_unset () 265bf4a254eSmrg{ 266bf4a254eSmrg { eval $1=; unset $1;} 267bf4a254eSmrg} 268bf4a254eSmrgas_unset=as_fn_unset 269bf4a254eSmrg 270bf4a254eSmrg# as_fn_set_status STATUS 271bf4a254eSmrg# ----------------------- 272bf4a254eSmrg# Set $? to STATUS, without forking. 273bf4a254eSmrgas_fn_set_status () 274bf4a254eSmrg{ 275bf4a254eSmrg return $1 276bf4a254eSmrg} # as_fn_set_status 277bf4a254eSmrg 278bf4a254eSmrg# as_fn_exit STATUS 279bf4a254eSmrg# ----------------- 280bf4a254eSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 281bf4a254eSmrgas_fn_exit () 282bf4a254eSmrg{ 283bf4a254eSmrg set +e 284bf4a254eSmrg as_fn_set_status $1 285bf4a254eSmrg exit $1 286bf4a254eSmrg} # as_fn_exit 287bf4a254eSmrg 288bf4a254eSmrg# as_fn_mkdir_p 289bf4a254eSmrg# ------------- 290bf4a254eSmrg# Create "$as_dir" as a directory, including parents if necessary. 291bf4a254eSmrgas_fn_mkdir_p () 292bf4a254eSmrg{ 293bf4a254eSmrg 294bf4a254eSmrg case $as_dir in #( 295bf4a254eSmrg -*) as_dir=./$as_dir;; 296bf4a254eSmrg esac 297bf4a254eSmrg test -d "$as_dir" || eval $as_mkdir_p || { 298bf4a254eSmrg as_dirs= 299bf4a254eSmrg while :; do 300bf4a254eSmrg case $as_dir in #( 301bf4a254eSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 302bf4a254eSmrg *) as_qdir=$as_dir;; 303bf4a254eSmrg esac 304bf4a254eSmrg as_dirs="'$as_qdir' $as_dirs" 305bf4a254eSmrg as_dir=`$as_dirname -- "$as_dir" || 306bf4a254eSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 307bf4a254eSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 308bf4a254eSmrg X"$as_dir" : 'X\(//\)$' \| \ 309bf4a254eSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 310bf4a254eSmrg$as_echo X"$as_dir" | 311bf4a254eSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 312bf4a254eSmrg s//\1/ 313bf4a254eSmrg q 314bf4a254eSmrg } 315bf4a254eSmrg /^X\(\/\/\)[^/].*/{ 316bf4a254eSmrg s//\1/ 317bf4a254eSmrg q 318bf4a254eSmrg } 319bf4a254eSmrg /^X\(\/\/\)$/{ 320bf4a254eSmrg s//\1/ 321bf4a254eSmrg q 322bf4a254eSmrg } 323bf4a254eSmrg /^X\(\/\).*/{ 324bf4a254eSmrg s//\1/ 325bf4a254eSmrg q 326bf4a254eSmrg } 327bf4a254eSmrg s/.*/./; q'` 328bf4a254eSmrg test -d "$as_dir" && break 329bf4a254eSmrg done 330bf4a254eSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 33129004570Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 332bf4a254eSmrg 333bf4a254eSmrg 334bf4a254eSmrg} # as_fn_mkdir_p 335bf4a254eSmrg# as_fn_append VAR VALUE 336bf4a254eSmrg# ---------------------- 337bf4a254eSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 338bf4a254eSmrg# advantage of any shell optimizations that allow amortized linear growth over 339bf4a254eSmrg# repeated appends, instead of the typical quadratic growth present in naive 340bf4a254eSmrg# implementations. 341bf4a254eSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 342bf4a254eSmrg eval 'as_fn_append () 343bf4a254eSmrg { 344bf4a254eSmrg eval $1+=\$2 345bf4a254eSmrg }' 346bf4a254eSmrgelse 347bf4a254eSmrg as_fn_append () 348bf4a254eSmrg { 349bf4a254eSmrg eval $1=\$$1\$2 350bf4a254eSmrg } 351bf4a254eSmrgfi # as_fn_append 352bf4a254eSmrg 353bf4a254eSmrg# as_fn_arith ARG... 354bf4a254eSmrg# ------------------ 355bf4a254eSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 356bf4a254eSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 357bf4a254eSmrg# must be portable across $(()) and expr. 358bf4a254eSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 359bf4a254eSmrg eval 'as_fn_arith () 360bf4a254eSmrg { 361bf4a254eSmrg as_val=$(( $* )) 362bf4a254eSmrg }' 363bf4a254eSmrgelse 364bf4a254eSmrg as_fn_arith () 365bf4a254eSmrg { 366bf4a254eSmrg as_val=`expr "$@" || test $? -eq 1` 367bf4a254eSmrg } 368bf4a254eSmrgfi # as_fn_arith 369bf4a254eSmrg 370bf4a254eSmrg 37129004570Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 37229004570Smrg# ---------------------------------------- 373bf4a254eSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 374bf4a254eSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 37529004570Smrg# script with STATUS, using 1 if that was 0. 376bf4a254eSmrgas_fn_error () 377bf4a254eSmrg{ 37829004570Smrg as_status=$1; test $as_status -eq 0 && as_status=1 37929004570Smrg if test "$4"; then 38029004570Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 38129004570Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 382bf4a254eSmrg fi 38329004570Smrg $as_echo "$as_me: error: $2" >&2 384bf4a254eSmrg as_fn_exit $as_status 385bf4a254eSmrg} # as_fn_error 386a73027baSmrg 387a73027baSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 388a73027baSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 389a73027baSmrg as_expr=expr 390a73027baSmrgelse 391a73027baSmrg as_expr=false 392a73027baSmrgfi 393a73027baSmrg 394a73027baSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 395a73027baSmrg as_basename=basename 396a73027baSmrgelse 397a73027baSmrg as_basename=false 398a73027baSmrgfi 399a73027baSmrg 400bf4a254eSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 401bf4a254eSmrg as_dirname=dirname 402bf4a254eSmrgelse 403bf4a254eSmrg as_dirname=false 404bf4a254eSmrgfi 405a73027baSmrg 406a73027baSmrgas_me=`$as_basename -- "$0" || 407a73027baSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 408a73027baSmrg X"$0" : 'X\(//\)$' \| \ 409a73027baSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 410bf4a254eSmrg$as_echo X/"$0" | 411a73027baSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 412a73027baSmrg s//\1/ 413a73027baSmrg q 414a73027baSmrg } 415a73027baSmrg /^X\/\(\/\/\)$/{ 416a73027baSmrg s//\1/ 417a73027baSmrg q 418a73027baSmrg } 419a73027baSmrg /^X\/\(\/\).*/{ 420a73027baSmrg s//\1/ 421a73027baSmrg q 422a73027baSmrg } 423a73027baSmrg s/.*/./; q'` 424a73027baSmrg 425bf4a254eSmrg# Avoid depending upon Character Ranges. 426bf4a254eSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 427bf4a254eSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 428bf4a254eSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 429bf4a254eSmrgas_cr_digits='0123456789' 430bf4a254eSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 431a73027baSmrg 432a73027baSmrg 433bf4a254eSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 434bf4a254eSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 435bf4a254eSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 436bf4a254eSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 437bf4a254eSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438bf4a254eSmrg sed -n ' 439bf4a254eSmrg p 440bf4a254eSmrg /[$]LINENO/= 441bf4a254eSmrg ' <$as_myself | 442bf4a254eSmrg sed ' 443bf4a254eSmrg s/[$]LINENO.*/&-/ 444bf4a254eSmrg t lineno 445bf4a254eSmrg b 446bf4a254eSmrg :lineno 447bf4a254eSmrg N 448bf4a254eSmrg :loop 449bf4a254eSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450bf4a254eSmrg t loop 451bf4a254eSmrg s/-\n.*// 452bf4a254eSmrg ' >$as_me.lineno && 453bf4a254eSmrg chmod +x "$as_me.lineno" || 454bf4a254eSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 455a73027baSmrg 456bf4a254eSmrg # Don't try to exec as it changes $[0], causing all sort of problems 457bf4a254eSmrg # (the dirname of $[0] is not the place where we might find the 458bf4a254eSmrg # original and so on. Autoconf is especially sensitive to this). 459bf4a254eSmrg . "./$as_me.lineno" 460bf4a254eSmrg # Exit status is that of the last command. 461bf4a254eSmrg exit 462a73027baSmrg} 463a73027baSmrg 464bf4a254eSmrgECHO_C= ECHO_N= ECHO_T= 465bf4a254eSmrgcase `echo -n x` in #((((( 466bf4a254eSmrg-n*) 467bf4a254eSmrg case `echo 'xy\c'` in 468bf4a254eSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 469bf4a254eSmrg xy) ECHO_C='\c';; 470bf4a254eSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 471bf4a254eSmrg ECHO_T=' ';; 472bf4a254eSmrg esac;; 473bf4a254eSmrg*) 474bf4a254eSmrg ECHO_N='-n';; 475bf4a254eSmrgesac 476a73027baSmrg 477bf4a254eSmrgrm -f conf$$ conf$$.exe conf$$.file 478bf4a254eSmrgif test -d conf$$.dir; then 479bf4a254eSmrg rm -f conf$$.dir/conf$$.file 480a73027baSmrgelse 481bf4a254eSmrg rm -f conf$$.dir 482bf4a254eSmrg mkdir conf$$.dir 2>/dev/null 483bf4a254eSmrgfi 484bf4a254eSmrgif (echo >conf$$.file) 2>/dev/null; then 485bf4a254eSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 486bf4a254eSmrg as_ln_s='ln -s' 487bf4a254eSmrg # ... but there are two gotchas: 488bf4a254eSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 489bf4a254eSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 490bf4a254eSmrg # In both cases, we have to default to `cp -p'. 491bf4a254eSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 492bf4a254eSmrg as_ln_s='cp -p' 493bf4a254eSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 494bf4a254eSmrg as_ln_s=ln 495bf4a254eSmrg else 496bf4a254eSmrg as_ln_s='cp -p' 497bf4a254eSmrg fi 498a73027baSmrgelse 499bf4a254eSmrg as_ln_s='cp -p' 500a73027baSmrgfi 501bf4a254eSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 502bf4a254eSmrgrmdir conf$$.dir 2>/dev/null 503a73027baSmrg 504bf4a254eSmrgif mkdir -p . 2>/dev/null; then 505bf4a254eSmrg as_mkdir_p='mkdir -p "$as_dir"' 506a73027baSmrgelse 507bf4a254eSmrg test -d ./-p && rmdir ./-p 508bf4a254eSmrg as_mkdir_p=false 509bf4a254eSmrgfi 510a73027baSmrg 511bf4a254eSmrgif test -x / >/dev/null 2>&1; then 512bf4a254eSmrg as_test_x='test -x' 513a73027baSmrgelse 514bf4a254eSmrg if ls -dL / >/dev/null 2>&1; then 515bf4a254eSmrg as_ls_L_option=L 516bf4a254eSmrg else 517bf4a254eSmrg as_ls_L_option= 518bf4a254eSmrg fi 519bf4a254eSmrg as_test_x=' 520bf4a254eSmrg eval sh -c '\'' 521bf4a254eSmrg if test -d "$1"; then 522bf4a254eSmrg test -d "$1/."; 523bf4a254eSmrg else 524bf4a254eSmrg case $1 in #( 525bf4a254eSmrg -*)set "./$1";; 526bf4a254eSmrg esac; 527bf4a254eSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 528bf4a254eSmrg ???[sx]*):;;*)false;;esac;fi 529bf4a254eSmrg '\'' sh 530bf4a254eSmrg ' 531a73027baSmrgfi 532bf4a254eSmrgas_executable_p=$as_test_x 533a73027baSmrg 534bf4a254eSmrg# Sed expression to map a string onto a valid CPP name. 535bf4a254eSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 536a73027baSmrg 537bf4a254eSmrg# Sed expression to map a string onto a valid variable name. 538bf4a254eSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 539a73027baSmrg 540a73027baSmrg 541bf4a254eSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 542bf4a254eSmrgexec 6>&1 543a73027baSmrg 544a73027baSmrg# Name of the host. 54529004570Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 546a73027baSmrg# so uname gets run too. 547a73027baSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 548a73027baSmrg 549a73027baSmrg# 550a73027baSmrg# Initializations. 551a73027baSmrg# 552a73027baSmrgac_default_prefix=/usr/local 553a73027baSmrgac_clean_files= 554a73027baSmrgac_config_libobj_dir=. 555a73027baSmrgLIBOBJS= 556a73027baSmrgcross_compiling=no 557a73027baSmrgsubdirs= 558a73027baSmrgMFLAGS= 559a73027baSmrgMAKEFLAGS= 560a73027baSmrg 561a73027baSmrg# Identity of this package. 562a73027baSmrgPACKAGE_NAME='xinit' 563a73027baSmrgPACKAGE_TARNAME='xinit' 56429004570SmrgPACKAGE_VERSION='1.3.0' 56529004570SmrgPACKAGE_STRING='xinit 1.3.0' 566a73027baSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 567bf4a254eSmrgPACKAGE_URL='' 568a73027baSmrg 569a73027baSmrg# Factoring default headers for most tests. 570a73027baSmrgac_includes_default="\ 571a73027baSmrg#include <stdio.h> 572a73027baSmrg#ifdef HAVE_SYS_TYPES_H 573a73027baSmrg# include <sys/types.h> 574a73027baSmrg#endif 575a73027baSmrg#ifdef HAVE_SYS_STAT_H 576a73027baSmrg# include <sys/stat.h> 577a73027baSmrg#endif 578a73027baSmrg#ifdef STDC_HEADERS 579a73027baSmrg# include <stdlib.h> 580a73027baSmrg# include <stddef.h> 581a73027baSmrg#else 582a73027baSmrg# ifdef HAVE_STDLIB_H 583a73027baSmrg# include <stdlib.h> 584a73027baSmrg# endif 585a73027baSmrg#endif 586a73027baSmrg#ifdef HAVE_STRING_H 587a73027baSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 588a73027baSmrg# include <memory.h> 589a73027baSmrg# endif 590a73027baSmrg# include <string.h> 591a73027baSmrg#endif 592a73027baSmrg#ifdef HAVE_STRINGS_H 593a73027baSmrg# include <strings.h> 594a73027baSmrg#endif 595a73027baSmrg#ifdef HAVE_INTTYPES_H 596a73027baSmrg# include <inttypes.h> 597a73027baSmrg#endif 598a73027baSmrg#ifdef HAVE_STDINT_H 599a73027baSmrg# include <stdint.h> 600a73027baSmrg#endif 601a73027baSmrg#ifdef HAVE_UNISTD_H 602a73027baSmrg# include <unistd.h> 603a73027baSmrg#endif" 604a73027baSmrg 605bf4a254eSmrgac_subst_vars='am__EXEEXT_FALSE 606bf4a254eSmrgam__EXEEXT_TRUE 607bf4a254eSmrgLTLIBOBJS 608bf4a254eSmrgLIBOBJS 609bf4a254eSmrgXINITDIR 610a73027baSmrgXINIT 611bf4a254eSmrgXAUTH 612bf4a254eSmrgXSERVER 613bf4a254eSmrgXTERM 614bf4a254eSmrgXCLOCK 615bf4a254eSmrgTWM 616bf4a254eSmrgXMODMAP 617bf4a254eSmrgXRDB 618bf4a254eSmrgXCONFIGFILEMAN 619bf4a254eSmrgXCONFIGFILE 620bf4a254eSmrgXSERVERNAME 621bf4a254eSmrgARCHMANDEFS 622bf4a254eSmrgSHELL_CMD 623bf4a254eSmrgSTARTX_COOKIE_FLAGS 624bf4a254eSmrgMCOOKIE 625bf4a254eSmrgXINIT_LIBS 626bf4a254eSmrgXINIT_CFLAGS 627bf4a254eSmrgTIGER_LAUNCHD_FALSE 628bf4a254eSmrgTIGER_LAUNCHD_TRUE 629bf4a254eSmrgLAUNCHD_FALSE 630bf4a254eSmrgLAUNCHD_TRUE 631bf4a254eSmrglaunchdidprefix 632bf4a254eSmrglaunchdaemonsdir 633bf4a254eSmrglaunchagentsdir 634bf4a254eSmrgLAUNCHD 635bf4a254eSmrgRAWCPPFLAGS 636bf4a254eSmrgRAWCPP 63729004570SmrgAM_BACKSLASH 63829004570SmrgAM_DEFAULT_VERBOSITY 63929004570SmrgMAN_SUBSTS 64029004570SmrgXORG_MAN_PAGE 641a73027baSmrgADMIN_MAN_DIR 642bf4a254eSmrgDRIVER_MAN_DIR 643bf4a254eSmrgMISC_MAN_DIR 644bf4a254eSmrgFILE_MAN_DIR 645bf4a254eSmrgLIB_MAN_DIR 646bf4a254eSmrgAPP_MAN_DIR 647bf4a254eSmrgADMIN_MAN_SUFFIX 648bf4a254eSmrgDRIVER_MAN_SUFFIX 649bf4a254eSmrgMISC_MAN_SUFFIX 650bf4a254eSmrgFILE_MAN_SUFFIX 651bf4a254eSmrgLIB_MAN_SUFFIX 652bf4a254eSmrgAPP_MAN_SUFFIX 65329004570SmrgSED 654bf4a254eSmrghost_os 655bf4a254eSmrghost_vendor 656bf4a254eSmrghost_cpu 657bf4a254eSmrghost 658bf4a254eSmrgbuild_os 659bf4a254eSmrgbuild_vendor 660bf4a254eSmrgbuild_cpu 661bf4a254eSmrgbuild 662bf4a254eSmrgINSTALL_CMD 663bf4a254eSmrgPKG_CONFIG 664bf4a254eSmrgCHANGELOG_CMD 665bf4a254eSmrgCWARNFLAGS 666bf4a254eSmrgEGREP 667bf4a254eSmrgGREP 668bf4a254eSmrgCPP 669bf4a254eSmrgam__fastdepCC_FALSE 670bf4a254eSmrgam__fastdepCC_TRUE 671bf4a254eSmrgCCDEPMODE 672bf4a254eSmrgAMDEPBACKSLASH 673bf4a254eSmrgAMDEP_FALSE 674bf4a254eSmrgAMDEP_TRUE 675bf4a254eSmrgam__quote 676bf4a254eSmrgam__include 677bf4a254eSmrgDEPDIR 678bf4a254eSmrgOBJEXT 679bf4a254eSmrgEXEEXT 680bf4a254eSmrgac_ct_CC 681bf4a254eSmrgCPPFLAGS 682bf4a254eSmrgLDFLAGS 683bf4a254eSmrgCFLAGS 684bf4a254eSmrgCC 685bf4a254eSmrgMAINT 686bf4a254eSmrgMAINTAINER_MODE_FALSE 687bf4a254eSmrgMAINTAINER_MODE_TRUE 688bf4a254eSmrgam__untar 689bf4a254eSmrgam__tar 690bf4a254eSmrgAMTAR 691bf4a254eSmrgam__leading_dot 692bf4a254eSmrgSET_MAKE 693bf4a254eSmrgAWK 694bf4a254eSmrgmkdir_p 695bf4a254eSmrgMKDIR_P 696bf4a254eSmrgINSTALL_STRIP_PROGRAM 697bf4a254eSmrgSTRIP 698bf4a254eSmrginstall_sh 699bf4a254eSmrgMAKEINFO 700bf4a254eSmrgAUTOHEADER 701bf4a254eSmrgAUTOMAKE 702bf4a254eSmrgAUTOCONF 703bf4a254eSmrgACLOCAL 704bf4a254eSmrgVERSION 705bf4a254eSmrgPACKAGE 706bf4a254eSmrgCYGPATH_W 707bf4a254eSmrgam__isrc 708bf4a254eSmrgINSTALL_DATA 709bf4a254eSmrgINSTALL_SCRIPT 710bf4a254eSmrgINSTALL_PROGRAM 711bf4a254eSmrgtarget_alias 712bf4a254eSmrghost_alias 713bf4a254eSmrgbuild_alias 714bf4a254eSmrgLIBS 715bf4a254eSmrgECHO_T 716bf4a254eSmrgECHO_N 717bf4a254eSmrgECHO_C 718bf4a254eSmrgDEFS 719bf4a254eSmrgmandir 720bf4a254eSmrglocaledir 721bf4a254eSmrglibdir 722bf4a254eSmrgpsdir 723bf4a254eSmrgpdfdir 724bf4a254eSmrgdvidir 725bf4a254eSmrghtmldir 726bf4a254eSmrginfodir 727bf4a254eSmrgdocdir 728bf4a254eSmrgoldincludedir 729bf4a254eSmrgincludedir 730bf4a254eSmrglocalstatedir 731bf4a254eSmrgsharedstatedir 732bf4a254eSmrgsysconfdir 733bf4a254eSmrgdatadir 734bf4a254eSmrgdatarootdir 735bf4a254eSmrglibexecdir 736bf4a254eSmrgsbindir 737bf4a254eSmrgbindir 738bf4a254eSmrgprogram_transform_name 739bf4a254eSmrgprefix 740bf4a254eSmrgexec_prefix 741bf4a254eSmrgPACKAGE_URL 742bf4a254eSmrgPACKAGE_BUGREPORT 743bf4a254eSmrgPACKAGE_STRING 744bf4a254eSmrgPACKAGE_VERSION 745bf4a254eSmrgPACKAGE_TARNAME 746bf4a254eSmrgPACKAGE_NAME 747bf4a254eSmrgPATH_SEPARATOR 748bf4a254eSmrgSHELL' 749a73027baSmrgac_subst_files='' 750bf4a254eSmrgac_user_opts=' 751bf4a254eSmrgenable_option_checking 752bf4a254eSmrgenable_maintainer_mode 753bf4a254eSmrgenable_dependency_tracking 754bf4a254eSmrgenable_strict_compilation 75529004570Smrgenable_silent_rules 756bf4a254eSmrgwith_xrdb 757bf4a254eSmrgwith_xmodmap 758bf4a254eSmrgwith_twm 759bf4a254eSmrgwith_xclock 760bf4a254eSmrgwith_xterm 761bf4a254eSmrgwith_xserver 762bf4a254eSmrgwith_xauth 763bf4a254eSmrgwith_xinit 764bf4a254eSmrgwith_xinitdir 765bf4a254eSmrgwith_launchd 766bf4a254eSmrgwith_launchagents_dir 767bf4a254eSmrgwith_launchdaemons_dir 768bf4a254eSmrgwith_launchd_id_prefix 769bf4a254eSmrg' 770a73027baSmrg ac_precious_vars='build_alias 771a73027baSmrghost_alias 772a73027baSmrgtarget_alias 773a73027baSmrgCC 774a73027baSmrgCFLAGS 775a73027baSmrgLDFLAGS 776a73027baSmrgLIBS 777a73027baSmrgCPPFLAGS 778a73027baSmrgCPP 779a73027baSmrgPKG_CONFIG 780a73027baSmrgXINIT_CFLAGS 781a73027baSmrgXINIT_LIBS' 782a73027baSmrg 783a73027baSmrg 784a73027baSmrg# Initialize some variables set by options. 785a73027baSmrgac_init_help= 786a73027baSmrgac_init_version=false 787bf4a254eSmrgac_unrecognized_opts= 788bf4a254eSmrgac_unrecognized_sep= 789a73027baSmrg# The variables have the same names as the options, with 790a73027baSmrg# dashes changed to underlines. 791a73027baSmrgcache_file=/dev/null 792a73027baSmrgexec_prefix=NONE 793a73027baSmrgno_create= 794a73027baSmrgno_recursion= 795a73027baSmrgprefix=NONE 796a73027baSmrgprogram_prefix=NONE 797a73027baSmrgprogram_suffix=NONE 798a73027baSmrgprogram_transform_name=s,x,x, 799a73027baSmrgsilent= 800a73027baSmrgsite= 801a73027baSmrgsrcdir= 802a73027baSmrgverbose= 803a73027baSmrgx_includes=NONE 804a73027baSmrgx_libraries=NONE 805a73027baSmrg 806a73027baSmrg# Installation directory options. 807a73027baSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 808a73027baSmrg# and all the variables that are supposed to be based on exec_prefix 809a73027baSmrg# by default will actually change. 810a73027baSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 811a73027baSmrg# (The list follows the same order as the GNU Coding Standards.) 812a73027baSmrgbindir='${exec_prefix}/bin' 813a73027baSmrgsbindir='${exec_prefix}/sbin' 814a73027baSmrglibexecdir='${exec_prefix}/libexec' 815a73027baSmrgdatarootdir='${prefix}/share' 816a73027baSmrgdatadir='${datarootdir}' 817a73027baSmrgsysconfdir='${prefix}/etc' 818a73027baSmrgsharedstatedir='${prefix}/com' 819a73027baSmrglocalstatedir='${prefix}/var' 820a73027baSmrgincludedir='${prefix}/include' 821a73027baSmrgoldincludedir='/usr/include' 822a73027baSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 823a73027baSmrginfodir='${datarootdir}/info' 824a73027baSmrghtmldir='${docdir}' 825a73027baSmrgdvidir='${docdir}' 826a73027baSmrgpdfdir='${docdir}' 827a73027baSmrgpsdir='${docdir}' 828a73027baSmrglibdir='${exec_prefix}/lib' 829a73027baSmrglocaledir='${datarootdir}/locale' 830a73027baSmrgmandir='${datarootdir}/man' 831a73027baSmrg 832a73027baSmrgac_prev= 833a73027baSmrgac_dashdash= 834a73027baSmrgfor ac_option 835a73027baSmrgdo 836a73027baSmrg # If the previous option needs an argument, assign it. 837a73027baSmrg if test -n "$ac_prev"; then 838a73027baSmrg eval $ac_prev=\$ac_option 839a73027baSmrg ac_prev= 840a73027baSmrg continue 841a73027baSmrg fi 842a73027baSmrg 843a73027baSmrg case $ac_option in 84429004570Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 84529004570Smrg *=) ac_optarg= ;; 84629004570Smrg *) ac_optarg=yes ;; 847a73027baSmrg esac 848a73027baSmrg 849a73027baSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 850a73027baSmrg 851a73027baSmrg case $ac_dashdash$ac_option in 852a73027baSmrg --) 853a73027baSmrg ac_dashdash=yes ;; 854a73027baSmrg 855a73027baSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 856a73027baSmrg ac_prev=bindir ;; 857a73027baSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 858a73027baSmrg bindir=$ac_optarg ;; 859a73027baSmrg 860a73027baSmrg -build | --build | --buil | --bui | --bu) 861a73027baSmrg ac_prev=build_alias ;; 862a73027baSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 863a73027baSmrg build_alias=$ac_optarg ;; 864a73027baSmrg 865a73027baSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 866a73027baSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 867a73027baSmrg ac_prev=cache_file ;; 868a73027baSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 869a73027baSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 870a73027baSmrg cache_file=$ac_optarg ;; 871a73027baSmrg 872a73027baSmrg --config-cache | -C) 873a73027baSmrg cache_file=config.cache ;; 874a73027baSmrg 875a73027baSmrg -datadir | --datadir | --datadi | --datad) 876a73027baSmrg ac_prev=datadir ;; 877a73027baSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 878a73027baSmrg datadir=$ac_optarg ;; 879a73027baSmrg 880a73027baSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 881a73027baSmrg | --dataroo | --dataro | --datar) 882a73027baSmrg ac_prev=datarootdir ;; 883a73027baSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 884a73027baSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 885a73027baSmrg datarootdir=$ac_optarg ;; 886a73027baSmrg 887a73027baSmrg -disable-* | --disable-*) 888bf4a254eSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 889a73027baSmrg # Reject names that are not valid shell variable names. 890bf4a254eSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 89129004570Smrg as_fn_error $? "invalid feature name: $ac_useropt" 892bf4a254eSmrg ac_useropt_orig=$ac_useropt 893bf4a254eSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 894bf4a254eSmrg case $ac_user_opts in 895bf4a254eSmrg *" 896bf4a254eSmrg"enable_$ac_useropt" 897bf4a254eSmrg"*) ;; 898bf4a254eSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 899bf4a254eSmrg ac_unrecognized_sep=', ';; 900bf4a254eSmrg esac 901bf4a254eSmrg eval enable_$ac_useropt=no ;; 902a73027baSmrg 903a73027baSmrg -docdir | --docdir | --docdi | --doc | --do) 904a73027baSmrg ac_prev=docdir ;; 905a73027baSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 906a73027baSmrg docdir=$ac_optarg ;; 907a73027baSmrg 908a73027baSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 909a73027baSmrg ac_prev=dvidir ;; 910a73027baSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 911a73027baSmrg dvidir=$ac_optarg ;; 912a73027baSmrg 913a73027baSmrg -enable-* | --enable-*) 914bf4a254eSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 915a73027baSmrg # Reject names that are not valid shell variable names. 916bf4a254eSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 91729004570Smrg as_fn_error $? "invalid feature name: $ac_useropt" 918bf4a254eSmrg ac_useropt_orig=$ac_useropt 919bf4a254eSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 920bf4a254eSmrg case $ac_user_opts in 921bf4a254eSmrg *" 922bf4a254eSmrg"enable_$ac_useropt" 923bf4a254eSmrg"*) ;; 924bf4a254eSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 925bf4a254eSmrg ac_unrecognized_sep=', ';; 926bf4a254eSmrg esac 927bf4a254eSmrg eval enable_$ac_useropt=\$ac_optarg ;; 928a73027baSmrg 929a73027baSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 930a73027baSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 931a73027baSmrg | --exec | --exe | --ex) 932a73027baSmrg ac_prev=exec_prefix ;; 933a73027baSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 934a73027baSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 935a73027baSmrg | --exec=* | --exe=* | --ex=*) 936a73027baSmrg exec_prefix=$ac_optarg ;; 937a73027baSmrg 938a73027baSmrg -gas | --gas | --ga | --g) 939a73027baSmrg # Obsolete; use --with-gas. 940a73027baSmrg with_gas=yes ;; 941a73027baSmrg 942a73027baSmrg -help | --help | --hel | --he | -h) 943a73027baSmrg ac_init_help=long ;; 944a73027baSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 945a73027baSmrg ac_init_help=recursive ;; 946a73027baSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 947a73027baSmrg ac_init_help=short ;; 948a73027baSmrg 949a73027baSmrg -host | --host | --hos | --ho) 950a73027baSmrg ac_prev=host_alias ;; 951a73027baSmrg -host=* | --host=* | --hos=* | --ho=*) 952a73027baSmrg host_alias=$ac_optarg ;; 953a73027baSmrg 954a73027baSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 955a73027baSmrg ac_prev=htmldir ;; 956a73027baSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 957a73027baSmrg | --ht=*) 958a73027baSmrg htmldir=$ac_optarg ;; 959a73027baSmrg 960a73027baSmrg -includedir | --includedir | --includedi | --included | --include \ 961a73027baSmrg | --includ | --inclu | --incl | --inc) 962a73027baSmrg ac_prev=includedir ;; 963a73027baSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 964a73027baSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 965a73027baSmrg includedir=$ac_optarg ;; 966a73027baSmrg 967a73027baSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 968a73027baSmrg ac_prev=infodir ;; 969a73027baSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 970a73027baSmrg infodir=$ac_optarg ;; 971a73027baSmrg 972a73027baSmrg -libdir | --libdir | --libdi | --libd) 973a73027baSmrg ac_prev=libdir ;; 974a73027baSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 975a73027baSmrg libdir=$ac_optarg ;; 976a73027baSmrg 977a73027baSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 978a73027baSmrg | --libexe | --libex | --libe) 979a73027baSmrg ac_prev=libexecdir ;; 980a73027baSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 981a73027baSmrg | --libexe=* | --libex=* | --libe=*) 982a73027baSmrg libexecdir=$ac_optarg ;; 983a73027baSmrg 984a73027baSmrg -localedir | --localedir | --localedi | --localed | --locale) 985a73027baSmrg ac_prev=localedir ;; 986a73027baSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 987a73027baSmrg localedir=$ac_optarg ;; 988a73027baSmrg 989a73027baSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 990a73027baSmrg | --localstate | --localstat | --localsta | --localst | --locals) 991a73027baSmrg ac_prev=localstatedir ;; 992a73027baSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 993a73027baSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 994a73027baSmrg localstatedir=$ac_optarg ;; 995a73027baSmrg 996a73027baSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 997a73027baSmrg ac_prev=mandir ;; 998a73027baSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 999a73027baSmrg mandir=$ac_optarg ;; 1000a73027baSmrg 1001a73027baSmrg -nfp | --nfp | --nf) 1002a73027baSmrg # Obsolete; use --without-fp. 1003a73027baSmrg with_fp=no ;; 1004a73027baSmrg 1005a73027baSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1006a73027baSmrg | --no-cr | --no-c | -n) 1007a73027baSmrg no_create=yes ;; 1008a73027baSmrg 1009a73027baSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1010a73027baSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1011a73027baSmrg no_recursion=yes ;; 1012a73027baSmrg 1013a73027baSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1014a73027baSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1015a73027baSmrg | --oldin | --oldi | --old | --ol | --o) 1016a73027baSmrg ac_prev=oldincludedir ;; 1017a73027baSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1018a73027baSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1019a73027baSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1020a73027baSmrg oldincludedir=$ac_optarg ;; 1021a73027baSmrg 1022a73027baSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1023a73027baSmrg ac_prev=prefix ;; 1024a73027baSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1025a73027baSmrg prefix=$ac_optarg ;; 1026a73027baSmrg 1027a73027baSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1028a73027baSmrg | --program-pre | --program-pr | --program-p) 1029a73027baSmrg ac_prev=program_prefix ;; 1030a73027baSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1031a73027baSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1032a73027baSmrg program_prefix=$ac_optarg ;; 1033a73027baSmrg 1034a73027baSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1035a73027baSmrg | --program-suf | --program-su | --program-s) 1036a73027baSmrg ac_prev=program_suffix ;; 1037a73027baSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1038a73027baSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1039a73027baSmrg program_suffix=$ac_optarg ;; 1040a73027baSmrg 1041a73027baSmrg -program-transform-name | --program-transform-name \ 1042a73027baSmrg | --program-transform-nam | --program-transform-na \ 1043a73027baSmrg | --program-transform-n | --program-transform- \ 1044a73027baSmrg | --program-transform | --program-transfor \ 1045a73027baSmrg | --program-transfo | --program-transf \ 1046a73027baSmrg | --program-trans | --program-tran \ 1047a73027baSmrg | --progr-tra | --program-tr | --program-t) 1048a73027baSmrg ac_prev=program_transform_name ;; 1049a73027baSmrg -program-transform-name=* | --program-transform-name=* \ 1050a73027baSmrg | --program-transform-nam=* | --program-transform-na=* \ 1051a73027baSmrg | --program-transform-n=* | --program-transform-=* \ 1052a73027baSmrg | --program-transform=* | --program-transfor=* \ 1053a73027baSmrg | --program-transfo=* | --program-transf=* \ 1054a73027baSmrg | --program-trans=* | --program-tran=* \ 1055a73027baSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 1056a73027baSmrg program_transform_name=$ac_optarg ;; 1057a73027baSmrg 1058a73027baSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1059a73027baSmrg ac_prev=pdfdir ;; 1060a73027baSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1061a73027baSmrg pdfdir=$ac_optarg ;; 1062a73027baSmrg 1063a73027baSmrg -psdir | --psdir | --psdi | --psd | --ps) 1064a73027baSmrg ac_prev=psdir ;; 1065a73027baSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1066a73027baSmrg psdir=$ac_optarg ;; 1067a73027baSmrg 1068a73027baSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1069a73027baSmrg | -silent | --silent | --silen | --sile | --sil) 1070a73027baSmrg silent=yes ;; 1071a73027baSmrg 1072a73027baSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1073a73027baSmrg ac_prev=sbindir ;; 1074a73027baSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1075a73027baSmrg | --sbi=* | --sb=*) 1076a73027baSmrg sbindir=$ac_optarg ;; 1077a73027baSmrg 1078a73027baSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1079a73027baSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1080a73027baSmrg | --sharedst | --shareds | --shared | --share | --shar \ 1081a73027baSmrg | --sha | --sh) 1082a73027baSmrg ac_prev=sharedstatedir ;; 1083a73027baSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1084a73027baSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1085a73027baSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1086a73027baSmrg | --sha=* | --sh=*) 1087a73027baSmrg sharedstatedir=$ac_optarg ;; 1088a73027baSmrg 1089a73027baSmrg -site | --site | --sit) 1090a73027baSmrg ac_prev=site ;; 1091a73027baSmrg -site=* | --site=* | --sit=*) 1092a73027baSmrg site=$ac_optarg ;; 1093a73027baSmrg 1094a73027baSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1095a73027baSmrg ac_prev=srcdir ;; 1096a73027baSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1097a73027baSmrg srcdir=$ac_optarg ;; 1098a73027baSmrg 1099a73027baSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1100a73027baSmrg | --syscon | --sysco | --sysc | --sys | --sy) 1101a73027baSmrg ac_prev=sysconfdir ;; 1102a73027baSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1103a73027baSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1104a73027baSmrg sysconfdir=$ac_optarg ;; 1105a73027baSmrg 1106a73027baSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 1107a73027baSmrg ac_prev=target_alias ;; 1108a73027baSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1109a73027baSmrg target_alias=$ac_optarg ;; 1110a73027baSmrg 1111a73027baSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1112a73027baSmrg verbose=yes ;; 1113a73027baSmrg 1114a73027baSmrg -version | --version | --versio | --versi | --vers | -V) 1115a73027baSmrg ac_init_version=: ;; 1116a73027baSmrg 1117a73027baSmrg -with-* | --with-*) 1118bf4a254eSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1119a73027baSmrg # Reject names that are not valid shell variable names. 1120bf4a254eSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 112129004570Smrg as_fn_error $? "invalid package name: $ac_useropt" 1122bf4a254eSmrg ac_useropt_orig=$ac_useropt 1123bf4a254eSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1124bf4a254eSmrg case $ac_user_opts in 1125bf4a254eSmrg *" 1126bf4a254eSmrg"with_$ac_useropt" 1127bf4a254eSmrg"*) ;; 1128bf4a254eSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1129bf4a254eSmrg ac_unrecognized_sep=', ';; 1130bf4a254eSmrg esac 1131bf4a254eSmrg eval with_$ac_useropt=\$ac_optarg ;; 1132a73027baSmrg 1133a73027baSmrg -without-* | --without-*) 1134bf4a254eSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1135a73027baSmrg # Reject names that are not valid shell variable names. 1136bf4a254eSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 113729004570Smrg as_fn_error $? "invalid package name: $ac_useropt" 1138bf4a254eSmrg ac_useropt_orig=$ac_useropt 1139bf4a254eSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1140bf4a254eSmrg case $ac_user_opts in 1141bf4a254eSmrg *" 1142bf4a254eSmrg"with_$ac_useropt" 1143bf4a254eSmrg"*) ;; 1144bf4a254eSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1145bf4a254eSmrg ac_unrecognized_sep=', ';; 1146bf4a254eSmrg esac 1147bf4a254eSmrg eval with_$ac_useropt=no ;; 1148a73027baSmrg 1149a73027baSmrg --x) 1150a73027baSmrg # Obsolete; use --with-x. 1151a73027baSmrg with_x=yes ;; 1152a73027baSmrg 1153a73027baSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1154a73027baSmrg | --x-incl | --x-inc | --x-in | --x-i) 1155a73027baSmrg ac_prev=x_includes ;; 1156a73027baSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1157a73027baSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1158a73027baSmrg x_includes=$ac_optarg ;; 1159a73027baSmrg 1160a73027baSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1161a73027baSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1162a73027baSmrg ac_prev=x_libraries ;; 1163a73027baSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1164a73027baSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1165a73027baSmrg x_libraries=$ac_optarg ;; 1166a73027baSmrg 116729004570Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 116829004570SmrgTry \`$0 --help' for more information" 1169a73027baSmrg ;; 1170a73027baSmrg 1171a73027baSmrg *=*) 1172a73027baSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1173a73027baSmrg # Reject names that are not valid shell variable names. 1174bf4a254eSmrg case $ac_envvar in #( 1175bf4a254eSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 117629004570Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1177bf4a254eSmrg esac 1178a73027baSmrg eval $ac_envvar=\$ac_optarg 1179a73027baSmrg export $ac_envvar ;; 1180a73027baSmrg 1181a73027baSmrg *) 1182a73027baSmrg # FIXME: should be removed in autoconf 3.0. 1183bf4a254eSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1184a73027baSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1185bf4a254eSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 118629004570Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1187a73027baSmrg ;; 1188a73027baSmrg 1189a73027baSmrg esac 1190a73027baSmrgdone 1191a73027baSmrg 1192a73027baSmrgif test -n "$ac_prev"; then 1193a73027baSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 119429004570Smrg as_fn_error $? "missing argument to $ac_option" 1195bf4a254eSmrgfi 1196bf4a254eSmrg 1197bf4a254eSmrgif test -n "$ac_unrecognized_opts"; then 1198bf4a254eSmrg case $enable_option_checking in 1199bf4a254eSmrg no) ;; 120029004570Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1201bf4a254eSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1202bf4a254eSmrg esac 1203a73027baSmrgfi 1204a73027baSmrg 1205bf4a254eSmrg# Check all directory arguments for consistency. 1206a73027baSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1207a73027baSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1208a73027baSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1209a73027baSmrg libdir localedir mandir 1210a73027baSmrgdo 1211a73027baSmrg eval ac_val=\$$ac_var 1212bf4a254eSmrg # Remove trailing slashes. 1213bf4a254eSmrg case $ac_val in 1214bf4a254eSmrg */ ) 1215bf4a254eSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1216bf4a254eSmrg eval $ac_var=\$ac_val;; 1217bf4a254eSmrg esac 1218bf4a254eSmrg # Be sure to have absolute directory names. 1219a73027baSmrg case $ac_val in 1220a73027baSmrg [\\/$]* | ?:[\\/]* ) continue;; 1221a73027baSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1222a73027baSmrg esac 122329004570Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1224a73027baSmrgdone 1225a73027baSmrg 1226a73027baSmrg# There might be people who depend on the old broken behavior: `$host' 1227a73027baSmrg# used to hold the argument of --host etc. 1228a73027baSmrg# FIXME: To remove some day. 1229a73027baSmrgbuild=$build_alias 1230a73027baSmrghost=$host_alias 1231a73027baSmrgtarget=$target_alias 1232a73027baSmrg 1233a73027baSmrg# FIXME: To remove some day. 1234a73027baSmrgif test "x$host_alias" != x; then 1235a73027baSmrg if test "x$build_alias" = x; then 1236a73027baSmrg cross_compiling=maybe 123729004570Smrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 123829004570Smrg If a cross compiler is detected then cross compile mode will be used" >&2 1239a73027baSmrg elif test "x$build_alias" != "x$host_alias"; then 1240a73027baSmrg cross_compiling=yes 1241a73027baSmrg fi 1242a73027baSmrgfi 1243a73027baSmrg 1244a73027baSmrgac_tool_prefix= 1245a73027baSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1246a73027baSmrg 1247a73027baSmrgtest "$silent" = yes && exec 6>/dev/null 1248a73027baSmrg 1249a73027baSmrg 1250a73027baSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 1251a73027baSmrgac_ls_di=`ls -di .` && 1252a73027baSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 125329004570Smrg as_fn_error $? "working directory cannot be determined" 1254a73027baSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 125529004570Smrg as_fn_error $? "pwd does not report name of working directory" 1256a73027baSmrg 1257a73027baSmrg 1258a73027baSmrg# Find the source files, if location was not specified. 1259a73027baSmrgif test -z "$srcdir"; then 1260a73027baSmrg ac_srcdir_defaulted=yes 1261a73027baSmrg # Try the directory containing this script, then the parent directory. 1262bf4a254eSmrg ac_confdir=`$as_dirname -- "$as_myself" || 1263bf4a254eSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1264bf4a254eSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 1265bf4a254eSmrg X"$as_myself" : 'X\(//\)$' \| \ 1266bf4a254eSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1267bf4a254eSmrg$as_echo X"$as_myself" | 1268a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1269a73027baSmrg s//\1/ 1270a73027baSmrg q 1271a73027baSmrg } 1272a73027baSmrg /^X\(\/\/\)[^/].*/{ 1273a73027baSmrg s//\1/ 1274a73027baSmrg q 1275a73027baSmrg } 1276a73027baSmrg /^X\(\/\/\)$/{ 1277a73027baSmrg s//\1/ 1278a73027baSmrg q 1279a73027baSmrg } 1280a73027baSmrg /^X\(\/\).*/{ 1281a73027baSmrg s//\1/ 1282a73027baSmrg q 1283a73027baSmrg } 1284a73027baSmrg s/.*/./; q'` 1285a73027baSmrg srcdir=$ac_confdir 1286a73027baSmrg if test ! -r "$srcdir/$ac_unique_file"; then 1287a73027baSmrg srcdir=.. 1288a73027baSmrg fi 1289a73027baSmrgelse 1290a73027baSmrg ac_srcdir_defaulted=no 1291a73027baSmrgfi 1292a73027baSmrgif test ! -r "$srcdir/$ac_unique_file"; then 1293a73027baSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 129429004570Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1295a73027baSmrgfi 1296a73027baSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1297a73027baSmrgac_abs_confdir=`( 129829004570Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1299a73027baSmrg pwd)` 1300a73027baSmrg# When building in place, set srcdir=. 1301a73027baSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1302a73027baSmrg srcdir=. 1303a73027baSmrgfi 1304a73027baSmrg# Remove unnecessary trailing slashes from srcdir. 1305a73027baSmrg# Double slashes in file names in object file debugging info 1306a73027baSmrg# mess up M-x gdb in Emacs. 1307a73027baSmrgcase $srcdir in 1308a73027baSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1309a73027baSmrgesac 1310a73027baSmrgfor ac_var in $ac_precious_vars; do 1311a73027baSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1312a73027baSmrg eval ac_env_${ac_var}_value=\$${ac_var} 1313a73027baSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1314a73027baSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1315a73027baSmrgdone 1316a73027baSmrg 1317a73027baSmrg# 1318a73027baSmrg# Report the --help message. 1319a73027baSmrg# 1320a73027baSmrgif test "$ac_init_help" = "long"; then 1321a73027baSmrg # Omit some internal or obsolete options to make the list less imposing. 1322a73027baSmrg # This message is too long to be a string in the A/UX 3.1 sh. 1323a73027baSmrg cat <<_ACEOF 132429004570Smrg\`configure' configures xinit 1.3.0 to adapt to many kinds of systems. 1325a73027baSmrg 1326a73027baSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1327a73027baSmrg 1328a73027baSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1329a73027baSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1330a73027baSmrg 1331a73027baSmrgDefaults for the options are specified in brackets. 1332a73027baSmrg 1333a73027baSmrgConfiguration: 1334a73027baSmrg -h, --help display this help and exit 1335a73027baSmrg --help=short display options specific to this package 1336a73027baSmrg --help=recursive display the short help of all the included packages 1337a73027baSmrg -V, --version display version information and exit 133829004570Smrg -q, --quiet, --silent do not print \`checking ...' messages 1339a73027baSmrg --cache-file=FILE cache test results in FILE [disabled] 1340a73027baSmrg -C, --config-cache alias for \`--cache-file=config.cache' 1341a73027baSmrg -n, --no-create do not create output files 1342a73027baSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1343a73027baSmrg 1344a73027baSmrgInstallation directories: 1345a73027baSmrg --prefix=PREFIX install architecture-independent files in PREFIX 1346bf4a254eSmrg [$ac_default_prefix] 1347a73027baSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1348bf4a254eSmrg [PREFIX] 1349a73027baSmrg 1350a73027baSmrgBy default, \`make install' will install all the files in 1351a73027baSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1352a73027baSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1353a73027baSmrgfor instance \`--prefix=\$HOME'. 1354a73027baSmrg 1355a73027baSmrgFor better control, use the options below. 1356a73027baSmrg 1357a73027baSmrgFine tuning of the installation directories: 1358bf4a254eSmrg --bindir=DIR user executables [EPREFIX/bin] 1359bf4a254eSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 1360bf4a254eSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 1361bf4a254eSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1362bf4a254eSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1363bf4a254eSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1364bf4a254eSmrg --libdir=DIR object code libraries [EPREFIX/lib] 1365bf4a254eSmrg --includedir=DIR C header files [PREFIX/include] 1366bf4a254eSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 1367bf4a254eSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1368bf4a254eSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1369bf4a254eSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 1370bf4a254eSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1371bf4a254eSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 1372bf4a254eSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/xinit] 1373bf4a254eSmrg --htmldir=DIR html documentation [DOCDIR] 1374bf4a254eSmrg --dvidir=DIR dvi documentation [DOCDIR] 1375bf4a254eSmrg --pdfdir=DIR pdf documentation [DOCDIR] 1376bf4a254eSmrg --psdir=DIR ps documentation [DOCDIR] 1377a73027baSmrg_ACEOF 1378a73027baSmrg 1379a73027baSmrg cat <<\_ACEOF 1380a73027baSmrg 1381a73027baSmrgProgram names: 1382a73027baSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 1383a73027baSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 1384a73027baSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1385a73027baSmrg 1386a73027baSmrgSystem types: 1387a73027baSmrg --build=BUILD configure for building on BUILD [guessed] 1388a73027baSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1389a73027baSmrg_ACEOF 1390a73027baSmrgfi 1391a73027baSmrg 1392a73027baSmrgif test -n "$ac_init_help"; then 1393a73027baSmrg case $ac_init_help in 139429004570Smrg short | recursive ) echo "Configuration of xinit 1.3.0:";; 1395a73027baSmrg esac 1396a73027baSmrg cat <<\_ACEOF 1397a73027baSmrg 1398a73027baSmrgOptional Features: 1399bf4a254eSmrg --disable-option-checking ignore unrecognized --enable/--with options 1400a73027baSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1401a73027baSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1402a73027baSmrg --enable-maintainer-mode enable make rules and dependencies not useful 1403a73027baSmrg (and sometimes confusing) to the casual installer 1404a73027baSmrg --disable-dependency-tracking speeds up one-time build 1405a73027baSmrg --enable-dependency-tracking do not reject slow dependency extractors 1406bf4a254eSmrg --enable-strict-compilation 1407bf4a254eSmrg Enable all warnings from compiler and make them 1408bf4a254eSmrg errors (default: disabled) 140929004570Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 141029004570Smrg --disable-silent-rules verbose build output (undo: `make V=0') 1411a73027baSmrg 1412a73027baSmrgOptional Packages: 1413a73027baSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1414a73027baSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1415a73027baSmrg --with-xrdb=XRDB Path to xrdb 1416a73027baSmrg --with-xmodmap=XMODMAP Path to xmodmap 1417a73027baSmrg --with-twm=TWM Path to twm 1418a73027baSmrg --with-xclock=XCLOCK Path to xclock 1419a73027baSmrg --with-xterm=XTERM Path to xterm 1420a73027baSmrg --with-xserver=XSERVER Path to default X server 1421a73027baSmrg --with-xauth=XAUTH Path to xauth 1422a73027baSmrg --with-xinit=XINIT Path to xinit 1423bf4a254eSmrg --with-xinitdir=XINITDIR 1424bf4a254eSmrg Path to xinitdir 1425a73027baSmrg --with-launchd Build with support for Apple's launchd (default: 1426a73027baSmrg auto) 1427a73027baSmrg --with-launchagents-dir=PATH 1428a73027baSmrg Path to launchd's LaunchAgents directory (default: 1429a73027baSmrg /Library/LaunchAgents) 1430a73027baSmrg --with-launchdaemons-dir=PATH 1431a73027baSmrg Path to launchd's LaunchDaemonss directory (default: 1432a73027baSmrg /Library/LaunchDaemons) 1433bf4a254eSmrg --with-launchd-id-prefix=PATH 1434bf4a254eSmrg Prefix to use for launchd identifiers (default: 1435bf4a254eSmrg org.x) 1436a73027baSmrg 1437a73027baSmrgSome influential environment variables: 1438a73027baSmrg CC C compiler command 1439a73027baSmrg CFLAGS C compiler flags 1440a73027baSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1441a73027baSmrg nonstandard directory <lib dir> 1442a73027baSmrg LIBS libraries to pass to the linker, e.g. -l<library> 1443bf4a254eSmrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1444a73027baSmrg you have headers in a nonstandard directory <include dir> 1445a73027baSmrg CPP C preprocessor 1446a73027baSmrg PKG_CONFIG path to pkg-config utility 1447a73027baSmrg XINIT_CFLAGS 1448a73027baSmrg C compiler flags for XINIT, overriding pkg-config 1449a73027baSmrg XINIT_LIBS linker flags for XINIT, overriding pkg-config 1450a73027baSmrg 1451a73027baSmrgUse these variables to override the choices made by `configure' or to help 1452a73027baSmrgit to find libraries and programs with nonstandard names/locations. 1453a73027baSmrg 1454a73027baSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1455a73027baSmrg_ACEOF 1456a73027baSmrgac_status=$? 1457a73027baSmrgfi 1458a73027baSmrg 1459a73027baSmrgif test "$ac_init_help" = "recursive"; then 1460a73027baSmrg # If there are subdirs, report their specific --help. 1461a73027baSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1462bf4a254eSmrg test -d "$ac_dir" || 1463bf4a254eSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1464bf4a254eSmrg continue 1465a73027baSmrg ac_builddir=. 1466a73027baSmrg 1467a73027baSmrgcase "$ac_dir" in 1468a73027baSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1469a73027baSmrg*) 1470bf4a254eSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1471a73027baSmrg # A ".." for each directory in $ac_dir_suffix. 1472bf4a254eSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1473a73027baSmrg case $ac_top_builddir_sub in 1474a73027baSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1475a73027baSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1476a73027baSmrg esac ;; 1477a73027baSmrgesac 1478a73027baSmrgac_abs_top_builddir=$ac_pwd 1479a73027baSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1480a73027baSmrg# for backward compatibility: 1481a73027baSmrgac_top_builddir=$ac_top_build_prefix 1482a73027baSmrg 1483a73027baSmrgcase $srcdir in 1484a73027baSmrg .) # We are building in place. 1485a73027baSmrg ac_srcdir=. 1486a73027baSmrg ac_top_srcdir=$ac_top_builddir_sub 1487a73027baSmrg ac_abs_top_srcdir=$ac_pwd ;; 1488a73027baSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 1489a73027baSmrg ac_srcdir=$srcdir$ac_dir_suffix; 1490a73027baSmrg ac_top_srcdir=$srcdir 1491a73027baSmrg ac_abs_top_srcdir=$srcdir ;; 1492a73027baSmrg *) # Relative name. 1493a73027baSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1494a73027baSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1495a73027baSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1496a73027baSmrgesac 1497a73027baSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1498a73027baSmrg 1499a73027baSmrg cd "$ac_dir" || { ac_status=$?; continue; } 1500a73027baSmrg # Check for guested configure. 1501a73027baSmrg if test -f "$ac_srcdir/configure.gnu"; then 1502a73027baSmrg echo && 1503a73027baSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1504a73027baSmrg elif test -f "$ac_srcdir/configure"; then 1505a73027baSmrg echo && 1506a73027baSmrg $SHELL "$ac_srcdir/configure" --help=recursive 1507a73027baSmrg else 1508bf4a254eSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1509a73027baSmrg fi || ac_status=$? 1510a73027baSmrg cd "$ac_pwd" || { ac_status=$?; break; } 1511a73027baSmrg done 1512a73027baSmrgfi 1513a73027baSmrg 1514a73027baSmrgtest -n "$ac_init_help" && exit $ac_status 1515a73027baSmrgif $ac_init_version; then 1516a73027baSmrg cat <<\_ACEOF 151729004570Smrgxinit configure 1.3.0 151829004570Smrggenerated by GNU Autoconf 2.68 1519a73027baSmrg 152029004570SmrgCopyright (C) 2010 Free Software Foundation, Inc. 1521a73027baSmrgThis configure script is free software; the Free Software Foundation 1522a73027baSmrggives unlimited permission to copy, distribute and modify it. 1523a73027baSmrg_ACEOF 1524a73027baSmrg exit 1525a73027baSmrgfi 1526a73027baSmrg 1527bf4a254eSmrg## ------------------------ ## 1528bf4a254eSmrg## Autoconf initialization. ## 1529bf4a254eSmrg## ------------------------ ## 1530a73027baSmrg 1531bf4a254eSmrg# ac_fn_c_try_compile LINENO 1532bf4a254eSmrg# -------------------------- 1533bf4a254eSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 1534bf4a254eSmrgac_fn_c_try_compile () 1535a73027baSmrg{ 1536bf4a254eSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1537bf4a254eSmrg rm -f conftest.$ac_objext 1538bf4a254eSmrg if { { ac_try="$ac_compile" 1539bf4a254eSmrgcase "(($ac_try" in 1540bf4a254eSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1541bf4a254eSmrg *) ac_try_echo=$ac_try;; 1542bf4a254eSmrgesac 1543bf4a254eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1544bf4a254eSmrg$as_echo "$ac_try_echo"; } >&5 1545bf4a254eSmrg (eval "$ac_compile") 2>conftest.err 1546bf4a254eSmrg ac_status=$? 1547bf4a254eSmrg if test -s conftest.err; then 1548bf4a254eSmrg grep -v '^ *+' conftest.err >conftest.er1 1549bf4a254eSmrg cat conftest.er1 >&5 1550bf4a254eSmrg mv -f conftest.er1 conftest.err 1551bf4a254eSmrg fi 1552bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1553bf4a254eSmrg test $ac_status = 0; } && { 1554bf4a254eSmrg test -z "$ac_c_werror_flag" || 1555bf4a254eSmrg test ! -s conftest.err 1556bf4a254eSmrg } && test -s conftest.$ac_objext; then : 1557bf4a254eSmrg ac_retval=0 1558bf4a254eSmrgelse 1559bf4a254eSmrg $as_echo "$as_me: failed program was:" >&5 1560bf4a254eSmrgsed 's/^/| /' conftest.$ac_ext >&5 1561a73027baSmrg 1562bf4a254eSmrg ac_retval=1 1563bf4a254eSmrgfi 156429004570Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1565bf4a254eSmrg as_fn_set_status $ac_retval 1566a73027baSmrg 1567bf4a254eSmrg} # ac_fn_c_try_compile 1568a73027baSmrg 156929004570Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 157029004570Smrg# --------------------------------------------- 157129004570Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 157229004570Smrg# accordingly. 1573bf4a254eSmrgac_fn_c_check_decl () 1574bf4a254eSmrg{ 1575bf4a254eSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 157629004570Smrg as_decl_name=`echo $2|sed 's/ *(.*//'` 157729004570Smrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 157829004570Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 157929004570Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 158029004570Smrgif eval \${$3+:} false; then : 1581bf4a254eSmrg $as_echo_n "(cached) " >&6 1582bf4a254eSmrgelse 1583bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1584bf4a254eSmrg/* end confdefs.h. */ 1585bf4a254eSmrg$4 1586bf4a254eSmrgint 1587bf4a254eSmrgmain () 1588bf4a254eSmrg{ 158929004570Smrg#ifndef $as_decl_name 159029004570Smrg#ifdef __cplusplus 159129004570Smrg (void) $as_decl_use; 159229004570Smrg#else 159329004570Smrg (void) $as_decl_name; 159429004570Smrg#endif 1595bf4a254eSmrg#endif 1596a73027baSmrg 1597bf4a254eSmrg ; 1598bf4a254eSmrg return 0; 1599bf4a254eSmrg} 1600bf4a254eSmrg_ACEOF 1601bf4a254eSmrgif ac_fn_c_try_compile "$LINENO"; then : 1602bf4a254eSmrg eval "$3=yes" 1603bf4a254eSmrgelse 1604bf4a254eSmrg eval "$3=no" 1605bf4a254eSmrgfi 1606bf4a254eSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1607bf4a254eSmrgfi 1608bf4a254eSmrgeval ac_res=\$$3 1609bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1610bf4a254eSmrg$as_echo "$ac_res" >&6; } 161129004570Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1612a73027baSmrg 1613bf4a254eSmrg} # ac_fn_c_check_decl 1614a73027baSmrg 1615bf4a254eSmrg# ac_fn_c_try_cpp LINENO 1616bf4a254eSmrg# ---------------------- 1617bf4a254eSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1618bf4a254eSmrgac_fn_c_try_cpp () 1619bf4a254eSmrg{ 1620bf4a254eSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1621bf4a254eSmrg if { { ac_try="$ac_cpp conftest.$ac_ext" 1622bf4a254eSmrgcase "(($ac_try" in 1623bf4a254eSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1624bf4a254eSmrg *) ac_try_echo=$ac_try;; 1625bf4a254eSmrgesac 1626bf4a254eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1627bf4a254eSmrg$as_echo "$ac_try_echo"; } >&5 1628bf4a254eSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1629bf4a254eSmrg ac_status=$? 1630bf4a254eSmrg if test -s conftest.err; then 1631bf4a254eSmrg grep -v '^ *+' conftest.err >conftest.er1 1632bf4a254eSmrg cat conftest.er1 >&5 1633bf4a254eSmrg mv -f conftest.er1 conftest.err 1634bf4a254eSmrg fi 1635bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 163629004570Smrg test $ac_status = 0; } > conftest.i && { 1637bf4a254eSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1638bf4a254eSmrg test ! -s conftest.err 1639bf4a254eSmrg }; then : 1640bf4a254eSmrg ac_retval=0 1641bf4a254eSmrgelse 1642bf4a254eSmrg $as_echo "$as_me: failed program was:" >&5 1643bf4a254eSmrgsed 's/^/| /' conftest.$ac_ext >&5 1644a73027baSmrg 1645bf4a254eSmrg ac_retval=1 1646bf4a254eSmrgfi 164729004570Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1648bf4a254eSmrg as_fn_set_status $ac_retval 1649a73027baSmrg 1650bf4a254eSmrg} # ac_fn_c_try_cpp 1651bf4a254eSmrg 1652bf4a254eSmrg# ac_fn_c_try_run LINENO 1653bf4a254eSmrg# ---------------------- 1654bf4a254eSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1655bf4a254eSmrg# that executables *can* be run. 1656bf4a254eSmrgac_fn_c_try_run () 1657bf4a254eSmrg{ 1658bf4a254eSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1659bf4a254eSmrg if { { ac_try="$ac_link" 1660bf4a254eSmrgcase "(($ac_try" in 1661bf4a254eSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1662bf4a254eSmrg *) ac_try_echo=$ac_try;; 1663bf4a254eSmrgesac 1664bf4a254eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1665bf4a254eSmrg$as_echo "$ac_try_echo"; } >&5 1666bf4a254eSmrg (eval "$ac_link") 2>&5 1667bf4a254eSmrg ac_status=$? 1668bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1669bf4a254eSmrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1670bf4a254eSmrg { { case "(($ac_try" in 1671bf4a254eSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1672bf4a254eSmrg *) ac_try_echo=$ac_try;; 1673bf4a254eSmrgesac 1674bf4a254eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1675bf4a254eSmrg$as_echo "$ac_try_echo"; } >&5 1676bf4a254eSmrg (eval "$ac_try") 2>&5 1677bf4a254eSmrg ac_status=$? 1678bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1679bf4a254eSmrg test $ac_status = 0; }; }; then : 1680bf4a254eSmrg ac_retval=0 1681bf4a254eSmrgelse 1682bf4a254eSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 1683bf4a254eSmrg $as_echo "$as_me: failed program was:" >&5 1684bf4a254eSmrgsed 's/^/| /' conftest.$ac_ext >&5 1685bf4a254eSmrg 1686bf4a254eSmrg ac_retval=$ac_status 1687bf4a254eSmrgfi 1688bf4a254eSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 168929004570Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1690bf4a254eSmrg as_fn_set_status $ac_retval 1691bf4a254eSmrg 1692bf4a254eSmrg} # ac_fn_c_try_run 1693bf4a254eSmrg 1694bf4a254eSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1695bf4a254eSmrg# ------------------------------------------------------- 1696bf4a254eSmrg# Tests whether HEADER exists and can be compiled using the include files in 1697bf4a254eSmrg# INCLUDES, setting the cache variable VAR accordingly. 1698bf4a254eSmrgac_fn_c_check_header_compile () 1699bf4a254eSmrg{ 1700bf4a254eSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1701bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1702bf4a254eSmrg$as_echo_n "checking for $2... " >&6; } 170329004570Smrgif eval \${$3+:} false; then : 1704bf4a254eSmrg $as_echo_n "(cached) " >&6 1705bf4a254eSmrgelse 1706bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1707bf4a254eSmrg/* end confdefs.h. */ 1708bf4a254eSmrg$4 1709bf4a254eSmrg#include <$2> 1710bf4a254eSmrg_ACEOF 1711bf4a254eSmrgif ac_fn_c_try_compile "$LINENO"; then : 1712bf4a254eSmrg eval "$3=yes" 1713bf4a254eSmrgelse 1714bf4a254eSmrg eval "$3=no" 1715bf4a254eSmrgfi 1716bf4a254eSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1717bf4a254eSmrgfi 1718bf4a254eSmrgeval ac_res=\$$3 1719bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1720bf4a254eSmrg$as_echo "$ac_res" >&6; } 172129004570Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1722bf4a254eSmrg 1723bf4a254eSmrg} # ac_fn_c_check_header_compile 1724bf4a254eSmrgcat >config.log <<_ACEOF 1725bf4a254eSmrgThis file contains any messages produced by compilers while 1726bf4a254eSmrgrunning configure, to aid debugging if configure makes a mistake. 1727bf4a254eSmrg 172829004570SmrgIt was created by xinit $as_me 1.3.0, which was 172929004570Smrggenerated by GNU Autoconf 2.68. Invocation command line was 1730bf4a254eSmrg 1731bf4a254eSmrg $ $0 $@ 1732bf4a254eSmrg 1733bf4a254eSmrg_ACEOF 1734bf4a254eSmrgexec 5>>config.log 1735bf4a254eSmrg{ 1736bf4a254eSmrgcat <<_ASUNAME 1737bf4a254eSmrg## --------- ## 1738bf4a254eSmrg## Platform. ## 1739bf4a254eSmrg## --------- ## 1740bf4a254eSmrg 1741bf4a254eSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1742bf4a254eSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1743bf4a254eSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1744bf4a254eSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1745bf4a254eSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1746bf4a254eSmrg 1747bf4a254eSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1748bf4a254eSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1749bf4a254eSmrg 1750bf4a254eSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1751bf4a254eSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1752bf4a254eSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1753bf4a254eSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1754bf4a254eSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1755bf4a254eSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1756bf4a254eSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1757bf4a254eSmrg 1758bf4a254eSmrg_ASUNAME 1759bf4a254eSmrg 1760bf4a254eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1761bf4a254eSmrgfor as_dir in $PATH 1762bf4a254eSmrgdo 1763bf4a254eSmrg IFS=$as_save_IFS 1764bf4a254eSmrg test -z "$as_dir" && as_dir=. 1765bf4a254eSmrg $as_echo "PATH: $as_dir" 1766bf4a254eSmrg done 1767bf4a254eSmrgIFS=$as_save_IFS 1768bf4a254eSmrg 1769bf4a254eSmrg} >&5 1770bf4a254eSmrg 1771bf4a254eSmrgcat >&5 <<_ACEOF 1772bf4a254eSmrg 1773bf4a254eSmrg 1774bf4a254eSmrg## ----------- ## 1775bf4a254eSmrg## Core tests. ## 1776bf4a254eSmrg## ----------- ## 1777bf4a254eSmrg 1778bf4a254eSmrg_ACEOF 1779a73027baSmrg 1780a73027baSmrg 1781a73027baSmrg# Keep a trace of the command line. 1782a73027baSmrg# Strip out --no-create and --no-recursion so they do not pile up. 1783a73027baSmrg# Strip out --silent because we don't want to record it for future runs. 1784a73027baSmrg# Also quote any args containing shell meta-characters. 1785a73027baSmrg# Make two passes to allow for proper duplicate-argument suppression. 1786a73027baSmrgac_configure_args= 1787a73027baSmrgac_configure_args0= 1788a73027baSmrgac_configure_args1= 1789a73027baSmrgac_must_keep_next=false 1790a73027baSmrgfor ac_pass in 1 2 1791a73027baSmrgdo 1792a73027baSmrg for ac_arg 1793a73027baSmrg do 1794a73027baSmrg case $ac_arg in 1795a73027baSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1796a73027baSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1797a73027baSmrg | -silent | --silent | --silen | --sile | --sil) 1798a73027baSmrg continue ;; 1799a73027baSmrg *\'*) 1800bf4a254eSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1801a73027baSmrg esac 1802a73027baSmrg case $ac_pass in 1803bf4a254eSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1804a73027baSmrg 2) 1805bf4a254eSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 1806a73027baSmrg if test $ac_must_keep_next = true; then 1807a73027baSmrg ac_must_keep_next=false # Got value, back to normal. 1808a73027baSmrg else 1809a73027baSmrg case $ac_arg in 1810a73027baSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1811a73027baSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1812a73027baSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1813a73027baSmrg | -with-* | --with-* | -without-* | --without-* | --x) 1814a73027baSmrg case "$ac_configure_args0 " in 1815a73027baSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1816a73027baSmrg esac 1817a73027baSmrg ;; 1818a73027baSmrg -* ) ac_must_keep_next=true ;; 1819a73027baSmrg esac 1820a73027baSmrg fi 1821bf4a254eSmrg as_fn_append ac_configure_args " '$ac_arg'" 1822a73027baSmrg ;; 1823a73027baSmrg esac 1824a73027baSmrg done 1825a73027baSmrgdone 1826bf4a254eSmrg{ ac_configure_args0=; unset ac_configure_args0;} 1827bf4a254eSmrg{ ac_configure_args1=; unset ac_configure_args1;} 1828a73027baSmrg 1829a73027baSmrg# When interrupted or exit'd, cleanup temporary files, and complete 1830a73027baSmrg# config.log. We remove comments because anyway the quotes in there 1831a73027baSmrg# would cause problems or look ugly. 1832a73027baSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1833a73027baSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1834a73027baSmrgtrap 'exit_status=$? 1835a73027baSmrg # Save into config.log some information that might help in debugging. 1836a73027baSmrg { 1837a73027baSmrg echo 1838a73027baSmrg 183929004570Smrg $as_echo "## ---------------- ## 1840a73027baSmrg## Cache variables. ## 184129004570Smrg## ---------------- ##" 1842a73027baSmrg echo 1843a73027baSmrg # The following way of writing the cache mishandles newlines in values, 1844a73027baSmrg( 1845a73027baSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1846a73027baSmrg eval ac_val=\$$ac_var 1847a73027baSmrg case $ac_val in #( 1848a73027baSmrg *${as_nl}*) 1849a73027baSmrg case $ac_var in #( 1850bf4a254eSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1851bf4a254eSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1852a73027baSmrg esac 1853a73027baSmrg case $ac_var in #( 1854a73027baSmrg _ | IFS | as_nl) ;; #( 1855bf4a254eSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1856bf4a254eSmrg *) { eval $ac_var=; unset $ac_var;} ;; 1857a73027baSmrg esac ;; 1858a73027baSmrg esac 1859a73027baSmrg done 1860a73027baSmrg (set) 2>&1 | 1861a73027baSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1862a73027baSmrg *${as_nl}ac_space=\ *) 1863a73027baSmrg sed -n \ 1864a73027baSmrg "s/'\''/'\''\\\\'\'''\''/g; 1865a73027baSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1866a73027baSmrg ;; #( 1867a73027baSmrg *) 1868a73027baSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1869a73027baSmrg ;; 1870a73027baSmrg esac | 1871a73027baSmrg sort 1872a73027baSmrg) 1873a73027baSmrg echo 1874a73027baSmrg 187529004570Smrg $as_echo "## ----------------- ## 1876a73027baSmrg## Output variables. ## 187729004570Smrg## ----------------- ##" 1878a73027baSmrg echo 1879a73027baSmrg for ac_var in $ac_subst_vars 1880a73027baSmrg do 1881a73027baSmrg eval ac_val=\$$ac_var 1882a73027baSmrg case $ac_val in 1883bf4a254eSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1884a73027baSmrg esac 1885bf4a254eSmrg $as_echo "$ac_var='\''$ac_val'\''" 1886a73027baSmrg done | sort 1887a73027baSmrg echo 1888a73027baSmrg 1889a73027baSmrg if test -n "$ac_subst_files"; then 189029004570Smrg $as_echo "## ------------------- ## 1891a73027baSmrg## File substitutions. ## 189229004570Smrg## ------------------- ##" 1893a73027baSmrg echo 1894a73027baSmrg for ac_var in $ac_subst_files 1895a73027baSmrg do 1896a73027baSmrg eval ac_val=\$$ac_var 1897a73027baSmrg case $ac_val in 1898bf4a254eSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1899a73027baSmrg esac 1900bf4a254eSmrg $as_echo "$ac_var='\''$ac_val'\''" 1901a73027baSmrg done | sort 1902a73027baSmrg echo 1903a73027baSmrg fi 1904a73027baSmrg 1905a73027baSmrg if test -s confdefs.h; then 190629004570Smrg $as_echo "## ----------- ## 1907a73027baSmrg## confdefs.h. ## 190829004570Smrg## ----------- ##" 1909a73027baSmrg echo 1910a73027baSmrg cat confdefs.h 1911a73027baSmrg echo 1912a73027baSmrg fi 1913a73027baSmrg test "$ac_signal" != 0 && 1914bf4a254eSmrg $as_echo "$as_me: caught signal $ac_signal" 1915bf4a254eSmrg $as_echo "$as_me: exit $exit_status" 1916a73027baSmrg } >&5 1917a73027baSmrg rm -f core *.core core.conftest.* && 1918a73027baSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1919a73027baSmrg exit $exit_status 1920a73027baSmrg' 0 1921a73027baSmrgfor ac_signal in 1 2 13 15; do 1922bf4a254eSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1923a73027baSmrgdone 1924a73027baSmrgac_signal=0 1925a73027baSmrg 1926a73027baSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1927a73027baSmrgrm -f -r conftest* confdefs.h 1928a73027baSmrg 1929bf4a254eSmrg$as_echo "/* confdefs.h */" > confdefs.h 1930bf4a254eSmrg 1931a73027baSmrg# Predefined preprocessor variables. 1932a73027baSmrg 1933a73027baSmrgcat >>confdefs.h <<_ACEOF 1934a73027baSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 1935a73027baSmrg_ACEOF 1936a73027baSmrg 1937a73027baSmrgcat >>confdefs.h <<_ACEOF 1938a73027baSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1939a73027baSmrg_ACEOF 1940a73027baSmrg 1941a73027baSmrgcat >>confdefs.h <<_ACEOF 1942a73027baSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1943a73027baSmrg_ACEOF 1944a73027baSmrg 1945a73027baSmrgcat >>confdefs.h <<_ACEOF 1946a73027baSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 1947a73027baSmrg_ACEOF 1948a73027baSmrg 1949a73027baSmrgcat >>confdefs.h <<_ACEOF 1950a73027baSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1951a73027baSmrg_ACEOF 1952a73027baSmrg 1953bf4a254eSmrgcat >>confdefs.h <<_ACEOF 1954bf4a254eSmrg#define PACKAGE_URL "$PACKAGE_URL" 1955bf4a254eSmrg_ACEOF 1956bf4a254eSmrg 1957a73027baSmrg 1958a73027baSmrg# Let the site file select an alternate cache file if it wants to. 1959bf4a254eSmrg# Prefer an explicitly selected file to automatically selected ones. 1960bf4a254eSmrgac_site_file1=NONE 1961bf4a254eSmrgac_site_file2=NONE 1962a73027baSmrgif test -n "$CONFIG_SITE"; then 196329004570Smrg # We do not want a PATH search for config.site. 196429004570Smrg case $CONFIG_SITE in #(( 196529004570Smrg -*) ac_site_file1=./$CONFIG_SITE;; 196629004570Smrg */*) ac_site_file1=$CONFIG_SITE;; 196729004570Smrg *) ac_site_file1=./$CONFIG_SITE;; 196829004570Smrg esac 1969a73027baSmrgelif test "x$prefix" != xNONE; then 1970bf4a254eSmrg ac_site_file1=$prefix/share/config.site 1971bf4a254eSmrg ac_site_file2=$prefix/etc/config.site 1972a73027baSmrgelse 1973bf4a254eSmrg ac_site_file1=$ac_default_prefix/share/config.site 1974bf4a254eSmrg ac_site_file2=$ac_default_prefix/etc/config.site 1975a73027baSmrgfi 1976bf4a254eSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 1977a73027baSmrgdo 1978bf4a254eSmrg test "x$ac_site_file" = xNONE && continue 1979bf4a254eSmrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1980bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1981bf4a254eSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1982a73027baSmrg sed 's/^/| /' "$ac_site_file" >&5 198329004570Smrg . "$ac_site_file" \ 198429004570Smrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 198529004570Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 198629004570Smrgas_fn_error $? "failed to load site script $ac_site_file 198729004570SmrgSee \`config.log' for more details" "$LINENO" 5; } 1988a73027baSmrg fi 1989a73027baSmrgdone 1990a73027baSmrg 1991a73027baSmrgif test -r "$cache_file"; then 1992bf4a254eSmrg # Some versions of bash will fail to source /dev/null (special files 1993bf4a254eSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1994bf4a254eSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1995bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1996bf4a254eSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1997a73027baSmrg case $cache_file in 1998a73027baSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1999a73027baSmrg *) . "./$cache_file";; 2000a73027baSmrg esac 2001a73027baSmrg fi 2002a73027baSmrgelse 2003bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2004bf4a254eSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 2005a73027baSmrg >$cache_file 2006a73027baSmrgfi 2007a73027baSmrg 2008a73027baSmrg# Check that the precious variables saved in the cache have kept the same 2009a73027baSmrg# value. 2010a73027baSmrgac_cache_corrupted=false 2011a73027baSmrgfor ac_var in $ac_precious_vars; do 2012a73027baSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 2013a73027baSmrg eval ac_new_set=\$ac_env_${ac_var}_set 2014a73027baSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 2015a73027baSmrg eval ac_new_val=\$ac_env_${ac_var}_value 2016a73027baSmrg case $ac_old_set,$ac_new_set in 2017a73027baSmrg set,) 2018bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2019bf4a254eSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2020a73027baSmrg ac_cache_corrupted=: ;; 2021a73027baSmrg ,set) 2022bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2023bf4a254eSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2024a73027baSmrg ac_cache_corrupted=: ;; 2025a73027baSmrg ,);; 2026a73027baSmrg *) 2027a73027baSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 2028bf4a254eSmrg # differences in whitespace do not lead to failure. 2029bf4a254eSmrg ac_old_val_w=`echo x $ac_old_val` 2030bf4a254eSmrg ac_new_val_w=`echo x $ac_new_val` 2031bf4a254eSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 2032bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2033bf4a254eSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2034bf4a254eSmrg ac_cache_corrupted=: 2035bf4a254eSmrg else 2036bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2037bf4a254eSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2038bf4a254eSmrg eval $ac_var=\$ac_old_val 2039bf4a254eSmrg fi 2040bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2041bf4a254eSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2042bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2043bf4a254eSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2044a73027baSmrg fi;; 2045a73027baSmrg esac 2046a73027baSmrg # Pass precious variables to config.status. 2047a73027baSmrg if test "$ac_new_set" = set; then 2048a73027baSmrg case $ac_new_val in 2049bf4a254eSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2050a73027baSmrg *) ac_arg=$ac_var=$ac_new_val ;; 2051a73027baSmrg esac 2052a73027baSmrg case " $ac_configure_args " in 2053a73027baSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2054bf4a254eSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2055a73027baSmrg esac 2056a73027baSmrg fi 2057a73027baSmrgdone 2058a73027baSmrgif $ac_cache_corrupted; then 2059bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2060bf4a254eSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2061bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2062bf4a254eSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 206329004570Smrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2064a73027baSmrgfi 2065bf4a254eSmrg## -------------------- ## 2066bf4a254eSmrg## Main body of script. ## 2067bf4a254eSmrg## -------------------- ## 2068a73027baSmrg 2069a73027baSmrgac_ext=c 2070a73027baSmrgac_cpp='$CPP $CPPFLAGS' 2071a73027baSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2072a73027baSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2073a73027baSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2074a73027baSmrg 2075a73027baSmrg 2076bf4a254eSmrgam__api_version='1.11' 2077a73027baSmrg 2078a73027baSmrgac_aux_dir= 2079a73027baSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 208029004570Smrg if test -f "$ac_dir/install-sh"; then 208129004570Smrg ac_aux_dir=$ac_dir 208229004570Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 208329004570Smrg break 208429004570Smrg elif test -f "$ac_dir/install.sh"; then 208529004570Smrg ac_aux_dir=$ac_dir 208629004570Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 208729004570Smrg break 208829004570Smrg elif test -f "$ac_dir/shtool"; then 208929004570Smrg ac_aux_dir=$ac_dir 209029004570Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 209129004570Smrg break 209229004570Smrg fi 2093a73027baSmrgdone 2094a73027baSmrgif test -z "$ac_aux_dir"; then 209529004570Smrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2096a73027baSmrgfi 2097a73027baSmrg 2098a73027baSmrg# These three variables are undocumented and unsupported, 2099a73027baSmrg# and are intended to be withdrawn in a future Autoconf release. 2100a73027baSmrg# They can cause serious problems if a builder's source tree is in a directory 2101a73027baSmrg# whose full name contains unusual characters. 2102a73027baSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2103a73027baSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2104a73027baSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2105a73027baSmrg 2106a73027baSmrg 2107a73027baSmrg# Find a good install program. We prefer a C program (faster), 2108a73027baSmrg# so one script is as good as another. But avoid the broken or 2109a73027baSmrg# incompatible versions: 2110a73027baSmrg# SysV /etc/install, /usr/sbin/install 2111a73027baSmrg# SunOS /usr/etc/install 2112a73027baSmrg# IRIX /sbin/install 2113a73027baSmrg# AIX /bin/install 2114a73027baSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 2115a73027baSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2116a73027baSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2117a73027baSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2118a73027baSmrg# OS/2's system install, which has a completely different semantic 2119a73027baSmrg# ./install, which can be erroneously created by make from ./install.sh. 2120bf4a254eSmrg# Reject install programs that cannot install multiple files. 2121bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2122bf4a254eSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 2123a73027baSmrgif test -z "$INSTALL"; then 212429004570Smrgif ${ac_cv_path_install+:} false; then : 2125bf4a254eSmrg $as_echo_n "(cached) " >&6 2126a73027baSmrgelse 2127a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2128a73027baSmrgfor as_dir in $PATH 2129a73027baSmrgdo 2130a73027baSmrg IFS=$as_save_IFS 2131a73027baSmrg test -z "$as_dir" && as_dir=. 2132bf4a254eSmrg # Account for people who put trailing slashes in PATH elements. 2133bf4a254eSmrgcase $as_dir/ in #(( 2134bf4a254eSmrg ./ | .// | /[cC]/* | \ 2135a73027baSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2136bf4a254eSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2137a73027baSmrg /usr/ucb/* ) ;; 2138a73027baSmrg *) 2139a73027baSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 2140a73027baSmrg # Don't use installbsd from OSF since it installs stuff as root 2141a73027baSmrg # by default. 2142a73027baSmrg for ac_prog in ginstall scoinst install; do 2143a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2144a73027baSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2145a73027baSmrg if test $ac_prog = install && 2146a73027baSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2147a73027baSmrg # AIX install. It has an incompatible calling convention. 2148a73027baSmrg : 2149a73027baSmrg elif test $ac_prog = install && 2150a73027baSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2151a73027baSmrg # program-specific install script used by HP pwplus--don't use. 2152a73027baSmrg : 2153a73027baSmrg else 2154bf4a254eSmrg rm -rf conftest.one conftest.two conftest.dir 2155bf4a254eSmrg echo one > conftest.one 2156bf4a254eSmrg echo two > conftest.two 2157bf4a254eSmrg mkdir conftest.dir 2158bf4a254eSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2159bf4a254eSmrg test -s conftest.one && test -s conftest.two && 2160bf4a254eSmrg test -s conftest.dir/conftest.one && 2161bf4a254eSmrg test -s conftest.dir/conftest.two 2162bf4a254eSmrg then 2163bf4a254eSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2164bf4a254eSmrg break 3 2165bf4a254eSmrg fi 2166a73027baSmrg fi 2167a73027baSmrg fi 2168a73027baSmrg done 2169a73027baSmrg done 2170a73027baSmrg ;; 2171a73027baSmrgesac 2172bf4a254eSmrg 2173bf4a254eSmrg done 2174a73027baSmrgIFS=$as_save_IFS 2175a73027baSmrg 2176bf4a254eSmrgrm -rf conftest.one conftest.two conftest.dir 2177a73027baSmrg 2178a73027baSmrgfi 2179a73027baSmrg if test "${ac_cv_path_install+set}" = set; then 2180a73027baSmrg INSTALL=$ac_cv_path_install 2181a73027baSmrg else 2182a73027baSmrg # As a last resort, use the slow shell script. Don't cache a 2183a73027baSmrg # value for INSTALL within a source directory, because that will 2184a73027baSmrg # break other packages using the cache if that directory is 2185a73027baSmrg # removed, or if the value is a relative name. 2186a73027baSmrg INSTALL=$ac_install_sh 2187a73027baSmrg fi 2188a73027baSmrgfi 2189bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2190bf4a254eSmrg$as_echo "$INSTALL" >&6; } 2191a73027baSmrg 2192a73027baSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2193a73027baSmrg# It thinks the first close brace ends the variable substitution. 2194a73027baSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2195a73027baSmrg 2196a73027baSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2197a73027baSmrg 2198a73027baSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2199a73027baSmrg 2200bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2201bf4a254eSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 2202a73027baSmrg# Just in case 2203a73027baSmrgsleep 1 2204a73027baSmrgecho timestamp > conftest.file 2205bf4a254eSmrg# Reject unsafe characters in $srcdir or the absolute working directory 2206bf4a254eSmrg# name. Accept space and tab only in the latter. 2207bf4a254eSmrgam_lf=' 2208bf4a254eSmrg' 2209bf4a254eSmrgcase `pwd` in 2210bf4a254eSmrg *[\\\"\#\$\&\'\`$am_lf]*) 221129004570Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2212bf4a254eSmrgesac 2213bf4a254eSmrgcase $srcdir in 2214bf4a254eSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 221529004570Smrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2216bf4a254eSmrgesac 2217bf4a254eSmrg 2218a73027baSmrg# Do `set' in a subshell so we don't clobber the current shell's 2219a73027baSmrg# arguments. Must try -L first in case configure is actually a 2220a73027baSmrg# symlink; some systems play weird games with the mod time of symlinks 2221a73027baSmrg# (eg FreeBSD returns the mod time of the symlink's containing 2222a73027baSmrg# directory). 2223a73027baSmrgif ( 2224bf4a254eSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2225a73027baSmrg if test "$*" = "X"; then 2226a73027baSmrg # -L didn't work. 2227bf4a254eSmrg set X `ls -t "$srcdir/configure" conftest.file` 2228a73027baSmrg fi 2229a73027baSmrg rm -f conftest.file 2230a73027baSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 2231a73027baSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 2232a73027baSmrg 2233a73027baSmrg # If neither matched, then we have a broken ls. This can happen 2234a73027baSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2235a73027baSmrg # broken ls alias from the environment. This has actually 2236a73027baSmrg # happened. Such a system could not be considered "sane". 223729004570Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2238bf4a254eSmrgalias in your environment" "$LINENO" 5 2239a73027baSmrg fi 2240a73027baSmrg 2241a73027baSmrg test "$2" = conftest.file 2242a73027baSmrg ) 2243a73027baSmrgthen 2244a73027baSmrg # Ok. 2245a73027baSmrg : 2246a73027baSmrgelse 224729004570Smrg as_fn_error $? "newly created file is older than distributed files! 2248bf4a254eSmrgCheck your system clock" "$LINENO" 5 2249a73027baSmrgfi 2250bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2251bf4a254eSmrg$as_echo "yes" >&6; } 2252a73027baSmrgtest "$program_prefix" != NONE && 2253a73027baSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2254a73027baSmrg# Use a double $ so make ignores it. 2255a73027baSmrgtest "$program_suffix" != NONE && 2256a73027baSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2257bf4a254eSmrg# Double any \ or $. 2258a73027baSmrg# By default was `s,x,x', remove it if useless. 2259bf4a254eSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2260bf4a254eSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2261a73027baSmrg 2262a73027baSmrg# expand $ac_aux_dir to an absolute path 2263a73027baSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 2264a73027baSmrg 2265bf4a254eSmrgif test x"${MISSING+set}" != xset; then 2266bf4a254eSmrg case $am_aux_dir in 2267bf4a254eSmrg *\ * | *\ *) 2268bf4a254eSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2269bf4a254eSmrg *) 2270bf4a254eSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 2271bf4a254eSmrg esac 2272bf4a254eSmrgfi 2273a73027baSmrg# Use eval to expand $SHELL 2274a73027baSmrgif eval "$MISSING --run true"; then 2275a73027baSmrg am_missing_run="$MISSING --run " 2276a73027baSmrgelse 2277a73027baSmrg am_missing_run= 2278bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2279bf4a254eSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2280a73027baSmrgfi 2281a73027baSmrg 2282bf4a254eSmrgif test x"${install_sh}" != xset; then 2283bf4a254eSmrg case $am_aux_dir in 2284bf4a254eSmrg *\ * | *\ *) 2285bf4a254eSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2286bf4a254eSmrg *) 2287bf4a254eSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 2288bf4a254eSmrg esac 2289bf4a254eSmrgfi 2290bf4a254eSmrg 2291bf4a254eSmrg# Installed binaries are usually stripped using `strip' when the user 2292bf4a254eSmrg# run `make install-strip'. However `strip' might not be the right 2293bf4a254eSmrg# tool to use in cross-compilation environments, therefore Automake 2294bf4a254eSmrg# will honor the `STRIP' environment variable to overrule this program. 2295bf4a254eSmrgif test "$cross_compiling" != no; then 2296bf4a254eSmrg if test -n "$ac_tool_prefix"; then 2297bf4a254eSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2298bf4a254eSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2299bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2300bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 230129004570Smrgif ${ac_cv_prog_STRIP+:} false; then : 2302bf4a254eSmrg $as_echo_n "(cached) " >&6 2303bf4a254eSmrgelse 2304bf4a254eSmrg if test -n "$STRIP"; then 2305bf4a254eSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2306bf4a254eSmrgelse 2307bf4a254eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2308bf4a254eSmrgfor as_dir in $PATH 2309bf4a254eSmrgdo 2310bf4a254eSmrg IFS=$as_save_IFS 2311bf4a254eSmrg test -z "$as_dir" && as_dir=. 2312bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2313bf4a254eSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2314bf4a254eSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2315bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2316bf4a254eSmrg break 2 2317bf4a254eSmrg fi 2318bf4a254eSmrgdone 2319bf4a254eSmrg done 2320bf4a254eSmrgIFS=$as_save_IFS 2321bf4a254eSmrg 2322bf4a254eSmrgfi 2323bf4a254eSmrgfi 2324bf4a254eSmrgSTRIP=$ac_cv_prog_STRIP 2325bf4a254eSmrgif test -n "$STRIP"; then 2326bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2327bf4a254eSmrg$as_echo "$STRIP" >&6; } 2328bf4a254eSmrgelse 2329bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2330bf4a254eSmrg$as_echo "no" >&6; } 2331bf4a254eSmrgfi 2332bf4a254eSmrg 2333bf4a254eSmrg 2334bf4a254eSmrgfi 2335bf4a254eSmrgif test -z "$ac_cv_prog_STRIP"; then 2336bf4a254eSmrg ac_ct_STRIP=$STRIP 2337bf4a254eSmrg # Extract the first word of "strip", so it can be a program name with args. 2338bf4a254eSmrgset dummy strip; ac_word=$2 2339bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2340bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 234129004570Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2342bf4a254eSmrg $as_echo_n "(cached) " >&6 2343bf4a254eSmrgelse 2344bf4a254eSmrg if test -n "$ac_ct_STRIP"; then 2345bf4a254eSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2346bf4a254eSmrgelse 2347bf4a254eSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2348bf4a254eSmrgfor as_dir in $PATH 2349bf4a254eSmrgdo 2350bf4a254eSmrg IFS=$as_save_IFS 2351bf4a254eSmrg test -z "$as_dir" && as_dir=. 2352bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2353bf4a254eSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2354bf4a254eSmrg ac_cv_prog_ac_ct_STRIP="strip" 2355bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2356bf4a254eSmrg break 2 2357bf4a254eSmrg fi 2358bf4a254eSmrgdone 2359bf4a254eSmrg done 2360bf4a254eSmrgIFS=$as_save_IFS 2361bf4a254eSmrg 2362bf4a254eSmrgfi 2363bf4a254eSmrgfi 2364bf4a254eSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2365bf4a254eSmrgif test -n "$ac_ct_STRIP"; then 2366bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2367bf4a254eSmrg$as_echo "$ac_ct_STRIP" >&6; } 2368bf4a254eSmrgelse 2369bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2370bf4a254eSmrg$as_echo "no" >&6; } 2371bf4a254eSmrgfi 2372bf4a254eSmrg 2373bf4a254eSmrg if test "x$ac_ct_STRIP" = x; then 2374bf4a254eSmrg STRIP=":" 2375bf4a254eSmrg else 2376bf4a254eSmrg case $cross_compiling:$ac_tool_warned in 2377bf4a254eSmrgyes:) 2378bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2379bf4a254eSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2380bf4a254eSmrgac_tool_warned=yes ;; 2381bf4a254eSmrgesac 2382bf4a254eSmrg STRIP=$ac_ct_STRIP 2383bf4a254eSmrg fi 2384bf4a254eSmrgelse 2385bf4a254eSmrg STRIP="$ac_cv_prog_STRIP" 2386bf4a254eSmrgfi 2387bf4a254eSmrg 2388bf4a254eSmrgfi 2389bf4a254eSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2390bf4a254eSmrg 2391bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2392bf4a254eSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2393bf4a254eSmrgif test -z "$MKDIR_P"; then 239429004570Smrg if ${ac_cv_path_mkdir+:} false; then : 2395bf4a254eSmrg $as_echo_n "(cached) " >&6 2396bf4a254eSmrgelse 2397bf4a254eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2398bf4a254eSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2399bf4a254eSmrgdo 2400a73027baSmrg IFS=$as_save_IFS 2401a73027baSmrg test -z "$as_dir" && as_dir=. 2402bf4a254eSmrg for ac_prog in mkdir gmkdir; do 2403a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2404a73027baSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2405a73027baSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2406a73027baSmrg 'mkdir (GNU coreutils) '* | \ 2407a73027baSmrg 'mkdir (coreutils) '* | \ 2408a73027baSmrg 'mkdir (fileutils) '4.1*) 2409a73027baSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2410a73027baSmrg break 3;; 2411a73027baSmrg esac 2412a73027baSmrg done 2413a73027baSmrg done 2414bf4a254eSmrg done 2415a73027baSmrgIFS=$as_save_IFS 2416a73027baSmrg 2417a73027baSmrgfi 2418a73027baSmrg 2419bf4a254eSmrg test -d ./--version && rmdir ./--version 2420a73027baSmrg if test "${ac_cv_path_mkdir+set}" = set; then 2421a73027baSmrg MKDIR_P="$ac_cv_path_mkdir -p" 2422a73027baSmrg else 2423a73027baSmrg # As a last resort, use the slow shell script. Don't cache a 2424a73027baSmrg # value for MKDIR_P within a source directory, because that will 2425a73027baSmrg # break other packages using the cache if that directory is 2426a73027baSmrg # removed, or if the value is a relative name. 2427a73027baSmrg MKDIR_P="$ac_install_sh -d" 2428a73027baSmrg fi 2429a73027baSmrgfi 2430bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2431bf4a254eSmrg$as_echo "$MKDIR_P" >&6; } 2432a73027baSmrg 2433a73027baSmrgmkdir_p="$MKDIR_P" 2434a73027baSmrgcase $mkdir_p in 2435a73027baSmrg [\\/$]* | ?:[\\/]*) ;; 2436a73027baSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2437a73027baSmrgesac 2438a73027baSmrg 2439a73027baSmrgfor ac_prog in gawk mawk nawk awk 2440a73027baSmrgdo 2441a73027baSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2442a73027baSmrgset dummy $ac_prog; ac_word=$2 2443bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2444bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 244529004570Smrgif ${ac_cv_prog_AWK+:} false; then : 2446bf4a254eSmrg $as_echo_n "(cached) " >&6 2447a73027baSmrgelse 2448a73027baSmrg if test -n "$AWK"; then 2449a73027baSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2450a73027baSmrgelse 2451a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2452a73027baSmrgfor as_dir in $PATH 2453a73027baSmrgdo 2454a73027baSmrg IFS=$as_save_IFS 2455a73027baSmrg test -z "$as_dir" && as_dir=. 2456bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2457a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2458a73027baSmrg ac_cv_prog_AWK="$ac_prog" 2459bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2460a73027baSmrg break 2 2461a73027baSmrg fi 2462a73027baSmrgdone 2463bf4a254eSmrg done 2464a73027baSmrgIFS=$as_save_IFS 2465a73027baSmrg 2466a73027baSmrgfi 2467a73027baSmrgfi 2468a73027baSmrgAWK=$ac_cv_prog_AWK 2469a73027baSmrgif test -n "$AWK"; then 2470bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2471bf4a254eSmrg$as_echo "$AWK" >&6; } 2472a73027baSmrgelse 2473bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2474bf4a254eSmrg$as_echo "no" >&6; } 2475a73027baSmrgfi 2476a73027baSmrg 2477a73027baSmrg 2478a73027baSmrg test -n "$AWK" && break 2479a73027baSmrgdone 2480a73027baSmrg 2481bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2482bf4a254eSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2483bf4a254eSmrgset x ${MAKE-make} 2484bf4a254eSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 248529004570Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2486bf4a254eSmrg $as_echo_n "(cached) " >&6 2487a73027baSmrgelse 2488a73027baSmrg cat >conftest.make <<\_ACEOF 2489a73027baSmrgSHELL = /bin/sh 2490a73027baSmrgall: 2491a73027baSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2492a73027baSmrg_ACEOF 249329004570Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2494a73027baSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2495a73027baSmrg *@@@%%%=?*=@@@%%%*) 2496a73027baSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2497a73027baSmrg *) 2498a73027baSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 2499a73027baSmrgesac 2500a73027baSmrgrm -f conftest.make 2501a73027baSmrgfi 2502a73027baSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2503bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2504bf4a254eSmrg$as_echo "yes" >&6; } 2505a73027baSmrg SET_MAKE= 2506a73027baSmrgelse 2507bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2508bf4a254eSmrg$as_echo "no" >&6; } 2509a73027baSmrg SET_MAKE="MAKE=${MAKE-make}" 2510a73027baSmrgfi 2511a73027baSmrg 2512a73027baSmrgrm -rf .tst 2>/dev/null 2513a73027baSmrgmkdir .tst 2>/dev/null 2514a73027baSmrgif test -d .tst; then 2515a73027baSmrg am__leading_dot=. 2516a73027baSmrgelse 2517a73027baSmrg am__leading_dot=_ 2518a73027baSmrgfi 2519a73027baSmrgrmdir .tst 2>/dev/null 2520a73027baSmrg 2521a73027baSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2522a73027baSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2523a73027baSmrg # is not polluted with repeated "-I." 2524a73027baSmrg am__isrc=' -I$(srcdir)' 2525a73027baSmrg # test to see if srcdir already configured 2526a73027baSmrg if test -f $srcdir/config.status; then 252729004570Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2528a73027baSmrg fi 2529a73027baSmrgfi 2530a73027baSmrg 2531a73027baSmrg# test whether we have cygpath 2532a73027baSmrgif test -z "$CYGPATH_W"; then 2533a73027baSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 2534a73027baSmrg CYGPATH_W='cygpath -w' 2535a73027baSmrg else 2536a73027baSmrg CYGPATH_W=echo 2537a73027baSmrg fi 2538a73027baSmrgfi 2539a73027baSmrg 2540a73027baSmrg 2541a73027baSmrg# Define the identity of the package. 2542a73027baSmrg PACKAGE='xinit' 254329004570Smrg VERSION='1.3.0' 2544a73027baSmrg 2545a73027baSmrg 2546a73027baSmrgcat >>confdefs.h <<_ACEOF 2547a73027baSmrg#define PACKAGE "$PACKAGE" 2548a73027baSmrg_ACEOF 2549a73027baSmrg 2550a73027baSmrg 2551a73027baSmrgcat >>confdefs.h <<_ACEOF 2552a73027baSmrg#define VERSION "$VERSION" 2553a73027baSmrg_ACEOF 2554a73027baSmrg 2555a73027baSmrg# Some tools Automake needs. 2556a73027baSmrg 2557a73027baSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2558a73027baSmrg 2559a73027baSmrg 2560a73027baSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2561a73027baSmrg 2562a73027baSmrg 2563a73027baSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2564a73027baSmrg 2565a73027baSmrg 2566a73027baSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2567a73027baSmrg 2568a73027baSmrg 2569a73027baSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2570a73027baSmrg 2571a73027baSmrg# We need awk for the "check" target. The system "awk" is bad on 2572a73027baSmrg# some platforms. 2573a73027baSmrg# Always define AMTAR for backward compatibility. 2574a73027baSmrg 2575a73027baSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2576a73027baSmrg 2577a73027baSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2578a73027baSmrg 2579a73027baSmrg 2580a73027baSmrg 2581a73027baSmrg 2582a73027baSmrg 2583bf4a254eSmrg 2584bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2585bf4a254eSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2586a73027baSmrg # Check whether --enable-maintainer-mode was given. 2587bf4a254eSmrgif test "${enable_maintainer_mode+set}" = set; then : 2588a73027baSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2589a73027baSmrgelse 2590a73027baSmrg USE_MAINTAINER_MODE=no 2591a73027baSmrgfi 2592a73027baSmrg 2593bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2594bf4a254eSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 2595a73027baSmrg if test $USE_MAINTAINER_MODE = yes; then 2596a73027baSmrg MAINTAINER_MODE_TRUE= 2597a73027baSmrg MAINTAINER_MODE_FALSE='#' 2598a73027baSmrgelse 2599a73027baSmrg MAINTAINER_MODE_TRUE='#' 2600a73027baSmrg MAINTAINER_MODE_FALSE= 2601a73027baSmrgfi 2602a73027baSmrg 2603a73027baSmrg MAINT=$MAINTAINER_MODE_TRUE 2604a73027baSmrg 2605a73027baSmrg 2606a73027baSmrg 260729004570Smrg# Require X.Org macros 1.8 or later for AC_PROG_SED in XORG_DEFAULT_OPTIONS 2608bf4a254eSmrg 2609bf4a254eSmrg 2610bf4a254eSmrg 2611bf4a254eSmrg 2612bf4a254eSmrg 2613bf4a254eSmrg 2614bf4a254eSmrg 2615bf4a254eSmrg 2616bf4a254eSmrg 2617bf4a254eSmrg 2618bf4a254eSmrg 2619bf4a254eSmrgDEPDIR="${am__leading_dot}deps" 2620bf4a254eSmrg 2621bf4a254eSmrgac_config_commands="$ac_config_commands depfiles" 2622bf4a254eSmrg 2623bf4a254eSmrg 2624bf4a254eSmrgam_make=${MAKE-make} 2625bf4a254eSmrgcat > confinc << 'END' 2626bf4a254eSmrgam__doit: 2627bf4a254eSmrg @echo this is the am__doit target 2628bf4a254eSmrg.PHONY: am__doit 2629bf4a254eSmrgEND 2630bf4a254eSmrg# If we don't find an include directive, just comment out the code. 2631bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2632bf4a254eSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 2633bf4a254eSmrgam__include="#" 2634bf4a254eSmrgam__quote= 2635bf4a254eSmrg_am_result=none 2636bf4a254eSmrg# First try GNU make style include. 2637bf4a254eSmrgecho "include confinc" > confmf 2638bf4a254eSmrg# Ignore all kinds of additional output from `make'. 2639bf4a254eSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 2640bf4a254eSmrg*the\ am__doit\ target*) 2641bf4a254eSmrg am__include=include 2642bf4a254eSmrg am__quote= 2643bf4a254eSmrg _am_result=GNU 2644bf4a254eSmrg ;; 2645bf4a254eSmrgesac 2646bf4a254eSmrg# Now try BSD make style include. 2647bf4a254eSmrgif test "$am__include" = "#"; then 2648bf4a254eSmrg echo '.include "confinc"' > confmf 2649bf4a254eSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 2650bf4a254eSmrg *the\ am__doit\ target*) 2651bf4a254eSmrg am__include=.include 2652bf4a254eSmrg am__quote="\"" 2653bf4a254eSmrg _am_result=BSD 2654bf4a254eSmrg ;; 2655bf4a254eSmrg esac 2656bf4a254eSmrgfi 2657bf4a254eSmrg 2658bf4a254eSmrg 2659bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2660bf4a254eSmrg$as_echo "$_am_result" >&6; } 2661bf4a254eSmrgrm -f confinc confmf 2662bf4a254eSmrg 2663bf4a254eSmrg# Check whether --enable-dependency-tracking was given. 2664bf4a254eSmrgif test "${enable_dependency_tracking+set}" = set; then : 2665bf4a254eSmrg enableval=$enable_dependency_tracking; 2666bf4a254eSmrgfi 2667bf4a254eSmrg 2668bf4a254eSmrgif test "x$enable_dependency_tracking" != xno; then 2669bf4a254eSmrg am_depcomp="$ac_aux_dir/depcomp" 2670bf4a254eSmrg AMDEPBACKSLASH='\' 2671bf4a254eSmrgfi 2672bf4a254eSmrg if test "x$enable_dependency_tracking" != xno; then 2673bf4a254eSmrg AMDEP_TRUE= 2674bf4a254eSmrg AMDEP_FALSE='#' 2675bf4a254eSmrgelse 2676bf4a254eSmrg AMDEP_TRUE='#' 2677bf4a254eSmrg AMDEP_FALSE= 2678bf4a254eSmrgfi 2679a73027baSmrg 2680a73027baSmrg 2681a73027baSmrgac_ext=c 2682a73027baSmrgac_cpp='$CPP $CPPFLAGS' 2683a73027baSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2684a73027baSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2685a73027baSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2686a73027baSmrgif test -n "$ac_tool_prefix"; then 2687a73027baSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2688a73027baSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 2689bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2690bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 269129004570Smrgif ${ac_cv_prog_CC+:} false; then : 2692bf4a254eSmrg $as_echo_n "(cached) " >&6 2693a73027baSmrgelse 2694a73027baSmrg if test -n "$CC"; then 2695a73027baSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2696a73027baSmrgelse 2697a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2698a73027baSmrgfor as_dir in $PATH 2699a73027baSmrgdo 2700a73027baSmrg IFS=$as_save_IFS 2701a73027baSmrg test -z "$as_dir" && as_dir=. 2702bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2703a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2704a73027baSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 2705bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2706a73027baSmrg break 2 2707a73027baSmrg fi 2708a73027baSmrgdone 2709bf4a254eSmrg done 2710a73027baSmrgIFS=$as_save_IFS 2711a73027baSmrg 2712a73027baSmrgfi 2713a73027baSmrgfi 2714a73027baSmrgCC=$ac_cv_prog_CC 2715a73027baSmrgif test -n "$CC"; then 2716bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2717bf4a254eSmrg$as_echo "$CC" >&6; } 2718a73027baSmrgelse 2719bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2720bf4a254eSmrg$as_echo "no" >&6; } 2721a73027baSmrgfi 2722a73027baSmrg 2723a73027baSmrg 2724a73027baSmrgfi 2725a73027baSmrgif test -z "$ac_cv_prog_CC"; then 2726a73027baSmrg ac_ct_CC=$CC 2727a73027baSmrg # Extract the first word of "gcc", so it can be a program name with args. 2728a73027baSmrgset dummy gcc; ac_word=$2 2729bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2730bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 273129004570Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 2732bf4a254eSmrg $as_echo_n "(cached) " >&6 2733a73027baSmrgelse 2734a73027baSmrg if test -n "$ac_ct_CC"; then 2735a73027baSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2736a73027baSmrgelse 2737a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2738a73027baSmrgfor as_dir in $PATH 2739a73027baSmrgdo 2740a73027baSmrg IFS=$as_save_IFS 2741a73027baSmrg test -z "$as_dir" && as_dir=. 2742bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2743a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2744a73027baSmrg ac_cv_prog_ac_ct_CC="gcc" 2745bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2746a73027baSmrg break 2 2747a73027baSmrg fi 2748a73027baSmrgdone 2749bf4a254eSmrg done 2750a73027baSmrgIFS=$as_save_IFS 2751a73027baSmrg 2752a73027baSmrgfi 2753a73027baSmrgfi 2754a73027baSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2755a73027baSmrgif test -n "$ac_ct_CC"; then 2756bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2757bf4a254eSmrg$as_echo "$ac_ct_CC" >&6; } 2758a73027baSmrgelse 2759bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2760bf4a254eSmrg$as_echo "no" >&6; } 2761a73027baSmrgfi 2762a73027baSmrg 2763a73027baSmrg if test "x$ac_ct_CC" = x; then 2764a73027baSmrg CC="" 2765a73027baSmrg else 2766a73027baSmrg case $cross_compiling:$ac_tool_warned in 2767a73027baSmrgyes:) 2768bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2769bf4a254eSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2770a73027baSmrgac_tool_warned=yes ;; 2771a73027baSmrgesac 2772a73027baSmrg CC=$ac_ct_CC 2773a73027baSmrg fi 2774a73027baSmrgelse 2775a73027baSmrg CC="$ac_cv_prog_CC" 2776a73027baSmrgfi 2777a73027baSmrg 2778a73027baSmrgif test -z "$CC"; then 2779a73027baSmrg if test -n "$ac_tool_prefix"; then 2780a73027baSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2781a73027baSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 2782bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2783bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 278429004570Smrgif ${ac_cv_prog_CC+:} false; then : 2785bf4a254eSmrg $as_echo_n "(cached) " >&6 2786a73027baSmrgelse 2787a73027baSmrg if test -n "$CC"; then 2788a73027baSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2789a73027baSmrgelse 2790a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2791a73027baSmrgfor as_dir in $PATH 2792a73027baSmrgdo 2793a73027baSmrg IFS=$as_save_IFS 2794a73027baSmrg test -z "$as_dir" && as_dir=. 2795bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2796a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2797a73027baSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 2798bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2799a73027baSmrg break 2 2800a73027baSmrg fi 2801a73027baSmrgdone 2802bf4a254eSmrg done 2803a73027baSmrgIFS=$as_save_IFS 2804a73027baSmrg 2805a73027baSmrgfi 2806a73027baSmrgfi 2807a73027baSmrgCC=$ac_cv_prog_CC 2808a73027baSmrgif test -n "$CC"; then 2809bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2810bf4a254eSmrg$as_echo "$CC" >&6; } 2811a73027baSmrgelse 2812bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2813bf4a254eSmrg$as_echo "no" >&6; } 2814a73027baSmrgfi 2815a73027baSmrg 2816a73027baSmrg 2817a73027baSmrg fi 2818a73027baSmrgfi 2819a73027baSmrgif test -z "$CC"; then 2820a73027baSmrg # Extract the first word of "cc", so it can be a program name with args. 2821a73027baSmrgset dummy cc; ac_word=$2 2822bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2823bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 282429004570Smrgif ${ac_cv_prog_CC+:} false; then : 2825bf4a254eSmrg $as_echo_n "(cached) " >&6 2826a73027baSmrgelse 2827a73027baSmrg if test -n "$CC"; then 2828a73027baSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2829a73027baSmrgelse 2830a73027baSmrg ac_prog_rejected=no 2831a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2832a73027baSmrgfor as_dir in $PATH 2833a73027baSmrgdo 2834a73027baSmrg IFS=$as_save_IFS 2835a73027baSmrg test -z "$as_dir" && as_dir=. 2836bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2837a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2838a73027baSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2839a73027baSmrg ac_prog_rejected=yes 2840a73027baSmrg continue 2841a73027baSmrg fi 2842a73027baSmrg ac_cv_prog_CC="cc" 2843bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2844a73027baSmrg break 2 2845a73027baSmrg fi 2846a73027baSmrgdone 2847bf4a254eSmrg done 2848a73027baSmrgIFS=$as_save_IFS 2849a73027baSmrg 2850a73027baSmrgif test $ac_prog_rejected = yes; then 2851a73027baSmrg # We found a bogon in the path, so make sure we never use it. 2852a73027baSmrg set dummy $ac_cv_prog_CC 2853a73027baSmrg shift 2854a73027baSmrg if test $# != 0; then 2855a73027baSmrg # We chose a different compiler from the bogus one. 2856a73027baSmrg # However, it has the same basename, so the bogon will be chosen 2857a73027baSmrg # first if we set CC to just the basename; use the full file name. 2858a73027baSmrg shift 2859a73027baSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2860a73027baSmrg fi 2861a73027baSmrgfi 2862a73027baSmrgfi 2863a73027baSmrgfi 2864a73027baSmrgCC=$ac_cv_prog_CC 2865a73027baSmrgif test -n "$CC"; then 2866bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2867bf4a254eSmrg$as_echo "$CC" >&6; } 2868a73027baSmrgelse 2869bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2870bf4a254eSmrg$as_echo "no" >&6; } 2871a73027baSmrgfi 2872a73027baSmrg 2873a73027baSmrg 2874a73027baSmrgfi 2875a73027baSmrgif test -z "$CC"; then 2876a73027baSmrg if test -n "$ac_tool_prefix"; then 2877a73027baSmrg for ac_prog in cl.exe 2878a73027baSmrg do 2879a73027baSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2880a73027baSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 2881bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2882bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 288329004570Smrgif ${ac_cv_prog_CC+:} false; then : 2884bf4a254eSmrg $as_echo_n "(cached) " >&6 2885a73027baSmrgelse 2886a73027baSmrg if test -n "$CC"; then 2887a73027baSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2888a73027baSmrgelse 2889a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2890a73027baSmrgfor as_dir in $PATH 2891a73027baSmrgdo 2892a73027baSmrg IFS=$as_save_IFS 2893a73027baSmrg test -z "$as_dir" && as_dir=. 2894bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2895a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2896a73027baSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2897bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2898a73027baSmrg break 2 2899a73027baSmrg fi 2900a73027baSmrgdone 2901bf4a254eSmrg done 2902a73027baSmrgIFS=$as_save_IFS 2903a73027baSmrg 2904a73027baSmrgfi 2905a73027baSmrgfi 2906a73027baSmrgCC=$ac_cv_prog_CC 2907a73027baSmrgif test -n "$CC"; then 2908bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2909bf4a254eSmrg$as_echo "$CC" >&6; } 2910a73027baSmrgelse 2911bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2912bf4a254eSmrg$as_echo "no" >&6; } 2913a73027baSmrgfi 2914a73027baSmrg 2915a73027baSmrg 2916a73027baSmrg test -n "$CC" && break 2917a73027baSmrg done 2918a73027baSmrgfi 2919a73027baSmrgif test -z "$CC"; then 2920a73027baSmrg ac_ct_CC=$CC 2921a73027baSmrg for ac_prog in cl.exe 2922a73027baSmrgdo 2923a73027baSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2924a73027baSmrgset dummy $ac_prog; ac_word=$2 2925bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2926bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 292729004570Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 2928bf4a254eSmrg $as_echo_n "(cached) " >&6 2929a73027baSmrgelse 2930a73027baSmrg if test -n "$ac_ct_CC"; then 2931a73027baSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2932a73027baSmrgelse 2933a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2934a73027baSmrgfor as_dir in $PATH 2935a73027baSmrgdo 2936a73027baSmrg IFS=$as_save_IFS 2937a73027baSmrg test -z "$as_dir" && as_dir=. 2938bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2939a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2940a73027baSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 2941bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2942a73027baSmrg break 2 2943a73027baSmrg fi 2944a73027baSmrgdone 2945bf4a254eSmrg done 2946a73027baSmrgIFS=$as_save_IFS 2947a73027baSmrg 2948a73027baSmrgfi 2949a73027baSmrgfi 2950a73027baSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2951a73027baSmrgif test -n "$ac_ct_CC"; then 2952bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2953bf4a254eSmrg$as_echo "$ac_ct_CC" >&6; } 2954a73027baSmrgelse 2955bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2956bf4a254eSmrg$as_echo "no" >&6; } 2957a73027baSmrgfi 2958a73027baSmrg 2959a73027baSmrg 2960a73027baSmrg test -n "$ac_ct_CC" && break 2961a73027baSmrgdone 2962a73027baSmrg 2963a73027baSmrg if test "x$ac_ct_CC" = x; then 2964a73027baSmrg CC="" 2965a73027baSmrg else 2966a73027baSmrg case $cross_compiling:$ac_tool_warned in 2967a73027baSmrgyes:) 2968bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2969bf4a254eSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2970a73027baSmrgac_tool_warned=yes ;; 2971a73027baSmrgesac 2972a73027baSmrg CC=$ac_ct_CC 2973a73027baSmrg fi 2974a73027baSmrgfi 2975a73027baSmrg 2976a73027baSmrgfi 2977a73027baSmrg 2978a73027baSmrg 2979bf4a254eSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2980bf4a254eSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 298129004570Smrgas_fn_error $? "no acceptable C compiler found in \$PATH 298229004570SmrgSee \`config.log' for more details" "$LINENO" 5; } 2983a73027baSmrg 2984a73027baSmrg# Provide some information about the compiler. 2985bf4a254eSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2986bf4a254eSmrgset X $ac_compile 2987bf4a254eSmrgac_compiler=$2 2988bf4a254eSmrgfor ac_option in --version -v -V -qversion; do 2989bf4a254eSmrg { { ac_try="$ac_compiler $ac_option >&5" 2990a73027baSmrgcase "(($ac_try" in 2991a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2992a73027baSmrg *) ac_try_echo=$ac_try;; 2993a73027baSmrgesac 2994bf4a254eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2995bf4a254eSmrg$as_echo "$ac_try_echo"; } >&5 2996bf4a254eSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2997a73027baSmrg ac_status=$? 2998bf4a254eSmrg if test -s conftest.err; then 2999bf4a254eSmrg sed '10a\ 3000bf4a254eSmrg... rest of stderr output deleted ... 3001bf4a254eSmrg 10q' conftest.err >conftest.er1 3002bf4a254eSmrg cat conftest.er1 >&5 3003bf4a254eSmrg fi 3004bf4a254eSmrg rm -f conftest.er1 conftest.err 3005bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3006bf4a254eSmrg test $ac_status = 0; } 3007bf4a254eSmrgdone 3008a73027baSmrg 3009bf4a254eSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3010a73027baSmrg/* end confdefs.h. */ 3011a73027baSmrg 3012a73027baSmrgint 3013a73027baSmrgmain () 3014a73027baSmrg{ 3015a73027baSmrg 3016a73027baSmrg ; 3017a73027baSmrg return 0; 3018a73027baSmrg} 3019a73027baSmrg_ACEOF 3020a73027baSmrgac_clean_files_save=$ac_clean_files 3021bf4a254eSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3022a73027baSmrg# Try to create an executable without -o first, disregard a.out. 3023a73027baSmrg# It will help us diagnose broken compilers, and finding out an intuition 3024a73027baSmrg# of exeext. 3025bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3026bf4a254eSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 3027bf4a254eSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3028bf4a254eSmrg 3029bf4a254eSmrg# The possible output files: 3030bf4a254eSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3031bf4a254eSmrg 3032a73027baSmrgac_rmfiles= 3033a73027baSmrgfor ac_file in $ac_files 3034a73027baSmrgdo 3035a73027baSmrg case $ac_file in 3036bf4a254eSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3037a73027baSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3038a73027baSmrg esac 3039a73027baSmrgdone 3040a73027baSmrgrm -f $ac_rmfiles 3041a73027baSmrg 3042bf4a254eSmrgif { { ac_try="$ac_link_default" 3043a73027baSmrgcase "(($ac_try" in 3044a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3045a73027baSmrg *) ac_try_echo=$ac_try;; 3046a73027baSmrgesac 3047bf4a254eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3048bf4a254eSmrg$as_echo "$ac_try_echo"; } >&5 3049a73027baSmrg (eval "$ac_link_default") 2>&5 3050a73027baSmrg ac_status=$? 3051bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3052bf4a254eSmrg test $ac_status = 0; }; then : 3053a73027baSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3054a73027baSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3055a73027baSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 3056a73027baSmrg# so that the user can short-circuit this test for compilers unknown to 3057a73027baSmrg# Autoconf. 3058a73027baSmrgfor ac_file in $ac_files '' 3059a73027baSmrgdo 3060a73027baSmrg test -f "$ac_file" || continue 3061a73027baSmrg case $ac_file in 3062bf4a254eSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3063a73027baSmrg ;; 3064a73027baSmrg [ab].out ) 3065a73027baSmrg # We found the default executable, but exeext='' is most 3066a73027baSmrg # certainly right. 3067a73027baSmrg break;; 3068a73027baSmrg *.* ) 3069bf4a254eSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3070a73027baSmrg then :; else 3071a73027baSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3072a73027baSmrg fi 3073a73027baSmrg # We set ac_cv_exeext here because the later test for it is not 3074a73027baSmrg # safe: cross compilers may not add the suffix if given an `-o' 3075a73027baSmrg # argument, so we may need to know it at that point already. 3076a73027baSmrg # Even if this section looks crufty: it has the advantage of 3077a73027baSmrg # actually working. 3078a73027baSmrg break;; 3079a73027baSmrg * ) 3080a73027baSmrg break;; 3081a73027baSmrg esac 3082a73027baSmrgdone 3083a73027baSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 3084a73027baSmrg 3085a73027baSmrgelse 3086a73027baSmrg ac_file='' 3087a73027baSmrgfi 3088bf4a254eSmrgif test -z "$ac_file"; then : 3089bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3090bf4a254eSmrg$as_echo "no" >&6; } 3091bf4a254eSmrg$as_echo "$as_me: failed program was:" >&5 3092a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 3093a73027baSmrg 3094bf4a254eSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3095bf4a254eSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 309629004570Smrgas_fn_error 77 "C compiler cannot create executables 309729004570SmrgSee \`config.log' for more details" "$LINENO" 5; } 3098bf4a254eSmrgelse 3099bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3100bf4a254eSmrg$as_echo "yes" >&6; } 3101a73027baSmrgfi 3102bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3103bf4a254eSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 3104bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3105bf4a254eSmrg$as_echo "$ac_file" >&6; } 3106a73027baSmrgac_exeext=$ac_cv_exeext 3107a73027baSmrg 3108bf4a254eSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3109a73027baSmrgac_clean_files=$ac_clean_files_save 3110bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3111bf4a254eSmrg$as_echo_n "checking for suffix of executables... " >&6; } 3112bf4a254eSmrgif { { ac_try="$ac_link" 3113a73027baSmrgcase "(($ac_try" in 3114a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3115a73027baSmrg *) ac_try_echo=$ac_try;; 3116a73027baSmrgesac 3117bf4a254eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3118bf4a254eSmrg$as_echo "$ac_try_echo"; } >&5 3119a73027baSmrg (eval "$ac_link") 2>&5 3120a73027baSmrg ac_status=$? 3121bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3122bf4a254eSmrg test $ac_status = 0; }; then : 3123a73027baSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 3124a73027baSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3125a73027baSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 3126a73027baSmrg# `rm'. 3127a73027baSmrgfor ac_file in conftest.exe conftest conftest.*; do 3128a73027baSmrg test -f "$ac_file" || continue 3129a73027baSmrg case $ac_file in 3130bf4a254eSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3131a73027baSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3132a73027baSmrg break;; 3133a73027baSmrg * ) break;; 3134a73027baSmrg esac 3135a73027baSmrgdone 3136a73027baSmrgelse 3137bf4a254eSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3138bf4a254eSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 313929004570Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 314029004570SmrgSee \`config.log' for more details" "$LINENO" 5; } 3141a73027baSmrgfi 3142bf4a254eSmrgrm -f conftest conftest$ac_cv_exeext 3143bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3144bf4a254eSmrg$as_echo "$ac_cv_exeext" >&6; } 3145a73027baSmrg 3146a73027baSmrgrm -f conftest.$ac_ext 3147a73027baSmrgEXEEXT=$ac_cv_exeext 3148a73027baSmrgac_exeext=$EXEEXT 3149bf4a254eSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3150bf4a254eSmrg/* end confdefs.h. */ 3151bf4a254eSmrg#include <stdio.h> 3152bf4a254eSmrgint 3153bf4a254eSmrgmain () 3154bf4a254eSmrg{ 3155bf4a254eSmrgFILE *f = fopen ("conftest.out", "w"); 3156bf4a254eSmrg return ferror (f) || fclose (f) != 0; 3157bf4a254eSmrg 3158bf4a254eSmrg ; 3159bf4a254eSmrg return 0; 3160bf4a254eSmrg} 3161a73027baSmrg_ACEOF 3162bf4a254eSmrgac_clean_files="$ac_clean_files conftest.out" 3163bf4a254eSmrg# Check that the compiler produces executables we can run. If not, either 3164bf4a254eSmrg# the compiler is broken, or we cross compile. 3165bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3166bf4a254eSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 3167bf4a254eSmrgif test "$cross_compiling" != yes; then 3168bf4a254eSmrg { { ac_try="$ac_link" 3169bf4a254eSmrgcase "(($ac_try" in 3170bf4a254eSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3171bf4a254eSmrg *) ac_try_echo=$ac_try;; 3172bf4a254eSmrgesac 3173bf4a254eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3174bf4a254eSmrg$as_echo "$ac_try_echo"; } >&5 3175bf4a254eSmrg (eval "$ac_link") 2>&5 3176bf4a254eSmrg ac_status=$? 3177bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3178bf4a254eSmrg test $ac_status = 0; } 3179bf4a254eSmrg if { ac_try='./conftest$ac_cv_exeext' 3180bf4a254eSmrg { { case "(($ac_try" in 3181bf4a254eSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3182bf4a254eSmrg *) ac_try_echo=$ac_try;; 3183bf4a254eSmrgesac 3184bf4a254eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3185bf4a254eSmrg$as_echo "$ac_try_echo"; } >&5 3186bf4a254eSmrg (eval "$ac_try") 2>&5 3187bf4a254eSmrg ac_status=$? 3188bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3189bf4a254eSmrg test $ac_status = 0; }; }; then 3190bf4a254eSmrg cross_compiling=no 3191bf4a254eSmrg else 3192bf4a254eSmrg if test "$cross_compiling" = maybe; then 3193bf4a254eSmrg cross_compiling=yes 3194bf4a254eSmrg else 3195bf4a254eSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3196bf4a254eSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 319729004570Smrgas_fn_error $? "cannot run C compiled programs. 3198bf4a254eSmrgIf you meant to cross compile, use \`--host'. 319929004570SmrgSee \`config.log' for more details" "$LINENO" 5; } 3200bf4a254eSmrg fi 3201bf4a254eSmrg fi 3202bf4a254eSmrgfi 3203bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3204bf4a254eSmrg$as_echo "$cross_compiling" >&6; } 3205bf4a254eSmrg 3206bf4a254eSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3207bf4a254eSmrgac_clean_files=$ac_clean_files_save 3208bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3209bf4a254eSmrg$as_echo_n "checking for suffix of object files... " >&6; } 321029004570Smrgif ${ac_cv_objext+:} false; then : 3211bf4a254eSmrg $as_echo_n "(cached) " >&6 3212bf4a254eSmrgelse 3213bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3214a73027baSmrg/* end confdefs.h. */ 3215a73027baSmrg 3216a73027baSmrgint 3217a73027baSmrgmain () 3218a73027baSmrg{ 3219a73027baSmrg 3220a73027baSmrg ; 3221a73027baSmrg return 0; 3222a73027baSmrg} 3223a73027baSmrg_ACEOF 3224a73027baSmrgrm -f conftest.o conftest.obj 3225bf4a254eSmrgif { { ac_try="$ac_compile" 3226a73027baSmrgcase "(($ac_try" in 3227a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3228a73027baSmrg *) ac_try_echo=$ac_try;; 3229a73027baSmrgesac 3230bf4a254eSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3231bf4a254eSmrg$as_echo "$ac_try_echo"; } >&5 3232a73027baSmrg (eval "$ac_compile") 2>&5 3233a73027baSmrg ac_status=$? 3234bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3235bf4a254eSmrg test $ac_status = 0; }; then : 3236a73027baSmrg for ac_file in conftest.o conftest.obj conftest.*; do 3237a73027baSmrg test -f "$ac_file" || continue; 3238a73027baSmrg case $ac_file in 3239bf4a254eSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3240a73027baSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3241a73027baSmrg break;; 3242a73027baSmrg esac 3243a73027baSmrgdone 3244a73027baSmrgelse 3245bf4a254eSmrg $as_echo "$as_me: failed program was:" >&5 3246a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 3247a73027baSmrg 3248bf4a254eSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3249bf4a254eSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 325029004570Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile 325129004570SmrgSee \`config.log' for more details" "$LINENO" 5; } 3252a73027baSmrgfi 3253a73027baSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 3254a73027baSmrgfi 3255bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3256bf4a254eSmrg$as_echo "$ac_cv_objext" >&6; } 3257a73027baSmrgOBJEXT=$ac_cv_objext 3258a73027baSmrgac_objext=$OBJEXT 3259bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3260bf4a254eSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 326129004570Smrgif ${ac_cv_c_compiler_gnu+:} false; then : 3262bf4a254eSmrg $as_echo_n "(cached) " >&6 3263a73027baSmrgelse 3264bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3265a73027baSmrg/* end confdefs.h. */ 3266a73027baSmrg 3267a73027baSmrgint 3268a73027baSmrgmain () 3269a73027baSmrg{ 3270a73027baSmrg#ifndef __GNUC__ 3271a73027baSmrg choke me 3272a73027baSmrg#endif 3273a73027baSmrg 3274a73027baSmrg ; 3275a73027baSmrg return 0; 3276a73027baSmrg} 3277a73027baSmrg_ACEOF 3278bf4a254eSmrgif ac_fn_c_try_compile "$LINENO"; then : 3279a73027baSmrg ac_compiler_gnu=yes 3280a73027baSmrgelse 3281bf4a254eSmrg ac_compiler_gnu=no 3282a73027baSmrgfi 3283a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3284a73027baSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 3285a73027baSmrg 3286a73027baSmrgfi 3287bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3288bf4a254eSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3289bf4a254eSmrgif test $ac_compiler_gnu = yes; then 3290bf4a254eSmrg GCC=yes 3291bf4a254eSmrgelse 3292bf4a254eSmrg GCC= 3293bf4a254eSmrgfi 3294a73027baSmrgac_test_CFLAGS=${CFLAGS+set} 3295a73027baSmrgac_save_CFLAGS=$CFLAGS 3296bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3297bf4a254eSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 329829004570Smrgif ${ac_cv_prog_cc_g+:} false; then : 3299bf4a254eSmrg $as_echo_n "(cached) " >&6 3300a73027baSmrgelse 3301a73027baSmrg ac_save_c_werror_flag=$ac_c_werror_flag 3302a73027baSmrg ac_c_werror_flag=yes 3303a73027baSmrg ac_cv_prog_cc_g=no 3304a73027baSmrg CFLAGS="-g" 3305bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3306a73027baSmrg/* end confdefs.h. */ 3307a73027baSmrg 3308a73027baSmrgint 3309a73027baSmrgmain () 3310a73027baSmrg{ 3311a73027baSmrg 3312a73027baSmrg ; 3313a73027baSmrg return 0; 3314a73027baSmrg} 3315a73027baSmrg_ACEOF 3316bf4a254eSmrgif ac_fn_c_try_compile "$LINENO"; then : 3317a73027baSmrg ac_cv_prog_cc_g=yes 3318a73027baSmrgelse 3319bf4a254eSmrg CFLAGS="" 3320bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3321a73027baSmrg/* end confdefs.h. */ 3322a73027baSmrg 3323a73027baSmrgint 3324a73027baSmrgmain () 3325a73027baSmrg{ 3326a73027baSmrg 3327a73027baSmrg ; 3328a73027baSmrg return 0; 3329a73027baSmrg} 3330a73027baSmrg_ACEOF 3331bf4a254eSmrgif ac_fn_c_try_compile "$LINENO"; then : 3332a73027baSmrg 3333bf4a254eSmrgelse 3334bf4a254eSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3335a73027baSmrg CFLAGS="-g" 3336bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3337a73027baSmrg/* end confdefs.h. */ 3338a73027baSmrg 3339a73027baSmrgint 3340a73027baSmrgmain () 3341a73027baSmrg{ 3342a73027baSmrg 3343a73027baSmrg ; 3344a73027baSmrg return 0; 3345a73027baSmrg} 3346a73027baSmrg_ACEOF 3347bf4a254eSmrgif ac_fn_c_try_compile "$LINENO"; then : 3348a73027baSmrg ac_cv_prog_cc_g=yes 3349a73027baSmrgfi 3350a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3351a73027baSmrgfi 3352a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3353a73027baSmrgfi 3354a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3355a73027baSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3356a73027baSmrgfi 3357bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3358bf4a254eSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 3359a73027baSmrgif test "$ac_test_CFLAGS" = set; then 3360a73027baSmrg CFLAGS=$ac_save_CFLAGS 3361a73027baSmrgelif test $ac_cv_prog_cc_g = yes; then 3362a73027baSmrg if test "$GCC" = yes; then 3363a73027baSmrg CFLAGS="-g -O2" 3364a73027baSmrg else 3365a73027baSmrg CFLAGS="-g" 3366a73027baSmrg fi 3367a73027baSmrgelse 3368a73027baSmrg if test "$GCC" = yes; then 3369a73027baSmrg CFLAGS="-O2" 3370a73027baSmrg else 3371a73027baSmrg CFLAGS= 3372a73027baSmrg fi 3373a73027baSmrgfi 3374bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3375bf4a254eSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 337629004570Smrgif ${ac_cv_prog_cc_c89+:} false; then : 3377bf4a254eSmrg $as_echo_n "(cached) " >&6 3378a73027baSmrgelse 3379a73027baSmrg ac_cv_prog_cc_c89=no 3380a73027baSmrgac_save_CC=$CC 3381bf4a254eSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3382a73027baSmrg/* end confdefs.h. */ 3383a73027baSmrg#include <stdarg.h> 3384a73027baSmrg#include <stdio.h> 3385a73027baSmrg#include <sys/types.h> 3386a73027baSmrg#include <sys/stat.h> 3387a73027baSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3388a73027baSmrgstruct buf { int x; }; 3389a73027baSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3390a73027baSmrgstatic char *e (p, i) 3391a73027baSmrg char **p; 3392a73027baSmrg int i; 3393a73027baSmrg{ 3394a73027baSmrg return p[i]; 3395a73027baSmrg} 3396a73027baSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3397a73027baSmrg{ 3398a73027baSmrg char *s; 3399a73027baSmrg va_list v; 3400a73027baSmrg va_start (v,p); 3401a73027baSmrg s = g (p, va_arg (v,int)); 3402a73027baSmrg va_end (v); 3403a73027baSmrg return s; 3404a73027baSmrg} 3405a73027baSmrg 3406a73027baSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3407a73027baSmrg function prototypes and stuff, but not '\xHH' hex character constants. 3408a73027baSmrg These don't provoke an error unfortunately, instead are silently treated 3409a73027baSmrg as 'x'. The following induces an error, until -std is added to get 3410a73027baSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3411a73027baSmrg array size at least. It's necessary to write '\x00'==0 to get something 3412a73027baSmrg that's true only with -std. */ 3413a73027baSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3414a73027baSmrg 3415a73027baSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3416a73027baSmrg inside strings and character constants. */ 3417a73027baSmrg#define FOO(x) 'x' 3418a73027baSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3419a73027baSmrg 3420a73027baSmrgint test (int i, double x); 3421a73027baSmrgstruct s1 {int (*f) (int a);}; 3422a73027baSmrgstruct s2 {int (*f) (double a);}; 3423a73027baSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3424a73027baSmrgint argc; 3425a73027baSmrgchar **argv; 3426a73027baSmrgint 3427a73027baSmrgmain () 3428a73027baSmrg{ 3429a73027baSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3430a73027baSmrg ; 3431a73027baSmrg return 0; 3432a73027baSmrg} 3433a73027baSmrg_ACEOF 3434a73027baSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3435a73027baSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3436a73027baSmrgdo 3437a73027baSmrg CC="$ac_save_CC $ac_arg" 3438bf4a254eSmrg if ac_fn_c_try_compile "$LINENO"; then : 3439a73027baSmrg ac_cv_prog_cc_c89=$ac_arg 3440a73027baSmrgfi 3441a73027baSmrgrm -f core conftest.err conftest.$ac_objext 3442a73027baSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3443a73027baSmrgdone 3444a73027baSmrgrm -f conftest.$ac_ext 3445a73027baSmrgCC=$ac_save_CC 3446a73027baSmrg 3447a73027baSmrgfi 3448a73027baSmrg# AC_CACHE_VAL 3449a73027baSmrgcase "x$ac_cv_prog_cc_c89" in 3450a73027baSmrg x) 3451bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3452bf4a254eSmrg$as_echo "none needed" >&6; } ;; 3453a73027baSmrg xno) 3454bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3455bf4a254eSmrg$as_echo "unsupported" >&6; } ;; 3456a73027baSmrg *) 3457a73027baSmrg CC="$CC $ac_cv_prog_cc_c89" 3458bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3459bf4a254eSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3460a73027baSmrgesac 3461bf4a254eSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 3462a73027baSmrg 3463bf4a254eSmrgfi 3464a73027baSmrg 3465a73027baSmrgac_ext=c 3466a73027baSmrgac_cpp='$CPP $CPPFLAGS' 3467a73027baSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3468a73027baSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3469a73027baSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3470a73027baSmrg 3471a73027baSmrgdepcc="$CC" am_compiler_list= 3472a73027baSmrg 3473bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3474bf4a254eSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 347529004570Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 3476bf4a254eSmrg $as_echo_n "(cached) " >&6 3477a73027baSmrgelse 3478a73027baSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3479a73027baSmrg # We make a subdir and do the tests there. Otherwise we can end up 3480a73027baSmrg # making bogus files that we don't know about and never remove. For 3481a73027baSmrg # instance it was reported that on HP-UX the gcc test will end up 3482a73027baSmrg # making a dummy file named `D' -- because `-MD' means `put the output 3483a73027baSmrg # in D'. 3484a73027baSmrg mkdir conftest.dir 3485a73027baSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 3486a73027baSmrg # using a relative directory. 3487a73027baSmrg cp "$am_depcomp" conftest.dir 3488a73027baSmrg cd conftest.dir 3489a73027baSmrg # We will build objects and dependencies in a subdirectory because 3490a73027baSmrg # it helps to detect inapplicable dependency modes. For instance 3491a73027baSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 3492a73027baSmrg # side effect of compilation, but ICC will put the dependencies in 3493a73027baSmrg # the current directory while Tru64 will put them in the object 3494a73027baSmrg # directory. 3495a73027baSmrg mkdir sub 3496a73027baSmrg 3497a73027baSmrg am_cv_CC_dependencies_compiler_type=none 3498a73027baSmrg if test "$am_compiler_list" = ""; then 3499a73027baSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3500a73027baSmrg fi 3501bf4a254eSmrg am__universal=false 3502bf4a254eSmrg case " $depcc " in #( 3503bf4a254eSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 3504bf4a254eSmrg esac 3505bf4a254eSmrg 3506a73027baSmrg for depmode in $am_compiler_list; do 3507a73027baSmrg # Setup a source with many dependencies, because some compilers 3508a73027baSmrg # like to wrap large dependency lists on column 80 (with \), and 3509a73027baSmrg # we should not choose a depcomp mode which is confused by this. 3510a73027baSmrg # 3511a73027baSmrg # We need to recreate these files for each test, as the compiler may 3512a73027baSmrg # overwrite some of them when testing with obscure command lines. 3513a73027baSmrg # This happens at least with the AIX C compiler. 3514a73027baSmrg : > sub/conftest.c 3515a73027baSmrg for i in 1 2 3 4 5 6; do 3516a73027baSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 3517a73027baSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3518a73027baSmrg # Solaris 8's {/usr,}/bin/sh. 3519a73027baSmrg touch sub/conftst$i.h 3520a73027baSmrg done 3521a73027baSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3522a73027baSmrg 3523bf4a254eSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 3524bf4a254eSmrg # mode. It turns out that the SunPro C++ compiler does not properly 3525bf4a254eSmrg # handle `-M -o', and we need to detect this. Also, some Intel 3526bf4a254eSmrg # versions had trouble with output in subdirs 3527bf4a254eSmrg am__obj=sub/conftest.${OBJEXT-o} 3528bf4a254eSmrg am__minus_obj="-o $am__obj" 3529a73027baSmrg case $depmode in 3530bf4a254eSmrg gcc) 3531bf4a254eSmrg # This depmode causes a compiler race in universal mode. 3532bf4a254eSmrg test "$am__universal" = false || continue 3533bf4a254eSmrg ;; 3534a73027baSmrg nosideeffect) 3535a73027baSmrg # after this tag, mechanisms are not by side-effect, so they'll 3536a73027baSmrg # only be used when explicitly requested 3537a73027baSmrg if test "x$enable_dependency_tracking" = xyes; then 3538a73027baSmrg continue 3539a73027baSmrg else 3540a73027baSmrg break 3541a73027baSmrg fi 3542a73027baSmrg ;; 3543bf4a254eSmrg msvisualcpp | msvcmsys) 3544bf4a254eSmrg # This compiler won't grok `-c -o', but also, the minuso test has 3545bf4a254eSmrg # not run yet. These depmodes are late enough in the game, and 3546bf4a254eSmrg # so weak that their functioning should not be impacted. 3547bf4a254eSmrg am__obj=conftest.${OBJEXT-o} 3548bf4a254eSmrg am__minus_obj= 3549bf4a254eSmrg ;; 3550a73027baSmrg none) break ;; 3551a73027baSmrg esac 3552a73027baSmrg if depmode=$depmode \ 3553bf4a254eSmrg source=sub/conftest.c object=$am__obj \ 3554a73027baSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3555bf4a254eSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3556a73027baSmrg >/dev/null 2>conftest.err && 3557a73027baSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3558a73027baSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3559bf4a254eSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3560a73027baSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3561a73027baSmrg # icc doesn't choke on unknown options, it will just issue warnings 3562a73027baSmrg # or remarks (even with -Werror). So we grep stderr for any message 3563a73027baSmrg # that says an option was ignored or not supported. 3564a73027baSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 3565a73027baSmrg # icc: Command line warning: ignoring option '-M'; no argument required 3566a73027baSmrg # The diagnosis changed in icc 8.0: 3567a73027baSmrg # icc: Command line remark: option '-MP' not supported 3568a73027baSmrg if (grep 'ignoring option' conftest.err || 3569a73027baSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3570a73027baSmrg am_cv_CC_dependencies_compiler_type=$depmode 3571a73027baSmrg break 3572a73027baSmrg fi 3573a73027baSmrg fi 3574a73027baSmrg done 3575a73027baSmrg 3576a73027baSmrg cd .. 3577a73027baSmrg rm -rf conftest.dir 3578a73027baSmrgelse 3579a73027baSmrg am_cv_CC_dependencies_compiler_type=none 3580a73027baSmrgfi 3581a73027baSmrg 3582a73027baSmrgfi 3583bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3584bf4a254eSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3585a73027baSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3586a73027baSmrg 3587a73027baSmrg if 3588a73027baSmrg test "x$enable_dependency_tracking" != xno \ 3589a73027baSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3590a73027baSmrg am__fastdepCC_TRUE= 3591a73027baSmrg am__fastdepCC_FALSE='#' 3592a73027baSmrgelse 3593a73027baSmrg am__fastdepCC_TRUE='#' 3594a73027baSmrg am__fastdepCC_FALSE= 3595a73027baSmrgfi 3596a73027baSmrg 3597a73027baSmrg 359829004570Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 359929004570Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 360029004570Smrgif ${ac_cv_prog_cc_c99+:} false; then : 3601bf4a254eSmrg $as_echo_n "(cached) " >&6 3602a73027baSmrgelse 360329004570Smrg ac_cv_prog_cc_c99=no 360429004570Smrgac_save_CC=$CC 360529004570Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3606a73027baSmrg/* end confdefs.h. */ 360729004570Smrg#include <stdarg.h> 360829004570Smrg#include <stdbool.h> 360929004570Smrg#include <stdlib.h> 361029004570Smrg#include <wchar.h> 361129004570Smrg#include <stdio.h> 3612a73027baSmrg 361329004570Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 361429004570Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 361529004570Smrg#define showlist(...) puts (#__VA_ARGS__) 361629004570Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 361729004570Smrgstatic void 361829004570Smrgtest_varargs_macros (void) 361929004570Smrg{ 362029004570Smrg int x = 1234; 362129004570Smrg int y = 5678; 362229004570Smrg debug ("Flag"); 362329004570Smrg debug ("X = %d\n", x); 362429004570Smrg showlist (The first, second, and third items.); 362529004570Smrg report (x>y, "x is %d but y is %d", x, y); 362629004570Smrg} 3627a73027baSmrg 362829004570Smrg// Check long long types. 362929004570Smrg#define BIG64 18446744073709551615ull 363029004570Smrg#define BIG32 4294967295ul 363129004570Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 363229004570Smrg#if !BIG_OK 363329004570Smrg your preprocessor is broken; 363429004570Smrg#endif 363529004570Smrg#if BIG_OK 363629004570Smrg#else 363729004570Smrg your preprocessor is broken; 363829004570Smrg#endif 363929004570Smrgstatic long long int bignum = -9223372036854775807LL; 364029004570Smrgstatic unsigned long long int ubignum = BIG64; 364129004570Smrg 364229004570Smrgstruct incomplete_array 364329004570Smrg{ 364429004570Smrg int datasize; 364529004570Smrg double data[]; 364629004570Smrg}; 364729004570Smrg 364829004570Smrgstruct named_init { 364929004570Smrg int number; 365029004570Smrg const wchar_t *name; 365129004570Smrg double average; 365229004570Smrg}; 365329004570Smrg 365429004570Smrgtypedef const char *ccp; 365529004570Smrg 365629004570Smrgstatic inline int 365729004570Smrgtest_restrict (ccp restrict text) 365829004570Smrg{ 365929004570Smrg // See if C++-style comments work. 366029004570Smrg // Iterate through items via the restricted pointer. 366129004570Smrg // Also check for declarations in for loops. 366229004570Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 366329004570Smrg continue; 366429004570Smrg return 0; 366529004570Smrg} 366629004570Smrg 366729004570Smrg// Check varargs and va_copy. 366829004570Smrgstatic void 366929004570Smrgtest_varargs (const char *format, ...) 367029004570Smrg{ 367129004570Smrg va_list args; 367229004570Smrg va_start (args, format); 367329004570Smrg va_list args_copy; 367429004570Smrg va_copy (args_copy, args); 367529004570Smrg 367629004570Smrg const char *str; 367729004570Smrg int number; 367829004570Smrg float fnumber; 367929004570Smrg 368029004570Smrg while (*format) 368129004570Smrg { 368229004570Smrg switch (*format++) 368329004570Smrg { 368429004570Smrg case 's': // string 368529004570Smrg str = va_arg (args_copy, const char *); 368629004570Smrg break; 368729004570Smrg case 'd': // int 368829004570Smrg number = va_arg (args_copy, int); 368929004570Smrg break; 369029004570Smrg case 'f': // float 369129004570Smrg fnumber = va_arg (args_copy, double); 369229004570Smrg break; 369329004570Smrg default: 369429004570Smrg break; 369529004570Smrg } 369629004570Smrg } 369729004570Smrg va_end (args_copy); 369829004570Smrg va_end (args); 369929004570Smrg} 370029004570Smrg 370129004570Smrgint 370229004570Smrgmain () 370329004570Smrg{ 370429004570Smrg 370529004570Smrg // Check bool. 370629004570Smrg _Bool success = false; 370729004570Smrg 370829004570Smrg // Check restrict. 370929004570Smrg if (test_restrict ("String literal") == 0) 371029004570Smrg success = true; 371129004570Smrg char *restrict newvar = "Another string"; 371229004570Smrg 371329004570Smrg // Check varargs. 371429004570Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 371529004570Smrg test_varargs_macros (); 371629004570Smrg 371729004570Smrg // Check flexible array members. 371829004570Smrg struct incomplete_array *ia = 371929004570Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 372029004570Smrg ia->datasize = 10; 372129004570Smrg for (int i = 0; i < ia->datasize; ++i) 372229004570Smrg ia->data[i] = i * 1.234; 372329004570Smrg 372429004570Smrg // Check named initializers. 372529004570Smrg struct named_init ni = { 372629004570Smrg .number = 34, 372729004570Smrg .name = L"Test wide string", 372829004570Smrg .average = 543.34343, 372929004570Smrg }; 373029004570Smrg 373129004570Smrg ni.number = 58; 373229004570Smrg 373329004570Smrg int dynamic_array[ni.number]; 373429004570Smrg dynamic_array[ni.number - 1] = 543; 373529004570Smrg 373629004570Smrg // work around unused variable warnings 373729004570Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 373829004570Smrg || dynamic_array[ni.number - 1] != 543); 373929004570Smrg 374029004570Smrg ; 374129004570Smrg return 0; 374229004570Smrg} 374329004570Smrg_ACEOF 374429004570Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 374529004570Smrgdo 374629004570Smrg CC="$ac_save_CC $ac_arg" 374729004570Smrg if ac_fn_c_try_compile "$LINENO"; then : 374829004570Smrg ac_cv_prog_cc_c99=$ac_arg 374929004570Smrgfi 375029004570Smrgrm -f core conftest.err conftest.$ac_objext 375129004570Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 375229004570Smrgdone 375329004570Smrgrm -f conftest.$ac_ext 375429004570SmrgCC=$ac_save_CC 375529004570Smrg 375629004570Smrgfi 375729004570Smrg# AC_CACHE_VAL 375829004570Smrgcase "x$ac_cv_prog_cc_c99" in 375929004570Smrg x) 376029004570Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 376129004570Smrg$as_echo "none needed" >&6; } ;; 376229004570Smrg xno) 376329004570Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 376429004570Smrg$as_echo "unsupported" >&6; } ;; 376529004570Smrg *) 376629004570Smrg CC="$CC $ac_cv_prog_cc_c99" 376729004570Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 376829004570Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 376929004570Smrgesac 377029004570Smrgif test "x$ac_cv_prog_cc_c99" != xno; then : 377129004570Smrg 377229004570Smrgfi 377329004570Smrg 377429004570Smrg 377529004570Smrg 377629004570Smrgac_ext=c 377729004570Smrgac_cpp='$CPP $CPPFLAGS' 377829004570Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 377929004570Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 378029004570Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 378129004570Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 378229004570Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 378329004570Smrg# On Suns, sometimes $CPP names a directory. 378429004570Smrgif test -n "$CPP" && test -d "$CPP"; then 378529004570Smrg CPP= 378629004570Smrgfi 378729004570Smrgif test -z "$CPP"; then 378829004570Smrg if ${ac_cv_prog_CPP+:} false; then : 378929004570Smrg $as_echo_n "(cached) " >&6 379029004570Smrgelse 379129004570Smrg # Double quotes because CPP needs to be expanded 379229004570Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 379329004570Smrg do 379429004570Smrg ac_preproc_ok=false 379529004570Smrgfor ac_c_preproc_warn_flag in '' yes 379629004570Smrgdo 379729004570Smrg # Use a header file that comes with gcc, so configuring glibc 379829004570Smrg # with a fresh cross-compiler works. 379929004570Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 380029004570Smrg # <limits.h> exists even on freestanding compilers. 380129004570Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 380229004570Smrg # not just through cpp. "Syntax error" is here to catch this case. 380329004570Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 380429004570Smrg/* end confdefs.h. */ 380529004570Smrg#ifdef __STDC__ 380629004570Smrg# include <limits.h> 380729004570Smrg#else 380829004570Smrg# include <assert.h> 380929004570Smrg#endif 381029004570Smrg Syntax error 381129004570Smrg_ACEOF 381229004570Smrgif ac_fn_c_try_cpp "$LINENO"; then : 381329004570Smrg 381429004570Smrgelse 381529004570Smrg # Broken: fails on valid input. 381629004570Smrgcontinue 381729004570Smrgfi 381829004570Smrgrm -f conftest.err conftest.i conftest.$ac_ext 381929004570Smrg 382029004570Smrg # OK, works on sane cases. Now check whether nonexistent headers 382129004570Smrg # can be detected and how. 382229004570Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 382329004570Smrg/* end confdefs.h. */ 382429004570Smrg#include <ac_nonexistent.h> 382529004570Smrg_ACEOF 3826bf4a254eSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3827a73027baSmrg # Broken: success on invalid input. 3828a73027baSmrgcontinue 3829a73027baSmrgelse 3830a73027baSmrg # Passes both tests. 3831a73027baSmrgac_preproc_ok=: 3832a73027baSmrgbreak 3833a73027baSmrgfi 383429004570Smrgrm -f conftest.err conftest.i conftest.$ac_ext 3835a73027baSmrg 3836a73027baSmrgdone 3837a73027baSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 383829004570Smrgrm -f conftest.i conftest.err conftest.$ac_ext 3839bf4a254eSmrgif $ac_preproc_ok; then : 3840a73027baSmrg break 3841a73027baSmrgfi 3842a73027baSmrg 3843a73027baSmrg done 3844a73027baSmrg ac_cv_prog_CPP=$CPP 3845a73027baSmrg 3846a73027baSmrgfi 3847a73027baSmrg CPP=$ac_cv_prog_CPP 3848a73027baSmrgelse 3849a73027baSmrg ac_cv_prog_CPP=$CPP 3850a73027baSmrgfi 3851bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3852bf4a254eSmrg$as_echo "$CPP" >&6; } 3853a73027baSmrgac_preproc_ok=false 3854a73027baSmrgfor ac_c_preproc_warn_flag in '' yes 3855a73027baSmrgdo 3856a73027baSmrg # Use a header file that comes with gcc, so configuring glibc 3857a73027baSmrg # with a fresh cross-compiler works. 3858a73027baSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3859a73027baSmrg # <limits.h> exists even on freestanding compilers. 3860a73027baSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 3861a73027baSmrg # not just through cpp. "Syntax error" is here to catch this case. 3862bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3863a73027baSmrg/* end confdefs.h. */ 3864a73027baSmrg#ifdef __STDC__ 3865a73027baSmrg# include <limits.h> 3866a73027baSmrg#else 3867a73027baSmrg# include <assert.h> 3868a73027baSmrg#endif 3869a73027baSmrg Syntax error 3870a73027baSmrg_ACEOF 3871bf4a254eSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3872a73027baSmrg 3873bf4a254eSmrgelse 3874a73027baSmrg # Broken: fails on valid input. 3875a73027baSmrgcontinue 3876a73027baSmrgfi 387729004570Smrgrm -f conftest.err conftest.i conftest.$ac_ext 3878a73027baSmrg 3879a73027baSmrg # OK, works on sane cases. Now check whether nonexistent headers 3880a73027baSmrg # can be detected and how. 3881bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3882a73027baSmrg/* end confdefs.h. */ 3883a73027baSmrg#include <ac_nonexistent.h> 3884a73027baSmrg_ACEOF 3885bf4a254eSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3886a73027baSmrg # Broken: success on invalid input. 3887a73027baSmrgcontinue 3888a73027baSmrgelse 3889a73027baSmrg # Passes both tests. 3890a73027baSmrgac_preproc_ok=: 3891a73027baSmrgbreak 3892a73027baSmrgfi 389329004570Smrgrm -f conftest.err conftest.i conftest.$ac_ext 3894a73027baSmrg 3895a73027baSmrgdone 3896a73027baSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 389729004570Smrgrm -f conftest.i conftest.err conftest.$ac_ext 3898bf4a254eSmrgif $ac_preproc_ok; then : 3899bf4a254eSmrg 3900a73027baSmrgelse 3901bf4a254eSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3902bf4a254eSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 390329004570Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 390429004570SmrgSee \`config.log' for more details" "$LINENO" 5; } 3905a73027baSmrgfi 3906a73027baSmrg 3907a73027baSmrgac_ext=c 3908a73027baSmrgac_cpp='$CPP $CPPFLAGS' 3909a73027baSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3910a73027baSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3911a73027baSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3912a73027baSmrg 3913a73027baSmrg 3914bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3915bf4a254eSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 391629004570Smrgif ${ac_cv_path_GREP+:} false; then : 3917bf4a254eSmrg $as_echo_n "(cached) " >&6 3918a73027baSmrgelse 3919bf4a254eSmrg if test -z "$GREP"; then 3920bf4a254eSmrg ac_path_GREP_found=false 3921bf4a254eSmrg # Loop through the user's path and test for each of PROGNAME-LIST 3922a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3923bf4a254eSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3924a73027baSmrgdo 3925a73027baSmrg IFS=$as_save_IFS 3926a73027baSmrg test -z "$as_dir" && as_dir=. 3927bf4a254eSmrg for ac_prog in grep ggrep; do 3928bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3929bf4a254eSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3930bf4a254eSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3931bf4a254eSmrg# Check for GNU ac_path_GREP and select it if it is found. 3932bf4a254eSmrg # Check for GNU $ac_path_GREP 3933bf4a254eSmrgcase `"$ac_path_GREP" --version 2>&1` in 3934bf4a254eSmrg*GNU*) 3935bf4a254eSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3936bf4a254eSmrg*) 3937bf4a254eSmrg ac_count=0 3938bf4a254eSmrg $as_echo_n 0123456789 >"conftest.in" 3939bf4a254eSmrg while : 3940bf4a254eSmrg do 3941bf4a254eSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 3942bf4a254eSmrg mv "conftest.tmp" "conftest.in" 3943bf4a254eSmrg cp "conftest.in" "conftest.nl" 3944bf4a254eSmrg $as_echo 'GREP' >> "conftest.nl" 3945bf4a254eSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3946bf4a254eSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3947bf4a254eSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 3948bf4a254eSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 3949bf4a254eSmrg # Best one so far, save it but keep looking for a better one 3950bf4a254eSmrg ac_cv_path_GREP="$ac_path_GREP" 3951bf4a254eSmrg ac_path_GREP_max=$ac_count 3952bf4a254eSmrg fi 3953bf4a254eSmrg # 10*(2^10) chars as input seems more than enough 3954bf4a254eSmrg test $ac_count -gt 10 && break 3955bf4a254eSmrg done 3956bf4a254eSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3957a73027baSmrgesac 3958a73027baSmrg 3959bf4a254eSmrg $ac_path_GREP_found && break 3 3960bf4a254eSmrg done 3961bf4a254eSmrg done 3962bf4a254eSmrg done 3963bf4a254eSmrgIFS=$as_save_IFS 3964bf4a254eSmrg if test -z "$ac_cv_path_GREP"; then 396529004570Smrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3966bf4a254eSmrg fi 3967a73027baSmrgelse 3968bf4a254eSmrg ac_cv_path_GREP=$GREP 3969a73027baSmrgfi 3970a73027baSmrg 3971a73027baSmrgfi 3972bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3973bf4a254eSmrg$as_echo "$ac_cv_path_GREP" >&6; } 3974bf4a254eSmrg GREP="$ac_cv_path_GREP" 3975a73027baSmrg 3976a73027baSmrg 3977bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3978bf4a254eSmrg$as_echo_n "checking for egrep... " >&6; } 397929004570Smrgif ${ac_cv_path_EGREP+:} false; then : 3980bf4a254eSmrg $as_echo_n "(cached) " >&6 3981a73027baSmrgelse 3982bf4a254eSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3983bf4a254eSmrg then ac_cv_path_EGREP="$GREP -E" 3984bf4a254eSmrg else 3985bf4a254eSmrg if test -z "$EGREP"; then 3986bf4a254eSmrg ac_path_EGREP_found=false 3987bf4a254eSmrg # Loop through the user's path and test for each of PROGNAME-LIST 3988a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3989bf4a254eSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3990a73027baSmrgdo 3991a73027baSmrg IFS=$as_save_IFS 3992a73027baSmrg test -z "$as_dir" && as_dir=. 3993bf4a254eSmrg for ac_prog in egrep; do 3994bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3995bf4a254eSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3996bf4a254eSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3997bf4a254eSmrg# Check for GNU ac_path_EGREP and select it if it is found. 3998a73027baSmrg # Check for GNU $ac_path_EGREP 3999a73027baSmrgcase `"$ac_path_EGREP" --version 2>&1` in 4000a73027baSmrg*GNU*) 4001a73027baSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4002a73027baSmrg*) 4003a73027baSmrg ac_count=0 4004bf4a254eSmrg $as_echo_n 0123456789 >"conftest.in" 4005a73027baSmrg while : 4006a73027baSmrg do 4007a73027baSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4008a73027baSmrg mv "conftest.tmp" "conftest.in" 4009a73027baSmrg cp "conftest.in" "conftest.nl" 4010bf4a254eSmrg $as_echo 'EGREP' >> "conftest.nl" 4011a73027baSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4012a73027baSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4013bf4a254eSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 4014a73027baSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4015a73027baSmrg # Best one so far, save it but keep looking for a better one 4016a73027baSmrg ac_cv_path_EGREP="$ac_path_EGREP" 4017a73027baSmrg ac_path_EGREP_max=$ac_count 4018a73027baSmrg fi 4019a73027baSmrg # 10*(2^10) chars as input seems more than enough 4020a73027baSmrg test $ac_count -gt 10 && break 4021a73027baSmrg done 4022a73027baSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4023a73027baSmrgesac 4024a73027baSmrg 4025bf4a254eSmrg $ac_path_EGREP_found && break 3 4026bf4a254eSmrg done 4027bf4a254eSmrg done 4028a73027baSmrg done 4029a73027baSmrgIFS=$as_save_IFS 4030bf4a254eSmrg if test -z "$ac_cv_path_EGREP"; then 403129004570Smrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4032bf4a254eSmrg fi 4033a73027baSmrgelse 4034a73027baSmrg ac_cv_path_EGREP=$EGREP 4035a73027baSmrgfi 4036a73027baSmrg 4037a73027baSmrg fi 4038a73027baSmrgfi 4039bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4040bf4a254eSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 4041a73027baSmrg EGREP="$ac_cv_path_EGREP" 4042a73027baSmrg 4043a73027baSmrg 4044bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4045bf4a254eSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 404629004570Smrgif ${ac_cv_header_stdc+:} false; then : 4047bf4a254eSmrg $as_echo_n "(cached) " >&6 4048a73027baSmrgelse 4049bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4050a73027baSmrg/* end confdefs.h. */ 4051a73027baSmrg#include <stdlib.h> 4052a73027baSmrg#include <stdarg.h> 4053a73027baSmrg#include <string.h> 4054a73027baSmrg#include <float.h> 4055a73027baSmrg 4056a73027baSmrgint 4057a73027baSmrgmain () 4058a73027baSmrg{ 4059a73027baSmrg 4060a73027baSmrg ; 4061a73027baSmrg return 0; 4062a73027baSmrg} 4063a73027baSmrg_ACEOF 4064bf4a254eSmrgif ac_fn_c_try_compile "$LINENO"; then : 4065a73027baSmrg ac_cv_header_stdc=yes 4066a73027baSmrgelse 4067bf4a254eSmrg ac_cv_header_stdc=no 4068a73027baSmrgfi 4069a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4070a73027baSmrg 4071a73027baSmrgif test $ac_cv_header_stdc = yes; then 4072a73027baSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4073bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4074a73027baSmrg/* end confdefs.h. */ 4075a73027baSmrg#include <string.h> 4076a73027baSmrg 4077a73027baSmrg_ACEOF 4078a73027baSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4079bf4a254eSmrg $EGREP "memchr" >/dev/null 2>&1; then : 4080bf4a254eSmrg 4081a73027baSmrgelse 4082a73027baSmrg ac_cv_header_stdc=no 4083a73027baSmrgfi 4084a73027baSmrgrm -f conftest* 4085a73027baSmrg 4086a73027baSmrgfi 4087a73027baSmrg 4088a73027baSmrgif test $ac_cv_header_stdc = yes; then 4089a73027baSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4090bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4091a73027baSmrg/* end confdefs.h. */ 4092a73027baSmrg#include <stdlib.h> 4093a73027baSmrg 4094a73027baSmrg_ACEOF 4095a73027baSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4096bf4a254eSmrg $EGREP "free" >/dev/null 2>&1; then : 4097bf4a254eSmrg 4098a73027baSmrgelse 4099a73027baSmrg ac_cv_header_stdc=no 4100a73027baSmrgfi 4101a73027baSmrgrm -f conftest* 4102a73027baSmrg 4103a73027baSmrgfi 4104a73027baSmrg 4105a73027baSmrgif test $ac_cv_header_stdc = yes; then 4106a73027baSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4107bf4a254eSmrg if test "$cross_compiling" = yes; then : 4108a73027baSmrg : 4109a73027baSmrgelse 4110bf4a254eSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4111a73027baSmrg/* end confdefs.h. */ 4112a73027baSmrg#include <ctype.h> 4113a73027baSmrg#include <stdlib.h> 4114a73027baSmrg#if ((' ' & 0x0FF) == 0x020) 4115a73027baSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4116a73027baSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4117a73027baSmrg#else 4118a73027baSmrg# define ISLOWER(c) \ 4119a73027baSmrg (('a' <= (c) && (c) <= 'i') \ 4120a73027baSmrg || ('j' <= (c) && (c) <= 'r') \ 4121a73027baSmrg || ('s' <= (c) && (c) <= 'z')) 4122a73027baSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4123a73027baSmrg#endif 4124a73027baSmrg 4125a73027baSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4126a73027baSmrgint 4127a73027baSmrgmain () 4128a73027baSmrg{ 4129a73027baSmrg int i; 4130a73027baSmrg for (i = 0; i < 256; i++) 4131a73027baSmrg if (XOR (islower (i), ISLOWER (i)) 4132a73027baSmrg || toupper (i) != TOUPPER (i)) 4133a73027baSmrg return 2; 4134a73027baSmrg return 0; 4135a73027baSmrg} 4136a73027baSmrg_ACEOF 4137bf4a254eSmrgif ac_fn_c_try_run "$LINENO"; then : 4138a73027baSmrg 4139bf4a254eSmrgelse 4140bf4a254eSmrg ac_cv_header_stdc=no 4141a73027baSmrgfi 4142bf4a254eSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4143bf4a254eSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 4144a73027baSmrgfi 4145a73027baSmrg 4146a73027baSmrgfi 4147a73027baSmrgfi 4148bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4149bf4a254eSmrg$as_echo "$ac_cv_header_stdc" >&6; } 4150a73027baSmrgif test $ac_cv_header_stdc = yes; then 4151a73027baSmrg 4152bf4a254eSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4153a73027baSmrg 4154a73027baSmrgfi 4155a73027baSmrg 4156a73027baSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4157bf4a254eSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4158bf4a254eSmrg inttypes.h stdint.h unistd.h 4159bf4a254eSmrgdo : 4160bf4a254eSmrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4161bf4a254eSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4162bf4a254eSmrg" 416329004570Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4164bf4a254eSmrg cat >>confdefs.h <<_ACEOF 4165bf4a254eSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4166bf4a254eSmrg_ACEOF 4167a73027baSmrg 4168bf4a254eSmrgfi 4169a73027baSmrg 4170bf4a254eSmrgdone 4171a73027baSmrg 4172a73027baSmrg 417329004570Smrg 417429004570Smrg 417529004570Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 417629004570Smrg if test -n "$ac_tool_prefix"; then 417729004570Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 417829004570Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 417929004570Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 418029004570Smrg$as_echo_n "checking for $ac_word... " >&6; } 418129004570Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 4182bf4a254eSmrg $as_echo_n "(cached) " >&6 4183bf4a254eSmrgelse 418429004570Smrg case $PKG_CONFIG in 418529004570Smrg [\\/]* | ?:[\\/]*) 418629004570Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 418729004570Smrg ;; 418829004570Smrg *) 418929004570Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 419029004570Smrgfor as_dir in $PATH 419129004570Smrgdo 419229004570Smrg IFS=$as_save_IFS 419329004570Smrg test -z "$as_dir" && as_dir=. 419429004570Smrg for ac_exec_ext in '' $ac_executable_extensions; do 419529004570Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 419629004570Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 419729004570Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 419829004570Smrg break 2 419929004570Smrg fi 420029004570Smrgdone 420129004570Smrg done 420229004570SmrgIFS=$as_save_IFS 4203bf4a254eSmrg 4204bf4a254eSmrg ;; 4205a73027baSmrgesac 4206bf4a254eSmrgfi 4207bf4a254eSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 4208bf4a254eSmrgif test -n "$PKG_CONFIG"; then 4209bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4210bf4a254eSmrg$as_echo "$PKG_CONFIG" >&6; } 4211a73027baSmrgelse 4212bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4213bf4a254eSmrg$as_echo "no" >&6; } 4214a73027baSmrgfi 4215a73027baSmrg 4216a73027baSmrg 4217bf4a254eSmrgfi 4218bf4a254eSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4219bf4a254eSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4220bf4a254eSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 4221bf4a254eSmrgset dummy pkg-config; ac_word=$2 4222bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4223bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 422429004570Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4225bf4a254eSmrg $as_echo_n "(cached) " >&6 4226a73027baSmrgelse 4227bf4a254eSmrg case $ac_pt_PKG_CONFIG in 4228bf4a254eSmrg [\\/]* | ?:[\\/]*) 4229bf4a254eSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4230bf4a254eSmrg ;; 4231bf4a254eSmrg *) 4232bf4a254eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4233bf4a254eSmrgfor as_dir in $PATH 4234bf4a254eSmrgdo 4235bf4a254eSmrg IFS=$as_save_IFS 4236bf4a254eSmrg test -z "$as_dir" && as_dir=. 4237bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4238bf4a254eSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4239bf4a254eSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4240bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4241bf4a254eSmrg break 2 4242bf4a254eSmrg fi 4243bf4a254eSmrgdone 4244bf4a254eSmrg done 4245bf4a254eSmrgIFS=$as_save_IFS 4246a73027baSmrg 4247bf4a254eSmrg ;; 4248bf4a254eSmrgesac 4249bf4a254eSmrgfi 4250bf4a254eSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4251bf4a254eSmrgif test -n "$ac_pt_PKG_CONFIG"; then 4252bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4253bf4a254eSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4254bf4a254eSmrgelse 4255bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4256bf4a254eSmrg$as_echo "no" >&6; } 4257a73027baSmrgfi 4258a73027baSmrg 4259bf4a254eSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 4260bf4a254eSmrg PKG_CONFIG="" 4261bf4a254eSmrg else 4262bf4a254eSmrg case $cross_compiling:$ac_tool_warned in 4263bf4a254eSmrgyes:) 4264bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4265bf4a254eSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4266bf4a254eSmrgac_tool_warned=yes ;; 4267a73027baSmrgesac 4268bf4a254eSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 4269bf4a254eSmrg fi 4270a73027baSmrgelse 4271bf4a254eSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4272a73027baSmrgfi 4273a73027baSmrg 4274a73027baSmrgfi 4275bf4a254eSmrgif test -n "$PKG_CONFIG"; then 4276bf4a254eSmrg _pkg_min_version=0.9.0 4277bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4278bf4a254eSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4279bf4a254eSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4280bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4281bf4a254eSmrg$as_echo "yes" >&6; } 4282bf4a254eSmrg else 4283bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4284bf4a254eSmrg$as_echo "no" >&6; } 4285bf4a254eSmrg PKG_CONFIG="" 4286bf4a254eSmrg fi 4287a73027baSmrg 4288a73027baSmrgfi 4289bf4a254eSmrg# Make sure we can run config.sub. 4290bf4a254eSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 429129004570Smrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4292a73027baSmrg 4293bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4294bf4a254eSmrg$as_echo_n "checking build system type... " >&6; } 429529004570Smrgif ${ac_cv_build+:} false; then : 4296bf4a254eSmrg $as_echo_n "(cached) " >&6 4297bf4a254eSmrgelse 4298bf4a254eSmrg ac_build_alias=$build_alias 4299bf4a254eSmrgtest "x$ac_build_alias" = x && 4300bf4a254eSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4301bf4a254eSmrgtest "x$ac_build_alias" = x && 430229004570Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4303bf4a254eSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 430429004570Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4305a73027baSmrg 4306bf4a254eSmrgfi 4307bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4308bf4a254eSmrg$as_echo "$ac_cv_build" >&6; } 4309bf4a254eSmrgcase $ac_cv_build in 4310bf4a254eSmrg*-*-*) ;; 431129004570Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4312bf4a254eSmrgesac 4313bf4a254eSmrgbuild=$ac_cv_build 4314bf4a254eSmrgac_save_IFS=$IFS; IFS='-' 4315bf4a254eSmrgset x $ac_cv_build 4316bf4a254eSmrgshift 4317bf4a254eSmrgbuild_cpu=$1 4318bf4a254eSmrgbuild_vendor=$2 4319bf4a254eSmrgshift; shift 4320bf4a254eSmrg# Remember, the first character of IFS is used to create $*, 4321bf4a254eSmrg# except with old shells: 4322bf4a254eSmrgbuild_os=$* 4323bf4a254eSmrgIFS=$ac_save_IFS 4324bf4a254eSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4325a73027baSmrg 4326a73027baSmrg 4327bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4328bf4a254eSmrg$as_echo_n "checking host system type... " >&6; } 432929004570Smrgif ${ac_cv_host+:} false; then : 4330bf4a254eSmrg $as_echo_n "(cached) " >&6 4331bf4a254eSmrgelse 4332bf4a254eSmrg if test "x$host_alias" = x; then 4333bf4a254eSmrg ac_cv_host=$ac_cv_build 4334bf4a254eSmrgelse 4335bf4a254eSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 433629004570Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4337bf4a254eSmrgfi 4338a73027baSmrg 4339bf4a254eSmrgfi 4340bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4341bf4a254eSmrg$as_echo "$ac_cv_host" >&6; } 4342bf4a254eSmrgcase $ac_cv_host in 4343bf4a254eSmrg*-*-*) ;; 434429004570Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4345bf4a254eSmrgesac 4346bf4a254eSmrghost=$ac_cv_host 4347bf4a254eSmrgac_save_IFS=$IFS; IFS='-' 4348bf4a254eSmrgset x $ac_cv_host 4349bf4a254eSmrgshift 4350bf4a254eSmrghost_cpu=$1 4351bf4a254eSmrghost_vendor=$2 4352bf4a254eSmrgshift; shift 4353bf4a254eSmrg# Remember, the first character of IFS is used to create $*, 4354bf4a254eSmrg# except with old shells: 4355bf4a254eSmrghost_os=$* 4356bf4a254eSmrgIFS=$ac_save_IFS 4357bf4a254eSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4358bf4a254eSmrg 4359bf4a254eSmrg 436029004570Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 436129004570Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 436229004570Smrgif ${ac_cv_path_SED+:} false; then : 436329004570Smrg $as_echo_n "(cached) " >&6 436429004570Smrgelse 436529004570Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 436629004570Smrg for ac_i in 1 2 3 4 5 6 7; do 436729004570Smrg ac_script="$ac_script$as_nl$ac_script" 436829004570Smrg done 436929004570Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 437029004570Smrg { ac_script=; unset ac_script;} 437129004570Smrg if test -z "$SED"; then 437229004570Smrg ac_path_SED_found=false 437329004570Smrg # Loop through the user's path and test for each of PROGNAME-LIST 437429004570Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 437529004570Smrgfor as_dir in $PATH 437629004570Smrgdo 437729004570Smrg IFS=$as_save_IFS 437829004570Smrg test -z "$as_dir" && as_dir=. 437929004570Smrg for ac_prog in sed gsed; do 438029004570Smrg for ac_exec_ext in '' $ac_executable_extensions; do 438129004570Smrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 438229004570Smrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 438329004570Smrg# Check for GNU ac_path_SED and select it if it is found. 438429004570Smrg # Check for GNU $ac_path_SED 438529004570Smrgcase `"$ac_path_SED" --version 2>&1` in 438629004570Smrg*GNU*) 438729004570Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 438829004570Smrg*) 438929004570Smrg ac_count=0 439029004570Smrg $as_echo_n 0123456789 >"conftest.in" 439129004570Smrg while : 439229004570Smrg do 439329004570Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 439429004570Smrg mv "conftest.tmp" "conftest.in" 439529004570Smrg cp "conftest.in" "conftest.nl" 439629004570Smrg $as_echo '' >> "conftest.nl" 439729004570Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 439829004570Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 439929004570Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 440029004570Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 440129004570Smrg # Best one so far, save it but keep looking for a better one 440229004570Smrg ac_cv_path_SED="$ac_path_SED" 440329004570Smrg ac_path_SED_max=$ac_count 440429004570Smrg fi 440529004570Smrg # 10*(2^10) chars as input seems more than enough 440629004570Smrg test $ac_count -gt 10 && break 440729004570Smrg done 440829004570Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 440929004570Smrgesac 441029004570Smrg 441129004570Smrg $ac_path_SED_found && break 3 441229004570Smrg done 441329004570Smrg done 441429004570Smrg done 441529004570SmrgIFS=$as_save_IFS 441629004570Smrg if test -z "$ac_cv_path_SED"; then 441729004570Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 441829004570Smrg fi 441929004570Smrgelse 442029004570Smrg ac_cv_path_SED=$SED 442129004570Smrgfi 442229004570Smrg 442329004570Smrgfi 442429004570Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 442529004570Smrg$as_echo "$ac_cv_path_SED" >&6; } 442629004570Smrg SED="$ac_cv_path_SED" 442729004570Smrg rm -f conftest.sed 442829004570Smrg 442929004570Smrg 4430bf4a254eSmrg 4431bf4a254eSmrg 4432bf4a254eSmrg 4433bf4a254eSmrgif test "x$GCC" = xyes ; then 4434bf4a254eSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4435bf4a254eSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4436bf4a254eSmrg-Wbad-function-cast -Wformat=2" 4437bf4a254eSmrg case `$CC -dumpversion` in 4438bf4a254eSmrg 3.4.* | 4.*) 4439bf4a254eSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4440bf4a254eSmrg ;; 4441bf4a254eSmrg esac 4442bf4a254eSmrgelse 4443bf4a254eSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 444429004570Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4445bf4a254eSmrg SUNCC="yes" 4446bf4a254eSmrgelse 4447bf4a254eSmrg SUNCC="no" 4448bf4a254eSmrgfi 4449bf4a254eSmrg 4450bf4a254eSmrg if test "x$SUNCC" = "xyes"; then 4451bf4a254eSmrg CWARNFLAGS="-v" 4452bf4a254eSmrg fi 4453bf4a254eSmrgfi 4454bf4a254eSmrg 4455bf4a254eSmrg 4456bf4a254eSmrg 445729004570Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 4458bf4a254eSmrg 4459bf4a254eSmrg 4460bf4a254eSmrg 4461bf4a254eSmrg# Check whether --enable-strict-compilation was given. 4462bf4a254eSmrgif test "${enable_strict_compilation+set}" = set; then : 4463bf4a254eSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4464bf4a254eSmrgelse 4465bf4a254eSmrg STRICT_COMPILE=no 4466bf4a254eSmrgfi 4467bf4a254eSmrg 4468bf4a254eSmrgif test "x$STRICT_COMPILE" = "xyes"; then 4469bf4a254eSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 447029004570Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4471bf4a254eSmrg SUNCC="yes" 4472bf4a254eSmrgelse 4473bf4a254eSmrg SUNCC="no" 4474bf4a254eSmrgfi 4475bf4a254eSmrg 4476bf4a254eSmrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 447729004570Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4478bf4a254eSmrg INTELCC="yes" 4479bf4a254eSmrgelse 4480bf4a254eSmrg INTELCC="no" 4481bf4a254eSmrgfi 4482bf4a254eSmrg 4483bf4a254eSmrg if test "x$GCC" = xyes ; then 4484bf4a254eSmrg STRICT_CFLAGS="-pedantic -Werror" 4485bf4a254eSmrg elif test "x$SUNCC" = "xyes"; then 4486bf4a254eSmrg STRICT_CFLAGS="-errwarn" 4487bf4a254eSmrg elif test "x$INTELCC" = "xyes"; then 4488bf4a254eSmrg STRICT_CFLAGS="-Werror" 4489bf4a254eSmrg fi 4490bf4a254eSmrgfi 4491bf4a254eSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4492bf4a254eSmrg 4493bf4a254eSmrg 4494bf4a254eSmrg 4495bf4a254eSmrg 4496bf4a254eSmrgcat >>confdefs.h <<_ACEOF 4497bf4a254eSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4498bf4a254eSmrg_ACEOF 4499bf4a254eSmrg 4500bf4a254eSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4501bf4a254eSmrg if test "x$PVM" = "x"; then 4502bf4a254eSmrg PVM="0" 4503bf4a254eSmrg fi 4504bf4a254eSmrg 4505bf4a254eSmrgcat >>confdefs.h <<_ACEOF 4506bf4a254eSmrg#define PACKAGE_VERSION_MINOR $PVM 4507bf4a254eSmrg_ACEOF 4508bf4a254eSmrg 4509bf4a254eSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4510bf4a254eSmrg if test "x$PVP" = "x"; then 4511bf4a254eSmrg PVP="0" 4512bf4a254eSmrg fi 4513bf4a254eSmrg 4514bf4a254eSmrgcat >>confdefs.h <<_ACEOF 4515bf4a254eSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 4516bf4a254eSmrg_ACEOF 4517bf4a254eSmrg 4518bf4a254eSmrg 4519bf4a254eSmrg 4520bf4a254eSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 4521bf4a254eSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 4522bf4a254eSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 4523bf4a254eSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 4524bf4a254eSmrg 4525bf4a254eSmrg 4526bf4a254eSmrg 4527bf4a254eSmrg 4528bf4a254eSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4529bf4a254eSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 4530bf4a254eSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 4531bf4a254eSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4532bf4a254eSmrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4533bf4a254eSmrg 4534bf4a254eSmrg 4535bf4a254eSmrg 4536bf4a254eSmrg 4537bf4a254eSmrg 453829004570Smrg 4539bf4a254eSmrgif test x$APP_MAN_SUFFIX = x ; then 4540bf4a254eSmrg APP_MAN_SUFFIX=1 4541bf4a254eSmrgfi 4542bf4a254eSmrgif test x$APP_MAN_DIR = x ; then 4543bf4a254eSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4544bf4a254eSmrgfi 4545bf4a254eSmrg 4546bf4a254eSmrgif test x$LIB_MAN_SUFFIX = x ; then 4547bf4a254eSmrg LIB_MAN_SUFFIX=3 4548bf4a254eSmrgfi 4549bf4a254eSmrgif test x$LIB_MAN_DIR = x ; then 4550bf4a254eSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4551bf4a254eSmrgfi 4552bf4a254eSmrg 4553bf4a254eSmrgif test x$FILE_MAN_SUFFIX = x ; then 455429004570Smrg case $host_os in 455529004570Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 455629004570Smrg *) FILE_MAN_SUFFIX=5 ;; 455729004570Smrg esac 455829004570Smrgfi 455929004570Smrgif test x$FILE_MAN_DIR = x ; then 456029004570Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4561bf4a254eSmrgfi 4562bf4a254eSmrg 456329004570Smrgif test x$MISC_MAN_SUFFIX = x ; then 456429004570Smrg case $host_os in 456529004570Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 456629004570Smrg *) MISC_MAN_SUFFIX=7 ;; 456729004570Smrg esac 456829004570Smrgfi 456929004570Smrgif test x$MISC_MAN_DIR = x ; then 457029004570Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4571bf4a254eSmrgfi 4572bf4a254eSmrg 457329004570Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 457429004570Smrg case $host_os in 457529004570Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 457629004570Smrg *) DRIVER_MAN_SUFFIX=4 ;; 457729004570Smrg esac 457829004570Smrgfi 457929004570Smrgif test x$DRIVER_MAN_DIR = x ; then 458029004570Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 458129004570Smrgfi 4582bf4a254eSmrg 458329004570Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 458429004570Smrg case $host_os in 458529004570Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 458629004570Smrg *) ADMIN_MAN_SUFFIX=8 ;; 458729004570Smrg esac 458829004570Smrgfi 458929004570Smrgif test x$ADMIN_MAN_DIR = x ; then 459029004570Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4591bf4a254eSmrgfi 4592bf4a254eSmrg 459329004570Smrg 459429004570Smrg 459529004570Smrg 459629004570Smrg 459729004570Smrg 459829004570Smrg 459929004570Smrg 460029004570Smrg 460129004570Smrg 460229004570Smrg 460329004570Smrg 460429004570Smrg 460529004570Smrg 460629004570Smrg 460729004570SmrgXORG_MAN_PAGE="X Version 11" 460829004570Smrg 460929004570SmrgMAN_SUBSTS="\ 461029004570Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 461129004570Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 461229004570Smrg -e 's|__xservername__|Xorg|g' \ 461329004570Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 461429004570Smrg -e 's|__projectroot__|\$(prefix)|g' \ 461529004570Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 461629004570Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 461729004570Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 461829004570Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 461929004570Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 462029004570Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 462129004570Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 462229004570Smrg 462329004570Smrg 462429004570Smrg 462529004570Smrg# Check whether --enable-silent-rules was given. 462629004570Smrgif test "${enable_silent_rules+set}" = set; then : 462729004570Smrg enableval=$enable_silent_rules; 4628bf4a254eSmrgfi 4629bf4a254eSmrg 463029004570Smrgcase $enable_silent_rules in 463129004570Smrgyes) AM_DEFAULT_VERBOSITY=0;; 463229004570Smrgno) AM_DEFAULT_VERBOSITY=1;; 463329004570Smrg*) AM_DEFAULT_VERBOSITY=0;; 463429004570Smrgesac 463529004570SmrgAM_BACKSLASH='\' 463629004570Smrg 463729004570Smrg 463829004570Smrg 463929004570Smrgac_config_headers="$ac_config_headers config.h" 464029004570Smrg 4641bf4a254eSmrg 4642bf4a254eSmrg 4643bf4a254eSmrg 4644bf4a254eSmrgfor ac_prog in cpp 4645bf4a254eSmrgdo 4646bf4a254eSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 4647bf4a254eSmrgset dummy $ac_prog; ac_word=$2 4648bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4649bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 465029004570Smrgif ${ac_cv_path_RAWCPP+:} false; then : 4651bf4a254eSmrg $as_echo_n "(cached) " >&6 4652bf4a254eSmrgelse 4653bf4a254eSmrg case $RAWCPP in 4654bf4a254eSmrg [\\/]* | ?:[\\/]*) 4655bf4a254eSmrg ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path. 4656bf4a254eSmrg ;; 4657bf4a254eSmrg *) 4658bf4a254eSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4659bf4a254eSmrgas_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib" 4660bf4a254eSmrgfor as_dir in $as_dummy 4661bf4a254eSmrgdo 4662bf4a254eSmrg IFS=$as_save_IFS 4663bf4a254eSmrg test -z "$as_dir" && as_dir=. 4664bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4665bf4a254eSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4666bf4a254eSmrg ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext" 4667bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4668bf4a254eSmrg break 2 4669bf4a254eSmrg fi 4670bf4a254eSmrgdone 4671bf4a254eSmrg done 4672bf4a254eSmrgIFS=$as_save_IFS 4673bf4a254eSmrg 4674bf4a254eSmrg ;; 4675bf4a254eSmrgesac 4676bf4a254eSmrgfi 4677bf4a254eSmrgRAWCPP=$ac_cv_path_RAWCPP 4678bf4a254eSmrgif test -n "$RAWCPP"; then 4679bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5 4680bf4a254eSmrg$as_echo "$RAWCPP" >&6; } 4681bf4a254eSmrgelse 4682bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4683bf4a254eSmrg$as_echo "no" >&6; } 4684bf4a254eSmrgfi 4685bf4a254eSmrg 4686bf4a254eSmrg 4687bf4a254eSmrg test -n "$RAWCPP" && break 4688bf4a254eSmrgdone 4689bf4a254eSmrgtest -n "$RAWCPP" || RAWCPP="${CPP}" 4690bf4a254eSmrg 4691bf4a254eSmrg 4692bf4a254eSmrg# Check for flag to avoid builtin definitions - assumes unix is predefined, 4693bf4a254eSmrg# which is not the best choice for supporting other OS'es, but covers most 4694bf4a254eSmrg# of the ones we need for now. 4695bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5 4696bf4a254eSmrg$as_echo_n "checking if $RAWCPP requires -undef... " >&6; } 4697bf4a254eSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 4698bf4a254eSmrg/* end confdefs.h. */ 4699bf4a254eSmrgDoes cpp redefine unix ? 4700bf4a254eSmrg_ACEOF 4701bf4a254eSmrgif test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 4702bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4703bf4a254eSmrg$as_echo "no" >&6; } 4704bf4a254eSmrgelse 4705bf4a254eSmrg if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 4706bf4a254eSmrg RAWCPPFLAGS=-undef 4707bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4708bf4a254eSmrg$as_echo "yes" >&6; } 4709bf4a254eSmrg # under Cygwin unix is still defined even with -undef 4710bf4a254eSmrg elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 4711bf4a254eSmrg RAWCPPFLAGS="-undef -ansi" 4712bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5 4713bf4a254eSmrg$as_echo "yes, with -ansi" >&6; } 4714bf4a254eSmrg else 471529004570Smrg as_fn_error $? "${RAWCPP} defines unix with or without -undef. I don't know what to do." "$LINENO" 5 4716bf4a254eSmrg fi 4717bf4a254eSmrgfi 4718bf4a254eSmrgrm -f conftest.$ac_ext 4719bf4a254eSmrg 4720bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5 4721bf4a254eSmrg$as_echo_n "checking if $RAWCPP requires -traditional... " >&6; } 4722bf4a254eSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 4723bf4a254eSmrg/* end confdefs.h. */ 4724bf4a254eSmrgDoes cpp preserve "whitespace"? 4725bf4a254eSmrg_ACEOF 4726bf4a254eSmrgif test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then 4727bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4728bf4a254eSmrg$as_echo "no" >&6; } 4729bf4a254eSmrgelse 4730bf4a254eSmrg if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then 4731bf4a254eSmrg RAWCPPFLAGS="${RAWCPPFLAGS} -traditional" 4732bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4733bf4a254eSmrg$as_echo "yes" >&6; } 4734bf4a254eSmrg else 473529004570Smrg as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." "$LINENO" 5 4736bf4a254eSmrg fi 4737bf4a254eSmrgfi 4738bf4a254eSmrgrm -f conftest.$ac_ext 4739bf4a254eSmrg 4740bf4a254eSmrg 4741bf4a254eSmrg 4742a73027baSmrg 4743a73027baSmrg 4744a73027baSmrg 4745bf4a254eSmrg 4746a73027baSmrg# Build options 4747a73027baSmrgDEFAULT_XRDB=xrdb 4748a73027baSmrgDEFAULT_XMODMAP=xmodmap 4749a73027baSmrgDEFAULT_TWM=twm 4750a73027baSmrgDEFAULT_XCLOCK=xclock 4751a73027baSmrgDEFAULT_XTERM=xterm 4752a73027baSmrg# You always want to specify the full path to the X server 4753a73027baSmrgDEFAULT_XSERVER=${bindir}/X 4754a73027baSmrgDEFAULT_XAUTH=xauth 4755a73027baSmrgDEFAULT_XINIT=xinit 4756bf4a254eSmrgDEFAULT_XINITDIR=${libdir}/X11/xinit 4757a73027baSmrg 4758a73027baSmrg 4759a73027baSmrg# Check whether --with-xrdb was given. 4760bf4a254eSmrgif test "${with_xrdb+set}" = set; then : 4761a73027baSmrg withval=$with_xrdb; XRDB="$withval" 4762a73027baSmrgelse 4763a73027baSmrg XRDB="$DEFAULT_XRDB" 4764a73027baSmrgfi 4765a73027baSmrg 4766a73027baSmrg 4767a73027baSmrg 4768a73027baSmrg# Check whether --with-xmodmap was given. 4769bf4a254eSmrgif test "${with_xmodmap+set}" = set; then : 4770a73027baSmrg withval=$with_xmodmap; XMODMAP="$withval" 4771a73027baSmrgelse 4772a73027baSmrg XMODMAP="$DEFAULT_XMODMAP" 4773a73027baSmrgfi 4774a73027baSmrg 4775a73027baSmrg 4776a73027baSmrg 4777a73027baSmrg# Check whether --with-twm was given. 4778bf4a254eSmrgif test "${with_twm+set}" = set; then : 4779a73027baSmrg withval=$with_twm; TWM="$withval" 4780a73027baSmrgelse 4781a73027baSmrg TWM="$DEFAULT_TWM" 4782a73027baSmrgfi 4783a73027baSmrg 4784a73027baSmrg 4785a73027baSmrg 4786a73027baSmrg# Check whether --with-xclock was given. 4787bf4a254eSmrgif test "${with_xclock+set}" = set; then : 4788a73027baSmrg withval=$with_xclock; XCLOCK="$withval" 4789a73027baSmrgelse 4790a73027baSmrg XCLOCK="$DEFAULT_XCLOCK" 4791a73027baSmrgfi 4792a73027baSmrg 4793a73027baSmrg 4794a73027baSmrg 4795a73027baSmrg# Check whether --with-xterm was given. 4796bf4a254eSmrgif test "${with_xterm+set}" = set; then : 4797a73027baSmrg withval=$with_xterm; XTERM="$withval" 4798a73027baSmrgelse 4799a73027baSmrg XTERM="$DEFAULT_XTERM" 4800a73027baSmrgfi 4801a73027baSmrg 4802a73027baSmrg 4803a73027baSmrg 4804a73027baSmrg# Check whether --with-xserver was given. 4805bf4a254eSmrgif test "${with_xserver+set}" = set; then : 4806a73027baSmrg withval=$with_xserver; XSERVER="$withval" 4807a73027baSmrgelse 4808a73027baSmrg XSERVER="$DEFAULT_XSERVER" 4809a73027baSmrgfi 4810a73027baSmrg 4811a73027baSmrg 4812a73027baSmrg 4813a73027baSmrg# Check whether --with-xauth was given. 4814bf4a254eSmrgif test "${with_xauth+set}" = set; then : 4815a73027baSmrg withval=$with_xauth; XAUTH="$withval" 4816a73027baSmrgelse 4817a73027baSmrg XAUTH="$DEFAULT_XAUTH" 4818a73027baSmrgfi 4819a73027baSmrg 4820a73027baSmrg 4821a73027baSmrg 4822a73027baSmrg# Check whether --with-xinit was given. 4823bf4a254eSmrgif test "${with_xinit+set}" = set; then : 4824a73027baSmrg withval=$with_xinit; XINIT="$withval" 4825a73027baSmrgelse 4826a73027baSmrg XINIT="$DEFAULT_XINIT" 4827a73027baSmrgfi 4828a73027baSmrg 4829a73027baSmrg 4830a73027baSmrg 4831bf4a254eSmrg# Check whether --with-xinitdir was given. 4832bf4a254eSmrgif test "${with_xinitdir+set}" = set; then : 4833bf4a254eSmrg withval=$with_xinitdir; XINITDIR="$withval" 4834bf4a254eSmrgelse 4835bf4a254eSmrg XINITDIR="$DEFAULT_XINITDIR" 4836bf4a254eSmrgfi 4837bf4a254eSmrg 4838bf4a254eSmrg 4839bf4a254eSmrg 4840a73027baSmrg# Check whether --with-launchd was given. 4841bf4a254eSmrgif test "${with_launchd+set}" = set; then : 4842a73027baSmrg withval=$with_launchd; LAUNCHD=$withval 4843a73027baSmrgelse 4844a73027baSmrg LAUNCHD=auto 4845a73027baSmrgfi 4846a73027baSmrg 4847a73027baSmrg 4848a73027baSmrg# Check whether --with-launchagents-dir was given. 4849bf4a254eSmrgif test "${with_launchagents_dir+set}" = set; then : 4850a73027baSmrg withval=$with_launchagents_dir; launchagentsdir="${withval}" 4851a73027baSmrgelse 4852a73027baSmrg launchagentsdir="/Library/LaunchAgents" 4853a73027baSmrgfi 4854a73027baSmrg 4855a73027baSmrg 4856a73027baSmrg# Check whether --with-launchdaemons-dir was given. 4857bf4a254eSmrgif test "${with_launchdaemons_dir+set}" = set; then : 4858a73027baSmrg withval=$with_launchdaemons_dir; launchdaemonsdir="${withval}" 4859a73027baSmrgelse 4860a73027baSmrg launchdaemonsdir="/Library/LaunchDaemons" 4861a73027baSmrgfi 4862a73027baSmrg 4863a73027baSmrg 4864bf4a254eSmrg# Check whether --with-launchd-id-prefix was given. 4865bf4a254eSmrgif test "${with_launchd_id_prefix+set}" = set; then : 4866bf4a254eSmrg withval=$with_launchd_id_prefix; launchdidprefix="${withval}" 4867bf4a254eSmrgelse 4868bf4a254eSmrg launchdidprefix="org.x" 4869bf4a254eSmrgfi 4870bf4a254eSmrg 4871bf4a254eSmrg 4872a73027baSmrgif test "x$LAUNCHD" = "xauto"; then 4873a73027baSmrg unset LAUNCHD 487472e81212Smrg # Extract the first word of "launchd", so it can be a program name with args. 4875a73027baSmrgset dummy launchd; ac_word=$2 4876bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4877bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 487829004570Smrgif ${ac_cv_prog_LAUNCHD+:} false; then : 4879bf4a254eSmrg $as_echo_n "(cached) " >&6 4880a73027baSmrgelse 4881a73027baSmrg if test -n "$LAUNCHD"; then 4882a73027baSmrg ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test. 4883a73027baSmrgelse 4884a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 488529004570Smrgfor as_dir in $PATH$PATH_SEPARATOR/sbin 4886a73027baSmrgdo 4887a73027baSmrg IFS=$as_save_IFS 4888a73027baSmrg test -z "$as_dir" && as_dir=. 4889bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4890a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4891a73027baSmrg ac_cv_prog_LAUNCHD="yes" 4892bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4893a73027baSmrg break 2 4894a73027baSmrg fi 4895a73027baSmrgdone 4896bf4a254eSmrg done 4897a73027baSmrgIFS=$as_save_IFS 4898a73027baSmrg 4899a73027baSmrg test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no" 4900a73027baSmrgfi 4901a73027baSmrgfi 4902a73027baSmrgLAUNCHD=$ac_cv_prog_LAUNCHD 4903a73027baSmrgif test -n "$LAUNCHD"; then 4904bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5 4905bf4a254eSmrg$as_echo "$LAUNCHD" >&6; } 4906a73027baSmrgelse 4907bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4908bf4a254eSmrg$as_echo "no" >&6; } 4909a73027baSmrgfi 4910a73027baSmrg 4911a73027baSmrg 4912a73027baSmrgfi 4913a73027baSmrg 491472e81212SmrgTIGER_LAUNCHD=no 4915a73027baSmrgif test "x$LAUNCHD" = "xyes" ; then 4916a73027baSmrg 4917bf4a254eSmrg$as_echo "#define HAVE_LAUNCHD 1" >>confdefs.h 4918a73027baSmrg 491972e81212Smrg case $host_os in 492072e81212Smrg darwin8*) 492172e81212Smrg TIGER_LAUNCHD=yes 492272e81212Smrg ;; 492372e81212Smrg esac 4924a73027baSmrgelse 4925a73027baSmrg launchagentsdir="" 4926a73027baSmrg launchdaemonsdir="" 4927a73027baSmrgfi 4928a73027baSmrg 4929a73027baSmrg 4930bf4a254eSmrgcat >>confdefs.h <<_ACEOF 4931bf4a254eSmrg#define LAUNCHD_ID_PREFIX "$launchdidprefix" 4932bf4a254eSmrg_ACEOF 4933bf4a254eSmrg 4934bf4a254eSmrg 4935bf4a254eSmrg 4936bf4a254eSmrg 4937a73027baSmrg if test "x$LAUNCHD" = "xyes"; then 4938a73027baSmrg LAUNCHD_TRUE= 4939a73027baSmrg LAUNCHD_FALSE='#' 4940a73027baSmrgelse 4941a73027baSmrg LAUNCHD_TRUE='#' 4942a73027baSmrg LAUNCHD_FALSE= 4943a73027baSmrgfi 4944a73027baSmrg 494572e81212Smrg if test "x$TIGER_LAUNCHD" = "xyes"; then 494672e81212Smrg TIGER_LAUNCHD_TRUE= 494772e81212Smrg TIGER_LAUNCHD_FALSE='#' 494872e81212Smrgelse 494972e81212Smrg TIGER_LAUNCHD_TRUE='#' 495072e81212Smrg TIGER_LAUNCHD_FALSE= 495172e81212Smrgfi 495272e81212Smrg 4953a73027baSmrg 4954a73027baSmrg# Checks for pkg-config packages 4955a73027baSmrg 4956a73027baSmrgpkg_failed=no 4957bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINIT" >&5 4958bf4a254eSmrg$as_echo_n "checking for XINIT... " >&6; } 4959a73027baSmrg 4960a73027baSmrgif test -n "$XINIT_CFLAGS"; then 4961a73027baSmrg pkg_cv_XINIT_CFLAGS="$XINIT_CFLAGS" 4962a73027baSmrg elif test -n "$PKG_CONFIG"; then 4963a73027baSmrg if test -n "$PKG_CONFIG" && \ 4964bf4a254eSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 4965a73027baSmrg ($PKG_CONFIG --exists --print-errors "x11") 2>&5 4966a73027baSmrg ac_status=$? 4967bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4968bf4a254eSmrg test $ac_status = 0; }; then 4969a73027baSmrg pkg_cv_XINIT_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` 4970a73027baSmrgelse 4971a73027baSmrg pkg_failed=yes 4972a73027baSmrgfi 4973a73027baSmrg else 4974a73027baSmrg pkg_failed=untried 4975a73027baSmrgfi 4976a73027baSmrgif test -n "$XINIT_LIBS"; then 4977a73027baSmrg pkg_cv_XINIT_LIBS="$XINIT_LIBS" 4978a73027baSmrg elif test -n "$PKG_CONFIG"; then 4979a73027baSmrg if test -n "$PKG_CONFIG" && \ 4980bf4a254eSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 4981a73027baSmrg ($PKG_CONFIG --exists --print-errors "x11") 2>&5 4982a73027baSmrg ac_status=$? 4983bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4984bf4a254eSmrg test $ac_status = 0; }; then 4985a73027baSmrg pkg_cv_XINIT_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` 4986a73027baSmrgelse 4987a73027baSmrg pkg_failed=yes 4988a73027baSmrgfi 4989a73027baSmrg else 4990a73027baSmrg pkg_failed=untried 4991a73027baSmrgfi 4992a73027baSmrg 4993a73027baSmrg 4994a73027baSmrg 4995a73027baSmrgif test $pkg_failed = yes; then 4996a73027baSmrg 4997a73027baSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4998a73027baSmrg _pkg_short_errors_supported=yes 4999a73027baSmrgelse 5000a73027baSmrg _pkg_short_errors_supported=no 5001a73027baSmrgfi 5002a73027baSmrg if test $_pkg_short_errors_supported = yes; then 5003a73027baSmrg XINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1` 5004a73027baSmrg else 5005a73027baSmrg XINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1` 5006a73027baSmrg fi 5007a73027baSmrg # Put the nasty error message in config.log where it belongs 5008a73027baSmrg echo "$XINIT_PKG_ERRORS" >&5 5009a73027baSmrg 501029004570Smrg as_fn_error $? "Package requirements (x11) were not met: 5011a73027baSmrg 5012a73027baSmrg$XINIT_PKG_ERRORS 5013a73027baSmrg 5014a73027baSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 5015a73027baSmrginstalled software in a non-standard prefix. 5016a73027baSmrg 5017a73027baSmrgAlternatively, you may set the environment variables XINIT_CFLAGS 5018a73027baSmrgand XINIT_LIBS to avoid the need to call pkg-config. 5019a73027baSmrgSee the pkg-config man page for more details. 5020bf4a254eSmrg" "$LINENO" 5 5021bf4a254eSmrgelif test $pkg_failed = untried; then 5022bf4a254eSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5023bf4a254eSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 502429004570Smrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 5025a73027baSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 5026a73027baSmrgpath to pkg-config. 5027a73027baSmrg 5028a73027baSmrgAlternatively, you may set the environment variables XINIT_CFLAGS 5029a73027baSmrgand XINIT_LIBS to avoid the need to call pkg-config. 5030a73027baSmrgSee the pkg-config man page for more details. 5031a73027baSmrg 5032a73027baSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 503329004570SmrgSee \`config.log' for more details" "$LINENO" 5; } 5034a73027baSmrgelse 5035a73027baSmrg XINIT_CFLAGS=$pkg_cv_XINIT_CFLAGS 5036a73027baSmrg XINIT_LIBS=$pkg_cv_XINIT_LIBS 5037bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5038bf4a254eSmrg$as_echo "yes" >&6; } 5039a73027baSmrg : 5040a73027baSmrgfi 5041a73027baSmrg 5042a73027baSmrgcase $host_os in 5043a73027baSmrg *bsd*) 5044a73027baSmrg XINIT_CFLAGS="$XINIT_CFLAGS -DCSRG_BASED" 5045a73027baSmrg ;; 5046a73027baSmrgesac 5047a73027baSmrg 5048a73027baSmrg 5049a73027baSmrg 5050a73027baSmrg 5051a73027baSmrgfor ac_prog in mcookie 5052a73027baSmrgdo 5053a73027baSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 5054a73027baSmrgset dummy $ac_prog; ac_word=$2 5055bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5056bf4a254eSmrg$as_echo_n "checking for $ac_word... " >&6; } 505729004570Smrgif ${ac_cv_path_MCOOKIE+:} false; then : 5058bf4a254eSmrg $as_echo_n "(cached) " >&6 5059a73027baSmrgelse 5060a73027baSmrg case $MCOOKIE in 5061a73027baSmrg [\\/]* | ?:[\\/]*) 5062a73027baSmrg ac_cv_path_MCOOKIE="$MCOOKIE" # Let the user override the test with a path. 5063a73027baSmrg ;; 5064a73027baSmrg *) 5065a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5066a73027baSmrgas_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/local/bin" 5067a73027baSmrgfor as_dir in $as_dummy 5068a73027baSmrgdo 5069a73027baSmrg IFS=$as_save_IFS 5070a73027baSmrg test -z "$as_dir" && as_dir=. 5071bf4a254eSmrg for ac_exec_ext in '' $ac_executable_extensions; do 5072a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5073a73027baSmrg ac_cv_path_MCOOKIE="$as_dir/$ac_word$ac_exec_ext" 5074bf4a254eSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5075a73027baSmrg break 2 5076a73027baSmrg fi 5077a73027baSmrgdone 5078bf4a254eSmrg done 5079a73027baSmrgIFS=$as_save_IFS 5080a73027baSmrg 5081a73027baSmrg ;; 5082a73027baSmrgesac 5083a73027baSmrgfi 5084a73027baSmrgMCOOKIE=$ac_cv_path_MCOOKIE 5085a73027baSmrgif test -n "$MCOOKIE"; then 5086bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCOOKIE" >&5 5087bf4a254eSmrg$as_echo "$MCOOKIE" >&6; } 5088a73027baSmrgelse 5089bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5090bf4a254eSmrg$as_echo "no" >&6; } 5091a73027baSmrgfi 5092a73027baSmrg 5093a73027baSmrg 5094a73027baSmrg test -n "$MCOOKIE" && break 5095a73027baSmrgdone 5096a73027baSmrgtest -n "$MCOOKIE" || MCOOKIE="$MCOOKIE" 5097a73027baSmrg 5098a73027baSmrg 5099a73027baSmrgcase $host_os in 5100a73027baSmrg *openbsd*) 5101a73027baSmrg MCOOKIE='/usr/sbin/openssl rand -hex 16' 5102a73027baSmrg ;; 5103a73027baSmrg *solaris*) 5104a73027baSmrg MCOOKIE="/usr/bin/od -X -A n -N 16 /dev/urandom | /usr/bin/tr -d ' '" 5105a73027baSmrg ;; 5106a73027baSmrgesac 5107a73027baSmrg 5108a73027baSmrgif test "x$MCOOKIE" != x ; then 5109a73027baSmrg STARTX_COOKIE_FLAGS='-DHAS_COOKIE_MAKER -DMK_COOKIE="$(MCOOKIE)"' 5110a73027baSmrgfi 5111a73027baSmrg 5112a73027baSmrg 5113a73027baSmrg# Additional substitutions in startx, xinitrc & man pages 5114bf4a254eSmrgARCHMANDEFS="" 5115bf4a254eSmrgSHELL_CMD="/bin/sh" 5116bf4a254eSmrgXSERVERNAME="Xorg" 5117bf4a254eSmrgXCONFIGFILE="xorg.conf" 5118bf4a254eSmrgXCONFIGFILEMAN='${XCONFIGFILE} (__filemansuffix__)' 5119a73027baSmrgcase $host_os in 5120bf4a254eSmrg cygwin*) 5121bf4a254eSmrg XSERVERNAME="XWin" 5122bf4a254eSmrg XCONFIGFILE="XWinrc" 5123bf4a254eSmrg ;; 5124bf4a254eSmrg darwin*) 5125bf4a254eSmrg XSERVERNAME="Xquartz" 5126bf4a254eSmrg XCONFIGFILE="defaults" 5127bf4a254eSmrg XCONFIGFILEMAN='defaults (1)' 5128bf4a254eSmrg ;; 5129a73027baSmrg *solaris*) 5130a73027baSmrg SHELL_CMD="/bin/ksh" 5131a73027baSmrg ;; 5132a73027baSmrg *sco*) 5133a73027baSmrg SHELL_CMD="/bin/ksh" 5134a73027baSmrg ARCHMANDEFS="-D__SCOMAN__" 5135a73027baSmrg ;; 5136a73027baSmrgesac 5137a73027baSmrg 5138a73027baSmrg 5139a73027baSmrg 5140a73027baSmrg 5141a73027baSmrg 5142a73027baSmrg 5143a73027baSmrg 5144a73027baSmrg 5145a73027baSmrg 5146a73027baSmrg 5147a73027baSmrg 5148a73027baSmrg 5149a73027baSmrg 5150a73027baSmrg 5151a73027baSmrg 5152a73027baSmrg 5153a73027baSmrgac_config_files="$ac_config_files Makefile" 5154a73027baSmrg 5155a73027baSmrgcat >confcache <<\_ACEOF 5156a73027baSmrg# This file is a shell script that caches the results of configure 5157a73027baSmrg# tests run on this system so they can be shared between configure 5158a73027baSmrg# scripts and configure runs, see configure's option --config-cache. 5159a73027baSmrg# It is not useful on other systems. If it contains results you don't 5160a73027baSmrg# want to keep, you may remove or edit it. 5161a73027baSmrg# 5162a73027baSmrg# config.status only pays attention to the cache file if you give it 5163a73027baSmrg# the --recheck option to rerun configure. 5164a73027baSmrg# 5165a73027baSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 5166a73027baSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 5167a73027baSmrg# following values. 5168a73027baSmrg 5169a73027baSmrg_ACEOF 5170a73027baSmrg 5171a73027baSmrg# The following way of writing the cache mishandles newlines in values, 5172a73027baSmrg# but we know of no workaround that is simple, portable, and efficient. 5173a73027baSmrg# So, we kill variables containing newlines. 5174a73027baSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 5175a73027baSmrg# and sets the high bit in the cache file unless we assign to the vars. 5176a73027baSmrg( 5177a73027baSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5178a73027baSmrg eval ac_val=\$$ac_var 5179a73027baSmrg case $ac_val in #( 5180a73027baSmrg *${as_nl}*) 5181a73027baSmrg case $ac_var in #( 5182bf4a254eSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 5183bf4a254eSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 5184a73027baSmrg esac 5185a73027baSmrg case $ac_var in #( 5186a73027baSmrg _ | IFS | as_nl) ;; #( 5187bf4a254eSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5188bf4a254eSmrg *) { eval $ac_var=; unset $ac_var;} ;; 5189a73027baSmrg esac ;; 5190a73027baSmrg esac 5191a73027baSmrg done 5192a73027baSmrg 5193a73027baSmrg (set) 2>&1 | 5194a73027baSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 5195a73027baSmrg *${as_nl}ac_space=\ *) 5196bf4a254eSmrg # `set' does not quote correctly, so add quotes: double-quote 5197bf4a254eSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 5198a73027baSmrg sed -n \ 5199a73027baSmrg "s/'/'\\\\''/g; 5200a73027baSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5201a73027baSmrg ;; #( 5202a73027baSmrg *) 5203a73027baSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 5204a73027baSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5205a73027baSmrg ;; 5206a73027baSmrg esac | 5207a73027baSmrg sort 5208a73027baSmrg) | 5209a73027baSmrg sed ' 5210a73027baSmrg /^ac_cv_env_/b end 5211a73027baSmrg t clear 5212a73027baSmrg :clear 5213a73027baSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5214a73027baSmrg t end 5215a73027baSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5216a73027baSmrg :end' >>confcache 5217a73027baSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5218a73027baSmrg if test -w "$cache_file"; then 521929004570Smrg if test "x$cache_file" != "x/dev/null"; then 5220bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 5221bf4a254eSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 522229004570Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 522329004570Smrg cat confcache >"$cache_file" 522429004570Smrg else 522529004570Smrg case $cache_file in #( 522629004570Smrg */* | ?:*) 522729004570Smrg mv -f confcache "$cache_file"$$ && 522829004570Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 522929004570Smrg *) 523029004570Smrg mv -f confcache "$cache_file" ;; 523129004570Smrg esac 523229004570Smrg fi 523329004570Smrg fi 5234a73027baSmrg else 5235bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 5236bf4a254eSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5237a73027baSmrg fi 5238a73027baSmrgfi 5239a73027baSmrgrm -f confcache 5240a73027baSmrg 5241a73027baSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 5242a73027baSmrg# Let make expand exec_prefix. 5243a73027baSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5244a73027baSmrg 5245a73027baSmrgDEFS=-DHAVE_CONFIG_H 5246a73027baSmrg 5247a73027baSmrgac_libobjs= 5248a73027baSmrgac_ltlibobjs= 524929004570SmrgU= 5250a73027baSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5251a73027baSmrg # 1. Remove the extension, and $U if already installed. 5252a73027baSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5253bf4a254eSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5254a73027baSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5255a73027baSmrg # will be set to the directory where LIBOBJS objects are built. 5256bf4a254eSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5257bf4a254eSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 5258a73027baSmrgdone 5259a73027baSmrgLIBOBJS=$ac_libobjs 5260a73027baSmrg 5261a73027baSmrgLTLIBOBJS=$ac_ltlibobjs 5262a73027baSmrg 5263a73027baSmrg 5264bf4a254eSmrg if test -n "$EXEEXT"; then 5265bf4a254eSmrg am__EXEEXT_TRUE= 5266bf4a254eSmrg am__EXEEXT_FALSE='#' 5267bf4a254eSmrgelse 5268bf4a254eSmrg am__EXEEXT_TRUE='#' 5269bf4a254eSmrg am__EXEEXT_FALSE= 5270bf4a254eSmrgfi 5271bf4a254eSmrg 5272a73027baSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 527329004570Smrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 5274bf4a254eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5275a73027baSmrgfi 5276a73027baSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 527729004570Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 5278bf4a254eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5279a73027baSmrgfi 5280a73027baSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 528129004570Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 5282bf4a254eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5283a73027baSmrgfi 5284a73027baSmrgif test -z "${LAUNCHD_TRUE}" && test -z "${LAUNCHD_FALSE}"; then 528529004570Smrg as_fn_error $? "conditional \"LAUNCHD\" was never defined. 5286bf4a254eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5287a73027baSmrgfi 528872e81212Smrgif test -z "${TIGER_LAUNCHD_TRUE}" && test -z "${TIGER_LAUNCHD_FALSE}"; then 528929004570Smrg as_fn_error $? "conditional \"TIGER_LAUNCHD\" was never defined. 5290bf4a254eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 529172e81212Smrgfi 5292a73027baSmrg 529329004570Smrg: "${CONFIG_STATUS=./config.status}" 5294bf4a254eSmrgac_write_fail=0 5295a73027baSmrgac_clean_files_save=$ac_clean_files 5296a73027baSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 5297bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 5298bf4a254eSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5299bf4a254eSmrgas_write_fail=0 5300bf4a254eSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 5301a73027baSmrg#! $SHELL 5302a73027baSmrg# Generated by $as_me. 5303a73027baSmrg# Run this file to recreate the current configuration. 5304a73027baSmrg# Compiler output produced by configure, useful for debugging 5305a73027baSmrg# configure, is in config.log if it exists. 5306a73027baSmrg 5307a73027baSmrgdebug=false 5308a73027baSmrgac_cs_recheck=false 5309a73027baSmrgac_cs_silent=false 5310a73027baSmrg 5311bf4a254eSmrgSHELL=\${CONFIG_SHELL-$SHELL} 5312bf4a254eSmrgexport SHELL 5313bf4a254eSmrg_ASEOF 5314bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 5315bf4a254eSmrg## -------------------- ## 5316bf4a254eSmrg## M4sh Initialization. ## 5317bf4a254eSmrg## -------------------- ## 5318a73027baSmrg 5319a73027baSmrg# Be more Bourne compatible 5320a73027baSmrgDUALCASE=1; export DUALCASE # for MKS sh 5321bf4a254eSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 5322a73027baSmrg emulate sh 5323a73027baSmrg NULLCMD=: 5324bf4a254eSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5325a73027baSmrg # is contrary to our usage. Disable this feature. 5326a73027baSmrg alias -g '${1+"$@"}'='"$@"' 5327a73027baSmrg setopt NO_GLOB_SUBST 5328a73027baSmrgelse 5329bf4a254eSmrg case `(set -o) 2>/dev/null` in #( 5330bf4a254eSmrg *posix*) : 5331bf4a254eSmrg set -o posix ;; #( 5332bf4a254eSmrg *) : 5333bf4a254eSmrg ;; 5334a73027baSmrgesac 5335a73027baSmrgfi 5336a73027baSmrg 5337a73027baSmrg 5338bf4a254eSmrgas_nl=' 5339bf4a254eSmrg' 5340bf4a254eSmrgexport as_nl 5341bf4a254eSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 5342bf4a254eSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5343bf4a254eSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5344bf4a254eSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5345bf4a254eSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 5346bf4a254eSmrg# but without wasting forks for bash or zsh. 5347bf4a254eSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 5348bf4a254eSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 5349bf4a254eSmrg as_echo='print -r --' 5350bf4a254eSmrg as_echo_n='print -rn --' 5351bf4a254eSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5352bf4a254eSmrg as_echo='printf %s\n' 5353bf4a254eSmrg as_echo_n='printf %s' 5354bf4a254eSmrgelse 5355bf4a254eSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5356bf4a254eSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5357bf4a254eSmrg as_echo_n='/usr/ucb/echo -n' 5358a73027baSmrg else 5359bf4a254eSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5360bf4a254eSmrg as_echo_n_body='eval 5361bf4a254eSmrg arg=$1; 5362bf4a254eSmrg case $arg in #( 5363bf4a254eSmrg *"$as_nl"*) 5364bf4a254eSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 5365bf4a254eSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5366bf4a254eSmrg esac; 5367bf4a254eSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5368bf4a254eSmrg ' 5369bf4a254eSmrg export as_echo_n_body 5370bf4a254eSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 5371a73027baSmrg fi 5372bf4a254eSmrg export as_echo_body 5373bf4a254eSmrg as_echo='sh -c $as_echo_body as_echo' 5374a73027baSmrgfi 5375a73027baSmrg 5376bf4a254eSmrg# The user is always right. 5377bf4a254eSmrgif test "${PATH_SEPARATOR+set}" != set; then 5378bf4a254eSmrg PATH_SEPARATOR=: 5379bf4a254eSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5380bf4a254eSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5381bf4a254eSmrg PATH_SEPARATOR=';' 5382bf4a254eSmrg } 5383a73027baSmrgfi 5384a73027baSmrg 5385a73027baSmrg 5386a73027baSmrg# IFS 5387a73027baSmrg# We need space, tab and new line, in precisely that order. Quoting is 5388a73027baSmrg# there to prevent editors from complaining about space-tab. 5389a73027baSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5390a73027baSmrg# splitting by setting IFS to empty value.) 5391a73027baSmrgIFS=" "" $as_nl" 5392a73027baSmrg 5393a73027baSmrg# Find who we are. Look in the path if we contain no directory separator. 539429004570Smrgas_myself= 5395bf4a254eSmrgcase $0 in #(( 5396a73027baSmrg *[\\/]* ) as_myself=$0 ;; 5397a73027baSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5398a73027baSmrgfor as_dir in $PATH 5399a73027baSmrgdo 5400a73027baSmrg IFS=$as_save_IFS 5401a73027baSmrg test -z "$as_dir" && as_dir=. 5402bf4a254eSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5403bf4a254eSmrg done 5404a73027baSmrgIFS=$as_save_IFS 5405a73027baSmrg 5406a73027baSmrg ;; 5407a73027baSmrgesac 5408a73027baSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 5409a73027baSmrg# in which case we are not to be found in the path. 5410a73027baSmrgif test "x$as_myself" = x; then 5411a73027baSmrg as_myself=$0 5412a73027baSmrgfi 5413a73027baSmrgif test ! -f "$as_myself"; then 5414bf4a254eSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5415bf4a254eSmrg exit 1 5416a73027baSmrgfi 5417a73027baSmrg 5418bf4a254eSmrg# Unset variables that we do not need and which cause bugs (e.g. in 5419bf4a254eSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5420bf4a254eSmrg# suppresses any "Segmentation fault" message there. '((' could 5421bf4a254eSmrg# trigger a bug in pdksh 5.2.14. 5422bf4a254eSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 5423bf4a254eSmrgdo eval test x\${$as_var+set} = xset \ 5424bf4a254eSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5425a73027baSmrgdone 5426a73027baSmrgPS1='$ ' 5427a73027baSmrgPS2='> ' 5428a73027baSmrgPS4='+ ' 5429a73027baSmrg 5430a73027baSmrg# NLS nuisances. 5431bf4a254eSmrgLC_ALL=C 5432bf4a254eSmrgexport LC_ALL 5433bf4a254eSmrgLANGUAGE=C 5434bf4a254eSmrgexport LANGUAGE 5435bf4a254eSmrg 5436bf4a254eSmrg# CDPATH. 5437bf4a254eSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5438bf4a254eSmrg 5439bf4a254eSmrg 544029004570Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 544129004570Smrg# ---------------------------------------- 5442bf4a254eSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5443bf4a254eSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 544429004570Smrg# script with STATUS, using 1 if that was 0. 5445bf4a254eSmrgas_fn_error () 5446bf4a254eSmrg{ 544729004570Smrg as_status=$1; test $as_status -eq 0 && as_status=1 544829004570Smrg if test "$4"; then 544929004570Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 545029004570Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5451a73027baSmrg fi 545229004570Smrg $as_echo "$as_me: error: $2" >&2 5453bf4a254eSmrg as_fn_exit $as_status 5454bf4a254eSmrg} # as_fn_error 5455bf4a254eSmrg 5456bf4a254eSmrg 5457bf4a254eSmrg# as_fn_set_status STATUS 5458bf4a254eSmrg# ----------------------- 5459bf4a254eSmrg# Set $? to STATUS, without forking. 5460bf4a254eSmrgas_fn_set_status () 5461bf4a254eSmrg{ 5462bf4a254eSmrg return $1 5463bf4a254eSmrg} # as_fn_set_status 5464bf4a254eSmrg 5465bf4a254eSmrg# as_fn_exit STATUS 5466bf4a254eSmrg# ----------------- 5467bf4a254eSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5468bf4a254eSmrgas_fn_exit () 5469bf4a254eSmrg{ 5470bf4a254eSmrg set +e 5471bf4a254eSmrg as_fn_set_status $1 5472bf4a254eSmrg exit $1 5473bf4a254eSmrg} # as_fn_exit 5474bf4a254eSmrg 5475bf4a254eSmrg# as_fn_unset VAR 5476bf4a254eSmrg# --------------- 5477bf4a254eSmrg# Portably unset VAR. 5478bf4a254eSmrgas_fn_unset () 5479bf4a254eSmrg{ 5480bf4a254eSmrg { eval $1=; unset $1;} 5481bf4a254eSmrg} 5482bf4a254eSmrgas_unset=as_fn_unset 5483bf4a254eSmrg# as_fn_append VAR VALUE 5484bf4a254eSmrg# ---------------------- 5485bf4a254eSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 5486bf4a254eSmrg# advantage of any shell optimizations that allow amortized linear growth over 5487bf4a254eSmrg# repeated appends, instead of the typical quadratic growth present in naive 5488bf4a254eSmrg# implementations. 5489bf4a254eSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5490bf4a254eSmrg eval 'as_fn_append () 5491bf4a254eSmrg { 5492bf4a254eSmrg eval $1+=\$2 5493bf4a254eSmrg }' 5494bf4a254eSmrgelse 5495bf4a254eSmrg as_fn_append () 5496bf4a254eSmrg { 5497bf4a254eSmrg eval $1=\$$1\$2 5498bf4a254eSmrg } 5499bf4a254eSmrgfi # as_fn_append 5500bf4a254eSmrg 5501bf4a254eSmrg# as_fn_arith ARG... 5502bf4a254eSmrg# ------------------ 5503bf4a254eSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 5504bf4a254eSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 5505bf4a254eSmrg# must be portable across $(()) and expr. 5506bf4a254eSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5507bf4a254eSmrg eval 'as_fn_arith () 5508bf4a254eSmrg { 5509bf4a254eSmrg as_val=$(( $* )) 5510bf4a254eSmrg }' 5511bf4a254eSmrgelse 5512bf4a254eSmrg as_fn_arith () 5513bf4a254eSmrg { 5514bf4a254eSmrg as_val=`expr "$@" || test $? -eq 1` 5515bf4a254eSmrg } 5516bf4a254eSmrgfi # as_fn_arith 5517bf4a254eSmrg 5518a73027baSmrg 5519a73027baSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 5520a73027baSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5521a73027baSmrg as_expr=expr 5522a73027baSmrgelse 5523a73027baSmrg as_expr=false 5524a73027baSmrgfi 5525a73027baSmrg 5526a73027baSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5527a73027baSmrg as_basename=basename 5528a73027baSmrgelse 5529a73027baSmrg as_basename=false 5530a73027baSmrgfi 5531a73027baSmrg 5532bf4a254eSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5533bf4a254eSmrg as_dirname=dirname 5534bf4a254eSmrgelse 5535bf4a254eSmrg as_dirname=false 5536bf4a254eSmrgfi 5537a73027baSmrg 5538a73027baSmrgas_me=`$as_basename -- "$0" || 5539a73027baSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5540a73027baSmrg X"$0" : 'X\(//\)$' \| \ 5541a73027baSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 5542bf4a254eSmrg$as_echo X/"$0" | 5543a73027baSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 5544a73027baSmrg s//\1/ 5545a73027baSmrg q 5546a73027baSmrg } 5547a73027baSmrg /^X\/\(\/\/\)$/{ 5548a73027baSmrg s//\1/ 5549a73027baSmrg q 5550a73027baSmrg } 5551a73027baSmrg /^X\/\(\/\).*/{ 5552a73027baSmrg s//\1/ 5553a73027baSmrg q 5554a73027baSmrg } 5555a73027baSmrg s/.*/./; q'` 5556a73027baSmrg 5557bf4a254eSmrg# Avoid depending upon Character Ranges. 5558bf4a254eSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 5559bf4a254eSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5560bf4a254eSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 5561bf4a254eSmrgas_cr_digits='0123456789' 5562bf4a254eSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 5563a73027baSmrg 5564a73027baSmrgECHO_C= ECHO_N= ECHO_T= 5565bf4a254eSmrgcase `echo -n x` in #((((( 5566a73027baSmrg-n*) 5567bf4a254eSmrg case `echo 'xy\c'` in 5568a73027baSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5569bf4a254eSmrg xy) ECHO_C='\c';; 5570bf4a254eSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5571bf4a254eSmrg ECHO_T=' ';; 5572a73027baSmrg esac;; 5573a73027baSmrg*) 5574a73027baSmrg ECHO_N='-n';; 5575a73027baSmrgesac 5576a73027baSmrg 5577bf4a254eSmrgrm -f conf$$ conf$$.exe conf$$.file 5578bf4a254eSmrgif test -d conf$$.dir; then 5579bf4a254eSmrg rm -f conf$$.dir/conf$$.file 5580a73027baSmrgelse 5581bf4a254eSmrg rm -f conf$$.dir 5582bf4a254eSmrg mkdir conf$$.dir 2>/dev/null 5583bf4a254eSmrgfi 5584bf4a254eSmrgif (echo >conf$$.file) 2>/dev/null; then 5585bf4a254eSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5586bf4a254eSmrg as_ln_s='ln -s' 5587bf4a254eSmrg # ... but there are two gotchas: 5588bf4a254eSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5589bf4a254eSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5590bf4a254eSmrg # In both cases, we have to default to `cp -p'. 5591bf4a254eSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5592bf4a254eSmrg as_ln_s='cp -p' 5593bf4a254eSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 5594bf4a254eSmrg as_ln_s=ln 5595bf4a254eSmrg else 5596bf4a254eSmrg as_ln_s='cp -p' 5597bf4a254eSmrg fi 5598bf4a254eSmrgelse 5599bf4a254eSmrg as_ln_s='cp -p' 5600a73027baSmrgfi 5601bf4a254eSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5602bf4a254eSmrgrmdir conf$$.dir 2>/dev/null 5603bf4a254eSmrg 5604bf4a254eSmrg 5605bf4a254eSmrg# as_fn_mkdir_p 5606bf4a254eSmrg# ------------- 5607bf4a254eSmrg# Create "$as_dir" as a directory, including parents if necessary. 5608bf4a254eSmrgas_fn_mkdir_p () 5609bf4a254eSmrg{ 5610bf4a254eSmrg 5611bf4a254eSmrg case $as_dir in #( 5612bf4a254eSmrg -*) as_dir=./$as_dir;; 5613bf4a254eSmrg esac 5614bf4a254eSmrg test -d "$as_dir" || eval $as_mkdir_p || { 5615bf4a254eSmrg as_dirs= 5616bf4a254eSmrg while :; do 5617bf4a254eSmrg case $as_dir in #( 5618bf4a254eSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5619bf4a254eSmrg *) as_qdir=$as_dir;; 5620bf4a254eSmrg esac 5621bf4a254eSmrg as_dirs="'$as_qdir' $as_dirs" 5622bf4a254eSmrg as_dir=`$as_dirname -- "$as_dir" || 5623bf4a254eSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5624bf4a254eSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 5625bf4a254eSmrg X"$as_dir" : 'X\(//\)$' \| \ 5626bf4a254eSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5627bf4a254eSmrg$as_echo X"$as_dir" | 5628bf4a254eSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5629bf4a254eSmrg s//\1/ 5630bf4a254eSmrg q 5631bf4a254eSmrg } 5632bf4a254eSmrg /^X\(\/\/\)[^/].*/{ 5633bf4a254eSmrg s//\1/ 5634bf4a254eSmrg q 5635bf4a254eSmrg } 5636bf4a254eSmrg /^X\(\/\/\)$/{ 5637bf4a254eSmrg s//\1/ 5638bf4a254eSmrg q 5639bf4a254eSmrg } 5640bf4a254eSmrg /^X\(\/\).*/{ 5641bf4a254eSmrg s//\1/ 5642bf4a254eSmrg q 5643bf4a254eSmrg } 5644bf4a254eSmrg s/.*/./; q'` 5645bf4a254eSmrg test -d "$as_dir" && break 5646bf4a254eSmrg done 5647bf4a254eSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 564829004570Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5649a73027baSmrg 5650a73027baSmrg 5651bf4a254eSmrg} # as_fn_mkdir_p 5652a73027baSmrgif mkdir -p . 2>/dev/null; then 5653bf4a254eSmrg as_mkdir_p='mkdir -p "$as_dir"' 5654a73027baSmrgelse 5655a73027baSmrg test -d ./-p && rmdir ./-p 5656a73027baSmrg as_mkdir_p=false 5657a73027baSmrgfi 5658a73027baSmrg 5659a73027baSmrgif test -x / >/dev/null 2>&1; then 5660a73027baSmrg as_test_x='test -x' 5661a73027baSmrgelse 5662a73027baSmrg if ls -dL / >/dev/null 2>&1; then 5663a73027baSmrg as_ls_L_option=L 5664a73027baSmrg else 5665a73027baSmrg as_ls_L_option= 5666a73027baSmrg fi 5667a73027baSmrg as_test_x=' 5668a73027baSmrg eval sh -c '\'' 5669a73027baSmrg if test -d "$1"; then 5670bf4a254eSmrg test -d "$1/."; 5671a73027baSmrg else 5672bf4a254eSmrg case $1 in #( 5673bf4a254eSmrg -*)set "./$1";; 5674a73027baSmrg esac; 5675bf4a254eSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5676a73027baSmrg ???[sx]*):;;*)false;;esac;fi 5677a73027baSmrg '\'' sh 5678a73027baSmrg ' 5679a73027baSmrgfi 5680a73027baSmrgas_executable_p=$as_test_x 5681a73027baSmrg 5682a73027baSmrg# Sed expression to map a string onto a valid CPP name. 5683a73027baSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5684a73027baSmrg 5685a73027baSmrg# Sed expression to map a string onto a valid variable name. 5686a73027baSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5687a73027baSmrg 5688a73027baSmrg 5689a73027baSmrgexec 6>&1 5690bf4a254eSmrg## ----------------------------------- ## 5691bf4a254eSmrg## Main body of $CONFIG_STATUS script. ## 5692bf4a254eSmrg## ----------------------------------- ## 5693bf4a254eSmrg_ASEOF 5694bf4a254eSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5695a73027baSmrg 5696bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5697bf4a254eSmrg# Save the log message, to keep $0 and so on meaningful, and to 5698a73027baSmrg# report actual input values of CONFIG_FILES etc. instead of their 5699a73027baSmrg# values after options handling. 5700a73027baSmrgac_log=" 570129004570SmrgThis file was extended by xinit $as_me 1.3.0, which was 570229004570Smrggenerated by GNU Autoconf 2.68. Invocation command line was 5703a73027baSmrg 5704a73027baSmrg CONFIG_FILES = $CONFIG_FILES 5705a73027baSmrg CONFIG_HEADERS = $CONFIG_HEADERS 5706a73027baSmrg CONFIG_LINKS = $CONFIG_LINKS 5707a73027baSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5708a73027baSmrg $ $0 $@ 5709a73027baSmrg 5710a73027baSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 5711a73027baSmrg" 5712a73027baSmrg 5713a73027baSmrg_ACEOF 5714a73027baSmrg 5715bf4a254eSmrgcase $ac_config_files in *" 5716bf4a254eSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 5717bf4a254eSmrgesac 5718bf4a254eSmrg 5719bf4a254eSmrgcase $ac_config_headers in *" 5720bf4a254eSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 5721bf4a254eSmrgesac 5722bf4a254eSmrg 5723bf4a254eSmrg 5724bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5725a73027baSmrg# Files that config.status was made for. 5726a73027baSmrgconfig_files="$ac_config_files" 5727a73027baSmrgconfig_headers="$ac_config_headers" 5728a73027baSmrgconfig_commands="$ac_config_commands" 5729a73027baSmrg 5730a73027baSmrg_ACEOF 5731a73027baSmrg 5732bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5733a73027baSmrgac_cs_usage="\ 5734bf4a254eSmrg\`$as_me' instantiates files and other configuration actions 5735bf4a254eSmrgfrom templates according to the current configuration. Unless the files 5736bf4a254eSmrgand actions are specified as TAGs, all are instantiated by default. 5737a73027baSmrg 5738bf4a254eSmrgUsage: $0 [OPTION]... [TAG]... 5739a73027baSmrg 5740a73027baSmrg -h, --help print this help, then exit 5741a73027baSmrg -V, --version print version number and configuration settings, then exit 5742bf4a254eSmrg --config print configuration, then exit 5743bf4a254eSmrg -q, --quiet, --silent 5744bf4a254eSmrg do not print progress messages 5745a73027baSmrg -d, --debug don't remove temporary files 5746a73027baSmrg --recheck update $as_me by reconfiguring in the same conditions 5747bf4a254eSmrg --file=FILE[:TEMPLATE] 5748bf4a254eSmrg instantiate the configuration file FILE 5749bf4a254eSmrg --header=FILE[:TEMPLATE] 5750bf4a254eSmrg instantiate the configuration header FILE 5751a73027baSmrg 5752a73027baSmrgConfiguration files: 5753a73027baSmrg$config_files 5754a73027baSmrg 5755a73027baSmrgConfiguration headers: 5756a73027baSmrg$config_headers 5757a73027baSmrg 5758a73027baSmrgConfiguration commands: 5759a73027baSmrg$config_commands 5760a73027baSmrg 5761bf4a254eSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 5762a73027baSmrg 5763a73027baSmrg_ACEOF 5764bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5765bf4a254eSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5766a73027baSmrgac_cs_version="\\ 576729004570Smrgxinit config.status 1.3.0 576829004570Smrgconfigured by $0, generated by GNU Autoconf 2.68, 5769bf4a254eSmrg with options \\"\$ac_cs_config\\" 5770a73027baSmrg 577129004570SmrgCopyright (C) 2010 Free Software Foundation, Inc. 5772a73027baSmrgThis config.status script is free software; the Free Software Foundation 5773a73027baSmrggives unlimited permission to copy, distribute and modify it." 5774a73027baSmrg 5775a73027baSmrgac_pwd='$ac_pwd' 5776a73027baSmrgsrcdir='$srcdir' 5777a73027baSmrgINSTALL='$INSTALL' 5778a73027baSmrgMKDIR_P='$MKDIR_P' 5779bf4a254eSmrgAWK='$AWK' 5780bf4a254eSmrgtest -n "\$AWK" || AWK=awk 5781a73027baSmrg_ACEOF 5782a73027baSmrg 5783bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5784bf4a254eSmrg# The default lists apply if the user does not specify any file. 5785a73027baSmrgac_need_defaults=: 5786a73027baSmrgwhile test $# != 0 5787a73027baSmrgdo 5788a73027baSmrg case $1 in 578929004570Smrg --*=?*) 5790a73027baSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5791a73027baSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5792a73027baSmrg ac_shift=: 5793a73027baSmrg ;; 579429004570Smrg --*=) 579529004570Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 579629004570Smrg ac_optarg= 579729004570Smrg ac_shift=: 579829004570Smrg ;; 5799a73027baSmrg *) 5800a73027baSmrg ac_option=$1 5801a73027baSmrg ac_optarg=$2 5802a73027baSmrg ac_shift=shift 5803a73027baSmrg ;; 5804a73027baSmrg esac 5805a73027baSmrg 5806a73027baSmrg case $ac_option in 5807a73027baSmrg # Handling of the options. 5808a73027baSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5809a73027baSmrg ac_cs_recheck=: ;; 5810a73027baSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5811bf4a254eSmrg $as_echo "$ac_cs_version"; exit ;; 5812bf4a254eSmrg --config | --confi | --conf | --con | --co | --c ) 5813bf4a254eSmrg $as_echo "$ac_cs_config"; exit ;; 5814a73027baSmrg --debug | --debu | --deb | --de | --d | -d ) 5815a73027baSmrg debug=: ;; 5816a73027baSmrg --file | --fil | --fi | --f ) 5817a73027baSmrg $ac_shift 5818bf4a254eSmrg case $ac_optarg in 5819bf4a254eSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 582029004570Smrg '') as_fn_error $? "missing file argument" ;; 5821bf4a254eSmrg esac 5822bf4a254eSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 5823a73027baSmrg ac_need_defaults=false;; 5824a73027baSmrg --header | --heade | --head | --hea ) 5825a73027baSmrg $ac_shift 5826bf4a254eSmrg case $ac_optarg in 5827bf4a254eSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5828bf4a254eSmrg esac 5829bf4a254eSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5830a73027baSmrg ac_need_defaults=false;; 5831a73027baSmrg --he | --h) 5832a73027baSmrg # Conflict between --help and --header 583329004570Smrg as_fn_error $? "ambiguous option: \`$1' 5834bf4a254eSmrgTry \`$0 --help' for more information.";; 5835a73027baSmrg --help | --hel | -h ) 5836bf4a254eSmrg $as_echo "$ac_cs_usage"; exit ;; 5837a73027baSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5838a73027baSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5839a73027baSmrg ac_cs_silent=: ;; 5840a73027baSmrg 5841a73027baSmrg # This is an error. 584229004570Smrg -*) as_fn_error $? "unrecognized option: \`$1' 5843bf4a254eSmrgTry \`$0 --help' for more information." ;; 5844a73027baSmrg 5845bf4a254eSmrg *) as_fn_append ac_config_targets " $1" 5846a73027baSmrg ac_need_defaults=false ;; 5847a73027baSmrg 5848a73027baSmrg esac 5849a73027baSmrg shift 5850a73027baSmrgdone 5851a73027baSmrg 5852a73027baSmrgac_configure_extra_args= 5853a73027baSmrg 5854a73027baSmrgif $ac_cs_silent; then 5855a73027baSmrg exec 6>/dev/null 5856a73027baSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5857a73027baSmrgfi 5858a73027baSmrg 5859a73027baSmrg_ACEOF 5860bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5861a73027baSmrgif \$ac_cs_recheck; then 5862bf4a254eSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5863bf4a254eSmrg shift 5864bf4a254eSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5865bf4a254eSmrg CONFIG_SHELL='$SHELL' 5866a73027baSmrg export CONFIG_SHELL 5867bf4a254eSmrg exec "\$@" 5868a73027baSmrgfi 5869a73027baSmrg 5870a73027baSmrg_ACEOF 5871bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5872a73027baSmrgexec 5>>config.log 5873a73027baSmrg{ 5874a73027baSmrg echo 5875a73027baSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5876a73027baSmrg## Running $as_me. ## 5877a73027baSmrg_ASBOX 5878bf4a254eSmrg $as_echo "$ac_log" 5879a73027baSmrg} >&5 5880a73027baSmrg 5881a73027baSmrg_ACEOF 5882bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5883a73027baSmrg# 5884a73027baSmrg# INIT-COMMANDS 5885a73027baSmrg# 5886a73027baSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5887a73027baSmrg 5888a73027baSmrg_ACEOF 5889a73027baSmrg 5890bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5891a73027baSmrg 5892a73027baSmrg# Handling of arguments. 5893a73027baSmrgfor ac_config_target in $ac_config_targets 5894a73027baSmrgdo 5895a73027baSmrg case $ac_config_target in 5896a73027baSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5897bf4a254eSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5898a73027baSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5899a73027baSmrg 590029004570Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5901a73027baSmrg esac 5902a73027baSmrgdone 5903a73027baSmrg 5904a73027baSmrg 5905a73027baSmrg# If the user did not use the arguments to specify the items to instantiate, 5906a73027baSmrg# then the envvar interface is used. Set only those that are not. 5907a73027baSmrg# We use the long form for the default assignment because of an extremely 5908a73027baSmrg# bizarre bug on SunOS 4.1.3. 5909a73027baSmrgif $ac_need_defaults; then 5910a73027baSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5911a73027baSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5912a73027baSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5913a73027baSmrgfi 5914a73027baSmrg 5915a73027baSmrg# Have a temporary directory for convenience. Make it in the build tree 5916a73027baSmrg# simply because there is no reason against having it here, and in addition, 5917a73027baSmrg# creating and moving files from /tmp can sometimes cause problems. 5918a73027baSmrg# Hook for its removal unless debugging. 5919a73027baSmrg# Note that there is a small window in which the directory will not be cleaned: 5920a73027baSmrg# after its creation but before its name has been assigned to `$tmp'. 5921a73027baSmrg$debug || 5922a73027baSmrg{ 592329004570Smrg tmp= ac_tmp= 5924a73027baSmrg trap 'exit_status=$? 592529004570Smrg : "${ac_tmp:=$tmp}" 592629004570Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5927a73027baSmrg' 0 5928bf4a254eSmrg trap 'as_fn_exit 1' 1 2 13 15 5929a73027baSmrg} 5930a73027baSmrg# Create a (secure) tmp directory for tmp files. 5931a73027baSmrg 5932a73027baSmrg{ 5933a73027baSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 593429004570Smrg test -d "$tmp" 5935a73027baSmrg} || 5936a73027baSmrg{ 5937a73027baSmrg tmp=./conf$$-$RANDOM 5938a73027baSmrg (umask 077 && mkdir "$tmp") 593929004570Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 594029004570Smrgac_tmp=$tmp 5941a73027baSmrg 5942bf4a254eSmrg# Set up the scripts for CONFIG_FILES section. 5943bf4a254eSmrg# No need to generate them if there are no CONFIG_FILES. 5944bf4a254eSmrg# This happens for instance with `./config.status config.h'. 5945a73027baSmrgif test -n "$CONFIG_FILES"; then 5946a73027baSmrg 5947a73027baSmrg 5948bf4a254eSmrgac_cr=`echo X | tr X '\015'` 5949bf4a254eSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 5950bf4a254eSmrg# But we know of no other shell where ac_cr would be empty at this 5951bf4a254eSmrg# point, so we can use a bashism as a fallback. 5952bf4a254eSmrgif test "x$ac_cr" = x; then 5953bf4a254eSmrg eval ac_cr=\$\'\\r\' 5954bf4a254eSmrgfi 5955bf4a254eSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5956bf4a254eSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 595729004570Smrg ac_cs_awk_cr='\\r' 5958bf4a254eSmrgelse 5959bf4a254eSmrg ac_cs_awk_cr=$ac_cr 5960a73027baSmrgfi 5961a73027baSmrg 596229004570Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 5963a73027baSmrg_ACEOF 5964a73027baSmrg 5965a73027baSmrg 5966bf4a254eSmrg{ 5967bf4a254eSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 5968bf4a254eSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5969bf4a254eSmrg echo "_ACEOF" 5970bf4a254eSmrg} >conf$$subs.sh || 597129004570Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 597229004570Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5973a73027baSmrgac_delim='%!_!# ' 5974a73027baSmrgfor ac_last_try in false false false false false :; do 5975bf4a254eSmrg . ./conf$$subs.sh || 597629004570Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5977a73027baSmrg 5978bf4a254eSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5979bf4a254eSmrg if test $ac_delim_n = $ac_delim_num; then 5980a73027baSmrg break 5981a73027baSmrg elif $ac_last_try; then 598229004570Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5983a73027baSmrg else 5984a73027baSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5985a73027baSmrg fi 5986a73027baSmrgdone 5987bf4a254eSmrgrm -f conf$$subs.sh 5988bf4a254eSmrg 5989bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 599029004570Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5991bf4a254eSmrg_ACEOF 5992bf4a254eSmrgsed -n ' 5993bf4a254eSmrgh 5994bf4a254eSmrgs/^/S["/; s/!.*/"]=/ 5995bf4a254eSmrgp 5996bf4a254eSmrgg 5997bf4a254eSmrgs/^[^!]*!// 5998bf4a254eSmrg:repl 5999bf4a254eSmrgt repl 6000bf4a254eSmrgs/'"$ac_delim"'$// 6001bf4a254eSmrgt delim 6002bf4a254eSmrg:nl 6003bf4a254eSmrgh 6004bf4a254eSmrgs/\(.\{148\}\)..*/\1/ 6005bf4a254eSmrgt more1 6006bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6007bf4a254eSmrgp 6008bf4a254eSmrgn 6009bf4a254eSmrgb repl 6010bf4a254eSmrg:more1 6011bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6012bf4a254eSmrgp 6013bf4a254eSmrgg 6014bf4a254eSmrgs/.\{148\}// 6015bf4a254eSmrgt nl 6016bf4a254eSmrg:delim 6017bf4a254eSmrgh 6018bf4a254eSmrgs/\(.\{148\}\)..*/\1/ 6019bf4a254eSmrgt more2 6020bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 6021bf4a254eSmrgp 6022bf4a254eSmrgb 6023bf4a254eSmrg:more2 6024bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6025bf4a254eSmrgp 6026bf4a254eSmrgg 6027bf4a254eSmrgs/.\{148\}// 6028bf4a254eSmrgt delim 6029bf4a254eSmrg' <conf$$subs.awk | sed ' 6030bf4a254eSmrg/^[^""]/{ 6031bf4a254eSmrg N 6032bf4a254eSmrg s/\n// 6033bf4a254eSmrg} 6034bf4a254eSmrg' >>$CONFIG_STATUS || ac_write_fail=1 6035bf4a254eSmrgrm -f conf$$subs.awk 6036bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6037bf4a254eSmrg_ACAWK 603829004570Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 6039bf4a254eSmrg for (key in S) S_is_set[key] = 1 6040bf4a254eSmrg FS = "" 6041a73027baSmrg 6042bf4a254eSmrg} 6043bf4a254eSmrg{ 6044bf4a254eSmrg line = $ 0 6045bf4a254eSmrg nfields = split(line, field, "@") 6046bf4a254eSmrg substed = 0 6047bf4a254eSmrg len = length(field[1]) 6048bf4a254eSmrg for (i = 2; i < nfields; i++) { 6049bf4a254eSmrg key = field[i] 6050bf4a254eSmrg keylen = length(key) 6051bf4a254eSmrg if (S_is_set[key]) { 6052bf4a254eSmrg value = S[key] 6053bf4a254eSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6054bf4a254eSmrg len += length(value) + length(field[++i]) 6055bf4a254eSmrg substed = 1 6056bf4a254eSmrg } else 6057bf4a254eSmrg len += 1 + keylen 6058bf4a254eSmrg } 6059bf4a254eSmrg 6060bf4a254eSmrg print line 6061bf4a254eSmrg} 6062a73027baSmrg 6063bf4a254eSmrg_ACAWK 6064a73027baSmrg_ACEOF 6065bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6066bf4a254eSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6067bf4a254eSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6068bf4a254eSmrgelse 6069bf4a254eSmrg cat 607029004570Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 607129004570Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 6072a73027baSmrg_ACEOF 6073a73027baSmrg 607429004570Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 607529004570Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 6076a73027baSmrg# trailing colons and then remove the whole line if VPATH becomes empty 6077a73027baSmrg# (actually we leave an empty line to preserve line numbers). 6078a73027baSmrgif test "x$srcdir" = x.; then 607929004570Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 608029004570Smrgh 608129004570Smrgs/// 608229004570Smrgs/^/:/ 608329004570Smrgs/[ ]*$/:/ 608429004570Smrgs/:\$(srcdir):/:/g 608529004570Smrgs/:\${srcdir}:/:/g 608629004570Smrgs/:@srcdir@:/:/g 608729004570Smrgs/^:*// 6088a73027baSmrgs/:*$// 608929004570Smrgx 609029004570Smrgs/\(=[ ]*\).*/\1/ 609129004570SmrgG 609229004570Smrgs/\n// 6093a73027baSmrgs/^[^=]*=[ ]*$// 6094a73027baSmrg}' 6095a73027baSmrgfi 6096a73027baSmrg 6097bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6098a73027baSmrgfi # test -n "$CONFIG_FILES" 6099a73027baSmrg 6100bf4a254eSmrg# Set up the scripts for CONFIG_HEADERS section. 6101bf4a254eSmrg# No need to generate them if there are no CONFIG_HEADERS. 6102bf4a254eSmrg# This happens for instance with `./config.status Makefile'. 6103bf4a254eSmrgif test -n "$CONFIG_HEADERS"; then 610429004570Smrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 6105bf4a254eSmrgBEGIN { 6106bf4a254eSmrg_ACEOF 6107bf4a254eSmrg 6108bf4a254eSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as 6109bf4a254eSmrg# here-document in config.status, that substitutes the proper values into 6110bf4a254eSmrg# config.h.in to produce config.h. 6111bf4a254eSmrg 6112bf4a254eSmrg# Create a delimiter string that does not exist in confdefs.h, to ease 6113bf4a254eSmrg# handling of long lines. 6114bf4a254eSmrgac_delim='%!_!# ' 6115bf4a254eSmrgfor ac_last_try in false false :; do 611629004570Smrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 611729004570Smrg if test -z "$ac_tt"; then 6118bf4a254eSmrg break 6119bf4a254eSmrg elif $ac_last_try; then 612029004570Smrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 6121bf4a254eSmrg else 6122bf4a254eSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6123bf4a254eSmrg fi 6124bf4a254eSmrgdone 6125bf4a254eSmrg 6126bf4a254eSmrg# For the awk script, D is an array of macro values keyed by name, 6127bf4a254eSmrg# likewise P contains macro parameters if any. Preserve backslash 6128bf4a254eSmrg# newline sequences. 6129bf4a254eSmrg 6130bf4a254eSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 6131bf4a254eSmrgsed -n ' 6132bf4a254eSmrgs/.\{148\}/&'"$ac_delim"'/g 6133bf4a254eSmrgt rset 6134bf4a254eSmrg:rset 6135bf4a254eSmrgs/^[ ]*#[ ]*define[ ][ ]*/ / 6136bf4a254eSmrgt def 6137bf4a254eSmrgd 6138bf4a254eSmrg:def 6139bf4a254eSmrgs/\\$// 6140bf4a254eSmrgt bsnl 6141bf4a254eSmrgs/["\\]/\\&/g 6142bf4a254eSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6143bf4a254eSmrgD["\1"]=" \3"/p 6144bf4a254eSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 6145bf4a254eSmrgd 6146bf4a254eSmrg:bsnl 6147bf4a254eSmrgs/["\\]/\\&/g 6148bf4a254eSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6149bf4a254eSmrgD["\1"]=" \3\\\\\\n"\\/p 6150bf4a254eSmrgt cont 6151bf4a254eSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 6152bf4a254eSmrgt cont 6153bf4a254eSmrgd 6154bf4a254eSmrg:cont 6155bf4a254eSmrgn 6156bf4a254eSmrgs/.\{148\}/&'"$ac_delim"'/g 6157bf4a254eSmrgt clear 6158bf4a254eSmrg:clear 6159bf4a254eSmrgs/\\$// 6160bf4a254eSmrgt bsnlc 6161bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 6162bf4a254eSmrgd 6163bf4a254eSmrg:bsnlc 6164bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 6165bf4a254eSmrgb cont 6166bf4a254eSmrg' <confdefs.h | sed ' 6167bf4a254eSmrgs/'"$ac_delim"'/"\\\ 6168bf4a254eSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 6169bf4a254eSmrg 6170bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6171bf4a254eSmrg for (key in D) D_is_set[key] = 1 6172bf4a254eSmrg FS = "" 6173bf4a254eSmrg} 6174bf4a254eSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 6175bf4a254eSmrg line = \$ 0 6176bf4a254eSmrg split(line, arg, " ") 6177bf4a254eSmrg if (arg[1] == "#") { 6178bf4a254eSmrg defundef = arg[2] 6179bf4a254eSmrg mac1 = arg[3] 6180bf4a254eSmrg } else { 6181bf4a254eSmrg defundef = substr(arg[1], 2) 6182bf4a254eSmrg mac1 = arg[2] 6183bf4a254eSmrg } 6184bf4a254eSmrg split(mac1, mac2, "(") #) 6185bf4a254eSmrg macro = mac2[1] 6186bf4a254eSmrg prefix = substr(line, 1, index(line, defundef) - 1) 6187bf4a254eSmrg if (D_is_set[macro]) { 6188bf4a254eSmrg # Preserve the white space surrounding the "#". 6189bf4a254eSmrg print prefix "define", macro P[macro] D[macro] 6190bf4a254eSmrg next 6191bf4a254eSmrg } else { 6192bf4a254eSmrg # Replace #undef with comments. This is necessary, for example, 6193bf4a254eSmrg # in the case of _POSIX_SOURCE, which is predefined and required 6194bf4a254eSmrg # on some systems where configure will not decide to define it. 6195bf4a254eSmrg if (defundef == "undef") { 6196bf4a254eSmrg print "/*", prefix defundef, macro, "*/" 6197bf4a254eSmrg next 6198bf4a254eSmrg } 6199bf4a254eSmrg } 6200bf4a254eSmrg} 6201bf4a254eSmrg{ print } 6202bf4a254eSmrg_ACAWK 6203bf4a254eSmrg_ACEOF 6204bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 620529004570Smrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 6206bf4a254eSmrgfi # test -n "$CONFIG_HEADERS" 6207bf4a254eSmrg 6208a73027baSmrg 6209bf4a254eSmrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 6210bf4a254eSmrgshift 6211bf4a254eSmrgfor ac_tag 6212a73027baSmrgdo 6213a73027baSmrg case $ac_tag in 6214a73027baSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 6215a73027baSmrg esac 6216a73027baSmrg case $ac_mode$ac_tag in 6217a73027baSmrg :[FHL]*:*);; 621829004570Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 6219a73027baSmrg :[FH]-) ac_tag=-:-;; 6220a73027baSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6221a73027baSmrg esac 6222a73027baSmrg ac_save_IFS=$IFS 6223a73027baSmrg IFS=: 6224a73027baSmrg set x $ac_tag 6225a73027baSmrg IFS=$ac_save_IFS 6226a73027baSmrg shift 6227a73027baSmrg ac_file=$1 6228a73027baSmrg shift 6229a73027baSmrg 6230a73027baSmrg case $ac_mode in 6231a73027baSmrg :L) ac_source=$1;; 6232a73027baSmrg :[FH]) 6233a73027baSmrg ac_file_inputs= 6234a73027baSmrg for ac_f 6235a73027baSmrg do 6236a73027baSmrg case $ac_f in 623729004570Smrg -) ac_f="$ac_tmp/stdin";; 6238a73027baSmrg *) # Look for the file first in the build tree, then in the source tree 6239a73027baSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 6240a73027baSmrg # because $ac_f cannot contain `:'. 6241a73027baSmrg test -f "$ac_f" || 6242a73027baSmrg case $ac_f in 6243a73027baSmrg [\\/$]*) false;; 6244a73027baSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6245a73027baSmrg esac || 624629004570Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 6247a73027baSmrg esac 6248bf4a254eSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6249bf4a254eSmrg as_fn_append ac_file_inputs " '$ac_f'" 6250a73027baSmrg done 6251a73027baSmrg 6252a73027baSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 6253a73027baSmrg # use $as_me), people would be surprised to read: 6254a73027baSmrg # /* config.h. Generated by config.status. */ 6255bf4a254eSmrg configure_input='Generated from '` 6256bf4a254eSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6257bf4a254eSmrg `' by configure.' 6258a73027baSmrg if test x"$ac_file" != x-; then 6259a73027baSmrg configure_input="$ac_file. $configure_input" 6260bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 6261bf4a254eSmrg$as_echo "$as_me: creating $ac_file" >&6;} 6262a73027baSmrg fi 6263bf4a254eSmrg # Neutralize special characters interpreted by sed in replacement strings. 6264bf4a254eSmrg case $configure_input in #( 6265bf4a254eSmrg *\&* | *\|* | *\\* ) 6266bf4a254eSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 6267bf4a254eSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 6268bf4a254eSmrg *) ac_sed_conf_input=$configure_input;; 6269bf4a254eSmrg esac 6270a73027baSmrg 6271a73027baSmrg case $ac_tag in 627229004570Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 627329004570Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 6274a73027baSmrg esac 6275a73027baSmrg ;; 6276a73027baSmrg esac 6277a73027baSmrg 6278a73027baSmrg ac_dir=`$as_dirname -- "$ac_file" || 6279a73027baSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6280a73027baSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 6281a73027baSmrg X"$ac_file" : 'X\(//\)$' \| \ 6282a73027baSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6283bf4a254eSmrg$as_echo X"$ac_file" | 6284a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6285a73027baSmrg s//\1/ 6286a73027baSmrg q 6287a73027baSmrg } 6288a73027baSmrg /^X\(\/\/\)[^/].*/{ 6289a73027baSmrg s//\1/ 6290a73027baSmrg q 6291a73027baSmrg } 6292a73027baSmrg /^X\(\/\/\)$/{ 6293a73027baSmrg s//\1/ 6294a73027baSmrg q 6295a73027baSmrg } 6296a73027baSmrg /^X\(\/\).*/{ 6297a73027baSmrg s//\1/ 6298a73027baSmrg q 6299a73027baSmrg } 6300a73027baSmrg s/.*/./; q'` 6301bf4a254eSmrg as_dir="$ac_dir"; as_fn_mkdir_p 6302a73027baSmrg ac_builddir=. 6303a73027baSmrg 6304a73027baSmrgcase "$ac_dir" in 6305a73027baSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6306a73027baSmrg*) 6307bf4a254eSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 6308a73027baSmrg # A ".." for each directory in $ac_dir_suffix. 6309bf4a254eSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 6310a73027baSmrg case $ac_top_builddir_sub in 6311a73027baSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6312a73027baSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6313a73027baSmrg esac ;; 6314a73027baSmrgesac 6315a73027baSmrgac_abs_top_builddir=$ac_pwd 6316a73027baSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 6317a73027baSmrg# for backward compatibility: 6318a73027baSmrgac_top_builddir=$ac_top_build_prefix 6319a73027baSmrg 6320a73027baSmrgcase $srcdir in 6321a73027baSmrg .) # We are building in place. 6322a73027baSmrg ac_srcdir=. 6323a73027baSmrg ac_top_srcdir=$ac_top_builddir_sub 6324a73027baSmrg ac_abs_top_srcdir=$ac_pwd ;; 6325a73027baSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 6326a73027baSmrg ac_srcdir=$srcdir$ac_dir_suffix; 6327a73027baSmrg ac_top_srcdir=$srcdir 6328a73027baSmrg ac_abs_top_srcdir=$srcdir ;; 6329a73027baSmrg *) # Relative name. 6330a73027baSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6331a73027baSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 6332a73027baSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6333a73027baSmrgesac 6334a73027baSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6335a73027baSmrg 6336a73027baSmrg 6337a73027baSmrg case $ac_mode in 6338a73027baSmrg :F) 6339a73027baSmrg # 6340a73027baSmrg # CONFIG_FILE 6341a73027baSmrg # 6342a73027baSmrg 6343a73027baSmrg case $INSTALL in 6344a73027baSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6345a73027baSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6346a73027baSmrg esac 6347a73027baSmrg ac_MKDIR_P=$MKDIR_P 6348a73027baSmrg case $MKDIR_P in 6349a73027baSmrg [\\/$]* | ?:[\\/]* ) ;; 6350a73027baSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6351a73027baSmrg esac 6352a73027baSmrg_ACEOF 6353a73027baSmrg 6354bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6355a73027baSmrg# If the template does not know about datarootdir, expand it. 6356a73027baSmrg# FIXME: This hack should be removed a few years after 2.60. 6357a73027baSmrgac_datarootdir_hack=; ac_datarootdir_seen= 6358bf4a254eSmrgac_sed_dataroot=' 6359bf4a254eSmrg/datarootdir/ { 6360a73027baSmrg p 6361a73027baSmrg q 6362a73027baSmrg} 6363a73027baSmrg/@datadir@/p 6364a73027baSmrg/@docdir@/p 6365a73027baSmrg/@infodir@/p 6366a73027baSmrg/@localedir@/p 6367bf4a254eSmrg/@mandir@/p' 6368bf4a254eSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6369a73027baSmrg*datarootdir*) ac_datarootdir_seen=yes;; 6370a73027baSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6371bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6372bf4a254eSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6373a73027baSmrg_ACEOF 6374bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6375a73027baSmrg ac_datarootdir_hack=' 6376a73027baSmrg s&@datadir@&$datadir&g 6377a73027baSmrg s&@docdir@&$docdir&g 6378a73027baSmrg s&@infodir@&$infodir&g 6379a73027baSmrg s&@localedir@&$localedir&g 6380a73027baSmrg s&@mandir@&$mandir&g 6381bf4a254eSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 6382a73027baSmrgesac 6383a73027baSmrg_ACEOF 6384a73027baSmrg 6385a73027baSmrg# Neutralize VPATH when `$srcdir' = `.'. 6386a73027baSmrg# Shell code in configure.ac might set extrasub. 6387a73027baSmrg# FIXME: do we really want to maintain this feature? 6388bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6389bf4a254eSmrgac_sed_extra="$ac_vpsub 6390a73027baSmrg$extrasub 6391a73027baSmrg_ACEOF 6392bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6393a73027baSmrg:t 6394a73027baSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6395bf4a254eSmrgs|@configure_input@|$ac_sed_conf_input|;t t 6396a73027baSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 6397bf4a254eSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 6398a73027baSmrgs&@srcdir@&$ac_srcdir&;t t 6399a73027baSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 6400a73027baSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 6401a73027baSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6402a73027baSmrgs&@builddir@&$ac_builddir&;t t 6403a73027baSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 6404a73027baSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6405a73027baSmrgs&@INSTALL@&$ac_INSTALL&;t t 6406a73027baSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 6407a73027baSmrg$ac_datarootdir_hack 6408bf4a254eSmrg" 640929004570Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 641029004570Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6411a73027baSmrg 6412a73027baSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 641329004570Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 641429004570Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 641529004570Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 6416bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 641729004570Smrgwhich seems to be undefined. Please make sure it is defined" >&5 6418bf4a254eSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 641929004570Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 6420a73027baSmrg 642129004570Smrg rm -f "$ac_tmp/stdin" 6422a73027baSmrg case $ac_file in 642329004570Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 642429004570Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 6425bf4a254eSmrg esac \ 642629004570Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6427a73027baSmrg ;; 6428a73027baSmrg :H) 6429a73027baSmrg # 6430a73027baSmrg # CONFIG_HEADER 6431a73027baSmrg # 6432a73027baSmrg if test x"$ac_file" != x-; then 6433bf4a254eSmrg { 6434bf4a254eSmrg $as_echo "/* $configure_input */" \ 643529004570Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 643629004570Smrg } >"$ac_tmp/config.h" \ 643729004570Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 643829004570Smrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 6439bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 6440bf4a254eSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 6441a73027baSmrg else 6442bf4a254eSmrg rm -f "$ac_file" 644329004570Smrg mv "$ac_tmp/config.h" "$ac_file" \ 644429004570Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6445a73027baSmrg fi 6446a73027baSmrg else 6447bf4a254eSmrg $as_echo "/* $configure_input */" \ 644829004570Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 644929004570Smrg || as_fn_error $? "could not create -" "$LINENO" 5 6450a73027baSmrg fi 6451bf4a254eSmrg# Compute "$ac_file"'s index in $config_headers. 6452bf4a254eSmrg_am_arg="$ac_file" 6453a73027baSmrg_am_stamp_count=1 6454a73027baSmrgfor _am_header in $config_headers :; do 6455a73027baSmrg case $_am_header in 6456bf4a254eSmrg $_am_arg | $_am_arg:* ) 6457a73027baSmrg break ;; 6458a73027baSmrg * ) 6459a73027baSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6460a73027baSmrg esac 6461a73027baSmrgdone 6462bf4a254eSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 6463bf4a254eSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6464bf4a254eSmrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 6465bf4a254eSmrg X"$_am_arg" : 'X\(//\)$' \| \ 6466bf4a254eSmrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 6467bf4a254eSmrg$as_echo X"$_am_arg" | 6468a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6469a73027baSmrg s//\1/ 6470a73027baSmrg q 6471a73027baSmrg } 6472a73027baSmrg /^X\(\/\/\)[^/].*/{ 6473a73027baSmrg s//\1/ 6474a73027baSmrg q 6475a73027baSmrg } 6476a73027baSmrg /^X\(\/\/\)$/{ 6477a73027baSmrg s//\1/ 6478a73027baSmrg q 6479a73027baSmrg } 6480a73027baSmrg /^X\(\/\).*/{ 6481a73027baSmrg s//\1/ 6482a73027baSmrg q 6483a73027baSmrg } 6484a73027baSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 6485a73027baSmrg ;; 6486a73027baSmrg 6487bf4a254eSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 6488bf4a254eSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 6489a73027baSmrg ;; 6490a73027baSmrg esac 6491a73027baSmrg 6492a73027baSmrg 6493a73027baSmrg case $ac_file$ac_mode in 6494bf4a254eSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6495bf4a254eSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 6496bf4a254eSmrg # are listed without --file. Let's play safe and only enable the eval 6497bf4a254eSmrg # if we detect the quoting. 6498bf4a254eSmrg case $CONFIG_FILES in 6499bf4a254eSmrg *\'*) eval set x "$CONFIG_FILES" ;; 6500bf4a254eSmrg *) set x $CONFIG_FILES ;; 6501bf4a254eSmrg esac 6502bf4a254eSmrg shift 6503bf4a254eSmrg for mf 6504bf4a254eSmrg do 6505bf4a254eSmrg # Strip MF so we end up with the name of the file. 6506bf4a254eSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 6507bf4a254eSmrg # Check whether this is an Automake generated Makefile or not. 6508bf4a254eSmrg # We used to match only the files named `Makefile.in', but 6509bf4a254eSmrg # some people rename them; so instead we look at the file content. 6510bf4a254eSmrg # Grep'ing the first line is not enough: some people post-process 6511bf4a254eSmrg # each Makefile.in and add a new line on top of each file to say so. 6512bf4a254eSmrg # Grep'ing the whole file is not good either: AIX grep has a line 6513bf4a254eSmrg # limit of 2048, but all sed's we know have understand at least 4000. 6514bf4a254eSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6515bf4a254eSmrg dirpart=`$as_dirname -- "$mf" || 6516a73027baSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6517a73027baSmrg X"$mf" : 'X\(//\)[^/]' \| \ 6518a73027baSmrg X"$mf" : 'X\(//\)$' \| \ 6519a73027baSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6520bf4a254eSmrg$as_echo X"$mf" | 6521a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6522a73027baSmrg s//\1/ 6523a73027baSmrg q 6524a73027baSmrg } 6525a73027baSmrg /^X\(\/\/\)[^/].*/{ 6526a73027baSmrg s//\1/ 6527a73027baSmrg q 6528a73027baSmrg } 6529a73027baSmrg /^X\(\/\/\)$/{ 6530a73027baSmrg s//\1/ 6531a73027baSmrg q 6532a73027baSmrg } 6533a73027baSmrg /^X\(\/\).*/{ 6534a73027baSmrg s//\1/ 6535a73027baSmrg q 6536a73027baSmrg } 6537a73027baSmrg s/.*/./; q'` 6538bf4a254eSmrg else 6539bf4a254eSmrg continue 6540bf4a254eSmrg fi 6541bf4a254eSmrg # Extract the definition of DEPDIR, am__include, and am__quote 6542bf4a254eSmrg # from the Makefile without running `make'. 6543bf4a254eSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6544bf4a254eSmrg test -z "$DEPDIR" && continue 6545bf4a254eSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 6546bf4a254eSmrg test -z "am__include" && continue 6547bf4a254eSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6548bf4a254eSmrg # When using ansi2knr, U may be empty or an underscore; expand it 6549bf4a254eSmrg U=`sed -n 's/^U = //p' < "$mf"` 6550bf4a254eSmrg # Find all dependency output files, they are included files with 6551bf4a254eSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 6552bf4a254eSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 6553bf4a254eSmrg # expansion. 6554bf4a254eSmrg for file in `sed -n " 6555bf4a254eSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6556bf4a254eSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6557bf4a254eSmrg # Make sure the directory exists. 6558bf4a254eSmrg test -f "$dirpart/$file" && continue 6559bf4a254eSmrg fdir=`$as_dirname -- "$file" || 6560a73027baSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6561a73027baSmrg X"$file" : 'X\(//\)[^/]' \| \ 6562a73027baSmrg X"$file" : 'X\(//\)$' \| \ 6563a73027baSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 6564bf4a254eSmrg$as_echo X"$file" | 6565a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6566a73027baSmrg s//\1/ 6567a73027baSmrg q 6568a73027baSmrg } 6569a73027baSmrg /^X\(\/\/\)[^/].*/{ 6570a73027baSmrg s//\1/ 6571a73027baSmrg q 6572a73027baSmrg } 6573a73027baSmrg /^X\(\/\/\)$/{ 6574a73027baSmrg s//\1/ 6575a73027baSmrg q 6576a73027baSmrg } 6577a73027baSmrg /^X\(\/\).*/{ 6578a73027baSmrg s//\1/ 6579a73027baSmrg q 6580a73027baSmrg } 6581a73027baSmrg s/.*/./; q'` 6582bf4a254eSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 6583bf4a254eSmrg # echo "creating $dirpart/$file" 6584bf4a254eSmrg echo '# dummy' > "$dirpart/$file" 6585a73027baSmrg done 6586a73027baSmrg done 6587bf4a254eSmrg} 6588a73027baSmrg ;; 6589a73027baSmrg 6590a73027baSmrg esac 6591a73027baSmrgdone # for ac_tag 6592a73027baSmrg 6593a73027baSmrg 6594bf4a254eSmrgas_fn_exit 0 6595a73027baSmrg_ACEOF 6596a73027baSmrgac_clean_files=$ac_clean_files_save 6597a73027baSmrg 6598bf4a254eSmrgtest $ac_write_fail = 0 || 659929004570Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6600bf4a254eSmrg 6601a73027baSmrg 6602a73027baSmrg# configure is writing to config.log, and then calls config.status. 6603a73027baSmrg# config.status does its own redirection, appending to config.log. 6604a73027baSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 6605a73027baSmrg# by configure, so config.status won't be able to write to it; its 6606a73027baSmrg# output is simply discarded. So we exec the FD to /dev/null, 6607a73027baSmrg# effectively closing config.log, so it can be properly (re)opened and 6608a73027baSmrg# appended to by config.status. When coming back to configure, we 6609a73027baSmrg# need to make the FD available again. 6610a73027baSmrgif test "$no_create" != yes; then 6611a73027baSmrg ac_cs_success=: 6612a73027baSmrg ac_config_status_args= 6613a73027baSmrg test "$silent" = yes && 6614a73027baSmrg ac_config_status_args="$ac_config_status_args --quiet" 6615a73027baSmrg exec 5>/dev/null 6616a73027baSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6617a73027baSmrg exec 5>>config.log 6618a73027baSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6619a73027baSmrg # would make configure fail if this is the last instruction. 662029004570Smrg $ac_cs_success || as_fn_exit 1 6621bf4a254eSmrgfi 6622bf4a254eSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6623bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6624bf4a254eSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6625a73027baSmrgfi 6626a73027baSmrg 6627a73027baSmrgac_config_files="$ac_config_files privileged_startx/Makefile" 6628a73027baSmrg 6629a73027baSmrgcat >confcache <<\_ACEOF 6630a73027baSmrg# This file is a shell script that caches the results of configure 6631a73027baSmrg# tests run on this system so they can be shared between configure 6632a73027baSmrg# scripts and configure runs, see configure's option --config-cache. 6633a73027baSmrg# It is not useful on other systems. If it contains results you don't 6634a73027baSmrg# want to keep, you may remove or edit it. 6635a73027baSmrg# 6636a73027baSmrg# config.status only pays attention to the cache file if you give it 6637a73027baSmrg# the --recheck option to rerun configure. 6638a73027baSmrg# 6639a73027baSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 6640a73027baSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 6641a73027baSmrg# following values. 6642a73027baSmrg 6643a73027baSmrg_ACEOF 6644a73027baSmrg 6645a73027baSmrg# The following way of writing the cache mishandles newlines in values, 6646a73027baSmrg# but we know of no workaround that is simple, portable, and efficient. 6647a73027baSmrg# So, we kill variables containing newlines. 6648a73027baSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 6649a73027baSmrg# and sets the high bit in the cache file unless we assign to the vars. 6650a73027baSmrg( 6651a73027baSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6652a73027baSmrg eval ac_val=\$$ac_var 6653a73027baSmrg case $ac_val in #( 6654a73027baSmrg *${as_nl}*) 6655a73027baSmrg case $ac_var in #( 6656bf4a254eSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6657bf4a254eSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6658a73027baSmrg esac 6659a73027baSmrg case $ac_var in #( 6660a73027baSmrg _ | IFS | as_nl) ;; #( 6661bf4a254eSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6662bf4a254eSmrg *) { eval $ac_var=; unset $ac_var;} ;; 6663a73027baSmrg esac ;; 6664a73027baSmrg esac 6665a73027baSmrg done 6666a73027baSmrg 6667a73027baSmrg (set) 2>&1 | 6668a73027baSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 6669a73027baSmrg *${as_nl}ac_space=\ *) 6670bf4a254eSmrg # `set' does not quote correctly, so add quotes: double-quote 6671bf4a254eSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 6672a73027baSmrg sed -n \ 6673a73027baSmrg "s/'/'\\\\''/g; 6674a73027baSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6675a73027baSmrg ;; #( 6676a73027baSmrg *) 6677a73027baSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 6678a73027baSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6679a73027baSmrg ;; 6680a73027baSmrg esac | 6681a73027baSmrg sort 6682a73027baSmrg) | 6683a73027baSmrg sed ' 6684a73027baSmrg /^ac_cv_env_/b end 6685a73027baSmrg t clear 6686a73027baSmrg :clear 6687a73027baSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6688a73027baSmrg t end 6689a73027baSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6690a73027baSmrg :end' >>confcache 6691a73027baSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6692a73027baSmrg if test -w "$cache_file"; then 669329004570Smrg if test "x$cache_file" != "x/dev/null"; then 6694bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6695bf4a254eSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 669629004570Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 669729004570Smrg cat confcache >"$cache_file" 669829004570Smrg else 669929004570Smrg case $cache_file in #( 670029004570Smrg */* | ?:*) 670129004570Smrg mv -f confcache "$cache_file"$$ && 670229004570Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 670329004570Smrg *) 670429004570Smrg mv -f confcache "$cache_file" ;; 670529004570Smrg esac 670629004570Smrg fi 670729004570Smrg fi 6708a73027baSmrg else 6709bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6710bf4a254eSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6711a73027baSmrg fi 6712a73027baSmrgfi 6713a73027baSmrgrm -f confcache 6714a73027baSmrg 6715a73027baSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 6716a73027baSmrg# Let make expand exec_prefix. 6717a73027baSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6718a73027baSmrg 6719a73027baSmrgDEFS=-DHAVE_CONFIG_H 6720a73027baSmrg 6721a73027baSmrgac_libobjs= 6722a73027baSmrgac_ltlibobjs= 672329004570SmrgU= 6724a73027baSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6725a73027baSmrg # 1. Remove the extension, and $U if already installed. 6726a73027baSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6727bf4a254eSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6728a73027baSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6729a73027baSmrg # will be set to the directory where LIBOBJS objects are built. 6730bf4a254eSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6731bf4a254eSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6732a73027baSmrgdone 6733a73027baSmrgLIBOBJS=$ac_libobjs 6734a73027baSmrg 6735a73027baSmrgLTLIBOBJS=$ac_ltlibobjs 6736a73027baSmrg 6737a73027baSmrg 6738bf4a254eSmrg if test -n "$EXEEXT"; then 6739bf4a254eSmrg am__EXEEXT_TRUE= 6740bf4a254eSmrg am__EXEEXT_FALSE='#' 6741bf4a254eSmrgelse 6742bf4a254eSmrg am__EXEEXT_TRUE='#' 6743bf4a254eSmrg am__EXEEXT_FALSE= 6744bf4a254eSmrgfi 6745bf4a254eSmrg 6746a73027baSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 674729004570Smrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 6748bf4a254eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 6749a73027baSmrgfi 6750a73027baSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 675129004570Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 6752bf4a254eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 6753a73027baSmrgfi 6754a73027baSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 675529004570Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 6756bf4a254eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 6757a73027baSmrgfi 6758a73027baSmrgif test -z "${LAUNCHD_TRUE}" && test -z "${LAUNCHD_FALSE}"; then 675929004570Smrg as_fn_error $? "conditional \"LAUNCHD\" was never defined. 6760bf4a254eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 6761a73027baSmrgfi 676272e81212Smrgif test -z "${TIGER_LAUNCHD_TRUE}" && test -z "${TIGER_LAUNCHD_FALSE}"; then 676329004570Smrg as_fn_error $? "conditional \"TIGER_LAUNCHD\" was never defined. 6764bf4a254eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 6765bf4a254eSmrgfi 6766bf4a254eSmrgif test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then 676729004570Smrg as_fn_error $? "conditional \"am__EXEEXT\" was never defined. 6768bf4a254eSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 676972e81212Smrgfi 6770a73027baSmrg 677129004570Smrg: "${CONFIG_STATUS=./config.status}" 6772bf4a254eSmrgac_write_fail=0 6773a73027baSmrgac_clean_files_save=$ac_clean_files 6774a73027baSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 6775bf4a254eSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6776bf4a254eSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6777bf4a254eSmrgas_write_fail=0 6778bf4a254eSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6779a73027baSmrg#! $SHELL 6780a73027baSmrg# Generated by $as_me. 6781a73027baSmrg# Run this file to recreate the current configuration. 6782a73027baSmrg# Compiler output produced by configure, useful for debugging 6783a73027baSmrg# configure, is in config.log if it exists. 6784a73027baSmrg 6785a73027baSmrgdebug=false 6786a73027baSmrgac_cs_recheck=false 6787a73027baSmrgac_cs_silent=false 6788a73027baSmrg 6789bf4a254eSmrgSHELL=\${CONFIG_SHELL-$SHELL} 6790bf4a254eSmrgexport SHELL 6791bf4a254eSmrg_ASEOF 6792bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6793bf4a254eSmrg## -------------------- ## 6794bf4a254eSmrg## M4sh Initialization. ## 6795bf4a254eSmrg## -------------------- ## 6796a73027baSmrg 6797a73027baSmrg# Be more Bourne compatible 6798a73027baSmrgDUALCASE=1; export DUALCASE # for MKS sh 6799bf4a254eSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6800a73027baSmrg emulate sh 6801a73027baSmrg NULLCMD=: 6802bf4a254eSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6803a73027baSmrg # is contrary to our usage. Disable this feature. 6804a73027baSmrg alias -g '${1+"$@"}'='"$@"' 6805a73027baSmrg setopt NO_GLOB_SUBST 6806a73027baSmrgelse 6807bf4a254eSmrg case `(set -o) 2>/dev/null` in #( 6808bf4a254eSmrg *posix*) : 6809bf4a254eSmrg set -o posix ;; #( 6810bf4a254eSmrg *) : 6811bf4a254eSmrg ;; 6812a73027baSmrgesac 6813a73027baSmrgfi 6814a73027baSmrg 6815a73027baSmrg 6816bf4a254eSmrgas_nl=' 6817bf4a254eSmrg' 6818bf4a254eSmrgexport as_nl 6819bf4a254eSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 6820bf4a254eSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6821bf4a254eSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6822bf4a254eSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6823bf4a254eSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 6824bf4a254eSmrg# but without wasting forks for bash or zsh. 6825bf4a254eSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 6826bf4a254eSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6827bf4a254eSmrg as_echo='print -r --' 6828bf4a254eSmrg as_echo_n='print -rn --' 6829bf4a254eSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6830bf4a254eSmrg as_echo='printf %s\n' 6831bf4a254eSmrg as_echo_n='printf %s' 6832bf4a254eSmrgelse 6833bf4a254eSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6834bf4a254eSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6835bf4a254eSmrg as_echo_n='/usr/ucb/echo -n' 6836a73027baSmrg else 6837bf4a254eSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6838bf4a254eSmrg as_echo_n_body='eval 6839bf4a254eSmrg arg=$1; 6840bf4a254eSmrg case $arg in #( 6841bf4a254eSmrg *"$as_nl"*) 6842bf4a254eSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 6843bf4a254eSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6844bf4a254eSmrg esac; 6845bf4a254eSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6846bf4a254eSmrg ' 6847bf4a254eSmrg export as_echo_n_body 6848bf4a254eSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 6849a73027baSmrg fi 6850bf4a254eSmrg export as_echo_body 6851bf4a254eSmrg as_echo='sh -c $as_echo_body as_echo' 6852a73027baSmrgfi 6853a73027baSmrg 6854bf4a254eSmrg# The user is always right. 6855bf4a254eSmrgif test "${PATH_SEPARATOR+set}" != set; then 6856bf4a254eSmrg PATH_SEPARATOR=: 6857bf4a254eSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6858bf4a254eSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6859bf4a254eSmrg PATH_SEPARATOR=';' 6860bf4a254eSmrg } 6861a73027baSmrgfi 6862a73027baSmrg 6863a73027baSmrg 6864a73027baSmrg# IFS 6865a73027baSmrg# We need space, tab and new line, in precisely that order. Quoting is 6866a73027baSmrg# there to prevent editors from complaining about space-tab. 6867a73027baSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6868a73027baSmrg# splitting by setting IFS to empty value.) 6869a73027baSmrgIFS=" "" $as_nl" 6870a73027baSmrg 6871a73027baSmrg# Find who we are. Look in the path if we contain no directory separator. 687229004570Smrgas_myself= 6873bf4a254eSmrgcase $0 in #(( 6874a73027baSmrg *[\\/]* ) as_myself=$0 ;; 6875a73027baSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6876a73027baSmrgfor as_dir in $PATH 6877a73027baSmrgdo 6878a73027baSmrg IFS=$as_save_IFS 6879a73027baSmrg test -z "$as_dir" && as_dir=. 6880bf4a254eSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6881bf4a254eSmrg done 6882a73027baSmrgIFS=$as_save_IFS 6883a73027baSmrg 6884a73027baSmrg ;; 6885a73027baSmrgesac 6886a73027baSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 6887a73027baSmrg# in which case we are not to be found in the path. 6888a73027baSmrgif test "x$as_myself" = x; then 6889a73027baSmrg as_myself=$0 6890a73027baSmrgfi 6891a73027baSmrgif test ! -f "$as_myself"; then 6892bf4a254eSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6893bf4a254eSmrg exit 1 6894a73027baSmrgfi 6895a73027baSmrg 6896bf4a254eSmrg# Unset variables that we do not need and which cause bugs (e.g. in 6897bf4a254eSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6898bf4a254eSmrg# suppresses any "Segmentation fault" message there. '((' could 6899bf4a254eSmrg# trigger a bug in pdksh 5.2.14. 6900bf4a254eSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 6901bf4a254eSmrgdo eval test x\${$as_var+set} = xset \ 6902bf4a254eSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6903a73027baSmrgdone 6904a73027baSmrgPS1='$ ' 6905a73027baSmrgPS2='> ' 6906a73027baSmrgPS4='+ ' 6907a73027baSmrg 6908a73027baSmrg# NLS nuisances. 6909bf4a254eSmrgLC_ALL=C 6910bf4a254eSmrgexport LC_ALL 6911bf4a254eSmrgLANGUAGE=C 6912bf4a254eSmrgexport LANGUAGE 6913bf4a254eSmrg 6914bf4a254eSmrg# CDPATH. 6915bf4a254eSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6916bf4a254eSmrg 6917bf4a254eSmrg 691829004570Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 691929004570Smrg# ---------------------------------------- 6920bf4a254eSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6921bf4a254eSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 692229004570Smrg# script with STATUS, using 1 if that was 0. 6923bf4a254eSmrgas_fn_error () 6924bf4a254eSmrg{ 692529004570Smrg as_status=$1; test $as_status -eq 0 && as_status=1 692629004570Smrg if test "$4"; then 692729004570Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 692829004570Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6929a73027baSmrg fi 693029004570Smrg $as_echo "$as_me: error: $2" >&2 6931bf4a254eSmrg as_fn_exit $as_status 6932bf4a254eSmrg} # as_fn_error 6933bf4a254eSmrg 6934bf4a254eSmrg 6935bf4a254eSmrg# as_fn_set_status STATUS 6936bf4a254eSmrg# ----------------------- 6937bf4a254eSmrg# Set $? to STATUS, without forking. 6938bf4a254eSmrgas_fn_set_status () 6939bf4a254eSmrg{ 6940bf4a254eSmrg return $1 6941bf4a254eSmrg} # as_fn_set_status 6942bf4a254eSmrg 6943bf4a254eSmrg# as_fn_exit STATUS 6944bf4a254eSmrg# ----------------- 6945bf4a254eSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6946bf4a254eSmrgas_fn_exit () 6947bf4a254eSmrg{ 6948bf4a254eSmrg set +e 6949bf4a254eSmrg as_fn_set_status $1 6950bf4a254eSmrg exit $1 6951bf4a254eSmrg} # as_fn_exit 6952bf4a254eSmrg 6953bf4a254eSmrg# as_fn_unset VAR 6954bf4a254eSmrg# --------------- 6955bf4a254eSmrg# Portably unset VAR. 6956bf4a254eSmrgas_fn_unset () 6957bf4a254eSmrg{ 6958bf4a254eSmrg { eval $1=; unset $1;} 6959bf4a254eSmrg} 6960bf4a254eSmrgas_unset=as_fn_unset 6961bf4a254eSmrg# as_fn_append VAR VALUE 6962bf4a254eSmrg# ---------------------- 6963bf4a254eSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 6964bf4a254eSmrg# advantage of any shell optimizations that allow amortized linear growth over 6965bf4a254eSmrg# repeated appends, instead of the typical quadratic growth present in naive 6966bf4a254eSmrg# implementations. 6967bf4a254eSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6968bf4a254eSmrg eval 'as_fn_append () 6969bf4a254eSmrg { 6970bf4a254eSmrg eval $1+=\$2 6971bf4a254eSmrg }' 6972bf4a254eSmrgelse 6973bf4a254eSmrg as_fn_append () 6974bf4a254eSmrg { 6975bf4a254eSmrg eval $1=\$$1\$2 6976bf4a254eSmrg } 6977bf4a254eSmrgfi # as_fn_append 6978bf4a254eSmrg 6979bf4a254eSmrg# as_fn_arith ARG... 6980bf4a254eSmrg# ------------------ 6981bf4a254eSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 6982bf4a254eSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 6983bf4a254eSmrg# must be portable across $(()) and expr. 6984bf4a254eSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6985bf4a254eSmrg eval 'as_fn_arith () 6986bf4a254eSmrg { 6987bf4a254eSmrg as_val=$(( $* )) 6988bf4a254eSmrg }' 6989bf4a254eSmrgelse 6990bf4a254eSmrg as_fn_arith () 6991bf4a254eSmrg { 6992bf4a254eSmrg as_val=`expr "$@" || test $? -eq 1` 6993bf4a254eSmrg } 6994bf4a254eSmrgfi # as_fn_arith 6995bf4a254eSmrg 6996a73027baSmrg 6997a73027baSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 6998a73027baSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 6999a73027baSmrg as_expr=expr 7000a73027baSmrgelse 7001a73027baSmrg as_expr=false 7002a73027baSmrgfi 7003a73027baSmrg 7004a73027baSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7005a73027baSmrg as_basename=basename 7006a73027baSmrgelse 7007bf4a254eSmrg as_basename=false 7008bf4a254eSmrgfi 7009bf4a254eSmrg 7010bf4a254eSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7011bf4a254eSmrg as_dirname=dirname 7012bf4a254eSmrgelse 7013bf4a254eSmrg as_dirname=false 7014a73027baSmrgfi 7015a73027baSmrg 7016a73027baSmrgas_me=`$as_basename -- "$0" || 7017a73027baSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7018a73027baSmrg X"$0" : 'X\(//\)$' \| \ 7019a73027baSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 7020bf4a254eSmrg$as_echo X/"$0" | 7021a73027baSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 7022a73027baSmrg s//\1/ 7023a73027baSmrg q 7024a73027baSmrg } 7025a73027baSmrg /^X\/\(\/\/\)$/{ 7026a73027baSmrg s//\1/ 7027a73027baSmrg q 7028a73027baSmrg } 7029a73027baSmrg /^X\/\(\/\).*/{ 7030a73027baSmrg s//\1/ 7031a73027baSmrg q 7032a73027baSmrg } 7033a73027baSmrg s/.*/./; q'` 7034a73027baSmrg 7035bf4a254eSmrg# Avoid depending upon Character Ranges. 7036bf4a254eSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 7037bf4a254eSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7038bf4a254eSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 7039bf4a254eSmrgas_cr_digits='0123456789' 7040bf4a254eSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 7041a73027baSmrg 7042a73027baSmrgECHO_C= ECHO_N= ECHO_T= 7043bf4a254eSmrgcase `echo -n x` in #((((( 7044a73027baSmrg-n*) 7045bf4a254eSmrg case `echo 'xy\c'` in 7046a73027baSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7047bf4a254eSmrg xy) ECHO_C='\c';; 7048bf4a254eSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7049bf4a254eSmrg ECHO_T=' ';; 7050a73027baSmrg esac;; 7051a73027baSmrg*) 7052a73027baSmrg ECHO_N='-n';; 7053a73027baSmrgesac 7054a73027baSmrg 7055a73027baSmrgrm -f conf$$ conf$$.exe conf$$.file 7056a73027baSmrgif test -d conf$$.dir; then 7057a73027baSmrg rm -f conf$$.dir/conf$$.file 7058a73027baSmrgelse 7059a73027baSmrg rm -f conf$$.dir 7060bf4a254eSmrg mkdir conf$$.dir 2>/dev/null 7061bf4a254eSmrgfi 7062bf4a254eSmrgif (echo >conf$$.file) 2>/dev/null; then 7063bf4a254eSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 7064bf4a254eSmrg as_ln_s='ln -s' 7065bf4a254eSmrg # ... but there are two gotchas: 7066bf4a254eSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7067bf4a254eSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7068bf4a254eSmrg # In both cases, we have to default to `cp -p'. 7069bf4a254eSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7070bf4a254eSmrg as_ln_s='cp -p' 7071bf4a254eSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 7072bf4a254eSmrg as_ln_s=ln 7073bf4a254eSmrg else 7074a73027baSmrg as_ln_s='cp -p' 7075bf4a254eSmrg fi 7076a73027baSmrgelse 7077a73027baSmrg as_ln_s='cp -p' 7078a73027baSmrgfi 7079a73027baSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7080a73027baSmrgrmdir conf$$.dir 2>/dev/null 7081a73027baSmrg 7082bf4a254eSmrg 7083bf4a254eSmrg# as_fn_mkdir_p 7084bf4a254eSmrg# ------------- 7085bf4a254eSmrg# Create "$as_dir" as a directory, including parents if necessary. 7086bf4a254eSmrgas_fn_mkdir_p () 7087bf4a254eSmrg{ 7088bf4a254eSmrg 7089bf4a254eSmrg case $as_dir in #( 7090bf4a254eSmrg -*) as_dir=./$as_dir;; 7091bf4a254eSmrg esac 7092bf4a254eSmrg test -d "$as_dir" || eval $as_mkdir_p || { 7093bf4a254eSmrg as_dirs= 7094bf4a254eSmrg while :; do 7095bf4a254eSmrg case $as_dir in #( 7096bf4a254eSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7097bf4a254eSmrg *) as_qdir=$as_dir;; 7098bf4a254eSmrg esac 7099bf4a254eSmrg as_dirs="'$as_qdir' $as_dirs" 7100bf4a254eSmrg as_dir=`$as_dirname -- "$as_dir" || 7101bf4a254eSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7102bf4a254eSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 7103bf4a254eSmrg X"$as_dir" : 'X\(//\)$' \| \ 7104bf4a254eSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7105bf4a254eSmrg$as_echo X"$as_dir" | 7106bf4a254eSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7107bf4a254eSmrg s//\1/ 7108bf4a254eSmrg q 7109bf4a254eSmrg } 7110bf4a254eSmrg /^X\(\/\/\)[^/].*/{ 7111bf4a254eSmrg s//\1/ 7112bf4a254eSmrg q 7113bf4a254eSmrg } 7114bf4a254eSmrg /^X\(\/\/\)$/{ 7115bf4a254eSmrg s//\1/ 7116bf4a254eSmrg q 7117bf4a254eSmrg } 7118bf4a254eSmrg /^X\(\/\).*/{ 7119bf4a254eSmrg s//\1/ 7120bf4a254eSmrg q 7121bf4a254eSmrg } 7122bf4a254eSmrg s/.*/./; q'` 7123bf4a254eSmrg test -d "$as_dir" && break 7124bf4a254eSmrg done 7125bf4a254eSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 712629004570Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7127bf4a254eSmrg 7128bf4a254eSmrg 7129bf4a254eSmrg} # as_fn_mkdir_p 7130a73027baSmrgif mkdir -p . 2>/dev/null; then 7131bf4a254eSmrg as_mkdir_p='mkdir -p "$as_dir"' 7132a73027baSmrgelse 7133a73027baSmrg test -d ./-p && rmdir ./-p 7134a73027baSmrg as_mkdir_p=false 7135a73027baSmrgfi 7136a73027baSmrg 7137a73027baSmrgif test -x / >/dev/null 2>&1; then 7138a73027baSmrg as_test_x='test -x' 7139a73027baSmrgelse 7140a73027baSmrg if ls -dL / >/dev/null 2>&1; then 7141a73027baSmrg as_ls_L_option=L 7142a73027baSmrg else 7143a73027baSmrg as_ls_L_option= 7144a73027baSmrg fi 7145a73027baSmrg as_test_x=' 7146a73027baSmrg eval sh -c '\'' 7147a73027baSmrg if test -d "$1"; then 7148bf4a254eSmrg test -d "$1/."; 7149a73027baSmrg else 7150bf4a254eSmrg case $1 in #( 7151bf4a254eSmrg -*)set "./$1";; 7152a73027baSmrg esac; 7153bf4a254eSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7154a73027baSmrg ???[sx]*):;;*)false;;esac;fi 7155a73027baSmrg '\'' sh 7156a73027baSmrg ' 7157a73027baSmrgfi 7158a73027baSmrgas_executable_p=$as_test_x 7159a73027baSmrg 7160a73027baSmrg# Sed expression to map a string onto a valid CPP name. 7161a73027baSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7162a73027baSmrg 7163a73027baSmrg# Sed expression to map a string onto a valid variable name. 7164a73027baSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7165a73027baSmrg 7166a73027baSmrg 7167a73027baSmrgexec 6>&1 7168bf4a254eSmrg## ----------------------------------- ## 7169bf4a254eSmrg## Main body of $CONFIG_STATUS script. ## 7170bf4a254eSmrg## ----------------------------------- ## 7171bf4a254eSmrg_ASEOF 7172bf4a254eSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7173a73027baSmrg 7174bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7175bf4a254eSmrg# Save the log message, to keep $0 and so on meaningful, and to 7176a73027baSmrg# report actual input values of CONFIG_FILES etc. instead of their 7177a73027baSmrg# values after options handling. 7178a73027baSmrgac_log=" 717929004570SmrgThis file was extended by xinit $as_me 1.3.0, which was 718029004570Smrggenerated by GNU Autoconf 2.68. Invocation command line was 7181a73027baSmrg 7182a73027baSmrg CONFIG_FILES = $CONFIG_FILES 7183a73027baSmrg CONFIG_HEADERS = $CONFIG_HEADERS 7184a73027baSmrg CONFIG_LINKS = $CONFIG_LINKS 7185a73027baSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 7186a73027baSmrg $ $0 $@ 7187a73027baSmrg 7188a73027baSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 7189a73027baSmrg" 7190a73027baSmrg 7191a73027baSmrg_ACEOF 7192a73027baSmrg 7193bf4a254eSmrgcase $ac_config_files in *" 7194bf4a254eSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 7195bf4a254eSmrgesac 7196bf4a254eSmrg 7197bf4a254eSmrgcase $ac_config_headers in *" 7198bf4a254eSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7199bf4a254eSmrgesac 7200bf4a254eSmrg 7201bf4a254eSmrg 7202bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7203a73027baSmrg# Files that config.status was made for. 7204a73027baSmrgconfig_files="$ac_config_files" 7205a73027baSmrgconfig_headers="$ac_config_headers" 7206a73027baSmrgconfig_commands="$ac_config_commands" 7207a73027baSmrg 7208a73027baSmrg_ACEOF 7209a73027baSmrg 7210bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7211a73027baSmrgac_cs_usage="\ 7212bf4a254eSmrg\`$as_me' instantiates files and other configuration actions 7213bf4a254eSmrgfrom templates according to the current configuration. Unless the files 7214bf4a254eSmrgand actions are specified as TAGs, all are instantiated by default. 7215a73027baSmrg 7216bf4a254eSmrgUsage: $0 [OPTION]... [TAG]... 7217a73027baSmrg 7218a73027baSmrg -h, --help print this help, then exit 7219a73027baSmrg -V, --version print version number and configuration settings, then exit 7220bf4a254eSmrg --config print configuration, then exit 7221bf4a254eSmrg -q, --quiet, --silent 7222bf4a254eSmrg do not print progress messages 7223a73027baSmrg -d, --debug don't remove temporary files 7224a73027baSmrg --recheck update $as_me by reconfiguring in the same conditions 7225bf4a254eSmrg --file=FILE[:TEMPLATE] 7226bf4a254eSmrg instantiate the configuration file FILE 7227bf4a254eSmrg --header=FILE[:TEMPLATE] 7228bf4a254eSmrg instantiate the configuration header FILE 7229a73027baSmrg 7230a73027baSmrgConfiguration files: 7231a73027baSmrg$config_files 7232a73027baSmrg 7233a73027baSmrgConfiguration headers: 7234a73027baSmrg$config_headers 7235a73027baSmrg 7236a73027baSmrgConfiguration commands: 7237a73027baSmrg$config_commands 7238a73027baSmrg 7239bf4a254eSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 7240a73027baSmrg 7241a73027baSmrg_ACEOF 7242bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7243bf4a254eSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7244a73027baSmrgac_cs_version="\\ 724529004570Smrgxinit config.status 1.3.0 724629004570Smrgconfigured by $0, generated by GNU Autoconf 2.68, 7247bf4a254eSmrg with options \\"\$ac_cs_config\\" 7248a73027baSmrg 724929004570SmrgCopyright (C) 2010 Free Software Foundation, Inc. 7250a73027baSmrgThis config.status script is free software; the Free Software Foundation 7251a73027baSmrggives unlimited permission to copy, distribute and modify it." 7252a73027baSmrg 7253a73027baSmrgac_pwd='$ac_pwd' 7254a73027baSmrgsrcdir='$srcdir' 7255a73027baSmrgINSTALL='$INSTALL' 7256a73027baSmrgMKDIR_P='$MKDIR_P' 7257bf4a254eSmrgAWK='$AWK' 7258bf4a254eSmrgtest -n "\$AWK" || AWK=awk 7259a73027baSmrg_ACEOF 7260a73027baSmrg 7261bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7262bf4a254eSmrg# The default lists apply if the user does not specify any file. 7263a73027baSmrgac_need_defaults=: 7264a73027baSmrgwhile test $# != 0 7265a73027baSmrgdo 7266a73027baSmrg case $1 in 726729004570Smrg --*=?*) 7268a73027baSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 7269a73027baSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7270a73027baSmrg ac_shift=: 7271a73027baSmrg ;; 727229004570Smrg --*=) 727329004570Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 727429004570Smrg ac_optarg= 727529004570Smrg ac_shift=: 727629004570Smrg ;; 7277a73027baSmrg *) 7278a73027baSmrg ac_option=$1 7279a73027baSmrg ac_optarg=$2 7280a73027baSmrg ac_shift=shift 7281a73027baSmrg ;; 7282a73027baSmrg esac 7283a73027baSmrg 7284a73027baSmrg case $ac_option in 7285a73027baSmrg # Handling of the options. 7286a73027baSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7287a73027baSmrg ac_cs_recheck=: ;; 7288a73027baSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7289bf4a254eSmrg $as_echo "$ac_cs_version"; exit ;; 7290bf4a254eSmrg --config | --confi | --conf | --con | --co | --c ) 7291bf4a254eSmrg $as_echo "$ac_cs_config"; exit ;; 7292a73027baSmrg --debug | --debu | --deb | --de | --d | -d ) 7293a73027baSmrg debug=: ;; 7294a73027baSmrg --file | --fil | --fi | --f ) 7295a73027baSmrg $ac_shift 7296bf4a254eSmrg case $ac_optarg in 7297bf4a254eSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 729829004570Smrg '') as_fn_error $? "missing file argument" ;; 7299bf4a254eSmrg esac 7300bf4a254eSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 7301a73027baSmrg ac_need_defaults=false;; 7302a73027baSmrg --header | --heade | --head | --hea ) 7303a73027baSmrg $ac_shift 7304bf4a254eSmrg case $ac_optarg in 7305bf4a254eSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7306bf4a254eSmrg esac 7307bf4a254eSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7308a73027baSmrg ac_need_defaults=false;; 7309a73027baSmrg --he | --h) 7310a73027baSmrg # Conflict between --help and --header 731129004570Smrg as_fn_error $? "ambiguous option: \`$1' 7312bf4a254eSmrgTry \`$0 --help' for more information.";; 7313a73027baSmrg --help | --hel | -h ) 7314bf4a254eSmrg $as_echo "$ac_cs_usage"; exit ;; 7315a73027baSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7316a73027baSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 7317a73027baSmrg ac_cs_silent=: ;; 7318a73027baSmrg 7319a73027baSmrg # This is an error. 732029004570Smrg -*) as_fn_error $? "unrecognized option: \`$1' 7321bf4a254eSmrgTry \`$0 --help' for more information." ;; 7322a73027baSmrg 7323bf4a254eSmrg *) as_fn_append ac_config_targets " $1" 7324a73027baSmrg ac_need_defaults=false ;; 7325a73027baSmrg 7326a73027baSmrg esac 7327a73027baSmrg shift 7328a73027baSmrgdone 7329a73027baSmrg 7330a73027baSmrgac_configure_extra_args= 7331a73027baSmrg 7332a73027baSmrgif $ac_cs_silent; then 7333a73027baSmrg exec 6>/dev/null 7334a73027baSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 7335a73027baSmrgfi 7336a73027baSmrg 7337a73027baSmrg_ACEOF 7338bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7339a73027baSmrgif \$ac_cs_recheck; then 7340bf4a254eSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7341bf4a254eSmrg shift 7342bf4a254eSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7343bf4a254eSmrg CONFIG_SHELL='$SHELL' 7344a73027baSmrg export CONFIG_SHELL 7345bf4a254eSmrg exec "\$@" 7346a73027baSmrgfi 7347a73027baSmrg 7348a73027baSmrg_ACEOF 7349bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7350a73027baSmrgexec 5>>config.log 7351a73027baSmrg{ 7352a73027baSmrg echo 7353a73027baSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7354a73027baSmrg## Running $as_me. ## 7355a73027baSmrg_ASBOX 7356bf4a254eSmrg $as_echo "$ac_log" 7357a73027baSmrg} >&5 7358a73027baSmrg 7359a73027baSmrg_ACEOF 7360bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7361a73027baSmrg# 7362a73027baSmrg# INIT-COMMANDS 7363a73027baSmrg# 7364a73027baSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7365a73027baSmrg 7366a73027baSmrg_ACEOF 7367a73027baSmrg 7368bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7369a73027baSmrg 7370a73027baSmrg# Handling of arguments. 7371a73027baSmrgfor ac_config_target in $ac_config_targets 7372a73027baSmrgdo 7373a73027baSmrg case $ac_config_target in 7374a73027baSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7375bf4a254eSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7376a73027baSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7377a73027baSmrg "privileged_startx/Makefile") CONFIG_FILES="$CONFIG_FILES privileged_startx/Makefile" ;; 7378a73027baSmrg 737929004570Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7380a73027baSmrg esac 7381a73027baSmrgdone 7382a73027baSmrg 7383a73027baSmrg 7384a73027baSmrg# If the user did not use the arguments to specify the items to instantiate, 7385a73027baSmrg# then the envvar interface is used. Set only those that are not. 7386a73027baSmrg# We use the long form for the default assignment because of an extremely 7387a73027baSmrg# bizarre bug on SunOS 4.1.3. 7388a73027baSmrgif $ac_need_defaults; then 7389a73027baSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7390a73027baSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7391a73027baSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7392a73027baSmrgfi 7393a73027baSmrg 7394a73027baSmrg# Have a temporary directory for convenience. Make it in the build tree 7395a73027baSmrg# simply because there is no reason against having it here, and in addition, 7396a73027baSmrg# creating and moving files from /tmp can sometimes cause problems. 7397a73027baSmrg# Hook for its removal unless debugging. 7398a73027baSmrg# Note that there is a small window in which the directory will not be cleaned: 7399a73027baSmrg# after its creation but before its name has been assigned to `$tmp'. 7400a73027baSmrg$debug || 7401a73027baSmrg{ 740229004570Smrg tmp= ac_tmp= 7403a73027baSmrg trap 'exit_status=$? 740429004570Smrg : "${ac_tmp:=$tmp}" 740529004570Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7406a73027baSmrg' 0 7407bf4a254eSmrg trap 'as_fn_exit 1' 1 2 13 15 7408a73027baSmrg} 7409a73027baSmrg# Create a (secure) tmp directory for tmp files. 7410a73027baSmrg 7411a73027baSmrg{ 7412a73027baSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 741329004570Smrg test -d "$tmp" 7414a73027baSmrg} || 7415a73027baSmrg{ 7416a73027baSmrg tmp=./conf$$-$RANDOM 7417a73027baSmrg (umask 077 && mkdir "$tmp") 741829004570Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 741929004570Smrgac_tmp=$tmp 7420a73027baSmrg 7421bf4a254eSmrg# Set up the scripts for CONFIG_FILES section. 7422bf4a254eSmrg# No need to generate them if there are no CONFIG_FILES. 7423bf4a254eSmrg# This happens for instance with `./config.status config.h'. 7424a73027baSmrgif test -n "$CONFIG_FILES"; then 7425a73027baSmrg 7426a73027baSmrg 7427bf4a254eSmrgac_cr=`echo X | tr X '\015'` 7428bf4a254eSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 7429bf4a254eSmrg# But we know of no other shell where ac_cr would be empty at this 7430bf4a254eSmrg# point, so we can use a bashism as a fallback. 7431bf4a254eSmrgif test "x$ac_cr" = x; then 7432bf4a254eSmrg eval ac_cr=\$\'\\r\' 7433bf4a254eSmrgfi 7434bf4a254eSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7435bf4a254eSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 743629004570Smrg ac_cs_awk_cr='\\r' 7437bf4a254eSmrgelse 7438bf4a254eSmrg ac_cs_awk_cr=$ac_cr 7439a73027baSmrgfi 7440a73027baSmrg 744129004570Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 7442a73027baSmrg_ACEOF 7443a73027baSmrg 7444a73027baSmrg 7445bf4a254eSmrg{ 7446bf4a254eSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 7447bf4a254eSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7448bf4a254eSmrg echo "_ACEOF" 7449bf4a254eSmrg} >conf$$subs.sh || 745029004570Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 745129004570Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7452a73027baSmrgac_delim='%!_!# ' 7453a73027baSmrgfor ac_last_try in false false false false false :; do 7454bf4a254eSmrg . ./conf$$subs.sh || 745529004570Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7456a73027baSmrg 7457bf4a254eSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7458bf4a254eSmrg if test $ac_delim_n = $ac_delim_num; then 7459a73027baSmrg break 7460a73027baSmrg elif $ac_last_try; then 746129004570Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7462a73027baSmrg else 7463a73027baSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7464a73027baSmrg fi 7465a73027baSmrgdone 7466bf4a254eSmrgrm -f conf$$subs.sh 7467bf4a254eSmrg 7468bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 746929004570Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7470bf4a254eSmrg_ACEOF 7471bf4a254eSmrgsed -n ' 7472bf4a254eSmrgh 7473bf4a254eSmrgs/^/S["/; s/!.*/"]=/ 7474bf4a254eSmrgp 7475bf4a254eSmrgg 7476bf4a254eSmrgs/^[^!]*!// 7477bf4a254eSmrg:repl 7478bf4a254eSmrgt repl 7479bf4a254eSmrgs/'"$ac_delim"'$// 7480bf4a254eSmrgt delim 7481bf4a254eSmrg:nl 7482bf4a254eSmrgh 7483bf4a254eSmrgs/\(.\{148\}\)..*/\1/ 7484bf4a254eSmrgt more1 7485bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7486bf4a254eSmrgp 7487bf4a254eSmrgn 7488bf4a254eSmrgb repl 7489bf4a254eSmrg:more1 7490bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7491bf4a254eSmrgp 7492bf4a254eSmrgg 7493bf4a254eSmrgs/.\{148\}// 7494bf4a254eSmrgt nl 7495bf4a254eSmrg:delim 7496bf4a254eSmrgh 7497bf4a254eSmrgs/\(.\{148\}\)..*/\1/ 7498bf4a254eSmrgt more2 7499bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 7500bf4a254eSmrgp 7501bf4a254eSmrgb 7502bf4a254eSmrg:more2 7503bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7504bf4a254eSmrgp 7505bf4a254eSmrgg 7506bf4a254eSmrgs/.\{148\}// 7507bf4a254eSmrgt delim 7508bf4a254eSmrg' <conf$$subs.awk | sed ' 7509bf4a254eSmrg/^[^""]/{ 7510bf4a254eSmrg N 7511bf4a254eSmrg s/\n// 7512bf4a254eSmrg} 7513bf4a254eSmrg' >>$CONFIG_STATUS || ac_write_fail=1 7514bf4a254eSmrgrm -f conf$$subs.awk 7515bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7516bf4a254eSmrg_ACAWK 751729004570Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7518bf4a254eSmrg for (key in S) S_is_set[key] = 1 7519bf4a254eSmrg FS = "" 7520a73027baSmrg 7521bf4a254eSmrg} 7522bf4a254eSmrg{ 7523bf4a254eSmrg line = $ 0 7524bf4a254eSmrg nfields = split(line, field, "@") 7525bf4a254eSmrg substed = 0 7526bf4a254eSmrg len = length(field[1]) 7527bf4a254eSmrg for (i = 2; i < nfields; i++) { 7528bf4a254eSmrg key = field[i] 7529bf4a254eSmrg keylen = length(key) 7530bf4a254eSmrg if (S_is_set[key]) { 7531bf4a254eSmrg value = S[key] 7532bf4a254eSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7533bf4a254eSmrg len += length(value) + length(field[++i]) 7534bf4a254eSmrg substed = 1 7535bf4a254eSmrg } else 7536bf4a254eSmrg len += 1 + keylen 7537bf4a254eSmrg } 7538bf4a254eSmrg 7539bf4a254eSmrg print line 7540bf4a254eSmrg} 7541a73027baSmrg 7542bf4a254eSmrg_ACAWK 7543a73027baSmrg_ACEOF 7544bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7545bf4a254eSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7546bf4a254eSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7547bf4a254eSmrgelse 7548bf4a254eSmrg cat 754929004570Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 755029004570Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7551a73027baSmrg_ACEOF 7552a73027baSmrg 755329004570Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 755429004570Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7555a73027baSmrg# trailing colons and then remove the whole line if VPATH becomes empty 7556a73027baSmrg# (actually we leave an empty line to preserve line numbers). 7557a73027baSmrgif test "x$srcdir" = x.; then 755829004570Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 755929004570Smrgh 756029004570Smrgs/// 756129004570Smrgs/^/:/ 756229004570Smrgs/[ ]*$/:/ 756329004570Smrgs/:\$(srcdir):/:/g 756429004570Smrgs/:\${srcdir}:/:/g 756529004570Smrgs/:@srcdir@:/:/g 756629004570Smrgs/^:*// 7567a73027baSmrgs/:*$// 756829004570Smrgx 756929004570Smrgs/\(=[ ]*\).*/\1/ 757029004570SmrgG 757129004570Smrgs/\n// 7572a73027baSmrgs/^[^=]*=[ ]*$// 7573a73027baSmrg}' 7574a73027baSmrgfi 7575a73027baSmrg 7576bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7577a73027baSmrgfi # test -n "$CONFIG_FILES" 7578a73027baSmrg 7579bf4a254eSmrg# Set up the scripts for CONFIG_HEADERS section. 7580bf4a254eSmrg# No need to generate them if there are no CONFIG_HEADERS. 7581bf4a254eSmrg# This happens for instance with `./config.status Makefile'. 7582bf4a254eSmrgif test -n "$CONFIG_HEADERS"; then 758329004570Smrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 7584bf4a254eSmrgBEGIN { 7585bf4a254eSmrg_ACEOF 7586bf4a254eSmrg 7587bf4a254eSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as 7588bf4a254eSmrg# here-document in config.status, that substitutes the proper values into 7589bf4a254eSmrg# config.h.in to produce config.h. 7590bf4a254eSmrg 7591bf4a254eSmrg# Create a delimiter string that does not exist in confdefs.h, to ease 7592bf4a254eSmrg# handling of long lines. 7593bf4a254eSmrgac_delim='%!_!# ' 7594bf4a254eSmrgfor ac_last_try in false false :; do 759529004570Smrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 759629004570Smrg if test -z "$ac_tt"; then 7597bf4a254eSmrg break 7598bf4a254eSmrg elif $ac_last_try; then 759929004570Smrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7600bf4a254eSmrg else 7601bf4a254eSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7602bf4a254eSmrg fi 7603bf4a254eSmrgdone 7604bf4a254eSmrg 7605bf4a254eSmrg# For the awk script, D is an array of macro values keyed by name, 7606bf4a254eSmrg# likewise P contains macro parameters if any. Preserve backslash 7607bf4a254eSmrg# newline sequences. 7608bf4a254eSmrg 7609bf4a254eSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7610bf4a254eSmrgsed -n ' 7611bf4a254eSmrgs/.\{148\}/&'"$ac_delim"'/g 7612bf4a254eSmrgt rset 7613bf4a254eSmrg:rset 7614bf4a254eSmrgs/^[ ]*#[ ]*define[ ][ ]*/ / 7615bf4a254eSmrgt def 7616bf4a254eSmrgd 7617bf4a254eSmrg:def 7618bf4a254eSmrgs/\\$// 7619bf4a254eSmrgt bsnl 7620bf4a254eSmrgs/["\\]/\\&/g 7621bf4a254eSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7622bf4a254eSmrgD["\1"]=" \3"/p 7623bf4a254eSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7624bf4a254eSmrgd 7625bf4a254eSmrg:bsnl 7626bf4a254eSmrgs/["\\]/\\&/g 7627bf4a254eSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7628bf4a254eSmrgD["\1"]=" \3\\\\\\n"\\/p 7629bf4a254eSmrgt cont 7630bf4a254eSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7631bf4a254eSmrgt cont 7632bf4a254eSmrgd 7633bf4a254eSmrg:cont 7634bf4a254eSmrgn 7635bf4a254eSmrgs/.\{148\}/&'"$ac_delim"'/g 7636bf4a254eSmrgt clear 7637bf4a254eSmrg:clear 7638bf4a254eSmrgs/\\$// 7639bf4a254eSmrgt bsnlc 7640bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 7641bf4a254eSmrgd 7642bf4a254eSmrg:bsnlc 7643bf4a254eSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7644bf4a254eSmrgb cont 7645bf4a254eSmrg' <confdefs.h | sed ' 7646bf4a254eSmrgs/'"$ac_delim"'/"\\\ 7647bf4a254eSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 7648bf4a254eSmrg 7649bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7650bf4a254eSmrg for (key in D) D_is_set[key] = 1 7651bf4a254eSmrg FS = "" 7652bf4a254eSmrg} 7653bf4a254eSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7654bf4a254eSmrg line = \$ 0 7655bf4a254eSmrg split(line, arg, " ") 7656bf4a254eSmrg if (arg[1] == "#") { 7657bf4a254eSmrg defundef = arg[2] 7658bf4a254eSmrg mac1 = arg[3] 7659bf4a254eSmrg } else { 7660bf4a254eSmrg defundef = substr(arg[1], 2) 7661bf4a254eSmrg mac1 = arg[2] 7662bf4a254eSmrg } 7663bf4a254eSmrg split(mac1, mac2, "(") #) 7664bf4a254eSmrg macro = mac2[1] 7665bf4a254eSmrg prefix = substr(line, 1, index(line, defundef) - 1) 7666bf4a254eSmrg if (D_is_set[macro]) { 7667bf4a254eSmrg # Preserve the white space surrounding the "#". 7668bf4a254eSmrg print prefix "define", macro P[macro] D[macro] 7669bf4a254eSmrg next 7670bf4a254eSmrg } else { 7671bf4a254eSmrg # Replace #undef with comments. This is necessary, for example, 7672bf4a254eSmrg # in the case of _POSIX_SOURCE, which is predefined and required 7673bf4a254eSmrg # on some systems where configure will not decide to define it. 7674bf4a254eSmrg if (defundef == "undef") { 7675bf4a254eSmrg print "/*", prefix defundef, macro, "*/" 7676bf4a254eSmrg next 7677bf4a254eSmrg } 7678bf4a254eSmrg } 7679bf4a254eSmrg} 7680bf4a254eSmrg{ print } 7681bf4a254eSmrg_ACAWK 7682bf4a254eSmrg_ACEOF 7683bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 768429004570Smrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7685bf4a254eSmrgfi # test -n "$CONFIG_HEADERS" 7686bf4a254eSmrg 7687a73027baSmrg 7688bf4a254eSmrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 7689bf4a254eSmrgshift 7690bf4a254eSmrgfor ac_tag 7691a73027baSmrgdo 7692a73027baSmrg case $ac_tag in 7693a73027baSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 7694a73027baSmrg esac 7695a73027baSmrg case $ac_mode$ac_tag in 7696a73027baSmrg :[FHL]*:*);; 769729004570Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7698a73027baSmrg :[FH]-) ac_tag=-:-;; 7699a73027baSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7700a73027baSmrg esac 7701a73027baSmrg ac_save_IFS=$IFS 7702a73027baSmrg IFS=: 7703a73027baSmrg set x $ac_tag 7704a73027baSmrg IFS=$ac_save_IFS 7705a73027baSmrg shift 7706a73027baSmrg ac_file=$1 7707a73027baSmrg shift 7708a73027baSmrg 7709a73027baSmrg case $ac_mode in 7710a73027baSmrg :L) ac_source=$1;; 7711a73027baSmrg :[FH]) 7712a73027baSmrg ac_file_inputs= 7713a73027baSmrg for ac_f 7714a73027baSmrg do 7715a73027baSmrg case $ac_f in 771629004570Smrg -) ac_f="$ac_tmp/stdin";; 7717a73027baSmrg *) # Look for the file first in the build tree, then in the source tree 7718a73027baSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 7719a73027baSmrg # because $ac_f cannot contain `:'. 7720a73027baSmrg test -f "$ac_f" || 7721a73027baSmrg case $ac_f in 7722a73027baSmrg [\\/$]*) false;; 7723a73027baSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7724a73027baSmrg esac || 772529004570Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7726a73027baSmrg esac 7727bf4a254eSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7728bf4a254eSmrg as_fn_append ac_file_inputs " '$ac_f'" 7729a73027baSmrg done 7730a73027baSmrg 7731a73027baSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 7732a73027baSmrg # use $as_me), people would be surprised to read: 7733a73027baSmrg # /* config.h. Generated by config.status. */ 7734bf4a254eSmrg configure_input='Generated from '` 7735bf4a254eSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7736bf4a254eSmrg `' by configure.' 7737a73027baSmrg if test x"$ac_file" != x-; then 7738a73027baSmrg configure_input="$ac_file. $configure_input" 7739bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7740bf4a254eSmrg$as_echo "$as_me: creating $ac_file" >&6;} 7741a73027baSmrg fi 7742bf4a254eSmrg # Neutralize special characters interpreted by sed in replacement strings. 7743bf4a254eSmrg case $configure_input in #( 7744bf4a254eSmrg *\&* | *\|* | *\\* ) 7745bf4a254eSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 7746bf4a254eSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 7747bf4a254eSmrg *) ac_sed_conf_input=$configure_input;; 7748bf4a254eSmrg esac 7749a73027baSmrg 7750a73027baSmrg case $ac_tag in 775129004570Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 775229004570Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7753a73027baSmrg esac 7754a73027baSmrg ;; 7755a73027baSmrg esac 7756a73027baSmrg 7757a73027baSmrg ac_dir=`$as_dirname -- "$ac_file" || 7758a73027baSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7759a73027baSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 7760a73027baSmrg X"$ac_file" : 'X\(//\)$' \| \ 7761a73027baSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7762bf4a254eSmrg$as_echo X"$ac_file" | 7763a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7764a73027baSmrg s//\1/ 7765a73027baSmrg q 7766a73027baSmrg } 7767a73027baSmrg /^X\(\/\/\)[^/].*/{ 7768a73027baSmrg s//\1/ 7769a73027baSmrg q 7770a73027baSmrg } 7771a73027baSmrg /^X\(\/\/\)$/{ 7772a73027baSmrg s//\1/ 7773a73027baSmrg q 7774a73027baSmrg } 7775a73027baSmrg /^X\(\/\).*/{ 7776a73027baSmrg s//\1/ 7777a73027baSmrg q 7778a73027baSmrg } 7779a73027baSmrg s/.*/./; q'` 7780bf4a254eSmrg as_dir="$ac_dir"; as_fn_mkdir_p 7781a73027baSmrg ac_builddir=. 7782a73027baSmrg 7783a73027baSmrgcase "$ac_dir" in 7784a73027baSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7785a73027baSmrg*) 7786bf4a254eSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7787a73027baSmrg # A ".." for each directory in $ac_dir_suffix. 7788bf4a254eSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7789a73027baSmrg case $ac_top_builddir_sub in 7790a73027baSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7791a73027baSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7792a73027baSmrg esac ;; 7793a73027baSmrgesac 7794a73027baSmrgac_abs_top_builddir=$ac_pwd 7795a73027baSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 7796a73027baSmrg# for backward compatibility: 7797a73027baSmrgac_top_builddir=$ac_top_build_prefix 7798a73027baSmrg 7799a73027baSmrgcase $srcdir in 7800a73027baSmrg .) # We are building in place. 7801a73027baSmrg ac_srcdir=. 7802a73027baSmrg ac_top_srcdir=$ac_top_builddir_sub 7803a73027baSmrg ac_abs_top_srcdir=$ac_pwd ;; 7804a73027baSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 7805a73027baSmrg ac_srcdir=$srcdir$ac_dir_suffix; 7806a73027baSmrg ac_top_srcdir=$srcdir 7807a73027baSmrg ac_abs_top_srcdir=$srcdir ;; 7808a73027baSmrg *) # Relative name. 7809a73027baSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7810a73027baSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 7811a73027baSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7812a73027baSmrgesac 7813a73027baSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7814a73027baSmrg 7815a73027baSmrg 7816a73027baSmrg case $ac_mode in 7817a73027baSmrg :F) 7818a73027baSmrg # 7819a73027baSmrg # CONFIG_FILE 7820a73027baSmrg # 7821a73027baSmrg 7822a73027baSmrg case $INSTALL in 7823a73027baSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7824a73027baSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7825a73027baSmrg esac 7826a73027baSmrg ac_MKDIR_P=$MKDIR_P 7827a73027baSmrg case $MKDIR_P in 7828a73027baSmrg [\\/$]* | ?:[\\/]* ) ;; 7829a73027baSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 7830a73027baSmrg esac 7831a73027baSmrg_ACEOF 7832a73027baSmrg 7833bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7834a73027baSmrg# If the template does not know about datarootdir, expand it. 7835a73027baSmrg# FIXME: This hack should be removed a few years after 2.60. 7836a73027baSmrgac_datarootdir_hack=; ac_datarootdir_seen= 7837bf4a254eSmrgac_sed_dataroot=' 7838bf4a254eSmrg/datarootdir/ { 7839a73027baSmrg p 7840a73027baSmrg q 7841a73027baSmrg} 7842a73027baSmrg/@datadir@/p 7843a73027baSmrg/@docdir@/p 7844a73027baSmrg/@infodir@/p 7845a73027baSmrg/@localedir@/p 7846bf4a254eSmrg/@mandir@/p' 7847bf4a254eSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7848a73027baSmrg*datarootdir*) ac_datarootdir_seen=yes;; 7849a73027baSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7850bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7851bf4a254eSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7852a73027baSmrg_ACEOF 7853bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7854a73027baSmrg ac_datarootdir_hack=' 7855a73027baSmrg s&@datadir@&$datadir&g 7856a73027baSmrg s&@docdir@&$docdir&g 7857a73027baSmrg s&@infodir@&$infodir&g 7858a73027baSmrg s&@localedir@&$localedir&g 7859a73027baSmrg s&@mandir@&$mandir&g 7860bf4a254eSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 7861a73027baSmrgesac 7862a73027baSmrg_ACEOF 7863a73027baSmrg 7864a73027baSmrg# Neutralize VPATH when `$srcdir' = `.'. 7865a73027baSmrg# Shell code in configure.ac might set extrasub. 7866a73027baSmrg# FIXME: do we really want to maintain this feature? 7867bf4a254eSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7868bf4a254eSmrgac_sed_extra="$ac_vpsub 7869a73027baSmrg$extrasub 7870a73027baSmrg_ACEOF 7871bf4a254eSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7872a73027baSmrg:t 7873a73027baSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7874bf4a254eSmrgs|@configure_input@|$ac_sed_conf_input|;t t 7875a73027baSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 7876bf4a254eSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 7877a73027baSmrgs&@srcdir@&$ac_srcdir&;t t 7878a73027baSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 7879a73027baSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 7880a73027baSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7881a73027baSmrgs&@builddir@&$ac_builddir&;t t 7882a73027baSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 7883a73027baSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7884a73027baSmrgs&@INSTALL@&$ac_INSTALL&;t t 7885a73027baSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 7886a73027baSmrg$ac_datarootdir_hack 7887bf4a254eSmrg" 788829004570Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 788929004570Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7890a73027baSmrg 7891a73027baSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 789229004570Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 789329004570Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 789429004570Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 7895bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 789629004570Smrgwhich seems to be undefined. Please make sure it is defined" >&5 7897bf4a254eSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 789829004570Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 7899a73027baSmrg 790029004570Smrg rm -f "$ac_tmp/stdin" 7901a73027baSmrg case $ac_file in 790229004570Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 790329004570Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 7904bf4a254eSmrg esac \ 790529004570Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7906a73027baSmrg ;; 7907a73027baSmrg :H) 7908a73027baSmrg # 7909a73027baSmrg # CONFIG_HEADER 7910a73027baSmrg # 7911a73027baSmrg if test x"$ac_file" != x-; then 7912bf4a254eSmrg { 7913bf4a254eSmrg $as_echo "/* $configure_input */" \ 791429004570Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 791529004570Smrg } >"$ac_tmp/config.h" \ 791629004570Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 791729004570Smrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 7918bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7919bf4a254eSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 7920a73027baSmrg else 7921bf4a254eSmrg rm -f "$ac_file" 792229004570Smrg mv "$ac_tmp/config.h" "$ac_file" \ 792329004570Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7924a73027baSmrg fi 7925a73027baSmrg else 7926bf4a254eSmrg $as_echo "/* $configure_input */" \ 792729004570Smrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 792829004570Smrg || as_fn_error $? "could not create -" "$LINENO" 5 7929a73027baSmrg fi 7930bf4a254eSmrg# Compute "$ac_file"'s index in $config_headers. 7931bf4a254eSmrg_am_arg="$ac_file" 7932a73027baSmrg_am_stamp_count=1 7933a73027baSmrgfor _am_header in $config_headers :; do 7934a73027baSmrg case $_am_header in 7935bf4a254eSmrg $_am_arg | $_am_arg:* ) 7936a73027baSmrg break ;; 7937a73027baSmrg * ) 7938a73027baSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7939a73027baSmrg esac 7940a73027baSmrgdone 7941bf4a254eSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 7942bf4a254eSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7943bf4a254eSmrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 7944bf4a254eSmrg X"$_am_arg" : 'X\(//\)$' \| \ 7945bf4a254eSmrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 7946bf4a254eSmrg$as_echo X"$_am_arg" | 7947a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7948a73027baSmrg s//\1/ 7949a73027baSmrg q 7950a73027baSmrg } 7951a73027baSmrg /^X\(\/\/\)[^/].*/{ 7952a73027baSmrg s//\1/ 7953a73027baSmrg q 7954a73027baSmrg } 7955a73027baSmrg /^X\(\/\/\)$/{ 7956a73027baSmrg s//\1/ 7957a73027baSmrg q 7958a73027baSmrg } 7959a73027baSmrg /^X\(\/\).*/{ 7960a73027baSmrg s//\1/ 7961a73027baSmrg q 7962a73027baSmrg } 7963a73027baSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 7964a73027baSmrg ;; 7965a73027baSmrg 7966bf4a254eSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 7967bf4a254eSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 7968a73027baSmrg ;; 7969a73027baSmrg esac 7970a73027baSmrg 7971a73027baSmrg 7972a73027baSmrg case $ac_file$ac_mode in 7973bf4a254eSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 7974bf4a254eSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 7975bf4a254eSmrg # are listed without --file. Let's play safe and only enable the eval 7976bf4a254eSmrg # if we detect the quoting. 7977bf4a254eSmrg case $CONFIG_FILES in 7978bf4a254eSmrg *\'*) eval set x "$CONFIG_FILES" ;; 7979bf4a254eSmrg *) set x $CONFIG_FILES ;; 7980bf4a254eSmrg esac 7981bf4a254eSmrg shift 7982bf4a254eSmrg for mf 7983bf4a254eSmrg do 7984bf4a254eSmrg # Strip MF so we end up with the name of the file. 7985bf4a254eSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 7986bf4a254eSmrg # Check whether this is an Automake generated Makefile or not. 7987bf4a254eSmrg # We used to match only the files named `Makefile.in', but 7988bf4a254eSmrg # some people rename them; so instead we look at the file content. 7989bf4a254eSmrg # Grep'ing the first line is not enough: some people post-process 7990bf4a254eSmrg # each Makefile.in and add a new line on top of each file to say so. 7991bf4a254eSmrg # Grep'ing the whole file is not good either: AIX grep has a line 7992bf4a254eSmrg # limit of 2048, but all sed's we know have understand at least 4000. 7993bf4a254eSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 7994bf4a254eSmrg dirpart=`$as_dirname -- "$mf" || 7995a73027baSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7996a73027baSmrg X"$mf" : 'X\(//\)[^/]' \| \ 7997a73027baSmrg X"$mf" : 'X\(//\)$' \| \ 7998a73027baSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 7999bf4a254eSmrg$as_echo X"$mf" | 8000a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8001a73027baSmrg s//\1/ 8002a73027baSmrg q 8003a73027baSmrg } 8004a73027baSmrg /^X\(\/\/\)[^/].*/{ 8005a73027baSmrg s//\1/ 8006a73027baSmrg q 8007a73027baSmrg } 8008a73027baSmrg /^X\(\/\/\)$/{ 8009a73027baSmrg s//\1/ 8010a73027baSmrg q 8011a73027baSmrg } 8012a73027baSmrg /^X\(\/\).*/{ 8013a73027baSmrg s//\1/ 8014a73027baSmrg q 8015a73027baSmrg } 8016a73027baSmrg s/.*/./; q'` 8017bf4a254eSmrg else 8018bf4a254eSmrg continue 8019bf4a254eSmrg fi 8020bf4a254eSmrg # Extract the definition of DEPDIR, am__include, and am__quote 8021bf4a254eSmrg # from the Makefile without running `make'. 8022bf4a254eSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 8023bf4a254eSmrg test -z "$DEPDIR" && continue 8024bf4a254eSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 8025bf4a254eSmrg test -z "am__include" && continue 8026bf4a254eSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 8027bf4a254eSmrg # When using ansi2knr, U may be empty or an underscore; expand it 8028bf4a254eSmrg U=`sed -n 's/^U = //p' < "$mf"` 8029bf4a254eSmrg # Find all dependency output files, they are included files with 8030bf4a254eSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 8031bf4a254eSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 8032bf4a254eSmrg # expansion. 8033bf4a254eSmrg for file in `sed -n " 8034bf4a254eSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 8035bf4a254eSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 8036bf4a254eSmrg # Make sure the directory exists. 8037bf4a254eSmrg test -f "$dirpart/$file" && continue 8038bf4a254eSmrg fdir=`$as_dirname -- "$file" || 8039a73027baSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8040a73027baSmrg X"$file" : 'X\(//\)[^/]' \| \ 8041a73027baSmrg X"$file" : 'X\(//\)$' \| \ 8042a73027baSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 8043bf4a254eSmrg$as_echo X"$file" | 8044a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8045a73027baSmrg s//\1/ 8046a73027baSmrg q 8047a73027baSmrg } 8048a73027baSmrg /^X\(\/\/\)[^/].*/{ 8049a73027baSmrg s//\1/ 8050a73027baSmrg q 8051a73027baSmrg } 8052a73027baSmrg /^X\(\/\/\)$/{ 8053a73027baSmrg s//\1/ 8054a73027baSmrg q 8055a73027baSmrg } 8056a73027baSmrg /^X\(\/\).*/{ 8057a73027baSmrg s//\1/ 8058a73027baSmrg q 8059a73027baSmrg } 8060a73027baSmrg s/.*/./; q'` 8061bf4a254eSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 8062bf4a254eSmrg # echo "creating $dirpart/$file" 8063bf4a254eSmrg echo '# dummy' > "$dirpart/$file" 8064a73027baSmrg done 8065a73027baSmrg done 8066bf4a254eSmrg} 8067a73027baSmrg ;; 8068a73027baSmrg 8069a73027baSmrg esac 8070a73027baSmrgdone # for ac_tag 8071a73027baSmrg 8072a73027baSmrg 8073bf4a254eSmrgas_fn_exit 0 8074a73027baSmrg_ACEOF 8075a73027baSmrgac_clean_files=$ac_clean_files_save 8076a73027baSmrg 8077bf4a254eSmrgtest $ac_write_fail = 0 || 807829004570Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 8079bf4a254eSmrg 8080a73027baSmrg 8081a73027baSmrg# configure is writing to config.log, and then calls config.status. 8082a73027baSmrg# config.status does its own redirection, appending to config.log. 8083a73027baSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 8084a73027baSmrg# by configure, so config.status won't be able to write to it; its 8085a73027baSmrg# output is simply discarded. So we exec the FD to /dev/null, 8086a73027baSmrg# effectively closing config.log, so it can be properly (re)opened and 8087a73027baSmrg# appended to by config.status. When coming back to configure, we 8088a73027baSmrg# need to make the FD available again. 8089a73027baSmrgif test "$no_create" != yes; then 8090a73027baSmrg ac_cs_success=: 8091a73027baSmrg ac_config_status_args= 8092a73027baSmrg test "$silent" = yes && 8093a73027baSmrg ac_config_status_args="$ac_config_status_args --quiet" 8094a73027baSmrg exec 5>/dev/null 8095a73027baSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8096a73027baSmrg exec 5>>config.log 8097a73027baSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8098a73027baSmrg # would make configure fail if this is the last instruction. 809929004570Smrg $ac_cs_success || as_fn_exit 1 8100bf4a254eSmrgfi 8101bf4a254eSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8102bf4a254eSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8103bf4a254eSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8104a73027baSmrgfi 8105a73027baSmrg 8106