167332fb9Smrg#! /bin/sh 267332fb9Smrg# Guess values for system-dependent variables and create Makefiles. 3145f796fSmrg# Generated by GNU Autoconf 2.68 for font-adobe-utopia-75dpi 1.0.4. 467332fb9Smrg# 567332fb9Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 667332fb9Smrg# 7145f796fSmrg# 8eed6fe1cSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9145f796fSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10145f796fSmrg# Foundation, Inc. 11145f796fSmrg# 12145f796fSmrg# 1367332fb9Smrg# This configure script is free software; the Free Software Foundation 1467332fb9Smrg# gives unlimited permission to copy, distribute and modify it. 15145f796fSmrg## -------------------- ## 16145f796fSmrg## M4sh Initialization. ## 17145f796fSmrg## -------------------- ## 1867332fb9Smrg 19eed6fe1cSmrg# Be more Bourne compatible 20eed6fe1cSmrgDUALCASE=1; export DUALCASE # for MKS sh 21145f796fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 2267332fb9Smrg emulate sh 2367332fb9Smrg NULLCMD=: 24eed6fe1cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2567332fb9Smrg # is contrary to our usage. Disable this feature. 2667332fb9Smrg alias -g '${1+"$@"}'='"$@"' 27eed6fe1cSmrg setopt NO_GLOB_SUBST 28eed6fe1cSmrgelse 29145f796fSmrg case `(set -o) 2>/dev/null` in #( 30145f796fSmrg *posix*) : 31145f796fSmrg set -o posix ;; #( 32145f796fSmrg *) : 33145f796fSmrg ;; 34eed6fe1cSmrgesac 35eed6fe1cSmrgfi 36eed6fe1cSmrg 37eed6fe1cSmrg 38eed6fe1cSmrgas_nl=' 39eed6fe1cSmrg' 40eed6fe1cSmrgexport as_nl 41eed6fe1cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 42eed6fe1cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43eed6fe1cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44eed6fe1cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45145f796fSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 46145f796fSmrg# but without wasting forks for bash or zsh. 47145f796fSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 48145f796fSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49145f796fSmrg as_echo='print -r --' 50145f796fSmrg as_echo_n='print -rn --' 51145f796fSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52eed6fe1cSmrg as_echo='printf %s\n' 53eed6fe1cSmrg as_echo_n='printf %s' 54eed6fe1cSmrgelse 55eed6fe1cSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56eed6fe1cSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57eed6fe1cSmrg as_echo_n='/usr/ucb/echo -n' 58eed6fe1cSmrg else 59eed6fe1cSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60eed6fe1cSmrg as_echo_n_body='eval 61eed6fe1cSmrg arg=$1; 62145f796fSmrg case $arg in #( 63eed6fe1cSmrg *"$as_nl"*) 64eed6fe1cSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 65eed6fe1cSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66eed6fe1cSmrg esac; 67eed6fe1cSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68eed6fe1cSmrg ' 69eed6fe1cSmrg export as_echo_n_body 70eed6fe1cSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 71eed6fe1cSmrg fi 72eed6fe1cSmrg export as_echo_body 73eed6fe1cSmrg as_echo='sh -c $as_echo_body as_echo' 74eed6fe1cSmrgfi 75eed6fe1cSmrg 76eed6fe1cSmrg# The user is always right. 77eed6fe1cSmrgif test "${PATH_SEPARATOR+set}" != set; then 78eed6fe1cSmrg PATH_SEPARATOR=: 79eed6fe1cSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80eed6fe1cSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81eed6fe1cSmrg PATH_SEPARATOR=';' 82eed6fe1cSmrg } 8367332fb9Smrgfi 8467332fb9Smrg 8567332fb9Smrg 86eed6fe1cSmrg# IFS 87eed6fe1cSmrg# We need space, tab and new line, in precisely that order. Quoting is 88eed6fe1cSmrg# there to prevent editors from complaining about space-tab. 89eed6fe1cSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90eed6fe1cSmrg# splitting by setting IFS to empty value.) 91eed6fe1cSmrgIFS=" "" $as_nl" 92eed6fe1cSmrg 93eed6fe1cSmrg# Find who we are. Look in the path if we contain no directory separator. 94145f796fSmrgas_myself= 95145f796fSmrgcase $0 in #(( 96eed6fe1cSmrg *[\\/]* ) as_myself=$0 ;; 97eed6fe1cSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98eed6fe1cSmrgfor as_dir in $PATH 99eed6fe1cSmrgdo 100eed6fe1cSmrg IFS=$as_save_IFS 101eed6fe1cSmrg test -z "$as_dir" && as_dir=. 102145f796fSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103145f796fSmrg done 104eed6fe1cSmrgIFS=$as_save_IFS 105eed6fe1cSmrg 106eed6fe1cSmrg ;; 107eed6fe1cSmrgesac 108eed6fe1cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 109eed6fe1cSmrg# in which case we are not to be found in the path. 110eed6fe1cSmrgif test "x$as_myself" = x; then 111eed6fe1cSmrg as_myself=$0 112eed6fe1cSmrgfi 113eed6fe1cSmrgif test ! -f "$as_myself"; then 114eed6fe1cSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115145f796fSmrg exit 1 116eed6fe1cSmrgfi 117eed6fe1cSmrg 118145f796fSmrg# Unset variables that we do not need and which cause bugs (e.g. in 119145f796fSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120145f796fSmrg# suppresses any "Segmentation fault" message there. '((' could 121145f796fSmrg# trigger a bug in pdksh 5.2.14. 122145f796fSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 123145f796fSmrgdo eval test x\${$as_var+set} = xset \ 124145f796fSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125eed6fe1cSmrgdone 12667332fb9SmrgPS1='$ ' 12767332fb9SmrgPS2='> ' 12867332fb9SmrgPS4='+ ' 12967332fb9Smrg 13067332fb9Smrg# NLS nuisances. 131eed6fe1cSmrgLC_ALL=C 132eed6fe1cSmrgexport LC_ALL 133eed6fe1cSmrgLANGUAGE=C 134eed6fe1cSmrgexport LANGUAGE 13567332fb9Smrg 136145f796fSmrg# CDPATH. 137145f796fSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138145f796fSmrg 139145f796fSmrgif test "x$CONFIG_SHELL" = x; then 140145f796fSmrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141145f796fSmrg emulate sh 142145f796fSmrg NULLCMD=: 143145f796fSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144145f796fSmrg # is contrary to our usage. Disable this feature. 145145f796fSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 146145f796fSmrg setopt NO_GLOB_SUBST 147145f796fSmrgelse 148145f796fSmrg case \`(set -o) 2>/dev/null\` in #( 149145f796fSmrg *posix*) : 150145f796fSmrg set -o posix ;; #( 151145f796fSmrg *) : 152145f796fSmrg ;; 153145f796fSmrgesac 154145f796fSmrgfi 155145f796fSmrg" 156145f796fSmrg as_required="as_fn_return () { (exit \$1); } 157145f796fSmrgas_fn_success () { as_fn_return 0; } 158145f796fSmrgas_fn_failure () { as_fn_return 1; } 159145f796fSmrgas_fn_ret_success () { return 0; } 160145f796fSmrgas_fn_ret_failure () { return 1; } 161145f796fSmrg 162145f796fSmrgexitcode=0 163145f796fSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 164145f796fSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165145f796fSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166145f796fSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167145f796fSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168145f796fSmrg 169145f796fSmrgelse 170145f796fSmrg exitcode=1; echo positional parameters were not saved. 171145f796fSmrgfi 172145f796fSmrgtest x\$exitcode = x0 || exit 1" 173145f796fSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174145f796fSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175145f796fSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176145f796fSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177145f796fSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 178145f796fSmrg if (eval "$as_required") 2>/dev/null; then : 179145f796fSmrg as_have_required=yes 180145f796fSmrgelse 181145f796fSmrg as_have_required=no 182145f796fSmrgfi 183145f796fSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184145f796fSmrg 185145f796fSmrgelse 186145f796fSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187145f796fSmrgas_found=false 188145f796fSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189145f796fSmrgdo 190145f796fSmrg IFS=$as_save_IFS 191145f796fSmrg test -z "$as_dir" && as_dir=. 192145f796fSmrg as_found=: 193145f796fSmrg case $as_dir in #( 194145f796fSmrg /*) 195145f796fSmrg for as_base in sh bash ksh sh5; do 196145f796fSmrg # Try only shells that exist, to save several forks. 197145f796fSmrg as_shell=$as_dir/$as_base 198145f796fSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199145f796fSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200145f796fSmrg CONFIG_SHELL=$as_shell as_have_required=yes 201145f796fSmrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202145f796fSmrg break 2 203145f796fSmrgfi 204145f796fSmrgfi 205145f796fSmrg done;; 206145f796fSmrg esac 207145f796fSmrg as_found=false 208145f796fSmrgdone 209145f796fSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210145f796fSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211145f796fSmrg CONFIG_SHELL=$SHELL as_have_required=yes 212145f796fSmrgfi; } 213145f796fSmrgIFS=$as_save_IFS 214145f796fSmrg 215145f796fSmrg 216145f796fSmrg if test "x$CONFIG_SHELL" != x; then : 217145f796fSmrg # We cannot yet assume a decent shell, so we have to provide a 218145f796fSmrg # neutralization value for shells without unset; and this also 219145f796fSmrg # works around shells that cannot unset nonexistent variables. 220145f796fSmrg # Preserve -v and -x to the replacement shell. 221145f796fSmrg BASH_ENV=/dev/null 222145f796fSmrg ENV=/dev/null 223145f796fSmrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224145f796fSmrg export CONFIG_SHELL 225145f796fSmrg case $- in # (((( 226145f796fSmrg *v*x* | *x*v* ) as_opts=-vx ;; 227145f796fSmrg *v* ) as_opts=-v ;; 228145f796fSmrg *x* ) as_opts=-x ;; 229145f796fSmrg * ) as_opts= ;; 230145f796fSmrg esac 231145f796fSmrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232145f796fSmrgfi 233145f796fSmrg 234145f796fSmrg if test x$as_have_required = xno; then : 235145f796fSmrg $as_echo "$0: This script requires a shell more modern than all" 236145f796fSmrg $as_echo "$0: the shells that I found on your system." 237145f796fSmrg if test x${ZSH_VERSION+set} = xset ; then 238145f796fSmrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239145f796fSmrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240145f796fSmrg else 241145f796fSmrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 242145f796fSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 243145f796fSmrg$0: about your system, including any error possibly output 244145f796fSmrg$0: before this message. Then install a modern shell, or 245145f796fSmrg$0: manually run the script under such a shell if you do 246145f796fSmrg$0: have one." 247145f796fSmrg fi 248145f796fSmrg exit 1 249145f796fSmrgfi 250145f796fSmrgfi 251145f796fSmrgfi 252145f796fSmrgSHELL=${CONFIG_SHELL-/bin/sh} 253145f796fSmrgexport SHELL 254145f796fSmrg# Unset more variables known to interfere with behavior of common tools. 255145f796fSmrgCLICOLOR_FORCE= GREP_OPTIONS= 256145f796fSmrgunset CLICOLOR_FORCE GREP_OPTIONS 257145f796fSmrg 258145f796fSmrg## --------------------- ## 259145f796fSmrg## M4sh Shell Functions. ## 260145f796fSmrg## --------------------- ## 261145f796fSmrg# as_fn_unset VAR 262145f796fSmrg# --------------- 263145f796fSmrg# Portably unset VAR. 264145f796fSmrgas_fn_unset () 265145f796fSmrg{ 266145f796fSmrg { eval $1=; unset $1;} 267145f796fSmrg} 268145f796fSmrgas_unset=as_fn_unset 269145f796fSmrg 270145f796fSmrg# as_fn_set_status STATUS 271145f796fSmrg# ----------------------- 272145f796fSmrg# Set $? to STATUS, without forking. 273145f796fSmrgas_fn_set_status () 274145f796fSmrg{ 275145f796fSmrg return $1 276145f796fSmrg} # as_fn_set_status 277145f796fSmrg 278145f796fSmrg# as_fn_exit STATUS 279145f796fSmrg# ----------------- 280145f796fSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 281145f796fSmrgas_fn_exit () 282145f796fSmrg{ 283145f796fSmrg set +e 284145f796fSmrg as_fn_set_status $1 285145f796fSmrg exit $1 286145f796fSmrg} # as_fn_exit 287145f796fSmrg 288145f796fSmrg# as_fn_mkdir_p 289145f796fSmrg# ------------- 290145f796fSmrg# Create "$as_dir" as a directory, including parents if necessary. 291145f796fSmrgas_fn_mkdir_p () 292145f796fSmrg{ 293145f796fSmrg 294145f796fSmrg case $as_dir in #( 295145f796fSmrg -*) as_dir=./$as_dir;; 296145f796fSmrg esac 297145f796fSmrg test -d "$as_dir" || eval $as_mkdir_p || { 298145f796fSmrg as_dirs= 299145f796fSmrg while :; do 300145f796fSmrg case $as_dir in #( 301145f796fSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 302145f796fSmrg *) as_qdir=$as_dir;; 303145f796fSmrg esac 304145f796fSmrg as_dirs="'$as_qdir' $as_dirs" 305145f796fSmrg as_dir=`$as_dirname -- "$as_dir" || 306145f796fSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 307145f796fSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 308145f796fSmrg X"$as_dir" : 'X\(//\)$' \| \ 309145f796fSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 310145f796fSmrg$as_echo X"$as_dir" | 311145f796fSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 312145f796fSmrg s//\1/ 313145f796fSmrg q 314145f796fSmrg } 315145f796fSmrg /^X\(\/\/\)[^/].*/{ 316145f796fSmrg s//\1/ 317145f796fSmrg q 318145f796fSmrg } 319145f796fSmrg /^X\(\/\/\)$/{ 320145f796fSmrg s//\1/ 321145f796fSmrg q 322145f796fSmrg } 323145f796fSmrg /^X\(\/\).*/{ 324145f796fSmrg s//\1/ 325145f796fSmrg q 326145f796fSmrg } 327145f796fSmrg s/.*/./; q'` 328145f796fSmrg test -d "$as_dir" && break 329145f796fSmrg done 330145f796fSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 331145f796fSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 332145f796fSmrg 333145f796fSmrg 334145f796fSmrg} # as_fn_mkdir_p 335145f796fSmrg# as_fn_append VAR VALUE 336145f796fSmrg# ---------------------- 337145f796fSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 338145f796fSmrg# advantage of any shell optimizations that allow amortized linear growth over 339145f796fSmrg# repeated appends, instead of the typical quadratic growth present in naive 340145f796fSmrg# implementations. 341145f796fSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 342145f796fSmrg eval 'as_fn_append () 343145f796fSmrg { 344145f796fSmrg eval $1+=\$2 345145f796fSmrg }' 346145f796fSmrgelse 347145f796fSmrg as_fn_append () 348145f796fSmrg { 349145f796fSmrg eval $1=\$$1\$2 350145f796fSmrg } 351145f796fSmrgfi # as_fn_append 352145f796fSmrg 353145f796fSmrg# as_fn_arith ARG... 354145f796fSmrg# ------------------ 355145f796fSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 356145f796fSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 357145f796fSmrg# must be portable across $(()) and expr. 358145f796fSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 359145f796fSmrg eval 'as_fn_arith () 360145f796fSmrg { 361145f796fSmrg as_val=$(( $* )) 362145f796fSmrg }' 363145f796fSmrgelse 364145f796fSmrg as_fn_arith () 365145f796fSmrg { 366145f796fSmrg as_val=`expr "$@" || test $? -eq 1` 367145f796fSmrg } 368145f796fSmrgfi # as_fn_arith 369145f796fSmrg 370145f796fSmrg 371145f796fSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 372145f796fSmrg# ---------------------------------------- 373145f796fSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 374145f796fSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 375145f796fSmrg# script with STATUS, using 1 if that was 0. 376145f796fSmrgas_fn_error () 377145f796fSmrg{ 378145f796fSmrg as_status=$1; test $as_status -eq 0 && as_status=1 379145f796fSmrg if test "$4"; then 380145f796fSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 381145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 382145f796fSmrg fi 383145f796fSmrg $as_echo "$as_me: error: $2" >&2 384145f796fSmrg as_fn_exit $as_status 385145f796fSmrg} # as_fn_error 386145f796fSmrg 387eed6fe1cSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 388eed6fe1cSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 38967332fb9Smrg as_expr=expr 39067332fb9Smrgelse 39167332fb9Smrg as_expr=false 39267332fb9Smrgfi 39367332fb9Smrg 394eed6fe1cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 39567332fb9Smrg as_basename=basename 39667332fb9Smrgelse 39767332fb9Smrg as_basename=false 39867332fb9Smrgfi 39967332fb9Smrg 400145f796fSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 401145f796fSmrg as_dirname=dirname 402145f796fSmrgelse 403145f796fSmrg as_dirname=false 404145f796fSmrgfi 40567332fb9Smrg 406eed6fe1cSmrgas_me=`$as_basename -- "$0" || 40767332fb9Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 40867332fb9Smrg X"$0" : 'X\(//\)$' \| \ 409eed6fe1cSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 410eed6fe1cSmrg$as_echo X/"$0" | 411eed6fe1cSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 412eed6fe1cSmrg s//\1/ 413eed6fe1cSmrg q 414eed6fe1cSmrg } 415eed6fe1cSmrg /^X\/\(\/\/\)$/{ 416eed6fe1cSmrg s//\1/ 417eed6fe1cSmrg q 418eed6fe1cSmrg } 419eed6fe1cSmrg /^X\/\(\/\).*/{ 420eed6fe1cSmrg s//\1/ 421eed6fe1cSmrg q 422eed6fe1cSmrg } 423eed6fe1cSmrg s/.*/./; q'` 42467332fb9Smrg 425145f796fSmrg# Avoid depending upon Character Ranges. 426145f796fSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 427145f796fSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 428145f796fSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 429145f796fSmrgas_cr_digits='0123456789' 430145f796fSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 43167332fb9Smrg 43267332fb9Smrg 433145f796fSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 434145f796fSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 435145f796fSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 436145f796fSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 437145f796fSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438145f796fSmrg sed -n ' 439145f796fSmrg p 440145f796fSmrg /[$]LINENO/= 441145f796fSmrg ' <$as_myself | 442145f796fSmrg sed ' 443145f796fSmrg s/[$]LINENO.*/&-/ 444145f796fSmrg t lineno 445145f796fSmrg b 446145f796fSmrg :lineno 447145f796fSmrg N 448145f796fSmrg :loop 449145f796fSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450145f796fSmrg t loop 451145f796fSmrg s/-\n.*// 452145f796fSmrg ' >$as_me.lineno && 453145f796fSmrg chmod +x "$as_me.lineno" || 454145f796fSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 45567332fb9Smrg 456145f796fSmrg # Don't try to exec as it changes $[0], causing all sort of problems 457145f796fSmrg # (the dirname of $[0] is not the place where we might find the 458145f796fSmrg # original and so on. Autoconf is especially sensitive to this). 459145f796fSmrg . "./$as_me.lineno" 460145f796fSmrg # Exit status is that of the last command. 461145f796fSmrg exit 462eed6fe1cSmrg} 46367332fb9Smrg 464145f796fSmrgECHO_C= ECHO_N= ECHO_T= 465145f796fSmrgcase `echo -n x` in #((((( 466145f796fSmrg-n*) 467145f796fSmrg case `echo 'xy\c'` in 468145f796fSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 469145f796fSmrg xy) ECHO_C='\c';; 470145f796fSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 471145f796fSmrg ECHO_T=' ';; 472145f796fSmrg esac;; 473145f796fSmrg*) 474145f796fSmrg ECHO_N='-n';; 475145f796fSmrgesac 47667332fb9Smrg 477145f796fSmrgrm -f conf$$ conf$$.exe conf$$.file 478145f796fSmrgif test -d conf$$.dir; then 479145f796fSmrg rm -f conf$$.dir/conf$$.file 480145f796fSmrgelse 481145f796fSmrg rm -f conf$$.dir 482145f796fSmrg mkdir conf$$.dir 2>/dev/null 483eed6fe1cSmrgfi 484145f796fSmrgif (echo >conf$$.file) 2>/dev/null; then 485145f796fSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 486145f796fSmrg as_ln_s='ln -s' 487145f796fSmrg # ... but there are two gotchas: 488145f796fSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 489145f796fSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 490145f796fSmrg # In both cases, we have to default to `cp -p'. 491145f796fSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 492145f796fSmrg as_ln_s='cp -p' 493145f796fSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 494145f796fSmrg as_ln_s=ln 495145f796fSmrg else 496145f796fSmrg as_ln_s='cp -p' 497145f796fSmrg fi 498eed6fe1cSmrgelse 499145f796fSmrg as_ln_s='cp -p' 500eed6fe1cSmrgfi 501145f796fSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 502145f796fSmrgrmdir conf$$.dir 2>/dev/null 503eed6fe1cSmrg 504145f796fSmrgif mkdir -p . 2>/dev/null; then 505145f796fSmrg as_mkdir_p='mkdir -p "$as_dir"' 506145f796fSmrgelse 507145f796fSmrg test -d ./-p && rmdir ./-p 508145f796fSmrg as_mkdir_p=false 509eed6fe1cSmrgfi 510eed6fe1cSmrg 511145f796fSmrgif test -x / >/dev/null 2>&1; then 512145f796fSmrg as_test_x='test -x' 513eed6fe1cSmrgelse 514145f796fSmrg if ls -dL / >/dev/null 2>&1; then 515145f796fSmrg as_ls_L_option=L 516145f796fSmrg else 517145f796fSmrg as_ls_L_option= 518145f796fSmrg fi 519145f796fSmrg as_test_x=' 520145f796fSmrg eval sh -c '\'' 521145f796fSmrg if test -d "$1"; then 522145f796fSmrg test -d "$1/."; 523145f796fSmrg else 524145f796fSmrg case $1 in #( 525145f796fSmrg -*)set "./$1";; 526145f796fSmrg esac; 527145f796fSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 528145f796fSmrg ???[sx]*):;;*)false;;esac;fi 529145f796fSmrg '\'' sh 530145f796fSmrg ' 531eed6fe1cSmrgfi 532145f796fSmrgas_executable_p=$as_test_x 533eed6fe1cSmrg 534145f796fSmrg# Sed expression to map a string onto a valid CPP name. 535145f796fSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 536eed6fe1cSmrg 537145f796fSmrg# Sed expression to map a string onto a valid variable name. 538145f796fSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 539eed6fe1cSmrg 540eed6fe1cSmrg 541145f796fSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 542145f796fSmrgexec 6>&1 54367332fb9Smrg 54467332fb9Smrg# Name of the host. 545145f796fSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 54667332fb9Smrg# so uname gets run too. 54767332fb9Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 54867332fb9Smrg 54967332fb9Smrg# 55067332fb9Smrg# Initializations. 55167332fb9Smrg# 55267332fb9Smrgac_default_prefix=/usr/local 553eed6fe1cSmrgac_clean_files= 55467332fb9Smrgac_config_libobj_dir=. 555eed6fe1cSmrgLIBOBJS= 55667332fb9Smrgcross_compiling=no 55767332fb9Smrgsubdirs= 55867332fb9SmrgMFLAGS= 55967332fb9SmrgMAKEFLAGS= 56067332fb9Smrg 56167332fb9Smrg# Identity of this package. 56267332fb9SmrgPACKAGE_NAME='font-adobe-utopia-75dpi' 56367332fb9SmrgPACKAGE_TARNAME='font-adobe-utopia-75dpi' 564145f796fSmrgPACKAGE_VERSION='1.0.4' 565145f796fSmrgPACKAGE_STRING='font-adobe-utopia-75dpi 1.0.4' 56667332fb9SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 567145f796fSmrgPACKAGE_URL='' 56867332fb9Smrg 569eed6fe1cSmrg# Factoring default headers for most tests. 570eed6fe1cSmrgac_includes_default="\ 571eed6fe1cSmrg#include <stdio.h> 572eed6fe1cSmrg#ifdef HAVE_SYS_TYPES_H 573eed6fe1cSmrg# include <sys/types.h> 574eed6fe1cSmrg#endif 575eed6fe1cSmrg#ifdef HAVE_SYS_STAT_H 576eed6fe1cSmrg# include <sys/stat.h> 577eed6fe1cSmrg#endif 578eed6fe1cSmrg#ifdef STDC_HEADERS 579eed6fe1cSmrg# include <stdlib.h> 580eed6fe1cSmrg# include <stddef.h> 581eed6fe1cSmrg#else 582eed6fe1cSmrg# ifdef HAVE_STDLIB_H 583eed6fe1cSmrg# include <stdlib.h> 584eed6fe1cSmrg# endif 585eed6fe1cSmrg#endif 586eed6fe1cSmrg#ifdef HAVE_STRING_H 587eed6fe1cSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 588eed6fe1cSmrg# include <memory.h> 589eed6fe1cSmrg# endif 590eed6fe1cSmrg# include <string.h> 591eed6fe1cSmrg#endif 592eed6fe1cSmrg#ifdef HAVE_STRINGS_H 593eed6fe1cSmrg# include <strings.h> 594eed6fe1cSmrg#endif 595eed6fe1cSmrg#ifdef HAVE_INTTYPES_H 596eed6fe1cSmrg# include <inttypes.h> 597eed6fe1cSmrg#endif 598eed6fe1cSmrg#ifdef HAVE_STDINT_H 599eed6fe1cSmrg# include <stdint.h> 600eed6fe1cSmrg#endif 601eed6fe1cSmrg#ifdef HAVE_UNISTD_H 602eed6fe1cSmrg# include <unistd.h> 603eed6fe1cSmrg#endif" 604eed6fe1cSmrg 605eed6fe1cSmrgac_subst_vars='am__EXEEXT_FALSE 606eed6fe1cSmrgam__EXEEXT_TRUE 607eed6fe1cSmrgLTLIBOBJS 608eed6fe1cSmrgLIBOBJS 609eed6fe1cSmrgISO8859_15_FALSE 610eed6fe1cSmrgISO8859_15_TRUE 611eed6fe1cSmrgISO8859_14_FALSE 612eed6fe1cSmrgISO8859_14_TRUE 613eed6fe1cSmrgISO8859_13_FALSE 614eed6fe1cSmrgISO8859_13_TRUE 615eed6fe1cSmrgISO8859_10_FALSE 616eed6fe1cSmrgISO8859_10_TRUE 617eed6fe1cSmrgISO8859_9_FALSE 618eed6fe1cSmrgISO8859_9_TRUE 619eed6fe1cSmrgISO8859_4_FALSE 620eed6fe1cSmrgISO8859_4_TRUE 621eed6fe1cSmrgISO8859_3_FALSE 622eed6fe1cSmrgISO8859_3_TRUE 623eed6fe1cSmrgISO8859_2_FALSE 624eed6fe1cSmrgISO8859_2_TRUE 625eed6fe1cSmrgISO8859_1_FALSE 626eed6fe1cSmrgISO8859_1_TRUE 627eed6fe1cSmrgMAPFILES_PATH 628eed6fe1cSmrgMAPS_LIBS 629eed6fe1cSmrgMAPS_CFLAGS 630eed6fe1cSmrgUCS2ANY 631eed6fe1cSmrgCOMPRESS_SUFFIX 632eed6fe1cSmrgCOMPRESS 633eed6fe1cSmrgBDFTOPCF 634eed6fe1cSmrgMKFONTDIR 635eed6fe1cSmrgRUN_FCCACHE 636eed6fe1cSmrgFCCACHE 637eed6fe1cSmrgFONTDIR 638eed6fe1cSmrgFONTROOTDIR 639145f796fSmrgAM_BACKSLASH 640145f796fSmrgAM_DEFAULT_VERBOSITY 641145f796fSmrgMAN_SUBSTS 642145f796fSmrgXORG_MAN_PAGE 643eed6fe1cSmrgADMIN_MAN_DIR 644eed6fe1cSmrgDRIVER_MAN_DIR 645eed6fe1cSmrgMISC_MAN_DIR 646eed6fe1cSmrgFILE_MAN_DIR 647eed6fe1cSmrgLIB_MAN_DIR 648eed6fe1cSmrgAPP_MAN_DIR 649eed6fe1cSmrgADMIN_MAN_SUFFIX 650eed6fe1cSmrgDRIVER_MAN_SUFFIX 651eed6fe1cSmrgMISC_MAN_SUFFIX 652eed6fe1cSmrgFILE_MAN_SUFFIX 653eed6fe1cSmrgLIB_MAN_SUFFIX 654eed6fe1cSmrgAPP_MAN_SUFFIX 655145f796fSmrgSED 656eed6fe1cSmrghost_os 657eed6fe1cSmrghost_vendor 658eed6fe1cSmrghost_cpu 659eed6fe1cSmrghost 660eed6fe1cSmrgbuild_os 661eed6fe1cSmrgbuild_vendor 662eed6fe1cSmrgbuild_cpu 663eed6fe1cSmrgbuild 664145f796fSmrgINSTALL_CMD 665145f796fSmrgPKG_CONFIG_LIBDIR 666145f796fSmrgPKG_CONFIG_PATH 667145f796fSmrgPKG_CONFIG 668eed6fe1cSmrgCHANGELOG_CMD 669eed6fe1cSmrgCWARNFLAGS 670eed6fe1cSmrgEGREP 671eed6fe1cSmrgGREP 672eed6fe1cSmrgCPP 673eed6fe1cSmrgam__fastdepCC_FALSE 674eed6fe1cSmrgam__fastdepCC_TRUE 675eed6fe1cSmrgCCDEPMODE 676eed6fe1cSmrgAMDEPBACKSLASH 677eed6fe1cSmrgAMDEP_FALSE 678eed6fe1cSmrgAMDEP_TRUE 679eed6fe1cSmrgam__quote 680eed6fe1cSmrgam__include 681eed6fe1cSmrgDEPDIR 682eed6fe1cSmrgOBJEXT 683eed6fe1cSmrgEXEEXT 684eed6fe1cSmrgac_ct_CC 685eed6fe1cSmrgCPPFLAGS 686eed6fe1cSmrgLDFLAGS 687eed6fe1cSmrgCFLAGS 688eed6fe1cSmrgCC 689eed6fe1cSmrgMAINT 690eed6fe1cSmrgMAINTAINER_MODE_FALSE 691eed6fe1cSmrgMAINTAINER_MODE_TRUE 692eed6fe1cSmrgam__untar 693eed6fe1cSmrgam__tar 694eed6fe1cSmrgAMTAR 695eed6fe1cSmrgam__leading_dot 696eed6fe1cSmrgSET_MAKE 697eed6fe1cSmrgAWK 698eed6fe1cSmrgmkdir_p 699eed6fe1cSmrgMKDIR_P 700eed6fe1cSmrgINSTALL_STRIP_PROGRAM 701eed6fe1cSmrgSTRIP 702eed6fe1cSmrginstall_sh 703eed6fe1cSmrgMAKEINFO 704eed6fe1cSmrgAUTOHEADER 705eed6fe1cSmrgAUTOMAKE 706eed6fe1cSmrgAUTOCONF 707eed6fe1cSmrgACLOCAL 708eed6fe1cSmrgVERSION 709eed6fe1cSmrgPACKAGE 710eed6fe1cSmrgCYGPATH_W 711eed6fe1cSmrgam__isrc 712eed6fe1cSmrgINSTALL_DATA 713eed6fe1cSmrgINSTALL_SCRIPT 714eed6fe1cSmrgINSTALL_PROGRAM 715eed6fe1cSmrgtarget_alias 716eed6fe1cSmrghost_alias 717eed6fe1cSmrgbuild_alias 718eed6fe1cSmrgLIBS 719eed6fe1cSmrgECHO_T 720eed6fe1cSmrgECHO_N 721eed6fe1cSmrgECHO_C 722eed6fe1cSmrgDEFS 723eed6fe1cSmrgmandir 724eed6fe1cSmrglocaledir 725eed6fe1cSmrglibdir 726eed6fe1cSmrgpsdir 727eed6fe1cSmrgpdfdir 728eed6fe1cSmrgdvidir 729eed6fe1cSmrghtmldir 730eed6fe1cSmrginfodir 731eed6fe1cSmrgdocdir 732eed6fe1cSmrgoldincludedir 733eed6fe1cSmrgincludedir 734eed6fe1cSmrglocalstatedir 735eed6fe1cSmrgsharedstatedir 736eed6fe1cSmrgsysconfdir 737eed6fe1cSmrgdatadir 738eed6fe1cSmrgdatarootdir 739eed6fe1cSmrglibexecdir 740eed6fe1cSmrgsbindir 741eed6fe1cSmrgbindir 742eed6fe1cSmrgprogram_transform_name 743eed6fe1cSmrgprefix 744eed6fe1cSmrgexec_prefix 745145f796fSmrgPACKAGE_URL 746eed6fe1cSmrgPACKAGE_BUGREPORT 747eed6fe1cSmrgPACKAGE_STRING 748eed6fe1cSmrgPACKAGE_VERSION 749eed6fe1cSmrgPACKAGE_TARNAME 750eed6fe1cSmrgPACKAGE_NAME 751eed6fe1cSmrgPATH_SEPARATOR 752eed6fe1cSmrgSHELL' 75367332fb9Smrgac_subst_files='' 754eed6fe1cSmrgac_user_opts=' 755eed6fe1cSmrgenable_option_checking 756eed6fe1cSmrgenable_maintainer_mode 757eed6fe1cSmrgenable_dependency_tracking 758eed6fe1cSmrgenable_strict_compilation 759145f796fSmrgenable_silent_rules 760eed6fe1cSmrgwith_fontrootdir 761eed6fe1cSmrgwith_fontdir 762eed6fe1cSmrgwith_compression 763145f796fSmrgenable_all_encodings 764eed6fe1cSmrgenable_iso8859_1 765eed6fe1cSmrgenable_iso8859_2 766eed6fe1cSmrgenable_iso8859_3 767eed6fe1cSmrgenable_iso8859_4 768eed6fe1cSmrgenable_iso8859_9 769eed6fe1cSmrgenable_iso8859_10 770eed6fe1cSmrgenable_iso8859_13 771eed6fe1cSmrgenable_iso8859_14 772eed6fe1cSmrgenable_iso8859_15 773eed6fe1cSmrg' 774eed6fe1cSmrg ac_precious_vars='build_alias 775eed6fe1cSmrghost_alias 776eed6fe1cSmrgtarget_alias 777eed6fe1cSmrgCC 778eed6fe1cSmrgCFLAGS 779eed6fe1cSmrgLDFLAGS 780eed6fe1cSmrgLIBS 781eed6fe1cSmrgCPPFLAGS 782eed6fe1cSmrgCPP 783eed6fe1cSmrgPKG_CONFIG 784145f796fSmrgPKG_CONFIG_PATH 785145f796fSmrgPKG_CONFIG_LIBDIR 786eed6fe1cSmrgMAPS_CFLAGS 787eed6fe1cSmrgMAPS_LIBS' 788eed6fe1cSmrg 78967332fb9Smrg 79067332fb9Smrg# Initialize some variables set by options. 79167332fb9Smrgac_init_help= 79267332fb9Smrgac_init_version=false 793eed6fe1cSmrgac_unrecognized_opts= 794eed6fe1cSmrgac_unrecognized_sep= 79567332fb9Smrg# The variables have the same names as the options, with 79667332fb9Smrg# dashes changed to underlines. 79767332fb9Smrgcache_file=/dev/null 79867332fb9Smrgexec_prefix=NONE 79967332fb9Smrgno_create= 80067332fb9Smrgno_recursion= 80167332fb9Smrgprefix=NONE 80267332fb9Smrgprogram_prefix=NONE 80367332fb9Smrgprogram_suffix=NONE 80467332fb9Smrgprogram_transform_name=s,x,x, 80567332fb9Smrgsilent= 80667332fb9Smrgsite= 80767332fb9Smrgsrcdir= 80867332fb9Smrgverbose= 80967332fb9Smrgx_includes=NONE 81067332fb9Smrgx_libraries=NONE 81167332fb9Smrg 81267332fb9Smrg# Installation directory options. 81367332fb9Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 81467332fb9Smrg# and all the variables that are supposed to be based on exec_prefix 81567332fb9Smrg# by default will actually change. 81667332fb9Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 817eed6fe1cSmrg# (The list follows the same order as the GNU Coding Standards.) 81867332fb9Smrgbindir='${exec_prefix}/bin' 81967332fb9Smrgsbindir='${exec_prefix}/sbin' 82067332fb9Smrglibexecdir='${exec_prefix}/libexec' 821eed6fe1cSmrgdatarootdir='${prefix}/share' 822eed6fe1cSmrgdatadir='${datarootdir}' 82367332fb9Smrgsysconfdir='${prefix}/etc' 82467332fb9Smrgsharedstatedir='${prefix}/com' 82567332fb9Smrglocalstatedir='${prefix}/var' 82667332fb9Smrgincludedir='${prefix}/include' 82767332fb9Smrgoldincludedir='/usr/include' 828eed6fe1cSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 829eed6fe1cSmrginfodir='${datarootdir}/info' 830eed6fe1cSmrghtmldir='${docdir}' 831eed6fe1cSmrgdvidir='${docdir}' 832eed6fe1cSmrgpdfdir='${docdir}' 833eed6fe1cSmrgpsdir='${docdir}' 834eed6fe1cSmrglibdir='${exec_prefix}/lib' 835eed6fe1cSmrglocaledir='${datarootdir}/locale' 836eed6fe1cSmrgmandir='${datarootdir}/man' 83767332fb9Smrg 83867332fb9Smrgac_prev= 839eed6fe1cSmrgac_dashdash= 84067332fb9Smrgfor ac_option 84167332fb9Smrgdo 84267332fb9Smrg # If the previous option needs an argument, assign it. 84367332fb9Smrg if test -n "$ac_prev"; then 844eed6fe1cSmrg eval $ac_prev=\$ac_option 84567332fb9Smrg ac_prev= 84667332fb9Smrg continue 84767332fb9Smrg fi 84867332fb9Smrg 849eed6fe1cSmrg case $ac_option in 850145f796fSmrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 851145f796fSmrg *=) ac_optarg= ;; 852145f796fSmrg *) ac_optarg=yes ;; 853eed6fe1cSmrg esac 85467332fb9Smrg 85567332fb9Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 85667332fb9Smrg 857eed6fe1cSmrg case $ac_dashdash$ac_option in 858eed6fe1cSmrg --) 859eed6fe1cSmrg ac_dashdash=yes ;; 86067332fb9Smrg 86167332fb9Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 86267332fb9Smrg ac_prev=bindir ;; 86367332fb9Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 86467332fb9Smrg bindir=$ac_optarg ;; 86567332fb9Smrg 86667332fb9Smrg -build | --build | --buil | --bui | --bu) 86767332fb9Smrg ac_prev=build_alias ;; 86867332fb9Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 86967332fb9Smrg build_alias=$ac_optarg ;; 87067332fb9Smrg 87167332fb9Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 87267332fb9Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 87367332fb9Smrg ac_prev=cache_file ;; 87467332fb9Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 87567332fb9Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 87667332fb9Smrg cache_file=$ac_optarg ;; 87767332fb9Smrg 87867332fb9Smrg --config-cache | -C) 87967332fb9Smrg cache_file=config.cache ;; 88067332fb9Smrg 881eed6fe1cSmrg -datadir | --datadir | --datadi | --datad) 88267332fb9Smrg ac_prev=datadir ;; 883eed6fe1cSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 88467332fb9Smrg datadir=$ac_optarg ;; 88567332fb9Smrg 886eed6fe1cSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 887eed6fe1cSmrg | --dataroo | --dataro | --datar) 888eed6fe1cSmrg ac_prev=datarootdir ;; 889eed6fe1cSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 890eed6fe1cSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 891eed6fe1cSmrg datarootdir=$ac_optarg ;; 892eed6fe1cSmrg 89367332fb9Smrg -disable-* | --disable-*) 894eed6fe1cSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 89567332fb9Smrg # Reject names that are not valid shell variable names. 896eed6fe1cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 897145f796fSmrg as_fn_error $? "invalid feature name: $ac_useropt" 898eed6fe1cSmrg ac_useropt_orig=$ac_useropt 899eed6fe1cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 900eed6fe1cSmrg case $ac_user_opts in 901eed6fe1cSmrg *" 902eed6fe1cSmrg"enable_$ac_useropt" 903eed6fe1cSmrg"*) ;; 904eed6fe1cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 905eed6fe1cSmrg ac_unrecognized_sep=', ';; 906eed6fe1cSmrg esac 907eed6fe1cSmrg eval enable_$ac_useropt=no ;; 908eed6fe1cSmrg 909eed6fe1cSmrg -docdir | --docdir | --docdi | --doc | --do) 910eed6fe1cSmrg ac_prev=docdir ;; 911eed6fe1cSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 912eed6fe1cSmrg docdir=$ac_optarg ;; 913eed6fe1cSmrg 914eed6fe1cSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 915eed6fe1cSmrg ac_prev=dvidir ;; 916eed6fe1cSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 917eed6fe1cSmrg dvidir=$ac_optarg ;; 91867332fb9Smrg 91967332fb9Smrg -enable-* | --enable-*) 920eed6fe1cSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 92167332fb9Smrg # Reject names that are not valid shell variable names. 922eed6fe1cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 923145f796fSmrg as_fn_error $? "invalid feature name: $ac_useropt" 924eed6fe1cSmrg ac_useropt_orig=$ac_useropt 925eed6fe1cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 926eed6fe1cSmrg case $ac_user_opts in 927eed6fe1cSmrg *" 928eed6fe1cSmrg"enable_$ac_useropt" 929eed6fe1cSmrg"*) ;; 930eed6fe1cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 931eed6fe1cSmrg ac_unrecognized_sep=', ';; 93267332fb9Smrg esac 933eed6fe1cSmrg eval enable_$ac_useropt=\$ac_optarg ;; 93467332fb9Smrg 93567332fb9Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 93667332fb9Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 93767332fb9Smrg | --exec | --exe | --ex) 93867332fb9Smrg ac_prev=exec_prefix ;; 93967332fb9Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 94067332fb9Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 94167332fb9Smrg | --exec=* | --exe=* | --ex=*) 94267332fb9Smrg exec_prefix=$ac_optarg ;; 94367332fb9Smrg 94467332fb9Smrg -gas | --gas | --ga | --g) 94567332fb9Smrg # Obsolete; use --with-gas. 94667332fb9Smrg with_gas=yes ;; 94767332fb9Smrg 94867332fb9Smrg -help | --help | --hel | --he | -h) 94967332fb9Smrg ac_init_help=long ;; 95067332fb9Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 95167332fb9Smrg ac_init_help=recursive ;; 95267332fb9Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 95367332fb9Smrg ac_init_help=short ;; 95467332fb9Smrg 95567332fb9Smrg -host | --host | --hos | --ho) 95667332fb9Smrg ac_prev=host_alias ;; 95767332fb9Smrg -host=* | --host=* | --hos=* | --ho=*) 95867332fb9Smrg host_alias=$ac_optarg ;; 95967332fb9Smrg 960eed6fe1cSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 961eed6fe1cSmrg ac_prev=htmldir ;; 962eed6fe1cSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 963eed6fe1cSmrg | --ht=*) 964eed6fe1cSmrg htmldir=$ac_optarg ;; 965eed6fe1cSmrg 96667332fb9Smrg -includedir | --includedir | --includedi | --included | --include \ 96767332fb9Smrg | --includ | --inclu | --incl | --inc) 96867332fb9Smrg ac_prev=includedir ;; 96967332fb9Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 97067332fb9Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 97167332fb9Smrg includedir=$ac_optarg ;; 97267332fb9Smrg 97367332fb9Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 97467332fb9Smrg ac_prev=infodir ;; 97567332fb9Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 97667332fb9Smrg infodir=$ac_optarg ;; 97767332fb9Smrg 97867332fb9Smrg -libdir | --libdir | --libdi | --libd) 97967332fb9Smrg ac_prev=libdir ;; 98067332fb9Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 98167332fb9Smrg libdir=$ac_optarg ;; 98267332fb9Smrg 98367332fb9Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 98467332fb9Smrg | --libexe | --libex | --libe) 98567332fb9Smrg ac_prev=libexecdir ;; 98667332fb9Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 98767332fb9Smrg | --libexe=* | --libex=* | --libe=*) 98867332fb9Smrg libexecdir=$ac_optarg ;; 98967332fb9Smrg 990eed6fe1cSmrg -localedir | --localedir | --localedi | --localed | --locale) 991eed6fe1cSmrg ac_prev=localedir ;; 992eed6fe1cSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 993eed6fe1cSmrg localedir=$ac_optarg ;; 994eed6fe1cSmrg 99567332fb9Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 996eed6fe1cSmrg | --localstate | --localstat | --localsta | --localst | --locals) 99767332fb9Smrg ac_prev=localstatedir ;; 99867332fb9Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 999eed6fe1cSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 100067332fb9Smrg localstatedir=$ac_optarg ;; 100167332fb9Smrg 100267332fb9Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 100367332fb9Smrg ac_prev=mandir ;; 100467332fb9Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 100567332fb9Smrg mandir=$ac_optarg ;; 100667332fb9Smrg 100767332fb9Smrg -nfp | --nfp | --nf) 100867332fb9Smrg # Obsolete; use --without-fp. 100967332fb9Smrg with_fp=no ;; 101067332fb9Smrg 101167332fb9Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 101267332fb9Smrg | --no-cr | --no-c | -n) 101367332fb9Smrg no_create=yes ;; 101467332fb9Smrg 101567332fb9Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 101667332fb9Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 101767332fb9Smrg no_recursion=yes ;; 101867332fb9Smrg 101967332fb9Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 102067332fb9Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 102167332fb9Smrg | --oldin | --oldi | --old | --ol | --o) 102267332fb9Smrg ac_prev=oldincludedir ;; 102367332fb9Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 102467332fb9Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 102567332fb9Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 102667332fb9Smrg oldincludedir=$ac_optarg ;; 102767332fb9Smrg 102867332fb9Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 102967332fb9Smrg ac_prev=prefix ;; 103067332fb9Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 103167332fb9Smrg prefix=$ac_optarg ;; 103267332fb9Smrg 103367332fb9Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 103467332fb9Smrg | --program-pre | --program-pr | --program-p) 103567332fb9Smrg ac_prev=program_prefix ;; 103667332fb9Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 103767332fb9Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 103867332fb9Smrg program_prefix=$ac_optarg ;; 103967332fb9Smrg 104067332fb9Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 104167332fb9Smrg | --program-suf | --program-su | --program-s) 104267332fb9Smrg ac_prev=program_suffix ;; 104367332fb9Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 104467332fb9Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 104567332fb9Smrg program_suffix=$ac_optarg ;; 104667332fb9Smrg 104767332fb9Smrg -program-transform-name | --program-transform-name \ 104867332fb9Smrg | --program-transform-nam | --program-transform-na \ 104967332fb9Smrg | --program-transform-n | --program-transform- \ 105067332fb9Smrg | --program-transform | --program-transfor \ 105167332fb9Smrg | --program-transfo | --program-transf \ 105267332fb9Smrg | --program-trans | --program-tran \ 105367332fb9Smrg | --progr-tra | --program-tr | --program-t) 105467332fb9Smrg ac_prev=program_transform_name ;; 105567332fb9Smrg -program-transform-name=* | --program-transform-name=* \ 105667332fb9Smrg | --program-transform-nam=* | --program-transform-na=* \ 105767332fb9Smrg | --program-transform-n=* | --program-transform-=* \ 105867332fb9Smrg | --program-transform=* | --program-transfor=* \ 105967332fb9Smrg | --program-transfo=* | --program-transf=* \ 106067332fb9Smrg | --program-trans=* | --program-tran=* \ 106167332fb9Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 106267332fb9Smrg program_transform_name=$ac_optarg ;; 106367332fb9Smrg 1064eed6fe1cSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1065eed6fe1cSmrg ac_prev=pdfdir ;; 1066eed6fe1cSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1067eed6fe1cSmrg pdfdir=$ac_optarg ;; 1068eed6fe1cSmrg 1069eed6fe1cSmrg -psdir | --psdir | --psdi | --psd | --ps) 1070eed6fe1cSmrg ac_prev=psdir ;; 1071eed6fe1cSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1072eed6fe1cSmrg psdir=$ac_optarg ;; 1073eed6fe1cSmrg 107467332fb9Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 107567332fb9Smrg | -silent | --silent | --silen | --sile | --sil) 107667332fb9Smrg silent=yes ;; 107767332fb9Smrg 107867332fb9Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 107967332fb9Smrg ac_prev=sbindir ;; 108067332fb9Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 108167332fb9Smrg | --sbi=* | --sb=*) 108267332fb9Smrg sbindir=$ac_optarg ;; 108367332fb9Smrg 108467332fb9Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 108567332fb9Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 108667332fb9Smrg | --sharedst | --shareds | --shared | --share | --shar \ 108767332fb9Smrg | --sha | --sh) 108867332fb9Smrg ac_prev=sharedstatedir ;; 108967332fb9Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 109067332fb9Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 109167332fb9Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 109267332fb9Smrg | --sha=* | --sh=*) 109367332fb9Smrg sharedstatedir=$ac_optarg ;; 109467332fb9Smrg 109567332fb9Smrg -site | --site | --sit) 109667332fb9Smrg ac_prev=site ;; 109767332fb9Smrg -site=* | --site=* | --sit=*) 109867332fb9Smrg site=$ac_optarg ;; 109967332fb9Smrg 110067332fb9Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 110167332fb9Smrg ac_prev=srcdir ;; 110267332fb9Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 110367332fb9Smrg srcdir=$ac_optarg ;; 110467332fb9Smrg 110567332fb9Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 110667332fb9Smrg | --syscon | --sysco | --sysc | --sys | --sy) 110767332fb9Smrg ac_prev=sysconfdir ;; 110867332fb9Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 110967332fb9Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 111067332fb9Smrg sysconfdir=$ac_optarg ;; 111167332fb9Smrg 111267332fb9Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 111367332fb9Smrg ac_prev=target_alias ;; 111467332fb9Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 111567332fb9Smrg target_alias=$ac_optarg ;; 111667332fb9Smrg 111767332fb9Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 111867332fb9Smrg verbose=yes ;; 111967332fb9Smrg 112067332fb9Smrg -version | --version | --versio | --versi | --vers | -V) 112167332fb9Smrg ac_init_version=: ;; 112267332fb9Smrg 112367332fb9Smrg -with-* | --with-*) 1124eed6fe1cSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 112567332fb9Smrg # Reject names that are not valid shell variable names. 1126eed6fe1cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1127145f796fSmrg as_fn_error $? "invalid package name: $ac_useropt" 1128eed6fe1cSmrg ac_useropt_orig=$ac_useropt 1129eed6fe1cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1130eed6fe1cSmrg case $ac_user_opts in 1131eed6fe1cSmrg *" 1132eed6fe1cSmrg"with_$ac_useropt" 1133eed6fe1cSmrg"*) ;; 1134eed6fe1cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1135eed6fe1cSmrg ac_unrecognized_sep=', ';; 113667332fb9Smrg esac 1137eed6fe1cSmrg eval with_$ac_useropt=\$ac_optarg ;; 113867332fb9Smrg 113967332fb9Smrg -without-* | --without-*) 1140eed6fe1cSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 114167332fb9Smrg # Reject names that are not valid shell variable names. 1142eed6fe1cSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1143145f796fSmrg as_fn_error $? "invalid package name: $ac_useropt" 1144eed6fe1cSmrg ac_useropt_orig=$ac_useropt 1145eed6fe1cSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1146eed6fe1cSmrg case $ac_user_opts in 1147eed6fe1cSmrg *" 1148eed6fe1cSmrg"with_$ac_useropt" 1149eed6fe1cSmrg"*) ;; 1150eed6fe1cSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1151eed6fe1cSmrg ac_unrecognized_sep=', ';; 1152eed6fe1cSmrg esac 1153eed6fe1cSmrg eval with_$ac_useropt=no ;; 115467332fb9Smrg 115567332fb9Smrg --x) 115667332fb9Smrg # Obsolete; use --with-x. 115767332fb9Smrg with_x=yes ;; 115867332fb9Smrg 115967332fb9Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 116067332fb9Smrg | --x-incl | --x-inc | --x-in | --x-i) 116167332fb9Smrg ac_prev=x_includes ;; 116267332fb9Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 116367332fb9Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 116467332fb9Smrg x_includes=$ac_optarg ;; 116567332fb9Smrg 116667332fb9Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 116767332fb9Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 116867332fb9Smrg ac_prev=x_libraries ;; 116967332fb9Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 117067332fb9Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 117167332fb9Smrg x_libraries=$ac_optarg ;; 117267332fb9Smrg 1173145f796fSmrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 1174145f796fSmrgTry \`$0 --help' for more information" 117567332fb9Smrg ;; 117667332fb9Smrg 117767332fb9Smrg *=*) 117867332fb9Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 117967332fb9Smrg # Reject names that are not valid shell variable names. 1180145f796fSmrg case $ac_envvar in #( 1181145f796fSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 1182145f796fSmrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1183145f796fSmrg esac 1184eed6fe1cSmrg eval $ac_envvar=\$ac_optarg 118567332fb9Smrg export $ac_envvar ;; 118667332fb9Smrg 118767332fb9Smrg *) 118867332fb9Smrg # FIXME: should be removed in autoconf 3.0. 1189eed6fe1cSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 119067332fb9Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1191eed6fe1cSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1192145f796fSmrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 119367332fb9Smrg ;; 119467332fb9Smrg 119567332fb9Smrg esac 119667332fb9Smrgdone 119767332fb9Smrg 119867332fb9Smrgif test -n "$ac_prev"; then 119967332fb9Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1200145f796fSmrg as_fn_error $? "missing argument to $ac_option" 120167332fb9Smrgfi 120267332fb9Smrg 1203eed6fe1cSmrgif test -n "$ac_unrecognized_opts"; then 1204eed6fe1cSmrg case $enable_option_checking in 1205eed6fe1cSmrg no) ;; 1206145f796fSmrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1207eed6fe1cSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 120867332fb9Smrg esac 1209eed6fe1cSmrgfi 121067332fb9Smrg 1211eed6fe1cSmrg# Check all directory arguments for consistency. 1212eed6fe1cSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1213eed6fe1cSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1214eed6fe1cSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1215eed6fe1cSmrg libdir localedir mandir 121667332fb9Smrgdo 1217eed6fe1cSmrg eval ac_val=\$$ac_var 1218eed6fe1cSmrg # Remove trailing slashes. 121967332fb9Smrg case $ac_val in 1220eed6fe1cSmrg */ ) 1221eed6fe1cSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1222eed6fe1cSmrg eval $ac_var=\$ac_val;; 1223eed6fe1cSmrg esac 1224eed6fe1cSmrg # Be sure to have absolute directory names. 1225eed6fe1cSmrg case $ac_val in 1226eed6fe1cSmrg [\\/$]* | ?:[\\/]* ) continue;; 1227eed6fe1cSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 122867332fb9Smrg esac 1229145f796fSmrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 123067332fb9Smrgdone 123167332fb9Smrg 123267332fb9Smrg# There might be people who depend on the old broken behavior: `$host' 123367332fb9Smrg# used to hold the argument of --host etc. 123467332fb9Smrg# FIXME: To remove some day. 123567332fb9Smrgbuild=$build_alias 123667332fb9Smrghost=$host_alias 123767332fb9Smrgtarget=$target_alias 123867332fb9Smrg 123967332fb9Smrg# FIXME: To remove some day. 124067332fb9Smrgif test "x$host_alias" != x; then 124167332fb9Smrg if test "x$build_alias" = x; then 124267332fb9Smrg cross_compiling=maybe 1243145f796fSmrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1244145f796fSmrg If a cross compiler is detected then cross compile mode will be used" >&2 124567332fb9Smrg elif test "x$build_alias" != "x$host_alias"; then 124667332fb9Smrg cross_compiling=yes 124767332fb9Smrg fi 124867332fb9Smrgfi 124967332fb9Smrg 125067332fb9Smrgac_tool_prefix= 125167332fb9Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 125267332fb9Smrg 125367332fb9Smrgtest "$silent" = yes && exec 6>/dev/null 125467332fb9Smrg 125567332fb9Smrg 1256eed6fe1cSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 1257eed6fe1cSmrgac_ls_di=`ls -di .` && 1258eed6fe1cSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1259145f796fSmrg as_fn_error $? "working directory cannot be determined" 1260eed6fe1cSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1261145f796fSmrg as_fn_error $? "pwd does not report name of working directory" 1262eed6fe1cSmrg 1263eed6fe1cSmrg 126467332fb9Smrg# Find the source files, if location was not specified. 126567332fb9Smrgif test -z "$srcdir"; then 126667332fb9Smrg ac_srcdir_defaulted=yes 1267eed6fe1cSmrg # Try the directory containing this script, then the parent directory. 1268eed6fe1cSmrg ac_confdir=`$as_dirname -- "$as_myself" || 1269eed6fe1cSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1270eed6fe1cSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 1271eed6fe1cSmrg X"$as_myself" : 'X\(//\)$' \| \ 1272eed6fe1cSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1273eed6fe1cSmrg$as_echo X"$as_myself" | 1274eed6fe1cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1275eed6fe1cSmrg s//\1/ 1276eed6fe1cSmrg q 1277eed6fe1cSmrg } 1278eed6fe1cSmrg /^X\(\/\/\)[^/].*/{ 1279eed6fe1cSmrg s//\1/ 1280eed6fe1cSmrg q 1281eed6fe1cSmrg } 1282eed6fe1cSmrg /^X\(\/\/\)$/{ 1283eed6fe1cSmrg s//\1/ 1284eed6fe1cSmrg q 1285eed6fe1cSmrg } 1286eed6fe1cSmrg /^X\(\/\).*/{ 1287eed6fe1cSmrg s//\1/ 1288eed6fe1cSmrg q 1289eed6fe1cSmrg } 1290eed6fe1cSmrg s/.*/./; q'` 129167332fb9Smrg srcdir=$ac_confdir 1292eed6fe1cSmrg if test ! -r "$srcdir/$ac_unique_file"; then 129367332fb9Smrg srcdir=.. 129467332fb9Smrg fi 129567332fb9Smrgelse 129667332fb9Smrg ac_srcdir_defaulted=no 129767332fb9Smrgfi 1298eed6fe1cSmrgif test ! -r "$srcdir/$ac_unique_file"; then 1299eed6fe1cSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1300145f796fSmrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 130167332fb9Smrgfi 1302eed6fe1cSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1303eed6fe1cSmrgac_abs_confdir=`( 1304145f796fSmrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1305eed6fe1cSmrg pwd)` 1306eed6fe1cSmrg# When building in place, set srcdir=. 1307eed6fe1cSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1308eed6fe1cSmrg srcdir=. 1309eed6fe1cSmrgfi 1310eed6fe1cSmrg# Remove unnecessary trailing slashes from srcdir. 1311eed6fe1cSmrg# Double slashes in file names in object file debugging info 1312eed6fe1cSmrg# mess up M-x gdb in Emacs. 1313eed6fe1cSmrgcase $srcdir in 1314eed6fe1cSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1315eed6fe1cSmrgesac 1316eed6fe1cSmrgfor ac_var in $ac_precious_vars; do 1317eed6fe1cSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1318eed6fe1cSmrg eval ac_env_${ac_var}_value=\$${ac_var} 1319eed6fe1cSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1320eed6fe1cSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1321eed6fe1cSmrgdone 132267332fb9Smrg 132367332fb9Smrg# 132467332fb9Smrg# Report the --help message. 132567332fb9Smrg# 132667332fb9Smrgif test "$ac_init_help" = "long"; then 132767332fb9Smrg # Omit some internal or obsolete options to make the list less imposing. 132867332fb9Smrg # This message is too long to be a string in the A/UX 3.1 sh. 132967332fb9Smrg cat <<_ACEOF 1330145f796fSmrg\`configure' configures font-adobe-utopia-75dpi 1.0.4 to adapt to many kinds of systems. 133167332fb9Smrg 133267332fb9SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 133367332fb9Smrg 133467332fb9SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 133567332fb9SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 133667332fb9Smrg 133767332fb9SmrgDefaults for the options are specified in brackets. 133867332fb9Smrg 133967332fb9SmrgConfiguration: 134067332fb9Smrg -h, --help display this help and exit 134167332fb9Smrg --help=short display options specific to this package 134267332fb9Smrg --help=recursive display the short help of all the included packages 134367332fb9Smrg -V, --version display version information and exit 1344145f796fSmrg -q, --quiet, --silent do not print \`checking ...' messages 134567332fb9Smrg --cache-file=FILE cache test results in FILE [disabled] 134667332fb9Smrg -C, --config-cache alias for \`--cache-file=config.cache' 134767332fb9Smrg -n, --no-create do not create output files 134867332fb9Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 134967332fb9Smrg 135067332fb9SmrgInstallation directories: 135167332fb9Smrg --prefix=PREFIX install architecture-independent files in PREFIX 1352eed6fe1cSmrg [$ac_default_prefix] 135367332fb9Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1354eed6fe1cSmrg [PREFIX] 135567332fb9Smrg 135667332fb9SmrgBy default, \`make install' will install all the files in 135767332fb9Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 135867332fb9Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 135967332fb9Smrgfor instance \`--prefix=\$HOME'. 136067332fb9Smrg 136167332fb9SmrgFor better control, use the options below. 136267332fb9Smrg 136367332fb9SmrgFine tuning of the installation directories: 1364eed6fe1cSmrg --bindir=DIR user executables [EPREFIX/bin] 1365eed6fe1cSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 1366eed6fe1cSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 1367eed6fe1cSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1368eed6fe1cSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1369eed6fe1cSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1370eed6fe1cSmrg --libdir=DIR object code libraries [EPREFIX/lib] 1371eed6fe1cSmrg --includedir=DIR C header files [PREFIX/include] 1372eed6fe1cSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 1373eed6fe1cSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1374eed6fe1cSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1375eed6fe1cSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 1376eed6fe1cSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1377eed6fe1cSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 1378eed6fe1cSmrg --docdir=DIR documentation root 1379eed6fe1cSmrg [DATAROOTDIR/doc/font-adobe-utopia-75dpi] 1380eed6fe1cSmrg --htmldir=DIR html documentation [DOCDIR] 1381eed6fe1cSmrg --dvidir=DIR dvi documentation [DOCDIR] 1382eed6fe1cSmrg --pdfdir=DIR pdf documentation [DOCDIR] 1383eed6fe1cSmrg --psdir=DIR ps documentation [DOCDIR] 138467332fb9Smrg_ACEOF 138567332fb9Smrg 138667332fb9Smrg cat <<\_ACEOF 138767332fb9Smrg 138867332fb9SmrgProgram names: 138967332fb9Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 139067332fb9Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 139167332fb9Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1392eed6fe1cSmrg 1393eed6fe1cSmrgSystem types: 1394eed6fe1cSmrg --build=BUILD configure for building on BUILD [guessed] 1395eed6fe1cSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 139667332fb9Smrg_ACEOF 139767332fb9Smrgfi 139867332fb9Smrg 139967332fb9Smrgif test -n "$ac_init_help"; then 140067332fb9Smrg case $ac_init_help in 1401145f796fSmrg short | recursive ) echo "Configuration of font-adobe-utopia-75dpi 1.0.4:";; 140267332fb9Smrg esac 140367332fb9Smrg cat <<\_ACEOF 140467332fb9Smrg 140567332fb9SmrgOptional Features: 1406eed6fe1cSmrg --disable-option-checking ignore unrecognized --enable/--with options 140767332fb9Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 140867332fb9Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1409eed6fe1cSmrg --enable-maintainer-mode enable make rules and dependencies not useful 1410eed6fe1cSmrg (and sometimes confusing) to the casual installer 1411eed6fe1cSmrg --disable-dependency-tracking speeds up one-time build 1412eed6fe1cSmrg --enable-dependency-tracking do not reject slow dependency extractors 1413eed6fe1cSmrg --enable-strict-compilation 1414eed6fe1cSmrg Enable all warnings from compiler and make them 1415eed6fe1cSmrg errors (default: disabled) 1416145f796fSmrg --enable-silent-rules less verbose build output (undo: `make V=1') 1417145f796fSmrg --disable-silent-rules verbose build output (undo: `make V=0') 1418145f796fSmrg --disable-all-encodings Disable building of all font encodings 141967332fb9Smrg --disable-iso8859-1 Build ISO8859-1 fonts (default: yes) 142067332fb9Smrg --disable-iso8859-2 Build ISO8859-2 fonts (default: yes) 142167332fb9Smrg --disable-iso8859-3 Build ISO8859-3 fonts (default: yes) 142267332fb9Smrg --disable-iso8859-4 Build ISO8859-4 fonts (default: yes) 142367332fb9Smrg --disable-iso8859-9 Build ISO8859-9 fonts (default: yes) 142467332fb9Smrg --disable-iso8859-10 Build ISO8859-10 fonts (default: yes) 142567332fb9Smrg --disable-iso8859-13 Build ISO8859-13 fonts (default: yes) 142667332fb9Smrg --disable-iso8859-14 Build ISO8859-14 fonts (default: yes) 142767332fb9Smrg --disable-iso8859-15 Build ISO8859-15 fonts (default: yes) 142867332fb9Smrg 142967332fb9SmrgOptional Packages: 143067332fb9Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 143167332fb9Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1432eed6fe1cSmrg --with-fontrootdir=DIR Path to root directory for font files 1433eed6fe1cSmrg --with-fontdir=DIR Path to 75dpi files [FONTROOTDIR/75dpi] 1434eed6fe1cSmrg --with-compression=<no|compress|gzip|bzip2> 1435eed6fe1cSmrg compression method to use on pcf fonts 143667332fb9Smrg 143767332fb9SmrgSome influential environment variables: 1438eed6fe1cSmrg CC C compiler command 1439eed6fe1cSmrg CFLAGS C compiler flags 1440eed6fe1cSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1441eed6fe1cSmrg nonstandard directory <lib dir> 1442eed6fe1cSmrg LIBS libraries to pass to the linker, e.g. -l<library> 1443145f796fSmrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1444eed6fe1cSmrg you have headers in a nonstandard directory <include dir> 1445eed6fe1cSmrg CPP C preprocessor 144667332fb9Smrg PKG_CONFIG path to pkg-config utility 1447145f796fSmrg PKG_CONFIG_PATH 1448145f796fSmrg directories to add to pkg-config's search path 1449145f796fSmrg PKG_CONFIG_LIBDIR 1450145f796fSmrg path overriding pkg-config's built-in search path 145167332fb9Smrg MAPS_CFLAGS C compiler flags for MAPS, overriding pkg-config 145267332fb9Smrg MAPS_LIBS linker flags for MAPS, overriding pkg-config 145367332fb9Smrg 145467332fb9SmrgUse these variables to override the choices made by `configure' or to help 145567332fb9Smrgit to find libraries and programs with nonstandard names/locations. 145667332fb9Smrg 145767332fb9SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 145867332fb9Smrg_ACEOF 1459eed6fe1cSmrgac_status=$? 146067332fb9Smrgfi 146167332fb9Smrg 146267332fb9Smrgif test "$ac_init_help" = "recursive"; then 146367332fb9Smrg # If there are subdirs, report their specific --help. 146467332fb9Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1465eed6fe1cSmrg test -d "$ac_dir" || 1466eed6fe1cSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1467eed6fe1cSmrg continue 146867332fb9Smrg ac_builddir=. 146967332fb9Smrg 1470eed6fe1cSmrgcase "$ac_dir" in 1471eed6fe1cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1472eed6fe1cSmrg*) 1473eed6fe1cSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1474eed6fe1cSmrg # A ".." for each directory in $ac_dir_suffix. 1475eed6fe1cSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1476eed6fe1cSmrg case $ac_top_builddir_sub in 1477eed6fe1cSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1478eed6fe1cSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1479eed6fe1cSmrg esac ;; 1480eed6fe1cSmrgesac 1481eed6fe1cSmrgac_abs_top_builddir=$ac_pwd 1482eed6fe1cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1483eed6fe1cSmrg# for backward compatibility: 1484eed6fe1cSmrgac_top_builddir=$ac_top_build_prefix 148567332fb9Smrg 148667332fb9Smrgcase $srcdir in 1487eed6fe1cSmrg .) # We are building in place. 148867332fb9Smrg ac_srcdir=. 1489eed6fe1cSmrg ac_top_srcdir=$ac_top_builddir_sub 1490eed6fe1cSmrg ac_abs_top_srcdir=$ac_pwd ;; 1491eed6fe1cSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 149267332fb9Smrg ac_srcdir=$srcdir$ac_dir_suffix; 1493eed6fe1cSmrg ac_top_srcdir=$srcdir 1494eed6fe1cSmrg ac_abs_top_srcdir=$srcdir ;; 1495eed6fe1cSmrg *) # Relative name. 1496eed6fe1cSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1497eed6fe1cSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1498eed6fe1cSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 149967332fb9Smrgesac 1500eed6fe1cSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1501eed6fe1cSmrg 1502eed6fe1cSmrg cd "$ac_dir" || { ac_status=$?; continue; } 1503eed6fe1cSmrg # Check for guested configure. 1504eed6fe1cSmrg if test -f "$ac_srcdir/configure.gnu"; then 1505eed6fe1cSmrg echo && 1506eed6fe1cSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1507eed6fe1cSmrg elif test -f "$ac_srcdir/configure"; then 1508eed6fe1cSmrg echo && 1509eed6fe1cSmrg $SHELL "$ac_srcdir/configure" --help=recursive 151067332fb9Smrg else 1511eed6fe1cSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1512eed6fe1cSmrg fi || ac_status=$? 1513eed6fe1cSmrg cd "$ac_pwd" || { ac_status=$?; break; } 151467332fb9Smrg done 151567332fb9Smrgfi 151667332fb9Smrg 1517eed6fe1cSmrgtest -n "$ac_init_help" && exit $ac_status 151867332fb9Smrgif $ac_init_version; then 151967332fb9Smrg cat <<\_ACEOF 1520145f796fSmrgfont-adobe-utopia-75dpi configure 1.0.4 1521145f796fSmrggenerated by GNU Autoconf 2.68 152267332fb9Smrg 1523145f796fSmrgCopyright (C) 2010 Free Software Foundation, Inc. 152467332fb9SmrgThis configure script is free software; the Free Software Foundation 152567332fb9Smrggives unlimited permission to copy, distribute and modify it. 152667332fb9Smrg_ACEOF 1527eed6fe1cSmrg exit 152867332fb9Smrgfi 152967332fb9Smrg 1530145f796fSmrg## ------------------------ ## 1531145f796fSmrg## Autoconf initialization. ## 1532145f796fSmrg## ------------------------ ## 153367332fb9Smrg 1534145f796fSmrg# ac_fn_c_try_compile LINENO 1535145f796fSmrg# -------------------------- 1536145f796fSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 1537145f796fSmrgac_fn_c_try_compile () 153867332fb9Smrg{ 1539145f796fSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1540145f796fSmrg rm -f conftest.$ac_objext 1541145f796fSmrg if { { ac_try="$ac_compile" 1542145f796fSmrgcase "(($ac_try" in 1543145f796fSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1544145f796fSmrg *) ac_try_echo=$ac_try;; 1545145f796fSmrgesac 1546145f796fSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1547145f796fSmrg$as_echo "$ac_try_echo"; } >&5 1548145f796fSmrg (eval "$ac_compile") 2>conftest.err 1549145f796fSmrg ac_status=$? 1550145f796fSmrg if test -s conftest.err; then 1551145f796fSmrg grep -v '^ *+' conftest.err >conftest.er1 1552145f796fSmrg cat conftest.er1 >&5 1553145f796fSmrg mv -f conftest.er1 conftest.err 1554145f796fSmrg fi 1555145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1556145f796fSmrg test $ac_status = 0; } && { 1557145f796fSmrg test -z "$ac_c_werror_flag" || 1558145f796fSmrg test ! -s conftest.err 1559145f796fSmrg } && test -s conftest.$ac_objext; then : 1560145f796fSmrg ac_retval=0 1561145f796fSmrgelse 1562145f796fSmrg $as_echo "$as_me: failed program was:" >&5 1563145f796fSmrgsed 's/^/| /' conftest.$ac_ext >&5 156467332fb9Smrg 1565145f796fSmrg ac_retval=1 1566145f796fSmrgfi 1567145f796fSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1568145f796fSmrg as_fn_set_status $ac_retval 156967332fb9Smrg 1570145f796fSmrg} # ac_fn_c_try_compile 157167332fb9Smrg 1572145f796fSmrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1573145f796fSmrg# --------------------------------------------- 1574145f796fSmrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1575145f796fSmrg# accordingly. 1576145f796fSmrgac_fn_c_check_decl () 1577145f796fSmrg{ 1578145f796fSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1579145f796fSmrg as_decl_name=`echo $2|sed 's/ *(.*//'` 1580145f796fSmrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1581145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1582145f796fSmrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1583145f796fSmrgif eval \${$3+:} false; then : 1584145f796fSmrg $as_echo_n "(cached) " >&6 1585145f796fSmrgelse 1586145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1587145f796fSmrg/* end confdefs.h. */ 1588145f796fSmrg$4 1589145f796fSmrgint 1590145f796fSmrgmain () 1591145f796fSmrg{ 1592145f796fSmrg#ifndef $as_decl_name 1593145f796fSmrg#ifdef __cplusplus 1594145f796fSmrg (void) $as_decl_use; 1595145f796fSmrg#else 1596145f796fSmrg (void) $as_decl_name; 1597145f796fSmrg#endif 1598145f796fSmrg#endif 1599145f796fSmrg 1600145f796fSmrg ; 1601145f796fSmrg return 0; 1602145f796fSmrg} 1603145f796fSmrg_ACEOF 1604145f796fSmrgif ac_fn_c_try_compile "$LINENO"; then : 1605145f796fSmrg eval "$3=yes" 1606145f796fSmrgelse 1607145f796fSmrg eval "$3=no" 1608145f796fSmrgfi 1609145f796fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1610145f796fSmrgfi 1611145f796fSmrgeval ac_res=\$$3 1612145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1613145f796fSmrg$as_echo "$ac_res" >&6; } 1614145f796fSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1615145f796fSmrg 1616145f796fSmrg} # ac_fn_c_check_decl 1617145f796fSmrg 1618145f796fSmrg# ac_fn_c_try_cpp LINENO 1619145f796fSmrg# ---------------------- 1620145f796fSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1621145f796fSmrgac_fn_c_try_cpp () 1622145f796fSmrg{ 1623145f796fSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1624145f796fSmrg if { { ac_try="$ac_cpp conftest.$ac_ext" 1625145f796fSmrgcase "(($ac_try" in 1626145f796fSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1627145f796fSmrg *) ac_try_echo=$ac_try;; 1628145f796fSmrgesac 1629145f796fSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1630145f796fSmrg$as_echo "$ac_try_echo"; } >&5 1631145f796fSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1632145f796fSmrg ac_status=$? 1633145f796fSmrg if test -s conftest.err; then 1634145f796fSmrg grep -v '^ *+' conftest.err >conftest.er1 1635145f796fSmrg cat conftest.er1 >&5 1636145f796fSmrg mv -f conftest.er1 conftest.err 1637145f796fSmrg fi 1638145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1639145f796fSmrg test $ac_status = 0; } > conftest.i && { 1640145f796fSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1641145f796fSmrg test ! -s conftest.err 1642145f796fSmrg }; then : 1643145f796fSmrg ac_retval=0 1644145f796fSmrgelse 1645145f796fSmrg $as_echo "$as_me: failed program was:" >&5 1646145f796fSmrgsed 's/^/| /' conftest.$ac_ext >&5 1647145f796fSmrg 1648145f796fSmrg ac_retval=1 1649145f796fSmrgfi 1650145f796fSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1651145f796fSmrg as_fn_set_status $ac_retval 1652145f796fSmrg 1653145f796fSmrg} # ac_fn_c_try_cpp 1654145f796fSmrg 1655145f796fSmrg# ac_fn_c_try_run LINENO 1656145f796fSmrg# ---------------------- 1657145f796fSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1658145f796fSmrg# that executables *can* be run. 1659145f796fSmrgac_fn_c_try_run () 1660145f796fSmrg{ 1661145f796fSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1662145f796fSmrg if { { ac_try="$ac_link" 1663145f796fSmrgcase "(($ac_try" in 1664145f796fSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1665145f796fSmrg *) ac_try_echo=$ac_try;; 1666145f796fSmrgesac 1667145f796fSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1668145f796fSmrg$as_echo "$ac_try_echo"; } >&5 1669145f796fSmrg (eval "$ac_link") 2>&5 1670145f796fSmrg ac_status=$? 1671145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1672145f796fSmrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1673145f796fSmrg { { case "(($ac_try" in 1674145f796fSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1675145f796fSmrg *) ac_try_echo=$ac_try;; 1676145f796fSmrgesac 1677145f796fSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1678145f796fSmrg$as_echo "$ac_try_echo"; } >&5 1679145f796fSmrg (eval "$ac_try") 2>&5 1680145f796fSmrg ac_status=$? 1681145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1682145f796fSmrg test $ac_status = 0; }; }; then : 1683145f796fSmrg ac_retval=0 1684145f796fSmrgelse 1685145f796fSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 1686145f796fSmrg $as_echo "$as_me: failed program was:" >&5 1687145f796fSmrgsed 's/^/| /' conftest.$ac_ext >&5 1688145f796fSmrg 1689145f796fSmrg ac_retval=$ac_status 1690145f796fSmrgfi 1691145f796fSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1692145f796fSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1693145f796fSmrg as_fn_set_status $ac_retval 1694145f796fSmrg 1695145f796fSmrg} # ac_fn_c_try_run 1696145f796fSmrg 1697145f796fSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1698145f796fSmrg# ------------------------------------------------------- 1699145f796fSmrg# Tests whether HEADER exists and can be compiled using the include files in 1700145f796fSmrg# INCLUDES, setting the cache variable VAR accordingly. 1701145f796fSmrgac_fn_c_check_header_compile () 1702145f796fSmrg{ 1703145f796fSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1704145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1705145f796fSmrg$as_echo_n "checking for $2... " >&6; } 1706145f796fSmrgif eval \${$3+:} false; then : 1707145f796fSmrg $as_echo_n "(cached) " >&6 1708145f796fSmrgelse 1709145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1710145f796fSmrg/* end confdefs.h. */ 1711145f796fSmrg$4 1712145f796fSmrg#include <$2> 1713145f796fSmrg_ACEOF 1714145f796fSmrgif ac_fn_c_try_compile "$LINENO"; then : 1715145f796fSmrg eval "$3=yes" 1716145f796fSmrgelse 1717145f796fSmrg eval "$3=no" 1718145f796fSmrgfi 1719145f796fSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1720145f796fSmrgfi 1721145f796fSmrgeval ac_res=\$$3 1722145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1723145f796fSmrg$as_echo "$ac_res" >&6; } 1724145f796fSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1725145f796fSmrg 1726145f796fSmrg} # ac_fn_c_check_header_compile 1727145f796fSmrgcat >config.log <<_ACEOF 1728145f796fSmrgThis file contains any messages produced by compilers while 1729145f796fSmrgrunning configure, to aid debugging if configure makes a mistake. 1730145f796fSmrg 1731145f796fSmrgIt was created by font-adobe-utopia-75dpi $as_me 1.0.4, which was 1732145f796fSmrggenerated by GNU Autoconf 2.68. Invocation command line was 1733145f796fSmrg 1734145f796fSmrg $ $0 $@ 1735145f796fSmrg 1736145f796fSmrg_ACEOF 1737145f796fSmrgexec 5>>config.log 1738145f796fSmrg{ 1739145f796fSmrgcat <<_ASUNAME 1740145f796fSmrg## --------- ## 1741145f796fSmrg## Platform. ## 1742145f796fSmrg## --------- ## 1743145f796fSmrg 1744145f796fSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1745145f796fSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1746145f796fSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1747145f796fSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1748145f796fSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1749145f796fSmrg 1750145f796fSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1751145f796fSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1752145f796fSmrg 1753145f796fSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1754145f796fSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1755145f796fSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1756145f796fSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1757145f796fSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1758145f796fSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1759145f796fSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1760145f796fSmrg 1761145f796fSmrg_ASUNAME 1762145f796fSmrg 1763145f796fSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1764145f796fSmrgfor as_dir in $PATH 176567332fb9Smrgdo 176667332fb9Smrg IFS=$as_save_IFS 176767332fb9Smrg test -z "$as_dir" && as_dir=. 1768145f796fSmrg $as_echo "PATH: $as_dir" 1769145f796fSmrg done 1770eed6fe1cSmrgIFS=$as_save_IFS 177167332fb9Smrg 177267332fb9Smrg} >&5 177367332fb9Smrg 177467332fb9Smrgcat >&5 <<_ACEOF 177567332fb9Smrg 177667332fb9Smrg 177767332fb9Smrg## ----------- ## 177867332fb9Smrg## Core tests. ## 177967332fb9Smrg## ----------- ## 178067332fb9Smrg 178167332fb9Smrg_ACEOF 178267332fb9Smrg 178367332fb9Smrg 178467332fb9Smrg# Keep a trace of the command line. 178567332fb9Smrg# Strip out --no-create and --no-recursion so they do not pile up. 178667332fb9Smrg# Strip out --silent because we don't want to record it for future runs. 178767332fb9Smrg# Also quote any args containing shell meta-characters. 178867332fb9Smrg# Make two passes to allow for proper duplicate-argument suppression. 178967332fb9Smrgac_configure_args= 179067332fb9Smrgac_configure_args0= 179167332fb9Smrgac_configure_args1= 179267332fb9Smrgac_must_keep_next=false 179367332fb9Smrgfor ac_pass in 1 2 179467332fb9Smrgdo 179567332fb9Smrg for ac_arg 179667332fb9Smrg do 179767332fb9Smrg case $ac_arg in 179867332fb9Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 179967332fb9Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 180067332fb9Smrg | -silent | --silent | --silen | --sile | --sil) 180167332fb9Smrg continue ;; 1802eed6fe1cSmrg *\'*) 1803eed6fe1cSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 180467332fb9Smrg esac 180567332fb9Smrg case $ac_pass in 1806145f796fSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 180767332fb9Smrg 2) 1808145f796fSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 180967332fb9Smrg if test $ac_must_keep_next = true; then 181067332fb9Smrg ac_must_keep_next=false # Got value, back to normal. 181167332fb9Smrg else 181267332fb9Smrg case $ac_arg in 181367332fb9Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 181467332fb9Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 181567332fb9Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 181667332fb9Smrg | -with-* | --with-* | -without-* | --without-* | --x) 181767332fb9Smrg case "$ac_configure_args0 " in 181867332fb9Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 181967332fb9Smrg esac 182067332fb9Smrg ;; 182167332fb9Smrg -* ) ac_must_keep_next=true ;; 182267332fb9Smrg esac 182367332fb9Smrg fi 1824145f796fSmrg as_fn_append ac_configure_args " '$ac_arg'" 182567332fb9Smrg ;; 182667332fb9Smrg esac 182767332fb9Smrg done 182867332fb9Smrgdone 1829145f796fSmrg{ ac_configure_args0=; unset ac_configure_args0;} 1830145f796fSmrg{ ac_configure_args1=; unset ac_configure_args1;} 183167332fb9Smrg 183267332fb9Smrg# When interrupted or exit'd, cleanup temporary files, and complete 183367332fb9Smrg# config.log. We remove comments because anyway the quotes in there 183467332fb9Smrg# would cause problems or look ugly. 1835eed6fe1cSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1836eed6fe1cSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 183767332fb9Smrgtrap 'exit_status=$? 183867332fb9Smrg # Save into config.log some information that might help in debugging. 183967332fb9Smrg { 184067332fb9Smrg echo 184167332fb9Smrg 1842145f796fSmrg $as_echo "## ---------------- ## 184367332fb9Smrg## Cache variables. ## 1844145f796fSmrg## ---------------- ##" 184567332fb9Smrg echo 184667332fb9Smrg # The following way of writing the cache mishandles newlines in values, 1847eed6fe1cSmrg( 1848eed6fe1cSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1849eed6fe1cSmrg eval ac_val=\$$ac_var 1850eed6fe1cSmrg case $ac_val in #( 1851eed6fe1cSmrg *${as_nl}*) 1852eed6fe1cSmrg case $ac_var in #( 1853145f796fSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1854eed6fe1cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1855eed6fe1cSmrg esac 1856eed6fe1cSmrg case $ac_var in #( 1857eed6fe1cSmrg _ | IFS | as_nl) ;; #( 1858eed6fe1cSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1859145f796fSmrg *) { eval $ac_var=; unset $ac_var;} ;; 1860eed6fe1cSmrg esac ;; 1861eed6fe1cSmrg esac 1862eed6fe1cSmrg done 186367332fb9Smrg (set) 2>&1 | 1864eed6fe1cSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1865eed6fe1cSmrg *${as_nl}ac_space=\ *) 186667332fb9Smrg sed -n \ 1867eed6fe1cSmrg "s/'\''/'\''\\\\'\'''\''/g; 1868eed6fe1cSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1869eed6fe1cSmrg ;; #( 187067332fb9Smrg *) 1871eed6fe1cSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 187267332fb9Smrg ;; 1873eed6fe1cSmrg esac | 1874eed6fe1cSmrg sort 1875eed6fe1cSmrg) 187667332fb9Smrg echo 187767332fb9Smrg 1878145f796fSmrg $as_echo "## ----------------- ## 187967332fb9Smrg## Output variables. ## 1880145f796fSmrg## ----------------- ##" 188167332fb9Smrg echo 188267332fb9Smrg for ac_var in $ac_subst_vars 188367332fb9Smrg do 1884eed6fe1cSmrg eval ac_val=\$$ac_var 1885eed6fe1cSmrg case $ac_val in 1886eed6fe1cSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1887eed6fe1cSmrg esac 1888eed6fe1cSmrg $as_echo "$ac_var='\''$ac_val'\''" 188967332fb9Smrg done | sort 189067332fb9Smrg echo 189167332fb9Smrg 189267332fb9Smrg if test -n "$ac_subst_files"; then 1893145f796fSmrg $as_echo "## ------------------- ## 1894eed6fe1cSmrg## File substitutions. ## 1895145f796fSmrg## ------------------- ##" 189667332fb9Smrg echo 189767332fb9Smrg for ac_var in $ac_subst_files 189867332fb9Smrg do 1899eed6fe1cSmrg eval ac_val=\$$ac_var 1900eed6fe1cSmrg case $ac_val in 1901eed6fe1cSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1902eed6fe1cSmrg esac 1903eed6fe1cSmrg $as_echo "$ac_var='\''$ac_val'\''" 190467332fb9Smrg done | sort 190567332fb9Smrg echo 190667332fb9Smrg fi 190767332fb9Smrg 190867332fb9Smrg if test -s confdefs.h; then 1909145f796fSmrg $as_echo "## ----------- ## 191067332fb9Smrg## confdefs.h. ## 1911145f796fSmrg## ----------- ##" 191267332fb9Smrg echo 1913eed6fe1cSmrg cat confdefs.h 191467332fb9Smrg echo 191567332fb9Smrg fi 191667332fb9Smrg test "$ac_signal" != 0 && 1917eed6fe1cSmrg $as_echo "$as_me: caught signal $ac_signal" 1918eed6fe1cSmrg $as_echo "$as_me: exit $exit_status" 191967332fb9Smrg } >&5 1920eed6fe1cSmrg rm -f core *.core core.conftest.* && 1921eed6fe1cSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 192267332fb9Smrg exit $exit_status 1923eed6fe1cSmrg' 0 192467332fb9Smrgfor ac_signal in 1 2 13 15; do 1925145f796fSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 192667332fb9Smrgdone 192767332fb9Smrgac_signal=0 192867332fb9Smrg 192967332fb9Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1930eed6fe1cSmrgrm -f -r conftest* confdefs.h 193167332fb9Smrg 1932145f796fSmrg$as_echo "/* confdefs.h */" > confdefs.h 1933145f796fSmrg 193467332fb9Smrg# Predefined preprocessor variables. 193567332fb9Smrg 193667332fb9Smrgcat >>confdefs.h <<_ACEOF 193767332fb9Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 193867332fb9Smrg_ACEOF 193967332fb9Smrg 194067332fb9Smrgcat >>confdefs.h <<_ACEOF 194167332fb9Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 194267332fb9Smrg_ACEOF 194367332fb9Smrg 194467332fb9Smrgcat >>confdefs.h <<_ACEOF 194567332fb9Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 194667332fb9Smrg_ACEOF 194767332fb9Smrg 194867332fb9Smrgcat >>confdefs.h <<_ACEOF 194967332fb9Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 195067332fb9Smrg_ACEOF 195167332fb9Smrg 195267332fb9Smrgcat >>confdefs.h <<_ACEOF 195367332fb9Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 195467332fb9Smrg_ACEOF 195567332fb9Smrg 1956145f796fSmrgcat >>confdefs.h <<_ACEOF 1957145f796fSmrg#define PACKAGE_URL "$PACKAGE_URL" 1958145f796fSmrg_ACEOF 1959145f796fSmrg 196067332fb9Smrg 196167332fb9Smrg# Let the site file select an alternate cache file if it wants to. 1962eed6fe1cSmrg# Prefer an explicitly selected file to automatically selected ones. 1963eed6fe1cSmrgac_site_file1=NONE 1964eed6fe1cSmrgac_site_file2=NONE 1965eed6fe1cSmrgif test -n "$CONFIG_SITE"; then 1966145f796fSmrg # We do not want a PATH search for config.site. 1967145f796fSmrg case $CONFIG_SITE in #(( 1968145f796fSmrg -*) ac_site_file1=./$CONFIG_SITE;; 1969145f796fSmrg */*) ac_site_file1=$CONFIG_SITE;; 1970145f796fSmrg *) ac_site_file1=./$CONFIG_SITE;; 1971145f796fSmrg esac 1972eed6fe1cSmrgelif test "x$prefix" != xNONE; then 1973eed6fe1cSmrg ac_site_file1=$prefix/share/config.site 1974eed6fe1cSmrg ac_site_file2=$prefix/etc/config.site 1975eed6fe1cSmrgelse 1976eed6fe1cSmrg ac_site_file1=$ac_default_prefix/share/config.site 1977eed6fe1cSmrg ac_site_file2=$ac_default_prefix/etc/config.site 197867332fb9Smrgfi 1979eed6fe1cSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 1980eed6fe1cSmrgdo 1981eed6fe1cSmrg test "x$ac_site_file" = xNONE && continue 1982145f796fSmrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1983145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1984eed6fe1cSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 198567332fb9Smrg sed 's/^/| /' "$ac_site_file" >&5 1986145f796fSmrg . "$ac_site_file" \ 1987145f796fSmrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1988145f796fSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1989145f796fSmrgas_fn_error $? "failed to load site script $ac_site_file 1990145f796fSmrgSee \`config.log' for more details" "$LINENO" 5; } 199167332fb9Smrg fi 199267332fb9Smrgdone 199367332fb9Smrg 199467332fb9Smrgif test -r "$cache_file"; then 1995145f796fSmrg # Some versions of bash will fail to source /dev/null (special files 1996145f796fSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1997145f796fSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1998145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1999eed6fe1cSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 200067332fb9Smrg case $cache_file in 2001eed6fe1cSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 2002eed6fe1cSmrg *) . "./$cache_file";; 200367332fb9Smrg esac 200467332fb9Smrg fi 200567332fb9Smrgelse 2006145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2007eed6fe1cSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 200867332fb9Smrg >$cache_file 200967332fb9Smrgfi 201067332fb9Smrg 201167332fb9Smrg# Check that the precious variables saved in the cache have kept the same 201267332fb9Smrg# value. 201367332fb9Smrgac_cache_corrupted=false 2014eed6fe1cSmrgfor ac_var in $ac_precious_vars; do 201567332fb9Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 201667332fb9Smrg eval ac_new_set=\$ac_env_${ac_var}_set 2017eed6fe1cSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 2018eed6fe1cSmrg eval ac_new_val=\$ac_env_${ac_var}_value 201967332fb9Smrg case $ac_old_set,$ac_new_set in 202067332fb9Smrg set,) 2021145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2022eed6fe1cSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 202367332fb9Smrg ac_cache_corrupted=: ;; 202467332fb9Smrg ,set) 2025145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2026eed6fe1cSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 202767332fb9Smrg ac_cache_corrupted=: ;; 202867332fb9Smrg ,);; 202967332fb9Smrg *) 203067332fb9Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 2031eed6fe1cSmrg # differences in whitespace do not lead to failure. 2032eed6fe1cSmrg ac_old_val_w=`echo x $ac_old_val` 2033eed6fe1cSmrg ac_new_val_w=`echo x $ac_new_val` 2034eed6fe1cSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 2035145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2036eed6fe1cSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2037eed6fe1cSmrg ac_cache_corrupted=: 2038eed6fe1cSmrg else 2039145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2040eed6fe1cSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2041eed6fe1cSmrg eval $ac_var=\$ac_old_val 2042eed6fe1cSmrg fi 2043145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2044eed6fe1cSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2045145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2046eed6fe1cSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 204767332fb9Smrg fi;; 204867332fb9Smrg esac 204967332fb9Smrg # Pass precious variables to config.status. 205067332fb9Smrg if test "$ac_new_set" = set; then 205167332fb9Smrg case $ac_new_val in 2052eed6fe1cSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 205367332fb9Smrg *) ac_arg=$ac_var=$ac_new_val ;; 205467332fb9Smrg esac 205567332fb9Smrg case " $ac_configure_args " in 205667332fb9Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2057145f796fSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 205867332fb9Smrg esac 205967332fb9Smrg fi 206067332fb9Smrgdone 206167332fb9Smrgif $ac_cache_corrupted; then 2062145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2063eed6fe1cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2064145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2065eed6fe1cSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2066145f796fSmrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 206767332fb9Smrgfi 2068145f796fSmrg## -------------------- ## 2069145f796fSmrg## Main body of script. ## 2070145f796fSmrg## -------------------- ## 207167332fb9Smrg 2072eed6fe1cSmrgac_ext=c 2073eed6fe1cSmrgac_cpp='$CPP $CPPFLAGS' 2074eed6fe1cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2075eed6fe1cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2076eed6fe1cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 207767332fb9Smrg 207867332fb9Smrg 2079eed6fe1cSmrgam__api_version='1.11' 208067332fb9Smrg 208167332fb9Smrgac_aux_dir= 2082eed6fe1cSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2083eed6fe1cSmrg if test -f "$ac_dir/install-sh"; then 208467332fb9Smrg ac_aux_dir=$ac_dir 208567332fb9Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 208667332fb9Smrg break 2087eed6fe1cSmrg elif test -f "$ac_dir/install.sh"; then 208867332fb9Smrg ac_aux_dir=$ac_dir 208967332fb9Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 209067332fb9Smrg break 2091eed6fe1cSmrg elif test -f "$ac_dir/shtool"; then 209267332fb9Smrg ac_aux_dir=$ac_dir 209367332fb9Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 209467332fb9Smrg break 209567332fb9Smrg fi 209667332fb9Smrgdone 209767332fb9Smrgif test -z "$ac_aux_dir"; then 2098145f796fSmrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 209967332fb9Smrgfi 2100eed6fe1cSmrg 2101eed6fe1cSmrg# These three variables are undocumented and unsupported, 2102eed6fe1cSmrg# and are intended to be withdrawn in a future Autoconf release. 2103eed6fe1cSmrg# They can cause serious problems if a builder's source tree is in a directory 2104eed6fe1cSmrg# whose full name contains unusual characters. 2105eed6fe1cSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2106eed6fe1cSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2107eed6fe1cSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2108eed6fe1cSmrg 210967332fb9Smrg 211067332fb9Smrg# Find a good install program. We prefer a C program (faster), 211167332fb9Smrg# so one script is as good as another. But avoid the broken or 211267332fb9Smrg# incompatible versions: 211367332fb9Smrg# SysV /etc/install, /usr/sbin/install 211467332fb9Smrg# SunOS /usr/etc/install 211567332fb9Smrg# IRIX /sbin/install 211667332fb9Smrg# AIX /bin/install 211767332fb9Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 211867332fb9Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 211967332fb9Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 212067332fb9Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 212167332fb9Smrg# OS/2's system install, which has a completely different semantic 212267332fb9Smrg# ./install, which can be erroneously created by make from ./install.sh. 2123eed6fe1cSmrg# Reject install programs that cannot install multiple files. 2124145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2125eed6fe1cSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 212667332fb9Smrgif test -z "$INSTALL"; then 2127145f796fSmrgif ${ac_cv_path_install+:} false; then : 2128eed6fe1cSmrg $as_echo_n "(cached) " >&6 212967332fb9Smrgelse 213067332fb9Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 213167332fb9Smrgfor as_dir in $PATH 213267332fb9Smrgdo 213367332fb9Smrg IFS=$as_save_IFS 213467332fb9Smrg test -z "$as_dir" && as_dir=. 2135145f796fSmrg # Account for people who put trailing slashes in PATH elements. 2136145f796fSmrgcase $as_dir/ in #(( 2137145f796fSmrg ./ | .// | /[cC]/* | \ 213867332fb9Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2139145f796fSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 214067332fb9Smrg /usr/ucb/* ) ;; 214167332fb9Smrg *) 214267332fb9Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 214367332fb9Smrg # Don't use installbsd from OSF since it installs stuff as root 214467332fb9Smrg # by default. 214567332fb9Smrg for ac_prog in ginstall scoinst install; do 214667332fb9Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2147eed6fe1cSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 214867332fb9Smrg if test $ac_prog = install && 214967332fb9Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 215067332fb9Smrg # AIX install. It has an incompatible calling convention. 215167332fb9Smrg : 215267332fb9Smrg elif test $ac_prog = install && 215367332fb9Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 215467332fb9Smrg # program-specific install script used by HP pwplus--don't use. 215567332fb9Smrg : 215667332fb9Smrg else 2157eed6fe1cSmrg rm -rf conftest.one conftest.two conftest.dir 2158eed6fe1cSmrg echo one > conftest.one 2159eed6fe1cSmrg echo two > conftest.two 2160eed6fe1cSmrg mkdir conftest.dir 2161eed6fe1cSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2162eed6fe1cSmrg test -s conftest.one && test -s conftest.two && 2163eed6fe1cSmrg test -s conftest.dir/conftest.one && 2164eed6fe1cSmrg test -s conftest.dir/conftest.two 2165eed6fe1cSmrg then 2166eed6fe1cSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2167eed6fe1cSmrg break 3 2168eed6fe1cSmrg fi 216967332fb9Smrg fi 217067332fb9Smrg fi 217167332fb9Smrg done 217267332fb9Smrg done 217367332fb9Smrg ;; 217467332fb9Smrgesac 2175eed6fe1cSmrg 2176145f796fSmrg done 2177eed6fe1cSmrgIFS=$as_save_IFS 217867332fb9Smrg 2179eed6fe1cSmrgrm -rf conftest.one conftest.two conftest.dir 218067332fb9Smrg 218167332fb9Smrgfi 218267332fb9Smrg if test "${ac_cv_path_install+set}" = set; then 218367332fb9Smrg INSTALL=$ac_cv_path_install 218467332fb9Smrg else 2185eed6fe1cSmrg # As a last resort, use the slow shell script. Don't cache a 2186eed6fe1cSmrg # value for INSTALL within a source directory, because that will 218767332fb9Smrg # break other packages using the cache if that directory is 2188eed6fe1cSmrg # removed, or if the value is a relative name. 218967332fb9Smrg INSTALL=$ac_install_sh 219067332fb9Smrg fi 219167332fb9Smrgfi 2192145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2193eed6fe1cSmrg$as_echo "$INSTALL" >&6; } 219467332fb9Smrg 219567332fb9Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 219667332fb9Smrg# It thinks the first close brace ends the variable substitution. 219767332fb9Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 219867332fb9Smrg 219967332fb9Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 220067332fb9Smrg 220167332fb9Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 220267332fb9Smrg 2203145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2204eed6fe1cSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 220567332fb9Smrg# Just in case 220667332fb9Smrgsleep 1 220767332fb9Smrgecho timestamp > conftest.file 2208eed6fe1cSmrg# Reject unsafe characters in $srcdir or the absolute working directory 2209eed6fe1cSmrg# name. Accept space and tab only in the latter. 2210eed6fe1cSmrgam_lf=' 2211eed6fe1cSmrg' 2212eed6fe1cSmrgcase `pwd` in 2213eed6fe1cSmrg *[\\\"\#\$\&\'\`$am_lf]*) 2214145f796fSmrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2215eed6fe1cSmrgesac 2216eed6fe1cSmrgcase $srcdir in 2217eed6fe1cSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2218145f796fSmrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2219eed6fe1cSmrgesac 2220eed6fe1cSmrg 222167332fb9Smrg# Do `set' in a subshell so we don't clobber the current shell's 222267332fb9Smrg# arguments. Must try -L first in case configure is actually a 222367332fb9Smrg# symlink; some systems play weird games with the mod time of symlinks 222467332fb9Smrg# (eg FreeBSD returns the mod time of the symlink's containing 222567332fb9Smrg# directory). 222667332fb9Smrgif ( 2227eed6fe1cSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 222867332fb9Smrg if test "$*" = "X"; then 222967332fb9Smrg # -L didn't work. 2230eed6fe1cSmrg set X `ls -t "$srcdir/configure" conftest.file` 223167332fb9Smrg fi 223267332fb9Smrg rm -f conftest.file 223367332fb9Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 223467332fb9Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 223567332fb9Smrg 223667332fb9Smrg # If neither matched, then we have a broken ls. This can happen 223767332fb9Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 223867332fb9Smrg # broken ls alias from the environment. This has actually 223967332fb9Smrg # happened. Such a system could not be considered "sane". 2240145f796fSmrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2241145f796fSmrgalias in your environment" "$LINENO" 5 224267332fb9Smrg fi 224367332fb9Smrg 224467332fb9Smrg test "$2" = conftest.file 224567332fb9Smrg ) 224667332fb9Smrgthen 224767332fb9Smrg # Ok. 224867332fb9Smrg : 224967332fb9Smrgelse 2250145f796fSmrg as_fn_error $? "newly created file is older than distributed files! 2251145f796fSmrgCheck your system clock" "$LINENO" 5 225267332fb9Smrgfi 2253145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2254eed6fe1cSmrg$as_echo "yes" >&6; } 225567332fb9Smrgtest "$program_prefix" != NONE && 2256eed6fe1cSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 225767332fb9Smrg# Use a double $ so make ignores it. 225867332fb9Smrgtest "$program_suffix" != NONE && 2259eed6fe1cSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2260eed6fe1cSmrg# Double any \ or $. 226167332fb9Smrg# By default was `s,x,x', remove it if useless. 2262eed6fe1cSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2263eed6fe1cSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 226467332fb9Smrg 226567332fb9Smrg# expand $ac_aux_dir to an absolute path 226667332fb9Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 226767332fb9Smrg 2268eed6fe1cSmrgif test x"${MISSING+set}" != xset; then 2269eed6fe1cSmrg case $am_aux_dir in 2270eed6fe1cSmrg *\ * | *\ *) 2271eed6fe1cSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2272eed6fe1cSmrg *) 2273eed6fe1cSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 2274eed6fe1cSmrg esac 2275eed6fe1cSmrgfi 227667332fb9Smrg# Use eval to expand $SHELL 227767332fb9Smrgif eval "$MISSING --run true"; then 227867332fb9Smrg am_missing_run="$MISSING --run " 227967332fb9Smrgelse 228067332fb9Smrg am_missing_run= 2281145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2282eed6fe1cSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2283eed6fe1cSmrgfi 2284eed6fe1cSmrg 2285eed6fe1cSmrgif test x"${install_sh}" != xset; then 2286eed6fe1cSmrg case $am_aux_dir in 2287eed6fe1cSmrg *\ * | *\ *) 2288eed6fe1cSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2289eed6fe1cSmrg *) 2290eed6fe1cSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 2291eed6fe1cSmrg esac 2292eed6fe1cSmrgfi 2293eed6fe1cSmrg 2294eed6fe1cSmrg# Installed binaries are usually stripped using `strip' when the user 2295eed6fe1cSmrg# run `make install-strip'. However `strip' might not be the right 2296eed6fe1cSmrg# tool to use in cross-compilation environments, therefore Automake 2297eed6fe1cSmrg# will honor the `STRIP' environment variable to overrule this program. 2298eed6fe1cSmrgif test "$cross_compiling" != no; then 2299eed6fe1cSmrg if test -n "$ac_tool_prefix"; then 2300eed6fe1cSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2301eed6fe1cSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2302145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2303eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2304145f796fSmrgif ${ac_cv_prog_STRIP+:} false; then : 2305eed6fe1cSmrg $as_echo_n "(cached) " >&6 2306eed6fe1cSmrgelse 2307eed6fe1cSmrg if test -n "$STRIP"; then 2308eed6fe1cSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2309eed6fe1cSmrgelse 2310eed6fe1cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2311eed6fe1cSmrgfor as_dir in $PATH 2312eed6fe1cSmrgdo 2313eed6fe1cSmrg IFS=$as_save_IFS 2314eed6fe1cSmrg test -z "$as_dir" && as_dir=. 2315145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2316eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2317eed6fe1cSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2318145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2319eed6fe1cSmrg break 2 2320eed6fe1cSmrg fi 2321eed6fe1cSmrgdone 2322145f796fSmrg done 2323eed6fe1cSmrgIFS=$as_save_IFS 2324eed6fe1cSmrg 2325eed6fe1cSmrgfi 2326eed6fe1cSmrgfi 2327eed6fe1cSmrgSTRIP=$ac_cv_prog_STRIP 2328eed6fe1cSmrgif test -n "$STRIP"; then 2329145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2330eed6fe1cSmrg$as_echo "$STRIP" >&6; } 2331eed6fe1cSmrgelse 2332145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2333eed6fe1cSmrg$as_echo "no" >&6; } 2334eed6fe1cSmrgfi 2335eed6fe1cSmrg 2336eed6fe1cSmrg 2337eed6fe1cSmrgfi 2338eed6fe1cSmrgif test -z "$ac_cv_prog_STRIP"; then 2339eed6fe1cSmrg ac_ct_STRIP=$STRIP 2340eed6fe1cSmrg # Extract the first word of "strip", so it can be a program name with args. 2341eed6fe1cSmrgset dummy strip; ac_word=$2 2342145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2343eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2344145f796fSmrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2345eed6fe1cSmrg $as_echo_n "(cached) " >&6 2346eed6fe1cSmrgelse 2347eed6fe1cSmrg if test -n "$ac_ct_STRIP"; then 2348eed6fe1cSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2349eed6fe1cSmrgelse 2350eed6fe1cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2351eed6fe1cSmrgfor as_dir in $PATH 2352eed6fe1cSmrgdo 2353eed6fe1cSmrg IFS=$as_save_IFS 2354eed6fe1cSmrg test -z "$as_dir" && as_dir=. 2355145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2356eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2357eed6fe1cSmrg ac_cv_prog_ac_ct_STRIP="strip" 2358145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2359eed6fe1cSmrg break 2 2360eed6fe1cSmrg fi 2361eed6fe1cSmrgdone 2362145f796fSmrg done 2363eed6fe1cSmrgIFS=$as_save_IFS 2364eed6fe1cSmrg 2365eed6fe1cSmrgfi 2366eed6fe1cSmrgfi 2367eed6fe1cSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2368eed6fe1cSmrgif test -n "$ac_ct_STRIP"; then 2369145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2370eed6fe1cSmrg$as_echo "$ac_ct_STRIP" >&6; } 2371eed6fe1cSmrgelse 2372145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2373eed6fe1cSmrg$as_echo "no" >&6; } 237467332fb9Smrgfi 237567332fb9Smrg 2376eed6fe1cSmrg if test "x$ac_ct_STRIP" = x; then 2377eed6fe1cSmrg STRIP=":" 2378eed6fe1cSmrg else 2379eed6fe1cSmrg case $cross_compiling:$ac_tool_warned in 2380eed6fe1cSmrgyes:) 2381145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2382eed6fe1cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2383eed6fe1cSmrgac_tool_warned=yes ;; 2384eed6fe1cSmrgesac 2385eed6fe1cSmrg STRIP=$ac_ct_STRIP 2386eed6fe1cSmrg fi 2387eed6fe1cSmrgelse 2388eed6fe1cSmrg STRIP="$ac_cv_prog_STRIP" 2389eed6fe1cSmrgfi 2390eed6fe1cSmrg 2391eed6fe1cSmrgfi 2392eed6fe1cSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2393eed6fe1cSmrg 2394145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2395eed6fe1cSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2396eed6fe1cSmrgif test -z "$MKDIR_P"; then 2397145f796fSmrg if ${ac_cv_path_mkdir+:} false; then : 2398eed6fe1cSmrg $as_echo_n "(cached) " >&6 2399eed6fe1cSmrgelse 2400eed6fe1cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2401eed6fe1cSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2402eed6fe1cSmrgdo 2403eed6fe1cSmrg IFS=$as_save_IFS 2404eed6fe1cSmrg test -z "$as_dir" && as_dir=. 2405145f796fSmrg for ac_prog in mkdir gmkdir; do 2406eed6fe1cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2407eed6fe1cSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2408eed6fe1cSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2409eed6fe1cSmrg 'mkdir (GNU coreutils) '* | \ 2410eed6fe1cSmrg 'mkdir (coreutils) '* | \ 2411eed6fe1cSmrg 'mkdir (fileutils) '4.1*) 2412eed6fe1cSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2413eed6fe1cSmrg break 3;; 2414eed6fe1cSmrg esac 2415eed6fe1cSmrg done 2416eed6fe1cSmrg done 2417145f796fSmrg done 2418eed6fe1cSmrgIFS=$as_save_IFS 2419eed6fe1cSmrg 2420eed6fe1cSmrgfi 2421eed6fe1cSmrg 2422145f796fSmrg test -d ./--version && rmdir ./--version 2423eed6fe1cSmrg if test "${ac_cv_path_mkdir+set}" = set; then 2424eed6fe1cSmrg MKDIR_P="$ac_cv_path_mkdir -p" 2425eed6fe1cSmrg else 2426eed6fe1cSmrg # As a last resort, use the slow shell script. Don't cache a 2427eed6fe1cSmrg # value for MKDIR_P within a source directory, because that will 2428eed6fe1cSmrg # break other packages using the cache if that directory is 2429eed6fe1cSmrg # removed, or if the value is a relative name. 2430eed6fe1cSmrg MKDIR_P="$ac_install_sh -d" 2431eed6fe1cSmrg fi 2432eed6fe1cSmrgfi 2433145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2434eed6fe1cSmrg$as_echo "$MKDIR_P" >&6; } 2435eed6fe1cSmrg 2436eed6fe1cSmrgmkdir_p="$MKDIR_P" 2437eed6fe1cSmrgcase $mkdir_p in 2438eed6fe1cSmrg [\\/$]* | ?:[\\/]*) ;; 2439eed6fe1cSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2440eed6fe1cSmrgesac 2441eed6fe1cSmrg 244267332fb9Smrgfor ac_prog in gawk mawk nawk awk 244367332fb9Smrgdo 244467332fb9Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 244567332fb9Smrgset dummy $ac_prog; ac_word=$2 2446145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2447eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2448145f796fSmrgif ${ac_cv_prog_AWK+:} false; then : 2449eed6fe1cSmrg $as_echo_n "(cached) " >&6 245067332fb9Smrgelse 245167332fb9Smrg if test -n "$AWK"; then 245267332fb9Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 245367332fb9Smrgelse 245467332fb9Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 245567332fb9Smrgfor as_dir in $PATH 245667332fb9Smrgdo 245767332fb9Smrg IFS=$as_save_IFS 245867332fb9Smrg test -z "$as_dir" && as_dir=. 2459145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2460eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 246167332fb9Smrg ac_cv_prog_AWK="$ac_prog" 2462145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 246367332fb9Smrg break 2 246467332fb9Smrg fi 246567332fb9Smrgdone 2466145f796fSmrg done 2467eed6fe1cSmrgIFS=$as_save_IFS 246867332fb9Smrg 246967332fb9Smrgfi 247067332fb9Smrgfi 247167332fb9SmrgAWK=$ac_cv_prog_AWK 247267332fb9Smrgif test -n "$AWK"; then 2473145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2474eed6fe1cSmrg$as_echo "$AWK" >&6; } 247567332fb9Smrgelse 2476145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2477eed6fe1cSmrg$as_echo "no" >&6; } 247867332fb9Smrgfi 247967332fb9Smrg 2480eed6fe1cSmrg 248167332fb9Smrg test -n "$AWK" && break 248267332fb9Smrgdone 248367332fb9Smrg 2484145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2485eed6fe1cSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2486eed6fe1cSmrgset x ${MAKE-make} 2487eed6fe1cSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2488145f796fSmrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2489eed6fe1cSmrg $as_echo_n "(cached) " >&6 249067332fb9Smrgelse 249167332fb9Smrg cat >conftest.make <<\_ACEOF 2492eed6fe1cSmrgSHELL = /bin/sh 249367332fb9Smrgall: 2494eed6fe1cSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 249567332fb9Smrg_ACEOF 2496145f796fSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2497eed6fe1cSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2498eed6fe1cSmrg *@@@%%%=?*=@@@%%%*) 2499eed6fe1cSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2500eed6fe1cSmrg *) 2501eed6fe1cSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 2502eed6fe1cSmrgesac 250367332fb9Smrgrm -f conftest.make 250467332fb9Smrgfi 2505eed6fe1cSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2506145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2507eed6fe1cSmrg$as_echo "yes" >&6; } 250867332fb9Smrg SET_MAKE= 250967332fb9Smrgelse 2510145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2511eed6fe1cSmrg$as_echo "no" >&6; } 251267332fb9Smrg SET_MAKE="MAKE=${MAKE-make}" 251367332fb9Smrgfi 251467332fb9Smrg 251567332fb9Smrgrm -rf .tst 2>/dev/null 251667332fb9Smrgmkdir .tst 2>/dev/null 251767332fb9Smrgif test -d .tst; then 251867332fb9Smrg am__leading_dot=. 251967332fb9Smrgelse 252067332fb9Smrg am__leading_dot=_ 252167332fb9Smrgfi 252267332fb9Smrgrmdir .tst 2>/dev/null 252367332fb9Smrg 2524eed6fe1cSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2525eed6fe1cSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2526eed6fe1cSmrg # is not polluted with repeated "-I." 2527eed6fe1cSmrg am__isrc=' -I$(srcdir)' 2528eed6fe1cSmrg # test to see if srcdir already configured 2529eed6fe1cSmrg if test -f $srcdir/config.status; then 2530145f796fSmrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2531eed6fe1cSmrg fi 253267332fb9Smrgfi 253367332fb9Smrg 253467332fb9Smrg# test whether we have cygpath 253567332fb9Smrgif test -z "$CYGPATH_W"; then 253667332fb9Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 253767332fb9Smrg CYGPATH_W='cygpath -w' 253867332fb9Smrg else 253967332fb9Smrg CYGPATH_W=echo 254067332fb9Smrg fi 254167332fb9Smrgfi 254267332fb9Smrg 254367332fb9Smrg 254467332fb9Smrg# Define the identity of the package. 254567332fb9Smrg PACKAGE='font-adobe-utopia-75dpi' 2546145f796fSmrg VERSION='1.0.4' 254767332fb9Smrg 254867332fb9Smrg 254967332fb9Smrgcat >>confdefs.h <<_ACEOF 255067332fb9Smrg#define PACKAGE "$PACKAGE" 255167332fb9Smrg_ACEOF 255267332fb9Smrg 255367332fb9Smrg 255467332fb9Smrgcat >>confdefs.h <<_ACEOF 255567332fb9Smrg#define VERSION "$VERSION" 255667332fb9Smrg_ACEOF 255767332fb9Smrg 255867332fb9Smrg# Some tools Automake needs. 255967332fb9Smrg 256067332fb9SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 256167332fb9Smrg 256267332fb9Smrg 256367332fb9SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 256467332fb9Smrg 256567332fb9Smrg 256667332fb9SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 256767332fb9Smrg 256867332fb9Smrg 256967332fb9SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 257067332fb9Smrg 257167332fb9Smrg 257267332fb9SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 257367332fb9Smrg 2574eed6fe1cSmrg# We need awk for the "check" target. The system "awk" is bad on 2575eed6fe1cSmrg# some platforms. 2576eed6fe1cSmrg# Always define AMTAR for backward compatibility. 257767332fb9Smrg 257867332fb9SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 257967332fb9Smrg 2580eed6fe1cSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 258167332fb9Smrg 2582eed6fe1cSmrg 2583eed6fe1cSmrg 2584eed6fe1cSmrg 2585eed6fe1cSmrg 2586eed6fe1cSmrg 2587145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2588eed6fe1cSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2589eed6fe1cSmrg # Check whether --enable-maintainer-mode was given. 2590145f796fSmrgif test "${enable_maintainer_mode+set}" = set; then : 2591eed6fe1cSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 259267332fb9Smrgelse 2593eed6fe1cSmrg USE_MAINTAINER_MODE=no 2594eed6fe1cSmrgfi 2595eed6fe1cSmrg 2596145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2597eed6fe1cSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 2598eed6fe1cSmrg if test $USE_MAINTAINER_MODE = yes; then 2599eed6fe1cSmrg MAINTAINER_MODE_TRUE= 2600eed6fe1cSmrg MAINTAINER_MODE_FALSE='#' 2601eed6fe1cSmrgelse 2602eed6fe1cSmrg MAINTAINER_MODE_TRUE='#' 2603eed6fe1cSmrg MAINTAINER_MODE_FALSE= 2604eed6fe1cSmrgfi 2605eed6fe1cSmrg 2606eed6fe1cSmrg MAINT=$MAINTAINER_MODE_TRUE 2607eed6fe1cSmrg 2608eed6fe1cSmrg 2609eed6fe1cSmrg 2610eed6fe1cSmrg# Require xorg-macros: XORG_DEFAULT_OPTIONS 2611eed6fe1cSmrg 2612eed6fe1cSmrg 2613eed6fe1cSmrg 2614eed6fe1cSmrg 2615eed6fe1cSmrg 2616eed6fe1cSmrg 2617eed6fe1cSmrg 2618eed6fe1cSmrg 2619eed6fe1cSmrg 2620eed6fe1cSmrg 2621eed6fe1cSmrg 2622eed6fe1cSmrgDEPDIR="${am__leading_dot}deps" 2623eed6fe1cSmrg 2624eed6fe1cSmrgac_config_commands="$ac_config_commands depfiles" 2625eed6fe1cSmrg 2626eed6fe1cSmrg 2627eed6fe1cSmrgam_make=${MAKE-make} 2628eed6fe1cSmrgcat > confinc << 'END' 2629eed6fe1cSmrgam__doit: 2630eed6fe1cSmrg @echo this is the am__doit target 2631eed6fe1cSmrg.PHONY: am__doit 2632eed6fe1cSmrgEND 2633eed6fe1cSmrg# If we don't find an include directive, just comment out the code. 2634145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2635eed6fe1cSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 2636eed6fe1cSmrgam__include="#" 2637eed6fe1cSmrgam__quote= 2638eed6fe1cSmrg_am_result=none 2639eed6fe1cSmrg# First try GNU make style include. 2640eed6fe1cSmrgecho "include confinc" > confmf 2641eed6fe1cSmrg# Ignore all kinds of additional output from `make'. 2642eed6fe1cSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 2643eed6fe1cSmrg*the\ am__doit\ target*) 2644eed6fe1cSmrg am__include=include 2645eed6fe1cSmrg am__quote= 2646eed6fe1cSmrg _am_result=GNU 2647eed6fe1cSmrg ;; 2648eed6fe1cSmrgesac 2649eed6fe1cSmrg# Now try BSD make style include. 2650eed6fe1cSmrgif test "$am__include" = "#"; then 2651eed6fe1cSmrg echo '.include "confinc"' > confmf 2652eed6fe1cSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 2653eed6fe1cSmrg *the\ am__doit\ target*) 2654eed6fe1cSmrg am__include=.include 2655eed6fe1cSmrg am__quote="\"" 2656eed6fe1cSmrg _am_result=BSD 2657eed6fe1cSmrg ;; 2658eed6fe1cSmrg esac 2659eed6fe1cSmrgfi 2660eed6fe1cSmrg 2661eed6fe1cSmrg 2662145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2663eed6fe1cSmrg$as_echo "$_am_result" >&6; } 2664eed6fe1cSmrgrm -f confinc confmf 2665eed6fe1cSmrg 2666eed6fe1cSmrg# Check whether --enable-dependency-tracking was given. 2667145f796fSmrgif test "${enable_dependency_tracking+set}" = set; then : 2668eed6fe1cSmrg enableval=$enable_dependency_tracking; 2669eed6fe1cSmrgfi 2670eed6fe1cSmrg 2671eed6fe1cSmrgif test "x$enable_dependency_tracking" != xno; then 2672eed6fe1cSmrg am_depcomp="$ac_aux_dir/depcomp" 2673eed6fe1cSmrg AMDEPBACKSLASH='\' 2674eed6fe1cSmrgfi 2675eed6fe1cSmrg if test "x$enable_dependency_tracking" != xno; then 2676eed6fe1cSmrg AMDEP_TRUE= 2677eed6fe1cSmrg AMDEP_FALSE='#' 2678eed6fe1cSmrgelse 2679eed6fe1cSmrg AMDEP_TRUE='#' 2680eed6fe1cSmrg AMDEP_FALSE= 2681eed6fe1cSmrgfi 2682eed6fe1cSmrg 2683eed6fe1cSmrg 2684eed6fe1cSmrgac_ext=c 2685eed6fe1cSmrgac_cpp='$CPP $CPPFLAGS' 2686eed6fe1cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2687eed6fe1cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2688eed6fe1cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2689eed6fe1cSmrgif test -n "$ac_tool_prefix"; then 2690eed6fe1cSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2691eed6fe1cSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 2692145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2693eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2694145f796fSmrgif ${ac_cv_prog_CC+:} false; then : 2695eed6fe1cSmrg $as_echo_n "(cached) " >&6 2696eed6fe1cSmrgelse 2697eed6fe1cSmrg if test -n "$CC"; then 2698eed6fe1cSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 269967332fb9Smrgelse 270067332fb9Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 270167332fb9Smrgfor as_dir in $PATH 270267332fb9Smrgdo 270367332fb9Smrg IFS=$as_save_IFS 270467332fb9Smrg test -z "$as_dir" && as_dir=. 2705145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2706eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2707eed6fe1cSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 2708145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 270967332fb9Smrg break 2 271067332fb9Smrg fi 271167332fb9Smrgdone 2712145f796fSmrg done 2713eed6fe1cSmrgIFS=$as_save_IFS 271467332fb9Smrg 271567332fb9Smrgfi 271667332fb9Smrgfi 2717eed6fe1cSmrgCC=$ac_cv_prog_CC 2718eed6fe1cSmrgif test -n "$CC"; then 2719145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2720eed6fe1cSmrg$as_echo "$CC" >&6; } 272167332fb9Smrgelse 2722145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2723eed6fe1cSmrg$as_echo "no" >&6; } 272467332fb9Smrgfi 272567332fb9Smrg 2726eed6fe1cSmrg 272767332fb9Smrgfi 2728eed6fe1cSmrgif test -z "$ac_cv_prog_CC"; then 2729eed6fe1cSmrg ac_ct_CC=$CC 2730eed6fe1cSmrg # Extract the first word of "gcc", so it can be a program name with args. 2731eed6fe1cSmrgset dummy gcc; ac_word=$2 2732145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2733eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2734145f796fSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 2735eed6fe1cSmrg $as_echo_n "(cached) " >&6 273667332fb9Smrgelse 2737eed6fe1cSmrg if test -n "$ac_ct_CC"; then 2738eed6fe1cSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 273967332fb9Smrgelse 274067332fb9Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 274167332fb9Smrgfor as_dir in $PATH 274267332fb9Smrgdo 274367332fb9Smrg IFS=$as_save_IFS 274467332fb9Smrg test -z "$as_dir" && as_dir=. 2745145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2746eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2747eed6fe1cSmrg ac_cv_prog_ac_ct_CC="gcc" 2748145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 274967332fb9Smrg break 2 275067332fb9Smrg fi 275167332fb9Smrgdone 2752145f796fSmrg done 2753eed6fe1cSmrgIFS=$as_save_IFS 275467332fb9Smrg 275567332fb9Smrgfi 275667332fb9Smrgfi 2757eed6fe1cSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2758eed6fe1cSmrgif test -n "$ac_ct_CC"; then 2759145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2760eed6fe1cSmrg$as_echo "$ac_ct_CC" >&6; } 276167332fb9Smrgelse 2762145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2763eed6fe1cSmrg$as_echo "no" >&6; } 276467332fb9Smrgfi 276567332fb9Smrg 2766eed6fe1cSmrg if test "x$ac_ct_CC" = x; then 2767eed6fe1cSmrg CC="" 2768eed6fe1cSmrg else 2769eed6fe1cSmrg case $cross_compiling:$ac_tool_warned in 2770eed6fe1cSmrgyes:) 2771145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2772eed6fe1cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2773eed6fe1cSmrgac_tool_warned=yes ;; 2774eed6fe1cSmrgesac 2775eed6fe1cSmrg CC=$ac_ct_CC 2776eed6fe1cSmrg fi 277767332fb9Smrgelse 2778eed6fe1cSmrg CC="$ac_cv_prog_CC" 277967332fb9Smrgfi 278067332fb9Smrg 2781eed6fe1cSmrgif test -z "$CC"; then 2782eed6fe1cSmrg if test -n "$ac_tool_prefix"; then 2783eed6fe1cSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2784eed6fe1cSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 2785145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2786eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2787145f796fSmrgif ${ac_cv_prog_CC+:} false; then : 2788eed6fe1cSmrg $as_echo_n "(cached) " >&6 278967332fb9Smrgelse 2790eed6fe1cSmrg if test -n "$CC"; then 2791eed6fe1cSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2792eed6fe1cSmrgelse 2793eed6fe1cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2794eed6fe1cSmrgfor as_dir in $PATH 2795eed6fe1cSmrgdo 2796eed6fe1cSmrg IFS=$as_save_IFS 2797eed6fe1cSmrg test -z "$as_dir" && as_dir=. 2798145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2799eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2800eed6fe1cSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 2801145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2802eed6fe1cSmrg break 2 2803eed6fe1cSmrg fi 2804eed6fe1cSmrgdone 2805145f796fSmrg done 2806eed6fe1cSmrgIFS=$as_save_IFS 2807eed6fe1cSmrg 2808eed6fe1cSmrgfi 2809eed6fe1cSmrgfi 2810eed6fe1cSmrgCC=$ac_cv_prog_CC 2811eed6fe1cSmrgif test -n "$CC"; then 2812145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2813eed6fe1cSmrg$as_echo "$CC" >&6; } 2814eed6fe1cSmrgelse 2815145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2816eed6fe1cSmrg$as_echo "no" >&6; } 2817eed6fe1cSmrgfi 2818eed6fe1cSmrg 2819eed6fe1cSmrg 2820eed6fe1cSmrg fi 2821eed6fe1cSmrgfi 2822eed6fe1cSmrgif test -z "$CC"; then 2823eed6fe1cSmrg # Extract the first word of "cc", so it can be a program name with args. 2824eed6fe1cSmrgset dummy cc; ac_word=$2 2825145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2826eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2827145f796fSmrgif ${ac_cv_prog_CC+:} false; then : 2828eed6fe1cSmrg $as_echo_n "(cached) " >&6 2829eed6fe1cSmrgelse 2830eed6fe1cSmrg if test -n "$CC"; then 2831eed6fe1cSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2832eed6fe1cSmrgelse 2833eed6fe1cSmrg ac_prog_rejected=no 2834eed6fe1cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2835eed6fe1cSmrgfor as_dir in $PATH 2836eed6fe1cSmrgdo 2837eed6fe1cSmrg IFS=$as_save_IFS 2838eed6fe1cSmrg test -z "$as_dir" && as_dir=. 2839145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2840eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2841eed6fe1cSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2842eed6fe1cSmrg ac_prog_rejected=yes 2843eed6fe1cSmrg continue 2844eed6fe1cSmrg fi 2845eed6fe1cSmrg ac_cv_prog_CC="cc" 2846145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2847eed6fe1cSmrg break 2 2848eed6fe1cSmrg fi 2849eed6fe1cSmrgdone 2850145f796fSmrg done 2851eed6fe1cSmrgIFS=$as_save_IFS 2852eed6fe1cSmrg 2853eed6fe1cSmrgif test $ac_prog_rejected = yes; then 2854eed6fe1cSmrg # We found a bogon in the path, so make sure we never use it. 2855eed6fe1cSmrg set dummy $ac_cv_prog_CC 2856eed6fe1cSmrg shift 2857eed6fe1cSmrg if test $# != 0; then 2858eed6fe1cSmrg # We chose a different compiler from the bogus one. 2859eed6fe1cSmrg # However, it has the same basename, so the bogon will be chosen 2860eed6fe1cSmrg # first if we set CC to just the basename; use the full file name. 2861eed6fe1cSmrg shift 2862eed6fe1cSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2863eed6fe1cSmrg fi 2864eed6fe1cSmrgfi 2865eed6fe1cSmrgfi 2866eed6fe1cSmrgfi 2867eed6fe1cSmrgCC=$ac_cv_prog_CC 2868eed6fe1cSmrgif test -n "$CC"; then 2869145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2870eed6fe1cSmrg$as_echo "$CC" >&6; } 2871eed6fe1cSmrgelse 2872145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2873eed6fe1cSmrg$as_echo "no" >&6; } 2874eed6fe1cSmrgfi 2875eed6fe1cSmrg 2876eed6fe1cSmrg 2877eed6fe1cSmrgfi 2878eed6fe1cSmrgif test -z "$CC"; then 2879eed6fe1cSmrg if test -n "$ac_tool_prefix"; then 2880eed6fe1cSmrg for ac_prog in cl.exe 2881eed6fe1cSmrg do 2882eed6fe1cSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2883eed6fe1cSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 2884145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2885eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2886145f796fSmrgif ${ac_cv_prog_CC+:} false; then : 2887eed6fe1cSmrg $as_echo_n "(cached) " >&6 2888eed6fe1cSmrgelse 2889eed6fe1cSmrg if test -n "$CC"; then 2890eed6fe1cSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2891eed6fe1cSmrgelse 2892eed6fe1cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2893eed6fe1cSmrgfor as_dir in $PATH 2894eed6fe1cSmrgdo 2895eed6fe1cSmrg IFS=$as_save_IFS 2896eed6fe1cSmrg test -z "$as_dir" && as_dir=. 2897145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2898eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2899eed6fe1cSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2900145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2901eed6fe1cSmrg break 2 2902eed6fe1cSmrg fi 2903eed6fe1cSmrgdone 2904145f796fSmrg done 2905eed6fe1cSmrgIFS=$as_save_IFS 2906eed6fe1cSmrg 2907eed6fe1cSmrgfi 2908eed6fe1cSmrgfi 2909eed6fe1cSmrgCC=$ac_cv_prog_CC 2910eed6fe1cSmrgif test -n "$CC"; then 2911145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2912eed6fe1cSmrg$as_echo "$CC" >&6; } 2913eed6fe1cSmrgelse 2914145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2915eed6fe1cSmrg$as_echo "no" >&6; } 2916eed6fe1cSmrgfi 2917eed6fe1cSmrg 2918eed6fe1cSmrg 2919eed6fe1cSmrg test -n "$CC" && break 2920eed6fe1cSmrg done 2921eed6fe1cSmrgfi 2922eed6fe1cSmrgif test -z "$CC"; then 2923eed6fe1cSmrg ac_ct_CC=$CC 2924eed6fe1cSmrg for ac_prog in cl.exe 2925eed6fe1cSmrgdo 2926eed6fe1cSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2927eed6fe1cSmrgset dummy $ac_prog; ac_word=$2 2928145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2929eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 2930145f796fSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 2931eed6fe1cSmrg $as_echo_n "(cached) " >&6 2932eed6fe1cSmrgelse 2933eed6fe1cSmrg if test -n "$ac_ct_CC"; then 2934eed6fe1cSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2935eed6fe1cSmrgelse 2936eed6fe1cSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2937eed6fe1cSmrgfor as_dir in $PATH 2938eed6fe1cSmrgdo 2939eed6fe1cSmrg IFS=$as_save_IFS 2940eed6fe1cSmrg test -z "$as_dir" && as_dir=. 2941145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2942eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2943eed6fe1cSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 2944145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2945eed6fe1cSmrg break 2 2946eed6fe1cSmrg fi 2947eed6fe1cSmrgdone 2948145f796fSmrg done 2949eed6fe1cSmrgIFS=$as_save_IFS 2950eed6fe1cSmrg 2951eed6fe1cSmrgfi 2952eed6fe1cSmrgfi 2953eed6fe1cSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2954eed6fe1cSmrgif test -n "$ac_ct_CC"; then 2955145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2956eed6fe1cSmrg$as_echo "$ac_ct_CC" >&6; } 2957eed6fe1cSmrgelse 2958145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2959eed6fe1cSmrg$as_echo "no" >&6; } 2960eed6fe1cSmrgfi 2961eed6fe1cSmrg 2962eed6fe1cSmrg 2963eed6fe1cSmrg test -n "$ac_ct_CC" && break 2964eed6fe1cSmrgdone 2965eed6fe1cSmrg 2966eed6fe1cSmrg if test "x$ac_ct_CC" = x; then 2967eed6fe1cSmrg CC="" 2968eed6fe1cSmrg else 2969eed6fe1cSmrg case $cross_compiling:$ac_tool_warned in 2970eed6fe1cSmrgyes:) 2971145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2972eed6fe1cSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2973eed6fe1cSmrgac_tool_warned=yes ;; 2974eed6fe1cSmrgesac 2975eed6fe1cSmrg CC=$ac_ct_CC 2976eed6fe1cSmrg fi 2977eed6fe1cSmrgfi 2978eed6fe1cSmrg 2979eed6fe1cSmrgfi 2980eed6fe1cSmrg 2981eed6fe1cSmrg 2982145f796fSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2983eed6fe1cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2984145f796fSmrgas_fn_error $? "no acceptable C compiler found in \$PATH 2985145f796fSmrgSee \`config.log' for more details" "$LINENO" 5; } 2986eed6fe1cSmrg 2987eed6fe1cSmrg# Provide some information about the compiler. 2988145f796fSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2989eed6fe1cSmrgset X $ac_compile 2990eed6fe1cSmrgac_compiler=$2 2991145f796fSmrgfor ac_option in --version -v -V -qversion; do 2992145f796fSmrg { { ac_try="$ac_compiler $ac_option >&5" 2993eed6fe1cSmrgcase "(($ac_try" in 2994eed6fe1cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2995eed6fe1cSmrg *) ac_try_echo=$ac_try;; 2996eed6fe1cSmrgesac 2997145f796fSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2998145f796fSmrg$as_echo "$ac_try_echo"; } >&5 2999145f796fSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3000eed6fe1cSmrg ac_status=$? 3001145f796fSmrg if test -s conftest.err; then 3002145f796fSmrg sed '10a\ 3003145f796fSmrg... rest of stderr output deleted ... 3004145f796fSmrg 10q' conftest.err >conftest.er1 3005145f796fSmrg cat conftest.er1 >&5 3006145f796fSmrg fi 3007145f796fSmrg rm -f conftest.er1 conftest.err 3008145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3009145f796fSmrg test $ac_status = 0; } 3010145f796fSmrgdone 3011eed6fe1cSmrg 3012145f796fSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3013eed6fe1cSmrg/* end confdefs.h. */ 3014eed6fe1cSmrg 3015eed6fe1cSmrgint 3016eed6fe1cSmrgmain () 3017eed6fe1cSmrg{ 3018eed6fe1cSmrg 3019eed6fe1cSmrg ; 3020eed6fe1cSmrg return 0; 3021eed6fe1cSmrg} 3022eed6fe1cSmrg_ACEOF 3023eed6fe1cSmrgac_clean_files_save=$ac_clean_files 3024eed6fe1cSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3025eed6fe1cSmrg# Try to create an executable without -o first, disregard a.out. 3026eed6fe1cSmrg# It will help us diagnose broken compilers, and finding out an intuition 3027eed6fe1cSmrg# of exeext. 3028145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3029145f796fSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 3030eed6fe1cSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3031eed6fe1cSmrg 3032eed6fe1cSmrg# The possible output files: 3033eed6fe1cSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3034eed6fe1cSmrg 3035eed6fe1cSmrgac_rmfiles= 3036eed6fe1cSmrgfor ac_file in $ac_files 3037eed6fe1cSmrgdo 3038eed6fe1cSmrg case $ac_file in 3039eed6fe1cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3040eed6fe1cSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3041eed6fe1cSmrg esac 3042eed6fe1cSmrgdone 3043eed6fe1cSmrgrm -f $ac_rmfiles 3044eed6fe1cSmrg 3045145f796fSmrgif { { ac_try="$ac_link_default" 3046eed6fe1cSmrgcase "(($ac_try" in 3047eed6fe1cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3048eed6fe1cSmrg *) ac_try_echo=$ac_try;; 3049eed6fe1cSmrgesac 3050145f796fSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3051145f796fSmrg$as_echo "$ac_try_echo"; } >&5 3052eed6fe1cSmrg (eval "$ac_link_default") 2>&5 3053eed6fe1cSmrg ac_status=$? 3054145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3055145f796fSmrg test $ac_status = 0; }; then : 3056eed6fe1cSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3057eed6fe1cSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3058eed6fe1cSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 3059eed6fe1cSmrg# so that the user can short-circuit this test for compilers unknown to 3060eed6fe1cSmrg# Autoconf. 3061eed6fe1cSmrgfor ac_file in $ac_files '' 3062eed6fe1cSmrgdo 3063eed6fe1cSmrg test -f "$ac_file" || continue 3064eed6fe1cSmrg case $ac_file in 3065eed6fe1cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3066eed6fe1cSmrg ;; 3067eed6fe1cSmrg [ab].out ) 3068eed6fe1cSmrg # We found the default executable, but exeext='' is most 3069eed6fe1cSmrg # certainly right. 3070eed6fe1cSmrg break;; 3071eed6fe1cSmrg *.* ) 3072145f796fSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3073eed6fe1cSmrg then :; else 3074eed6fe1cSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3075eed6fe1cSmrg fi 3076eed6fe1cSmrg # We set ac_cv_exeext here because the later test for it is not 3077eed6fe1cSmrg # safe: cross compilers may not add the suffix if given an `-o' 3078eed6fe1cSmrg # argument, so we may need to know it at that point already. 3079eed6fe1cSmrg # Even if this section looks crufty: it has the advantage of 3080eed6fe1cSmrg # actually working. 3081eed6fe1cSmrg break;; 3082eed6fe1cSmrg * ) 3083eed6fe1cSmrg break;; 3084eed6fe1cSmrg esac 3085eed6fe1cSmrgdone 3086eed6fe1cSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 3087eed6fe1cSmrg 3088eed6fe1cSmrgelse 3089eed6fe1cSmrg ac_file='' 3090eed6fe1cSmrgfi 3091145f796fSmrgif test -z "$ac_file"; then : 3092145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3093145f796fSmrg$as_echo "no" >&6; } 3094145f796fSmrg$as_echo "$as_me: failed program was:" >&5 3095eed6fe1cSmrgsed 's/^/| /' conftest.$ac_ext >&5 3096eed6fe1cSmrg 3097145f796fSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3098eed6fe1cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3099145f796fSmrgas_fn_error 77 "C compiler cannot create executables 3100145f796fSmrgSee \`config.log' for more details" "$LINENO" 5; } 3101145f796fSmrgelse 3102145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3103145f796fSmrg$as_echo "yes" >&6; } 3104eed6fe1cSmrgfi 3105145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3106145f796fSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 3107145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3108145f796fSmrg$as_echo "$ac_file" >&6; } 3109eed6fe1cSmrgac_exeext=$ac_cv_exeext 3110eed6fe1cSmrg 3111eed6fe1cSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3112eed6fe1cSmrgac_clean_files=$ac_clean_files_save 3113145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3114eed6fe1cSmrg$as_echo_n "checking for suffix of executables... " >&6; } 3115145f796fSmrgif { { ac_try="$ac_link" 3116eed6fe1cSmrgcase "(($ac_try" in 3117eed6fe1cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3118eed6fe1cSmrg *) ac_try_echo=$ac_try;; 3119eed6fe1cSmrgesac 3120145f796fSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3121145f796fSmrg$as_echo "$ac_try_echo"; } >&5 3122eed6fe1cSmrg (eval "$ac_link") 2>&5 3123eed6fe1cSmrg ac_status=$? 3124145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3125145f796fSmrg test $ac_status = 0; }; then : 3126eed6fe1cSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 3127eed6fe1cSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3128eed6fe1cSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 3129eed6fe1cSmrg# `rm'. 3130eed6fe1cSmrgfor ac_file in conftest.exe conftest conftest.*; do 3131eed6fe1cSmrg test -f "$ac_file" || continue 3132eed6fe1cSmrg case $ac_file in 3133eed6fe1cSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3134eed6fe1cSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3135eed6fe1cSmrg break;; 3136eed6fe1cSmrg * ) break;; 3137eed6fe1cSmrg esac 3138eed6fe1cSmrgdone 3139eed6fe1cSmrgelse 3140145f796fSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3141eed6fe1cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3142145f796fSmrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 3143145f796fSmrgSee \`config.log' for more details" "$LINENO" 5; } 3144eed6fe1cSmrgfi 3145145f796fSmrgrm -f conftest conftest$ac_cv_exeext 3146145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3147eed6fe1cSmrg$as_echo "$ac_cv_exeext" >&6; } 3148eed6fe1cSmrg 3149eed6fe1cSmrgrm -f conftest.$ac_ext 3150eed6fe1cSmrgEXEEXT=$ac_cv_exeext 3151eed6fe1cSmrgac_exeext=$EXEEXT 3152145f796fSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3153eed6fe1cSmrg/* end confdefs.h. */ 3154145f796fSmrg#include <stdio.h> 3155eed6fe1cSmrgint 3156eed6fe1cSmrgmain () 3157eed6fe1cSmrg{ 3158145f796fSmrgFILE *f = fopen ("conftest.out", "w"); 3159145f796fSmrg return ferror (f) || fclose (f) != 0; 3160eed6fe1cSmrg 3161eed6fe1cSmrg ; 3162eed6fe1cSmrg return 0; 3163eed6fe1cSmrg} 3164eed6fe1cSmrg_ACEOF 3165145f796fSmrgac_clean_files="$ac_clean_files conftest.out" 3166145f796fSmrg# Check that the compiler produces executables we can run. If not, either 3167145f796fSmrg# the compiler is broken, or we cross compile. 3168145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3169145f796fSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 3170145f796fSmrgif test "$cross_compiling" != yes; then 3171145f796fSmrg { { ac_try="$ac_link" 3172eed6fe1cSmrgcase "(($ac_try" in 3173eed6fe1cSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3174eed6fe1cSmrg *) ac_try_echo=$ac_try;; 3175eed6fe1cSmrgesac 3176145f796fSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3177145f796fSmrg$as_echo "$ac_try_echo"; } >&5 3178145f796fSmrg (eval "$ac_link") 2>&5 3179eed6fe1cSmrg ac_status=$? 3180145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3181145f796fSmrg test $ac_status = 0; } 3182145f796fSmrg if { ac_try='./conftest$ac_cv_exeext' 3183145f796fSmrg { { case "(($ac_try" in 3184145f796fSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3185145f796fSmrg *) ac_try_echo=$ac_try;; 3186145f796fSmrgesac 3187145f796fSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3188145f796fSmrg$as_echo "$ac_try_echo"; } >&5 3189145f796fSmrg (eval "$ac_try") 2>&5 3190145f796fSmrg ac_status=$? 3191145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3192145f796fSmrg test $ac_status = 0; }; }; then 3193145f796fSmrg cross_compiling=no 3194145f796fSmrg else 3195145f796fSmrg if test "$cross_compiling" = maybe; then 3196145f796fSmrg cross_compiling=yes 3197145f796fSmrg else 3198145f796fSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3199eed6fe1cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3200145f796fSmrgas_fn_error $? "cannot run C compiled programs. 3201145f796fSmrgIf you meant to cross compile, use \`--host'. 3202145f796fSmrgSee \`config.log' for more details" "$LINENO" 5; } 3203145f796fSmrg fi 3204145f796fSmrg fi 3205eed6fe1cSmrgfi 3206145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3207145f796fSmrg$as_echo "$cross_compiling" >&6; } 3208145f796fSmrg 3209145f796fSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3210145f796fSmrgac_clean_files=$ac_clean_files_save 3211145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3212145f796fSmrg$as_echo_n "checking for suffix of object files... " >&6; } 3213145f796fSmrgif ${ac_cv_objext+:} false; then : 3214145f796fSmrg $as_echo_n "(cached) " >&6 3215145f796fSmrgelse 3216145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3217145f796fSmrg/* end confdefs.h. */ 3218145f796fSmrg 3219145f796fSmrgint 3220145f796fSmrgmain () 3221145f796fSmrg{ 3222145f796fSmrg 3223145f796fSmrg ; 3224145f796fSmrg return 0; 3225145f796fSmrg} 3226145f796fSmrg_ACEOF 3227145f796fSmrgrm -f conftest.o conftest.obj 3228145f796fSmrgif { { ac_try="$ac_compile" 3229145f796fSmrgcase "(($ac_try" in 3230145f796fSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3231145f796fSmrg *) ac_try_echo=$ac_try;; 3232145f796fSmrgesac 3233145f796fSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3234145f796fSmrg$as_echo "$ac_try_echo"; } >&5 3235145f796fSmrg (eval "$ac_compile") 2>&5 3236145f796fSmrg ac_status=$? 3237145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3238145f796fSmrg test $ac_status = 0; }; then : 3239145f796fSmrg for ac_file in conftest.o conftest.obj conftest.*; do 3240145f796fSmrg test -f "$ac_file" || continue; 3241145f796fSmrg case $ac_file in 3242145f796fSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3243145f796fSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3244145f796fSmrg break;; 3245145f796fSmrg esac 3246145f796fSmrgdone 3247145f796fSmrgelse 3248145f796fSmrg $as_echo "$as_me: failed program was:" >&5 3249145f796fSmrgsed 's/^/| /' conftest.$ac_ext >&5 3250eed6fe1cSmrg 3251145f796fSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3252145f796fSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3253145f796fSmrgas_fn_error $? "cannot compute suffix of object files: cannot compile 3254145f796fSmrgSee \`config.log' for more details" "$LINENO" 5; } 3255145f796fSmrgfi 3256eed6fe1cSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 3257eed6fe1cSmrgfi 3258145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3259eed6fe1cSmrg$as_echo "$ac_cv_objext" >&6; } 3260eed6fe1cSmrgOBJEXT=$ac_cv_objext 3261eed6fe1cSmrgac_objext=$OBJEXT 3262145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3263eed6fe1cSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3264145f796fSmrgif ${ac_cv_c_compiler_gnu+:} false; then : 3265eed6fe1cSmrg $as_echo_n "(cached) " >&6 3266eed6fe1cSmrgelse 3267145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3268eed6fe1cSmrg/* end confdefs.h. */ 3269eed6fe1cSmrg 3270eed6fe1cSmrgint 3271eed6fe1cSmrgmain () 3272eed6fe1cSmrg{ 3273eed6fe1cSmrg#ifndef __GNUC__ 3274eed6fe1cSmrg choke me 3275eed6fe1cSmrg#endif 3276eed6fe1cSmrg 3277eed6fe1cSmrg ; 3278eed6fe1cSmrg return 0; 3279eed6fe1cSmrg} 3280eed6fe1cSmrg_ACEOF 3281145f796fSmrgif ac_fn_c_try_compile "$LINENO"; then : 3282eed6fe1cSmrg ac_compiler_gnu=yes 3283eed6fe1cSmrgelse 3284145f796fSmrg ac_compiler_gnu=no 3285eed6fe1cSmrgfi 3286eed6fe1cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3287eed6fe1cSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 3288eed6fe1cSmrg 3289eed6fe1cSmrgfi 3290145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3291eed6fe1cSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3292eed6fe1cSmrgif test $ac_compiler_gnu = yes; then 3293eed6fe1cSmrg GCC=yes 3294eed6fe1cSmrgelse 3295eed6fe1cSmrg GCC= 3296eed6fe1cSmrgfi 3297eed6fe1cSmrgac_test_CFLAGS=${CFLAGS+set} 3298eed6fe1cSmrgac_save_CFLAGS=$CFLAGS 3299145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3300eed6fe1cSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 3301145f796fSmrgif ${ac_cv_prog_cc_g+:} false; then : 3302eed6fe1cSmrg $as_echo_n "(cached) " >&6 3303eed6fe1cSmrgelse 3304eed6fe1cSmrg ac_save_c_werror_flag=$ac_c_werror_flag 3305eed6fe1cSmrg ac_c_werror_flag=yes 3306eed6fe1cSmrg ac_cv_prog_cc_g=no 3307eed6fe1cSmrg CFLAGS="-g" 3308145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3309eed6fe1cSmrg/* end confdefs.h. */ 3310eed6fe1cSmrg 3311eed6fe1cSmrgint 3312eed6fe1cSmrgmain () 3313eed6fe1cSmrg{ 3314eed6fe1cSmrg 3315eed6fe1cSmrg ; 3316eed6fe1cSmrg return 0; 3317eed6fe1cSmrg} 3318eed6fe1cSmrg_ACEOF 3319145f796fSmrgif ac_fn_c_try_compile "$LINENO"; then : 3320eed6fe1cSmrg ac_cv_prog_cc_g=yes 3321eed6fe1cSmrgelse 3322145f796fSmrg CFLAGS="" 3323145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3324eed6fe1cSmrg/* end confdefs.h. */ 3325eed6fe1cSmrg 3326eed6fe1cSmrgint 3327eed6fe1cSmrgmain () 3328eed6fe1cSmrg{ 3329eed6fe1cSmrg 3330eed6fe1cSmrg ; 3331eed6fe1cSmrg return 0; 3332eed6fe1cSmrg} 3333eed6fe1cSmrg_ACEOF 3334145f796fSmrgif ac_fn_c_try_compile "$LINENO"; then : 3335eed6fe1cSmrg 3336145f796fSmrgelse 3337145f796fSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3338eed6fe1cSmrg CFLAGS="-g" 3339145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3340eed6fe1cSmrg/* end confdefs.h. */ 3341eed6fe1cSmrg 3342eed6fe1cSmrgint 3343eed6fe1cSmrgmain () 3344eed6fe1cSmrg{ 3345eed6fe1cSmrg 3346eed6fe1cSmrg ; 3347eed6fe1cSmrg return 0; 3348eed6fe1cSmrg} 3349eed6fe1cSmrg_ACEOF 3350145f796fSmrgif ac_fn_c_try_compile "$LINENO"; then : 3351eed6fe1cSmrg ac_cv_prog_cc_g=yes 3352eed6fe1cSmrgfi 3353eed6fe1cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3354eed6fe1cSmrgfi 3355eed6fe1cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3356eed6fe1cSmrgfi 3357eed6fe1cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3358eed6fe1cSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3359eed6fe1cSmrgfi 3360145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3361eed6fe1cSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 3362eed6fe1cSmrgif test "$ac_test_CFLAGS" = set; then 3363eed6fe1cSmrg CFLAGS=$ac_save_CFLAGS 3364eed6fe1cSmrgelif test $ac_cv_prog_cc_g = yes; then 3365eed6fe1cSmrg if test "$GCC" = yes; then 3366eed6fe1cSmrg CFLAGS="-g -O2" 3367eed6fe1cSmrg else 3368eed6fe1cSmrg CFLAGS="-g" 3369eed6fe1cSmrg fi 3370eed6fe1cSmrgelse 3371eed6fe1cSmrg if test "$GCC" = yes; then 3372eed6fe1cSmrg CFLAGS="-O2" 3373eed6fe1cSmrg else 3374eed6fe1cSmrg CFLAGS= 3375eed6fe1cSmrg fi 3376eed6fe1cSmrgfi 3377145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3378eed6fe1cSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3379145f796fSmrgif ${ac_cv_prog_cc_c89+:} false; then : 3380eed6fe1cSmrg $as_echo_n "(cached) " >&6 3381eed6fe1cSmrgelse 3382eed6fe1cSmrg ac_cv_prog_cc_c89=no 3383eed6fe1cSmrgac_save_CC=$CC 3384145f796fSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3385eed6fe1cSmrg/* end confdefs.h. */ 3386eed6fe1cSmrg#include <stdarg.h> 3387eed6fe1cSmrg#include <stdio.h> 3388eed6fe1cSmrg#include <sys/types.h> 3389eed6fe1cSmrg#include <sys/stat.h> 3390eed6fe1cSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3391eed6fe1cSmrgstruct buf { int x; }; 3392eed6fe1cSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3393eed6fe1cSmrgstatic char *e (p, i) 3394eed6fe1cSmrg char **p; 3395eed6fe1cSmrg int i; 3396eed6fe1cSmrg{ 3397eed6fe1cSmrg return p[i]; 3398eed6fe1cSmrg} 3399eed6fe1cSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3400eed6fe1cSmrg{ 3401eed6fe1cSmrg char *s; 3402eed6fe1cSmrg va_list v; 3403eed6fe1cSmrg va_start (v,p); 3404eed6fe1cSmrg s = g (p, va_arg (v,int)); 3405eed6fe1cSmrg va_end (v); 3406eed6fe1cSmrg return s; 3407eed6fe1cSmrg} 3408eed6fe1cSmrg 3409eed6fe1cSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3410eed6fe1cSmrg function prototypes and stuff, but not '\xHH' hex character constants. 3411eed6fe1cSmrg These don't provoke an error unfortunately, instead are silently treated 3412eed6fe1cSmrg as 'x'. The following induces an error, until -std is added to get 3413eed6fe1cSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3414eed6fe1cSmrg array size at least. It's necessary to write '\x00'==0 to get something 3415eed6fe1cSmrg that's true only with -std. */ 3416eed6fe1cSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3417eed6fe1cSmrg 3418eed6fe1cSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3419eed6fe1cSmrg inside strings and character constants. */ 3420eed6fe1cSmrg#define FOO(x) 'x' 3421eed6fe1cSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3422eed6fe1cSmrg 3423eed6fe1cSmrgint test (int i, double x); 3424eed6fe1cSmrgstruct s1 {int (*f) (int a);}; 3425eed6fe1cSmrgstruct s2 {int (*f) (double a);}; 3426eed6fe1cSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3427eed6fe1cSmrgint argc; 3428eed6fe1cSmrgchar **argv; 3429eed6fe1cSmrgint 3430eed6fe1cSmrgmain () 3431eed6fe1cSmrg{ 3432eed6fe1cSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3433eed6fe1cSmrg ; 3434eed6fe1cSmrg return 0; 3435eed6fe1cSmrg} 3436eed6fe1cSmrg_ACEOF 3437eed6fe1cSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3438eed6fe1cSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3439eed6fe1cSmrgdo 3440eed6fe1cSmrg CC="$ac_save_CC $ac_arg" 3441145f796fSmrg if ac_fn_c_try_compile "$LINENO"; then : 3442eed6fe1cSmrg ac_cv_prog_cc_c89=$ac_arg 3443eed6fe1cSmrgfi 3444eed6fe1cSmrgrm -f core conftest.err conftest.$ac_objext 3445eed6fe1cSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3446eed6fe1cSmrgdone 3447eed6fe1cSmrgrm -f conftest.$ac_ext 3448eed6fe1cSmrgCC=$ac_save_CC 3449eed6fe1cSmrg 3450eed6fe1cSmrgfi 3451eed6fe1cSmrg# AC_CACHE_VAL 3452eed6fe1cSmrgcase "x$ac_cv_prog_cc_c89" in 3453eed6fe1cSmrg x) 3454145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3455eed6fe1cSmrg$as_echo "none needed" >&6; } ;; 3456eed6fe1cSmrg xno) 3457145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3458eed6fe1cSmrg$as_echo "unsupported" >&6; } ;; 3459eed6fe1cSmrg *) 3460eed6fe1cSmrg CC="$CC $ac_cv_prog_cc_c89" 3461145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3462eed6fe1cSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3463eed6fe1cSmrgesac 3464145f796fSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 3465eed6fe1cSmrg 3466145f796fSmrgfi 3467eed6fe1cSmrg 3468eed6fe1cSmrgac_ext=c 3469eed6fe1cSmrgac_cpp='$CPP $CPPFLAGS' 3470eed6fe1cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3471eed6fe1cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3472eed6fe1cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3473eed6fe1cSmrg 3474eed6fe1cSmrgdepcc="$CC" am_compiler_list= 3475eed6fe1cSmrg 3476145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3477eed6fe1cSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 3478145f796fSmrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 3479eed6fe1cSmrg $as_echo_n "(cached) " >&6 3480eed6fe1cSmrgelse 3481eed6fe1cSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3482eed6fe1cSmrg # We make a subdir and do the tests there. Otherwise we can end up 3483eed6fe1cSmrg # making bogus files that we don't know about and never remove. For 3484eed6fe1cSmrg # instance it was reported that on HP-UX the gcc test will end up 3485eed6fe1cSmrg # making a dummy file named `D' -- because `-MD' means `put the output 3486eed6fe1cSmrg # in D'. 3487eed6fe1cSmrg mkdir conftest.dir 3488eed6fe1cSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 3489eed6fe1cSmrg # using a relative directory. 3490eed6fe1cSmrg cp "$am_depcomp" conftest.dir 3491eed6fe1cSmrg cd conftest.dir 3492eed6fe1cSmrg # We will build objects and dependencies in a subdirectory because 3493eed6fe1cSmrg # it helps to detect inapplicable dependency modes. For instance 3494eed6fe1cSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 3495eed6fe1cSmrg # side effect of compilation, but ICC will put the dependencies in 3496eed6fe1cSmrg # the current directory while Tru64 will put them in the object 3497eed6fe1cSmrg # directory. 3498eed6fe1cSmrg mkdir sub 3499eed6fe1cSmrg 3500eed6fe1cSmrg am_cv_CC_dependencies_compiler_type=none 3501eed6fe1cSmrg if test "$am_compiler_list" = ""; then 3502eed6fe1cSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3503eed6fe1cSmrg fi 3504eed6fe1cSmrg am__universal=false 3505eed6fe1cSmrg case " $depcc " in #( 3506eed6fe1cSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 3507eed6fe1cSmrg esac 3508eed6fe1cSmrg 3509eed6fe1cSmrg for depmode in $am_compiler_list; do 3510eed6fe1cSmrg # Setup a source with many dependencies, because some compilers 3511eed6fe1cSmrg # like to wrap large dependency lists on column 80 (with \), and 3512eed6fe1cSmrg # we should not choose a depcomp mode which is confused by this. 3513eed6fe1cSmrg # 3514eed6fe1cSmrg # We need to recreate these files for each test, as the compiler may 3515eed6fe1cSmrg # overwrite some of them when testing with obscure command lines. 3516eed6fe1cSmrg # This happens at least with the AIX C compiler. 3517eed6fe1cSmrg : > sub/conftest.c 3518eed6fe1cSmrg for i in 1 2 3 4 5 6; do 3519eed6fe1cSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 3520eed6fe1cSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3521eed6fe1cSmrg # Solaris 8's {/usr,}/bin/sh. 3522eed6fe1cSmrg touch sub/conftst$i.h 3523eed6fe1cSmrg done 3524eed6fe1cSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3525eed6fe1cSmrg 3526eed6fe1cSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 3527eed6fe1cSmrg # mode. It turns out that the SunPro C++ compiler does not properly 3528eed6fe1cSmrg # handle `-M -o', and we need to detect this. Also, some Intel 3529eed6fe1cSmrg # versions had trouble with output in subdirs 3530eed6fe1cSmrg am__obj=sub/conftest.${OBJEXT-o} 3531eed6fe1cSmrg am__minus_obj="-o $am__obj" 3532eed6fe1cSmrg case $depmode in 3533eed6fe1cSmrg gcc) 3534eed6fe1cSmrg # This depmode causes a compiler race in universal mode. 3535eed6fe1cSmrg test "$am__universal" = false || continue 3536eed6fe1cSmrg ;; 3537eed6fe1cSmrg nosideeffect) 3538eed6fe1cSmrg # after this tag, mechanisms are not by side-effect, so they'll 3539eed6fe1cSmrg # only be used when explicitly requested 3540eed6fe1cSmrg if test "x$enable_dependency_tracking" = xyes; then 3541eed6fe1cSmrg continue 3542eed6fe1cSmrg else 3543eed6fe1cSmrg break 3544eed6fe1cSmrg fi 3545eed6fe1cSmrg ;; 3546eed6fe1cSmrg msvisualcpp | msvcmsys) 3547eed6fe1cSmrg # This compiler won't grok `-c -o', but also, the minuso test has 3548eed6fe1cSmrg # not run yet. These depmodes are late enough in the game, and 3549eed6fe1cSmrg # so weak that their functioning should not be impacted. 3550eed6fe1cSmrg am__obj=conftest.${OBJEXT-o} 3551eed6fe1cSmrg am__minus_obj= 3552eed6fe1cSmrg ;; 3553eed6fe1cSmrg none) break ;; 3554eed6fe1cSmrg esac 3555eed6fe1cSmrg if depmode=$depmode \ 3556eed6fe1cSmrg source=sub/conftest.c object=$am__obj \ 3557eed6fe1cSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3558eed6fe1cSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3559eed6fe1cSmrg >/dev/null 2>conftest.err && 3560eed6fe1cSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3561eed6fe1cSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3562eed6fe1cSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3563eed6fe1cSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3564eed6fe1cSmrg # icc doesn't choke on unknown options, it will just issue warnings 3565eed6fe1cSmrg # or remarks (even with -Werror). So we grep stderr for any message 3566eed6fe1cSmrg # that says an option was ignored or not supported. 3567eed6fe1cSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 3568eed6fe1cSmrg # icc: Command line warning: ignoring option '-M'; no argument required 3569eed6fe1cSmrg # The diagnosis changed in icc 8.0: 3570eed6fe1cSmrg # icc: Command line remark: option '-MP' not supported 3571eed6fe1cSmrg if (grep 'ignoring option' conftest.err || 3572eed6fe1cSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3573eed6fe1cSmrg am_cv_CC_dependencies_compiler_type=$depmode 3574eed6fe1cSmrg break 3575eed6fe1cSmrg fi 3576eed6fe1cSmrg fi 3577eed6fe1cSmrg done 3578eed6fe1cSmrg 3579eed6fe1cSmrg cd .. 3580eed6fe1cSmrg rm -rf conftest.dir 3581eed6fe1cSmrgelse 3582eed6fe1cSmrg am_cv_CC_dependencies_compiler_type=none 3583eed6fe1cSmrgfi 3584eed6fe1cSmrg 3585eed6fe1cSmrgfi 3586145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3587eed6fe1cSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3588eed6fe1cSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3589eed6fe1cSmrg 3590eed6fe1cSmrg if 3591eed6fe1cSmrg test "x$enable_dependency_tracking" != xno \ 3592eed6fe1cSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3593eed6fe1cSmrg am__fastdepCC_TRUE= 3594eed6fe1cSmrg am__fastdepCC_FALSE='#' 3595eed6fe1cSmrgelse 3596eed6fe1cSmrg am__fastdepCC_TRUE='#' 3597eed6fe1cSmrg am__fastdepCC_FALSE= 3598eed6fe1cSmrgfi 3599eed6fe1cSmrg 3600eed6fe1cSmrg 3601145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3602145f796fSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3603145f796fSmrgif ${ac_cv_prog_cc_c99+:} false; then : 3604eed6fe1cSmrg $as_echo_n "(cached) " >&6 3605eed6fe1cSmrgelse 3606145f796fSmrg ac_cv_prog_cc_c99=no 3607145f796fSmrgac_save_CC=$CC 3608145f796fSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3609eed6fe1cSmrg/* end confdefs.h. */ 3610145f796fSmrg#include <stdarg.h> 3611145f796fSmrg#include <stdbool.h> 3612145f796fSmrg#include <stdlib.h> 3613145f796fSmrg#include <wchar.h> 3614145f796fSmrg#include <stdio.h> 3615145f796fSmrg 3616145f796fSmrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 3617145f796fSmrg#define debug(...) fprintf (stderr, __VA_ARGS__) 3618145f796fSmrg#define showlist(...) puts (#__VA_ARGS__) 3619145f796fSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3620145f796fSmrgstatic void 3621145f796fSmrgtest_varargs_macros (void) 3622145f796fSmrg{ 3623145f796fSmrg int x = 1234; 3624145f796fSmrg int y = 5678; 3625145f796fSmrg debug ("Flag"); 3626145f796fSmrg debug ("X = %d\n", x); 3627145f796fSmrg showlist (The first, second, and third items.); 3628145f796fSmrg report (x>y, "x is %d but y is %d", x, y); 3629145f796fSmrg} 3630145f796fSmrg 3631145f796fSmrg// Check long long types. 3632145f796fSmrg#define BIG64 18446744073709551615ull 3633145f796fSmrg#define BIG32 4294967295ul 3634145f796fSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3635145f796fSmrg#if !BIG_OK 3636145f796fSmrg your preprocessor is broken; 3637145f796fSmrg#endif 3638145f796fSmrg#if BIG_OK 3639eed6fe1cSmrg#else 3640145f796fSmrg your preprocessor is broken; 3641eed6fe1cSmrg#endif 3642145f796fSmrgstatic long long int bignum = -9223372036854775807LL; 3643145f796fSmrgstatic unsigned long long int ubignum = BIG64; 3644eed6fe1cSmrg 3645145f796fSmrgstruct incomplete_array 3646145f796fSmrg{ 3647145f796fSmrg int datasize; 3648145f796fSmrg double data[]; 3649145f796fSmrg}; 3650eed6fe1cSmrg 3651145f796fSmrgstruct named_init { 3652145f796fSmrg int number; 3653145f796fSmrg const wchar_t *name; 3654145f796fSmrg double average; 3655145f796fSmrg}; 3656eed6fe1cSmrg 3657145f796fSmrgtypedef const char *ccp; 3658eed6fe1cSmrg 3659145f796fSmrgstatic inline int 3660145f796fSmrgtest_restrict (ccp restrict text) 3661145f796fSmrg{ 3662145f796fSmrg // See if C++-style comments work. 3663145f796fSmrg // Iterate through items via the restricted pointer. 3664145f796fSmrg // Also check for declarations in for loops. 3665145f796fSmrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3666145f796fSmrg continue; 3667145f796fSmrg return 0; 3668145f796fSmrg} 3669eed6fe1cSmrg 3670145f796fSmrg// Check varargs and va_copy. 3671145f796fSmrgstatic void 3672145f796fSmrgtest_varargs (const char *format, ...) 3673145f796fSmrg{ 3674145f796fSmrg va_list args; 3675145f796fSmrg va_start (args, format); 3676145f796fSmrg va_list args_copy; 3677145f796fSmrg va_copy (args_copy, args); 3678eed6fe1cSmrg 3679145f796fSmrg const char *str; 3680145f796fSmrg int number; 3681145f796fSmrg float fnumber; 3682eed6fe1cSmrg 3683145f796fSmrg while (*format) 3684145f796fSmrg { 3685145f796fSmrg switch (*format++) 3686145f796fSmrg { 3687145f796fSmrg case 's': // string 3688145f796fSmrg str = va_arg (args_copy, const char *); 3689145f796fSmrg break; 3690145f796fSmrg case 'd': // int 3691145f796fSmrg number = va_arg (args_copy, int); 3692145f796fSmrg break; 3693145f796fSmrg case 'f': // float 3694145f796fSmrg fnumber = va_arg (args_copy, double); 3695145f796fSmrg break; 3696145f796fSmrg default: 3697145f796fSmrg break; 3698145f796fSmrg } 3699145f796fSmrg } 3700145f796fSmrg va_end (args_copy); 3701145f796fSmrg va_end (args); 3702145f796fSmrg} 3703145f796fSmrg 3704145f796fSmrgint 3705145f796fSmrgmain () 3706145f796fSmrg{ 3707145f796fSmrg 3708145f796fSmrg // Check bool. 3709145f796fSmrg _Bool success = false; 3710145f796fSmrg 3711145f796fSmrg // Check restrict. 3712145f796fSmrg if (test_restrict ("String literal") == 0) 3713145f796fSmrg success = true; 3714145f796fSmrg char *restrict newvar = "Another string"; 3715145f796fSmrg 3716145f796fSmrg // Check varargs. 3717145f796fSmrg test_varargs ("s, d' f .", "string", 65, 34.234); 3718145f796fSmrg test_varargs_macros (); 3719145f796fSmrg 3720145f796fSmrg // Check flexible array members. 3721145f796fSmrg struct incomplete_array *ia = 3722145f796fSmrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3723145f796fSmrg ia->datasize = 10; 3724145f796fSmrg for (int i = 0; i < ia->datasize; ++i) 3725145f796fSmrg ia->data[i] = i * 1.234; 3726145f796fSmrg 3727145f796fSmrg // Check named initializers. 3728145f796fSmrg struct named_init ni = { 3729145f796fSmrg .number = 34, 3730145f796fSmrg .name = L"Test wide string", 3731145f796fSmrg .average = 543.34343, 3732145f796fSmrg }; 3733145f796fSmrg 3734145f796fSmrg ni.number = 58; 3735145f796fSmrg 3736145f796fSmrg int dynamic_array[ni.number]; 3737145f796fSmrg dynamic_array[ni.number - 1] = 543; 3738145f796fSmrg 3739145f796fSmrg // work around unused variable warnings 3740145f796fSmrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3741145f796fSmrg || dynamic_array[ni.number - 1] != 543); 3742145f796fSmrg 3743145f796fSmrg ; 3744145f796fSmrg return 0; 3745145f796fSmrg} 3746145f796fSmrg_ACEOF 3747145f796fSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 3748145f796fSmrgdo 3749145f796fSmrg CC="$ac_save_CC $ac_arg" 3750145f796fSmrg if ac_fn_c_try_compile "$LINENO"; then : 3751145f796fSmrg ac_cv_prog_cc_c99=$ac_arg 3752145f796fSmrgfi 3753145f796fSmrgrm -f core conftest.err conftest.$ac_objext 3754145f796fSmrg test "x$ac_cv_prog_cc_c99" != "xno" && break 3755145f796fSmrgdone 3756145f796fSmrgrm -f conftest.$ac_ext 3757145f796fSmrgCC=$ac_save_CC 3758145f796fSmrg 3759145f796fSmrgfi 3760145f796fSmrg# AC_CACHE_VAL 3761145f796fSmrgcase "x$ac_cv_prog_cc_c99" in 3762145f796fSmrg x) 3763145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3764145f796fSmrg$as_echo "none needed" >&6; } ;; 3765145f796fSmrg xno) 3766145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3767145f796fSmrg$as_echo "unsupported" >&6; } ;; 3768145f796fSmrg *) 3769145f796fSmrg CC="$CC $ac_cv_prog_cc_c99" 3770145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3771145f796fSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3772145f796fSmrgesac 3773145f796fSmrgif test "x$ac_cv_prog_cc_c99" != xno; then : 3774145f796fSmrg 3775145f796fSmrgfi 3776145f796fSmrg 3777145f796fSmrg 3778145f796fSmrg 3779145f796fSmrgac_ext=c 3780145f796fSmrgac_cpp='$CPP $CPPFLAGS' 3781145f796fSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3782145f796fSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3783145f796fSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3784145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3785145f796fSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 3786145f796fSmrg# On Suns, sometimes $CPP names a directory. 3787145f796fSmrgif test -n "$CPP" && test -d "$CPP"; then 3788145f796fSmrg CPP= 3789145f796fSmrgfi 3790145f796fSmrgif test -z "$CPP"; then 3791145f796fSmrg if ${ac_cv_prog_CPP+:} false; then : 3792145f796fSmrg $as_echo_n "(cached) " >&6 3793145f796fSmrgelse 3794145f796fSmrg # Double quotes because CPP needs to be expanded 3795145f796fSmrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3796145f796fSmrg do 3797145f796fSmrg ac_preproc_ok=false 3798145f796fSmrgfor ac_c_preproc_warn_flag in '' yes 3799145f796fSmrgdo 3800145f796fSmrg # Use a header file that comes with gcc, so configuring glibc 3801145f796fSmrg # with a fresh cross-compiler works. 3802145f796fSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3803145f796fSmrg # <limits.h> exists even on freestanding compilers. 3804145f796fSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 3805145f796fSmrg # not just through cpp. "Syntax error" is here to catch this case. 3806145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3807145f796fSmrg/* end confdefs.h. */ 3808145f796fSmrg#ifdef __STDC__ 3809145f796fSmrg# include <limits.h> 3810145f796fSmrg#else 3811145f796fSmrg# include <assert.h> 3812145f796fSmrg#endif 3813145f796fSmrg Syntax error 3814145f796fSmrg_ACEOF 3815145f796fSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3816145f796fSmrg 3817145f796fSmrgelse 3818145f796fSmrg # Broken: fails on valid input. 3819145f796fSmrgcontinue 3820145f796fSmrgfi 3821145f796fSmrgrm -f conftest.err conftest.i conftest.$ac_ext 3822145f796fSmrg 3823145f796fSmrg # OK, works on sane cases. Now check whether nonexistent headers 3824145f796fSmrg # can be detected and how. 3825145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3826145f796fSmrg/* end confdefs.h. */ 3827145f796fSmrg#include <ac_nonexistent.h> 3828145f796fSmrg_ACEOF 3829145f796fSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3830145f796fSmrg # Broken: success on invalid input. 3831145f796fSmrgcontinue 3832145f796fSmrgelse 3833145f796fSmrg # Passes both tests. 3834145f796fSmrgac_preproc_ok=: 3835145f796fSmrgbreak 3836145f796fSmrgfi 3837145f796fSmrgrm -f conftest.err conftest.i conftest.$ac_ext 3838145f796fSmrg 3839145f796fSmrgdone 3840145f796fSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3841145f796fSmrgrm -f conftest.i conftest.err conftest.$ac_ext 3842145f796fSmrgif $ac_preproc_ok; then : 3843145f796fSmrg break 3844145f796fSmrgfi 3845145f796fSmrg 3846145f796fSmrg done 3847145f796fSmrg ac_cv_prog_CPP=$CPP 3848eed6fe1cSmrg 3849eed6fe1cSmrgfi 3850eed6fe1cSmrg CPP=$ac_cv_prog_CPP 3851eed6fe1cSmrgelse 3852eed6fe1cSmrg ac_cv_prog_CPP=$CPP 3853eed6fe1cSmrgfi 3854145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3855eed6fe1cSmrg$as_echo "$CPP" >&6; } 3856eed6fe1cSmrgac_preproc_ok=false 3857eed6fe1cSmrgfor ac_c_preproc_warn_flag in '' yes 3858eed6fe1cSmrgdo 3859eed6fe1cSmrg # Use a header file that comes with gcc, so configuring glibc 3860eed6fe1cSmrg # with a fresh cross-compiler works. 3861eed6fe1cSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3862eed6fe1cSmrg # <limits.h> exists even on freestanding compilers. 3863eed6fe1cSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 3864eed6fe1cSmrg # not just through cpp. "Syntax error" is here to catch this case. 3865145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3866eed6fe1cSmrg/* end confdefs.h. */ 3867eed6fe1cSmrg#ifdef __STDC__ 3868eed6fe1cSmrg# include <limits.h> 3869eed6fe1cSmrg#else 3870eed6fe1cSmrg# include <assert.h> 3871eed6fe1cSmrg#endif 3872eed6fe1cSmrg Syntax error 3873eed6fe1cSmrg_ACEOF 3874145f796fSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3875eed6fe1cSmrg 3876145f796fSmrgelse 3877eed6fe1cSmrg # Broken: fails on valid input. 3878eed6fe1cSmrgcontinue 3879eed6fe1cSmrgfi 3880145f796fSmrgrm -f conftest.err conftest.i conftest.$ac_ext 3881eed6fe1cSmrg 3882eed6fe1cSmrg # OK, works on sane cases. Now check whether nonexistent headers 3883eed6fe1cSmrg # can be detected and how. 3884145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3885eed6fe1cSmrg/* end confdefs.h. */ 3886eed6fe1cSmrg#include <ac_nonexistent.h> 3887eed6fe1cSmrg_ACEOF 3888145f796fSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3889eed6fe1cSmrg # Broken: success on invalid input. 3890eed6fe1cSmrgcontinue 3891eed6fe1cSmrgelse 3892eed6fe1cSmrg # Passes both tests. 3893eed6fe1cSmrgac_preproc_ok=: 3894eed6fe1cSmrgbreak 3895eed6fe1cSmrgfi 3896145f796fSmrgrm -f conftest.err conftest.i conftest.$ac_ext 3897eed6fe1cSmrg 3898eed6fe1cSmrgdone 3899eed6fe1cSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3900145f796fSmrgrm -f conftest.i conftest.err conftest.$ac_ext 3901145f796fSmrgif $ac_preproc_ok; then : 3902145f796fSmrg 3903eed6fe1cSmrgelse 3904145f796fSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3905eed6fe1cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3906145f796fSmrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3907145f796fSmrgSee \`config.log' for more details" "$LINENO" 5; } 3908eed6fe1cSmrgfi 3909eed6fe1cSmrg 3910eed6fe1cSmrgac_ext=c 3911eed6fe1cSmrgac_cpp='$CPP $CPPFLAGS' 3912eed6fe1cSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3913eed6fe1cSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3914eed6fe1cSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3915eed6fe1cSmrg 3916eed6fe1cSmrg 3917145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3918eed6fe1cSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3919145f796fSmrgif ${ac_cv_path_GREP+:} false; then : 3920eed6fe1cSmrg $as_echo_n "(cached) " >&6 3921eed6fe1cSmrgelse 3922eed6fe1cSmrg if test -z "$GREP"; then 3923eed6fe1cSmrg ac_path_GREP_found=false 3924eed6fe1cSmrg # Loop through the user's path and test for each of PROGNAME-LIST 3925eed6fe1cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3926eed6fe1cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3927eed6fe1cSmrgdo 3928eed6fe1cSmrg IFS=$as_save_IFS 3929eed6fe1cSmrg test -z "$as_dir" && as_dir=. 3930145f796fSmrg for ac_prog in grep ggrep; do 3931eed6fe1cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3932eed6fe1cSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3933eed6fe1cSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3934eed6fe1cSmrg# Check for GNU ac_path_GREP and select it if it is found. 3935eed6fe1cSmrg # Check for GNU $ac_path_GREP 3936eed6fe1cSmrgcase `"$ac_path_GREP" --version 2>&1` in 3937eed6fe1cSmrg*GNU*) 3938eed6fe1cSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3939eed6fe1cSmrg*) 3940eed6fe1cSmrg ac_count=0 3941eed6fe1cSmrg $as_echo_n 0123456789 >"conftest.in" 3942eed6fe1cSmrg while : 3943eed6fe1cSmrg do 3944eed6fe1cSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 3945eed6fe1cSmrg mv "conftest.tmp" "conftest.in" 3946eed6fe1cSmrg cp "conftest.in" "conftest.nl" 3947eed6fe1cSmrg $as_echo 'GREP' >> "conftest.nl" 3948eed6fe1cSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3949eed6fe1cSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3950145f796fSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 3951eed6fe1cSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 3952eed6fe1cSmrg # Best one so far, save it but keep looking for a better one 3953eed6fe1cSmrg ac_cv_path_GREP="$ac_path_GREP" 3954eed6fe1cSmrg ac_path_GREP_max=$ac_count 3955eed6fe1cSmrg fi 3956eed6fe1cSmrg # 10*(2^10) chars as input seems more than enough 3957eed6fe1cSmrg test $ac_count -gt 10 && break 3958eed6fe1cSmrg done 3959eed6fe1cSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3960eed6fe1cSmrgesac 3961eed6fe1cSmrg 3962eed6fe1cSmrg $ac_path_GREP_found && break 3 3963eed6fe1cSmrg done 3964eed6fe1cSmrg done 3965145f796fSmrg done 3966eed6fe1cSmrgIFS=$as_save_IFS 3967eed6fe1cSmrg if test -z "$ac_cv_path_GREP"; then 3968145f796fSmrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3969eed6fe1cSmrg fi 3970eed6fe1cSmrgelse 3971eed6fe1cSmrg ac_cv_path_GREP=$GREP 3972eed6fe1cSmrgfi 3973eed6fe1cSmrg 3974eed6fe1cSmrgfi 3975145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3976eed6fe1cSmrg$as_echo "$ac_cv_path_GREP" >&6; } 3977eed6fe1cSmrg GREP="$ac_cv_path_GREP" 3978eed6fe1cSmrg 3979eed6fe1cSmrg 3980145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3981eed6fe1cSmrg$as_echo_n "checking for egrep... " >&6; } 3982145f796fSmrgif ${ac_cv_path_EGREP+:} false; then : 3983eed6fe1cSmrg $as_echo_n "(cached) " >&6 3984eed6fe1cSmrgelse 3985eed6fe1cSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3986eed6fe1cSmrg then ac_cv_path_EGREP="$GREP -E" 3987eed6fe1cSmrg else 3988eed6fe1cSmrg if test -z "$EGREP"; then 3989eed6fe1cSmrg ac_path_EGREP_found=false 3990eed6fe1cSmrg # Loop through the user's path and test for each of PROGNAME-LIST 3991eed6fe1cSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3992eed6fe1cSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3993eed6fe1cSmrgdo 3994eed6fe1cSmrg IFS=$as_save_IFS 3995eed6fe1cSmrg test -z "$as_dir" && as_dir=. 3996145f796fSmrg for ac_prog in egrep; do 3997eed6fe1cSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3998eed6fe1cSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3999eed6fe1cSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4000eed6fe1cSmrg# Check for GNU ac_path_EGREP and select it if it is found. 4001eed6fe1cSmrg # Check for GNU $ac_path_EGREP 4002eed6fe1cSmrgcase `"$ac_path_EGREP" --version 2>&1` in 4003eed6fe1cSmrg*GNU*) 4004eed6fe1cSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4005eed6fe1cSmrg*) 4006eed6fe1cSmrg ac_count=0 4007eed6fe1cSmrg $as_echo_n 0123456789 >"conftest.in" 4008eed6fe1cSmrg while : 4009eed6fe1cSmrg do 4010eed6fe1cSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4011eed6fe1cSmrg mv "conftest.tmp" "conftest.in" 4012eed6fe1cSmrg cp "conftest.in" "conftest.nl" 4013eed6fe1cSmrg $as_echo 'EGREP' >> "conftest.nl" 4014eed6fe1cSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4015eed6fe1cSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4016145f796fSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 4017eed6fe1cSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4018eed6fe1cSmrg # Best one so far, save it but keep looking for a better one 4019eed6fe1cSmrg ac_cv_path_EGREP="$ac_path_EGREP" 4020eed6fe1cSmrg ac_path_EGREP_max=$ac_count 4021eed6fe1cSmrg fi 4022eed6fe1cSmrg # 10*(2^10) chars as input seems more than enough 4023eed6fe1cSmrg test $ac_count -gt 10 && break 4024eed6fe1cSmrg done 4025eed6fe1cSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4026eed6fe1cSmrgesac 4027eed6fe1cSmrg 4028eed6fe1cSmrg $ac_path_EGREP_found && break 3 4029eed6fe1cSmrg done 4030eed6fe1cSmrg done 4031145f796fSmrg done 4032eed6fe1cSmrgIFS=$as_save_IFS 4033eed6fe1cSmrg if test -z "$ac_cv_path_EGREP"; then 4034145f796fSmrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4035eed6fe1cSmrg fi 4036eed6fe1cSmrgelse 4037eed6fe1cSmrg ac_cv_path_EGREP=$EGREP 4038eed6fe1cSmrgfi 4039eed6fe1cSmrg 4040eed6fe1cSmrg fi 4041eed6fe1cSmrgfi 4042145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4043eed6fe1cSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 4044eed6fe1cSmrg EGREP="$ac_cv_path_EGREP" 4045eed6fe1cSmrg 4046eed6fe1cSmrg 4047145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4048eed6fe1cSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 4049145f796fSmrgif ${ac_cv_header_stdc+:} false; then : 4050eed6fe1cSmrg $as_echo_n "(cached) " >&6 4051eed6fe1cSmrgelse 4052145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4053eed6fe1cSmrg/* end confdefs.h. */ 4054eed6fe1cSmrg#include <stdlib.h> 4055eed6fe1cSmrg#include <stdarg.h> 4056eed6fe1cSmrg#include <string.h> 4057eed6fe1cSmrg#include <float.h> 4058eed6fe1cSmrg 4059eed6fe1cSmrgint 4060eed6fe1cSmrgmain () 4061eed6fe1cSmrg{ 4062eed6fe1cSmrg 4063eed6fe1cSmrg ; 4064eed6fe1cSmrg return 0; 4065eed6fe1cSmrg} 4066eed6fe1cSmrg_ACEOF 4067145f796fSmrgif ac_fn_c_try_compile "$LINENO"; then : 4068eed6fe1cSmrg ac_cv_header_stdc=yes 4069eed6fe1cSmrgelse 4070145f796fSmrg ac_cv_header_stdc=no 4071eed6fe1cSmrgfi 4072eed6fe1cSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4073eed6fe1cSmrg 4074eed6fe1cSmrgif test $ac_cv_header_stdc = yes; then 4075eed6fe1cSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4076145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4077eed6fe1cSmrg/* end confdefs.h. */ 4078eed6fe1cSmrg#include <string.h> 4079eed6fe1cSmrg 4080eed6fe1cSmrg_ACEOF 4081eed6fe1cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4082145f796fSmrg $EGREP "memchr" >/dev/null 2>&1; then : 4083145f796fSmrg 4084eed6fe1cSmrgelse 4085eed6fe1cSmrg ac_cv_header_stdc=no 4086eed6fe1cSmrgfi 4087eed6fe1cSmrgrm -f conftest* 4088eed6fe1cSmrg 4089eed6fe1cSmrgfi 4090eed6fe1cSmrg 4091eed6fe1cSmrgif test $ac_cv_header_stdc = yes; then 4092eed6fe1cSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4093145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4094eed6fe1cSmrg/* end confdefs.h. */ 4095eed6fe1cSmrg#include <stdlib.h> 4096eed6fe1cSmrg 4097eed6fe1cSmrg_ACEOF 4098eed6fe1cSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4099145f796fSmrg $EGREP "free" >/dev/null 2>&1; then : 4100145f796fSmrg 4101eed6fe1cSmrgelse 4102eed6fe1cSmrg ac_cv_header_stdc=no 4103eed6fe1cSmrgfi 4104eed6fe1cSmrgrm -f conftest* 4105eed6fe1cSmrg 4106eed6fe1cSmrgfi 4107eed6fe1cSmrg 4108eed6fe1cSmrgif test $ac_cv_header_stdc = yes; then 4109eed6fe1cSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4110145f796fSmrg if test "$cross_compiling" = yes; then : 4111eed6fe1cSmrg : 4112eed6fe1cSmrgelse 4113145f796fSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4114eed6fe1cSmrg/* end confdefs.h. */ 4115eed6fe1cSmrg#include <ctype.h> 4116eed6fe1cSmrg#include <stdlib.h> 4117eed6fe1cSmrg#if ((' ' & 0x0FF) == 0x020) 4118eed6fe1cSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4119eed6fe1cSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4120eed6fe1cSmrg#else 4121eed6fe1cSmrg# define ISLOWER(c) \ 4122eed6fe1cSmrg (('a' <= (c) && (c) <= 'i') \ 4123eed6fe1cSmrg || ('j' <= (c) && (c) <= 'r') \ 4124eed6fe1cSmrg || ('s' <= (c) && (c) <= 'z')) 4125eed6fe1cSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4126eed6fe1cSmrg#endif 4127eed6fe1cSmrg 4128eed6fe1cSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4129eed6fe1cSmrgint 4130eed6fe1cSmrgmain () 4131eed6fe1cSmrg{ 4132eed6fe1cSmrg int i; 4133eed6fe1cSmrg for (i = 0; i < 256; i++) 4134eed6fe1cSmrg if (XOR (islower (i), ISLOWER (i)) 4135eed6fe1cSmrg || toupper (i) != TOUPPER (i)) 4136eed6fe1cSmrg return 2; 4137eed6fe1cSmrg return 0; 4138eed6fe1cSmrg} 4139eed6fe1cSmrg_ACEOF 4140145f796fSmrgif ac_fn_c_try_run "$LINENO"; then : 4141eed6fe1cSmrg 4142145f796fSmrgelse 4143145f796fSmrg ac_cv_header_stdc=no 4144eed6fe1cSmrgfi 4145145f796fSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4146145f796fSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 4147eed6fe1cSmrgfi 4148eed6fe1cSmrg 4149eed6fe1cSmrgfi 4150eed6fe1cSmrgfi 4151145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4152eed6fe1cSmrg$as_echo "$ac_cv_header_stdc" >&6; } 4153eed6fe1cSmrgif test $ac_cv_header_stdc = yes; then 4154eed6fe1cSmrg 4155145f796fSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4156eed6fe1cSmrg 4157eed6fe1cSmrgfi 4158eed6fe1cSmrg 4159eed6fe1cSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4160eed6fe1cSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4161eed6fe1cSmrg inttypes.h stdint.h unistd.h 4162145f796fSmrgdo : 4163145f796fSmrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4164145f796fSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4165145f796fSmrg" 4166145f796fSmrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4167eed6fe1cSmrg cat >>confdefs.h <<_ACEOF 4168eed6fe1cSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4169eed6fe1cSmrg_ACEOF 4170eed6fe1cSmrg 4171eed6fe1cSmrgfi 4172eed6fe1cSmrg 4173eed6fe1cSmrgdone 4174eed6fe1cSmrg 4175eed6fe1cSmrg 4176eed6fe1cSmrg 4177eed6fe1cSmrg 4178eed6fe1cSmrg 4179eed6fe1cSmrg 4180eed6fe1cSmrg 4181eed6fe1cSmrg 4182145f796fSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4183145f796fSmrg if test -n "$ac_tool_prefix"; then 4184145f796fSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4185145f796fSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4186145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4187145f796fSmrg$as_echo_n "checking for $ac_word... " >&6; } 4188145f796fSmrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 4189145f796fSmrg $as_echo_n "(cached) " >&6 4190145f796fSmrgelse 4191145f796fSmrg case $PKG_CONFIG in 4192145f796fSmrg [\\/]* | ?:[\\/]*) 4193145f796fSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4194145f796fSmrg ;; 4195145f796fSmrg *) 4196145f796fSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4197145f796fSmrgfor as_dir in $PATH 4198eed6fe1cSmrgdo 4199145f796fSmrg IFS=$as_save_IFS 4200145f796fSmrg test -z "$as_dir" && as_dir=. 4201145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4202145f796fSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4203145f796fSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4204145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4205145f796fSmrg break 2 4206145f796fSmrg fi 4207145f796fSmrgdone 4208145f796fSmrg done 4209145f796fSmrgIFS=$as_save_IFS 4210145f796fSmrg 4211145f796fSmrg ;; 4212eed6fe1cSmrgesac 4213145f796fSmrgfi 4214145f796fSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 4215145f796fSmrgif test -n "$PKG_CONFIG"; then 4216145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4217145f796fSmrg$as_echo "$PKG_CONFIG" >&6; } 4218eed6fe1cSmrgelse 4219145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4220145f796fSmrg$as_echo "no" >&6; } 4221eed6fe1cSmrgfi 4222eed6fe1cSmrg 4223eed6fe1cSmrg 4224eed6fe1cSmrgfi 4225145f796fSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4226145f796fSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4227145f796fSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 4228145f796fSmrgset dummy pkg-config; ac_word=$2 4229145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4230145f796fSmrg$as_echo_n "checking for $ac_word... " >&6; } 4231145f796fSmrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4232145f796fSmrg $as_echo_n "(cached) " >&6 4233145f796fSmrgelse 4234145f796fSmrg case $ac_pt_PKG_CONFIG in 4235145f796fSmrg [\\/]* | ?:[\\/]*) 4236145f796fSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4237145f796fSmrg ;; 4238eed6fe1cSmrg *) 4239145f796fSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4240145f796fSmrgfor as_dir in $PATH 4241145f796fSmrgdo 4242145f796fSmrg IFS=$as_save_IFS 4243145f796fSmrg test -z "$as_dir" && as_dir=. 4244145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4245145f796fSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4246145f796fSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4247145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4248145f796fSmrg break 2 4249145f796fSmrg fi 4250145f796fSmrgdone 4251145f796fSmrg done 4252145f796fSmrgIFS=$as_save_IFS 4253eed6fe1cSmrg 4254145f796fSmrg ;; 4255145f796fSmrgesac 4256145f796fSmrgfi 4257145f796fSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4258145f796fSmrgif test -n "$ac_pt_PKG_CONFIG"; then 4259145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4260145f796fSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4261145f796fSmrgelse 4262145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4263145f796fSmrg$as_echo "no" >&6; } 4264145f796fSmrgfi 4265eed6fe1cSmrg 4266145f796fSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 4267145f796fSmrg PKG_CONFIG="" 4268145f796fSmrg else 4269145f796fSmrg case $cross_compiling:$ac_tool_warned in 4270145f796fSmrgyes:) 4271145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4272145f796fSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4273145f796fSmrgac_tool_warned=yes ;; 4274145f796fSmrgesac 4275145f796fSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 4276145f796fSmrg fi 4277145f796fSmrgelse 4278145f796fSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4279145f796fSmrgfi 4280eed6fe1cSmrg 4281145f796fSmrgfi 4282145f796fSmrgif test -n "$PKG_CONFIG"; then 4283145f796fSmrg _pkg_min_version=0.9.0 4284145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4285145f796fSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4286145f796fSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4287145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4288145f796fSmrg$as_echo "yes" >&6; } 4289145f796fSmrg else 4290145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4291145f796fSmrg$as_echo "no" >&6; } 4292145f796fSmrg PKG_CONFIG="" 4293145f796fSmrg fi 4294145f796fSmrgfi 4295eed6fe1cSmrg# Make sure we can run config.sub. 4296eed6fe1cSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4297145f796fSmrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4298eed6fe1cSmrg 4299145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4300eed6fe1cSmrg$as_echo_n "checking build system type... " >&6; } 4301145f796fSmrgif ${ac_cv_build+:} false; then : 4302eed6fe1cSmrg $as_echo_n "(cached) " >&6 4303eed6fe1cSmrgelse 4304eed6fe1cSmrg ac_build_alias=$build_alias 4305eed6fe1cSmrgtest "x$ac_build_alias" = x && 4306eed6fe1cSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4307eed6fe1cSmrgtest "x$ac_build_alias" = x && 4308145f796fSmrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4309eed6fe1cSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4310145f796fSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4311eed6fe1cSmrg 4312eed6fe1cSmrgfi 4313145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4314eed6fe1cSmrg$as_echo "$ac_cv_build" >&6; } 4315eed6fe1cSmrgcase $ac_cv_build in 4316eed6fe1cSmrg*-*-*) ;; 4317145f796fSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4318eed6fe1cSmrgesac 4319eed6fe1cSmrgbuild=$ac_cv_build 4320eed6fe1cSmrgac_save_IFS=$IFS; IFS='-' 4321eed6fe1cSmrgset x $ac_cv_build 4322eed6fe1cSmrgshift 4323eed6fe1cSmrgbuild_cpu=$1 4324eed6fe1cSmrgbuild_vendor=$2 4325eed6fe1cSmrgshift; shift 4326eed6fe1cSmrg# Remember, the first character of IFS is used to create $*, 4327eed6fe1cSmrg# except with old shells: 4328eed6fe1cSmrgbuild_os=$* 4329eed6fe1cSmrgIFS=$ac_save_IFS 4330eed6fe1cSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4331eed6fe1cSmrg 4332eed6fe1cSmrg 4333145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4334eed6fe1cSmrg$as_echo_n "checking host system type... " >&6; } 4335145f796fSmrgif ${ac_cv_host+:} false; then : 4336eed6fe1cSmrg $as_echo_n "(cached) " >&6 433767332fb9Smrgelse 4338eed6fe1cSmrg if test "x$host_alias" = x; then 4339eed6fe1cSmrg ac_cv_host=$ac_cv_build 4340eed6fe1cSmrgelse 4341eed6fe1cSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4342145f796fSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 434367332fb9Smrgfi 434467332fb9Smrg 4345eed6fe1cSmrgfi 4346145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4347eed6fe1cSmrg$as_echo "$ac_cv_host" >&6; } 4348eed6fe1cSmrgcase $ac_cv_host in 4349eed6fe1cSmrg*-*-*) ;; 4350145f796fSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4351eed6fe1cSmrgesac 4352eed6fe1cSmrghost=$ac_cv_host 4353eed6fe1cSmrgac_save_IFS=$IFS; IFS='-' 4354eed6fe1cSmrgset x $ac_cv_host 4355eed6fe1cSmrgshift 4356eed6fe1cSmrghost_cpu=$1 4357eed6fe1cSmrghost_vendor=$2 4358eed6fe1cSmrgshift; shift 4359eed6fe1cSmrg# Remember, the first character of IFS is used to create $*, 4360eed6fe1cSmrg# except with old shells: 4361eed6fe1cSmrghost_os=$* 4362eed6fe1cSmrgIFS=$ac_save_IFS 4363eed6fe1cSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4364eed6fe1cSmrg 4365eed6fe1cSmrg 4366145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4367145f796fSmrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4368145f796fSmrgif ${ac_cv_path_SED+:} false; then : 4369145f796fSmrg $as_echo_n "(cached) " >&6 4370145f796fSmrgelse 4371145f796fSmrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4372145f796fSmrg for ac_i in 1 2 3 4 5 6 7; do 4373145f796fSmrg ac_script="$ac_script$as_nl$ac_script" 4374145f796fSmrg done 4375145f796fSmrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4376145f796fSmrg { ac_script=; unset ac_script;} 4377145f796fSmrg if test -z "$SED"; then 4378145f796fSmrg ac_path_SED_found=false 4379145f796fSmrg # Loop through the user's path and test for each of PROGNAME-LIST 4380145f796fSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4381145f796fSmrgfor as_dir in $PATH 4382145f796fSmrgdo 4383145f796fSmrg IFS=$as_save_IFS 4384145f796fSmrg test -z "$as_dir" && as_dir=. 4385145f796fSmrg for ac_prog in sed gsed; do 4386145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4387145f796fSmrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4388145f796fSmrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4389145f796fSmrg# Check for GNU ac_path_SED and select it if it is found. 4390145f796fSmrg # Check for GNU $ac_path_SED 4391145f796fSmrgcase `"$ac_path_SED" --version 2>&1` in 4392145f796fSmrg*GNU*) 4393145f796fSmrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4394145f796fSmrg*) 4395145f796fSmrg ac_count=0 4396145f796fSmrg $as_echo_n 0123456789 >"conftest.in" 4397145f796fSmrg while : 4398145f796fSmrg do 4399145f796fSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4400145f796fSmrg mv "conftest.tmp" "conftest.in" 4401145f796fSmrg cp "conftest.in" "conftest.nl" 4402145f796fSmrg $as_echo '' >> "conftest.nl" 4403145f796fSmrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4404145f796fSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4405145f796fSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 4406145f796fSmrg if test $ac_count -gt ${ac_path_SED_max-0}; then 4407145f796fSmrg # Best one so far, save it but keep looking for a better one 4408145f796fSmrg ac_cv_path_SED="$ac_path_SED" 4409145f796fSmrg ac_path_SED_max=$ac_count 4410145f796fSmrg fi 4411145f796fSmrg # 10*(2^10) chars as input seems more than enough 4412145f796fSmrg test $ac_count -gt 10 && break 4413145f796fSmrg done 4414145f796fSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4415145f796fSmrgesac 4416145f796fSmrg 4417145f796fSmrg $ac_path_SED_found && break 3 4418145f796fSmrg done 4419145f796fSmrg done 4420145f796fSmrg done 4421145f796fSmrgIFS=$as_save_IFS 4422145f796fSmrg if test -z "$ac_cv_path_SED"; then 4423145f796fSmrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4424145f796fSmrg fi 4425145f796fSmrgelse 4426145f796fSmrg ac_cv_path_SED=$SED 4427145f796fSmrgfi 4428145f796fSmrg 4429145f796fSmrgfi 4430145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4431145f796fSmrg$as_echo "$ac_cv_path_SED" >&6; } 4432145f796fSmrg SED="$ac_cv_path_SED" 4433145f796fSmrg rm -f conftest.sed 4434145f796fSmrg 4435145f796fSmrg 4436eed6fe1cSmrg 4437eed6fe1cSmrg 4438eed6fe1cSmrg 4439eed6fe1cSmrgif test "x$GCC" = xyes ; then 4440eed6fe1cSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4441eed6fe1cSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4442145f796fSmrg-Wbad-function-cast -Wformat=2" 4443eed6fe1cSmrg case `$CC -dumpversion` in 4444eed6fe1cSmrg 3.4.* | 4.*) 4445eed6fe1cSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4446eed6fe1cSmrg ;; 4447eed6fe1cSmrg esac 4448eed6fe1cSmrgelse 4449145f796fSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4450145f796fSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4451eed6fe1cSmrg SUNCC="yes" 4452eed6fe1cSmrgelse 4453eed6fe1cSmrg SUNCC="no" 4454eed6fe1cSmrgfi 4455eed6fe1cSmrg 4456eed6fe1cSmrg if test "x$SUNCC" = "xyes"; then 4457eed6fe1cSmrg CWARNFLAGS="-v" 4458eed6fe1cSmrg fi 4459eed6fe1cSmrgfi 4460eed6fe1cSmrg 4461eed6fe1cSmrg 4462eed6fe1cSmrg 4463145f796fSmrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 4464eed6fe1cSmrg 4465eed6fe1cSmrg 4466eed6fe1cSmrg 4467eed6fe1cSmrg# Check whether --enable-strict-compilation was given. 4468145f796fSmrgif test "${enable_strict_compilation+set}" = set; then : 4469eed6fe1cSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4470eed6fe1cSmrgelse 4471eed6fe1cSmrg STRICT_COMPILE=no 4472eed6fe1cSmrgfi 4473eed6fe1cSmrg 4474eed6fe1cSmrgif test "x$STRICT_COMPILE" = "xyes"; then 4475145f796fSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4476145f796fSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4477eed6fe1cSmrg SUNCC="yes" 4478145f796fSmrgelse 4479145f796fSmrg SUNCC="no" 4480eed6fe1cSmrgfi 4481eed6fe1cSmrg 4482145f796fSmrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4483145f796fSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4484eed6fe1cSmrg INTELCC="yes" 4485eed6fe1cSmrgelse 4486eed6fe1cSmrg INTELCC="no" 4487eed6fe1cSmrgfi 4488eed6fe1cSmrg 4489eed6fe1cSmrg if test "x$GCC" = xyes ; then 4490eed6fe1cSmrg STRICT_CFLAGS="-pedantic -Werror" 4491eed6fe1cSmrg elif test "x$SUNCC" = "xyes"; then 4492eed6fe1cSmrg STRICT_CFLAGS="-errwarn" 4493eed6fe1cSmrg elif test "x$INTELCC" = "xyes"; then 4494eed6fe1cSmrg STRICT_CFLAGS="-Werror" 4495eed6fe1cSmrg fi 4496eed6fe1cSmrgfi 4497eed6fe1cSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4498eed6fe1cSmrg 4499eed6fe1cSmrg 4500eed6fe1cSmrg 4501eed6fe1cSmrg 4502eed6fe1cSmrgcat >>confdefs.h <<_ACEOF 4503eed6fe1cSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4504eed6fe1cSmrg_ACEOF 4505eed6fe1cSmrg 4506eed6fe1cSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4507eed6fe1cSmrg if test "x$PVM" = "x"; then 4508eed6fe1cSmrg PVM="0" 4509eed6fe1cSmrg fi 4510eed6fe1cSmrg 4511eed6fe1cSmrgcat >>confdefs.h <<_ACEOF 4512eed6fe1cSmrg#define PACKAGE_VERSION_MINOR $PVM 4513eed6fe1cSmrg_ACEOF 4514eed6fe1cSmrg 4515eed6fe1cSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4516eed6fe1cSmrg if test "x$PVP" = "x"; then 4517eed6fe1cSmrg PVP="0" 4518eed6fe1cSmrg fi 4519eed6fe1cSmrg 4520eed6fe1cSmrgcat >>confdefs.h <<_ACEOF 4521eed6fe1cSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 4522eed6fe1cSmrg_ACEOF 4523eed6fe1cSmrg 4524eed6fe1cSmrg 4525eed6fe1cSmrg 4526145f796fSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 4527145f796fSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 4528145f796fSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 4529eed6fe1cSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 4530eed6fe1cSmrg 4531145f796fSmrg 4532145f796fSmrg 4533145f796fSmrg 4534145f796fSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4535145f796fSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 4536145f796fSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 4537145f796fSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4538145f796fSmrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4539145f796fSmrg 4540eed6fe1cSmrg 4541eed6fe1cSmrg 4542eed6fe1cSmrg 4543eed6fe1cSmrg 4544eed6fe1cSmrg 4545eed6fe1cSmrgif test x$APP_MAN_SUFFIX = x ; then 4546eed6fe1cSmrg APP_MAN_SUFFIX=1 4547eed6fe1cSmrgfi 4548eed6fe1cSmrgif test x$APP_MAN_DIR = x ; then 4549eed6fe1cSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4550eed6fe1cSmrgfi 4551eed6fe1cSmrg 4552eed6fe1cSmrgif test x$LIB_MAN_SUFFIX = x ; then 4553eed6fe1cSmrg LIB_MAN_SUFFIX=3 4554eed6fe1cSmrgfi 4555eed6fe1cSmrgif test x$LIB_MAN_DIR = x ; then 4556eed6fe1cSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4557eed6fe1cSmrgfi 4558eed6fe1cSmrg 4559eed6fe1cSmrgif test x$FILE_MAN_SUFFIX = x ; then 4560eed6fe1cSmrg case $host_os in 4561eed6fe1cSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 4562eed6fe1cSmrg *) FILE_MAN_SUFFIX=5 ;; 4563eed6fe1cSmrg esac 4564eed6fe1cSmrgfi 4565eed6fe1cSmrgif test x$FILE_MAN_DIR = x ; then 4566eed6fe1cSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4567eed6fe1cSmrgfi 4568eed6fe1cSmrg 4569eed6fe1cSmrgif test x$MISC_MAN_SUFFIX = x ; then 4570eed6fe1cSmrg case $host_os in 4571eed6fe1cSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 4572eed6fe1cSmrg *) MISC_MAN_SUFFIX=7 ;; 4573eed6fe1cSmrg esac 4574eed6fe1cSmrgfi 4575eed6fe1cSmrgif test x$MISC_MAN_DIR = x ; then 4576eed6fe1cSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4577eed6fe1cSmrgfi 4578eed6fe1cSmrg 4579eed6fe1cSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 4580eed6fe1cSmrg case $host_os in 4581eed6fe1cSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 4582eed6fe1cSmrg *) DRIVER_MAN_SUFFIX=4 ;; 4583eed6fe1cSmrg esac 4584eed6fe1cSmrgfi 4585eed6fe1cSmrgif test x$DRIVER_MAN_DIR = x ; then 4586eed6fe1cSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4587eed6fe1cSmrgfi 4588eed6fe1cSmrg 4589eed6fe1cSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 4590eed6fe1cSmrg case $host_os in 4591eed6fe1cSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 4592eed6fe1cSmrg *) ADMIN_MAN_SUFFIX=8 ;; 4593eed6fe1cSmrg esac 4594eed6fe1cSmrgfi 4595eed6fe1cSmrgif test x$ADMIN_MAN_DIR = x ; then 4596eed6fe1cSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4597eed6fe1cSmrgfi 4598eed6fe1cSmrg 4599eed6fe1cSmrg 4600eed6fe1cSmrg 4601eed6fe1cSmrg 4602eed6fe1cSmrg 4603eed6fe1cSmrg 4604eed6fe1cSmrg 4605eed6fe1cSmrg 4606eed6fe1cSmrg 4607eed6fe1cSmrg 4608eed6fe1cSmrg 4609eed6fe1cSmrg 4610eed6fe1cSmrg 4611eed6fe1cSmrg 461267332fb9Smrg 4613145f796fSmrgXORG_MAN_PAGE="X Version 11" 461467332fb9Smrg 4615145f796fSmrgMAN_SUBSTS="\ 4616145f796fSmrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4617145f796fSmrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4618145f796fSmrg -e 's|__xservername__|Xorg|g' \ 4619145f796fSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 4620145f796fSmrg -e 's|__projectroot__|\$(prefix)|g' \ 4621145f796fSmrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 4622145f796fSmrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 4623145f796fSmrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 4624145f796fSmrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 4625145f796fSmrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 4626145f796fSmrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 4627145f796fSmrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 462867332fb9Smrg 462967332fb9Smrg 463067332fb9Smrg 4631145f796fSmrg# Check whether --enable-silent-rules was given. 4632145f796fSmrgif test "${enable_silent_rules+set}" = set; then : 4633145f796fSmrg enableval=$enable_silent_rules; 463467332fb9Smrgfi 4635eed6fe1cSmrg 4636145f796fSmrgcase $enable_silent_rules in 4637145f796fSmrgyes) AM_DEFAULT_VERBOSITY=0;; 4638145f796fSmrgno) AM_DEFAULT_VERBOSITY=1;; 4639145f796fSmrg*) AM_DEFAULT_VERBOSITY=0;; 4640145f796fSmrgesac 4641145f796fSmrgAM_BACKSLASH='\' 4642eed6fe1cSmrg 4643eed6fe1cSmrg 4644eed6fe1cSmrg 4645eed6fe1cSmrg 4646eed6fe1cSmrg 4647145f796fSmrg# Require X.Org's font util macros 1.2 or later 4648eed6fe1cSmrg 4649eed6fe1cSmrg 4650eed6fe1cSmrg 4651eed6fe1cSmrg 4652eed6fe1cSmrg 4653eed6fe1cSmrg 4654eed6fe1cSmrg 4655eed6fe1cSmrg 4656eed6fe1cSmrg 4657eed6fe1cSmrg 4658eed6fe1cSmrg 4659eed6fe1cSmrg 4660eed6fe1cSmrg 4661eed6fe1cSmrg 4662eed6fe1cSmrg 4663145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5 4664eed6fe1cSmrg$as_echo_n "checking for root directory for font files... " >&6; } 4665eed6fe1cSmrg 4666eed6fe1cSmrg# Check whether --with-fontrootdir was given. 4667145f796fSmrgif test "${with_fontrootdir+set}" = set; then : 4668eed6fe1cSmrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 4669eed6fe1cSmrgfi 467067332fb9Smrg 4671eed6fe1cSmrg # if --with-fontrootdir not specified... 4672eed6fe1cSmrg if test "x${FONTROOTDIR}" = "x"; then 4673eed6fe1cSmrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 4674eed6fe1cSmrg fi 4675eed6fe1cSmrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 4676eed6fe1cSmrg if test "x${FONTROOTDIR}" = "x"; then 4677eed6fe1cSmrg FONTROOTDIR="${datadir}/fonts/X11" 4678eed6fe1cSmrg fi 467967332fb9Smrg 4680145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5 4681eed6fe1cSmrg$as_echo "${FONTROOTDIR}" >&6; } 468267332fb9Smrg 468367332fb9Smrg 468467332fb9Smrg 468567332fb9Smrg 4686145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 75dpi files" >&5 4687eed6fe1cSmrg$as_echo_n "checking for directory for 75dpi files... " >&6; } 468867332fb9Smrg 4689eed6fe1cSmrg# Check whether --with-fontdir was given. 4690145f796fSmrgif test "${with_fontdir+set}" = set; then : 4691eed6fe1cSmrg withval=$with_fontdir; FONTDIR="${withval}" 469267332fb9Smrgelse 4693eed6fe1cSmrg FONTDIR='${FONTROOTDIR}/75dpi' 469467332fb9Smrgfi 469567332fb9Smrg 4696eed6fe1cSmrg 4697145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTDIR}" >&5 4698eed6fe1cSmrg$as_echo "${FONTDIR}" >&6; } 4699eed6fe1cSmrg 4700eed6fe1cSmrg 4701eed6fe1cSmrg 4702eed6fe1cSmrg 4703eed6fe1cSmrg # Extract the first word of "fc-cache", so it can be a program name with args. 4704eed6fe1cSmrgset dummy fc-cache; ac_word=$2 4705145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4706eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 4707145f796fSmrgif ${ac_cv_path_FCCACHE+:} false; then : 4708eed6fe1cSmrg $as_echo_n "(cached) " >&6 470967332fb9Smrgelse 4710eed6fe1cSmrg case $FCCACHE in 471167332fb9Smrg [\\/]* | ?:[\\/]*) 4712eed6fe1cSmrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 471367332fb9Smrg ;; 471467332fb9Smrg *) 471567332fb9Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 471667332fb9Smrgfor as_dir in $PATH 471767332fb9Smrgdo 471867332fb9Smrg IFS=$as_save_IFS 471967332fb9Smrg test -z "$as_dir" && as_dir=. 4720145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4721eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4722eed6fe1cSmrg ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext" 4723145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 472467332fb9Smrg break 2 472567332fb9Smrg fi 472667332fb9Smrgdone 4727145f796fSmrg done 4728eed6fe1cSmrgIFS=$as_save_IFS 472967332fb9Smrg 473067332fb9Smrg ;; 473167332fb9Smrgesac 473267332fb9Smrgfi 4733eed6fe1cSmrgFCCACHE=$ac_cv_path_FCCACHE 4734eed6fe1cSmrgif test -n "$FCCACHE"; then 4735145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FCCACHE" >&5 4736eed6fe1cSmrg$as_echo "$FCCACHE" >&6; } 473767332fb9Smrgelse 4738145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4739eed6fe1cSmrg$as_echo "no" >&6; } 474067332fb9Smrgfi 474167332fb9Smrg 4742eed6fe1cSmrg 4743eed6fe1cSmrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 4744eed6fe1cSmrg if test x"$FCCACHE" = x ; then 4745eed6fe1cSmrg RUN_FCCACHE="${FCCACHE_WARN}" 4746eed6fe1cSmrg else 4747eed6fe1cSmrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 4748eed6fe1cSmrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 4749eed6fe1cSmrg fi 4750eed6fe1cSmrg 4751eed6fe1cSmrg 4752eed6fe1cSmrg 4753eed6fe1cSmrg # Extract the first word of "mkfontdir", so it can be a program name with args. 4754eed6fe1cSmrgset dummy mkfontdir; ac_word=$2 4755145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4756eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 4757145f796fSmrgif ${ac_cv_path_MKFONTDIR+:} false; then : 4758eed6fe1cSmrg $as_echo_n "(cached) " >&6 475967332fb9Smrgelse 4760eed6fe1cSmrg case $MKFONTDIR in 476167332fb9Smrg [\\/]* | ?:[\\/]*) 4762eed6fe1cSmrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 476367332fb9Smrg ;; 476467332fb9Smrg *) 476567332fb9Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 476667332fb9Smrgfor as_dir in $PATH 476767332fb9Smrgdo 476867332fb9Smrg IFS=$as_save_IFS 476967332fb9Smrg test -z "$as_dir" && as_dir=. 4770145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4771eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4772eed6fe1cSmrg ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext" 4773145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 477467332fb9Smrg break 2 477567332fb9Smrg fi 477667332fb9Smrgdone 4777145f796fSmrg done 4778eed6fe1cSmrgIFS=$as_save_IFS 477967332fb9Smrg 478067332fb9Smrg ;; 478167332fb9Smrgesac 478267332fb9Smrgfi 4783eed6fe1cSmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 4784eed6fe1cSmrgif test -n "$MKFONTDIR"; then 4785145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKFONTDIR" >&5 4786eed6fe1cSmrg$as_echo "$MKFONTDIR" >&6; } 478767332fb9Smrgelse 4788145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4789eed6fe1cSmrg$as_echo "no" >&6; } 479067332fb9Smrgfi 479167332fb9Smrg 4792eed6fe1cSmrg 4793145f796fSmrg if test x"$MKFONTDIR" = x; then 4794145f796fSmrg as_fn_error $? "mkfontdir is required to build $PACKAGE_NAME." "$LINENO" 5 4795eed6fe1cSmrg fi 4796eed6fe1cSmrg 4797eed6fe1cSmrg 4798eed6fe1cSmrg 4799eed6fe1cSmrg # Extract the first word of "bdftopcf", so it can be a program name with args. 4800eed6fe1cSmrgset dummy bdftopcf; ac_word=$2 4801145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4802eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 4803145f796fSmrgif ${ac_cv_path_BDFTOPCF+:} false; then : 4804eed6fe1cSmrg $as_echo_n "(cached) " >&6 480567332fb9Smrgelse 4806eed6fe1cSmrg case $BDFTOPCF in 480767332fb9Smrg [\\/]* | ?:[\\/]*) 4808eed6fe1cSmrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 480967332fb9Smrg ;; 481067332fb9Smrg *) 481167332fb9Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 481267332fb9Smrgfor as_dir in $PATH 481367332fb9Smrgdo 481467332fb9Smrg IFS=$as_save_IFS 481567332fb9Smrg test -z "$as_dir" && as_dir=. 4816145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4817eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4818eed6fe1cSmrg ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext" 4819145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 482067332fb9Smrg break 2 482167332fb9Smrg fi 482267332fb9Smrgdone 4823145f796fSmrg done 4824eed6fe1cSmrgIFS=$as_save_IFS 482567332fb9Smrg 482667332fb9Smrg ;; 482767332fb9Smrgesac 482867332fb9Smrgfi 4829eed6fe1cSmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 4830eed6fe1cSmrgif test -n "$BDFTOPCF"; then 4831145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BDFTOPCF" >&5 4832eed6fe1cSmrg$as_echo "$BDFTOPCF" >&6; } 483367332fb9Smrgelse 4834145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4835eed6fe1cSmrg$as_echo "no" >&6; } 483667332fb9Smrgfi 483767332fb9Smrg 483867332fb9Smrg 4839145f796fSmrg if test x"$BDFTOPCF" = x; then 4840145f796fSmrg as_fn_error $? "bdftopcf is required to build $PACKAGE_NAME." "$LINENO" 5 4841eed6fe1cSmrg fi 484267332fb9Smrg 484367332fb9Smrg 4844145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking font compression method" >&5 4845eed6fe1cSmrg$as_echo_n "checking font compression method... " >&6; } 484667332fb9Smrg 4847eed6fe1cSmrg# Check whether --with-compression was given. 4848145f796fSmrgif test "${with_compression+set}" = set; then : 4849eed6fe1cSmrg withval=$with_compression; compression="$withval" 485067332fb9Smrgelse 4851eed6fe1cSmrg compression="yes" 4852eed6fe1cSmrgfi 485367332fb9Smrg 4854eed6fe1cSmrg if test x"$compression" = "xyes" ; then 4855eed6fe1cSmrg compression="gzip" 4856eed6fe1cSmrg fi 4857145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${compression}" >&5 4858eed6fe1cSmrg$as_echo "${compression}" >&6; } 4859eed6fe1cSmrg case ${compression} in 4860eed6fe1cSmrg *compress) COMPRESS_SUFFIX=".Z" ;; 4861eed6fe1cSmrg *gzip) COMPRESS_SUFFIX=".gz" ;; 4862eed6fe1cSmrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 4863eed6fe1cSmrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 4864145f796fSmrg *) as_fn_error $? "${compression} is not a supported compression method" "$LINENO" 5 ;; 4865eed6fe1cSmrg esac 4866eed6fe1cSmrg if test x"$COMPRESS_SUFFIX" != "x" ; then 4867eed6fe1cSmrg 4868eed6fe1cSmrg # Extract the first word of "${compression}", so it can be a program name with args. 4869eed6fe1cSmrgset dummy ${compression}; ac_word=$2 4870145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4871eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 4872145f796fSmrgif ${ac_cv_path_COMPRESS+:} false; then : 4873eed6fe1cSmrg $as_echo_n "(cached) " >&6 487467332fb9Smrgelse 4875eed6fe1cSmrg case $COMPRESS in 487667332fb9Smrg [\\/]* | ?:[\\/]*) 4877eed6fe1cSmrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 487867332fb9Smrg ;; 487967332fb9Smrg *) 488067332fb9Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 488167332fb9Smrgfor as_dir in $PATH 488267332fb9Smrgdo 488367332fb9Smrg IFS=$as_save_IFS 488467332fb9Smrg test -z "$as_dir" && as_dir=. 4885145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4886eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4887eed6fe1cSmrg ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext" 4888145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 488967332fb9Smrg break 2 489067332fb9Smrg fi 489167332fb9Smrgdone 4892145f796fSmrg done 4893eed6fe1cSmrgIFS=$as_save_IFS 489467332fb9Smrg 489567332fb9Smrg ;; 489667332fb9Smrgesac 489767332fb9Smrgfi 4898eed6fe1cSmrgCOMPRESS=$ac_cv_path_COMPRESS 4899eed6fe1cSmrgif test -n "$COMPRESS"; then 4900145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESS" >&5 4901eed6fe1cSmrg$as_echo "$COMPRESS" >&6; } 490267332fb9Smrgelse 4903145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4904eed6fe1cSmrg$as_echo "no" >&6; } 490567332fb9Smrgfi 490667332fb9Smrg 4907eed6fe1cSmrg 4908145f796fSmrg if test x"$COMPRESS" = x; then 4909145f796fSmrg as_fn_error $? "${compression} is required to build $PACKAGE_NAME." "$LINENO" 5 4910eed6fe1cSmrg fi 4911eed6fe1cSmrg 4912eed6fe1cSmrg fi 4913eed6fe1cSmrg 4914eed6fe1cSmrg 4915eed6fe1cSmrg 4916eed6fe1cSmrg 4917eed6fe1cSmrg 4918eed6fe1cSmrg # Extract the first word of "ucs2any", so it can be a program name with args. 4919eed6fe1cSmrgset dummy ucs2any; ac_word=$2 4920145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4921eed6fe1cSmrg$as_echo_n "checking for $ac_word... " >&6; } 4922145f796fSmrgif ${ac_cv_path_UCS2ANY+:} false; then : 4923eed6fe1cSmrg $as_echo_n "(cached) " >&6 492467332fb9Smrgelse 4925eed6fe1cSmrg case $UCS2ANY in 492667332fb9Smrg [\\/]* | ?:[\\/]*) 4927eed6fe1cSmrg ac_cv_path_UCS2ANY="$UCS2ANY" # Let the user override the test with a path. 492867332fb9Smrg ;; 492967332fb9Smrg *) 493067332fb9Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 493167332fb9Smrgfor as_dir in $PATH 493267332fb9Smrgdo 493367332fb9Smrg IFS=$as_save_IFS 493467332fb9Smrg test -z "$as_dir" && as_dir=. 4935145f796fSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4936eed6fe1cSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4937eed6fe1cSmrg ac_cv_path_UCS2ANY="$as_dir/$ac_word$ac_exec_ext" 4938145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 493967332fb9Smrg break 2 494067332fb9Smrg fi 494167332fb9Smrgdone 4942145f796fSmrg done 4943eed6fe1cSmrgIFS=$as_save_IFS 494467332fb9Smrg 494567332fb9Smrg ;; 494667332fb9Smrgesac 494767332fb9Smrgfi 4948eed6fe1cSmrgUCS2ANY=$ac_cv_path_UCS2ANY 4949eed6fe1cSmrgif test -n "$UCS2ANY"; then 4950145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UCS2ANY" >&5 4951eed6fe1cSmrg$as_echo "$UCS2ANY" >&6; } 495267332fb9Smrgelse 4953145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4954eed6fe1cSmrg$as_echo "no" >&6; } 495567332fb9Smrgfi 495667332fb9Smrg 495767332fb9Smrg 4958145f796fSmrg if test x"$UCS2ANY" = x; then 4959145f796fSmrg as_fn_error $? "ucs2any is required to build $PACKAGE_NAME." "$LINENO" 5 496067332fb9Smrg fi 496167332fb9Smrg 496267332fb9Smrg 496367332fb9Smrgpkg_failed=no 4964145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAPS" >&5 4965eed6fe1cSmrg$as_echo_n "checking for MAPS... " >&6; } 4966eed6fe1cSmrg 4967eed6fe1cSmrgif test -n "$MAPS_CFLAGS"; then 4968eed6fe1cSmrg pkg_cv_MAPS_CFLAGS="$MAPS_CFLAGS" 4969eed6fe1cSmrg elif test -n "$PKG_CONFIG"; then 4970eed6fe1cSmrg if test -n "$PKG_CONFIG" && \ 4971145f796fSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontutil\""; } >&5 497267332fb9Smrg ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5 497367332fb9Smrg ac_status=$? 4974145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4975145f796fSmrg test $ac_status = 0; }; then 497667332fb9Smrg pkg_cv_MAPS_CFLAGS=`$PKG_CONFIG --cflags "fontutil" 2>/dev/null` 497767332fb9Smrgelse 497867332fb9Smrg pkg_failed=yes 497967332fb9Smrgfi 4980eed6fe1cSmrg else 4981eed6fe1cSmrg pkg_failed=untried 498267332fb9Smrgfi 4983eed6fe1cSmrgif test -n "$MAPS_LIBS"; then 4984eed6fe1cSmrg pkg_cv_MAPS_LIBS="$MAPS_LIBS" 4985eed6fe1cSmrg elif test -n "$PKG_CONFIG"; then 4986eed6fe1cSmrg if test -n "$PKG_CONFIG" && \ 4987145f796fSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontutil\""; } >&5 498867332fb9Smrg ($PKG_CONFIG --exists --print-errors "fontutil") 2>&5 498967332fb9Smrg ac_status=$? 4990145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4991145f796fSmrg test $ac_status = 0; }; then 499267332fb9Smrg pkg_cv_MAPS_LIBS=`$PKG_CONFIG --libs "fontutil" 2>/dev/null` 499367332fb9Smrgelse 499467332fb9Smrg pkg_failed=yes 499567332fb9Smrgfi 4996eed6fe1cSmrg else 4997eed6fe1cSmrg pkg_failed=untried 499867332fb9Smrgfi 499967332fb9Smrg 500067332fb9Smrg 500167332fb9Smrg 500267332fb9Smrgif test $pkg_failed = yes; then 5003145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5004145f796fSmrg$as_echo "no" >&6; } 500567332fb9Smrg 500667332fb9Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 500767332fb9Smrg _pkg_short_errors_supported=yes 500867332fb9Smrgelse 500967332fb9Smrg _pkg_short_errors_supported=no 501067332fb9Smrgfi 501167332fb9Smrg if test $_pkg_short_errors_supported = yes; then 5012eed6fe1cSmrg MAPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontutil" 2>&1` 501367332fb9Smrg else 5014eed6fe1cSmrg MAPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontutil" 2>&1` 501567332fb9Smrg fi 501667332fb9Smrg # Put the nasty error message in config.log where it belongs 501767332fb9Smrg echo "$MAPS_PKG_ERRORS" >&5 501867332fb9Smrg 5019145f796fSmrg as_fn_error $? "Package requirements (fontutil) were not met: 502067332fb9Smrg 502167332fb9Smrg$MAPS_PKG_ERRORS 502267332fb9Smrg 502367332fb9SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 502467332fb9Smrginstalled software in a non-standard prefix. 502567332fb9Smrg 502667332fb9SmrgAlternatively, you may set the environment variables MAPS_CFLAGS 502767332fb9Smrgand MAPS_LIBS to avoid the need to call pkg-config. 5028145f796fSmrgSee the pkg-config man page for more details." "$LINENO" 5 502967332fb9Smrgelif test $pkg_failed = untried; then 5030145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5031145f796fSmrg$as_echo "no" >&6; } 5032145f796fSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5033eed6fe1cSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5034145f796fSmrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 503567332fb9Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 503667332fb9Smrgpath to pkg-config. 503767332fb9Smrg 5038145f796fSmrgAlternatively, you may set the environment variables MAPS_CFLAGS 5039145f796fSmrgand MAPS_LIBS to avoid the need to call pkg-config. 5040145f796fSmrgSee the pkg-config man page for more details. 5041145f796fSmrg 5042145f796fSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 5043145f796fSmrgSee \`config.log' for more details" "$LINENO" 5; } 5044145f796fSmrgelse 5045145f796fSmrg MAPS_CFLAGS=$pkg_cv_MAPS_CFLAGS 5046145f796fSmrg MAPS_LIBS=$pkg_cv_MAPS_LIBS 5047145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5048145f796fSmrg$as_echo "yes" >&6; } 5049145f796fSmrg 5050145f796fSmrgfi 5051145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ucs2any encoding data files" >&5 5052145f796fSmrg$as_echo_n "checking for ucs2any encoding data files... " >&6; } 5053145f796fSmrg MAPFILES_PATH=`pkg-config --variable=mapdir fontutil` 5054145f796fSmrg 5055145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${MAPFILES_PATH}" >&5 5056145f796fSmrg$as_echo "${MAPFILES_PATH}" >&6; } 5057145f796fSmrg 5058145f796fSmrg 5059145f796fSmrg 5060145f796fSmrg # Check whether --enable-all-encodings was given. 5061145f796fSmrgif test "${enable_all_encodings+set}" = set; then : 5062145f796fSmrg enableval=$enable_all_encodings; 5063145f796fSmrg ISO8859_1=$enableval 5064145f796fSmrg 5065145f796fSmrg ISO8859_2=$enableval 5066145f796fSmrg 5067145f796fSmrg ISO8859_3=$enableval 5068145f796fSmrg 5069145f796fSmrg ISO8859_4=$enableval 5070145f796fSmrg 5071145f796fSmrg ISO8859_9=$enableval 5072145f796fSmrg 5073145f796fSmrg ISO8859_10=$enableval 5074145f796fSmrg 5075145f796fSmrg ISO8859_13=$enableval 5076145f796fSmrg 5077145f796fSmrg ISO8859_14=$enableval 5078145f796fSmrg 5079145f796fSmrg ISO8859_15=$enableval 5080145f796fSmrg 5081145f796fSmrgelse 5082145f796fSmrg 5083145f796fSmrg ISO8859_1=yes 5084145f796fSmrg 5085145f796fSmrg ISO8859_2=yes 508667332fb9Smrg 5087145f796fSmrg ISO8859_3=yes 508867332fb9Smrg 5089145f796fSmrg ISO8859_4=yes 509067332fb9Smrg 5091145f796fSmrg ISO8859_9=yes 5092eed6fe1cSmrg 5093145f796fSmrg ISO8859_10=yes 5094145f796fSmrg 5095145f796fSmrg ISO8859_13=yes 5096145f796fSmrg 5097145f796fSmrg ISO8859_14=yes 509867332fb9Smrg 5099145f796fSmrg ISO8859_15=yes 510067332fb9Smrg 5101145f796fSmrgfi 510267332fb9Smrg 5103eed6fe1cSmrg 5104eed6fe1cSmrg # Check whether --enable-iso8859-1 was given. 5105145f796fSmrgif test "${enable_iso8859_1+set}" = set; then : 5106eed6fe1cSmrg enableval=$enable_iso8859_1; ISO8859_1=$enableval 5107eed6fe1cSmrgfi 510867332fb9Smrg 5109145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-1 fonts" >&5 5110eed6fe1cSmrg$as_echo_n "checking whether to build ISO8859-1 fonts... " >&6; } 5111145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_1" >&5 5112eed6fe1cSmrg$as_echo "$ISO8859_1" >&6; } 5113eed6fe1cSmrg if test "x$ISO8859_1" = xyes; then 511467332fb9Smrg ISO8859_1_TRUE= 511567332fb9Smrg ISO8859_1_FALSE='#' 511667332fb9Smrgelse 511767332fb9Smrg ISO8859_1_TRUE='#' 511867332fb9Smrg ISO8859_1_FALSE= 511967332fb9Smrgfi 512067332fb9Smrg 512167332fb9Smrg 5122eed6fe1cSmrg # Check whether --enable-iso8859-2 was given. 5123145f796fSmrgif test "${enable_iso8859_2+set}" = set; then : 5124eed6fe1cSmrg enableval=$enable_iso8859_2; ISO8859_2=$enableval 5125eed6fe1cSmrgfi 512667332fb9Smrg 5127145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-2 fonts" >&5 5128eed6fe1cSmrg$as_echo_n "checking whether to build ISO8859-2 fonts... " >&6; } 5129145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_2" >&5 5130eed6fe1cSmrg$as_echo "$ISO8859_2" >&6; } 5131eed6fe1cSmrg if test "x$ISO8859_2" = xyes; then 513267332fb9Smrg ISO8859_2_TRUE= 513367332fb9Smrg ISO8859_2_FALSE='#' 513467332fb9Smrgelse 513567332fb9Smrg ISO8859_2_TRUE='#' 513667332fb9Smrg ISO8859_2_FALSE= 513767332fb9Smrgfi 513867332fb9Smrg 513967332fb9Smrg 5140eed6fe1cSmrg # Check whether --enable-iso8859-3 was given. 5141145f796fSmrgif test "${enable_iso8859_3+set}" = set; then : 5142eed6fe1cSmrg enableval=$enable_iso8859_3; ISO8859_3=$enableval 5143eed6fe1cSmrgfi 514467332fb9Smrg 5145145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-3 fonts" >&5 5146eed6fe1cSmrg$as_echo_n "checking whether to build ISO8859-3 fonts... " >&6; } 5147145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_3" >&5 5148eed6fe1cSmrg$as_echo "$ISO8859_3" >&6; } 5149eed6fe1cSmrg if test "x$ISO8859_3" = xyes; then 515067332fb9Smrg ISO8859_3_TRUE= 515167332fb9Smrg ISO8859_3_FALSE='#' 515267332fb9Smrgelse 515367332fb9Smrg ISO8859_3_TRUE='#' 515467332fb9Smrg ISO8859_3_FALSE= 515567332fb9Smrgfi 515667332fb9Smrg 515767332fb9Smrg 5158eed6fe1cSmrg # Check whether --enable-iso8859-4 was given. 5159145f796fSmrgif test "${enable_iso8859_4+set}" = set; then : 5160eed6fe1cSmrg enableval=$enable_iso8859_4; ISO8859_4=$enableval 5161eed6fe1cSmrgfi 516267332fb9Smrg 5163145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-4 fonts" >&5 5164eed6fe1cSmrg$as_echo_n "checking whether to build ISO8859-4 fonts... " >&6; } 5165145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_4" >&5 5166eed6fe1cSmrg$as_echo "$ISO8859_4" >&6; } 5167eed6fe1cSmrg if test "x$ISO8859_4" = xyes; then 516867332fb9Smrg ISO8859_4_TRUE= 516967332fb9Smrg ISO8859_4_FALSE='#' 517067332fb9Smrgelse 517167332fb9Smrg ISO8859_4_TRUE='#' 517267332fb9Smrg ISO8859_4_FALSE= 517367332fb9Smrgfi 517467332fb9Smrg 517567332fb9Smrg 5176eed6fe1cSmrg # Check whether --enable-iso8859-9 was given. 5177145f796fSmrgif test "${enable_iso8859_9+set}" = set; then : 5178eed6fe1cSmrg enableval=$enable_iso8859_9; ISO8859_9=$enableval 5179eed6fe1cSmrgfi 518067332fb9Smrg 5181145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-9 fonts" >&5 5182eed6fe1cSmrg$as_echo_n "checking whether to build ISO8859-9 fonts... " >&6; } 5183145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_9" >&5 5184eed6fe1cSmrg$as_echo "$ISO8859_9" >&6; } 5185eed6fe1cSmrg if test "x$ISO8859_9" = xyes; then 518667332fb9Smrg ISO8859_9_TRUE= 518767332fb9Smrg ISO8859_9_FALSE='#' 518867332fb9Smrgelse 518967332fb9Smrg ISO8859_9_TRUE='#' 519067332fb9Smrg ISO8859_9_FALSE= 519167332fb9Smrgfi 519267332fb9Smrg 519367332fb9Smrg 5194eed6fe1cSmrg # Check whether --enable-iso8859-10 was given. 5195145f796fSmrgif test "${enable_iso8859_10+set}" = set; then : 5196eed6fe1cSmrg enableval=$enable_iso8859_10; ISO8859_10=$enableval 5197eed6fe1cSmrgfi 519867332fb9Smrg 5199145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-10 fonts" >&5 5200eed6fe1cSmrg$as_echo_n "checking whether to build ISO8859-10 fonts... " >&6; } 5201145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_10" >&5 5202eed6fe1cSmrg$as_echo "$ISO8859_10" >&6; } 5203eed6fe1cSmrg if test "x$ISO8859_10" = xyes; then 520467332fb9Smrg ISO8859_10_TRUE= 520567332fb9Smrg ISO8859_10_FALSE='#' 520667332fb9Smrgelse 520767332fb9Smrg ISO8859_10_TRUE='#' 520867332fb9Smrg ISO8859_10_FALSE= 520967332fb9Smrgfi 521067332fb9Smrg 521167332fb9Smrg 5212eed6fe1cSmrg # Check whether --enable-iso8859-13 was given. 5213145f796fSmrgif test "${enable_iso8859_13+set}" = set; then : 5214eed6fe1cSmrg enableval=$enable_iso8859_13; ISO8859_13=$enableval 5215eed6fe1cSmrgfi 521667332fb9Smrg 5217145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-13 fonts" >&5 5218eed6fe1cSmrg$as_echo_n "checking whether to build ISO8859-13 fonts... " >&6; } 5219145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_13" >&5 5220eed6fe1cSmrg$as_echo "$ISO8859_13" >&6; } 5221eed6fe1cSmrg if test "x$ISO8859_13" = xyes; then 522267332fb9Smrg ISO8859_13_TRUE= 522367332fb9Smrg ISO8859_13_FALSE='#' 522467332fb9Smrgelse 522567332fb9Smrg ISO8859_13_TRUE='#' 522667332fb9Smrg ISO8859_13_FALSE= 522767332fb9Smrgfi 522867332fb9Smrg 522967332fb9Smrg 5230eed6fe1cSmrg # Check whether --enable-iso8859-14 was given. 5231145f796fSmrgif test "${enable_iso8859_14+set}" = set; then : 5232eed6fe1cSmrg enableval=$enable_iso8859_14; ISO8859_14=$enableval 5233eed6fe1cSmrgfi 523467332fb9Smrg 5235145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-14 fonts" >&5 5236eed6fe1cSmrg$as_echo_n "checking whether to build ISO8859-14 fonts... " >&6; } 5237145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_14" >&5 5238eed6fe1cSmrg$as_echo "$ISO8859_14" >&6; } 5239eed6fe1cSmrg if test "x$ISO8859_14" = xyes; then 524067332fb9Smrg ISO8859_14_TRUE= 524167332fb9Smrg ISO8859_14_FALSE='#' 524267332fb9Smrgelse 524367332fb9Smrg ISO8859_14_TRUE='#' 524467332fb9Smrg ISO8859_14_FALSE= 524567332fb9Smrgfi 524667332fb9Smrg 524767332fb9Smrg 5248eed6fe1cSmrg # Check whether --enable-iso8859-15 was given. 5249145f796fSmrgif test "${enable_iso8859_15+set}" = set; then : 5250eed6fe1cSmrg enableval=$enable_iso8859_15; ISO8859_15=$enableval 5251eed6fe1cSmrgfi 525267332fb9Smrg 5253145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build ISO8859-15 fonts" >&5 5254eed6fe1cSmrg$as_echo_n "checking whether to build ISO8859-15 fonts... " >&6; } 5255145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO8859_15" >&5 5256eed6fe1cSmrg$as_echo "$ISO8859_15" >&6; } 5257eed6fe1cSmrg if test "x$ISO8859_15" = xyes; then 525867332fb9Smrg ISO8859_15_TRUE= 525967332fb9Smrg ISO8859_15_FALSE='#' 526067332fb9Smrgelse 526167332fb9Smrg ISO8859_15_TRUE='#' 526267332fb9Smrg ISO8859_15_FALSE= 526367332fb9Smrgfi 526467332fb9Smrg 526567332fb9Smrg 526667332fb9Smrg 526767332fb9Smrg 5268eed6fe1cSmrgac_config_files="$ac_config_files Makefile" 526967332fb9Smrg 527067332fb9Smrgcat >confcache <<\_ACEOF 527167332fb9Smrg# This file is a shell script that caches the results of configure 527267332fb9Smrg# tests run on this system so they can be shared between configure 527367332fb9Smrg# scripts and configure runs, see configure's option --config-cache. 527467332fb9Smrg# It is not useful on other systems. If it contains results you don't 527567332fb9Smrg# want to keep, you may remove or edit it. 527667332fb9Smrg# 527767332fb9Smrg# config.status only pays attention to the cache file if you give it 527867332fb9Smrg# the --recheck option to rerun configure. 527967332fb9Smrg# 528067332fb9Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 528167332fb9Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 528267332fb9Smrg# following values. 528367332fb9Smrg 528467332fb9Smrg_ACEOF 528567332fb9Smrg 528667332fb9Smrg# The following way of writing the cache mishandles newlines in values, 528767332fb9Smrg# but we know of no workaround that is simple, portable, and efficient. 5288eed6fe1cSmrg# So, we kill variables containing newlines. 528967332fb9Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 529067332fb9Smrg# and sets the high bit in the cache file unless we assign to the vars. 5291eed6fe1cSmrg( 5292eed6fe1cSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5293eed6fe1cSmrg eval ac_val=\$$ac_var 5294eed6fe1cSmrg case $ac_val in #( 5295eed6fe1cSmrg *${as_nl}*) 5296eed6fe1cSmrg case $ac_var in #( 5297145f796fSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 5298eed6fe1cSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 5299eed6fe1cSmrg esac 5300eed6fe1cSmrg case $ac_var in #( 5301eed6fe1cSmrg _ | IFS | as_nl) ;; #( 5302eed6fe1cSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5303145f796fSmrg *) { eval $ac_var=; unset $ac_var;} ;; 5304eed6fe1cSmrg esac ;; 5305eed6fe1cSmrg esac 5306eed6fe1cSmrg done 5307eed6fe1cSmrg 530867332fb9Smrg (set) 2>&1 | 5309eed6fe1cSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 5310eed6fe1cSmrg *${as_nl}ac_space=\ *) 5311145f796fSmrg # `set' does not quote correctly, so add quotes: double-quote 5312145f796fSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 531367332fb9Smrg sed -n \ 531467332fb9Smrg "s/'/'\\\\''/g; 531567332fb9Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5316eed6fe1cSmrg ;; #( 531767332fb9Smrg *) 531867332fb9Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 5319eed6fe1cSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 532067332fb9Smrg ;; 5321eed6fe1cSmrg esac | 5322eed6fe1cSmrg sort 5323eed6fe1cSmrg) | 532467332fb9Smrg sed ' 5325eed6fe1cSmrg /^ac_cv_env_/b end 532667332fb9Smrg t clear 5327eed6fe1cSmrg :clear 532867332fb9Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 532967332fb9Smrg t end 5330eed6fe1cSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5331eed6fe1cSmrg :end' >>confcache 5332eed6fe1cSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5333eed6fe1cSmrg if test -w "$cache_file"; then 5334145f796fSmrg if test "x$cache_file" != "x/dev/null"; then 5335145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 5336eed6fe1cSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 5337145f796fSmrg if test ! -f "$cache_file" || test -h "$cache_file"; then 5338145f796fSmrg cat confcache >"$cache_file" 5339145f796fSmrg else 5340145f796fSmrg case $cache_file in #( 5341145f796fSmrg */* | ?:*) 5342145f796fSmrg mv -f confcache "$cache_file"$$ && 5343145f796fSmrg mv -f "$cache_file"$$ "$cache_file" ;; #( 5344145f796fSmrg *) 5345145f796fSmrg mv -f confcache "$cache_file" ;; 5346145f796fSmrg esac 5347145f796fSmrg fi 5348145f796fSmrg fi 534967332fb9Smrg else 5350145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 5351eed6fe1cSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 535267332fb9Smrg fi 535367332fb9Smrgfi 535467332fb9Smrgrm -f confcache 535567332fb9Smrg 535667332fb9Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 535767332fb9Smrg# Let make expand exec_prefix. 535867332fb9Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 535967332fb9Smrg 536067332fb9Smrg# Transform confdefs.h into DEFS. 536167332fb9Smrg# Protect against shell expansion while executing Makefile rules. 536267332fb9Smrg# Protect against Makefile macro expansion. 536367332fb9Smrg# 536467332fb9Smrg# If the first sed substitution is executed (which looks for macros that 5365eed6fe1cSmrg# take arguments), then branch to the quote section. Otherwise, 536667332fb9Smrg# look for a macro that doesn't take arguments. 5367eed6fe1cSmrgac_script=' 5368eed6fe1cSmrg:mline 5369eed6fe1cSmrg/\\$/{ 5370eed6fe1cSmrg N 5371eed6fe1cSmrg s,\\\n,, 5372eed6fe1cSmrg b mline 5373eed6fe1cSmrg} 537467332fb9Smrgt clear 5375eed6fe1cSmrg:clear 5376eed6fe1cSmrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 537767332fb9Smrgt quote 5378eed6fe1cSmrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 537967332fb9Smrgt quote 5380eed6fe1cSmrgb any 5381eed6fe1cSmrg:quote 5382eed6fe1cSmrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 5383eed6fe1cSmrgs/\[/\\&/g 5384eed6fe1cSmrgs/\]/\\&/g 5385eed6fe1cSmrgs/\$/$$/g 5386eed6fe1cSmrgH 5387eed6fe1cSmrg:any 5388eed6fe1cSmrg${ 5389eed6fe1cSmrg g 5390eed6fe1cSmrg s/^\n// 5391eed6fe1cSmrg s/\n/ /g 5392eed6fe1cSmrg p 5393eed6fe1cSmrg} 5394eed6fe1cSmrg' 5395eed6fe1cSmrgDEFS=`sed -n "$ac_script" confdefs.h` 539667332fb9Smrg 539767332fb9Smrg 539867332fb9Smrgac_libobjs= 539967332fb9Smrgac_ltlibobjs= 5400145f796fSmrgU= 540167332fb9Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 540267332fb9Smrg # 1. Remove the extension, and $U if already installed. 5403eed6fe1cSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5404eed6fe1cSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5405eed6fe1cSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5406eed6fe1cSmrg # will be set to the directory where LIBOBJS objects are built. 5407145f796fSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5408145f796fSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 540967332fb9Smrgdone 541067332fb9SmrgLIBOBJS=$ac_libobjs 541167332fb9Smrg 541267332fb9SmrgLTLIBOBJS=$ac_ltlibobjs 541367332fb9Smrg 541467332fb9Smrg 5415eed6fe1cSmrg if test -n "$EXEEXT"; then 5416eed6fe1cSmrg am__EXEEXT_TRUE= 5417eed6fe1cSmrg am__EXEEXT_FALSE='#' 5418eed6fe1cSmrgelse 5419eed6fe1cSmrg am__EXEEXT_TRUE='#' 5420eed6fe1cSmrg am__EXEEXT_FALSE= 5421eed6fe1cSmrgfi 5422eed6fe1cSmrg 542367332fb9Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 5424145f796fSmrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 5425145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5426eed6fe1cSmrgfi 5427eed6fe1cSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5428145f796fSmrg as_fn_error $? "conditional \"AMDEP\" was never defined. 5429145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 5430eed6fe1cSmrgfi 5431eed6fe1cSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5432145f796fSmrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 5433145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 543467332fb9Smrgfi 543567332fb9Smrgif test -z "${ISO8859_1_TRUE}" && test -z "${ISO8859_1_FALSE}"; then 5436145f796fSmrg as_fn_error $? "conditional \"ISO8859_1\" was never defined. 5437145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 543867332fb9Smrgfi 543967332fb9Smrgif test -z "${ISO8859_2_TRUE}" && test -z "${ISO8859_2_FALSE}"; then 5440145f796fSmrg as_fn_error $? "conditional \"ISO8859_2\" was never defined. 5441145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 544267332fb9Smrgfi 544367332fb9Smrgif test -z "${ISO8859_3_TRUE}" && test -z "${ISO8859_3_FALSE}"; then 5444145f796fSmrg as_fn_error $? "conditional \"ISO8859_3\" was never defined. 5445145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 544667332fb9Smrgfi 544767332fb9Smrgif test -z "${ISO8859_4_TRUE}" && test -z "${ISO8859_4_FALSE}"; then 5448145f796fSmrg as_fn_error $? "conditional \"ISO8859_4\" was never defined. 5449145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 545067332fb9Smrgfi 545167332fb9Smrgif test -z "${ISO8859_9_TRUE}" && test -z "${ISO8859_9_FALSE}"; then 5452145f796fSmrg as_fn_error $? "conditional \"ISO8859_9\" was never defined. 5453145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 545467332fb9Smrgfi 545567332fb9Smrgif test -z "${ISO8859_10_TRUE}" && test -z "${ISO8859_10_FALSE}"; then 5456145f796fSmrg as_fn_error $? "conditional \"ISO8859_10\" was never defined. 5457145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 545867332fb9Smrgfi 545967332fb9Smrgif test -z "${ISO8859_13_TRUE}" && test -z "${ISO8859_13_FALSE}"; then 5460145f796fSmrg as_fn_error $? "conditional \"ISO8859_13\" was never defined. 5461145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 546267332fb9Smrgfi 546367332fb9Smrgif test -z "${ISO8859_14_TRUE}" && test -z "${ISO8859_14_FALSE}"; then 5464145f796fSmrg as_fn_error $? "conditional \"ISO8859_14\" was never defined. 5465145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 546667332fb9Smrgfi 546767332fb9Smrgif test -z "${ISO8859_15_TRUE}" && test -z "${ISO8859_15_FALSE}"; then 5468145f796fSmrg as_fn_error $? "conditional \"ISO8859_15\" was never defined. 5469145f796fSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 547067332fb9Smrgfi 547167332fb9Smrg 5472145f796fSmrg: "${CONFIG_STATUS=./config.status}" 5473eed6fe1cSmrgac_write_fail=0 547467332fb9Smrgac_clean_files_save=$ac_clean_files 547567332fb9Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 5476145f796fSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 5477eed6fe1cSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5478145f796fSmrgas_write_fail=0 5479145f796fSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 548067332fb9Smrg#! $SHELL 548167332fb9Smrg# Generated by $as_me. 548267332fb9Smrg# Run this file to recreate the current configuration. 548367332fb9Smrg# Compiler output produced by configure, useful for debugging 548467332fb9Smrg# configure, is in config.log if it exists. 548567332fb9Smrg 548667332fb9Smrgdebug=false 548767332fb9Smrgac_cs_recheck=false 548867332fb9Smrgac_cs_silent=false 548967332fb9Smrg 5490145f796fSmrgSHELL=\${CONFIG_SHELL-$SHELL} 5491145f796fSmrgexport SHELL 5492145f796fSmrg_ASEOF 5493145f796fSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 5494145f796fSmrg## -------------------- ## 5495145f796fSmrg## M4sh Initialization. ## 5496145f796fSmrg## -------------------- ## 549767332fb9Smrg 5498eed6fe1cSmrg# Be more Bourne compatible 5499eed6fe1cSmrgDUALCASE=1; export DUALCASE # for MKS sh 5500145f796fSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 550167332fb9Smrg emulate sh 550267332fb9Smrg NULLCMD=: 5503eed6fe1cSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 550467332fb9Smrg # is contrary to our usage. Disable this feature. 550567332fb9Smrg alias -g '${1+"$@"}'='"$@"' 5506eed6fe1cSmrg setopt NO_GLOB_SUBST 5507eed6fe1cSmrgelse 5508145f796fSmrg case `(set -o) 2>/dev/null` in #( 5509145f796fSmrg *posix*) : 5510145f796fSmrg set -o posix ;; #( 5511145f796fSmrg *) : 5512145f796fSmrg ;; 5513eed6fe1cSmrgesac 5514eed6fe1cSmrgfi 5515eed6fe1cSmrg 5516eed6fe1cSmrg 5517eed6fe1cSmrgas_nl=' 5518eed6fe1cSmrg' 5519eed6fe1cSmrgexport as_nl 5520eed6fe1cSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 5521eed6fe1cSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5522eed6fe1cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5523eed6fe1cSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5524145f796fSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 5525145f796fSmrg# but without wasting forks for bash or zsh. 5526145f796fSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 5527145f796fSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 5528145f796fSmrg as_echo='print -r --' 5529145f796fSmrg as_echo_n='print -rn --' 5530145f796fSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5531eed6fe1cSmrg as_echo='printf %s\n' 5532eed6fe1cSmrg as_echo_n='printf %s' 5533eed6fe1cSmrgelse 5534eed6fe1cSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5535eed6fe1cSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5536eed6fe1cSmrg as_echo_n='/usr/ucb/echo -n' 5537eed6fe1cSmrg else 5538eed6fe1cSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5539eed6fe1cSmrg as_echo_n_body='eval 5540eed6fe1cSmrg arg=$1; 5541145f796fSmrg case $arg in #( 5542eed6fe1cSmrg *"$as_nl"*) 5543eed6fe1cSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 5544eed6fe1cSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5545eed6fe1cSmrg esac; 5546eed6fe1cSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5547eed6fe1cSmrg ' 5548eed6fe1cSmrg export as_echo_n_body 5549eed6fe1cSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 5550eed6fe1cSmrg fi 5551eed6fe1cSmrg export as_echo_body 5552eed6fe1cSmrg as_echo='sh -c $as_echo_body as_echo' 5553eed6fe1cSmrgfi 5554eed6fe1cSmrg 5555eed6fe1cSmrg# The user is always right. 5556eed6fe1cSmrgif test "${PATH_SEPARATOR+set}" != set; then 5557eed6fe1cSmrg PATH_SEPARATOR=: 5558eed6fe1cSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5559eed6fe1cSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5560eed6fe1cSmrg PATH_SEPARATOR=';' 5561eed6fe1cSmrg } 556267332fb9Smrgfi 556367332fb9Smrg 556467332fb9Smrg 5565eed6fe1cSmrg# IFS 5566eed6fe1cSmrg# We need space, tab and new line, in precisely that order. Quoting is 5567eed6fe1cSmrg# there to prevent editors from complaining about space-tab. 5568eed6fe1cSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5569eed6fe1cSmrg# splitting by setting IFS to empty value.) 5570eed6fe1cSmrgIFS=" "" $as_nl" 5571eed6fe1cSmrg 5572eed6fe1cSmrg# Find who we are. Look in the path if we contain no directory separator. 5573145f796fSmrgas_myself= 5574145f796fSmrgcase $0 in #(( 5575eed6fe1cSmrg *[\\/]* ) as_myself=$0 ;; 5576eed6fe1cSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5577eed6fe1cSmrgfor as_dir in $PATH 5578eed6fe1cSmrgdo 5579eed6fe1cSmrg IFS=$as_save_IFS 5580eed6fe1cSmrg test -z "$as_dir" && as_dir=. 5581145f796fSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5582145f796fSmrg done 5583eed6fe1cSmrgIFS=$as_save_IFS 5584eed6fe1cSmrg 5585eed6fe1cSmrg ;; 5586eed6fe1cSmrgesac 5587eed6fe1cSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 5588eed6fe1cSmrg# in which case we are not to be found in the path. 5589eed6fe1cSmrgif test "x$as_myself" = x; then 5590eed6fe1cSmrg as_myself=$0 5591eed6fe1cSmrgfi 5592eed6fe1cSmrgif test ! -f "$as_myself"; then 5593eed6fe1cSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5594145f796fSmrg exit 1 5595eed6fe1cSmrgfi 5596eed6fe1cSmrg 5597145f796fSmrg# Unset variables that we do not need and which cause bugs (e.g. in 5598145f796fSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5599145f796fSmrg# suppresses any "Segmentation fault" message there. '((' could 5600145f796fSmrg# trigger a bug in pdksh 5.2.14. 5601145f796fSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 5602145f796fSmrgdo eval test x\${$as_var+set} = xset \ 5603145f796fSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5604eed6fe1cSmrgdone 560567332fb9SmrgPS1='$ ' 560667332fb9SmrgPS2='> ' 560767332fb9SmrgPS4='+ ' 560867332fb9Smrg 560967332fb9Smrg# NLS nuisances. 5610eed6fe1cSmrgLC_ALL=C 5611eed6fe1cSmrgexport LC_ALL 5612eed6fe1cSmrgLANGUAGE=C 5613eed6fe1cSmrgexport LANGUAGE 561467332fb9Smrg 5615145f796fSmrg# CDPATH. 5616145f796fSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5617145f796fSmrg 5618145f796fSmrg 5619145f796fSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 5620145f796fSmrg# ---------------------------------------- 5621145f796fSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5622145f796fSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5623145f796fSmrg# script with STATUS, using 1 if that was 0. 5624145f796fSmrgas_fn_error () 5625145f796fSmrg{ 5626145f796fSmrg as_status=$1; test $as_status -eq 0 && as_status=1 5627145f796fSmrg if test "$4"; then 5628145f796fSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5629145f796fSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5630145f796fSmrg fi 5631145f796fSmrg $as_echo "$as_me: error: $2" >&2 5632145f796fSmrg as_fn_exit $as_status 5633145f796fSmrg} # as_fn_error 5634145f796fSmrg 5635145f796fSmrg 5636145f796fSmrg# as_fn_set_status STATUS 5637145f796fSmrg# ----------------------- 5638145f796fSmrg# Set $? to STATUS, without forking. 5639145f796fSmrgas_fn_set_status () 5640145f796fSmrg{ 5641145f796fSmrg return $1 5642145f796fSmrg} # as_fn_set_status 5643145f796fSmrg 5644145f796fSmrg# as_fn_exit STATUS 5645145f796fSmrg# ----------------- 5646145f796fSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5647145f796fSmrgas_fn_exit () 5648145f796fSmrg{ 5649145f796fSmrg set +e 5650145f796fSmrg as_fn_set_status $1 5651145f796fSmrg exit $1 5652145f796fSmrg} # as_fn_exit 5653145f796fSmrg 5654145f796fSmrg# as_fn_unset VAR 5655145f796fSmrg# --------------- 5656145f796fSmrg# Portably unset VAR. 5657145f796fSmrgas_fn_unset () 5658145f796fSmrg{ 5659145f796fSmrg { eval $1=; unset $1;} 5660145f796fSmrg} 5661145f796fSmrgas_unset=as_fn_unset 5662145f796fSmrg# as_fn_append VAR VALUE 5663145f796fSmrg# ---------------------- 5664145f796fSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 5665145f796fSmrg# advantage of any shell optimizations that allow amortized linear growth over 5666145f796fSmrg# repeated appends, instead of the typical quadratic growth present in naive 5667145f796fSmrg# implementations. 5668145f796fSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5669145f796fSmrg eval 'as_fn_append () 5670145f796fSmrg { 5671145f796fSmrg eval $1+=\$2 5672145f796fSmrg }' 5673145f796fSmrgelse 5674145f796fSmrg as_fn_append () 5675145f796fSmrg { 5676145f796fSmrg eval $1=\$$1\$2 5677145f796fSmrg } 5678145f796fSmrgfi # as_fn_append 5679145f796fSmrg 5680145f796fSmrg# as_fn_arith ARG... 5681145f796fSmrg# ------------------ 5682145f796fSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 5683145f796fSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 5684145f796fSmrg# must be portable across $(()) and expr. 5685145f796fSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5686145f796fSmrg eval 'as_fn_arith () 5687145f796fSmrg { 5688145f796fSmrg as_val=$(( $* )) 5689145f796fSmrg }' 5690145f796fSmrgelse 5691145f796fSmrg as_fn_arith () 5692145f796fSmrg { 5693145f796fSmrg as_val=`expr "$@" || test $? -eq 1` 5694145f796fSmrg } 5695145f796fSmrgfi # as_fn_arith 5696145f796fSmrg 5697145f796fSmrg 5698eed6fe1cSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 5699eed6fe1cSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 570067332fb9Smrg as_expr=expr 570167332fb9Smrgelse 570267332fb9Smrg as_expr=false 570367332fb9Smrgfi 570467332fb9Smrg 5705eed6fe1cSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 570667332fb9Smrg as_basename=basename 570767332fb9Smrgelse 570867332fb9Smrg as_basename=false 570967332fb9Smrgfi 571067332fb9Smrg 5711145f796fSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5712145f796fSmrg as_dirname=dirname 5713145f796fSmrgelse 5714145f796fSmrg as_dirname=false 5715145f796fSmrgfi 571667332fb9Smrg 5717eed6fe1cSmrgas_me=`$as_basename -- "$0" || 571867332fb9Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 571967332fb9Smrg X"$0" : 'X\(//\)$' \| \ 5720eed6fe1cSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 5721eed6fe1cSmrg$as_echo X/"$0" | 5722eed6fe1cSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 5723eed6fe1cSmrg s//\1/ 5724eed6fe1cSmrg q 5725eed6fe1cSmrg } 5726eed6fe1cSmrg /^X\/\(\/\/\)$/{ 5727eed6fe1cSmrg s//\1/ 5728eed6fe1cSmrg q 5729eed6fe1cSmrg } 5730eed6fe1cSmrg /^X\/\(\/\).*/{ 5731eed6fe1cSmrg s//\1/ 5732eed6fe1cSmrg q 5733eed6fe1cSmrg } 5734eed6fe1cSmrg s/.*/./; q'` 573567332fb9Smrg 5736145f796fSmrg# Avoid depending upon Character Ranges. 5737145f796fSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 5738145f796fSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5739145f796fSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 5740145f796fSmrgas_cr_digits='0123456789' 5741145f796fSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 574267332fb9Smrg 5743eed6fe1cSmrgECHO_C= ECHO_N= ECHO_T= 5744145f796fSmrgcase `echo -n x` in #((((( 5745eed6fe1cSmrg-n*) 5746145f796fSmrg case `echo 'xy\c'` in 5747eed6fe1cSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5748145f796fSmrg xy) ECHO_C='\c';; 5749145f796fSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5750145f796fSmrg ECHO_T=' ';; 5751eed6fe1cSmrg esac;; 5752eed6fe1cSmrg*) 5753eed6fe1cSmrg ECHO_N='-n';; 5754eed6fe1cSmrgesac 575567332fb9Smrg 575667332fb9Smrgrm -f conf$$ conf$$.exe conf$$.file 5757eed6fe1cSmrgif test -d conf$$.dir; then 5758eed6fe1cSmrg rm -f conf$$.dir/conf$$.file 5759eed6fe1cSmrgelse 5760eed6fe1cSmrg rm -f conf$$.dir 5761eed6fe1cSmrg mkdir conf$$.dir 2>/dev/null 5762eed6fe1cSmrgfi 5763eed6fe1cSmrgif (echo >conf$$.file) 2>/dev/null; then 5764eed6fe1cSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 576567332fb9Smrg as_ln_s='ln -s' 5766eed6fe1cSmrg # ... but there are two gotchas: 5767eed6fe1cSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5768eed6fe1cSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5769eed6fe1cSmrg # In both cases, we have to default to `cp -p'. 5770eed6fe1cSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5771eed6fe1cSmrg as_ln_s='cp -p' 5772eed6fe1cSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 5773eed6fe1cSmrg as_ln_s=ln 5774eed6fe1cSmrg else 5775eed6fe1cSmrg as_ln_s='cp -p' 577667332fb9Smrg fi 577767332fb9Smrgelse 577867332fb9Smrg as_ln_s='cp -p' 577967332fb9Smrgfi 5780eed6fe1cSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5781eed6fe1cSmrgrmdir conf$$.dir 2>/dev/null 578267332fb9Smrg 5783145f796fSmrg 5784145f796fSmrg# as_fn_mkdir_p 5785145f796fSmrg# ------------- 5786145f796fSmrg# Create "$as_dir" as a directory, including parents if necessary. 5787145f796fSmrgas_fn_mkdir_p () 5788145f796fSmrg{ 5789145f796fSmrg 5790145f796fSmrg case $as_dir in #( 5791145f796fSmrg -*) as_dir=./$as_dir;; 5792145f796fSmrg esac 5793145f796fSmrg test -d "$as_dir" || eval $as_mkdir_p || { 5794145f796fSmrg as_dirs= 5795145f796fSmrg while :; do 5796145f796fSmrg case $as_dir in #( 5797145f796fSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5798145f796fSmrg *) as_qdir=$as_dir;; 5799145f796fSmrg esac 5800145f796fSmrg as_dirs="'$as_qdir' $as_dirs" 5801145f796fSmrg as_dir=`$as_dirname -- "$as_dir" || 5802145f796fSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5803145f796fSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 5804145f796fSmrg X"$as_dir" : 'X\(//\)$' \| \ 5805145f796fSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5806145f796fSmrg$as_echo X"$as_dir" | 5807145f796fSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5808145f796fSmrg s//\1/ 5809145f796fSmrg q 5810145f796fSmrg } 5811145f796fSmrg /^X\(\/\/\)[^/].*/{ 5812145f796fSmrg s//\1/ 5813145f796fSmrg q 5814145f796fSmrg } 5815145f796fSmrg /^X\(\/\/\)$/{ 5816145f796fSmrg s//\1/ 5817145f796fSmrg q 5818145f796fSmrg } 5819145f796fSmrg /^X\(\/\).*/{ 5820145f796fSmrg s//\1/ 5821145f796fSmrg q 5822145f796fSmrg } 5823145f796fSmrg s/.*/./; q'` 5824145f796fSmrg test -d "$as_dir" && break 5825145f796fSmrg done 5826145f796fSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 5827145f796fSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5828145f796fSmrg 5829145f796fSmrg 5830145f796fSmrg} # as_fn_mkdir_p 583167332fb9Smrgif mkdir -p . 2>/dev/null; then 5832145f796fSmrg as_mkdir_p='mkdir -p "$as_dir"' 583367332fb9Smrgelse 583467332fb9Smrg test -d ./-p && rmdir ./-p 583567332fb9Smrg as_mkdir_p=false 583667332fb9Smrgfi 583767332fb9Smrg 5838eed6fe1cSmrgif test -x / >/dev/null 2>&1; then 5839eed6fe1cSmrg as_test_x='test -x' 5840eed6fe1cSmrgelse 5841eed6fe1cSmrg if ls -dL / >/dev/null 2>&1; then 5842eed6fe1cSmrg as_ls_L_option=L 5843eed6fe1cSmrg else 5844eed6fe1cSmrg as_ls_L_option= 5845eed6fe1cSmrg fi 5846eed6fe1cSmrg as_test_x=' 5847eed6fe1cSmrg eval sh -c '\'' 5848eed6fe1cSmrg if test -d "$1"; then 5849eed6fe1cSmrg test -d "$1/."; 5850eed6fe1cSmrg else 5851145f796fSmrg case $1 in #( 5852eed6fe1cSmrg -*)set "./$1";; 5853eed6fe1cSmrg esac; 5854145f796fSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5855eed6fe1cSmrg ???[sx]*):;;*)false;;esac;fi 5856eed6fe1cSmrg '\'' sh 5857eed6fe1cSmrg ' 5858eed6fe1cSmrgfi 5859eed6fe1cSmrgas_executable_p=$as_test_x 586067332fb9Smrg 586167332fb9Smrg# Sed expression to map a string onto a valid CPP name. 586267332fb9Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 586367332fb9Smrg 586467332fb9Smrg# Sed expression to map a string onto a valid variable name. 586567332fb9Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 586667332fb9Smrg 586767332fb9Smrg 586867332fb9Smrgexec 6>&1 5869145f796fSmrg## ----------------------------------- ## 5870145f796fSmrg## Main body of $CONFIG_STATUS script. ## 5871145f796fSmrg## ----------------------------------- ## 5872145f796fSmrg_ASEOF 5873145f796fSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 587467332fb9Smrg 5875145f796fSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5876145f796fSmrg# Save the log message, to keep $0 and so on meaningful, and to 587767332fb9Smrg# report actual input values of CONFIG_FILES etc. instead of their 5878eed6fe1cSmrg# values after options handling. 5879eed6fe1cSmrgac_log=" 5880145f796fSmrgThis file was extended by font-adobe-utopia-75dpi $as_me 1.0.4, which was 5881145f796fSmrggenerated by GNU Autoconf 2.68. Invocation command line was 588267332fb9Smrg 588367332fb9Smrg CONFIG_FILES = $CONFIG_FILES 588467332fb9Smrg CONFIG_HEADERS = $CONFIG_HEADERS 588567332fb9Smrg CONFIG_LINKS = $CONFIG_LINKS 588667332fb9Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 588767332fb9Smrg $ $0 $@ 588867332fb9Smrg 5889eed6fe1cSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 5890eed6fe1cSmrg" 5891eed6fe1cSmrg 589267332fb9Smrg_ACEOF 589367332fb9Smrg 5894eed6fe1cSmrgcase $ac_config_files in *" 5895eed6fe1cSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 5896eed6fe1cSmrgesac 589767332fb9Smrg 589867332fb9Smrg 589967332fb9Smrg 5900eed6fe1cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5901eed6fe1cSmrg# Files that config.status was made for. 5902eed6fe1cSmrgconfig_files="$ac_config_files" 5903eed6fe1cSmrgconfig_commands="$ac_config_commands" 590467332fb9Smrg 5905eed6fe1cSmrg_ACEOF 590667332fb9Smrg 5907eed6fe1cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 590867332fb9Smrgac_cs_usage="\ 5909145f796fSmrg\`$as_me' instantiates files and other configuration actions 5910145f796fSmrgfrom templates according to the current configuration. Unless the files 5911145f796fSmrgand actions are specified as TAGs, all are instantiated by default. 591267332fb9Smrg 5913145f796fSmrgUsage: $0 [OPTION]... [TAG]... 591467332fb9Smrg 591567332fb9Smrg -h, --help print this help, then exit 5916eed6fe1cSmrg -V, --version print version number and configuration settings, then exit 5917145f796fSmrg --config print configuration, then exit 5918eed6fe1cSmrg -q, --quiet, --silent 5919eed6fe1cSmrg do not print progress messages 592067332fb9Smrg -d, --debug don't remove temporary files 592167332fb9Smrg --recheck update $as_me by reconfiguring in the same conditions 5922eed6fe1cSmrg --file=FILE[:TEMPLATE] 5923eed6fe1cSmrg instantiate the configuration file FILE 592467332fb9Smrg 592567332fb9SmrgConfiguration files: 592667332fb9Smrg$config_files 592767332fb9Smrg 5928eed6fe1cSmrgConfiguration commands: 5929eed6fe1cSmrg$config_commands 5930eed6fe1cSmrg 5931145f796fSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 593267332fb9Smrg 5933eed6fe1cSmrg_ACEOF 5934eed6fe1cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5935145f796fSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 593667332fb9Smrgac_cs_version="\\ 5937145f796fSmrgfont-adobe-utopia-75dpi config.status 1.0.4 5938145f796fSmrgconfigured by $0, generated by GNU Autoconf 2.68, 5939145f796fSmrg with options \\"\$ac_cs_config\\" 594067332fb9Smrg 5941145f796fSmrgCopyright (C) 2010 Free Software Foundation, Inc. 594267332fb9SmrgThis config.status script is free software; the Free Software Foundation 594367332fb9Smrggives unlimited permission to copy, distribute and modify it." 5944eed6fe1cSmrg 5945eed6fe1cSmrgac_pwd='$ac_pwd' 5946eed6fe1cSmrgsrcdir='$srcdir' 5947eed6fe1cSmrgINSTALL='$INSTALL' 5948eed6fe1cSmrgMKDIR_P='$MKDIR_P' 5949eed6fe1cSmrgAWK='$AWK' 5950eed6fe1cSmrgtest -n "\$AWK" || AWK=awk 595167332fb9Smrg_ACEOF 595267332fb9Smrg 5953eed6fe1cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5954eed6fe1cSmrg# The default lists apply if the user does not specify any file. 595567332fb9Smrgac_need_defaults=: 595667332fb9Smrgwhile test $# != 0 595767332fb9Smrgdo 595867332fb9Smrg case $1 in 5959145f796fSmrg --*=?*) 5960eed6fe1cSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5961eed6fe1cSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 596267332fb9Smrg ac_shift=: 596367332fb9Smrg ;; 5964145f796fSmrg --*=) 5965145f796fSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5966145f796fSmrg ac_optarg= 5967145f796fSmrg ac_shift=: 5968145f796fSmrg ;; 5969eed6fe1cSmrg *) 597067332fb9Smrg ac_option=$1 597167332fb9Smrg ac_optarg=$2 597267332fb9Smrg ac_shift=shift 597367332fb9Smrg ;; 597467332fb9Smrg esac 597567332fb9Smrg 597667332fb9Smrg case $ac_option in 597767332fb9Smrg # Handling of the options. 597867332fb9Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 597967332fb9Smrg ac_cs_recheck=: ;; 5980eed6fe1cSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5981eed6fe1cSmrg $as_echo "$ac_cs_version"; exit ;; 5982145f796fSmrg --config | --confi | --conf | --con | --co | --c ) 5983145f796fSmrg $as_echo "$ac_cs_config"; exit ;; 5984eed6fe1cSmrg --debug | --debu | --deb | --de | --d | -d ) 598567332fb9Smrg debug=: ;; 598667332fb9Smrg --file | --fil | --fi | --f ) 598767332fb9Smrg $ac_shift 5988eed6fe1cSmrg case $ac_optarg in 5989eed6fe1cSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5990145f796fSmrg '') as_fn_error $? "missing file argument" ;; 5991eed6fe1cSmrg esac 5992145f796fSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 599367332fb9Smrg ac_need_defaults=false;; 5994eed6fe1cSmrg --he | --h | --help | --hel | -h ) 5995eed6fe1cSmrg $as_echo "$ac_cs_usage"; exit ;; 599667332fb9Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 599767332fb9Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 599867332fb9Smrg ac_cs_silent=: ;; 599967332fb9Smrg 600067332fb9Smrg # This is an error. 6001145f796fSmrg -*) as_fn_error $? "unrecognized option: \`$1' 6002145f796fSmrgTry \`$0 --help' for more information." ;; 600367332fb9Smrg 6004145f796fSmrg *) as_fn_append ac_config_targets " $1" 6005eed6fe1cSmrg ac_need_defaults=false ;; 600667332fb9Smrg 600767332fb9Smrg esac 600867332fb9Smrg shift 600967332fb9Smrgdone 601067332fb9Smrg 601167332fb9Smrgac_configure_extra_args= 601267332fb9Smrg 601367332fb9Smrgif $ac_cs_silent; then 601467332fb9Smrg exec 6>/dev/null 601567332fb9Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 601667332fb9Smrgfi 601767332fb9Smrg 601867332fb9Smrg_ACEOF 6019eed6fe1cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 602067332fb9Smrgif \$ac_cs_recheck; then 6021eed6fe1cSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6022eed6fe1cSmrg shift 6023eed6fe1cSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6024eed6fe1cSmrg CONFIG_SHELL='$SHELL' 6025eed6fe1cSmrg export CONFIG_SHELL 6026eed6fe1cSmrg exec "\$@" 602767332fb9Smrgfi 602867332fb9Smrg 602967332fb9Smrg_ACEOF 6030eed6fe1cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6031eed6fe1cSmrgexec 5>>config.log 6032eed6fe1cSmrg{ 6033eed6fe1cSmrg echo 6034eed6fe1cSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6035eed6fe1cSmrg## Running $as_me. ## 6036eed6fe1cSmrg_ASBOX 6037eed6fe1cSmrg $as_echo "$ac_log" 6038eed6fe1cSmrg} >&5 603967332fb9Smrg 6040eed6fe1cSmrg_ACEOF 6041eed6fe1cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6042eed6fe1cSmrg# 6043eed6fe1cSmrg# INIT-COMMANDS 6044eed6fe1cSmrg# 6045eed6fe1cSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 604667332fb9Smrg 6047eed6fe1cSmrg_ACEOF 604867332fb9Smrg 6049eed6fe1cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 605067332fb9Smrg 6051eed6fe1cSmrg# Handling of arguments. 605267332fb9Smrgfor ac_config_target in $ac_config_targets 605367332fb9Smrgdo 6054eed6fe1cSmrg case $ac_config_target in 6055eed6fe1cSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6056eed6fe1cSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6057eed6fe1cSmrg 6058145f796fSmrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 605967332fb9Smrg esac 606067332fb9Smrgdone 606167332fb9Smrg 6062eed6fe1cSmrg 606367332fb9Smrg# If the user did not use the arguments to specify the items to instantiate, 606467332fb9Smrg# then the envvar interface is used. Set only those that are not. 606567332fb9Smrg# We use the long form for the default assignment because of an extremely 606667332fb9Smrg# bizarre bug on SunOS 4.1.3. 606767332fb9Smrgif $ac_need_defaults; then 606867332fb9Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6069eed6fe1cSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 607067332fb9Smrgfi 607167332fb9Smrg 607267332fb9Smrg# Have a temporary directory for convenience. Make it in the build tree 6073eed6fe1cSmrg# simply because there is no reason against having it here, and in addition, 607467332fb9Smrg# creating and moving files from /tmp can sometimes cause problems. 6075eed6fe1cSmrg# Hook for its removal unless debugging. 6076eed6fe1cSmrg# Note that there is a small window in which the directory will not be cleaned: 6077eed6fe1cSmrg# after its creation but before its name has been assigned to `$tmp'. 607867332fb9Smrg$debug || 607967332fb9Smrg{ 6080145f796fSmrg tmp= ac_tmp= 6081eed6fe1cSmrg trap 'exit_status=$? 6082145f796fSmrg : "${ac_tmp:=$tmp}" 6083145f796fSmrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 6084eed6fe1cSmrg' 0 6085145f796fSmrg trap 'as_fn_exit 1' 1 2 13 15 608667332fb9Smrg} 608767332fb9Smrg# Create a (secure) tmp directory for tmp files. 608867332fb9Smrg 608967332fb9Smrg{ 6090eed6fe1cSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6091145f796fSmrg test -d "$tmp" 609267332fb9Smrg} || 609367332fb9Smrg{ 6094eed6fe1cSmrg tmp=./conf$$-$RANDOM 6095eed6fe1cSmrg (umask 077 && mkdir "$tmp") 6096145f796fSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 6097145f796fSmrgac_tmp=$tmp 609867332fb9Smrg 6099eed6fe1cSmrg# Set up the scripts for CONFIG_FILES section. 6100eed6fe1cSmrg# No need to generate them if there are no CONFIG_FILES. 6101eed6fe1cSmrg# This happens for instance with `./config.status config.h'. 6102eed6fe1cSmrgif test -n "$CONFIG_FILES"; then 6103eed6fe1cSmrg 6104eed6fe1cSmrg 6105145f796fSmrgac_cr=`echo X | tr X '\015'` 6106145f796fSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 6107145f796fSmrg# But we know of no other shell where ac_cr would be empty at this 6108145f796fSmrg# point, so we can use a bashism as a fallback. 6109145f796fSmrgif test "x$ac_cr" = x; then 6110145f796fSmrg eval ac_cr=\$\'\\r\' 6111145f796fSmrgfi 6112eed6fe1cSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6113eed6fe1cSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6114eed6fe1cSmrg ac_cs_awk_cr='\\r' 6115eed6fe1cSmrgelse 6116eed6fe1cSmrg ac_cs_awk_cr=$ac_cr 6117eed6fe1cSmrgfi 6118eed6fe1cSmrg 6119145f796fSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 612067332fb9Smrg_ACEOF 612167332fb9Smrg 612267332fb9Smrg 6123eed6fe1cSmrg{ 6124eed6fe1cSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 6125eed6fe1cSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6126eed6fe1cSmrg echo "_ACEOF" 6127eed6fe1cSmrg} >conf$$subs.sh || 6128145f796fSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6129145f796fSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 6130eed6fe1cSmrgac_delim='%!_!# ' 6131eed6fe1cSmrgfor ac_last_try in false false false false false :; do 6132eed6fe1cSmrg . ./conf$$subs.sh || 6133145f796fSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 613467332fb9Smrg 6135eed6fe1cSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6136eed6fe1cSmrg if test $ac_delim_n = $ac_delim_num; then 6137eed6fe1cSmrg break 6138eed6fe1cSmrg elif $ac_last_try; then 6139145f796fSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6140eed6fe1cSmrg else 6141eed6fe1cSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 614267332fb9Smrg fi 6143eed6fe1cSmrgdone 6144eed6fe1cSmrgrm -f conf$$subs.sh 614567332fb9Smrg 6146eed6fe1cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6147145f796fSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 614867332fb9Smrg_ACEOF 6149eed6fe1cSmrgsed -n ' 6150eed6fe1cSmrgh 6151eed6fe1cSmrgs/^/S["/; s/!.*/"]=/ 6152eed6fe1cSmrgp 6153eed6fe1cSmrgg 6154eed6fe1cSmrgs/^[^!]*!// 6155eed6fe1cSmrg:repl 6156eed6fe1cSmrgt repl 6157eed6fe1cSmrgs/'"$ac_delim"'$// 6158eed6fe1cSmrgt delim 6159eed6fe1cSmrg:nl 6160eed6fe1cSmrgh 6161145f796fSmrgs/\(.\{148\}\)..*/\1/ 6162eed6fe1cSmrgt more1 6163eed6fe1cSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6164eed6fe1cSmrgp 6165eed6fe1cSmrgn 6166eed6fe1cSmrgb repl 6167eed6fe1cSmrg:more1 6168eed6fe1cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6169eed6fe1cSmrgp 6170eed6fe1cSmrgg 6171eed6fe1cSmrgs/.\{148\}// 6172eed6fe1cSmrgt nl 6173eed6fe1cSmrg:delim 6174eed6fe1cSmrgh 6175145f796fSmrgs/\(.\{148\}\)..*/\1/ 6176eed6fe1cSmrgt more2 6177eed6fe1cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 6178eed6fe1cSmrgp 6179eed6fe1cSmrgb 6180eed6fe1cSmrg:more2 6181eed6fe1cSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6182eed6fe1cSmrgp 6183eed6fe1cSmrgg 6184eed6fe1cSmrgs/.\{148\}// 6185eed6fe1cSmrgt delim 6186eed6fe1cSmrg' <conf$$subs.awk | sed ' 6187eed6fe1cSmrg/^[^""]/{ 6188eed6fe1cSmrg N 6189eed6fe1cSmrg s/\n// 6190eed6fe1cSmrg} 6191eed6fe1cSmrg' >>$CONFIG_STATUS || ac_write_fail=1 6192eed6fe1cSmrgrm -f conf$$subs.awk 6193eed6fe1cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6194eed6fe1cSmrg_ACAWK 6195145f796fSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 6196eed6fe1cSmrg for (key in S) S_is_set[key] = 1 6197eed6fe1cSmrg FS = "" 6198eed6fe1cSmrg 6199eed6fe1cSmrg} 6200eed6fe1cSmrg{ 6201eed6fe1cSmrg line = $ 0 6202eed6fe1cSmrg nfields = split(line, field, "@") 6203eed6fe1cSmrg substed = 0 6204eed6fe1cSmrg len = length(field[1]) 6205eed6fe1cSmrg for (i = 2; i < nfields; i++) { 6206eed6fe1cSmrg key = field[i] 6207eed6fe1cSmrg keylen = length(key) 6208eed6fe1cSmrg if (S_is_set[key]) { 6209eed6fe1cSmrg value = S[key] 6210eed6fe1cSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6211eed6fe1cSmrg len += length(value) + length(field[++i]) 6212eed6fe1cSmrg substed = 1 6213eed6fe1cSmrg } else 6214eed6fe1cSmrg len += 1 + keylen 6215eed6fe1cSmrg } 6216eed6fe1cSmrg 6217eed6fe1cSmrg print line 6218eed6fe1cSmrg} 6219eed6fe1cSmrg 6220eed6fe1cSmrg_ACAWK 6221eed6fe1cSmrg_ACEOF 6222eed6fe1cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6223eed6fe1cSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6224eed6fe1cSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6225eed6fe1cSmrgelse 6226eed6fe1cSmrg cat 6227145f796fSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 6228145f796fSmrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 6229eed6fe1cSmrg_ACEOF 6230eed6fe1cSmrg 6231145f796fSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 6232145f796fSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 6233eed6fe1cSmrg# trailing colons and then remove the whole line if VPATH becomes empty 6234eed6fe1cSmrg# (actually we leave an empty line to preserve line numbers). 6235eed6fe1cSmrgif test "x$srcdir" = x.; then 6236145f796fSmrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 6237145f796fSmrgh 6238145f796fSmrgs/// 6239145f796fSmrgs/^/:/ 6240145f796fSmrgs/[ ]*$/:/ 6241145f796fSmrgs/:\$(srcdir):/:/g 6242145f796fSmrgs/:\${srcdir}:/:/g 6243145f796fSmrgs/:@srcdir@:/:/g 6244145f796fSmrgs/^:*// 6245eed6fe1cSmrgs/:*$// 6246145f796fSmrgx 6247145f796fSmrgs/\(=[ ]*\).*/\1/ 6248145f796fSmrgG 6249145f796fSmrgs/\n// 6250eed6fe1cSmrgs/^[^=]*=[ ]*$// 6251eed6fe1cSmrg}' 6252eed6fe1cSmrgfi 6253eed6fe1cSmrg 6254eed6fe1cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6255eed6fe1cSmrgfi # test -n "$CONFIG_FILES" 6256eed6fe1cSmrg 6257eed6fe1cSmrg 6258eed6fe1cSmrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 6259eed6fe1cSmrgshift 6260eed6fe1cSmrgfor ac_tag 6261eed6fe1cSmrgdo 6262eed6fe1cSmrg case $ac_tag in 6263eed6fe1cSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 6264eed6fe1cSmrg esac 6265eed6fe1cSmrg case $ac_mode$ac_tag in 6266eed6fe1cSmrg :[FHL]*:*);; 6267145f796fSmrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 6268eed6fe1cSmrg :[FH]-) ac_tag=-:-;; 6269eed6fe1cSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6270eed6fe1cSmrg esac 6271eed6fe1cSmrg ac_save_IFS=$IFS 6272eed6fe1cSmrg IFS=: 6273eed6fe1cSmrg set x $ac_tag 6274eed6fe1cSmrg IFS=$ac_save_IFS 6275eed6fe1cSmrg shift 6276eed6fe1cSmrg ac_file=$1 6277eed6fe1cSmrg shift 6278eed6fe1cSmrg 6279eed6fe1cSmrg case $ac_mode in 6280eed6fe1cSmrg :L) ac_source=$1;; 6281eed6fe1cSmrg :[FH]) 6282eed6fe1cSmrg ac_file_inputs= 6283eed6fe1cSmrg for ac_f 6284eed6fe1cSmrg do 6285eed6fe1cSmrg case $ac_f in 6286145f796fSmrg -) ac_f="$ac_tmp/stdin";; 6287eed6fe1cSmrg *) # Look for the file first in the build tree, then in the source tree 6288eed6fe1cSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 6289eed6fe1cSmrg # because $ac_f cannot contain `:'. 6290eed6fe1cSmrg test -f "$ac_f" || 6291eed6fe1cSmrg case $ac_f in 6292eed6fe1cSmrg [\\/$]*) false;; 6293eed6fe1cSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6294eed6fe1cSmrg esac || 6295145f796fSmrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 6296eed6fe1cSmrg esac 6297eed6fe1cSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6298145f796fSmrg as_fn_append ac_file_inputs " '$ac_f'" 6299eed6fe1cSmrg done 6300eed6fe1cSmrg 6301eed6fe1cSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 6302eed6fe1cSmrg # use $as_me), people would be surprised to read: 6303eed6fe1cSmrg # /* config.h. Generated by config.status. */ 6304eed6fe1cSmrg configure_input='Generated from '` 6305eed6fe1cSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6306eed6fe1cSmrg `' by configure.' 6307eed6fe1cSmrg if test x"$ac_file" != x-; then 6308eed6fe1cSmrg configure_input="$ac_file. $configure_input" 6309145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 6310eed6fe1cSmrg$as_echo "$as_me: creating $ac_file" >&6;} 6311eed6fe1cSmrg fi 6312eed6fe1cSmrg # Neutralize special characters interpreted by sed in replacement strings. 6313eed6fe1cSmrg case $configure_input in #( 6314eed6fe1cSmrg *\&* | *\|* | *\\* ) 6315eed6fe1cSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 6316eed6fe1cSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 6317eed6fe1cSmrg *) ac_sed_conf_input=$configure_input;; 6318eed6fe1cSmrg esac 6319eed6fe1cSmrg 6320eed6fe1cSmrg case $ac_tag in 6321145f796fSmrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 6322145f796fSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 6323eed6fe1cSmrg esac 6324eed6fe1cSmrg ;; 632567332fb9Smrg esac 632667332fb9Smrg 6327eed6fe1cSmrg ac_dir=`$as_dirname -- "$ac_file" || 632867332fb9Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 632967332fb9Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 633067332fb9Smrg X"$ac_file" : 'X\(//\)$' \| \ 6331eed6fe1cSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6332eed6fe1cSmrg$as_echo X"$ac_file" | 6333eed6fe1cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6334eed6fe1cSmrg s//\1/ 6335eed6fe1cSmrg q 6336eed6fe1cSmrg } 6337eed6fe1cSmrg /^X\(\/\/\)[^/].*/{ 6338eed6fe1cSmrg s//\1/ 6339eed6fe1cSmrg q 6340eed6fe1cSmrg } 6341eed6fe1cSmrg /^X\(\/\/\)$/{ 6342eed6fe1cSmrg s//\1/ 6343eed6fe1cSmrg q 6344eed6fe1cSmrg } 6345eed6fe1cSmrg /^X\(\/\).*/{ 6346eed6fe1cSmrg s//\1/ 6347eed6fe1cSmrg q 6348eed6fe1cSmrg } 6349eed6fe1cSmrg s/.*/./; q'` 6350145f796fSmrg as_dir="$ac_dir"; as_fn_mkdir_p 635167332fb9Smrg ac_builddir=. 635267332fb9Smrg 6353eed6fe1cSmrgcase "$ac_dir" in 6354eed6fe1cSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6355eed6fe1cSmrg*) 6356eed6fe1cSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 6357eed6fe1cSmrg # A ".." for each directory in $ac_dir_suffix. 6358eed6fe1cSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 6359eed6fe1cSmrg case $ac_top_builddir_sub in 6360eed6fe1cSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6361eed6fe1cSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6362eed6fe1cSmrg esac ;; 6363eed6fe1cSmrgesac 6364eed6fe1cSmrgac_abs_top_builddir=$ac_pwd 6365eed6fe1cSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 6366eed6fe1cSmrg# for backward compatibility: 6367eed6fe1cSmrgac_top_builddir=$ac_top_build_prefix 636867332fb9Smrg 636967332fb9Smrgcase $srcdir in 6370eed6fe1cSmrg .) # We are building in place. 637167332fb9Smrg ac_srcdir=. 6372eed6fe1cSmrg ac_top_srcdir=$ac_top_builddir_sub 6373eed6fe1cSmrg ac_abs_top_srcdir=$ac_pwd ;; 6374eed6fe1cSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 637567332fb9Smrg ac_srcdir=$srcdir$ac_dir_suffix; 6376eed6fe1cSmrg ac_top_srcdir=$srcdir 6377eed6fe1cSmrg ac_abs_top_srcdir=$srcdir ;; 6378eed6fe1cSmrg *) # Relative name. 6379eed6fe1cSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6380eed6fe1cSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 6381eed6fe1cSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 638267332fb9Smrgesac 6383eed6fe1cSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 638467332fb9Smrg 638567332fb9Smrg 6386eed6fe1cSmrg case $ac_mode in 6387eed6fe1cSmrg :F) 6388eed6fe1cSmrg # 6389eed6fe1cSmrg # CONFIG_FILE 6390eed6fe1cSmrg # 639167332fb9Smrg 639267332fb9Smrg case $INSTALL in 639367332fb9Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6394eed6fe1cSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 639567332fb9Smrg esac 6396eed6fe1cSmrg ac_MKDIR_P=$MKDIR_P 6397eed6fe1cSmrg case $MKDIR_P in 6398eed6fe1cSmrg [\\/$]* | ?:[\\/]* ) ;; 6399eed6fe1cSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6400eed6fe1cSmrg esac 6401eed6fe1cSmrg_ACEOF 640267332fb9Smrg 6403eed6fe1cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6404eed6fe1cSmrg# If the template does not know about datarootdir, expand it. 6405eed6fe1cSmrg# FIXME: This hack should be removed a few years after 2.60. 6406eed6fe1cSmrgac_datarootdir_hack=; ac_datarootdir_seen= 6407eed6fe1cSmrgac_sed_dataroot=' 6408eed6fe1cSmrg/datarootdir/ { 6409eed6fe1cSmrg p 6410eed6fe1cSmrg q 6411eed6fe1cSmrg} 6412eed6fe1cSmrg/@datadir@/p 6413eed6fe1cSmrg/@docdir@/p 6414eed6fe1cSmrg/@infodir@/p 6415eed6fe1cSmrg/@localedir@/p 6416145f796fSmrg/@mandir@/p' 6417eed6fe1cSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6418eed6fe1cSmrg*datarootdir*) ac_datarootdir_seen=yes;; 6419eed6fe1cSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6420145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6421eed6fe1cSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6422eed6fe1cSmrg_ACEOF 6423eed6fe1cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6424eed6fe1cSmrg ac_datarootdir_hack=' 6425eed6fe1cSmrg s&@datadir@&$datadir&g 6426eed6fe1cSmrg s&@docdir@&$docdir&g 6427eed6fe1cSmrg s&@infodir@&$infodir&g 6428eed6fe1cSmrg s&@localedir@&$localedir&g 6429eed6fe1cSmrg s&@mandir@&$mandir&g 6430145f796fSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 6431eed6fe1cSmrgesac 643267332fb9Smrg_ACEOF 6433eed6fe1cSmrg 6434eed6fe1cSmrg# Neutralize VPATH when `$srcdir' = `.'. 6435eed6fe1cSmrg# Shell code in configure.ac might set extrasub. 6436eed6fe1cSmrg# FIXME: do we really want to maintain this feature? 6437eed6fe1cSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6438eed6fe1cSmrgac_sed_extra="$ac_vpsub 643967332fb9Smrg$extrasub 644067332fb9Smrg_ACEOF 6441eed6fe1cSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 644267332fb9Smrg:t 644367332fb9Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6444eed6fe1cSmrgs|@configure_input@|$ac_sed_conf_input|;t t 6445eed6fe1cSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 6446eed6fe1cSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 6447eed6fe1cSmrgs&@srcdir@&$ac_srcdir&;t t 6448eed6fe1cSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 6449eed6fe1cSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 6450eed6fe1cSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6451eed6fe1cSmrgs&@builddir@&$ac_builddir&;t t 6452eed6fe1cSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 6453eed6fe1cSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6454eed6fe1cSmrgs&@INSTALL@&$ac_INSTALL&;t t 6455eed6fe1cSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 6456eed6fe1cSmrg$ac_datarootdir_hack 6457eed6fe1cSmrg" 6458145f796fSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6459145f796fSmrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 646067332fb9Smrg 6461eed6fe1cSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6462145f796fSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6463145f796fSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6464145f796fSmrg "$ac_tmp/out"`; test -z "$ac_out"; } && 6465145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6466145f796fSmrgwhich seems to be undefined. Please make sure it is defined" >&5 6467eed6fe1cSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6468145f796fSmrgwhich seems to be undefined. Please make sure it is defined" >&2;} 6469eed6fe1cSmrg 6470145f796fSmrg rm -f "$ac_tmp/stdin" 6471eed6fe1cSmrg case $ac_file in 6472145f796fSmrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6473145f796fSmrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 6474eed6fe1cSmrg esac \ 6475145f796fSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6476eed6fe1cSmrg ;; 6477eed6fe1cSmrg 6478eed6fe1cSmrg 6479145f796fSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 6480eed6fe1cSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 6481eed6fe1cSmrg ;; 6482eed6fe1cSmrg esac 6483eed6fe1cSmrg 6484eed6fe1cSmrg 6485eed6fe1cSmrg case $ac_file$ac_mode in 6486eed6fe1cSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6487eed6fe1cSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 6488eed6fe1cSmrg # are listed without --file. Let's play safe and only enable the eval 6489eed6fe1cSmrg # if we detect the quoting. 6490eed6fe1cSmrg case $CONFIG_FILES in 6491eed6fe1cSmrg *\'*) eval set x "$CONFIG_FILES" ;; 6492eed6fe1cSmrg *) set x $CONFIG_FILES ;; 6493eed6fe1cSmrg esac 6494eed6fe1cSmrg shift 6495eed6fe1cSmrg for mf 6496eed6fe1cSmrg do 6497eed6fe1cSmrg # Strip MF so we end up with the name of the file. 6498eed6fe1cSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 6499eed6fe1cSmrg # Check whether this is an Automake generated Makefile or not. 6500eed6fe1cSmrg # We used to match only the files named `Makefile.in', but 6501eed6fe1cSmrg # some people rename them; so instead we look at the file content. 6502eed6fe1cSmrg # Grep'ing the first line is not enough: some people post-process 6503eed6fe1cSmrg # each Makefile.in and add a new line on top of each file to say so. 6504eed6fe1cSmrg # Grep'ing the whole file is not good either: AIX grep has a line 6505eed6fe1cSmrg # limit of 2048, but all sed's we know have understand at least 4000. 6506eed6fe1cSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6507eed6fe1cSmrg dirpart=`$as_dirname -- "$mf" || 6508eed6fe1cSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6509eed6fe1cSmrg X"$mf" : 'X\(//\)[^/]' \| \ 6510eed6fe1cSmrg X"$mf" : 'X\(//\)$' \| \ 6511eed6fe1cSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6512eed6fe1cSmrg$as_echo X"$mf" | 6513eed6fe1cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6514eed6fe1cSmrg s//\1/ 6515eed6fe1cSmrg q 6516eed6fe1cSmrg } 6517eed6fe1cSmrg /^X\(\/\/\)[^/].*/{ 6518eed6fe1cSmrg s//\1/ 6519eed6fe1cSmrg q 6520eed6fe1cSmrg } 6521eed6fe1cSmrg /^X\(\/\/\)$/{ 6522eed6fe1cSmrg s//\1/ 6523eed6fe1cSmrg q 6524eed6fe1cSmrg } 6525eed6fe1cSmrg /^X\(\/\).*/{ 6526eed6fe1cSmrg s//\1/ 6527eed6fe1cSmrg q 6528eed6fe1cSmrg } 6529eed6fe1cSmrg s/.*/./; q'` 6530eed6fe1cSmrg else 6531eed6fe1cSmrg continue 6532eed6fe1cSmrg fi 6533eed6fe1cSmrg # Extract the definition of DEPDIR, am__include, and am__quote 6534eed6fe1cSmrg # from the Makefile without running `make'. 6535eed6fe1cSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6536eed6fe1cSmrg test -z "$DEPDIR" && continue 6537eed6fe1cSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 6538eed6fe1cSmrg test -z "am__include" && continue 6539eed6fe1cSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6540eed6fe1cSmrg # When using ansi2knr, U may be empty or an underscore; expand it 6541eed6fe1cSmrg U=`sed -n 's/^U = //p' < "$mf"` 6542eed6fe1cSmrg # Find all dependency output files, they are included files with 6543eed6fe1cSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 6544eed6fe1cSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 6545eed6fe1cSmrg # expansion. 6546eed6fe1cSmrg for file in `sed -n " 6547eed6fe1cSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6548eed6fe1cSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6549eed6fe1cSmrg # Make sure the directory exists. 6550eed6fe1cSmrg test -f "$dirpart/$file" && continue 6551eed6fe1cSmrg fdir=`$as_dirname -- "$file" || 6552eed6fe1cSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6553eed6fe1cSmrg X"$file" : 'X\(//\)[^/]' \| \ 6554eed6fe1cSmrg X"$file" : 'X\(//\)$' \| \ 6555eed6fe1cSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 6556eed6fe1cSmrg$as_echo X"$file" | 6557eed6fe1cSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6558eed6fe1cSmrg s//\1/ 6559eed6fe1cSmrg q 6560eed6fe1cSmrg } 6561eed6fe1cSmrg /^X\(\/\/\)[^/].*/{ 6562eed6fe1cSmrg s//\1/ 6563eed6fe1cSmrg q 6564eed6fe1cSmrg } 6565eed6fe1cSmrg /^X\(\/\/\)$/{ 6566eed6fe1cSmrg s//\1/ 6567eed6fe1cSmrg q 6568eed6fe1cSmrg } 6569eed6fe1cSmrg /^X\(\/\).*/{ 6570eed6fe1cSmrg s//\1/ 6571eed6fe1cSmrg q 6572eed6fe1cSmrg } 6573eed6fe1cSmrg s/.*/./; q'` 6574145f796fSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 6575eed6fe1cSmrg # echo "creating $dirpart/$file" 6576eed6fe1cSmrg echo '# dummy' > "$dirpart/$file" 6577eed6fe1cSmrg done 6578eed6fe1cSmrg done 6579eed6fe1cSmrg} 6580eed6fe1cSmrg ;; 6581eed6fe1cSmrg 6582eed6fe1cSmrg esac 6583eed6fe1cSmrgdone # for ac_tag 658467332fb9Smrg 658567332fb9Smrg 6586145f796fSmrgas_fn_exit 0 658767332fb9Smrg_ACEOF 658867332fb9Smrgac_clean_files=$ac_clean_files_save 658967332fb9Smrg 6590eed6fe1cSmrgtest $ac_write_fail = 0 || 6591145f796fSmrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6592eed6fe1cSmrg 659367332fb9Smrg 659467332fb9Smrg# configure is writing to config.log, and then calls config.status. 659567332fb9Smrg# config.status does its own redirection, appending to config.log. 659667332fb9Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 659767332fb9Smrg# by configure, so config.status won't be able to write to it; its 659867332fb9Smrg# output is simply discarded. So we exec the FD to /dev/null, 659967332fb9Smrg# effectively closing config.log, so it can be properly (re)opened and 660067332fb9Smrg# appended to by config.status. When coming back to configure, we 660167332fb9Smrg# need to make the FD available again. 660267332fb9Smrgif test "$no_create" != yes; then 660367332fb9Smrg ac_cs_success=: 660467332fb9Smrg ac_config_status_args= 660567332fb9Smrg test "$silent" = yes && 660667332fb9Smrg ac_config_status_args="$ac_config_status_args --quiet" 660767332fb9Smrg exec 5>/dev/null 660867332fb9Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 660967332fb9Smrg exec 5>>config.log 661067332fb9Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 661167332fb9Smrg # would make configure fail if this is the last instruction. 6612145f796fSmrg $ac_cs_success || as_fn_exit 1 661367332fb9Smrgfi 6614eed6fe1cSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6615145f796fSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6616eed6fe1cSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6617eed6fe1cSmrgfi 661867332fb9Smrg 6619