configure revision af928962
173143b9aSmrg#! /bin/sh 273143b9aSmrg# Guess values for system-dependent variables and create Makefiles. 3af928962Smrg# Generated by GNU Autoconf 2.68 for xtrans 1.2.6. 473143b9aSmrg# 573143b9aSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 673143b9aSmrg# 7af928962Smrg# 873143b9aSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9af928962Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10af928962Smrg# Foundation, Inc. 11af928962Smrg# 12af928962Smrg# 1373143b9aSmrg# This configure script is free software; the Free Software Foundation 1473143b9aSmrg# gives unlimited permission to copy, distribute and modify it. 15af928962Smrg## -------------------- ## 16af928962Smrg## M4sh Initialization. ## 17af928962Smrg## -------------------- ## 1873143b9aSmrg 1973143b9aSmrg# Be more Bourne compatible 2073143b9aSmrgDUALCASE=1; export DUALCASE # for MKS sh 21af928962Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 2273143b9aSmrg emulate sh 2373143b9aSmrg NULLCMD=: 24b53e5eeaSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2573143b9aSmrg # is contrary to our usage. Disable this feature. 2673143b9aSmrg alias -g '${1+"$@"}'='"$@"' 2773143b9aSmrg setopt NO_GLOB_SUBST 2873143b9aSmrgelse 29af928962Smrg case `(set -o) 2>/dev/null` in #( 30af928962Smrg *posix*) : 31af928962Smrg set -o posix ;; #( 32af928962Smrg *) : 33af928962Smrg ;; 3473143b9aSmrgesac 3573143b9aSmrgfi 3673143b9aSmrg 3773143b9aSmrg 38b53e5eeaSmrgas_nl=' 39b53e5eeaSmrg' 40b53e5eeaSmrgexport as_nl 41b53e5eeaSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 42b53e5eeaSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43b53e5eeaSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44b53e5eeaSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45af928962Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 46af928962Smrg# but without wasting forks for bash or zsh. 47af928962Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 48af928962Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49af928962Smrg as_echo='print -r --' 50af928962Smrg as_echo_n='print -rn --' 51af928962Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52b53e5eeaSmrg as_echo='printf %s\n' 53b53e5eeaSmrg as_echo_n='printf %s' 54b53e5eeaSmrgelse 55b53e5eeaSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56b53e5eeaSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57b53e5eeaSmrg as_echo_n='/usr/ucb/echo -n' 5873143b9aSmrg else 59b53e5eeaSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60b53e5eeaSmrg as_echo_n_body='eval 61b53e5eeaSmrg arg=$1; 62af928962Smrg case $arg in #( 63b53e5eeaSmrg *"$as_nl"*) 64b53e5eeaSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 65b53e5eeaSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66b53e5eeaSmrg esac; 67b53e5eeaSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68b53e5eeaSmrg ' 69b53e5eeaSmrg export as_echo_n_body 70b53e5eeaSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 7173143b9aSmrg fi 72b53e5eeaSmrg export as_echo_body 73b53e5eeaSmrg as_echo='sh -c $as_echo_body as_echo' 74b53e5eeaSmrgfi 75b53e5eeaSmrg 76b53e5eeaSmrg# The user is always right. 77b53e5eeaSmrgif test "${PATH_SEPARATOR+set}" != set; then 78b53e5eeaSmrg PATH_SEPARATOR=: 79b53e5eeaSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80b53e5eeaSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81b53e5eeaSmrg PATH_SEPARATOR=';' 82b53e5eeaSmrg } 8373143b9aSmrgfi 8473143b9aSmrg 8573143b9aSmrg 8673143b9aSmrg# IFS 8773143b9aSmrg# We need space, tab and new line, in precisely that order. Quoting is 8873143b9aSmrg# there to prevent editors from complaining about space-tab. 8973143b9aSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9073143b9aSmrg# splitting by setting IFS to empty value.) 9173143b9aSmrgIFS=" "" $as_nl" 9273143b9aSmrg 9373143b9aSmrg# Find who we are. Look in the path if we contain no directory separator. 94af928962Smrgas_myself= 95af928962Smrgcase $0 in #(( 9673143b9aSmrg *[\\/]* ) as_myself=$0 ;; 9773143b9aSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9873143b9aSmrgfor as_dir in $PATH 9973143b9aSmrgdo 10073143b9aSmrg IFS=$as_save_IFS 10173143b9aSmrg test -z "$as_dir" && as_dir=. 102af928962Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103af928962Smrg done 10473143b9aSmrgIFS=$as_save_IFS 10573143b9aSmrg 10673143b9aSmrg ;; 10773143b9aSmrgesac 10873143b9aSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 10973143b9aSmrg# in which case we are not to be found in the path. 11073143b9aSmrgif test "x$as_myself" = x; then 11173143b9aSmrg as_myself=$0 11273143b9aSmrgfi 11373143b9aSmrgif test ! -f "$as_myself"; then 114b53e5eeaSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115af928962Smrg exit 1 11673143b9aSmrgfi 11773143b9aSmrg 118af928962Smrg# Unset variables that we do not need and which cause bugs (e.g. in 119af928962Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120af928962Smrg# suppresses any "Segmentation fault" message there. '((' could 121af928962Smrg# trigger a bug in pdksh 5.2.14. 122af928962Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 123af928962Smrgdo eval test x\${$as_var+set} = xset \ 124af928962Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12573143b9aSmrgdone 12673143b9aSmrgPS1='$ ' 12773143b9aSmrgPS2='> ' 12873143b9aSmrgPS4='+ ' 12973143b9aSmrg 13073143b9aSmrg# NLS nuisances. 131b53e5eeaSmrgLC_ALL=C 132b53e5eeaSmrgexport LC_ALL 133b53e5eeaSmrgLANGUAGE=C 134b53e5eeaSmrgexport LANGUAGE 13573143b9aSmrg 136af928962Smrg# CDPATH. 137af928962Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138af928962Smrg 139af928962Smrgif test "x$CONFIG_SHELL" = x; then 140af928962Smrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141af928962Smrg emulate sh 142af928962Smrg NULLCMD=: 143af928962Smrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144af928962Smrg # is contrary to our usage. Disable this feature. 145af928962Smrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 146af928962Smrg setopt NO_GLOB_SUBST 147af928962Smrgelse 148af928962Smrg case \`(set -o) 2>/dev/null\` in #( 149af928962Smrg *posix*) : 150af928962Smrg set -o posix ;; #( 151af928962Smrg *) : 152af928962Smrg ;; 153af928962Smrgesac 154af928962Smrgfi 155af928962Smrg" 156af928962Smrg as_required="as_fn_return () { (exit \$1); } 157af928962Smrgas_fn_success () { as_fn_return 0; } 158af928962Smrgas_fn_failure () { as_fn_return 1; } 159af928962Smrgas_fn_ret_success () { return 0; } 160af928962Smrgas_fn_ret_failure () { return 1; } 161af928962Smrg 162af928962Smrgexitcode=0 163af928962Smrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 164af928962Smrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165af928962Smrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166af928962Smrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167af928962Smrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168af928962Smrg 169af928962Smrgelse 170af928962Smrg exitcode=1; echo positional parameters were not saved. 171af928962Smrgfi 172af928962Smrgtest x\$exitcode = x0 || exit 1" 173af928962Smrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174af928962Smrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175af928962Smrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176af928962Smrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177af928962Smrgtest \$(( 1 + 1 )) = 2 || exit 1" 178af928962Smrg if (eval "$as_required") 2>/dev/null; then : 179af928962Smrg as_have_required=yes 180af928962Smrgelse 181af928962Smrg as_have_required=no 182af928962Smrgfi 183af928962Smrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184af928962Smrg 185af928962Smrgelse 186af928962Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187af928962Smrgas_found=false 188af928962Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189af928962Smrgdo 190af928962Smrg IFS=$as_save_IFS 191af928962Smrg test -z "$as_dir" && as_dir=. 192af928962Smrg as_found=: 193af928962Smrg case $as_dir in #( 194af928962Smrg /*) 195af928962Smrg for as_base in sh bash ksh sh5; do 196af928962Smrg # Try only shells that exist, to save several forks. 197af928962Smrg as_shell=$as_dir/$as_base 198af928962Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199af928962Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200af928962Smrg CONFIG_SHELL=$as_shell as_have_required=yes 201af928962Smrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202af928962Smrg break 2 203af928962Smrgfi 204af928962Smrgfi 205af928962Smrg done;; 206af928962Smrg esac 207af928962Smrg as_found=false 208af928962Smrgdone 209af928962Smrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210af928962Smrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211af928962Smrg CONFIG_SHELL=$SHELL as_have_required=yes 212af928962Smrgfi; } 213af928962SmrgIFS=$as_save_IFS 214af928962Smrg 215af928962Smrg 216af928962Smrg if test "x$CONFIG_SHELL" != x; then : 217af928962Smrg # We cannot yet assume a decent shell, so we have to provide a 218af928962Smrg # neutralization value for shells without unset; and this also 219af928962Smrg # works around shells that cannot unset nonexistent variables. 220af928962Smrg # Preserve -v and -x to the replacement shell. 221af928962Smrg BASH_ENV=/dev/null 222af928962Smrg ENV=/dev/null 223af928962Smrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224af928962Smrg export CONFIG_SHELL 225af928962Smrg case $- in # (((( 226af928962Smrg *v*x* | *x*v* ) as_opts=-vx ;; 227af928962Smrg *v* ) as_opts=-v ;; 228af928962Smrg *x* ) as_opts=-x ;; 229af928962Smrg * ) as_opts= ;; 230af928962Smrg esac 231af928962Smrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232af928962Smrgfi 233af928962Smrg 234af928962Smrg if test x$as_have_required = xno; then : 235af928962Smrg $as_echo "$0: This script requires a shell more modern than all" 236af928962Smrg $as_echo "$0: the shells that I found on your system." 237af928962Smrg if test x${ZSH_VERSION+set} = xset ; then 238af928962Smrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239af928962Smrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240af928962Smrg else 241af928962Smrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 242af928962Smrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 243af928962Smrg$0: about your system, including any error possibly output 244af928962Smrg$0: before this message. Then install a modern shell, or 245af928962Smrg$0: manually run the script under such a shell if you do 246af928962Smrg$0: have one." 247af928962Smrg fi 248af928962Smrg exit 1 249af928962Smrgfi 250af928962Smrgfi 251af928962Smrgfi 252af928962SmrgSHELL=${CONFIG_SHELL-/bin/sh} 253af928962Smrgexport SHELL 254af928962Smrg# Unset more variables known to interfere with behavior of common tools. 255af928962SmrgCLICOLOR_FORCE= GREP_OPTIONS= 256af928962Smrgunset CLICOLOR_FORCE GREP_OPTIONS 257af928962Smrg 258af928962Smrg## --------------------- ## 259af928962Smrg## M4sh Shell Functions. ## 260af928962Smrg## --------------------- ## 261af928962Smrg# as_fn_unset VAR 262af928962Smrg# --------------- 263af928962Smrg# Portably unset VAR. 264af928962Smrgas_fn_unset () 265af928962Smrg{ 266af928962Smrg { eval $1=; unset $1;} 267af928962Smrg} 268af928962Smrgas_unset=as_fn_unset 269af928962Smrg 270af928962Smrg# as_fn_set_status STATUS 271af928962Smrg# ----------------------- 272af928962Smrg# Set $? to STATUS, without forking. 273af928962Smrgas_fn_set_status () 274af928962Smrg{ 275af928962Smrg return $1 276af928962Smrg} # as_fn_set_status 277af928962Smrg 278af928962Smrg# as_fn_exit STATUS 279af928962Smrg# ----------------- 280af928962Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 281af928962Smrgas_fn_exit () 282af928962Smrg{ 283af928962Smrg set +e 284af928962Smrg as_fn_set_status $1 285af928962Smrg exit $1 286af928962Smrg} # as_fn_exit 287af928962Smrg 288af928962Smrg# as_fn_mkdir_p 289af928962Smrg# ------------- 290af928962Smrg# Create "$as_dir" as a directory, including parents if necessary. 291af928962Smrgas_fn_mkdir_p () 292af928962Smrg{ 293af928962Smrg 294af928962Smrg case $as_dir in #( 295af928962Smrg -*) as_dir=./$as_dir;; 296af928962Smrg esac 297af928962Smrg test -d "$as_dir" || eval $as_mkdir_p || { 298af928962Smrg as_dirs= 299af928962Smrg while :; do 300af928962Smrg case $as_dir in #( 301af928962Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 302af928962Smrg *) as_qdir=$as_dir;; 303af928962Smrg esac 304af928962Smrg as_dirs="'$as_qdir' $as_dirs" 305af928962Smrg as_dir=`$as_dirname -- "$as_dir" || 306af928962Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 307af928962Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 308af928962Smrg X"$as_dir" : 'X\(//\)$' \| \ 309af928962Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 310af928962Smrg$as_echo X"$as_dir" | 311af928962Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 312af928962Smrg s//\1/ 313af928962Smrg q 314af928962Smrg } 315af928962Smrg /^X\(\/\/\)[^/].*/{ 316af928962Smrg s//\1/ 317af928962Smrg q 318af928962Smrg } 319af928962Smrg /^X\(\/\/\)$/{ 320af928962Smrg s//\1/ 321af928962Smrg q 322af928962Smrg } 323af928962Smrg /^X\(\/\).*/{ 324af928962Smrg s//\1/ 325af928962Smrg q 326af928962Smrg } 327af928962Smrg s/.*/./; q'` 328af928962Smrg test -d "$as_dir" && break 329af928962Smrg done 330af928962Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 331af928962Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 332af928962Smrg 333af928962Smrg 334af928962Smrg} # as_fn_mkdir_p 335af928962Smrg# as_fn_append VAR VALUE 336af928962Smrg# ---------------------- 337af928962Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 338af928962Smrg# advantage of any shell optimizations that allow amortized linear growth over 339af928962Smrg# repeated appends, instead of the typical quadratic growth present in naive 340af928962Smrg# implementations. 341af928962Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 342af928962Smrg eval 'as_fn_append () 343af928962Smrg { 344af928962Smrg eval $1+=\$2 345af928962Smrg }' 346af928962Smrgelse 347af928962Smrg as_fn_append () 348af928962Smrg { 349af928962Smrg eval $1=\$$1\$2 350af928962Smrg } 351af928962Smrgfi # as_fn_append 352af928962Smrg 353af928962Smrg# as_fn_arith ARG... 354af928962Smrg# ------------------ 355af928962Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 356af928962Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 357af928962Smrg# must be portable across $(()) and expr. 358af928962Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 359af928962Smrg eval 'as_fn_arith () 360af928962Smrg { 361af928962Smrg as_val=$(( $* )) 362af928962Smrg }' 363af928962Smrgelse 364af928962Smrg as_fn_arith () 365af928962Smrg { 366af928962Smrg as_val=`expr "$@" || test $? -eq 1` 367af928962Smrg } 368af928962Smrgfi # as_fn_arith 369af928962Smrg 370af928962Smrg 371af928962Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 372af928962Smrg# ---------------------------------------- 373af928962Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 374af928962Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 375af928962Smrg# script with STATUS, using 1 if that was 0. 376af928962Smrgas_fn_error () 377af928962Smrg{ 378af928962Smrg as_status=$1; test $as_status -eq 0 && as_status=1 379af928962Smrg if test "$4"; then 380af928962Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 381af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 382af928962Smrg fi 383af928962Smrg $as_echo "$as_me: error: $2" >&2 384af928962Smrg as_fn_exit $as_status 385af928962Smrg} # as_fn_error 386af928962Smrg 38773143b9aSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 38873143b9aSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 38973143b9aSmrg as_expr=expr 39073143b9aSmrgelse 39173143b9aSmrg as_expr=false 39273143b9aSmrgfi 39373143b9aSmrg 39473143b9aSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 39573143b9aSmrg as_basename=basename 39673143b9aSmrgelse 39773143b9aSmrg as_basename=false 39873143b9aSmrgfi 39973143b9aSmrg 400af928962Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 401af928962Smrg as_dirname=dirname 402af928962Smrgelse 403af928962Smrg as_dirname=false 404af928962Smrgfi 40573143b9aSmrg 40673143b9aSmrgas_me=`$as_basename -- "$0" || 40773143b9aSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 40873143b9aSmrg X"$0" : 'X\(//\)$' \| \ 40973143b9aSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 410b53e5eeaSmrg$as_echo X/"$0" | 41173143b9aSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 41273143b9aSmrg s//\1/ 41373143b9aSmrg q 41473143b9aSmrg } 41573143b9aSmrg /^X\/\(\/\/\)$/{ 41673143b9aSmrg s//\1/ 41773143b9aSmrg q 41873143b9aSmrg } 41973143b9aSmrg /^X\/\(\/\).*/{ 42073143b9aSmrg s//\1/ 42173143b9aSmrg q 42273143b9aSmrg } 42373143b9aSmrg s/.*/./; q'` 42473143b9aSmrg 425af928962Smrg# Avoid depending upon Character Ranges. 426af928962Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 427af928962Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 428af928962Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 429af928962Smrgas_cr_digits='0123456789' 430af928962Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 43173143b9aSmrg 43273143b9aSmrg 433af928962Smrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 434af928962Smrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 435af928962Smrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 436af928962Smrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 437af928962Smrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438af928962Smrg sed -n ' 439af928962Smrg p 440af928962Smrg /[$]LINENO/= 441af928962Smrg ' <$as_myself | 442af928962Smrg sed ' 443af928962Smrg s/[$]LINENO.*/&-/ 444af928962Smrg t lineno 445af928962Smrg b 446af928962Smrg :lineno 447af928962Smrg N 448af928962Smrg :loop 449af928962Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450af928962Smrg t loop 451af928962Smrg s/-\n.*// 452af928962Smrg ' >$as_me.lineno && 453af928962Smrg chmod +x "$as_me.lineno" || 454af928962Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 45573143b9aSmrg 456af928962Smrg # Don't try to exec as it changes $[0], causing all sort of problems 457af928962Smrg # (the dirname of $[0] is not the place where we might find the 458af928962Smrg # original and so on. Autoconf is especially sensitive to this). 459af928962Smrg . "./$as_me.lineno" 460af928962Smrg # Exit status is that of the last command. 461af928962Smrg exit 46273143b9aSmrg} 46373143b9aSmrg 464af928962SmrgECHO_C= ECHO_N= ECHO_T= 465af928962Smrgcase `echo -n x` in #((((( 466af928962Smrg-n*) 467af928962Smrg case `echo 'xy\c'` in 468af928962Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 469af928962Smrg xy) ECHO_C='\c';; 470af928962Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 471af928962Smrg ECHO_T=' ';; 472af928962Smrg esac;; 473af928962Smrg*) 474af928962Smrg ECHO_N='-n';; 475af928962Smrgesac 47673143b9aSmrg 477af928962Smrgrm -f conf$$ conf$$.exe conf$$.file 478af928962Smrgif test -d conf$$.dir; then 479af928962Smrg rm -f conf$$.dir/conf$$.file 480af928962Smrgelse 481af928962Smrg rm -f conf$$.dir 482af928962Smrg mkdir conf$$.dir 2>/dev/null 48373143b9aSmrgfi 484af928962Smrgif (echo >conf$$.file) 2>/dev/null; then 485af928962Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 486af928962Smrg as_ln_s='ln -s' 487af928962Smrg # ... but there are two gotchas: 488af928962Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 489af928962Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 490af928962Smrg # In both cases, we have to default to `cp -p'. 491af928962Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 492af928962Smrg as_ln_s='cp -p' 493af928962Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 494af928962Smrg as_ln_s=ln 495af928962Smrg else 496af928962Smrg as_ln_s='cp -p' 497af928962Smrg fi 49873143b9aSmrgelse 499af928962Smrg as_ln_s='cp -p' 50073143b9aSmrgfi 501af928962Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 502af928962Smrgrmdir conf$$.dir 2>/dev/null 50373143b9aSmrg 504af928962Smrgif mkdir -p . 2>/dev/null; then 505af928962Smrg as_mkdir_p='mkdir -p "$as_dir"' 506af928962Smrgelse 507af928962Smrg test -d ./-p && rmdir ./-p 508af928962Smrg as_mkdir_p=false 50973143b9aSmrgfi 51073143b9aSmrg 511af928962Smrgif test -x / >/dev/null 2>&1; then 512af928962Smrg as_test_x='test -x' 51373143b9aSmrgelse 514af928962Smrg if ls -dL / >/dev/null 2>&1; then 515af928962Smrg as_ls_L_option=L 516af928962Smrg else 517af928962Smrg as_ls_L_option= 518af928962Smrg fi 519af928962Smrg as_test_x=' 520af928962Smrg eval sh -c '\'' 521af928962Smrg if test -d "$1"; then 522af928962Smrg test -d "$1/."; 523af928962Smrg else 524af928962Smrg case $1 in #( 525af928962Smrg -*)set "./$1";; 526af928962Smrg esac; 527af928962Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 528af928962Smrg ???[sx]*):;;*)false;;esac;fi 529af928962Smrg '\'' sh 530af928962Smrg ' 53173143b9aSmrgfi 532af928962Smrgas_executable_p=$as_test_x 53373143b9aSmrg 534af928962Smrg# Sed expression to map a string onto a valid CPP name. 535af928962Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 53673143b9aSmrg 537af928962Smrg# Sed expression to map a string onto a valid variable name. 538af928962Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 53973143b9aSmrg 540af928962Smrgas_awk_strverscmp=' 541af928962Smrg # Use only awk features that work with 7th edition Unix awk (1978). 542af928962Smrg # My, what an old awk you have, Mr. Solaris! 543af928962Smrg END { 544af928962Smrg while (length(v1) && length(v2)) { 545af928962Smrg # Set d1 to be the next thing to compare from v1, and likewise for d2. 546af928962Smrg # Normally this is a single character, but if v1 and v2 contain digits, 547af928962Smrg # compare them as integers and fractions as strverscmp does. 548af928962Smrg if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) { 549af928962Smrg # Split v1 and v2 into their leading digit string components d1 and d2, 550af928962Smrg # and advance v1 and v2 past the leading digit strings. 551af928962Smrg for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue 552af928962Smrg for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue 553af928962Smrg d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1) 554af928962Smrg d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1) 555af928962Smrg if (d1 ~ /^0/) { 556af928962Smrg if (d2 ~ /^0/) { 557af928962Smrg # Compare two fractions. 558af928962Smrg while (d1 ~ /^0/ && d2 ~ /^0/) { 559af928962Smrg d1 = substr(d1, 2); len1-- 560af928962Smrg d2 = substr(d2, 2); len2-- 561af928962Smrg } 562af928962Smrg if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) { 563af928962Smrg # The two components differ in length, and the common prefix 564af928962Smrg # contains only leading zeros. Consider the longer to be less. 565af928962Smrg d1 = -len1 566af928962Smrg d2 = -len2 567af928962Smrg } else { 568af928962Smrg # Otherwise, compare as strings. 569af928962Smrg d1 = "x" d1 570af928962Smrg d2 = "x" d2 571af928962Smrg } 572af928962Smrg } else { 573af928962Smrg # A fraction is less than an integer. 574af928962Smrg exit 1 575af928962Smrg } 576af928962Smrg } else { 577af928962Smrg if (d2 ~ /^0/) { 578af928962Smrg # An integer is greater than a fraction. 579af928962Smrg exit 2 580af928962Smrg } else { 581af928962Smrg # Compare two integers. 582af928962Smrg d1 += 0 583af928962Smrg d2 += 0 584af928962Smrg } 585af928962Smrg } 586af928962Smrg } else { 587af928962Smrg # The normal case, without worrying about digits. 588af928962Smrg d1 = substr(v1, 1, 1); v1 = substr(v1, 2) 589af928962Smrg d2 = substr(v2, 1, 1); v2 = substr(v2, 2) 590af928962Smrg } 591af928962Smrg if (d1 < d2) exit 1 592af928962Smrg if (d1 > d2) exit 2 593af928962Smrg } 594af928962Smrg # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10), 595af928962Smrg # which mishandles some comparisons of empty strings to integers. 596af928962Smrg if (length(v2)) exit 1 597af928962Smrg if (length(v1)) exit 2 598af928962Smrg } 599af928962Smrg' 60073143b9aSmrg 601af928962Smrgtest -n "$DJDIR" || exec 7<&0 </dev/null 602af928962Smrgexec 6>&1 60373143b9aSmrg 60473143b9aSmrg# Name of the host. 605af928962Smrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 60673143b9aSmrg# so uname gets run too. 60773143b9aSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 60873143b9aSmrg 60973143b9aSmrg# 61073143b9aSmrg# Initializations. 61173143b9aSmrg# 61273143b9aSmrgac_default_prefix=/usr/local 61373143b9aSmrgac_clean_files= 61473143b9aSmrgac_config_libobj_dir=. 61573143b9aSmrgLIBOBJS= 61673143b9aSmrgcross_compiling=no 61773143b9aSmrgsubdirs= 61873143b9aSmrgMFLAGS= 61973143b9aSmrgMAKEFLAGS= 62073143b9aSmrg 62173143b9aSmrg# Identity of this package. 62273143b9aSmrgPACKAGE_NAME='xtrans' 62373143b9aSmrgPACKAGE_TARNAME='xtrans' 624af928962SmrgPACKAGE_VERSION='1.2.6' 625af928962SmrgPACKAGE_STRING='xtrans 1.2.6' 62673143b9aSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 627af928962SmrgPACKAGE_URL='' 62873143b9aSmrg 629b53e5eeaSmrg# Factoring default headers for most tests. 630b53e5eeaSmrgac_includes_default="\ 631b53e5eeaSmrg#include <stdio.h> 632b53e5eeaSmrg#ifdef HAVE_SYS_TYPES_H 633b53e5eeaSmrg# include <sys/types.h> 634b53e5eeaSmrg#endif 635b53e5eeaSmrg#ifdef HAVE_SYS_STAT_H 636b53e5eeaSmrg# include <sys/stat.h> 637b53e5eeaSmrg#endif 638b53e5eeaSmrg#ifdef STDC_HEADERS 639b53e5eeaSmrg# include <stdlib.h> 640b53e5eeaSmrg# include <stddef.h> 641b53e5eeaSmrg#else 642b53e5eeaSmrg# ifdef HAVE_STDLIB_H 643b53e5eeaSmrg# include <stdlib.h> 644b53e5eeaSmrg# endif 645b53e5eeaSmrg#endif 646b53e5eeaSmrg#ifdef HAVE_STRING_H 647b53e5eeaSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 648b53e5eeaSmrg# include <memory.h> 649b53e5eeaSmrg# endif 650b53e5eeaSmrg# include <string.h> 651b53e5eeaSmrg#endif 652b53e5eeaSmrg#ifdef HAVE_STRINGS_H 653b53e5eeaSmrg# include <strings.h> 654b53e5eeaSmrg#endif 655b53e5eeaSmrg#ifdef HAVE_INTTYPES_H 656b53e5eeaSmrg# include <inttypes.h> 657b53e5eeaSmrg#endif 658b53e5eeaSmrg#ifdef HAVE_STDINT_H 659b53e5eeaSmrg# include <stdint.h> 660b53e5eeaSmrg#endif 661b53e5eeaSmrg#ifdef HAVE_UNISTD_H 662b53e5eeaSmrg# include <unistd.h> 663b53e5eeaSmrg#endif" 664b53e5eeaSmrg 665b53e5eeaSmrgac_subst_vars='am__EXEEXT_FALSE 666b53e5eeaSmrgam__EXEEXT_TRUE 667b53e5eeaSmrgLTLIBOBJS 668b53e5eeaSmrgLIBOBJS 66973143b9aSmrgsticky_bit_define 670b53e5eeaSmrgfchown_define 671af928962SmrgHAVE_STYLESHEETS_FALSE 672af928962SmrgHAVE_STYLESHEETS_TRUE 673af928962SmrgXSL_STYLESHEET 674af928962SmrgSTYLESHEET_SRCDIR 675af928962SmrgXORG_SGML_PATH 676af928962SmrgHAVE_FOP_FALSE 677af928962SmrgHAVE_FOP_TRUE 678af928962SmrgFOP 679af928962SmrgHAVE_XMLTO_FALSE 680af928962SmrgHAVE_XMLTO_TRUE 681af928962SmrgHAVE_XMLTO_TEXT_FALSE 682af928962SmrgHAVE_XMLTO_TEXT_TRUE 683af928962SmrgXMLTO 684af928962SmrgENABLE_DOCS_FALSE 685af928962SmrgENABLE_DOCS_TRUE 686af928962SmrgAM_BACKSLASH 687af928962SmrgAM_DEFAULT_VERBOSITY 688af928962SmrgMAN_SUBSTS 689af928962SmrgXORG_MAN_PAGE 690b53e5eeaSmrgADMIN_MAN_DIR 691b53e5eeaSmrgDRIVER_MAN_DIR 692b53e5eeaSmrgMISC_MAN_DIR 693b53e5eeaSmrgFILE_MAN_DIR 694b53e5eeaSmrgLIB_MAN_DIR 695b53e5eeaSmrgAPP_MAN_DIR 696b53e5eeaSmrgADMIN_MAN_SUFFIX 697b53e5eeaSmrgDRIVER_MAN_SUFFIX 698b53e5eeaSmrgMISC_MAN_SUFFIX 699b53e5eeaSmrgFILE_MAN_SUFFIX 700b53e5eeaSmrgLIB_MAN_SUFFIX 701b53e5eeaSmrgAPP_MAN_SUFFIX 702af928962SmrgSED 703b53e5eeaSmrghost_os 704b53e5eeaSmrghost_vendor 705b53e5eeaSmrghost_cpu 706b53e5eeaSmrghost 707b53e5eeaSmrgbuild_os 708b53e5eeaSmrgbuild_vendor 709b53e5eeaSmrgbuild_cpu 710b53e5eeaSmrgbuild 711af928962SmrgINSTALL_CMD 712af928962SmrgPKG_CONFIG 713b53e5eeaSmrgCHANGELOG_CMD 714b53e5eeaSmrgCWARNFLAGS 715b53e5eeaSmrgEGREP 716b53e5eeaSmrgGREP 717b53e5eeaSmrgCPP 718b53e5eeaSmrgam__fastdepCC_FALSE 719b53e5eeaSmrgam__fastdepCC_TRUE 720b53e5eeaSmrgCCDEPMODE 721b53e5eeaSmrgAMDEPBACKSLASH 722b53e5eeaSmrgAMDEP_FALSE 723b53e5eeaSmrgAMDEP_TRUE 724b53e5eeaSmrgam__quote 725b53e5eeaSmrgam__include 726b53e5eeaSmrgDEPDIR 727b53e5eeaSmrgOBJEXT 728b53e5eeaSmrgEXEEXT 729b53e5eeaSmrgac_ct_CC 730b53e5eeaSmrgCPPFLAGS 731b53e5eeaSmrgLDFLAGS 732b53e5eeaSmrgCFLAGS 733b53e5eeaSmrgCC 734b53e5eeaSmrgMAINT 735b53e5eeaSmrgMAINTAINER_MODE_FALSE 736b53e5eeaSmrgMAINTAINER_MODE_TRUE 737b53e5eeaSmrgam__untar 738b53e5eeaSmrgam__tar 739b53e5eeaSmrgAMTAR 740b53e5eeaSmrgam__leading_dot 741b53e5eeaSmrgSET_MAKE 742b53e5eeaSmrgAWK 743b53e5eeaSmrgmkdir_p 744b53e5eeaSmrgMKDIR_P 745b53e5eeaSmrgINSTALL_STRIP_PROGRAM 746b53e5eeaSmrgSTRIP 747b53e5eeaSmrginstall_sh 748b53e5eeaSmrgMAKEINFO 749b53e5eeaSmrgAUTOHEADER 750b53e5eeaSmrgAUTOMAKE 751b53e5eeaSmrgAUTOCONF 752b53e5eeaSmrgACLOCAL 753b53e5eeaSmrgVERSION 754b53e5eeaSmrgPACKAGE 755b53e5eeaSmrgCYGPATH_W 756b53e5eeaSmrgam__isrc 757b53e5eeaSmrgINSTALL_DATA 758b53e5eeaSmrgINSTALL_SCRIPT 759b53e5eeaSmrgINSTALL_PROGRAM 760b53e5eeaSmrgtarget_alias 761b53e5eeaSmrghost_alias 762b53e5eeaSmrgbuild_alias 763b53e5eeaSmrgLIBS 764b53e5eeaSmrgECHO_T 765b53e5eeaSmrgECHO_N 766b53e5eeaSmrgECHO_C 767b53e5eeaSmrgDEFS 768b53e5eeaSmrgmandir 769b53e5eeaSmrglocaledir 770b53e5eeaSmrglibdir 771b53e5eeaSmrgpsdir 772b53e5eeaSmrgpdfdir 773b53e5eeaSmrgdvidir 774b53e5eeaSmrghtmldir 775b53e5eeaSmrginfodir 776b53e5eeaSmrgdocdir 777b53e5eeaSmrgoldincludedir 778b53e5eeaSmrgincludedir 779b53e5eeaSmrglocalstatedir 780b53e5eeaSmrgsharedstatedir 781b53e5eeaSmrgsysconfdir 782b53e5eeaSmrgdatadir 783b53e5eeaSmrgdatarootdir 784b53e5eeaSmrglibexecdir 785b53e5eeaSmrgsbindir 786b53e5eeaSmrgbindir 787b53e5eeaSmrgprogram_transform_name 788b53e5eeaSmrgprefix 789b53e5eeaSmrgexec_prefix 790af928962SmrgPACKAGE_URL 791b53e5eeaSmrgPACKAGE_BUGREPORT 792b53e5eeaSmrgPACKAGE_STRING 793b53e5eeaSmrgPACKAGE_VERSION 794b53e5eeaSmrgPACKAGE_TARNAME 795b53e5eeaSmrgPACKAGE_NAME 796b53e5eeaSmrgPATH_SEPARATOR 797b53e5eeaSmrgSHELL' 79873143b9aSmrgac_subst_files='' 799b53e5eeaSmrgac_user_opts=' 800b53e5eeaSmrgenable_option_checking 801b53e5eeaSmrgenable_maintainer_mode 802b53e5eeaSmrgenable_dependency_tracking 803b53e5eeaSmrgenable_strict_compilation 804af928962Smrgenable_silent_rules 805b53e5eeaSmrgenable_docs 806af928962Smrgwith_xmlto 807af928962Smrgwith_fop 808b53e5eeaSmrg' 80973143b9aSmrg ac_precious_vars='build_alias 81073143b9aSmrghost_alias 81173143b9aSmrgtarget_alias 81273143b9aSmrgCC 81373143b9aSmrgCFLAGS 81473143b9aSmrgLDFLAGS 81573143b9aSmrgLIBS 816b53e5eeaSmrgCPPFLAGS 817af928962SmrgCPP 818af928962SmrgPKG_CONFIG 819af928962SmrgXMLTO 820af928962SmrgFOP' 82173143b9aSmrg 82273143b9aSmrg 82373143b9aSmrg# Initialize some variables set by options. 82473143b9aSmrgac_init_help= 82573143b9aSmrgac_init_version=false 826b53e5eeaSmrgac_unrecognized_opts= 827b53e5eeaSmrgac_unrecognized_sep= 82873143b9aSmrg# The variables have the same names as the options, with 82973143b9aSmrg# dashes changed to underlines. 83073143b9aSmrgcache_file=/dev/null 83173143b9aSmrgexec_prefix=NONE 83273143b9aSmrgno_create= 83373143b9aSmrgno_recursion= 83473143b9aSmrgprefix=NONE 83573143b9aSmrgprogram_prefix=NONE 83673143b9aSmrgprogram_suffix=NONE 83773143b9aSmrgprogram_transform_name=s,x,x, 83873143b9aSmrgsilent= 83973143b9aSmrgsite= 84073143b9aSmrgsrcdir= 84173143b9aSmrgverbose= 84273143b9aSmrgx_includes=NONE 84373143b9aSmrgx_libraries=NONE 84473143b9aSmrg 84573143b9aSmrg# Installation directory options. 84673143b9aSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 84773143b9aSmrg# and all the variables that are supposed to be based on exec_prefix 84873143b9aSmrg# by default will actually change. 84973143b9aSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 85073143b9aSmrg# (The list follows the same order as the GNU Coding Standards.) 85173143b9aSmrgbindir='${exec_prefix}/bin' 85273143b9aSmrgsbindir='${exec_prefix}/sbin' 85373143b9aSmrglibexecdir='${exec_prefix}/libexec' 85473143b9aSmrgdatarootdir='${prefix}/share' 85573143b9aSmrgdatadir='${datarootdir}' 85673143b9aSmrgsysconfdir='${prefix}/etc' 85773143b9aSmrgsharedstatedir='${prefix}/com' 85873143b9aSmrglocalstatedir='${prefix}/var' 85973143b9aSmrgincludedir='${prefix}/include' 86073143b9aSmrgoldincludedir='/usr/include' 86173143b9aSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 86273143b9aSmrginfodir='${datarootdir}/info' 86373143b9aSmrghtmldir='${docdir}' 86473143b9aSmrgdvidir='${docdir}' 86573143b9aSmrgpdfdir='${docdir}' 86673143b9aSmrgpsdir='${docdir}' 86773143b9aSmrglibdir='${exec_prefix}/lib' 86873143b9aSmrglocaledir='${datarootdir}/locale' 86973143b9aSmrgmandir='${datarootdir}/man' 87073143b9aSmrg 87173143b9aSmrgac_prev= 87273143b9aSmrgac_dashdash= 87373143b9aSmrgfor ac_option 87473143b9aSmrgdo 87573143b9aSmrg # If the previous option needs an argument, assign it. 87673143b9aSmrg if test -n "$ac_prev"; then 87773143b9aSmrg eval $ac_prev=\$ac_option 87873143b9aSmrg ac_prev= 87973143b9aSmrg continue 88073143b9aSmrg fi 88173143b9aSmrg 88273143b9aSmrg case $ac_option in 883af928962Smrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 884af928962Smrg *=) ac_optarg= ;; 885af928962Smrg *) ac_optarg=yes ;; 88673143b9aSmrg esac 88773143b9aSmrg 88873143b9aSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 88973143b9aSmrg 89073143b9aSmrg case $ac_dashdash$ac_option in 89173143b9aSmrg --) 89273143b9aSmrg ac_dashdash=yes ;; 89373143b9aSmrg 89473143b9aSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 89573143b9aSmrg ac_prev=bindir ;; 89673143b9aSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 89773143b9aSmrg bindir=$ac_optarg ;; 89873143b9aSmrg 89973143b9aSmrg -build | --build | --buil | --bui | --bu) 90073143b9aSmrg ac_prev=build_alias ;; 90173143b9aSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 90273143b9aSmrg build_alias=$ac_optarg ;; 90373143b9aSmrg 90473143b9aSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 90573143b9aSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 90673143b9aSmrg ac_prev=cache_file ;; 90773143b9aSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 90873143b9aSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 90973143b9aSmrg cache_file=$ac_optarg ;; 91073143b9aSmrg 91173143b9aSmrg --config-cache | -C) 91273143b9aSmrg cache_file=config.cache ;; 91373143b9aSmrg 91473143b9aSmrg -datadir | --datadir | --datadi | --datad) 91573143b9aSmrg ac_prev=datadir ;; 91673143b9aSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 91773143b9aSmrg datadir=$ac_optarg ;; 91873143b9aSmrg 91973143b9aSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 92073143b9aSmrg | --dataroo | --dataro | --datar) 92173143b9aSmrg ac_prev=datarootdir ;; 92273143b9aSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 92373143b9aSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 92473143b9aSmrg datarootdir=$ac_optarg ;; 92573143b9aSmrg 92673143b9aSmrg -disable-* | --disable-*) 927b53e5eeaSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 92873143b9aSmrg # Reject names that are not valid shell variable names. 929b53e5eeaSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 930af928962Smrg as_fn_error $? "invalid feature name: $ac_useropt" 931b53e5eeaSmrg ac_useropt_orig=$ac_useropt 932b53e5eeaSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 933b53e5eeaSmrg case $ac_user_opts in 934b53e5eeaSmrg *" 935b53e5eeaSmrg"enable_$ac_useropt" 936b53e5eeaSmrg"*) ;; 937b53e5eeaSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 938b53e5eeaSmrg ac_unrecognized_sep=', ';; 939b53e5eeaSmrg esac 940b53e5eeaSmrg eval enable_$ac_useropt=no ;; 94173143b9aSmrg 94273143b9aSmrg -docdir | --docdir | --docdi | --doc | --do) 94373143b9aSmrg ac_prev=docdir ;; 94473143b9aSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 94573143b9aSmrg docdir=$ac_optarg ;; 94673143b9aSmrg 94773143b9aSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 94873143b9aSmrg ac_prev=dvidir ;; 94973143b9aSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 95073143b9aSmrg dvidir=$ac_optarg ;; 95173143b9aSmrg 95273143b9aSmrg -enable-* | --enable-*) 953b53e5eeaSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 95473143b9aSmrg # Reject names that are not valid shell variable names. 955b53e5eeaSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 956af928962Smrg as_fn_error $? "invalid feature name: $ac_useropt" 957b53e5eeaSmrg ac_useropt_orig=$ac_useropt 958b53e5eeaSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 959b53e5eeaSmrg case $ac_user_opts in 960b53e5eeaSmrg *" 961b53e5eeaSmrg"enable_$ac_useropt" 962b53e5eeaSmrg"*) ;; 963b53e5eeaSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 964b53e5eeaSmrg ac_unrecognized_sep=', ';; 965b53e5eeaSmrg esac 966b53e5eeaSmrg eval enable_$ac_useropt=\$ac_optarg ;; 96773143b9aSmrg 96873143b9aSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 96973143b9aSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 97073143b9aSmrg | --exec | --exe | --ex) 97173143b9aSmrg ac_prev=exec_prefix ;; 97273143b9aSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 97373143b9aSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 97473143b9aSmrg | --exec=* | --exe=* | --ex=*) 97573143b9aSmrg exec_prefix=$ac_optarg ;; 97673143b9aSmrg 97773143b9aSmrg -gas | --gas | --ga | --g) 97873143b9aSmrg # Obsolete; use --with-gas. 97973143b9aSmrg with_gas=yes ;; 98073143b9aSmrg 98173143b9aSmrg -help | --help | --hel | --he | -h) 98273143b9aSmrg ac_init_help=long ;; 98373143b9aSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 98473143b9aSmrg ac_init_help=recursive ;; 98573143b9aSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 98673143b9aSmrg ac_init_help=short ;; 98773143b9aSmrg 98873143b9aSmrg -host | --host | --hos | --ho) 98973143b9aSmrg ac_prev=host_alias ;; 99073143b9aSmrg -host=* | --host=* | --hos=* | --ho=*) 99173143b9aSmrg host_alias=$ac_optarg ;; 99273143b9aSmrg 99373143b9aSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 99473143b9aSmrg ac_prev=htmldir ;; 99573143b9aSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 99673143b9aSmrg | --ht=*) 99773143b9aSmrg htmldir=$ac_optarg ;; 99873143b9aSmrg 99973143b9aSmrg -includedir | --includedir | --includedi | --included | --include \ 100073143b9aSmrg | --includ | --inclu | --incl | --inc) 100173143b9aSmrg ac_prev=includedir ;; 100273143b9aSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 100373143b9aSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 100473143b9aSmrg includedir=$ac_optarg ;; 100573143b9aSmrg 100673143b9aSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 100773143b9aSmrg ac_prev=infodir ;; 100873143b9aSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 100973143b9aSmrg infodir=$ac_optarg ;; 101073143b9aSmrg 101173143b9aSmrg -libdir | --libdir | --libdi | --libd) 101273143b9aSmrg ac_prev=libdir ;; 101373143b9aSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 101473143b9aSmrg libdir=$ac_optarg ;; 101573143b9aSmrg 101673143b9aSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 101773143b9aSmrg | --libexe | --libex | --libe) 101873143b9aSmrg ac_prev=libexecdir ;; 101973143b9aSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 102073143b9aSmrg | --libexe=* | --libex=* | --libe=*) 102173143b9aSmrg libexecdir=$ac_optarg ;; 102273143b9aSmrg 102373143b9aSmrg -localedir | --localedir | --localedi | --localed | --locale) 102473143b9aSmrg ac_prev=localedir ;; 102573143b9aSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 102673143b9aSmrg localedir=$ac_optarg ;; 102773143b9aSmrg 102873143b9aSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 102973143b9aSmrg | --localstate | --localstat | --localsta | --localst | --locals) 103073143b9aSmrg ac_prev=localstatedir ;; 103173143b9aSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 103273143b9aSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 103373143b9aSmrg localstatedir=$ac_optarg ;; 103473143b9aSmrg 103573143b9aSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 103673143b9aSmrg ac_prev=mandir ;; 103773143b9aSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 103873143b9aSmrg mandir=$ac_optarg ;; 103973143b9aSmrg 104073143b9aSmrg -nfp | --nfp | --nf) 104173143b9aSmrg # Obsolete; use --without-fp. 104273143b9aSmrg with_fp=no ;; 104373143b9aSmrg 104473143b9aSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 104573143b9aSmrg | --no-cr | --no-c | -n) 104673143b9aSmrg no_create=yes ;; 104773143b9aSmrg 104873143b9aSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 104973143b9aSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 105073143b9aSmrg no_recursion=yes ;; 105173143b9aSmrg 105273143b9aSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 105373143b9aSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 105473143b9aSmrg | --oldin | --oldi | --old | --ol | --o) 105573143b9aSmrg ac_prev=oldincludedir ;; 105673143b9aSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 105773143b9aSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 105873143b9aSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 105973143b9aSmrg oldincludedir=$ac_optarg ;; 106073143b9aSmrg 106173143b9aSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 106273143b9aSmrg ac_prev=prefix ;; 106373143b9aSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 106473143b9aSmrg prefix=$ac_optarg ;; 106573143b9aSmrg 106673143b9aSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 106773143b9aSmrg | --program-pre | --program-pr | --program-p) 106873143b9aSmrg ac_prev=program_prefix ;; 106973143b9aSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 107073143b9aSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 107173143b9aSmrg program_prefix=$ac_optarg ;; 107273143b9aSmrg 107373143b9aSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 107473143b9aSmrg | --program-suf | --program-su | --program-s) 107573143b9aSmrg ac_prev=program_suffix ;; 107673143b9aSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 107773143b9aSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 107873143b9aSmrg program_suffix=$ac_optarg ;; 107973143b9aSmrg 108073143b9aSmrg -program-transform-name | --program-transform-name \ 108173143b9aSmrg | --program-transform-nam | --program-transform-na \ 108273143b9aSmrg | --program-transform-n | --program-transform- \ 108373143b9aSmrg | --program-transform | --program-transfor \ 108473143b9aSmrg | --program-transfo | --program-transf \ 108573143b9aSmrg | --program-trans | --program-tran \ 108673143b9aSmrg | --progr-tra | --program-tr | --program-t) 108773143b9aSmrg ac_prev=program_transform_name ;; 108873143b9aSmrg -program-transform-name=* | --program-transform-name=* \ 108973143b9aSmrg | --program-transform-nam=* | --program-transform-na=* \ 109073143b9aSmrg | --program-transform-n=* | --program-transform-=* \ 109173143b9aSmrg | --program-transform=* | --program-transfor=* \ 109273143b9aSmrg | --program-transfo=* | --program-transf=* \ 109373143b9aSmrg | --program-trans=* | --program-tran=* \ 109473143b9aSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 109573143b9aSmrg program_transform_name=$ac_optarg ;; 109673143b9aSmrg 109773143b9aSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 109873143b9aSmrg ac_prev=pdfdir ;; 109973143b9aSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 110073143b9aSmrg pdfdir=$ac_optarg ;; 110173143b9aSmrg 110273143b9aSmrg -psdir | --psdir | --psdi | --psd | --ps) 110373143b9aSmrg ac_prev=psdir ;; 110473143b9aSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 110573143b9aSmrg psdir=$ac_optarg ;; 110673143b9aSmrg 110773143b9aSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 110873143b9aSmrg | -silent | --silent | --silen | --sile | --sil) 110973143b9aSmrg silent=yes ;; 111073143b9aSmrg 111173143b9aSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 111273143b9aSmrg ac_prev=sbindir ;; 111373143b9aSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 111473143b9aSmrg | --sbi=* | --sb=*) 111573143b9aSmrg sbindir=$ac_optarg ;; 111673143b9aSmrg 111773143b9aSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 111873143b9aSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 111973143b9aSmrg | --sharedst | --shareds | --shared | --share | --shar \ 112073143b9aSmrg | --sha | --sh) 112173143b9aSmrg ac_prev=sharedstatedir ;; 112273143b9aSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 112373143b9aSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 112473143b9aSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 112573143b9aSmrg | --sha=* | --sh=*) 112673143b9aSmrg sharedstatedir=$ac_optarg ;; 112773143b9aSmrg 112873143b9aSmrg -site | --site | --sit) 112973143b9aSmrg ac_prev=site ;; 113073143b9aSmrg -site=* | --site=* | --sit=*) 113173143b9aSmrg site=$ac_optarg ;; 113273143b9aSmrg 113373143b9aSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 113473143b9aSmrg ac_prev=srcdir ;; 113573143b9aSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 113673143b9aSmrg srcdir=$ac_optarg ;; 113773143b9aSmrg 113873143b9aSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 113973143b9aSmrg | --syscon | --sysco | --sysc | --sys | --sy) 114073143b9aSmrg ac_prev=sysconfdir ;; 114173143b9aSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 114273143b9aSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 114373143b9aSmrg sysconfdir=$ac_optarg ;; 114473143b9aSmrg 114573143b9aSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 114673143b9aSmrg ac_prev=target_alias ;; 114773143b9aSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 114873143b9aSmrg target_alias=$ac_optarg ;; 114973143b9aSmrg 115073143b9aSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 115173143b9aSmrg verbose=yes ;; 115273143b9aSmrg 115373143b9aSmrg -version | --version | --versio | --versi | --vers | -V) 115473143b9aSmrg ac_init_version=: ;; 115573143b9aSmrg 115673143b9aSmrg -with-* | --with-*) 1157b53e5eeaSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 115873143b9aSmrg # Reject names that are not valid shell variable names. 1159b53e5eeaSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1160af928962Smrg as_fn_error $? "invalid package name: $ac_useropt" 1161b53e5eeaSmrg ac_useropt_orig=$ac_useropt 1162b53e5eeaSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1163b53e5eeaSmrg case $ac_user_opts in 1164b53e5eeaSmrg *" 1165b53e5eeaSmrg"with_$ac_useropt" 1166b53e5eeaSmrg"*) ;; 1167b53e5eeaSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1168b53e5eeaSmrg ac_unrecognized_sep=', ';; 1169b53e5eeaSmrg esac 1170b53e5eeaSmrg eval with_$ac_useropt=\$ac_optarg ;; 117173143b9aSmrg 117273143b9aSmrg -without-* | --without-*) 1173b53e5eeaSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 117473143b9aSmrg # Reject names that are not valid shell variable names. 1175b53e5eeaSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1176af928962Smrg as_fn_error $? "invalid package name: $ac_useropt" 1177b53e5eeaSmrg ac_useropt_orig=$ac_useropt 1178b53e5eeaSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1179b53e5eeaSmrg case $ac_user_opts in 1180b53e5eeaSmrg *" 1181b53e5eeaSmrg"with_$ac_useropt" 1182b53e5eeaSmrg"*) ;; 1183b53e5eeaSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1184b53e5eeaSmrg ac_unrecognized_sep=', ';; 1185b53e5eeaSmrg esac 1186b53e5eeaSmrg eval with_$ac_useropt=no ;; 118773143b9aSmrg 118873143b9aSmrg --x) 118973143b9aSmrg # Obsolete; use --with-x. 119073143b9aSmrg with_x=yes ;; 119173143b9aSmrg 119273143b9aSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 119373143b9aSmrg | --x-incl | --x-inc | --x-in | --x-i) 119473143b9aSmrg ac_prev=x_includes ;; 119573143b9aSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 119673143b9aSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 119773143b9aSmrg x_includes=$ac_optarg ;; 119873143b9aSmrg 119973143b9aSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 120073143b9aSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 120173143b9aSmrg ac_prev=x_libraries ;; 120273143b9aSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 120373143b9aSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 120473143b9aSmrg x_libraries=$ac_optarg ;; 120573143b9aSmrg 1206af928962Smrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 1207af928962SmrgTry \`$0 --help' for more information" 120873143b9aSmrg ;; 120973143b9aSmrg 121073143b9aSmrg *=*) 121173143b9aSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 121273143b9aSmrg # Reject names that are not valid shell variable names. 1213af928962Smrg case $ac_envvar in #( 1214af928962Smrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 1215af928962Smrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1216af928962Smrg esac 121773143b9aSmrg eval $ac_envvar=\$ac_optarg 121873143b9aSmrg export $ac_envvar ;; 121973143b9aSmrg 122073143b9aSmrg *) 122173143b9aSmrg # FIXME: should be removed in autoconf 3.0. 1222b53e5eeaSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 122373143b9aSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1224b53e5eeaSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1225af928962Smrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 122673143b9aSmrg ;; 122773143b9aSmrg 122873143b9aSmrg esac 122973143b9aSmrgdone 123073143b9aSmrg 123173143b9aSmrgif test -n "$ac_prev"; then 123273143b9aSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1233af928962Smrg as_fn_error $? "missing argument to $ac_option" 123473143b9aSmrgfi 123573143b9aSmrg 1236b53e5eeaSmrgif test -n "$ac_unrecognized_opts"; then 1237b53e5eeaSmrg case $enable_option_checking in 1238b53e5eeaSmrg no) ;; 1239af928962Smrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1240b53e5eeaSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1241b53e5eeaSmrg esac 1242b53e5eeaSmrgfi 1243b53e5eeaSmrg 1244b53e5eeaSmrg# Check all directory arguments for consistency. 124573143b9aSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 124673143b9aSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 124773143b9aSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 124873143b9aSmrg libdir localedir mandir 124973143b9aSmrgdo 125073143b9aSmrg eval ac_val=\$$ac_var 1251b53e5eeaSmrg # Remove trailing slashes. 1252b53e5eeaSmrg case $ac_val in 1253b53e5eeaSmrg */ ) 1254b53e5eeaSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1255b53e5eeaSmrg eval $ac_var=\$ac_val;; 1256b53e5eeaSmrg esac 1257b53e5eeaSmrg # Be sure to have absolute directory names. 125873143b9aSmrg case $ac_val in 125973143b9aSmrg [\\/$]* | ?:[\\/]* ) continue;; 126073143b9aSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 126173143b9aSmrg esac 1262af928962Smrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 126373143b9aSmrgdone 126473143b9aSmrg 126573143b9aSmrg# There might be people who depend on the old broken behavior: `$host' 126673143b9aSmrg# used to hold the argument of --host etc. 126773143b9aSmrg# FIXME: To remove some day. 126873143b9aSmrgbuild=$build_alias 126973143b9aSmrghost=$host_alias 127073143b9aSmrgtarget=$target_alias 127173143b9aSmrg 127273143b9aSmrg# FIXME: To remove some day. 127373143b9aSmrgif test "x$host_alias" != x; then 127473143b9aSmrg if test "x$build_alias" = x; then 127573143b9aSmrg cross_compiling=maybe 1276af928962Smrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1277af928962Smrg If a cross compiler is detected then cross compile mode will be used" >&2 127873143b9aSmrg elif test "x$build_alias" != "x$host_alias"; then 127973143b9aSmrg cross_compiling=yes 128073143b9aSmrg fi 128173143b9aSmrgfi 128273143b9aSmrg 128373143b9aSmrgac_tool_prefix= 128473143b9aSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 128573143b9aSmrg 128673143b9aSmrgtest "$silent" = yes && exec 6>/dev/null 128773143b9aSmrg 128873143b9aSmrg 128973143b9aSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 129073143b9aSmrgac_ls_di=`ls -di .` && 129173143b9aSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1292af928962Smrg as_fn_error $? "working directory cannot be determined" 129373143b9aSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1294af928962Smrg as_fn_error $? "pwd does not report name of working directory" 129573143b9aSmrg 129673143b9aSmrg 129773143b9aSmrg# Find the source files, if location was not specified. 129873143b9aSmrgif test -z "$srcdir"; then 129973143b9aSmrg ac_srcdir_defaulted=yes 130073143b9aSmrg # Try the directory containing this script, then the parent directory. 1301b53e5eeaSmrg ac_confdir=`$as_dirname -- "$as_myself" || 1302b53e5eeaSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1303b53e5eeaSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 1304b53e5eeaSmrg X"$as_myself" : 'X\(//\)$' \| \ 1305b53e5eeaSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1306b53e5eeaSmrg$as_echo X"$as_myself" | 130773143b9aSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 130873143b9aSmrg s//\1/ 130973143b9aSmrg q 131073143b9aSmrg } 131173143b9aSmrg /^X\(\/\/\)[^/].*/{ 131273143b9aSmrg s//\1/ 131373143b9aSmrg q 131473143b9aSmrg } 131573143b9aSmrg /^X\(\/\/\)$/{ 131673143b9aSmrg s//\1/ 131773143b9aSmrg q 131873143b9aSmrg } 131973143b9aSmrg /^X\(\/\).*/{ 132073143b9aSmrg s//\1/ 132173143b9aSmrg q 132273143b9aSmrg } 132373143b9aSmrg s/.*/./; q'` 132473143b9aSmrg srcdir=$ac_confdir 132573143b9aSmrg if test ! -r "$srcdir/$ac_unique_file"; then 132673143b9aSmrg srcdir=.. 132773143b9aSmrg fi 132873143b9aSmrgelse 132973143b9aSmrg ac_srcdir_defaulted=no 133073143b9aSmrgfi 133173143b9aSmrgif test ! -r "$srcdir/$ac_unique_file"; then 133273143b9aSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1333af928962Smrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 133473143b9aSmrgfi 133573143b9aSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 133673143b9aSmrgac_abs_confdir=`( 1337af928962Smrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 133873143b9aSmrg pwd)` 133973143b9aSmrg# When building in place, set srcdir=. 134073143b9aSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 134173143b9aSmrg srcdir=. 134273143b9aSmrgfi 134373143b9aSmrg# Remove unnecessary trailing slashes from srcdir. 134473143b9aSmrg# Double slashes in file names in object file debugging info 134573143b9aSmrg# mess up M-x gdb in Emacs. 134673143b9aSmrgcase $srcdir in 134773143b9aSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 134873143b9aSmrgesac 134973143b9aSmrgfor ac_var in $ac_precious_vars; do 135073143b9aSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 135173143b9aSmrg eval ac_env_${ac_var}_value=\$${ac_var} 135273143b9aSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 135373143b9aSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 135473143b9aSmrgdone 135573143b9aSmrg 135673143b9aSmrg# 135773143b9aSmrg# Report the --help message. 135873143b9aSmrg# 135973143b9aSmrgif test "$ac_init_help" = "long"; then 136073143b9aSmrg # Omit some internal or obsolete options to make the list less imposing. 136173143b9aSmrg # This message is too long to be a string in the A/UX 3.1 sh. 136273143b9aSmrg cat <<_ACEOF 1363af928962Smrg\`configure' configures xtrans 1.2.6 to adapt to many kinds of systems. 136473143b9aSmrg 136573143b9aSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 136673143b9aSmrg 136773143b9aSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 136873143b9aSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 136973143b9aSmrg 137073143b9aSmrgDefaults for the options are specified in brackets. 137173143b9aSmrg 137273143b9aSmrgConfiguration: 137373143b9aSmrg -h, --help display this help and exit 137473143b9aSmrg --help=short display options specific to this package 137573143b9aSmrg --help=recursive display the short help of all the included packages 137673143b9aSmrg -V, --version display version information and exit 1377af928962Smrg -q, --quiet, --silent do not print \`checking ...' messages 137873143b9aSmrg --cache-file=FILE cache test results in FILE [disabled] 137973143b9aSmrg -C, --config-cache alias for \`--cache-file=config.cache' 138073143b9aSmrg -n, --no-create do not create output files 138173143b9aSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 138273143b9aSmrg 138373143b9aSmrgInstallation directories: 138473143b9aSmrg --prefix=PREFIX install architecture-independent files in PREFIX 1385b53e5eeaSmrg [$ac_default_prefix] 138673143b9aSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1387b53e5eeaSmrg [PREFIX] 138873143b9aSmrg 138973143b9aSmrgBy default, \`make install' will install all the files in 139073143b9aSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 139173143b9aSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 139273143b9aSmrgfor instance \`--prefix=\$HOME'. 139373143b9aSmrg 139473143b9aSmrgFor better control, use the options below. 139573143b9aSmrg 139673143b9aSmrgFine tuning of the installation directories: 1397b53e5eeaSmrg --bindir=DIR user executables [EPREFIX/bin] 1398b53e5eeaSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 1399b53e5eeaSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 1400b53e5eeaSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1401b53e5eeaSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1402b53e5eeaSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1403b53e5eeaSmrg --libdir=DIR object code libraries [EPREFIX/lib] 1404b53e5eeaSmrg --includedir=DIR C header files [PREFIX/include] 1405b53e5eeaSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 1406b53e5eeaSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1407b53e5eeaSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1408b53e5eeaSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 1409b53e5eeaSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1410b53e5eeaSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 1411b53e5eeaSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/xtrans] 1412b53e5eeaSmrg --htmldir=DIR html documentation [DOCDIR] 1413b53e5eeaSmrg --dvidir=DIR dvi documentation [DOCDIR] 1414b53e5eeaSmrg --pdfdir=DIR pdf documentation [DOCDIR] 1415b53e5eeaSmrg --psdir=DIR ps documentation [DOCDIR] 141673143b9aSmrg_ACEOF 141773143b9aSmrg 141873143b9aSmrg cat <<\_ACEOF 141973143b9aSmrg 142073143b9aSmrgProgram names: 142173143b9aSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 142273143b9aSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 142373143b9aSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1424b53e5eeaSmrg 1425b53e5eeaSmrgSystem types: 1426b53e5eeaSmrg --build=BUILD configure for building on BUILD [guessed] 1427b53e5eeaSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 142873143b9aSmrg_ACEOF 142973143b9aSmrgfi 143073143b9aSmrg 143173143b9aSmrgif test -n "$ac_init_help"; then 143273143b9aSmrg case $ac_init_help in 1433af928962Smrg short | recursive ) echo "Configuration of xtrans 1.2.6:";; 143473143b9aSmrg esac 143573143b9aSmrg cat <<\_ACEOF 143673143b9aSmrg 143773143b9aSmrgOptional Features: 1438b53e5eeaSmrg --disable-option-checking ignore unrecognized --enable/--with options 143973143b9aSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 144073143b9aSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 144173143b9aSmrg --enable-maintainer-mode enable make rules and dependencies not useful 144273143b9aSmrg (and sometimes confusing) to the casual installer 144373143b9aSmrg --disable-dependency-tracking speeds up one-time build 144473143b9aSmrg --enable-dependency-tracking do not reject slow dependency extractors 1445b53e5eeaSmrg --enable-strict-compilation 1446b53e5eeaSmrg Enable all warnings from compiler and make them 1447b53e5eeaSmrg errors (default: disabled) 1448af928962Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 1449af928962Smrg --disable-silent-rules verbose build output (undo: `make V=0') 1450af928962Smrg --enable-docs Enable building the documentation (yes: yes) 145173143b9aSmrg 145273143b9aSmrgOptional Packages: 145373143b9aSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 145473143b9aSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1455af928962Smrg --with-xmlto Use xmlto to regenerate documentation (default: 1456af928962Smrg auto) 1457af928962Smrg --with-fop Use fop to regenerate documentation (default: auto) 145873143b9aSmrg 145973143b9aSmrgSome influential environment variables: 146073143b9aSmrg CC C compiler command 146173143b9aSmrg CFLAGS C compiler flags 146273143b9aSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 146373143b9aSmrg nonstandard directory <lib dir> 146473143b9aSmrg LIBS libraries to pass to the linker, e.g. -l<library> 1465af928962Smrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 146673143b9aSmrg you have headers in a nonstandard directory <include dir> 1467b53e5eeaSmrg CPP C preprocessor 1468af928962Smrg PKG_CONFIG path to pkg-config utility 1469af928962Smrg XMLTO Path to xmlto command 1470af928962Smrg FOP Path to fop command 147173143b9aSmrg 147273143b9aSmrgUse these variables to override the choices made by `configure' or to help 147373143b9aSmrgit to find libraries and programs with nonstandard names/locations. 147473143b9aSmrg 147573143b9aSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 147673143b9aSmrg_ACEOF 147773143b9aSmrgac_status=$? 147873143b9aSmrgfi 147973143b9aSmrg 148073143b9aSmrgif test "$ac_init_help" = "recursive"; then 148173143b9aSmrg # If there are subdirs, report their specific --help. 148273143b9aSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1483b53e5eeaSmrg test -d "$ac_dir" || 1484b53e5eeaSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1485b53e5eeaSmrg continue 148673143b9aSmrg ac_builddir=. 148773143b9aSmrg 148873143b9aSmrgcase "$ac_dir" in 148973143b9aSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 149073143b9aSmrg*) 1491b53e5eeaSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 149273143b9aSmrg # A ".." for each directory in $ac_dir_suffix. 1493b53e5eeaSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 149473143b9aSmrg case $ac_top_builddir_sub in 149573143b9aSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 149673143b9aSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 149773143b9aSmrg esac ;; 149873143b9aSmrgesac 149973143b9aSmrgac_abs_top_builddir=$ac_pwd 150073143b9aSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 150173143b9aSmrg# for backward compatibility: 150273143b9aSmrgac_top_builddir=$ac_top_build_prefix 150373143b9aSmrg 150473143b9aSmrgcase $srcdir in 150573143b9aSmrg .) # We are building in place. 150673143b9aSmrg ac_srcdir=. 150773143b9aSmrg ac_top_srcdir=$ac_top_builddir_sub 150873143b9aSmrg ac_abs_top_srcdir=$ac_pwd ;; 150973143b9aSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 151073143b9aSmrg ac_srcdir=$srcdir$ac_dir_suffix; 151173143b9aSmrg ac_top_srcdir=$srcdir 151273143b9aSmrg ac_abs_top_srcdir=$srcdir ;; 151373143b9aSmrg *) # Relative name. 151473143b9aSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 151573143b9aSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 151673143b9aSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 151773143b9aSmrgesac 151873143b9aSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 151973143b9aSmrg 152073143b9aSmrg cd "$ac_dir" || { ac_status=$?; continue; } 152173143b9aSmrg # Check for guested configure. 152273143b9aSmrg if test -f "$ac_srcdir/configure.gnu"; then 152373143b9aSmrg echo && 152473143b9aSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 152573143b9aSmrg elif test -f "$ac_srcdir/configure"; then 152673143b9aSmrg echo && 152773143b9aSmrg $SHELL "$ac_srcdir/configure" --help=recursive 152873143b9aSmrg else 1529b53e5eeaSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 153073143b9aSmrg fi || ac_status=$? 153173143b9aSmrg cd "$ac_pwd" || { ac_status=$?; break; } 153273143b9aSmrg done 153373143b9aSmrgfi 153473143b9aSmrg 153573143b9aSmrgtest -n "$ac_init_help" && exit $ac_status 153673143b9aSmrgif $ac_init_version; then 153773143b9aSmrg cat <<\_ACEOF 1538af928962Smrgxtrans configure 1.2.6 1539af928962Smrggenerated by GNU Autoconf 2.68 154073143b9aSmrg 1541af928962SmrgCopyright (C) 2010 Free Software Foundation, Inc. 154273143b9aSmrgThis configure script is free software; the Free Software Foundation 154373143b9aSmrggives unlimited permission to copy, distribute and modify it. 154473143b9aSmrg_ACEOF 154573143b9aSmrg exit 154673143b9aSmrgfi 154773143b9aSmrg 1548af928962Smrg## ------------------------ ## 1549af928962Smrg## Autoconf initialization. ## 1550af928962Smrg## ------------------------ ## 155173143b9aSmrg 1552af928962Smrg# ac_fn_c_try_compile LINENO 1553af928962Smrg# -------------------------- 1554af928962Smrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 1555af928962Smrgac_fn_c_try_compile () 155673143b9aSmrg{ 1557af928962Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1558af928962Smrg rm -f conftest.$ac_objext 1559af928962Smrg if { { ac_try="$ac_compile" 1560af928962Smrgcase "(($ac_try" in 1561af928962Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1562af928962Smrg *) ac_try_echo=$ac_try;; 1563af928962Smrgesac 1564af928962Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1565af928962Smrg$as_echo "$ac_try_echo"; } >&5 1566af928962Smrg (eval "$ac_compile") 2>conftest.err 1567af928962Smrg ac_status=$? 1568af928962Smrg if test -s conftest.err; then 1569af928962Smrg grep -v '^ *+' conftest.err >conftest.er1 1570af928962Smrg cat conftest.er1 >&5 1571af928962Smrg mv -f conftest.er1 conftest.err 1572af928962Smrg fi 1573af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1574af928962Smrg test $ac_status = 0; } && { 1575af928962Smrg test -z "$ac_c_werror_flag" || 1576af928962Smrg test ! -s conftest.err 1577af928962Smrg } && test -s conftest.$ac_objext; then : 1578af928962Smrg ac_retval=0 1579af928962Smrgelse 1580af928962Smrg $as_echo "$as_me: failed program was:" >&5 1581af928962Smrgsed 's/^/| /' conftest.$ac_ext >&5 158273143b9aSmrg 1583af928962Smrg ac_retval=1 1584af928962Smrgfi 1585af928962Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1586af928962Smrg as_fn_set_status $ac_retval 158773143b9aSmrg 1588af928962Smrg} # ac_fn_c_try_compile 158973143b9aSmrg 1590af928962Smrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1591af928962Smrg# --------------------------------------------- 1592af928962Smrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1593af928962Smrg# accordingly. 1594af928962Smrgac_fn_c_check_decl () 1595af928962Smrg{ 1596af928962Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1597af928962Smrg as_decl_name=`echo $2|sed 's/ *(.*//'` 1598af928962Smrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1599af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1600af928962Smrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1601af928962Smrgif eval \${$3+:} false; then : 1602af928962Smrg $as_echo_n "(cached) " >&6 1603af928962Smrgelse 1604af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1605af928962Smrg/* end confdefs.h. */ 1606af928962Smrg$4 1607af928962Smrgint 1608af928962Smrgmain () 1609af928962Smrg{ 1610af928962Smrg#ifndef $as_decl_name 1611af928962Smrg#ifdef __cplusplus 1612af928962Smrg (void) $as_decl_use; 1613af928962Smrg#else 1614af928962Smrg (void) $as_decl_name; 1615af928962Smrg#endif 1616af928962Smrg#endif 1617af928962Smrg 1618af928962Smrg ; 1619af928962Smrg return 0; 1620af928962Smrg} 1621af928962Smrg_ACEOF 1622af928962Smrgif ac_fn_c_try_compile "$LINENO"; then : 1623af928962Smrg eval "$3=yes" 1624af928962Smrgelse 1625af928962Smrg eval "$3=no" 1626af928962Smrgfi 1627af928962Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1628af928962Smrgfi 1629af928962Smrgeval ac_res=\$$3 1630af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1631af928962Smrg$as_echo "$ac_res" >&6; } 1632af928962Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1633af928962Smrg 1634af928962Smrg} # ac_fn_c_check_decl 1635af928962Smrg 1636af928962Smrg# ac_fn_c_try_cpp LINENO 1637af928962Smrg# ---------------------- 1638af928962Smrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1639af928962Smrgac_fn_c_try_cpp () 1640af928962Smrg{ 1641af928962Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1642af928962Smrg if { { ac_try="$ac_cpp conftest.$ac_ext" 1643af928962Smrgcase "(($ac_try" in 1644af928962Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1645af928962Smrg *) ac_try_echo=$ac_try;; 1646af928962Smrgesac 1647af928962Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1648af928962Smrg$as_echo "$ac_try_echo"; } >&5 1649af928962Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1650af928962Smrg ac_status=$? 1651af928962Smrg if test -s conftest.err; then 1652af928962Smrg grep -v '^ *+' conftest.err >conftest.er1 1653af928962Smrg cat conftest.er1 >&5 1654af928962Smrg mv -f conftest.er1 conftest.err 1655af928962Smrg fi 1656af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1657af928962Smrg test $ac_status = 0; } > conftest.i && { 1658af928962Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1659af928962Smrg test ! -s conftest.err 1660af928962Smrg }; then : 1661af928962Smrg ac_retval=0 1662af928962Smrgelse 1663af928962Smrg $as_echo "$as_me: failed program was:" >&5 1664af928962Smrgsed 's/^/| /' conftest.$ac_ext >&5 1665af928962Smrg 1666af928962Smrg ac_retval=1 1667af928962Smrgfi 1668af928962Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1669af928962Smrg as_fn_set_status $ac_retval 1670af928962Smrg 1671af928962Smrg} # ac_fn_c_try_cpp 1672af928962Smrg 1673af928962Smrg# ac_fn_c_try_run LINENO 1674af928962Smrg# ---------------------- 1675af928962Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1676af928962Smrg# that executables *can* be run. 1677af928962Smrgac_fn_c_try_run () 1678af928962Smrg{ 1679af928962Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1680af928962Smrg if { { ac_try="$ac_link" 1681af928962Smrgcase "(($ac_try" in 1682af928962Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1683af928962Smrg *) ac_try_echo=$ac_try;; 1684af928962Smrgesac 1685af928962Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1686af928962Smrg$as_echo "$ac_try_echo"; } >&5 1687af928962Smrg (eval "$ac_link") 2>&5 1688af928962Smrg ac_status=$? 1689af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1690af928962Smrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1691af928962Smrg { { case "(($ac_try" in 1692af928962Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1693af928962Smrg *) ac_try_echo=$ac_try;; 1694af928962Smrgesac 1695af928962Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1696af928962Smrg$as_echo "$ac_try_echo"; } >&5 1697af928962Smrg (eval "$ac_try") 2>&5 1698af928962Smrg ac_status=$? 1699af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1700af928962Smrg test $ac_status = 0; }; }; then : 1701af928962Smrg ac_retval=0 1702af928962Smrgelse 1703af928962Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 1704af928962Smrg $as_echo "$as_me: failed program was:" >&5 1705af928962Smrgsed 's/^/| /' conftest.$ac_ext >&5 1706af928962Smrg 1707af928962Smrg ac_retval=$ac_status 1708af928962Smrgfi 1709af928962Smrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1710af928962Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1711af928962Smrg as_fn_set_status $ac_retval 1712af928962Smrg 1713af928962Smrg} # ac_fn_c_try_run 1714af928962Smrg 1715af928962Smrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1716af928962Smrg# ------------------------------------------------------- 1717af928962Smrg# Tests whether HEADER exists and can be compiled using the include files in 1718af928962Smrg# INCLUDES, setting the cache variable VAR accordingly. 1719af928962Smrgac_fn_c_check_header_compile () 1720af928962Smrg{ 1721af928962Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1722af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1723af928962Smrg$as_echo_n "checking for $2... " >&6; } 1724af928962Smrgif eval \${$3+:} false; then : 1725af928962Smrg $as_echo_n "(cached) " >&6 1726af928962Smrgelse 1727af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1728af928962Smrg/* end confdefs.h. */ 1729af928962Smrg$4 1730af928962Smrg#include <$2> 1731af928962Smrg_ACEOF 1732af928962Smrgif ac_fn_c_try_compile "$LINENO"; then : 1733af928962Smrg eval "$3=yes" 1734af928962Smrgelse 1735af928962Smrg eval "$3=no" 1736af928962Smrgfi 1737af928962Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1738af928962Smrgfi 1739af928962Smrgeval ac_res=\$$3 1740af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1741af928962Smrg$as_echo "$ac_res" >&6; } 1742af928962Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1743af928962Smrg 1744af928962Smrg} # ac_fn_c_check_header_compile 1745af928962Smrg 1746af928962Smrg# ac_fn_c_try_link LINENO 1747af928962Smrg# ----------------------- 1748af928962Smrg# Try to link conftest.$ac_ext, and return whether this succeeded. 1749af928962Smrgac_fn_c_try_link () 1750af928962Smrg{ 1751af928962Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1752af928962Smrg rm -f conftest.$ac_objext conftest$ac_exeext 1753af928962Smrg if { { ac_try="$ac_link" 1754af928962Smrgcase "(($ac_try" in 1755af928962Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1756af928962Smrg *) ac_try_echo=$ac_try;; 1757af928962Smrgesac 1758af928962Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1759af928962Smrg$as_echo "$ac_try_echo"; } >&5 1760af928962Smrg (eval "$ac_link") 2>conftest.err 1761af928962Smrg ac_status=$? 1762af928962Smrg if test -s conftest.err; then 1763af928962Smrg grep -v '^ *+' conftest.err >conftest.er1 1764af928962Smrg cat conftest.er1 >&5 1765af928962Smrg mv -f conftest.er1 conftest.err 1766af928962Smrg fi 1767af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1768af928962Smrg test $ac_status = 0; } && { 1769af928962Smrg test -z "$ac_c_werror_flag" || 1770af928962Smrg test ! -s conftest.err 1771af928962Smrg } && test -s conftest$ac_exeext && { 1772af928962Smrg test "$cross_compiling" = yes || 1773af928962Smrg $as_test_x conftest$ac_exeext 1774af928962Smrg }; then : 1775af928962Smrg ac_retval=0 1776af928962Smrgelse 1777af928962Smrg $as_echo "$as_me: failed program was:" >&5 1778af928962Smrgsed 's/^/| /' conftest.$ac_ext >&5 1779af928962Smrg 1780af928962Smrg ac_retval=1 1781af928962Smrgfi 1782af928962Smrg # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1783af928962Smrg # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1784af928962Smrg # interfere with the next link command; also delete a directory that is 1785af928962Smrg # left behind by Apple's compiler. We do this before executing the actions. 1786af928962Smrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1787af928962Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1788af928962Smrg as_fn_set_status $ac_retval 1789af928962Smrg 1790af928962Smrg} # ac_fn_c_try_link 1791af928962Smrg 1792af928962Smrg# ac_fn_c_check_func LINENO FUNC VAR 1793af928962Smrg# ---------------------------------- 1794af928962Smrg# Tests whether FUNC exists, setting the cache variable VAR accordingly 1795af928962Smrgac_fn_c_check_func () 1796af928962Smrg{ 1797af928962Smrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1798af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1799af928962Smrg$as_echo_n "checking for $2... " >&6; } 1800af928962Smrgif eval \${$3+:} false; then : 1801af928962Smrg $as_echo_n "(cached) " >&6 1802af928962Smrgelse 1803af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1804af928962Smrg/* end confdefs.h. */ 1805af928962Smrg/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1806af928962Smrg For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1807af928962Smrg#define $2 innocuous_$2 1808af928962Smrg 1809af928962Smrg/* System header to define __stub macros and hopefully few prototypes, 1810af928962Smrg which can conflict with char $2 (); below. 1811af928962Smrg Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1812af928962Smrg <limits.h> exists even on freestanding compilers. */ 1813af928962Smrg 1814af928962Smrg#ifdef __STDC__ 1815af928962Smrg# include <limits.h> 1816af928962Smrg#else 1817af928962Smrg# include <assert.h> 1818af928962Smrg#endif 1819af928962Smrg 1820af928962Smrg#undef $2 1821af928962Smrg 1822af928962Smrg/* Override any GCC internal prototype to avoid an error. 1823af928962Smrg Use char because int might match the return type of a GCC 1824af928962Smrg builtin and then its argument prototype would still apply. */ 1825af928962Smrg#ifdef __cplusplus 1826af928962Smrgextern "C" 1827af928962Smrg#endif 1828af928962Smrgchar $2 (); 1829af928962Smrg/* The GNU C library defines this for functions which it implements 1830af928962Smrg to always fail with ENOSYS. Some functions are actually named 1831af928962Smrg something starting with __ and the normal name is an alias. */ 1832af928962Smrg#if defined __stub_$2 || defined __stub___$2 1833af928962Smrgchoke me 1834af928962Smrg#endif 1835af928962Smrg 1836af928962Smrgint 1837af928962Smrgmain () 1838af928962Smrg{ 1839af928962Smrgreturn $2 (); 1840af928962Smrg ; 1841af928962Smrg return 0; 1842af928962Smrg} 1843af928962Smrg_ACEOF 1844af928962Smrgif ac_fn_c_try_link "$LINENO"; then : 1845af928962Smrg eval "$3=yes" 1846af928962Smrgelse 1847af928962Smrg eval "$3=no" 1848af928962Smrgfi 1849af928962Smrgrm -f core conftest.err conftest.$ac_objext \ 1850af928962Smrg conftest$ac_exeext conftest.$ac_ext 1851af928962Smrgfi 1852af928962Smrgeval ac_res=\$$3 1853af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1854af928962Smrg$as_echo "$ac_res" >&6; } 1855af928962Smrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1856af928962Smrg 1857af928962Smrg} # ac_fn_c_check_func 1858af928962Smrgcat >config.log <<_ACEOF 1859af928962SmrgThis file contains any messages produced by compilers while 1860af928962Smrgrunning configure, to aid debugging if configure makes a mistake. 1861af928962Smrg 1862af928962SmrgIt was created by xtrans $as_me 1.2.6, which was 1863af928962Smrggenerated by GNU Autoconf 2.68. Invocation command line was 1864af928962Smrg 1865af928962Smrg $ $0 $@ 1866af928962Smrg 1867af928962Smrg_ACEOF 1868af928962Smrgexec 5>>config.log 1869af928962Smrg{ 1870af928962Smrgcat <<_ASUNAME 1871af928962Smrg## --------- ## 1872af928962Smrg## Platform. ## 1873af928962Smrg## --------- ## 1874af928962Smrg 1875af928962Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1876af928962Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1877af928962Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1878af928962Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1879af928962Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1880af928962Smrg 1881af928962Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1882af928962Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1883af928962Smrg 1884af928962Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1885af928962Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1886af928962Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1887af928962Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1888af928962Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1889af928962Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1890af928962Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 189173143b9aSmrg 189273143b9aSmrg_ASUNAME 189373143b9aSmrg 189473143b9aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 189573143b9aSmrgfor as_dir in $PATH 189673143b9aSmrgdo 189773143b9aSmrg IFS=$as_save_IFS 189873143b9aSmrg test -z "$as_dir" && as_dir=. 1899af928962Smrg $as_echo "PATH: $as_dir" 1900af928962Smrg done 190173143b9aSmrgIFS=$as_save_IFS 190273143b9aSmrg 190373143b9aSmrg} >&5 190473143b9aSmrg 190573143b9aSmrgcat >&5 <<_ACEOF 190673143b9aSmrg 190773143b9aSmrg 190873143b9aSmrg## ----------- ## 190973143b9aSmrg## Core tests. ## 191073143b9aSmrg## ----------- ## 191173143b9aSmrg 191273143b9aSmrg_ACEOF 191373143b9aSmrg 191473143b9aSmrg 191573143b9aSmrg# Keep a trace of the command line. 191673143b9aSmrg# Strip out --no-create and --no-recursion so they do not pile up. 191773143b9aSmrg# Strip out --silent because we don't want to record it for future runs. 191873143b9aSmrg# Also quote any args containing shell meta-characters. 191973143b9aSmrg# Make two passes to allow for proper duplicate-argument suppression. 192073143b9aSmrgac_configure_args= 192173143b9aSmrgac_configure_args0= 192273143b9aSmrgac_configure_args1= 192373143b9aSmrgac_must_keep_next=false 192473143b9aSmrgfor ac_pass in 1 2 192573143b9aSmrgdo 192673143b9aSmrg for ac_arg 192773143b9aSmrg do 192873143b9aSmrg case $ac_arg in 192973143b9aSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 193073143b9aSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 193173143b9aSmrg | -silent | --silent | --silen | --sile | --sil) 193273143b9aSmrg continue ;; 193373143b9aSmrg *\'*) 1934b53e5eeaSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 193573143b9aSmrg esac 193673143b9aSmrg case $ac_pass in 1937af928962Smrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 193873143b9aSmrg 2) 1939af928962Smrg as_fn_append ac_configure_args1 " '$ac_arg'" 194073143b9aSmrg if test $ac_must_keep_next = true; then 194173143b9aSmrg ac_must_keep_next=false # Got value, back to normal. 194273143b9aSmrg else 194373143b9aSmrg case $ac_arg in 194473143b9aSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 194573143b9aSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 194673143b9aSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 194773143b9aSmrg | -with-* | --with-* | -without-* | --without-* | --x) 194873143b9aSmrg case "$ac_configure_args0 " in 194973143b9aSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 195073143b9aSmrg esac 195173143b9aSmrg ;; 195273143b9aSmrg -* ) ac_must_keep_next=true ;; 195373143b9aSmrg esac 195473143b9aSmrg fi 1955af928962Smrg as_fn_append ac_configure_args " '$ac_arg'" 195673143b9aSmrg ;; 195773143b9aSmrg esac 195873143b9aSmrg done 195973143b9aSmrgdone 1960af928962Smrg{ ac_configure_args0=; unset ac_configure_args0;} 1961af928962Smrg{ ac_configure_args1=; unset ac_configure_args1;} 196273143b9aSmrg 196373143b9aSmrg# When interrupted or exit'd, cleanup temporary files, and complete 196473143b9aSmrg# config.log. We remove comments because anyway the quotes in there 196573143b9aSmrg# would cause problems or look ugly. 196673143b9aSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 196773143b9aSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 196873143b9aSmrgtrap 'exit_status=$? 196973143b9aSmrg # Save into config.log some information that might help in debugging. 197073143b9aSmrg { 197173143b9aSmrg echo 197273143b9aSmrg 1973af928962Smrg $as_echo "## ---------------- ## 197473143b9aSmrg## Cache variables. ## 1975af928962Smrg## ---------------- ##" 197673143b9aSmrg echo 197773143b9aSmrg # The following way of writing the cache mishandles newlines in values, 197873143b9aSmrg( 197973143b9aSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 198073143b9aSmrg eval ac_val=\$$ac_var 198173143b9aSmrg case $ac_val in #( 198273143b9aSmrg *${as_nl}*) 198373143b9aSmrg case $ac_var in #( 1984af928962Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1985b53e5eeaSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 198673143b9aSmrg esac 198773143b9aSmrg case $ac_var in #( 198873143b9aSmrg _ | IFS | as_nl) ;; #( 1989b53e5eeaSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1990af928962Smrg *) { eval $ac_var=; unset $ac_var;} ;; 199173143b9aSmrg esac ;; 199273143b9aSmrg esac 199373143b9aSmrg done 199473143b9aSmrg (set) 2>&1 | 199573143b9aSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 199673143b9aSmrg *${as_nl}ac_space=\ *) 199773143b9aSmrg sed -n \ 199873143b9aSmrg "s/'\''/'\''\\\\'\'''\''/g; 199973143b9aSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 200073143b9aSmrg ;; #( 200173143b9aSmrg *) 200273143b9aSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 200373143b9aSmrg ;; 200473143b9aSmrg esac | 200573143b9aSmrg sort 200673143b9aSmrg) 200773143b9aSmrg echo 200873143b9aSmrg 2009af928962Smrg $as_echo "## ----------------- ## 201073143b9aSmrg## Output variables. ## 2011af928962Smrg## ----------------- ##" 201273143b9aSmrg echo 201373143b9aSmrg for ac_var in $ac_subst_vars 201473143b9aSmrg do 201573143b9aSmrg eval ac_val=\$$ac_var 201673143b9aSmrg case $ac_val in 2017b53e5eeaSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 201873143b9aSmrg esac 2019b53e5eeaSmrg $as_echo "$ac_var='\''$ac_val'\''" 202073143b9aSmrg done | sort 202173143b9aSmrg echo 202273143b9aSmrg 202373143b9aSmrg if test -n "$ac_subst_files"; then 2024af928962Smrg $as_echo "## ------------------- ## 202573143b9aSmrg## File substitutions. ## 2026af928962Smrg## ------------------- ##" 202773143b9aSmrg echo 202873143b9aSmrg for ac_var in $ac_subst_files 202973143b9aSmrg do 203073143b9aSmrg eval ac_val=\$$ac_var 203173143b9aSmrg case $ac_val in 2032b53e5eeaSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 203373143b9aSmrg esac 2034b53e5eeaSmrg $as_echo "$ac_var='\''$ac_val'\''" 203573143b9aSmrg done | sort 203673143b9aSmrg echo 203773143b9aSmrg fi 203873143b9aSmrg 203973143b9aSmrg if test -s confdefs.h; then 2040af928962Smrg $as_echo "## ----------- ## 204173143b9aSmrg## confdefs.h. ## 2042af928962Smrg## ----------- ##" 204373143b9aSmrg echo 204473143b9aSmrg cat confdefs.h 204573143b9aSmrg echo 204673143b9aSmrg fi 204773143b9aSmrg test "$ac_signal" != 0 && 2048b53e5eeaSmrg $as_echo "$as_me: caught signal $ac_signal" 2049b53e5eeaSmrg $as_echo "$as_me: exit $exit_status" 205073143b9aSmrg } >&5 205173143b9aSmrg rm -f core *.core core.conftest.* && 205273143b9aSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 205373143b9aSmrg exit $exit_status 205473143b9aSmrg' 0 205573143b9aSmrgfor ac_signal in 1 2 13 15; do 2056af928962Smrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 205773143b9aSmrgdone 205873143b9aSmrgac_signal=0 205973143b9aSmrg 206073143b9aSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 206173143b9aSmrgrm -f -r conftest* confdefs.h 206273143b9aSmrg 2063af928962Smrg$as_echo "/* confdefs.h */" > confdefs.h 2064af928962Smrg 206573143b9aSmrg# Predefined preprocessor variables. 206673143b9aSmrg 206773143b9aSmrgcat >>confdefs.h <<_ACEOF 206873143b9aSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 206973143b9aSmrg_ACEOF 207073143b9aSmrg 207173143b9aSmrgcat >>confdefs.h <<_ACEOF 207273143b9aSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 207373143b9aSmrg_ACEOF 207473143b9aSmrg 207573143b9aSmrgcat >>confdefs.h <<_ACEOF 207673143b9aSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 207773143b9aSmrg_ACEOF 207873143b9aSmrg 207973143b9aSmrgcat >>confdefs.h <<_ACEOF 208073143b9aSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 208173143b9aSmrg_ACEOF 208273143b9aSmrg 208373143b9aSmrgcat >>confdefs.h <<_ACEOF 208473143b9aSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 208573143b9aSmrg_ACEOF 208673143b9aSmrg 2087af928962Smrgcat >>confdefs.h <<_ACEOF 2088af928962Smrg#define PACKAGE_URL "$PACKAGE_URL" 2089af928962Smrg_ACEOF 2090af928962Smrg 209173143b9aSmrg 209273143b9aSmrg# Let the site file select an alternate cache file if it wants to. 2093b53e5eeaSmrg# Prefer an explicitly selected file to automatically selected ones. 2094b53e5eeaSmrgac_site_file1=NONE 2095b53e5eeaSmrgac_site_file2=NONE 209673143b9aSmrgif test -n "$CONFIG_SITE"; then 2097af928962Smrg # We do not want a PATH search for config.site. 2098af928962Smrg case $CONFIG_SITE in #(( 2099af928962Smrg -*) ac_site_file1=./$CONFIG_SITE;; 2100af928962Smrg */*) ac_site_file1=$CONFIG_SITE;; 2101af928962Smrg *) ac_site_file1=./$CONFIG_SITE;; 2102af928962Smrg esac 210373143b9aSmrgelif test "x$prefix" != xNONE; then 2104b53e5eeaSmrg ac_site_file1=$prefix/share/config.site 2105b53e5eeaSmrg ac_site_file2=$prefix/etc/config.site 210673143b9aSmrgelse 2107b53e5eeaSmrg ac_site_file1=$ac_default_prefix/share/config.site 2108b53e5eeaSmrg ac_site_file2=$ac_default_prefix/etc/config.site 210973143b9aSmrgfi 2110b53e5eeaSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 211173143b9aSmrgdo 2112b53e5eeaSmrg test "x$ac_site_file" = xNONE && continue 2113af928962Smrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2114af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2115b53e5eeaSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 211673143b9aSmrg sed 's/^/| /' "$ac_site_file" >&5 2117af928962Smrg . "$ac_site_file" \ 2118af928962Smrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2119af928962Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2120af928962Smrgas_fn_error $? "failed to load site script $ac_site_file 2121af928962SmrgSee \`config.log' for more details" "$LINENO" 5; } 212273143b9aSmrg fi 212373143b9aSmrgdone 212473143b9aSmrg 212573143b9aSmrgif test -r "$cache_file"; then 2126af928962Smrg # Some versions of bash will fail to source /dev/null (special files 2127af928962Smrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2128af928962Smrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2129af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2130b53e5eeaSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 213173143b9aSmrg case $cache_file in 213273143b9aSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 213373143b9aSmrg *) . "./$cache_file";; 213473143b9aSmrg esac 213573143b9aSmrg fi 213673143b9aSmrgelse 2137af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2138b53e5eeaSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 213973143b9aSmrg >$cache_file 214073143b9aSmrgfi 214173143b9aSmrg 214273143b9aSmrg# Check that the precious variables saved in the cache have kept the same 214373143b9aSmrg# value. 214473143b9aSmrgac_cache_corrupted=false 214573143b9aSmrgfor ac_var in $ac_precious_vars; do 214673143b9aSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 214773143b9aSmrg eval ac_new_set=\$ac_env_${ac_var}_set 214873143b9aSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 214973143b9aSmrg eval ac_new_val=\$ac_env_${ac_var}_value 215073143b9aSmrg case $ac_old_set,$ac_new_set in 215173143b9aSmrg set,) 2152af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2153b53e5eeaSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 215473143b9aSmrg ac_cache_corrupted=: ;; 215573143b9aSmrg ,set) 2156af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2157b53e5eeaSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 215873143b9aSmrg ac_cache_corrupted=: ;; 215973143b9aSmrg ,);; 216073143b9aSmrg *) 216173143b9aSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 2162b53e5eeaSmrg # differences in whitespace do not lead to failure. 2163b53e5eeaSmrg ac_old_val_w=`echo x $ac_old_val` 2164b53e5eeaSmrg ac_new_val_w=`echo x $ac_new_val` 2165b53e5eeaSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 2166af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2167b53e5eeaSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2168b53e5eeaSmrg ac_cache_corrupted=: 2169b53e5eeaSmrg else 2170af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2171b53e5eeaSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2172b53e5eeaSmrg eval $ac_var=\$ac_old_val 2173b53e5eeaSmrg fi 2174af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2175b53e5eeaSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2176af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2177b53e5eeaSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 217873143b9aSmrg fi;; 217973143b9aSmrg esac 218073143b9aSmrg # Pass precious variables to config.status. 218173143b9aSmrg if test "$ac_new_set" = set; then 218273143b9aSmrg case $ac_new_val in 2183b53e5eeaSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 218473143b9aSmrg *) ac_arg=$ac_var=$ac_new_val ;; 218573143b9aSmrg esac 218673143b9aSmrg case " $ac_configure_args " in 218773143b9aSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2188af928962Smrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 218973143b9aSmrg esac 219073143b9aSmrg fi 219173143b9aSmrgdone 219273143b9aSmrgif $ac_cache_corrupted; then 2193af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2194b53e5eeaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2195af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2196b53e5eeaSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2197af928962Smrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 219873143b9aSmrgfi 2199af928962Smrg## -------------------- ## 2200af928962Smrg## Main body of script. ## 2201af928962Smrg## -------------------- ## 220273143b9aSmrg 220373143b9aSmrgac_ext=c 220473143b9aSmrgac_cpp='$CPP $CPPFLAGS' 220573143b9aSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 220673143b9aSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 220773143b9aSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 220873143b9aSmrg 220973143b9aSmrg 2210b53e5eeaSmrgam__api_version='1.11' 221173143b9aSmrg 221273143b9aSmrgac_aux_dir= 221373143b9aSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 221473143b9aSmrg if test -f "$ac_dir/install-sh"; then 221573143b9aSmrg ac_aux_dir=$ac_dir 221673143b9aSmrg ac_install_sh="$ac_aux_dir/install-sh -c" 221773143b9aSmrg break 221873143b9aSmrg elif test -f "$ac_dir/install.sh"; then 221973143b9aSmrg ac_aux_dir=$ac_dir 222073143b9aSmrg ac_install_sh="$ac_aux_dir/install.sh -c" 222173143b9aSmrg break 222273143b9aSmrg elif test -f "$ac_dir/shtool"; then 222373143b9aSmrg ac_aux_dir=$ac_dir 222473143b9aSmrg ac_install_sh="$ac_aux_dir/shtool install -c" 222573143b9aSmrg break 222673143b9aSmrg fi 222773143b9aSmrgdone 222873143b9aSmrgif test -z "$ac_aux_dir"; then 2229af928962Smrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 223073143b9aSmrgfi 223173143b9aSmrg 223273143b9aSmrg# These three variables are undocumented and unsupported, 223373143b9aSmrg# and are intended to be withdrawn in a future Autoconf release. 223473143b9aSmrg# They can cause serious problems if a builder's source tree is in a directory 223573143b9aSmrg# whose full name contains unusual characters. 223673143b9aSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 223773143b9aSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 223873143b9aSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 223973143b9aSmrg 224073143b9aSmrg 224173143b9aSmrg# Find a good install program. We prefer a C program (faster), 224273143b9aSmrg# so one script is as good as another. But avoid the broken or 224373143b9aSmrg# incompatible versions: 224473143b9aSmrg# SysV /etc/install, /usr/sbin/install 224573143b9aSmrg# SunOS /usr/etc/install 224673143b9aSmrg# IRIX /sbin/install 224773143b9aSmrg# AIX /bin/install 224873143b9aSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 224973143b9aSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 225073143b9aSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 225173143b9aSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 225273143b9aSmrg# OS/2's system install, which has a completely different semantic 225373143b9aSmrg# ./install, which can be erroneously created by make from ./install.sh. 2254b53e5eeaSmrg# Reject install programs that cannot install multiple files. 2255af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2256b53e5eeaSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 225773143b9aSmrgif test -z "$INSTALL"; then 2258af928962Smrgif ${ac_cv_path_install+:} false; then : 2259b53e5eeaSmrg $as_echo_n "(cached) " >&6 226073143b9aSmrgelse 226173143b9aSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 226273143b9aSmrgfor as_dir in $PATH 226373143b9aSmrgdo 226473143b9aSmrg IFS=$as_save_IFS 226573143b9aSmrg test -z "$as_dir" && as_dir=. 2266af928962Smrg # Account for people who put trailing slashes in PATH elements. 2267af928962Smrgcase $as_dir/ in #(( 2268af928962Smrg ./ | .// | /[cC]/* | \ 226973143b9aSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2270af928962Smrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 227173143b9aSmrg /usr/ucb/* ) ;; 227273143b9aSmrg *) 227373143b9aSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 227473143b9aSmrg # Don't use installbsd from OSF since it installs stuff as root 227573143b9aSmrg # by default. 227673143b9aSmrg for ac_prog in ginstall scoinst install; do 227773143b9aSmrg for ac_exec_ext in '' $ac_executable_extensions; do 227873143b9aSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 227973143b9aSmrg if test $ac_prog = install && 228073143b9aSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 228173143b9aSmrg # AIX install. It has an incompatible calling convention. 228273143b9aSmrg : 228373143b9aSmrg elif test $ac_prog = install && 228473143b9aSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 228573143b9aSmrg # program-specific install script used by HP pwplus--don't use. 228673143b9aSmrg : 228773143b9aSmrg else 2288b53e5eeaSmrg rm -rf conftest.one conftest.two conftest.dir 2289b53e5eeaSmrg echo one > conftest.one 2290b53e5eeaSmrg echo two > conftest.two 2291b53e5eeaSmrg mkdir conftest.dir 2292b53e5eeaSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2293b53e5eeaSmrg test -s conftest.one && test -s conftest.two && 2294b53e5eeaSmrg test -s conftest.dir/conftest.one && 2295b53e5eeaSmrg test -s conftest.dir/conftest.two 2296b53e5eeaSmrg then 2297b53e5eeaSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2298b53e5eeaSmrg break 3 2299b53e5eeaSmrg fi 230073143b9aSmrg fi 230173143b9aSmrg fi 230273143b9aSmrg done 230373143b9aSmrg done 230473143b9aSmrg ;; 230573143b9aSmrgesac 2306b53e5eeaSmrg 2307af928962Smrg done 230873143b9aSmrgIFS=$as_save_IFS 230973143b9aSmrg 2310b53e5eeaSmrgrm -rf conftest.one conftest.two conftest.dir 231173143b9aSmrg 231273143b9aSmrgfi 231373143b9aSmrg if test "${ac_cv_path_install+set}" = set; then 231473143b9aSmrg INSTALL=$ac_cv_path_install 231573143b9aSmrg else 231673143b9aSmrg # As a last resort, use the slow shell script. Don't cache a 231773143b9aSmrg # value for INSTALL within a source directory, because that will 231873143b9aSmrg # break other packages using the cache if that directory is 231973143b9aSmrg # removed, or if the value is a relative name. 232073143b9aSmrg INSTALL=$ac_install_sh 232173143b9aSmrg fi 232273143b9aSmrgfi 2323af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2324b53e5eeaSmrg$as_echo "$INSTALL" >&6; } 232573143b9aSmrg 232673143b9aSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 232773143b9aSmrg# It thinks the first close brace ends the variable substitution. 232873143b9aSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 232973143b9aSmrg 233073143b9aSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 233173143b9aSmrg 233273143b9aSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 233373143b9aSmrg 2334af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2335b53e5eeaSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 233673143b9aSmrg# Just in case 233773143b9aSmrgsleep 1 233873143b9aSmrgecho timestamp > conftest.file 2339b53e5eeaSmrg# Reject unsafe characters in $srcdir or the absolute working directory 2340b53e5eeaSmrg# name. Accept space and tab only in the latter. 2341b53e5eeaSmrgam_lf=' 2342b53e5eeaSmrg' 2343b53e5eeaSmrgcase `pwd` in 2344b53e5eeaSmrg *[\\\"\#\$\&\'\`$am_lf]*) 2345af928962Smrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2346b53e5eeaSmrgesac 2347b53e5eeaSmrgcase $srcdir in 2348b53e5eeaSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2349af928962Smrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2350b53e5eeaSmrgesac 2351b53e5eeaSmrg 235273143b9aSmrg# Do `set' in a subshell so we don't clobber the current shell's 235373143b9aSmrg# arguments. Must try -L first in case configure is actually a 235473143b9aSmrg# symlink; some systems play weird games with the mod time of symlinks 235573143b9aSmrg# (eg FreeBSD returns the mod time of the symlink's containing 235673143b9aSmrg# directory). 235773143b9aSmrgif ( 2358b53e5eeaSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 235973143b9aSmrg if test "$*" = "X"; then 236073143b9aSmrg # -L didn't work. 2361b53e5eeaSmrg set X `ls -t "$srcdir/configure" conftest.file` 236273143b9aSmrg fi 236373143b9aSmrg rm -f conftest.file 236473143b9aSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 236573143b9aSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 236673143b9aSmrg 236773143b9aSmrg # If neither matched, then we have a broken ls. This can happen 236873143b9aSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 236973143b9aSmrg # broken ls alias from the environment. This has actually 237073143b9aSmrg # happened. Such a system could not be considered "sane". 2371af928962Smrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2372af928962Smrgalias in your environment" "$LINENO" 5 237373143b9aSmrg fi 237473143b9aSmrg 237573143b9aSmrg test "$2" = conftest.file 237673143b9aSmrg ) 237773143b9aSmrgthen 237873143b9aSmrg # Ok. 237973143b9aSmrg : 238073143b9aSmrgelse 2381af928962Smrg as_fn_error $? "newly created file is older than distributed files! 2382af928962SmrgCheck your system clock" "$LINENO" 5 238373143b9aSmrgfi 2384af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2385b53e5eeaSmrg$as_echo "yes" >&6; } 238673143b9aSmrgtest "$program_prefix" != NONE && 238773143b9aSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 238873143b9aSmrg# Use a double $ so make ignores it. 238973143b9aSmrgtest "$program_suffix" != NONE && 239073143b9aSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2391b53e5eeaSmrg# Double any \ or $. 239273143b9aSmrg# By default was `s,x,x', remove it if useless. 2393b53e5eeaSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2394b53e5eeaSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 239573143b9aSmrg 239673143b9aSmrg# expand $ac_aux_dir to an absolute path 239773143b9aSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 239873143b9aSmrg 2399b53e5eeaSmrgif test x"${MISSING+set}" != xset; then 2400b53e5eeaSmrg case $am_aux_dir in 2401b53e5eeaSmrg *\ * | *\ *) 2402b53e5eeaSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2403b53e5eeaSmrg *) 2404b53e5eeaSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 2405b53e5eeaSmrg esac 2406b53e5eeaSmrgfi 240773143b9aSmrg# Use eval to expand $SHELL 240873143b9aSmrgif eval "$MISSING --run true"; then 240973143b9aSmrg am_missing_run="$MISSING --run " 241073143b9aSmrgelse 241173143b9aSmrg am_missing_run= 2412af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2413b53e5eeaSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 241473143b9aSmrgfi 241573143b9aSmrg 2416b53e5eeaSmrgif test x"${install_sh}" != xset; then 2417b53e5eeaSmrg case $am_aux_dir in 2418b53e5eeaSmrg *\ * | *\ *) 2419b53e5eeaSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2420b53e5eeaSmrg *) 2421b53e5eeaSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 2422b53e5eeaSmrg esac 2423b53e5eeaSmrgfi 2424b53e5eeaSmrg 2425b53e5eeaSmrg# Installed binaries are usually stripped using `strip' when the user 2426b53e5eeaSmrg# run `make install-strip'. However `strip' might not be the right 2427b53e5eeaSmrg# tool to use in cross-compilation environments, therefore Automake 2428b53e5eeaSmrg# will honor the `STRIP' environment variable to overrule this program. 2429b53e5eeaSmrgif test "$cross_compiling" != no; then 2430b53e5eeaSmrg if test -n "$ac_tool_prefix"; then 2431b53e5eeaSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2432b53e5eeaSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2433af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2434b53e5eeaSmrg$as_echo_n "checking for $ac_word... " >&6; } 2435af928962Smrgif ${ac_cv_prog_STRIP+:} false; then : 2436b53e5eeaSmrg $as_echo_n "(cached) " >&6 243773143b9aSmrgelse 2438b53e5eeaSmrg if test -n "$STRIP"; then 2439b53e5eeaSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2440b53e5eeaSmrgelse 2441b53e5eeaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2442b53e5eeaSmrgfor as_dir in $PATH 244373143b9aSmrgdo 244473143b9aSmrg IFS=$as_save_IFS 244573143b9aSmrg test -z "$as_dir" && as_dir=. 2446af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2447b53e5eeaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2448b53e5eeaSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2449af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2450b53e5eeaSmrg break 2 2451b53e5eeaSmrg fi 2452b53e5eeaSmrgdone 2453af928962Smrg done 2454b53e5eeaSmrgIFS=$as_save_IFS 2455b53e5eeaSmrg 2456b53e5eeaSmrgfi 2457b53e5eeaSmrgfi 2458b53e5eeaSmrgSTRIP=$ac_cv_prog_STRIP 2459b53e5eeaSmrgif test -n "$STRIP"; then 2460af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2461b53e5eeaSmrg$as_echo "$STRIP" >&6; } 2462b53e5eeaSmrgelse 2463af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2464b53e5eeaSmrg$as_echo "no" >&6; } 2465b53e5eeaSmrgfi 2466b53e5eeaSmrg 2467b53e5eeaSmrg 2468b53e5eeaSmrgfi 2469b53e5eeaSmrgif test -z "$ac_cv_prog_STRIP"; then 2470b53e5eeaSmrg ac_ct_STRIP=$STRIP 2471b53e5eeaSmrg # Extract the first word of "strip", so it can be a program name with args. 2472b53e5eeaSmrgset dummy strip; ac_word=$2 2473af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2474b53e5eeaSmrg$as_echo_n "checking for $ac_word... " >&6; } 2475af928962Smrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2476b53e5eeaSmrg $as_echo_n "(cached) " >&6 2477b53e5eeaSmrgelse 2478b53e5eeaSmrg if test -n "$ac_ct_STRIP"; then 2479b53e5eeaSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2480b53e5eeaSmrgelse 2481b53e5eeaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2482b53e5eeaSmrgfor as_dir in $PATH 2483b53e5eeaSmrgdo 2484b53e5eeaSmrg IFS=$as_save_IFS 2485b53e5eeaSmrg test -z "$as_dir" && as_dir=. 2486af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2487b53e5eeaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2488b53e5eeaSmrg ac_cv_prog_ac_ct_STRIP="strip" 2489af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2490b53e5eeaSmrg break 2 2491b53e5eeaSmrg fi 2492b53e5eeaSmrgdone 2493af928962Smrg done 2494b53e5eeaSmrgIFS=$as_save_IFS 2495b53e5eeaSmrg 2496b53e5eeaSmrgfi 2497b53e5eeaSmrgfi 2498b53e5eeaSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2499b53e5eeaSmrgif test -n "$ac_ct_STRIP"; then 2500af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2501b53e5eeaSmrg$as_echo "$ac_ct_STRIP" >&6; } 2502b53e5eeaSmrgelse 2503af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2504b53e5eeaSmrg$as_echo "no" >&6; } 2505b53e5eeaSmrgfi 2506b53e5eeaSmrg 2507b53e5eeaSmrg if test "x$ac_ct_STRIP" = x; then 2508b53e5eeaSmrg STRIP=":" 2509b53e5eeaSmrg else 2510b53e5eeaSmrg case $cross_compiling:$ac_tool_warned in 2511b53e5eeaSmrgyes:) 2512af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2513b53e5eeaSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2514b53e5eeaSmrgac_tool_warned=yes ;; 2515b53e5eeaSmrgesac 2516b53e5eeaSmrg STRIP=$ac_ct_STRIP 2517b53e5eeaSmrg fi 2518b53e5eeaSmrgelse 2519b53e5eeaSmrg STRIP="$ac_cv_prog_STRIP" 2520b53e5eeaSmrgfi 2521b53e5eeaSmrg 2522b53e5eeaSmrgfi 2523b53e5eeaSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2524b53e5eeaSmrg 2525af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2526b53e5eeaSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2527b53e5eeaSmrgif test -z "$MKDIR_P"; then 2528af928962Smrg if ${ac_cv_path_mkdir+:} false; then : 2529b53e5eeaSmrg $as_echo_n "(cached) " >&6 2530b53e5eeaSmrgelse 2531b53e5eeaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2532b53e5eeaSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2533b53e5eeaSmrgdo 2534b53e5eeaSmrg IFS=$as_save_IFS 2535b53e5eeaSmrg test -z "$as_dir" && as_dir=. 2536af928962Smrg for ac_prog in mkdir gmkdir; do 2537b53e5eeaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2538b53e5eeaSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2539b53e5eeaSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2540b53e5eeaSmrg 'mkdir (GNU coreutils) '* | \ 2541b53e5eeaSmrg 'mkdir (coreutils) '* | \ 2542b53e5eeaSmrg 'mkdir (fileutils) '4.1*) 2543b53e5eeaSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2544b53e5eeaSmrg break 3;; 2545b53e5eeaSmrg esac 2546b53e5eeaSmrg done 2547b53e5eeaSmrg done 2548af928962Smrg done 254973143b9aSmrgIFS=$as_save_IFS 255073143b9aSmrg 255173143b9aSmrgfi 255273143b9aSmrg 2553af928962Smrg test -d ./--version && rmdir ./--version 255473143b9aSmrg if test "${ac_cv_path_mkdir+set}" = set; then 255573143b9aSmrg MKDIR_P="$ac_cv_path_mkdir -p" 255673143b9aSmrg else 255773143b9aSmrg # As a last resort, use the slow shell script. Don't cache a 255873143b9aSmrg # value for MKDIR_P within a source directory, because that will 255973143b9aSmrg # break other packages using the cache if that directory is 256073143b9aSmrg # removed, or if the value is a relative name. 256173143b9aSmrg MKDIR_P="$ac_install_sh -d" 256273143b9aSmrg fi 256373143b9aSmrgfi 2564af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2565b53e5eeaSmrg$as_echo "$MKDIR_P" >&6; } 256673143b9aSmrg 256773143b9aSmrgmkdir_p="$MKDIR_P" 256873143b9aSmrgcase $mkdir_p in 256973143b9aSmrg [\\/$]* | ?:[\\/]*) ;; 257073143b9aSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 257173143b9aSmrgesac 257273143b9aSmrg 257373143b9aSmrgfor ac_prog in gawk mawk nawk awk 257473143b9aSmrgdo 257573143b9aSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 257673143b9aSmrgset dummy $ac_prog; ac_word=$2 2577af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2578b53e5eeaSmrg$as_echo_n "checking for $ac_word... " >&6; } 2579af928962Smrgif ${ac_cv_prog_AWK+:} false; then : 2580b53e5eeaSmrg $as_echo_n "(cached) " >&6 258173143b9aSmrgelse 258273143b9aSmrg if test -n "$AWK"; then 258373143b9aSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 258473143b9aSmrgelse 258573143b9aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 258673143b9aSmrgfor as_dir in $PATH 258773143b9aSmrgdo 258873143b9aSmrg IFS=$as_save_IFS 258973143b9aSmrg test -z "$as_dir" && as_dir=. 2590af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 259173143b9aSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 259273143b9aSmrg ac_cv_prog_AWK="$ac_prog" 2593af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 259473143b9aSmrg break 2 259573143b9aSmrg fi 259673143b9aSmrgdone 2597af928962Smrg done 259873143b9aSmrgIFS=$as_save_IFS 259973143b9aSmrg 260073143b9aSmrgfi 260173143b9aSmrgfi 260273143b9aSmrgAWK=$ac_cv_prog_AWK 260373143b9aSmrgif test -n "$AWK"; then 2604af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2605b53e5eeaSmrg$as_echo "$AWK" >&6; } 260673143b9aSmrgelse 2607af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2608b53e5eeaSmrg$as_echo "no" >&6; } 260973143b9aSmrgfi 261073143b9aSmrg 261173143b9aSmrg 261273143b9aSmrg test -n "$AWK" && break 261373143b9aSmrgdone 261473143b9aSmrg 2615af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2616b53e5eeaSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2617b53e5eeaSmrgset x ${MAKE-make} 2618b53e5eeaSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2619af928962Smrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2620b53e5eeaSmrg $as_echo_n "(cached) " >&6 262173143b9aSmrgelse 262273143b9aSmrg cat >conftest.make <<\_ACEOF 262373143b9aSmrgSHELL = /bin/sh 262473143b9aSmrgall: 262573143b9aSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 262673143b9aSmrg_ACEOF 2627af928962Smrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 262873143b9aSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 262973143b9aSmrg *@@@%%%=?*=@@@%%%*) 263073143b9aSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 263173143b9aSmrg *) 263273143b9aSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 263373143b9aSmrgesac 263473143b9aSmrgrm -f conftest.make 263573143b9aSmrgfi 263673143b9aSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2637af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2638b53e5eeaSmrg$as_echo "yes" >&6; } 263973143b9aSmrg SET_MAKE= 264073143b9aSmrgelse 2641af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2642b53e5eeaSmrg$as_echo "no" >&6; } 264373143b9aSmrg SET_MAKE="MAKE=${MAKE-make}" 264473143b9aSmrgfi 264573143b9aSmrg 264673143b9aSmrgrm -rf .tst 2>/dev/null 264773143b9aSmrgmkdir .tst 2>/dev/null 264873143b9aSmrgif test -d .tst; then 264973143b9aSmrg am__leading_dot=. 265073143b9aSmrgelse 265173143b9aSmrg am__leading_dot=_ 265273143b9aSmrgfi 265373143b9aSmrgrmdir .tst 2>/dev/null 265473143b9aSmrg 265573143b9aSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 265673143b9aSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 265773143b9aSmrg # is not polluted with repeated "-I." 265873143b9aSmrg am__isrc=' -I$(srcdir)' 265973143b9aSmrg # test to see if srcdir already configured 266073143b9aSmrg if test -f $srcdir/config.status; then 2661af928962Smrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 266273143b9aSmrg fi 266373143b9aSmrgfi 266473143b9aSmrg 266573143b9aSmrg# test whether we have cygpath 266673143b9aSmrgif test -z "$CYGPATH_W"; then 266773143b9aSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 266873143b9aSmrg CYGPATH_W='cygpath -w' 266973143b9aSmrg else 267073143b9aSmrg CYGPATH_W=echo 267173143b9aSmrg fi 267273143b9aSmrgfi 267373143b9aSmrg 267473143b9aSmrg 267573143b9aSmrg# Define the identity of the package. 267673143b9aSmrg PACKAGE='xtrans' 2677af928962Smrg VERSION='1.2.6' 267873143b9aSmrg 267973143b9aSmrg 268073143b9aSmrgcat >>confdefs.h <<_ACEOF 268173143b9aSmrg#define PACKAGE "$PACKAGE" 268273143b9aSmrg_ACEOF 268373143b9aSmrg 268473143b9aSmrg 268573143b9aSmrgcat >>confdefs.h <<_ACEOF 268673143b9aSmrg#define VERSION "$VERSION" 268773143b9aSmrg_ACEOF 268873143b9aSmrg 268973143b9aSmrg# Some tools Automake needs. 269073143b9aSmrg 269173143b9aSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 269273143b9aSmrg 269373143b9aSmrg 269473143b9aSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 269573143b9aSmrg 269673143b9aSmrg 269773143b9aSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 269873143b9aSmrg 269973143b9aSmrg 270073143b9aSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 270173143b9aSmrg 270273143b9aSmrg 270373143b9aSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 270473143b9aSmrg 270573143b9aSmrg# We need awk for the "check" target. The system "awk" is bad on 270673143b9aSmrg# some platforms. 270773143b9aSmrg# Always define AMTAR for backward compatibility. 270873143b9aSmrg 270973143b9aSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 271073143b9aSmrg 271173143b9aSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 271273143b9aSmrg 271373143b9aSmrg 271473143b9aSmrg 271573143b9aSmrg 271673143b9aSmrg 2717b53e5eeaSmrg 2718af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2719b53e5eeaSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 272073143b9aSmrg # Check whether --enable-maintainer-mode was given. 2721af928962Smrgif test "${enable_maintainer_mode+set}" = set; then : 272273143b9aSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 272373143b9aSmrgelse 272473143b9aSmrg USE_MAINTAINER_MODE=no 272573143b9aSmrgfi 272673143b9aSmrg 2727af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2728b53e5eeaSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 272973143b9aSmrg if test $USE_MAINTAINER_MODE = yes; then 273073143b9aSmrg MAINTAINER_MODE_TRUE= 273173143b9aSmrg MAINTAINER_MODE_FALSE='#' 273273143b9aSmrgelse 273373143b9aSmrg MAINTAINER_MODE_TRUE='#' 273473143b9aSmrg MAINTAINER_MODE_FALSE= 273573143b9aSmrgfi 273673143b9aSmrg 273773143b9aSmrg MAINT=$MAINTAINER_MODE_TRUE 273873143b9aSmrg 273973143b9aSmrg 274073143b9aSmrg 2741af928962Smrg# Require xorg-macros minimum of 1.10 for DocBook XML documentation 27428d4c0f7bSmrg 2743e8a71cdfSmrg 2744e8a71cdfSmrg 2745e8a71cdfSmrg 2746e8a71cdfSmrg 2747e8a71cdfSmrg 2748e8a71cdfSmrg 2749e8a71cdfSmrg 2750e8a71cdfSmrg 27518d4c0f7bSmrg 27528d4c0f7bSmrg 275373143b9aSmrgDEPDIR="${am__leading_dot}deps" 275473143b9aSmrg 275573143b9aSmrgac_config_commands="$ac_config_commands depfiles" 275673143b9aSmrg 275773143b9aSmrg 275873143b9aSmrgam_make=${MAKE-make} 275973143b9aSmrgcat > confinc << 'END' 276073143b9aSmrgam__doit: 2761b53e5eeaSmrg @echo this is the am__doit target 276273143b9aSmrg.PHONY: am__doit 276373143b9aSmrgEND 276473143b9aSmrg# If we don't find an include directive, just comment out the code. 2765af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2766b53e5eeaSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 276773143b9aSmrgam__include="#" 276873143b9aSmrgam__quote= 276973143b9aSmrg_am_result=none 277073143b9aSmrg# First try GNU make style include. 277173143b9aSmrgecho "include confinc" > confmf 2772b53e5eeaSmrg# Ignore all kinds of additional output from `make'. 2773b53e5eeaSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 2774b53e5eeaSmrg*the\ am__doit\ target*) 2775b53e5eeaSmrg am__include=include 2776b53e5eeaSmrg am__quote= 2777b53e5eeaSmrg _am_result=GNU 2778b53e5eeaSmrg ;; 2779b53e5eeaSmrgesac 278073143b9aSmrg# Now try BSD make style include. 278173143b9aSmrgif test "$am__include" = "#"; then 278273143b9aSmrg echo '.include "confinc"' > confmf 2783b53e5eeaSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 2784b53e5eeaSmrg *the\ am__doit\ target*) 2785b53e5eeaSmrg am__include=.include 2786b53e5eeaSmrg am__quote="\"" 2787b53e5eeaSmrg _am_result=BSD 2788b53e5eeaSmrg ;; 2789b53e5eeaSmrg esac 279073143b9aSmrgfi 279173143b9aSmrg 279273143b9aSmrg 2793af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2794b53e5eeaSmrg$as_echo "$_am_result" >&6; } 279573143b9aSmrgrm -f confinc confmf 279673143b9aSmrg 279773143b9aSmrg# Check whether --enable-dependency-tracking was given. 2798af928962Smrgif test "${enable_dependency_tracking+set}" = set; then : 279973143b9aSmrg enableval=$enable_dependency_tracking; 280073143b9aSmrgfi 280173143b9aSmrg 280273143b9aSmrgif test "x$enable_dependency_tracking" != xno; then 280373143b9aSmrg am_depcomp="$ac_aux_dir/depcomp" 280473143b9aSmrg AMDEPBACKSLASH='\' 280573143b9aSmrgfi 280673143b9aSmrg if test "x$enable_dependency_tracking" != xno; then 280773143b9aSmrg AMDEP_TRUE= 280873143b9aSmrg AMDEP_FALSE='#' 280973143b9aSmrgelse 281073143b9aSmrg AMDEP_TRUE='#' 281173143b9aSmrg AMDEP_FALSE= 281273143b9aSmrgfi 281373143b9aSmrg 281473143b9aSmrg 281573143b9aSmrgac_ext=c 281673143b9aSmrgac_cpp='$CPP $CPPFLAGS' 281773143b9aSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 281873143b9aSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 281973143b9aSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 282073143b9aSmrgif test -n "$ac_tool_prefix"; then 282173143b9aSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 282273143b9aSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 2823af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2824b53e5eeaSmrg$as_echo_n "checking for $ac_word... " >&6; } 2825af928962Smrgif ${ac_cv_prog_CC+:} false; then : 2826b53e5eeaSmrg $as_echo_n "(cached) " >&6 282773143b9aSmrgelse 282873143b9aSmrg if test -n "$CC"; then 282973143b9aSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 283073143b9aSmrgelse 283173143b9aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 283273143b9aSmrgfor as_dir in $PATH 283373143b9aSmrgdo 283473143b9aSmrg IFS=$as_save_IFS 283573143b9aSmrg test -z "$as_dir" && as_dir=. 2836af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 283773143b9aSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 283873143b9aSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 2839af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 284073143b9aSmrg break 2 284173143b9aSmrg fi 284273143b9aSmrgdone 2843af928962Smrg done 284473143b9aSmrgIFS=$as_save_IFS 284573143b9aSmrg 284673143b9aSmrgfi 284773143b9aSmrgfi 284873143b9aSmrgCC=$ac_cv_prog_CC 284973143b9aSmrgif test -n "$CC"; then 2850af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2851b53e5eeaSmrg$as_echo "$CC" >&6; } 285273143b9aSmrgelse 2853af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2854b53e5eeaSmrg$as_echo "no" >&6; } 285573143b9aSmrgfi 285673143b9aSmrg 285773143b9aSmrg 285873143b9aSmrgfi 285973143b9aSmrgif test -z "$ac_cv_prog_CC"; then 286073143b9aSmrg ac_ct_CC=$CC 286173143b9aSmrg # Extract the first word of "gcc", so it can be a program name with args. 286273143b9aSmrgset dummy gcc; ac_word=$2 2863af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2864b53e5eeaSmrg$as_echo_n "checking for $ac_word... " >&6; } 2865af928962Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 2866b53e5eeaSmrg $as_echo_n "(cached) " >&6 286773143b9aSmrgelse 286873143b9aSmrg if test -n "$ac_ct_CC"; then 286973143b9aSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 287073143b9aSmrgelse 287173143b9aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 287273143b9aSmrgfor as_dir in $PATH 287373143b9aSmrgdo 287473143b9aSmrg IFS=$as_save_IFS 287573143b9aSmrg test -z "$as_dir" && as_dir=. 2876af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 287773143b9aSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 287873143b9aSmrg ac_cv_prog_ac_ct_CC="gcc" 2879af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 288073143b9aSmrg break 2 288173143b9aSmrg fi 288273143b9aSmrgdone 2883af928962Smrg done 288473143b9aSmrgIFS=$as_save_IFS 288573143b9aSmrg 288673143b9aSmrgfi 288773143b9aSmrgfi 288873143b9aSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 288973143b9aSmrgif test -n "$ac_ct_CC"; then 2890af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2891b53e5eeaSmrg$as_echo "$ac_ct_CC" >&6; } 289273143b9aSmrgelse 2893af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2894b53e5eeaSmrg$as_echo "no" >&6; } 289573143b9aSmrgfi 289673143b9aSmrg 289773143b9aSmrg if test "x$ac_ct_CC" = x; then 289873143b9aSmrg CC="" 289973143b9aSmrg else 290073143b9aSmrg case $cross_compiling:$ac_tool_warned in 290173143b9aSmrgyes:) 2902af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2903b53e5eeaSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 290473143b9aSmrgac_tool_warned=yes ;; 290573143b9aSmrgesac 290673143b9aSmrg CC=$ac_ct_CC 290773143b9aSmrg fi 290873143b9aSmrgelse 290973143b9aSmrg CC="$ac_cv_prog_CC" 291073143b9aSmrgfi 291173143b9aSmrg 291273143b9aSmrgif test -z "$CC"; then 291373143b9aSmrg if test -n "$ac_tool_prefix"; then 291473143b9aSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 291573143b9aSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 2916af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2917b53e5eeaSmrg$as_echo_n "checking for $ac_word... " >&6; } 2918af928962Smrgif ${ac_cv_prog_CC+:} false; then : 2919b53e5eeaSmrg $as_echo_n "(cached) " >&6 292073143b9aSmrgelse 292173143b9aSmrg if test -n "$CC"; then 292273143b9aSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 292373143b9aSmrgelse 292473143b9aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 292573143b9aSmrgfor as_dir in $PATH 292673143b9aSmrgdo 292773143b9aSmrg IFS=$as_save_IFS 292873143b9aSmrg test -z "$as_dir" && as_dir=. 2929af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 293073143b9aSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 293173143b9aSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 2932af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 293373143b9aSmrg break 2 293473143b9aSmrg fi 293573143b9aSmrgdone 2936af928962Smrg done 293773143b9aSmrgIFS=$as_save_IFS 293873143b9aSmrg 293973143b9aSmrgfi 294073143b9aSmrgfi 294173143b9aSmrgCC=$ac_cv_prog_CC 294273143b9aSmrgif test -n "$CC"; then 2943af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2944b53e5eeaSmrg$as_echo "$CC" >&6; } 294573143b9aSmrgelse 2946af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2947b53e5eeaSmrg$as_echo "no" >&6; } 294873143b9aSmrgfi 294973143b9aSmrg 295073143b9aSmrg 295173143b9aSmrg fi 295273143b9aSmrgfi 295373143b9aSmrgif test -z "$CC"; then 295473143b9aSmrg # Extract the first word of "cc", so it can be a program name with args. 295573143b9aSmrgset dummy cc; ac_word=$2 2956af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2957b53e5eeaSmrg$as_echo_n "checking for $ac_word... " >&6; } 2958af928962Smrgif ${ac_cv_prog_CC+:} false; then : 2959b53e5eeaSmrg $as_echo_n "(cached) " >&6 296073143b9aSmrgelse 296173143b9aSmrg if test -n "$CC"; then 296273143b9aSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 296373143b9aSmrgelse 296473143b9aSmrg ac_prog_rejected=no 296573143b9aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 296673143b9aSmrgfor as_dir in $PATH 296773143b9aSmrgdo 296873143b9aSmrg IFS=$as_save_IFS 296973143b9aSmrg test -z "$as_dir" && as_dir=. 2970af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 297173143b9aSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 297273143b9aSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 297373143b9aSmrg ac_prog_rejected=yes 297473143b9aSmrg continue 297573143b9aSmrg fi 297673143b9aSmrg ac_cv_prog_CC="cc" 2977af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 297873143b9aSmrg break 2 297973143b9aSmrg fi 298073143b9aSmrgdone 2981af928962Smrg done 298273143b9aSmrgIFS=$as_save_IFS 298373143b9aSmrg 298473143b9aSmrgif test $ac_prog_rejected = yes; then 298573143b9aSmrg # We found a bogon in the path, so make sure we never use it. 298673143b9aSmrg set dummy $ac_cv_prog_CC 298773143b9aSmrg shift 298873143b9aSmrg if test $# != 0; then 298973143b9aSmrg # We chose a different compiler from the bogus one. 299073143b9aSmrg # However, it has the same basename, so the bogon will be chosen 299173143b9aSmrg # first if we set CC to just the basename; use the full file name. 299273143b9aSmrg shift 299373143b9aSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 299473143b9aSmrg fi 299573143b9aSmrgfi 299673143b9aSmrgfi 299773143b9aSmrgfi 299873143b9aSmrgCC=$ac_cv_prog_CC 299973143b9aSmrgif test -n "$CC"; then 3000af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3001b53e5eeaSmrg$as_echo "$CC" >&6; } 300273143b9aSmrgelse 3003af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3004b53e5eeaSmrg$as_echo "no" >&6; } 300573143b9aSmrgfi 300673143b9aSmrg 300773143b9aSmrg 300873143b9aSmrgfi 300973143b9aSmrgif test -z "$CC"; then 301073143b9aSmrg if test -n "$ac_tool_prefix"; then 301173143b9aSmrg for ac_prog in cl.exe 301273143b9aSmrg do 301373143b9aSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 301473143b9aSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 3015af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3016b53e5eeaSmrg$as_echo_n "checking for $ac_word... " >&6; } 3017af928962Smrgif ${ac_cv_prog_CC+:} false; then : 3018b53e5eeaSmrg $as_echo_n "(cached) " >&6 301973143b9aSmrgelse 302073143b9aSmrg if test -n "$CC"; then 302173143b9aSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 302273143b9aSmrgelse 302373143b9aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 302473143b9aSmrgfor as_dir in $PATH 302573143b9aSmrgdo 302673143b9aSmrg IFS=$as_save_IFS 302773143b9aSmrg test -z "$as_dir" && as_dir=. 3028af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 302973143b9aSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 303073143b9aSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3031af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 303273143b9aSmrg break 2 303373143b9aSmrg fi 303473143b9aSmrgdone 3035af928962Smrg done 303673143b9aSmrgIFS=$as_save_IFS 303773143b9aSmrg 303873143b9aSmrgfi 303973143b9aSmrgfi 304073143b9aSmrgCC=$ac_cv_prog_CC 304173143b9aSmrgif test -n "$CC"; then 3042af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3043b53e5eeaSmrg$as_echo "$CC" >&6; } 304473143b9aSmrgelse 3045af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3046b53e5eeaSmrg$as_echo "no" >&6; } 304773143b9aSmrgfi 304873143b9aSmrg 304973143b9aSmrg 305073143b9aSmrg test -n "$CC" && break 305173143b9aSmrg done 305273143b9aSmrgfi 305373143b9aSmrgif test -z "$CC"; then 305473143b9aSmrg ac_ct_CC=$CC 305573143b9aSmrg for ac_prog in cl.exe 305673143b9aSmrgdo 305773143b9aSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 305873143b9aSmrgset dummy $ac_prog; ac_word=$2 3059af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3060b53e5eeaSmrg$as_echo_n "checking for $ac_word... " >&6; } 3061af928962Smrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 3062b53e5eeaSmrg $as_echo_n "(cached) " >&6 306373143b9aSmrgelse 306473143b9aSmrg if test -n "$ac_ct_CC"; then 306573143b9aSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 306673143b9aSmrgelse 306773143b9aSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 306873143b9aSmrgfor as_dir in $PATH 306973143b9aSmrgdo 307073143b9aSmrg IFS=$as_save_IFS 307173143b9aSmrg test -z "$as_dir" && as_dir=. 3072af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 307373143b9aSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 307473143b9aSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 3075af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 307673143b9aSmrg break 2 307773143b9aSmrg fi 307873143b9aSmrgdone 3079af928962Smrg done 308073143b9aSmrgIFS=$as_save_IFS 308173143b9aSmrg 308273143b9aSmrgfi 308373143b9aSmrgfi 308473143b9aSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 308573143b9aSmrgif test -n "$ac_ct_CC"; then 3086af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3087b53e5eeaSmrg$as_echo "$ac_ct_CC" >&6; } 308873143b9aSmrgelse 3089af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3090b53e5eeaSmrg$as_echo "no" >&6; } 309173143b9aSmrgfi 309273143b9aSmrg 309373143b9aSmrg 309473143b9aSmrg test -n "$ac_ct_CC" && break 309573143b9aSmrgdone 309673143b9aSmrg 309773143b9aSmrg if test "x$ac_ct_CC" = x; then 309873143b9aSmrg CC="" 309973143b9aSmrg else 310073143b9aSmrg case $cross_compiling:$ac_tool_warned in 310173143b9aSmrgyes:) 3102af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3103b53e5eeaSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 310473143b9aSmrgac_tool_warned=yes ;; 310573143b9aSmrgesac 310673143b9aSmrg CC=$ac_ct_CC 310773143b9aSmrg fi 310873143b9aSmrgfi 310973143b9aSmrg 311073143b9aSmrgfi 311173143b9aSmrg 311273143b9aSmrg 3113af928962Smrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3114b53e5eeaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3115af928962Smrgas_fn_error $? "no acceptable C compiler found in \$PATH 3116af928962SmrgSee \`config.log' for more details" "$LINENO" 5; } 311773143b9aSmrg 311873143b9aSmrg# Provide some information about the compiler. 3119af928962Smrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3120b53e5eeaSmrgset X $ac_compile 3121b53e5eeaSmrgac_compiler=$2 3122af928962Smrgfor ac_option in --version -v -V -qversion; do 3123af928962Smrg { { ac_try="$ac_compiler $ac_option >&5" 312473143b9aSmrgcase "(($ac_try" in 312573143b9aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 312673143b9aSmrg *) ac_try_echo=$ac_try;; 312773143b9aSmrgesac 3128af928962Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3129af928962Smrg$as_echo "$ac_try_echo"; } >&5 3130af928962Smrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 313173143b9aSmrg ac_status=$? 3132af928962Smrg if test -s conftest.err; then 3133af928962Smrg sed '10a\ 3134af928962Smrg... rest of stderr output deleted ... 3135af928962Smrg 10q' conftest.err >conftest.er1 3136af928962Smrg cat conftest.er1 >&5 3137af928962Smrg fi 3138af928962Smrg rm -f conftest.er1 conftest.err 3139af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3140af928962Smrg test $ac_status = 0; } 3141af928962Smrgdone 314273143b9aSmrg 3143af928962Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 314473143b9aSmrg/* end confdefs.h. */ 314573143b9aSmrg 314673143b9aSmrgint 314773143b9aSmrgmain () 314873143b9aSmrg{ 314973143b9aSmrg 315073143b9aSmrg ; 315173143b9aSmrg return 0; 315273143b9aSmrg} 315373143b9aSmrg_ACEOF 315473143b9aSmrgac_clean_files_save=$ac_clean_files 3155b53e5eeaSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 315673143b9aSmrg# Try to create an executable without -o first, disregard a.out. 315773143b9aSmrg# It will help us diagnose broken compilers, and finding out an intuition 315873143b9aSmrg# of exeext. 3159af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3160af928962Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 3161b53e5eeaSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3162b53e5eeaSmrg 3163b53e5eeaSmrg# The possible output files: 3164b53e5eeaSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3165b53e5eeaSmrg 316673143b9aSmrgac_rmfiles= 316773143b9aSmrgfor ac_file in $ac_files 316873143b9aSmrgdo 316973143b9aSmrg case $ac_file in 3170b53e5eeaSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 317173143b9aSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 317273143b9aSmrg esac 317373143b9aSmrgdone 317473143b9aSmrgrm -f $ac_rmfiles 317573143b9aSmrg 3176af928962Smrgif { { ac_try="$ac_link_default" 317773143b9aSmrgcase "(($ac_try" in 317873143b9aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 317973143b9aSmrg *) ac_try_echo=$ac_try;; 318073143b9aSmrgesac 3181af928962Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3182af928962Smrg$as_echo "$ac_try_echo"; } >&5 318373143b9aSmrg (eval "$ac_link_default") 2>&5 318473143b9aSmrg ac_status=$? 3185af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3186af928962Smrg test $ac_status = 0; }; then : 318773143b9aSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 318873143b9aSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 318973143b9aSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 319073143b9aSmrg# so that the user can short-circuit this test for compilers unknown to 319173143b9aSmrg# Autoconf. 319273143b9aSmrgfor ac_file in $ac_files '' 319373143b9aSmrgdo 319473143b9aSmrg test -f "$ac_file" || continue 319573143b9aSmrg case $ac_file in 3196b53e5eeaSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 319773143b9aSmrg ;; 319873143b9aSmrg [ab].out ) 319973143b9aSmrg # We found the default executable, but exeext='' is most 320073143b9aSmrg # certainly right. 320173143b9aSmrg break;; 320273143b9aSmrg *.* ) 3203af928962Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 320473143b9aSmrg then :; else 320573143b9aSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 320673143b9aSmrg fi 320773143b9aSmrg # We set ac_cv_exeext here because the later test for it is not 320873143b9aSmrg # safe: cross compilers may not add the suffix if given an `-o' 320973143b9aSmrg # argument, so we may need to know it at that point already. 321073143b9aSmrg # Even if this section looks crufty: it has the advantage of 321173143b9aSmrg # actually working. 321273143b9aSmrg break;; 321373143b9aSmrg * ) 321473143b9aSmrg break;; 321573143b9aSmrg esac 321673143b9aSmrgdone 321773143b9aSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 321873143b9aSmrg 321973143b9aSmrgelse 322073143b9aSmrg ac_file='' 322173143b9aSmrgfi 3222af928962Smrgif test -z "$ac_file"; then : 3223af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3224af928962Smrg$as_echo "no" >&6; } 3225af928962Smrg$as_echo "$as_me: failed program was:" >&5 322673143b9aSmrgsed 's/^/| /' conftest.$ac_ext >&5 322773143b9aSmrg 3228af928962Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3229b53e5eeaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3230af928962Smrgas_fn_error 77 "C compiler cannot create executables 3231af928962SmrgSee \`config.log' for more details" "$LINENO" 5; } 3232af928962Smrgelse 3233af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3234b53e5eeaSmrg$as_echo "yes" >&6; } 3235af928962Smrgfi 3236af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3237af928962Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 3238af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3239af928962Smrg$as_echo "$ac_file" >&6; } 3240af928962Smrgac_exeext=$ac_cv_exeext 324173143b9aSmrg 3242b53e5eeaSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 324373143b9aSmrgac_clean_files=$ac_clean_files_save 3244af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3245b53e5eeaSmrg$as_echo_n "checking for suffix of executables... " >&6; } 3246af928962Smrgif { { ac_try="$ac_link" 324773143b9aSmrgcase "(($ac_try" in 324873143b9aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 324973143b9aSmrg *) ac_try_echo=$ac_try;; 325073143b9aSmrgesac 3251af928962Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3252af928962Smrg$as_echo "$ac_try_echo"; } >&5 325373143b9aSmrg (eval "$ac_link") 2>&5 325473143b9aSmrg ac_status=$? 3255af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3256af928962Smrg test $ac_status = 0; }; then : 325773143b9aSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 325873143b9aSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 325973143b9aSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 326073143b9aSmrg# `rm'. 326173143b9aSmrgfor ac_file in conftest.exe conftest conftest.*; do 326273143b9aSmrg test -f "$ac_file" || continue 326373143b9aSmrg case $ac_file in 3264b53e5eeaSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 326573143b9aSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 326673143b9aSmrg break;; 326773143b9aSmrg * ) break;; 326873143b9aSmrg esac 326973143b9aSmrgdone 327073143b9aSmrgelse 3271af928962Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3272b53e5eeaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3273af928962Smrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 3274af928962SmrgSee \`config.log' for more details" "$LINENO" 5; } 327573143b9aSmrgfi 3276af928962Smrgrm -f conftest conftest$ac_cv_exeext 3277af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3278b53e5eeaSmrg$as_echo "$ac_cv_exeext" >&6; } 327973143b9aSmrg 328073143b9aSmrgrm -f conftest.$ac_ext 328173143b9aSmrgEXEEXT=$ac_cv_exeext 328273143b9aSmrgac_exeext=$EXEEXT 3283af928962Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3284af928962Smrg/* end confdefs.h. */ 3285af928962Smrg#include <stdio.h> 3286af928962Smrgint 3287af928962Smrgmain () 3288af928962Smrg{ 3289af928962SmrgFILE *f = fopen ("conftest.out", "w"); 3290af928962Smrg return ferror (f) || fclose (f) != 0; 3291af928962Smrg 3292af928962Smrg ; 3293af928962Smrg return 0; 3294af928962Smrg} 3295af928962Smrg_ACEOF 3296af928962Smrgac_clean_files="$ac_clean_files conftest.out" 3297af928962Smrg# Check that the compiler produces executables we can run. If not, either 3298af928962Smrg# the compiler is broken, or we cross compile. 3299af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3300af928962Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 3301af928962Smrgif test "$cross_compiling" != yes; then 3302af928962Smrg { { ac_try="$ac_link" 3303af928962Smrgcase "(($ac_try" in 3304af928962Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3305af928962Smrg *) ac_try_echo=$ac_try;; 3306af928962Smrgesac 3307af928962Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3308af928962Smrg$as_echo "$ac_try_echo"; } >&5 3309af928962Smrg (eval "$ac_link") 2>&5 3310af928962Smrg ac_status=$? 3311af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3312af928962Smrg test $ac_status = 0; } 3313af928962Smrg if { ac_try='./conftest$ac_cv_exeext' 3314af928962Smrg { { case "(($ac_try" in 3315af928962Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3316af928962Smrg *) ac_try_echo=$ac_try;; 3317af928962Smrgesac 3318af928962Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3319af928962Smrg$as_echo "$ac_try_echo"; } >&5 3320af928962Smrg (eval "$ac_try") 2>&5 3321af928962Smrg ac_status=$? 3322af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3323af928962Smrg test $ac_status = 0; }; }; then 3324af928962Smrg cross_compiling=no 3325af928962Smrg else 3326af928962Smrg if test "$cross_compiling" = maybe; then 3327af928962Smrg cross_compiling=yes 3328af928962Smrg else 3329af928962Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3330af928962Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3331af928962Smrgas_fn_error $? "cannot run C compiled programs. 3332af928962SmrgIf you meant to cross compile, use \`--host'. 3333af928962SmrgSee \`config.log' for more details" "$LINENO" 5; } 3334af928962Smrg fi 3335af928962Smrg fi 3336af928962Smrgfi 3337af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3338af928962Smrg$as_echo "$cross_compiling" >&6; } 3339af928962Smrg 3340af928962Smrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3341af928962Smrgac_clean_files=$ac_clean_files_save 3342af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3343b53e5eeaSmrg$as_echo_n "checking for suffix of object files... " >&6; } 3344af928962Smrgif ${ac_cv_objext+:} false; then : 3345b53e5eeaSmrg $as_echo_n "(cached) " >&6 334673143b9aSmrgelse 3347af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 334873143b9aSmrg/* end confdefs.h. */ 334973143b9aSmrg 335073143b9aSmrgint 335173143b9aSmrgmain () 335273143b9aSmrg{ 335373143b9aSmrg 335473143b9aSmrg ; 335573143b9aSmrg return 0; 335673143b9aSmrg} 335773143b9aSmrg_ACEOF 335873143b9aSmrgrm -f conftest.o conftest.obj 3359af928962Smrgif { { ac_try="$ac_compile" 336073143b9aSmrgcase "(($ac_try" in 336173143b9aSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 336273143b9aSmrg *) ac_try_echo=$ac_try;; 336373143b9aSmrgesac 3364af928962Smrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3365af928962Smrg$as_echo "$ac_try_echo"; } >&5 336673143b9aSmrg (eval "$ac_compile") 2>&5 336773143b9aSmrg ac_status=$? 3368af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3369af928962Smrg test $ac_status = 0; }; then : 337073143b9aSmrg for ac_file in conftest.o conftest.obj conftest.*; do 337173143b9aSmrg test -f "$ac_file" || continue; 337273143b9aSmrg case $ac_file in 3373b53e5eeaSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 337473143b9aSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 337573143b9aSmrg break;; 337673143b9aSmrg esac 337773143b9aSmrgdone 337873143b9aSmrgelse 3379b53e5eeaSmrg $as_echo "$as_me: failed program was:" >&5 338073143b9aSmrgsed 's/^/| /' conftest.$ac_ext >&5 338173143b9aSmrg 3382af928962Smrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3383b53e5eeaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3384af928962Smrgas_fn_error $? "cannot compute suffix of object files: cannot compile 3385af928962SmrgSee \`config.log' for more details" "$LINENO" 5; } 338673143b9aSmrgfi 338773143b9aSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 338873143b9aSmrgfi 3389af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3390b53e5eeaSmrg$as_echo "$ac_cv_objext" >&6; } 339173143b9aSmrgOBJEXT=$ac_cv_objext 339273143b9aSmrgac_objext=$OBJEXT 3393af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3394b53e5eeaSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3395af928962Smrgif ${ac_cv_c_compiler_gnu+:} false; then : 3396b53e5eeaSmrg $as_echo_n "(cached) " >&6 339773143b9aSmrgelse 3398af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 339973143b9aSmrg/* end confdefs.h. */ 340073143b9aSmrg 340173143b9aSmrgint 340273143b9aSmrgmain () 340373143b9aSmrg{ 340473143b9aSmrg#ifndef __GNUC__ 340573143b9aSmrg choke me 340673143b9aSmrg#endif 340773143b9aSmrg 340873143b9aSmrg ; 340973143b9aSmrg return 0; 341073143b9aSmrg} 341173143b9aSmrg_ACEOF 3412af928962Smrgif ac_fn_c_try_compile "$LINENO"; then : 341373143b9aSmrg ac_compiler_gnu=yes 341473143b9aSmrgelse 3415af928962Smrg ac_compiler_gnu=no 341673143b9aSmrgfi 341773143b9aSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 341873143b9aSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 341973143b9aSmrg 342073143b9aSmrgfi 3421af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3422b53e5eeaSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3423b53e5eeaSmrgif test $ac_compiler_gnu = yes; then 3424b53e5eeaSmrg GCC=yes 3425b53e5eeaSmrgelse 3426b53e5eeaSmrg GCC= 3427b53e5eeaSmrgfi 342873143b9aSmrgac_test_CFLAGS=${CFLAGS+set} 342973143b9aSmrgac_save_CFLAGS=$CFLAGS 3430af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3431b53e5eeaSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 3432af928962Smrgif ${ac_cv_prog_cc_g+:} false; then : 3433b53e5eeaSmrg $as_echo_n "(cached) " >&6 343473143b9aSmrgelse 343573143b9aSmrg ac_save_c_werror_flag=$ac_c_werror_flag 343673143b9aSmrg ac_c_werror_flag=yes 343773143b9aSmrg ac_cv_prog_cc_g=no 343873143b9aSmrg CFLAGS="-g" 3439af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 344073143b9aSmrg/* end confdefs.h. */ 344173143b9aSmrg 344273143b9aSmrgint 344373143b9aSmrgmain () 344473143b9aSmrg{ 344573143b9aSmrg 344673143b9aSmrg ; 344773143b9aSmrg return 0; 344873143b9aSmrg} 344973143b9aSmrg_ACEOF 3450af928962Smrgif ac_fn_c_try_compile "$LINENO"; then : 345173143b9aSmrg ac_cv_prog_cc_g=yes 345273143b9aSmrgelse 3453af928962Smrg CFLAGS="" 3454af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 345573143b9aSmrg/* end confdefs.h. */ 345673143b9aSmrg 345773143b9aSmrgint 345873143b9aSmrgmain () 345973143b9aSmrg{ 346073143b9aSmrg 346173143b9aSmrg ; 346273143b9aSmrg return 0; 346373143b9aSmrg} 346473143b9aSmrg_ACEOF 3465af928962Smrgif ac_fn_c_try_compile "$LINENO"; then : 346673143b9aSmrg 3467af928962Smrgelse 3468af928962Smrg ac_c_werror_flag=$ac_save_c_werror_flag 346973143b9aSmrg CFLAGS="-g" 3470af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 347173143b9aSmrg/* end confdefs.h. */ 347273143b9aSmrg 347373143b9aSmrgint 347473143b9aSmrgmain () 347573143b9aSmrg{ 347673143b9aSmrg 347773143b9aSmrg ; 347873143b9aSmrg return 0; 347973143b9aSmrg} 348073143b9aSmrg_ACEOF 3481af928962Smrgif ac_fn_c_try_compile "$LINENO"; then : 348273143b9aSmrg ac_cv_prog_cc_g=yes 348373143b9aSmrgfi 348473143b9aSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 348573143b9aSmrgfi 348673143b9aSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 348773143b9aSmrgfi 348873143b9aSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 348973143b9aSmrg ac_c_werror_flag=$ac_save_c_werror_flag 349073143b9aSmrgfi 3491af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3492b53e5eeaSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 349373143b9aSmrgif test "$ac_test_CFLAGS" = set; then 349473143b9aSmrg CFLAGS=$ac_save_CFLAGS 349573143b9aSmrgelif test $ac_cv_prog_cc_g = yes; then 349673143b9aSmrg if test "$GCC" = yes; then 349773143b9aSmrg CFLAGS="-g -O2" 349873143b9aSmrg else 349973143b9aSmrg CFLAGS="-g" 350073143b9aSmrg fi 350173143b9aSmrgelse 350273143b9aSmrg if test "$GCC" = yes; then 350373143b9aSmrg CFLAGS="-O2" 350473143b9aSmrg else 350573143b9aSmrg CFLAGS= 350673143b9aSmrg fi 350773143b9aSmrgfi 3508af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3509b53e5eeaSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3510af928962Smrgif ${ac_cv_prog_cc_c89+:} false; then : 3511b53e5eeaSmrg $as_echo_n "(cached) " >&6 351273143b9aSmrgelse 351373143b9aSmrg ac_cv_prog_cc_c89=no 351473143b9aSmrgac_save_CC=$CC 3515af928962Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 351673143b9aSmrg/* end confdefs.h. */ 351773143b9aSmrg#include <stdarg.h> 351873143b9aSmrg#include <stdio.h> 351973143b9aSmrg#include <sys/types.h> 352073143b9aSmrg#include <sys/stat.h> 352173143b9aSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 352273143b9aSmrgstruct buf { int x; }; 352373143b9aSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 352473143b9aSmrgstatic char *e (p, i) 352573143b9aSmrg char **p; 352673143b9aSmrg int i; 352773143b9aSmrg{ 352873143b9aSmrg return p[i]; 352973143b9aSmrg} 353073143b9aSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 353173143b9aSmrg{ 353273143b9aSmrg char *s; 353373143b9aSmrg va_list v; 353473143b9aSmrg va_start (v,p); 353573143b9aSmrg s = g (p, va_arg (v,int)); 353673143b9aSmrg va_end (v); 353773143b9aSmrg return s; 353873143b9aSmrg} 353973143b9aSmrg 354073143b9aSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 354173143b9aSmrg function prototypes and stuff, but not '\xHH' hex character constants. 354273143b9aSmrg These don't provoke an error unfortunately, instead are silently treated 354373143b9aSmrg as 'x'. The following induces an error, until -std is added to get 354473143b9aSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 354573143b9aSmrg array size at least. It's necessary to write '\x00'==0 to get something 354673143b9aSmrg that's true only with -std. */ 354773143b9aSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 354873143b9aSmrg 354973143b9aSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 355073143b9aSmrg inside strings and character constants. */ 355173143b9aSmrg#define FOO(x) 'x' 355273143b9aSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 355373143b9aSmrg 355473143b9aSmrgint test (int i, double x); 355573143b9aSmrgstruct s1 {int (*f) (int a);}; 355673143b9aSmrgstruct s2 {int (*f) (double a);}; 355773143b9aSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 355873143b9aSmrgint argc; 355973143b9aSmrgchar **argv; 356073143b9aSmrgint 356173143b9aSmrgmain () 356273143b9aSmrg{ 356373143b9aSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 356473143b9aSmrg ; 356573143b9aSmrg return 0; 356673143b9aSmrg} 356773143b9aSmrg_ACEOF 356873143b9aSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 356973143b9aSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 357073143b9aSmrgdo 357173143b9aSmrg CC="$ac_save_CC $ac_arg" 3572af928962Smrg if ac_fn_c_try_compile "$LINENO"; then : 357373143b9aSmrg ac_cv_prog_cc_c89=$ac_arg 357473143b9aSmrgfi 357573143b9aSmrgrm -f core conftest.err conftest.$ac_objext 357673143b9aSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 357773143b9aSmrgdone 357873143b9aSmrgrm -f conftest.$ac_ext 357973143b9aSmrgCC=$ac_save_CC 358073143b9aSmrg 358173143b9aSmrgfi 358273143b9aSmrg# AC_CACHE_VAL 358373143b9aSmrgcase "x$ac_cv_prog_cc_c89" in 358473143b9aSmrg x) 3585af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3586b53e5eeaSmrg$as_echo "none needed" >&6; } ;; 358773143b9aSmrg xno) 3588af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3589b53e5eeaSmrg$as_echo "unsupported" >&6; } ;; 359073143b9aSmrg *) 359173143b9aSmrg CC="$CC $ac_cv_prog_cc_c89" 3592af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3593b53e5eeaSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 359473143b9aSmrgesac 3595af928962Smrgif test "x$ac_cv_prog_cc_c89" != xno; then : 359673143b9aSmrg 3597af928962Smrgfi 359873143b9aSmrg 359973143b9aSmrgac_ext=c 360073143b9aSmrgac_cpp='$CPP $CPPFLAGS' 360173143b9aSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 360273143b9aSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 360373143b9aSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 360473143b9aSmrg 360573143b9aSmrgdepcc="$CC" am_compiler_list= 360673143b9aSmrg 3607af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3608b53e5eeaSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 3609af928962Smrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 3610b53e5eeaSmrg $as_echo_n "(cached) " >&6 361173143b9aSmrgelse 361273143b9aSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 361373143b9aSmrg # We make a subdir and do the tests there. Otherwise we can end up 361473143b9aSmrg # making bogus files that we don't know about and never remove. For 361573143b9aSmrg # instance it was reported that on HP-UX the gcc test will end up 361673143b9aSmrg # making a dummy file named `D' -- because `-MD' means `put the output 361773143b9aSmrg # in D'. 361873143b9aSmrg mkdir conftest.dir 361973143b9aSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 362073143b9aSmrg # using a relative directory. 362173143b9aSmrg cp "$am_depcomp" conftest.dir 362273143b9aSmrg cd conftest.dir 362373143b9aSmrg # We will build objects and dependencies in a subdirectory because 362473143b9aSmrg # it helps to detect inapplicable dependency modes. For instance 362573143b9aSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 362673143b9aSmrg # side effect of compilation, but ICC will put the dependencies in 362773143b9aSmrg # the current directory while Tru64 will put them in the object 362873143b9aSmrg # directory. 362973143b9aSmrg mkdir sub 363073143b9aSmrg 363173143b9aSmrg am_cv_CC_dependencies_compiler_type=none 363273143b9aSmrg if test "$am_compiler_list" = ""; then 363373143b9aSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 363473143b9aSmrg fi 3635b53e5eeaSmrg am__universal=false 3636b53e5eeaSmrg case " $depcc " in #( 3637b53e5eeaSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 3638b53e5eeaSmrg esac 3639b53e5eeaSmrg 364073143b9aSmrg for depmode in $am_compiler_list; do 364173143b9aSmrg # Setup a source with many dependencies, because some compilers 364273143b9aSmrg # like to wrap large dependency lists on column 80 (with \), and 364373143b9aSmrg # we should not choose a depcomp mode which is confused by this. 364473143b9aSmrg # 364573143b9aSmrg # We need to recreate these files for each test, as the compiler may 364673143b9aSmrg # overwrite some of them when testing with obscure command lines. 364773143b9aSmrg # This happens at least with the AIX C compiler. 364873143b9aSmrg : > sub/conftest.c 364973143b9aSmrg for i in 1 2 3 4 5 6; do 365073143b9aSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 365173143b9aSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 365273143b9aSmrg # Solaris 8's {/usr,}/bin/sh. 365373143b9aSmrg touch sub/conftst$i.h 365473143b9aSmrg done 365573143b9aSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 365673143b9aSmrg 3657b53e5eeaSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 3658b53e5eeaSmrg # mode. It turns out that the SunPro C++ compiler does not properly 3659b53e5eeaSmrg # handle `-M -o', and we need to detect this. Also, some Intel 3660b53e5eeaSmrg # versions had trouble with output in subdirs 3661b53e5eeaSmrg am__obj=sub/conftest.${OBJEXT-o} 3662b53e5eeaSmrg am__minus_obj="-o $am__obj" 366373143b9aSmrg case $depmode in 3664b53e5eeaSmrg gcc) 3665b53e5eeaSmrg # This depmode causes a compiler race in universal mode. 3666b53e5eeaSmrg test "$am__universal" = false || continue 3667b53e5eeaSmrg ;; 366873143b9aSmrg nosideeffect) 366973143b9aSmrg # after this tag, mechanisms are not by side-effect, so they'll 367073143b9aSmrg # only be used when explicitly requested 367173143b9aSmrg if test "x$enable_dependency_tracking" = xyes; then 367273143b9aSmrg continue 367373143b9aSmrg else 367473143b9aSmrg break 367573143b9aSmrg fi 367673143b9aSmrg ;; 3677b53e5eeaSmrg msvisualcpp | msvcmsys) 3678b53e5eeaSmrg # This compiler won't grok `-c -o', but also, the minuso test has 3679b53e5eeaSmrg # not run yet. These depmodes are late enough in the game, and 3680b53e5eeaSmrg # so weak that their functioning should not be impacted. 3681b53e5eeaSmrg am__obj=conftest.${OBJEXT-o} 3682b53e5eeaSmrg am__minus_obj= 3683b53e5eeaSmrg ;; 368473143b9aSmrg none) break ;; 368573143b9aSmrg esac 368673143b9aSmrg if depmode=$depmode \ 3687b53e5eeaSmrg source=sub/conftest.c object=$am__obj \ 368873143b9aSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3689b53e5eeaSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 369073143b9aSmrg >/dev/null 2>conftest.err && 369173143b9aSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 369273143b9aSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3693b53e5eeaSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 369473143b9aSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 369573143b9aSmrg # icc doesn't choke on unknown options, it will just issue warnings 369673143b9aSmrg # or remarks (even with -Werror). So we grep stderr for any message 369773143b9aSmrg # that says an option was ignored or not supported. 369873143b9aSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 369973143b9aSmrg # icc: Command line warning: ignoring option '-M'; no argument required 370073143b9aSmrg # The diagnosis changed in icc 8.0: 370173143b9aSmrg # icc: Command line remark: option '-MP' not supported 370273143b9aSmrg if (grep 'ignoring option' conftest.err || 370373143b9aSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 370473143b9aSmrg am_cv_CC_dependencies_compiler_type=$depmode 370573143b9aSmrg break 370673143b9aSmrg fi 370773143b9aSmrg fi 370873143b9aSmrg done 370973143b9aSmrg 371073143b9aSmrg cd .. 371173143b9aSmrg rm -rf conftest.dir 371273143b9aSmrgelse 371373143b9aSmrg am_cv_CC_dependencies_compiler_type=none 371473143b9aSmrgfi 371573143b9aSmrg 371673143b9aSmrgfi 3717af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3718b53e5eeaSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 371973143b9aSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 372073143b9aSmrg 372173143b9aSmrg if 372273143b9aSmrg test "x$enable_dependency_tracking" != xno \ 372373143b9aSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 372473143b9aSmrg am__fastdepCC_TRUE= 372573143b9aSmrg am__fastdepCC_FALSE='#' 372673143b9aSmrgelse 372773143b9aSmrg am__fastdepCC_TRUE='#' 372873143b9aSmrg am__fastdepCC_FALSE= 372973143b9aSmrgfi 373073143b9aSmrg 373173143b9aSmrg 3732af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3733af928962Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3734af928962Smrgif ${ac_cv_prog_cc_c99+:} false; then : 3735b53e5eeaSmrg $as_echo_n "(cached) " >&6 373673143b9aSmrgelse 3737af928962Smrg ac_cv_prog_cc_c99=no 3738af928962Smrgac_save_CC=$CC 3739af928962Smrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 374073143b9aSmrg/* end confdefs.h. */ 3741af928962Smrg#include <stdarg.h> 3742af928962Smrg#include <stdbool.h> 3743af928962Smrg#include <stdlib.h> 3744af928962Smrg#include <wchar.h> 3745af928962Smrg#include <stdio.h> 374673143b9aSmrg 3747af928962Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 3748af928962Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 3749af928962Smrg#define showlist(...) puts (#__VA_ARGS__) 3750af928962Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3751af928962Smrgstatic void 3752af928962Smrgtest_varargs_macros (void) 3753af928962Smrg{ 3754af928962Smrg int x = 1234; 3755af928962Smrg int y = 5678; 3756af928962Smrg debug ("Flag"); 3757af928962Smrg debug ("X = %d\n", x); 3758af928962Smrg showlist (The first, second, and third items.); 3759af928962Smrg report (x>y, "x is %d but y is %d", x, y); 3760af928962Smrg} 376173143b9aSmrg 3762af928962Smrg// Check long long types. 3763af928962Smrg#define BIG64 18446744073709551615ull 3764af928962Smrg#define BIG32 4294967295ul 3765af928962Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3766af928962Smrg#if !BIG_OK 3767af928962Smrg your preprocessor is broken; 3768af928962Smrg#endif 3769af928962Smrg#if BIG_OK 3770af928962Smrg#else 3771af928962Smrg your preprocessor is broken; 3772af928962Smrg#endif 3773af928962Smrgstatic long long int bignum = -9223372036854775807LL; 3774af928962Smrgstatic unsigned long long int ubignum = BIG64; 377573143b9aSmrg 3776af928962Smrgstruct incomplete_array 3777af928962Smrg{ 3778af928962Smrg int datasize; 3779af928962Smrg double data[]; 3780af928962Smrg}; 3781b53e5eeaSmrg 3782af928962Smrgstruct named_init { 3783af928962Smrg int number; 3784af928962Smrg const wchar_t *name; 3785af928962Smrg double average; 3786af928962Smrg}; 3787b53e5eeaSmrg 3788af928962Smrgtypedef const char *ccp; 3789af928962Smrg 3790af928962Smrgstatic inline int 3791af928962Smrgtest_restrict (ccp restrict text) 3792af928962Smrg{ 3793af928962Smrg // See if C++-style comments work. 3794af928962Smrg // Iterate through items via the restricted pointer. 3795af928962Smrg // Also check for declarations in for loops. 3796af928962Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3797af928962Smrg continue; 3798af928962Smrg return 0; 3799af928962Smrg} 3800af928962Smrg 3801af928962Smrg// Check varargs and va_copy. 3802af928962Smrgstatic void 3803af928962Smrgtest_varargs (const char *format, ...) 3804af928962Smrg{ 3805af928962Smrg va_list args; 3806af928962Smrg va_start (args, format); 3807af928962Smrg va_list args_copy; 3808af928962Smrg va_copy (args_copy, args); 3809af928962Smrg 3810af928962Smrg const char *str; 3811af928962Smrg int number; 3812af928962Smrg float fnumber; 3813af928962Smrg 3814af928962Smrg while (*format) 3815af928962Smrg { 3816af928962Smrg switch (*format++) 3817af928962Smrg { 3818af928962Smrg case 's': // string 3819af928962Smrg str = va_arg (args_copy, const char *); 3820af928962Smrg break; 3821af928962Smrg case 'd': // int 3822af928962Smrg number = va_arg (args_copy, int); 3823af928962Smrg break; 3824af928962Smrg case 'f': // float 3825af928962Smrg fnumber = va_arg (args_copy, double); 3826af928962Smrg break; 3827af928962Smrg default: 3828af928962Smrg break; 3829af928962Smrg } 3830af928962Smrg } 3831af928962Smrg va_end (args_copy); 3832af928962Smrg va_end (args); 3833af928962Smrg} 3834af928962Smrg 3835af928962Smrgint 3836af928962Smrgmain () 3837af928962Smrg{ 3838af928962Smrg 3839af928962Smrg // Check bool. 3840af928962Smrg _Bool success = false; 3841af928962Smrg 3842af928962Smrg // Check restrict. 3843af928962Smrg if (test_restrict ("String literal") == 0) 3844af928962Smrg success = true; 3845af928962Smrg char *restrict newvar = "Another string"; 3846af928962Smrg 3847af928962Smrg // Check varargs. 3848af928962Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 3849af928962Smrg test_varargs_macros (); 3850af928962Smrg 3851af928962Smrg // Check flexible array members. 3852af928962Smrg struct incomplete_array *ia = 3853af928962Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3854af928962Smrg ia->datasize = 10; 3855af928962Smrg for (int i = 0; i < ia->datasize; ++i) 3856af928962Smrg ia->data[i] = i * 1.234; 3857af928962Smrg 3858af928962Smrg // Check named initializers. 3859af928962Smrg struct named_init ni = { 3860af928962Smrg .number = 34, 3861af928962Smrg .name = L"Test wide string", 3862af928962Smrg .average = 543.34343, 3863af928962Smrg }; 3864af928962Smrg 3865af928962Smrg ni.number = 58; 3866af928962Smrg 3867af928962Smrg int dynamic_array[ni.number]; 3868af928962Smrg dynamic_array[ni.number - 1] = 543; 3869af928962Smrg 3870af928962Smrg // work around unused variable warnings 3871af928962Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3872af928962Smrg || dynamic_array[ni.number - 1] != 543); 3873af928962Smrg 3874af928962Smrg ; 3875af928962Smrg return 0; 3876af928962Smrg} 3877af928962Smrg_ACEOF 3878af928962Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 3879af928962Smrgdo 3880af928962Smrg CC="$ac_save_CC $ac_arg" 3881af928962Smrg if ac_fn_c_try_compile "$LINENO"; then : 3882af928962Smrg ac_cv_prog_cc_c99=$ac_arg 3883af928962Smrgfi 3884af928962Smrgrm -f core conftest.err conftest.$ac_objext 3885af928962Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 3886af928962Smrgdone 3887af928962Smrgrm -f conftest.$ac_ext 3888af928962SmrgCC=$ac_save_CC 3889af928962Smrg 3890af928962Smrgfi 3891af928962Smrg# AC_CACHE_VAL 3892af928962Smrgcase "x$ac_cv_prog_cc_c99" in 3893af928962Smrg x) 3894af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3895af928962Smrg$as_echo "none needed" >&6; } ;; 3896af928962Smrg xno) 3897af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3898af928962Smrg$as_echo "unsupported" >&6; } ;; 3899af928962Smrg *) 3900af928962Smrg CC="$CC $ac_cv_prog_cc_c99" 3901af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3902af928962Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3903af928962Smrgesac 3904af928962Smrgif test "x$ac_cv_prog_cc_c99" != xno; then : 3905af928962Smrg 3906af928962Smrgfi 3907af928962Smrg 3908af928962Smrg 3909af928962Smrg 3910af928962Smrgac_ext=c 3911af928962Smrgac_cpp='$CPP $CPPFLAGS' 3912af928962Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3913af928962Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3914af928962Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3915af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3916af928962Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 3917af928962Smrg# On Suns, sometimes $CPP names a directory. 3918af928962Smrgif test -n "$CPP" && test -d "$CPP"; then 3919af928962Smrg CPP= 3920af928962Smrgfi 3921af928962Smrgif test -z "$CPP"; then 3922af928962Smrg if ${ac_cv_prog_CPP+:} false; then : 3923af928962Smrg $as_echo_n "(cached) " >&6 3924af928962Smrgelse 3925af928962Smrg # Double quotes because CPP needs to be expanded 3926af928962Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3927af928962Smrg do 3928af928962Smrg ac_preproc_ok=false 3929af928962Smrgfor ac_c_preproc_warn_flag in '' yes 3930af928962Smrgdo 3931af928962Smrg # Use a header file that comes with gcc, so configuring glibc 3932af928962Smrg # with a fresh cross-compiler works. 3933af928962Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3934af928962Smrg # <limits.h> exists even on freestanding compilers. 3935af928962Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 3936af928962Smrg # not just through cpp. "Syntax error" is here to catch this case. 3937af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3938af928962Smrg/* end confdefs.h. */ 3939af928962Smrg#ifdef __STDC__ 3940af928962Smrg# include <limits.h> 3941af928962Smrg#else 3942af928962Smrg# include <assert.h> 3943af928962Smrg#endif 3944af928962Smrg Syntax error 3945af928962Smrg_ACEOF 3946af928962Smrgif ac_fn_c_try_cpp "$LINENO"; then : 3947af928962Smrg 3948af928962Smrgelse 3949af928962Smrg # Broken: fails on valid input. 3950af928962Smrgcontinue 3951af928962Smrgfi 3952af928962Smrgrm -f conftest.err conftest.i conftest.$ac_ext 3953af928962Smrg 3954af928962Smrg # OK, works on sane cases. Now check whether nonexistent headers 3955af928962Smrg # can be detected and how. 3956af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3957af928962Smrg/* end confdefs.h. */ 3958af928962Smrg#include <ac_nonexistent.h> 3959af928962Smrg_ACEOF 3960af928962Smrgif ac_fn_c_try_cpp "$LINENO"; then : 3961af928962Smrg # Broken: success on invalid input. 3962af928962Smrgcontinue 3963af928962Smrgelse 3964af928962Smrg # Passes both tests. 3965af928962Smrgac_preproc_ok=: 3966af928962Smrgbreak 3967af928962Smrgfi 3968af928962Smrgrm -f conftest.err conftest.i conftest.$ac_ext 3969b53e5eeaSmrg 3970b53e5eeaSmrgdone 3971b53e5eeaSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3972af928962Smrgrm -f conftest.i conftest.err conftest.$ac_ext 3973af928962Smrgif $ac_preproc_ok; then : 3974b53e5eeaSmrg break 3975b53e5eeaSmrgfi 3976b53e5eeaSmrg 3977b53e5eeaSmrg done 3978b53e5eeaSmrg ac_cv_prog_CPP=$CPP 3979b53e5eeaSmrg 3980b53e5eeaSmrgfi 3981b53e5eeaSmrg CPP=$ac_cv_prog_CPP 3982b53e5eeaSmrgelse 3983b53e5eeaSmrg ac_cv_prog_CPP=$CPP 3984b53e5eeaSmrgfi 3985af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3986b53e5eeaSmrg$as_echo "$CPP" >&6; } 3987b53e5eeaSmrgac_preproc_ok=false 3988b53e5eeaSmrgfor ac_c_preproc_warn_flag in '' yes 3989b53e5eeaSmrgdo 3990b53e5eeaSmrg # Use a header file that comes with gcc, so configuring glibc 3991b53e5eeaSmrg # with a fresh cross-compiler works. 3992b53e5eeaSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3993b53e5eeaSmrg # <limits.h> exists even on freestanding compilers. 3994b53e5eeaSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 3995b53e5eeaSmrg # not just through cpp. "Syntax error" is here to catch this case. 3996af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3997b53e5eeaSmrg/* end confdefs.h. */ 3998b53e5eeaSmrg#ifdef __STDC__ 3999b53e5eeaSmrg# include <limits.h> 4000b53e5eeaSmrg#else 4001b53e5eeaSmrg# include <assert.h> 4002b53e5eeaSmrg#endif 4003b53e5eeaSmrg Syntax error 4004b53e5eeaSmrg_ACEOF 4005af928962Smrgif ac_fn_c_try_cpp "$LINENO"; then : 4006b53e5eeaSmrg 4007af928962Smrgelse 4008b53e5eeaSmrg # Broken: fails on valid input. 4009b53e5eeaSmrgcontinue 4010b53e5eeaSmrgfi 4011af928962Smrgrm -f conftest.err conftest.i conftest.$ac_ext 4012b53e5eeaSmrg 4013b53e5eeaSmrg # OK, works on sane cases. Now check whether nonexistent headers 4014b53e5eeaSmrg # can be detected and how. 4015af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4016b53e5eeaSmrg/* end confdefs.h. */ 4017b53e5eeaSmrg#include <ac_nonexistent.h> 4018b53e5eeaSmrg_ACEOF 4019af928962Smrgif ac_fn_c_try_cpp "$LINENO"; then : 4020b53e5eeaSmrg # Broken: success on invalid input. 4021b53e5eeaSmrgcontinue 4022b53e5eeaSmrgelse 4023b53e5eeaSmrg # Passes both tests. 4024b53e5eeaSmrgac_preproc_ok=: 4025b53e5eeaSmrgbreak 4026b53e5eeaSmrgfi 4027af928962Smrgrm -f conftest.err conftest.i conftest.$ac_ext 4028b53e5eeaSmrg 4029b53e5eeaSmrgdone 4030b53e5eeaSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4031af928962Smrgrm -f conftest.i conftest.err conftest.$ac_ext 4032af928962Smrgif $ac_preproc_ok; then : 4033af928962Smrg 4034b53e5eeaSmrgelse 4035af928962Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4036b53e5eeaSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4037af928962Smrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4038af928962SmrgSee \`config.log' for more details" "$LINENO" 5; } 4039b53e5eeaSmrgfi 4040b53e5eeaSmrg 4041b53e5eeaSmrgac_ext=c 4042b53e5eeaSmrgac_cpp='$CPP $CPPFLAGS' 4043b53e5eeaSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4044b53e5eeaSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4045b53e5eeaSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 4046b53e5eeaSmrg 4047b53e5eeaSmrg 4048af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4049b53e5eeaSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4050af928962Smrgif ${ac_cv_path_GREP+:} false; then : 4051b53e5eeaSmrg $as_echo_n "(cached) " >&6 4052b53e5eeaSmrgelse 4053b53e5eeaSmrg if test -z "$GREP"; then 4054b53e5eeaSmrg ac_path_GREP_found=false 4055b53e5eeaSmrg # Loop through the user's path and test for each of PROGNAME-LIST 4056b53e5eeaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4057b53e5eeaSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4058b53e5eeaSmrgdo 4059b53e5eeaSmrg IFS=$as_save_IFS 4060b53e5eeaSmrg test -z "$as_dir" && as_dir=. 4061af928962Smrg for ac_prog in grep ggrep; do 4062b53e5eeaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4063b53e5eeaSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4064b53e5eeaSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4065b53e5eeaSmrg# Check for GNU ac_path_GREP and select it if it is found. 4066b53e5eeaSmrg # Check for GNU $ac_path_GREP 4067b53e5eeaSmrgcase `"$ac_path_GREP" --version 2>&1` in 4068b53e5eeaSmrg*GNU*) 4069b53e5eeaSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4070b53e5eeaSmrg*) 4071b53e5eeaSmrg ac_count=0 4072b53e5eeaSmrg $as_echo_n 0123456789 >"conftest.in" 4073b53e5eeaSmrg while : 4074b53e5eeaSmrg do 4075b53e5eeaSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4076b53e5eeaSmrg mv "conftest.tmp" "conftest.in" 4077b53e5eeaSmrg cp "conftest.in" "conftest.nl" 4078b53e5eeaSmrg $as_echo 'GREP' >> "conftest.nl" 4079b53e5eeaSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4080b53e5eeaSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4081af928962Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 4082b53e5eeaSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 4083b53e5eeaSmrg # Best one so far, save it but keep looking for a better one 4084b53e5eeaSmrg ac_cv_path_GREP="$ac_path_GREP" 4085b53e5eeaSmrg ac_path_GREP_max=$ac_count 4086b53e5eeaSmrg fi 4087b53e5eeaSmrg # 10*(2^10) chars as input seems more than enough 4088b53e5eeaSmrg test $ac_count -gt 10 && break 4089b53e5eeaSmrg done 4090b53e5eeaSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4091b53e5eeaSmrgesac 4092b53e5eeaSmrg 4093b53e5eeaSmrg $ac_path_GREP_found && break 3 4094b53e5eeaSmrg done 4095b53e5eeaSmrg done 4096af928962Smrg done 4097b53e5eeaSmrgIFS=$as_save_IFS 4098b53e5eeaSmrg if test -z "$ac_cv_path_GREP"; then 4099af928962Smrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4100b53e5eeaSmrg fi 4101b53e5eeaSmrgelse 4102b53e5eeaSmrg ac_cv_path_GREP=$GREP 4103b53e5eeaSmrgfi 4104b53e5eeaSmrg 4105b53e5eeaSmrgfi 4106af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4107b53e5eeaSmrg$as_echo "$ac_cv_path_GREP" >&6; } 4108b53e5eeaSmrg GREP="$ac_cv_path_GREP" 4109b53e5eeaSmrg 4110b53e5eeaSmrg 4111af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4112b53e5eeaSmrg$as_echo_n "checking for egrep... " >&6; } 4113af928962Smrgif ${ac_cv_path_EGREP+:} false; then : 4114b53e5eeaSmrg $as_echo_n "(cached) " >&6 4115b53e5eeaSmrgelse 4116b53e5eeaSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4117b53e5eeaSmrg then ac_cv_path_EGREP="$GREP -E" 4118b53e5eeaSmrg else 4119b53e5eeaSmrg if test -z "$EGREP"; then 4120b53e5eeaSmrg ac_path_EGREP_found=false 4121b53e5eeaSmrg # Loop through the user's path and test for each of PROGNAME-LIST 4122b53e5eeaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4123b53e5eeaSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4124b53e5eeaSmrgdo 4125b53e5eeaSmrg IFS=$as_save_IFS 4126b53e5eeaSmrg test -z "$as_dir" && as_dir=. 4127af928962Smrg for ac_prog in egrep; do 4128b53e5eeaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4129b53e5eeaSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4130b53e5eeaSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4131b53e5eeaSmrg# Check for GNU ac_path_EGREP and select it if it is found. 4132b53e5eeaSmrg # Check for GNU $ac_path_EGREP 4133b53e5eeaSmrgcase `"$ac_path_EGREP" --version 2>&1` in 4134b53e5eeaSmrg*GNU*) 4135b53e5eeaSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4136b53e5eeaSmrg*) 4137b53e5eeaSmrg ac_count=0 4138b53e5eeaSmrg $as_echo_n 0123456789 >"conftest.in" 4139b53e5eeaSmrg while : 4140b53e5eeaSmrg do 4141b53e5eeaSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4142b53e5eeaSmrg mv "conftest.tmp" "conftest.in" 4143b53e5eeaSmrg cp "conftest.in" "conftest.nl" 4144b53e5eeaSmrg $as_echo 'EGREP' >> "conftest.nl" 4145b53e5eeaSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4146b53e5eeaSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4147af928962Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 4148b53e5eeaSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4149b53e5eeaSmrg # Best one so far, save it but keep looking for a better one 4150b53e5eeaSmrg ac_cv_path_EGREP="$ac_path_EGREP" 4151b53e5eeaSmrg ac_path_EGREP_max=$ac_count 4152b53e5eeaSmrg fi 4153b53e5eeaSmrg # 10*(2^10) chars as input seems more than enough 4154b53e5eeaSmrg test $ac_count -gt 10 && break 4155b53e5eeaSmrg done 4156b53e5eeaSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4157b53e5eeaSmrgesac 4158b53e5eeaSmrg 4159b53e5eeaSmrg $ac_path_EGREP_found && break 3 4160b53e5eeaSmrg done 4161b53e5eeaSmrg done 4162af928962Smrg done 4163b53e5eeaSmrgIFS=$as_save_IFS 4164b53e5eeaSmrg if test -z "$ac_cv_path_EGREP"; then 4165af928962Smrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4166b53e5eeaSmrg fi 4167b53e5eeaSmrgelse 4168b53e5eeaSmrg ac_cv_path_EGREP=$EGREP 4169b53e5eeaSmrgfi 4170b53e5eeaSmrg 4171b53e5eeaSmrg fi 4172b53e5eeaSmrgfi 4173af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4174b53e5eeaSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 4175b53e5eeaSmrg EGREP="$ac_cv_path_EGREP" 4176b53e5eeaSmrg 4177b53e5eeaSmrg 4178af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4179b53e5eeaSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 4180af928962Smrgif ${ac_cv_header_stdc+:} false; then : 4181b53e5eeaSmrg $as_echo_n "(cached) " >&6 4182b53e5eeaSmrgelse 4183af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4184b53e5eeaSmrg/* end confdefs.h. */ 4185b53e5eeaSmrg#include <stdlib.h> 4186b53e5eeaSmrg#include <stdarg.h> 4187b53e5eeaSmrg#include <string.h> 4188b53e5eeaSmrg#include <float.h> 4189b53e5eeaSmrg 4190b53e5eeaSmrgint 4191b53e5eeaSmrgmain () 4192b53e5eeaSmrg{ 4193b53e5eeaSmrg 4194b53e5eeaSmrg ; 4195b53e5eeaSmrg return 0; 4196b53e5eeaSmrg} 4197b53e5eeaSmrg_ACEOF 4198af928962Smrgif ac_fn_c_try_compile "$LINENO"; then : 4199b53e5eeaSmrg ac_cv_header_stdc=yes 4200b53e5eeaSmrgelse 4201af928962Smrg ac_cv_header_stdc=no 4202b53e5eeaSmrgfi 4203b53e5eeaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4204b53e5eeaSmrg 4205b53e5eeaSmrgif test $ac_cv_header_stdc = yes; then 4206b53e5eeaSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4207af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4208b53e5eeaSmrg/* end confdefs.h. */ 4209b53e5eeaSmrg#include <string.h> 4210b53e5eeaSmrg 4211b53e5eeaSmrg_ACEOF 4212b53e5eeaSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4213af928962Smrg $EGREP "memchr" >/dev/null 2>&1; then : 4214af928962Smrg 4215b53e5eeaSmrgelse 4216b53e5eeaSmrg ac_cv_header_stdc=no 4217b53e5eeaSmrgfi 4218b53e5eeaSmrgrm -f conftest* 4219b53e5eeaSmrg 4220b53e5eeaSmrgfi 4221b53e5eeaSmrg 4222b53e5eeaSmrgif test $ac_cv_header_stdc = yes; then 4223b53e5eeaSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4224af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4225b53e5eeaSmrg/* end confdefs.h. */ 4226b53e5eeaSmrg#include <stdlib.h> 4227b53e5eeaSmrg 4228b53e5eeaSmrg_ACEOF 4229b53e5eeaSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4230af928962Smrg $EGREP "free" >/dev/null 2>&1; then : 4231af928962Smrg 4232b53e5eeaSmrgelse 4233b53e5eeaSmrg ac_cv_header_stdc=no 4234b53e5eeaSmrgfi 4235b53e5eeaSmrgrm -f conftest* 4236b53e5eeaSmrg 4237b53e5eeaSmrgfi 4238b53e5eeaSmrg 4239b53e5eeaSmrgif test $ac_cv_header_stdc = yes; then 4240b53e5eeaSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4241af928962Smrg if test "$cross_compiling" = yes; then : 4242b53e5eeaSmrg : 4243b53e5eeaSmrgelse 4244af928962Smrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4245b53e5eeaSmrg/* end confdefs.h. */ 4246b53e5eeaSmrg#include <ctype.h> 4247b53e5eeaSmrg#include <stdlib.h> 4248b53e5eeaSmrg#if ((' ' & 0x0FF) == 0x020) 4249b53e5eeaSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4250b53e5eeaSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4251b53e5eeaSmrg#else 4252b53e5eeaSmrg# define ISLOWER(c) \ 4253b53e5eeaSmrg (('a' <= (c) && (c) <= 'i') \ 4254b53e5eeaSmrg || ('j' <= (c) && (c) <= 'r') \ 4255b53e5eeaSmrg || ('s' <= (c) && (c) <= 'z')) 4256b53e5eeaSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4257b53e5eeaSmrg#endif 4258b53e5eeaSmrg 4259b53e5eeaSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4260b53e5eeaSmrgint 4261b53e5eeaSmrgmain () 4262b53e5eeaSmrg{ 4263b53e5eeaSmrg int i; 4264b53e5eeaSmrg for (i = 0; i < 256; i++) 4265b53e5eeaSmrg if (XOR (islower (i), ISLOWER (i)) 4266b53e5eeaSmrg || toupper (i) != TOUPPER (i)) 4267b53e5eeaSmrg return 2; 4268b53e5eeaSmrg return 0; 4269b53e5eeaSmrg} 4270b53e5eeaSmrg_ACEOF 4271af928962Smrgif ac_fn_c_try_run "$LINENO"; then : 4272b53e5eeaSmrg 4273af928962Smrgelse 4274af928962Smrg ac_cv_header_stdc=no 4275b53e5eeaSmrgfi 4276af928962Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4277af928962Smrg conftest.$ac_objext conftest.beam conftest.$ac_ext 4278b53e5eeaSmrgfi 4279b53e5eeaSmrg 4280b53e5eeaSmrgfi 4281b53e5eeaSmrgfi 4282af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4283b53e5eeaSmrg$as_echo "$ac_cv_header_stdc" >&6; } 4284b53e5eeaSmrgif test $ac_cv_header_stdc = yes; then 4285b53e5eeaSmrg 4286af928962Smrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4287b53e5eeaSmrg 4288b53e5eeaSmrgfi 4289b53e5eeaSmrg 4290b53e5eeaSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4291af928962Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4292af928962Smrg inttypes.h stdint.h unistd.h 4293af928962Smrgdo : 4294af928962Smrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4295af928962Smrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4296af928962Smrg" 4297af928962Smrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4298af928962Smrg cat >>confdefs.h <<_ACEOF 4299af928962Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4300af928962Smrg_ACEOF 4301b53e5eeaSmrg 4302af928962Smrgfi 4303b53e5eeaSmrg 4304af928962Smrgdone 4305b53e5eeaSmrg 4306b53e5eeaSmrg 4307b53e5eeaSmrg 4308b53e5eeaSmrg 4309af928962Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4310af928962Smrg if test -n "$ac_tool_prefix"; then 4311af928962Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4312af928962Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4313af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4314af928962Smrg$as_echo_n "checking for $ac_word... " >&6; } 4315af928962Smrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 4316b53e5eeaSmrg $as_echo_n "(cached) " >&6 4317b53e5eeaSmrgelse 4318af928962Smrg case $PKG_CONFIG in 4319af928962Smrg [\\/]* | ?:[\\/]*) 4320af928962Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4321af928962Smrg ;; 4322af928962Smrg *) 4323af928962Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4324af928962Smrgfor as_dir in $PATH 4325af928962Smrgdo 4326af928962Smrg IFS=$as_save_IFS 4327af928962Smrg test -z "$as_dir" && as_dir=. 4328af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 4329af928962Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4330af928962Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4331af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4332af928962Smrg break 2 4333af928962Smrg fi 4334af928962Smrgdone 4335af928962Smrg done 4336af928962SmrgIFS=$as_save_IFS 4337b53e5eeaSmrg 4338af928962Smrg ;; 4339b53e5eeaSmrgesac 4340af928962Smrgfi 4341af928962SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 4342af928962Smrgif test -n "$PKG_CONFIG"; then 4343af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4344af928962Smrg$as_echo "$PKG_CONFIG" >&6; } 4345b53e5eeaSmrgelse 4346af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4347af928962Smrg$as_echo "no" >&6; } 4348b53e5eeaSmrgfi 4349b53e5eeaSmrg 4350b53e5eeaSmrg 4351b53e5eeaSmrgfi 4352af928962Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4353af928962Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4354af928962Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 4355af928962Smrgset dummy pkg-config; ac_word=$2 4356af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4357af928962Smrg$as_echo_n "checking for $ac_word... " >&6; } 4358af928962Smrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4359b53e5eeaSmrg $as_echo_n "(cached) " >&6 4360b53e5eeaSmrgelse 4361af928962Smrg case $ac_pt_PKG_CONFIG in 4362af928962Smrg [\\/]* | ?:[\\/]*) 4363af928962Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4364af928962Smrg ;; 4365af928962Smrg *) 4366af928962Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4367af928962Smrgfor as_dir in $PATH 4368b53e5eeaSmrgdo 4369af928962Smrg IFS=$as_save_IFS 4370af928962Smrg test -z "$as_dir" && as_dir=. 4371af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 4372af928962Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4373af928962Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4374af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4375af928962Smrg break 2 4376af928962Smrg fi 4377af928962Smrgdone 4378af928962Smrg done 4379af928962SmrgIFS=$as_save_IFS 4380af928962Smrg 4381af928962Smrg ;; 4382b53e5eeaSmrgesac 4383af928962Smrgfi 4384af928962Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4385af928962Smrgif test -n "$ac_pt_PKG_CONFIG"; then 4386af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4387af928962Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4388b53e5eeaSmrgelse 4389af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4390af928962Smrg$as_echo "no" >&6; } 4391b53e5eeaSmrgfi 4392b53e5eeaSmrg 4393af928962Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 4394af928962Smrg PKG_CONFIG="" 4395af928962Smrg else 4396af928962Smrg case $cross_compiling:$ac_tool_warned in 4397af928962Smrgyes:) 4398af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4399af928962Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4400af928962Smrgac_tool_warned=yes ;; 4401b53e5eeaSmrgesac 4402af928962Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 4403af928962Smrg fi 4404af928962Smrgelse 4405af928962Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4406af928962Smrgfi 4407b53e5eeaSmrg 4408af928962Smrgfi 4409af928962Smrgif test -n "$PKG_CONFIG"; then 4410af928962Smrg _pkg_min_version=0.9.0 4411af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4412af928962Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4413af928962Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4414af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4415af928962Smrg$as_echo "yes" >&6; } 4416af928962Smrg else 4417af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4418af928962Smrg$as_echo "no" >&6; } 4419af928962Smrg PKG_CONFIG="" 4420af928962Smrg fi 4421b53e5eeaSmrg 4422af928962Smrgfi 4423b53e5eeaSmrg# Make sure we can run config.sub. 4424b53e5eeaSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4425af928962Smrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4426b53e5eeaSmrg 4427af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4428b53e5eeaSmrg$as_echo_n "checking build system type... " >&6; } 4429af928962Smrgif ${ac_cv_build+:} false; then : 4430b53e5eeaSmrg $as_echo_n "(cached) " >&6 4431b53e5eeaSmrgelse 4432b53e5eeaSmrg ac_build_alias=$build_alias 4433b53e5eeaSmrgtest "x$ac_build_alias" = x && 4434b53e5eeaSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4435b53e5eeaSmrgtest "x$ac_build_alias" = x && 4436af928962Smrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4437b53e5eeaSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4438af928962Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4439b53e5eeaSmrg 4440b53e5eeaSmrgfi 4441af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4442b53e5eeaSmrg$as_echo "$ac_cv_build" >&6; } 4443b53e5eeaSmrgcase $ac_cv_build in 4444b53e5eeaSmrg*-*-*) ;; 4445af928962Smrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4446b53e5eeaSmrgesac 4447b53e5eeaSmrgbuild=$ac_cv_build 4448b53e5eeaSmrgac_save_IFS=$IFS; IFS='-' 4449b53e5eeaSmrgset x $ac_cv_build 4450b53e5eeaSmrgshift 4451b53e5eeaSmrgbuild_cpu=$1 4452b53e5eeaSmrgbuild_vendor=$2 4453b53e5eeaSmrgshift; shift 4454b53e5eeaSmrg# Remember, the first character of IFS is used to create $*, 4455b53e5eeaSmrg# except with old shells: 4456b53e5eeaSmrgbuild_os=$* 4457b53e5eeaSmrgIFS=$ac_save_IFS 4458b53e5eeaSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4459b53e5eeaSmrg 4460b53e5eeaSmrg 4461af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4462b53e5eeaSmrg$as_echo_n "checking host system type... " >&6; } 4463af928962Smrgif ${ac_cv_host+:} false; then : 4464b53e5eeaSmrg $as_echo_n "(cached) " >&6 4465b53e5eeaSmrgelse 4466b53e5eeaSmrg if test "x$host_alias" = x; then 4467b53e5eeaSmrg ac_cv_host=$ac_cv_build 4468b53e5eeaSmrgelse 4469b53e5eeaSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4470af928962Smrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4471b53e5eeaSmrgfi 4472b53e5eeaSmrg 4473b53e5eeaSmrgfi 4474af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4475b53e5eeaSmrg$as_echo "$ac_cv_host" >&6; } 4476b53e5eeaSmrgcase $ac_cv_host in 4477b53e5eeaSmrg*-*-*) ;; 4478af928962Smrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4479b53e5eeaSmrgesac 4480b53e5eeaSmrghost=$ac_cv_host 4481b53e5eeaSmrgac_save_IFS=$IFS; IFS='-' 4482b53e5eeaSmrgset x $ac_cv_host 4483b53e5eeaSmrgshift 4484b53e5eeaSmrghost_cpu=$1 4485b53e5eeaSmrghost_vendor=$2 4486b53e5eeaSmrgshift; shift 4487b53e5eeaSmrg# Remember, the first character of IFS is used to create $*, 4488b53e5eeaSmrg# except with old shells: 4489b53e5eeaSmrghost_os=$* 4490b53e5eeaSmrgIFS=$ac_save_IFS 4491b53e5eeaSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4492b53e5eeaSmrg 4493b53e5eeaSmrg 4494af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4495af928962Smrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4496af928962Smrgif ${ac_cv_path_SED+:} false; then : 4497af928962Smrg $as_echo_n "(cached) " >&6 4498af928962Smrgelse 4499af928962Smrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4500af928962Smrg for ac_i in 1 2 3 4 5 6 7; do 4501af928962Smrg ac_script="$ac_script$as_nl$ac_script" 4502af928962Smrg done 4503af928962Smrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4504af928962Smrg { ac_script=; unset ac_script;} 4505af928962Smrg if test -z "$SED"; then 4506af928962Smrg ac_path_SED_found=false 4507af928962Smrg # Loop through the user's path and test for each of PROGNAME-LIST 4508af928962Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4509af928962Smrgfor as_dir in $PATH 4510af928962Smrgdo 4511af928962Smrg IFS=$as_save_IFS 4512af928962Smrg test -z "$as_dir" && as_dir=. 4513af928962Smrg for ac_prog in sed gsed; do 4514af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 4515af928962Smrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4516af928962Smrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4517af928962Smrg# Check for GNU ac_path_SED and select it if it is found. 4518af928962Smrg # Check for GNU $ac_path_SED 4519af928962Smrgcase `"$ac_path_SED" --version 2>&1` in 4520af928962Smrg*GNU*) 4521af928962Smrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4522af928962Smrg*) 4523af928962Smrg ac_count=0 4524af928962Smrg $as_echo_n 0123456789 >"conftest.in" 4525af928962Smrg while : 4526af928962Smrg do 4527af928962Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4528af928962Smrg mv "conftest.tmp" "conftest.in" 4529af928962Smrg cp "conftest.in" "conftest.nl" 4530af928962Smrg $as_echo '' >> "conftest.nl" 4531af928962Smrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4532af928962Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4533af928962Smrg as_fn_arith $ac_count + 1 && ac_count=$as_val 4534af928962Smrg if test $ac_count -gt ${ac_path_SED_max-0}; then 4535af928962Smrg # Best one so far, save it but keep looking for a better one 4536af928962Smrg ac_cv_path_SED="$ac_path_SED" 4537af928962Smrg ac_path_SED_max=$ac_count 4538af928962Smrg fi 4539af928962Smrg # 10*(2^10) chars as input seems more than enough 4540af928962Smrg test $ac_count -gt 10 && break 4541af928962Smrg done 4542af928962Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4543af928962Smrgesac 4544af928962Smrg 4545af928962Smrg $ac_path_SED_found && break 3 4546af928962Smrg done 4547af928962Smrg done 4548af928962Smrg done 4549af928962SmrgIFS=$as_save_IFS 4550af928962Smrg if test -z "$ac_cv_path_SED"; then 4551af928962Smrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4552af928962Smrg fi 4553af928962Smrgelse 4554af928962Smrg ac_cv_path_SED=$SED 4555af928962Smrgfi 4556af928962Smrg 4557af928962Smrgfi 4558af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4559af928962Smrg$as_echo "$ac_cv_path_SED" >&6; } 4560af928962Smrg SED="$ac_cv_path_SED" 4561af928962Smrg rm -f conftest.sed 4562af928962Smrg 4563af928962Smrg 4564b53e5eeaSmrg 4565b53e5eeaSmrg 4566b53e5eeaSmrg 4567b53e5eeaSmrgif test "x$GCC" = xyes ; then 4568b53e5eeaSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4569b53e5eeaSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4570af928962Smrg-Wbad-function-cast -Wformat=2" 4571b53e5eeaSmrg case `$CC -dumpversion` in 4572b53e5eeaSmrg 3.4.* | 4.*) 4573b53e5eeaSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4574b53e5eeaSmrg ;; 4575b53e5eeaSmrg esac 4576b53e5eeaSmrgelse 4577af928962Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4578af928962Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4579b53e5eeaSmrg SUNCC="yes" 4580b53e5eeaSmrgelse 4581b53e5eeaSmrg SUNCC="no" 4582b53e5eeaSmrgfi 4583b53e5eeaSmrg 4584b53e5eeaSmrg if test "x$SUNCC" = "xyes"; then 4585af928962Smrg CWARNFLAGS="-v" 4586af928962Smrg fi 4587af928962Smrgfi 4588b53e5eeaSmrg 4589b53e5eeaSmrg 4590b53e5eeaSmrg 4591af928962Smrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 4592b53e5eeaSmrg 4593b53e5eeaSmrg 4594b53e5eeaSmrg 4595b53e5eeaSmrg# Check whether --enable-strict-compilation was given. 4596af928962Smrgif test "${enable_strict_compilation+set}" = set; then : 4597b53e5eeaSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4598b53e5eeaSmrgelse 4599b53e5eeaSmrg STRICT_COMPILE=no 4600b53e5eeaSmrgfi 4601b53e5eeaSmrg 4602b53e5eeaSmrgif test "x$STRICT_COMPILE" = "xyes"; then 4603af928962Smrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4604af928962Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4605b53e5eeaSmrg SUNCC="yes" 4606b53e5eeaSmrgelse 4607b53e5eeaSmrg SUNCC="no" 4608b53e5eeaSmrgfi 4609b53e5eeaSmrg 4610af928962Smrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4611af928962Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4612b53e5eeaSmrg INTELCC="yes" 4613b53e5eeaSmrgelse 4614b53e5eeaSmrg INTELCC="no" 4615b53e5eeaSmrgfi 4616b53e5eeaSmrg 4617b53e5eeaSmrg if test "x$GCC" = xyes ; then 4618b53e5eeaSmrg STRICT_CFLAGS="-pedantic -Werror" 4619b53e5eeaSmrg elif test "x$SUNCC" = "xyes"; then 4620b53e5eeaSmrg STRICT_CFLAGS="-errwarn" 4621b53e5eeaSmrg elif test "x$INTELCC" = "xyes"; then 4622b53e5eeaSmrg STRICT_CFLAGS="-Werror" 4623b53e5eeaSmrg fi 4624b53e5eeaSmrgfi 4625b53e5eeaSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4626b53e5eeaSmrg 4627b53e5eeaSmrg 4628b53e5eeaSmrg 4629b53e5eeaSmrg 4630b53e5eeaSmrgcat >>confdefs.h <<_ACEOF 4631b53e5eeaSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4632b53e5eeaSmrg_ACEOF 4633b53e5eeaSmrg 4634b53e5eeaSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4635b53e5eeaSmrg if test "x$PVM" = "x"; then 4636b53e5eeaSmrg PVM="0" 4637b53e5eeaSmrg fi 4638b53e5eeaSmrg 4639b53e5eeaSmrgcat >>confdefs.h <<_ACEOF 4640b53e5eeaSmrg#define PACKAGE_VERSION_MINOR $PVM 4641b53e5eeaSmrg_ACEOF 4642b53e5eeaSmrg 4643b53e5eeaSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4644b53e5eeaSmrg if test "x$PVP" = "x"; then 4645b53e5eeaSmrg PVP="0" 4646b53e5eeaSmrg fi 4647b53e5eeaSmrg 4648b53e5eeaSmrgcat >>confdefs.h <<_ACEOF 4649b53e5eeaSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 4650b53e5eeaSmrg_ACEOF 4651b53e5eeaSmrg 4652b53e5eeaSmrg 4653b53e5eeaSmrg 4654af928962SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 4655af928962Smrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 4656af928962Smrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 4657b53e5eeaSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 4658b53e5eeaSmrg 4659af928962Smrg 4660af928962Smrg 4661af928962Smrg 4662af928962Smrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4663af928962SmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 4664af928962Smrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 4665af928962Smrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4666af928962Smrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4667af928962Smrg 4668b53e5eeaSmrg 4669b53e5eeaSmrg 4670b53e5eeaSmrg 4671b53e5eeaSmrg 4672b53e5eeaSmrg 4673b53e5eeaSmrgif test x$APP_MAN_SUFFIX = x ; then 4674b53e5eeaSmrg APP_MAN_SUFFIX=1 4675b53e5eeaSmrgfi 4676b53e5eeaSmrgif test x$APP_MAN_DIR = x ; then 4677b53e5eeaSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4678b53e5eeaSmrgfi 4679b53e5eeaSmrg 4680b53e5eeaSmrgif test x$LIB_MAN_SUFFIX = x ; then 4681b53e5eeaSmrg LIB_MAN_SUFFIX=3 4682b53e5eeaSmrgfi 4683b53e5eeaSmrgif test x$LIB_MAN_DIR = x ; then 4684b53e5eeaSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4685b53e5eeaSmrgfi 4686b53e5eeaSmrg 4687b53e5eeaSmrgif test x$FILE_MAN_SUFFIX = x ; then 4688b53e5eeaSmrg case $host_os in 4689b53e5eeaSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 4690b53e5eeaSmrg *) FILE_MAN_SUFFIX=5 ;; 4691b53e5eeaSmrg esac 4692b53e5eeaSmrgfi 4693b53e5eeaSmrgif test x$FILE_MAN_DIR = x ; then 4694b53e5eeaSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4695b53e5eeaSmrgfi 4696b53e5eeaSmrg 4697b53e5eeaSmrgif test x$MISC_MAN_SUFFIX = x ; then 4698b53e5eeaSmrg case $host_os in 4699b53e5eeaSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 4700b53e5eeaSmrg *) MISC_MAN_SUFFIX=7 ;; 4701b53e5eeaSmrg esac 4702b53e5eeaSmrgfi 4703b53e5eeaSmrgif test x$MISC_MAN_DIR = x ; then 4704b53e5eeaSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4705b53e5eeaSmrgfi 4706b53e5eeaSmrg 4707b53e5eeaSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 4708b53e5eeaSmrg case $host_os in 4709b53e5eeaSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 4710b53e5eeaSmrg *) DRIVER_MAN_SUFFIX=4 ;; 4711b53e5eeaSmrg esac 4712b53e5eeaSmrgfi 4713b53e5eeaSmrgif test x$DRIVER_MAN_DIR = x ; then 4714b53e5eeaSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4715b53e5eeaSmrgfi 4716b53e5eeaSmrg 4717b53e5eeaSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 4718b53e5eeaSmrg case $host_os in 4719b53e5eeaSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 4720b53e5eeaSmrg *) ADMIN_MAN_SUFFIX=8 ;; 4721b53e5eeaSmrg esac 4722b53e5eeaSmrgfi 4723b53e5eeaSmrgif test x$ADMIN_MAN_DIR = x ; then 4724b53e5eeaSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4725b53e5eeaSmrgfi 4726b53e5eeaSmrg 4727b53e5eeaSmrg 4728b53e5eeaSmrg 4729b53e5eeaSmrg 4730b53e5eeaSmrg 4731b53e5eeaSmrg 4732b53e5eeaSmrg 4733b53e5eeaSmrg 4734b53e5eeaSmrg 4735b53e5eeaSmrg 4736b53e5eeaSmrg 4737b53e5eeaSmrg 4738b53e5eeaSmrg 4739b53e5eeaSmrg 4740b53e5eeaSmrg 4741af928962SmrgXORG_MAN_PAGE="X Version 11" 4742b53e5eeaSmrg 4743af928962SmrgMAN_SUBSTS="\ 4744af928962Smrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4745af928962Smrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4746af928962Smrg -e 's|__xservername__|Xorg|g' \ 4747af928962Smrg -e 's|__xconfigfile__|xorg.conf|g' \ 4748af928962Smrg -e 's|__projectroot__|\$(prefix)|g' \ 4749af928962Smrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 4750af928962Smrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 4751af928962Smrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 4752af928962Smrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 4753af928962Smrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 4754af928962Smrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 4755af928962Smrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 4756b53e5eeaSmrg 4757b53e5eeaSmrg 4758b53e5eeaSmrg 4759af928962Smrg# Check whether --enable-silent-rules was given. 4760af928962Smrgif test "${enable_silent_rules+set}" = set; then : 4761af928962Smrg enableval=$enable_silent_rules; 4762af928962Smrgfi 4763af928962Smrg 4764af928962Smrgcase $enable_silent_rules in 4765af928962Smrgyes) AM_DEFAULT_VERBOSITY=0;; 4766af928962Smrgno) AM_DEFAULT_VERBOSITY=1;; 4767af928962Smrg*) AM_DEFAULT_VERBOSITY=0;; 4768af928962Smrgesac 4769af928962SmrgAM_BACKSLASH='\' 4770af928962Smrg 4771af928962Smrg 4772af928962Smrg 4773af928962Smrg 4774af928962Smrg# Check whether --enable-docs was given. 4775af928962Smrgif test "${enable_docs+set}" = set; then : 4776af928962Smrg enableval=$enable_docs; build_docs=$enableval 4777b53e5eeaSmrgelse 4778af928962Smrg build_docs=yes 4779af928962Smrgfi 4780b53e5eeaSmrg 4781b53e5eeaSmrg 4782af928962Smrg if test x$build_docs = xyes; then 4783af928962Smrg ENABLE_DOCS_TRUE= 4784af928962Smrg ENABLE_DOCS_FALSE='#' 4785af928962Smrgelse 4786af928962Smrg ENABLE_DOCS_TRUE='#' 4787af928962Smrg ENABLE_DOCS_FALSE= 4788af928962Smrgfi 4789b53e5eeaSmrg 4790af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5 4791af928962Smrg$as_echo_n "checking whether to build documentation... " >&6; } 4792af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5 4793af928962Smrg$as_echo "$build_docs" >&6; } 4794b53e5eeaSmrg 4795b53e5eeaSmrg 4796af928962Smrg 4797af928962Smrg 4798af928962Smrg 4799af928962Smrg# Check whether --with-xmlto was given. 4800af928962Smrgif test "${with_xmlto+set}" = set; then : 4801af928962Smrg withval=$with_xmlto; use_xmlto=$withval 4802af928962Smrgelse 4803af928962Smrg use_xmlto=auto 4804af928962Smrgfi 4805af928962Smrg 4806af928962Smrg 4807af928962Smrg 4808af928962Smrgif test "x$use_xmlto" = x"auto"; then 4809af928962Smrg # Extract the first word of "xmlto", so it can be a program name with args. 4810af928962Smrgset dummy xmlto; ac_word=$2 4811af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4812af928962Smrg$as_echo_n "checking for $ac_word... " >&6; } 4813af928962Smrgif ${ac_cv_path_XMLTO+:} false; then : 4814af928962Smrg $as_echo_n "(cached) " >&6 4815af928962Smrgelse 4816af928962Smrg case $XMLTO in 4817af928962Smrg [\\/]* | ?:[\\/]*) 4818af928962Smrg ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path. 4819af928962Smrg ;; 4820af928962Smrg *) 4821af928962Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4822af928962Smrgfor as_dir in $PATH 4823af928962Smrgdo 4824af928962Smrg IFS=$as_save_IFS 4825af928962Smrg test -z "$as_dir" && as_dir=. 4826af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 4827af928962Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4828af928962Smrg ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext" 4829af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4830af928962Smrg break 2 4831af928962Smrg fi 4832af928962Smrgdone 4833af928962Smrg done 4834af928962SmrgIFS=$as_save_IFS 4835af928962Smrg 4836af928962Smrg ;; 4837b53e5eeaSmrgesac 4838af928962Smrgfi 4839af928962SmrgXMLTO=$ac_cv_path_XMLTO 4840af928962Smrgif test -n "$XMLTO"; then 4841af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5 4842af928962Smrg$as_echo "$XMLTO" >&6; } 4843b53e5eeaSmrgelse 4844af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4845af928962Smrg$as_echo "no" >&6; } 4846af928962Smrgfi 4847af928962Smrg 4848af928962Smrg 4849af928962Smrg if test "x$XMLTO" = "x"; then 4850af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5 4851af928962Smrg$as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;} 4852af928962Smrg have_xmlto=no 4853af928962Smrg else 4854af928962Smrg have_xmlto=yes 4855af928962Smrg fi 4856af928962Smrgelif test "x$use_xmlto" = x"yes" ; then 4857af928962Smrg # Extract the first word of "xmlto", so it can be a program name with args. 4858af928962Smrgset dummy xmlto; ac_word=$2 4859af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4860af928962Smrg$as_echo_n "checking for $ac_word... " >&6; } 4861af928962Smrgif ${ac_cv_path_XMLTO+:} false; then : 4862af928962Smrg $as_echo_n "(cached) " >&6 4863af928962Smrgelse 4864af928962Smrg case $XMLTO in 4865af928962Smrg [\\/]* | ?:[\\/]*) 4866af928962Smrg ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path. 4867af928962Smrg ;; 4868af928962Smrg *) 4869af928962Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4870af928962Smrgfor as_dir in $PATH 4871af928962Smrgdo 4872af928962Smrg IFS=$as_save_IFS 4873af928962Smrg test -z "$as_dir" && as_dir=. 4874af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 4875af928962Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4876af928962Smrg ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext" 4877af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4878af928962Smrg break 2 4879af928962Smrg fi 4880af928962Smrgdone 4881af928962Smrg done 4882af928962SmrgIFS=$as_save_IFS 4883af928962Smrg 4884af928962Smrg ;; 4885af928962Smrgesac 4886af928962Smrgfi 4887af928962SmrgXMLTO=$ac_cv_path_XMLTO 4888af928962Smrgif test -n "$XMLTO"; then 4889af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5 4890af928962Smrg$as_echo "$XMLTO" >&6; } 4891af928962Smrgelse 4892af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4893af928962Smrg$as_echo "no" >&6; } 4894af928962Smrgfi 4895b53e5eeaSmrg 4896af928962Smrg 4897af928962Smrg if test "x$XMLTO" = "x"; then 4898af928962Smrg as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5 4899af928962Smrg fi 4900af928962Smrg have_xmlto=yes 4901af928962Smrgelif test "x$use_xmlto" = x"no" ; then 4902af928962Smrg if test "x$XMLTO" != "x"; then 4903af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5 4904af928962Smrg$as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;} 4905af928962Smrg fi 4906af928962Smrg have_xmlto=no 4907af928962Smrgelse 4908af928962Smrg as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5 4909af928962Smrgfi 4910af928962Smrg 4911af928962Smrg# Test for a minimum version of xmlto, if provided. 4912af928962Smrgif test "$have_xmlto" = yes; then 4913af928962Smrg # scrape the xmlto version 4914af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5 4915af928962Smrg$as_echo_n "checking the xmlto version... " >&6; } 4916af928962Smrg xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3` 4917af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5 4918af928962Smrg$as_echo "$xmlto_version" >&6; } 4919af928962Smrg as_arg_v1=$xmlto_version 4920af928962Smrgas_arg_v2=0.0.20 4921af928962Smrgawk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null 4922af928962Smrgcase $? in #( 4923af928962Smrg 1) : 4924af928962Smrg if test "x$use_xmlto" = xauto; then 4925af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5 4926af928962Smrg$as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;} 4927af928962Smrg have_xmlto=no 4928af928962Smrg else 4929af928962Smrg as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5 4930af928962Smrg fi ;; #( 4931af928962Smrg 0) : 4932af928962Smrg ;; #( 4933af928962Smrg 2) : 4934af928962Smrg ;; #( 4935af928962Smrg *) : 4936af928962Smrg ;; 4937af928962Smrgesac 4938b53e5eeaSmrgfi 4939b53e5eeaSmrg 4940af928962Smrg# Test for the ability of xmlto to generate a text target 4941af928962Smrghave_xmlto_text=no 4942af928962Smrgcat > conftest.xml << "EOF" 4943af928962SmrgEOF 4944af928962Smrgif test "$have_xmlto" = yes; then : 4945af928962Smrg if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then : 4946af928962Smrg have_xmlto_text=yes 4947af928962Smrgelse 4948af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5 4949af928962Smrg$as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;} 4950b53e5eeaSmrgfi 4951af928962Smrgfi 4952af928962Smrgrm -f conftest.xml 4953af928962Smrg if test $have_xmlto_text = yes; then 4954af928962Smrg HAVE_XMLTO_TEXT_TRUE= 4955af928962Smrg HAVE_XMLTO_TEXT_FALSE='#' 4956b53e5eeaSmrgelse 4957af928962Smrg HAVE_XMLTO_TEXT_TRUE='#' 4958af928962Smrg HAVE_XMLTO_TEXT_FALSE= 4959b53e5eeaSmrgfi 4960b53e5eeaSmrg 4961af928962Smrg if test "$have_xmlto" = yes; then 4962af928962Smrg HAVE_XMLTO_TRUE= 4963af928962Smrg HAVE_XMLTO_FALSE='#' 4964af928962Smrgelse 4965af928962Smrg HAVE_XMLTO_TRUE='#' 4966af928962Smrg HAVE_XMLTO_FALSE= 4967af928962Smrgfi 4968b53e5eeaSmrg 4969b53e5eeaSmrg 4970b53e5eeaSmrg 497173143b9aSmrg 497273143b9aSmrg 497373143b9aSmrg 4974af928962Smrg# Check whether --with-fop was given. 4975af928962Smrgif test "${with_fop+set}" = set; then : 4976af928962Smrg withval=$with_fop; use_fop=$withval 4977af928962Smrgelse 4978af928962Smrg use_fop=auto 4979af928962Smrgfi 498073143b9aSmrg 4981af928962Smrg 4982af928962Smrg 4983af928962Smrgif test "x$use_fop" = x"auto"; then 4984af928962Smrg # Extract the first word of "fop", so it can be a program name with args. 4985af928962Smrgset dummy fop; ac_word=$2 4986af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4987b53e5eeaSmrg$as_echo_n "checking for $ac_word... " >&6; } 4988af928962Smrgif ${ac_cv_path_FOP+:} false; then : 4989b53e5eeaSmrg $as_echo_n "(cached) " >&6 4990b53e5eeaSmrgelse 4991af928962Smrg case $FOP in 4992b53e5eeaSmrg [\\/]* | ?:[\\/]*) 4993af928962Smrg ac_cv_path_FOP="$FOP" # Let the user override the test with a path. 4994b53e5eeaSmrg ;; 4995b53e5eeaSmrg *) 4996b53e5eeaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4997af928962Smrgfor as_dir in $PATH 4998b53e5eeaSmrgdo 4999b53e5eeaSmrg IFS=$as_save_IFS 5000b53e5eeaSmrg test -z "$as_dir" && as_dir=. 5001af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 5002b53e5eeaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5003af928962Smrg ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext" 5004af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5005b53e5eeaSmrg break 2 5006b53e5eeaSmrg fi 5007b53e5eeaSmrgdone 5008af928962Smrg done 5009b53e5eeaSmrgIFS=$as_save_IFS 501073143b9aSmrg 5011b53e5eeaSmrg ;; 5012b53e5eeaSmrgesac 5013b53e5eeaSmrgfi 5014af928962SmrgFOP=$ac_cv_path_FOP 5015af928962Smrgif test -n "$FOP"; then 5016af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5 5017af928962Smrg$as_echo "$FOP" >&6; } 501873143b9aSmrgelse 5019af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5020b53e5eeaSmrg$as_echo "no" >&6; } 502173143b9aSmrgfi 502273143b9aSmrg 502373143b9aSmrg 5024af928962Smrg if test "x$FOP" = "x"; then 5025af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5 5026af928962Smrg$as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;} 5027af928962Smrg have_fop=no 5028af928962Smrg else 5029af928962Smrg have_fop=yes 5030af928962Smrg fi 5031af928962Smrgelif test "x$use_fop" = x"yes" ; then 5032af928962Smrg # Extract the first word of "fop", so it can be a program name with args. 5033af928962Smrgset dummy fop; ac_word=$2 5034af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5035b53e5eeaSmrg$as_echo_n "checking for $ac_word... " >&6; } 5036af928962Smrgif ${ac_cv_path_FOP+:} false; then : 5037b53e5eeaSmrg $as_echo_n "(cached) " >&6 5038b53e5eeaSmrgelse 5039af928962Smrg case $FOP in 5040b53e5eeaSmrg [\\/]* | ?:[\\/]*) 5041af928962Smrg ac_cv_path_FOP="$FOP" # Let the user override the test with a path. 5042b53e5eeaSmrg ;; 5043b53e5eeaSmrg *) 5044b53e5eeaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5045af928962Smrgfor as_dir in $PATH 5046b53e5eeaSmrgdo 5047b53e5eeaSmrg IFS=$as_save_IFS 5048b53e5eeaSmrg test -z "$as_dir" && as_dir=. 5049af928962Smrg for ac_exec_ext in '' $ac_executable_extensions; do 5050b53e5eeaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5051af928962Smrg ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext" 5052af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5053b53e5eeaSmrg break 2 5054b53e5eeaSmrg fi 5055b53e5eeaSmrgdone 5056af928962Smrg done 5057b53e5eeaSmrgIFS=$as_save_IFS 505873143b9aSmrg 5059b53e5eeaSmrg ;; 5060b53e5eeaSmrgesac 5061b53e5eeaSmrgfi 5062af928962SmrgFOP=$ac_cv_path_FOP 5063af928962Smrgif test -n "$FOP"; then 5064af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5 5065af928962Smrg$as_echo "$FOP" >&6; } 5066af928962Smrgelse 5067af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5068af928962Smrg$as_echo "no" >&6; } 5069af928962Smrgfi 5070af928962Smrg 5071af928962Smrg 5072af928962Smrg if test "x$FOP" = "x"; then 5073af928962Smrg as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5 5074af928962Smrg fi 5075af928962Smrg have_fop=yes 5076af928962Smrgelif test "x$use_fop" = x"no" ; then 5077af928962Smrg if test "x$FOP" != "x"; then 5078af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5 5079af928962Smrg$as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;} 5080af928962Smrg fi 5081af928962Smrg have_fop=no 5082af928962Smrgelse 5083af928962Smrg as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5 5084af928962Smrgfi 5085af928962Smrg if test "$have_fop" = yes; then 5086af928962Smrg HAVE_FOP_TRUE= 5087af928962Smrg HAVE_FOP_FALSE='#' 5088af928962Smrgelse 5089af928962Smrg HAVE_FOP_TRUE='#' 5090af928962Smrg HAVE_FOP_FALSE= 5091af928962Smrgfi 5092af928962Smrg 5093af928962Smrg 5094af928962Smrg 5095af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.5" >&5 5096af928962Smrg$as_echo_n "checking for X.Org SGML entities >= 1.5... " >&6; } 5097af928962SmrgXORG_SGML_PATH= 5098af928962Smrgif test -n "$PKG_CONFIG" && \ 5099af928962Smrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.5\""; } >&5 5100af928962Smrg ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.5") 2>&5 5101af928962Smrg ac_status=$? 5102af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5103af928962Smrg test $ac_status = 0; }; then 5104af928962Smrg XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools` 5105af928962Smrgelse 5106af928962Smrg : 5107af928962Smrg 5108af928962Smrgfi 5109af928962Smrg 5110af928962Smrg# Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing 5111af928962Smrg# the path and the name of the doc stylesheet 5112af928962Smrgif test "x$XORG_SGML_PATH" != "x" ; then 5113af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5 5114af928962Smrg$as_echo "$XORG_SGML_PATH" >&6; } 5115af928962Smrg STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11 5116af928962Smrg XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl 5117b53e5eeaSmrgelse 5118af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5119b53e5eeaSmrg$as_echo "no" >&6; } 5120b53e5eeaSmrgfi 512173143b9aSmrg 512273143b9aSmrg 512373143b9aSmrg 512473143b9aSmrg 5125af928962Smrg if test "x$XSL_STYLESHEET" != "x"; then 5126af928962Smrg HAVE_STYLESHEETS_TRUE= 5127af928962Smrg HAVE_STYLESHEETS_FALSE='#' 5128af928962Smrgelse 5129af928962Smrg HAVE_STYLESHEETS_TRUE='#' 5130af928962Smrg HAVE_STYLESHEETS_FALSE= 5131af928962Smrgfi 5132af928962Smrg 5133af928962Smrg 5134af928962Smrg 5135af928962Smrg# Because xtrans is included into other modules rather than being linked 5136af928962Smrg# with, these defines have to be added to the cflags line 5137af928962Smrg 5138af928962Smrg# fchown() 5139af928962Smrg 5140af928962Smrgac_fn_c_check_func "$LINENO" "fchown" "ac_cv_func_fchown" 5141af928962Smrgif test "x$ac_cv_func_fchown" = xyes; then : 5142af928962Smrg fchown_define="-DHAS_FCHOWN" 5143b53e5eeaSmrgelse 5144af928962Smrg fchown_define="" 5145b53e5eeaSmrgfi 514673143b9aSmrg 51478d4c0f7bSmrg 51488d4c0f7bSmrg 5149af928962Smrg 5150af928962Smrg# sticky bit 5151af928962Smrg# 5152af928962Smrg# if any system exists without sticky dir bits this 5153af928962Smrg# needs to be redone with a real autoconf test 5154af928962Smrg 5155af928962Smrgsticky_bit_define="-DHAS_STICKY_DIR_BIT" 51568d4c0f7bSmrg 51578d4c0f7bSmrg 5158af928962Smrg 5159af928962Smrgac_config_files="$ac_config_files Makefile doc/Makefile xtrans.pc" 516073143b9aSmrg 516173143b9aSmrgcat >confcache <<\_ACEOF 516273143b9aSmrg# This file is a shell script that caches the results of configure 516373143b9aSmrg# tests run on this system so they can be shared between configure 516473143b9aSmrg# scripts and configure runs, see configure's option --config-cache. 516573143b9aSmrg# It is not useful on other systems. If it contains results you don't 516673143b9aSmrg# want to keep, you may remove or edit it. 516773143b9aSmrg# 516873143b9aSmrg# config.status only pays attention to the cache file if you give it 516973143b9aSmrg# the --recheck option to rerun configure. 517073143b9aSmrg# 517173143b9aSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 517273143b9aSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 517373143b9aSmrg# following values. 517473143b9aSmrg 517573143b9aSmrg_ACEOF 517673143b9aSmrg 517773143b9aSmrg# The following way of writing the cache mishandles newlines in values, 517873143b9aSmrg# but we know of no workaround that is simple, portable, and efficient. 517973143b9aSmrg# So, we kill variables containing newlines. 518073143b9aSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 518173143b9aSmrg# and sets the high bit in the cache file unless we assign to the vars. 518273143b9aSmrg( 518373143b9aSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 518473143b9aSmrg eval ac_val=\$$ac_var 518573143b9aSmrg case $ac_val in #( 518673143b9aSmrg *${as_nl}*) 518773143b9aSmrg case $ac_var in #( 5188af928962Smrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 5189b53e5eeaSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 519073143b9aSmrg esac 519173143b9aSmrg case $ac_var in #( 519273143b9aSmrg _ | IFS | as_nl) ;; #( 5193b53e5eeaSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5194af928962Smrg *) { eval $ac_var=; unset $ac_var;} ;; 519573143b9aSmrg esac ;; 519673143b9aSmrg esac 519773143b9aSmrg done 519873143b9aSmrg 519973143b9aSmrg (set) 2>&1 | 520073143b9aSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 520173143b9aSmrg *${as_nl}ac_space=\ *) 5202af928962Smrg # `set' does not quote correctly, so add quotes: double-quote 5203af928962Smrg # substitution turns \\\\ into \\, and sed turns \\ into \. 520473143b9aSmrg sed -n \ 520573143b9aSmrg "s/'/'\\\\''/g; 520673143b9aSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 520773143b9aSmrg ;; #( 520873143b9aSmrg *) 520973143b9aSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 521073143b9aSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 521173143b9aSmrg ;; 521273143b9aSmrg esac | 521373143b9aSmrg sort 521473143b9aSmrg) | 521573143b9aSmrg sed ' 521673143b9aSmrg /^ac_cv_env_/b end 521773143b9aSmrg t clear 521873143b9aSmrg :clear 521973143b9aSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 522073143b9aSmrg t end 522173143b9aSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 522273143b9aSmrg :end' >>confcache 522373143b9aSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 522473143b9aSmrg if test -w "$cache_file"; then 5225af928962Smrg if test "x$cache_file" != "x/dev/null"; then 5226af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 5227b53e5eeaSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 5228af928962Smrg if test ! -f "$cache_file" || test -h "$cache_file"; then 5229af928962Smrg cat confcache >"$cache_file" 5230af928962Smrg else 5231af928962Smrg case $cache_file in #( 5232af928962Smrg */* | ?:*) 5233af928962Smrg mv -f confcache "$cache_file"$$ && 5234af928962Smrg mv -f "$cache_file"$$ "$cache_file" ;; #( 5235af928962Smrg *) 5236af928962Smrg mv -f confcache "$cache_file" ;; 5237af928962Smrg esac 5238af928962Smrg fi 5239af928962Smrg fi 524073143b9aSmrg else 5241af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 5242b53e5eeaSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 524373143b9aSmrg fi 524473143b9aSmrgfi 524573143b9aSmrgrm -f confcache 524673143b9aSmrg 524773143b9aSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 524873143b9aSmrg# Let make expand exec_prefix. 524973143b9aSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 525073143b9aSmrg 525173143b9aSmrg# Transform confdefs.h into DEFS. 525273143b9aSmrg# Protect against shell expansion while executing Makefile rules. 525373143b9aSmrg# Protect against Makefile macro expansion. 525473143b9aSmrg# 525573143b9aSmrg# If the first sed substitution is executed (which looks for macros that 525673143b9aSmrg# take arguments), then branch to the quote section. Otherwise, 525773143b9aSmrg# look for a macro that doesn't take arguments. 525873143b9aSmrgac_script=' 5259b53e5eeaSmrg:mline 5260b53e5eeaSmrg/\\$/{ 5261b53e5eeaSmrg N 5262b53e5eeaSmrg s,\\\n,, 5263b53e5eeaSmrg b mline 5264b53e5eeaSmrg} 526573143b9aSmrgt clear 526673143b9aSmrg:clear 526773143b9aSmrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 526873143b9aSmrgt quote 526973143b9aSmrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 527073143b9aSmrgt quote 527173143b9aSmrgb any 527273143b9aSmrg:quote 527373143b9aSmrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 527473143b9aSmrgs/\[/\\&/g 527573143b9aSmrgs/\]/\\&/g 527673143b9aSmrgs/\$/$$/g 527773143b9aSmrgH 527873143b9aSmrg:any 527973143b9aSmrg${ 528073143b9aSmrg g 528173143b9aSmrg s/^\n// 528273143b9aSmrg s/\n/ /g 528373143b9aSmrg p 528473143b9aSmrg} 528573143b9aSmrg' 528673143b9aSmrgDEFS=`sed -n "$ac_script" confdefs.h` 528773143b9aSmrg 528873143b9aSmrg 528973143b9aSmrgac_libobjs= 529073143b9aSmrgac_ltlibobjs= 5291af928962SmrgU= 529273143b9aSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 529373143b9aSmrg # 1. Remove the extension, and $U if already installed. 529473143b9aSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5295b53e5eeaSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 529673143b9aSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 529773143b9aSmrg # will be set to the directory where LIBOBJS objects are built. 5298af928962Smrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5299af928962Smrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 530073143b9aSmrgdone 530173143b9aSmrgLIBOBJS=$ac_libobjs 530273143b9aSmrg 530373143b9aSmrgLTLIBOBJS=$ac_ltlibobjs 530473143b9aSmrg 530573143b9aSmrg 5306b53e5eeaSmrg if test -n "$EXEEXT"; then 5307b53e5eeaSmrg am__EXEEXT_TRUE= 5308b53e5eeaSmrg am__EXEEXT_FALSE='#' 5309b53e5eeaSmrgelse 5310b53e5eeaSmrg am__EXEEXT_TRUE='#' 5311b53e5eeaSmrg am__EXEEXT_FALSE= 5312b53e5eeaSmrgfi 5313b53e5eeaSmrg 531473143b9aSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 5315af928962Smrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 5316af928962SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 531773143b9aSmrgfi 531873143b9aSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5319af928962Smrg as_fn_error $? "conditional \"AMDEP\" was never defined. 5320af928962SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 532173143b9aSmrgfi 532273143b9aSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5323af928962Smrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 5324af928962SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5325af928962Smrgfi 5326af928962Smrgif test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then 5327af928962Smrg as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined. 5328af928962SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5329af928962Smrgfi 5330af928962Smrgif test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then 5331af928962Smrg as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined. 5332af928962SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5333af928962Smrgfi 5334af928962Smrgif test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then 5335af928962Smrg as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined. 5336af928962SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5337af928962Smrgfi 5338af928962Smrgif test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then 5339af928962Smrg as_fn_error $? "conditional \"HAVE_FOP\" was never defined. 5340af928962SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5341af928962Smrgfi 5342af928962Smrgif test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then 5343af928962Smrg as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined. 5344af928962SmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5345af928962Smrgfi 5346af928962Smrg 5347af928962Smrg: "${CONFIG_STATUS=./config.status}" 5348b53e5eeaSmrgac_write_fail=0 534973143b9aSmrgac_clean_files_save=$ac_clean_files 535073143b9aSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 5351af928962Smrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 5352b53e5eeaSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5353af928962Smrgas_write_fail=0 5354af928962Smrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 535573143b9aSmrg#! $SHELL 535673143b9aSmrg# Generated by $as_me. 535773143b9aSmrg# Run this file to recreate the current configuration. 535873143b9aSmrg# Compiler output produced by configure, useful for debugging 535973143b9aSmrg# configure, is in config.log if it exists. 536073143b9aSmrg 536173143b9aSmrgdebug=false 536273143b9aSmrgac_cs_recheck=false 536373143b9aSmrgac_cs_silent=false 536473143b9aSmrg 5365af928962SmrgSHELL=\${CONFIG_SHELL-$SHELL} 5366af928962Smrgexport SHELL 5367af928962Smrg_ASEOF 5368af928962Smrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 5369af928962Smrg## -------------------- ## 5370af928962Smrg## M4sh Initialization. ## 5371af928962Smrg## -------------------- ## 537273143b9aSmrg 537373143b9aSmrg# Be more Bourne compatible 537473143b9aSmrgDUALCASE=1; export DUALCASE # for MKS sh 5375af928962Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 537673143b9aSmrg emulate sh 537773143b9aSmrg NULLCMD=: 5378b53e5eeaSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 537973143b9aSmrg # is contrary to our usage. Disable this feature. 538073143b9aSmrg alias -g '${1+"$@"}'='"$@"' 538173143b9aSmrg setopt NO_GLOB_SUBST 538273143b9aSmrgelse 5383af928962Smrg case `(set -o) 2>/dev/null` in #( 5384af928962Smrg *posix*) : 5385af928962Smrg set -o posix ;; #( 5386af928962Smrg *) : 5387af928962Smrg ;; 538873143b9aSmrgesac 538973143b9aSmrgfi 539073143b9aSmrg 539173143b9aSmrg 5392b53e5eeaSmrgas_nl=' 5393b53e5eeaSmrg' 5394b53e5eeaSmrgexport as_nl 5395b53e5eeaSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 5396b53e5eeaSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5397b53e5eeaSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5398b53e5eeaSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5399af928962Smrg# Prefer a ksh shell builtin over an external printf program on Solaris, 5400af928962Smrg# but without wasting forks for bash or zsh. 5401af928962Smrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 5402af928962Smrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 5403af928962Smrg as_echo='print -r --' 5404af928962Smrg as_echo_n='print -rn --' 5405af928962Smrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5406b53e5eeaSmrg as_echo='printf %s\n' 5407b53e5eeaSmrg as_echo_n='printf %s' 5408b53e5eeaSmrgelse 5409b53e5eeaSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5410b53e5eeaSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5411b53e5eeaSmrg as_echo_n='/usr/ucb/echo -n' 541273143b9aSmrg else 5413b53e5eeaSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5414b53e5eeaSmrg as_echo_n_body='eval 5415b53e5eeaSmrg arg=$1; 5416af928962Smrg case $arg in #( 5417b53e5eeaSmrg *"$as_nl"*) 5418b53e5eeaSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 5419b53e5eeaSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5420b53e5eeaSmrg esac; 5421b53e5eeaSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5422b53e5eeaSmrg ' 5423b53e5eeaSmrg export as_echo_n_body 5424b53e5eeaSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 542573143b9aSmrg fi 5426b53e5eeaSmrg export as_echo_body 5427b53e5eeaSmrg as_echo='sh -c $as_echo_body as_echo' 5428b53e5eeaSmrgfi 5429b53e5eeaSmrg 5430b53e5eeaSmrg# The user is always right. 5431b53e5eeaSmrgif test "${PATH_SEPARATOR+set}" != set; then 5432b53e5eeaSmrg PATH_SEPARATOR=: 5433b53e5eeaSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5434b53e5eeaSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5435b53e5eeaSmrg PATH_SEPARATOR=';' 5436b53e5eeaSmrg } 543773143b9aSmrgfi 543873143b9aSmrg 543973143b9aSmrg 544073143b9aSmrg# IFS 544173143b9aSmrg# We need space, tab and new line, in precisely that order. Quoting is 544273143b9aSmrg# there to prevent editors from complaining about space-tab. 544373143b9aSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 544473143b9aSmrg# splitting by setting IFS to empty value.) 544573143b9aSmrgIFS=" "" $as_nl" 544673143b9aSmrg 544773143b9aSmrg# Find who we are. Look in the path if we contain no directory separator. 5448af928962Smrgas_myself= 5449af928962Smrgcase $0 in #(( 545073143b9aSmrg *[\\/]* ) as_myself=$0 ;; 545173143b9aSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 545273143b9aSmrgfor as_dir in $PATH 545373143b9aSmrgdo 545473143b9aSmrg IFS=$as_save_IFS 545573143b9aSmrg test -z "$as_dir" && as_dir=. 5456af928962Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5457af928962Smrg done 545873143b9aSmrgIFS=$as_save_IFS 545973143b9aSmrg 546073143b9aSmrg ;; 546173143b9aSmrgesac 546273143b9aSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 546373143b9aSmrg# in which case we are not to be found in the path. 546473143b9aSmrgif test "x$as_myself" = x; then 546573143b9aSmrg as_myself=$0 546673143b9aSmrgfi 546773143b9aSmrgif test ! -f "$as_myself"; then 5468b53e5eeaSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5469af928962Smrg exit 1 547073143b9aSmrgfi 547173143b9aSmrg 5472af928962Smrg# Unset variables that we do not need and which cause bugs (e.g. in 5473af928962Smrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5474af928962Smrg# suppresses any "Segmentation fault" message there. '((' could 5475af928962Smrg# trigger a bug in pdksh 5.2.14. 5476af928962Smrgfor as_var in BASH_ENV ENV MAIL MAILPATH 5477af928962Smrgdo eval test x\${$as_var+set} = xset \ 5478af928962Smrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 547973143b9aSmrgdone 548073143b9aSmrgPS1='$ ' 548173143b9aSmrgPS2='> ' 548273143b9aSmrgPS4='+ ' 548373143b9aSmrg 548473143b9aSmrg# NLS nuisances. 5485b53e5eeaSmrgLC_ALL=C 5486b53e5eeaSmrgexport LC_ALL 5487b53e5eeaSmrgLANGUAGE=C 5488b53e5eeaSmrgexport LANGUAGE 548973143b9aSmrg 5490af928962Smrg# CDPATH. 5491af928962Smrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5492af928962Smrg 5493af928962Smrg 5494af928962Smrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 5495af928962Smrg# ---------------------------------------- 5496af928962Smrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5497af928962Smrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5498af928962Smrg# script with STATUS, using 1 if that was 0. 5499af928962Smrgas_fn_error () 5500af928962Smrg{ 5501af928962Smrg as_status=$1; test $as_status -eq 0 && as_status=1 5502af928962Smrg if test "$4"; then 5503af928962Smrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5504af928962Smrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5505af928962Smrg fi 5506af928962Smrg $as_echo "$as_me: error: $2" >&2 5507af928962Smrg as_fn_exit $as_status 5508af928962Smrg} # as_fn_error 5509af928962Smrg 5510af928962Smrg 5511af928962Smrg# as_fn_set_status STATUS 5512af928962Smrg# ----------------------- 5513af928962Smrg# Set $? to STATUS, without forking. 5514af928962Smrgas_fn_set_status () 5515af928962Smrg{ 5516af928962Smrg return $1 5517af928962Smrg} # as_fn_set_status 5518af928962Smrg 5519af928962Smrg# as_fn_exit STATUS 5520af928962Smrg# ----------------- 5521af928962Smrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5522af928962Smrgas_fn_exit () 5523af928962Smrg{ 5524af928962Smrg set +e 5525af928962Smrg as_fn_set_status $1 5526af928962Smrg exit $1 5527af928962Smrg} # as_fn_exit 5528af928962Smrg 5529af928962Smrg# as_fn_unset VAR 5530af928962Smrg# --------------- 5531af928962Smrg# Portably unset VAR. 5532af928962Smrgas_fn_unset () 5533af928962Smrg{ 5534af928962Smrg { eval $1=; unset $1;} 5535af928962Smrg} 5536af928962Smrgas_unset=as_fn_unset 5537af928962Smrg# as_fn_append VAR VALUE 5538af928962Smrg# ---------------------- 5539af928962Smrg# Append the text in VALUE to the end of the definition contained in VAR. Take 5540af928962Smrg# advantage of any shell optimizations that allow amortized linear growth over 5541af928962Smrg# repeated appends, instead of the typical quadratic growth present in naive 5542af928962Smrg# implementations. 5543af928962Smrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5544af928962Smrg eval 'as_fn_append () 5545af928962Smrg { 5546af928962Smrg eval $1+=\$2 5547af928962Smrg }' 5548af928962Smrgelse 5549af928962Smrg as_fn_append () 5550af928962Smrg { 5551af928962Smrg eval $1=\$$1\$2 5552af928962Smrg } 5553af928962Smrgfi # as_fn_append 5554af928962Smrg 5555af928962Smrg# as_fn_arith ARG... 5556af928962Smrg# ------------------ 5557af928962Smrg# Perform arithmetic evaluation on the ARGs, and store the result in the 5558af928962Smrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 5559af928962Smrg# must be portable across $(()) and expr. 5560af928962Smrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5561af928962Smrg eval 'as_fn_arith () 5562af928962Smrg { 5563af928962Smrg as_val=$(( $* )) 5564af928962Smrg }' 5565af928962Smrgelse 5566af928962Smrg as_fn_arith () 5567af928962Smrg { 5568af928962Smrg as_val=`expr "$@" || test $? -eq 1` 5569af928962Smrg } 5570af928962Smrgfi # as_fn_arith 5571af928962Smrg 5572af928962Smrg 557373143b9aSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 557473143b9aSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 557573143b9aSmrg as_expr=expr 557673143b9aSmrgelse 557773143b9aSmrg as_expr=false 557873143b9aSmrgfi 557973143b9aSmrg 558073143b9aSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 558173143b9aSmrg as_basename=basename 558273143b9aSmrgelse 558373143b9aSmrg as_basename=false 558473143b9aSmrgfi 558573143b9aSmrg 5586af928962Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5587af928962Smrg as_dirname=dirname 5588af928962Smrgelse 5589af928962Smrg as_dirname=false 5590af928962Smrgfi 559173143b9aSmrg 559273143b9aSmrgas_me=`$as_basename -- "$0" || 559373143b9aSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 559473143b9aSmrg X"$0" : 'X\(//\)$' \| \ 559573143b9aSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 5596b53e5eeaSmrg$as_echo X/"$0" | 559773143b9aSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 559873143b9aSmrg s//\1/ 559973143b9aSmrg q 560073143b9aSmrg } 560173143b9aSmrg /^X\/\(\/\/\)$/{ 560273143b9aSmrg s//\1/ 560373143b9aSmrg q 560473143b9aSmrg } 560573143b9aSmrg /^X\/\(\/\).*/{ 560673143b9aSmrg s//\1/ 560773143b9aSmrg q 560873143b9aSmrg } 560973143b9aSmrg s/.*/./; q'` 561073143b9aSmrg 5611af928962Smrg# Avoid depending upon Character Ranges. 5612af928962Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 5613af928962Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5614af928962Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 5615af928962Smrgas_cr_digits='0123456789' 5616af928962Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 561773143b9aSmrg 561873143b9aSmrgECHO_C= ECHO_N= ECHO_T= 5619af928962Smrgcase `echo -n x` in #((((( 562073143b9aSmrg-n*) 5621af928962Smrg case `echo 'xy\c'` in 562273143b9aSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5623af928962Smrg xy) ECHO_C='\c';; 5624af928962Smrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5625af928962Smrg ECHO_T=' ';; 562673143b9aSmrg esac;; 562773143b9aSmrg*) 562873143b9aSmrg ECHO_N='-n';; 562973143b9aSmrgesac 563073143b9aSmrg 563173143b9aSmrgrm -f conf$$ conf$$.exe conf$$.file 563273143b9aSmrgif test -d conf$$.dir; then 563373143b9aSmrg rm -f conf$$.dir/conf$$.file 563473143b9aSmrgelse 563573143b9aSmrg rm -f conf$$.dir 5636b53e5eeaSmrg mkdir conf$$.dir 2>/dev/null 5637b53e5eeaSmrgfi 5638b53e5eeaSmrgif (echo >conf$$.file) 2>/dev/null; then 5639b53e5eeaSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5640b53e5eeaSmrg as_ln_s='ln -s' 5641b53e5eeaSmrg # ... but there are two gotchas: 5642b53e5eeaSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5643b53e5eeaSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5644b53e5eeaSmrg # In both cases, we have to default to `cp -p'. 5645b53e5eeaSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5646b53e5eeaSmrg as_ln_s='cp -p' 5647b53e5eeaSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 5648b53e5eeaSmrg as_ln_s=ln 5649b53e5eeaSmrg else 565073143b9aSmrg as_ln_s='cp -p' 5651b53e5eeaSmrg fi 565273143b9aSmrgelse 565373143b9aSmrg as_ln_s='cp -p' 565473143b9aSmrgfi 565573143b9aSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 565673143b9aSmrgrmdir conf$$.dir 2>/dev/null 565773143b9aSmrg 5658af928962Smrg 5659af928962Smrg# as_fn_mkdir_p 5660af928962Smrg# ------------- 5661af928962Smrg# Create "$as_dir" as a directory, including parents if necessary. 5662af928962Smrgas_fn_mkdir_p () 5663af928962Smrg{ 5664af928962Smrg 5665af928962Smrg case $as_dir in #( 5666af928962Smrg -*) as_dir=./$as_dir;; 5667af928962Smrg esac 5668af928962Smrg test -d "$as_dir" || eval $as_mkdir_p || { 5669af928962Smrg as_dirs= 5670af928962Smrg while :; do 5671af928962Smrg case $as_dir in #( 5672af928962Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5673af928962Smrg *) as_qdir=$as_dir;; 5674af928962Smrg esac 5675af928962Smrg as_dirs="'$as_qdir' $as_dirs" 5676af928962Smrg as_dir=`$as_dirname -- "$as_dir" || 5677af928962Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5678af928962Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 5679af928962Smrg X"$as_dir" : 'X\(//\)$' \| \ 5680af928962Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5681af928962Smrg$as_echo X"$as_dir" | 5682af928962Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5683af928962Smrg s//\1/ 5684af928962Smrg q 5685af928962Smrg } 5686af928962Smrg /^X\(\/\/\)[^/].*/{ 5687af928962Smrg s//\1/ 5688af928962Smrg q 5689af928962Smrg } 5690af928962Smrg /^X\(\/\/\)$/{ 5691af928962Smrg s//\1/ 5692af928962Smrg q 5693af928962Smrg } 5694af928962Smrg /^X\(\/\).*/{ 5695af928962Smrg s//\1/ 5696af928962Smrg q 5697af928962Smrg } 5698af928962Smrg s/.*/./; q'` 5699af928962Smrg test -d "$as_dir" && break 5700af928962Smrg done 5701af928962Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 5702af928962Smrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5703af928962Smrg 5704af928962Smrg 5705af928962Smrg} # as_fn_mkdir_p 570673143b9aSmrgif mkdir -p . 2>/dev/null; then 5707af928962Smrg as_mkdir_p='mkdir -p "$as_dir"' 570873143b9aSmrgelse 570973143b9aSmrg test -d ./-p && rmdir ./-p 571073143b9aSmrg as_mkdir_p=false 571173143b9aSmrgfi 571273143b9aSmrg 571373143b9aSmrgif test -x / >/dev/null 2>&1; then 571473143b9aSmrg as_test_x='test -x' 571573143b9aSmrgelse 571673143b9aSmrg if ls -dL / >/dev/null 2>&1; then 571773143b9aSmrg as_ls_L_option=L 571873143b9aSmrg else 571973143b9aSmrg as_ls_L_option= 572073143b9aSmrg fi 572173143b9aSmrg as_test_x=' 572273143b9aSmrg eval sh -c '\'' 572373143b9aSmrg if test -d "$1"; then 5724b53e5eeaSmrg test -d "$1/."; 572573143b9aSmrg else 5726af928962Smrg case $1 in #( 5727b53e5eeaSmrg -*)set "./$1";; 572873143b9aSmrg esac; 5729af928962Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 573073143b9aSmrg ???[sx]*):;;*)false;;esac;fi 573173143b9aSmrg '\'' sh 573273143b9aSmrg ' 573373143b9aSmrgfi 573473143b9aSmrgas_executable_p=$as_test_x 573573143b9aSmrg 573673143b9aSmrg# Sed expression to map a string onto a valid CPP name. 573773143b9aSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 573873143b9aSmrg 573973143b9aSmrg# Sed expression to map a string onto a valid variable name. 574073143b9aSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 574173143b9aSmrg 574273143b9aSmrg 574373143b9aSmrgexec 6>&1 5744af928962Smrg## ----------------------------------- ## 5745af928962Smrg## Main body of $CONFIG_STATUS script. ## 5746af928962Smrg## ----------------------------------- ## 5747af928962Smrg_ASEOF 5748af928962Smrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 574973143b9aSmrg 5750af928962Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5751af928962Smrg# Save the log message, to keep $0 and so on meaningful, and to 575273143b9aSmrg# report actual input values of CONFIG_FILES etc. instead of their 575373143b9aSmrg# values after options handling. 575473143b9aSmrgac_log=" 5755af928962SmrgThis file was extended by xtrans $as_me 1.2.6, which was 5756af928962Smrggenerated by GNU Autoconf 2.68. Invocation command line was 575773143b9aSmrg 575873143b9aSmrg CONFIG_FILES = $CONFIG_FILES 575973143b9aSmrg CONFIG_HEADERS = $CONFIG_HEADERS 576073143b9aSmrg CONFIG_LINKS = $CONFIG_LINKS 576173143b9aSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 576273143b9aSmrg $ $0 $@ 576373143b9aSmrg 576473143b9aSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 576573143b9aSmrg" 576673143b9aSmrg 576773143b9aSmrg_ACEOF 576873143b9aSmrg 5769b53e5eeaSmrgcase $ac_config_files in *" 5770b53e5eeaSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 5771b53e5eeaSmrgesac 5772b53e5eeaSmrg 5773b53e5eeaSmrg 5774b53e5eeaSmrg 5775b53e5eeaSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 577673143b9aSmrg# Files that config.status was made for. 577773143b9aSmrgconfig_files="$ac_config_files" 577873143b9aSmrgconfig_commands="$ac_config_commands" 577973143b9aSmrg 578073143b9aSmrg_ACEOF 578173143b9aSmrg 5782b53e5eeaSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 578373143b9aSmrgac_cs_usage="\ 5784af928962Smrg\`$as_me' instantiates files and other configuration actions 5785af928962Smrgfrom templates according to the current configuration. Unless the files 5786af928962Smrgand actions are specified as TAGs, all are instantiated by default. 578773143b9aSmrg 5788af928962SmrgUsage: $0 [OPTION]... [TAG]... 578973143b9aSmrg 579073143b9aSmrg -h, --help print this help, then exit 579173143b9aSmrg -V, --version print version number and configuration settings, then exit 5792af928962Smrg --config print configuration, then exit 5793b53e5eeaSmrg -q, --quiet, --silent 5794b53e5eeaSmrg do not print progress messages 579573143b9aSmrg -d, --debug don't remove temporary files 579673143b9aSmrg --recheck update $as_me by reconfiguring in the same conditions 5797b53e5eeaSmrg --file=FILE[:TEMPLATE] 5798b53e5eeaSmrg instantiate the configuration file FILE 579973143b9aSmrg 580073143b9aSmrgConfiguration files: 580173143b9aSmrg$config_files 580273143b9aSmrg 580373143b9aSmrgConfiguration commands: 580473143b9aSmrg$config_commands 580573143b9aSmrg 5806af928962SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 580773143b9aSmrg 580873143b9aSmrg_ACEOF 5809b53e5eeaSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5810af928962Smrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 581173143b9aSmrgac_cs_version="\\ 5812af928962Smrgxtrans config.status 1.2.6 5813af928962Smrgconfigured by $0, generated by GNU Autoconf 2.68, 5814af928962Smrg with options \\"\$ac_cs_config\\" 581573143b9aSmrg 5816af928962SmrgCopyright (C) 2010 Free Software Foundation, Inc. 581773143b9aSmrgThis config.status script is free software; the Free Software Foundation 581873143b9aSmrggives unlimited permission to copy, distribute and modify it." 581973143b9aSmrg 582073143b9aSmrgac_pwd='$ac_pwd' 582173143b9aSmrgsrcdir='$srcdir' 582273143b9aSmrgINSTALL='$INSTALL' 582373143b9aSmrgMKDIR_P='$MKDIR_P' 5824b53e5eeaSmrgAWK='$AWK' 5825b53e5eeaSmrgtest -n "\$AWK" || AWK=awk 582673143b9aSmrg_ACEOF 582773143b9aSmrg 5828b53e5eeaSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5829b53e5eeaSmrg# The default lists apply if the user does not specify any file. 583073143b9aSmrgac_need_defaults=: 583173143b9aSmrgwhile test $# != 0 583273143b9aSmrgdo 583373143b9aSmrg case $1 in 5834af928962Smrg --*=?*) 583573143b9aSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 583673143b9aSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 583773143b9aSmrg ac_shift=: 583873143b9aSmrg ;; 5839af928962Smrg --*=) 5840af928962Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5841af928962Smrg ac_optarg= 5842af928962Smrg ac_shift=: 5843af928962Smrg ;; 584473143b9aSmrg *) 584573143b9aSmrg ac_option=$1 584673143b9aSmrg ac_optarg=$2 584773143b9aSmrg ac_shift=shift 584873143b9aSmrg ;; 584973143b9aSmrg esac 585073143b9aSmrg 585173143b9aSmrg case $ac_option in 585273143b9aSmrg # Handling of the options. 585373143b9aSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 585473143b9aSmrg ac_cs_recheck=: ;; 585573143b9aSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5856b53e5eeaSmrg $as_echo "$ac_cs_version"; exit ;; 5857af928962Smrg --config | --confi | --conf | --con | --co | --c ) 5858af928962Smrg $as_echo "$ac_cs_config"; exit ;; 585973143b9aSmrg --debug | --debu | --deb | --de | --d | -d ) 586073143b9aSmrg debug=: ;; 586173143b9aSmrg --file | --fil | --fi | --f ) 586273143b9aSmrg $ac_shift 5863b53e5eeaSmrg case $ac_optarg in 5864b53e5eeaSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5865af928962Smrg '') as_fn_error $? "missing file argument" ;; 5866b53e5eeaSmrg esac 5867af928962Smrg as_fn_append CONFIG_FILES " '$ac_optarg'" 586873143b9aSmrg ac_need_defaults=false;; 586973143b9aSmrg --he | --h | --help | --hel | -h ) 5870b53e5eeaSmrg $as_echo "$ac_cs_usage"; exit ;; 587173143b9aSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 587273143b9aSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 587373143b9aSmrg ac_cs_silent=: ;; 587473143b9aSmrg 587573143b9aSmrg # This is an error. 5876af928962Smrg -*) as_fn_error $? "unrecognized option: \`$1' 5877af928962SmrgTry \`$0 --help' for more information." ;; 587873143b9aSmrg 5879af928962Smrg *) as_fn_append ac_config_targets " $1" 588073143b9aSmrg ac_need_defaults=false ;; 588173143b9aSmrg 588273143b9aSmrg esac 588373143b9aSmrg shift 588473143b9aSmrgdone 588573143b9aSmrg 588673143b9aSmrgac_configure_extra_args= 588773143b9aSmrg 588873143b9aSmrgif $ac_cs_silent; then 588973143b9aSmrg exec 6>/dev/null 589073143b9aSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 589173143b9aSmrgfi 589273143b9aSmrg 589373143b9aSmrg_ACEOF 5894b53e5eeaSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 589573143b9aSmrgif \$ac_cs_recheck; then 5896b53e5eeaSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5897b53e5eeaSmrg shift 5898b53e5eeaSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5899b53e5eeaSmrg CONFIG_SHELL='$SHELL' 590073143b9aSmrg export CONFIG_SHELL 5901b53e5eeaSmrg exec "\$@" 590273143b9aSmrgfi 590373143b9aSmrg 590473143b9aSmrg_ACEOF 5905b53e5eeaSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 590673143b9aSmrgexec 5>>config.log 590773143b9aSmrg{ 590873143b9aSmrg echo 590973143b9aSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 591073143b9aSmrg## Running $as_me. ## 591173143b9aSmrg_ASBOX 5912b53e5eeaSmrg $as_echo "$ac_log" 591373143b9aSmrg} >&5 591473143b9aSmrg 591573143b9aSmrg_ACEOF 5916b53e5eeaSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 591773143b9aSmrg# 591873143b9aSmrg# INIT-COMMANDS 591973143b9aSmrg# 592073143b9aSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 592173143b9aSmrg 592273143b9aSmrg_ACEOF 592373143b9aSmrg 5924b53e5eeaSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 592573143b9aSmrg 592673143b9aSmrg# Handling of arguments. 592773143b9aSmrgfor ac_config_target in $ac_config_targets 592873143b9aSmrgdo 592973143b9aSmrg case $ac_config_target in 593073143b9aSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 593173143b9aSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5932af928962Smrg "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 593373143b9aSmrg "xtrans.pc") CONFIG_FILES="$CONFIG_FILES xtrans.pc" ;; 593473143b9aSmrg 5935af928962Smrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 593673143b9aSmrg esac 593773143b9aSmrgdone 593873143b9aSmrg 593973143b9aSmrg 594073143b9aSmrg# If the user did not use the arguments to specify the items to instantiate, 594173143b9aSmrg# then the envvar interface is used. Set only those that are not. 594273143b9aSmrg# We use the long form for the default assignment because of an extremely 594373143b9aSmrg# bizarre bug on SunOS 4.1.3. 594473143b9aSmrgif $ac_need_defaults; then 594573143b9aSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 594673143b9aSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 594773143b9aSmrgfi 594873143b9aSmrg 594973143b9aSmrg# Have a temporary directory for convenience. Make it in the build tree 595073143b9aSmrg# simply because there is no reason against having it here, and in addition, 595173143b9aSmrg# creating and moving files from /tmp can sometimes cause problems. 595273143b9aSmrg# Hook for its removal unless debugging. 595373143b9aSmrg# Note that there is a small window in which the directory will not be cleaned: 595473143b9aSmrg# after its creation but before its name has been assigned to `$tmp'. 595573143b9aSmrg$debug || 595673143b9aSmrg{ 5957af928962Smrg tmp= ac_tmp= 595873143b9aSmrg trap 'exit_status=$? 5959af928962Smrg : "${ac_tmp:=$tmp}" 5960af928962Smrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 596173143b9aSmrg' 0 5962af928962Smrg trap 'as_fn_exit 1' 1 2 13 15 596373143b9aSmrg} 596473143b9aSmrg# Create a (secure) tmp directory for tmp files. 596573143b9aSmrg 596673143b9aSmrg{ 596773143b9aSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5968af928962Smrg test -d "$tmp" 596973143b9aSmrg} || 597073143b9aSmrg{ 597173143b9aSmrg tmp=./conf$$-$RANDOM 597273143b9aSmrg (umask 077 && mkdir "$tmp") 5973af928962Smrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5974af928962Smrgac_tmp=$tmp 597573143b9aSmrg 5976b53e5eeaSmrg# Set up the scripts for CONFIG_FILES section. 5977b53e5eeaSmrg# No need to generate them if there are no CONFIG_FILES. 5978b53e5eeaSmrg# This happens for instance with `./config.status config.h'. 597973143b9aSmrgif test -n "$CONFIG_FILES"; then 598073143b9aSmrg 598173143b9aSmrg 5982af928962Smrgac_cr=`echo X | tr X '\015'` 5983af928962Smrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 5984af928962Smrg# But we know of no other shell where ac_cr would be empty at this 5985af928962Smrg# point, so we can use a bashism as a fallback. 5986af928962Smrgif test "x$ac_cr" = x; then 5987af928962Smrg eval ac_cr=\$\'\\r\' 5988af928962Smrgfi 5989b53e5eeaSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5990b53e5eeaSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5991b53e5eeaSmrg ac_cs_awk_cr='\\r' 5992b53e5eeaSmrgelse 5993b53e5eeaSmrg ac_cs_awk_cr=$ac_cr 5994b53e5eeaSmrgfi 5995b53e5eeaSmrg 5996af928962Smrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 5997b53e5eeaSmrg_ACEOF 599873143b9aSmrg 599973143b9aSmrg 6000b53e5eeaSmrg{ 6001b53e5eeaSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 6002b53e5eeaSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6003b53e5eeaSmrg echo "_ACEOF" 6004b53e5eeaSmrg} >conf$$subs.sh || 6005af928962Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6006af928962Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 600773143b9aSmrgac_delim='%!_!# ' 600873143b9aSmrgfor ac_last_try in false false false false false :; do 6009b53e5eeaSmrg . ./conf$$subs.sh || 6010af928962Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 601173143b9aSmrg 6012b53e5eeaSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6013b53e5eeaSmrg if test $ac_delim_n = $ac_delim_num; then 601473143b9aSmrg break 601573143b9aSmrg elif $ac_last_try; then 6016af928962Smrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 601773143b9aSmrg else 601873143b9aSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 601973143b9aSmrg fi 602073143b9aSmrgdone 6021b53e5eeaSmrgrm -f conf$$subs.sh 602273143b9aSmrg 6023b53e5eeaSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6024af928962Smrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 6025b53e5eeaSmrg_ACEOF 6026b53e5eeaSmrgsed -n ' 6027b53e5eeaSmrgh 6028b53e5eeaSmrgs/^/S["/; s/!.*/"]=/ 6029b53e5eeaSmrgp 6030b53e5eeaSmrgg 6031b53e5eeaSmrgs/^[^!]*!// 6032b53e5eeaSmrg:repl 6033b53e5eeaSmrgt repl 6034b53e5eeaSmrgs/'"$ac_delim"'$// 6035b53e5eeaSmrgt delim 6036b53e5eeaSmrg:nl 6037b53e5eeaSmrgh 6038af928962Smrgs/\(.\{148\}\)..*/\1/ 6039b53e5eeaSmrgt more1 6040b53e5eeaSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6041b53e5eeaSmrgp 6042b53e5eeaSmrgn 6043b53e5eeaSmrgb repl 6044b53e5eeaSmrg:more1 6045b53e5eeaSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6046b53e5eeaSmrgp 6047b53e5eeaSmrgg 6048b53e5eeaSmrgs/.\{148\}// 6049b53e5eeaSmrgt nl 6050b53e5eeaSmrg:delim 6051b53e5eeaSmrgh 6052af928962Smrgs/\(.\{148\}\)..*/\1/ 6053b53e5eeaSmrgt more2 6054b53e5eeaSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 6055b53e5eeaSmrgp 6056b53e5eeaSmrgb 6057b53e5eeaSmrg:more2 6058b53e5eeaSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6059b53e5eeaSmrgp 6060b53e5eeaSmrgg 6061b53e5eeaSmrgs/.\{148\}// 6062b53e5eeaSmrgt delim 6063b53e5eeaSmrg' <conf$$subs.awk | sed ' 6064b53e5eeaSmrg/^[^""]/{ 6065b53e5eeaSmrg N 6066b53e5eeaSmrg s/\n// 6067b53e5eeaSmrg} 6068b53e5eeaSmrg' >>$CONFIG_STATUS || ac_write_fail=1 6069b53e5eeaSmrgrm -f conf$$subs.awk 6070b53e5eeaSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6071b53e5eeaSmrg_ACAWK 6072af928962Smrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 6073b53e5eeaSmrg for (key in S) S_is_set[key] = 1 6074b53e5eeaSmrg FS = "" 6075b53e5eeaSmrg 6076b53e5eeaSmrg} 6077b53e5eeaSmrg{ 6078b53e5eeaSmrg line = $ 0 6079b53e5eeaSmrg nfields = split(line, field, "@") 6080b53e5eeaSmrg substed = 0 6081b53e5eeaSmrg len = length(field[1]) 6082b53e5eeaSmrg for (i = 2; i < nfields; i++) { 6083b53e5eeaSmrg key = field[i] 6084b53e5eeaSmrg keylen = length(key) 6085b53e5eeaSmrg if (S_is_set[key]) { 6086b53e5eeaSmrg value = S[key] 6087b53e5eeaSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6088b53e5eeaSmrg len += length(value) + length(field[++i]) 6089b53e5eeaSmrg substed = 1 6090b53e5eeaSmrg } else 6091b53e5eeaSmrg len += 1 + keylen 6092b53e5eeaSmrg } 6093b53e5eeaSmrg 6094b53e5eeaSmrg print line 6095b53e5eeaSmrg} 609673143b9aSmrg 6097b53e5eeaSmrg_ACAWK 609873143b9aSmrg_ACEOF 6099b53e5eeaSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6100b53e5eeaSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6101b53e5eeaSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6102b53e5eeaSmrgelse 6103b53e5eeaSmrg cat 6104af928962Smrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 6105af928962Smrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 610673143b9aSmrg_ACEOF 610773143b9aSmrg 6108af928962Smrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 6109af928962Smrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 611073143b9aSmrg# trailing colons and then remove the whole line if VPATH becomes empty 611173143b9aSmrg# (actually we leave an empty line to preserve line numbers). 611273143b9aSmrgif test "x$srcdir" = x.; then 6113af928962Smrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 6114af928962Smrgh 6115af928962Smrgs/// 6116af928962Smrgs/^/:/ 6117af928962Smrgs/[ ]*$/:/ 6118af928962Smrgs/:\$(srcdir):/:/g 6119af928962Smrgs/:\${srcdir}:/:/g 6120af928962Smrgs/:@srcdir@:/:/g 6121af928962Smrgs/^:*// 612273143b9aSmrgs/:*$// 6123af928962Smrgx 6124af928962Smrgs/\(=[ ]*\).*/\1/ 6125af928962SmrgG 6126af928962Smrgs/\n// 612773143b9aSmrgs/^[^=]*=[ ]*$// 612873143b9aSmrg}' 612973143b9aSmrgfi 613073143b9aSmrg 6131b53e5eeaSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 613273143b9aSmrgfi # test -n "$CONFIG_FILES" 613373143b9aSmrg 613473143b9aSmrg 6135b53e5eeaSmrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 6136b53e5eeaSmrgshift 6137b53e5eeaSmrgfor ac_tag 613873143b9aSmrgdo 613973143b9aSmrg case $ac_tag in 614073143b9aSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 614173143b9aSmrg esac 614273143b9aSmrg case $ac_mode$ac_tag in 614373143b9aSmrg :[FHL]*:*);; 6144af928962Smrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 614573143b9aSmrg :[FH]-) ac_tag=-:-;; 614673143b9aSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 614773143b9aSmrg esac 614873143b9aSmrg ac_save_IFS=$IFS 614973143b9aSmrg IFS=: 615073143b9aSmrg set x $ac_tag 615173143b9aSmrg IFS=$ac_save_IFS 615273143b9aSmrg shift 615373143b9aSmrg ac_file=$1 615473143b9aSmrg shift 615573143b9aSmrg 615673143b9aSmrg case $ac_mode in 615773143b9aSmrg :L) ac_source=$1;; 615873143b9aSmrg :[FH]) 615973143b9aSmrg ac_file_inputs= 616073143b9aSmrg for ac_f 616173143b9aSmrg do 616273143b9aSmrg case $ac_f in 6163af928962Smrg -) ac_f="$ac_tmp/stdin";; 616473143b9aSmrg *) # Look for the file first in the build tree, then in the source tree 616573143b9aSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 616673143b9aSmrg # because $ac_f cannot contain `:'. 616773143b9aSmrg test -f "$ac_f" || 616873143b9aSmrg case $ac_f in 616973143b9aSmrg [\\/$]*) false;; 617073143b9aSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 617173143b9aSmrg esac || 6172af928962Smrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 617373143b9aSmrg esac 6174b53e5eeaSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6175af928962Smrg as_fn_append ac_file_inputs " '$ac_f'" 617673143b9aSmrg done 617773143b9aSmrg 617873143b9aSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 617973143b9aSmrg # use $as_me), people would be surprised to read: 618073143b9aSmrg # /* config.h. Generated by config.status. */ 6181b53e5eeaSmrg configure_input='Generated from '` 6182b53e5eeaSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6183b53e5eeaSmrg `' by configure.' 618473143b9aSmrg if test x"$ac_file" != x-; then 618573143b9aSmrg configure_input="$ac_file. $configure_input" 6186af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 6187b53e5eeaSmrg$as_echo "$as_me: creating $ac_file" >&6;} 618873143b9aSmrg fi 6189b53e5eeaSmrg # Neutralize special characters interpreted by sed in replacement strings. 6190b53e5eeaSmrg case $configure_input in #( 6191b53e5eeaSmrg *\&* | *\|* | *\\* ) 6192b53e5eeaSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 6193b53e5eeaSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 6194b53e5eeaSmrg *) ac_sed_conf_input=$configure_input;; 6195b53e5eeaSmrg esac 619673143b9aSmrg 619773143b9aSmrg case $ac_tag in 6198af928962Smrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 6199af928962Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 620073143b9aSmrg esac 620173143b9aSmrg ;; 620273143b9aSmrg esac 620373143b9aSmrg 620473143b9aSmrg ac_dir=`$as_dirname -- "$ac_file" || 620573143b9aSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 620673143b9aSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 620773143b9aSmrg X"$ac_file" : 'X\(//\)$' \| \ 620873143b9aSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6209b53e5eeaSmrg$as_echo X"$ac_file" | 621073143b9aSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 621173143b9aSmrg s//\1/ 621273143b9aSmrg q 621373143b9aSmrg } 621473143b9aSmrg /^X\(\/\/\)[^/].*/{ 621573143b9aSmrg s//\1/ 621673143b9aSmrg q 621773143b9aSmrg } 621873143b9aSmrg /^X\(\/\/\)$/{ 621973143b9aSmrg s//\1/ 622073143b9aSmrg q 622173143b9aSmrg } 622273143b9aSmrg /^X\(\/\).*/{ 622373143b9aSmrg s//\1/ 622473143b9aSmrg q 622573143b9aSmrg } 622673143b9aSmrg s/.*/./; q'` 6227af928962Smrg as_dir="$ac_dir"; as_fn_mkdir_p 622873143b9aSmrg ac_builddir=. 622973143b9aSmrg 623073143b9aSmrgcase "$ac_dir" in 623173143b9aSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 623273143b9aSmrg*) 6233b53e5eeaSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 623473143b9aSmrg # A ".." for each directory in $ac_dir_suffix. 6235b53e5eeaSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 623673143b9aSmrg case $ac_top_builddir_sub in 623773143b9aSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 623873143b9aSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 623973143b9aSmrg esac ;; 624073143b9aSmrgesac 624173143b9aSmrgac_abs_top_builddir=$ac_pwd 624273143b9aSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 624373143b9aSmrg# for backward compatibility: 624473143b9aSmrgac_top_builddir=$ac_top_build_prefix 624573143b9aSmrg 624673143b9aSmrgcase $srcdir in 624773143b9aSmrg .) # We are building in place. 624873143b9aSmrg ac_srcdir=. 624973143b9aSmrg ac_top_srcdir=$ac_top_builddir_sub 625073143b9aSmrg ac_abs_top_srcdir=$ac_pwd ;; 625173143b9aSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 625273143b9aSmrg ac_srcdir=$srcdir$ac_dir_suffix; 625373143b9aSmrg ac_top_srcdir=$srcdir 625473143b9aSmrg ac_abs_top_srcdir=$srcdir ;; 625573143b9aSmrg *) # Relative name. 625673143b9aSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 625773143b9aSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 625873143b9aSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 625973143b9aSmrgesac 626073143b9aSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 626173143b9aSmrg 626273143b9aSmrg 626373143b9aSmrg case $ac_mode in 626473143b9aSmrg :F) 626573143b9aSmrg # 626673143b9aSmrg # CONFIG_FILE 626773143b9aSmrg # 626873143b9aSmrg 626973143b9aSmrg case $INSTALL in 627073143b9aSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 627173143b9aSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 627273143b9aSmrg esac 627373143b9aSmrg ac_MKDIR_P=$MKDIR_P 627473143b9aSmrg case $MKDIR_P in 627573143b9aSmrg [\\/$]* | ?:[\\/]* ) ;; 627673143b9aSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 627773143b9aSmrg esac 627873143b9aSmrg_ACEOF 627973143b9aSmrg 6280b53e5eeaSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 628173143b9aSmrg# If the template does not know about datarootdir, expand it. 628273143b9aSmrg# FIXME: This hack should be removed a few years after 2.60. 628373143b9aSmrgac_datarootdir_hack=; ac_datarootdir_seen= 6284b53e5eeaSmrgac_sed_dataroot=' 6285b53e5eeaSmrg/datarootdir/ { 628673143b9aSmrg p 628773143b9aSmrg q 628873143b9aSmrg} 628973143b9aSmrg/@datadir@/p 629073143b9aSmrg/@docdir@/p 629173143b9aSmrg/@infodir@/p 629273143b9aSmrg/@localedir@/p 6293af928962Smrg/@mandir@/p' 6294b53e5eeaSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 629573143b9aSmrg*datarootdir*) ac_datarootdir_seen=yes;; 629673143b9aSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6297af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6298b53e5eeaSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 629973143b9aSmrg_ACEOF 6300b53e5eeaSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 630173143b9aSmrg ac_datarootdir_hack=' 630273143b9aSmrg s&@datadir@&$datadir&g 630373143b9aSmrg s&@docdir@&$docdir&g 630473143b9aSmrg s&@infodir@&$infodir&g 630573143b9aSmrg s&@localedir@&$localedir&g 630673143b9aSmrg s&@mandir@&$mandir&g 6307af928962Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 630873143b9aSmrgesac 630973143b9aSmrg_ACEOF 631073143b9aSmrg 631173143b9aSmrg# Neutralize VPATH when `$srcdir' = `.'. 631273143b9aSmrg# Shell code in configure.ac might set extrasub. 631373143b9aSmrg# FIXME: do we really want to maintain this feature? 6314b53e5eeaSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6315b53e5eeaSmrgac_sed_extra="$ac_vpsub 631673143b9aSmrg$extrasub 631773143b9aSmrg_ACEOF 6318b53e5eeaSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 631973143b9aSmrg:t 632073143b9aSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6321b53e5eeaSmrgs|@configure_input@|$ac_sed_conf_input|;t t 632273143b9aSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 6323b53e5eeaSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 632473143b9aSmrgs&@srcdir@&$ac_srcdir&;t t 632573143b9aSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 632673143b9aSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 632773143b9aSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 632873143b9aSmrgs&@builddir@&$ac_builddir&;t t 632973143b9aSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 633073143b9aSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 633173143b9aSmrgs&@INSTALL@&$ac_INSTALL&;t t 633273143b9aSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 633373143b9aSmrg$ac_datarootdir_hack 6334b53e5eeaSmrg" 6335af928962Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6336af928962Smrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 633773143b9aSmrg 633873143b9aSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6339af928962Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6340af928962Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6341af928962Smrg "$ac_tmp/out"`; test -z "$ac_out"; } && 6342af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6343af928962Smrgwhich seems to be undefined. Please make sure it is defined" >&5 6344b53e5eeaSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6345af928962Smrgwhich seems to be undefined. Please make sure it is defined" >&2;} 634673143b9aSmrg 6347af928962Smrg rm -f "$ac_tmp/stdin" 634873143b9aSmrg case $ac_file in 6349af928962Smrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6350af928962Smrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 6351b53e5eeaSmrg esac \ 6352af928962Smrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 635373143b9aSmrg ;; 635473143b9aSmrg 635573143b9aSmrg 6356af928962Smrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 6357b53e5eeaSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 635873143b9aSmrg ;; 635973143b9aSmrg esac 636073143b9aSmrg 636173143b9aSmrg 636273143b9aSmrg case $ac_file$ac_mode in 6363b53e5eeaSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6364b53e5eeaSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 6365b53e5eeaSmrg # are listed without --file. Let's play safe and only enable the eval 6366b53e5eeaSmrg # if we detect the quoting. 6367b53e5eeaSmrg case $CONFIG_FILES in 6368b53e5eeaSmrg *\'*) eval set x "$CONFIG_FILES" ;; 6369b53e5eeaSmrg *) set x $CONFIG_FILES ;; 6370b53e5eeaSmrg esac 6371b53e5eeaSmrg shift 6372b53e5eeaSmrg for mf 6373b53e5eeaSmrg do 6374b53e5eeaSmrg # Strip MF so we end up with the name of the file. 6375b53e5eeaSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 6376b53e5eeaSmrg # Check whether this is an Automake generated Makefile or not. 6377b53e5eeaSmrg # We used to match only the files named `Makefile.in', but 6378b53e5eeaSmrg # some people rename them; so instead we look at the file content. 6379b53e5eeaSmrg # Grep'ing the first line is not enough: some people post-process 6380b53e5eeaSmrg # each Makefile.in and add a new line on top of each file to say so. 6381b53e5eeaSmrg # Grep'ing the whole file is not good either: AIX grep has a line 6382b53e5eeaSmrg # limit of 2048, but all sed's we know have understand at least 4000. 6383b53e5eeaSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6384b53e5eeaSmrg dirpart=`$as_dirname -- "$mf" || 638573143b9aSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 638673143b9aSmrg X"$mf" : 'X\(//\)[^/]' \| \ 638773143b9aSmrg X"$mf" : 'X\(//\)$' \| \ 638873143b9aSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6389b53e5eeaSmrg$as_echo X"$mf" | 639073143b9aSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 639173143b9aSmrg s//\1/ 639273143b9aSmrg q 639373143b9aSmrg } 639473143b9aSmrg /^X\(\/\/\)[^/].*/{ 639573143b9aSmrg s//\1/ 639673143b9aSmrg q 639773143b9aSmrg } 639873143b9aSmrg /^X\(\/\/\)$/{ 639973143b9aSmrg s//\1/ 640073143b9aSmrg q 640173143b9aSmrg } 640273143b9aSmrg /^X\(\/\).*/{ 640373143b9aSmrg s//\1/ 640473143b9aSmrg q 640573143b9aSmrg } 640673143b9aSmrg s/.*/./; q'` 6407b53e5eeaSmrg else 6408b53e5eeaSmrg continue 6409b53e5eeaSmrg fi 6410b53e5eeaSmrg # Extract the definition of DEPDIR, am__include, and am__quote 6411b53e5eeaSmrg # from the Makefile without running `make'. 6412b53e5eeaSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6413b53e5eeaSmrg test -z "$DEPDIR" && continue 6414b53e5eeaSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 6415b53e5eeaSmrg test -z "am__include" && continue 6416b53e5eeaSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6417b53e5eeaSmrg # When using ansi2knr, U may be empty or an underscore; expand it 6418b53e5eeaSmrg U=`sed -n 's/^U = //p' < "$mf"` 6419b53e5eeaSmrg # Find all dependency output files, they are included files with 6420b53e5eeaSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 6421b53e5eeaSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 6422b53e5eeaSmrg # expansion. 6423b53e5eeaSmrg for file in `sed -n " 6424b53e5eeaSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6425b53e5eeaSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6426b53e5eeaSmrg # Make sure the directory exists. 6427b53e5eeaSmrg test -f "$dirpart/$file" && continue 6428b53e5eeaSmrg fdir=`$as_dirname -- "$file" || 642973143b9aSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 643073143b9aSmrg X"$file" : 'X\(//\)[^/]' \| \ 643173143b9aSmrg X"$file" : 'X\(//\)$' \| \ 643273143b9aSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 6433b53e5eeaSmrg$as_echo X"$file" | 643473143b9aSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 643573143b9aSmrg s//\1/ 643673143b9aSmrg q 643773143b9aSmrg } 643873143b9aSmrg /^X\(\/\/\)[^/].*/{ 643973143b9aSmrg s//\1/ 644073143b9aSmrg q 644173143b9aSmrg } 644273143b9aSmrg /^X\(\/\/\)$/{ 644373143b9aSmrg s//\1/ 644473143b9aSmrg q 644573143b9aSmrg } 644673143b9aSmrg /^X\(\/\).*/{ 644773143b9aSmrg s//\1/ 644873143b9aSmrg q 644973143b9aSmrg } 645073143b9aSmrg s/.*/./; q'` 6451af928962Smrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 6452b53e5eeaSmrg # echo "creating $dirpart/$file" 6453b53e5eeaSmrg echo '# dummy' > "$dirpart/$file" 6454b53e5eeaSmrg done 645573143b9aSmrg done 6456b53e5eeaSmrg} 645773143b9aSmrg ;; 645873143b9aSmrg 645973143b9aSmrg esac 646073143b9aSmrgdone # for ac_tag 646173143b9aSmrg 646273143b9aSmrg 6463af928962Smrgas_fn_exit 0 646473143b9aSmrg_ACEOF 646573143b9aSmrgac_clean_files=$ac_clean_files_save 646673143b9aSmrg 6467b53e5eeaSmrgtest $ac_write_fail = 0 || 6468af928962Smrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6469b53e5eeaSmrg 647073143b9aSmrg 647173143b9aSmrg# configure is writing to config.log, and then calls config.status. 647273143b9aSmrg# config.status does its own redirection, appending to config.log. 647373143b9aSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 647473143b9aSmrg# by configure, so config.status won't be able to write to it; its 647573143b9aSmrg# output is simply discarded. So we exec the FD to /dev/null, 647673143b9aSmrg# effectively closing config.log, so it can be properly (re)opened and 647773143b9aSmrg# appended to by config.status. When coming back to configure, we 647873143b9aSmrg# need to make the FD available again. 647973143b9aSmrgif test "$no_create" != yes; then 648073143b9aSmrg ac_cs_success=: 648173143b9aSmrg ac_config_status_args= 648273143b9aSmrg test "$silent" = yes && 648373143b9aSmrg ac_config_status_args="$ac_config_status_args --quiet" 648473143b9aSmrg exec 5>/dev/null 648573143b9aSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 648673143b9aSmrg exec 5>>config.log 648773143b9aSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 648873143b9aSmrg # would make configure fail if this is the last instruction. 6489af928962Smrg $ac_cs_success || as_fn_exit 1 649073143b9aSmrgfi 6491b53e5eeaSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6492af928962Smrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6493b53e5eeaSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6494b53e5eeaSmrgfi 649573143b9aSmrg 6496