configure revision ef7198c0
156f6b22bSmrg#! /bin/sh 256f6b22bSmrg# Guess values for system-dependent variables and create Makefiles. 3ef7198c0Smrg# Generated by GNU Autoconf 2.63 for font-bitstream-100dpi 1.0.1. 456f6b22bSmrg# 556f6b22bSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 656f6b22bSmrg# 7ef7198c0Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8ef7198c0Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 956f6b22bSmrg# This configure script is free software; the Free Software Foundation 1056f6b22bSmrg# gives unlimited permission to copy, distribute and modify it. 1156f6b22bSmrg## --------------------- ## 1256f6b22bSmrg## M4sh Initialization. ## 1356f6b22bSmrg## --------------------- ## 1456f6b22bSmrg 15ef7198c0Smrg# Be more Bourne compatible 16ef7198c0SmrgDUALCASE=1; export DUALCASE # for MKS sh 1756f6b22bSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1856f6b22bSmrg emulate sh 1956f6b22bSmrg NULLCMD=: 20ef7198c0Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2156f6b22bSmrg # is contrary to our usage. Disable this feature. 2256f6b22bSmrg alias -g '${1+"$@"}'='"$@"' 23ef7198c0Smrg setopt NO_GLOB_SUBST 24ef7198c0Smrgelse 25ef7198c0Smrg case `(set -o) 2>/dev/null` in 26ef7198c0Smrg *posix*) set -o posix ;; 27ef7198c0Smrgesac 28ef7198c0Smrg 29ef7198c0Smrgfi 30ef7198c0Smrg 31ef7198c0Smrg 32ef7198c0Smrg 33ef7198c0Smrg 34ef7198c0Smrg# PATH needs CR 35ef7198c0Smrg# Avoid depending upon Character Ranges. 36ef7198c0Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 37ef7198c0Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38ef7198c0Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 39ef7198c0Smrgas_cr_digits='0123456789' 40ef7198c0Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 41ef7198c0Smrg 42ef7198c0Smrgas_nl=' 43ef7198c0Smrg' 44ef7198c0Smrgexport as_nl 45ef7198c0Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 46ef7198c0Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 47ef7198c0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48ef7198c0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49ef7198c0Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50ef7198c0Smrg as_echo='printf %s\n' 51ef7198c0Smrg as_echo_n='printf %s' 52ef7198c0Smrgelse 53ef7198c0Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54ef7198c0Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55ef7198c0Smrg as_echo_n='/usr/ucb/echo -n' 56ef7198c0Smrg else 57ef7198c0Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58ef7198c0Smrg as_echo_n_body='eval 59ef7198c0Smrg arg=$1; 60ef7198c0Smrg case $arg in 61ef7198c0Smrg *"$as_nl"*) 62ef7198c0Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 63ef7198c0Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64ef7198c0Smrg esac; 65ef7198c0Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66ef7198c0Smrg ' 67ef7198c0Smrg export as_echo_n_body 68ef7198c0Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 69ef7198c0Smrg fi 70ef7198c0Smrg export as_echo_body 71ef7198c0Smrg as_echo='sh -c $as_echo_body as_echo' 72ef7198c0Smrgfi 73ef7198c0Smrg 74ef7198c0Smrg# The user is always right. 75ef7198c0Smrgif test "${PATH_SEPARATOR+set}" != set; then 76ef7198c0Smrg PATH_SEPARATOR=: 77ef7198c0Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78ef7198c0Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79ef7198c0Smrg PATH_SEPARATOR=';' 80ef7198c0Smrg } 8156f6b22bSmrgfi 8256f6b22bSmrg 8356f6b22bSmrg# Support unset when possible. 8456f6b22bSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 8556f6b22bSmrg as_unset=unset 8656f6b22bSmrgelse 8756f6b22bSmrg as_unset=false 8856f6b22bSmrgfi 8956f6b22bSmrg 9056f6b22bSmrg 91ef7198c0Smrg# IFS 92ef7198c0Smrg# We need space, tab and new line, in precisely that order. Quoting is 93ef7198c0Smrg# there to prevent editors from complaining about space-tab. 94ef7198c0Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 95ef7198c0Smrg# splitting by setting IFS to empty value.) 96ef7198c0SmrgIFS=" "" $as_nl" 97ef7198c0Smrg 98ef7198c0Smrg# Find who we are. Look in the path if we contain no directory separator. 99ef7198c0Smrgcase $0 in 100ef7198c0Smrg *[\\/]* ) as_myself=$0 ;; 101ef7198c0Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 102ef7198c0Smrgfor as_dir in $PATH 103ef7198c0Smrgdo 104ef7198c0Smrg IFS=$as_save_IFS 105ef7198c0Smrg test -z "$as_dir" && as_dir=. 106ef7198c0Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107ef7198c0Smrgdone 108ef7198c0SmrgIFS=$as_save_IFS 109ef7198c0Smrg 110ef7198c0Smrg ;; 111ef7198c0Smrgesac 112ef7198c0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 113ef7198c0Smrg# in which case we are not to be found in the path. 114ef7198c0Smrgif test "x$as_myself" = x; then 115ef7198c0Smrg as_myself=$0 116ef7198c0Smrgfi 117ef7198c0Smrgif test ! -f "$as_myself"; then 118ef7198c0Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119ef7198c0Smrg { (exit 1); exit 1; } 120ef7198c0Smrgfi 121ef7198c0Smrg 12256f6b22bSmrg# Work around bugs in pre-3.0 UWIN ksh. 123ef7198c0Smrgfor as_var in ENV MAIL MAILPATH 124ef7198c0Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125ef7198c0Smrgdone 12656f6b22bSmrgPS1='$ ' 12756f6b22bSmrgPS2='> ' 12856f6b22bSmrgPS4='+ ' 12956f6b22bSmrg 13056f6b22bSmrg# NLS nuisances. 131ef7198c0SmrgLC_ALL=C 132ef7198c0Smrgexport LC_ALL 133ef7198c0SmrgLANGUAGE=C 134ef7198c0Smrgexport LANGUAGE 13556f6b22bSmrg 13656f6b22bSmrg# Required to use basename. 137ef7198c0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 138ef7198c0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 13956f6b22bSmrg as_expr=expr 14056f6b22bSmrgelse 14156f6b22bSmrg as_expr=false 14256f6b22bSmrgfi 14356f6b22bSmrg 144ef7198c0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14556f6b22bSmrg as_basename=basename 14656f6b22bSmrgelse 14756f6b22bSmrg as_basename=false 14856f6b22bSmrgfi 14956f6b22bSmrg 15056f6b22bSmrg 15156f6b22bSmrg# Name of the executable. 152ef7198c0Smrgas_me=`$as_basename -- "$0" || 15356f6b22bSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15456f6b22bSmrg X"$0" : 'X\(//\)$' \| \ 155ef7198c0Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 156ef7198c0Smrg$as_echo X/"$0" | 157ef7198c0Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 158ef7198c0Smrg s//\1/ 159ef7198c0Smrg q 160ef7198c0Smrg } 161ef7198c0Smrg /^X\/\(\/\/\)$/{ 162ef7198c0Smrg s//\1/ 163ef7198c0Smrg q 164ef7198c0Smrg } 165ef7198c0Smrg /^X\/\(\/\).*/{ 166ef7198c0Smrg s//\1/ 167ef7198c0Smrg q 168ef7198c0Smrg } 169ef7198c0Smrg s/.*/./; q'` 17056f6b22bSmrg 171ef7198c0Smrg# CDPATH. 172ef7198c0Smrg$as_unset CDPATH 17356f6b22bSmrg 17456f6b22bSmrg 175ef7198c0Smrgif test "x$CONFIG_SHELL" = x; then 176ef7198c0Smrg if (eval ":") 2>/dev/null; then 177ef7198c0Smrg as_have_required=yes 178ef7198c0Smrgelse 179ef7198c0Smrg as_have_required=no 18056f6b22bSmrgfi 18156f6b22bSmrg 182ef7198c0Smrg if test $as_have_required = yes && (eval ": 183ef7198c0Smrg(as_func_return () { 184ef7198c0Smrg (exit \$1) 185ef7198c0Smrg} 186ef7198c0Smrgas_func_success () { 187ef7198c0Smrg as_func_return 0 188ef7198c0Smrg} 189ef7198c0Smrgas_func_failure () { 190ef7198c0Smrg as_func_return 1 191ef7198c0Smrg} 192ef7198c0Smrgas_func_ret_success () { 193ef7198c0Smrg return 0 194ef7198c0Smrg} 195ef7198c0Smrgas_func_ret_failure () { 196ef7198c0Smrg return 1 197ef7198c0Smrg} 19856f6b22bSmrg 199ef7198c0Smrgexitcode=0 200ef7198c0Smrgif as_func_success; then 201ef7198c0Smrg : 202ef7198c0Smrgelse 203ef7198c0Smrg exitcode=1 204ef7198c0Smrg echo as_func_success failed. 205ef7198c0Smrgfi 20656f6b22bSmrg 207ef7198c0Smrgif as_func_failure; then 208ef7198c0Smrg exitcode=1 209ef7198c0Smrg echo as_func_failure succeeded. 210ef7198c0Smrgfi 211ef7198c0Smrg 212ef7198c0Smrgif as_func_ret_success; then 213ef7198c0Smrg : 214ef7198c0Smrgelse 215ef7198c0Smrg exitcode=1 216ef7198c0Smrg echo as_func_ret_success failed. 217ef7198c0Smrgfi 218ef7198c0Smrg 219ef7198c0Smrgif as_func_ret_failure; then 220ef7198c0Smrg exitcode=1 221ef7198c0Smrg echo as_func_ret_failure succeeded. 222ef7198c0Smrgfi 223ef7198c0Smrg 224ef7198c0Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225ef7198c0Smrg : 226ef7198c0Smrgelse 227ef7198c0Smrg exitcode=1 228ef7198c0Smrg echo positional parameters were not saved. 229ef7198c0Smrgfi 230ef7198c0Smrg 231ef7198c0Smrgtest \$exitcode = 0) || { (exit 1); exit 1; } 232ef7198c0Smrg 233ef7198c0Smrg( 234ef7198c0Smrg as_lineno_1=\$LINENO 235ef7198c0Smrg as_lineno_2=\$LINENO 236ef7198c0Smrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237ef7198c0Smrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238ef7198c0Smrg") 2> /dev/null; then 239ef7198c0Smrg : 240ef7198c0Smrgelse 241ef7198c0Smrg as_candidate_shells= 24256f6b22bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24356f6b22bSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 24456f6b22bSmrgdo 24556f6b22bSmrg IFS=$as_save_IFS 24656f6b22bSmrg test -z "$as_dir" && as_dir=. 247ef7198c0Smrg case $as_dir in 24856f6b22bSmrg /*) 249ef7198c0Smrg for as_base in sh bash ksh sh5; do 250ef7198c0Smrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251ef7198c0Smrg done;; 252ef7198c0Smrg esac 253ef7198c0Smrgdone 254ef7198c0SmrgIFS=$as_save_IFS 255ef7198c0Smrg 256ef7198c0Smrg 257ef7198c0Smrg for as_shell in $as_candidate_shells $SHELL; do 258ef7198c0Smrg # Try only shells that exist, to save several forks. 259ef7198c0Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260ef7198c0Smrg { ("$as_shell") 2> /dev/null <<\_ASEOF 261ef7198c0Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262ef7198c0Smrg emulate sh 263ef7198c0Smrg NULLCMD=: 264ef7198c0Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265ef7198c0Smrg # is contrary to our usage. Disable this feature. 266ef7198c0Smrg alias -g '${1+"$@"}'='"$@"' 267ef7198c0Smrg setopt NO_GLOB_SUBST 268ef7198c0Smrgelse 269ef7198c0Smrg case `(set -o) 2>/dev/null` in 270ef7198c0Smrg *posix*) set -o posix ;; 271ef7198c0Smrgesac 272ef7198c0Smrg 273ef7198c0Smrgfi 274ef7198c0Smrg 275ef7198c0Smrg 276ef7198c0Smrg: 277ef7198c0Smrg_ASEOF 278ef7198c0Smrg}; then 279ef7198c0Smrg CONFIG_SHELL=$as_shell 280ef7198c0Smrg as_have_required=yes 281ef7198c0Smrg if { "$as_shell" 2> /dev/null <<\_ASEOF 282ef7198c0Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283ef7198c0Smrg emulate sh 284ef7198c0Smrg NULLCMD=: 285ef7198c0Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286ef7198c0Smrg # is contrary to our usage. Disable this feature. 287ef7198c0Smrg alias -g '${1+"$@"}'='"$@"' 288ef7198c0Smrg setopt NO_GLOB_SUBST 289ef7198c0Smrgelse 290ef7198c0Smrg case `(set -o) 2>/dev/null` in 291ef7198c0Smrg *posix*) set -o posix ;; 292ef7198c0Smrgesac 293ef7198c0Smrg 294ef7198c0Smrgfi 295ef7198c0Smrg 296ef7198c0Smrg 297ef7198c0Smrg: 298ef7198c0Smrg(as_func_return () { 299ef7198c0Smrg (exit $1) 300ef7198c0Smrg} 301ef7198c0Smrgas_func_success () { 302ef7198c0Smrg as_func_return 0 303ef7198c0Smrg} 304ef7198c0Smrgas_func_failure () { 305ef7198c0Smrg as_func_return 1 306ef7198c0Smrg} 307ef7198c0Smrgas_func_ret_success () { 308ef7198c0Smrg return 0 309ef7198c0Smrg} 310ef7198c0Smrgas_func_ret_failure () { 311ef7198c0Smrg return 1 312ef7198c0Smrg} 313ef7198c0Smrg 314ef7198c0Smrgexitcode=0 315ef7198c0Smrgif as_func_success; then 316ef7198c0Smrg : 317ef7198c0Smrgelse 318ef7198c0Smrg exitcode=1 319ef7198c0Smrg echo as_func_success failed. 320ef7198c0Smrgfi 321ef7198c0Smrg 322ef7198c0Smrgif as_func_failure; then 323ef7198c0Smrg exitcode=1 324ef7198c0Smrg echo as_func_failure succeeded. 325ef7198c0Smrgfi 326ef7198c0Smrg 327ef7198c0Smrgif as_func_ret_success; then 328ef7198c0Smrg : 329ef7198c0Smrgelse 330ef7198c0Smrg exitcode=1 331ef7198c0Smrg echo as_func_ret_success failed. 332ef7198c0Smrgfi 333ef7198c0Smrg 334ef7198c0Smrgif as_func_ret_failure; then 335ef7198c0Smrg exitcode=1 336ef7198c0Smrg echo as_func_ret_failure succeeded. 337ef7198c0Smrgfi 338ef7198c0Smrg 339ef7198c0Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then 340ef7198c0Smrg : 341ef7198c0Smrgelse 342ef7198c0Smrg exitcode=1 343ef7198c0Smrg echo positional parameters were not saved. 344ef7198c0Smrgfi 345ef7198c0Smrg 346ef7198c0Smrgtest $exitcode = 0) || { (exit 1); exit 1; } 347ef7198c0Smrg 348ef7198c0Smrg( 34956f6b22bSmrg as_lineno_1=$LINENO 35056f6b22bSmrg as_lineno_2=$LINENO 35156f6b22bSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 352ef7198c0Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353ef7198c0Smrg 354ef7198c0Smrg_ASEOF 355ef7198c0Smrg}; then 356ef7198c0Smrg break 357ef7198c0Smrgfi 358ef7198c0Smrg 359ef7198c0Smrgfi 360ef7198c0Smrg 361ef7198c0Smrg done 362ef7198c0Smrg 363ef7198c0Smrg if test "x$CONFIG_SHELL" != x; then 364ef7198c0Smrg for as_var in BASH_ENV ENV 365ef7198c0Smrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366ef7198c0Smrg done 367ef7198c0Smrg export CONFIG_SHELL 368ef7198c0Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369ef7198c0Smrgfi 370ef7198c0Smrg 371ef7198c0Smrg 372ef7198c0Smrg if test $as_have_required = no; then 373ef7198c0Smrg echo This script requires a shell more modern than all the 374ef7198c0Smrg echo shells that I found on your system. Please install a 375ef7198c0Smrg echo modern shell, or manually run the script under such a 376ef7198c0Smrg echo shell if you do have one. 377ef7198c0Smrg { (exit 1); exit 1; } 378ef7198c0Smrgfi 379ef7198c0Smrg 380ef7198c0Smrg 381ef7198c0Smrgfi 382ef7198c0Smrg 383ef7198c0Smrgfi 384ef7198c0Smrg 385ef7198c0Smrg 386ef7198c0Smrg 387ef7198c0Smrg(eval "as_func_return () { 388ef7198c0Smrg (exit \$1) 389ef7198c0Smrg} 390ef7198c0Smrgas_func_success () { 391ef7198c0Smrg as_func_return 0 392ef7198c0Smrg} 393ef7198c0Smrgas_func_failure () { 394ef7198c0Smrg as_func_return 1 395ef7198c0Smrg} 396ef7198c0Smrgas_func_ret_success () { 397ef7198c0Smrg return 0 398ef7198c0Smrg} 399ef7198c0Smrgas_func_ret_failure () { 400ef7198c0Smrg return 1 401ef7198c0Smrg} 402ef7198c0Smrg 403ef7198c0Smrgexitcode=0 404ef7198c0Smrgif as_func_success; then 405ef7198c0Smrg : 406ef7198c0Smrgelse 407ef7198c0Smrg exitcode=1 408ef7198c0Smrg echo as_func_success failed. 409ef7198c0Smrgfi 410ef7198c0Smrg 411ef7198c0Smrgif as_func_failure; then 412ef7198c0Smrg exitcode=1 413ef7198c0Smrg echo as_func_failure succeeded. 414ef7198c0Smrgfi 415ef7198c0Smrg 416ef7198c0Smrgif as_func_ret_success; then 417ef7198c0Smrg : 418ef7198c0Smrgelse 419ef7198c0Smrg exitcode=1 420ef7198c0Smrg echo as_func_ret_success failed. 421ef7198c0Smrgfi 422ef7198c0Smrg 423ef7198c0Smrgif as_func_ret_failure; then 424ef7198c0Smrg exitcode=1 425ef7198c0Smrg echo as_func_ret_failure succeeded. 426ef7198c0Smrgfi 427ef7198c0Smrg 428ef7198c0Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429ef7198c0Smrg : 430ef7198c0Smrgelse 431ef7198c0Smrg exitcode=1 432ef7198c0Smrg echo positional parameters were not saved. 433ef7198c0Smrgfi 434ef7198c0Smrg 435ef7198c0Smrgtest \$exitcode = 0") || { 436ef7198c0Smrg echo No shell found that supports shell functions. 437ef7198c0Smrg echo Please tell bug-autoconf@gnu.org about your system, 438ef7198c0Smrg echo including any error possibly output before this message. 439ef7198c0Smrg echo This can help us improve future autoconf versions. 440ef7198c0Smrg echo Configuration will now proceed without shell functions. 441ef7198c0Smrg} 442ef7198c0Smrg 443ef7198c0Smrg 444ef7198c0Smrg 445ef7198c0Smrg as_lineno_1=$LINENO 446ef7198c0Smrg as_lineno_2=$LINENO 447ef7198c0Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 448ef7198c0Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 44956f6b22bSmrg 45056f6b22bSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 45156f6b22bSmrg # uniformly replaced by the line number. The first 'sed' inserts a 452ef7198c0Smrg # line-number line after each line using $LINENO; the second 'sed' 453ef7198c0Smrg # does the real work. The second script uses 'N' to pair each 454ef7198c0Smrg # line-number line with the line containing $LINENO, and appends 455ef7198c0Smrg # trailing '-' during substitution so that $LINENO is not a special 456ef7198c0Smrg # case at line end. 45756f6b22bSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458ef7198c0Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 459ef7198c0Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 460ef7198c0Smrg sed -n ' 461ef7198c0Smrg p 462ef7198c0Smrg /[$]LINENO/= 463ef7198c0Smrg ' <$as_myself | 46456f6b22bSmrg sed ' 465ef7198c0Smrg s/[$]LINENO.*/&-/ 466ef7198c0Smrg t lineno 467ef7198c0Smrg b 468ef7198c0Smrg :lineno 46956f6b22bSmrg N 470ef7198c0Smrg :loop 471ef7198c0Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 47256f6b22bSmrg t loop 473ef7198c0Smrg s/-\n.*// 47456f6b22bSmrg ' >$as_me.lineno && 475ef7198c0Smrg chmod +x "$as_me.lineno" || 476ef7198c0Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 47756f6b22bSmrg { (exit 1); exit 1; }; } 47856f6b22bSmrg 47956f6b22bSmrg # Don't try to exec as it changes $[0], causing all sort of problems 48056f6b22bSmrg # (the dirname of $[0] is not the place where we might find the 481ef7198c0Smrg # original and so on. Autoconf is especially sensitive to this). 482ef7198c0Smrg . "./$as_me.lineno" 48356f6b22bSmrg # Exit status is that of the last command. 48456f6b22bSmrg exit 48556f6b22bSmrg} 48656f6b22bSmrg 48756f6b22bSmrg 488ef7198c0Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489ef7198c0Smrg as_dirname=dirname 490ef7198c0Smrgelse 491ef7198c0Smrg as_dirname=false 492ef7198c0Smrgfi 49356f6b22bSmrg 494ef7198c0SmrgECHO_C= ECHO_N= ECHO_T= 495ef7198c0Smrgcase `echo -n x` in 496ef7198c0Smrg-n*) 497ef7198c0Smrg case `echo 'x\c'` in 498ef7198c0Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499ef7198c0Smrg *) ECHO_C='\c';; 500ef7198c0Smrg esac;; 501ef7198c0Smrg*) 502ef7198c0Smrg ECHO_N='-n';; 503ef7198c0Smrgesac 504ef7198c0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 505ef7198c0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 50656f6b22bSmrg as_expr=expr 50756f6b22bSmrgelse 50856f6b22bSmrg as_expr=false 50956f6b22bSmrgfi 51056f6b22bSmrg 51156f6b22bSmrgrm -f conf$$ conf$$.exe conf$$.file 512ef7198c0Smrgif test -d conf$$.dir; then 513ef7198c0Smrg rm -f conf$$.dir/conf$$.file 514ef7198c0Smrgelse 515ef7198c0Smrg rm -f conf$$.dir 516ef7198c0Smrg mkdir conf$$.dir 2>/dev/null 517ef7198c0Smrgfi 518ef7198c0Smrgif (echo >conf$$.file) 2>/dev/null; then 519ef7198c0Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 52056f6b22bSmrg as_ln_s='ln -s' 521ef7198c0Smrg # ... but there are two gotchas: 522ef7198c0Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523ef7198c0Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524ef7198c0Smrg # In both cases, we have to default to `cp -p'. 525ef7198c0Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526ef7198c0Smrg as_ln_s='cp -p' 527ef7198c0Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 528ef7198c0Smrg as_ln_s=ln 529ef7198c0Smrg else 530ef7198c0Smrg as_ln_s='cp -p' 53156f6b22bSmrg fi 53256f6b22bSmrgelse 53356f6b22bSmrg as_ln_s='cp -p' 53456f6b22bSmrgfi 535ef7198c0Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 536ef7198c0Smrgrmdir conf$$.dir 2>/dev/null 53756f6b22bSmrg 53856f6b22bSmrgif mkdir -p . 2>/dev/null; then 53956f6b22bSmrg as_mkdir_p=: 54056f6b22bSmrgelse 54156f6b22bSmrg test -d ./-p && rmdir ./-p 54256f6b22bSmrg as_mkdir_p=false 54356f6b22bSmrgfi 54456f6b22bSmrg 545ef7198c0Smrgif test -x / >/dev/null 2>&1; then 546ef7198c0Smrg as_test_x='test -x' 547ef7198c0Smrgelse 548ef7198c0Smrg if ls -dL / >/dev/null 2>&1; then 549ef7198c0Smrg as_ls_L_option=L 550ef7198c0Smrg else 551ef7198c0Smrg as_ls_L_option= 552ef7198c0Smrg fi 553ef7198c0Smrg as_test_x=' 554ef7198c0Smrg eval sh -c '\'' 555ef7198c0Smrg if test -d "$1"; then 556ef7198c0Smrg test -d "$1/."; 557ef7198c0Smrg else 558ef7198c0Smrg case $1 in 559ef7198c0Smrg -*)set "./$1";; 560ef7198c0Smrg esac; 561ef7198c0Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562ef7198c0Smrg ???[sx]*):;;*)false;;esac;fi 563ef7198c0Smrg '\'' sh 564ef7198c0Smrg ' 565ef7198c0Smrgfi 566ef7198c0Smrgas_executable_p=$as_test_x 56756f6b22bSmrg 56856f6b22bSmrg# Sed expression to map a string onto a valid CPP name. 56956f6b22bSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 57056f6b22bSmrg 57156f6b22bSmrg# Sed expression to map a string onto a valid variable name. 57256f6b22bSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 57356f6b22bSmrg 57456f6b22bSmrg 57556f6b22bSmrg 576ef7198c0Smrgexec 7<&0 </dev/null 6>&1 57756f6b22bSmrg 57856f6b22bSmrg# Name of the host. 57956f6b22bSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 58056f6b22bSmrg# so uname gets run too. 58156f6b22bSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 58256f6b22bSmrg 58356f6b22bSmrg# 58456f6b22bSmrg# Initializations. 58556f6b22bSmrg# 58656f6b22bSmrgac_default_prefix=/usr/local 587ef7198c0Smrgac_clean_files= 58856f6b22bSmrgac_config_libobj_dir=. 589ef7198c0SmrgLIBOBJS= 59056f6b22bSmrgcross_compiling=no 59156f6b22bSmrgsubdirs= 59256f6b22bSmrgMFLAGS= 59356f6b22bSmrgMAKEFLAGS= 59456f6b22bSmrgSHELL=${CONFIG_SHELL-/bin/sh} 59556f6b22bSmrg 59656f6b22bSmrg# Identity of this package. 59756f6b22bSmrgPACKAGE_NAME='font-bitstream-100dpi' 59856f6b22bSmrgPACKAGE_TARNAME='font-bitstream-100dpi' 599ef7198c0SmrgPACKAGE_VERSION='1.0.1' 600ef7198c0SmrgPACKAGE_STRING='font-bitstream-100dpi 1.0.1' 60156f6b22bSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 60256f6b22bSmrg 603ef7198c0Smrg# Factoring default headers for most tests. 604ef7198c0Smrgac_includes_default="\ 605ef7198c0Smrg#include <stdio.h> 606ef7198c0Smrg#ifdef HAVE_SYS_TYPES_H 607ef7198c0Smrg# include <sys/types.h> 608ef7198c0Smrg#endif 609ef7198c0Smrg#ifdef HAVE_SYS_STAT_H 610ef7198c0Smrg# include <sys/stat.h> 611ef7198c0Smrg#endif 612ef7198c0Smrg#ifdef STDC_HEADERS 613ef7198c0Smrg# include <stdlib.h> 614ef7198c0Smrg# include <stddef.h> 615ef7198c0Smrg#else 616ef7198c0Smrg# ifdef HAVE_STDLIB_H 617ef7198c0Smrg# include <stdlib.h> 618ef7198c0Smrg# endif 619ef7198c0Smrg#endif 620ef7198c0Smrg#ifdef HAVE_STRING_H 621ef7198c0Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 622ef7198c0Smrg# include <memory.h> 623ef7198c0Smrg# endif 624ef7198c0Smrg# include <string.h> 625ef7198c0Smrg#endif 626ef7198c0Smrg#ifdef HAVE_STRINGS_H 627ef7198c0Smrg# include <strings.h> 628ef7198c0Smrg#endif 629ef7198c0Smrg#ifdef HAVE_INTTYPES_H 630ef7198c0Smrg# include <inttypes.h> 631ef7198c0Smrg#endif 632ef7198c0Smrg#ifdef HAVE_STDINT_H 633ef7198c0Smrg# include <stdint.h> 634ef7198c0Smrg#endif 635ef7198c0Smrg#ifdef HAVE_UNISTD_H 636ef7198c0Smrg# include <unistd.h> 637ef7198c0Smrg#endif" 638ef7198c0Smrg 639ef7198c0Smrgac_subst_vars='am__EXEEXT_FALSE 640ef7198c0Smrgam__EXEEXT_TRUE 641ef7198c0SmrgLTLIBOBJS 642ef7198c0SmrgLIBOBJS 643ef7198c0SmrgCOMPRESS_SUFFIX 644ef7198c0SmrgCOMPRESS 645ef7198c0SmrgBDFTOPCF 646ef7198c0SmrgMKFONTDIR 647ef7198c0SmrgRUN_FCCACHE 648ef7198c0SmrgFCCACHE 649ef7198c0SmrgFONTDIR 650ef7198c0SmrgFONTROOTDIR 651ef7198c0SmrgPKG_CONFIG 652ef7198c0SmrgADMIN_MAN_DIR 653ef7198c0SmrgDRIVER_MAN_DIR 654ef7198c0SmrgMISC_MAN_DIR 655ef7198c0SmrgFILE_MAN_DIR 656ef7198c0SmrgLIB_MAN_DIR 657ef7198c0SmrgAPP_MAN_DIR 658ef7198c0SmrgADMIN_MAN_SUFFIX 659ef7198c0SmrgDRIVER_MAN_SUFFIX 660ef7198c0SmrgMISC_MAN_SUFFIX 661ef7198c0SmrgFILE_MAN_SUFFIX 662ef7198c0SmrgLIB_MAN_SUFFIX 663ef7198c0SmrgAPP_MAN_SUFFIX 664ef7198c0Smrghost_os 665ef7198c0Smrghost_vendor 666ef7198c0Smrghost_cpu 667ef7198c0Smrghost 668ef7198c0Smrgbuild_os 669ef7198c0Smrgbuild_vendor 670ef7198c0Smrgbuild_cpu 671ef7198c0Smrgbuild 672ef7198c0Smrgdistcleancheck_listfiles 673ef7198c0SmrgCHANGELOG_CMD 674ef7198c0SmrgAM_BACKSLASH 675ef7198c0SmrgAM_DEFAULT_VERBOSITY 676ef7198c0SmrgCWARNFLAGS 677ef7198c0SmrgEGREP 678ef7198c0SmrgGREP 679ef7198c0SmrgCPP 680ef7198c0Smrgam__fastdepCC_FALSE 681ef7198c0Smrgam__fastdepCC_TRUE 682ef7198c0SmrgCCDEPMODE 683ef7198c0SmrgAMDEPBACKSLASH 684ef7198c0SmrgAMDEP_FALSE 685ef7198c0SmrgAMDEP_TRUE 686ef7198c0Smrgam__quote 687ef7198c0Smrgam__include 688ef7198c0SmrgDEPDIR 689ef7198c0SmrgOBJEXT 690ef7198c0SmrgEXEEXT 691ef7198c0Smrgac_ct_CC 692ef7198c0SmrgCPPFLAGS 693ef7198c0SmrgLDFLAGS 694ef7198c0SmrgCFLAGS 695ef7198c0SmrgCC 696ef7198c0SmrgMAINT 697ef7198c0SmrgMAINTAINER_MODE_FALSE 698ef7198c0SmrgMAINTAINER_MODE_TRUE 699ef7198c0Smrgam__untar 700ef7198c0Smrgam__tar 701ef7198c0SmrgAMTAR 702ef7198c0Smrgam__leading_dot 703ef7198c0SmrgSET_MAKE 704ef7198c0SmrgAWK 705ef7198c0Smrgmkdir_p 706ef7198c0SmrgMKDIR_P 707ef7198c0SmrgINSTALL_STRIP_PROGRAM 708ef7198c0SmrgSTRIP 709ef7198c0Smrginstall_sh 710ef7198c0SmrgMAKEINFO 711ef7198c0SmrgAUTOHEADER 712ef7198c0SmrgAUTOMAKE 713ef7198c0SmrgAUTOCONF 714ef7198c0SmrgACLOCAL 715ef7198c0SmrgVERSION 716ef7198c0SmrgPACKAGE 717ef7198c0SmrgCYGPATH_W 718ef7198c0Smrgam__isrc 719ef7198c0SmrgINSTALL_DATA 720ef7198c0SmrgINSTALL_SCRIPT 721ef7198c0SmrgINSTALL_PROGRAM 722ef7198c0Smrgtarget_alias 723ef7198c0Smrghost_alias 724ef7198c0Smrgbuild_alias 725ef7198c0SmrgLIBS 726ef7198c0SmrgECHO_T 727ef7198c0SmrgECHO_N 728ef7198c0SmrgECHO_C 729ef7198c0SmrgDEFS 730ef7198c0Smrgmandir 731ef7198c0Smrglocaledir 732ef7198c0Smrglibdir 733ef7198c0Smrgpsdir 734ef7198c0Smrgpdfdir 735ef7198c0Smrgdvidir 736ef7198c0Smrghtmldir 737ef7198c0Smrginfodir 738ef7198c0Smrgdocdir 739ef7198c0Smrgoldincludedir 740ef7198c0Smrgincludedir 741ef7198c0Smrglocalstatedir 742ef7198c0Smrgsharedstatedir 743ef7198c0Smrgsysconfdir 744ef7198c0Smrgdatadir 745ef7198c0Smrgdatarootdir 746ef7198c0Smrglibexecdir 747ef7198c0Smrgsbindir 748ef7198c0Smrgbindir 749ef7198c0Smrgprogram_transform_name 750ef7198c0Smrgprefix 751ef7198c0Smrgexec_prefix 752ef7198c0SmrgPACKAGE_BUGREPORT 753ef7198c0SmrgPACKAGE_STRING 754ef7198c0SmrgPACKAGE_VERSION 755ef7198c0SmrgPACKAGE_TARNAME 756ef7198c0SmrgPACKAGE_NAME 757ef7198c0SmrgPATH_SEPARATOR 758ef7198c0SmrgSHELL' 75956f6b22bSmrgac_subst_files='' 760ef7198c0Smrgac_user_opts=' 761ef7198c0Smrgenable_option_checking 762ef7198c0Smrgenable_maintainer_mode 763ef7198c0Smrgenable_dependency_tracking 764ef7198c0Smrgenable_silent_rules 765ef7198c0Smrgenable_strict_compilation 766ef7198c0Smrgwith_release_version 767ef7198c0Smrgwith_fontrootdir 768ef7198c0Smrgwith_fontdir 769ef7198c0Smrgwith_compression 770ef7198c0Smrg' 771ef7198c0Smrg ac_precious_vars='build_alias 772ef7198c0Smrghost_alias 773ef7198c0Smrgtarget_alias 774ef7198c0SmrgCC 775ef7198c0SmrgCFLAGS 776ef7198c0SmrgLDFLAGS 777ef7198c0SmrgLIBS 778ef7198c0SmrgCPPFLAGS 779ef7198c0SmrgCPP 780ef7198c0SmrgPKG_CONFIG' 781ef7198c0Smrg 78256f6b22bSmrg 78356f6b22bSmrg# Initialize some variables set by options. 78456f6b22bSmrgac_init_help= 78556f6b22bSmrgac_init_version=false 786ef7198c0Smrgac_unrecognized_opts= 787ef7198c0Smrgac_unrecognized_sep= 78856f6b22bSmrg# The variables have the same names as the options, with 78956f6b22bSmrg# dashes changed to underlines. 79056f6b22bSmrgcache_file=/dev/null 79156f6b22bSmrgexec_prefix=NONE 79256f6b22bSmrgno_create= 79356f6b22bSmrgno_recursion= 79456f6b22bSmrgprefix=NONE 79556f6b22bSmrgprogram_prefix=NONE 79656f6b22bSmrgprogram_suffix=NONE 79756f6b22bSmrgprogram_transform_name=s,x,x, 79856f6b22bSmrgsilent= 79956f6b22bSmrgsite= 80056f6b22bSmrgsrcdir= 80156f6b22bSmrgverbose= 80256f6b22bSmrgx_includes=NONE 80356f6b22bSmrgx_libraries=NONE 80456f6b22bSmrg 80556f6b22bSmrg# Installation directory options. 80656f6b22bSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 80756f6b22bSmrg# and all the variables that are supposed to be based on exec_prefix 80856f6b22bSmrg# by default will actually change. 80956f6b22bSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 810ef7198c0Smrg# (The list follows the same order as the GNU Coding Standards.) 81156f6b22bSmrgbindir='${exec_prefix}/bin' 81256f6b22bSmrgsbindir='${exec_prefix}/sbin' 81356f6b22bSmrglibexecdir='${exec_prefix}/libexec' 814ef7198c0Smrgdatarootdir='${prefix}/share' 815ef7198c0Smrgdatadir='${datarootdir}' 81656f6b22bSmrgsysconfdir='${prefix}/etc' 81756f6b22bSmrgsharedstatedir='${prefix}/com' 81856f6b22bSmrglocalstatedir='${prefix}/var' 81956f6b22bSmrgincludedir='${prefix}/include' 82056f6b22bSmrgoldincludedir='/usr/include' 821ef7198c0Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 822ef7198c0Smrginfodir='${datarootdir}/info' 823ef7198c0Smrghtmldir='${docdir}' 824ef7198c0Smrgdvidir='${docdir}' 825ef7198c0Smrgpdfdir='${docdir}' 826ef7198c0Smrgpsdir='${docdir}' 827ef7198c0Smrglibdir='${exec_prefix}/lib' 828ef7198c0Smrglocaledir='${datarootdir}/locale' 829ef7198c0Smrgmandir='${datarootdir}/man' 83056f6b22bSmrg 83156f6b22bSmrgac_prev= 832ef7198c0Smrgac_dashdash= 83356f6b22bSmrgfor ac_option 83456f6b22bSmrgdo 83556f6b22bSmrg # If the previous option needs an argument, assign it. 83656f6b22bSmrg if test -n "$ac_prev"; then 837ef7198c0Smrg eval $ac_prev=\$ac_option 83856f6b22bSmrg ac_prev= 83956f6b22bSmrg continue 84056f6b22bSmrg fi 84156f6b22bSmrg 842ef7198c0Smrg case $ac_option in 843ef7198c0Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 844ef7198c0Smrg *) ac_optarg=yes ;; 845ef7198c0Smrg esac 84656f6b22bSmrg 84756f6b22bSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 84856f6b22bSmrg 849ef7198c0Smrg case $ac_dashdash$ac_option in 850ef7198c0Smrg --) 851ef7198c0Smrg ac_dashdash=yes ;; 85256f6b22bSmrg 85356f6b22bSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 85456f6b22bSmrg ac_prev=bindir ;; 85556f6b22bSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 85656f6b22bSmrg bindir=$ac_optarg ;; 85756f6b22bSmrg 85856f6b22bSmrg -build | --build | --buil | --bui | --bu) 85956f6b22bSmrg ac_prev=build_alias ;; 86056f6b22bSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 86156f6b22bSmrg build_alias=$ac_optarg ;; 86256f6b22bSmrg 86356f6b22bSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 86456f6b22bSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 86556f6b22bSmrg ac_prev=cache_file ;; 86656f6b22bSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 86756f6b22bSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 86856f6b22bSmrg cache_file=$ac_optarg ;; 86956f6b22bSmrg 87056f6b22bSmrg --config-cache | -C) 87156f6b22bSmrg cache_file=config.cache ;; 87256f6b22bSmrg 873ef7198c0Smrg -datadir | --datadir | --datadi | --datad) 87456f6b22bSmrg ac_prev=datadir ;; 875ef7198c0Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 87656f6b22bSmrg datadir=$ac_optarg ;; 87756f6b22bSmrg 878ef7198c0Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 879ef7198c0Smrg | --dataroo | --dataro | --datar) 880ef7198c0Smrg ac_prev=datarootdir ;; 881ef7198c0Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 882ef7198c0Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 883ef7198c0Smrg datarootdir=$ac_optarg ;; 884ef7198c0Smrg 88556f6b22bSmrg -disable-* | --disable-*) 886ef7198c0Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 88756f6b22bSmrg # Reject names that are not valid shell variable names. 888ef7198c0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 889ef7198c0Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 89056f6b22bSmrg { (exit 1); exit 1; }; } 891ef7198c0Smrg ac_useropt_orig=$ac_useropt 892ef7198c0Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 893ef7198c0Smrg case $ac_user_opts in 894ef7198c0Smrg *" 895ef7198c0Smrg"enable_$ac_useropt" 896ef7198c0Smrg"*) ;; 897ef7198c0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 898ef7198c0Smrg ac_unrecognized_sep=', ';; 899ef7198c0Smrg esac 900ef7198c0Smrg eval enable_$ac_useropt=no ;; 901ef7198c0Smrg 902ef7198c0Smrg -docdir | --docdir | --docdi | --doc | --do) 903ef7198c0Smrg ac_prev=docdir ;; 904ef7198c0Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 905ef7198c0Smrg docdir=$ac_optarg ;; 906ef7198c0Smrg 907ef7198c0Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 908ef7198c0Smrg ac_prev=dvidir ;; 909ef7198c0Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 910ef7198c0Smrg dvidir=$ac_optarg ;; 91156f6b22bSmrg 91256f6b22bSmrg -enable-* | --enable-*) 913ef7198c0Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 91456f6b22bSmrg # Reject names that are not valid shell variable names. 915ef7198c0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 916ef7198c0Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 91756f6b22bSmrg { (exit 1); exit 1; }; } 918ef7198c0Smrg ac_useropt_orig=$ac_useropt 919ef7198c0Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 920ef7198c0Smrg case $ac_user_opts in 921ef7198c0Smrg *" 922ef7198c0Smrg"enable_$ac_useropt" 923ef7198c0Smrg"*) ;; 924ef7198c0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 925ef7198c0Smrg ac_unrecognized_sep=', ';; 92656f6b22bSmrg esac 927ef7198c0Smrg eval enable_$ac_useropt=\$ac_optarg ;; 92856f6b22bSmrg 92956f6b22bSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 93056f6b22bSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 93156f6b22bSmrg | --exec | --exe | --ex) 93256f6b22bSmrg ac_prev=exec_prefix ;; 93356f6b22bSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 93456f6b22bSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 93556f6b22bSmrg | --exec=* | --exe=* | --ex=*) 93656f6b22bSmrg exec_prefix=$ac_optarg ;; 93756f6b22bSmrg 93856f6b22bSmrg -gas | --gas | --ga | --g) 93956f6b22bSmrg # Obsolete; use --with-gas. 94056f6b22bSmrg with_gas=yes ;; 94156f6b22bSmrg 94256f6b22bSmrg -help | --help | --hel | --he | -h) 94356f6b22bSmrg ac_init_help=long ;; 94456f6b22bSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 94556f6b22bSmrg ac_init_help=recursive ;; 94656f6b22bSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 94756f6b22bSmrg ac_init_help=short ;; 94856f6b22bSmrg 94956f6b22bSmrg -host | --host | --hos | --ho) 95056f6b22bSmrg ac_prev=host_alias ;; 95156f6b22bSmrg -host=* | --host=* | --hos=* | --ho=*) 95256f6b22bSmrg host_alias=$ac_optarg ;; 95356f6b22bSmrg 954ef7198c0Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 955ef7198c0Smrg ac_prev=htmldir ;; 956ef7198c0Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 957ef7198c0Smrg | --ht=*) 958ef7198c0Smrg htmldir=$ac_optarg ;; 959ef7198c0Smrg 96056f6b22bSmrg -includedir | --includedir | --includedi | --included | --include \ 96156f6b22bSmrg | --includ | --inclu | --incl | --inc) 96256f6b22bSmrg ac_prev=includedir ;; 96356f6b22bSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 96456f6b22bSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 96556f6b22bSmrg includedir=$ac_optarg ;; 96656f6b22bSmrg 96756f6b22bSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 96856f6b22bSmrg ac_prev=infodir ;; 96956f6b22bSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 97056f6b22bSmrg infodir=$ac_optarg ;; 97156f6b22bSmrg 97256f6b22bSmrg -libdir | --libdir | --libdi | --libd) 97356f6b22bSmrg ac_prev=libdir ;; 97456f6b22bSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 97556f6b22bSmrg libdir=$ac_optarg ;; 97656f6b22bSmrg 97756f6b22bSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 97856f6b22bSmrg | --libexe | --libex | --libe) 97956f6b22bSmrg ac_prev=libexecdir ;; 98056f6b22bSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 98156f6b22bSmrg | --libexe=* | --libex=* | --libe=*) 98256f6b22bSmrg libexecdir=$ac_optarg ;; 98356f6b22bSmrg 984ef7198c0Smrg -localedir | --localedir | --localedi | --localed | --locale) 985ef7198c0Smrg ac_prev=localedir ;; 986ef7198c0Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 987ef7198c0Smrg localedir=$ac_optarg ;; 988ef7198c0Smrg 98956f6b22bSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 990ef7198c0Smrg | --localstate | --localstat | --localsta | --localst | --locals) 99156f6b22bSmrg ac_prev=localstatedir ;; 99256f6b22bSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 993ef7198c0Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 99456f6b22bSmrg localstatedir=$ac_optarg ;; 99556f6b22bSmrg 99656f6b22bSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 99756f6b22bSmrg ac_prev=mandir ;; 99856f6b22bSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 99956f6b22bSmrg mandir=$ac_optarg ;; 100056f6b22bSmrg 100156f6b22bSmrg -nfp | --nfp | --nf) 100256f6b22bSmrg # Obsolete; use --without-fp. 100356f6b22bSmrg with_fp=no ;; 100456f6b22bSmrg 100556f6b22bSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 100656f6b22bSmrg | --no-cr | --no-c | -n) 100756f6b22bSmrg no_create=yes ;; 100856f6b22bSmrg 100956f6b22bSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 101056f6b22bSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 101156f6b22bSmrg no_recursion=yes ;; 101256f6b22bSmrg 101356f6b22bSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 101456f6b22bSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 101556f6b22bSmrg | --oldin | --oldi | --old | --ol | --o) 101656f6b22bSmrg ac_prev=oldincludedir ;; 101756f6b22bSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 101856f6b22bSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 101956f6b22bSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 102056f6b22bSmrg oldincludedir=$ac_optarg ;; 102156f6b22bSmrg 102256f6b22bSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 102356f6b22bSmrg ac_prev=prefix ;; 102456f6b22bSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 102556f6b22bSmrg prefix=$ac_optarg ;; 102656f6b22bSmrg 102756f6b22bSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 102856f6b22bSmrg | --program-pre | --program-pr | --program-p) 102956f6b22bSmrg ac_prev=program_prefix ;; 103056f6b22bSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 103156f6b22bSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 103256f6b22bSmrg program_prefix=$ac_optarg ;; 103356f6b22bSmrg 103456f6b22bSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 103556f6b22bSmrg | --program-suf | --program-su | --program-s) 103656f6b22bSmrg ac_prev=program_suffix ;; 103756f6b22bSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 103856f6b22bSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 103956f6b22bSmrg program_suffix=$ac_optarg ;; 104056f6b22bSmrg 104156f6b22bSmrg -program-transform-name | --program-transform-name \ 104256f6b22bSmrg | --program-transform-nam | --program-transform-na \ 104356f6b22bSmrg | --program-transform-n | --program-transform- \ 104456f6b22bSmrg | --program-transform | --program-transfor \ 104556f6b22bSmrg | --program-transfo | --program-transf \ 104656f6b22bSmrg | --program-trans | --program-tran \ 104756f6b22bSmrg | --progr-tra | --program-tr | --program-t) 104856f6b22bSmrg ac_prev=program_transform_name ;; 104956f6b22bSmrg -program-transform-name=* | --program-transform-name=* \ 105056f6b22bSmrg | --program-transform-nam=* | --program-transform-na=* \ 105156f6b22bSmrg | --program-transform-n=* | --program-transform-=* \ 105256f6b22bSmrg | --program-transform=* | --program-transfor=* \ 105356f6b22bSmrg | --program-transfo=* | --program-transf=* \ 105456f6b22bSmrg | --program-trans=* | --program-tran=* \ 105556f6b22bSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 105656f6b22bSmrg program_transform_name=$ac_optarg ;; 105756f6b22bSmrg 1058ef7198c0Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1059ef7198c0Smrg ac_prev=pdfdir ;; 1060ef7198c0Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1061ef7198c0Smrg pdfdir=$ac_optarg ;; 1062ef7198c0Smrg 1063ef7198c0Smrg -psdir | --psdir | --psdi | --psd | --ps) 1064ef7198c0Smrg ac_prev=psdir ;; 1065ef7198c0Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1066ef7198c0Smrg psdir=$ac_optarg ;; 1067ef7198c0Smrg 106856f6b22bSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 106956f6b22bSmrg | -silent | --silent | --silen | --sile | --sil) 107056f6b22bSmrg silent=yes ;; 107156f6b22bSmrg 107256f6b22bSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 107356f6b22bSmrg ac_prev=sbindir ;; 107456f6b22bSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 107556f6b22bSmrg | --sbi=* | --sb=*) 107656f6b22bSmrg sbindir=$ac_optarg ;; 107756f6b22bSmrg 107856f6b22bSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 107956f6b22bSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 108056f6b22bSmrg | --sharedst | --shareds | --shared | --share | --shar \ 108156f6b22bSmrg | --sha | --sh) 108256f6b22bSmrg ac_prev=sharedstatedir ;; 108356f6b22bSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 108456f6b22bSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 108556f6b22bSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 108656f6b22bSmrg | --sha=* | --sh=*) 108756f6b22bSmrg sharedstatedir=$ac_optarg ;; 108856f6b22bSmrg 108956f6b22bSmrg -site | --site | --sit) 109056f6b22bSmrg ac_prev=site ;; 109156f6b22bSmrg -site=* | --site=* | --sit=*) 109256f6b22bSmrg site=$ac_optarg ;; 109356f6b22bSmrg 109456f6b22bSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 109556f6b22bSmrg ac_prev=srcdir ;; 109656f6b22bSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 109756f6b22bSmrg srcdir=$ac_optarg ;; 109856f6b22bSmrg 109956f6b22bSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 110056f6b22bSmrg | --syscon | --sysco | --sysc | --sys | --sy) 110156f6b22bSmrg ac_prev=sysconfdir ;; 110256f6b22bSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 110356f6b22bSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 110456f6b22bSmrg sysconfdir=$ac_optarg ;; 110556f6b22bSmrg 110656f6b22bSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 110756f6b22bSmrg ac_prev=target_alias ;; 110856f6b22bSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 110956f6b22bSmrg target_alias=$ac_optarg ;; 111056f6b22bSmrg 111156f6b22bSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 111256f6b22bSmrg verbose=yes ;; 111356f6b22bSmrg 111456f6b22bSmrg -version | --version | --versio | --versi | --vers | -V) 111556f6b22bSmrg ac_init_version=: ;; 111656f6b22bSmrg 111756f6b22bSmrg -with-* | --with-*) 1118ef7198c0Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 111956f6b22bSmrg # Reject names that are not valid shell variable names. 1120ef7198c0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1121ef7198c0Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 112256f6b22bSmrg { (exit 1); exit 1; }; } 1123ef7198c0Smrg ac_useropt_orig=$ac_useropt 1124ef7198c0Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1125ef7198c0Smrg case $ac_user_opts in 1126ef7198c0Smrg *" 1127ef7198c0Smrg"with_$ac_useropt" 1128ef7198c0Smrg"*) ;; 1129ef7198c0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1130ef7198c0Smrg ac_unrecognized_sep=', ';; 113156f6b22bSmrg esac 1132ef7198c0Smrg eval with_$ac_useropt=\$ac_optarg ;; 113356f6b22bSmrg 113456f6b22bSmrg -without-* | --without-*) 1135ef7198c0Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 113656f6b22bSmrg # Reject names that are not valid shell variable names. 1137ef7198c0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1138ef7198c0Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 113956f6b22bSmrg { (exit 1); exit 1; }; } 1140ef7198c0Smrg ac_useropt_orig=$ac_useropt 1141ef7198c0Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1142ef7198c0Smrg case $ac_user_opts in 1143ef7198c0Smrg *" 1144ef7198c0Smrg"with_$ac_useropt" 1145ef7198c0Smrg"*) ;; 1146ef7198c0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1147ef7198c0Smrg ac_unrecognized_sep=', ';; 1148ef7198c0Smrg esac 1149ef7198c0Smrg eval with_$ac_useropt=no ;; 115056f6b22bSmrg 115156f6b22bSmrg --x) 115256f6b22bSmrg # Obsolete; use --with-x. 115356f6b22bSmrg with_x=yes ;; 115456f6b22bSmrg 115556f6b22bSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 115656f6b22bSmrg | --x-incl | --x-inc | --x-in | --x-i) 115756f6b22bSmrg ac_prev=x_includes ;; 115856f6b22bSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 115956f6b22bSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 116056f6b22bSmrg x_includes=$ac_optarg ;; 116156f6b22bSmrg 116256f6b22bSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 116356f6b22bSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 116456f6b22bSmrg ac_prev=x_libraries ;; 116556f6b22bSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 116656f6b22bSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 116756f6b22bSmrg x_libraries=$ac_optarg ;; 116856f6b22bSmrg 1169ef7198c0Smrg -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 117056f6b22bSmrgTry \`$0 --help' for more information." >&2 117156f6b22bSmrg { (exit 1); exit 1; }; } 117256f6b22bSmrg ;; 117356f6b22bSmrg 117456f6b22bSmrg *=*) 117556f6b22bSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 117656f6b22bSmrg # Reject names that are not valid shell variable names. 117756f6b22bSmrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1178ef7198c0Smrg { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 117956f6b22bSmrg { (exit 1); exit 1; }; } 1180ef7198c0Smrg eval $ac_envvar=\$ac_optarg 118156f6b22bSmrg export $ac_envvar ;; 118256f6b22bSmrg 118356f6b22bSmrg *) 118456f6b22bSmrg # FIXME: should be removed in autoconf 3.0. 1185ef7198c0Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 118656f6b22bSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1187ef7198c0Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 118856f6b22bSmrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 118956f6b22bSmrg ;; 119056f6b22bSmrg 119156f6b22bSmrg esac 119256f6b22bSmrgdone 119356f6b22bSmrg 119456f6b22bSmrgif test -n "$ac_prev"; then 119556f6b22bSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1196ef7198c0Smrg { $as_echo "$as_me: error: missing argument to $ac_option" >&2 119756f6b22bSmrg { (exit 1); exit 1; }; } 119856f6b22bSmrgfi 119956f6b22bSmrg 1200ef7198c0Smrgif test -n "$ac_unrecognized_opts"; then 1201ef7198c0Smrg case $enable_option_checking in 1202ef7198c0Smrg no) ;; 1203ef7198c0Smrg fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1204ef7198c0Smrg { (exit 1); exit 1; }; } ;; 1205ef7198c0Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 120656f6b22bSmrg esac 1207ef7198c0Smrgfi 120856f6b22bSmrg 1209ef7198c0Smrg# Check all directory arguments for consistency. 1210ef7198c0Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1211ef7198c0Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1212ef7198c0Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1213ef7198c0Smrg libdir localedir mandir 121456f6b22bSmrgdo 1215ef7198c0Smrg eval ac_val=\$$ac_var 1216ef7198c0Smrg # Remove trailing slashes. 121756f6b22bSmrg case $ac_val in 1218ef7198c0Smrg */ ) 1219ef7198c0Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1220ef7198c0Smrg eval $ac_var=\$ac_val;; 1221ef7198c0Smrg esac 1222ef7198c0Smrg # Be sure to have absolute directory names. 1223ef7198c0Smrg case $ac_val in 1224ef7198c0Smrg [\\/$]* | ?:[\\/]* ) continue;; 1225ef7198c0Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 122656f6b22bSmrg esac 1227ef7198c0Smrg { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1228ef7198c0Smrg { (exit 1); exit 1; }; } 122956f6b22bSmrgdone 123056f6b22bSmrg 123156f6b22bSmrg# There might be people who depend on the old broken behavior: `$host' 123256f6b22bSmrg# used to hold the argument of --host etc. 123356f6b22bSmrg# FIXME: To remove some day. 123456f6b22bSmrgbuild=$build_alias 123556f6b22bSmrghost=$host_alias 123656f6b22bSmrgtarget=$target_alias 123756f6b22bSmrg 123856f6b22bSmrg# FIXME: To remove some day. 123956f6b22bSmrgif test "x$host_alias" != x; then 124056f6b22bSmrg if test "x$build_alias" = x; then 124156f6b22bSmrg cross_compiling=maybe 1242ef7198c0Smrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 124356f6b22bSmrg If a cross compiler is detected then cross compile mode will be used." >&2 124456f6b22bSmrg elif test "x$build_alias" != "x$host_alias"; then 124556f6b22bSmrg cross_compiling=yes 124656f6b22bSmrg fi 124756f6b22bSmrgfi 124856f6b22bSmrg 124956f6b22bSmrgac_tool_prefix= 125056f6b22bSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 125156f6b22bSmrg 125256f6b22bSmrgtest "$silent" = yes && exec 6>/dev/null 125356f6b22bSmrg 125456f6b22bSmrg 1255ef7198c0Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 1256ef7198c0Smrgac_ls_di=`ls -di .` && 1257ef7198c0Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1258ef7198c0Smrg { $as_echo "$as_me: error: working directory cannot be determined" >&2 1259ef7198c0Smrg { (exit 1); exit 1; }; } 1260ef7198c0Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1261ef7198c0Smrg { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1262ef7198c0Smrg { (exit 1); exit 1; }; } 1263ef7198c0Smrg 1264ef7198c0Smrg 126556f6b22bSmrg# Find the source files, if location was not specified. 126656f6b22bSmrgif test -z "$srcdir"; then 126756f6b22bSmrg ac_srcdir_defaulted=yes 1268ef7198c0Smrg # Try the directory containing this script, then the parent directory. 1269ef7198c0Smrg ac_confdir=`$as_dirname -- "$as_myself" || 1270ef7198c0Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1271ef7198c0Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 1272ef7198c0Smrg X"$as_myself" : 'X\(//\)$' \| \ 1273ef7198c0Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1274ef7198c0Smrg$as_echo X"$as_myself" | 1275ef7198c0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1276ef7198c0Smrg s//\1/ 1277ef7198c0Smrg q 1278ef7198c0Smrg } 1279ef7198c0Smrg /^X\(\/\/\)[^/].*/{ 1280ef7198c0Smrg s//\1/ 1281ef7198c0Smrg q 1282ef7198c0Smrg } 1283ef7198c0Smrg /^X\(\/\/\)$/{ 1284ef7198c0Smrg s//\1/ 1285ef7198c0Smrg q 1286ef7198c0Smrg } 1287ef7198c0Smrg /^X\(\/\).*/{ 1288ef7198c0Smrg s//\1/ 1289ef7198c0Smrg q 1290ef7198c0Smrg } 1291ef7198c0Smrg s/.*/./; q'` 129256f6b22bSmrg srcdir=$ac_confdir 1293ef7198c0Smrg if test ! -r "$srcdir/$ac_unique_file"; then 129456f6b22bSmrg srcdir=.. 129556f6b22bSmrg fi 129656f6b22bSmrgelse 129756f6b22bSmrg ac_srcdir_defaulted=no 129856f6b22bSmrgfi 1299ef7198c0Smrgif test ! -r "$srcdir/$ac_unique_file"; then 1300ef7198c0Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1301ef7198c0Smrg { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 130256f6b22bSmrg { (exit 1); exit 1; }; } 130356f6b22bSmrgfi 1304ef7198c0Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1305ef7198c0Smrgac_abs_confdir=`( 1306ef7198c0Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 130756f6b22bSmrg { (exit 1); exit 1; }; } 1308ef7198c0Smrg pwd)` 1309ef7198c0Smrg# When building in place, set srcdir=. 1310ef7198c0Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1311ef7198c0Smrg srcdir=. 1312ef7198c0Smrgfi 1313ef7198c0Smrg# Remove unnecessary trailing slashes from srcdir. 1314ef7198c0Smrg# Double slashes in file names in object file debugging info 1315ef7198c0Smrg# mess up M-x gdb in Emacs. 1316ef7198c0Smrgcase $srcdir in 1317ef7198c0Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1318ef7198c0Smrgesac 1319ef7198c0Smrgfor ac_var in $ac_precious_vars; do 1320ef7198c0Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1321ef7198c0Smrg eval ac_env_${ac_var}_value=\$${ac_var} 1322ef7198c0Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1323ef7198c0Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1324ef7198c0Smrgdone 132556f6b22bSmrg 132656f6b22bSmrg# 132756f6b22bSmrg# Report the --help message. 132856f6b22bSmrg# 132956f6b22bSmrgif test "$ac_init_help" = "long"; then 133056f6b22bSmrg # Omit some internal or obsolete options to make the list less imposing. 133156f6b22bSmrg # This message is too long to be a string in the A/UX 3.1 sh. 133256f6b22bSmrg cat <<_ACEOF 1333ef7198c0Smrg\`configure' configures font-bitstream-100dpi 1.0.1 to adapt to many kinds of systems. 133456f6b22bSmrg 133556f6b22bSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 133656f6b22bSmrg 133756f6b22bSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 133856f6b22bSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 133956f6b22bSmrg 134056f6b22bSmrgDefaults for the options are specified in brackets. 134156f6b22bSmrg 134256f6b22bSmrgConfiguration: 134356f6b22bSmrg -h, --help display this help and exit 134456f6b22bSmrg --help=short display options specific to this package 134556f6b22bSmrg --help=recursive display the short help of all the included packages 134656f6b22bSmrg -V, --version display version information and exit 134756f6b22bSmrg -q, --quiet, --silent do not print \`checking...' messages 134856f6b22bSmrg --cache-file=FILE cache test results in FILE [disabled] 134956f6b22bSmrg -C, --config-cache alias for \`--cache-file=config.cache' 135056f6b22bSmrg -n, --no-create do not create output files 135156f6b22bSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 135256f6b22bSmrg 135356f6b22bSmrgInstallation directories: 135456f6b22bSmrg --prefix=PREFIX install architecture-independent files in PREFIX 1355ef7198c0Smrg [$ac_default_prefix] 135656f6b22bSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1357ef7198c0Smrg [PREFIX] 135856f6b22bSmrg 135956f6b22bSmrgBy default, \`make install' will install all the files in 136056f6b22bSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 136156f6b22bSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 136256f6b22bSmrgfor instance \`--prefix=\$HOME'. 136356f6b22bSmrg 136456f6b22bSmrgFor better control, use the options below. 136556f6b22bSmrg 136656f6b22bSmrgFine tuning of the installation directories: 1367ef7198c0Smrg --bindir=DIR user executables [EPREFIX/bin] 1368ef7198c0Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 1369ef7198c0Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 1370ef7198c0Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1371ef7198c0Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1372ef7198c0Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1373ef7198c0Smrg --libdir=DIR object code libraries [EPREFIX/lib] 1374ef7198c0Smrg --includedir=DIR C header files [PREFIX/include] 1375ef7198c0Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 1376ef7198c0Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1377ef7198c0Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1378ef7198c0Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 1379ef7198c0Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1380ef7198c0Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 1381ef7198c0Smrg --docdir=DIR documentation root 1382ef7198c0Smrg [DATAROOTDIR/doc/font-bitstream-100dpi] 1383ef7198c0Smrg --htmldir=DIR html documentation [DOCDIR] 1384ef7198c0Smrg --dvidir=DIR dvi documentation [DOCDIR] 1385ef7198c0Smrg --pdfdir=DIR pdf documentation [DOCDIR] 1386ef7198c0Smrg --psdir=DIR ps documentation [DOCDIR] 138756f6b22bSmrg_ACEOF 138856f6b22bSmrg 138956f6b22bSmrg cat <<\_ACEOF 139056f6b22bSmrg 139156f6b22bSmrgProgram names: 139256f6b22bSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 139356f6b22bSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 139456f6b22bSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1395ef7198c0Smrg 1396ef7198c0SmrgSystem types: 1397ef7198c0Smrg --build=BUILD configure for building on BUILD [guessed] 1398ef7198c0Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 139956f6b22bSmrg_ACEOF 140056f6b22bSmrgfi 140156f6b22bSmrg 140256f6b22bSmrgif test -n "$ac_init_help"; then 140356f6b22bSmrg case $ac_init_help in 1404ef7198c0Smrg short | recursive ) echo "Configuration of font-bitstream-100dpi 1.0.1:";; 140556f6b22bSmrg esac 140656f6b22bSmrg cat <<\_ACEOF 140756f6b22bSmrg 140856f6b22bSmrgOptional Features: 1409ef7198c0Smrg --disable-option-checking ignore unrecognized --enable/--with options 141056f6b22bSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 141156f6b22bSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1412ef7198c0Smrg --enable-maintainer-mode enable make rules and dependencies not useful 1413ef7198c0Smrg (and sometimes confusing) to the casual installer 1414ef7198c0Smrg --disable-dependency-tracking speeds up one-time build 1415ef7198c0Smrg --enable-dependency-tracking do not reject slow dependency extractors 1416ef7198c0Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 1417ef7198c0Smrg --disable-silent-rules verbose build output (undo: `make V=0') 1418ef7198c0Smrg --enable-strict-compilation 1419ef7198c0Smrg Enable all warnings from compiler and make them 1420ef7198c0Smrg errors (default: disabled) 142156f6b22bSmrg 142256f6b22bSmrgOptional Packages: 142356f6b22bSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 142456f6b22bSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 142556f6b22bSmrg --with-release-version=STRING 142656f6b22bSmrg Use release version string in package name 1427ef7198c0Smrg --with-fontrootdir=DIR Path to root directory for font files 1428ef7198c0Smrg --with-fontdir=DIR Path to 100dpi files [FONTROOTDIR/100dpi] 1429ef7198c0Smrg --with-compression=<no|compress|gzip|bzip2> 1430ef7198c0Smrg compression method to use on pcf fonts 1431ef7198c0Smrg 1432ef7198c0SmrgSome influential environment variables: 1433ef7198c0Smrg CC C compiler command 1434ef7198c0Smrg CFLAGS C compiler flags 1435ef7198c0Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1436ef7198c0Smrg nonstandard directory <lib dir> 1437ef7198c0Smrg LIBS libraries to pass to the linker, e.g. -l<library> 1438ef7198c0Smrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1439ef7198c0Smrg you have headers in a nonstandard directory <include dir> 1440ef7198c0Smrg CPP C preprocessor 1441ef7198c0Smrg PKG_CONFIG path to pkg-config utility 1442ef7198c0Smrg 1443ef7198c0SmrgUse these variables to override the choices made by `configure' or to help 1444ef7198c0Smrgit to find libraries and programs with nonstandard names/locations. 144556f6b22bSmrg 144656f6b22bSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 144756f6b22bSmrg_ACEOF 1448ef7198c0Smrgac_status=$? 144956f6b22bSmrgfi 145056f6b22bSmrg 145156f6b22bSmrgif test "$ac_init_help" = "recursive"; then 145256f6b22bSmrg # If there are subdirs, report their specific --help. 145356f6b22bSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1454ef7198c0Smrg test -d "$ac_dir" || 1455ef7198c0Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1456ef7198c0Smrg continue 145756f6b22bSmrg ac_builddir=. 145856f6b22bSmrg 1459ef7198c0Smrgcase "$ac_dir" in 1460ef7198c0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1461ef7198c0Smrg*) 1462ef7198c0Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1463ef7198c0Smrg # A ".." for each directory in $ac_dir_suffix. 1464ef7198c0Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1465ef7198c0Smrg case $ac_top_builddir_sub in 1466ef7198c0Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1467ef7198c0Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1468ef7198c0Smrg esac ;; 1469ef7198c0Smrgesac 1470ef7198c0Smrgac_abs_top_builddir=$ac_pwd 1471ef7198c0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1472ef7198c0Smrg# for backward compatibility: 1473ef7198c0Smrgac_top_builddir=$ac_top_build_prefix 147456f6b22bSmrg 147556f6b22bSmrgcase $srcdir in 1476ef7198c0Smrg .) # We are building in place. 147756f6b22bSmrg ac_srcdir=. 1478ef7198c0Smrg ac_top_srcdir=$ac_top_builddir_sub 1479ef7198c0Smrg ac_abs_top_srcdir=$ac_pwd ;; 1480ef7198c0Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 148156f6b22bSmrg ac_srcdir=$srcdir$ac_dir_suffix; 1482ef7198c0Smrg ac_top_srcdir=$srcdir 1483ef7198c0Smrg ac_abs_top_srcdir=$srcdir ;; 1484ef7198c0Smrg *) # Relative name. 1485ef7198c0Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1486ef7198c0Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1487ef7198c0Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 148856f6b22bSmrgesac 1489ef7198c0Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1490ef7198c0Smrg 1491ef7198c0Smrg cd "$ac_dir" || { ac_status=$?; continue; } 1492ef7198c0Smrg # Check for guested configure. 1493ef7198c0Smrg if test -f "$ac_srcdir/configure.gnu"; then 1494ef7198c0Smrg echo && 1495ef7198c0Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1496ef7198c0Smrg elif test -f "$ac_srcdir/configure"; then 1497ef7198c0Smrg echo && 1498ef7198c0Smrg $SHELL "$ac_srcdir/configure" --help=recursive 149956f6b22bSmrg else 1500ef7198c0Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1501ef7198c0Smrg fi || ac_status=$? 1502ef7198c0Smrg cd "$ac_pwd" || { ac_status=$?; break; } 150356f6b22bSmrg done 150456f6b22bSmrgfi 150556f6b22bSmrg 1506ef7198c0Smrgtest -n "$ac_init_help" && exit $ac_status 150756f6b22bSmrgif $ac_init_version; then 150856f6b22bSmrg cat <<\_ACEOF 1509ef7198c0Smrgfont-bitstream-100dpi configure 1.0.1 1510ef7198c0Smrggenerated by GNU Autoconf 2.63 151156f6b22bSmrg 1512ef7198c0SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1513ef7198c0Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 151456f6b22bSmrgThis configure script is free software; the Free Software Foundation 151556f6b22bSmrggives unlimited permission to copy, distribute and modify it. 151656f6b22bSmrg_ACEOF 1517ef7198c0Smrg exit 151856f6b22bSmrgfi 1519ef7198c0Smrgcat >config.log <<_ACEOF 152056f6b22bSmrgThis file contains any messages produced by compilers while 152156f6b22bSmrgrunning configure, to aid debugging if configure makes a mistake. 152256f6b22bSmrg 1523ef7198c0SmrgIt was created by font-bitstream-100dpi $as_me 1.0.1, which was 1524ef7198c0Smrggenerated by GNU Autoconf 2.63. Invocation command line was 152556f6b22bSmrg 152656f6b22bSmrg $ $0 $@ 152756f6b22bSmrg 152856f6b22bSmrg_ACEOF 1529ef7198c0Smrgexec 5>>config.log 153056f6b22bSmrg{ 153156f6b22bSmrgcat <<_ASUNAME 153256f6b22bSmrg## --------- ## 153356f6b22bSmrg## Platform. ## 153456f6b22bSmrg## --------- ## 153556f6b22bSmrg 153656f6b22bSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 153756f6b22bSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 153856f6b22bSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 153956f6b22bSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 154056f6b22bSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 154156f6b22bSmrg 154256f6b22bSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 154356f6b22bSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 154456f6b22bSmrg 154556f6b22bSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 154656f6b22bSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 154756f6b22bSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1548ef7198c0Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 154956f6b22bSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 155056f6b22bSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 155156f6b22bSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 155256f6b22bSmrg 155356f6b22bSmrg_ASUNAME 155456f6b22bSmrg 155556f6b22bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 155656f6b22bSmrgfor as_dir in $PATH 155756f6b22bSmrgdo 155856f6b22bSmrg IFS=$as_save_IFS 155956f6b22bSmrg test -z "$as_dir" && as_dir=. 1560ef7198c0Smrg $as_echo "PATH: $as_dir" 156156f6b22bSmrgdone 1562ef7198c0SmrgIFS=$as_save_IFS 156356f6b22bSmrg 156456f6b22bSmrg} >&5 156556f6b22bSmrg 156656f6b22bSmrgcat >&5 <<_ACEOF 156756f6b22bSmrg 156856f6b22bSmrg 156956f6b22bSmrg## ----------- ## 157056f6b22bSmrg## Core tests. ## 157156f6b22bSmrg## ----------- ## 157256f6b22bSmrg 157356f6b22bSmrg_ACEOF 157456f6b22bSmrg 157556f6b22bSmrg 157656f6b22bSmrg# Keep a trace of the command line. 157756f6b22bSmrg# Strip out --no-create and --no-recursion so they do not pile up. 157856f6b22bSmrg# Strip out --silent because we don't want to record it for future runs. 157956f6b22bSmrg# Also quote any args containing shell meta-characters. 158056f6b22bSmrg# Make two passes to allow for proper duplicate-argument suppression. 158156f6b22bSmrgac_configure_args= 158256f6b22bSmrgac_configure_args0= 158356f6b22bSmrgac_configure_args1= 158456f6b22bSmrgac_must_keep_next=false 158556f6b22bSmrgfor ac_pass in 1 2 158656f6b22bSmrgdo 158756f6b22bSmrg for ac_arg 158856f6b22bSmrg do 158956f6b22bSmrg case $ac_arg in 159056f6b22bSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 159156f6b22bSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 159256f6b22bSmrg | -silent | --silent | --silen | --sile | --sil) 159356f6b22bSmrg continue ;; 1594ef7198c0Smrg *\'*) 1595ef7198c0Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 159656f6b22bSmrg esac 159756f6b22bSmrg case $ac_pass in 159856f6b22bSmrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 159956f6b22bSmrg 2) 160056f6b22bSmrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 160156f6b22bSmrg if test $ac_must_keep_next = true; then 160256f6b22bSmrg ac_must_keep_next=false # Got value, back to normal. 160356f6b22bSmrg else 160456f6b22bSmrg case $ac_arg in 160556f6b22bSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 160656f6b22bSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 160756f6b22bSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 160856f6b22bSmrg | -with-* | --with-* | -without-* | --without-* | --x) 160956f6b22bSmrg case "$ac_configure_args0 " in 161056f6b22bSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 161156f6b22bSmrg esac 161256f6b22bSmrg ;; 161356f6b22bSmrg -* ) ac_must_keep_next=true ;; 161456f6b22bSmrg esac 161556f6b22bSmrg fi 1616ef7198c0Smrg ac_configure_args="$ac_configure_args '$ac_arg'" 161756f6b22bSmrg ;; 161856f6b22bSmrg esac 161956f6b22bSmrg done 162056f6b22bSmrgdone 162156f6b22bSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 162256f6b22bSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 162356f6b22bSmrg 162456f6b22bSmrg# When interrupted or exit'd, cleanup temporary files, and complete 162556f6b22bSmrg# config.log. We remove comments because anyway the quotes in there 162656f6b22bSmrg# would cause problems or look ugly. 1627ef7198c0Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1628ef7198c0Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 162956f6b22bSmrgtrap 'exit_status=$? 163056f6b22bSmrg # Save into config.log some information that might help in debugging. 163156f6b22bSmrg { 163256f6b22bSmrg echo 163356f6b22bSmrg 163456f6b22bSmrg cat <<\_ASBOX 163556f6b22bSmrg## ---------------- ## 163656f6b22bSmrg## Cache variables. ## 163756f6b22bSmrg## ---------------- ## 163856f6b22bSmrg_ASBOX 163956f6b22bSmrg echo 164056f6b22bSmrg # The following way of writing the cache mishandles newlines in values, 1641ef7198c0Smrg( 1642ef7198c0Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1643ef7198c0Smrg eval ac_val=\$$ac_var 1644ef7198c0Smrg case $ac_val in #( 1645ef7198c0Smrg *${as_nl}*) 1646ef7198c0Smrg case $ac_var in #( 1647ef7198c0Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1648ef7198c0Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1649ef7198c0Smrg esac 1650ef7198c0Smrg case $ac_var in #( 1651ef7198c0Smrg _ | IFS | as_nl) ;; #( 1652ef7198c0Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1653ef7198c0Smrg *) $as_unset $ac_var ;; 1654ef7198c0Smrg esac ;; 1655ef7198c0Smrg esac 1656ef7198c0Smrg done 165756f6b22bSmrg (set) 2>&1 | 1658ef7198c0Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1659ef7198c0Smrg *${as_nl}ac_space=\ *) 166056f6b22bSmrg sed -n \ 1661ef7198c0Smrg "s/'\''/'\''\\\\'\'''\''/g; 1662ef7198c0Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1663ef7198c0Smrg ;; #( 166456f6b22bSmrg *) 1665ef7198c0Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 166656f6b22bSmrg ;; 1667ef7198c0Smrg esac | 1668ef7198c0Smrg sort 1669ef7198c0Smrg) 167056f6b22bSmrg echo 167156f6b22bSmrg 167256f6b22bSmrg cat <<\_ASBOX 167356f6b22bSmrg## ----------------- ## 167456f6b22bSmrg## Output variables. ## 167556f6b22bSmrg## ----------------- ## 167656f6b22bSmrg_ASBOX 167756f6b22bSmrg echo 167856f6b22bSmrg for ac_var in $ac_subst_vars 167956f6b22bSmrg do 1680ef7198c0Smrg eval ac_val=\$$ac_var 1681ef7198c0Smrg case $ac_val in 1682ef7198c0Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1683ef7198c0Smrg esac 1684ef7198c0Smrg $as_echo "$ac_var='\''$ac_val'\''" 168556f6b22bSmrg done | sort 168656f6b22bSmrg echo 168756f6b22bSmrg 168856f6b22bSmrg if test -n "$ac_subst_files"; then 168956f6b22bSmrg cat <<\_ASBOX 1690ef7198c0Smrg## ------------------- ## 1691ef7198c0Smrg## File substitutions. ## 1692ef7198c0Smrg## ------------------- ## 169356f6b22bSmrg_ASBOX 169456f6b22bSmrg echo 169556f6b22bSmrg for ac_var in $ac_subst_files 169656f6b22bSmrg do 1697ef7198c0Smrg eval ac_val=\$$ac_var 1698ef7198c0Smrg case $ac_val in 1699ef7198c0Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1700ef7198c0Smrg esac 1701ef7198c0Smrg $as_echo "$ac_var='\''$ac_val'\''" 170256f6b22bSmrg done | sort 170356f6b22bSmrg echo 170456f6b22bSmrg fi 170556f6b22bSmrg 170656f6b22bSmrg if test -s confdefs.h; then 170756f6b22bSmrg cat <<\_ASBOX 170856f6b22bSmrg## ----------- ## 170956f6b22bSmrg## confdefs.h. ## 171056f6b22bSmrg## ----------- ## 171156f6b22bSmrg_ASBOX 171256f6b22bSmrg echo 1713ef7198c0Smrg cat confdefs.h 171456f6b22bSmrg echo 171556f6b22bSmrg fi 171656f6b22bSmrg test "$ac_signal" != 0 && 1717ef7198c0Smrg $as_echo "$as_me: caught signal $ac_signal" 1718ef7198c0Smrg $as_echo "$as_me: exit $exit_status" 171956f6b22bSmrg } >&5 1720ef7198c0Smrg rm -f core *.core core.conftest.* && 1721ef7198c0Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 172256f6b22bSmrg exit $exit_status 1723ef7198c0Smrg' 0 172456f6b22bSmrgfor ac_signal in 1 2 13 15; do 172556f6b22bSmrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 172656f6b22bSmrgdone 172756f6b22bSmrgac_signal=0 172856f6b22bSmrg 172956f6b22bSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1730ef7198c0Smrgrm -f -r conftest* confdefs.h 173156f6b22bSmrg 173256f6b22bSmrg# Predefined preprocessor variables. 173356f6b22bSmrg 173456f6b22bSmrgcat >>confdefs.h <<_ACEOF 173556f6b22bSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 173656f6b22bSmrg_ACEOF 173756f6b22bSmrg 173856f6b22bSmrg 173956f6b22bSmrgcat >>confdefs.h <<_ACEOF 174056f6b22bSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 174156f6b22bSmrg_ACEOF 174256f6b22bSmrg 174356f6b22bSmrg 174456f6b22bSmrgcat >>confdefs.h <<_ACEOF 174556f6b22bSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 174656f6b22bSmrg_ACEOF 174756f6b22bSmrg 174856f6b22bSmrg 174956f6b22bSmrgcat >>confdefs.h <<_ACEOF 175056f6b22bSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 175156f6b22bSmrg_ACEOF 175256f6b22bSmrg 175356f6b22bSmrg 175456f6b22bSmrgcat >>confdefs.h <<_ACEOF 175556f6b22bSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 175656f6b22bSmrg_ACEOF 175756f6b22bSmrg 175856f6b22bSmrg 175956f6b22bSmrg# Let the site file select an alternate cache file if it wants to. 1760ef7198c0Smrg# Prefer an explicitly selected file to automatically selected ones. 1761ef7198c0Smrgac_site_file1=NONE 1762ef7198c0Smrgac_site_file2=NONE 1763ef7198c0Smrgif test -n "$CONFIG_SITE"; then 1764ef7198c0Smrg ac_site_file1=$CONFIG_SITE 1765ef7198c0Smrgelif test "x$prefix" != xNONE; then 1766ef7198c0Smrg ac_site_file1=$prefix/share/config.site 1767ef7198c0Smrg ac_site_file2=$prefix/etc/config.site 1768ef7198c0Smrgelse 1769ef7198c0Smrg ac_site_file1=$ac_default_prefix/share/config.site 1770ef7198c0Smrg ac_site_file2=$ac_default_prefix/etc/config.site 177156f6b22bSmrgfi 1772ef7198c0Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 1773ef7198c0Smrgdo 1774ef7198c0Smrg test "x$ac_site_file" = xNONE && continue 177556f6b22bSmrg if test -r "$ac_site_file"; then 1776ef7198c0Smrg { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1777ef7198c0Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 177856f6b22bSmrg sed 's/^/| /' "$ac_site_file" >&5 177956f6b22bSmrg . "$ac_site_file" 178056f6b22bSmrg fi 178156f6b22bSmrgdone 178256f6b22bSmrg 178356f6b22bSmrgif test -r "$cache_file"; then 178456f6b22bSmrg # Some versions of bash will fail to source /dev/null (special 178556f6b22bSmrg # files actually), so we avoid doing that. 178656f6b22bSmrg if test -f "$cache_file"; then 1787ef7198c0Smrg { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1788ef7198c0Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 178956f6b22bSmrg case $cache_file in 1790ef7198c0Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1791ef7198c0Smrg *) . "./$cache_file";; 179256f6b22bSmrg esac 179356f6b22bSmrg fi 179456f6b22bSmrgelse 1795ef7198c0Smrg { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1796ef7198c0Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 179756f6b22bSmrg >$cache_file 179856f6b22bSmrgfi 179956f6b22bSmrg 180056f6b22bSmrg# Check that the precious variables saved in the cache have kept the same 180156f6b22bSmrg# value. 180256f6b22bSmrgac_cache_corrupted=false 1803ef7198c0Smrgfor ac_var in $ac_precious_vars; do 180456f6b22bSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 180556f6b22bSmrg eval ac_new_set=\$ac_env_${ac_var}_set 1806ef7198c0Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 1807ef7198c0Smrg eval ac_new_val=\$ac_env_${ac_var}_value 180856f6b22bSmrg case $ac_old_set,$ac_new_set in 180956f6b22bSmrg set,) 1810ef7198c0Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1811ef7198c0Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 181256f6b22bSmrg ac_cache_corrupted=: ;; 181356f6b22bSmrg ,set) 1814ef7198c0Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1815ef7198c0Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 181656f6b22bSmrg ac_cache_corrupted=: ;; 181756f6b22bSmrg ,);; 181856f6b22bSmrg *) 181956f6b22bSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 1820ef7198c0Smrg # differences in whitespace do not lead to failure. 1821ef7198c0Smrg ac_old_val_w=`echo x $ac_old_val` 1822ef7198c0Smrg ac_new_val_w=`echo x $ac_new_val` 1823ef7198c0Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 1824ef7198c0Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1825ef7198c0Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1826ef7198c0Smrg ac_cache_corrupted=: 1827ef7198c0Smrg else 1828ef7198c0Smrg { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1829ef7198c0Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1830ef7198c0Smrg eval $ac_var=\$ac_old_val 1831ef7198c0Smrg fi 1832ef7198c0Smrg { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1833ef7198c0Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1834ef7198c0Smrg { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1835ef7198c0Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 183656f6b22bSmrg fi;; 183756f6b22bSmrg esac 183856f6b22bSmrg # Pass precious variables to config.status. 183956f6b22bSmrg if test "$ac_new_set" = set; then 184056f6b22bSmrg case $ac_new_val in 1841ef7198c0Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 184256f6b22bSmrg *) ac_arg=$ac_var=$ac_new_val ;; 184356f6b22bSmrg esac 184456f6b22bSmrg case " $ac_configure_args " in 184556f6b22bSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 184656f6b22bSmrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 184756f6b22bSmrg esac 184856f6b22bSmrg fi 184956f6b22bSmrgdone 185056f6b22bSmrgif $ac_cache_corrupted; then 1851ef7198c0Smrg { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 1852ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1853ef7198c0Smrg { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1854ef7198c0Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1855ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1856ef7198c0Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 185756f6b22bSmrg { (exit 1); exit 1; }; } 185856f6b22bSmrgfi 185956f6b22bSmrg 186056f6b22bSmrg 186156f6b22bSmrg 186256f6b22bSmrg 186356f6b22bSmrg 186456f6b22bSmrg 186556f6b22bSmrg 186656f6b22bSmrg 186756f6b22bSmrg 186856f6b22bSmrg 186956f6b22bSmrg 187056f6b22bSmrg 187156f6b22bSmrg 187256f6b22bSmrg 187356f6b22bSmrg 187456f6b22bSmrg 187556f6b22bSmrg 187656f6b22bSmrg 187756f6b22bSmrg 187856f6b22bSmrg 187956f6b22bSmrg 188056f6b22bSmrg 188156f6b22bSmrg 188256f6b22bSmrg 188356f6b22bSmrg 1884ef7198c0Smrgac_ext=c 1885ef7198c0Smrgac_cpp='$CPP $CPPFLAGS' 1886ef7198c0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1887ef7198c0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1888ef7198c0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 188956f6b22bSmrg 189056f6b22bSmrg 1891ef7198c0Smrgam__api_version='1.11' 189256f6b22bSmrg 189356f6b22bSmrgac_aux_dir= 1894ef7198c0Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1895ef7198c0Smrg if test -f "$ac_dir/install-sh"; then 189656f6b22bSmrg ac_aux_dir=$ac_dir 189756f6b22bSmrg ac_install_sh="$ac_aux_dir/install-sh -c" 189856f6b22bSmrg break 1899ef7198c0Smrg elif test -f "$ac_dir/install.sh"; then 190056f6b22bSmrg ac_aux_dir=$ac_dir 190156f6b22bSmrg ac_install_sh="$ac_aux_dir/install.sh -c" 190256f6b22bSmrg break 1903ef7198c0Smrg elif test -f "$ac_dir/shtool"; then 190456f6b22bSmrg ac_aux_dir=$ac_dir 190556f6b22bSmrg ac_install_sh="$ac_aux_dir/shtool install -c" 190656f6b22bSmrg break 190756f6b22bSmrg fi 190856f6b22bSmrgdone 190956f6b22bSmrgif test -z "$ac_aux_dir"; then 1910ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1911ef7198c0Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 191256f6b22bSmrg { (exit 1); exit 1; }; } 191356f6b22bSmrgfi 1914ef7198c0Smrg 1915ef7198c0Smrg# These three variables are undocumented and unsupported, 1916ef7198c0Smrg# and are intended to be withdrawn in a future Autoconf release. 1917ef7198c0Smrg# They can cause serious problems if a builder's source tree is in a directory 1918ef7198c0Smrg# whose full name contains unusual characters. 1919ef7198c0Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1920ef7198c0Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1921ef7198c0Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1922ef7198c0Smrg 192356f6b22bSmrg 192456f6b22bSmrg# Find a good install program. We prefer a C program (faster), 192556f6b22bSmrg# so one script is as good as another. But avoid the broken or 192656f6b22bSmrg# incompatible versions: 192756f6b22bSmrg# SysV /etc/install, /usr/sbin/install 192856f6b22bSmrg# SunOS /usr/etc/install 192956f6b22bSmrg# IRIX /sbin/install 193056f6b22bSmrg# AIX /bin/install 193156f6b22bSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 193256f6b22bSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 193356f6b22bSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 193456f6b22bSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 193556f6b22bSmrg# OS/2's system install, which has a completely different semantic 193656f6b22bSmrg# ./install, which can be erroneously created by make from ./install.sh. 1937ef7198c0Smrg# Reject install programs that cannot install multiple files. 1938ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1939ef7198c0Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 194056f6b22bSmrgif test -z "$INSTALL"; then 194156f6b22bSmrgif test "${ac_cv_path_install+set}" = set; then 1942ef7198c0Smrg $as_echo_n "(cached) " >&6 194356f6b22bSmrgelse 194456f6b22bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 194556f6b22bSmrgfor as_dir in $PATH 194656f6b22bSmrgdo 194756f6b22bSmrg IFS=$as_save_IFS 194856f6b22bSmrg test -z "$as_dir" && as_dir=. 194956f6b22bSmrg # Account for people who put trailing slashes in PATH elements. 195056f6b22bSmrgcase $as_dir/ in 195156f6b22bSmrg ./ | .// | /cC/* | \ 195256f6b22bSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 195356f6b22bSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 195456f6b22bSmrg /usr/ucb/* ) ;; 195556f6b22bSmrg *) 195656f6b22bSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 195756f6b22bSmrg # Don't use installbsd from OSF since it installs stuff as root 195856f6b22bSmrg # by default. 195956f6b22bSmrg for ac_prog in ginstall scoinst install; do 196056f6b22bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 1961ef7198c0Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 196256f6b22bSmrg if test $ac_prog = install && 196356f6b22bSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 196456f6b22bSmrg # AIX install. It has an incompatible calling convention. 196556f6b22bSmrg : 196656f6b22bSmrg elif test $ac_prog = install && 196756f6b22bSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 196856f6b22bSmrg # program-specific install script used by HP pwplus--don't use. 196956f6b22bSmrg : 197056f6b22bSmrg else 1971ef7198c0Smrg rm -rf conftest.one conftest.two conftest.dir 1972ef7198c0Smrg echo one > conftest.one 1973ef7198c0Smrg echo two > conftest.two 1974ef7198c0Smrg mkdir conftest.dir 1975ef7198c0Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1976ef7198c0Smrg test -s conftest.one && test -s conftest.two && 1977ef7198c0Smrg test -s conftest.dir/conftest.one && 1978ef7198c0Smrg test -s conftest.dir/conftest.two 1979ef7198c0Smrg then 1980ef7198c0Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1981ef7198c0Smrg break 3 1982ef7198c0Smrg fi 198356f6b22bSmrg fi 198456f6b22bSmrg fi 198556f6b22bSmrg done 198656f6b22bSmrg done 198756f6b22bSmrg ;; 198856f6b22bSmrgesac 1989ef7198c0Smrg 199056f6b22bSmrgdone 1991ef7198c0SmrgIFS=$as_save_IFS 199256f6b22bSmrg 1993ef7198c0Smrgrm -rf conftest.one conftest.two conftest.dir 199456f6b22bSmrg 199556f6b22bSmrgfi 199656f6b22bSmrg if test "${ac_cv_path_install+set}" = set; then 199756f6b22bSmrg INSTALL=$ac_cv_path_install 199856f6b22bSmrg else 1999ef7198c0Smrg # As a last resort, use the slow shell script. Don't cache a 2000ef7198c0Smrg # value for INSTALL within a source directory, because that will 200156f6b22bSmrg # break other packages using the cache if that directory is 2002ef7198c0Smrg # removed, or if the value is a relative name. 200356f6b22bSmrg INSTALL=$ac_install_sh 200456f6b22bSmrg fi 200556f6b22bSmrgfi 2006ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2007ef7198c0Smrg$as_echo "$INSTALL" >&6; } 200856f6b22bSmrg 200956f6b22bSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 201056f6b22bSmrg# It thinks the first close brace ends the variable substitution. 201156f6b22bSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 201256f6b22bSmrg 201356f6b22bSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 201456f6b22bSmrg 201556f6b22bSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 201656f6b22bSmrg 2017ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2018ef7198c0Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 201956f6b22bSmrg# Just in case 202056f6b22bSmrgsleep 1 202156f6b22bSmrgecho timestamp > conftest.file 2022ef7198c0Smrg# Reject unsafe characters in $srcdir or the absolute working directory 2023ef7198c0Smrg# name. Accept space and tab only in the latter. 2024ef7198c0Smrgam_lf=' 2025ef7198c0Smrg' 2026ef7198c0Smrgcase `pwd` in 2027ef7198c0Smrg *[\\\"\#\$\&\'\`$am_lf]*) 2028ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 2029ef7198c0Smrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 2030ef7198c0Smrg { (exit 1); exit 1; }; };; 2031ef7198c0Smrgesac 2032ef7198c0Smrgcase $srcdir in 2033ef7198c0Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2034ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 2035ef7198c0Smrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 2036ef7198c0Smrg { (exit 1); exit 1; }; };; 2037ef7198c0Smrgesac 2038ef7198c0Smrg 203956f6b22bSmrg# Do `set' in a subshell so we don't clobber the current shell's 204056f6b22bSmrg# arguments. Must try -L first in case configure is actually a 204156f6b22bSmrg# symlink; some systems play weird games with the mod time of symlinks 204256f6b22bSmrg# (eg FreeBSD returns the mod time of the symlink's containing 204356f6b22bSmrg# directory). 204456f6b22bSmrgif ( 2045ef7198c0Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 204656f6b22bSmrg if test "$*" = "X"; then 204756f6b22bSmrg # -L didn't work. 2048ef7198c0Smrg set X `ls -t "$srcdir/configure" conftest.file` 204956f6b22bSmrg fi 205056f6b22bSmrg rm -f conftest.file 205156f6b22bSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 205256f6b22bSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 205356f6b22bSmrg 205456f6b22bSmrg # If neither matched, then we have a broken ls. This can happen 205556f6b22bSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 205656f6b22bSmrg # broken ls alias from the environment. This has actually 205756f6b22bSmrg # happened. Such a system could not be considered "sane". 2058ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 205956f6b22bSmrgalias in your environment" >&5 2060ef7198c0Smrg$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 206156f6b22bSmrgalias in your environment" >&2;} 206256f6b22bSmrg { (exit 1); exit 1; }; } 206356f6b22bSmrg fi 206456f6b22bSmrg 206556f6b22bSmrg test "$2" = conftest.file 206656f6b22bSmrg ) 206756f6b22bSmrgthen 206856f6b22bSmrg # Ok. 206956f6b22bSmrg : 207056f6b22bSmrgelse 2071ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 207256f6b22bSmrgCheck your system clock" >&5 2073ef7198c0Smrg$as_echo "$as_me: error: newly created file is older than distributed files! 207456f6b22bSmrgCheck your system clock" >&2;} 207556f6b22bSmrg { (exit 1); exit 1; }; } 207656f6b22bSmrgfi 2077ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 2078ef7198c0Smrg$as_echo "yes" >&6; } 207956f6b22bSmrgtest "$program_prefix" != NONE && 2080ef7198c0Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 208156f6b22bSmrg# Use a double $ so make ignores it. 208256f6b22bSmrgtest "$program_suffix" != NONE && 2083ef7198c0Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2084ef7198c0Smrg# Double any \ or $. 208556f6b22bSmrg# By default was `s,x,x', remove it if useless. 2086ef7198c0Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2087ef7198c0Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 208856f6b22bSmrg 208956f6b22bSmrg# expand $ac_aux_dir to an absolute path 209056f6b22bSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 209156f6b22bSmrg 2092ef7198c0Smrgif test x"${MISSING+set}" != xset; then 2093ef7198c0Smrg case $am_aux_dir in 2094ef7198c0Smrg *\ * | *\ *) 2095ef7198c0Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2096ef7198c0Smrg *) 2097ef7198c0Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 2098ef7198c0Smrg esac 2099ef7198c0Smrgfi 210056f6b22bSmrg# Use eval to expand $SHELL 210156f6b22bSmrgif eval "$MISSING --run true"; then 210256f6b22bSmrg am_missing_run="$MISSING --run " 210356f6b22bSmrgelse 210456f6b22bSmrg am_missing_run= 2105ef7198c0Smrg { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2106ef7198c0Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2107ef7198c0Smrgfi 2108ef7198c0Smrg 2109ef7198c0Smrgif test x"${install_sh}" != xset; then 2110ef7198c0Smrg case $am_aux_dir in 2111ef7198c0Smrg *\ * | *\ *) 2112ef7198c0Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2113ef7198c0Smrg *) 2114ef7198c0Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 2115ef7198c0Smrg esac 2116ef7198c0Smrgfi 2117ef7198c0Smrg 2118ef7198c0Smrg# Installed binaries are usually stripped using `strip' when the user 2119ef7198c0Smrg# run `make install-strip'. However `strip' might not be the right 2120ef7198c0Smrg# tool to use in cross-compilation environments, therefore Automake 2121ef7198c0Smrg# will honor the `STRIP' environment variable to overrule this program. 2122ef7198c0Smrgif test "$cross_compiling" != no; then 2123ef7198c0Smrg if test -n "$ac_tool_prefix"; then 2124ef7198c0Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2125ef7198c0Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2126ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2127ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2128ef7198c0Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 2129ef7198c0Smrg $as_echo_n "(cached) " >&6 2130ef7198c0Smrgelse 2131ef7198c0Smrg if test -n "$STRIP"; then 2132ef7198c0Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2133ef7198c0Smrgelse 2134ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2135ef7198c0Smrgfor as_dir in $PATH 2136ef7198c0Smrgdo 2137ef7198c0Smrg IFS=$as_save_IFS 2138ef7198c0Smrg test -z "$as_dir" && as_dir=. 2139ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2140ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2141ef7198c0Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2142ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2143ef7198c0Smrg break 2 2144ef7198c0Smrg fi 2145ef7198c0Smrgdone 2146ef7198c0Smrgdone 2147ef7198c0SmrgIFS=$as_save_IFS 2148ef7198c0Smrg 2149ef7198c0Smrgfi 2150ef7198c0Smrgfi 2151ef7198c0SmrgSTRIP=$ac_cv_prog_STRIP 2152ef7198c0Smrgif test -n "$STRIP"; then 2153ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2154ef7198c0Smrg$as_echo "$STRIP" >&6; } 2155ef7198c0Smrgelse 2156ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2157ef7198c0Smrg$as_echo "no" >&6; } 2158ef7198c0Smrgfi 2159ef7198c0Smrg 2160ef7198c0Smrg 2161ef7198c0Smrgfi 2162ef7198c0Smrgif test -z "$ac_cv_prog_STRIP"; then 2163ef7198c0Smrg ac_ct_STRIP=$STRIP 2164ef7198c0Smrg # Extract the first word of "strip", so it can be a program name with args. 2165ef7198c0Smrgset dummy strip; ac_word=$2 2166ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2167ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2168ef7198c0Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2169ef7198c0Smrg $as_echo_n "(cached) " >&6 2170ef7198c0Smrgelse 2171ef7198c0Smrg if test -n "$ac_ct_STRIP"; then 2172ef7198c0Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2173ef7198c0Smrgelse 2174ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2175ef7198c0Smrgfor as_dir in $PATH 2176ef7198c0Smrgdo 2177ef7198c0Smrg IFS=$as_save_IFS 2178ef7198c0Smrg test -z "$as_dir" && as_dir=. 2179ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2180ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2181ef7198c0Smrg ac_cv_prog_ac_ct_STRIP="strip" 2182ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2183ef7198c0Smrg break 2 2184ef7198c0Smrg fi 2185ef7198c0Smrgdone 2186ef7198c0Smrgdone 2187ef7198c0SmrgIFS=$as_save_IFS 2188ef7198c0Smrg 2189ef7198c0Smrgfi 2190ef7198c0Smrgfi 2191ef7198c0Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2192ef7198c0Smrgif test -n "$ac_ct_STRIP"; then 2193ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2194ef7198c0Smrg$as_echo "$ac_ct_STRIP" >&6; } 2195ef7198c0Smrgelse 2196ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2197ef7198c0Smrg$as_echo "no" >&6; } 2198ef7198c0Smrgfi 2199ef7198c0Smrg 2200ef7198c0Smrg if test "x$ac_ct_STRIP" = x; then 2201ef7198c0Smrg STRIP=":" 2202ef7198c0Smrg else 2203ef7198c0Smrg case $cross_compiling:$ac_tool_warned in 2204ef7198c0Smrgyes:) 2205ef7198c0Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2206ef7198c0Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2207ef7198c0Smrgac_tool_warned=yes ;; 2208ef7198c0Smrgesac 2209ef7198c0Smrg STRIP=$ac_ct_STRIP 2210ef7198c0Smrg fi 2211ef7198c0Smrgelse 2212ef7198c0Smrg STRIP="$ac_cv_prog_STRIP" 2213ef7198c0Smrgfi 2214ef7198c0Smrg 2215ef7198c0Smrgfi 2216ef7198c0SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2217ef7198c0Smrg 2218ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2219ef7198c0Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2220ef7198c0Smrgif test -z "$MKDIR_P"; then 2221ef7198c0Smrg if test "${ac_cv_path_mkdir+set}" = set; then 2222ef7198c0Smrg $as_echo_n "(cached) " >&6 2223ef7198c0Smrgelse 2224ef7198c0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2225ef7198c0Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2226ef7198c0Smrgdo 2227ef7198c0Smrg IFS=$as_save_IFS 2228ef7198c0Smrg test -z "$as_dir" && as_dir=. 2229ef7198c0Smrg for ac_prog in mkdir gmkdir; do 2230ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2231ef7198c0Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2232ef7198c0Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2233ef7198c0Smrg 'mkdir (GNU coreutils) '* | \ 2234ef7198c0Smrg 'mkdir (coreutils) '* | \ 2235ef7198c0Smrg 'mkdir (fileutils) '4.1*) 2236ef7198c0Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2237ef7198c0Smrg break 3;; 2238ef7198c0Smrg esac 2239ef7198c0Smrg done 2240ef7198c0Smrg done 2241ef7198c0Smrgdone 2242ef7198c0SmrgIFS=$as_save_IFS 2243ef7198c0Smrg 2244ef7198c0Smrgfi 2245ef7198c0Smrg 2246ef7198c0Smrg if test "${ac_cv_path_mkdir+set}" = set; then 2247ef7198c0Smrg MKDIR_P="$ac_cv_path_mkdir -p" 2248ef7198c0Smrg else 2249ef7198c0Smrg # As a last resort, use the slow shell script. Don't cache a 2250ef7198c0Smrg # value for MKDIR_P within a source directory, because that will 2251ef7198c0Smrg # break other packages using the cache if that directory is 2252ef7198c0Smrg # removed, or if the value is a relative name. 2253ef7198c0Smrg test -d ./--version && rmdir ./--version 2254ef7198c0Smrg MKDIR_P="$ac_install_sh -d" 2255ef7198c0Smrg fi 225656f6b22bSmrgfi 2257ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2258ef7198c0Smrg$as_echo "$MKDIR_P" >&6; } 2259ef7198c0Smrg 2260ef7198c0Smrgmkdir_p="$MKDIR_P" 2261ef7198c0Smrgcase $mkdir_p in 2262ef7198c0Smrg [\\/$]* | ?:[\\/]*) ;; 2263ef7198c0Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2264ef7198c0Smrgesac 226556f6b22bSmrg 226656f6b22bSmrgfor ac_prog in gawk mawk nawk awk 226756f6b22bSmrgdo 226856f6b22bSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 226956f6b22bSmrgset dummy $ac_prog; ac_word=$2 2270ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2271ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 227256f6b22bSmrgif test "${ac_cv_prog_AWK+set}" = set; then 2273ef7198c0Smrg $as_echo_n "(cached) " >&6 227456f6b22bSmrgelse 227556f6b22bSmrg if test -n "$AWK"; then 227656f6b22bSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 227756f6b22bSmrgelse 227856f6b22bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 227956f6b22bSmrgfor as_dir in $PATH 228056f6b22bSmrgdo 228156f6b22bSmrg IFS=$as_save_IFS 228256f6b22bSmrg test -z "$as_dir" && as_dir=. 228356f6b22bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2284ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 228556f6b22bSmrg ac_cv_prog_AWK="$ac_prog" 2286ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 228756f6b22bSmrg break 2 228856f6b22bSmrg fi 228956f6b22bSmrgdone 229056f6b22bSmrgdone 2291ef7198c0SmrgIFS=$as_save_IFS 229256f6b22bSmrg 229356f6b22bSmrgfi 229456f6b22bSmrgfi 229556f6b22bSmrgAWK=$ac_cv_prog_AWK 229656f6b22bSmrgif test -n "$AWK"; then 2297ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2298ef7198c0Smrg$as_echo "$AWK" >&6; } 229956f6b22bSmrgelse 2300ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2301ef7198c0Smrg$as_echo "no" >&6; } 230256f6b22bSmrgfi 230356f6b22bSmrg 2304ef7198c0Smrg 230556f6b22bSmrg test -n "$AWK" && break 230656f6b22bSmrgdone 230756f6b22bSmrg 2308ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2309ef7198c0Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2310ef7198c0Smrgset x ${MAKE-make} 2311ef7198c0Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2312ef7198c0Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2313ef7198c0Smrg $as_echo_n "(cached) " >&6 231456f6b22bSmrgelse 231556f6b22bSmrg cat >conftest.make <<\_ACEOF 2316ef7198c0SmrgSHELL = /bin/sh 231756f6b22bSmrgall: 2318ef7198c0Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 231956f6b22bSmrg_ACEOF 232056f6b22bSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2321ef7198c0Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2322ef7198c0Smrg *@@@%%%=?*=@@@%%%*) 2323ef7198c0Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2324ef7198c0Smrg *) 2325ef7198c0Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 2326ef7198c0Smrgesac 232756f6b22bSmrgrm -f conftest.make 232856f6b22bSmrgfi 2329ef7198c0Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2330ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 2331ef7198c0Smrg$as_echo "yes" >&6; } 233256f6b22bSmrg SET_MAKE= 233356f6b22bSmrgelse 2334ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2335ef7198c0Smrg$as_echo "no" >&6; } 233656f6b22bSmrg SET_MAKE="MAKE=${MAKE-make}" 233756f6b22bSmrgfi 233856f6b22bSmrg 233956f6b22bSmrgrm -rf .tst 2>/dev/null 234056f6b22bSmrgmkdir .tst 2>/dev/null 234156f6b22bSmrgif test -d .tst; then 234256f6b22bSmrg am__leading_dot=. 234356f6b22bSmrgelse 234456f6b22bSmrg am__leading_dot=_ 234556f6b22bSmrgfi 234656f6b22bSmrgrmdir .tst 2>/dev/null 234756f6b22bSmrg 2348ef7198c0Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2349ef7198c0Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2350ef7198c0Smrg # is not polluted with repeated "-I." 2351ef7198c0Smrg am__isrc=' -I$(srcdir)' 2352ef7198c0Smrg # test to see if srcdir already configured 2353ef7198c0Smrg if test -f $srcdir/config.status; then 2354ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2355ef7198c0Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 235656f6b22bSmrg { (exit 1); exit 1; }; } 2357ef7198c0Smrg fi 235856f6b22bSmrgfi 235956f6b22bSmrg 236056f6b22bSmrg# test whether we have cygpath 236156f6b22bSmrgif test -z "$CYGPATH_W"; then 236256f6b22bSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 236356f6b22bSmrg CYGPATH_W='cygpath -w' 236456f6b22bSmrg else 236556f6b22bSmrg CYGPATH_W=echo 236656f6b22bSmrg fi 236756f6b22bSmrgfi 236856f6b22bSmrg 236956f6b22bSmrg 237056f6b22bSmrg# Define the identity of the package. 237156f6b22bSmrg PACKAGE='font-bitstream-100dpi' 2372ef7198c0Smrg VERSION='1.0.1' 237356f6b22bSmrg 237456f6b22bSmrg 237556f6b22bSmrgcat >>confdefs.h <<_ACEOF 237656f6b22bSmrg#define PACKAGE "$PACKAGE" 237756f6b22bSmrg_ACEOF 237856f6b22bSmrg 237956f6b22bSmrg 238056f6b22bSmrgcat >>confdefs.h <<_ACEOF 238156f6b22bSmrg#define VERSION "$VERSION" 238256f6b22bSmrg_ACEOF 238356f6b22bSmrg 238456f6b22bSmrg# Some tools Automake needs. 238556f6b22bSmrg 238656f6b22bSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 238756f6b22bSmrg 238856f6b22bSmrg 238956f6b22bSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 239056f6b22bSmrg 239156f6b22bSmrg 239256f6b22bSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 239356f6b22bSmrg 239456f6b22bSmrg 239556f6b22bSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 239656f6b22bSmrg 239756f6b22bSmrg 239856f6b22bSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 239956f6b22bSmrg 2400ef7198c0Smrg# We need awk for the "check" target. The system "awk" is bad on 2401ef7198c0Smrg# some platforms. 2402ef7198c0Smrg# Always define AMTAR for backward compatibility. 240356f6b22bSmrg 240456f6b22bSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 240556f6b22bSmrg 2406ef7198c0Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 240756f6b22bSmrg 2408ef7198c0Smrg 2409ef7198c0Smrg 2410ef7198c0Smrg 2411ef7198c0Smrg 2412ef7198c0Smrg 2413ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2414ef7198c0Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2415ef7198c0Smrg # Check whether --enable-maintainer-mode was given. 2416ef7198c0Smrgif test "${enable_maintainer_mode+set}" = set; then 2417ef7198c0Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 241856f6b22bSmrgelse 2419ef7198c0Smrg USE_MAINTAINER_MODE=no 2420ef7198c0Smrgfi 2421ef7198c0Smrg 2422ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2423ef7198c0Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 2424ef7198c0Smrg if test $USE_MAINTAINER_MODE = yes; then 2425ef7198c0Smrg MAINTAINER_MODE_TRUE= 2426ef7198c0Smrg MAINTAINER_MODE_FALSE='#' 2427ef7198c0Smrgelse 2428ef7198c0Smrg MAINTAINER_MODE_TRUE='#' 2429ef7198c0Smrg MAINTAINER_MODE_FALSE= 2430ef7198c0Smrgfi 2431ef7198c0Smrg 2432ef7198c0Smrg MAINT=$MAINTAINER_MODE_TRUE 2433ef7198c0Smrg 2434ef7198c0Smrg 2435ef7198c0Smrg 2436ef7198c0Smrg# Require xorg-macros: XORG_DEFAULT_OPTIONS 2437ef7198c0Smrg 2438ef7198c0Smrg 2439ef7198c0Smrg 2440ef7198c0Smrg 2441ef7198c0Smrg 2442ef7198c0Smrg 2443ef7198c0Smrg 2444ef7198c0Smrg 2445ef7198c0Smrg 2446ef7198c0Smrg 2447ef7198c0Smrg 2448ef7198c0SmrgDEPDIR="${am__leading_dot}deps" 2449ef7198c0Smrg 2450ef7198c0Smrgac_config_commands="$ac_config_commands depfiles" 2451ef7198c0Smrg 2452ef7198c0Smrg 2453ef7198c0Smrgam_make=${MAKE-make} 2454ef7198c0Smrgcat > confinc << 'END' 2455ef7198c0Smrgam__doit: 2456ef7198c0Smrg @echo this is the am__doit target 2457ef7198c0Smrg.PHONY: am__doit 2458ef7198c0SmrgEND 2459ef7198c0Smrg# If we don't find an include directive, just comment out the code. 2460ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2461ef7198c0Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 2462ef7198c0Smrgam__include="#" 2463ef7198c0Smrgam__quote= 2464ef7198c0Smrg_am_result=none 2465ef7198c0Smrg# First try GNU make style include. 2466ef7198c0Smrgecho "include confinc" > confmf 2467ef7198c0Smrg# Ignore all kinds of additional output from `make'. 2468ef7198c0Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 2469ef7198c0Smrg*the\ am__doit\ target*) 2470ef7198c0Smrg am__include=include 2471ef7198c0Smrg am__quote= 2472ef7198c0Smrg _am_result=GNU 2473ef7198c0Smrg ;; 2474ef7198c0Smrgesac 2475ef7198c0Smrg# Now try BSD make style include. 2476ef7198c0Smrgif test "$am__include" = "#"; then 2477ef7198c0Smrg echo '.include "confinc"' > confmf 2478ef7198c0Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 2479ef7198c0Smrg *the\ am__doit\ target*) 2480ef7198c0Smrg am__include=.include 2481ef7198c0Smrg am__quote="\"" 2482ef7198c0Smrg _am_result=BSD 2483ef7198c0Smrg ;; 2484ef7198c0Smrg esac 2485ef7198c0Smrgfi 2486ef7198c0Smrg 2487ef7198c0Smrg 2488ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 2489ef7198c0Smrg$as_echo "$_am_result" >&6; } 2490ef7198c0Smrgrm -f confinc confmf 2491ef7198c0Smrg 2492ef7198c0Smrg# Check whether --enable-dependency-tracking was given. 2493ef7198c0Smrgif test "${enable_dependency_tracking+set}" = set; then 2494ef7198c0Smrg enableval=$enable_dependency_tracking; 2495ef7198c0Smrgfi 2496ef7198c0Smrg 2497ef7198c0Smrgif test "x$enable_dependency_tracking" != xno; then 2498ef7198c0Smrg am_depcomp="$ac_aux_dir/depcomp" 2499ef7198c0Smrg AMDEPBACKSLASH='\' 2500ef7198c0Smrgfi 2501ef7198c0Smrg if test "x$enable_dependency_tracking" != xno; then 2502ef7198c0Smrg AMDEP_TRUE= 2503ef7198c0Smrg AMDEP_FALSE='#' 2504ef7198c0Smrgelse 2505ef7198c0Smrg AMDEP_TRUE='#' 2506ef7198c0Smrg AMDEP_FALSE= 2507ef7198c0Smrgfi 2508ef7198c0Smrg 2509ef7198c0Smrg 2510ef7198c0Smrgac_ext=c 2511ef7198c0Smrgac_cpp='$CPP $CPPFLAGS' 2512ef7198c0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2513ef7198c0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2514ef7198c0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2515ef7198c0Smrgif test -n "$ac_tool_prefix"; then 2516ef7198c0Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2517ef7198c0Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 2518ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2519ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2520ef7198c0Smrgif test "${ac_cv_prog_CC+set}" = set; then 2521ef7198c0Smrg $as_echo_n "(cached) " >&6 2522ef7198c0Smrgelse 2523ef7198c0Smrg if test -n "$CC"; then 2524ef7198c0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 252556f6b22bSmrgelse 252656f6b22bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 252756f6b22bSmrgfor as_dir in $PATH 252856f6b22bSmrgdo 252956f6b22bSmrg IFS=$as_save_IFS 253056f6b22bSmrg test -z "$as_dir" && as_dir=. 253156f6b22bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2532ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2533ef7198c0Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 2534ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 253556f6b22bSmrg break 2 253656f6b22bSmrg fi 253756f6b22bSmrgdone 253856f6b22bSmrgdone 2539ef7198c0SmrgIFS=$as_save_IFS 254056f6b22bSmrg 254156f6b22bSmrgfi 254256f6b22bSmrgfi 2543ef7198c0SmrgCC=$ac_cv_prog_CC 2544ef7198c0Smrgif test -n "$CC"; then 2545ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 2546ef7198c0Smrg$as_echo "$CC" >&6; } 254756f6b22bSmrgelse 2548ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2549ef7198c0Smrg$as_echo "no" >&6; } 255056f6b22bSmrgfi 255156f6b22bSmrg 2552ef7198c0Smrg 255356f6b22bSmrgfi 2554ef7198c0Smrgif test -z "$ac_cv_prog_CC"; then 2555ef7198c0Smrg ac_ct_CC=$CC 2556ef7198c0Smrg # Extract the first word of "gcc", so it can be a program name with args. 2557ef7198c0Smrgset dummy gcc; ac_word=$2 2558ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2559ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2560ef7198c0Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2561ef7198c0Smrg $as_echo_n "(cached) " >&6 256256f6b22bSmrgelse 2563ef7198c0Smrg if test -n "$ac_ct_CC"; then 2564ef7198c0Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 256556f6b22bSmrgelse 256656f6b22bSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 256756f6b22bSmrgfor as_dir in $PATH 256856f6b22bSmrgdo 256956f6b22bSmrg IFS=$as_save_IFS 257056f6b22bSmrg test -z "$as_dir" && as_dir=. 257156f6b22bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2572ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2573ef7198c0Smrg ac_cv_prog_ac_ct_CC="gcc" 2574ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 257556f6b22bSmrg break 2 257656f6b22bSmrg fi 257756f6b22bSmrgdone 257856f6b22bSmrgdone 2579ef7198c0SmrgIFS=$as_save_IFS 258056f6b22bSmrg 258156f6b22bSmrgfi 258256f6b22bSmrgfi 2583ef7198c0Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2584ef7198c0Smrgif test -n "$ac_ct_CC"; then 2585ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2586ef7198c0Smrg$as_echo "$ac_ct_CC" >&6; } 258756f6b22bSmrgelse 2588ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2589ef7198c0Smrg$as_echo "no" >&6; } 259056f6b22bSmrgfi 259156f6b22bSmrg 2592ef7198c0Smrg if test "x$ac_ct_CC" = x; then 2593ef7198c0Smrg CC="" 2594ef7198c0Smrg else 2595ef7198c0Smrg case $cross_compiling:$ac_tool_warned in 2596ef7198c0Smrgyes:) 2597ef7198c0Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2598ef7198c0Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2599ef7198c0Smrgac_tool_warned=yes ;; 2600ef7198c0Smrgesac 2601ef7198c0Smrg CC=$ac_ct_CC 2602ef7198c0Smrg fi 260356f6b22bSmrgelse 2604ef7198c0Smrg CC="$ac_cv_prog_CC" 260556f6b22bSmrgfi 260656f6b22bSmrg 2607ef7198c0Smrgif test -z "$CC"; then 2608ef7198c0Smrg if test -n "$ac_tool_prefix"; then 2609ef7198c0Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2610ef7198c0Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 2611ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2612ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2613ef7198c0Smrgif test "${ac_cv_prog_CC+set}" = set; then 2614ef7198c0Smrg $as_echo_n "(cached) " >&6 261556f6b22bSmrgelse 2616ef7198c0Smrg if test -n "$CC"; then 2617ef7198c0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2618ef7198c0Smrgelse 2619ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2620ef7198c0Smrgfor as_dir in $PATH 2621ef7198c0Smrgdo 2622ef7198c0Smrg IFS=$as_save_IFS 2623ef7198c0Smrg test -z "$as_dir" && as_dir=. 2624ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2625ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2626ef7198c0Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 2627ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2628ef7198c0Smrg break 2 2629ef7198c0Smrg fi 2630ef7198c0Smrgdone 2631ef7198c0Smrgdone 2632ef7198c0SmrgIFS=$as_save_IFS 2633ef7198c0Smrg 2634ef7198c0Smrgfi 2635ef7198c0Smrgfi 2636ef7198c0SmrgCC=$ac_cv_prog_CC 2637ef7198c0Smrgif test -n "$CC"; then 2638ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 2639ef7198c0Smrg$as_echo "$CC" >&6; } 2640ef7198c0Smrgelse 2641ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2642ef7198c0Smrg$as_echo "no" >&6; } 2643ef7198c0Smrgfi 2644ef7198c0Smrg 2645ef7198c0Smrg 2646ef7198c0Smrg fi 2647ef7198c0Smrgfi 2648ef7198c0Smrgif test -z "$CC"; then 2649ef7198c0Smrg # Extract the first word of "cc", so it can be a program name with args. 2650ef7198c0Smrgset dummy cc; ac_word=$2 2651ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2652ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2653ef7198c0Smrgif test "${ac_cv_prog_CC+set}" = set; then 2654ef7198c0Smrg $as_echo_n "(cached) " >&6 2655ef7198c0Smrgelse 2656ef7198c0Smrg if test -n "$CC"; then 2657ef7198c0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2658ef7198c0Smrgelse 2659ef7198c0Smrg ac_prog_rejected=no 2660ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2661ef7198c0Smrgfor as_dir in $PATH 2662ef7198c0Smrgdo 2663ef7198c0Smrg IFS=$as_save_IFS 2664ef7198c0Smrg test -z "$as_dir" && as_dir=. 2665ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2666ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2667ef7198c0Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2668ef7198c0Smrg ac_prog_rejected=yes 2669ef7198c0Smrg continue 2670ef7198c0Smrg fi 2671ef7198c0Smrg ac_cv_prog_CC="cc" 2672ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2673ef7198c0Smrg break 2 2674ef7198c0Smrg fi 2675ef7198c0Smrgdone 2676ef7198c0Smrgdone 2677ef7198c0SmrgIFS=$as_save_IFS 2678ef7198c0Smrg 2679ef7198c0Smrgif test $ac_prog_rejected = yes; then 2680ef7198c0Smrg # We found a bogon in the path, so make sure we never use it. 2681ef7198c0Smrg set dummy $ac_cv_prog_CC 2682ef7198c0Smrg shift 2683ef7198c0Smrg if test $# != 0; then 2684ef7198c0Smrg # We chose a different compiler from the bogus one. 2685ef7198c0Smrg # However, it has the same basename, so the bogon will be chosen 2686ef7198c0Smrg # first if we set CC to just the basename; use the full file name. 2687ef7198c0Smrg shift 2688ef7198c0Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2689ef7198c0Smrg fi 2690ef7198c0Smrgfi 2691ef7198c0Smrgfi 2692ef7198c0Smrgfi 2693ef7198c0SmrgCC=$ac_cv_prog_CC 2694ef7198c0Smrgif test -n "$CC"; then 2695ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 2696ef7198c0Smrg$as_echo "$CC" >&6; } 2697ef7198c0Smrgelse 2698ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2699ef7198c0Smrg$as_echo "no" >&6; } 2700ef7198c0Smrgfi 2701ef7198c0Smrg 2702ef7198c0Smrg 2703ef7198c0Smrgfi 2704ef7198c0Smrgif test -z "$CC"; then 2705ef7198c0Smrg if test -n "$ac_tool_prefix"; then 2706ef7198c0Smrg for ac_prog in cl.exe 2707ef7198c0Smrg do 2708ef7198c0Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2709ef7198c0Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 2710ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2711ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2712ef7198c0Smrgif test "${ac_cv_prog_CC+set}" = set; then 2713ef7198c0Smrg $as_echo_n "(cached) " >&6 2714ef7198c0Smrgelse 2715ef7198c0Smrg if test -n "$CC"; then 2716ef7198c0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 2717ef7198c0Smrgelse 2718ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2719ef7198c0Smrgfor as_dir in $PATH 2720ef7198c0Smrgdo 2721ef7198c0Smrg IFS=$as_save_IFS 2722ef7198c0Smrg test -z "$as_dir" && as_dir=. 2723ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2724ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2725ef7198c0Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2726ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2727ef7198c0Smrg break 2 2728ef7198c0Smrg fi 2729ef7198c0Smrgdone 2730ef7198c0Smrgdone 2731ef7198c0SmrgIFS=$as_save_IFS 2732ef7198c0Smrg 2733ef7198c0Smrgfi 2734ef7198c0Smrgfi 2735ef7198c0SmrgCC=$ac_cv_prog_CC 2736ef7198c0Smrgif test -n "$CC"; then 2737ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 2738ef7198c0Smrg$as_echo "$CC" >&6; } 2739ef7198c0Smrgelse 2740ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2741ef7198c0Smrg$as_echo "no" >&6; } 2742ef7198c0Smrgfi 2743ef7198c0Smrg 2744ef7198c0Smrg 2745ef7198c0Smrg test -n "$CC" && break 2746ef7198c0Smrg done 2747ef7198c0Smrgfi 2748ef7198c0Smrgif test -z "$CC"; then 2749ef7198c0Smrg ac_ct_CC=$CC 2750ef7198c0Smrg for ac_prog in cl.exe 2751ef7198c0Smrgdo 2752ef7198c0Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2753ef7198c0Smrgset dummy $ac_prog; ac_word=$2 2754ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2755ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2756ef7198c0Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2757ef7198c0Smrg $as_echo_n "(cached) " >&6 2758ef7198c0Smrgelse 2759ef7198c0Smrg if test -n "$ac_ct_CC"; then 2760ef7198c0Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2761ef7198c0Smrgelse 2762ef7198c0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2763ef7198c0Smrgfor as_dir in $PATH 2764ef7198c0Smrgdo 2765ef7198c0Smrg IFS=$as_save_IFS 2766ef7198c0Smrg test -z "$as_dir" && as_dir=. 2767ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2768ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2769ef7198c0Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 2770ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2771ef7198c0Smrg break 2 2772ef7198c0Smrg fi 2773ef7198c0Smrgdone 2774ef7198c0Smrgdone 2775ef7198c0SmrgIFS=$as_save_IFS 2776ef7198c0Smrg 2777ef7198c0Smrgfi 2778ef7198c0Smrgfi 2779ef7198c0Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2780ef7198c0Smrgif test -n "$ac_ct_CC"; then 2781ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2782ef7198c0Smrg$as_echo "$ac_ct_CC" >&6; } 2783ef7198c0Smrgelse 2784ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2785ef7198c0Smrg$as_echo "no" >&6; } 2786ef7198c0Smrgfi 2787ef7198c0Smrg 2788ef7198c0Smrg 2789ef7198c0Smrg test -n "$ac_ct_CC" && break 2790ef7198c0Smrgdone 2791ef7198c0Smrg 2792ef7198c0Smrg if test "x$ac_ct_CC" = x; then 2793ef7198c0Smrg CC="" 2794ef7198c0Smrg else 2795ef7198c0Smrg case $cross_compiling:$ac_tool_warned in 2796ef7198c0Smrgyes:) 2797ef7198c0Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2798ef7198c0Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2799ef7198c0Smrgac_tool_warned=yes ;; 2800ef7198c0Smrgesac 2801ef7198c0Smrg CC=$ac_ct_CC 2802ef7198c0Smrg fi 2803ef7198c0Smrgfi 2804ef7198c0Smrg 2805ef7198c0Smrgfi 2806ef7198c0Smrg 2807ef7198c0Smrg 2808ef7198c0Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2809ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2810ef7198c0Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2811ef7198c0SmrgSee \`config.log' for more details." >&5 2812ef7198c0Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2813ef7198c0SmrgSee \`config.log' for more details." >&2;} 2814ef7198c0Smrg { (exit 1); exit 1; }; }; } 2815ef7198c0Smrg 2816ef7198c0Smrg# Provide some information about the compiler. 2817ef7198c0Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2818ef7198c0Smrgset X $ac_compile 2819ef7198c0Smrgac_compiler=$2 2820ef7198c0Smrg{ (ac_try="$ac_compiler --version >&5" 2821ef7198c0Smrgcase "(($ac_try" in 2822ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2823ef7198c0Smrg *) ac_try_echo=$ac_try;; 2824ef7198c0Smrgesac 2825ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2826ef7198c0Smrg$as_echo "$ac_try_echo") >&5 2827ef7198c0Smrg (eval "$ac_compiler --version >&5") 2>&5 2828ef7198c0Smrg ac_status=$? 2829ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2830ef7198c0Smrg (exit $ac_status); } 2831ef7198c0Smrg{ (ac_try="$ac_compiler -v >&5" 2832ef7198c0Smrgcase "(($ac_try" in 2833ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2834ef7198c0Smrg *) ac_try_echo=$ac_try;; 2835ef7198c0Smrgesac 2836ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2837ef7198c0Smrg$as_echo "$ac_try_echo") >&5 2838ef7198c0Smrg (eval "$ac_compiler -v >&5") 2>&5 2839ef7198c0Smrg ac_status=$? 2840ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2841ef7198c0Smrg (exit $ac_status); } 2842ef7198c0Smrg{ (ac_try="$ac_compiler -V >&5" 2843ef7198c0Smrgcase "(($ac_try" in 2844ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2845ef7198c0Smrg *) ac_try_echo=$ac_try;; 2846ef7198c0Smrgesac 2847ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2848ef7198c0Smrg$as_echo "$ac_try_echo") >&5 2849ef7198c0Smrg (eval "$ac_compiler -V >&5") 2>&5 2850ef7198c0Smrg ac_status=$? 2851ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2852ef7198c0Smrg (exit $ac_status); } 2853ef7198c0Smrg 2854ef7198c0Smrgcat >conftest.$ac_ext <<_ACEOF 2855ef7198c0Smrg/* confdefs.h. */ 2856ef7198c0Smrg_ACEOF 2857ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 2858ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 2859ef7198c0Smrg/* end confdefs.h. */ 2860ef7198c0Smrg 2861ef7198c0Smrgint 2862ef7198c0Smrgmain () 2863ef7198c0Smrg{ 2864ef7198c0Smrg 2865ef7198c0Smrg ; 2866ef7198c0Smrg return 0; 2867ef7198c0Smrg} 2868ef7198c0Smrg_ACEOF 2869ef7198c0Smrgac_clean_files_save=$ac_clean_files 2870ef7198c0Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2871ef7198c0Smrg# Try to create an executable without -o first, disregard a.out. 2872ef7198c0Smrg# It will help us diagnose broken compilers, and finding out an intuition 2873ef7198c0Smrg# of exeext. 2874ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2875ef7198c0Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 2876ef7198c0Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2877ef7198c0Smrg 2878ef7198c0Smrg# The possible output files: 2879ef7198c0Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2880ef7198c0Smrg 2881ef7198c0Smrgac_rmfiles= 2882ef7198c0Smrgfor ac_file in $ac_files 2883ef7198c0Smrgdo 2884ef7198c0Smrg case $ac_file in 2885ef7198c0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2886ef7198c0Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2887ef7198c0Smrg esac 2888ef7198c0Smrgdone 2889ef7198c0Smrgrm -f $ac_rmfiles 2890ef7198c0Smrg 2891ef7198c0Smrgif { (ac_try="$ac_link_default" 2892ef7198c0Smrgcase "(($ac_try" in 2893ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2894ef7198c0Smrg *) ac_try_echo=$ac_try;; 2895ef7198c0Smrgesac 2896ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2897ef7198c0Smrg$as_echo "$ac_try_echo") >&5 2898ef7198c0Smrg (eval "$ac_link_default") 2>&5 2899ef7198c0Smrg ac_status=$? 2900ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2901ef7198c0Smrg (exit $ac_status); }; then 2902ef7198c0Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2903ef7198c0Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2904ef7198c0Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 2905ef7198c0Smrg# so that the user can short-circuit this test for compilers unknown to 2906ef7198c0Smrg# Autoconf. 2907ef7198c0Smrgfor ac_file in $ac_files '' 2908ef7198c0Smrgdo 2909ef7198c0Smrg test -f "$ac_file" || continue 2910ef7198c0Smrg case $ac_file in 2911ef7198c0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2912ef7198c0Smrg ;; 2913ef7198c0Smrg [ab].out ) 2914ef7198c0Smrg # We found the default executable, but exeext='' is most 2915ef7198c0Smrg # certainly right. 2916ef7198c0Smrg break;; 2917ef7198c0Smrg *.* ) 2918ef7198c0Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2919ef7198c0Smrg then :; else 2920ef7198c0Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2921ef7198c0Smrg fi 2922ef7198c0Smrg # We set ac_cv_exeext here because the later test for it is not 2923ef7198c0Smrg # safe: cross compilers may not add the suffix if given an `-o' 2924ef7198c0Smrg # argument, so we may need to know it at that point already. 2925ef7198c0Smrg # Even if this section looks crufty: it has the advantage of 2926ef7198c0Smrg # actually working. 2927ef7198c0Smrg break;; 2928ef7198c0Smrg * ) 2929ef7198c0Smrg break;; 2930ef7198c0Smrg esac 2931ef7198c0Smrgdone 2932ef7198c0Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 2933ef7198c0Smrg 2934ef7198c0Smrgelse 2935ef7198c0Smrg ac_file='' 2936ef7198c0Smrgfi 2937ef7198c0Smrg 2938ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2939ef7198c0Smrg$as_echo "$ac_file" >&6; } 2940ef7198c0Smrgif test -z "$ac_file"; then 2941ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 2942ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 2943ef7198c0Smrg 2944ef7198c0Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2945ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2946ef7198c0Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2947ef7198c0SmrgSee \`config.log' for more details." >&5 2948ef7198c0Smrg$as_echo "$as_me: error: C compiler cannot create executables 2949ef7198c0SmrgSee \`config.log' for more details." >&2;} 2950ef7198c0Smrg { (exit 77); exit 77; }; }; } 2951ef7198c0Smrgfi 2952ef7198c0Smrg 2953ef7198c0Smrgac_exeext=$ac_cv_exeext 2954ef7198c0Smrg 2955ef7198c0Smrg# Check that the compiler produces executables we can run. If not, either 2956ef7198c0Smrg# the compiler is broken, or we cross compile. 2957ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2958ef7198c0Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 2959ef7198c0Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2960ef7198c0Smrg# If not cross compiling, check that we can run a simple program. 2961ef7198c0Smrgif test "$cross_compiling" != yes; then 2962ef7198c0Smrg if { ac_try='./$ac_file' 2963ef7198c0Smrg { (case "(($ac_try" in 2964ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2965ef7198c0Smrg *) ac_try_echo=$ac_try;; 2966ef7198c0Smrgesac 2967ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2968ef7198c0Smrg$as_echo "$ac_try_echo") >&5 2969ef7198c0Smrg (eval "$ac_try") 2>&5 2970ef7198c0Smrg ac_status=$? 2971ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2972ef7198c0Smrg (exit $ac_status); }; }; then 2973ef7198c0Smrg cross_compiling=no 2974ef7198c0Smrg else 2975ef7198c0Smrg if test "$cross_compiling" = maybe; then 2976ef7198c0Smrg cross_compiling=yes 2977ef7198c0Smrg else 2978ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2979ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2980ef7198c0Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2981ef7198c0SmrgIf you meant to cross compile, use \`--host'. 2982ef7198c0SmrgSee \`config.log' for more details." >&5 2983ef7198c0Smrg$as_echo "$as_me: error: cannot run C compiled programs. 2984ef7198c0SmrgIf you meant to cross compile, use \`--host'. 2985ef7198c0SmrgSee \`config.log' for more details." >&2;} 2986ef7198c0Smrg { (exit 1); exit 1; }; }; } 2987ef7198c0Smrg fi 2988ef7198c0Smrg fi 2989ef7198c0Smrgfi 2990ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 2991ef7198c0Smrg$as_echo "yes" >&6; } 2992ef7198c0Smrg 2993ef7198c0Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2994ef7198c0Smrgac_clean_files=$ac_clean_files_save 2995ef7198c0Smrg# Check that the compiler produces executables we can run. If not, either 2996ef7198c0Smrg# the compiler is broken, or we cross compile. 2997ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2998ef7198c0Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 2999ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3000ef7198c0Smrg$as_echo "$cross_compiling" >&6; } 3001ef7198c0Smrg 3002ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3003ef7198c0Smrg$as_echo_n "checking for suffix of executables... " >&6; } 3004ef7198c0Smrgif { (ac_try="$ac_link" 3005ef7198c0Smrgcase "(($ac_try" in 3006ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3007ef7198c0Smrg *) ac_try_echo=$ac_try;; 3008ef7198c0Smrgesac 3009ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3010ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3011ef7198c0Smrg (eval "$ac_link") 2>&5 3012ef7198c0Smrg ac_status=$? 3013ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3014ef7198c0Smrg (exit $ac_status); }; then 3015ef7198c0Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 3016ef7198c0Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3017ef7198c0Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 3018ef7198c0Smrg# `rm'. 3019ef7198c0Smrgfor ac_file in conftest.exe conftest conftest.*; do 3020ef7198c0Smrg test -f "$ac_file" || continue 3021ef7198c0Smrg case $ac_file in 3022ef7198c0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3023ef7198c0Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3024ef7198c0Smrg break;; 3025ef7198c0Smrg * ) break;; 3026ef7198c0Smrg esac 3027ef7198c0Smrgdone 3028ef7198c0Smrgelse 3029ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3030ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3031ef7198c0Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3032ef7198c0SmrgSee \`config.log' for more details." >&5 3033ef7198c0Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3034ef7198c0SmrgSee \`config.log' for more details." >&2;} 3035ef7198c0Smrg { (exit 1); exit 1; }; }; } 3036ef7198c0Smrgfi 3037ef7198c0Smrg 3038ef7198c0Smrgrm -f conftest$ac_cv_exeext 3039ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3040ef7198c0Smrg$as_echo "$ac_cv_exeext" >&6; } 3041ef7198c0Smrg 3042ef7198c0Smrgrm -f conftest.$ac_ext 3043ef7198c0SmrgEXEEXT=$ac_cv_exeext 3044ef7198c0Smrgac_exeext=$EXEEXT 3045ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3046ef7198c0Smrg$as_echo_n "checking for suffix of object files... " >&6; } 3047ef7198c0Smrgif test "${ac_cv_objext+set}" = set; then 3048ef7198c0Smrg $as_echo_n "(cached) " >&6 3049ef7198c0Smrgelse 3050ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 3051ef7198c0Smrg/* confdefs.h. */ 3052ef7198c0Smrg_ACEOF 3053ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 3054ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 3055ef7198c0Smrg/* end confdefs.h. */ 3056ef7198c0Smrg 3057ef7198c0Smrgint 3058ef7198c0Smrgmain () 3059ef7198c0Smrg{ 3060ef7198c0Smrg 3061ef7198c0Smrg ; 3062ef7198c0Smrg return 0; 3063ef7198c0Smrg} 3064ef7198c0Smrg_ACEOF 3065ef7198c0Smrgrm -f conftest.o conftest.obj 3066ef7198c0Smrgif { (ac_try="$ac_compile" 3067ef7198c0Smrgcase "(($ac_try" in 3068ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3069ef7198c0Smrg *) ac_try_echo=$ac_try;; 3070ef7198c0Smrgesac 3071ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3072ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3073ef7198c0Smrg (eval "$ac_compile") 2>&5 3074ef7198c0Smrg ac_status=$? 3075ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3076ef7198c0Smrg (exit $ac_status); }; then 3077ef7198c0Smrg for ac_file in conftest.o conftest.obj conftest.*; do 3078ef7198c0Smrg test -f "$ac_file" || continue; 3079ef7198c0Smrg case $ac_file in 3080ef7198c0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3081ef7198c0Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3082ef7198c0Smrg break;; 3083ef7198c0Smrg esac 3084ef7198c0Smrgdone 3085ef7198c0Smrgelse 3086ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 3087ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 3088ef7198c0Smrg 3089ef7198c0Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3090ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3091ef7198c0Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3092ef7198c0SmrgSee \`config.log' for more details." >&5 3093ef7198c0Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3094ef7198c0SmrgSee \`config.log' for more details." >&2;} 3095ef7198c0Smrg { (exit 1); exit 1; }; }; } 3096ef7198c0Smrgfi 3097ef7198c0Smrg 3098ef7198c0Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 3099ef7198c0Smrgfi 3100ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3101ef7198c0Smrg$as_echo "$ac_cv_objext" >&6; } 3102ef7198c0SmrgOBJEXT=$ac_cv_objext 3103ef7198c0Smrgac_objext=$OBJEXT 3104ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3105ef7198c0Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3106ef7198c0Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 3107ef7198c0Smrg $as_echo_n "(cached) " >&6 3108ef7198c0Smrgelse 3109ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 3110ef7198c0Smrg/* confdefs.h. */ 3111ef7198c0Smrg_ACEOF 3112ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 3113ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 3114ef7198c0Smrg/* end confdefs.h. */ 3115ef7198c0Smrg 3116ef7198c0Smrgint 3117ef7198c0Smrgmain () 3118ef7198c0Smrg{ 3119ef7198c0Smrg#ifndef __GNUC__ 3120ef7198c0Smrg choke me 3121ef7198c0Smrg#endif 3122ef7198c0Smrg 3123ef7198c0Smrg ; 3124ef7198c0Smrg return 0; 3125ef7198c0Smrg} 3126ef7198c0Smrg_ACEOF 3127ef7198c0Smrgrm -f conftest.$ac_objext 3128ef7198c0Smrgif { (ac_try="$ac_compile" 3129ef7198c0Smrgcase "(($ac_try" in 3130ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3131ef7198c0Smrg *) ac_try_echo=$ac_try;; 3132ef7198c0Smrgesac 3133ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3134ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3135ef7198c0Smrg (eval "$ac_compile") 2>conftest.er1 3136ef7198c0Smrg ac_status=$? 3137ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 3138ef7198c0Smrg rm -f conftest.er1 3139ef7198c0Smrg cat conftest.err >&5 3140ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3141ef7198c0Smrg (exit $ac_status); } && { 3142ef7198c0Smrg test -z "$ac_c_werror_flag" || 3143ef7198c0Smrg test ! -s conftest.err 3144ef7198c0Smrg } && test -s conftest.$ac_objext; then 3145ef7198c0Smrg ac_compiler_gnu=yes 3146ef7198c0Smrgelse 3147ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 3148ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 3149ef7198c0Smrg 3150ef7198c0Smrg ac_compiler_gnu=no 3151ef7198c0Smrgfi 3152ef7198c0Smrg 3153ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3154ef7198c0Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 3155ef7198c0Smrg 3156ef7198c0Smrgfi 3157ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3158ef7198c0Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3159ef7198c0Smrgif test $ac_compiler_gnu = yes; then 3160ef7198c0Smrg GCC=yes 3161ef7198c0Smrgelse 3162ef7198c0Smrg GCC= 3163ef7198c0Smrgfi 3164ef7198c0Smrgac_test_CFLAGS=${CFLAGS+set} 3165ef7198c0Smrgac_save_CFLAGS=$CFLAGS 3166ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3167ef7198c0Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 3168ef7198c0Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 3169ef7198c0Smrg $as_echo_n "(cached) " >&6 3170ef7198c0Smrgelse 3171ef7198c0Smrg ac_save_c_werror_flag=$ac_c_werror_flag 3172ef7198c0Smrg ac_c_werror_flag=yes 3173ef7198c0Smrg ac_cv_prog_cc_g=no 3174ef7198c0Smrg CFLAGS="-g" 3175ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 3176ef7198c0Smrg/* confdefs.h. */ 3177ef7198c0Smrg_ACEOF 3178ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 3179ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 3180ef7198c0Smrg/* end confdefs.h. */ 3181ef7198c0Smrg 3182ef7198c0Smrgint 3183ef7198c0Smrgmain () 3184ef7198c0Smrg{ 3185ef7198c0Smrg 3186ef7198c0Smrg ; 3187ef7198c0Smrg return 0; 3188ef7198c0Smrg} 3189ef7198c0Smrg_ACEOF 3190ef7198c0Smrgrm -f conftest.$ac_objext 3191ef7198c0Smrgif { (ac_try="$ac_compile" 3192ef7198c0Smrgcase "(($ac_try" in 3193ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3194ef7198c0Smrg *) ac_try_echo=$ac_try;; 3195ef7198c0Smrgesac 3196ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3197ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3198ef7198c0Smrg (eval "$ac_compile") 2>conftest.er1 3199ef7198c0Smrg ac_status=$? 3200ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 3201ef7198c0Smrg rm -f conftest.er1 3202ef7198c0Smrg cat conftest.err >&5 3203ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3204ef7198c0Smrg (exit $ac_status); } && { 3205ef7198c0Smrg test -z "$ac_c_werror_flag" || 3206ef7198c0Smrg test ! -s conftest.err 3207ef7198c0Smrg } && test -s conftest.$ac_objext; then 3208ef7198c0Smrg ac_cv_prog_cc_g=yes 3209ef7198c0Smrgelse 3210ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 3211ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 3212ef7198c0Smrg 3213ef7198c0Smrg CFLAGS="" 3214ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 3215ef7198c0Smrg/* confdefs.h. */ 3216ef7198c0Smrg_ACEOF 3217ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 3218ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 3219ef7198c0Smrg/* end confdefs.h. */ 3220ef7198c0Smrg 3221ef7198c0Smrgint 3222ef7198c0Smrgmain () 3223ef7198c0Smrg{ 3224ef7198c0Smrg 3225ef7198c0Smrg ; 3226ef7198c0Smrg return 0; 3227ef7198c0Smrg} 3228ef7198c0Smrg_ACEOF 3229ef7198c0Smrgrm -f conftest.$ac_objext 3230ef7198c0Smrgif { (ac_try="$ac_compile" 3231ef7198c0Smrgcase "(($ac_try" in 3232ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3233ef7198c0Smrg *) ac_try_echo=$ac_try;; 3234ef7198c0Smrgesac 3235ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3236ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3237ef7198c0Smrg (eval "$ac_compile") 2>conftest.er1 3238ef7198c0Smrg ac_status=$? 3239ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 3240ef7198c0Smrg rm -f conftest.er1 3241ef7198c0Smrg cat conftest.err >&5 3242ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3243ef7198c0Smrg (exit $ac_status); } && { 3244ef7198c0Smrg test -z "$ac_c_werror_flag" || 3245ef7198c0Smrg test ! -s conftest.err 3246ef7198c0Smrg } && test -s conftest.$ac_objext; then 3247ef7198c0Smrg : 3248ef7198c0Smrgelse 3249ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 3250ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 3251ef7198c0Smrg 3252ef7198c0Smrg ac_c_werror_flag=$ac_save_c_werror_flag 3253ef7198c0Smrg CFLAGS="-g" 3254ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 3255ef7198c0Smrg/* confdefs.h. */ 3256ef7198c0Smrg_ACEOF 3257ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 3258ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 3259ef7198c0Smrg/* end confdefs.h. */ 3260ef7198c0Smrg 3261ef7198c0Smrgint 3262ef7198c0Smrgmain () 3263ef7198c0Smrg{ 3264ef7198c0Smrg 3265ef7198c0Smrg ; 3266ef7198c0Smrg return 0; 3267ef7198c0Smrg} 3268ef7198c0Smrg_ACEOF 3269ef7198c0Smrgrm -f conftest.$ac_objext 3270ef7198c0Smrgif { (ac_try="$ac_compile" 3271ef7198c0Smrgcase "(($ac_try" in 3272ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3273ef7198c0Smrg *) ac_try_echo=$ac_try;; 3274ef7198c0Smrgesac 3275ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3276ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3277ef7198c0Smrg (eval "$ac_compile") 2>conftest.er1 3278ef7198c0Smrg ac_status=$? 3279ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 3280ef7198c0Smrg rm -f conftest.er1 3281ef7198c0Smrg cat conftest.err >&5 3282ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3283ef7198c0Smrg (exit $ac_status); } && { 3284ef7198c0Smrg test -z "$ac_c_werror_flag" || 3285ef7198c0Smrg test ! -s conftest.err 3286ef7198c0Smrg } && test -s conftest.$ac_objext; then 3287ef7198c0Smrg ac_cv_prog_cc_g=yes 3288ef7198c0Smrgelse 3289ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 3290ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 3291ef7198c0Smrg 3292ef7198c0Smrg 3293ef7198c0Smrgfi 3294ef7198c0Smrg 3295ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3296ef7198c0Smrgfi 3297ef7198c0Smrg 3298ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3299ef7198c0Smrgfi 3300ef7198c0Smrg 3301ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3302ef7198c0Smrg ac_c_werror_flag=$ac_save_c_werror_flag 3303ef7198c0Smrgfi 3304ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3305ef7198c0Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 3306ef7198c0Smrgif test "$ac_test_CFLAGS" = set; then 3307ef7198c0Smrg CFLAGS=$ac_save_CFLAGS 3308ef7198c0Smrgelif test $ac_cv_prog_cc_g = yes; then 3309ef7198c0Smrg if test "$GCC" = yes; then 3310ef7198c0Smrg CFLAGS="-g -O2" 3311ef7198c0Smrg else 3312ef7198c0Smrg CFLAGS="-g" 3313ef7198c0Smrg fi 3314ef7198c0Smrgelse 3315ef7198c0Smrg if test "$GCC" = yes; then 3316ef7198c0Smrg CFLAGS="-O2" 3317ef7198c0Smrg else 3318ef7198c0Smrg CFLAGS= 3319ef7198c0Smrg fi 3320ef7198c0Smrgfi 3321ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3322ef7198c0Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3323ef7198c0Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then 3324ef7198c0Smrg $as_echo_n "(cached) " >&6 3325ef7198c0Smrgelse 3326ef7198c0Smrg ac_cv_prog_cc_c89=no 3327ef7198c0Smrgac_save_CC=$CC 3328ef7198c0Smrgcat >conftest.$ac_ext <<_ACEOF 3329ef7198c0Smrg/* confdefs.h. */ 3330ef7198c0Smrg_ACEOF 3331ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 3332ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 3333ef7198c0Smrg/* end confdefs.h. */ 3334ef7198c0Smrg#include <stdarg.h> 3335ef7198c0Smrg#include <stdio.h> 3336ef7198c0Smrg#include <sys/types.h> 3337ef7198c0Smrg#include <sys/stat.h> 3338ef7198c0Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3339ef7198c0Smrgstruct buf { int x; }; 3340ef7198c0SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3341ef7198c0Smrgstatic char *e (p, i) 3342ef7198c0Smrg char **p; 3343ef7198c0Smrg int i; 3344ef7198c0Smrg{ 3345ef7198c0Smrg return p[i]; 3346ef7198c0Smrg} 3347ef7198c0Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3348ef7198c0Smrg{ 3349ef7198c0Smrg char *s; 3350ef7198c0Smrg va_list v; 3351ef7198c0Smrg va_start (v,p); 3352ef7198c0Smrg s = g (p, va_arg (v,int)); 3353ef7198c0Smrg va_end (v); 3354ef7198c0Smrg return s; 3355ef7198c0Smrg} 3356ef7198c0Smrg 3357ef7198c0Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3358ef7198c0Smrg function prototypes and stuff, but not '\xHH' hex character constants. 3359ef7198c0Smrg These don't provoke an error unfortunately, instead are silently treated 3360ef7198c0Smrg as 'x'. The following induces an error, until -std is added to get 3361ef7198c0Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3362ef7198c0Smrg array size at least. It's necessary to write '\x00'==0 to get something 3363ef7198c0Smrg that's true only with -std. */ 3364ef7198c0Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3365ef7198c0Smrg 3366ef7198c0Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3367ef7198c0Smrg inside strings and character constants. */ 3368ef7198c0Smrg#define FOO(x) 'x' 3369ef7198c0Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3370ef7198c0Smrg 3371ef7198c0Smrgint test (int i, double x); 3372ef7198c0Smrgstruct s1 {int (*f) (int a);}; 3373ef7198c0Smrgstruct s2 {int (*f) (double a);}; 3374ef7198c0Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3375ef7198c0Smrgint argc; 3376ef7198c0Smrgchar **argv; 3377ef7198c0Smrgint 3378ef7198c0Smrgmain () 3379ef7198c0Smrg{ 3380ef7198c0Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3381ef7198c0Smrg ; 3382ef7198c0Smrg return 0; 3383ef7198c0Smrg} 3384ef7198c0Smrg_ACEOF 3385ef7198c0Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3386ef7198c0Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3387ef7198c0Smrgdo 3388ef7198c0Smrg CC="$ac_save_CC $ac_arg" 3389ef7198c0Smrg rm -f conftest.$ac_objext 3390ef7198c0Smrgif { (ac_try="$ac_compile" 3391ef7198c0Smrgcase "(($ac_try" in 3392ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3393ef7198c0Smrg *) ac_try_echo=$ac_try;; 3394ef7198c0Smrgesac 3395ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3396ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3397ef7198c0Smrg (eval "$ac_compile") 2>conftest.er1 3398ef7198c0Smrg ac_status=$? 3399ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 3400ef7198c0Smrg rm -f conftest.er1 3401ef7198c0Smrg cat conftest.err >&5 3402ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3403ef7198c0Smrg (exit $ac_status); } && { 3404ef7198c0Smrg test -z "$ac_c_werror_flag" || 3405ef7198c0Smrg test ! -s conftest.err 3406ef7198c0Smrg } && test -s conftest.$ac_objext; then 3407ef7198c0Smrg ac_cv_prog_cc_c89=$ac_arg 3408ef7198c0Smrgelse 3409ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 3410ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 3411ef7198c0Smrg 3412ef7198c0Smrg 3413ef7198c0Smrgfi 3414ef7198c0Smrg 3415ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext 3416ef7198c0Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3417ef7198c0Smrgdone 3418ef7198c0Smrgrm -f conftest.$ac_ext 3419ef7198c0SmrgCC=$ac_save_CC 3420ef7198c0Smrg 3421ef7198c0Smrgfi 3422ef7198c0Smrg# AC_CACHE_VAL 3423ef7198c0Smrgcase "x$ac_cv_prog_cc_c89" in 3424ef7198c0Smrg x) 3425ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 3426ef7198c0Smrg$as_echo "none needed" >&6; } ;; 3427ef7198c0Smrg xno) 3428ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3429ef7198c0Smrg$as_echo "unsupported" >&6; } ;; 3430ef7198c0Smrg *) 3431ef7198c0Smrg CC="$CC $ac_cv_prog_cc_c89" 3432ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3433ef7198c0Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3434ef7198c0Smrgesac 3435ef7198c0Smrg 3436ef7198c0Smrg 3437ef7198c0Smrgac_ext=c 3438ef7198c0Smrgac_cpp='$CPP $CPPFLAGS' 3439ef7198c0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3440ef7198c0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3441ef7198c0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3442ef7198c0Smrg 3443ef7198c0Smrgdepcc="$CC" am_compiler_list= 3444ef7198c0Smrg 3445ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3446ef7198c0Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 3447ef7198c0Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3448ef7198c0Smrg $as_echo_n "(cached) " >&6 3449ef7198c0Smrgelse 3450ef7198c0Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3451ef7198c0Smrg # We make a subdir and do the tests there. Otherwise we can end up 3452ef7198c0Smrg # making bogus files that we don't know about and never remove. For 3453ef7198c0Smrg # instance it was reported that on HP-UX the gcc test will end up 3454ef7198c0Smrg # making a dummy file named `D' -- because `-MD' means `put the output 3455ef7198c0Smrg # in D'. 3456ef7198c0Smrg mkdir conftest.dir 3457ef7198c0Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 3458ef7198c0Smrg # using a relative directory. 3459ef7198c0Smrg cp "$am_depcomp" conftest.dir 3460ef7198c0Smrg cd conftest.dir 3461ef7198c0Smrg # We will build objects and dependencies in a subdirectory because 3462ef7198c0Smrg # it helps to detect inapplicable dependency modes. For instance 3463ef7198c0Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 3464ef7198c0Smrg # side effect of compilation, but ICC will put the dependencies in 3465ef7198c0Smrg # the current directory while Tru64 will put them in the object 3466ef7198c0Smrg # directory. 3467ef7198c0Smrg mkdir sub 3468ef7198c0Smrg 3469ef7198c0Smrg am_cv_CC_dependencies_compiler_type=none 3470ef7198c0Smrg if test "$am_compiler_list" = ""; then 3471ef7198c0Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3472ef7198c0Smrg fi 3473ef7198c0Smrg am__universal=false 3474ef7198c0Smrg case " $depcc " in #( 3475ef7198c0Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 3476ef7198c0Smrg esac 3477ef7198c0Smrg 3478ef7198c0Smrg for depmode in $am_compiler_list; do 3479ef7198c0Smrg # Setup a source with many dependencies, because some compilers 3480ef7198c0Smrg # like to wrap large dependency lists on column 80 (with \), and 3481ef7198c0Smrg # we should not choose a depcomp mode which is confused by this. 3482ef7198c0Smrg # 3483ef7198c0Smrg # We need to recreate these files for each test, as the compiler may 3484ef7198c0Smrg # overwrite some of them when testing with obscure command lines. 3485ef7198c0Smrg # This happens at least with the AIX C compiler. 3486ef7198c0Smrg : > sub/conftest.c 3487ef7198c0Smrg for i in 1 2 3 4 5 6; do 3488ef7198c0Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 3489ef7198c0Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3490ef7198c0Smrg # Solaris 8's {/usr,}/bin/sh. 3491ef7198c0Smrg touch sub/conftst$i.h 3492ef7198c0Smrg done 3493ef7198c0Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3494ef7198c0Smrg 3495ef7198c0Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 3496ef7198c0Smrg # mode. It turns out that the SunPro C++ compiler does not properly 3497ef7198c0Smrg # handle `-M -o', and we need to detect this. Also, some Intel 3498ef7198c0Smrg # versions had trouble with output in subdirs 3499ef7198c0Smrg am__obj=sub/conftest.${OBJEXT-o} 3500ef7198c0Smrg am__minus_obj="-o $am__obj" 3501ef7198c0Smrg case $depmode in 3502ef7198c0Smrg gcc) 3503ef7198c0Smrg # This depmode causes a compiler race in universal mode. 3504ef7198c0Smrg test "$am__universal" = false || continue 3505ef7198c0Smrg ;; 3506ef7198c0Smrg nosideeffect) 3507ef7198c0Smrg # after this tag, mechanisms are not by side-effect, so they'll 3508ef7198c0Smrg # only be used when explicitly requested 3509ef7198c0Smrg if test "x$enable_dependency_tracking" = xyes; then 3510ef7198c0Smrg continue 3511ef7198c0Smrg else 3512ef7198c0Smrg break 3513ef7198c0Smrg fi 3514ef7198c0Smrg ;; 3515ef7198c0Smrg msvisualcpp | msvcmsys) 3516ef7198c0Smrg # This compiler won't grok `-c -o', but also, the minuso test has 3517ef7198c0Smrg # not run yet. These depmodes are late enough in the game, and 3518ef7198c0Smrg # so weak that their functioning should not be impacted. 3519ef7198c0Smrg am__obj=conftest.${OBJEXT-o} 3520ef7198c0Smrg am__minus_obj= 3521ef7198c0Smrg ;; 3522ef7198c0Smrg none) break ;; 3523ef7198c0Smrg esac 3524ef7198c0Smrg if depmode=$depmode \ 3525ef7198c0Smrg source=sub/conftest.c object=$am__obj \ 3526ef7198c0Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3527ef7198c0Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3528ef7198c0Smrg >/dev/null 2>conftest.err && 3529ef7198c0Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3530ef7198c0Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3531ef7198c0Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3532ef7198c0Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3533ef7198c0Smrg # icc doesn't choke on unknown options, it will just issue warnings 3534ef7198c0Smrg # or remarks (even with -Werror). So we grep stderr for any message 3535ef7198c0Smrg # that says an option was ignored or not supported. 3536ef7198c0Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 3537ef7198c0Smrg # icc: Command line warning: ignoring option '-M'; no argument required 3538ef7198c0Smrg # The diagnosis changed in icc 8.0: 3539ef7198c0Smrg # icc: Command line remark: option '-MP' not supported 3540ef7198c0Smrg if (grep 'ignoring option' conftest.err || 3541ef7198c0Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3542ef7198c0Smrg am_cv_CC_dependencies_compiler_type=$depmode 3543ef7198c0Smrg break 3544ef7198c0Smrg fi 3545ef7198c0Smrg fi 3546ef7198c0Smrg done 3547ef7198c0Smrg 3548ef7198c0Smrg cd .. 3549ef7198c0Smrg rm -rf conftest.dir 3550ef7198c0Smrgelse 3551ef7198c0Smrg am_cv_CC_dependencies_compiler_type=none 3552ef7198c0Smrgfi 3553ef7198c0Smrg 3554ef7198c0Smrgfi 3555ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3556ef7198c0Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3557ef7198c0SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3558ef7198c0Smrg 3559ef7198c0Smrg if 3560ef7198c0Smrg test "x$enable_dependency_tracking" != xno \ 3561ef7198c0Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3562ef7198c0Smrg am__fastdepCC_TRUE= 3563ef7198c0Smrg am__fastdepCC_FALSE='#' 3564ef7198c0Smrgelse 3565ef7198c0Smrg am__fastdepCC_TRUE='#' 3566ef7198c0Smrg am__fastdepCC_FALSE= 3567ef7198c0Smrgfi 3568ef7198c0Smrg 3569ef7198c0Smrg 3570ef7198c0Smrg 3571ef7198c0Smrgac_ext=c 3572ef7198c0Smrgac_cpp='$CPP $CPPFLAGS' 3573ef7198c0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3574ef7198c0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3575ef7198c0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3576ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3577ef7198c0Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 3578ef7198c0Smrg# On Suns, sometimes $CPP names a directory. 3579ef7198c0Smrgif test -n "$CPP" && test -d "$CPP"; then 3580ef7198c0Smrg CPP= 3581ef7198c0Smrgfi 3582ef7198c0Smrgif test -z "$CPP"; then 3583ef7198c0Smrg if test "${ac_cv_prog_CPP+set}" = set; then 3584ef7198c0Smrg $as_echo_n "(cached) " >&6 3585ef7198c0Smrgelse 3586ef7198c0Smrg # Double quotes because CPP needs to be expanded 3587ef7198c0Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3588ef7198c0Smrg do 3589ef7198c0Smrg ac_preproc_ok=false 3590ef7198c0Smrgfor ac_c_preproc_warn_flag in '' yes 3591ef7198c0Smrgdo 3592ef7198c0Smrg # Use a header file that comes with gcc, so configuring glibc 3593ef7198c0Smrg # with a fresh cross-compiler works. 3594ef7198c0Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3595ef7198c0Smrg # <limits.h> exists even on freestanding compilers. 3596ef7198c0Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 3597ef7198c0Smrg # not just through cpp. "Syntax error" is here to catch this case. 3598ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 3599ef7198c0Smrg/* confdefs.h. */ 3600ef7198c0Smrg_ACEOF 3601ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 3602ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 3603ef7198c0Smrg/* end confdefs.h. */ 3604ef7198c0Smrg#ifdef __STDC__ 3605ef7198c0Smrg# include <limits.h> 3606ef7198c0Smrg#else 3607ef7198c0Smrg# include <assert.h> 3608ef7198c0Smrg#endif 3609ef7198c0Smrg Syntax error 3610ef7198c0Smrg_ACEOF 3611ef7198c0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 3612ef7198c0Smrgcase "(($ac_try" in 3613ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3614ef7198c0Smrg *) ac_try_echo=$ac_try;; 3615ef7198c0Smrgesac 3616ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3617ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3618ef7198c0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3619ef7198c0Smrg ac_status=$? 3620ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 3621ef7198c0Smrg rm -f conftest.er1 3622ef7198c0Smrg cat conftest.err >&5 3623ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3624ef7198c0Smrg (exit $ac_status); } >/dev/null && { 3625ef7198c0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3626ef7198c0Smrg test ! -s conftest.err 3627ef7198c0Smrg }; then 3628ef7198c0Smrg : 3629ef7198c0Smrgelse 3630ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 3631ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 3632ef7198c0Smrg 3633ef7198c0Smrg # Broken: fails on valid input. 3634ef7198c0Smrgcontinue 3635ef7198c0Smrgfi 3636ef7198c0Smrg 3637ef7198c0Smrgrm -f conftest.err conftest.$ac_ext 3638ef7198c0Smrg 3639ef7198c0Smrg # OK, works on sane cases. Now check whether nonexistent headers 3640ef7198c0Smrg # can be detected and how. 3641ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 3642ef7198c0Smrg/* confdefs.h. */ 3643ef7198c0Smrg_ACEOF 3644ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 3645ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 3646ef7198c0Smrg/* end confdefs.h. */ 3647ef7198c0Smrg#include <ac_nonexistent.h> 3648ef7198c0Smrg_ACEOF 3649ef7198c0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 3650ef7198c0Smrgcase "(($ac_try" in 3651ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3652ef7198c0Smrg *) ac_try_echo=$ac_try;; 3653ef7198c0Smrgesac 3654ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3655ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3656ef7198c0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3657ef7198c0Smrg ac_status=$? 3658ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 3659ef7198c0Smrg rm -f conftest.er1 3660ef7198c0Smrg cat conftest.err >&5 3661ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3662ef7198c0Smrg (exit $ac_status); } >/dev/null && { 3663ef7198c0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3664ef7198c0Smrg test ! -s conftest.err 3665ef7198c0Smrg }; then 3666ef7198c0Smrg # Broken: success on invalid input. 3667ef7198c0Smrgcontinue 3668ef7198c0Smrgelse 3669ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 3670ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 3671ef7198c0Smrg 3672ef7198c0Smrg # Passes both tests. 3673ef7198c0Smrgac_preproc_ok=: 3674ef7198c0Smrgbreak 3675ef7198c0Smrgfi 3676ef7198c0Smrg 3677ef7198c0Smrgrm -f conftest.err conftest.$ac_ext 3678ef7198c0Smrg 3679ef7198c0Smrgdone 3680ef7198c0Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3681ef7198c0Smrgrm -f conftest.err conftest.$ac_ext 3682ef7198c0Smrgif $ac_preproc_ok; then 3683ef7198c0Smrg break 3684ef7198c0Smrgfi 3685ef7198c0Smrg 3686ef7198c0Smrg done 3687ef7198c0Smrg ac_cv_prog_CPP=$CPP 3688ef7198c0Smrg 3689ef7198c0Smrgfi 3690ef7198c0Smrg CPP=$ac_cv_prog_CPP 3691ef7198c0Smrgelse 3692ef7198c0Smrg ac_cv_prog_CPP=$CPP 3693ef7198c0Smrgfi 3694ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 3695ef7198c0Smrg$as_echo "$CPP" >&6; } 3696ef7198c0Smrgac_preproc_ok=false 3697ef7198c0Smrgfor ac_c_preproc_warn_flag in '' yes 3698ef7198c0Smrgdo 3699ef7198c0Smrg # Use a header file that comes with gcc, so configuring glibc 3700ef7198c0Smrg # with a fresh cross-compiler works. 3701ef7198c0Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3702ef7198c0Smrg # <limits.h> exists even on freestanding compilers. 3703ef7198c0Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 3704ef7198c0Smrg # not just through cpp. "Syntax error" is here to catch this case. 3705ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 3706ef7198c0Smrg/* confdefs.h. */ 3707ef7198c0Smrg_ACEOF 3708ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 3709ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 3710ef7198c0Smrg/* end confdefs.h. */ 3711ef7198c0Smrg#ifdef __STDC__ 3712ef7198c0Smrg# include <limits.h> 3713ef7198c0Smrg#else 3714ef7198c0Smrg# include <assert.h> 3715ef7198c0Smrg#endif 3716ef7198c0Smrg Syntax error 3717ef7198c0Smrg_ACEOF 3718ef7198c0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 3719ef7198c0Smrgcase "(($ac_try" in 3720ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3721ef7198c0Smrg *) ac_try_echo=$ac_try;; 3722ef7198c0Smrgesac 3723ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3724ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3725ef7198c0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3726ef7198c0Smrg ac_status=$? 3727ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 3728ef7198c0Smrg rm -f conftest.er1 3729ef7198c0Smrg cat conftest.err >&5 3730ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3731ef7198c0Smrg (exit $ac_status); } >/dev/null && { 3732ef7198c0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3733ef7198c0Smrg test ! -s conftest.err 3734ef7198c0Smrg }; then 3735ef7198c0Smrg : 3736ef7198c0Smrgelse 3737ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 3738ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 3739ef7198c0Smrg 3740ef7198c0Smrg # Broken: fails on valid input. 3741ef7198c0Smrgcontinue 3742ef7198c0Smrgfi 3743ef7198c0Smrg 3744ef7198c0Smrgrm -f conftest.err conftest.$ac_ext 3745ef7198c0Smrg 3746ef7198c0Smrg # OK, works on sane cases. Now check whether nonexistent headers 3747ef7198c0Smrg # can be detected and how. 3748ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 3749ef7198c0Smrg/* confdefs.h. */ 3750ef7198c0Smrg_ACEOF 3751ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 3752ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 3753ef7198c0Smrg/* end confdefs.h. */ 3754ef7198c0Smrg#include <ac_nonexistent.h> 3755ef7198c0Smrg_ACEOF 3756ef7198c0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 3757ef7198c0Smrgcase "(($ac_try" in 3758ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3759ef7198c0Smrg *) ac_try_echo=$ac_try;; 3760ef7198c0Smrgesac 3761ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3762ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3763ef7198c0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3764ef7198c0Smrg ac_status=$? 3765ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 3766ef7198c0Smrg rm -f conftest.er1 3767ef7198c0Smrg cat conftest.err >&5 3768ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3769ef7198c0Smrg (exit $ac_status); } >/dev/null && { 3770ef7198c0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3771ef7198c0Smrg test ! -s conftest.err 3772ef7198c0Smrg }; then 3773ef7198c0Smrg # Broken: success on invalid input. 3774ef7198c0Smrgcontinue 3775ef7198c0Smrgelse 3776ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 3777ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 3778ef7198c0Smrg 3779ef7198c0Smrg # Passes both tests. 3780ef7198c0Smrgac_preproc_ok=: 3781ef7198c0Smrgbreak 3782ef7198c0Smrgfi 3783ef7198c0Smrg 3784ef7198c0Smrgrm -f conftest.err conftest.$ac_ext 3785ef7198c0Smrg 3786ef7198c0Smrgdone 3787ef7198c0Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3788ef7198c0Smrgrm -f conftest.err conftest.$ac_ext 3789ef7198c0Smrgif $ac_preproc_ok; then 3790ef7198c0Smrg : 3791ef7198c0Smrgelse 3792ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3793ef7198c0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3794ef7198c0Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3795ef7198c0SmrgSee \`config.log' for more details." >&5 3796ef7198c0Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3797ef7198c0SmrgSee \`config.log' for more details." >&2;} 3798ef7198c0Smrg { (exit 1); exit 1; }; }; } 3799ef7198c0Smrgfi 3800ef7198c0Smrg 3801ef7198c0Smrgac_ext=c 3802ef7198c0Smrgac_cpp='$CPP $CPPFLAGS' 3803ef7198c0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3804ef7198c0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3805ef7198c0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3806ef7198c0Smrg 3807ef7198c0Smrg 3808ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3809ef7198c0Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3810ef7198c0Smrgif test "${ac_cv_path_GREP+set}" = set; then 3811ef7198c0Smrg $as_echo_n "(cached) " >&6 3812ef7198c0Smrgelse 3813ef7198c0Smrg if test -z "$GREP"; then 3814ef7198c0Smrg ac_path_GREP_found=false 3815ef7198c0Smrg # Loop through the user's path and test for each of PROGNAME-LIST 3816ef7198c0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3817ef7198c0Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3818ef7198c0Smrgdo 3819ef7198c0Smrg IFS=$as_save_IFS 3820ef7198c0Smrg test -z "$as_dir" && as_dir=. 3821ef7198c0Smrg for ac_prog in grep ggrep; do 3822ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 3823ef7198c0Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3824ef7198c0Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3825ef7198c0Smrg# Check for GNU ac_path_GREP and select it if it is found. 3826ef7198c0Smrg # Check for GNU $ac_path_GREP 3827ef7198c0Smrgcase `"$ac_path_GREP" --version 2>&1` in 3828ef7198c0Smrg*GNU*) 3829ef7198c0Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3830ef7198c0Smrg*) 3831ef7198c0Smrg ac_count=0 3832ef7198c0Smrg $as_echo_n 0123456789 >"conftest.in" 3833ef7198c0Smrg while : 3834ef7198c0Smrg do 3835ef7198c0Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 3836ef7198c0Smrg mv "conftest.tmp" "conftest.in" 3837ef7198c0Smrg cp "conftest.in" "conftest.nl" 3838ef7198c0Smrg $as_echo 'GREP' >> "conftest.nl" 3839ef7198c0Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3840ef7198c0Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3841ef7198c0Smrg ac_count=`expr $ac_count + 1` 3842ef7198c0Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 3843ef7198c0Smrg # Best one so far, save it but keep looking for a better one 3844ef7198c0Smrg ac_cv_path_GREP="$ac_path_GREP" 3845ef7198c0Smrg ac_path_GREP_max=$ac_count 3846ef7198c0Smrg fi 3847ef7198c0Smrg # 10*(2^10) chars as input seems more than enough 3848ef7198c0Smrg test $ac_count -gt 10 && break 3849ef7198c0Smrg done 3850ef7198c0Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3851ef7198c0Smrgesac 3852ef7198c0Smrg 3853ef7198c0Smrg $ac_path_GREP_found && break 3 3854ef7198c0Smrg done 3855ef7198c0Smrg done 3856ef7198c0Smrgdone 3857ef7198c0SmrgIFS=$as_save_IFS 3858ef7198c0Smrg if test -z "$ac_cv_path_GREP"; then 3859ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3860ef7198c0Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3861ef7198c0Smrg { (exit 1); exit 1; }; } 3862ef7198c0Smrg fi 3863ef7198c0Smrgelse 3864ef7198c0Smrg ac_cv_path_GREP=$GREP 3865ef7198c0Smrgfi 3866ef7198c0Smrg 3867ef7198c0Smrgfi 3868ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3869ef7198c0Smrg$as_echo "$ac_cv_path_GREP" >&6; } 3870ef7198c0Smrg GREP="$ac_cv_path_GREP" 3871ef7198c0Smrg 3872ef7198c0Smrg 3873ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 3874ef7198c0Smrg$as_echo_n "checking for egrep... " >&6; } 3875ef7198c0Smrgif test "${ac_cv_path_EGREP+set}" = set; then 3876ef7198c0Smrg $as_echo_n "(cached) " >&6 387756f6b22bSmrgelse 3878ef7198c0Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3879ef7198c0Smrg then ac_cv_path_EGREP="$GREP -E" 3880ef7198c0Smrg else 3881ef7198c0Smrg if test -z "$EGREP"; then 3882ef7198c0Smrg ac_path_EGREP_found=false 3883ef7198c0Smrg # Loop through the user's path and test for each of PROGNAME-LIST 3884ef7198c0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3885ef7198c0Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3886ef7198c0Smrgdo 3887ef7198c0Smrg IFS=$as_save_IFS 3888ef7198c0Smrg test -z "$as_dir" && as_dir=. 3889ef7198c0Smrg for ac_prog in egrep; do 3890ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 3891ef7198c0Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3892ef7198c0Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3893ef7198c0Smrg# Check for GNU ac_path_EGREP and select it if it is found. 3894ef7198c0Smrg # Check for GNU $ac_path_EGREP 3895ef7198c0Smrgcase `"$ac_path_EGREP" --version 2>&1` in 3896ef7198c0Smrg*GNU*) 3897ef7198c0Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3898ef7198c0Smrg*) 3899ef7198c0Smrg ac_count=0 3900ef7198c0Smrg $as_echo_n 0123456789 >"conftest.in" 3901ef7198c0Smrg while : 3902ef7198c0Smrg do 3903ef7198c0Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 3904ef7198c0Smrg mv "conftest.tmp" "conftest.in" 3905ef7198c0Smrg cp "conftest.in" "conftest.nl" 3906ef7198c0Smrg $as_echo 'EGREP' >> "conftest.nl" 3907ef7198c0Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3908ef7198c0Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3909ef7198c0Smrg ac_count=`expr $ac_count + 1` 3910ef7198c0Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3911ef7198c0Smrg # Best one so far, save it but keep looking for a better one 3912ef7198c0Smrg ac_cv_path_EGREP="$ac_path_EGREP" 3913ef7198c0Smrg ac_path_EGREP_max=$ac_count 3914ef7198c0Smrg fi 3915ef7198c0Smrg # 10*(2^10) chars as input seems more than enough 3916ef7198c0Smrg test $ac_count -gt 10 && break 3917ef7198c0Smrg done 3918ef7198c0Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3919ef7198c0Smrgesac 3920ef7198c0Smrg 3921ef7198c0Smrg $ac_path_EGREP_found && break 3 3922ef7198c0Smrg done 3923ef7198c0Smrg done 3924ef7198c0Smrgdone 3925ef7198c0SmrgIFS=$as_save_IFS 3926ef7198c0Smrg if test -z "$ac_cv_path_EGREP"; then 3927ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3928ef7198c0Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3929ef7198c0Smrg { (exit 1); exit 1; }; } 3930ef7198c0Smrg fi 3931ef7198c0Smrgelse 3932ef7198c0Smrg ac_cv_path_EGREP=$EGREP 3933ef7198c0Smrgfi 3934ef7198c0Smrg 3935ef7198c0Smrg fi 3936ef7198c0Smrgfi 3937ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3938ef7198c0Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 3939ef7198c0Smrg EGREP="$ac_cv_path_EGREP" 3940ef7198c0Smrg 3941ef7198c0Smrg 3942ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3943ef7198c0Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 3944ef7198c0Smrgif test "${ac_cv_header_stdc+set}" = set; then 3945ef7198c0Smrg $as_echo_n "(cached) " >&6 3946ef7198c0Smrgelse 3947ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 3948ef7198c0Smrg/* confdefs.h. */ 3949ef7198c0Smrg_ACEOF 3950ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 3951ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 3952ef7198c0Smrg/* end confdefs.h. */ 3953ef7198c0Smrg#include <stdlib.h> 3954ef7198c0Smrg#include <stdarg.h> 3955ef7198c0Smrg#include <string.h> 3956ef7198c0Smrg#include <float.h> 3957ef7198c0Smrg 3958ef7198c0Smrgint 3959ef7198c0Smrgmain () 3960ef7198c0Smrg{ 3961ef7198c0Smrg 3962ef7198c0Smrg ; 3963ef7198c0Smrg return 0; 3964ef7198c0Smrg} 3965ef7198c0Smrg_ACEOF 3966ef7198c0Smrgrm -f conftest.$ac_objext 3967ef7198c0Smrgif { (ac_try="$ac_compile" 3968ef7198c0Smrgcase "(($ac_try" in 3969ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3970ef7198c0Smrg *) ac_try_echo=$ac_try;; 3971ef7198c0Smrgesac 3972ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3973ef7198c0Smrg$as_echo "$ac_try_echo") >&5 3974ef7198c0Smrg (eval "$ac_compile") 2>conftest.er1 3975ef7198c0Smrg ac_status=$? 3976ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 3977ef7198c0Smrg rm -f conftest.er1 3978ef7198c0Smrg cat conftest.err >&5 3979ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3980ef7198c0Smrg (exit $ac_status); } && { 3981ef7198c0Smrg test -z "$ac_c_werror_flag" || 3982ef7198c0Smrg test ! -s conftest.err 3983ef7198c0Smrg } && test -s conftest.$ac_objext; then 3984ef7198c0Smrg ac_cv_header_stdc=yes 3985ef7198c0Smrgelse 3986ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 3987ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 3988ef7198c0Smrg 3989ef7198c0Smrg ac_cv_header_stdc=no 3990ef7198c0Smrgfi 3991ef7198c0Smrg 3992ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3993ef7198c0Smrg 3994ef7198c0Smrgif test $ac_cv_header_stdc = yes; then 3995ef7198c0Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3996ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 3997ef7198c0Smrg/* confdefs.h. */ 3998ef7198c0Smrg_ACEOF 3999ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 4000ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 4001ef7198c0Smrg/* end confdefs.h. */ 4002ef7198c0Smrg#include <string.h> 4003ef7198c0Smrg 4004ef7198c0Smrg_ACEOF 4005ef7198c0Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4006ef7198c0Smrg $EGREP "memchr" >/dev/null 2>&1; then 4007ef7198c0Smrg : 4008ef7198c0Smrgelse 4009ef7198c0Smrg ac_cv_header_stdc=no 4010ef7198c0Smrgfi 4011ef7198c0Smrgrm -f conftest* 4012ef7198c0Smrg 4013ef7198c0Smrgfi 4014ef7198c0Smrg 4015ef7198c0Smrgif test $ac_cv_header_stdc = yes; then 4016ef7198c0Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4017ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 4018ef7198c0Smrg/* confdefs.h. */ 4019ef7198c0Smrg_ACEOF 4020ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 4021ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 4022ef7198c0Smrg/* end confdefs.h. */ 4023ef7198c0Smrg#include <stdlib.h> 4024ef7198c0Smrg 4025ef7198c0Smrg_ACEOF 4026ef7198c0Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4027ef7198c0Smrg $EGREP "free" >/dev/null 2>&1; then 4028ef7198c0Smrg : 4029ef7198c0Smrgelse 4030ef7198c0Smrg ac_cv_header_stdc=no 4031ef7198c0Smrgfi 4032ef7198c0Smrgrm -f conftest* 4033ef7198c0Smrg 4034ef7198c0Smrgfi 4035ef7198c0Smrg 4036ef7198c0Smrgif test $ac_cv_header_stdc = yes; then 4037ef7198c0Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4038ef7198c0Smrg if test "$cross_compiling" = yes; then 4039ef7198c0Smrg : 4040ef7198c0Smrgelse 4041ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 4042ef7198c0Smrg/* confdefs.h. */ 4043ef7198c0Smrg_ACEOF 4044ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 4045ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 4046ef7198c0Smrg/* end confdefs.h. */ 4047ef7198c0Smrg#include <ctype.h> 4048ef7198c0Smrg#include <stdlib.h> 4049ef7198c0Smrg#if ((' ' & 0x0FF) == 0x020) 4050ef7198c0Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4051ef7198c0Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4052ef7198c0Smrg#else 4053ef7198c0Smrg# define ISLOWER(c) \ 4054ef7198c0Smrg (('a' <= (c) && (c) <= 'i') \ 4055ef7198c0Smrg || ('j' <= (c) && (c) <= 'r') \ 4056ef7198c0Smrg || ('s' <= (c) && (c) <= 'z')) 4057ef7198c0Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4058ef7198c0Smrg#endif 4059ef7198c0Smrg 4060ef7198c0Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4061ef7198c0Smrgint 4062ef7198c0Smrgmain () 4063ef7198c0Smrg{ 4064ef7198c0Smrg int i; 4065ef7198c0Smrg for (i = 0; i < 256; i++) 4066ef7198c0Smrg if (XOR (islower (i), ISLOWER (i)) 4067ef7198c0Smrg || toupper (i) != TOUPPER (i)) 4068ef7198c0Smrg return 2; 4069ef7198c0Smrg return 0; 4070ef7198c0Smrg} 4071ef7198c0Smrg_ACEOF 4072ef7198c0Smrgrm -f conftest$ac_exeext 4073ef7198c0Smrgif { (ac_try="$ac_link" 4074ef7198c0Smrgcase "(($ac_try" in 4075ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4076ef7198c0Smrg *) ac_try_echo=$ac_try;; 4077ef7198c0Smrgesac 4078ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4079ef7198c0Smrg$as_echo "$ac_try_echo") >&5 4080ef7198c0Smrg (eval "$ac_link") 2>&5 4081ef7198c0Smrg ac_status=$? 4082ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4083ef7198c0Smrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4084ef7198c0Smrg { (case "(($ac_try" in 4085ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4086ef7198c0Smrg *) ac_try_echo=$ac_try;; 4087ef7198c0Smrgesac 4088ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4089ef7198c0Smrg$as_echo "$ac_try_echo") >&5 4090ef7198c0Smrg (eval "$ac_try") 2>&5 4091ef7198c0Smrg ac_status=$? 4092ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4093ef7198c0Smrg (exit $ac_status); }; }; then 4094ef7198c0Smrg : 4095ef7198c0Smrgelse 4096ef7198c0Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 4097ef7198c0Smrg$as_echo "$as_me: failed program was:" >&5 4098ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 4099ef7198c0Smrg 4100ef7198c0Smrg( exit $ac_status ) 4101ef7198c0Smrgac_cv_header_stdc=no 4102ef7198c0Smrgfi 4103ef7198c0Smrgrm -rf conftest.dSYM 4104ef7198c0Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4105ef7198c0Smrgfi 4106ef7198c0Smrg 4107ef7198c0Smrg 4108ef7198c0Smrgfi 4109ef7198c0Smrgfi 4110ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4111ef7198c0Smrg$as_echo "$ac_cv_header_stdc" >&6; } 4112ef7198c0Smrgif test $ac_cv_header_stdc = yes; then 4113ef7198c0Smrg 4114ef7198c0Smrgcat >>confdefs.h <<\_ACEOF 4115ef7198c0Smrg#define STDC_HEADERS 1 4116ef7198c0Smrg_ACEOF 4117ef7198c0Smrg 4118ef7198c0Smrgfi 4119ef7198c0Smrg 4120ef7198c0Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4121ef7198c0Smrg 4122ef7198c0Smrg 4123ef7198c0Smrg 4124ef7198c0Smrg 4125ef7198c0Smrg 4126ef7198c0Smrg 4127ef7198c0Smrg 4128ef7198c0Smrg 4129ef7198c0Smrg 4130ef7198c0Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4131ef7198c0Smrg inttypes.h stdint.h unistd.h 4132ef7198c0Smrgdo 4133ef7198c0Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4134ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4135ef7198c0Smrg$as_echo_n "checking for $ac_header... " >&6; } 4136ef7198c0Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4137ef7198c0Smrg $as_echo_n "(cached) " >&6 4138ef7198c0Smrgelse 4139ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 4140ef7198c0Smrg/* confdefs.h. */ 4141ef7198c0Smrg_ACEOF 4142ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 4143ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 4144ef7198c0Smrg/* end confdefs.h. */ 4145ef7198c0Smrg$ac_includes_default 4146ef7198c0Smrg 4147ef7198c0Smrg#include <$ac_header> 4148ef7198c0Smrg_ACEOF 4149ef7198c0Smrgrm -f conftest.$ac_objext 4150ef7198c0Smrgif { (ac_try="$ac_compile" 4151ef7198c0Smrgcase "(($ac_try" in 4152ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4153ef7198c0Smrg *) ac_try_echo=$ac_try;; 4154ef7198c0Smrgesac 4155ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4156ef7198c0Smrg$as_echo "$ac_try_echo") >&5 4157ef7198c0Smrg (eval "$ac_compile") 2>conftest.er1 4158ef7198c0Smrg ac_status=$? 4159ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 4160ef7198c0Smrg rm -f conftest.er1 4161ef7198c0Smrg cat conftest.err >&5 4162ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4163ef7198c0Smrg (exit $ac_status); } && { 4164ef7198c0Smrg test -z "$ac_c_werror_flag" || 4165ef7198c0Smrg test ! -s conftest.err 4166ef7198c0Smrg } && test -s conftest.$ac_objext; then 4167ef7198c0Smrg eval "$as_ac_Header=yes" 4168ef7198c0Smrgelse 4169ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 4170ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 4171ef7198c0Smrg 4172ef7198c0Smrg eval "$as_ac_Header=no" 4173ef7198c0Smrgfi 4174ef7198c0Smrg 4175ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4176ef7198c0Smrgfi 4177ef7198c0Smrgac_res=`eval 'as_val=${'$as_ac_Header'} 4178ef7198c0Smrg $as_echo "$as_val"'` 4179ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4180ef7198c0Smrg$as_echo "$ac_res" >&6; } 4181ef7198c0Smrgas_val=`eval 'as_val=${'$as_ac_Header'} 4182ef7198c0Smrg $as_echo "$as_val"'` 4183ef7198c0Smrg if test "x$as_val" = x""yes; then 4184ef7198c0Smrg cat >>confdefs.h <<_ACEOF 4185ef7198c0Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4186ef7198c0Smrg_ACEOF 4187ef7198c0Smrg 4188ef7198c0Smrgfi 4189ef7198c0Smrg 4190ef7198c0Smrgdone 4191ef7198c0Smrg 4192ef7198c0Smrg 4193ef7198c0Smrg { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 4194ef7198c0Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4195ef7198c0Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then 4196ef7198c0Smrg $as_echo_n "(cached) " >&6 4197ef7198c0Smrgelse 4198ef7198c0Smrg ac_cv_prog_cc_c99=no 4199ef7198c0Smrgac_save_CC=$CC 4200ef7198c0Smrgcat >conftest.$ac_ext <<_ACEOF 4201ef7198c0Smrg/* confdefs.h. */ 4202ef7198c0Smrg_ACEOF 4203ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 4204ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 4205ef7198c0Smrg/* end confdefs.h. */ 4206ef7198c0Smrg#include <stdarg.h> 4207ef7198c0Smrg#include <stdbool.h> 4208ef7198c0Smrg#include <stdlib.h> 4209ef7198c0Smrg#include <wchar.h> 4210ef7198c0Smrg#include <stdio.h> 4211ef7198c0Smrg 4212ef7198c0Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 4213ef7198c0Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 4214ef7198c0Smrg#define showlist(...) puts (#__VA_ARGS__) 4215ef7198c0Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4216ef7198c0Smrgstatic void 4217ef7198c0Smrgtest_varargs_macros (void) 4218ef7198c0Smrg{ 4219ef7198c0Smrg int x = 1234; 4220ef7198c0Smrg int y = 5678; 4221ef7198c0Smrg debug ("Flag"); 4222ef7198c0Smrg debug ("X = %d\n", x); 4223ef7198c0Smrg showlist (The first, second, and third items.); 4224ef7198c0Smrg report (x>y, "x is %d but y is %d", x, y); 4225ef7198c0Smrg} 4226ef7198c0Smrg 4227ef7198c0Smrg// Check long long types. 4228ef7198c0Smrg#define BIG64 18446744073709551615ull 4229ef7198c0Smrg#define BIG32 4294967295ul 4230ef7198c0Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4231ef7198c0Smrg#if !BIG_OK 4232ef7198c0Smrg your preprocessor is broken; 4233ef7198c0Smrg#endif 4234ef7198c0Smrg#if BIG_OK 4235ef7198c0Smrg#else 4236ef7198c0Smrg your preprocessor is broken; 4237ef7198c0Smrg#endif 4238ef7198c0Smrgstatic long long int bignum = -9223372036854775807LL; 4239ef7198c0Smrgstatic unsigned long long int ubignum = BIG64; 4240ef7198c0Smrg 4241ef7198c0Smrgstruct incomplete_array 4242ef7198c0Smrg{ 4243ef7198c0Smrg int datasize; 4244ef7198c0Smrg double data[]; 4245ef7198c0Smrg}; 4246ef7198c0Smrg 4247ef7198c0Smrgstruct named_init { 4248ef7198c0Smrg int number; 4249ef7198c0Smrg const wchar_t *name; 4250ef7198c0Smrg double average; 4251ef7198c0Smrg}; 4252ef7198c0Smrg 4253ef7198c0Smrgtypedef const char *ccp; 4254ef7198c0Smrg 4255ef7198c0Smrgstatic inline int 4256ef7198c0Smrgtest_restrict (ccp restrict text) 4257ef7198c0Smrg{ 4258ef7198c0Smrg // See if C++-style comments work. 4259ef7198c0Smrg // Iterate through items via the restricted pointer. 4260ef7198c0Smrg // Also check for declarations in for loops. 4261ef7198c0Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4262ef7198c0Smrg continue; 4263ef7198c0Smrg return 0; 4264ef7198c0Smrg} 4265ef7198c0Smrg 4266ef7198c0Smrg// Check varargs and va_copy. 4267ef7198c0Smrgstatic void 4268ef7198c0Smrgtest_varargs (const char *format, ...) 4269ef7198c0Smrg{ 4270ef7198c0Smrg va_list args; 4271ef7198c0Smrg va_start (args, format); 4272ef7198c0Smrg va_list args_copy; 4273ef7198c0Smrg va_copy (args_copy, args); 4274ef7198c0Smrg 4275ef7198c0Smrg const char *str; 4276ef7198c0Smrg int number; 4277ef7198c0Smrg float fnumber; 4278ef7198c0Smrg 4279ef7198c0Smrg while (*format) 4280ef7198c0Smrg { 4281ef7198c0Smrg switch (*format++) 4282ef7198c0Smrg { 4283ef7198c0Smrg case 's': // string 4284ef7198c0Smrg str = va_arg (args_copy, const char *); 4285ef7198c0Smrg break; 4286ef7198c0Smrg case 'd': // int 4287ef7198c0Smrg number = va_arg (args_copy, int); 4288ef7198c0Smrg break; 4289ef7198c0Smrg case 'f': // float 4290ef7198c0Smrg fnumber = va_arg (args_copy, double); 4291ef7198c0Smrg break; 4292ef7198c0Smrg default: 4293ef7198c0Smrg break; 4294ef7198c0Smrg } 4295ef7198c0Smrg } 4296ef7198c0Smrg va_end (args_copy); 4297ef7198c0Smrg va_end (args); 4298ef7198c0Smrg} 4299ef7198c0Smrg 4300ef7198c0Smrgint 4301ef7198c0Smrgmain () 4302ef7198c0Smrg{ 4303ef7198c0Smrg 4304ef7198c0Smrg // Check bool. 4305ef7198c0Smrg _Bool success = false; 4306ef7198c0Smrg 4307ef7198c0Smrg // Check restrict. 4308ef7198c0Smrg if (test_restrict ("String literal") == 0) 4309ef7198c0Smrg success = true; 4310ef7198c0Smrg char *restrict newvar = "Another string"; 4311ef7198c0Smrg 4312ef7198c0Smrg // Check varargs. 4313ef7198c0Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 4314ef7198c0Smrg test_varargs_macros (); 4315ef7198c0Smrg 4316ef7198c0Smrg // Check flexible array members. 4317ef7198c0Smrg struct incomplete_array *ia = 4318ef7198c0Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4319ef7198c0Smrg ia->datasize = 10; 4320ef7198c0Smrg for (int i = 0; i < ia->datasize; ++i) 4321ef7198c0Smrg ia->data[i] = i * 1.234; 4322ef7198c0Smrg 4323ef7198c0Smrg // Check named initializers. 4324ef7198c0Smrg struct named_init ni = { 4325ef7198c0Smrg .number = 34, 4326ef7198c0Smrg .name = L"Test wide string", 4327ef7198c0Smrg .average = 543.34343, 4328ef7198c0Smrg }; 4329ef7198c0Smrg 4330ef7198c0Smrg ni.number = 58; 4331ef7198c0Smrg 4332ef7198c0Smrg int dynamic_array[ni.number]; 4333ef7198c0Smrg dynamic_array[ni.number - 1] = 543; 4334ef7198c0Smrg 4335ef7198c0Smrg // work around unused variable warnings 4336ef7198c0Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4337ef7198c0Smrg || dynamic_array[ni.number - 1] != 543); 4338ef7198c0Smrg 4339ef7198c0Smrg ; 4340ef7198c0Smrg return 0; 4341ef7198c0Smrg} 4342ef7198c0Smrg_ACEOF 4343ef7198c0Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 4344ef7198c0Smrgdo 4345ef7198c0Smrg CC="$ac_save_CC $ac_arg" 4346ef7198c0Smrg rm -f conftest.$ac_objext 4347ef7198c0Smrgif { (ac_try="$ac_compile" 4348ef7198c0Smrgcase "(($ac_try" in 4349ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4350ef7198c0Smrg *) ac_try_echo=$ac_try;; 4351ef7198c0Smrgesac 4352ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4353ef7198c0Smrg$as_echo "$ac_try_echo") >&5 4354ef7198c0Smrg (eval "$ac_compile") 2>conftest.er1 4355ef7198c0Smrg ac_status=$? 4356ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 4357ef7198c0Smrg rm -f conftest.er1 4358ef7198c0Smrg cat conftest.err >&5 4359ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4360ef7198c0Smrg (exit $ac_status); } && { 4361ef7198c0Smrg test -z "$ac_c_werror_flag" || 4362ef7198c0Smrg test ! -s conftest.err 4363ef7198c0Smrg } && test -s conftest.$ac_objext; then 4364ef7198c0Smrg ac_cv_prog_cc_c99=$ac_arg 4365ef7198c0Smrgelse 4366ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 4367ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 4368ef7198c0Smrg 4369ef7198c0Smrg 4370ef7198c0Smrgfi 4371ef7198c0Smrg 4372ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext 4373ef7198c0Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 4374ef7198c0Smrgdone 4375ef7198c0Smrgrm -f conftest.$ac_ext 4376ef7198c0SmrgCC=$ac_save_CC 4377ef7198c0Smrg 4378ef7198c0Smrgfi 4379ef7198c0Smrg# AC_CACHE_VAL 4380ef7198c0Smrgcase "x$ac_cv_prog_cc_c99" in 4381ef7198c0Smrg x) 4382ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 4383ef7198c0Smrg$as_echo "none needed" >&6; } ;; 4384ef7198c0Smrg xno) 4385ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 4386ef7198c0Smrg$as_echo "unsupported" >&6; } ;; 4387ef7198c0Smrg *) 4388ef7198c0Smrg CC="$CC $ac_cv_prog_cc_c99" 4389ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 4390ef7198c0Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4391ef7198c0Smrgesac 4392ef7198c0Smrg 4393ef7198c0Smrg 4394ef7198c0Smrg 4395ef7198c0Smrg# Make sure we can run config.sub. 4396ef7198c0Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4397ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4398ef7198c0Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4399ef7198c0Smrg { (exit 1); exit 1; }; } 4400ef7198c0Smrg 4401ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5 4402ef7198c0Smrg$as_echo_n "checking build system type... " >&6; } 4403ef7198c0Smrgif test "${ac_cv_build+set}" = set; then 4404ef7198c0Smrg $as_echo_n "(cached) " >&6 4405ef7198c0Smrgelse 4406ef7198c0Smrg ac_build_alias=$build_alias 4407ef7198c0Smrgtest "x$ac_build_alias" = x && 4408ef7198c0Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4409ef7198c0Smrgtest "x$ac_build_alias" = x && 4410ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4411ef7198c0Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4412ef7198c0Smrg { (exit 1); exit 1; }; } 4413ef7198c0Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4414ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4415ef7198c0Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4416ef7198c0Smrg { (exit 1); exit 1; }; } 4417ef7198c0Smrg 4418ef7198c0Smrgfi 4419ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4420ef7198c0Smrg$as_echo "$ac_cv_build" >&6; } 4421ef7198c0Smrgcase $ac_cv_build in 4422ef7198c0Smrg*-*-*) ;; 4423ef7198c0Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4424ef7198c0Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;} 4425ef7198c0Smrg { (exit 1); exit 1; }; };; 4426ef7198c0Smrgesac 4427ef7198c0Smrgbuild=$ac_cv_build 4428ef7198c0Smrgac_save_IFS=$IFS; IFS='-' 4429ef7198c0Smrgset x $ac_cv_build 4430ef7198c0Smrgshift 4431ef7198c0Smrgbuild_cpu=$1 4432ef7198c0Smrgbuild_vendor=$2 4433ef7198c0Smrgshift; shift 4434ef7198c0Smrg# Remember, the first character of IFS is used to create $*, 4435ef7198c0Smrg# except with old shells: 4436ef7198c0Smrgbuild_os=$* 4437ef7198c0SmrgIFS=$ac_save_IFS 4438ef7198c0Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4439ef7198c0Smrg 4440ef7198c0Smrg 4441ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5 4442ef7198c0Smrg$as_echo_n "checking host system type... " >&6; } 4443ef7198c0Smrgif test "${ac_cv_host+set}" = set; then 4444ef7198c0Smrg $as_echo_n "(cached) " >&6 4445ef7198c0Smrgelse 4446ef7198c0Smrg if test "x$host_alias" = x; then 4447ef7198c0Smrg ac_cv_host=$ac_cv_build 4448ef7198c0Smrgelse 4449ef7198c0Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4450ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4451ef7198c0Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4452ef7198c0Smrg { (exit 1); exit 1; }; } 4453ef7198c0Smrgfi 4454ef7198c0Smrg 4455ef7198c0Smrgfi 4456ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4457ef7198c0Smrg$as_echo "$ac_cv_host" >&6; } 4458ef7198c0Smrgcase $ac_cv_host in 4459ef7198c0Smrg*-*-*) ;; 4460ef7198c0Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4461ef7198c0Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;} 4462ef7198c0Smrg { (exit 1); exit 1; }; };; 4463ef7198c0Smrgesac 4464ef7198c0Smrghost=$ac_cv_host 4465ef7198c0Smrgac_save_IFS=$IFS; IFS='-' 4466ef7198c0Smrgset x $ac_cv_host 4467ef7198c0Smrgshift 4468ef7198c0Smrghost_cpu=$1 4469ef7198c0Smrghost_vendor=$2 4470ef7198c0Smrgshift; shift 4471ef7198c0Smrg# Remember, the first character of IFS is used to create $*, 4472ef7198c0Smrg# except with old shells: 4473ef7198c0Smrghost_os=$* 4474ef7198c0SmrgIFS=$ac_save_IFS 4475ef7198c0Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4476ef7198c0Smrg 4477ef7198c0Smrg 4478ef7198c0Smrg 4479ef7198c0Smrg 4480ef7198c0Smrg 4481ef7198c0Smrgif test "x$GCC" = xyes ; then 4482ef7198c0Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4483ef7198c0Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4484ef7198c0Smrg-Wbad-function-cast" 4485ef7198c0Smrg case `$CC -dumpversion` in 4486ef7198c0Smrg 3.4.* | 4.*) 4487ef7198c0Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4488ef7198c0Smrg ;; 4489ef7198c0Smrg esac 4490ef7198c0Smrgelse 4491ef7198c0Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 4492ef7198c0Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 4493ef7198c0Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 4494ef7198c0Smrg $as_echo_n "(cached) " >&6 4495ef7198c0Smrgelse 4496ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 4497ef7198c0Smrg/* confdefs.h. */ 4498ef7198c0Smrg_ACEOF 4499ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 4500ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 4501ef7198c0Smrg/* end confdefs.h. */ 4502ef7198c0Smrg$ac_includes_default 4503ef7198c0Smrgint 4504ef7198c0Smrgmain () 4505ef7198c0Smrg{ 4506ef7198c0Smrg#ifndef __SUNPRO_C 4507ef7198c0Smrg (void) __SUNPRO_C; 4508ef7198c0Smrg#endif 4509ef7198c0Smrg 4510ef7198c0Smrg ; 4511ef7198c0Smrg return 0; 4512ef7198c0Smrg} 4513ef7198c0Smrg_ACEOF 4514ef7198c0Smrgrm -f conftest.$ac_objext 4515ef7198c0Smrgif { (ac_try="$ac_compile" 4516ef7198c0Smrgcase "(($ac_try" in 4517ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4518ef7198c0Smrg *) ac_try_echo=$ac_try;; 4519ef7198c0Smrgesac 4520ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4521ef7198c0Smrg$as_echo "$ac_try_echo") >&5 4522ef7198c0Smrg (eval "$ac_compile") 2>conftest.er1 4523ef7198c0Smrg ac_status=$? 4524ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 4525ef7198c0Smrg rm -f conftest.er1 4526ef7198c0Smrg cat conftest.err >&5 4527ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4528ef7198c0Smrg (exit $ac_status); } && { 4529ef7198c0Smrg test -z "$ac_c_werror_flag" || 4530ef7198c0Smrg test ! -s conftest.err 4531ef7198c0Smrg } && test -s conftest.$ac_objext; then 4532ef7198c0Smrg ac_cv_have_decl___SUNPRO_C=yes 4533ef7198c0Smrgelse 4534ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 4535ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 4536ef7198c0Smrg 4537ef7198c0Smrg ac_cv_have_decl___SUNPRO_C=no 4538ef7198c0Smrgfi 4539ef7198c0Smrg 4540ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4541ef7198c0Smrgfi 4542ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 4543ef7198c0Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 4544ef7198c0Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 4545ef7198c0Smrg SUNCC="yes" 4546ef7198c0Smrgelse 4547ef7198c0Smrg SUNCC="no" 4548ef7198c0Smrgfi 4549ef7198c0Smrg 4550ef7198c0Smrg if test "x$SUNCC" = "xyes"; then 4551ef7198c0Smrg CWARNFLAGS="-v" 4552ef7198c0Smrg fi 4553ef7198c0Smrgfi 4554ef7198c0Smrg 4555ef7198c0Smrg# Check whether --enable-silent-rules was given. 4556ef7198c0Smrgif test "${enable_silent_rules+set}" = set; then 4557ef7198c0Smrg enableval=$enable_silent_rules; 4558ef7198c0Smrgfi 4559ef7198c0Smrg 4560ef7198c0Smrgcase $enable_silent_rules in 4561ef7198c0Smrgyes) AM_DEFAULT_VERBOSITY=0;; 4562ef7198c0Smrgno) AM_DEFAULT_VERBOSITY=1;; 4563ef7198c0Smrg*) AM_DEFAULT_VERBOSITY=0;; 4564ef7198c0Smrgesac 4565ef7198c0SmrgAM_BACKSLASH='\' 4566ef7198c0Smrg 4567ef7198c0Smrg 4568ef7198c0Smrg 4569ef7198c0Smrg 4570ef7198c0Smrg 4571ef7198c0Smrg 4572ef7198c0Smrg 4573ef7198c0Smrg# Check whether --enable-strict-compilation was given. 4574ef7198c0Smrgif test "${enable_strict_compilation+set}" = set; then 4575ef7198c0Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4576ef7198c0Smrgelse 4577ef7198c0Smrg STRICT_COMPILE=no 4578ef7198c0Smrgfi 4579ef7198c0Smrg 4580ef7198c0Smrgif test "x$STRICT_COMPILE" = "xyes"; then 4581ef7198c0Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 4582ef7198c0Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 4583ef7198c0Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 4584ef7198c0Smrg $as_echo_n "(cached) " >&6 4585ef7198c0Smrgelse 4586ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 4587ef7198c0Smrg/* confdefs.h. */ 4588ef7198c0Smrg_ACEOF 4589ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 4590ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 4591ef7198c0Smrg/* end confdefs.h. */ 4592ef7198c0Smrg$ac_includes_default 4593ef7198c0Smrgint 4594ef7198c0Smrgmain () 4595ef7198c0Smrg{ 4596ef7198c0Smrg#ifndef __SUNPRO_C 4597ef7198c0Smrg (void) __SUNPRO_C; 4598ef7198c0Smrg#endif 4599ef7198c0Smrg 4600ef7198c0Smrg ; 4601ef7198c0Smrg return 0; 4602ef7198c0Smrg} 4603ef7198c0Smrg_ACEOF 4604ef7198c0Smrgrm -f conftest.$ac_objext 4605ef7198c0Smrgif { (ac_try="$ac_compile" 4606ef7198c0Smrgcase "(($ac_try" in 4607ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4608ef7198c0Smrg *) ac_try_echo=$ac_try;; 4609ef7198c0Smrgesac 4610ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4611ef7198c0Smrg$as_echo "$ac_try_echo") >&5 4612ef7198c0Smrg (eval "$ac_compile") 2>conftest.er1 4613ef7198c0Smrg ac_status=$? 4614ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 4615ef7198c0Smrg rm -f conftest.er1 4616ef7198c0Smrg cat conftest.err >&5 4617ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4618ef7198c0Smrg (exit $ac_status); } && { 4619ef7198c0Smrg test -z "$ac_c_werror_flag" || 4620ef7198c0Smrg test ! -s conftest.err 4621ef7198c0Smrg } && test -s conftest.$ac_objext; then 4622ef7198c0Smrg ac_cv_have_decl___SUNPRO_C=yes 4623ef7198c0Smrgelse 4624ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 4625ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 4626ef7198c0Smrg 4627ef7198c0Smrg ac_cv_have_decl___SUNPRO_C=no 4628ef7198c0Smrgfi 4629ef7198c0Smrg 4630ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4631ef7198c0Smrgfi 4632ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 4633ef7198c0Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 4634ef7198c0Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 4635ef7198c0Smrg SUNCC="yes" 4636ef7198c0Smrgelse 4637ef7198c0Smrg SUNCC="no" 4638ef7198c0Smrgfi 4639ef7198c0Smrg 4640ef7198c0Smrg { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 4641ef7198c0Smrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 4642ef7198c0Smrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 4643ef7198c0Smrg $as_echo_n "(cached) " >&6 4644ef7198c0Smrgelse 4645ef7198c0Smrg cat >conftest.$ac_ext <<_ACEOF 4646ef7198c0Smrg/* confdefs.h. */ 4647ef7198c0Smrg_ACEOF 4648ef7198c0Smrgcat confdefs.h >>conftest.$ac_ext 4649ef7198c0Smrgcat >>conftest.$ac_ext <<_ACEOF 4650ef7198c0Smrg/* end confdefs.h. */ 4651ef7198c0Smrg$ac_includes_default 4652ef7198c0Smrgint 4653ef7198c0Smrgmain () 4654ef7198c0Smrg{ 4655ef7198c0Smrg#ifndef __INTEL_COMPILER 4656ef7198c0Smrg (void) __INTEL_COMPILER; 4657ef7198c0Smrg#endif 4658ef7198c0Smrg 4659ef7198c0Smrg ; 4660ef7198c0Smrg return 0; 4661ef7198c0Smrg} 4662ef7198c0Smrg_ACEOF 4663ef7198c0Smrgrm -f conftest.$ac_objext 4664ef7198c0Smrgif { (ac_try="$ac_compile" 4665ef7198c0Smrgcase "(($ac_try" in 4666ef7198c0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4667ef7198c0Smrg *) ac_try_echo=$ac_try;; 4668ef7198c0Smrgesac 4669ef7198c0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4670ef7198c0Smrg$as_echo "$ac_try_echo") >&5 4671ef7198c0Smrg (eval "$ac_compile") 2>conftest.er1 4672ef7198c0Smrg ac_status=$? 4673ef7198c0Smrg grep -v '^ *+' conftest.er1 >conftest.err 4674ef7198c0Smrg rm -f conftest.er1 4675ef7198c0Smrg cat conftest.err >&5 4676ef7198c0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4677ef7198c0Smrg (exit $ac_status); } && { 4678ef7198c0Smrg test -z "$ac_c_werror_flag" || 4679ef7198c0Smrg test ! -s conftest.err 4680ef7198c0Smrg } && test -s conftest.$ac_objext; then 4681ef7198c0Smrg ac_cv_have_decl___INTEL_COMPILER=yes 4682ef7198c0Smrgelse 4683ef7198c0Smrg $as_echo "$as_me: failed program was:" >&5 4684ef7198c0Smrgsed 's/^/| /' conftest.$ac_ext >&5 4685ef7198c0Smrg 4686ef7198c0Smrg ac_cv_have_decl___INTEL_COMPILER=no 4687ef7198c0Smrgfi 4688ef7198c0Smrg 4689ef7198c0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4690ef7198c0Smrgfi 4691ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 4692ef7198c0Smrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 4693ef7198c0Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then 4694ef7198c0Smrg INTELCC="yes" 4695ef7198c0Smrgelse 4696ef7198c0Smrg INTELCC="no" 4697ef7198c0Smrgfi 4698ef7198c0Smrg 4699ef7198c0Smrg if test "x$GCC" = xyes ; then 4700ef7198c0Smrg STRICT_CFLAGS="-pedantic -Werror" 4701ef7198c0Smrg elif test "x$SUNCC" = "xyes"; then 4702ef7198c0Smrg STRICT_CFLAGS="-errwarn" 4703ef7198c0Smrg elif test "x$INTELCC" = "xyes"; then 4704ef7198c0Smrg STRICT_CFLAGS="-Werror" 4705ef7198c0Smrg fi 4706ef7198c0Smrgfi 4707ef7198c0SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4708ef7198c0Smrg 4709ef7198c0Smrg 4710ef7198c0Smrg 4711ef7198c0Smrg 4712ef7198c0Smrg# Check whether --with-release-version was given. 4713ef7198c0Smrgif test "${with_release_version+set}" = set; then 4714ef7198c0Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 4715ef7198c0Smrgelse 4716ef7198c0Smrg RELEASE_VERSION="" 4717ef7198c0Smrgfi 4718ef7198c0Smrg 4719ef7198c0Smrg if test "x$RELEASE_VERSION" != "x"; then 4720ef7198c0Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 4721ef7198c0Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 4722ef7198c0Smrg { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 4723ef7198c0Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 4724ef7198c0Smrg fi 4725ef7198c0Smrg 4726ef7198c0Smrgcat >>confdefs.h <<_ACEOF 4727ef7198c0Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4728ef7198c0Smrg_ACEOF 4729ef7198c0Smrg 4730ef7198c0Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4731ef7198c0Smrg if test "x$PVM" = "x"; then 4732ef7198c0Smrg PVM="0" 4733ef7198c0Smrg fi 4734ef7198c0Smrg 4735ef7198c0Smrgcat >>confdefs.h <<_ACEOF 4736ef7198c0Smrg#define PACKAGE_VERSION_MINOR $PVM 4737ef7198c0Smrg_ACEOF 4738ef7198c0Smrg 4739ef7198c0Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4740ef7198c0Smrg if test "x$PVP" = "x"; then 4741ef7198c0Smrg PVP="0" 4742ef7198c0Smrg fi 4743ef7198c0Smrg 4744ef7198c0Smrgcat >>confdefs.h <<_ACEOF 4745ef7198c0Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 4746ef7198c0Smrg_ACEOF 4747ef7198c0Smrg 4748ef7198c0Smrg 4749ef7198c0Smrg 4750ef7198c0SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 4751ef7198c0Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 4752ef7198c0Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 4753ef7198c0Smrg 4754ef7198c0Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 4755ef7198c0Smrg 4756ef7198c0Smrg 4757ef7198c0Smrg 4758ef7198c0Smrg 4759ef7198c0Smrg 4760ef7198c0Smrgif test x$APP_MAN_SUFFIX = x ; then 4761ef7198c0Smrg APP_MAN_SUFFIX=1 4762ef7198c0Smrgfi 4763ef7198c0Smrgif test x$APP_MAN_DIR = x ; then 4764ef7198c0Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 476556f6b22bSmrgfi 476656f6b22bSmrg 4767ef7198c0Smrgif test x$LIB_MAN_SUFFIX = x ; then 4768ef7198c0Smrg LIB_MAN_SUFFIX=3 4769ef7198c0Smrgfi 4770ef7198c0Smrgif test x$LIB_MAN_DIR = x ; then 4771ef7198c0Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4772ef7198c0Smrgfi 4773ef7198c0Smrg 4774ef7198c0Smrgif test x$FILE_MAN_SUFFIX = x ; then 4775ef7198c0Smrg case $host_os in 4776ef7198c0Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 4777ef7198c0Smrg *) FILE_MAN_SUFFIX=5 ;; 4778ef7198c0Smrg esac 4779ef7198c0Smrgfi 4780ef7198c0Smrgif test x$FILE_MAN_DIR = x ; then 4781ef7198c0Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4782ef7198c0Smrgfi 4783ef7198c0Smrg 4784ef7198c0Smrgif test x$MISC_MAN_SUFFIX = x ; then 4785ef7198c0Smrg case $host_os in 4786ef7198c0Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 4787ef7198c0Smrg *) MISC_MAN_SUFFIX=7 ;; 4788ef7198c0Smrg esac 4789ef7198c0Smrgfi 4790ef7198c0Smrgif test x$MISC_MAN_DIR = x ; then 4791ef7198c0Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4792ef7198c0Smrgfi 4793ef7198c0Smrg 4794ef7198c0Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 4795ef7198c0Smrg case $host_os in 4796ef7198c0Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 4797ef7198c0Smrg *) DRIVER_MAN_SUFFIX=4 ;; 4798ef7198c0Smrg esac 4799ef7198c0Smrgfi 4800ef7198c0Smrgif test x$DRIVER_MAN_DIR = x ; then 4801ef7198c0Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4802ef7198c0Smrgfi 4803ef7198c0Smrg 4804ef7198c0Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 4805ef7198c0Smrg case $host_os in 4806ef7198c0Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 4807ef7198c0Smrg *) ADMIN_MAN_SUFFIX=8 ;; 4808ef7198c0Smrg esac 4809ef7198c0Smrgfi 4810ef7198c0Smrgif test x$ADMIN_MAN_DIR = x ; then 4811ef7198c0Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4812ef7198c0Smrgfi 4813ef7198c0Smrg 4814ef7198c0Smrg 4815ef7198c0Smrg 4816ef7198c0Smrg 4817ef7198c0Smrg 4818ef7198c0Smrg 4819ef7198c0Smrg 4820ef7198c0Smrg 4821ef7198c0Smrg 4822ef7198c0Smrg 4823ef7198c0Smrg 4824ef7198c0Smrg 4825ef7198c0Smrg 4826ef7198c0Smrg 482756f6b22bSmrg 482856f6b22bSmrg 482956f6b22bSmrg 483056f6b22bSmrg# Find a good install program. We prefer a C program (faster), 483156f6b22bSmrg# so one script is as good as another. But avoid the broken or 483256f6b22bSmrg# incompatible versions: 483356f6b22bSmrg# SysV /etc/install, /usr/sbin/install 483456f6b22bSmrg# SunOS /usr/etc/install 483556f6b22bSmrg# IRIX /sbin/install 483656f6b22bSmrg# AIX /bin/install 483756f6b22bSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 483856f6b22bSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 483956f6b22bSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 484056f6b22bSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 484156f6b22bSmrg# OS/2's system install, which has a completely different semantic 484256f6b22bSmrg# ./install, which can be erroneously created by make from ./install.sh. 4843ef7198c0Smrg# Reject install programs that cannot install multiple files. 4844ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4845ef7198c0Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 484656f6b22bSmrgif test -z "$INSTALL"; then 484756f6b22bSmrgif test "${ac_cv_path_install+set}" = set; then 4848ef7198c0Smrg $as_echo_n "(cached) " >&6 484956f6b22bSmrgelse 485056f6b22bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 485156f6b22bSmrgfor as_dir in $PATH 485256f6b22bSmrgdo 485356f6b22bSmrg IFS=$as_save_IFS 485456f6b22bSmrg test -z "$as_dir" && as_dir=. 485556f6b22bSmrg # Account for people who put trailing slashes in PATH elements. 485656f6b22bSmrgcase $as_dir/ in 485756f6b22bSmrg ./ | .// | /cC/* | \ 485856f6b22bSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 485956f6b22bSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 486056f6b22bSmrg /usr/ucb/* ) ;; 486156f6b22bSmrg *) 486256f6b22bSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 486356f6b22bSmrg # Don't use installbsd from OSF since it installs stuff as root 486456f6b22bSmrg # by default. 486556f6b22bSmrg for ac_prog in ginstall scoinst install; do 486656f6b22bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4867ef7198c0Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 486856f6b22bSmrg if test $ac_prog = install && 486956f6b22bSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 487056f6b22bSmrg # AIX install. It has an incompatible calling convention. 487156f6b22bSmrg : 487256f6b22bSmrg elif test $ac_prog = install && 487356f6b22bSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 487456f6b22bSmrg # program-specific install script used by HP pwplus--don't use. 487556f6b22bSmrg : 487656f6b22bSmrg else 4877ef7198c0Smrg rm -rf conftest.one conftest.two conftest.dir 4878ef7198c0Smrg echo one > conftest.one 4879ef7198c0Smrg echo two > conftest.two 4880ef7198c0Smrg mkdir conftest.dir 4881ef7198c0Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4882ef7198c0Smrg test -s conftest.one && test -s conftest.two && 4883ef7198c0Smrg test -s conftest.dir/conftest.one && 4884ef7198c0Smrg test -s conftest.dir/conftest.two 4885ef7198c0Smrg then 4886ef7198c0Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4887ef7198c0Smrg break 3 4888ef7198c0Smrg fi 488956f6b22bSmrg fi 489056f6b22bSmrg fi 489156f6b22bSmrg done 489256f6b22bSmrg done 489356f6b22bSmrg ;; 489456f6b22bSmrgesac 4895ef7198c0Smrg 489656f6b22bSmrgdone 4897ef7198c0SmrgIFS=$as_save_IFS 489856f6b22bSmrg 4899ef7198c0Smrgrm -rf conftest.one conftest.two conftest.dir 490056f6b22bSmrg 490156f6b22bSmrgfi 490256f6b22bSmrg if test "${ac_cv_path_install+set}" = set; then 490356f6b22bSmrg INSTALL=$ac_cv_path_install 490456f6b22bSmrg else 4905ef7198c0Smrg # As a last resort, use the slow shell script. Don't cache a 4906ef7198c0Smrg # value for INSTALL within a source directory, because that will 490756f6b22bSmrg # break other packages using the cache if that directory is 4908ef7198c0Smrg # removed, or if the value is a relative name. 490956f6b22bSmrg INSTALL=$ac_install_sh 491056f6b22bSmrg fi 491156f6b22bSmrgfi 4912ef7198c0Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4913ef7198c0Smrg$as_echo "$INSTALL" >&6; } 491456f6b22bSmrg 491556f6b22bSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 491656f6b22bSmrg# It thinks the first close brace ends the variable substitution. 491756f6b22bSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 491856f6b22bSmrg 491956f6b22bSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 492056f6b22bSmrg 492156f6b22bSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 492256f6b22bSmrg 492356f6b22bSmrg 4924ef7198c0Smrg# Require X.Org's font util macros 1.1 or later 4925ef7198c0Smrg 4926ef7198c0Smrg 4927ef7198c0Smrg 4928ef7198c0Smrg 4929ef7198c0Smrg 4930ef7198c0Smrg 4931ef7198c0Smrg 4932ef7198c0Smrg 4933ef7198c0Smrg 4934ef7198c0Smrg 4935ef7198c0Smrg 4936ef7198c0Smrg 4937ef7198c0Smrg 4938ef7198c0Smrg 4939ef7198c0Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4940ef7198c0Smrg if test -n "$ac_tool_prefix"; then 4941ef7198c0Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4942ef7198c0Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4943ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4944ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 4945ef7198c0Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 4946ef7198c0Smrg $as_echo_n "(cached) " >&6 494756f6b22bSmrgelse 4948ef7198c0Smrg case $PKG_CONFIG in 494956f6b22bSmrg [\\/]* | ?:[\\/]*) 4950ef7198c0Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 495156f6b22bSmrg ;; 495256f6b22bSmrg *) 495356f6b22bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 495456f6b22bSmrgfor as_dir in $PATH 495556f6b22bSmrgdo 495656f6b22bSmrg IFS=$as_save_IFS 495756f6b22bSmrg test -z "$as_dir" && as_dir=. 495856f6b22bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4959ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4960ef7198c0Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4961ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 496256f6b22bSmrg break 2 496356f6b22bSmrg fi 496456f6b22bSmrgdone 496556f6b22bSmrgdone 4966ef7198c0SmrgIFS=$as_save_IFS 496756f6b22bSmrg 496856f6b22bSmrg ;; 496956f6b22bSmrgesac 497056f6b22bSmrgfi 4971ef7198c0SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 4972ef7198c0Smrgif test -n "$PKG_CONFIG"; then 4973ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 4974ef7198c0Smrg$as_echo "$PKG_CONFIG" >&6; } 497556f6b22bSmrgelse 4976ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 4977ef7198c0Smrg$as_echo "no" >&6; } 497856f6b22bSmrgfi 497956f6b22bSmrg 4980ef7198c0Smrg 4981ef7198c0Smrgfi 4982ef7198c0Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4983ef7198c0Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4984ef7198c0Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 4985ef7198c0Smrgset dummy pkg-config; ac_word=$2 4986ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4987ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 4988ef7198c0Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 4989ef7198c0Smrg $as_echo_n "(cached) " >&6 499056f6b22bSmrgelse 4991ef7198c0Smrg case $ac_pt_PKG_CONFIG in 499256f6b22bSmrg [\\/]* | ?:[\\/]*) 4993ef7198c0Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 499456f6b22bSmrg ;; 499556f6b22bSmrg *) 499656f6b22bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 499756f6b22bSmrgfor as_dir in $PATH 499856f6b22bSmrgdo 499956f6b22bSmrg IFS=$as_save_IFS 500056f6b22bSmrg test -z "$as_dir" && as_dir=. 500156f6b22bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 5002ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5003ef7198c0Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5004ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 500556f6b22bSmrg break 2 500656f6b22bSmrg fi 500756f6b22bSmrgdone 500856f6b22bSmrgdone 5009ef7198c0SmrgIFS=$as_save_IFS 501056f6b22bSmrg 501156f6b22bSmrg ;; 501256f6b22bSmrgesac 501356f6b22bSmrgfi 5014ef7198c0Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 5015ef7198c0Smrgif test -n "$ac_pt_PKG_CONFIG"; then 5016ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 5017ef7198c0Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 5018ef7198c0Smrgelse 5019ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 5020ef7198c0Smrg$as_echo "no" >&6; } 5021ef7198c0Smrgfi 5022ef7198c0Smrg 5023ef7198c0Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 5024ef7198c0Smrg PKG_CONFIG="" 5025ef7198c0Smrg else 5026ef7198c0Smrg case $cross_compiling:$ac_tool_warned in 5027ef7198c0Smrgyes:) 5028ef7198c0Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5029ef7198c0Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5030ef7198c0Smrgac_tool_warned=yes ;; 5031ef7198c0Smrgesac 5032ef7198c0Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 5033ef7198c0Smrg fi 5034ef7198c0Smrgelse 5035ef7198c0Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 5036ef7198c0Smrgfi 5037ef7198c0Smrg 5038ef7198c0Smrgfi 5039ef7198c0Smrgif test -n "$PKG_CONFIG"; then 5040ef7198c0Smrg _pkg_min_version=0.9.0 5041ef7198c0Smrg { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 5042ef7198c0Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 5043ef7198c0Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 5044ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 5045ef7198c0Smrg$as_echo "yes" >&6; } 5046ef7198c0Smrg else 5047ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 5048ef7198c0Smrg$as_echo "no" >&6; } 5049ef7198c0Smrg PKG_CONFIG="" 5050ef7198c0Smrg fi 5051ef7198c0Smrg 5052ef7198c0Smrgfi 5053ef7198c0Smrg 5054ef7198c0Smrg 5055ef7198c0Smrg 5056ef7198c0Smrg { $as_echo "$as_me:$LINENO: checking for root directory for font files" >&5 5057ef7198c0Smrg$as_echo_n "checking for root directory for font files... " >&6; } 5058ef7198c0Smrg 5059ef7198c0Smrg# Check whether --with-fontrootdir was given. 5060ef7198c0Smrgif test "${with_fontrootdir+set}" = set; then 5061ef7198c0Smrg withval=$with_fontrootdir; FONTROOTDIR="$withval" 5062ef7198c0Smrgfi 5063ef7198c0Smrg 5064ef7198c0Smrg # if --with-fontrootdir not specified... 5065ef7198c0Smrg if test "x${FONTROOTDIR}" = "x"; then 5066ef7198c0Smrg FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil` 5067ef7198c0Smrg fi 5068ef7198c0Smrg # ...and if pkg-config didn't find fontdir in fontutil.pc... 5069ef7198c0Smrg if test "x${FONTROOTDIR}" = "x"; then 5070ef7198c0Smrg FONTROOTDIR="${datadir}/fonts/X11" 5071ef7198c0Smrg fi 5072ef7198c0Smrg 5073ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: ${FONTROOTDIR}" >&5 5074ef7198c0Smrg$as_echo "${FONTROOTDIR}" >&6; } 5075ef7198c0Smrg 5076ef7198c0Smrg 5077ef7198c0Smrg 5078ef7198c0Smrg 5079ef7198c0Smrg { $as_echo "$as_me:$LINENO: checking for directory for 100dpi files" >&5 5080ef7198c0Smrg$as_echo_n "checking for directory for 100dpi files... " >&6; } 5081ef7198c0Smrg 5082ef7198c0Smrg# Check whether --with-fontdir was given. 5083ef7198c0Smrgif test "${with_fontdir+set}" = set; then 5084ef7198c0Smrg withval=$with_fontdir; FONTDIR="${withval}" 5085ef7198c0Smrgelse 5086ef7198c0Smrg FONTDIR='${FONTROOTDIR}/100dpi' 5087ef7198c0Smrgfi 5088ef7198c0Smrg 5089ef7198c0Smrg 5090ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: ${FONTDIR}" >&5 5091ef7198c0Smrg$as_echo "${FONTDIR}" >&6; } 5092ef7198c0Smrg 509356f6b22bSmrg 5094ef7198c0Smrg 5095ef7198c0Smrg 5096ef7198c0Smrg # Extract the first word of "fc-cache", so it can be a program name with args. 5097ef7198c0Smrgset dummy fc-cache; ac_word=$2 5098ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5099ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 5100ef7198c0Smrgif test "${ac_cv_path_FCCACHE+set}" = set; then 5101ef7198c0Smrg $as_echo_n "(cached) " >&6 5102ef7198c0Smrgelse 5103ef7198c0Smrg case $FCCACHE in 5104ef7198c0Smrg [\\/]* | ?:[\\/]*) 5105ef7198c0Smrg ac_cv_path_FCCACHE="$FCCACHE" # Let the user override the test with a path. 5106ef7198c0Smrg ;; 5107ef7198c0Smrg *) 5108ef7198c0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5109ef7198c0Smrgfor as_dir in $PATH 5110ef7198c0Smrgdo 5111ef7198c0Smrg IFS=$as_save_IFS 5112ef7198c0Smrg test -z "$as_dir" && as_dir=. 5113ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 5114ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5115ef7198c0Smrg ac_cv_path_FCCACHE="$as_dir/$ac_word$ac_exec_ext" 5116ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5117ef7198c0Smrg break 2 5118ef7198c0Smrg fi 5119ef7198c0Smrgdone 5120ef7198c0Smrgdone 5121ef7198c0SmrgIFS=$as_save_IFS 5122ef7198c0Smrg 5123ef7198c0Smrg ;; 5124ef7198c0Smrgesac 5125ef7198c0Smrgfi 5126ef7198c0SmrgFCCACHE=$ac_cv_path_FCCACHE 5127ef7198c0Smrgif test -n "$FCCACHE"; then 5128ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $FCCACHE" >&5 5129ef7198c0Smrg$as_echo "$FCCACHE" >&6; } 513056f6b22bSmrgelse 5131ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 5132ef7198c0Smrg$as_echo "no" >&6; } 513356f6b22bSmrgfi 513456f6b22bSmrg 5135ef7198c0Smrg 5136ef7198c0Smrg FCCACHE_WARN='echo "** Warning: fonts.cache not built" ; echo "** Generate this file manually on host system using fc-cache"' 5137ef7198c0Smrg if test x"$FCCACHE" = x ; then 5138ef7198c0Smrg RUN_FCCACHE="${FCCACHE_WARN}" 5139ef7198c0Smrg else 5140ef7198c0Smrg RUN_FCCACHE='@(if test -z "$(DESTDIR)"; then echo $(FCCACHE) $(fontdir); $(FCCACHE) $(fontdir); else' 5141ef7198c0Smrg RUN_FCCACHE="${RUN_FCCACHE} ${FCCACHE_WARN} ; fi)" 5142ef7198c0Smrg fi 5143ef7198c0Smrg 5144ef7198c0Smrg 5145ef7198c0Smrg 5146ef7198c0Smrg # Extract the first word of "mkfontdir", so it can be a program name with args. 514756f6b22bSmrgset dummy mkfontdir; ac_word=$2 5148ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5149ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 515056f6b22bSmrgif test "${ac_cv_path_MKFONTDIR+set}" = set; then 5151ef7198c0Smrg $as_echo_n "(cached) " >&6 515256f6b22bSmrgelse 515356f6b22bSmrg case $MKFONTDIR in 515456f6b22bSmrg [\\/]* | ?:[\\/]*) 515556f6b22bSmrg ac_cv_path_MKFONTDIR="$MKFONTDIR" # Let the user override the test with a path. 515656f6b22bSmrg ;; 515756f6b22bSmrg *) 515856f6b22bSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 515956f6b22bSmrgfor as_dir in $PATH 516056f6b22bSmrgdo 516156f6b22bSmrg IFS=$as_save_IFS 516256f6b22bSmrg test -z "$as_dir" && as_dir=. 516356f6b22bSmrg for ac_exec_ext in '' $ac_executable_extensions; do 5164ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 516556f6b22bSmrg ac_cv_path_MKFONTDIR="$as_dir/$ac_word$ac_exec_ext" 5166ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 516756f6b22bSmrg break 2 516856f6b22bSmrg fi 516956f6b22bSmrgdone 517056f6b22bSmrgdone 5171ef7198c0SmrgIFS=$as_save_IFS 517256f6b22bSmrg 517356f6b22bSmrg ;; 517456f6b22bSmrgesac 517556f6b22bSmrgfi 517656f6b22bSmrgMKFONTDIR=$ac_cv_path_MKFONTDIR 517756f6b22bSmrgif test -n "$MKFONTDIR"; then 5178ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $MKFONTDIR" >&5 5179ef7198c0Smrg$as_echo "$MKFONTDIR" >&6; } 518056f6b22bSmrgelse 5181ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 5182ef7198c0Smrg$as_echo "no" >&6; } 518356f6b22bSmrgfi 518456f6b22bSmrg 518556f6b22bSmrg 5186ef7198c0Smrg if test x"MKFONTDIR" = x; then 5187ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: mkfontdir is required to build $PACKAGE_NAME." >&5 5188ef7198c0Smrg$as_echo "$as_me: error: mkfontdir is required to build $PACKAGE_NAME." >&2;} 5189ef7198c0Smrg { (exit 1); exit 1; }; } 5190ef7198c0Smrg fi 519156f6b22bSmrg 519256f6b22bSmrg 519356f6b22bSmrg 5194ef7198c0Smrg # Extract the first word of "bdftopcf", so it can be a program name with args. 5195ef7198c0Smrgset dummy bdftopcf; ac_word=$2 5196ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5197ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 5198ef7198c0Smrgif test "${ac_cv_path_BDFTOPCF+set}" = set; then 5199ef7198c0Smrg $as_echo_n "(cached) " >&6 5200ef7198c0Smrgelse 5201ef7198c0Smrg case $BDFTOPCF in 5202ef7198c0Smrg [\\/]* | ?:[\\/]*) 5203ef7198c0Smrg ac_cv_path_BDFTOPCF="$BDFTOPCF" # Let the user override the test with a path. 5204ef7198c0Smrg ;; 5205ef7198c0Smrg *) 5206ef7198c0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5207ef7198c0Smrgfor as_dir in $PATH 5208ef7198c0Smrgdo 5209ef7198c0Smrg IFS=$as_save_IFS 5210ef7198c0Smrg test -z "$as_dir" && as_dir=. 5211ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 5212ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5213ef7198c0Smrg ac_cv_path_BDFTOPCF="$as_dir/$ac_word$ac_exec_ext" 5214ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5215ef7198c0Smrg break 2 5216ef7198c0Smrg fi 5217ef7198c0Smrgdone 5218ef7198c0Smrgdone 5219ef7198c0SmrgIFS=$as_save_IFS 5220ef7198c0Smrg 5221ef7198c0Smrg ;; 5222ef7198c0Smrgesac 5223ef7198c0Smrgfi 5224ef7198c0SmrgBDFTOPCF=$ac_cv_path_BDFTOPCF 5225ef7198c0Smrgif test -n "$BDFTOPCF"; then 5226ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $BDFTOPCF" >&5 5227ef7198c0Smrg$as_echo "$BDFTOPCF" >&6; } 522856f6b22bSmrgelse 5229ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 5230ef7198c0Smrg$as_echo "no" >&6; } 5231ef7198c0Smrgfi 5232ef7198c0Smrg 523356f6b22bSmrg 5234ef7198c0Smrg if test x"BDFTOPCF" = x; then 5235ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: bdftopcf is required to build $PACKAGE_NAME." >&5 5236ef7198c0Smrg$as_echo "$as_me: error: bdftopcf is required to build $PACKAGE_NAME." >&2;} 5237ef7198c0Smrg { (exit 1); exit 1; }; } 5238ef7198c0Smrg fi 523956f6b22bSmrg 524056f6b22bSmrg 5241ef7198c0Smrg { $as_echo "$as_me:$LINENO: checking font compression method" >&5 5242ef7198c0Smrg$as_echo_n "checking font compression method... " >&6; } 524356f6b22bSmrg 5244ef7198c0Smrg# Check whether --with-compression was given. 5245ef7198c0Smrgif test "${with_compression+set}" = set; then 5246ef7198c0Smrg withval=$with_compression; compression="$withval" 524756f6b22bSmrgelse 5248ef7198c0Smrg compression="yes" 5249ef7198c0Smrgfi 5250ef7198c0Smrg 5251ef7198c0Smrg if test x"$compression" = "xyes" ; then 5252ef7198c0Smrg compression="gzip" 5253ef7198c0Smrg fi 5254ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: ${compression}" >&5 5255ef7198c0Smrg$as_echo "${compression}" >&6; } 5256ef7198c0Smrg case ${compression} in 5257ef7198c0Smrg *compress) COMPRESS_SUFFIX=".Z" ;; 5258ef7198c0Smrg *gzip) COMPRESS_SUFFIX=".gz" ;; 5259ef7198c0Smrg *bzip2) COMPRESS_SUFFIX=".bz2" ;; 5260ef7198c0Smrg no|none) COMPRESS_SUFFIX="" ; COMPRESS="cat" ;; 5261ef7198c0Smrg *) { { $as_echo "$as_me:$LINENO: error: ${compression} is not a supported compression method" >&5 5262ef7198c0Smrg$as_echo "$as_me: error: ${compression} is not a supported compression method" >&2;} 5263ef7198c0Smrg { (exit 1); exit 1; }; } ;; 5264ef7198c0Smrg esac 5265ef7198c0Smrg if test x"$COMPRESS_SUFFIX" != "x" ; then 5266ef7198c0Smrg 5267ef7198c0Smrg # Extract the first word of "${compression}", so it can be a program name with args. 5268ef7198c0Smrgset dummy ${compression}; ac_word=$2 5269ef7198c0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5270ef7198c0Smrg$as_echo_n "checking for $ac_word... " >&6; } 5271ef7198c0Smrgif test "${ac_cv_path_COMPRESS+set}" = set; then 5272ef7198c0Smrg $as_echo_n "(cached) " >&6 5273ef7198c0Smrgelse 5274ef7198c0Smrg case $COMPRESS in 5275ef7198c0Smrg [\\/]* | ?:[\\/]*) 5276ef7198c0Smrg ac_cv_path_COMPRESS="$COMPRESS" # Let the user override the test with a path. 5277ef7198c0Smrg ;; 5278ef7198c0Smrg *) 5279ef7198c0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5280ef7198c0Smrgfor as_dir in $PATH 5281ef7198c0Smrgdo 5282ef7198c0Smrg IFS=$as_save_IFS 5283ef7198c0Smrg test -z "$as_dir" && as_dir=. 5284ef7198c0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 5285ef7198c0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5286ef7198c0Smrg ac_cv_path_COMPRESS="$as_dir/$ac_word$ac_exec_ext" 5287ef7198c0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5288ef7198c0Smrg break 2 5289ef7198c0Smrg fi 5290ef7198c0Smrgdone 5291ef7198c0Smrgdone 5292ef7198c0SmrgIFS=$as_save_IFS 5293ef7198c0Smrg 5294ef7198c0Smrg ;; 5295ef7198c0Smrgesac 5296ef7198c0Smrgfi 5297ef7198c0SmrgCOMPRESS=$ac_cv_path_COMPRESS 5298ef7198c0Smrgif test -n "$COMPRESS"; then 5299ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: $COMPRESS" >&5 5300ef7198c0Smrg$as_echo "$COMPRESS" >&6; } 5301ef7198c0Smrgelse 5302ef7198c0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 5303ef7198c0Smrg$as_echo "no" >&6; } 5304ef7198c0Smrgfi 5305ef7198c0Smrg 5306ef7198c0Smrg 5307ef7198c0Smrg if test x"COMPRESS" = x; then 5308ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: ${compression} is required to build $PACKAGE_NAME." >&5 5309ef7198c0Smrg$as_echo "$as_me: error: ${compression} is required to build $PACKAGE_NAME." >&2;} 5310ef7198c0Smrg { (exit 1); exit 1; }; } 5311ef7198c0Smrg fi 5312ef7198c0Smrg 531356f6b22bSmrg fi 531456f6b22bSmrg 531556f6b22bSmrg 5316ef7198c0Smrg 5317ef7198c0Smrg 5318ef7198c0Smrgac_config_files="$ac_config_files Makefile" 5319ef7198c0Smrg 532056f6b22bSmrgcat >confcache <<\_ACEOF 532156f6b22bSmrg# This file is a shell script that caches the results of configure 532256f6b22bSmrg# tests run on this system so they can be shared between configure 532356f6b22bSmrg# scripts and configure runs, see configure's option --config-cache. 532456f6b22bSmrg# It is not useful on other systems. If it contains results you don't 532556f6b22bSmrg# want to keep, you may remove or edit it. 532656f6b22bSmrg# 532756f6b22bSmrg# config.status only pays attention to the cache file if you give it 532856f6b22bSmrg# the --recheck option to rerun configure. 532956f6b22bSmrg# 533056f6b22bSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 533156f6b22bSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 533256f6b22bSmrg# following values. 533356f6b22bSmrg 533456f6b22bSmrg_ACEOF 533556f6b22bSmrg 533656f6b22bSmrg# The following way of writing the cache mishandles newlines in values, 533756f6b22bSmrg# but we know of no workaround that is simple, portable, and efficient. 5338ef7198c0Smrg# So, we kill variables containing newlines. 533956f6b22bSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 534056f6b22bSmrg# and sets the high bit in the cache file unless we assign to the vars. 5341ef7198c0Smrg( 5342ef7198c0Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5343ef7198c0Smrg eval ac_val=\$$ac_var 5344ef7198c0Smrg case $ac_val in #( 5345ef7198c0Smrg *${as_nl}*) 5346ef7198c0Smrg case $ac_var in #( 5347ef7198c0Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 5348ef7198c0Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 5349ef7198c0Smrg esac 5350ef7198c0Smrg case $ac_var in #( 5351ef7198c0Smrg _ | IFS | as_nl) ;; #( 5352ef7198c0Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5353ef7198c0Smrg *) $as_unset $ac_var ;; 5354ef7198c0Smrg esac ;; 5355ef7198c0Smrg esac 5356ef7198c0Smrg done 5357ef7198c0Smrg 535856f6b22bSmrg (set) 2>&1 | 5359ef7198c0Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 5360ef7198c0Smrg *${as_nl}ac_space=\ *) 536156f6b22bSmrg # `set' does not quote correctly, so add quotes (double-quote 536256f6b22bSmrg # substitution turns \\\\ into \\, and sed turns \\ into \). 536356f6b22bSmrg sed -n \ 536456f6b22bSmrg "s/'/'\\\\''/g; 536556f6b22bSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5366ef7198c0Smrg ;; #( 536756f6b22bSmrg *) 536856f6b22bSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 5369ef7198c0Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 537056f6b22bSmrg ;; 5371ef7198c0Smrg esac | 5372ef7198c0Smrg sort 5373ef7198c0Smrg) | 537456f6b22bSmrg sed ' 5375ef7198c0Smrg /^ac_cv_env_/b end 537656f6b22bSmrg t clear 5377ef7198c0Smrg :clear 537856f6b22bSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 537956f6b22bSmrg t end 5380ef7198c0Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5381ef7198c0Smrg :end' >>confcache 5382ef7198c0Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5383ef7198c0Smrg if test -w "$cache_file"; then 5384ef7198c0Smrg test "x$cache_file" != "x/dev/null" && 5385ef7198c0Smrg { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 5386ef7198c0Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 538756f6b22bSmrg cat confcache >$cache_file 538856f6b22bSmrg else 5389ef7198c0Smrg { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5390ef7198c0Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 539156f6b22bSmrg fi 539256f6b22bSmrgfi 539356f6b22bSmrgrm -f confcache 539456f6b22bSmrg 539556f6b22bSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 539656f6b22bSmrg# Let make expand exec_prefix. 539756f6b22bSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 539856f6b22bSmrg 539956f6b22bSmrg# Transform confdefs.h into DEFS. 540056f6b22bSmrg# Protect against shell expansion while executing Makefile rules. 540156f6b22bSmrg# Protect against Makefile macro expansion. 540256f6b22bSmrg# 540356f6b22bSmrg# If the first sed substitution is executed (which looks for macros that 5404ef7198c0Smrg# take arguments), then branch to the quote section. Otherwise, 540556f6b22bSmrg# look for a macro that doesn't take arguments. 5406ef7198c0Smrgac_script=' 5407ef7198c0Smrg:mline 5408ef7198c0Smrg/\\$/{ 5409ef7198c0Smrg N 5410ef7198c0Smrg s,\\\n,, 5411ef7198c0Smrg b mline 5412ef7198c0Smrg} 541356f6b22bSmrgt clear 5414ef7198c0Smrg:clear 5415ef7198c0Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 541656f6b22bSmrgt quote 5417ef7198c0Smrgs/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 541856f6b22bSmrgt quote 5419ef7198c0Smrgb any 5420ef7198c0Smrg:quote 5421ef7198c0Smrgs/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 5422ef7198c0Smrgs/\[/\\&/g 5423ef7198c0Smrgs/\]/\\&/g 5424ef7198c0Smrgs/\$/$$/g 5425ef7198c0SmrgH 5426ef7198c0Smrg:any 5427ef7198c0Smrg${ 5428ef7198c0Smrg g 5429ef7198c0Smrg s/^\n// 5430ef7198c0Smrg s/\n/ /g 5431ef7198c0Smrg p 5432ef7198c0Smrg} 5433ef7198c0Smrg' 5434ef7198c0SmrgDEFS=`sed -n "$ac_script" confdefs.h` 543556f6b22bSmrg 543656f6b22bSmrg 543756f6b22bSmrgac_libobjs= 543856f6b22bSmrgac_ltlibobjs= 543956f6b22bSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 544056f6b22bSmrg # 1. Remove the extension, and $U if already installed. 5441ef7198c0Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5442ef7198c0Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5443ef7198c0Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5444ef7198c0Smrg # will be set to the directory where LIBOBJS objects are built. 5445ef7198c0Smrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5446ef7198c0Smrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 544756f6b22bSmrgdone 544856f6b22bSmrgLIBOBJS=$ac_libobjs 544956f6b22bSmrg 545056f6b22bSmrgLTLIBOBJS=$ac_ltlibobjs 545156f6b22bSmrg 545256f6b22bSmrg 5453ef7198c0Smrg if test -n "$EXEEXT"; then 5454ef7198c0Smrg am__EXEEXT_TRUE= 5455ef7198c0Smrg am__EXEEXT_FALSE='#' 5456ef7198c0Smrgelse 5457ef7198c0Smrg am__EXEEXT_TRUE='#' 5458ef7198c0Smrg am__EXEEXT_FALSE= 5459ef7198c0Smrgfi 5460ef7198c0Smrg 546156f6b22bSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 5462ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 5463ef7198c0SmrgUsually this means the macro was only invoked conditionally." >&5 5464ef7198c0Smrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 5465ef7198c0SmrgUsually this means the macro was only invoked conditionally." >&2;} 5466ef7198c0Smrg { (exit 1); exit 1; }; } 5467ef7198c0Smrgfi 5468ef7198c0Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5469ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5470ef7198c0SmrgUsually this means the macro was only invoked conditionally." >&5 5471ef7198c0Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 5472ef7198c0SmrgUsually this means the macro was only invoked conditionally." >&2;} 5473ef7198c0Smrg { (exit 1); exit 1; }; } 5474ef7198c0Smrgfi 5475ef7198c0Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5476ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 547756f6b22bSmrgUsually this means the macro was only invoked conditionally." >&5 5478ef7198c0Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 547956f6b22bSmrgUsually this means the macro was only invoked conditionally." >&2;} 548056f6b22bSmrg { (exit 1); exit 1; }; } 548156f6b22bSmrgfi 548256f6b22bSmrg 548356f6b22bSmrg: ${CONFIG_STATUS=./config.status} 5484ef7198c0Smrgac_write_fail=0 548556f6b22bSmrgac_clean_files_save=$ac_clean_files 548656f6b22bSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 5487ef7198c0Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5488ef7198c0Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5489ef7198c0Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 549056f6b22bSmrg#! $SHELL 549156f6b22bSmrg# Generated by $as_me. 549256f6b22bSmrg# Run this file to recreate the current configuration. 549356f6b22bSmrg# Compiler output produced by configure, useful for debugging 549456f6b22bSmrg# configure, is in config.log if it exists. 549556f6b22bSmrg 549656f6b22bSmrgdebug=false 549756f6b22bSmrgac_cs_recheck=false 549856f6b22bSmrgac_cs_silent=false 549956f6b22bSmrgSHELL=\${CONFIG_SHELL-$SHELL} 550056f6b22bSmrg_ACEOF 550156f6b22bSmrg 5502ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 550356f6b22bSmrg## --------------------- ## 550456f6b22bSmrg## M4sh Initialization. ## 550556f6b22bSmrg## --------------------- ## 550656f6b22bSmrg 5507ef7198c0Smrg# Be more Bourne compatible 5508ef7198c0SmrgDUALCASE=1; export DUALCASE # for MKS sh 550956f6b22bSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 551056f6b22bSmrg emulate sh 551156f6b22bSmrg NULLCMD=: 5512ef7198c0Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 551356f6b22bSmrg # is contrary to our usage. Disable this feature. 551456f6b22bSmrg alias -g '${1+"$@"}'='"$@"' 5515ef7198c0Smrg setopt NO_GLOB_SUBST 5516ef7198c0Smrgelse 5517ef7198c0Smrg case `(set -o) 2>/dev/null` in 5518ef7198c0Smrg *posix*) set -o posix ;; 5519ef7198c0Smrgesac 5520ef7198c0Smrg 5521ef7198c0Smrgfi 5522ef7198c0Smrg 5523ef7198c0Smrg 5524ef7198c0Smrg 5525ef7198c0Smrg 5526ef7198c0Smrg# PATH needs CR 5527ef7198c0Smrg# Avoid depending upon Character Ranges. 5528ef7198c0Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 5529ef7198c0Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5530ef7198c0Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 5531ef7198c0Smrgas_cr_digits='0123456789' 5532ef7198c0Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 5533ef7198c0Smrg 5534ef7198c0Smrgas_nl=' 5535ef7198c0Smrg' 5536ef7198c0Smrgexport as_nl 5537ef7198c0Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 5538ef7198c0Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5539ef7198c0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5540ef7198c0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5541ef7198c0Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5542ef7198c0Smrg as_echo='printf %s\n' 5543ef7198c0Smrg as_echo_n='printf %s' 5544ef7198c0Smrgelse 5545ef7198c0Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5546ef7198c0Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5547ef7198c0Smrg as_echo_n='/usr/ucb/echo -n' 5548ef7198c0Smrg else 5549ef7198c0Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5550ef7198c0Smrg as_echo_n_body='eval 5551ef7198c0Smrg arg=$1; 5552ef7198c0Smrg case $arg in 5553ef7198c0Smrg *"$as_nl"*) 5554ef7198c0Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 5555ef7198c0Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5556ef7198c0Smrg esac; 5557ef7198c0Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5558ef7198c0Smrg ' 5559ef7198c0Smrg export as_echo_n_body 5560ef7198c0Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 5561ef7198c0Smrg fi 5562ef7198c0Smrg export as_echo_body 5563ef7198c0Smrg as_echo='sh -c $as_echo_body as_echo' 5564ef7198c0Smrgfi 5565ef7198c0Smrg 5566ef7198c0Smrg# The user is always right. 5567ef7198c0Smrgif test "${PATH_SEPARATOR+set}" != set; then 5568ef7198c0Smrg PATH_SEPARATOR=: 5569ef7198c0Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5570ef7198c0Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5571ef7198c0Smrg PATH_SEPARATOR=';' 5572ef7198c0Smrg } 557356f6b22bSmrgfi 557456f6b22bSmrg 557556f6b22bSmrg# Support unset when possible. 557656f6b22bSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 557756f6b22bSmrg as_unset=unset 557856f6b22bSmrgelse 557956f6b22bSmrg as_unset=false 558056f6b22bSmrgfi 558156f6b22bSmrg 558256f6b22bSmrg 5583ef7198c0Smrg# IFS 5584ef7198c0Smrg# We need space, tab and new line, in precisely that order. Quoting is 5585ef7198c0Smrg# there to prevent editors from complaining about space-tab. 5586ef7198c0Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5587ef7198c0Smrg# splitting by setting IFS to empty value.) 5588ef7198c0SmrgIFS=" "" $as_nl" 5589ef7198c0Smrg 5590ef7198c0Smrg# Find who we are. Look in the path if we contain no directory separator. 5591ef7198c0Smrgcase $0 in 5592ef7198c0Smrg *[\\/]* ) as_myself=$0 ;; 5593ef7198c0Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5594ef7198c0Smrgfor as_dir in $PATH 5595ef7198c0Smrgdo 5596ef7198c0Smrg IFS=$as_save_IFS 5597ef7198c0Smrg test -z "$as_dir" && as_dir=. 5598ef7198c0Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5599ef7198c0Smrgdone 5600ef7198c0SmrgIFS=$as_save_IFS 5601ef7198c0Smrg 5602ef7198c0Smrg ;; 5603ef7198c0Smrgesac 5604ef7198c0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 5605ef7198c0Smrg# in which case we are not to be found in the path. 5606ef7198c0Smrgif test "x$as_myself" = x; then 5607ef7198c0Smrg as_myself=$0 5608ef7198c0Smrgfi 5609ef7198c0Smrgif test ! -f "$as_myself"; then 5610ef7198c0Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5611ef7198c0Smrg { (exit 1); exit 1; } 5612ef7198c0Smrgfi 5613ef7198c0Smrg 561456f6b22bSmrg# Work around bugs in pre-3.0 UWIN ksh. 5615ef7198c0Smrgfor as_var in ENV MAIL MAILPATH 5616ef7198c0Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5617ef7198c0Smrgdone 561856f6b22bSmrgPS1='$ ' 561956f6b22bSmrgPS2='> ' 562056f6b22bSmrgPS4='+ ' 562156f6b22bSmrg 562256f6b22bSmrg# NLS nuisances. 5623ef7198c0SmrgLC_ALL=C 5624ef7198c0Smrgexport LC_ALL 5625ef7198c0SmrgLANGUAGE=C 5626ef7198c0Smrgexport LANGUAGE 562756f6b22bSmrg 562856f6b22bSmrg# Required to use basename. 5629ef7198c0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 5630ef7198c0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 563156f6b22bSmrg as_expr=expr 563256f6b22bSmrgelse 563356f6b22bSmrg as_expr=false 563456f6b22bSmrgfi 563556f6b22bSmrg 5636ef7198c0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 563756f6b22bSmrg as_basename=basename 563856f6b22bSmrgelse 563956f6b22bSmrg as_basename=false 564056f6b22bSmrgfi 564156f6b22bSmrg 564256f6b22bSmrg 564356f6b22bSmrg# Name of the executable. 5644ef7198c0Smrgas_me=`$as_basename -- "$0" || 564556f6b22bSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 564656f6b22bSmrg X"$0" : 'X\(//\)$' \| \ 5647ef7198c0Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 5648ef7198c0Smrg$as_echo X/"$0" | 5649ef7198c0Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 5650ef7198c0Smrg s//\1/ 5651ef7198c0Smrg q 5652ef7198c0Smrg } 5653ef7198c0Smrg /^X\/\(\/\/\)$/{ 5654ef7198c0Smrg s//\1/ 5655ef7198c0Smrg q 5656ef7198c0Smrg } 5657ef7198c0Smrg /^X\/\(\/\).*/{ 5658ef7198c0Smrg s//\1/ 5659ef7198c0Smrg q 5660ef7198c0Smrg } 5661ef7198c0Smrg s/.*/./; q'` 566256f6b22bSmrg 5663ef7198c0Smrg# CDPATH. 5664ef7198c0Smrg$as_unset CDPATH 566556f6b22bSmrg 566656f6b22bSmrg 566756f6b22bSmrg 566856f6b22bSmrg as_lineno_1=$LINENO 566956f6b22bSmrg as_lineno_2=$LINENO 567056f6b22bSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 5671ef7198c0Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 567256f6b22bSmrg 567356f6b22bSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 567456f6b22bSmrg # uniformly replaced by the line number. The first 'sed' inserts a 5675ef7198c0Smrg # line-number line after each line using $LINENO; the second 'sed' 5676ef7198c0Smrg # does the real work. The second script uses 'N' to pair each 5677ef7198c0Smrg # line-number line with the line containing $LINENO, and appends 5678ef7198c0Smrg # trailing '-' during substitution so that $LINENO is not a special 5679ef7198c0Smrg # case at line end. 568056f6b22bSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5681ef7198c0Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 5682ef7198c0Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 5683ef7198c0Smrg sed -n ' 5684ef7198c0Smrg p 5685ef7198c0Smrg /[$]LINENO/= 5686ef7198c0Smrg ' <$as_myself | 568756f6b22bSmrg sed ' 5688ef7198c0Smrg s/[$]LINENO.*/&-/ 5689ef7198c0Smrg t lineno 5690ef7198c0Smrg b 5691ef7198c0Smrg :lineno 569256f6b22bSmrg N 5693ef7198c0Smrg :loop 5694ef7198c0Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 569556f6b22bSmrg t loop 5696ef7198c0Smrg s/-\n.*// 569756f6b22bSmrg ' >$as_me.lineno && 5698ef7198c0Smrg chmod +x "$as_me.lineno" || 5699ef7198c0Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 570056f6b22bSmrg { (exit 1); exit 1; }; } 570156f6b22bSmrg 570256f6b22bSmrg # Don't try to exec as it changes $[0], causing all sort of problems 570356f6b22bSmrg # (the dirname of $[0] is not the place where we might find the 5704ef7198c0Smrg # original and so on. Autoconf is especially sensitive to this). 5705ef7198c0Smrg . "./$as_me.lineno" 570656f6b22bSmrg # Exit status is that of the last command. 570756f6b22bSmrg exit 570856f6b22bSmrg} 570956f6b22bSmrg 571056f6b22bSmrg 5711ef7198c0Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5712ef7198c0Smrg as_dirname=dirname 5713ef7198c0Smrgelse 5714ef7198c0Smrg as_dirname=false 5715ef7198c0Smrgfi 571656f6b22bSmrg 5717ef7198c0SmrgECHO_C= ECHO_N= ECHO_T= 5718ef7198c0Smrgcase `echo -n x` in 5719ef7198c0Smrg-n*) 5720ef7198c0Smrg case `echo 'x\c'` in 5721ef7198c0Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5722ef7198c0Smrg *) ECHO_C='\c';; 5723ef7198c0Smrg esac;; 5724ef7198c0Smrg*) 5725ef7198c0Smrg ECHO_N='-n';; 5726ef7198c0Smrgesac 5727ef7198c0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 5728ef7198c0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 572956f6b22bSmrg as_expr=expr 573056f6b22bSmrgelse 573156f6b22bSmrg as_expr=false 573256f6b22bSmrgfi 573356f6b22bSmrg 573456f6b22bSmrgrm -f conf$$ conf$$.exe conf$$.file 5735ef7198c0Smrgif test -d conf$$.dir; then 5736ef7198c0Smrg rm -f conf$$.dir/conf$$.file 5737ef7198c0Smrgelse 5738ef7198c0Smrg rm -f conf$$.dir 5739ef7198c0Smrg mkdir conf$$.dir 2>/dev/null 5740ef7198c0Smrgfi 5741ef7198c0Smrgif (echo >conf$$.file) 2>/dev/null; then 5742ef7198c0Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 574356f6b22bSmrg as_ln_s='ln -s' 5744ef7198c0Smrg # ... but there are two gotchas: 5745ef7198c0Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5746ef7198c0Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5747ef7198c0Smrg # In both cases, we have to default to `cp -p'. 5748ef7198c0Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5749ef7198c0Smrg as_ln_s='cp -p' 5750ef7198c0Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 5751ef7198c0Smrg as_ln_s=ln 5752ef7198c0Smrg else 5753ef7198c0Smrg as_ln_s='cp -p' 575456f6b22bSmrg fi 575556f6b22bSmrgelse 575656f6b22bSmrg as_ln_s='cp -p' 575756f6b22bSmrgfi 5758ef7198c0Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5759ef7198c0Smrgrmdir conf$$.dir 2>/dev/null 576056f6b22bSmrg 576156f6b22bSmrgif mkdir -p . 2>/dev/null; then 576256f6b22bSmrg as_mkdir_p=: 576356f6b22bSmrgelse 576456f6b22bSmrg test -d ./-p && rmdir ./-p 576556f6b22bSmrg as_mkdir_p=false 576656f6b22bSmrgfi 576756f6b22bSmrg 5768ef7198c0Smrgif test -x / >/dev/null 2>&1; then 5769ef7198c0Smrg as_test_x='test -x' 5770ef7198c0Smrgelse 5771ef7198c0Smrg if ls -dL / >/dev/null 2>&1; then 5772ef7198c0Smrg as_ls_L_option=L 5773ef7198c0Smrg else 5774ef7198c0Smrg as_ls_L_option= 5775ef7198c0Smrg fi 5776ef7198c0Smrg as_test_x=' 5777ef7198c0Smrg eval sh -c '\'' 5778ef7198c0Smrg if test -d "$1"; then 5779ef7198c0Smrg test -d "$1/."; 5780ef7198c0Smrg else 5781ef7198c0Smrg case $1 in 5782ef7198c0Smrg -*)set "./$1";; 5783ef7198c0Smrg esac; 5784ef7198c0Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5785ef7198c0Smrg ???[sx]*):;;*)false;;esac;fi 5786ef7198c0Smrg '\'' sh 5787ef7198c0Smrg ' 5788ef7198c0Smrgfi 5789ef7198c0Smrgas_executable_p=$as_test_x 579056f6b22bSmrg 579156f6b22bSmrg# Sed expression to map a string onto a valid CPP name. 579256f6b22bSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 579356f6b22bSmrg 579456f6b22bSmrg# Sed expression to map a string onto a valid variable name. 579556f6b22bSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 579656f6b22bSmrg 579756f6b22bSmrg 579856f6b22bSmrgexec 6>&1 579956f6b22bSmrg 5800ef7198c0Smrg# Save the log message, to keep $[0] and so on meaningful, and to 580156f6b22bSmrg# report actual input values of CONFIG_FILES etc. instead of their 5802ef7198c0Smrg# values after options handling. 5803ef7198c0Smrgac_log=" 5804ef7198c0SmrgThis file was extended by font-bitstream-100dpi $as_me 1.0.1, which was 5805ef7198c0Smrggenerated by GNU Autoconf 2.63. Invocation command line was 580656f6b22bSmrg 580756f6b22bSmrg CONFIG_FILES = $CONFIG_FILES 580856f6b22bSmrg CONFIG_HEADERS = $CONFIG_HEADERS 580956f6b22bSmrg CONFIG_LINKS = $CONFIG_LINKS 581056f6b22bSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 581156f6b22bSmrg $ $0 $@ 581256f6b22bSmrg 5813ef7198c0Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 5814ef7198c0Smrg" 5815ef7198c0Smrg 581656f6b22bSmrg_ACEOF 581756f6b22bSmrg 5818ef7198c0Smrgcase $ac_config_files in *" 5819ef7198c0Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 5820ef7198c0Smrgesac 582156f6b22bSmrg 582256f6b22bSmrg 582356f6b22bSmrg 5824ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5825ef7198c0Smrg# Files that config.status was made for. 5826ef7198c0Smrgconfig_files="$ac_config_files" 5827ef7198c0Smrgconfig_commands="$ac_config_commands" 582856f6b22bSmrg 5829ef7198c0Smrg_ACEOF 583056f6b22bSmrg 5831ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 583256f6b22bSmrgac_cs_usage="\ 583356f6b22bSmrg\`$as_me' instantiates files from templates according to the 583456f6b22bSmrgcurrent configuration. 583556f6b22bSmrg 5836ef7198c0SmrgUsage: $0 [OPTION]... [FILE]... 583756f6b22bSmrg 583856f6b22bSmrg -h, --help print this help, then exit 5839ef7198c0Smrg -V, --version print version number and configuration settings, then exit 5840ef7198c0Smrg -q, --quiet, --silent 5841ef7198c0Smrg do not print progress messages 584256f6b22bSmrg -d, --debug don't remove temporary files 584356f6b22bSmrg --recheck update $as_me by reconfiguring in the same conditions 5844ef7198c0Smrg --file=FILE[:TEMPLATE] 5845ef7198c0Smrg instantiate the configuration file FILE 584656f6b22bSmrg 584756f6b22bSmrgConfiguration files: 584856f6b22bSmrg$config_files 584956f6b22bSmrg 5850ef7198c0SmrgConfiguration commands: 5851ef7198c0Smrg$config_commands 5852ef7198c0Smrg 585356f6b22bSmrgReport bugs to <bug-autoconf@gnu.org>." 585456f6b22bSmrg 5855ef7198c0Smrg_ACEOF 5856ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 585756f6b22bSmrgac_cs_version="\\ 5858ef7198c0Smrgfont-bitstream-100dpi config.status 1.0.1 5859ef7198c0Smrgconfigured by $0, generated by GNU Autoconf 2.63, 5860ef7198c0Smrg with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 586156f6b22bSmrg 5862ef7198c0SmrgCopyright (C) 2008 Free Software Foundation, Inc. 586356f6b22bSmrgThis config.status script is free software; the Free Software Foundation 586456f6b22bSmrggives unlimited permission to copy, distribute and modify it." 5865ef7198c0Smrg 5866ef7198c0Smrgac_pwd='$ac_pwd' 5867ef7198c0Smrgsrcdir='$srcdir' 5868ef7198c0SmrgINSTALL='$INSTALL' 5869ef7198c0SmrgMKDIR_P='$MKDIR_P' 5870ef7198c0SmrgAWK='$AWK' 5871ef7198c0Smrgtest -n "\$AWK" || AWK=awk 587256f6b22bSmrg_ACEOF 587356f6b22bSmrg 5874ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5875ef7198c0Smrg# The default lists apply if the user does not specify any file. 587656f6b22bSmrgac_need_defaults=: 587756f6b22bSmrgwhile test $# != 0 587856f6b22bSmrgdo 587956f6b22bSmrg case $1 in 588056f6b22bSmrg --*=*) 5881ef7198c0Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5882ef7198c0Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 588356f6b22bSmrg ac_shift=: 588456f6b22bSmrg ;; 5885ef7198c0Smrg *) 588656f6b22bSmrg ac_option=$1 588756f6b22bSmrg ac_optarg=$2 588856f6b22bSmrg ac_shift=shift 588956f6b22bSmrg ;; 589056f6b22bSmrg esac 589156f6b22bSmrg 589256f6b22bSmrg case $ac_option in 589356f6b22bSmrg # Handling of the options. 589456f6b22bSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 589556f6b22bSmrg ac_cs_recheck=: ;; 5896ef7198c0Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5897ef7198c0Smrg $as_echo "$ac_cs_version"; exit ;; 5898ef7198c0Smrg --debug | --debu | --deb | --de | --d | -d ) 589956f6b22bSmrg debug=: ;; 590056f6b22bSmrg --file | --fil | --fi | --f ) 590156f6b22bSmrg $ac_shift 5902ef7198c0Smrg case $ac_optarg in 5903ef7198c0Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5904ef7198c0Smrg esac 5905ef7198c0Smrg CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 590656f6b22bSmrg ac_need_defaults=false;; 5907ef7198c0Smrg --he | --h | --help | --hel | -h ) 5908ef7198c0Smrg $as_echo "$ac_cs_usage"; exit ;; 590956f6b22bSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 591056f6b22bSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 591156f6b22bSmrg ac_cs_silent=: ;; 591256f6b22bSmrg 591356f6b22bSmrg # This is an error. 5914ef7198c0Smrg -*) { $as_echo "$as_me: error: unrecognized option: $1 5915ef7198c0SmrgTry \`$0 --help' for more information." >&2 591656f6b22bSmrg { (exit 1); exit 1; }; } ;; 591756f6b22bSmrg 5918ef7198c0Smrg *) ac_config_targets="$ac_config_targets $1" 5919ef7198c0Smrg ac_need_defaults=false ;; 592056f6b22bSmrg 592156f6b22bSmrg esac 592256f6b22bSmrg shift 592356f6b22bSmrgdone 592456f6b22bSmrg 592556f6b22bSmrgac_configure_extra_args= 592656f6b22bSmrg 592756f6b22bSmrgif $ac_cs_silent; then 592856f6b22bSmrg exec 6>/dev/null 592956f6b22bSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 593056f6b22bSmrgfi 593156f6b22bSmrg 593256f6b22bSmrg_ACEOF 5933ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 593456f6b22bSmrgif \$ac_cs_recheck; then 5935ef7198c0Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5936ef7198c0Smrg shift 5937ef7198c0Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5938ef7198c0Smrg CONFIG_SHELL='$SHELL' 5939ef7198c0Smrg export CONFIG_SHELL 5940ef7198c0Smrg exec "\$@" 594156f6b22bSmrgfi 594256f6b22bSmrg 594356f6b22bSmrg_ACEOF 5944ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5945ef7198c0Smrgexec 5>>config.log 5946ef7198c0Smrg{ 5947ef7198c0Smrg echo 5948ef7198c0Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5949ef7198c0Smrg## Running $as_me. ## 5950ef7198c0Smrg_ASBOX 5951ef7198c0Smrg $as_echo "$ac_log" 5952ef7198c0Smrg} >&5 595356f6b22bSmrg 5954ef7198c0Smrg_ACEOF 5955ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5956ef7198c0Smrg# 5957ef7198c0Smrg# INIT-COMMANDS 5958ef7198c0Smrg# 5959ef7198c0SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 596056f6b22bSmrg 5961ef7198c0Smrg_ACEOF 596256f6b22bSmrg 5963ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 596456f6b22bSmrg 5965ef7198c0Smrg# Handling of arguments. 596656f6b22bSmrgfor ac_config_target in $ac_config_targets 596756f6b22bSmrgdo 5968ef7198c0Smrg case $ac_config_target in 5969ef7198c0Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5970ef7198c0Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5971ef7198c0Smrg 5972ef7198c0Smrg *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5973ef7198c0Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 597456f6b22bSmrg { (exit 1); exit 1; }; };; 597556f6b22bSmrg esac 597656f6b22bSmrgdone 597756f6b22bSmrg 5978ef7198c0Smrg 597956f6b22bSmrg# If the user did not use the arguments to specify the items to instantiate, 598056f6b22bSmrg# then the envvar interface is used. Set only those that are not. 598156f6b22bSmrg# We use the long form for the default assignment because of an extremely 598256f6b22bSmrg# bizarre bug on SunOS 4.1.3. 598356f6b22bSmrgif $ac_need_defaults; then 598456f6b22bSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5985ef7198c0Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 598656f6b22bSmrgfi 598756f6b22bSmrg 598856f6b22bSmrg# Have a temporary directory for convenience. Make it in the build tree 5989ef7198c0Smrg# simply because there is no reason against having it here, and in addition, 599056f6b22bSmrg# creating and moving files from /tmp can sometimes cause problems. 5991ef7198c0Smrg# Hook for its removal unless debugging. 5992ef7198c0Smrg# Note that there is a small window in which the directory will not be cleaned: 5993ef7198c0Smrg# after its creation but before its name has been assigned to `$tmp'. 599456f6b22bSmrg$debug || 599556f6b22bSmrg{ 5996ef7198c0Smrg tmp= 5997ef7198c0Smrg trap 'exit_status=$? 5998ef7198c0Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 5999ef7198c0Smrg' 0 600056f6b22bSmrg trap '{ (exit 1); exit 1; }' 1 2 13 15 600156f6b22bSmrg} 600256f6b22bSmrg# Create a (secure) tmp directory for tmp files. 600356f6b22bSmrg 600456f6b22bSmrg{ 6005ef7198c0Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 600656f6b22bSmrg test -n "$tmp" && test -d "$tmp" 600756f6b22bSmrg} || 600856f6b22bSmrg{ 6009ef7198c0Smrg tmp=./conf$$-$RANDOM 6010ef7198c0Smrg (umask 077 && mkdir "$tmp") 601156f6b22bSmrg} || 601256f6b22bSmrg{ 6013ef7198c0Smrg $as_echo "$as_me: cannot create a temporary directory in ." >&2 601456f6b22bSmrg { (exit 1); exit 1; } 601556f6b22bSmrg} 601656f6b22bSmrg 6017ef7198c0Smrg# Set up the scripts for CONFIG_FILES section. 6018ef7198c0Smrg# No need to generate them if there are no CONFIG_FILES. 6019ef7198c0Smrg# This happens for instance with `./config.status config.h'. 6020ef7198c0Smrgif test -n "$CONFIG_FILES"; then 6021ef7198c0Smrg 6022ef7198c0Smrg 6023ef7198c0Smrgac_cr=' 6024ef7198c0Smrg' 6025ef7198c0Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6026ef7198c0Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6027ef7198c0Smrg ac_cs_awk_cr='\\r' 6028ef7198c0Smrgelse 6029ef7198c0Smrg ac_cs_awk_cr=$ac_cr 6030ef7198c0Smrgfi 6031ef7198c0Smrg 603256f6b22bSmrgecho 'BEGIN {' >"$tmp/subs1.awk" && 603356f6b22bSmrg_ACEOF 603456f6b22bSmrg 6035ef7198c0Smrg 6036ef7198c0Smrg{ 6037ef7198c0Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 6038ef7198c0Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6039ef7198c0Smrg echo "_ACEOF" 6040ef7198c0Smrg} >conf$$subs.sh || 6041ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6042ef7198c0Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6043ef7198c0Smrg { (exit 1); exit 1; }; } 6044ef7198c0Smrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 6045ef7198c0Smrgac_delim='%!_!# ' 6046ef7198c0Smrgfor ac_last_try in false false false false false :; do 6047ef7198c0Smrg . ./conf$$subs.sh || 6048ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6049ef7198c0Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 605056f6b22bSmrg { (exit 1); exit 1; }; } 6051ef7198c0Smrg 6052ef7198c0Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6053ef7198c0Smrg if test $ac_delim_n = $ac_delim_num; then 6054ef7198c0Smrg break 6055ef7198c0Smrg elif $ac_last_try; then 6056ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6057ef7198c0Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6058ef7198c0Smrg { (exit 1); exit 1; }; } 6059ef7198c0Smrg else 606056f6b22bSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6061ef7198c0Smrg fi 6062ef7198c0Smrgdone 606356f6b22bSmrgrm -f conf$$subs.sh 6064ef7198c0Smrg 6065ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 606656f6b22bSmrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 6067ef7198c0Smrg_ACEOF 6068ef7198c0Smrgsed -n ' 6069ef7198c0Smrgh 6070ef7198c0Smrgs/^/S["/; s/!.*/"]=/ 6071ef7198c0Smrgp 6072ef7198c0Smrgg 6073ef7198c0Smrgs/^[^!]*!// 6074ef7198c0Smrg:repl 6075ef7198c0Smrgt repl 6076ef7198c0Smrgs/'"$ac_delim"'$// 6077ef7198c0Smrgt delim 6078ef7198c0Smrg:nl 6079ef7198c0Smrgh 6080ef7198c0Smrgs/\(.\{148\}\).*/\1/ 6081ef7198c0Smrgt more1 6082ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6083ef7198c0Smrgp 6084ef7198c0Smrgn 6085ef7198c0Smrgb repl 6086ef7198c0Smrg:more1 6087ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6088ef7198c0Smrgp 6089ef7198c0Smrgg 6090ef7198c0Smrgs/.\{148\}// 6091ef7198c0Smrgt nl 6092ef7198c0Smrg:delim 6093ef7198c0Smrgh 6094ef7198c0Smrgs/\(.\{148\}\).*/\1/ 6095ef7198c0Smrgt more2 6096ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 6097ef7198c0Smrgp 6098ef7198c0Smrgb 6099ef7198c0Smrg:more2 6100ef7198c0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6101ef7198c0Smrgp 6102ef7198c0Smrgg 6103ef7198c0Smrgs/.\{148\}// 6104ef7198c0Smrgt delim 6105ef7198c0Smrg' <conf$$subs.awk | sed ' 6106ef7198c0Smrg/^[^""]/{ 6107ef7198c0Smrg N 6108ef7198c0Smrg s/\n// 6109ef7198c0Smrg} 6110ef7198c0Smrg' >>$CONFIG_STATUS || ac_write_fail=1 6111ef7198c0Smrgrm -f conf$$subs.awk 6112ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6113ef7198c0Smrg_ACAWK 6114ef7198c0Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 6115ef7198c0Smrg for (key in S) S_is_set[key] = 1 6116ef7198c0Smrg FS = "" 6117ef7198c0Smrg 6118ef7198c0Smrg} 6119ef7198c0Smrg{ 6120ef7198c0Smrg line = $ 0 6121ef7198c0Smrg nfields = split(line, field, "@") 6122ef7198c0Smrg substed = 0 6123ef7198c0Smrg len = length(field[1]) 6124ef7198c0Smrg for (i = 2; i < nfields; i++) { 6125ef7198c0Smrg key = field[i] 6126ef7198c0Smrg keylen = length(key) 6127ef7198c0Smrg if (S_is_set[key]) { 6128ef7198c0Smrg value = S[key] 6129ef7198c0Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6130ef7198c0Smrg len += length(value) + length(field[++i]) 6131ef7198c0Smrg substed = 1 6132ef7198c0Smrg } else 6133ef7198c0Smrg len += 1 + keylen 6134ef7198c0Smrg } 6135ef7198c0Smrg 6136ef7198c0Smrg print line 6137ef7198c0Smrg} 6138ef7198c0Smrg 6139ef7198c0Smrg_ACAWK 6140ef7198c0Smrg_ACEOF 6141ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6142ef7198c0Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6143ef7198c0Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6144ef7198c0Smrgelse 6145ef7198c0Smrg cat 6146ef7198c0Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 6147ef7198c0Smrg || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 6148ef7198c0Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;} 6149ef7198c0Smrg { (exit 1); exit 1; }; } 6150ef7198c0Smrg_ACEOF 6151ef7198c0Smrg 6152ef7198c0Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 6153ef7198c0Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6154ef7198c0Smrg# trailing colons and then remove the whole line if VPATH becomes empty 6155ef7198c0Smrg# (actually we leave an empty line to preserve line numbers). 6156ef7198c0Smrgif test "x$srcdir" = x.; then 6157ef7198c0Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6158ef7198c0Smrgs/:*\$(srcdir):*/:/ 6159ef7198c0Smrgs/:*\${srcdir}:*/:/ 6160ef7198c0Smrgs/:*@srcdir@:*/:/ 6161ef7198c0Smrgs/^\([^=]*=[ ]*\):*/\1/ 6162ef7198c0Smrgs/:*$// 6163ef7198c0Smrgs/^[^=]*=[ ]*$// 6164ef7198c0Smrg}' 6165ef7198c0Smrgfi 6166ef7198c0Smrg 6167ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6168ef7198c0Smrgfi # test -n "$CONFIG_FILES" 6169ef7198c0Smrg 6170ef7198c0Smrg 6171ef7198c0Smrgeval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 6172ef7198c0Smrgshift 6173ef7198c0Smrgfor ac_tag 6174ef7198c0Smrgdo 6175ef7198c0Smrg case $ac_tag in 6176ef7198c0Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 6177ef7198c0Smrg esac 6178ef7198c0Smrg case $ac_mode$ac_tag in 6179ef7198c0Smrg :[FHL]*:*);; 6180ef7198c0Smrg :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 6181ef7198c0Smrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 6182ef7198c0Smrg { (exit 1); exit 1; }; };; 6183ef7198c0Smrg :[FH]-) ac_tag=-:-;; 6184ef7198c0Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6185ef7198c0Smrg esac 6186ef7198c0Smrg ac_save_IFS=$IFS 6187ef7198c0Smrg IFS=: 6188ef7198c0Smrg set x $ac_tag 6189ef7198c0Smrg IFS=$ac_save_IFS 6190ef7198c0Smrg shift 6191ef7198c0Smrg ac_file=$1 6192ef7198c0Smrg shift 6193ef7198c0Smrg 6194ef7198c0Smrg case $ac_mode in 6195ef7198c0Smrg :L) ac_source=$1;; 6196ef7198c0Smrg :[FH]) 6197ef7198c0Smrg ac_file_inputs= 6198ef7198c0Smrg for ac_f 6199ef7198c0Smrg do 6200ef7198c0Smrg case $ac_f in 6201ef7198c0Smrg -) ac_f="$tmp/stdin";; 6202ef7198c0Smrg *) # Look for the file first in the build tree, then in the source tree 6203ef7198c0Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 6204ef7198c0Smrg # because $ac_f cannot contain `:'. 6205ef7198c0Smrg test -f "$ac_f" || 6206ef7198c0Smrg case $ac_f in 6207ef7198c0Smrg [\\/$]*) false;; 6208ef7198c0Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6209ef7198c0Smrg esac || 6210ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 6211ef7198c0Smrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 6212ef7198c0Smrg { (exit 1); exit 1; }; };; 6213ef7198c0Smrg esac 6214ef7198c0Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6215ef7198c0Smrg ac_file_inputs="$ac_file_inputs '$ac_f'" 6216ef7198c0Smrg done 6217ef7198c0Smrg 6218ef7198c0Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 6219ef7198c0Smrg # use $as_me), people would be surprised to read: 6220ef7198c0Smrg # /* config.h. Generated by config.status. */ 6221ef7198c0Smrg configure_input='Generated from '` 6222ef7198c0Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6223ef7198c0Smrg `' by configure.' 6224ef7198c0Smrg if test x"$ac_file" != x-; then 6225ef7198c0Smrg configure_input="$ac_file. $configure_input" 6226ef7198c0Smrg { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 6227ef7198c0Smrg$as_echo "$as_me: creating $ac_file" >&6;} 6228ef7198c0Smrg fi 6229ef7198c0Smrg # Neutralize special characters interpreted by sed in replacement strings. 6230ef7198c0Smrg case $configure_input in #( 6231ef7198c0Smrg *\&* | *\|* | *\\* ) 6232ef7198c0Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 6233ef7198c0Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 6234ef7198c0Smrg *) ac_sed_conf_input=$configure_input;; 6235ef7198c0Smrg esac 6236ef7198c0Smrg 6237ef7198c0Smrg case $ac_tag in 6238ef7198c0Smrg *:-:* | *:-) cat >"$tmp/stdin" \ 6239ef7198c0Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6240ef7198c0Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6241ef7198c0Smrg { (exit 1); exit 1; }; } ;; 6242ef7198c0Smrg esac 624356f6b22bSmrg ;; 624456f6b22bSmrg esac 6245ef7198c0Smrg 624656f6b22bSmrg ac_dir=`$as_dirname -- "$ac_file" || 624756f6b22bSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 624856f6b22bSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 6249ef7198c0Smrg X"$ac_file" : 'X\(//\)$' \| \ 6250ef7198c0Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6251ef7198c0Smrg$as_echo X"$ac_file" | 6252ef7198c0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6253ef7198c0Smrg s//\1/ 6254ef7198c0Smrg q 6255ef7198c0Smrg } 6256ef7198c0Smrg /^X\(\/\/\)[^/].*/{ 6257ef7198c0Smrg s//\1/ 6258ef7198c0Smrg q 6259ef7198c0Smrg } 6260ef7198c0Smrg /^X\(\/\/\)$/{ 6261ef7198c0Smrg s//\1/ 6262ef7198c0Smrg q 6263ef7198c0Smrg } 6264ef7198c0Smrg /^X\(\/\).*/{ 6265ef7198c0Smrg s//\1/ 6266ef7198c0Smrg q 6267ef7198c0Smrg } 6268ef7198c0Smrg s/.*/./; q'` 6269ef7198c0Smrg { as_dir="$ac_dir" 6270ef7198c0Smrg case $as_dir in #( 6271ef7198c0Smrg -*) as_dir=./$as_dir;; 6272ef7198c0Smrg esac 627356f6b22bSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6274ef7198c0Smrg as_dirs= 6275ef7198c0Smrg while :; do 6276ef7198c0Smrg case $as_dir in #( 6277ef7198c0Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6278ef7198c0Smrg *) as_qdir=$as_dir;; 6279ef7198c0Smrg esac 6280ef7198c0Smrg as_dirs="'$as_qdir' $as_dirs" 628156f6b22bSmrg as_dir=`$as_dirname -- "$as_dir" || 628256f6b22bSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 628356f6b22bSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 6284ef7198c0Smrg X"$as_dir" : 'X\(//\)$' \| \ 6285ef7198c0Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6286ef7198c0Smrg$as_echo X"$as_dir" | 6287ef7198c0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6288ef7198c0Smrg s//\1/ 6289ef7198c0Smrg q 6290ef7198c0Smrg } 6291ef7198c0Smrg /^X\(\/\/\)[^/].*/{ 6292ef7198c0Smrg s//\1/ 6293ef7198c0Smrg q 6294ef7198c0Smrg } 6295ef7198c0Smrg /^X\(\/\/\)$/{ 6296ef7198c0Smrg s//\1/ 6297ef7198c0Smrg q 6298ef7198c0Smrg } 6299ef7198c0Smrg /^X\(\/\).*/{ 6300ef7198c0Smrg s//\1/ 6301ef7198c0Smrg q 6302ef7198c0Smrg } 6303ef7198c0Smrg s/.*/./; q'` 630456f6b22bSmrg test -d "$as_dir" && break 6305ef7198c0Smrg done 6306ef7198c0Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 6307ef7198c0Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 630856f6b22bSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 630956f6b22bSmrg { (exit 1); exit 1; }; }; } 631056f6b22bSmrg ac_builddir=. 6311ef7198c0Smrg 6312ef7198c0Smrgcase "$ac_dir" in 6313ef7198c0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6314ef7198c0Smrg*) 6315ef7198c0Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 6316ef7198c0Smrg # A ".." for each directory in $ac_dir_suffix. 6317ef7198c0Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 6318ef7198c0Smrg case $ac_top_builddir_sub in 6319ef7198c0Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6320ef7198c0Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6321ef7198c0Smrg esac ;; 6322ef7198c0Smrgesac 6323ef7198c0Smrgac_abs_top_builddir=$ac_pwd 6324ef7198c0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 6325ef7198c0Smrg# for backward compatibility: 632656f6b22bSmrgac_top_builddir=$ac_top_build_prefix 632756f6b22bSmrg 6328ef7198c0Smrgcase $srcdir in 632956f6b22bSmrg .) # We are building in place. 6330ef7198c0Smrg ac_srcdir=. 6331ef7198c0Smrg ac_top_srcdir=$ac_top_builddir_sub 6332ef7198c0Smrg ac_abs_top_srcdir=$ac_pwd ;; 633356f6b22bSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 6334ef7198c0Smrg ac_srcdir=$srcdir$ac_dir_suffix; 6335ef7198c0Smrg ac_top_srcdir=$srcdir 6336ef7198c0Smrg ac_abs_top_srcdir=$srcdir ;; 6337ef7198c0Smrg *) # Relative name. 6338ef7198c0Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6339ef7198c0Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 634056f6b22bSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6341ef7198c0Smrgesac 634256f6b22bSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 634356f6b22bSmrg 6344ef7198c0Smrg 6345ef7198c0Smrg case $ac_mode in 6346ef7198c0Smrg :F) 6347ef7198c0Smrg # 6348ef7198c0Smrg # CONFIG_FILE 634956f6b22bSmrg # 635056f6b22bSmrg 635156f6b22bSmrg case $INSTALL in 6352ef7198c0Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 635356f6b22bSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6354ef7198c0Smrg esac 6355ef7198c0Smrg ac_MKDIR_P=$MKDIR_P 6356ef7198c0Smrg case $MKDIR_P in 6357ef7198c0Smrg [\\/$]* | ?:[\\/]* ) ;; 6358ef7198c0Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6359ef7198c0Smrg esac 636056f6b22bSmrg_ACEOF 6361ef7198c0Smrg 6362ef7198c0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6363ef7198c0Smrg# If the template does not know about datarootdir, expand it. 6364ef7198c0Smrg# FIXME: This hack should be removed a few years after 2.60. 6365ef7198c0Smrgac_datarootdir_hack=; ac_datarootdir_seen= 6366ef7198c0Smrg 6367ef7198c0Smrgac_sed_dataroot=' 6368ef7198c0Smrg/datarootdir/ { 6369ef7198c0Smrg p 6370ef7198c0Smrg q 6371ef7198c0Smrg} 6372ef7198c0Smrg/@datadir@/p 6373ef7198c0Smrg/@docdir@/p 6374ef7198c0Smrg/@infodir@/p 6375ef7198c0Smrg/@localedir@/p 6376ef7198c0Smrg/@mandir@/p 6377ef7198c0Smrg' 6378ef7198c0Smrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6379ef7198c0Smrg*datarootdir*) ac_datarootdir_seen=yes;; 6380ef7198c0Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6381ef7198c0Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6382ef7198c0Smrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6383ef7198c0Smrg_ACEOF 6384ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6385ef7198c0Smrg ac_datarootdir_hack=' 6386ef7198c0Smrg s&@datadir@&$datadir&g 6387ef7198c0Smrg s&@docdir@&$docdir&g 6388ef7198c0Smrg s&@infodir@&$infodir&g 6389ef7198c0Smrg s&@localedir@&$localedir&g 6390ef7198c0Smrg s&@mandir@&$mandir&g 6391ef7198c0Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 639256f6b22bSmrgesac 6393ef7198c0Smrg_ACEOF 6394ef7198c0Smrg 6395ef7198c0Smrg# Neutralize VPATH when `$srcdir' = `.'. 6396ef7198c0Smrg# Shell code in configure.ac might set extrasub. 6397ef7198c0Smrg# FIXME: do we really want to maintain this feature? 6398ef7198c0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 639956f6b22bSmrgac_sed_extra="$ac_vpsub 640056f6b22bSmrg$extrasub 6401ef7198c0Smrg_ACEOF 640256f6b22bSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 640356f6b22bSmrg:t 6404ef7198c0Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6405ef7198c0Smrgs|@configure_input@|$ac_sed_conf_input|;t t 6406ef7198c0Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 6407ef7198c0Smrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 6408ef7198c0Smrgs&@srcdir@&$ac_srcdir&;t t 6409ef7198c0Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 6410ef7198c0Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 6411ef7198c0Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6412ef7198c0Smrgs&@builddir@&$ac_builddir&;t t 6413ef7198c0Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 6414ef7198c0Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6415ef7198c0Smrgs&@INSTALL@&$ac_INSTALL&;t t 6416ef7198c0Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 6417ef7198c0Smrg$ac_datarootdir_hack 6418ef7198c0Smrg" 6419ef7198c0Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 6420ef7198c0Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6421ef7198c0Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 642256f6b22bSmrg { (exit 1); exit 1; }; } 6423ef7198c0Smrg 6424ef7198c0Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6425ef7198c0Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6426ef7198c0Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6427ef7198c0Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6428ef7198c0Smrgwhich seems to be undefined. Please make sure it is defined." >&5 6429ef7198c0Smrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6430ef7198c0Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 6431ef7198c0Smrg 6432ef7198c0Smrg rm -f "$tmp/stdin" 6433ef7198c0Smrg case $ac_file in 6434ef7198c0Smrg -) cat "$tmp/out" && rm -f "$tmp/out";; 6435ef7198c0Smrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 6436ef7198c0Smrg esac \ 6437ef7198c0Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6438ef7198c0Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6439ef7198c0Smrg { (exit 1); exit 1; }; } 6440ef7198c0Smrg ;; 6441ef7198c0Smrg 6442ef7198c0Smrg 6443ef7198c0Smrg :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 6444ef7198c0Smrg$as_echo "$as_me: executing $ac_file commands" >&6;} 6445ef7198c0Smrg ;; 6446ef7198c0Smrg esac 6447ef7198c0Smrg 6448ef7198c0Smrg 6449ef7198c0Smrg case $ac_file$ac_mode in 6450ef7198c0Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6451ef7198c0Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 6452ef7198c0Smrg # are listed without --file. Let's play safe and only enable the eval 6453ef7198c0Smrg # if we detect the quoting. 6454ef7198c0Smrg case $CONFIG_FILES in 6455ef7198c0Smrg *\'*) eval set x "$CONFIG_FILES" ;; 6456ef7198c0Smrg *) set x $CONFIG_FILES ;; 6457ef7198c0Smrg esac 6458ef7198c0Smrg shift 6459ef7198c0Smrg for mf 6460ef7198c0Smrg do 6461ef7198c0Smrg # Strip MF so we end up with the name of the file. 6462ef7198c0Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 6463ef7198c0Smrg # Check whether this is an Automake generated Makefile or not. 6464ef7198c0Smrg # We used to match only the files named `Makefile.in', but 6465ef7198c0Smrg # some people rename them; so instead we look at the file content. 6466ef7198c0Smrg # Grep'ing the first line is not enough: some people post-process 6467ef7198c0Smrg # each Makefile.in and add a new line on top of each file to say so. 6468ef7198c0Smrg # Grep'ing the whole file is not good either: AIX grep has a line 6469ef7198c0Smrg # limit of 2048, but all sed's we know have understand at least 4000. 6470ef7198c0Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6471ef7198c0Smrg dirpart=`$as_dirname -- "$mf" || 6472ef7198c0Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6473ef7198c0Smrg X"$mf" : 'X\(//\)[^/]' \| \ 6474ef7198c0Smrg X"$mf" : 'X\(//\)$' \| \ 6475ef7198c0Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6476ef7198c0Smrg$as_echo X"$mf" | 6477ef7198c0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6478ef7198c0Smrg s//\1/ 6479ef7198c0Smrg q 6480ef7198c0Smrg } 6481ef7198c0Smrg /^X\(\/\/\)[^/].*/{ 6482ef7198c0Smrg s//\1/ 6483ef7198c0Smrg q 6484ef7198c0Smrg } 6485ef7198c0Smrg /^X\(\/\/\)$/{ 6486ef7198c0Smrg s//\1/ 6487ef7198c0Smrg q 6488ef7198c0Smrg } 6489ef7198c0Smrg /^X\(\/\).*/{ 6490ef7198c0Smrg s//\1/ 6491ef7198c0Smrg q 6492ef7198c0Smrg } 6493ef7198c0Smrg s/.*/./; q'` 6494ef7198c0Smrg else 6495ef7198c0Smrg continue 6496ef7198c0Smrg fi 6497ef7198c0Smrg # Extract the definition of DEPDIR, am__include, and am__quote 6498ef7198c0Smrg # from the Makefile without running `make'. 6499ef7198c0Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6500ef7198c0Smrg test -z "$DEPDIR" && continue 6501ef7198c0Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 6502ef7198c0Smrg test -z "am__include" && continue 6503ef7198c0Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6504ef7198c0Smrg # When using ansi2knr, U may be empty or an underscore; expand it 6505ef7198c0Smrg U=`sed -n 's/^U = //p' < "$mf"` 6506ef7198c0Smrg # Find all dependency output files, they are included files with 6507ef7198c0Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 6508ef7198c0Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 6509ef7198c0Smrg # expansion. 6510ef7198c0Smrg for file in `sed -n " 6511ef7198c0Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6512ef7198c0Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6513ef7198c0Smrg # Make sure the directory exists. 6514ef7198c0Smrg test -f "$dirpart/$file" && continue 6515ef7198c0Smrg fdir=`$as_dirname -- "$file" || 6516ef7198c0Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6517ef7198c0Smrg X"$file" : 'X\(//\)[^/]' \| \ 6518ef7198c0Smrg X"$file" : 'X\(//\)$' \| \ 6519ef7198c0Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 6520ef7198c0Smrg$as_echo X"$file" | 6521ef7198c0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6522ef7198c0Smrg s//\1/ 6523ef7198c0Smrg q 6524ef7198c0Smrg } 6525ef7198c0Smrg /^X\(\/\/\)[^/].*/{ 6526ef7198c0Smrg s//\1/ 6527ef7198c0Smrg q 6528ef7198c0Smrg } 6529ef7198c0Smrg /^X\(\/\/\)$/{ 6530ef7198c0Smrg s//\1/ 6531ef7198c0Smrg q 6532ef7198c0Smrg } 6533ef7198c0Smrg /^X\(\/\).*/{ 6534ef7198c0Smrg s//\1/ 6535ef7198c0Smrg q 6536ef7198c0Smrg } 6537ef7198c0Smrg s/.*/./; q'` 6538ef7198c0Smrg { as_dir=$dirpart/$fdir 6539ef7198c0Smrg case $as_dir in #( 6540ef7198c0Smrg -*) as_dir=./$as_dir;; 6541ef7198c0Smrg esac 6542ef7198c0Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6543ef7198c0Smrg as_dirs= 6544ef7198c0Smrg while :; do 6545ef7198c0Smrg case $as_dir in #( 6546ef7198c0Smrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6547ef7198c0Smrg *) as_qdir=$as_dir;; 6548ef7198c0Smrg esac 6549ef7198c0Smrg as_dirs="'$as_qdir' $as_dirs" 6550ef7198c0Smrg as_dir=`$as_dirname -- "$as_dir" || 6551ef7198c0Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6552ef7198c0Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 6553ef7198c0Smrg X"$as_dir" : 'X\(//\)$' \| \ 6554ef7198c0Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6555ef7198c0Smrg$as_echo X"$as_dir" | 6556ef7198c0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6557ef7198c0Smrg s//\1/ 6558ef7198c0Smrg q 6559ef7198c0Smrg } 6560ef7198c0Smrg /^X\(\/\/\)[^/].*/{ 6561ef7198c0Smrg s//\1/ 6562ef7198c0Smrg q 6563ef7198c0Smrg } 6564ef7198c0Smrg /^X\(\/\/\)$/{ 6565ef7198c0Smrg s//\1/ 6566ef7198c0Smrg q 6567ef7198c0Smrg } 6568ef7198c0Smrg /^X\(\/\).*/{ 6569ef7198c0Smrg s//\1/ 6570ef7198c0Smrg q 6571ef7198c0Smrg } 6572ef7198c0Smrg s/.*/./; q'` 6573ef7198c0Smrg test -d "$as_dir" && break 6574ef7198c0Smrg done 6575ef7198c0Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 6576ef7198c0Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6577ef7198c0Smrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 6578ef7198c0Smrg { (exit 1); exit 1; }; }; } 6579ef7198c0Smrg # echo "creating $dirpart/$file" 6580ef7198c0Smrg echo '# dummy' > "$dirpart/$file" 6581ef7198c0Smrg done 6582ef7198c0Smrg done 6583ef7198c0Smrg} 6584ef7198c0Smrg ;; 6585ef7198c0Smrg 6586ef7198c0Smrg esac 658756f6b22bSmrgdone # for ac_tag 658856f6b22bSmrg 658956f6b22bSmrg 659056f6b22bSmrg{ (exit 0); exit 0; } 659156f6b22bSmrg_ACEOF 659256f6b22bSmrgchmod +x $CONFIG_STATUS 659356f6b22bSmrgac_clean_files=$ac_clean_files_save 6594ef7198c0Smrg 6595ef7198c0Smrgtest $ac_write_fail = 0 || 6596ef7198c0Smrg { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 6597ef7198c0Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 6598ef7198c0Smrg { (exit 1); exit 1; }; } 659956f6b22bSmrg 660056f6b22bSmrg 660156f6b22bSmrg# configure is writing to config.log, and then calls config.status. 660256f6b22bSmrg# config.status does its own redirection, appending to config.log. 660356f6b22bSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 660456f6b22bSmrg# by configure, so config.status won't be able to write to it; its 660556f6b22bSmrg# output is simply discarded. So we exec the FD to /dev/null, 660656f6b22bSmrg# effectively closing config.log, so it can be properly (re)opened and 660756f6b22bSmrg# appended to by config.status. When coming back to configure, we 660856f6b22bSmrg# need to make the FD available again. 660956f6b22bSmrgif test "$no_create" != yes; then 661056f6b22bSmrg ac_cs_success=: 661156f6b22bSmrg ac_config_status_args= 661256f6b22bSmrg test "$silent" = yes && 661356f6b22bSmrg ac_config_status_args="$ac_config_status_args --quiet" 661456f6b22bSmrg exec 5>/dev/null 661556f6b22bSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 661656f6b22bSmrg exec 5>>config.log 661756f6b22bSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 661856f6b22bSmrg # would make configure fail if this is the last instruction. 661956f6b22bSmrg $ac_cs_success || { (exit 1); exit 1; } 6620ef7198c0Smrgfi 6621ef7198c0Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6622ef7198c0Smrg { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6623ef7198c0Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 662456f6b22bSmrgfi 6625 6626