configure revision 62df5ad0
1a0d3b6eaSmrg#! /bin/sh 2a0d3b6eaSmrg# Guess values for system-dependent variables and create Makefiles. 362df5ad0Smrg# Generated by GNU Autoconf 2.63 for xrandr 1.3.0. 4a0d3b6eaSmrg# 5a0d3b6eaSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6a0d3b6eaSmrg# 7a0d3b6eaSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 862df5ad0Smrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9a0d3b6eaSmrg# This configure script is free software; the Free Software Foundation 10a0d3b6eaSmrg# gives unlimited permission to copy, distribute and modify it. 11a0d3b6eaSmrg## --------------------- ## 12a0d3b6eaSmrg## M4sh Initialization. ## 13a0d3b6eaSmrg## --------------------- ## 14a0d3b6eaSmrg 15a0d3b6eaSmrg# Be more Bourne compatible 16a0d3b6eaSmrgDUALCASE=1; export DUALCASE # for MKS sh 17a0d3b6eaSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18a0d3b6eaSmrg emulate sh 19a0d3b6eaSmrg NULLCMD=: 2062df5ad0Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21a0d3b6eaSmrg # is contrary to our usage. Disable this feature. 22a0d3b6eaSmrg alias -g '${1+"$@"}'='"$@"' 23a0d3b6eaSmrg setopt NO_GLOB_SUBST 24a0d3b6eaSmrgelse 25a0d3b6eaSmrg case `(set -o) 2>/dev/null` in 26a0d3b6eaSmrg *posix*) set -o posix ;; 27a0d3b6eaSmrgesac 28a0d3b6eaSmrg 29a0d3b6eaSmrgfi 30a0d3b6eaSmrg 31a0d3b6eaSmrg 32a0d3b6eaSmrg 33a0d3b6eaSmrg 34a0d3b6eaSmrg# PATH needs CR 35a0d3b6eaSmrg# Avoid depending upon Character Ranges. 36a0d3b6eaSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 37a0d3b6eaSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38a0d3b6eaSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 39a0d3b6eaSmrgas_cr_digits='0123456789' 40a0d3b6eaSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 41a0d3b6eaSmrg 4262df5ad0Smrgas_nl=' 4362df5ad0Smrg' 4462df5ad0Smrgexport as_nl 4562df5ad0Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 4662df5ad0Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4762df5ad0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4862df5ad0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4962df5ad0Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5062df5ad0Smrg as_echo='printf %s\n' 5162df5ad0Smrg as_echo_n='printf %s' 5262df5ad0Smrgelse 5362df5ad0Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5462df5ad0Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5562df5ad0Smrg as_echo_n='/usr/ucb/echo -n' 56a0d3b6eaSmrg else 5762df5ad0Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5862df5ad0Smrg as_echo_n_body='eval 5962df5ad0Smrg arg=$1; 6062df5ad0Smrg case $arg in 6162df5ad0Smrg *"$as_nl"*) 6262df5ad0Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 6362df5ad0Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6462df5ad0Smrg esac; 6562df5ad0Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6662df5ad0Smrg ' 6762df5ad0Smrg export as_echo_n_body 6862df5ad0Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 69a0d3b6eaSmrg fi 7062df5ad0Smrg export as_echo_body 7162df5ad0Smrg as_echo='sh -c $as_echo_body as_echo' 7262df5ad0Smrgfi 7362df5ad0Smrg 7462df5ad0Smrg# The user is always right. 7562df5ad0Smrgif test "${PATH_SEPARATOR+set}" != set; then 7662df5ad0Smrg PATH_SEPARATOR=: 7762df5ad0Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7862df5ad0Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7962df5ad0Smrg PATH_SEPARATOR=';' 8062df5ad0Smrg } 81a0d3b6eaSmrgfi 82a0d3b6eaSmrg 83a0d3b6eaSmrg# Support unset when possible. 84a0d3b6eaSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85a0d3b6eaSmrg as_unset=unset 86a0d3b6eaSmrgelse 87a0d3b6eaSmrg as_unset=false 88a0d3b6eaSmrgfi 89a0d3b6eaSmrg 90a0d3b6eaSmrg 91a0d3b6eaSmrg# IFS 92a0d3b6eaSmrg# We need space, tab and new line, in precisely that order. Quoting is 93a0d3b6eaSmrg# there to prevent editors from complaining about space-tab. 94a0d3b6eaSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 95a0d3b6eaSmrg# splitting by setting IFS to empty value.) 96a0d3b6eaSmrgIFS=" "" $as_nl" 97a0d3b6eaSmrg 98a0d3b6eaSmrg# Find who we are. Look in the path if we contain no directory separator. 99a0d3b6eaSmrgcase $0 in 100a0d3b6eaSmrg *[\\/]* ) as_myself=$0 ;; 101a0d3b6eaSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 102a0d3b6eaSmrgfor as_dir in $PATH 103a0d3b6eaSmrgdo 104a0d3b6eaSmrg IFS=$as_save_IFS 105a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 106a0d3b6eaSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107a0d3b6eaSmrgdone 108a0d3b6eaSmrgIFS=$as_save_IFS 109a0d3b6eaSmrg 110a0d3b6eaSmrg ;; 111a0d3b6eaSmrgesac 112a0d3b6eaSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 113a0d3b6eaSmrg# in which case we are not to be found in the path. 114a0d3b6eaSmrgif test "x$as_myself" = x; then 115a0d3b6eaSmrg as_myself=$0 116a0d3b6eaSmrgfi 117a0d3b6eaSmrgif test ! -f "$as_myself"; then 11862df5ad0Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119a0d3b6eaSmrg { (exit 1); exit 1; } 120a0d3b6eaSmrgfi 121a0d3b6eaSmrg 122a0d3b6eaSmrg# Work around bugs in pre-3.0 UWIN ksh. 123a0d3b6eaSmrgfor as_var in ENV MAIL MAILPATH 124a0d3b6eaSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125a0d3b6eaSmrgdone 126a0d3b6eaSmrgPS1='$ ' 127a0d3b6eaSmrgPS2='> ' 128a0d3b6eaSmrgPS4='+ ' 129a0d3b6eaSmrg 130a0d3b6eaSmrg# NLS nuisances. 13162df5ad0SmrgLC_ALL=C 13262df5ad0Smrgexport LC_ALL 13362df5ad0SmrgLANGUAGE=C 13462df5ad0Smrgexport LANGUAGE 135a0d3b6eaSmrg 136a0d3b6eaSmrg# Required to use basename. 137a0d3b6eaSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 138a0d3b6eaSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 139a0d3b6eaSmrg as_expr=expr 140a0d3b6eaSmrgelse 141a0d3b6eaSmrg as_expr=false 142a0d3b6eaSmrgfi 143a0d3b6eaSmrg 144a0d3b6eaSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 145a0d3b6eaSmrg as_basename=basename 146a0d3b6eaSmrgelse 147a0d3b6eaSmrg as_basename=false 148a0d3b6eaSmrgfi 149a0d3b6eaSmrg 150a0d3b6eaSmrg 151a0d3b6eaSmrg# Name of the executable. 152a0d3b6eaSmrgas_me=`$as_basename -- "$0" || 153a0d3b6eaSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 154a0d3b6eaSmrg X"$0" : 'X\(//\)$' \| \ 155a0d3b6eaSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 15662df5ad0Smrg$as_echo X/"$0" | 157a0d3b6eaSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 158a0d3b6eaSmrg s//\1/ 159a0d3b6eaSmrg q 160a0d3b6eaSmrg } 161a0d3b6eaSmrg /^X\/\(\/\/\)$/{ 162a0d3b6eaSmrg s//\1/ 163a0d3b6eaSmrg q 164a0d3b6eaSmrg } 165a0d3b6eaSmrg /^X\/\(\/\).*/{ 166a0d3b6eaSmrg s//\1/ 167a0d3b6eaSmrg q 168a0d3b6eaSmrg } 169a0d3b6eaSmrg s/.*/./; q'` 170a0d3b6eaSmrg 171a0d3b6eaSmrg# CDPATH. 172a0d3b6eaSmrg$as_unset CDPATH 173a0d3b6eaSmrg 174a0d3b6eaSmrg 175a0d3b6eaSmrgif test "x$CONFIG_SHELL" = x; then 176a0d3b6eaSmrg if (eval ":") 2>/dev/null; then 177a0d3b6eaSmrg as_have_required=yes 178a0d3b6eaSmrgelse 179a0d3b6eaSmrg as_have_required=no 180a0d3b6eaSmrgfi 181a0d3b6eaSmrg 18262df5ad0Smrg if test $as_have_required = yes && (eval ": 183a0d3b6eaSmrg(as_func_return () { 184a0d3b6eaSmrg (exit \$1) 185a0d3b6eaSmrg} 186a0d3b6eaSmrgas_func_success () { 187a0d3b6eaSmrg as_func_return 0 188a0d3b6eaSmrg} 189a0d3b6eaSmrgas_func_failure () { 190a0d3b6eaSmrg as_func_return 1 191a0d3b6eaSmrg} 192a0d3b6eaSmrgas_func_ret_success () { 193a0d3b6eaSmrg return 0 194a0d3b6eaSmrg} 195a0d3b6eaSmrgas_func_ret_failure () { 196a0d3b6eaSmrg return 1 197a0d3b6eaSmrg} 198a0d3b6eaSmrg 199a0d3b6eaSmrgexitcode=0 200a0d3b6eaSmrgif as_func_success; then 201a0d3b6eaSmrg : 202a0d3b6eaSmrgelse 203a0d3b6eaSmrg exitcode=1 204a0d3b6eaSmrg echo as_func_success failed. 205a0d3b6eaSmrgfi 206a0d3b6eaSmrg 207a0d3b6eaSmrgif as_func_failure; then 208a0d3b6eaSmrg exitcode=1 209a0d3b6eaSmrg echo as_func_failure succeeded. 210a0d3b6eaSmrgfi 211a0d3b6eaSmrg 212a0d3b6eaSmrgif as_func_ret_success; then 213a0d3b6eaSmrg : 214a0d3b6eaSmrgelse 215a0d3b6eaSmrg exitcode=1 216a0d3b6eaSmrg echo as_func_ret_success failed. 217a0d3b6eaSmrgfi 218a0d3b6eaSmrg 219a0d3b6eaSmrgif as_func_ret_failure; then 220a0d3b6eaSmrg exitcode=1 221a0d3b6eaSmrg echo as_func_ret_failure succeeded. 222a0d3b6eaSmrgfi 223a0d3b6eaSmrg 224a0d3b6eaSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225a0d3b6eaSmrg : 226a0d3b6eaSmrgelse 227a0d3b6eaSmrg exitcode=1 228a0d3b6eaSmrg echo positional parameters were not saved. 229a0d3b6eaSmrgfi 230a0d3b6eaSmrg 231a0d3b6eaSmrgtest \$exitcode = 0) || { (exit 1); exit 1; } 232a0d3b6eaSmrg 233a0d3b6eaSmrg( 234a0d3b6eaSmrg as_lineno_1=\$LINENO 235a0d3b6eaSmrg as_lineno_2=\$LINENO 236a0d3b6eaSmrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237a0d3b6eaSmrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238a0d3b6eaSmrg") 2> /dev/null; then 239a0d3b6eaSmrg : 240a0d3b6eaSmrgelse 241a0d3b6eaSmrg as_candidate_shells= 242a0d3b6eaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243a0d3b6eaSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244a0d3b6eaSmrgdo 245a0d3b6eaSmrg IFS=$as_save_IFS 246a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 247a0d3b6eaSmrg case $as_dir in 248a0d3b6eaSmrg /*) 249a0d3b6eaSmrg for as_base in sh bash ksh sh5; do 250a0d3b6eaSmrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251a0d3b6eaSmrg done;; 252a0d3b6eaSmrg esac 253a0d3b6eaSmrgdone 254a0d3b6eaSmrgIFS=$as_save_IFS 255a0d3b6eaSmrg 256a0d3b6eaSmrg 257a0d3b6eaSmrg for as_shell in $as_candidate_shells $SHELL; do 258a0d3b6eaSmrg # Try only shells that exist, to save several forks. 259a0d3b6eaSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260a0d3b6eaSmrg { ("$as_shell") 2> /dev/null <<\_ASEOF 261a0d3b6eaSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262a0d3b6eaSmrg emulate sh 263a0d3b6eaSmrg NULLCMD=: 26462df5ad0Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265a0d3b6eaSmrg # is contrary to our usage. Disable this feature. 266a0d3b6eaSmrg alias -g '${1+"$@"}'='"$@"' 267a0d3b6eaSmrg setopt NO_GLOB_SUBST 268a0d3b6eaSmrgelse 269a0d3b6eaSmrg case `(set -o) 2>/dev/null` in 270a0d3b6eaSmrg *posix*) set -o posix ;; 271a0d3b6eaSmrgesac 272a0d3b6eaSmrg 273a0d3b6eaSmrgfi 274a0d3b6eaSmrg 275a0d3b6eaSmrg 276a0d3b6eaSmrg: 277a0d3b6eaSmrg_ASEOF 278a0d3b6eaSmrg}; then 279a0d3b6eaSmrg CONFIG_SHELL=$as_shell 280a0d3b6eaSmrg as_have_required=yes 281a0d3b6eaSmrg if { "$as_shell" 2> /dev/null <<\_ASEOF 282a0d3b6eaSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283a0d3b6eaSmrg emulate sh 284a0d3b6eaSmrg NULLCMD=: 28562df5ad0Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286a0d3b6eaSmrg # is contrary to our usage. Disable this feature. 287a0d3b6eaSmrg alias -g '${1+"$@"}'='"$@"' 288a0d3b6eaSmrg setopt NO_GLOB_SUBST 289a0d3b6eaSmrgelse 290a0d3b6eaSmrg case `(set -o) 2>/dev/null` in 291a0d3b6eaSmrg *posix*) set -o posix ;; 292a0d3b6eaSmrgesac 293a0d3b6eaSmrg 294a0d3b6eaSmrgfi 295a0d3b6eaSmrg 296a0d3b6eaSmrg 297a0d3b6eaSmrg: 298a0d3b6eaSmrg(as_func_return () { 299a0d3b6eaSmrg (exit $1) 300a0d3b6eaSmrg} 301a0d3b6eaSmrgas_func_success () { 302a0d3b6eaSmrg as_func_return 0 303a0d3b6eaSmrg} 304a0d3b6eaSmrgas_func_failure () { 305a0d3b6eaSmrg as_func_return 1 306a0d3b6eaSmrg} 307a0d3b6eaSmrgas_func_ret_success () { 308a0d3b6eaSmrg return 0 309a0d3b6eaSmrg} 310a0d3b6eaSmrgas_func_ret_failure () { 311a0d3b6eaSmrg return 1 312a0d3b6eaSmrg} 313a0d3b6eaSmrg 314a0d3b6eaSmrgexitcode=0 315a0d3b6eaSmrgif as_func_success; then 316a0d3b6eaSmrg : 317a0d3b6eaSmrgelse 318a0d3b6eaSmrg exitcode=1 319a0d3b6eaSmrg echo as_func_success failed. 320a0d3b6eaSmrgfi 321a0d3b6eaSmrg 322a0d3b6eaSmrgif as_func_failure; then 323a0d3b6eaSmrg exitcode=1 324a0d3b6eaSmrg echo as_func_failure succeeded. 325a0d3b6eaSmrgfi 326a0d3b6eaSmrg 327a0d3b6eaSmrgif as_func_ret_success; then 328a0d3b6eaSmrg : 329a0d3b6eaSmrgelse 330a0d3b6eaSmrg exitcode=1 331a0d3b6eaSmrg echo as_func_ret_success failed. 332a0d3b6eaSmrgfi 333a0d3b6eaSmrg 334a0d3b6eaSmrgif as_func_ret_failure; then 335a0d3b6eaSmrg exitcode=1 336a0d3b6eaSmrg echo as_func_ret_failure succeeded. 337a0d3b6eaSmrgfi 338a0d3b6eaSmrg 339a0d3b6eaSmrgif ( set x; as_func_ret_success y && test x = "$1" ); then 340a0d3b6eaSmrg : 341a0d3b6eaSmrgelse 342a0d3b6eaSmrg exitcode=1 343a0d3b6eaSmrg echo positional parameters were not saved. 344a0d3b6eaSmrgfi 345a0d3b6eaSmrg 346a0d3b6eaSmrgtest $exitcode = 0) || { (exit 1); exit 1; } 347a0d3b6eaSmrg 348a0d3b6eaSmrg( 349a0d3b6eaSmrg as_lineno_1=$LINENO 350a0d3b6eaSmrg as_lineno_2=$LINENO 351a0d3b6eaSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 352a0d3b6eaSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353a0d3b6eaSmrg 354a0d3b6eaSmrg_ASEOF 355a0d3b6eaSmrg}; then 356a0d3b6eaSmrg break 357a0d3b6eaSmrgfi 358a0d3b6eaSmrg 359a0d3b6eaSmrgfi 360a0d3b6eaSmrg 361a0d3b6eaSmrg done 362a0d3b6eaSmrg 363a0d3b6eaSmrg if test "x$CONFIG_SHELL" != x; then 364a0d3b6eaSmrg for as_var in BASH_ENV ENV 36562df5ad0Smrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 36662df5ad0Smrg done 36762df5ad0Smrg export CONFIG_SHELL 36862df5ad0Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369a0d3b6eaSmrgfi 370a0d3b6eaSmrg 371a0d3b6eaSmrg 372a0d3b6eaSmrg if test $as_have_required = no; then 373a0d3b6eaSmrg echo This script requires a shell more modern than all the 374a0d3b6eaSmrg echo shells that I found on your system. Please install a 375a0d3b6eaSmrg echo modern shell, or manually run the script under such a 376a0d3b6eaSmrg echo shell if you do have one. 377a0d3b6eaSmrg { (exit 1); exit 1; } 378a0d3b6eaSmrgfi 379a0d3b6eaSmrg 380a0d3b6eaSmrg 381a0d3b6eaSmrgfi 382a0d3b6eaSmrg 383a0d3b6eaSmrgfi 384a0d3b6eaSmrg 385a0d3b6eaSmrg 386a0d3b6eaSmrg 387a0d3b6eaSmrg(eval "as_func_return () { 388a0d3b6eaSmrg (exit \$1) 389a0d3b6eaSmrg} 390a0d3b6eaSmrgas_func_success () { 391a0d3b6eaSmrg as_func_return 0 392a0d3b6eaSmrg} 393a0d3b6eaSmrgas_func_failure () { 394a0d3b6eaSmrg as_func_return 1 395a0d3b6eaSmrg} 396a0d3b6eaSmrgas_func_ret_success () { 397a0d3b6eaSmrg return 0 398a0d3b6eaSmrg} 399a0d3b6eaSmrgas_func_ret_failure () { 400a0d3b6eaSmrg return 1 401a0d3b6eaSmrg} 402a0d3b6eaSmrg 403a0d3b6eaSmrgexitcode=0 404a0d3b6eaSmrgif as_func_success; then 405a0d3b6eaSmrg : 406a0d3b6eaSmrgelse 407a0d3b6eaSmrg exitcode=1 408a0d3b6eaSmrg echo as_func_success failed. 409a0d3b6eaSmrgfi 410a0d3b6eaSmrg 411a0d3b6eaSmrgif as_func_failure; then 412a0d3b6eaSmrg exitcode=1 413a0d3b6eaSmrg echo as_func_failure succeeded. 414a0d3b6eaSmrgfi 415a0d3b6eaSmrg 416a0d3b6eaSmrgif as_func_ret_success; then 417a0d3b6eaSmrg : 418a0d3b6eaSmrgelse 419a0d3b6eaSmrg exitcode=1 420a0d3b6eaSmrg echo as_func_ret_success failed. 421a0d3b6eaSmrgfi 422a0d3b6eaSmrg 423a0d3b6eaSmrgif as_func_ret_failure; then 424a0d3b6eaSmrg exitcode=1 425a0d3b6eaSmrg echo as_func_ret_failure succeeded. 426a0d3b6eaSmrgfi 427a0d3b6eaSmrg 428a0d3b6eaSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429a0d3b6eaSmrg : 430a0d3b6eaSmrgelse 431a0d3b6eaSmrg exitcode=1 432a0d3b6eaSmrg echo positional parameters were not saved. 433a0d3b6eaSmrgfi 434a0d3b6eaSmrg 435a0d3b6eaSmrgtest \$exitcode = 0") || { 436a0d3b6eaSmrg echo No shell found that supports shell functions. 43762df5ad0Smrg echo Please tell bug-autoconf@gnu.org about your system, 43862df5ad0Smrg echo including any error possibly output before this message. 43962df5ad0Smrg echo This can help us improve future autoconf versions. 44062df5ad0Smrg echo Configuration will now proceed without shell functions. 441a0d3b6eaSmrg} 442a0d3b6eaSmrg 443a0d3b6eaSmrg 444a0d3b6eaSmrg 445a0d3b6eaSmrg as_lineno_1=$LINENO 446a0d3b6eaSmrg as_lineno_2=$LINENO 447a0d3b6eaSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 448a0d3b6eaSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449a0d3b6eaSmrg 450a0d3b6eaSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451a0d3b6eaSmrg # uniformly replaced by the line number. The first 'sed' inserts a 452a0d3b6eaSmrg # line-number line after each line using $LINENO; the second 'sed' 453a0d3b6eaSmrg # does the real work. The second script uses 'N' to pair each 454a0d3b6eaSmrg # line-number line with the line containing $LINENO, and appends 455a0d3b6eaSmrg # trailing '-' during substitution so that $LINENO is not a special 456a0d3b6eaSmrg # case at line end. 457a0d3b6eaSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458a0d3b6eaSmrg # scripts with optimization help from Paolo Bonzini. Blame Lee 459a0d3b6eaSmrg # E. McMahon (1931-1989) for sed's syntax. :-) 460a0d3b6eaSmrg sed -n ' 461a0d3b6eaSmrg p 462a0d3b6eaSmrg /[$]LINENO/= 463a0d3b6eaSmrg ' <$as_myself | 464a0d3b6eaSmrg sed ' 465a0d3b6eaSmrg s/[$]LINENO.*/&-/ 466a0d3b6eaSmrg t lineno 467a0d3b6eaSmrg b 468a0d3b6eaSmrg :lineno 469a0d3b6eaSmrg N 470a0d3b6eaSmrg :loop 471a0d3b6eaSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 472a0d3b6eaSmrg t loop 473a0d3b6eaSmrg s/-\n.*// 474a0d3b6eaSmrg ' >$as_me.lineno && 475a0d3b6eaSmrg chmod +x "$as_me.lineno" || 47662df5ad0Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477a0d3b6eaSmrg { (exit 1); exit 1; }; } 478a0d3b6eaSmrg 479a0d3b6eaSmrg # Don't try to exec as it changes $[0], causing all sort of problems 480a0d3b6eaSmrg # (the dirname of $[0] is not the place where we might find the 481a0d3b6eaSmrg # original and so on. Autoconf is especially sensitive to this). 482a0d3b6eaSmrg . "./$as_me.lineno" 483a0d3b6eaSmrg # Exit status is that of the last command. 484a0d3b6eaSmrg exit 485a0d3b6eaSmrg} 486a0d3b6eaSmrg 487a0d3b6eaSmrg 488a0d3b6eaSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489a0d3b6eaSmrg as_dirname=dirname 490a0d3b6eaSmrgelse 491a0d3b6eaSmrg as_dirname=false 492a0d3b6eaSmrgfi 493a0d3b6eaSmrg 494a0d3b6eaSmrgECHO_C= ECHO_N= ECHO_T= 495a0d3b6eaSmrgcase `echo -n x` in 496a0d3b6eaSmrg-n*) 497a0d3b6eaSmrg case `echo 'x\c'` in 498a0d3b6eaSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499a0d3b6eaSmrg *) ECHO_C='\c';; 500a0d3b6eaSmrg esac;; 501a0d3b6eaSmrg*) 502a0d3b6eaSmrg ECHO_N='-n';; 503a0d3b6eaSmrgesac 504a0d3b6eaSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 505a0d3b6eaSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 506a0d3b6eaSmrg as_expr=expr 507a0d3b6eaSmrgelse 508a0d3b6eaSmrg as_expr=false 509a0d3b6eaSmrgfi 510a0d3b6eaSmrg 511a0d3b6eaSmrgrm -f conf$$ conf$$.exe conf$$.file 512a0d3b6eaSmrgif test -d conf$$.dir; then 513a0d3b6eaSmrg rm -f conf$$.dir/conf$$.file 514a0d3b6eaSmrgelse 515a0d3b6eaSmrg rm -f conf$$.dir 51662df5ad0Smrg mkdir conf$$.dir 2>/dev/null 51762df5ad0Smrgfi 51862df5ad0Smrgif (echo >conf$$.file) 2>/dev/null; then 51962df5ad0Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 52062df5ad0Smrg as_ln_s='ln -s' 52162df5ad0Smrg # ... but there are two gotchas: 52262df5ad0Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 52362df5ad0Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 52462df5ad0Smrg # In both cases, we have to default to `cp -p'. 52562df5ad0Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 52662df5ad0Smrg as_ln_s='cp -p' 52762df5ad0Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 52862df5ad0Smrg as_ln_s=ln 52962df5ad0Smrg else 530a0d3b6eaSmrg as_ln_s='cp -p' 53162df5ad0Smrg fi 532a0d3b6eaSmrgelse 533a0d3b6eaSmrg as_ln_s='cp -p' 534a0d3b6eaSmrgfi 535a0d3b6eaSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 536a0d3b6eaSmrgrmdir conf$$.dir 2>/dev/null 537a0d3b6eaSmrg 538a0d3b6eaSmrgif mkdir -p . 2>/dev/null; then 539a0d3b6eaSmrg as_mkdir_p=: 540a0d3b6eaSmrgelse 541a0d3b6eaSmrg test -d ./-p && rmdir ./-p 542a0d3b6eaSmrg as_mkdir_p=false 543a0d3b6eaSmrgfi 544a0d3b6eaSmrg 545a0d3b6eaSmrgif test -x / >/dev/null 2>&1; then 546a0d3b6eaSmrg as_test_x='test -x' 547a0d3b6eaSmrgelse 548a0d3b6eaSmrg if ls -dL / >/dev/null 2>&1; then 549a0d3b6eaSmrg as_ls_L_option=L 550a0d3b6eaSmrg else 551a0d3b6eaSmrg as_ls_L_option= 552a0d3b6eaSmrg fi 553a0d3b6eaSmrg as_test_x=' 554a0d3b6eaSmrg eval sh -c '\'' 555a0d3b6eaSmrg if test -d "$1"; then 55662df5ad0Smrg test -d "$1/."; 557a0d3b6eaSmrg else 558a0d3b6eaSmrg case $1 in 55962df5ad0Smrg -*)set "./$1";; 560a0d3b6eaSmrg esac; 561a0d3b6eaSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562a0d3b6eaSmrg ???[sx]*):;;*)false;;esac;fi 563a0d3b6eaSmrg '\'' sh 564a0d3b6eaSmrg ' 565a0d3b6eaSmrgfi 566a0d3b6eaSmrgas_executable_p=$as_test_x 567a0d3b6eaSmrg 568a0d3b6eaSmrg# Sed expression to map a string onto a valid CPP name. 569a0d3b6eaSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 570a0d3b6eaSmrg 571a0d3b6eaSmrg# Sed expression to map a string onto a valid variable name. 572a0d3b6eaSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 573a0d3b6eaSmrg 574a0d3b6eaSmrg 575a0d3b6eaSmrg 576a0d3b6eaSmrgexec 7<&0 </dev/null 6>&1 577a0d3b6eaSmrg 578a0d3b6eaSmrg# Name of the host. 579a0d3b6eaSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 580a0d3b6eaSmrg# so uname gets run too. 581a0d3b6eaSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 582a0d3b6eaSmrg 583a0d3b6eaSmrg# 584a0d3b6eaSmrg# Initializations. 585a0d3b6eaSmrg# 586a0d3b6eaSmrgac_default_prefix=/usr/local 587a0d3b6eaSmrgac_clean_files= 588a0d3b6eaSmrgac_config_libobj_dir=. 589a0d3b6eaSmrgLIBOBJS= 590a0d3b6eaSmrgcross_compiling=no 591a0d3b6eaSmrgsubdirs= 592a0d3b6eaSmrgMFLAGS= 593a0d3b6eaSmrgMAKEFLAGS= 594a0d3b6eaSmrgSHELL=${CONFIG_SHELL-/bin/sh} 595a0d3b6eaSmrg 596a0d3b6eaSmrg# Identity of this package. 597a0d3b6eaSmrgPACKAGE_NAME='xrandr' 598a0d3b6eaSmrgPACKAGE_TARNAME='xrandr' 59962df5ad0SmrgPACKAGE_VERSION='1.3.0' 60062df5ad0SmrgPACKAGE_STRING='xrandr 1.3.0' 601a0d3b6eaSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 602a0d3b6eaSmrg 60362df5ad0Smrg# Factoring default headers for most tests. 60462df5ad0Smrgac_includes_default="\ 60562df5ad0Smrg#include <stdio.h> 60662df5ad0Smrg#ifdef HAVE_SYS_TYPES_H 60762df5ad0Smrg# include <sys/types.h> 60862df5ad0Smrg#endif 60962df5ad0Smrg#ifdef HAVE_SYS_STAT_H 61062df5ad0Smrg# include <sys/stat.h> 61162df5ad0Smrg#endif 61262df5ad0Smrg#ifdef STDC_HEADERS 61362df5ad0Smrg# include <stdlib.h> 61462df5ad0Smrg# include <stddef.h> 61562df5ad0Smrg#else 61662df5ad0Smrg# ifdef HAVE_STDLIB_H 61762df5ad0Smrg# include <stdlib.h> 61862df5ad0Smrg# endif 61962df5ad0Smrg#endif 62062df5ad0Smrg#ifdef HAVE_STRING_H 62162df5ad0Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 62262df5ad0Smrg# include <memory.h> 62362df5ad0Smrg# endif 62462df5ad0Smrg# include <string.h> 62562df5ad0Smrg#endif 62662df5ad0Smrg#ifdef HAVE_STRINGS_H 62762df5ad0Smrg# include <strings.h> 62862df5ad0Smrg#endif 62962df5ad0Smrg#ifdef HAVE_INTTYPES_H 63062df5ad0Smrg# include <inttypes.h> 63162df5ad0Smrg#endif 63262df5ad0Smrg#ifdef HAVE_STDINT_H 63362df5ad0Smrg# include <stdint.h> 63462df5ad0Smrg#endif 63562df5ad0Smrg#ifdef HAVE_UNISTD_H 63662df5ad0Smrg# include <unistd.h> 63762df5ad0Smrg#endif" 63862df5ad0Smrg 63962df5ad0Smrgac_subst_vars='LTLIBOBJS 640a0d3b6eaSmrgLIBOBJS 64162df5ad0Smrgdistcleancheck_listfiles 64262df5ad0SmrgCHANGELOG_CMD 64362df5ad0SmrgADMIN_MAN_DIR 64462df5ad0SmrgDRIVER_MAN_DIR 64562df5ad0SmrgMISC_MAN_DIR 64662df5ad0SmrgFILE_MAN_DIR 64762df5ad0SmrgLIB_MAN_DIR 64862df5ad0SmrgAPP_MAN_DIR 64962df5ad0SmrgADMIN_MAN_SUFFIX 65062df5ad0SmrgDRIVER_MAN_SUFFIX 65162df5ad0SmrgMISC_MAN_SUFFIX 65262df5ad0SmrgFILE_MAN_SUFFIX 65362df5ad0SmrgLIB_MAN_SUFFIX 65462df5ad0SmrgAPP_MAN_SUFFIX 65562df5ad0Smrghost_os 65662df5ad0Smrghost_vendor 65762df5ad0Smrghost_cpu 65862df5ad0Smrghost 65962df5ad0Smrgbuild_os 66062df5ad0Smrgbuild_vendor 66162df5ad0Smrgbuild_cpu 66262df5ad0Smrgbuild 66362df5ad0SmrgXRANDR_LIBS 66462df5ad0SmrgXRANDR_CFLAGS 66562df5ad0SmrgPKG_CONFIG 66662df5ad0SmrgCWARNFLAGS 66762df5ad0SmrgEGREP 66862df5ad0SmrgGREP 66962df5ad0SmrgCPP 67062df5ad0Smrgam__fastdepCC_FALSE 67162df5ad0Smrgam__fastdepCC_TRUE 67262df5ad0SmrgCCDEPMODE 67362df5ad0SmrgAMDEPBACKSLASH 67462df5ad0SmrgAMDEP_FALSE 67562df5ad0SmrgAMDEP_TRUE 67662df5ad0Smrgam__quote 67762df5ad0Smrgam__include 67862df5ad0SmrgDEPDIR 67962df5ad0SmrgOBJEXT 68062df5ad0SmrgEXEEXT 68162df5ad0Smrgac_ct_CC 68262df5ad0SmrgCPPFLAGS 68362df5ad0SmrgLDFLAGS 68462df5ad0SmrgCFLAGS 68562df5ad0SmrgCC 68662df5ad0SmrgMAINT 68762df5ad0SmrgMAINTAINER_MODE_FALSE 68862df5ad0SmrgMAINTAINER_MODE_TRUE 68962df5ad0Smrgam__untar 69062df5ad0Smrgam__tar 69162df5ad0SmrgAMTAR 69262df5ad0Smrgam__leading_dot 69362df5ad0SmrgSET_MAKE 69462df5ad0SmrgAWK 69562df5ad0Smrgmkdir_p 69662df5ad0SmrgMKDIR_P 69762df5ad0SmrgINSTALL_STRIP_PROGRAM 69862df5ad0SmrgSTRIP 69962df5ad0Smrginstall_sh 70062df5ad0SmrgMAKEINFO 70162df5ad0SmrgAUTOHEADER 70262df5ad0SmrgAUTOMAKE 70362df5ad0SmrgAUTOCONF 70462df5ad0SmrgACLOCAL 70562df5ad0SmrgVERSION 70662df5ad0SmrgPACKAGE 70762df5ad0SmrgCYGPATH_W 70862df5ad0Smrgam__isrc 70962df5ad0SmrgINSTALL_DATA 71062df5ad0SmrgINSTALL_SCRIPT 71162df5ad0SmrgINSTALL_PROGRAM 71262df5ad0Smrgtarget_alias 71362df5ad0Smrghost_alias 71462df5ad0Smrgbuild_alias 71562df5ad0SmrgLIBS 71662df5ad0SmrgECHO_T 71762df5ad0SmrgECHO_N 71862df5ad0SmrgECHO_C 71962df5ad0SmrgDEFS 72062df5ad0Smrgmandir 72162df5ad0Smrglocaledir 72262df5ad0Smrglibdir 72362df5ad0Smrgpsdir 72462df5ad0Smrgpdfdir 72562df5ad0Smrgdvidir 72662df5ad0Smrghtmldir 72762df5ad0Smrginfodir 72862df5ad0Smrgdocdir 72962df5ad0Smrgoldincludedir 73062df5ad0Smrgincludedir 73162df5ad0Smrglocalstatedir 73262df5ad0Smrgsharedstatedir 73362df5ad0Smrgsysconfdir 73462df5ad0Smrgdatadir 73562df5ad0Smrgdatarootdir 73662df5ad0Smrglibexecdir 73762df5ad0Smrgsbindir 73862df5ad0Smrgbindir 73962df5ad0Smrgprogram_transform_name 74062df5ad0Smrgprefix 74162df5ad0Smrgexec_prefix 74262df5ad0SmrgPACKAGE_BUGREPORT 74362df5ad0SmrgPACKAGE_STRING 74462df5ad0SmrgPACKAGE_VERSION 74562df5ad0SmrgPACKAGE_TARNAME 74662df5ad0SmrgPACKAGE_NAME 74762df5ad0SmrgPATH_SEPARATOR 74862df5ad0SmrgSHELL' 749a0d3b6eaSmrgac_subst_files='' 75062df5ad0Smrgac_user_opts=' 75162df5ad0Smrgenable_option_checking 75262df5ad0Smrgenable_maintainer_mode 75362df5ad0Smrgenable_dependency_tracking 75462df5ad0Smrgwith_release_version 75562df5ad0Smrg' 756a0d3b6eaSmrg ac_precious_vars='build_alias 757a0d3b6eaSmrghost_alias 758a0d3b6eaSmrgtarget_alias 759a0d3b6eaSmrgCC 760a0d3b6eaSmrgCFLAGS 761a0d3b6eaSmrgLDFLAGS 762a0d3b6eaSmrgLIBS 763a0d3b6eaSmrgCPPFLAGS 76462df5ad0SmrgCPP 765a0d3b6eaSmrgPKG_CONFIG 766a0d3b6eaSmrgXRANDR_CFLAGS 767a0d3b6eaSmrgXRANDR_LIBS' 768a0d3b6eaSmrg 769a0d3b6eaSmrg 770a0d3b6eaSmrg# Initialize some variables set by options. 771a0d3b6eaSmrgac_init_help= 772a0d3b6eaSmrgac_init_version=false 77362df5ad0Smrgac_unrecognized_opts= 77462df5ad0Smrgac_unrecognized_sep= 775a0d3b6eaSmrg# The variables have the same names as the options, with 776a0d3b6eaSmrg# dashes changed to underlines. 777a0d3b6eaSmrgcache_file=/dev/null 778a0d3b6eaSmrgexec_prefix=NONE 779a0d3b6eaSmrgno_create= 780a0d3b6eaSmrgno_recursion= 781a0d3b6eaSmrgprefix=NONE 782a0d3b6eaSmrgprogram_prefix=NONE 783a0d3b6eaSmrgprogram_suffix=NONE 784a0d3b6eaSmrgprogram_transform_name=s,x,x, 785a0d3b6eaSmrgsilent= 786a0d3b6eaSmrgsite= 787a0d3b6eaSmrgsrcdir= 788a0d3b6eaSmrgverbose= 789a0d3b6eaSmrgx_includes=NONE 790a0d3b6eaSmrgx_libraries=NONE 791a0d3b6eaSmrg 792a0d3b6eaSmrg# Installation directory options. 793a0d3b6eaSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 794a0d3b6eaSmrg# and all the variables that are supposed to be based on exec_prefix 795a0d3b6eaSmrg# by default will actually change. 796a0d3b6eaSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 797a0d3b6eaSmrg# (The list follows the same order as the GNU Coding Standards.) 798a0d3b6eaSmrgbindir='${exec_prefix}/bin' 799a0d3b6eaSmrgsbindir='${exec_prefix}/sbin' 800a0d3b6eaSmrglibexecdir='${exec_prefix}/libexec' 801a0d3b6eaSmrgdatarootdir='${prefix}/share' 802a0d3b6eaSmrgdatadir='${datarootdir}' 803a0d3b6eaSmrgsysconfdir='${prefix}/etc' 804a0d3b6eaSmrgsharedstatedir='${prefix}/com' 805a0d3b6eaSmrglocalstatedir='${prefix}/var' 806a0d3b6eaSmrgincludedir='${prefix}/include' 807a0d3b6eaSmrgoldincludedir='/usr/include' 808a0d3b6eaSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 809a0d3b6eaSmrginfodir='${datarootdir}/info' 810a0d3b6eaSmrghtmldir='${docdir}' 811a0d3b6eaSmrgdvidir='${docdir}' 812a0d3b6eaSmrgpdfdir='${docdir}' 813a0d3b6eaSmrgpsdir='${docdir}' 814a0d3b6eaSmrglibdir='${exec_prefix}/lib' 815a0d3b6eaSmrglocaledir='${datarootdir}/locale' 816a0d3b6eaSmrgmandir='${datarootdir}/man' 817a0d3b6eaSmrg 818a0d3b6eaSmrgac_prev= 819a0d3b6eaSmrgac_dashdash= 820a0d3b6eaSmrgfor ac_option 821a0d3b6eaSmrgdo 822a0d3b6eaSmrg # If the previous option needs an argument, assign it. 823a0d3b6eaSmrg if test -n "$ac_prev"; then 824a0d3b6eaSmrg eval $ac_prev=\$ac_option 825a0d3b6eaSmrg ac_prev= 826a0d3b6eaSmrg continue 827a0d3b6eaSmrg fi 828a0d3b6eaSmrg 829a0d3b6eaSmrg case $ac_option in 830a0d3b6eaSmrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 831a0d3b6eaSmrg *) ac_optarg=yes ;; 832a0d3b6eaSmrg esac 833a0d3b6eaSmrg 834a0d3b6eaSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 835a0d3b6eaSmrg 836a0d3b6eaSmrg case $ac_dashdash$ac_option in 837a0d3b6eaSmrg --) 838a0d3b6eaSmrg ac_dashdash=yes ;; 839a0d3b6eaSmrg 840a0d3b6eaSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 841a0d3b6eaSmrg ac_prev=bindir ;; 842a0d3b6eaSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 843a0d3b6eaSmrg bindir=$ac_optarg ;; 844a0d3b6eaSmrg 845a0d3b6eaSmrg -build | --build | --buil | --bui | --bu) 846a0d3b6eaSmrg ac_prev=build_alias ;; 847a0d3b6eaSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 848a0d3b6eaSmrg build_alias=$ac_optarg ;; 849a0d3b6eaSmrg 850a0d3b6eaSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 851a0d3b6eaSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 852a0d3b6eaSmrg ac_prev=cache_file ;; 853a0d3b6eaSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 854a0d3b6eaSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 855a0d3b6eaSmrg cache_file=$ac_optarg ;; 856a0d3b6eaSmrg 857a0d3b6eaSmrg --config-cache | -C) 858a0d3b6eaSmrg cache_file=config.cache ;; 859a0d3b6eaSmrg 860a0d3b6eaSmrg -datadir | --datadir | --datadi | --datad) 861a0d3b6eaSmrg ac_prev=datadir ;; 862a0d3b6eaSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 863a0d3b6eaSmrg datadir=$ac_optarg ;; 864a0d3b6eaSmrg 865a0d3b6eaSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 866a0d3b6eaSmrg | --dataroo | --dataro | --datar) 867a0d3b6eaSmrg ac_prev=datarootdir ;; 868a0d3b6eaSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 869a0d3b6eaSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 870a0d3b6eaSmrg datarootdir=$ac_optarg ;; 871a0d3b6eaSmrg 872a0d3b6eaSmrg -disable-* | --disable-*) 87362df5ad0Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 874a0d3b6eaSmrg # Reject names that are not valid shell variable names. 87562df5ad0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 87662df5ad0Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 877a0d3b6eaSmrg { (exit 1); exit 1; }; } 87862df5ad0Smrg ac_useropt_orig=$ac_useropt 87962df5ad0Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 88062df5ad0Smrg case $ac_user_opts in 88162df5ad0Smrg *" 88262df5ad0Smrg"enable_$ac_useropt" 88362df5ad0Smrg"*) ;; 88462df5ad0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 88562df5ad0Smrg ac_unrecognized_sep=', ';; 88662df5ad0Smrg esac 88762df5ad0Smrg eval enable_$ac_useropt=no ;; 888a0d3b6eaSmrg 889a0d3b6eaSmrg -docdir | --docdir | --docdi | --doc | --do) 890a0d3b6eaSmrg ac_prev=docdir ;; 891a0d3b6eaSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 892a0d3b6eaSmrg docdir=$ac_optarg ;; 893a0d3b6eaSmrg 894a0d3b6eaSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 895a0d3b6eaSmrg ac_prev=dvidir ;; 896a0d3b6eaSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 897a0d3b6eaSmrg dvidir=$ac_optarg ;; 898a0d3b6eaSmrg 899a0d3b6eaSmrg -enable-* | --enable-*) 90062df5ad0Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 901a0d3b6eaSmrg # Reject names that are not valid shell variable names. 90262df5ad0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 90362df5ad0Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 904a0d3b6eaSmrg { (exit 1); exit 1; }; } 90562df5ad0Smrg ac_useropt_orig=$ac_useropt 90662df5ad0Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 90762df5ad0Smrg case $ac_user_opts in 90862df5ad0Smrg *" 90962df5ad0Smrg"enable_$ac_useropt" 91062df5ad0Smrg"*) ;; 91162df5ad0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 91262df5ad0Smrg ac_unrecognized_sep=', ';; 91362df5ad0Smrg esac 91462df5ad0Smrg eval enable_$ac_useropt=\$ac_optarg ;; 915a0d3b6eaSmrg 916a0d3b6eaSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 917a0d3b6eaSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 918a0d3b6eaSmrg | --exec | --exe | --ex) 919a0d3b6eaSmrg ac_prev=exec_prefix ;; 920a0d3b6eaSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 921a0d3b6eaSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 922a0d3b6eaSmrg | --exec=* | --exe=* | --ex=*) 923a0d3b6eaSmrg exec_prefix=$ac_optarg ;; 924a0d3b6eaSmrg 925a0d3b6eaSmrg -gas | --gas | --ga | --g) 926a0d3b6eaSmrg # Obsolete; use --with-gas. 927a0d3b6eaSmrg with_gas=yes ;; 928a0d3b6eaSmrg 929a0d3b6eaSmrg -help | --help | --hel | --he | -h) 930a0d3b6eaSmrg ac_init_help=long ;; 931a0d3b6eaSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 932a0d3b6eaSmrg ac_init_help=recursive ;; 933a0d3b6eaSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 934a0d3b6eaSmrg ac_init_help=short ;; 935a0d3b6eaSmrg 936a0d3b6eaSmrg -host | --host | --hos | --ho) 937a0d3b6eaSmrg ac_prev=host_alias ;; 938a0d3b6eaSmrg -host=* | --host=* | --hos=* | --ho=*) 939a0d3b6eaSmrg host_alias=$ac_optarg ;; 940a0d3b6eaSmrg 941a0d3b6eaSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 942a0d3b6eaSmrg ac_prev=htmldir ;; 943a0d3b6eaSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 944a0d3b6eaSmrg | --ht=*) 945a0d3b6eaSmrg htmldir=$ac_optarg ;; 946a0d3b6eaSmrg 947a0d3b6eaSmrg -includedir | --includedir | --includedi | --included | --include \ 948a0d3b6eaSmrg | --includ | --inclu | --incl | --inc) 949a0d3b6eaSmrg ac_prev=includedir ;; 950a0d3b6eaSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 951a0d3b6eaSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 952a0d3b6eaSmrg includedir=$ac_optarg ;; 953a0d3b6eaSmrg 954a0d3b6eaSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 955a0d3b6eaSmrg ac_prev=infodir ;; 956a0d3b6eaSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 957a0d3b6eaSmrg infodir=$ac_optarg ;; 958a0d3b6eaSmrg 959a0d3b6eaSmrg -libdir | --libdir | --libdi | --libd) 960a0d3b6eaSmrg ac_prev=libdir ;; 961a0d3b6eaSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 962a0d3b6eaSmrg libdir=$ac_optarg ;; 963a0d3b6eaSmrg 964a0d3b6eaSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 965a0d3b6eaSmrg | --libexe | --libex | --libe) 966a0d3b6eaSmrg ac_prev=libexecdir ;; 967a0d3b6eaSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 968a0d3b6eaSmrg | --libexe=* | --libex=* | --libe=*) 969a0d3b6eaSmrg libexecdir=$ac_optarg ;; 970a0d3b6eaSmrg 971a0d3b6eaSmrg -localedir | --localedir | --localedi | --localed | --locale) 972a0d3b6eaSmrg ac_prev=localedir ;; 973a0d3b6eaSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 974a0d3b6eaSmrg localedir=$ac_optarg ;; 975a0d3b6eaSmrg 976a0d3b6eaSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 977a0d3b6eaSmrg | --localstate | --localstat | --localsta | --localst | --locals) 978a0d3b6eaSmrg ac_prev=localstatedir ;; 979a0d3b6eaSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 980a0d3b6eaSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 981a0d3b6eaSmrg localstatedir=$ac_optarg ;; 982a0d3b6eaSmrg 983a0d3b6eaSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 984a0d3b6eaSmrg ac_prev=mandir ;; 985a0d3b6eaSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 986a0d3b6eaSmrg mandir=$ac_optarg ;; 987a0d3b6eaSmrg 988a0d3b6eaSmrg -nfp | --nfp | --nf) 989a0d3b6eaSmrg # Obsolete; use --without-fp. 990a0d3b6eaSmrg with_fp=no ;; 991a0d3b6eaSmrg 992a0d3b6eaSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 993a0d3b6eaSmrg | --no-cr | --no-c | -n) 994a0d3b6eaSmrg no_create=yes ;; 995a0d3b6eaSmrg 996a0d3b6eaSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 997a0d3b6eaSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 998a0d3b6eaSmrg no_recursion=yes ;; 999a0d3b6eaSmrg 1000a0d3b6eaSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1001a0d3b6eaSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1002a0d3b6eaSmrg | --oldin | --oldi | --old | --ol | --o) 1003a0d3b6eaSmrg ac_prev=oldincludedir ;; 1004a0d3b6eaSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1005a0d3b6eaSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1006a0d3b6eaSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1007a0d3b6eaSmrg oldincludedir=$ac_optarg ;; 1008a0d3b6eaSmrg 1009a0d3b6eaSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1010a0d3b6eaSmrg ac_prev=prefix ;; 1011a0d3b6eaSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1012a0d3b6eaSmrg prefix=$ac_optarg ;; 1013a0d3b6eaSmrg 1014a0d3b6eaSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1015a0d3b6eaSmrg | --program-pre | --program-pr | --program-p) 1016a0d3b6eaSmrg ac_prev=program_prefix ;; 1017a0d3b6eaSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1018a0d3b6eaSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1019a0d3b6eaSmrg program_prefix=$ac_optarg ;; 1020a0d3b6eaSmrg 1021a0d3b6eaSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1022a0d3b6eaSmrg | --program-suf | --program-su | --program-s) 1023a0d3b6eaSmrg ac_prev=program_suffix ;; 1024a0d3b6eaSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1025a0d3b6eaSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1026a0d3b6eaSmrg program_suffix=$ac_optarg ;; 1027a0d3b6eaSmrg 1028a0d3b6eaSmrg -program-transform-name | --program-transform-name \ 1029a0d3b6eaSmrg | --program-transform-nam | --program-transform-na \ 1030a0d3b6eaSmrg | --program-transform-n | --program-transform- \ 1031a0d3b6eaSmrg | --program-transform | --program-transfor \ 1032a0d3b6eaSmrg | --program-transfo | --program-transf \ 1033a0d3b6eaSmrg | --program-trans | --program-tran \ 1034a0d3b6eaSmrg | --progr-tra | --program-tr | --program-t) 1035a0d3b6eaSmrg ac_prev=program_transform_name ;; 1036a0d3b6eaSmrg -program-transform-name=* | --program-transform-name=* \ 1037a0d3b6eaSmrg | --program-transform-nam=* | --program-transform-na=* \ 1038a0d3b6eaSmrg | --program-transform-n=* | --program-transform-=* \ 1039a0d3b6eaSmrg | --program-transform=* | --program-transfor=* \ 1040a0d3b6eaSmrg | --program-transfo=* | --program-transf=* \ 1041a0d3b6eaSmrg | --program-trans=* | --program-tran=* \ 1042a0d3b6eaSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 1043a0d3b6eaSmrg program_transform_name=$ac_optarg ;; 1044a0d3b6eaSmrg 1045a0d3b6eaSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1046a0d3b6eaSmrg ac_prev=pdfdir ;; 1047a0d3b6eaSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1048a0d3b6eaSmrg pdfdir=$ac_optarg ;; 1049a0d3b6eaSmrg 1050a0d3b6eaSmrg -psdir | --psdir | --psdi | --psd | --ps) 1051a0d3b6eaSmrg ac_prev=psdir ;; 1052a0d3b6eaSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1053a0d3b6eaSmrg psdir=$ac_optarg ;; 1054a0d3b6eaSmrg 1055a0d3b6eaSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1056a0d3b6eaSmrg | -silent | --silent | --silen | --sile | --sil) 1057a0d3b6eaSmrg silent=yes ;; 1058a0d3b6eaSmrg 1059a0d3b6eaSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1060a0d3b6eaSmrg ac_prev=sbindir ;; 1061a0d3b6eaSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1062a0d3b6eaSmrg | --sbi=* | --sb=*) 1063a0d3b6eaSmrg sbindir=$ac_optarg ;; 1064a0d3b6eaSmrg 1065a0d3b6eaSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1066a0d3b6eaSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1067a0d3b6eaSmrg | --sharedst | --shareds | --shared | --share | --shar \ 1068a0d3b6eaSmrg | --sha | --sh) 1069a0d3b6eaSmrg ac_prev=sharedstatedir ;; 1070a0d3b6eaSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1071a0d3b6eaSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1072a0d3b6eaSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1073a0d3b6eaSmrg | --sha=* | --sh=*) 1074a0d3b6eaSmrg sharedstatedir=$ac_optarg ;; 1075a0d3b6eaSmrg 1076a0d3b6eaSmrg -site | --site | --sit) 1077a0d3b6eaSmrg ac_prev=site ;; 1078a0d3b6eaSmrg -site=* | --site=* | --sit=*) 1079a0d3b6eaSmrg site=$ac_optarg ;; 1080a0d3b6eaSmrg 1081a0d3b6eaSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1082a0d3b6eaSmrg ac_prev=srcdir ;; 1083a0d3b6eaSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1084a0d3b6eaSmrg srcdir=$ac_optarg ;; 1085a0d3b6eaSmrg 1086a0d3b6eaSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1087a0d3b6eaSmrg | --syscon | --sysco | --sysc | --sys | --sy) 1088a0d3b6eaSmrg ac_prev=sysconfdir ;; 1089a0d3b6eaSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1090a0d3b6eaSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1091a0d3b6eaSmrg sysconfdir=$ac_optarg ;; 1092a0d3b6eaSmrg 1093a0d3b6eaSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 1094a0d3b6eaSmrg ac_prev=target_alias ;; 1095a0d3b6eaSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1096a0d3b6eaSmrg target_alias=$ac_optarg ;; 1097a0d3b6eaSmrg 1098a0d3b6eaSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1099a0d3b6eaSmrg verbose=yes ;; 1100a0d3b6eaSmrg 1101a0d3b6eaSmrg -version | --version | --versio | --versi | --vers | -V) 1102a0d3b6eaSmrg ac_init_version=: ;; 1103a0d3b6eaSmrg 1104a0d3b6eaSmrg -with-* | --with-*) 110562df5ad0Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1106a0d3b6eaSmrg # Reject names that are not valid shell variable names. 110762df5ad0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 110862df5ad0Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1109a0d3b6eaSmrg { (exit 1); exit 1; }; } 111062df5ad0Smrg ac_useropt_orig=$ac_useropt 111162df5ad0Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 111262df5ad0Smrg case $ac_user_opts in 111362df5ad0Smrg *" 111462df5ad0Smrg"with_$ac_useropt" 111562df5ad0Smrg"*) ;; 111662df5ad0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 111762df5ad0Smrg ac_unrecognized_sep=', ';; 111862df5ad0Smrg esac 111962df5ad0Smrg eval with_$ac_useropt=\$ac_optarg ;; 1120a0d3b6eaSmrg 1121a0d3b6eaSmrg -without-* | --without-*) 112262df5ad0Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1123a0d3b6eaSmrg # Reject names that are not valid shell variable names. 112462df5ad0Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 112562df5ad0Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1126a0d3b6eaSmrg { (exit 1); exit 1; }; } 112762df5ad0Smrg ac_useropt_orig=$ac_useropt 112862df5ad0Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 112962df5ad0Smrg case $ac_user_opts in 113062df5ad0Smrg *" 113162df5ad0Smrg"with_$ac_useropt" 113262df5ad0Smrg"*) ;; 113362df5ad0Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 113462df5ad0Smrg ac_unrecognized_sep=', ';; 113562df5ad0Smrg esac 113662df5ad0Smrg eval with_$ac_useropt=no ;; 1137a0d3b6eaSmrg 1138a0d3b6eaSmrg --x) 1139a0d3b6eaSmrg # Obsolete; use --with-x. 1140a0d3b6eaSmrg with_x=yes ;; 1141a0d3b6eaSmrg 1142a0d3b6eaSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1143a0d3b6eaSmrg | --x-incl | --x-inc | --x-in | --x-i) 1144a0d3b6eaSmrg ac_prev=x_includes ;; 1145a0d3b6eaSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1146a0d3b6eaSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1147a0d3b6eaSmrg x_includes=$ac_optarg ;; 1148a0d3b6eaSmrg 1149a0d3b6eaSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1150a0d3b6eaSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1151a0d3b6eaSmrg ac_prev=x_libraries ;; 1152a0d3b6eaSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1153a0d3b6eaSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1154a0d3b6eaSmrg x_libraries=$ac_optarg ;; 1155a0d3b6eaSmrg 115662df5ad0Smrg -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1157a0d3b6eaSmrgTry \`$0 --help' for more information." >&2 1158a0d3b6eaSmrg { (exit 1); exit 1; }; } 1159a0d3b6eaSmrg ;; 1160a0d3b6eaSmrg 1161a0d3b6eaSmrg *=*) 1162a0d3b6eaSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1163a0d3b6eaSmrg # Reject names that are not valid shell variable names. 1164a0d3b6eaSmrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 116562df5ad0Smrg { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1166a0d3b6eaSmrg { (exit 1); exit 1; }; } 1167a0d3b6eaSmrg eval $ac_envvar=\$ac_optarg 1168a0d3b6eaSmrg export $ac_envvar ;; 1169a0d3b6eaSmrg 1170a0d3b6eaSmrg *) 1171a0d3b6eaSmrg # FIXME: should be removed in autoconf 3.0. 117262df5ad0Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1173a0d3b6eaSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 117462df5ad0Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1175a0d3b6eaSmrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1176a0d3b6eaSmrg ;; 1177a0d3b6eaSmrg 1178a0d3b6eaSmrg esac 1179a0d3b6eaSmrgdone 1180a0d3b6eaSmrg 1181a0d3b6eaSmrgif test -n "$ac_prev"; then 1182a0d3b6eaSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 118362df5ad0Smrg { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1184a0d3b6eaSmrg { (exit 1); exit 1; }; } 1185a0d3b6eaSmrgfi 1186a0d3b6eaSmrg 118762df5ad0Smrgif test -n "$ac_unrecognized_opts"; then 118862df5ad0Smrg case $enable_option_checking in 118962df5ad0Smrg no) ;; 119062df5ad0Smrg fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 119162df5ad0Smrg { (exit 1); exit 1; }; } ;; 119262df5ad0Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 119362df5ad0Smrg esac 119462df5ad0Smrgfi 119562df5ad0Smrg 119662df5ad0Smrg# Check all directory arguments for consistency. 1197a0d3b6eaSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1198a0d3b6eaSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1199a0d3b6eaSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1200a0d3b6eaSmrg libdir localedir mandir 1201a0d3b6eaSmrgdo 1202a0d3b6eaSmrg eval ac_val=\$$ac_var 120362df5ad0Smrg # Remove trailing slashes. 120462df5ad0Smrg case $ac_val in 120562df5ad0Smrg */ ) 120662df5ad0Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 120762df5ad0Smrg eval $ac_var=\$ac_val;; 120862df5ad0Smrg esac 120962df5ad0Smrg # Be sure to have absolute directory names. 1210a0d3b6eaSmrg case $ac_val in 1211a0d3b6eaSmrg [\\/$]* | ?:[\\/]* ) continue;; 1212a0d3b6eaSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1213a0d3b6eaSmrg esac 121462df5ad0Smrg { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1215a0d3b6eaSmrg { (exit 1); exit 1; }; } 1216a0d3b6eaSmrgdone 1217a0d3b6eaSmrg 1218a0d3b6eaSmrg# There might be people who depend on the old broken behavior: `$host' 1219a0d3b6eaSmrg# used to hold the argument of --host etc. 1220a0d3b6eaSmrg# FIXME: To remove some day. 1221a0d3b6eaSmrgbuild=$build_alias 1222a0d3b6eaSmrghost=$host_alias 1223a0d3b6eaSmrgtarget=$target_alias 1224a0d3b6eaSmrg 1225a0d3b6eaSmrg# FIXME: To remove some day. 1226a0d3b6eaSmrgif test "x$host_alias" != x; then 1227a0d3b6eaSmrg if test "x$build_alias" = x; then 1228a0d3b6eaSmrg cross_compiling=maybe 122962df5ad0Smrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1230a0d3b6eaSmrg If a cross compiler is detected then cross compile mode will be used." >&2 1231a0d3b6eaSmrg elif test "x$build_alias" != "x$host_alias"; then 1232a0d3b6eaSmrg cross_compiling=yes 1233a0d3b6eaSmrg fi 1234a0d3b6eaSmrgfi 1235a0d3b6eaSmrg 1236a0d3b6eaSmrgac_tool_prefix= 1237a0d3b6eaSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1238a0d3b6eaSmrg 1239a0d3b6eaSmrgtest "$silent" = yes && exec 6>/dev/null 1240a0d3b6eaSmrg 1241a0d3b6eaSmrg 1242a0d3b6eaSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 1243a0d3b6eaSmrgac_ls_di=`ls -di .` && 1244a0d3b6eaSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 124562df5ad0Smrg { $as_echo "$as_me: error: working directory cannot be determined" >&2 1246a0d3b6eaSmrg { (exit 1); exit 1; }; } 1247a0d3b6eaSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 124862df5ad0Smrg { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1249a0d3b6eaSmrg { (exit 1); exit 1; }; } 1250a0d3b6eaSmrg 1251a0d3b6eaSmrg 1252a0d3b6eaSmrg# Find the source files, if location was not specified. 1253a0d3b6eaSmrgif test -z "$srcdir"; then 1254a0d3b6eaSmrg ac_srcdir_defaulted=yes 1255a0d3b6eaSmrg # Try the directory containing this script, then the parent directory. 125662df5ad0Smrg ac_confdir=`$as_dirname -- "$as_myself" || 125762df5ad0Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 125862df5ad0Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 125962df5ad0Smrg X"$as_myself" : 'X\(//\)$' \| \ 126062df5ad0Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 126162df5ad0Smrg$as_echo X"$as_myself" | 1262a0d3b6eaSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1263a0d3b6eaSmrg s//\1/ 1264a0d3b6eaSmrg q 1265a0d3b6eaSmrg } 1266a0d3b6eaSmrg /^X\(\/\/\)[^/].*/{ 1267a0d3b6eaSmrg s//\1/ 1268a0d3b6eaSmrg q 1269a0d3b6eaSmrg } 1270a0d3b6eaSmrg /^X\(\/\/\)$/{ 1271a0d3b6eaSmrg s//\1/ 1272a0d3b6eaSmrg q 1273a0d3b6eaSmrg } 1274a0d3b6eaSmrg /^X\(\/\).*/{ 1275a0d3b6eaSmrg s//\1/ 1276a0d3b6eaSmrg q 1277a0d3b6eaSmrg } 1278a0d3b6eaSmrg s/.*/./; q'` 1279a0d3b6eaSmrg srcdir=$ac_confdir 1280a0d3b6eaSmrg if test ! -r "$srcdir/$ac_unique_file"; then 1281a0d3b6eaSmrg srcdir=.. 1282a0d3b6eaSmrg fi 1283a0d3b6eaSmrgelse 1284a0d3b6eaSmrg ac_srcdir_defaulted=no 1285a0d3b6eaSmrgfi 1286a0d3b6eaSmrgif test ! -r "$srcdir/$ac_unique_file"; then 1287a0d3b6eaSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 128862df5ad0Smrg { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1289a0d3b6eaSmrg { (exit 1); exit 1; }; } 1290a0d3b6eaSmrgfi 1291a0d3b6eaSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1292a0d3b6eaSmrgac_abs_confdir=`( 129362df5ad0Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1294a0d3b6eaSmrg { (exit 1); exit 1; }; } 1295a0d3b6eaSmrg pwd)` 1296a0d3b6eaSmrg# When building in place, set srcdir=. 1297a0d3b6eaSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1298a0d3b6eaSmrg srcdir=. 1299a0d3b6eaSmrgfi 1300a0d3b6eaSmrg# Remove unnecessary trailing slashes from srcdir. 1301a0d3b6eaSmrg# Double slashes in file names in object file debugging info 1302a0d3b6eaSmrg# mess up M-x gdb in Emacs. 1303a0d3b6eaSmrgcase $srcdir in 1304a0d3b6eaSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1305a0d3b6eaSmrgesac 1306a0d3b6eaSmrgfor ac_var in $ac_precious_vars; do 1307a0d3b6eaSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1308a0d3b6eaSmrg eval ac_env_${ac_var}_value=\$${ac_var} 1309a0d3b6eaSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1310a0d3b6eaSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1311a0d3b6eaSmrgdone 1312a0d3b6eaSmrg 1313a0d3b6eaSmrg# 1314a0d3b6eaSmrg# Report the --help message. 1315a0d3b6eaSmrg# 1316a0d3b6eaSmrgif test "$ac_init_help" = "long"; then 1317a0d3b6eaSmrg # Omit some internal or obsolete options to make the list less imposing. 1318a0d3b6eaSmrg # This message is too long to be a string in the A/UX 3.1 sh. 1319a0d3b6eaSmrg cat <<_ACEOF 132062df5ad0Smrg\`configure' configures xrandr 1.3.0 to adapt to many kinds of systems. 1321a0d3b6eaSmrg 1322a0d3b6eaSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1323a0d3b6eaSmrg 1324a0d3b6eaSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1325a0d3b6eaSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1326a0d3b6eaSmrg 1327a0d3b6eaSmrgDefaults for the options are specified in brackets. 1328a0d3b6eaSmrg 1329a0d3b6eaSmrgConfiguration: 1330a0d3b6eaSmrg -h, --help display this help and exit 1331a0d3b6eaSmrg --help=short display options specific to this package 1332a0d3b6eaSmrg --help=recursive display the short help of all the included packages 1333a0d3b6eaSmrg -V, --version display version information and exit 1334a0d3b6eaSmrg -q, --quiet, --silent do not print \`checking...' messages 1335a0d3b6eaSmrg --cache-file=FILE cache test results in FILE [disabled] 1336a0d3b6eaSmrg -C, --config-cache alias for \`--cache-file=config.cache' 1337a0d3b6eaSmrg -n, --no-create do not create output files 1338a0d3b6eaSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1339a0d3b6eaSmrg 1340a0d3b6eaSmrgInstallation directories: 1341a0d3b6eaSmrg --prefix=PREFIX install architecture-independent files in PREFIX 134262df5ad0Smrg [$ac_default_prefix] 1343a0d3b6eaSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 134462df5ad0Smrg [PREFIX] 1345a0d3b6eaSmrg 1346a0d3b6eaSmrgBy default, \`make install' will install all the files in 1347a0d3b6eaSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1348a0d3b6eaSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1349a0d3b6eaSmrgfor instance \`--prefix=\$HOME'. 1350a0d3b6eaSmrg 1351a0d3b6eaSmrgFor better control, use the options below. 1352a0d3b6eaSmrg 1353a0d3b6eaSmrgFine tuning of the installation directories: 135462df5ad0Smrg --bindir=DIR user executables [EPREFIX/bin] 135562df5ad0Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 135662df5ad0Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 135762df5ad0Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 135862df5ad0Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 135962df5ad0Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 136062df5ad0Smrg --libdir=DIR object code libraries [EPREFIX/lib] 136162df5ad0Smrg --includedir=DIR C header files [PREFIX/include] 136262df5ad0Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 136362df5ad0Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 136462df5ad0Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 136562df5ad0Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 136662df5ad0Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 136762df5ad0Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 136862df5ad0Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/xrandr] 136962df5ad0Smrg --htmldir=DIR html documentation [DOCDIR] 137062df5ad0Smrg --dvidir=DIR dvi documentation [DOCDIR] 137162df5ad0Smrg --pdfdir=DIR pdf documentation [DOCDIR] 137262df5ad0Smrg --psdir=DIR ps documentation [DOCDIR] 1373a0d3b6eaSmrg_ACEOF 1374a0d3b6eaSmrg 1375a0d3b6eaSmrg cat <<\_ACEOF 1376a0d3b6eaSmrg 1377a0d3b6eaSmrgProgram names: 1378a0d3b6eaSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 1379a0d3b6eaSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 1380a0d3b6eaSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1381a0d3b6eaSmrg 1382a0d3b6eaSmrgSystem types: 1383a0d3b6eaSmrg --build=BUILD configure for building on BUILD [guessed] 1384a0d3b6eaSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1385a0d3b6eaSmrg_ACEOF 1386a0d3b6eaSmrgfi 1387a0d3b6eaSmrg 1388a0d3b6eaSmrgif test -n "$ac_init_help"; then 1389a0d3b6eaSmrg case $ac_init_help in 139062df5ad0Smrg short | recursive ) echo "Configuration of xrandr 1.3.0:";; 1391a0d3b6eaSmrg esac 1392a0d3b6eaSmrg cat <<\_ACEOF 1393a0d3b6eaSmrg 1394a0d3b6eaSmrgOptional Features: 139562df5ad0Smrg --disable-option-checking ignore unrecognized --enable/--with options 1396a0d3b6eaSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1397a0d3b6eaSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1398a0d3b6eaSmrg --enable-maintainer-mode enable make rules and dependencies not useful 1399a0d3b6eaSmrg (and sometimes confusing) to the casual installer 1400a0d3b6eaSmrg --disable-dependency-tracking speeds up one-time build 1401a0d3b6eaSmrg --enable-dependency-tracking do not reject slow dependency extractors 1402a0d3b6eaSmrg 1403a0d3b6eaSmrgOptional Packages: 1404a0d3b6eaSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1405a0d3b6eaSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1406a0d3b6eaSmrg --with-release-version=STRING 1407a0d3b6eaSmrg Use release version string in package name 1408a0d3b6eaSmrg 1409a0d3b6eaSmrgSome influential environment variables: 1410a0d3b6eaSmrg CC C compiler command 1411a0d3b6eaSmrg CFLAGS C compiler flags 1412a0d3b6eaSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1413a0d3b6eaSmrg nonstandard directory <lib dir> 1414a0d3b6eaSmrg LIBS libraries to pass to the linker, e.g. -l<library> 1415a0d3b6eaSmrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1416a0d3b6eaSmrg you have headers in a nonstandard directory <include dir> 141762df5ad0Smrg CPP C preprocessor 1418a0d3b6eaSmrg PKG_CONFIG path to pkg-config utility 1419a0d3b6eaSmrg XRANDR_CFLAGS 1420a0d3b6eaSmrg C compiler flags for XRANDR, overriding pkg-config 1421a0d3b6eaSmrg XRANDR_LIBS linker flags for XRANDR, overriding pkg-config 1422a0d3b6eaSmrg 1423a0d3b6eaSmrgUse these variables to override the choices made by `configure' or to help 1424a0d3b6eaSmrgit to find libraries and programs with nonstandard names/locations. 1425a0d3b6eaSmrg 1426a0d3b6eaSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1427a0d3b6eaSmrg_ACEOF 1428a0d3b6eaSmrgac_status=$? 1429a0d3b6eaSmrgfi 1430a0d3b6eaSmrg 1431a0d3b6eaSmrgif test "$ac_init_help" = "recursive"; then 1432a0d3b6eaSmrg # If there are subdirs, report their specific --help. 1433a0d3b6eaSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 143462df5ad0Smrg test -d "$ac_dir" || 143562df5ad0Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 143662df5ad0Smrg continue 1437a0d3b6eaSmrg ac_builddir=. 1438a0d3b6eaSmrg 1439a0d3b6eaSmrgcase "$ac_dir" in 1440a0d3b6eaSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1441a0d3b6eaSmrg*) 144262df5ad0Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1443a0d3b6eaSmrg # A ".." for each directory in $ac_dir_suffix. 144462df5ad0Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1445a0d3b6eaSmrg case $ac_top_builddir_sub in 1446a0d3b6eaSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1447a0d3b6eaSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1448a0d3b6eaSmrg esac ;; 1449a0d3b6eaSmrgesac 1450a0d3b6eaSmrgac_abs_top_builddir=$ac_pwd 1451a0d3b6eaSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1452a0d3b6eaSmrg# for backward compatibility: 1453a0d3b6eaSmrgac_top_builddir=$ac_top_build_prefix 1454a0d3b6eaSmrg 1455a0d3b6eaSmrgcase $srcdir in 1456a0d3b6eaSmrg .) # We are building in place. 1457a0d3b6eaSmrg ac_srcdir=. 1458a0d3b6eaSmrg ac_top_srcdir=$ac_top_builddir_sub 1459a0d3b6eaSmrg ac_abs_top_srcdir=$ac_pwd ;; 1460a0d3b6eaSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 1461a0d3b6eaSmrg ac_srcdir=$srcdir$ac_dir_suffix; 1462a0d3b6eaSmrg ac_top_srcdir=$srcdir 1463a0d3b6eaSmrg ac_abs_top_srcdir=$srcdir ;; 1464a0d3b6eaSmrg *) # Relative name. 1465a0d3b6eaSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1466a0d3b6eaSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1467a0d3b6eaSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1468a0d3b6eaSmrgesac 1469a0d3b6eaSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1470a0d3b6eaSmrg 1471a0d3b6eaSmrg cd "$ac_dir" || { ac_status=$?; continue; } 1472a0d3b6eaSmrg # Check for guested configure. 1473a0d3b6eaSmrg if test -f "$ac_srcdir/configure.gnu"; then 1474a0d3b6eaSmrg echo && 1475a0d3b6eaSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1476a0d3b6eaSmrg elif test -f "$ac_srcdir/configure"; then 1477a0d3b6eaSmrg echo && 1478a0d3b6eaSmrg $SHELL "$ac_srcdir/configure" --help=recursive 1479a0d3b6eaSmrg else 148062df5ad0Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1481a0d3b6eaSmrg fi || ac_status=$? 1482a0d3b6eaSmrg cd "$ac_pwd" || { ac_status=$?; break; } 1483a0d3b6eaSmrg done 1484a0d3b6eaSmrgfi 1485a0d3b6eaSmrg 1486a0d3b6eaSmrgtest -n "$ac_init_help" && exit $ac_status 1487a0d3b6eaSmrgif $ac_init_version; then 1488a0d3b6eaSmrg cat <<\_ACEOF 148962df5ad0Smrgxrandr configure 1.3.0 149062df5ad0Smrggenerated by GNU Autoconf 2.63 1491a0d3b6eaSmrg 1492a0d3b6eaSmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 149362df5ad0Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1494a0d3b6eaSmrgThis configure script is free software; the Free Software Foundation 1495a0d3b6eaSmrggives unlimited permission to copy, distribute and modify it. 1496a0d3b6eaSmrg_ACEOF 1497a0d3b6eaSmrg exit 1498a0d3b6eaSmrgfi 1499a0d3b6eaSmrgcat >config.log <<_ACEOF 1500a0d3b6eaSmrgThis file contains any messages produced by compilers while 1501a0d3b6eaSmrgrunning configure, to aid debugging if configure makes a mistake. 1502a0d3b6eaSmrg 150362df5ad0SmrgIt was created by xrandr $as_me 1.3.0, which was 150462df5ad0Smrggenerated by GNU Autoconf 2.63. Invocation command line was 1505a0d3b6eaSmrg 1506a0d3b6eaSmrg $ $0 $@ 1507a0d3b6eaSmrg 1508a0d3b6eaSmrg_ACEOF 1509a0d3b6eaSmrgexec 5>>config.log 1510a0d3b6eaSmrg{ 1511a0d3b6eaSmrgcat <<_ASUNAME 1512a0d3b6eaSmrg## --------- ## 1513a0d3b6eaSmrg## Platform. ## 1514a0d3b6eaSmrg## --------- ## 1515a0d3b6eaSmrg 1516a0d3b6eaSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1517a0d3b6eaSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1518a0d3b6eaSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1519a0d3b6eaSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1520a0d3b6eaSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1521a0d3b6eaSmrg 1522a0d3b6eaSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1523a0d3b6eaSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1524a0d3b6eaSmrg 1525a0d3b6eaSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1526a0d3b6eaSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1527a0d3b6eaSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1528a0d3b6eaSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1529a0d3b6eaSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1530a0d3b6eaSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1531a0d3b6eaSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1532a0d3b6eaSmrg 1533a0d3b6eaSmrg_ASUNAME 1534a0d3b6eaSmrg 1535a0d3b6eaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1536a0d3b6eaSmrgfor as_dir in $PATH 1537a0d3b6eaSmrgdo 1538a0d3b6eaSmrg IFS=$as_save_IFS 1539a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 154062df5ad0Smrg $as_echo "PATH: $as_dir" 1541a0d3b6eaSmrgdone 1542a0d3b6eaSmrgIFS=$as_save_IFS 1543a0d3b6eaSmrg 1544a0d3b6eaSmrg} >&5 1545a0d3b6eaSmrg 1546a0d3b6eaSmrgcat >&5 <<_ACEOF 1547a0d3b6eaSmrg 1548a0d3b6eaSmrg 1549a0d3b6eaSmrg## ----------- ## 1550a0d3b6eaSmrg## Core tests. ## 1551a0d3b6eaSmrg## ----------- ## 1552a0d3b6eaSmrg 1553a0d3b6eaSmrg_ACEOF 1554a0d3b6eaSmrg 1555a0d3b6eaSmrg 1556a0d3b6eaSmrg# Keep a trace of the command line. 1557a0d3b6eaSmrg# Strip out --no-create and --no-recursion so they do not pile up. 1558a0d3b6eaSmrg# Strip out --silent because we don't want to record it for future runs. 1559a0d3b6eaSmrg# Also quote any args containing shell meta-characters. 1560a0d3b6eaSmrg# Make two passes to allow for proper duplicate-argument suppression. 1561a0d3b6eaSmrgac_configure_args= 1562a0d3b6eaSmrgac_configure_args0= 1563a0d3b6eaSmrgac_configure_args1= 1564a0d3b6eaSmrgac_must_keep_next=false 1565a0d3b6eaSmrgfor ac_pass in 1 2 1566a0d3b6eaSmrgdo 1567a0d3b6eaSmrg for ac_arg 1568a0d3b6eaSmrg do 1569a0d3b6eaSmrg case $ac_arg in 1570a0d3b6eaSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1571a0d3b6eaSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1572a0d3b6eaSmrg | -silent | --silent | --silen | --sile | --sil) 1573a0d3b6eaSmrg continue ;; 1574a0d3b6eaSmrg *\'*) 157562df5ad0Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1576a0d3b6eaSmrg esac 1577a0d3b6eaSmrg case $ac_pass in 1578a0d3b6eaSmrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1579a0d3b6eaSmrg 2) 1580a0d3b6eaSmrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1581a0d3b6eaSmrg if test $ac_must_keep_next = true; then 1582a0d3b6eaSmrg ac_must_keep_next=false # Got value, back to normal. 1583a0d3b6eaSmrg else 1584a0d3b6eaSmrg case $ac_arg in 1585a0d3b6eaSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1586a0d3b6eaSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1587a0d3b6eaSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1588a0d3b6eaSmrg | -with-* | --with-* | -without-* | --without-* | --x) 1589a0d3b6eaSmrg case "$ac_configure_args0 " in 1590a0d3b6eaSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1591a0d3b6eaSmrg esac 1592a0d3b6eaSmrg ;; 1593a0d3b6eaSmrg -* ) ac_must_keep_next=true ;; 1594a0d3b6eaSmrg esac 1595a0d3b6eaSmrg fi 1596a0d3b6eaSmrg ac_configure_args="$ac_configure_args '$ac_arg'" 1597a0d3b6eaSmrg ;; 1598a0d3b6eaSmrg esac 1599a0d3b6eaSmrg done 1600a0d3b6eaSmrgdone 1601a0d3b6eaSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1602a0d3b6eaSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1603a0d3b6eaSmrg 1604a0d3b6eaSmrg# When interrupted or exit'd, cleanup temporary files, and complete 1605a0d3b6eaSmrg# config.log. We remove comments because anyway the quotes in there 1606a0d3b6eaSmrg# would cause problems or look ugly. 1607a0d3b6eaSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1608a0d3b6eaSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1609a0d3b6eaSmrgtrap 'exit_status=$? 1610a0d3b6eaSmrg # Save into config.log some information that might help in debugging. 1611a0d3b6eaSmrg { 1612a0d3b6eaSmrg echo 1613a0d3b6eaSmrg 1614a0d3b6eaSmrg cat <<\_ASBOX 1615a0d3b6eaSmrg## ---------------- ## 1616a0d3b6eaSmrg## Cache variables. ## 1617a0d3b6eaSmrg## ---------------- ## 1618a0d3b6eaSmrg_ASBOX 1619a0d3b6eaSmrg echo 1620a0d3b6eaSmrg # The following way of writing the cache mishandles newlines in values, 1621a0d3b6eaSmrg( 1622a0d3b6eaSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1623a0d3b6eaSmrg eval ac_val=\$$ac_var 1624a0d3b6eaSmrg case $ac_val in #( 1625a0d3b6eaSmrg *${as_nl}*) 1626a0d3b6eaSmrg case $ac_var in #( 162762df5ad0Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 162862df5ad0Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1629a0d3b6eaSmrg esac 1630a0d3b6eaSmrg case $ac_var in #( 1631a0d3b6eaSmrg _ | IFS | as_nl) ;; #( 163262df5ad0Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1633a0d3b6eaSmrg *) $as_unset $ac_var ;; 1634a0d3b6eaSmrg esac ;; 1635a0d3b6eaSmrg esac 1636a0d3b6eaSmrg done 1637a0d3b6eaSmrg (set) 2>&1 | 1638a0d3b6eaSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1639a0d3b6eaSmrg *${as_nl}ac_space=\ *) 1640a0d3b6eaSmrg sed -n \ 1641a0d3b6eaSmrg "s/'\''/'\''\\\\'\'''\''/g; 1642a0d3b6eaSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1643a0d3b6eaSmrg ;; #( 1644a0d3b6eaSmrg *) 1645a0d3b6eaSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1646a0d3b6eaSmrg ;; 1647a0d3b6eaSmrg esac | 1648a0d3b6eaSmrg sort 1649a0d3b6eaSmrg) 1650a0d3b6eaSmrg echo 1651a0d3b6eaSmrg 1652a0d3b6eaSmrg cat <<\_ASBOX 1653a0d3b6eaSmrg## ----------------- ## 1654a0d3b6eaSmrg## Output variables. ## 1655a0d3b6eaSmrg## ----------------- ## 1656a0d3b6eaSmrg_ASBOX 1657a0d3b6eaSmrg echo 1658a0d3b6eaSmrg for ac_var in $ac_subst_vars 1659a0d3b6eaSmrg do 1660a0d3b6eaSmrg eval ac_val=\$$ac_var 1661a0d3b6eaSmrg case $ac_val in 166262df5ad0Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1663a0d3b6eaSmrg esac 166462df5ad0Smrg $as_echo "$ac_var='\''$ac_val'\''" 1665a0d3b6eaSmrg done | sort 1666a0d3b6eaSmrg echo 1667a0d3b6eaSmrg 1668a0d3b6eaSmrg if test -n "$ac_subst_files"; then 1669a0d3b6eaSmrg cat <<\_ASBOX 1670a0d3b6eaSmrg## ------------------- ## 1671a0d3b6eaSmrg## File substitutions. ## 1672a0d3b6eaSmrg## ------------------- ## 1673a0d3b6eaSmrg_ASBOX 1674a0d3b6eaSmrg echo 1675a0d3b6eaSmrg for ac_var in $ac_subst_files 1676a0d3b6eaSmrg do 1677a0d3b6eaSmrg eval ac_val=\$$ac_var 1678a0d3b6eaSmrg case $ac_val in 167962df5ad0Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1680a0d3b6eaSmrg esac 168162df5ad0Smrg $as_echo "$ac_var='\''$ac_val'\''" 1682a0d3b6eaSmrg done | sort 1683a0d3b6eaSmrg echo 1684a0d3b6eaSmrg fi 1685a0d3b6eaSmrg 1686a0d3b6eaSmrg if test -s confdefs.h; then 1687a0d3b6eaSmrg cat <<\_ASBOX 1688a0d3b6eaSmrg## ----------- ## 1689a0d3b6eaSmrg## confdefs.h. ## 1690a0d3b6eaSmrg## ----------- ## 1691a0d3b6eaSmrg_ASBOX 1692a0d3b6eaSmrg echo 1693a0d3b6eaSmrg cat confdefs.h 1694a0d3b6eaSmrg echo 1695a0d3b6eaSmrg fi 1696a0d3b6eaSmrg test "$ac_signal" != 0 && 169762df5ad0Smrg $as_echo "$as_me: caught signal $ac_signal" 169862df5ad0Smrg $as_echo "$as_me: exit $exit_status" 1699a0d3b6eaSmrg } >&5 1700a0d3b6eaSmrg rm -f core *.core core.conftest.* && 1701a0d3b6eaSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1702a0d3b6eaSmrg exit $exit_status 1703a0d3b6eaSmrg' 0 1704a0d3b6eaSmrgfor ac_signal in 1 2 13 15; do 1705a0d3b6eaSmrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1706a0d3b6eaSmrgdone 1707a0d3b6eaSmrgac_signal=0 1708a0d3b6eaSmrg 1709a0d3b6eaSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1710a0d3b6eaSmrgrm -f -r conftest* confdefs.h 1711a0d3b6eaSmrg 1712a0d3b6eaSmrg# Predefined preprocessor variables. 1713a0d3b6eaSmrg 1714a0d3b6eaSmrgcat >>confdefs.h <<_ACEOF 1715a0d3b6eaSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 1716a0d3b6eaSmrg_ACEOF 1717a0d3b6eaSmrg 1718a0d3b6eaSmrg 1719a0d3b6eaSmrgcat >>confdefs.h <<_ACEOF 1720a0d3b6eaSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1721a0d3b6eaSmrg_ACEOF 1722a0d3b6eaSmrg 1723a0d3b6eaSmrg 1724a0d3b6eaSmrgcat >>confdefs.h <<_ACEOF 1725a0d3b6eaSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1726a0d3b6eaSmrg_ACEOF 1727a0d3b6eaSmrg 1728a0d3b6eaSmrg 1729a0d3b6eaSmrgcat >>confdefs.h <<_ACEOF 1730a0d3b6eaSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 1731a0d3b6eaSmrg_ACEOF 1732a0d3b6eaSmrg 1733a0d3b6eaSmrg 1734a0d3b6eaSmrgcat >>confdefs.h <<_ACEOF 1735a0d3b6eaSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1736a0d3b6eaSmrg_ACEOF 1737a0d3b6eaSmrg 1738a0d3b6eaSmrg 1739a0d3b6eaSmrg# Let the site file select an alternate cache file if it wants to. 174062df5ad0Smrg# Prefer an explicitly selected file to automatically selected ones. 174162df5ad0Smrgac_site_file1=NONE 174262df5ad0Smrgac_site_file2=NONE 1743a0d3b6eaSmrgif test -n "$CONFIG_SITE"; then 174462df5ad0Smrg ac_site_file1=$CONFIG_SITE 1745a0d3b6eaSmrgelif test "x$prefix" != xNONE; then 174662df5ad0Smrg ac_site_file1=$prefix/share/config.site 174762df5ad0Smrg ac_site_file2=$prefix/etc/config.site 1748a0d3b6eaSmrgelse 174962df5ad0Smrg ac_site_file1=$ac_default_prefix/share/config.site 175062df5ad0Smrg ac_site_file2=$ac_default_prefix/etc/config.site 1751a0d3b6eaSmrgfi 175262df5ad0Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 1753a0d3b6eaSmrgdo 175462df5ad0Smrg test "x$ac_site_file" = xNONE && continue 1755a0d3b6eaSmrg if test -r "$ac_site_file"; then 175662df5ad0Smrg { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 175762df5ad0Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1758a0d3b6eaSmrg sed 's/^/| /' "$ac_site_file" >&5 1759a0d3b6eaSmrg . "$ac_site_file" 1760a0d3b6eaSmrg fi 1761a0d3b6eaSmrgdone 1762a0d3b6eaSmrg 1763a0d3b6eaSmrgif test -r "$cache_file"; then 1764a0d3b6eaSmrg # Some versions of bash will fail to source /dev/null (special 1765a0d3b6eaSmrg # files actually), so we avoid doing that. 1766a0d3b6eaSmrg if test -f "$cache_file"; then 176762df5ad0Smrg { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 176862df5ad0Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1769a0d3b6eaSmrg case $cache_file in 1770a0d3b6eaSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1771a0d3b6eaSmrg *) . "./$cache_file";; 1772a0d3b6eaSmrg esac 1773a0d3b6eaSmrg fi 1774a0d3b6eaSmrgelse 177562df5ad0Smrg { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 177662df5ad0Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 1777a0d3b6eaSmrg >$cache_file 1778a0d3b6eaSmrgfi 1779a0d3b6eaSmrg 1780a0d3b6eaSmrg# Check that the precious variables saved in the cache have kept the same 1781a0d3b6eaSmrg# value. 1782a0d3b6eaSmrgac_cache_corrupted=false 1783a0d3b6eaSmrgfor ac_var in $ac_precious_vars; do 1784a0d3b6eaSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1785a0d3b6eaSmrg eval ac_new_set=\$ac_env_${ac_var}_set 1786a0d3b6eaSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 1787a0d3b6eaSmrg eval ac_new_val=\$ac_env_${ac_var}_value 1788a0d3b6eaSmrg case $ac_old_set,$ac_new_set in 1789a0d3b6eaSmrg set,) 179062df5ad0Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 179162df5ad0Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1792a0d3b6eaSmrg ac_cache_corrupted=: ;; 1793a0d3b6eaSmrg ,set) 179462df5ad0Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 179562df5ad0Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1796a0d3b6eaSmrg ac_cache_corrupted=: ;; 1797a0d3b6eaSmrg ,);; 1798a0d3b6eaSmrg *) 1799a0d3b6eaSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 180062df5ad0Smrg # differences in whitespace do not lead to failure. 180162df5ad0Smrg ac_old_val_w=`echo x $ac_old_val` 180262df5ad0Smrg ac_new_val_w=`echo x $ac_new_val` 180362df5ad0Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 180462df5ad0Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 180562df5ad0Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 180662df5ad0Smrg ac_cache_corrupted=: 180762df5ad0Smrg else 180862df5ad0Smrg { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 180962df5ad0Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 181062df5ad0Smrg eval $ac_var=\$ac_old_val 181162df5ad0Smrg fi 181262df5ad0Smrg { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 181362df5ad0Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 181462df5ad0Smrg { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 181562df5ad0Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1816a0d3b6eaSmrg fi;; 1817a0d3b6eaSmrg esac 1818a0d3b6eaSmrg # Pass precious variables to config.status. 1819a0d3b6eaSmrg if test "$ac_new_set" = set; then 1820a0d3b6eaSmrg case $ac_new_val in 182162df5ad0Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1822a0d3b6eaSmrg *) ac_arg=$ac_var=$ac_new_val ;; 1823a0d3b6eaSmrg esac 1824a0d3b6eaSmrg case " $ac_configure_args " in 1825a0d3b6eaSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1826a0d3b6eaSmrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1827a0d3b6eaSmrg esac 1828a0d3b6eaSmrg fi 1829a0d3b6eaSmrgdone 1830a0d3b6eaSmrgif $ac_cache_corrupted; then 183162df5ad0Smrg { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 183262df5ad0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 183362df5ad0Smrg { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 183462df5ad0Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 183562df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 183662df5ad0Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1837a0d3b6eaSmrg { (exit 1); exit 1; }; } 1838a0d3b6eaSmrgfi 1839a0d3b6eaSmrg 1840a0d3b6eaSmrg 1841a0d3b6eaSmrg 1842a0d3b6eaSmrg 1843a0d3b6eaSmrg 1844a0d3b6eaSmrg 1845a0d3b6eaSmrg 1846a0d3b6eaSmrg 1847a0d3b6eaSmrg 1848a0d3b6eaSmrg 1849a0d3b6eaSmrg 1850a0d3b6eaSmrg 1851a0d3b6eaSmrg 1852a0d3b6eaSmrg 1853a0d3b6eaSmrg 1854a0d3b6eaSmrg 1855a0d3b6eaSmrg 1856a0d3b6eaSmrg 1857a0d3b6eaSmrg 1858a0d3b6eaSmrg 1859a0d3b6eaSmrg 1860a0d3b6eaSmrg 1861a0d3b6eaSmrg 1862a0d3b6eaSmrg 1863a0d3b6eaSmrg 1864a0d3b6eaSmrgac_ext=c 1865a0d3b6eaSmrgac_cpp='$CPP $CPPFLAGS' 1866a0d3b6eaSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1867a0d3b6eaSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1868a0d3b6eaSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1869a0d3b6eaSmrg 1870a0d3b6eaSmrg 1871a0d3b6eaSmrgam__api_version='1.10' 1872a0d3b6eaSmrg 1873a0d3b6eaSmrgac_aux_dir= 1874a0d3b6eaSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1875a0d3b6eaSmrg if test -f "$ac_dir/install-sh"; then 1876a0d3b6eaSmrg ac_aux_dir=$ac_dir 1877a0d3b6eaSmrg ac_install_sh="$ac_aux_dir/install-sh -c" 1878a0d3b6eaSmrg break 1879a0d3b6eaSmrg elif test -f "$ac_dir/install.sh"; then 1880a0d3b6eaSmrg ac_aux_dir=$ac_dir 1881a0d3b6eaSmrg ac_install_sh="$ac_aux_dir/install.sh -c" 1882a0d3b6eaSmrg break 1883a0d3b6eaSmrg elif test -f "$ac_dir/shtool"; then 1884a0d3b6eaSmrg ac_aux_dir=$ac_dir 1885a0d3b6eaSmrg ac_install_sh="$ac_aux_dir/shtool install -c" 1886a0d3b6eaSmrg break 1887a0d3b6eaSmrg fi 1888a0d3b6eaSmrgdone 1889a0d3b6eaSmrgif test -z "$ac_aux_dir"; then 189062df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 189162df5ad0Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1892a0d3b6eaSmrg { (exit 1); exit 1; }; } 1893a0d3b6eaSmrgfi 1894a0d3b6eaSmrg 1895a0d3b6eaSmrg# These three variables are undocumented and unsupported, 1896a0d3b6eaSmrg# and are intended to be withdrawn in a future Autoconf release. 1897a0d3b6eaSmrg# They can cause serious problems if a builder's source tree is in a directory 1898a0d3b6eaSmrg# whose full name contains unusual characters. 1899a0d3b6eaSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1900a0d3b6eaSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1901a0d3b6eaSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1902a0d3b6eaSmrg 1903a0d3b6eaSmrg 1904a0d3b6eaSmrg# Find a good install program. We prefer a C program (faster), 1905a0d3b6eaSmrg# so one script is as good as another. But avoid the broken or 1906a0d3b6eaSmrg# incompatible versions: 1907a0d3b6eaSmrg# SysV /etc/install, /usr/sbin/install 1908a0d3b6eaSmrg# SunOS /usr/etc/install 1909a0d3b6eaSmrg# IRIX /sbin/install 1910a0d3b6eaSmrg# AIX /bin/install 1911a0d3b6eaSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 1912a0d3b6eaSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1913a0d3b6eaSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1914a0d3b6eaSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1915a0d3b6eaSmrg# OS/2's system install, which has a completely different semantic 1916a0d3b6eaSmrg# ./install, which can be erroneously created by make from ./install.sh. 191762df5ad0Smrg# Reject install programs that cannot install multiple files. 191862df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 191962df5ad0Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 1920a0d3b6eaSmrgif test -z "$INSTALL"; then 1921a0d3b6eaSmrgif test "${ac_cv_path_install+set}" = set; then 192262df5ad0Smrg $as_echo_n "(cached) " >&6 1923a0d3b6eaSmrgelse 1924a0d3b6eaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1925a0d3b6eaSmrgfor as_dir in $PATH 1926a0d3b6eaSmrgdo 1927a0d3b6eaSmrg IFS=$as_save_IFS 1928a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 1929a0d3b6eaSmrg # Account for people who put trailing slashes in PATH elements. 1930a0d3b6eaSmrgcase $as_dir/ in 1931a0d3b6eaSmrg ./ | .// | /cC/* | \ 1932a0d3b6eaSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1933a0d3b6eaSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1934a0d3b6eaSmrg /usr/ucb/* ) ;; 1935a0d3b6eaSmrg *) 1936a0d3b6eaSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 1937a0d3b6eaSmrg # Don't use installbsd from OSF since it installs stuff as root 1938a0d3b6eaSmrg # by default. 1939a0d3b6eaSmrg for ac_prog in ginstall scoinst install; do 1940a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 1941a0d3b6eaSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1942a0d3b6eaSmrg if test $ac_prog = install && 1943a0d3b6eaSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1944a0d3b6eaSmrg # AIX install. It has an incompatible calling convention. 1945a0d3b6eaSmrg : 1946a0d3b6eaSmrg elif test $ac_prog = install && 1947a0d3b6eaSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1948a0d3b6eaSmrg # program-specific install script used by HP pwplus--don't use. 1949a0d3b6eaSmrg : 1950a0d3b6eaSmrg else 195162df5ad0Smrg rm -rf conftest.one conftest.two conftest.dir 195262df5ad0Smrg echo one > conftest.one 195362df5ad0Smrg echo two > conftest.two 195462df5ad0Smrg mkdir conftest.dir 195562df5ad0Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 195662df5ad0Smrg test -s conftest.one && test -s conftest.two && 195762df5ad0Smrg test -s conftest.dir/conftest.one && 195862df5ad0Smrg test -s conftest.dir/conftest.two 195962df5ad0Smrg then 196062df5ad0Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 196162df5ad0Smrg break 3 196262df5ad0Smrg fi 1963a0d3b6eaSmrg fi 1964a0d3b6eaSmrg fi 1965a0d3b6eaSmrg done 1966a0d3b6eaSmrg done 1967a0d3b6eaSmrg ;; 1968a0d3b6eaSmrgesac 196962df5ad0Smrg 1970a0d3b6eaSmrgdone 1971a0d3b6eaSmrgIFS=$as_save_IFS 1972a0d3b6eaSmrg 197362df5ad0Smrgrm -rf conftest.one conftest.two conftest.dir 1974a0d3b6eaSmrg 1975a0d3b6eaSmrgfi 1976a0d3b6eaSmrg if test "${ac_cv_path_install+set}" = set; then 1977a0d3b6eaSmrg INSTALL=$ac_cv_path_install 1978a0d3b6eaSmrg else 1979a0d3b6eaSmrg # As a last resort, use the slow shell script. Don't cache a 1980a0d3b6eaSmrg # value for INSTALL within a source directory, because that will 1981a0d3b6eaSmrg # break other packages using the cache if that directory is 1982a0d3b6eaSmrg # removed, or if the value is a relative name. 1983a0d3b6eaSmrg INSTALL=$ac_install_sh 1984a0d3b6eaSmrg fi 1985a0d3b6eaSmrgfi 198662df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 198762df5ad0Smrg$as_echo "$INSTALL" >&6; } 1988a0d3b6eaSmrg 1989a0d3b6eaSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1990a0d3b6eaSmrg# It thinks the first close brace ends the variable substitution. 1991a0d3b6eaSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1992a0d3b6eaSmrg 1993a0d3b6eaSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1994a0d3b6eaSmrg 1995a0d3b6eaSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1996a0d3b6eaSmrg 199762df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 199862df5ad0Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 1999a0d3b6eaSmrg# Just in case 2000a0d3b6eaSmrgsleep 1 2001a0d3b6eaSmrgecho timestamp > conftest.file 2002a0d3b6eaSmrg# Do `set' in a subshell so we don't clobber the current shell's 2003a0d3b6eaSmrg# arguments. Must try -L first in case configure is actually a 2004a0d3b6eaSmrg# symlink; some systems play weird games with the mod time of symlinks 2005a0d3b6eaSmrg# (eg FreeBSD returns the mod time of the symlink's containing 2006a0d3b6eaSmrg# directory). 2007a0d3b6eaSmrgif ( 2008a0d3b6eaSmrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2009a0d3b6eaSmrg if test "$*" = "X"; then 2010a0d3b6eaSmrg # -L didn't work. 2011a0d3b6eaSmrg set X `ls -t $srcdir/configure conftest.file` 2012a0d3b6eaSmrg fi 2013a0d3b6eaSmrg rm -f conftest.file 2014a0d3b6eaSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 2015a0d3b6eaSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 2016a0d3b6eaSmrg 2017a0d3b6eaSmrg # If neither matched, then we have a broken ls. This can happen 2018a0d3b6eaSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2019a0d3b6eaSmrg # broken ls alias from the environment. This has actually 2020a0d3b6eaSmrg # happened. Such a system could not be considered "sane". 202162df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2022a0d3b6eaSmrgalias in your environment" >&5 202362df5ad0Smrg$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2024a0d3b6eaSmrgalias in your environment" >&2;} 2025a0d3b6eaSmrg { (exit 1); exit 1; }; } 2026a0d3b6eaSmrg fi 2027a0d3b6eaSmrg 2028a0d3b6eaSmrg test "$2" = conftest.file 2029a0d3b6eaSmrg ) 2030a0d3b6eaSmrgthen 2031a0d3b6eaSmrg # Ok. 2032a0d3b6eaSmrg : 2033a0d3b6eaSmrgelse 203462df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2035a0d3b6eaSmrgCheck your system clock" >&5 203662df5ad0Smrg$as_echo "$as_me: error: newly created file is older than distributed files! 2037a0d3b6eaSmrgCheck your system clock" >&2;} 2038a0d3b6eaSmrg { (exit 1); exit 1; }; } 2039a0d3b6eaSmrgfi 204062df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 204162df5ad0Smrg$as_echo "yes" >&6; } 2042a0d3b6eaSmrgtest "$program_prefix" != NONE && 2043a0d3b6eaSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2044a0d3b6eaSmrg# Use a double $ so make ignores it. 2045a0d3b6eaSmrgtest "$program_suffix" != NONE && 2046a0d3b6eaSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 204762df5ad0Smrg# Double any \ or $. 2048a0d3b6eaSmrg# By default was `s,x,x', remove it if useless. 204962df5ad0Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 205062df5ad0Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2051a0d3b6eaSmrg 2052a0d3b6eaSmrg# expand $ac_aux_dir to an absolute path 2053a0d3b6eaSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 2054a0d3b6eaSmrg 2055a0d3b6eaSmrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2056a0d3b6eaSmrg# Use eval to expand $SHELL 2057a0d3b6eaSmrgif eval "$MISSING --run true"; then 2058a0d3b6eaSmrg am_missing_run="$MISSING --run " 2059a0d3b6eaSmrgelse 2060a0d3b6eaSmrg am_missing_run= 206162df5ad0Smrg { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 206262df5ad0Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2063a0d3b6eaSmrgfi 2064a0d3b6eaSmrg 206562df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 206662df5ad0Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2067a0d3b6eaSmrgif test -z "$MKDIR_P"; then 2068a0d3b6eaSmrg if test "${ac_cv_path_mkdir+set}" = set; then 206962df5ad0Smrg $as_echo_n "(cached) " >&6 2070a0d3b6eaSmrgelse 2071a0d3b6eaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2072a0d3b6eaSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2073a0d3b6eaSmrgdo 2074a0d3b6eaSmrg IFS=$as_save_IFS 2075a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 2076a0d3b6eaSmrg for ac_prog in mkdir gmkdir; do 2077a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2078a0d3b6eaSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2079a0d3b6eaSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2080a0d3b6eaSmrg 'mkdir (GNU coreutils) '* | \ 2081a0d3b6eaSmrg 'mkdir (coreutils) '* | \ 2082a0d3b6eaSmrg 'mkdir (fileutils) '4.1*) 2083a0d3b6eaSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2084a0d3b6eaSmrg break 3;; 2085a0d3b6eaSmrg esac 2086a0d3b6eaSmrg done 2087a0d3b6eaSmrg done 2088a0d3b6eaSmrgdone 2089a0d3b6eaSmrgIFS=$as_save_IFS 2090a0d3b6eaSmrg 2091a0d3b6eaSmrgfi 2092a0d3b6eaSmrg 2093a0d3b6eaSmrg if test "${ac_cv_path_mkdir+set}" = set; then 2094a0d3b6eaSmrg MKDIR_P="$ac_cv_path_mkdir -p" 2095a0d3b6eaSmrg else 2096a0d3b6eaSmrg # As a last resort, use the slow shell script. Don't cache a 2097a0d3b6eaSmrg # value for MKDIR_P within a source directory, because that will 2098a0d3b6eaSmrg # break other packages using the cache if that directory is 2099a0d3b6eaSmrg # removed, or if the value is a relative name. 2100a0d3b6eaSmrg test -d ./--version && rmdir ./--version 2101a0d3b6eaSmrg MKDIR_P="$ac_install_sh -d" 2102a0d3b6eaSmrg fi 2103a0d3b6eaSmrgfi 210462df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 210562df5ad0Smrg$as_echo "$MKDIR_P" >&6; } 2106a0d3b6eaSmrg 2107a0d3b6eaSmrgmkdir_p="$MKDIR_P" 2108a0d3b6eaSmrgcase $mkdir_p in 2109a0d3b6eaSmrg [\\/$]* | ?:[\\/]*) ;; 2110a0d3b6eaSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2111a0d3b6eaSmrgesac 2112a0d3b6eaSmrg 2113a0d3b6eaSmrgfor ac_prog in gawk mawk nawk awk 2114a0d3b6eaSmrgdo 2115a0d3b6eaSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2116a0d3b6eaSmrgset dummy $ac_prog; ac_word=$2 211762df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 211862df5ad0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2119a0d3b6eaSmrgif test "${ac_cv_prog_AWK+set}" = set; then 212062df5ad0Smrg $as_echo_n "(cached) " >&6 2121a0d3b6eaSmrgelse 2122a0d3b6eaSmrg if test -n "$AWK"; then 2123a0d3b6eaSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2124a0d3b6eaSmrgelse 2125a0d3b6eaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2126a0d3b6eaSmrgfor as_dir in $PATH 2127a0d3b6eaSmrgdo 2128a0d3b6eaSmrg IFS=$as_save_IFS 2129a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 2130a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2131a0d3b6eaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2132a0d3b6eaSmrg ac_cv_prog_AWK="$ac_prog" 213362df5ad0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2134a0d3b6eaSmrg break 2 2135a0d3b6eaSmrg fi 2136a0d3b6eaSmrgdone 2137a0d3b6eaSmrgdone 2138a0d3b6eaSmrgIFS=$as_save_IFS 2139a0d3b6eaSmrg 2140a0d3b6eaSmrgfi 2141a0d3b6eaSmrgfi 2142a0d3b6eaSmrgAWK=$ac_cv_prog_AWK 2143a0d3b6eaSmrgif test -n "$AWK"; then 214462df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $AWK" >&5 214562df5ad0Smrg$as_echo "$AWK" >&6; } 2146a0d3b6eaSmrgelse 214762df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 214862df5ad0Smrg$as_echo "no" >&6; } 2149a0d3b6eaSmrgfi 2150a0d3b6eaSmrg 2151a0d3b6eaSmrg 2152a0d3b6eaSmrg test -n "$AWK" && break 2153a0d3b6eaSmrgdone 2154a0d3b6eaSmrg 215562df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 215662df5ad0Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 215762df5ad0Smrgset x ${MAKE-make} 215862df5ad0Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2159a0d3b6eaSmrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 216062df5ad0Smrg $as_echo_n "(cached) " >&6 2161a0d3b6eaSmrgelse 2162a0d3b6eaSmrg cat >conftest.make <<\_ACEOF 2163a0d3b6eaSmrgSHELL = /bin/sh 2164a0d3b6eaSmrgall: 2165a0d3b6eaSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2166a0d3b6eaSmrg_ACEOF 2167a0d3b6eaSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2168a0d3b6eaSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2169a0d3b6eaSmrg *@@@%%%=?*=@@@%%%*) 2170a0d3b6eaSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2171a0d3b6eaSmrg *) 2172a0d3b6eaSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 2173a0d3b6eaSmrgesac 2174a0d3b6eaSmrgrm -f conftest.make 2175a0d3b6eaSmrgfi 2176a0d3b6eaSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 217762df5ad0Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 217862df5ad0Smrg$as_echo "yes" >&6; } 2179a0d3b6eaSmrg SET_MAKE= 2180a0d3b6eaSmrgelse 218162df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 218262df5ad0Smrg$as_echo "no" >&6; } 2183a0d3b6eaSmrg SET_MAKE="MAKE=${MAKE-make}" 2184a0d3b6eaSmrgfi 2185a0d3b6eaSmrg 2186a0d3b6eaSmrgrm -rf .tst 2>/dev/null 2187a0d3b6eaSmrgmkdir .tst 2>/dev/null 2188a0d3b6eaSmrgif test -d .tst; then 2189a0d3b6eaSmrg am__leading_dot=. 2190a0d3b6eaSmrgelse 2191a0d3b6eaSmrg am__leading_dot=_ 2192a0d3b6eaSmrgfi 2193a0d3b6eaSmrgrmdir .tst 2>/dev/null 2194a0d3b6eaSmrg 2195a0d3b6eaSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2196a0d3b6eaSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2197a0d3b6eaSmrg # is not polluted with repeated "-I." 2198a0d3b6eaSmrg am__isrc=' -I$(srcdir)' 2199a0d3b6eaSmrg # test to see if srcdir already configured 2200a0d3b6eaSmrg if test -f $srcdir/config.status; then 220162df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 220262df5ad0Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2203a0d3b6eaSmrg { (exit 1); exit 1; }; } 2204a0d3b6eaSmrg fi 2205a0d3b6eaSmrgfi 2206a0d3b6eaSmrg 2207a0d3b6eaSmrg# test whether we have cygpath 2208a0d3b6eaSmrgif test -z "$CYGPATH_W"; then 2209a0d3b6eaSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 2210a0d3b6eaSmrg CYGPATH_W='cygpath -w' 2211a0d3b6eaSmrg else 2212a0d3b6eaSmrg CYGPATH_W=echo 2213a0d3b6eaSmrg fi 2214a0d3b6eaSmrgfi 2215a0d3b6eaSmrg 2216a0d3b6eaSmrg 2217a0d3b6eaSmrg# Define the identity of the package. 2218a0d3b6eaSmrg PACKAGE='xrandr' 221962df5ad0Smrg VERSION='1.3.0' 2220a0d3b6eaSmrg 2221a0d3b6eaSmrg 2222a0d3b6eaSmrgcat >>confdefs.h <<_ACEOF 2223a0d3b6eaSmrg#define PACKAGE "$PACKAGE" 2224a0d3b6eaSmrg_ACEOF 2225a0d3b6eaSmrg 2226a0d3b6eaSmrg 2227a0d3b6eaSmrgcat >>confdefs.h <<_ACEOF 2228a0d3b6eaSmrg#define VERSION "$VERSION" 2229a0d3b6eaSmrg_ACEOF 2230a0d3b6eaSmrg 2231a0d3b6eaSmrg# Some tools Automake needs. 2232a0d3b6eaSmrg 2233a0d3b6eaSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2234a0d3b6eaSmrg 2235a0d3b6eaSmrg 2236a0d3b6eaSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2237a0d3b6eaSmrg 2238a0d3b6eaSmrg 2239a0d3b6eaSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2240a0d3b6eaSmrg 2241a0d3b6eaSmrg 2242a0d3b6eaSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2243a0d3b6eaSmrg 2244a0d3b6eaSmrg 2245a0d3b6eaSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2246a0d3b6eaSmrg 2247a0d3b6eaSmrginstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2248a0d3b6eaSmrg 2249a0d3b6eaSmrg# Installed binaries are usually stripped using `strip' when the user 2250a0d3b6eaSmrg# run `make install-strip'. However `strip' might not be the right 2251a0d3b6eaSmrg# tool to use in cross-compilation environments, therefore Automake 2252a0d3b6eaSmrg# will honor the `STRIP' environment variable to overrule this program. 2253a0d3b6eaSmrgif test "$cross_compiling" != no; then 2254a0d3b6eaSmrg if test -n "$ac_tool_prefix"; then 2255a0d3b6eaSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2256a0d3b6eaSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 225762df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 225862df5ad0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2259a0d3b6eaSmrgif test "${ac_cv_prog_STRIP+set}" = set; then 226062df5ad0Smrg $as_echo_n "(cached) " >&6 2261a0d3b6eaSmrgelse 2262a0d3b6eaSmrg if test -n "$STRIP"; then 2263a0d3b6eaSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2264a0d3b6eaSmrgelse 2265a0d3b6eaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2266a0d3b6eaSmrgfor as_dir in $PATH 2267a0d3b6eaSmrgdo 2268a0d3b6eaSmrg IFS=$as_save_IFS 2269a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 2270a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2271a0d3b6eaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2272a0d3b6eaSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 227362df5ad0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2274a0d3b6eaSmrg break 2 2275a0d3b6eaSmrg fi 2276a0d3b6eaSmrgdone 2277a0d3b6eaSmrgdone 2278a0d3b6eaSmrgIFS=$as_save_IFS 2279a0d3b6eaSmrg 2280a0d3b6eaSmrgfi 2281a0d3b6eaSmrgfi 2282a0d3b6eaSmrgSTRIP=$ac_cv_prog_STRIP 2283a0d3b6eaSmrgif test -n "$STRIP"; then 228462df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 228562df5ad0Smrg$as_echo "$STRIP" >&6; } 2286a0d3b6eaSmrgelse 228762df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 228862df5ad0Smrg$as_echo "no" >&6; } 2289a0d3b6eaSmrgfi 2290a0d3b6eaSmrg 2291a0d3b6eaSmrg 2292a0d3b6eaSmrgfi 2293a0d3b6eaSmrgif test -z "$ac_cv_prog_STRIP"; then 2294a0d3b6eaSmrg ac_ct_STRIP=$STRIP 2295a0d3b6eaSmrg # Extract the first word of "strip", so it can be a program name with args. 2296a0d3b6eaSmrgset dummy strip; ac_word=$2 229762df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 229862df5ad0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2299a0d3b6eaSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 230062df5ad0Smrg $as_echo_n "(cached) " >&6 2301a0d3b6eaSmrgelse 2302a0d3b6eaSmrg if test -n "$ac_ct_STRIP"; then 2303a0d3b6eaSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2304a0d3b6eaSmrgelse 2305a0d3b6eaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2306a0d3b6eaSmrgfor as_dir in $PATH 2307a0d3b6eaSmrgdo 2308a0d3b6eaSmrg IFS=$as_save_IFS 2309a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 2310a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2311a0d3b6eaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2312a0d3b6eaSmrg ac_cv_prog_ac_ct_STRIP="strip" 231362df5ad0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2314a0d3b6eaSmrg break 2 2315a0d3b6eaSmrg fi 2316a0d3b6eaSmrgdone 2317a0d3b6eaSmrgdone 2318a0d3b6eaSmrgIFS=$as_save_IFS 2319a0d3b6eaSmrg 2320a0d3b6eaSmrgfi 2321a0d3b6eaSmrgfi 2322a0d3b6eaSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2323a0d3b6eaSmrgif test -n "$ac_ct_STRIP"; then 232462df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 232562df5ad0Smrg$as_echo "$ac_ct_STRIP" >&6; } 2326a0d3b6eaSmrgelse 232762df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 232862df5ad0Smrg$as_echo "no" >&6; } 2329a0d3b6eaSmrgfi 2330a0d3b6eaSmrg 2331a0d3b6eaSmrg if test "x$ac_ct_STRIP" = x; then 2332a0d3b6eaSmrg STRIP=":" 2333a0d3b6eaSmrg else 2334a0d3b6eaSmrg case $cross_compiling:$ac_tool_warned in 2335a0d3b6eaSmrgyes:) 233662df5ad0Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 233762df5ad0Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2338a0d3b6eaSmrgac_tool_warned=yes ;; 2339a0d3b6eaSmrgesac 2340a0d3b6eaSmrg STRIP=$ac_ct_STRIP 2341a0d3b6eaSmrg fi 2342a0d3b6eaSmrgelse 2343a0d3b6eaSmrg STRIP="$ac_cv_prog_STRIP" 2344a0d3b6eaSmrgfi 2345a0d3b6eaSmrg 2346a0d3b6eaSmrgfi 2347a0d3b6eaSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2348a0d3b6eaSmrg 2349a0d3b6eaSmrg# We need awk for the "check" target. The system "awk" is bad on 2350a0d3b6eaSmrg# some platforms. 2351a0d3b6eaSmrg# Always define AMTAR for backward compatibility. 2352a0d3b6eaSmrg 2353a0d3b6eaSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2354a0d3b6eaSmrg 2355a0d3b6eaSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2356a0d3b6eaSmrg 2357a0d3b6eaSmrg 2358a0d3b6eaSmrg 2359a0d3b6eaSmrg 2360a0d3b6eaSmrg 236162df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 236262df5ad0Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2363a0d3b6eaSmrg # Check whether --enable-maintainer-mode was given. 2364a0d3b6eaSmrgif test "${enable_maintainer_mode+set}" = set; then 2365a0d3b6eaSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2366a0d3b6eaSmrgelse 2367a0d3b6eaSmrg USE_MAINTAINER_MODE=no 2368a0d3b6eaSmrgfi 2369a0d3b6eaSmrg 237062df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 237162df5ad0Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 2372a0d3b6eaSmrg if test $USE_MAINTAINER_MODE = yes; then 2373a0d3b6eaSmrg MAINTAINER_MODE_TRUE= 2374a0d3b6eaSmrg MAINTAINER_MODE_FALSE='#' 2375a0d3b6eaSmrgelse 2376a0d3b6eaSmrg MAINTAINER_MODE_TRUE='#' 2377a0d3b6eaSmrg MAINTAINER_MODE_FALSE= 2378a0d3b6eaSmrgfi 2379a0d3b6eaSmrg 2380a0d3b6eaSmrg MAINT=$MAINTAINER_MODE_TRUE 2381a0d3b6eaSmrg 2382a0d3b6eaSmrg 2383a0d3b6eaSmrg 238462df5ad0Smrg# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG 238562df5ad0Smrg 238662df5ad0Smrg 238762df5ad0Smrg XORG_MACROS_needed_version=1.2 238862df5ad0Smrg XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'` 238962df5ad0Smrg XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'` 239062df5ad0Smrg { $as_echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5 239162df5ad0Smrg$as_echo_n "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... " >&6; } 239262df5ad0Smrg XORG_MACROS_version=1.2.1 239362df5ad0Smrg XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'` 239462df5ad0Smrg XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'` 239562df5ad0Smrg if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then 239662df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5 239762df5ad0Smrg$as_echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;} 239862df5ad0Smrg { (exit 1); exit 1; }; } 239962df5ad0Smrg fi 240062df5ad0Smrg if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then 240162df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5 240262df5ad0Smrg$as_echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;} 240362df5ad0Smrg { (exit 1); exit 1; }; } 240462df5ad0Smrg fi 240562df5ad0Smrg { $as_echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5 240662df5ad0Smrg$as_echo "yes, $XORG_MACROS_version" >&6; } 240762df5ad0Smrg 240862df5ad0Smrg 2409a0d3b6eaSmrgac_config_headers="$ac_config_headers config.h" 2410a0d3b6eaSmrg 2411a0d3b6eaSmrg 2412a0d3b6eaSmrgac_ext=c 2413a0d3b6eaSmrgac_cpp='$CPP $CPPFLAGS' 2414a0d3b6eaSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2415a0d3b6eaSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2416a0d3b6eaSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2417a0d3b6eaSmrgif test -n "$ac_tool_prefix"; then 2418a0d3b6eaSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2419a0d3b6eaSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 242062df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 242162df5ad0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2422a0d3b6eaSmrgif test "${ac_cv_prog_CC+set}" = set; then 242362df5ad0Smrg $as_echo_n "(cached) " >&6 2424a0d3b6eaSmrgelse 2425a0d3b6eaSmrg if test -n "$CC"; then 2426a0d3b6eaSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2427a0d3b6eaSmrgelse 2428a0d3b6eaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2429a0d3b6eaSmrgfor as_dir in $PATH 2430a0d3b6eaSmrgdo 2431a0d3b6eaSmrg IFS=$as_save_IFS 2432a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 2433a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2434a0d3b6eaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2435a0d3b6eaSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 243662df5ad0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2437a0d3b6eaSmrg break 2 2438a0d3b6eaSmrg fi 2439a0d3b6eaSmrgdone 2440a0d3b6eaSmrgdone 2441a0d3b6eaSmrgIFS=$as_save_IFS 2442a0d3b6eaSmrg 2443a0d3b6eaSmrgfi 2444a0d3b6eaSmrgfi 2445a0d3b6eaSmrgCC=$ac_cv_prog_CC 2446a0d3b6eaSmrgif test -n "$CC"; then 244762df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 244862df5ad0Smrg$as_echo "$CC" >&6; } 2449a0d3b6eaSmrgelse 245062df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 245162df5ad0Smrg$as_echo "no" >&6; } 2452a0d3b6eaSmrgfi 2453a0d3b6eaSmrg 2454a0d3b6eaSmrg 2455a0d3b6eaSmrgfi 2456a0d3b6eaSmrgif test -z "$ac_cv_prog_CC"; then 2457a0d3b6eaSmrg ac_ct_CC=$CC 2458a0d3b6eaSmrg # Extract the first word of "gcc", so it can be a program name with args. 2459a0d3b6eaSmrgset dummy gcc; ac_word=$2 246062df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 246162df5ad0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2462a0d3b6eaSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 246362df5ad0Smrg $as_echo_n "(cached) " >&6 2464a0d3b6eaSmrgelse 2465a0d3b6eaSmrg if test -n "$ac_ct_CC"; then 2466a0d3b6eaSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2467a0d3b6eaSmrgelse 2468a0d3b6eaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2469a0d3b6eaSmrgfor as_dir in $PATH 2470a0d3b6eaSmrgdo 2471a0d3b6eaSmrg IFS=$as_save_IFS 2472a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 2473a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2474a0d3b6eaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2475a0d3b6eaSmrg ac_cv_prog_ac_ct_CC="gcc" 247662df5ad0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2477a0d3b6eaSmrg break 2 2478a0d3b6eaSmrg fi 2479a0d3b6eaSmrgdone 2480a0d3b6eaSmrgdone 2481a0d3b6eaSmrgIFS=$as_save_IFS 2482a0d3b6eaSmrg 2483a0d3b6eaSmrgfi 2484a0d3b6eaSmrgfi 2485a0d3b6eaSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2486a0d3b6eaSmrgif test -n "$ac_ct_CC"; then 248762df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 248862df5ad0Smrg$as_echo "$ac_ct_CC" >&6; } 2489a0d3b6eaSmrgelse 249062df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 249162df5ad0Smrg$as_echo "no" >&6; } 2492a0d3b6eaSmrgfi 2493a0d3b6eaSmrg 2494a0d3b6eaSmrg if test "x$ac_ct_CC" = x; then 2495a0d3b6eaSmrg CC="" 2496a0d3b6eaSmrg else 2497a0d3b6eaSmrg case $cross_compiling:$ac_tool_warned in 2498a0d3b6eaSmrgyes:) 249962df5ad0Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 250062df5ad0Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2501a0d3b6eaSmrgac_tool_warned=yes ;; 2502a0d3b6eaSmrgesac 2503a0d3b6eaSmrg CC=$ac_ct_CC 2504a0d3b6eaSmrg fi 2505a0d3b6eaSmrgelse 2506a0d3b6eaSmrg CC="$ac_cv_prog_CC" 2507a0d3b6eaSmrgfi 2508a0d3b6eaSmrg 2509a0d3b6eaSmrgif test -z "$CC"; then 2510a0d3b6eaSmrg if test -n "$ac_tool_prefix"; then 2511a0d3b6eaSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2512a0d3b6eaSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 251362df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 251462df5ad0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2515a0d3b6eaSmrgif test "${ac_cv_prog_CC+set}" = set; then 251662df5ad0Smrg $as_echo_n "(cached) " >&6 2517a0d3b6eaSmrgelse 2518a0d3b6eaSmrg if test -n "$CC"; then 2519a0d3b6eaSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2520a0d3b6eaSmrgelse 2521a0d3b6eaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2522a0d3b6eaSmrgfor as_dir in $PATH 2523a0d3b6eaSmrgdo 2524a0d3b6eaSmrg IFS=$as_save_IFS 2525a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 2526a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2527a0d3b6eaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2528a0d3b6eaSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 252962df5ad0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2530a0d3b6eaSmrg break 2 2531a0d3b6eaSmrg fi 2532a0d3b6eaSmrgdone 2533a0d3b6eaSmrgdone 2534a0d3b6eaSmrgIFS=$as_save_IFS 2535a0d3b6eaSmrg 2536a0d3b6eaSmrgfi 2537a0d3b6eaSmrgfi 2538a0d3b6eaSmrgCC=$ac_cv_prog_CC 2539a0d3b6eaSmrgif test -n "$CC"; then 254062df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 254162df5ad0Smrg$as_echo "$CC" >&6; } 2542a0d3b6eaSmrgelse 254362df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 254462df5ad0Smrg$as_echo "no" >&6; } 2545a0d3b6eaSmrgfi 2546a0d3b6eaSmrg 2547a0d3b6eaSmrg 2548a0d3b6eaSmrg fi 2549a0d3b6eaSmrgfi 2550a0d3b6eaSmrgif test -z "$CC"; then 2551a0d3b6eaSmrg # Extract the first word of "cc", so it can be a program name with args. 2552a0d3b6eaSmrgset dummy cc; ac_word=$2 255362df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 255462df5ad0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2555a0d3b6eaSmrgif test "${ac_cv_prog_CC+set}" = set; then 255662df5ad0Smrg $as_echo_n "(cached) " >&6 2557a0d3b6eaSmrgelse 2558a0d3b6eaSmrg if test -n "$CC"; then 2559a0d3b6eaSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2560a0d3b6eaSmrgelse 2561a0d3b6eaSmrg ac_prog_rejected=no 2562a0d3b6eaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2563a0d3b6eaSmrgfor as_dir in $PATH 2564a0d3b6eaSmrgdo 2565a0d3b6eaSmrg IFS=$as_save_IFS 2566a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 2567a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2568a0d3b6eaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2569a0d3b6eaSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2570a0d3b6eaSmrg ac_prog_rejected=yes 2571a0d3b6eaSmrg continue 2572a0d3b6eaSmrg fi 2573a0d3b6eaSmrg ac_cv_prog_CC="cc" 257462df5ad0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2575a0d3b6eaSmrg break 2 2576a0d3b6eaSmrg fi 2577a0d3b6eaSmrgdone 2578a0d3b6eaSmrgdone 2579a0d3b6eaSmrgIFS=$as_save_IFS 2580a0d3b6eaSmrg 2581a0d3b6eaSmrgif test $ac_prog_rejected = yes; then 2582a0d3b6eaSmrg # We found a bogon in the path, so make sure we never use it. 2583a0d3b6eaSmrg set dummy $ac_cv_prog_CC 2584a0d3b6eaSmrg shift 2585a0d3b6eaSmrg if test $# != 0; then 2586a0d3b6eaSmrg # We chose a different compiler from the bogus one. 2587a0d3b6eaSmrg # However, it has the same basename, so the bogon will be chosen 2588a0d3b6eaSmrg # first if we set CC to just the basename; use the full file name. 2589a0d3b6eaSmrg shift 2590a0d3b6eaSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2591a0d3b6eaSmrg fi 2592a0d3b6eaSmrgfi 2593a0d3b6eaSmrgfi 2594a0d3b6eaSmrgfi 2595a0d3b6eaSmrgCC=$ac_cv_prog_CC 2596a0d3b6eaSmrgif test -n "$CC"; then 259762df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 259862df5ad0Smrg$as_echo "$CC" >&6; } 2599a0d3b6eaSmrgelse 260062df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 260162df5ad0Smrg$as_echo "no" >&6; } 2602a0d3b6eaSmrgfi 2603a0d3b6eaSmrg 2604a0d3b6eaSmrg 2605a0d3b6eaSmrgfi 2606a0d3b6eaSmrgif test -z "$CC"; then 2607a0d3b6eaSmrg if test -n "$ac_tool_prefix"; then 2608a0d3b6eaSmrg for ac_prog in cl.exe 2609a0d3b6eaSmrg do 2610a0d3b6eaSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2611a0d3b6eaSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 261262df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 261362df5ad0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2614a0d3b6eaSmrgif test "${ac_cv_prog_CC+set}" = set; then 261562df5ad0Smrg $as_echo_n "(cached) " >&6 2616a0d3b6eaSmrgelse 2617a0d3b6eaSmrg if test -n "$CC"; then 2618a0d3b6eaSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2619a0d3b6eaSmrgelse 2620a0d3b6eaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2621a0d3b6eaSmrgfor as_dir in $PATH 2622a0d3b6eaSmrgdo 2623a0d3b6eaSmrg IFS=$as_save_IFS 2624a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 2625a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2626a0d3b6eaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2627a0d3b6eaSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 262862df5ad0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2629a0d3b6eaSmrg break 2 2630a0d3b6eaSmrg fi 2631a0d3b6eaSmrgdone 2632a0d3b6eaSmrgdone 2633a0d3b6eaSmrgIFS=$as_save_IFS 2634a0d3b6eaSmrg 2635a0d3b6eaSmrgfi 2636a0d3b6eaSmrgfi 2637a0d3b6eaSmrgCC=$ac_cv_prog_CC 2638a0d3b6eaSmrgif test -n "$CC"; then 263962df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 264062df5ad0Smrg$as_echo "$CC" >&6; } 2641a0d3b6eaSmrgelse 264262df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 264362df5ad0Smrg$as_echo "no" >&6; } 2644a0d3b6eaSmrgfi 2645a0d3b6eaSmrg 2646a0d3b6eaSmrg 2647a0d3b6eaSmrg test -n "$CC" && break 2648a0d3b6eaSmrg done 2649a0d3b6eaSmrgfi 2650a0d3b6eaSmrgif test -z "$CC"; then 2651a0d3b6eaSmrg ac_ct_CC=$CC 2652a0d3b6eaSmrg for ac_prog in cl.exe 2653a0d3b6eaSmrgdo 2654a0d3b6eaSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2655a0d3b6eaSmrgset dummy $ac_prog; ac_word=$2 265662df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 265762df5ad0Smrg$as_echo_n "checking for $ac_word... " >&6; } 2658a0d3b6eaSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 265962df5ad0Smrg $as_echo_n "(cached) " >&6 2660a0d3b6eaSmrgelse 2661a0d3b6eaSmrg if test -n "$ac_ct_CC"; then 2662a0d3b6eaSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2663a0d3b6eaSmrgelse 2664a0d3b6eaSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2665a0d3b6eaSmrgfor as_dir in $PATH 2666a0d3b6eaSmrgdo 2667a0d3b6eaSmrg IFS=$as_save_IFS 2668a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 2669a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2670a0d3b6eaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2671a0d3b6eaSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 267262df5ad0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2673a0d3b6eaSmrg break 2 2674a0d3b6eaSmrg fi 2675a0d3b6eaSmrgdone 2676a0d3b6eaSmrgdone 2677a0d3b6eaSmrgIFS=$as_save_IFS 2678a0d3b6eaSmrg 2679a0d3b6eaSmrgfi 2680a0d3b6eaSmrgfi 2681a0d3b6eaSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2682a0d3b6eaSmrgif test -n "$ac_ct_CC"; then 268362df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 268462df5ad0Smrg$as_echo "$ac_ct_CC" >&6; } 2685a0d3b6eaSmrgelse 268662df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 268762df5ad0Smrg$as_echo "no" >&6; } 2688a0d3b6eaSmrgfi 2689a0d3b6eaSmrg 2690a0d3b6eaSmrg 2691a0d3b6eaSmrg test -n "$ac_ct_CC" && break 2692a0d3b6eaSmrgdone 2693a0d3b6eaSmrg 2694a0d3b6eaSmrg if test "x$ac_ct_CC" = x; then 2695a0d3b6eaSmrg CC="" 2696a0d3b6eaSmrg else 2697a0d3b6eaSmrg case $cross_compiling:$ac_tool_warned in 2698a0d3b6eaSmrgyes:) 269962df5ad0Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 270062df5ad0Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2701a0d3b6eaSmrgac_tool_warned=yes ;; 2702a0d3b6eaSmrgesac 2703a0d3b6eaSmrg CC=$ac_ct_CC 2704a0d3b6eaSmrg fi 2705a0d3b6eaSmrgfi 2706a0d3b6eaSmrg 2707a0d3b6eaSmrgfi 2708a0d3b6eaSmrg 2709a0d3b6eaSmrg 271062df5ad0Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 271162df5ad0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 271262df5ad0Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2713a0d3b6eaSmrgSee \`config.log' for more details." >&5 271462df5ad0Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2715a0d3b6eaSmrgSee \`config.log' for more details." >&2;} 271662df5ad0Smrg { (exit 1); exit 1; }; }; } 2717a0d3b6eaSmrg 2718a0d3b6eaSmrg# Provide some information about the compiler. 271962df5ad0Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 272062df5ad0Smrgset X $ac_compile 272162df5ad0Smrgac_compiler=$2 2722a0d3b6eaSmrg{ (ac_try="$ac_compiler --version >&5" 2723a0d3b6eaSmrgcase "(($ac_try" in 2724a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2725a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 2726a0d3b6eaSmrgesac 272762df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 272862df5ad0Smrg$as_echo "$ac_try_echo") >&5 2729a0d3b6eaSmrg (eval "$ac_compiler --version >&5") 2>&5 2730a0d3b6eaSmrg ac_status=$? 273162df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2732a0d3b6eaSmrg (exit $ac_status); } 2733a0d3b6eaSmrg{ (ac_try="$ac_compiler -v >&5" 2734a0d3b6eaSmrgcase "(($ac_try" in 2735a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2736a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 2737a0d3b6eaSmrgesac 273862df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 273962df5ad0Smrg$as_echo "$ac_try_echo") >&5 2740a0d3b6eaSmrg (eval "$ac_compiler -v >&5") 2>&5 2741a0d3b6eaSmrg ac_status=$? 274262df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2743a0d3b6eaSmrg (exit $ac_status); } 2744a0d3b6eaSmrg{ (ac_try="$ac_compiler -V >&5" 2745a0d3b6eaSmrgcase "(($ac_try" in 2746a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2747a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 2748a0d3b6eaSmrgesac 274962df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 275062df5ad0Smrg$as_echo "$ac_try_echo") >&5 2751a0d3b6eaSmrg (eval "$ac_compiler -V >&5") 2>&5 2752a0d3b6eaSmrg ac_status=$? 275362df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2754a0d3b6eaSmrg (exit $ac_status); } 2755a0d3b6eaSmrg 2756a0d3b6eaSmrgcat >conftest.$ac_ext <<_ACEOF 2757a0d3b6eaSmrg/* confdefs.h. */ 2758a0d3b6eaSmrg_ACEOF 2759a0d3b6eaSmrgcat confdefs.h >>conftest.$ac_ext 2760a0d3b6eaSmrgcat >>conftest.$ac_ext <<_ACEOF 2761a0d3b6eaSmrg/* end confdefs.h. */ 2762a0d3b6eaSmrg 2763a0d3b6eaSmrgint 2764a0d3b6eaSmrgmain () 2765a0d3b6eaSmrg{ 2766a0d3b6eaSmrg 2767a0d3b6eaSmrg ; 2768a0d3b6eaSmrg return 0; 2769a0d3b6eaSmrg} 2770a0d3b6eaSmrg_ACEOF 2771a0d3b6eaSmrgac_clean_files_save=$ac_clean_files 277262df5ad0Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2773a0d3b6eaSmrg# Try to create an executable without -o first, disregard a.out. 2774a0d3b6eaSmrg# It will help us diagnose broken compilers, and finding out an intuition 2775a0d3b6eaSmrg# of exeext. 277662df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 277762df5ad0Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 277862df5ad0Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 277962df5ad0Smrg 278062df5ad0Smrg# The possible output files: 278162df5ad0Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 278262df5ad0Smrg 2783a0d3b6eaSmrgac_rmfiles= 2784a0d3b6eaSmrgfor ac_file in $ac_files 2785a0d3b6eaSmrgdo 2786a0d3b6eaSmrg case $ac_file in 278762df5ad0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2788a0d3b6eaSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2789a0d3b6eaSmrg esac 2790a0d3b6eaSmrgdone 2791a0d3b6eaSmrgrm -f $ac_rmfiles 2792a0d3b6eaSmrg 2793a0d3b6eaSmrgif { (ac_try="$ac_link_default" 2794a0d3b6eaSmrgcase "(($ac_try" in 2795a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2796a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 2797a0d3b6eaSmrgesac 279862df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 279962df5ad0Smrg$as_echo "$ac_try_echo") >&5 2800a0d3b6eaSmrg (eval "$ac_link_default") 2>&5 2801a0d3b6eaSmrg ac_status=$? 280262df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2803a0d3b6eaSmrg (exit $ac_status); }; then 2804a0d3b6eaSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2805a0d3b6eaSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2806a0d3b6eaSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 2807a0d3b6eaSmrg# so that the user can short-circuit this test for compilers unknown to 2808a0d3b6eaSmrg# Autoconf. 2809a0d3b6eaSmrgfor ac_file in $ac_files '' 2810a0d3b6eaSmrgdo 2811a0d3b6eaSmrg test -f "$ac_file" || continue 2812a0d3b6eaSmrg case $ac_file in 281362df5ad0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2814a0d3b6eaSmrg ;; 2815a0d3b6eaSmrg [ab].out ) 2816a0d3b6eaSmrg # We found the default executable, but exeext='' is most 2817a0d3b6eaSmrg # certainly right. 2818a0d3b6eaSmrg break;; 2819a0d3b6eaSmrg *.* ) 2820a0d3b6eaSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2821a0d3b6eaSmrg then :; else 2822a0d3b6eaSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2823a0d3b6eaSmrg fi 2824a0d3b6eaSmrg # We set ac_cv_exeext here because the later test for it is not 2825a0d3b6eaSmrg # safe: cross compilers may not add the suffix if given an `-o' 2826a0d3b6eaSmrg # argument, so we may need to know it at that point already. 2827a0d3b6eaSmrg # Even if this section looks crufty: it has the advantage of 2828a0d3b6eaSmrg # actually working. 2829a0d3b6eaSmrg break;; 2830a0d3b6eaSmrg * ) 2831a0d3b6eaSmrg break;; 2832a0d3b6eaSmrg esac 2833a0d3b6eaSmrgdone 2834a0d3b6eaSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 2835a0d3b6eaSmrg 2836a0d3b6eaSmrgelse 2837a0d3b6eaSmrg ac_file='' 2838a0d3b6eaSmrgfi 2839a0d3b6eaSmrg 284062df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 284162df5ad0Smrg$as_echo "$ac_file" >&6; } 2842a0d3b6eaSmrgif test -z "$ac_file"; then 284362df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 2844a0d3b6eaSmrgsed 's/^/| /' conftest.$ac_ext >&5 2845a0d3b6eaSmrg 284662df5ad0Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 284762df5ad0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 284862df5ad0Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2849a0d3b6eaSmrgSee \`config.log' for more details." >&5 285062df5ad0Smrg$as_echo "$as_me: error: C compiler cannot create executables 2851a0d3b6eaSmrgSee \`config.log' for more details." >&2;} 285262df5ad0Smrg { (exit 77); exit 77; }; }; } 2853a0d3b6eaSmrgfi 2854a0d3b6eaSmrg 2855a0d3b6eaSmrgac_exeext=$ac_cv_exeext 2856a0d3b6eaSmrg 2857a0d3b6eaSmrg# Check that the compiler produces executables we can run. If not, either 2858a0d3b6eaSmrg# the compiler is broken, or we cross compile. 285962df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 286062df5ad0Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 2861a0d3b6eaSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2862a0d3b6eaSmrg# If not cross compiling, check that we can run a simple program. 2863a0d3b6eaSmrgif test "$cross_compiling" != yes; then 2864a0d3b6eaSmrg if { ac_try='./$ac_file' 2865a0d3b6eaSmrg { (case "(($ac_try" in 2866a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2867a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 2868a0d3b6eaSmrgesac 286962df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 287062df5ad0Smrg$as_echo "$ac_try_echo") >&5 2871a0d3b6eaSmrg (eval "$ac_try") 2>&5 2872a0d3b6eaSmrg ac_status=$? 287362df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2874a0d3b6eaSmrg (exit $ac_status); }; }; then 2875a0d3b6eaSmrg cross_compiling=no 2876a0d3b6eaSmrg else 2877a0d3b6eaSmrg if test "$cross_compiling" = maybe; then 2878a0d3b6eaSmrg cross_compiling=yes 2879a0d3b6eaSmrg else 288062df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 288162df5ad0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 288262df5ad0Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2883a0d3b6eaSmrgIf you meant to cross compile, use \`--host'. 2884a0d3b6eaSmrgSee \`config.log' for more details." >&5 288562df5ad0Smrg$as_echo "$as_me: error: cannot run C compiled programs. 2886a0d3b6eaSmrgIf you meant to cross compile, use \`--host'. 2887a0d3b6eaSmrgSee \`config.log' for more details." >&2;} 288862df5ad0Smrg { (exit 1); exit 1; }; }; } 2889a0d3b6eaSmrg fi 2890a0d3b6eaSmrg fi 2891a0d3b6eaSmrgfi 289262df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 289362df5ad0Smrg$as_echo "yes" >&6; } 2894a0d3b6eaSmrg 289562df5ad0Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2896a0d3b6eaSmrgac_clean_files=$ac_clean_files_save 2897a0d3b6eaSmrg# Check that the compiler produces executables we can run. If not, either 2898a0d3b6eaSmrg# the compiler is broken, or we cross compile. 289962df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 290062df5ad0Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 290162df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 290262df5ad0Smrg$as_echo "$cross_compiling" >&6; } 2903a0d3b6eaSmrg 290462df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 290562df5ad0Smrg$as_echo_n "checking for suffix of executables... " >&6; } 2906a0d3b6eaSmrgif { (ac_try="$ac_link" 2907a0d3b6eaSmrgcase "(($ac_try" in 2908a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2909a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 2910a0d3b6eaSmrgesac 291162df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 291262df5ad0Smrg$as_echo "$ac_try_echo") >&5 2913a0d3b6eaSmrg (eval "$ac_link") 2>&5 2914a0d3b6eaSmrg ac_status=$? 291562df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2916a0d3b6eaSmrg (exit $ac_status); }; then 2917a0d3b6eaSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 2918a0d3b6eaSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2919a0d3b6eaSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 2920a0d3b6eaSmrg# `rm'. 2921a0d3b6eaSmrgfor ac_file in conftest.exe conftest conftest.*; do 2922a0d3b6eaSmrg test -f "$ac_file" || continue 2923a0d3b6eaSmrg case $ac_file in 292462df5ad0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2925a0d3b6eaSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2926a0d3b6eaSmrg break;; 2927a0d3b6eaSmrg * ) break;; 2928a0d3b6eaSmrg esac 2929a0d3b6eaSmrgdone 2930a0d3b6eaSmrgelse 293162df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 293262df5ad0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 293362df5ad0Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2934a0d3b6eaSmrgSee \`config.log' for more details." >&5 293562df5ad0Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2936a0d3b6eaSmrgSee \`config.log' for more details." >&2;} 293762df5ad0Smrg { (exit 1); exit 1; }; }; } 2938a0d3b6eaSmrgfi 2939a0d3b6eaSmrg 2940a0d3b6eaSmrgrm -f conftest$ac_cv_exeext 294162df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 294262df5ad0Smrg$as_echo "$ac_cv_exeext" >&6; } 2943a0d3b6eaSmrg 2944a0d3b6eaSmrgrm -f conftest.$ac_ext 2945a0d3b6eaSmrgEXEEXT=$ac_cv_exeext 2946a0d3b6eaSmrgac_exeext=$EXEEXT 294762df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 294862df5ad0Smrg$as_echo_n "checking for suffix of object files... " >&6; } 2949a0d3b6eaSmrgif test "${ac_cv_objext+set}" = set; then 295062df5ad0Smrg $as_echo_n "(cached) " >&6 2951a0d3b6eaSmrgelse 2952a0d3b6eaSmrg cat >conftest.$ac_ext <<_ACEOF 2953a0d3b6eaSmrg/* confdefs.h. */ 2954a0d3b6eaSmrg_ACEOF 2955a0d3b6eaSmrgcat confdefs.h >>conftest.$ac_ext 2956a0d3b6eaSmrgcat >>conftest.$ac_ext <<_ACEOF 2957a0d3b6eaSmrg/* end confdefs.h. */ 2958a0d3b6eaSmrg 2959a0d3b6eaSmrgint 2960a0d3b6eaSmrgmain () 2961a0d3b6eaSmrg{ 2962a0d3b6eaSmrg 2963a0d3b6eaSmrg ; 2964a0d3b6eaSmrg return 0; 2965a0d3b6eaSmrg} 2966a0d3b6eaSmrg_ACEOF 2967a0d3b6eaSmrgrm -f conftest.o conftest.obj 2968a0d3b6eaSmrgif { (ac_try="$ac_compile" 2969a0d3b6eaSmrgcase "(($ac_try" in 2970a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2971a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 2972a0d3b6eaSmrgesac 297362df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 297462df5ad0Smrg$as_echo "$ac_try_echo") >&5 2975a0d3b6eaSmrg (eval "$ac_compile") 2>&5 2976a0d3b6eaSmrg ac_status=$? 297762df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2978a0d3b6eaSmrg (exit $ac_status); }; then 2979a0d3b6eaSmrg for ac_file in conftest.o conftest.obj conftest.*; do 2980a0d3b6eaSmrg test -f "$ac_file" || continue; 2981a0d3b6eaSmrg case $ac_file in 298262df5ad0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2983a0d3b6eaSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2984a0d3b6eaSmrg break;; 2985a0d3b6eaSmrg esac 2986a0d3b6eaSmrgdone 2987a0d3b6eaSmrgelse 298862df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 2989a0d3b6eaSmrgsed 's/^/| /' conftest.$ac_ext >&5 2990a0d3b6eaSmrg 299162df5ad0Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 299262df5ad0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 299362df5ad0Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2994a0d3b6eaSmrgSee \`config.log' for more details." >&5 299562df5ad0Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2996a0d3b6eaSmrgSee \`config.log' for more details." >&2;} 299762df5ad0Smrg { (exit 1); exit 1; }; }; } 2998a0d3b6eaSmrgfi 2999a0d3b6eaSmrg 3000a0d3b6eaSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 3001a0d3b6eaSmrgfi 300262df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 300362df5ad0Smrg$as_echo "$ac_cv_objext" >&6; } 3004a0d3b6eaSmrgOBJEXT=$ac_cv_objext 3005a0d3b6eaSmrgac_objext=$OBJEXT 300662df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 300762df5ad0Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3008a0d3b6eaSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 300962df5ad0Smrg $as_echo_n "(cached) " >&6 3010a0d3b6eaSmrgelse 3011a0d3b6eaSmrg cat >conftest.$ac_ext <<_ACEOF 3012a0d3b6eaSmrg/* confdefs.h. */ 3013a0d3b6eaSmrg_ACEOF 3014a0d3b6eaSmrgcat confdefs.h >>conftest.$ac_ext 3015a0d3b6eaSmrgcat >>conftest.$ac_ext <<_ACEOF 3016a0d3b6eaSmrg/* end confdefs.h. */ 3017a0d3b6eaSmrg 3018a0d3b6eaSmrgint 3019a0d3b6eaSmrgmain () 3020a0d3b6eaSmrg{ 3021a0d3b6eaSmrg#ifndef __GNUC__ 3022a0d3b6eaSmrg choke me 3023a0d3b6eaSmrg#endif 3024a0d3b6eaSmrg 3025a0d3b6eaSmrg ; 3026a0d3b6eaSmrg return 0; 3027a0d3b6eaSmrg} 3028a0d3b6eaSmrg_ACEOF 3029a0d3b6eaSmrgrm -f conftest.$ac_objext 3030a0d3b6eaSmrgif { (ac_try="$ac_compile" 3031a0d3b6eaSmrgcase "(($ac_try" in 3032a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3033a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 3034a0d3b6eaSmrgesac 303562df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 303662df5ad0Smrg$as_echo "$ac_try_echo") >&5 3037a0d3b6eaSmrg (eval "$ac_compile") 2>conftest.er1 3038a0d3b6eaSmrg ac_status=$? 3039a0d3b6eaSmrg grep -v '^ *+' conftest.er1 >conftest.err 3040a0d3b6eaSmrg rm -f conftest.er1 3041a0d3b6eaSmrg cat conftest.err >&5 304262df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3043a0d3b6eaSmrg (exit $ac_status); } && { 3044a0d3b6eaSmrg test -z "$ac_c_werror_flag" || 3045a0d3b6eaSmrg test ! -s conftest.err 3046a0d3b6eaSmrg } && test -s conftest.$ac_objext; then 3047a0d3b6eaSmrg ac_compiler_gnu=yes 3048a0d3b6eaSmrgelse 304962df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 3050a0d3b6eaSmrgsed 's/^/| /' conftest.$ac_ext >&5 3051a0d3b6eaSmrg 3052a0d3b6eaSmrg ac_compiler_gnu=no 3053a0d3b6eaSmrgfi 3054a0d3b6eaSmrg 3055a0d3b6eaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3056a0d3b6eaSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 3057a0d3b6eaSmrg 3058a0d3b6eaSmrgfi 305962df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 306062df5ad0Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 306162df5ad0Smrgif test $ac_compiler_gnu = yes; then 306262df5ad0Smrg GCC=yes 306362df5ad0Smrgelse 306462df5ad0Smrg GCC= 306562df5ad0Smrgfi 3066a0d3b6eaSmrgac_test_CFLAGS=${CFLAGS+set} 3067a0d3b6eaSmrgac_save_CFLAGS=$CFLAGS 306862df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 306962df5ad0Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 3070a0d3b6eaSmrgif test "${ac_cv_prog_cc_g+set}" = set; then 307162df5ad0Smrg $as_echo_n "(cached) " >&6 3072a0d3b6eaSmrgelse 3073a0d3b6eaSmrg ac_save_c_werror_flag=$ac_c_werror_flag 3074a0d3b6eaSmrg ac_c_werror_flag=yes 3075a0d3b6eaSmrg ac_cv_prog_cc_g=no 3076a0d3b6eaSmrg CFLAGS="-g" 3077a0d3b6eaSmrg cat >conftest.$ac_ext <<_ACEOF 3078a0d3b6eaSmrg/* confdefs.h. */ 3079a0d3b6eaSmrg_ACEOF 3080a0d3b6eaSmrgcat confdefs.h >>conftest.$ac_ext 3081a0d3b6eaSmrgcat >>conftest.$ac_ext <<_ACEOF 3082a0d3b6eaSmrg/* end confdefs.h. */ 3083a0d3b6eaSmrg 3084a0d3b6eaSmrgint 3085a0d3b6eaSmrgmain () 3086a0d3b6eaSmrg{ 3087a0d3b6eaSmrg 3088a0d3b6eaSmrg ; 3089a0d3b6eaSmrg return 0; 3090a0d3b6eaSmrg} 3091a0d3b6eaSmrg_ACEOF 3092a0d3b6eaSmrgrm -f conftest.$ac_objext 3093a0d3b6eaSmrgif { (ac_try="$ac_compile" 3094a0d3b6eaSmrgcase "(($ac_try" in 3095a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3096a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 3097a0d3b6eaSmrgesac 309862df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 309962df5ad0Smrg$as_echo "$ac_try_echo") >&5 3100a0d3b6eaSmrg (eval "$ac_compile") 2>conftest.er1 3101a0d3b6eaSmrg ac_status=$? 3102a0d3b6eaSmrg grep -v '^ *+' conftest.er1 >conftest.err 3103a0d3b6eaSmrg rm -f conftest.er1 3104a0d3b6eaSmrg cat conftest.err >&5 310562df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3106a0d3b6eaSmrg (exit $ac_status); } && { 3107a0d3b6eaSmrg test -z "$ac_c_werror_flag" || 3108a0d3b6eaSmrg test ! -s conftest.err 3109a0d3b6eaSmrg } && test -s conftest.$ac_objext; then 3110a0d3b6eaSmrg ac_cv_prog_cc_g=yes 3111a0d3b6eaSmrgelse 311262df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 3113a0d3b6eaSmrgsed 's/^/| /' conftest.$ac_ext >&5 3114a0d3b6eaSmrg 3115a0d3b6eaSmrg CFLAGS="" 3116a0d3b6eaSmrg cat >conftest.$ac_ext <<_ACEOF 3117a0d3b6eaSmrg/* confdefs.h. */ 3118a0d3b6eaSmrg_ACEOF 3119a0d3b6eaSmrgcat confdefs.h >>conftest.$ac_ext 3120a0d3b6eaSmrgcat >>conftest.$ac_ext <<_ACEOF 3121a0d3b6eaSmrg/* end confdefs.h. */ 3122a0d3b6eaSmrg 3123a0d3b6eaSmrgint 3124a0d3b6eaSmrgmain () 3125a0d3b6eaSmrg{ 3126a0d3b6eaSmrg 3127a0d3b6eaSmrg ; 3128a0d3b6eaSmrg return 0; 3129a0d3b6eaSmrg} 3130a0d3b6eaSmrg_ACEOF 3131a0d3b6eaSmrgrm -f conftest.$ac_objext 3132a0d3b6eaSmrgif { (ac_try="$ac_compile" 3133a0d3b6eaSmrgcase "(($ac_try" in 3134a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3135a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 3136a0d3b6eaSmrgesac 313762df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 313862df5ad0Smrg$as_echo "$ac_try_echo") >&5 3139a0d3b6eaSmrg (eval "$ac_compile") 2>conftest.er1 3140a0d3b6eaSmrg ac_status=$? 3141a0d3b6eaSmrg grep -v '^ *+' conftest.er1 >conftest.err 3142a0d3b6eaSmrg rm -f conftest.er1 3143a0d3b6eaSmrg cat conftest.err >&5 314462df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3145a0d3b6eaSmrg (exit $ac_status); } && { 3146a0d3b6eaSmrg test -z "$ac_c_werror_flag" || 3147a0d3b6eaSmrg test ! -s conftest.err 3148a0d3b6eaSmrg } && test -s conftest.$ac_objext; then 3149a0d3b6eaSmrg : 3150a0d3b6eaSmrgelse 315162df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 3152a0d3b6eaSmrgsed 's/^/| /' conftest.$ac_ext >&5 3153a0d3b6eaSmrg 3154a0d3b6eaSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3155a0d3b6eaSmrg CFLAGS="-g" 3156a0d3b6eaSmrg cat >conftest.$ac_ext <<_ACEOF 3157a0d3b6eaSmrg/* confdefs.h. */ 3158a0d3b6eaSmrg_ACEOF 3159a0d3b6eaSmrgcat confdefs.h >>conftest.$ac_ext 3160a0d3b6eaSmrgcat >>conftest.$ac_ext <<_ACEOF 3161a0d3b6eaSmrg/* end confdefs.h. */ 3162a0d3b6eaSmrg 3163a0d3b6eaSmrgint 3164a0d3b6eaSmrgmain () 3165a0d3b6eaSmrg{ 3166a0d3b6eaSmrg 3167a0d3b6eaSmrg ; 3168a0d3b6eaSmrg return 0; 3169a0d3b6eaSmrg} 3170a0d3b6eaSmrg_ACEOF 3171a0d3b6eaSmrgrm -f conftest.$ac_objext 3172a0d3b6eaSmrgif { (ac_try="$ac_compile" 3173a0d3b6eaSmrgcase "(($ac_try" in 3174a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3175a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 3176a0d3b6eaSmrgesac 317762df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 317862df5ad0Smrg$as_echo "$ac_try_echo") >&5 3179a0d3b6eaSmrg (eval "$ac_compile") 2>conftest.er1 3180a0d3b6eaSmrg ac_status=$? 3181a0d3b6eaSmrg grep -v '^ *+' conftest.er1 >conftest.err 3182a0d3b6eaSmrg rm -f conftest.er1 3183a0d3b6eaSmrg cat conftest.err >&5 318462df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3185a0d3b6eaSmrg (exit $ac_status); } && { 3186a0d3b6eaSmrg test -z "$ac_c_werror_flag" || 3187a0d3b6eaSmrg test ! -s conftest.err 3188a0d3b6eaSmrg } && test -s conftest.$ac_objext; then 3189a0d3b6eaSmrg ac_cv_prog_cc_g=yes 3190a0d3b6eaSmrgelse 319162df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 3192a0d3b6eaSmrgsed 's/^/| /' conftest.$ac_ext >&5 3193a0d3b6eaSmrg 3194a0d3b6eaSmrg 3195a0d3b6eaSmrgfi 3196a0d3b6eaSmrg 3197a0d3b6eaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3198a0d3b6eaSmrgfi 3199a0d3b6eaSmrg 3200a0d3b6eaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3201a0d3b6eaSmrgfi 3202a0d3b6eaSmrg 3203a0d3b6eaSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3204a0d3b6eaSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3205a0d3b6eaSmrgfi 320662df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 320762df5ad0Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 3208a0d3b6eaSmrgif test "$ac_test_CFLAGS" = set; then 3209a0d3b6eaSmrg CFLAGS=$ac_save_CFLAGS 3210a0d3b6eaSmrgelif test $ac_cv_prog_cc_g = yes; then 3211a0d3b6eaSmrg if test "$GCC" = yes; then 3212a0d3b6eaSmrg CFLAGS="-g -O2" 3213a0d3b6eaSmrg else 3214a0d3b6eaSmrg CFLAGS="-g" 3215a0d3b6eaSmrg fi 3216a0d3b6eaSmrgelse 3217a0d3b6eaSmrg if test "$GCC" = yes; then 3218a0d3b6eaSmrg CFLAGS="-O2" 3219a0d3b6eaSmrg else 3220a0d3b6eaSmrg CFLAGS= 3221a0d3b6eaSmrg fi 3222a0d3b6eaSmrgfi 322362df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 322462df5ad0Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3225a0d3b6eaSmrgif test "${ac_cv_prog_cc_c89+set}" = set; then 322662df5ad0Smrg $as_echo_n "(cached) " >&6 3227a0d3b6eaSmrgelse 3228a0d3b6eaSmrg ac_cv_prog_cc_c89=no 3229a0d3b6eaSmrgac_save_CC=$CC 3230a0d3b6eaSmrgcat >conftest.$ac_ext <<_ACEOF 3231a0d3b6eaSmrg/* confdefs.h. */ 3232a0d3b6eaSmrg_ACEOF 3233a0d3b6eaSmrgcat confdefs.h >>conftest.$ac_ext 3234a0d3b6eaSmrgcat >>conftest.$ac_ext <<_ACEOF 3235a0d3b6eaSmrg/* end confdefs.h. */ 3236a0d3b6eaSmrg#include <stdarg.h> 3237a0d3b6eaSmrg#include <stdio.h> 3238a0d3b6eaSmrg#include <sys/types.h> 3239a0d3b6eaSmrg#include <sys/stat.h> 3240a0d3b6eaSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3241a0d3b6eaSmrgstruct buf { int x; }; 3242a0d3b6eaSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3243a0d3b6eaSmrgstatic char *e (p, i) 3244a0d3b6eaSmrg char **p; 3245a0d3b6eaSmrg int i; 3246a0d3b6eaSmrg{ 3247a0d3b6eaSmrg return p[i]; 3248a0d3b6eaSmrg} 3249a0d3b6eaSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3250a0d3b6eaSmrg{ 3251a0d3b6eaSmrg char *s; 3252a0d3b6eaSmrg va_list v; 3253a0d3b6eaSmrg va_start (v,p); 3254a0d3b6eaSmrg s = g (p, va_arg (v,int)); 3255a0d3b6eaSmrg va_end (v); 3256a0d3b6eaSmrg return s; 3257a0d3b6eaSmrg} 3258a0d3b6eaSmrg 3259a0d3b6eaSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3260a0d3b6eaSmrg function prototypes and stuff, but not '\xHH' hex character constants. 3261a0d3b6eaSmrg These don't provoke an error unfortunately, instead are silently treated 3262a0d3b6eaSmrg as 'x'. The following induces an error, until -std is added to get 3263a0d3b6eaSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3264a0d3b6eaSmrg array size at least. It's necessary to write '\x00'==0 to get something 3265a0d3b6eaSmrg that's true only with -std. */ 3266a0d3b6eaSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3267a0d3b6eaSmrg 3268a0d3b6eaSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3269a0d3b6eaSmrg inside strings and character constants. */ 3270a0d3b6eaSmrg#define FOO(x) 'x' 3271a0d3b6eaSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3272a0d3b6eaSmrg 3273a0d3b6eaSmrgint test (int i, double x); 3274a0d3b6eaSmrgstruct s1 {int (*f) (int a);}; 3275a0d3b6eaSmrgstruct s2 {int (*f) (double a);}; 3276a0d3b6eaSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3277a0d3b6eaSmrgint argc; 3278a0d3b6eaSmrgchar **argv; 3279a0d3b6eaSmrgint 3280a0d3b6eaSmrgmain () 3281a0d3b6eaSmrg{ 3282a0d3b6eaSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3283a0d3b6eaSmrg ; 3284a0d3b6eaSmrg return 0; 3285a0d3b6eaSmrg} 3286a0d3b6eaSmrg_ACEOF 3287a0d3b6eaSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3288a0d3b6eaSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3289a0d3b6eaSmrgdo 3290a0d3b6eaSmrg CC="$ac_save_CC $ac_arg" 3291a0d3b6eaSmrg rm -f conftest.$ac_objext 3292a0d3b6eaSmrgif { (ac_try="$ac_compile" 3293a0d3b6eaSmrgcase "(($ac_try" in 3294a0d3b6eaSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3295a0d3b6eaSmrg *) ac_try_echo=$ac_try;; 3296a0d3b6eaSmrgesac 329762df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 329862df5ad0Smrg$as_echo "$ac_try_echo") >&5 3299a0d3b6eaSmrg (eval "$ac_compile") 2>conftest.er1 3300a0d3b6eaSmrg ac_status=$? 3301a0d3b6eaSmrg grep -v '^ *+' conftest.er1 >conftest.err 3302a0d3b6eaSmrg rm -f conftest.er1 3303a0d3b6eaSmrg cat conftest.err >&5 330462df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3305a0d3b6eaSmrg (exit $ac_status); } && { 3306a0d3b6eaSmrg test -z "$ac_c_werror_flag" || 3307a0d3b6eaSmrg test ! -s conftest.err 3308a0d3b6eaSmrg } && test -s conftest.$ac_objext; then 3309a0d3b6eaSmrg ac_cv_prog_cc_c89=$ac_arg 3310a0d3b6eaSmrgelse 331162df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 3312a0d3b6eaSmrgsed 's/^/| /' conftest.$ac_ext >&5 3313a0d3b6eaSmrg 3314a0d3b6eaSmrg 3315a0d3b6eaSmrgfi 3316a0d3b6eaSmrg 3317a0d3b6eaSmrgrm -f core conftest.err conftest.$ac_objext 3318a0d3b6eaSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3319a0d3b6eaSmrgdone 3320a0d3b6eaSmrgrm -f conftest.$ac_ext 3321a0d3b6eaSmrgCC=$ac_save_CC 3322a0d3b6eaSmrg 3323a0d3b6eaSmrgfi 3324a0d3b6eaSmrg# AC_CACHE_VAL 3325a0d3b6eaSmrgcase "x$ac_cv_prog_cc_c89" in 3326a0d3b6eaSmrg x) 332762df5ad0Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 332862df5ad0Smrg$as_echo "none needed" >&6; } ;; 3329a0d3b6eaSmrg xno) 333062df5ad0Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 333162df5ad0Smrg$as_echo "unsupported" >&6; } ;; 3332a0d3b6eaSmrg *) 3333a0d3b6eaSmrg CC="$CC $ac_cv_prog_cc_c89" 333462df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 333562df5ad0Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3336a0d3b6eaSmrgesac 3337a0d3b6eaSmrg 3338a0d3b6eaSmrg 3339a0d3b6eaSmrgac_ext=c 3340a0d3b6eaSmrgac_cpp='$CPP $CPPFLAGS' 3341a0d3b6eaSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3342a0d3b6eaSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3343a0d3b6eaSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3344a0d3b6eaSmrgDEPDIR="${am__leading_dot}deps" 3345a0d3b6eaSmrg 3346a0d3b6eaSmrgac_config_commands="$ac_config_commands depfiles" 3347a0d3b6eaSmrg 3348a0d3b6eaSmrg 3349a0d3b6eaSmrgam_make=${MAKE-make} 3350a0d3b6eaSmrgcat > confinc << 'END' 3351a0d3b6eaSmrgam__doit: 3352a0d3b6eaSmrg @echo done 3353a0d3b6eaSmrg.PHONY: am__doit 3354a0d3b6eaSmrgEND 3355a0d3b6eaSmrg# If we don't find an include directive, just comment out the code. 335662df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 335762df5ad0Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 3358a0d3b6eaSmrgam__include="#" 3359a0d3b6eaSmrgam__quote= 3360a0d3b6eaSmrg_am_result=none 3361a0d3b6eaSmrg# First try GNU make style include. 3362a0d3b6eaSmrgecho "include confinc" > confmf 3363a0d3b6eaSmrg# We grep out `Entering directory' and `Leaving directory' 3364a0d3b6eaSmrg# messages which can occur if `w' ends up in MAKEFLAGS. 3365a0d3b6eaSmrg# In particular we don't look at `^make:' because GNU make might 3366a0d3b6eaSmrg# be invoked under some other name (usually "gmake"), in which 3367a0d3b6eaSmrg# case it prints its new name instead of `make'. 3368a0d3b6eaSmrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3369a0d3b6eaSmrg am__include=include 3370a0d3b6eaSmrg am__quote= 3371a0d3b6eaSmrg _am_result=GNU 3372a0d3b6eaSmrgfi 3373a0d3b6eaSmrg# Now try BSD make style include. 3374a0d3b6eaSmrgif test "$am__include" = "#"; then 3375a0d3b6eaSmrg echo '.include "confinc"' > confmf 3376a0d3b6eaSmrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3377a0d3b6eaSmrg am__include=.include 3378a0d3b6eaSmrg am__quote="\"" 3379a0d3b6eaSmrg _am_result=BSD 3380a0d3b6eaSmrg fi 3381a0d3b6eaSmrgfi 3382a0d3b6eaSmrg 3383a0d3b6eaSmrg 338462df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 338562df5ad0Smrg$as_echo "$_am_result" >&6; } 3386a0d3b6eaSmrgrm -f confinc confmf 3387a0d3b6eaSmrg 3388a0d3b6eaSmrg# Check whether --enable-dependency-tracking was given. 3389a0d3b6eaSmrgif test "${enable_dependency_tracking+set}" = set; then 3390a0d3b6eaSmrg enableval=$enable_dependency_tracking; 3391a0d3b6eaSmrgfi 3392a0d3b6eaSmrg 3393a0d3b6eaSmrgif test "x$enable_dependency_tracking" != xno; then 3394a0d3b6eaSmrg am_depcomp="$ac_aux_dir/depcomp" 3395a0d3b6eaSmrg AMDEPBACKSLASH='\' 3396a0d3b6eaSmrgfi 3397a0d3b6eaSmrg if test "x$enable_dependency_tracking" != xno; then 3398a0d3b6eaSmrg AMDEP_TRUE= 3399a0d3b6eaSmrg AMDEP_FALSE='#' 3400a0d3b6eaSmrgelse 3401a0d3b6eaSmrg AMDEP_TRUE='#' 3402a0d3b6eaSmrg AMDEP_FALSE= 3403a0d3b6eaSmrgfi 3404a0d3b6eaSmrg 3405a0d3b6eaSmrg 3406a0d3b6eaSmrg 3407a0d3b6eaSmrgdepcc="$CC" am_compiler_list= 3408a0d3b6eaSmrg 340962df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 341062df5ad0Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 3411a0d3b6eaSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 341262df5ad0Smrg $as_echo_n "(cached) " >&6 3413a0d3b6eaSmrgelse 3414a0d3b6eaSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3415a0d3b6eaSmrg # We make a subdir and do the tests there. Otherwise we can end up 3416a0d3b6eaSmrg # making bogus files that we don't know about and never remove. For 3417a0d3b6eaSmrg # instance it was reported that on HP-UX the gcc test will end up 3418a0d3b6eaSmrg # making a dummy file named `D' -- because `-MD' means `put the output 3419a0d3b6eaSmrg # in D'. 3420a0d3b6eaSmrg mkdir conftest.dir 3421a0d3b6eaSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 3422a0d3b6eaSmrg # using a relative directory. 3423a0d3b6eaSmrg cp "$am_depcomp" conftest.dir 3424a0d3b6eaSmrg cd conftest.dir 3425a0d3b6eaSmrg # We will build objects and dependencies in a subdirectory because 3426a0d3b6eaSmrg # it helps to detect inapplicable dependency modes. For instance 3427a0d3b6eaSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 3428a0d3b6eaSmrg # side effect of compilation, but ICC will put the dependencies in 3429a0d3b6eaSmrg # the current directory while Tru64 will put them in the object 3430a0d3b6eaSmrg # directory. 3431a0d3b6eaSmrg mkdir sub 3432a0d3b6eaSmrg 3433a0d3b6eaSmrg am_cv_CC_dependencies_compiler_type=none 3434a0d3b6eaSmrg if test "$am_compiler_list" = ""; then 3435a0d3b6eaSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3436a0d3b6eaSmrg fi 3437a0d3b6eaSmrg for depmode in $am_compiler_list; do 3438a0d3b6eaSmrg # Setup a source with many dependencies, because some compilers 3439a0d3b6eaSmrg # like to wrap large dependency lists on column 80 (with \), and 3440a0d3b6eaSmrg # we should not choose a depcomp mode which is confused by this. 3441a0d3b6eaSmrg # 3442a0d3b6eaSmrg # We need to recreate these files for each test, as the compiler may 3443a0d3b6eaSmrg # overwrite some of them when testing with obscure command lines. 3444a0d3b6eaSmrg # This happens at least with the AIX C compiler. 3445a0d3b6eaSmrg : > sub/conftest.c 3446a0d3b6eaSmrg for i in 1 2 3 4 5 6; do 3447a0d3b6eaSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 3448a0d3b6eaSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3449a0d3b6eaSmrg # Solaris 8's {/usr,}/bin/sh. 3450a0d3b6eaSmrg touch sub/conftst$i.h 3451a0d3b6eaSmrg done 3452a0d3b6eaSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3453a0d3b6eaSmrg 3454a0d3b6eaSmrg case $depmode in 3455a0d3b6eaSmrg nosideeffect) 3456a0d3b6eaSmrg # after this tag, mechanisms are not by side-effect, so they'll 3457a0d3b6eaSmrg # only be used when explicitly requested 3458a0d3b6eaSmrg if test "x$enable_dependency_tracking" = xyes; then 3459a0d3b6eaSmrg continue 3460a0d3b6eaSmrg else 3461a0d3b6eaSmrg break 3462a0d3b6eaSmrg fi 3463a0d3b6eaSmrg ;; 3464a0d3b6eaSmrg none) break ;; 3465a0d3b6eaSmrg esac 3466a0d3b6eaSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 3467a0d3b6eaSmrg # mode. It turns out that the SunPro C++ compiler does not properly 3468a0d3b6eaSmrg # handle `-M -o', and we need to detect this. 3469a0d3b6eaSmrg if depmode=$depmode \ 3470a0d3b6eaSmrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3471a0d3b6eaSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3472a0d3b6eaSmrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3473a0d3b6eaSmrg >/dev/null 2>conftest.err && 3474a0d3b6eaSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3475a0d3b6eaSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3476a0d3b6eaSmrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3477a0d3b6eaSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3478a0d3b6eaSmrg # icc doesn't choke on unknown options, it will just issue warnings 3479a0d3b6eaSmrg # or remarks (even with -Werror). So we grep stderr for any message 3480a0d3b6eaSmrg # that says an option was ignored or not supported. 3481a0d3b6eaSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 3482a0d3b6eaSmrg # icc: Command line warning: ignoring option '-M'; no argument required 3483a0d3b6eaSmrg # The diagnosis changed in icc 8.0: 3484a0d3b6eaSmrg # icc: Command line remark: option '-MP' not supported 3485a0d3b6eaSmrg if (grep 'ignoring option' conftest.err || 3486a0d3b6eaSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3487a0d3b6eaSmrg am_cv_CC_dependencies_compiler_type=$depmode 3488a0d3b6eaSmrg break 3489a0d3b6eaSmrg fi 3490a0d3b6eaSmrg fi 3491a0d3b6eaSmrg done 3492a0d3b6eaSmrg 349362df5ad0Smrg cd .. 349462df5ad0Smrg rm -rf conftest.dir 349562df5ad0Smrgelse 349662df5ad0Smrg am_cv_CC_dependencies_compiler_type=none 349762df5ad0Smrgfi 349862df5ad0Smrg 349962df5ad0Smrgfi 350062df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 350162df5ad0Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 350262df5ad0SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 350362df5ad0Smrg 350462df5ad0Smrg if 350562df5ad0Smrg test "x$enable_dependency_tracking" != xno \ 350662df5ad0Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 350762df5ad0Smrg am__fastdepCC_TRUE= 350862df5ad0Smrg am__fastdepCC_FALSE='#' 350962df5ad0Smrgelse 351062df5ad0Smrg am__fastdepCC_TRUE='#' 351162df5ad0Smrg am__fastdepCC_FALSE= 351262df5ad0Smrgfi 351362df5ad0Smrg 351462df5ad0Smrg 351562df5ad0Smrg# Find a good install program. We prefer a C program (faster), 351662df5ad0Smrg# so one script is as good as another. But avoid the broken or 351762df5ad0Smrg# incompatible versions: 351862df5ad0Smrg# SysV /etc/install, /usr/sbin/install 351962df5ad0Smrg# SunOS /usr/etc/install 352062df5ad0Smrg# IRIX /sbin/install 352162df5ad0Smrg# AIX /bin/install 352262df5ad0Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 352362df5ad0Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 352462df5ad0Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 352562df5ad0Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 352662df5ad0Smrg# OS/2's system install, which has a completely different semantic 352762df5ad0Smrg# ./install, which can be erroneously created by make from ./install.sh. 352862df5ad0Smrg# Reject install programs that cannot install multiple files. 352962df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 353062df5ad0Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 353162df5ad0Smrgif test -z "$INSTALL"; then 353262df5ad0Smrgif test "${ac_cv_path_install+set}" = set; then 353362df5ad0Smrg $as_echo_n "(cached) " >&6 353462df5ad0Smrgelse 353562df5ad0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 353662df5ad0Smrgfor as_dir in $PATH 353762df5ad0Smrgdo 353862df5ad0Smrg IFS=$as_save_IFS 353962df5ad0Smrg test -z "$as_dir" && as_dir=. 354062df5ad0Smrg # Account for people who put trailing slashes in PATH elements. 354162df5ad0Smrgcase $as_dir/ in 354262df5ad0Smrg ./ | .// | /cC/* | \ 354362df5ad0Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 354462df5ad0Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 354562df5ad0Smrg /usr/ucb/* ) ;; 354662df5ad0Smrg *) 354762df5ad0Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 354862df5ad0Smrg # Don't use installbsd from OSF since it installs stuff as root 354962df5ad0Smrg # by default. 355062df5ad0Smrg for ac_prog in ginstall scoinst install; do 355162df5ad0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 355262df5ad0Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 355362df5ad0Smrg if test $ac_prog = install && 355462df5ad0Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 355562df5ad0Smrg # AIX install. It has an incompatible calling convention. 355662df5ad0Smrg : 355762df5ad0Smrg elif test $ac_prog = install && 355862df5ad0Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 355962df5ad0Smrg # program-specific install script used by HP pwplus--don't use. 356062df5ad0Smrg : 356162df5ad0Smrg else 356262df5ad0Smrg rm -rf conftest.one conftest.two conftest.dir 356362df5ad0Smrg echo one > conftest.one 356462df5ad0Smrg echo two > conftest.two 356562df5ad0Smrg mkdir conftest.dir 356662df5ad0Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 356762df5ad0Smrg test -s conftest.one && test -s conftest.two && 356862df5ad0Smrg test -s conftest.dir/conftest.one && 356962df5ad0Smrg test -s conftest.dir/conftest.two 357062df5ad0Smrg then 357162df5ad0Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 357262df5ad0Smrg break 3 357362df5ad0Smrg fi 357462df5ad0Smrg fi 357562df5ad0Smrg fi 357662df5ad0Smrg done 357762df5ad0Smrg done 357862df5ad0Smrg ;; 357962df5ad0Smrgesac 358062df5ad0Smrg 358162df5ad0Smrgdone 358262df5ad0SmrgIFS=$as_save_IFS 358362df5ad0Smrg 358462df5ad0Smrgrm -rf conftest.one conftest.two conftest.dir 358562df5ad0Smrg 358662df5ad0Smrgfi 358762df5ad0Smrg if test "${ac_cv_path_install+set}" = set; then 358862df5ad0Smrg INSTALL=$ac_cv_path_install 358962df5ad0Smrg else 359062df5ad0Smrg # As a last resort, use the slow shell script. Don't cache a 359162df5ad0Smrg # value for INSTALL within a source directory, because that will 359262df5ad0Smrg # break other packages using the cache if that directory is 359362df5ad0Smrg # removed, or if the value is a relative name. 359462df5ad0Smrg INSTALL=$ac_install_sh 359562df5ad0Smrg fi 359662df5ad0Smrgfi 359762df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 359862df5ad0Smrg$as_echo "$INSTALL" >&6; } 359962df5ad0Smrg 360062df5ad0Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 360162df5ad0Smrg# It thinks the first close brace ends the variable substitution. 360262df5ad0Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 360362df5ad0Smrg 360462df5ad0Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 360562df5ad0Smrg 360662df5ad0Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 360762df5ad0Smrg 360862df5ad0Smrg 360962df5ad0Smrgac_ext=c 361062df5ad0Smrgac_cpp='$CPP $CPPFLAGS' 361162df5ad0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 361262df5ad0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 361362df5ad0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 361462df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 361562df5ad0Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 361662df5ad0Smrg# On Suns, sometimes $CPP names a directory. 361762df5ad0Smrgif test -n "$CPP" && test -d "$CPP"; then 361862df5ad0Smrg CPP= 361962df5ad0Smrgfi 362062df5ad0Smrgif test -z "$CPP"; then 362162df5ad0Smrg if test "${ac_cv_prog_CPP+set}" = set; then 362262df5ad0Smrg $as_echo_n "(cached) " >&6 362362df5ad0Smrgelse 362462df5ad0Smrg # Double quotes because CPP needs to be expanded 362562df5ad0Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 362662df5ad0Smrg do 362762df5ad0Smrg ac_preproc_ok=false 362862df5ad0Smrgfor ac_c_preproc_warn_flag in '' yes 362962df5ad0Smrgdo 363062df5ad0Smrg # Use a header file that comes with gcc, so configuring glibc 363162df5ad0Smrg # with a fresh cross-compiler works. 363262df5ad0Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 363362df5ad0Smrg # <limits.h> exists even on freestanding compilers. 363462df5ad0Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 363562df5ad0Smrg # not just through cpp. "Syntax error" is here to catch this case. 363662df5ad0Smrg cat >conftest.$ac_ext <<_ACEOF 363762df5ad0Smrg/* confdefs.h. */ 363862df5ad0Smrg_ACEOF 363962df5ad0Smrgcat confdefs.h >>conftest.$ac_ext 364062df5ad0Smrgcat >>conftest.$ac_ext <<_ACEOF 364162df5ad0Smrg/* end confdefs.h. */ 364262df5ad0Smrg#ifdef __STDC__ 364362df5ad0Smrg# include <limits.h> 364462df5ad0Smrg#else 364562df5ad0Smrg# include <assert.h> 364662df5ad0Smrg#endif 364762df5ad0Smrg Syntax error 364862df5ad0Smrg_ACEOF 364962df5ad0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 365062df5ad0Smrgcase "(($ac_try" in 365162df5ad0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 365262df5ad0Smrg *) ac_try_echo=$ac_try;; 365362df5ad0Smrgesac 365462df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 365562df5ad0Smrg$as_echo "$ac_try_echo") >&5 365662df5ad0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 365762df5ad0Smrg ac_status=$? 365862df5ad0Smrg grep -v '^ *+' conftest.er1 >conftest.err 365962df5ad0Smrg rm -f conftest.er1 366062df5ad0Smrg cat conftest.err >&5 366162df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 366262df5ad0Smrg (exit $ac_status); } >/dev/null && { 366362df5ad0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 366462df5ad0Smrg test ! -s conftest.err 366562df5ad0Smrg }; then 366662df5ad0Smrg : 366762df5ad0Smrgelse 366862df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 366962df5ad0Smrgsed 's/^/| /' conftest.$ac_ext >&5 367062df5ad0Smrg 367162df5ad0Smrg # Broken: fails on valid input. 367262df5ad0Smrgcontinue 367362df5ad0Smrgfi 367462df5ad0Smrg 367562df5ad0Smrgrm -f conftest.err conftest.$ac_ext 367662df5ad0Smrg 367762df5ad0Smrg # OK, works on sane cases. Now check whether nonexistent headers 367862df5ad0Smrg # can be detected and how. 367962df5ad0Smrg cat >conftest.$ac_ext <<_ACEOF 368062df5ad0Smrg/* confdefs.h. */ 368162df5ad0Smrg_ACEOF 368262df5ad0Smrgcat confdefs.h >>conftest.$ac_ext 368362df5ad0Smrgcat >>conftest.$ac_ext <<_ACEOF 368462df5ad0Smrg/* end confdefs.h. */ 368562df5ad0Smrg#include <ac_nonexistent.h> 368662df5ad0Smrg_ACEOF 368762df5ad0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 368862df5ad0Smrgcase "(($ac_try" in 368962df5ad0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 369062df5ad0Smrg *) ac_try_echo=$ac_try;; 369162df5ad0Smrgesac 369262df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 369362df5ad0Smrg$as_echo "$ac_try_echo") >&5 369462df5ad0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 369562df5ad0Smrg ac_status=$? 369662df5ad0Smrg grep -v '^ *+' conftest.er1 >conftest.err 369762df5ad0Smrg rm -f conftest.er1 369862df5ad0Smrg cat conftest.err >&5 369962df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 370062df5ad0Smrg (exit $ac_status); } >/dev/null && { 370162df5ad0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 370262df5ad0Smrg test ! -s conftest.err 370362df5ad0Smrg }; then 370462df5ad0Smrg # Broken: success on invalid input. 370562df5ad0Smrgcontinue 370662df5ad0Smrgelse 370762df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 370862df5ad0Smrgsed 's/^/| /' conftest.$ac_ext >&5 370962df5ad0Smrg 371062df5ad0Smrg # Passes both tests. 371162df5ad0Smrgac_preproc_ok=: 371262df5ad0Smrgbreak 371362df5ad0Smrgfi 371462df5ad0Smrg 371562df5ad0Smrgrm -f conftest.err conftest.$ac_ext 371662df5ad0Smrg 371762df5ad0Smrgdone 371862df5ad0Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 371962df5ad0Smrgrm -f conftest.err conftest.$ac_ext 372062df5ad0Smrgif $ac_preproc_ok; then 372162df5ad0Smrg break 372262df5ad0Smrgfi 372362df5ad0Smrg 372462df5ad0Smrg done 372562df5ad0Smrg ac_cv_prog_CPP=$CPP 372662df5ad0Smrg 372762df5ad0Smrgfi 372862df5ad0Smrg CPP=$ac_cv_prog_CPP 372962df5ad0Smrgelse 373062df5ad0Smrg ac_cv_prog_CPP=$CPP 373162df5ad0Smrgfi 373262df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 373362df5ad0Smrg$as_echo "$CPP" >&6; } 373462df5ad0Smrgac_preproc_ok=false 373562df5ad0Smrgfor ac_c_preproc_warn_flag in '' yes 373662df5ad0Smrgdo 373762df5ad0Smrg # Use a header file that comes with gcc, so configuring glibc 373862df5ad0Smrg # with a fresh cross-compiler works. 373962df5ad0Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 374062df5ad0Smrg # <limits.h> exists even on freestanding compilers. 374162df5ad0Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 374262df5ad0Smrg # not just through cpp. "Syntax error" is here to catch this case. 374362df5ad0Smrg cat >conftest.$ac_ext <<_ACEOF 374462df5ad0Smrg/* confdefs.h. */ 374562df5ad0Smrg_ACEOF 374662df5ad0Smrgcat confdefs.h >>conftest.$ac_ext 374762df5ad0Smrgcat >>conftest.$ac_ext <<_ACEOF 374862df5ad0Smrg/* end confdefs.h. */ 374962df5ad0Smrg#ifdef __STDC__ 375062df5ad0Smrg# include <limits.h> 375162df5ad0Smrg#else 375262df5ad0Smrg# include <assert.h> 375362df5ad0Smrg#endif 375462df5ad0Smrg Syntax error 375562df5ad0Smrg_ACEOF 375662df5ad0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 375762df5ad0Smrgcase "(($ac_try" in 375862df5ad0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 375962df5ad0Smrg *) ac_try_echo=$ac_try;; 376062df5ad0Smrgesac 376162df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 376262df5ad0Smrg$as_echo "$ac_try_echo") >&5 376362df5ad0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 376462df5ad0Smrg ac_status=$? 376562df5ad0Smrg grep -v '^ *+' conftest.er1 >conftest.err 376662df5ad0Smrg rm -f conftest.er1 376762df5ad0Smrg cat conftest.err >&5 376862df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 376962df5ad0Smrg (exit $ac_status); } >/dev/null && { 377062df5ad0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 377162df5ad0Smrg test ! -s conftest.err 377262df5ad0Smrg }; then 377362df5ad0Smrg : 377462df5ad0Smrgelse 377562df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 377662df5ad0Smrgsed 's/^/| /' conftest.$ac_ext >&5 377762df5ad0Smrg 377862df5ad0Smrg # Broken: fails on valid input. 377962df5ad0Smrgcontinue 378062df5ad0Smrgfi 378162df5ad0Smrg 378262df5ad0Smrgrm -f conftest.err conftest.$ac_ext 378362df5ad0Smrg 378462df5ad0Smrg # OK, works on sane cases. Now check whether nonexistent headers 378562df5ad0Smrg # can be detected and how. 378662df5ad0Smrg cat >conftest.$ac_ext <<_ACEOF 378762df5ad0Smrg/* confdefs.h. */ 378862df5ad0Smrg_ACEOF 378962df5ad0Smrgcat confdefs.h >>conftest.$ac_ext 379062df5ad0Smrgcat >>conftest.$ac_ext <<_ACEOF 379162df5ad0Smrg/* end confdefs.h. */ 379262df5ad0Smrg#include <ac_nonexistent.h> 379362df5ad0Smrg_ACEOF 379462df5ad0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 379562df5ad0Smrgcase "(($ac_try" in 379662df5ad0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 379762df5ad0Smrg *) ac_try_echo=$ac_try;; 379862df5ad0Smrgesac 379962df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 380062df5ad0Smrg$as_echo "$ac_try_echo") >&5 380162df5ad0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 380262df5ad0Smrg ac_status=$? 380362df5ad0Smrg grep -v '^ *+' conftest.er1 >conftest.err 380462df5ad0Smrg rm -f conftest.er1 380562df5ad0Smrg cat conftest.err >&5 380662df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 380762df5ad0Smrg (exit $ac_status); } >/dev/null && { 380862df5ad0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 380962df5ad0Smrg test ! -s conftest.err 381062df5ad0Smrg }; then 381162df5ad0Smrg # Broken: success on invalid input. 381262df5ad0Smrgcontinue 381362df5ad0Smrgelse 381462df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 381562df5ad0Smrgsed 's/^/| /' conftest.$ac_ext >&5 381662df5ad0Smrg 381762df5ad0Smrg # Passes both tests. 381862df5ad0Smrgac_preproc_ok=: 381962df5ad0Smrgbreak 382062df5ad0Smrgfi 382162df5ad0Smrg 382262df5ad0Smrgrm -f conftest.err conftest.$ac_ext 382362df5ad0Smrg 382462df5ad0Smrgdone 382562df5ad0Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 382662df5ad0Smrgrm -f conftest.err conftest.$ac_ext 382762df5ad0Smrgif $ac_preproc_ok; then 382862df5ad0Smrg : 382962df5ad0Smrgelse 383062df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 383162df5ad0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 383262df5ad0Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 383362df5ad0SmrgSee \`config.log' for more details." >&5 383462df5ad0Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 383562df5ad0SmrgSee \`config.log' for more details." >&2;} 383662df5ad0Smrg { (exit 1); exit 1; }; }; } 383762df5ad0Smrgfi 383862df5ad0Smrg 383962df5ad0Smrgac_ext=c 384062df5ad0Smrgac_cpp='$CPP $CPPFLAGS' 384162df5ad0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 384262df5ad0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 384362df5ad0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 384462df5ad0Smrg 384562df5ad0Smrg 384662df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 384762df5ad0Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 384862df5ad0Smrgif test "${ac_cv_path_GREP+set}" = set; then 384962df5ad0Smrg $as_echo_n "(cached) " >&6 385062df5ad0Smrgelse 385162df5ad0Smrg if test -z "$GREP"; then 385262df5ad0Smrg ac_path_GREP_found=false 385362df5ad0Smrg # Loop through the user's path and test for each of PROGNAME-LIST 385462df5ad0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 385562df5ad0Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 385662df5ad0Smrgdo 385762df5ad0Smrg IFS=$as_save_IFS 385862df5ad0Smrg test -z "$as_dir" && as_dir=. 385962df5ad0Smrg for ac_prog in grep ggrep; do 386062df5ad0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 386162df5ad0Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 386262df5ad0Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 386362df5ad0Smrg# Check for GNU ac_path_GREP and select it if it is found. 386462df5ad0Smrg # Check for GNU $ac_path_GREP 386562df5ad0Smrgcase `"$ac_path_GREP" --version 2>&1` in 386662df5ad0Smrg*GNU*) 386762df5ad0Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 386862df5ad0Smrg*) 386962df5ad0Smrg ac_count=0 387062df5ad0Smrg $as_echo_n 0123456789 >"conftest.in" 387162df5ad0Smrg while : 387262df5ad0Smrg do 387362df5ad0Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 387462df5ad0Smrg mv "conftest.tmp" "conftest.in" 387562df5ad0Smrg cp "conftest.in" "conftest.nl" 387662df5ad0Smrg $as_echo 'GREP' >> "conftest.nl" 387762df5ad0Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 387862df5ad0Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 387962df5ad0Smrg ac_count=`expr $ac_count + 1` 388062df5ad0Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 388162df5ad0Smrg # Best one so far, save it but keep looking for a better one 388262df5ad0Smrg ac_cv_path_GREP="$ac_path_GREP" 388362df5ad0Smrg ac_path_GREP_max=$ac_count 388462df5ad0Smrg fi 388562df5ad0Smrg # 10*(2^10) chars as input seems more than enough 388662df5ad0Smrg test $ac_count -gt 10 && break 388762df5ad0Smrg done 388862df5ad0Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 388962df5ad0Smrgesac 389062df5ad0Smrg 389162df5ad0Smrg $ac_path_GREP_found && break 3 389262df5ad0Smrg done 389362df5ad0Smrg done 389462df5ad0Smrgdone 389562df5ad0SmrgIFS=$as_save_IFS 389662df5ad0Smrg if test -z "$ac_cv_path_GREP"; then 389762df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 389862df5ad0Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 389962df5ad0Smrg { (exit 1); exit 1; }; } 390062df5ad0Smrg fi 390162df5ad0Smrgelse 390262df5ad0Smrg ac_cv_path_GREP=$GREP 390362df5ad0Smrgfi 390462df5ad0Smrg 390562df5ad0Smrgfi 390662df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 390762df5ad0Smrg$as_echo "$ac_cv_path_GREP" >&6; } 390862df5ad0Smrg GREP="$ac_cv_path_GREP" 390962df5ad0Smrg 391062df5ad0Smrg 391162df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 391262df5ad0Smrg$as_echo_n "checking for egrep... " >&6; } 391362df5ad0Smrgif test "${ac_cv_path_EGREP+set}" = set; then 391462df5ad0Smrg $as_echo_n "(cached) " >&6 391562df5ad0Smrgelse 391662df5ad0Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 391762df5ad0Smrg then ac_cv_path_EGREP="$GREP -E" 391862df5ad0Smrg else 391962df5ad0Smrg if test -z "$EGREP"; then 392062df5ad0Smrg ac_path_EGREP_found=false 392162df5ad0Smrg # Loop through the user's path and test for each of PROGNAME-LIST 392262df5ad0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 392362df5ad0Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 392462df5ad0Smrgdo 392562df5ad0Smrg IFS=$as_save_IFS 392662df5ad0Smrg test -z "$as_dir" && as_dir=. 392762df5ad0Smrg for ac_prog in egrep; do 392862df5ad0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 392962df5ad0Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 393062df5ad0Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 393162df5ad0Smrg# Check for GNU ac_path_EGREP and select it if it is found. 393262df5ad0Smrg # Check for GNU $ac_path_EGREP 393362df5ad0Smrgcase `"$ac_path_EGREP" --version 2>&1` in 393462df5ad0Smrg*GNU*) 393562df5ad0Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 393662df5ad0Smrg*) 393762df5ad0Smrg ac_count=0 393862df5ad0Smrg $as_echo_n 0123456789 >"conftest.in" 393962df5ad0Smrg while : 394062df5ad0Smrg do 394162df5ad0Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 394262df5ad0Smrg mv "conftest.tmp" "conftest.in" 394362df5ad0Smrg cp "conftest.in" "conftest.nl" 394462df5ad0Smrg $as_echo 'EGREP' >> "conftest.nl" 394562df5ad0Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 394662df5ad0Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 394762df5ad0Smrg ac_count=`expr $ac_count + 1` 394862df5ad0Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 394962df5ad0Smrg # Best one so far, save it but keep looking for a better one 395062df5ad0Smrg ac_cv_path_EGREP="$ac_path_EGREP" 395162df5ad0Smrg ac_path_EGREP_max=$ac_count 395262df5ad0Smrg fi 395362df5ad0Smrg # 10*(2^10) chars as input seems more than enough 395462df5ad0Smrg test $ac_count -gt 10 && break 395562df5ad0Smrg done 395662df5ad0Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 395762df5ad0Smrgesac 395862df5ad0Smrg 395962df5ad0Smrg $ac_path_EGREP_found && break 3 396062df5ad0Smrg done 396162df5ad0Smrg done 396262df5ad0Smrgdone 396362df5ad0SmrgIFS=$as_save_IFS 396462df5ad0Smrg if test -z "$ac_cv_path_EGREP"; then 396562df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 396662df5ad0Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 396762df5ad0Smrg { (exit 1); exit 1; }; } 396862df5ad0Smrg fi 396962df5ad0Smrgelse 397062df5ad0Smrg ac_cv_path_EGREP=$EGREP 397162df5ad0Smrgfi 397262df5ad0Smrg 397362df5ad0Smrg fi 397462df5ad0Smrgfi 397562df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 397662df5ad0Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 397762df5ad0Smrg EGREP="$ac_cv_path_EGREP" 397862df5ad0Smrg 397962df5ad0Smrg 398062df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 398162df5ad0Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 398262df5ad0Smrgif test "${ac_cv_header_stdc+set}" = set; then 398362df5ad0Smrg $as_echo_n "(cached) " >&6 398462df5ad0Smrgelse 398562df5ad0Smrg cat >conftest.$ac_ext <<_ACEOF 398662df5ad0Smrg/* confdefs.h. */ 398762df5ad0Smrg_ACEOF 398862df5ad0Smrgcat confdefs.h >>conftest.$ac_ext 398962df5ad0Smrgcat >>conftest.$ac_ext <<_ACEOF 399062df5ad0Smrg/* end confdefs.h. */ 399162df5ad0Smrg#include <stdlib.h> 399262df5ad0Smrg#include <stdarg.h> 399362df5ad0Smrg#include <string.h> 399462df5ad0Smrg#include <float.h> 399562df5ad0Smrg 399662df5ad0Smrgint 399762df5ad0Smrgmain () 399862df5ad0Smrg{ 399962df5ad0Smrg 400062df5ad0Smrg ; 400162df5ad0Smrg return 0; 400262df5ad0Smrg} 400362df5ad0Smrg_ACEOF 400462df5ad0Smrgrm -f conftest.$ac_objext 400562df5ad0Smrgif { (ac_try="$ac_compile" 400662df5ad0Smrgcase "(($ac_try" in 400762df5ad0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 400862df5ad0Smrg *) ac_try_echo=$ac_try;; 400962df5ad0Smrgesac 401062df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 401162df5ad0Smrg$as_echo "$ac_try_echo") >&5 401262df5ad0Smrg (eval "$ac_compile") 2>conftest.er1 401362df5ad0Smrg ac_status=$? 401462df5ad0Smrg grep -v '^ *+' conftest.er1 >conftest.err 401562df5ad0Smrg rm -f conftest.er1 401662df5ad0Smrg cat conftest.err >&5 401762df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 401862df5ad0Smrg (exit $ac_status); } && { 401962df5ad0Smrg test -z "$ac_c_werror_flag" || 402062df5ad0Smrg test ! -s conftest.err 402162df5ad0Smrg } && test -s conftest.$ac_objext; then 402262df5ad0Smrg ac_cv_header_stdc=yes 402362df5ad0Smrgelse 402462df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 402562df5ad0Smrgsed 's/^/| /' conftest.$ac_ext >&5 402662df5ad0Smrg 402762df5ad0Smrg ac_cv_header_stdc=no 402862df5ad0Smrgfi 402962df5ad0Smrg 403062df5ad0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 403162df5ad0Smrg 403262df5ad0Smrgif test $ac_cv_header_stdc = yes; then 403362df5ad0Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 403462df5ad0Smrg cat >conftest.$ac_ext <<_ACEOF 403562df5ad0Smrg/* confdefs.h. */ 403662df5ad0Smrg_ACEOF 403762df5ad0Smrgcat confdefs.h >>conftest.$ac_ext 403862df5ad0Smrgcat >>conftest.$ac_ext <<_ACEOF 403962df5ad0Smrg/* end confdefs.h. */ 404062df5ad0Smrg#include <string.h> 404162df5ad0Smrg 404262df5ad0Smrg_ACEOF 404362df5ad0Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 404462df5ad0Smrg $EGREP "memchr" >/dev/null 2>&1; then 404562df5ad0Smrg : 404662df5ad0Smrgelse 404762df5ad0Smrg ac_cv_header_stdc=no 404862df5ad0Smrgfi 404962df5ad0Smrgrm -f conftest* 405062df5ad0Smrg 405162df5ad0Smrgfi 405262df5ad0Smrg 405362df5ad0Smrgif test $ac_cv_header_stdc = yes; then 405462df5ad0Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 405562df5ad0Smrg cat >conftest.$ac_ext <<_ACEOF 405662df5ad0Smrg/* confdefs.h. */ 405762df5ad0Smrg_ACEOF 405862df5ad0Smrgcat confdefs.h >>conftest.$ac_ext 405962df5ad0Smrgcat >>conftest.$ac_ext <<_ACEOF 406062df5ad0Smrg/* end confdefs.h. */ 406162df5ad0Smrg#include <stdlib.h> 406262df5ad0Smrg 406362df5ad0Smrg_ACEOF 406462df5ad0Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 406562df5ad0Smrg $EGREP "free" >/dev/null 2>&1; then 406662df5ad0Smrg : 406762df5ad0Smrgelse 406862df5ad0Smrg ac_cv_header_stdc=no 406962df5ad0Smrgfi 407062df5ad0Smrgrm -f conftest* 407162df5ad0Smrg 407262df5ad0Smrgfi 407362df5ad0Smrg 407462df5ad0Smrgif test $ac_cv_header_stdc = yes; then 407562df5ad0Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 407662df5ad0Smrg if test "$cross_compiling" = yes; then 407762df5ad0Smrg : 407862df5ad0Smrgelse 407962df5ad0Smrg cat >conftest.$ac_ext <<_ACEOF 408062df5ad0Smrg/* confdefs.h. */ 408162df5ad0Smrg_ACEOF 408262df5ad0Smrgcat confdefs.h >>conftest.$ac_ext 408362df5ad0Smrgcat >>conftest.$ac_ext <<_ACEOF 408462df5ad0Smrg/* end confdefs.h. */ 408562df5ad0Smrg#include <ctype.h> 408662df5ad0Smrg#include <stdlib.h> 408762df5ad0Smrg#if ((' ' & 0x0FF) == 0x020) 408862df5ad0Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 408962df5ad0Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 409062df5ad0Smrg#else 409162df5ad0Smrg# define ISLOWER(c) \ 409262df5ad0Smrg (('a' <= (c) && (c) <= 'i') \ 409362df5ad0Smrg || ('j' <= (c) && (c) <= 'r') \ 409462df5ad0Smrg || ('s' <= (c) && (c) <= 'z')) 409562df5ad0Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 409662df5ad0Smrg#endif 409762df5ad0Smrg 409862df5ad0Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 409962df5ad0Smrgint 410062df5ad0Smrgmain () 410162df5ad0Smrg{ 410262df5ad0Smrg int i; 410362df5ad0Smrg for (i = 0; i < 256; i++) 410462df5ad0Smrg if (XOR (islower (i), ISLOWER (i)) 410562df5ad0Smrg || toupper (i) != TOUPPER (i)) 410662df5ad0Smrg return 2; 410762df5ad0Smrg return 0; 410862df5ad0Smrg} 410962df5ad0Smrg_ACEOF 411062df5ad0Smrgrm -f conftest$ac_exeext 411162df5ad0Smrgif { (ac_try="$ac_link" 411262df5ad0Smrgcase "(($ac_try" in 411362df5ad0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 411462df5ad0Smrg *) ac_try_echo=$ac_try;; 411562df5ad0Smrgesac 411662df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 411762df5ad0Smrg$as_echo "$ac_try_echo") >&5 411862df5ad0Smrg (eval "$ac_link") 2>&5 411962df5ad0Smrg ac_status=$? 412062df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 412162df5ad0Smrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 412262df5ad0Smrg { (case "(($ac_try" in 412362df5ad0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 412462df5ad0Smrg *) ac_try_echo=$ac_try;; 412562df5ad0Smrgesac 412662df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 412762df5ad0Smrg$as_echo "$ac_try_echo") >&5 412862df5ad0Smrg (eval "$ac_try") 2>&5 412962df5ad0Smrg ac_status=$? 413062df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 413162df5ad0Smrg (exit $ac_status); }; }; then 413262df5ad0Smrg : 413362df5ad0Smrgelse 413462df5ad0Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 413562df5ad0Smrg$as_echo "$as_me: failed program was:" >&5 413662df5ad0Smrgsed 's/^/| /' conftest.$ac_ext >&5 413762df5ad0Smrg 413862df5ad0Smrg( exit $ac_status ) 413962df5ad0Smrgac_cv_header_stdc=no 414062df5ad0Smrgfi 414162df5ad0Smrgrm -rf conftest.dSYM 414262df5ad0Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 414362df5ad0Smrgfi 414462df5ad0Smrg 414562df5ad0Smrg 414662df5ad0Smrgfi 414762df5ad0Smrgfi 414862df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 414962df5ad0Smrg$as_echo "$ac_cv_header_stdc" >&6; } 415062df5ad0Smrgif test $ac_cv_header_stdc = yes; then 415162df5ad0Smrg 415262df5ad0Smrgcat >>confdefs.h <<\_ACEOF 415362df5ad0Smrg#define STDC_HEADERS 1 415462df5ad0Smrg_ACEOF 415562df5ad0Smrg 415662df5ad0Smrgfi 415762df5ad0Smrg 415862df5ad0Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 415962df5ad0Smrg 416062df5ad0Smrg 416162df5ad0Smrg 416262df5ad0Smrg 416362df5ad0Smrg 416462df5ad0Smrg 416562df5ad0Smrg 416662df5ad0Smrg 416762df5ad0Smrg 416862df5ad0Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 416962df5ad0Smrg inttypes.h stdint.h unistd.h 417062df5ad0Smrgdo 417162df5ad0Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 417262df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 417362df5ad0Smrg$as_echo_n "checking for $ac_header... " >&6; } 417462df5ad0Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 417562df5ad0Smrg $as_echo_n "(cached) " >&6 417662df5ad0Smrgelse 417762df5ad0Smrg cat >conftest.$ac_ext <<_ACEOF 417862df5ad0Smrg/* confdefs.h. */ 417962df5ad0Smrg_ACEOF 418062df5ad0Smrgcat confdefs.h >>conftest.$ac_ext 418162df5ad0Smrgcat >>conftest.$ac_ext <<_ACEOF 418262df5ad0Smrg/* end confdefs.h. */ 418362df5ad0Smrg$ac_includes_default 418462df5ad0Smrg 418562df5ad0Smrg#include <$ac_header> 418662df5ad0Smrg_ACEOF 418762df5ad0Smrgrm -f conftest.$ac_objext 418862df5ad0Smrgif { (ac_try="$ac_compile" 418962df5ad0Smrgcase "(($ac_try" in 419062df5ad0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 419162df5ad0Smrg *) ac_try_echo=$ac_try;; 419262df5ad0Smrgesac 419362df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 419462df5ad0Smrg$as_echo "$ac_try_echo") >&5 419562df5ad0Smrg (eval "$ac_compile") 2>conftest.er1 419662df5ad0Smrg ac_status=$? 419762df5ad0Smrg grep -v '^ *+' conftest.er1 >conftest.err 419862df5ad0Smrg rm -f conftest.er1 419962df5ad0Smrg cat conftest.err >&5 420062df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 420162df5ad0Smrg (exit $ac_status); } && { 420262df5ad0Smrg test -z "$ac_c_werror_flag" || 420362df5ad0Smrg test ! -s conftest.err 420462df5ad0Smrg } && test -s conftest.$ac_objext; then 420562df5ad0Smrg eval "$as_ac_Header=yes" 420662df5ad0Smrgelse 420762df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 420862df5ad0Smrgsed 's/^/| /' conftest.$ac_ext >&5 420962df5ad0Smrg 421062df5ad0Smrg eval "$as_ac_Header=no" 421162df5ad0Smrgfi 421262df5ad0Smrg 421362df5ad0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 421462df5ad0Smrgfi 421562df5ad0Smrgac_res=`eval 'as_val=${'$as_ac_Header'} 421662df5ad0Smrg $as_echo "$as_val"'` 421762df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 421862df5ad0Smrg$as_echo "$ac_res" >&6; } 421962df5ad0Smrgas_val=`eval 'as_val=${'$as_ac_Header'} 422062df5ad0Smrg $as_echo "$as_val"'` 422162df5ad0Smrg if test "x$as_val" = x""yes; then 422262df5ad0Smrg cat >>confdefs.h <<_ACEOF 422362df5ad0Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 422462df5ad0Smrg_ACEOF 422562df5ad0Smrg 422662df5ad0Smrgfi 422762df5ad0Smrg 422862df5ad0Smrgdone 422962df5ad0Smrg 423062df5ad0Smrg 423162df5ad0Smrg 423262df5ad0Smrg 423362df5ad0Smrgif test "x$GCC" = xyes ; then 423462df5ad0Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 423562df5ad0Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 423662df5ad0Smrg-Wbad-function-cast" 423762df5ad0Smrg case `gcc -dumpversion` in 423862df5ad0Smrg 3.4.* | 4.*) 423962df5ad0Smrg CWARNFLAGS+=" -Wold-style-definition -Wdeclaration-after-statement" 424062df5ad0Smrg ;; 424162df5ad0Smrg esac 424262df5ad0Smrgelse 424362df5ad0Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 424462df5ad0Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 424562df5ad0Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 424662df5ad0Smrg $as_echo_n "(cached) " >&6 424762df5ad0Smrgelse 424862df5ad0Smrg cat >conftest.$ac_ext <<_ACEOF 424962df5ad0Smrg/* confdefs.h. */ 425062df5ad0Smrg_ACEOF 425162df5ad0Smrgcat confdefs.h >>conftest.$ac_ext 425262df5ad0Smrgcat >>conftest.$ac_ext <<_ACEOF 425362df5ad0Smrg/* end confdefs.h. */ 425462df5ad0Smrg$ac_includes_default 425562df5ad0Smrgint 425662df5ad0Smrgmain () 425762df5ad0Smrg{ 425862df5ad0Smrg#ifndef __SUNPRO_C 425962df5ad0Smrg (void) __SUNPRO_C; 426062df5ad0Smrg#endif 426162df5ad0Smrg 426262df5ad0Smrg ; 426362df5ad0Smrg return 0; 426462df5ad0Smrg} 426562df5ad0Smrg_ACEOF 426662df5ad0Smrgrm -f conftest.$ac_objext 426762df5ad0Smrgif { (ac_try="$ac_compile" 426862df5ad0Smrgcase "(($ac_try" in 426962df5ad0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 427062df5ad0Smrg *) ac_try_echo=$ac_try;; 427162df5ad0Smrgesac 427262df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 427362df5ad0Smrg$as_echo "$ac_try_echo") >&5 427462df5ad0Smrg (eval "$ac_compile") 2>conftest.er1 427562df5ad0Smrg ac_status=$? 427662df5ad0Smrg grep -v '^ *+' conftest.er1 >conftest.err 427762df5ad0Smrg rm -f conftest.er1 427862df5ad0Smrg cat conftest.err >&5 427962df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 428062df5ad0Smrg (exit $ac_status); } && { 428162df5ad0Smrg test -z "$ac_c_werror_flag" || 428262df5ad0Smrg test ! -s conftest.err 428362df5ad0Smrg } && test -s conftest.$ac_objext; then 428462df5ad0Smrg ac_cv_have_decl___SUNPRO_C=yes 4285a0d3b6eaSmrgelse 428662df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 428762df5ad0Smrgsed 's/^/| /' conftest.$ac_ext >&5 4288a0d3b6eaSmrg 428962df5ad0Smrg ac_cv_have_decl___SUNPRO_C=no 4290a0d3b6eaSmrgfi 4291a0d3b6eaSmrg 429262df5ad0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 429362df5ad0Smrgfi 429462df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 429562df5ad0Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 429662df5ad0Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 429762df5ad0Smrg SUNCC="yes" 4298a0d3b6eaSmrgelse 429962df5ad0Smrg SUNCC="no" 4300a0d3b6eaSmrgfi 4301a0d3b6eaSmrg 430262df5ad0Smrg if test "x$SUNCC" = "xyes"; then 430362df5ad0Smrg CWARNFLAGS="-v" 430462df5ad0Smrg fi 430562df5ad0Smrgfi 4306a0d3b6eaSmrg 430762df5ad0Smrg 430862df5ad0Smrg 430962df5ad0Smrg 431062df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for floor in -lm" >&5 431162df5ad0Smrg$as_echo_n "checking for floor in -lm... " >&6; } 431262df5ad0Smrgif test "${ac_cv_lib_m_floor+set}" = set; then 431362df5ad0Smrg $as_echo_n "(cached) " >&6 4314a0d3b6eaSmrgelse 431562df5ad0Smrg ac_check_lib_save_LIBS=$LIBS 431662df5ad0SmrgLIBS="-lm $LIBS" 431762df5ad0Smrgcat >conftest.$ac_ext <<_ACEOF 431862df5ad0Smrg/* confdefs.h. */ 431962df5ad0Smrg_ACEOF 432062df5ad0Smrgcat confdefs.h >>conftest.$ac_ext 432162df5ad0Smrgcat >>conftest.$ac_ext <<_ACEOF 432262df5ad0Smrg/* end confdefs.h. */ 4323a0d3b6eaSmrg 432462df5ad0Smrg/* Override any GCC internal prototype to avoid an error. 432562df5ad0Smrg Use char because int might match the return type of a GCC 432662df5ad0Smrg builtin and then its argument prototype would still apply. */ 432762df5ad0Smrg#ifdef __cplusplus 432862df5ad0Smrgextern "C" 432962df5ad0Smrg#endif 433062df5ad0Smrgchar floor (); 433162df5ad0Smrgint 433262df5ad0Smrgmain () 433362df5ad0Smrg{ 433462df5ad0Smrgreturn floor (); 433562df5ad0Smrg ; 433662df5ad0Smrg return 0; 433762df5ad0Smrg} 433862df5ad0Smrg_ACEOF 433962df5ad0Smrgrm -f conftest.$ac_objext conftest$ac_exeext 434062df5ad0Smrgif { (ac_try="$ac_link" 434162df5ad0Smrgcase "(($ac_try" in 434262df5ad0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 434362df5ad0Smrg *) ac_try_echo=$ac_try;; 434462df5ad0Smrgesac 434562df5ad0Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 434662df5ad0Smrg$as_echo "$ac_try_echo") >&5 434762df5ad0Smrg (eval "$ac_link") 2>conftest.er1 434862df5ad0Smrg ac_status=$? 434962df5ad0Smrg grep -v '^ *+' conftest.er1 >conftest.err 435062df5ad0Smrg rm -f conftest.er1 435162df5ad0Smrg cat conftest.err >&5 435262df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 435362df5ad0Smrg (exit $ac_status); } && { 435462df5ad0Smrg test -z "$ac_c_werror_flag" || 435562df5ad0Smrg test ! -s conftest.err 435662df5ad0Smrg } && test -s conftest$ac_exeext && { 435762df5ad0Smrg test "$cross_compiling" = yes || 435862df5ad0Smrg $as_test_x conftest$ac_exeext 435962df5ad0Smrg }; then 436062df5ad0Smrg ac_cv_lib_m_floor=yes 436162df5ad0Smrgelse 436262df5ad0Smrg $as_echo "$as_me: failed program was:" >&5 436362df5ad0Smrgsed 's/^/| /' conftest.$ac_ext >&5 4364a0d3b6eaSmrg 436562df5ad0Smrg ac_cv_lib_m_floor=no 4366a0d3b6eaSmrgfi 4367a0d3b6eaSmrg 436862df5ad0Smrgrm -rf conftest.dSYM 436962df5ad0Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 437062df5ad0Smrg conftest$ac_exeext conftest.$ac_ext 437162df5ad0SmrgLIBS=$ac_check_lib_save_LIBS 437262df5ad0Smrgfi 437362df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5 437462df5ad0Smrg$as_echo "$ac_cv_lib_m_floor" >&6; } 437562df5ad0Smrgif test "x$ac_cv_lib_m_floor" = x""yes; then 437662df5ad0Smrg cat >>confdefs.h <<_ACEOF 437762df5ad0Smrg#define HAVE_LIBM 1 437862df5ad0Smrg_ACEOF 4379a0d3b6eaSmrg 438062df5ad0Smrg LIBS="-lm $LIBS" 4381a0d3b6eaSmrg 438262df5ad0Smrgfi 4383a0d3b6eaSmrg 4384a0d3b6eaSmrg# Checks for pkg-config packages 4385a0d3b6eaSmrg 4386a0d3b6eaSmrg 4387a0d3b6eaSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4388a0d3b6eaSmrg if test -n "$ac_tool_prefix"; then 4389a0d3b6eaSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4390a0d3b6eaSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 439162df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 439262df5ad0Smrg$as_echo_n "checking for $ac_word... " >&6; } 4393a0d3b6eaSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 439462df5ad0Smrg $as_echo_n "(cached) " >&6 4395a0d3b6eaSmrgelse 4396a0d3b6eaSmrg case $PKG_CONFIG in 4397a0d3b6eaSmrg [\\/]* | ?:[\\/]*) 4398a0d3b6eaSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4399a0d3b6eaSmrg ;; 4400a0d3b6eaSmrg *) 4401a0d3b6eaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4402a0d3b6eaSmrgfor as_dir in $PATH 4403a0d3b6eaSmrgdo 4404a0d3b6eaSmrg IFS=$as_save_IFS 4405a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 4406a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4407a0d3b6eaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4408a0d3b6eaSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 440962df5ad0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4410a0d3b6eaSmrg break 2 4411a0d3b6eaSmrg fi 4412a0d3b6eaSmrgdone 4413a0d3b6eaSmrgdone 4414a0d3b6eaSmrgIFS=$as_save_IFS 4415a0d3b6eaSmrg 4416a0d3b6eaSmrg ;; 4417a0d3b6eaSmrgesac 4418a0d3b6eaSmrgfi 4419a0d3b6eaSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 4420a0d3b6eaSmrgif test -n "$PKG_CONFIG"; then 442162df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 442262df5ad0Smrg$as_echo "$PKG_CONFIG" >&6; } 4423a0d3b6eaSmrgelse 442462df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 442562df5ad0Smrg$as_echo "no" >&6; } 4426a0d3b6eaSmrgfi 4427a0d3b6eaSmrg 4428a0d3b6eaSmrg 4429a0d3b6eaSmrgfi 4430a0d3b6eaSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4431a0d3b6eaSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4432a0d3b6eaSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 4433a0d3b6eaSmrgset dummy pkg-config; ac_word=$2 443462df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 443562df5ad0Smrg$as_echo_n "checking for $ac_word... " >&6; } 4436a0d3b6eaSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 443762df5ad0Smrg $as_echo_n "(cached) " >&6 4438a0d3b6eaSmrgelse 4439a0d3b6eaSmrg case $ac_pt_PKG_CONFIG in 4440a0d3b6eaSmrg [\\/]* | ?:[\\/]*) 4441a0d3b6eaSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4442a0d3b6eaSmrg ;; 4443a0d3b6eaSmrg *) 4444a0d3b6eaSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4445a0d3b6eaSmrgfor as_dir in $PATH 4446a0d3b6eaSmrgdo 4447a0d3b6eaSmrg IFS=$as_save_IFS 4448a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 4449a0d3b6eaSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4450a0d3b6eaSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4451a0d3b6eaSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 445262df5ad0Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4453a0d3b6eaSmrg break 2 4454a0d3b6eaSmrg fi 4455a0d3b6eaSmrgdone 4456a0d3b6eaSmrgdone 4457a0d3b6eaSmrgIFS=$as_save_IFS 4458a0d3b6eaSmrg 4459a0d3b6eaSmrg ;; 4460a0d3b6eaSmrgesac 4461a0d3b6eaSmrgfi 4462a0d3b6eaSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4463a0d3b6eaSmrgif test -n "$ac_pt_PKG_CONFIG"; then 446462df5ad0Smrg { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 446562df5ad0Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4466a0d3b6eaSmrgelse 446762df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 446862df5ad0Smrg$as_echo "no" >&6; } 4469a0d3b6eaSmrgfi 4470a0d3b6eaSmrg 4471a0d3b6eaSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 4472a0d3b6eaSmrg PKG_CONFIG="" 4473a0d3b6eaSmrg else 4474a0d3b6eaSmrg case $cross_compiling:$ac_tool_warned in 4475a0d3b6eaSmrgyes:) 447662df5ad0Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 447762df5ad0Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4478a0d3b6eaSmrgac_tool_warned=yes ;; 4479a0d3b6eaSmrgesac 4480a0d3b6eaSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 4481a0d3b6eaSmrg fi 4482a0d3b6eaSmrgelse 4483a0d3b6eaSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4484a0d3b6eaSmrgfi 4485a0d3b6eaSmrg 4486a0d3b6eaSmrgfi 4487a0d3b6eaSmrgif test -n "$PKG_CONFIG"; then 4488a0d3b6eaSmrg _pkg_min_version=0.9.0 448962df5ad0Smrg { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 449062df5ad0Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4491a0d3b6eaSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 449262df5ad0Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 449362df5ad0Smrg$as_echo "yes" >&6; } 4494a0d3b6eaSmrg else 449562df5ad0Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 449662df5ad0Smrg$as_echo "no" >&6; } 4497a0d3b6eaSmrg PKG_CONFIG="" 4498a0d3b6eaSmrg fi 4499a0d3b6eaSmrg 4500a0d3b6eaSmrgfi 4501a0d3b6eaSmrg 4502a0d3b6eaSmrgpkg_failed=no 450362df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking for XRANDR" >&5 450462df5ad0Smrg$as_echo_n "checking for XRANDR... " >&6; } 4505a0d3b6eaSmrg 4506a0d3b6eaSmrgif test -n "$XRANDR_CFLAGS"; then 4507a0d3b6eaSmrg pkg_cv_XRANDR_CFLAGS="$XRANDR_CFLAGS" 4508a0d3b6eaSmrg elif test -n "$PKG_CONFIG"; then 4509a0d3b6eaSmrg if test -n "$PKG_CONFIG" && \ 451062df5ad0Smrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.2.99.3 xrender x11\"") >&5 451162df5ad0Smrg ($PKG_CONFIG --exists --print-errors "xrandr >= 1.2.99.3 xrender x11") 2>&5 4512a0d3b6eaSmrg ac_status=$? 451362df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4514a0d3b6eaSmrg (exit $ac_status); }; then 451562df5ad0Smrg pkg_cv_XRANDR_CFLAGS=`$PKG_CONFIG --cflags "xrandr >= 1.2.99.3 xrender x11" 2>/dev/null` 4516a0d3b6eaSmrgelse 4517a0d3b6eaSmrg pkg_failed=yes 4518a0d3b6eaSmrgfi 4519a0d3b6eaSmrg else 4520a0d3b6eaSmrg pkg_failed=untried 4521a0d3b6eaSmrgfi 4522a0d3b6eaSmrgif test -n "$XRANDR_LIBS"; then 4523a0d3b6eaSmrg pkg_cv_XRANDR_LIBS="$XRANDR_LIBS" 4524a0d3b6eaSmrg elif test -n "$PKG_CONFIG"; then 4525a0d3b6eaSmrg if test -n "$PKG_CONFIG" && \ 452662df5ad0Smrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.2.99.3 xrender x11\"") >&5 452762df5ad0Smrg ($PKG_CONFIG --exists --print-errors "xrandr >= 1.2.99.3 xrender x11") 2>&5 4528a0d3b6eaSmrg ac_status=$? 452962df5ad0Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4530a0d3b6eaSmrg (exit $ac_status); }; then 453162df5ad0Smrg pkg_cv_XRANDR_LIBS=`$PKG_CONFIG --libs "xrandr >= 1.2.99.3 xrender x11" 2>/dev/null` 4532a0d3b6eaSmrgelse 4533a0d3b6eaSmrg pkg_failed=yes 4534a0d3b6eaSmrgfi 4535a0d3b6eaSmrg else 4536a0d3b6eaSmrg pkg_failed=untried 4537a0d3b6eaSmrgfi 4538a0d3b6eaSmrg 4539a0d3b6eaSmrg 4540a0d3b6eaSmrg 4541a0d3b6eaSmrgif test $pkg_failed = yes; then 4542a0d3b6eaSmrg 4543a0d3b6eaSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4544a0d3b6eaSmrg _pkg_short_errors_supported=yes 4545a0d3b6eaSmrgelse 4546a0d3b6eaSmrg _pkg_short_errors_supported=no 4547a0d3b6eaSmrgfi 4548a0d3b6eaSmrg if test $_pkg_short_errors_supported = yes; then 454962df5ad0Smrg XRANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrandr >= 1.2.99.3 xrender x11" 2>&1` 4550a0d3b6eaSmrg else 455162df5ad0Smrg XRANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrandr >= 1.2.99.3 xrender x11" 2>&1` 4552a0d3b6eaSmrg fi 4553a0d3b6eaSmrg # Put the nasty error message in config.log where it belongs 4554a0d3b6eaSmrg echo "$XRANDR_PKG_ERRORS" >&5 4555a0d3b6eaSmrg 455662df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: Package requirements (xrandr >= 1.2.99.3 xrender x11) were not met: 4557a0d3b6eaSmrg 4558a0d3b6eaSmrg$XRANDR_PKG_ERRORS 4559a0d3b6eaSmrg 4560a0d3b6eaSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 4561a0d3b6eaSmrginstalled software in a non-standard prefix. 4562a0d3b6eaSmrg 4563a0d3b6eaSmrgAlternatively, you may set the environment variables XRANDR_CFLAGS 4564a0d3b6eaSmrgand XRANDR_LIBS to avoid the need to call pkg-config. 4565a0d3b6eaSmrgSee the pkg-config man page for more details. 4566a0d3b6eaSmrg" >&5 456762df5ad0Smrg$as_echo "$as_me: error: Package requirements (xrandr >= 1.2.99.3 xrender x11) were not met: 4568a0d3b6eaSmrg 4569a0d3b6eaSmrg$XRANDR_PKG_ERRORS 4570a0d3b6eaSmrg 4571a0d3b6eaSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 4572a0d3b6eaSmrginstalled software in a non-standard prefix. 4573a0d3b6eaSmrg 4574a0d3b6eaSmrgAlternatively, you may set the environment variables XRANDR_CFLAGS 4575a0d3b6eaSmrgand XRANDR_LIBS to avoid the need to call pkg-config. 4576a0d3b6eaSmrgSee the pkg-config man page for more details. 4577a0d3b6eaSmrg" >&2;} 4578a0d3b6eaSmrg { (exit 1); exit 1; }; } 4579a0d3b6eaSmrgelif test $pkg_failed = untried; then 458062df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 458162df5ad0Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 458262df5ad0Smrg{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 4583a0d3b6eaSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 4584a0d3b6eaSmrgpath to pkg-config. 4585a0d3b6eaSmrg 4586a0d3b6eaSmrgAlternatively, you may set the environment variables XRANDR_CFLAGS 4587a0d3b6eaSmrgand XRANDR_LIBS to avoid the need to call pkg-config. 4588a0d3b6eaSmrgSee the pkg-config man page for more details. 4589a0d3b6eaSmrg 4590a0d3b6eaSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 4591a0d3b6eaSmrgSee \`config.log' for more details." >&5 459262df5ad0Smrg$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 4593a0d3b6eaSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 4594a0d3b6eaSmrgpath to pkg-config. 4595a0d3b6eaSmrg 4596a0d3b6eaSmrgAlternatively, you may set the environment variables XRANDR_CFLAGS 4597a0d3b6eaSmrgand XRANDR_LIBS to avoid the need to call pkg-config. 4598a0d3b6eaSmrgSee the pkg-config man page for more details. 4599a0d3b6eaSmrg 4600a0d3b6eaSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 4601a0d3b6eaSmrgSee \`config.log' for more details." >&2;} 460262df5ad0Smrg { (exit 1); exit 1; }; }; } 4603a0d3b6eaSmrgelse 4604a0d3b6eaSmrg XRANDR_CFLAGS=$pkg_cv_XRANDR_CFLAGS 4605a0d3b6eaSmrg XRANDR_LIBS=$pkg_cv_XRANDR_LIBS 460662df5ad0Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 460762df5ad0Smrg$as_echo "yes" >&6; } 4608a0d3b6eaSmrg : 4609a0d3b6eaSmrgfi 461062df5ad0SmrgXRANDR_CFLAGS="$CWARNFLAGS $XRANDR_CFLAGS" 4611a0d3b6eaSmrg 4612a0d3b6eaSmrg 4613a0d3b6eaSmrg 4614a0d3b6eaSmrg# Make sure we can run config.sub. 4615a0d3b6eaSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 461662df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 461762df5ad0Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4618a0d3b6eaSmrg { (exit 1); exit 1; }; } 4619a0d3b6eaSmrg 462062df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5 462162df5ad0Smrg$as_echo_n "checking build system type... " >&6; } 4622a0d3b6eaSmrgif test "${ac_cv_build+set}" = set; then 462362df5ad0Smrg $as_echo_n "(cached) " >&6 4624a0d3b6eaSmrgelse 4625a0d3b6eaSmrg ac_build_alias=$build_alias 4626a0d3b6eaSmrgtest "x$ac_build_alias" = x && 4627a0d3b6eaSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4628a0d3b6eaSmrgtest "x$ac_build_alias" = x && 462962df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 463062df5ad0Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4631a0d3b6eaSmrg { (exit 1); exit 1; }; } 4632a0d3b6eaSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 463362df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 463462df5ad0Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4635a0d3b6eaSmrg { (exit 1); exit 1; }; } 4636a0d3b6eaSmrg 4637a0d3b6eaSmrgfi 463862df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 463962df5ad0Smrg$as_echo "$ac_cv_build" >&6; } 4640a0d3b6eaSmrgcase $ac_cv_build in 4641a0d3b6eaSmrg*-*-*) ;; 464262df5ad0Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 464362df5ad0Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;} 4644a0d3b6eaSmrg { (exit 1); exit 1; }; };; 4645a0d3b6eaSmrgesac 4646a0d3b6eaSmrgbuild=$ac_cv_build 4647a0d3b6eaSmrgac_save_IFS=$IFS; IFS='-' 4648a0d3b6eaSmrgset x $ac_cv_build 4649a0d3b6eaSmrgshift 4650a0d3b6eaSmrgbuild_cpu=$1 4651a0d3b6eaSmrgbuild_vendor=$2 4652a0d3b6eaSmrgshift; shift 4653a0d3b6eaSmrg# Remember, the first character of IFS is used to create $*, 4654a0d3b6eaSmrg# except with old shells: 4655a0d3b6eaSmrgbuild_os=$* 4656a0d3b6eaSmrgIFS=$ac_save_IFS 4657a0d3b6eaSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4658a0d3b6eaSmrg 4659a0d3b6eaSmrg 466062df5ad0Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5 466162df5ad0Smrg$as_echo_n "checking host system type... " >&6; } 4662a0d3b6eaSmrgif test "${ac_cv_host+set}" = set; then 466362df5ad0Smrg $as_echo_n "(cached) " >&6 4664a0d3b6eaSmrgelse 4665a0d3b6eaSmrg if test "x$host_alias" = x; then 4666a0d3b6eaSmrg ac_cv_host=$ac_cv_build 4667a0d3b6eaSmrgelse 4668a0d3b6eaSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 466962df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 467062df5ad0Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4671a0d3b6eaSmrg { (exit 1); exit 1; }; } 4672a0d3b6eaSmrgfi 4673a0d3b6eaSmrg 4674a0d3b6eaSmrgfi 467562df5ad0Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 467662df5ad0Smrg$as_echo "$ac_cv_host" >&6; } 4677a0d3b6eaSmrgcase $ac_cv_host in 4678a0d3b6eaSmrg*-*-*) ;; 467962df5ad0Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 468062df5ad0Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;} 4681a0d3b6eaSmrg { (exit 1); exit 1; }; };; 4682a0d3b6eaSmrgesac 4683a0d3b6eaSmrghost=$ac_cv_host 4684a0d3b6eaSmrgac_save_IFS=$IFS; IFS='-' 4685a0d3b6eaSmrgset x $ac_cv_host 4686a0d3b6eaSmrgshift 4687a0d3b6eaSmrghost_cpu=$1 4688a0d3b6eaSmrghost_vendor=$2 4689a0d3b6eaSmrgshift; shift 4690a0d3b6eaSmrg# Remember, the first character of IFS is used to create $*, 4691a0d3b6eaSmrg# except with old shells: 4692a0d3b6eaSmrghost_os=$* 4693a0d3b6eaSmrgIFS=$ac_save_IFS 4694a0d3b6eaSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4695a0d3b6eaSmrg 4696a0d3b6eaSmrg 4697a0d3b6eaSmrg 4698a0d3b6eaSmrg 4699a0d3b6eaSmrg 4700a0d3b6eaSmrgif test x$APP_MAN_SUFFIX = x ; then 4701a0d3b6eaSmrg APP_MAN_SUFFIX=1 4702a0d3b6eaSmrgfi 4703a0d3b6eaSmrgif test x$APP_MAN_DIR = x ; then 4704a0d3b6eaSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4705a0d3b6eaSmrgfi 4706a0d3b6eaSmrg 4707a0d3b6eaSmrgif test x$LIB_MAN_SUFFIX = x ; then 4708a0d3b6eaSmrg LIB_MAN_SUFFIX=3 4709a0d3b6eaSmrgfi 4710a0d3b6eaSmrgif test x$LIB_MAN_DIR = x ; then 4711a0d3b6eaSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4712a0d3b6eaSmrgfi 4713a0d3b6eaSmrg 4714a0d3b6eaSmrgif test x$FILE_MAN_SUFFIX = x ; then 4715a0d3b6eaSmrg case $host_os in 4716a0d3b6eaSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 4717a0d3b6eaSmrg *) FILE_MAN_SUFFIX=5 ;; 4718a0d3b6eaSmrg esac 4719a0d3b6eaSmrgfi 4720a0d3b6eaSmrgif test x$FILE_MAN_DIR = x ; then 4721a0d3b6eaSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4722a0d3b6eaSmrgfi 4723a0d3b6eaSmrg 4724a0d3b6eaSmrgif test x$MISC_MAN_SUFFIX = x ; then 4725a0d3b6eaSmrg case $host_os in 4726a0d3b6eaSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 4727a0d3b6eaSmrg *) MISC_MAN_SUFFIX=7 ;; 4728a0d3b6eaSmrg esac 4729a0d3b6eaSmrgfi 4730a0d3b6eaSmrgif test x$MISC_MAN_DIR = x ; then 4731a0d3b6eaSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4732a0d3b6eaSmrgfi 4733a0d3b6eaSmrg 4734a0d3b6eaSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 4735a0d3b6eaSmrg case $host_os in 4736a0d3b6eaSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 4737a0d3b6eaSmrg *) DRIVER_MAN_SUFFIX=4 ;; 4738a0d3b6eaSmrg esac 4739a0d3b6eaSmrgfi 4740a0d3b6eaSmrgif test x$DRIVER_MAN_DIR = x ; then 4741a0d3b6eaSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4742a0d3b6eaSmrgfi 4743a0d3b6eaSmrg 4744a0d3b6eaSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 4745a0d3b6eaSmrg case $host_os in 4746a0d3b6eaSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 4747a0d3b6eaSmrg *) ADMIN_MAN_SUFFIX=8 ;; 4748a0d3b6eaSmrg esac 4749a0d3b6eaSmrgfi 4750a0d3b6eaSmrgif test x$ADMIN_MAN_DIR = x ; then 4751a0d3b6eaSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4752a0d3b6eaSmrgfi 4753a0d3b6eaSmrg 4754a0d3b6eaSmrg 4755a0d3b6eaSmrg 4756a0d3b6eaSmrg 4757a0d3b6eaSmrg 4758a0d3b6eaSmrg 4759a0d3b6eaSmrg 4760a0d3b6eaSmrg 4761a0d3b6eaSmrg 4762a0d3b6eaSmrg 4763a0d3b6eaSmrg 4764a0d3b6eaSmrg 4765a0d3b6eaSmrg 4766a0d3b6eaSmrg 4767a0d3b6eaSmrg 4768a0d3b6eaSmrg 4769a0d3b6eaSmrg 4770a0d3b6eaSmrg# Check whether --with-release-version was given. 4771a0d3b6eaSmrgif test "${with_release_version+set}" = set; then 4772a0d3b6eaSmrg withval=$with_release_version; RELEASE_VERSION="$withval" 4773a0d3b6eaSmrgelse 4774a0d3b6eaSmrg RELEASE_VERSION="" 4775a0d3b6eaSmrgfi 4776a0d3b6eaSmrg 4777a0d3b6eaSmrg if test "x$RELEASE_VERSION" != "x"; then 4778a0d3b6eaSmrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 4779a0d3b6eaSmrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 478062df5ad0Smrg { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 478162df5ad0Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 4782a0d3b6eaSmrg fi 4783a0d3b6eaSmrg 4784a0d3b6eaSmrgcat >>confdefs.h <<_ACEOF 4785a0d3b6eaSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4786a0d3b6eaSmrg_ACEOF 4787a0d3b6eaSmrg 4788a0d3b6eaSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4789a0d3b6eaSmrg if test "x$PVM" = "x"; then 4790a0d3b6eaSmrg PVM="0" 4791a0d3b6eaSmrg fi 4792a0d3b6eaSmrg 4793a0d3b6eaSmrgcat >>confdefs.h <<_ACEOF 4794a0d3b6eaSmrg#define PACKAGE_VERSION_MINOR $PVM 4795a0d3b6eaSmrg_ACEOF 4796a0d3b6eaSmrg 4797a0d3b6eaSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4798a0d3b6eaSmrg if test "x$PVP" = "x"; then 4799a0d3b6eaSmrg PVP="0" 4800a0d3b6eaSmrg fi 4801a0d3b6eaSmrg 4802a0d3b6eaSmrgcat >>confdefs.h <<_ACEOF 4803a0d3b6eaSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 4804a0d3b6eaSmrg_ACEOF 4805a0d3b6eaSmrg 4806a0d3b6eaSmrg 4807a0d3b6eaSmrg 480862df5ad0SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 480962df5ad0Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 481062df5ad0Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 481162df5ad0Smrg 481262df5ad0Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 481362df5ad0Smrg 481462df5ad0Smrg 481562df5ad0Smrg 4816a0d3b6eaSmrgac_config_files="$ac_config_files Makefile" 4817a0d3b6eaSmrg 4818a0d3b6eaSmrgcat >confcache <<\_ACEOF 4819a0d3b6eaSmrg# This file is a shell script that caches the results of configure 4820a0d3b6eaSmrg# tests run on this system so they can be shared between configure 4821a0d3b6eaSmrg# scripts and configure runs, see configure's option --config-cache. 4822a0d3b6eaSmrg# It is not useful on other systems. If it contains results you don't 4823a0d3b6eaSmrg# want to keep, you may remove or edit it. 4824a0d3b6eaSmrg# 4825a0d3b6eaSmrg# config.status only pays attention to the cache file if you give it 4826a0d3b6eaSmrg# the --recheck option to rerun configure. 4827a0d3b6eaSmrg# 4828a0d3b6eaSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 4829a0d3b6eaSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 4830a0d3b6eaSmrg# following values. 4831a0d3b6eaSmrg 4832a0d3b6eaSmrg_ACEOF 4833a0d3b6eaSmrg 4834a0d3b6eaSmrg# The following way of writing the cache mishandles newlines in values, 4835a0d3b6eaSmrg# but we know of no workaround that is simple, portable, and efficient. 4836a0d3b6eaSmrg# So, we kill variables containing newlines. 4837a0d3b6eaSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 4838a0d3b6eaSmrg# and sets the high bit in the cache file unless we assign to the vars. 4839a0d3b6eaSmrg( 4840a0d3b6eaSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4841a0d3b6eaSmrg eval ac_val=\$$ac_var 4842a0d3b6eaSmrg case $ac_val in #( 4843a0d3b6eaSmrg *${as_nl}*) 4844a0d3b6eaSmrg case $ac_var in #( 484562df5ad0Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 484662df5ad0Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4847a0d3b6eaSmrg esac 4848a0d3b6eaSmrg case $ac_var in #( 4849a0d3b6eaSmrg _ | IFS | as_nl) ;; #( 485062df5ad0Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4851a0d3b6eaSmrg *) $as_unset $ac_var ;; 4852a0d3b6eaSmrg esac ;; 4853a0d3b6eaSmrg esac 4854a0d3b6eaSmrg done 4855a0d3b6eaSmrg 4856a0d3b6eaSmrg (set) 2>&1 | 4857a0d3b6eaSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 4858a0d3b6eaSmrg *${as_nl}ac_space=\ *) 4859a0d3b6eaSmrg # `set' does not quote correctly, so add quotes (double-quote 4860a0d3b6eaSmrg # substitution turns \\\\ into \\, and sed turns \\ into \). 4861a0d3b6eaSmrg sed -n \ 4862a0d3b6eaSmrg "s/'/'\\\\''/g; 4863a0d3b6eaSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4864a0d3b6eaSmrg ;; #( 4865a0d3b6eaSmrg *) 4866a0d3b6eaSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 4867a0d3b6eaSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4868a0d3b6eaSmrg ;; 4869a0d3b6eaSmrg esac | 4870a0d3b6eaSmrg sort 4871a0d3b6eaSmrg) | 4872a0d3b6eaSmrg sed ' 4873a0d3b6eaSmrg /^ac_cv_env_/b end 4874a0d3b6eaSmrg t clear 4875a0d3b6eaSmrg :clear 4876a0d3b6eaSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4877a0d3b6eaSmrg t end 4878a0d3b6eaSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4879a0d3b6eaSmrg :end' >>confcache 4880a0d3b6eaSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4881a0d3b6eaSmrg if test -w "$cache_file"; then 4882a0d3b6eaSmrg test "x$cache_file" != "x/dev/null" && 488362df5ad0Smrg { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 488462df5ad0Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 4885a0d3b6eaSmrg cat confcache >$cache_file 4886a0d3b6eaSmrg else 488762df5ad0Smrg { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 488862df5ad0Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4889a0d3b6eaSmrg fi 4890a0d3b6eaSmrgfi 4891a0d3b6eaSmrgrm -f confcache 4892a0d3b6eaSmrg 4893a0d3b6eaSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 4894a0d3b6eaSmrg# Let make expand exec_prefix. 4895a0d3b6eaSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4896a0d3b6eaSmrg 4897a0d3b6eaSmrgDEFS=-DHAVE_CONFIG_H 4898a0d3b6eaSmrg 4899a0d3b6eaSmrgac_libobjs= 4900a0d3b6eaSmrgac_ltlibobjs= 4901a0d3b6eaSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4902a0d3b6eaSmrg # 1. Remove the extension, and $U if already installed. 4903a0d3b6eaSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 490462df5ad0Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4905a0d3b6eaSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4906a0d3b6eaSmrg # will be set to the directory where LIBOBJS objects are built. 4907a0d3b6eaSmrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4908a0d3b6eaSmrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 4909a0d3b6eaSmrgdone 4910a0d3b6eaSmrgLIBOBJS=$ac_libobjs 4911a0d3b6eaSmrg 4912a0d3b6eaSmrgLTLIBOBJS=$ac_ltlibobjs 4913a0d3b6eaSmrg 4914a0d3b6eaSmrg 4915a0d3b6eaSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 491662df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 4917a0d3b6eaSmrgUsually this means the macro was only invoked conditionally." >&5 491862df5ad0Smrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 4919a0d3b6eaSmrgUsually this means the macro was only invoked conditionally." >&2;} 4920a0d3b6eaSmrg { (exit 1); exit 1; }; } 4921a0d3b6eaSmrgfi 4922a0d3b6eaSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 492362df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 4924a0d3b6eaSmrgUsually this means the macro was only invoked conditionally." >&5 492562df5ad0Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 4926a0d3b6eaSmrgUsually this means the macro was only invoked conditionally." >&2;} 4927a0d3b6eaSmrg { (exit 1); exit 1; }; } 4928a0d3b6eaSmrgfi 4929a0d3b6eaSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 493062df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 4931a0d3b6eaSmrgUsually this means the macro was only invoked conditionally." >&5 493262df5ad0Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 4933a0d3b6eaSmrgUsually this means the macro was only invoked conditionally." >&2;} 4934a0d3b6eaSmrg { (exit 1); exit 1; }; } 4935a0d3b6eaSmrgfi 4936a0d3b6eaSmrg 4937a0d3b6eaSmrg: ${CONFIG_STATUS=./config.status} 493862df5ad0Smrgac_write_fail=0 4939a0d3b6eaSmrgac_clean_files_save=$ac_clean_files 4940a0d3b6eaSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 494162df5ad0Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 494262df5ad0Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 494362df5ad0Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4944a0d3b6eaSmrg#! $SHELL 4945a0d3b6eaSmrg# Generated by $as_me. 4946a0d3b6eaSmrg# Run this file to recreate the current configuration. 4947a0d3b6eaSmrg# Compiler output produced by configure, useful for debugging 4948a0d3b6eaSmrg# configure, is in config.log if it exists. 4949a0d3b6eaSmrg 4950a0d3b6eaSmrgdebug=false 4951a0d3b6eaSmrgac_cs_recheck=false 4952a0d3b6eaSmrgac_cs_silent=false 4953a0d3b6eaSmrgSHELL=\${CONFIG_SHELL-$SHELL} 4954a0d3b6eaSmrg_ACEOF 4955a0d3b6eaSmrg 495662df5ad0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4957a0d3b6eaSmrg## --------------------- ## 4958a0d3b6eaSmrg## M4sh Initialization. ## 4959a0d3b6eaSmrg## --------------------- ## 4960a0d3b6eaSmrg 4961a0d3b6eaSmrg# Be more Bourne compatible 4962a0d3b6eaSmrgDUALCASE=1; export DUALCASE # for MKS sh 4963a0d3b6eaSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4964a0d3b6eaSmrg emulate sh 4965a0d3b6eaSmrg NULLCMD=: 496662df5ad0Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4967a0d3b6eaSmrg # is contrary to our usage. Disable this feature. 4968a0d3b6eaSmrg alias -g '${1+"$@"}'='"$@"' 4969a0d3b6eaSmrg setopt NO_GLOB_SUBST 4970a0d3b6eaSmrgelse 4971a0d3b6eaSmrg case `(set -o) 2>/dev/null` in 4972a0d3b6eaSmrg *posix*) set -o posix ;; 4973a0d3b6eaSmrgesac 4974a0d3b6eaSmrg 4975a0d3b6eaSmrgfi 4976a0d3b6eaSmrg 4977a0d3b6eaSmrg 4978a0d3b6eaSmrg 4979a0d3b6eaSmrg 4980a0d3b6eaSmrg# PATH needs CR 4981a0d3b6eaSmrg# Avoid depending upon Character Ranges. 4982a0d3b6eaSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4983a0d3b6eaSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4984a0d3b6eaSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4985a0d3b6eaSmrgas_cr_digits='0123456789' 4986a0d3b6eaSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4987a0d3b6eaSmrg 498862df5ad0Smrgas_nl=' 498962df5ad0Smrg' 499062df5ad0Smrgexport as_nl 499162df5ad0Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 499262df5ad0Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 499362df5ad0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 499462df5ad0Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 499562df5ad0Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 499662df5ad0Smrg as_echo='printf %s\n' 499762df5ad0Smrg as_echo_n='printf %s' 499862df5ad0Smrgelse 499962df5ad0Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 500062df5ad0Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 500162df5ad0Smrg as_echo_n='/usr/ucb/echo -n' 5002a0d3b6eaSmrg else 500362df5ad0Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 500462df5ad0Smrg as_echo_n_body='eval 500562df5ad0Smrg arg=$1; 500662df5ad0Smrg case $arg in 500762df5ad0Smrg *"$as_nl"*) 500862df5ad0Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 500962df5ad0Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 501062df5ad0Smrg esac; 501162df5ad0Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 501262df5ad0Smrg ' 501362df5ad0Smrg export as_echo_n_body 501462df5ad0Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 5015a0d3b6eaSmrg fi 501662df5ad0Smrg export as_echo_body 501762df5ad0Smrg as_echo='sh -c $as_echo_body as_echo' 501862df5ad0Smrgfi 501962df5ad0Smrg 502062df5ad0Smrg# The user is always right. 502162df5ad0Smrgif test "${PATH_SEPARATOR+set}" != set; then 502262df5ad0Smrg PATH_SEPARATOR=: 502362df5ad0Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 502462df5ad0Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 502562df5ad0Smrg PATH_SEPARATOR=';' 502662df5ad0Smrg } 5027a0d3b6eaSmrgfi 5028a0d3b6eaSmrg 5029a0d3b6eaSmrg# Support unset when possible. 5030a0d3b6eaSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5031a0d3b6eaSmrg as_unset=unset 5032a0d3b6eaSmrgelse 5033a0d3b6eaSmrg as_unset=false 5034a0d3b6eaSmrgfi 5035a0d3b6eaSmrg 5036a0d3b6eaSmrg 5037a0d3b6eaSmrg# IFS 5038a0d3b6eaSmrg# We need space, tab and new line, in precisely that order. Quoting is 5039a0d3b6eaSmrg# there to prevent editors from complaining about space-tab. 5040a0d3b6eaSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5041a0d3b6eaSmrg# splitting by setting IFS to empty value.) 5042a0d3b6eaSmrgIFS=" "" $as_nl" 5043a0d3b6eaSmrg 5044a0d3b6eaSmrg# Find who we are. Look in the path if we contain no directory separator. 5045a0d3b6eaSmrgcase $0 in 5046a0d3b6eaSmrg *[\\/]* ) as_myself=$0 ;; 5047a0d3b6eaSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5048a0d3b6eaSmrgfor as_dir in $PATH 5049a0d3b6eaSmrgdo 5050a0d3b6eaSmrg IFS=$as_save_IFS 5051a0d3b6eaSmrg test -z "$as_dir" && as_dir=. 5052a0d3b6eaSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5053a0d3b6eaSmrgdone 5054a0d3b6eaSmrgIFS=$as_save_IFS 5055a0d3b6eaSmrg 5056a0d3b6eaSmrg ;; 5057a0d3b6eaSmrgesac 5058a0d3b6eaSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 5059a0d3b6eaSmrg# in which case we are not to be found in the path. 5060a0d3b6eaSmrgif test "x$as_myself" = x; then 5061a0d3b6eaSmrg as_myself=$0 5062a0d3b6eaSmrgfi 5063a0d3b6eaSmrgif test ! -f "$as_myself"; then 506462df5ad0Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5065a0d3b6eaSmrg { (exit 1); exit 1; } 5066a0d3b6eaSmrgfi 5067a0d3b6eaSmrg 5068a0d3b6eaSmrg# Work around bugs in pre-3.0 UWIN ksh. 5069a0d3b6eaSmrgfor as_var in ENV MAIL MAILPATH 5070a0d3b6eaSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5071a0d3b6eaSmrgdone 5072a0d3b6eaSmrgPS1='$ ' 5073a0d3b6eaSmrgPS2='> ' 5074a0d3b6eaSmrgPS4='+ ' 5075a0d3b6eaSmrg 5076a0d3b6eaSmrg# NLS nuisances. 507762df5ad0SmrgLC_ALL=C 507862df5ad0Smrgexport LC_ALL 507962df5ad0SmrgLANGUAGE=C 508062df5ad0Smrgexport LANGUAGE 5081a0d3b6eaSmrg 5082a0d3b6eaSmrg# Required to use basename. 5083a0d3b6eaSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 5084a0d3b6eaSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5085a0d3b6eaSmrg as_expr=expr 5086a0d3b6eaSmrgelse 5087a0d3b6eaSmrg as_expr=false 5088a0d3b6eaSmrgfi 5089a0d3b6eaSmrg 5090a0d3b6eaSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5091a0d3b6eaSmrg as_basename=basename 5092a0d3b6eaSmrgelse 5093a0d3b6eaSmrg as_basename=false 5094a0d3b6eaSmrgfi 5095a0d3b6eaSmrg 5096a0d3b6eaSmrg 5097a0d3b6eaSmrg# Name of the executable. 5098a0d3b6eaSmrgas_me=`$as_basename -- "$0" || 5099a0d3b6eaSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5100a0d3b6eaSmrg X"$0" : 'X\(//\)$' \| \ 5101a0d3b6eaSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 510262df5ad0Smrg$as_echo X/"$0" | 5103a0d3b6eaSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 5104a0d3b6eaSmrg s//\1/ 5105a0d3b6eaSmrg q 5106a0d3b6eaSmrg } 5107a0d3b6eaSmrg /^X\/\(\/\/\)$/{ 5108a0d3b6eaSmrg s//\1/ 5109a0d3b6eaSmrg q 5110a0d3b6eaSmrg } 5111a0d3b6eaSmrg /^X\/\(\/\).*/{ 5112a0d3b6eaSmrg s//\1/ 5113a0d3b6eaSmrg q 5114a0d3b6eaSmrg } 5115a0d3b6eaSmrg s/.*/./; q'` 5116a0d3b6eaSmrg 5117a0d3b6eaSmrg# CDPATH. 5118a0d3b6eaSmrg$as_unset CDPATH 5119a0d3b6eaSmrg 5120a0d3b6eaSmrg 5121a0d3b6eaSmrg 5122a0d3b6eaSmrg as_lineno_1=$LINENO 5123a0d3b6eaSmrg as_lineno_2=$LINENO 5124a0d3b6eaSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 5125a0d3b6eaSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5126a0d3b6eaSmrg 5127a0d3b6eaSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5128a0d3b6eaSmrg # uniformly replaced by the line number. The first 'sed' inserts a 5129a0d3b6eaSmrg # line-number line after each line using $LINENO; the second 'sed' 5130a0d3b6eaSmrg # does the real work. The second script uses 'N' to pair each 5131a0d3b6eaSmrg # line-number line with the line containing $LINENO, and appends 5132a0d3b6eaSmrg # trailing '-' during substitution so that $LINENO is not a special 5133a0d3b6eaSmrg # case at line end. 5134a0d3b6eaSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5135a0d3b6eaSmrg # scripts with optimization help from Paolo Bonzini. Blame Lee 5136a0d3b6eaSmrg # E. McMahon (1931-1989) for sed's syntax. :-) 5137a0d3b6eaSmrg sed -n ' 5138a0d3b6eaSmrg p 5139a0d3b6eaSmrg /[$]LINENO/= 5140a0d3b6eaSmrg ' <$as_myself | 5141a0d3b6eaSmrg sed ' 5142a0d3b6eaSmrg s/[$]LINENO.*/&-/ 5143a0d3b6eaSmrg t lineno 5144a0d3b6eaSmrg b 5145a0d3b6eaSmrg :lineno 5146a0d3b6eaSmrg N 5147a0d3b6eaSmrg :loop 5148a0d3b6eaSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5149a0d3b6eaSmrg t loop 5150a0d3b6eaSmrg s/-\n.*// 5151a0d3b6eaSmrg ' >$as_me.lineno && 5152a0d3b6eaSmrg chmod +x "$as_me.lineno" || 515362df5ad0Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5154a0d3b6eaSmrg { (exit 1); exit 1; }; } 5155a0d3b6eaSmrg 5156a0d3b6eaSmrg # Don't try to exec as it changes $[0], causing all sort of problems 5157a0d3b6eaSmrg # (the dirname of $[0] is not the place where we might find the 5158a0d3b6eaSmrg # original and so on. Autoconf is especially sensitive to this). 5159a0d3b6eaSmrg . "./$as_me.lineno" 5160a0d3b6eaSmrg # Exit status is that of the last command. 5161a0d3b6eaSmrg exit 5162a0d3b6eaSmrg} 5163a0d3b6eaSmrg 5164a0d3b6eaSmrg 5165a0d3b6eaSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5166a0d3b6eaSmrg as_dirname=dirname 5167a0d3b6eaSmrgelse 5168a0d3b6eaSmrg as_dirname=false 5169a0d3b6eaSmrgfi 5170a0d3b6eaSmrg 5171a0d3b6eaSmrgECHO_C= ECHO_N= ECHO_T= 5172a0d3b6eaSmrgcase `echo -n x` in 5173a0d3b6eaSmrg-n*) 5174a0d3b6eaSmrg case `echo 'x\c'` in 5175a0d3b6eaSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5176a0d3b6eaSmrg *) ECHO_C='\c';; 5177a0d3b6eaSmrg esac;; 5178a0d3b6eaSmrg*) 5179a0d3b6eaSmrg ECHO_N='-n';; 5180a0d3b6eaSmrgesac 5181a0d3b6eaSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 5182a0d3b6eaSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5183a0d3b6eaSmrg as_expr=expr 5184a0d3b6eaSmrgelse 5185a0d3b6eaSmrg as_expr=false 5186a0d3b6eaSmrgfi 5187a0d3b6eaSmrg 5188a0d3b6eaSmrgrm -f conf$$ conf$$.exe conf$$.file 5189a0d3b6eaSmrgif test -d conf$$.dir; then 5190a0d3b6eaSmrg rm -f conf$$.dir/conf$$.file 5191a0d3b6eaSmrgelse 5192a0d3b6eaSmrg rm -f conf$$.dir 519362df5ad0Smrg mkdir conf$$.dir 2>/dev/null 519462df5ad0Smrgfi 519562df5ad0Smrgif (echo >conf$$.file) 2>/dev/null; then 519662df5ad0Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 519762df5ad0Smrg as_ln_s='ln -s' 519862df5ad0Smrg # ... but there are two gotchas: 519962df5ad0Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 520062df5ad0Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 520162df5ad0Smrg # In both cases, we have to default to `cp -p'. 520262df5ad0Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 520362df5ad0Smrg as_ln_s='cp -p' 520462df5ad0Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 520562df5ad0Smrg as_ln_s=ln 520662df5ad0Smrg else 5207a0d3b6eaSmrg as_ln_s='cp -p' 520862df5ad0Smrg fi 5209a0d3b6eaSmrgelse 5210a0d3b6eaSmrg as_ln_s='cp -p' 5211a0d3b6eaSmrgfi 5212a0d3b6eaSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5213a0d3b6eaSmrgrmdir conf$$.dir 2>/dev/null 5214a0d3b6eaSmrg 5215a0d3b6eaSmrgif mkdir -p . 2>/dev/null; then 5216a0d3b6eaSmrg as_mkdir_p=: 5217a0d3b6eaSmrgelse 5218a0d3b6eaSmrg test -d ./-p && rmdir ./-p 5219a0d3b6eaSmrg as_mkdir_p=false 5220a0d3b6eaSmrgfi 5221a0d3b6eaSmrg 5222a0d3b6eaSmrgif test -x / >/dev/null 2>&1; then 5223a0d3b6eaSmrg as_test_x='test -x' 5224a0d3b6eaSmrgelse 5225a0d3b6eaSmrg if ls -dL / >/dev/null 2>&1; then 5226a0d3b6eaSmrg as_ls_L_option=L 5227a0d3b6eaSmrg else 5228a0d3b6eaSmrg as_ls_L_option= 5229a0d3b6eaSmrg fi 5230a0d3b6eaSmrg as_test_x=' 5231a0d3b6eaSmrg eval sh -c '\'' 5232a0d3b6eaSmrg if test -d "$1"; then 523362df5ad0Smrg test -d "$1/."; 5234a0d3b6eaSmrg else 5235a0d3b6eaSmrg case $1 in 523662df5ad0Smrg -*)set "./$1";; 5237a0d3b6eaSmrg esac; 5238a0d3b6eaSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5239a0d3b6eaSmrg ???[sx]*):;;*)false;;esac;fi 5240a0d3b6eaSmrg '\'' sh 5241a0d3b6eaSmrg ' 5242a0d3b6eaSmrgfi 5243a0d3b6eaSmrgas_executable_p=$as_test_x 5244a0d3b6eaSmrg 5245a0d3b6eaSmrg# Sed expression to map a string onto a valid CPP name. 5246a0d3b6eaSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5247a0d3b6eaSmrg 5248a0d3b6eaSmrg# Sed expression to map a string onto a valid variable name. 5249a0d3b6eaSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5250a0d3b6eaSmrg 5251a0d3b6eaSmrg 5252a0d3b6eaSmrgexec 6>&1 5253a0d3b6eaSmrg 5254a0d3b6eaSmrg# Save the log message, to keep $[0] and so on meaningful, and to 5255a0d3b6eaSmrg# report actual input values of CONFIG_FILES etc. instead of their 5256a0d3b6eaSmrg# values after options handling. 5257a0d3b6eaSmrgac_log=" 525862df5ad0SmrgThis file was extended by xrandr $as_me 1.3.0, which was 525962df5ad0Smrggenerated by GNU Autoconf 2.63. Invocation command line was 5260a0d3b6eaSmrg 5261a0d3b6eaSmrg CONFIG_FILES = $CONFIG_FILES 5262a0d3b6eaSmrg CONFIG_HEADERS = $CONFIG_HEADERS 5263a0d3b6eaSmrg CONFIG_LINKS = $CONFIG_LINKS 5264a0d3b6eaSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5265a0d3b6eaSmrg $ $0 $@ 5266a0d3b6eaSmrg 5267a0d3b6eaSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 5268a0d3b6eaSmrg" 5269a0d3b6eaSmrg 5270a0d3b6eaSmrg_ACEOF 5271a0d3b6eaSmrg 527262df5ad0Smrgcase $ac_config_files in *" 527362df5ad0Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 527462df5ad0Smrgesac 527562df5ad0Smrg 527662df5ad0Smrgcase $ac_config_headers in *" 527762df5ad0Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 527862df5ad0Smrgesac 527962df5ad0Smrg 528062df5ad0Smrg 528162df5ad0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5282a0d3b6eaSmrg# Files that config.status was made for. 5283a0d3b6eaSmrgconfig_files="$ac_config_files" 5284a0d3b6eaSmrgconfig_headers="$ac_config_headers" 5285a0d3b6eaSmrgconfig_commands="$ac_config_commands" 5286a0d3b6eaSmrg 5287a0d3b6eaSmrg_ACEOF 5288a0d3b6eaSmrg 528962df5ad0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5290a0d3b6eaSmrgac_cs_usage="\ 5291a0d3b6eaSmrg\`$as_me' instantiates files from templates according to the 5292a0d3b6eaSmrgcurrent configuration. 5293a0d3b6eaSmrg 529462df5ad0SmrgUsage: $0 [OPTION]... [FILE]... 5295a0d3b6eaSmrg 5296a0d3b6eaSmrg -h, --help print this help, then exit 5297a0d3b6eaSmrg -V, --version print version number and configuration settings, then exit 529862df5ad0Smrg -q, --quiet, --silent 529962df5ad0Smrg do not print progress messages 5300a0d3b6eaSmrg -d, --debug don't remove temporary files 5301a0d3b6eaSmrg --recheck update $as_me by reconfiguring in the same conditions 530262df5ad0Smrg --file=FILE[:TEMPLATE] 530362df5ad0Smrg instantiate the configuration file FILE 530462df5ad0Smrg --header=FILE[:TEMPLATE] 530562df5ad0Smrg instantiate the configuration header FILE 5306a0d3b6eaSmrg 5307a0d3b6eaSmrgConfiguration files: 5308a0d3b6eaSmrg$config_files 5309a0d3b6eaSmrg 5310a0d3b6eaSmrgConfiguration headers: 5311a0d3b6eaSmrg$config_headers 5312a0d3b6eaSmrg 5313a0d3b6eaSmrgConfiguration commands: 5314a0d3b6eaSmrg$config_commands 5315a0d3b6eaSmrg 5316a0d3b6eaSmrgReport bugs to <bug-autoconf@gnu.org>." 5317a0d3b6eaSmrg 5318a0d3b6eaSmrg_ACEOF 531962df5ad0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5320a0d3b6eaSmrgac_cs_version="\\ 532162df5ad0Smrgxrandr config.status 1.3.0 532262df5ad0Smrgconfigured by $0, generated by GNU Autoconf 2.63, 532362df5ad0Smrg with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5324a0d3b6eaSmrg 532562df5ad0SmrgCopyright (C) 2008 Free Software Foundation, Inc. 5326a0d3b6eaSmrgThis config.status script is free software; the Free Software Foundation 5327a0d3b6eaSmrggives unlimited permission to copy, distribute and modify it." 5328a0d3b6eaSmrg 5329a0d3b6eaSmrgac_pwd='$ac_pwd' 5330a0d3b6eaSmrgsrcdir='$srcdir' 5331a0d3b6eaSmrgINSTALL='$INSTALL' 5332a0d3b6eaSmrgMKDIR_P='$MKDIR_P' 533362df5ad0SmrgAWK='$AWK' 533462df5ad0Smrgtest -n "\$AWK" || AWK=awk 5335a0d3b6eaSmrg_ACEOF 5336a0d3b6eaSmrg 533762df5ad0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 533862df5ad0Smrg# The default lists apply if the user does not specify any file. 5339a0d3b6eaSmrgac_need_defaults=: 5340a0d3b6eaSmrgwhile test $# != 0 5341a0d3b6eaSmrgdo 5342a0d3b6eaSmrg case $1 in 5343a0d3b6eaSmrg --*=*) 5344a0d3b6eaSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5345a0d3b6eaSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5346a0d3b6eaSmrg ac_shift=: 5347a0d3b6eaSmrg ;; 5348a0d3b6eaSmrg *) 5349a0d3b6eaSmrg ac_option=$1 5350a0d3b6eaSmrg ac_optarg=$2 5351a0d3b6eaSmrg ac_shift=shift 5352a0d3b6eaSmrg ;; 5353a0d3b6eaSmrg esac 5354a0d3b6eaSmrg 5355a0d3b6eaSmrg case $ac_option in 5356a0d3b6eaSmrg # Handling of the options. 5357a0d3b6eaSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5358a0d3b6eaSmrg ac_cs_recheck=: ;; 5359a0d3b6eaSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 536062df5ad0Smrg $as_echo "$ac_cs_version"; exit ;; 5361a0d3b6eaSmrg --debug | --debu | --deb | --de | --d | -d ) 5362a0d3b6eaSmrg debug=: ;; 5363a0d3b6eaSmrg --file | --fil | --fi | --f ) 5364a0d3b6eaSmrg $ac_shift 536562df5ad0Smrg case $ac_optarg in 536662df5ad0Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 536762df5ad0Smrg esac 536862df5ad0Smrg CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 5369a0d3b6eaSmrg ac_need_defaults=false;; 5370a0d3b6eaSmrg --header | --heade | --head | --hea ) 5371a0d3b6eaSmrg $ac_shift 537262df5ad0Smrg case $ac_optarg in 537362df5ad0Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 537462df5ad0Smrg esac 537562df5ad0Smrg CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 5376a0d3b6eaSmrg ac_need_defaults=false;; 5377a0d3b6eaSmrg --he | --h) 5378a0d3b6eaSmrg # Conflict between --help and --header 537962df5ad0Smrg { $as_echo "$as_me: error: ambiguous option: $1 5380a0d3b6eaSmrgTry \`$0 --help' for more information." >&2 5381a0d3b6eaSmrg { (exit 1); exit 1; }; };; 5382a0d3b6eaSmrg --help | --hel | -h ) 538362df5ad0Smrg $as_echo "$ac_cs_usage"; exit ;; 5384a0d3b6eaSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5385a0d3b6eaSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5386a0d3b6eaSmrg ac_cs_silent=: ;; 5387a0d3b6eaSmrg 5388a0d3b6eaSmrg # This is an error. 538962df5ad0Smrg -*) { $as_echo "$as_me: error: unrecognized option: $1 5390a0d3b6eaSmrgTry \`$0 --help' for more information." >&2 5391a0d3b6eaSmrg { (exit 1); exit 1; }; } ;; 5392a0d3b6eaSmrg 5393a0d3b6eaSmrg *) ac_config_targets="$ac_config_targets $1" 5394a0d3b6eaSmrg ac_need_defaults=false ;; 5395a0d3b6eaSmrg 5396a0d3b6eaSmrg esac 5397a0d3b6eaSmrg shift 5398a0d3b6eaSmrgdone 5399a0d3b6eaSmrg 5400a0d3b6eaSmrgac_configure_extra_args= 5401a0d3b6eaSmrg 5402a0d3b6eaSmrgif $ac_cs_silent; then 5403a0d3b6eaSmrg exec 6>/dev/null 5404a0d3b6eaSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5405a0d3b6eaSmrgfi 5406a0d3b6eaSmrg 5407a0d3b6eaSmrg_ACEOF 540862df5ad0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5409a0d3b6eaSmrgif \$ac_cs_recheck; then 541062df5ad0Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 541162df5ad0Smrg shift 541262df5ad0Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 541362df5ad0Smrg CONFIG_SHELL='$SHELL' 5414a0d3b6eaSmrg export CONFIG_SHELL 541562df5ad0Smrg exec "\$@" 5416a0d3b6eaSmrgfi 5417a0d3b6eaSmrg 5418a0d3b6eaSmrg_ACEOF 541962df5ad0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5420a0d3b6eaSmrgexec 5>>config.log 5421a0d3b6eaSmrg{ 5422a0d3b6eaSmrg echo 5423a0d3b6eaSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5424a0d3b6eaSmrg## Running $as_me. ## 5425a0d3b6eaSmrg_ASBOX 542662df5ad0Smrg $as_echo "$ac_log" 5427a0d3b6eaSmrg} >&5 5428a0d3b6eaSmrg 5429a0d3b6eaSmrg_ACEOF 543062df5ad0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5431a0d3b6eaSmrg# 5432a0d3b6eaSmrg# INIT-COMMANDS 5433a0d3b6eaSmrg# 5434a0d3b6eaSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5435a0d3b6eaSmrg 5436a0d3b6eaSmrg_ACEOF 5437a0d3b6eaSmrg 543862df5ad0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5439a0d3b6eaSmrg 5440a0d3b6eaSmrg# Handling of arguments. 5441a0d3b6eaSmrgfor ac_config_target in $ac_config_targets 5442a0d3b6eaSmrgdo 5443a0d3b6eaSmrg case $ac_config_target in 5444a0d3b6eaSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5445a0d3b6eaSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5446a0d3b6eaSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5447a0d3b6eaSmrg 544862df5ad0Smrg *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 544962df5ad0Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5450a0d3b6eaSmrg { (exit 1); exit 1; }; };; 5451a0d3b6eaSmrg esac 5452a0d3b6eaSmrgdone 5453a0d3b6eaSmrg 5454a0d3b6eaSmrg 5455a0d3b6eaSmrg# If the user did not use the arguments to specify the items to instantiate, 5456a0d3b6eaSmrg# then the envvar interface is used. Set only those that are not. 5457a0d3b6eaSmrg# We use the long form for the default assignment because of an extremely 5458a0d3b6eaSmrg# bizarre bug on SunOS 4.1.3. 5459a0d3b6eaSmrgif $ac_need_defaults; then 5460a0d3b6eaSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5461a0d3b6eaSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5462a0d3b6eaSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5463a0d3b6eaSmrgfi 5464a0d3b6eaSmrg 5465a0d3b6eaSmrg# Have a temporary directory for convenience. Make it in the build tree 5466a0d3b6eaSmrg# simply because there is no reason against having it here, and in addition, 5467a0d3b6eaSmrg# creating and moving files from /tmp can sometimes cause problems. 5468a0d3b6eaSmrg# Hook for its removal unless debugging. 5469a0d3b6eaSmrg# Note that there is a small window in which the directory will not be cleaned: 5470a0d3b6eaSmrg# after its creation but before its name has been assigned to `$tmp'. 5471a0d3b6eaSmrg$debug || 5472a0d3b6eaSmrg{ 5473a0d3b6eaSmrg tmp= 5474a0d3b6eaSmrg trap 'exit_status=$? 5475a0d3b6eaSmrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 5476a0d3b6eaSmrg' 0 5477a0d3b6eaSmrg trap '{ (exit 1); exit 1; }' 1 2 13 15 5478a0d3b6eaSmrg} 5479a0d3b6eaSmrg# Create a (secure) tmp directory for tmp files. 5480a0d3b6eaSmrg 5481a0d3b6eaSmrg{ 5482a0d3b6eaSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5483a0d3b6eaSmrg test -n "$tmp" && test -d "$tmp" 5484a0d3b6eaSmrg} || 5485a0d3b6eaSmrg{ 5486a0d3b6eaSmrg tmp=./conf$$-$RANDOM 5487a0d3b6eaSmrg (umask 077 && mkdir "$tmp") 5488a0d3b6eaSmrg} || 5489a0d3b6eaSmrg{ 549062df5ad0Smrg $as_echo "$as_me: cannot create a temporary directory in ." >&2 5491a0d3b6eaSmrg { (exit 1); exit 1; } 5492a0d3b6eaSmrg} 5493a0d3b6eaSmrg 549462df5ad0Smrg# Set up the scripts for CONFIG_FILES section. 549562df5ad0Smrg# No need to generate them if there are no CONFIG_FILES. 549662df5ad0Smrg# This happens for instance with `./config.status config.h'. 5497a0d3b6eaSmrgif test -n "$CONFIG_FILES"; then 5498a0d3b6eaSmrg 5499a0d3b6eaSmrg 550062df5ad0Smrgac_cr=' 550162df5ad0Smrg' 550262df5ad0Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 550362df5ad0Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 550462df5ad0Smrg ac_cs_awk_cr='\\r' 550562df5ad0Smrgelse 5506a0d3b6eaSmrg ac_cs_awk_cr=$ac_cr 5507a0d3b6eaSmrgfi 550862df5ad0Smrg 5509a0d3b6eaSmrgecho 'BEGIN {' >"$tmp/subs1.awk" && 5510a0d3b6eaSmrg_ACEOF 5511a0d3b6eaSmrg 551262df5ad0Smrg 551362df5ad0Smrg{ 551462df5ad0Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 551562df5ad0Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 551662df5ad0Smrg echo "_ACEOF" 551762df5ad0Smrg} >conf$$subs.sh || 551862df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 551962df5ad0Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 552062df5ad0Smrg { (exit 1); exit 1; }; } 5521a0d3b6eaSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 5522a0d3b6eaSmrgac_delim='%!_!# ' 552362df5ad0Smrgfor ac_last_try in false false false false false :; do 552462df5ad0Smrg . ./conf$$subs.sh || 552562df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 552662df5ad0Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5527a0d3b6eaSmrg { (exit 1); exit 1; }; } 552862df5ad0Smrg 552962df5ad0Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5530a0d3b6eaSmrg if test $ac_delim_n = $ac_delim_num; then 5531a0d3b6eaSmrg break 553262df5ad0Smrg elif $ac_last_try; then 553362df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5534a0d3b6eaSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5535a0d3b6eaSmrg { (exit 1); exit 1; }; } 5536a0d3b6eaSmrg else 5537a0d3b6eaSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5538a0d3b6eaSmrg fi 553962df5ad0Smrgdone 5540a0d3b6eaSmrgrm -f conf$$subs.sh 554162df5ad0Smrg 554262df5ad0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 554362df5ad0Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 554462df5ad0Smrg_ACEOF 554562df5ad0Smrgsed -n ' 554662df5ad0Smrgh 554762df5ad0Smrgs/^/S["/; s/!.*/"]=/ 554862df5ad0Smrgp 554962df5ad0Smrgg 555062df5ad0Smrgs/^[^!]*!// 555162df5ad0Smrg:repl 555262df5ad0Smrgt repl 555362df5ad0Smrgs/'"$ac_delim"'$// 555462df5ad0Smrgt delim 555562df5ad0Smrg:nl 555662df5ad0Smrgh 555762df5ad0Smrgs/\(.\{148\}\).*/\1/ 555862df5ad0Smrgt more1 555962df5ad0Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 556062df5ad0Smrgp 556162df5ad0Smrgn 556262df5ad0Smrgb repl 556362df5ad0Smrg:more1 556462df5ad0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 556562df5ad0Smrgp 556662df5ad0Smrgg 556762df5ad0Smrgs/.\{148\}// 556862df5ad0Smrgt nl 556962df5ad0Smrg:delim 557062df5ad0Smrgh 557162df5ad0Smrgs/\(.\{148\}\).*/\1/ 557262df5ad0Smrgt more2 557362df5ad0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 557462df5ad0Smrgp 557562df5ad0Smrgb 557662df5ad0Smrg:more2 557762df5ad0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 557862df5ad0Smrgp 557962df5ad0Smrgg 558062df5ad0Smrgs/.\{148\}// 558162df5ad0Smrgt delim 558262df5ad0Smrg' <conf$$subs.awk | sed ' 558362df5ad0Smrg/^[^""]/{ 558462df5ad0Smrg N 558562df5ad0Smrg s/\n// 558662df5ad0Smrg} 558762df5ad0Smrg' >>$CONFIG_STATUS || ac_write_fail=1 558862df5ad0Smrgrm -f conf$$subs.awk 558962df5ad0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 559062df5ad0Smrg_ACAWK 559162df5ad0Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 559262df5ad0Smrg for (key in S) S_is_set[key] = 1 559362df5ad0Smrg FS = "" 559462df5ad0Smrg 559562df5ad0Smrg} 559662df5ad0Smrg{ 559762df5ad0Smrg line = $ 0 559862df5ad0Smrg nfields = split(line, field, "@") 559962df5ad0Smrg substed = 0 560062df5ad0Smrg len = length(field[1]) 560162df5ad0Smrg for (i = 2; i < nfields; i++) { 560262df5ad0Smrg key = field[i] 560362df5ad0Smrg keylen = length(key) 560462df5ad0Smrg if (S_is_set[key]) { 560562df5ad0Smrg value = S[key] 560662df5ad0Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 560762df5ad0Smrg len += length(value) + length(field[++i]) 560862df5ad0Smrg substed = 1 560962df5ad0Smrg } else 561062df5ad0Smrg len += 1 + keylen 561162df5ad0Smrg } 561262df5ad0Smrg 561362df5ad0Smrg print line 5614a0d3b6eaSmrg} 561562df5ad0Smrg 5616a0d3b6eaSmrg_ACAWK 561762df5ad0Smrg_ACEOF 561862df5ad0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 561962df5ad0Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 562062df5ad0Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 562162df5ad0Smrgelse 562262df5ad0Smrg cat 562362df5ad0Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 562462df5ad0Smrg || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 562562df5ad0Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;} 5626a0d3b6eaSmrg { (exit 1); exit 1; }; } 5627a0d3b6eaSmrg_ACEOF 5628a0d3b6eaSmrg 5629a0d3b6eaSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 5630a0d3b6eaSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 5631a0d3b6eaSmrg# trailing colons and then remove the whole line if VPATH becomes empty 5632a0d3b6eaSmrg# (actually we leave an empty line to preserve line numbers). 5633a0d3b6eaSmrgif test "x$srcdir" = x.; then 5634a0d3b6eaSmrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 5635a0d3b6eaSmrgs/:*\$(srcdir):*/:/ 5636a0d3b6eaSmrgs/:*\${srcdir}:*/:/ 5637a0d3b6eaSmrgs/:*@srcdir@:*/:/ 5638a0d3b6eaSmrgs/^\([^=]*=[ ]*\):*/\1/ 5639a0d3b6eaSmrgs/:*$// 5640a0d3b6eaSmrgs/^[^=]*=[ ]*$// 5641a0d3b6eaSmrg}' 5642a0d3b6eaSmrgfi 564362df5ad0Smrg 5644a0d3b6eaSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5645a0d3b6eaSmrgfi # test -n "$CONFIG_FILES" 564662df5ad0Smrg 564762df5ad0Smrg# Set up the scripts for CONFIG_HEADERS section. 564862df5ad0Smrg# No need to generate them if there are no CONFIG_HEADERS. 564962df5ad0Smrg# This happens for instance with `./config.status Makefile'. 565062df5ad0Smrgif test -n "$CONFIG_HEADERS"; then 565162df5ad0Smrgcat >"$tmp/defines.awk" <<\_ACAWK || 565262df5ad0SmrgBEGIN { 565362df5ad0Smrg_ACEOF 565462df5ad0Smrg 565562df5ad0Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as 565662df5ad0Smrg# here-document in config.status, that substitutes the proper values into 565762df5ad0Smrg# config.h.in to produce config.h. 565862df5ad0Smrg 565962df5ad0Smrg# Create a delimiter string that does not exist in confdefs.h, to ease 566062df5ad0Smrg# handling of long lines. 566162df5ad0Smrgac_delim='%!_!# ' 566262df5ad0Smrgfor ac_last_try in false false :; do 566362df5ad0Smrg ac_t=`sed -n "/$ac_delim/p" confdefs.h` 566462df5ad0Smrg if test -z "$ac_t"; then 566562df5ad0Smrg break 566662df5ad0Smrg elif $ac_last_try; then 566762df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 566862df5ad0Smrg$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 566962df5ad0Smrg { (exit 1); exit 1; }; } 567062df5ad0Smrg else 567162df5ad0Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 567262df5ad0Smrg fi 567362df5ad0Smrgdone 567462df5ad0Smrg 567562df5ad0Smrg# For the awk script, D is an array of macro values keyed by name, 567662df5ad0Smrg# likewise P contains macro parameters if any. Preserve backslash 567762df5ad0Smrg# newline sequences. 567862df5ad0Smrg 567962df5ad0Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 568062df5ad0Smrgsed -n ' 568162df5ad0Smrgs/.\{148\}/&'"$ac_delim"'/g 568262df5ad0Smrgt rset 568362df5ad0Smrg:rset 568462df5ad0Smrgs/^[ ]*#[ ]*define[ ][ ]*/ / 568562df5ad0Smrgt def 568662df5ad0Smrgd 568762df5ad0Smrg:def 568862df5ad0Smrgs/\\$// 568962df5ad0Smrgt bsnl 569062df5ad0Smrgs/["\\]/\\&/g 569162df5ad0Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 569262df5ad0SmrgD["\1"]=" \3"/p 569362df5ad0Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 569462df5ad0Smrgd 569562df5ad0Smrg:bsnl 569662df5ad0Smrgs/["\\]/\\&/g 569762df5ad0Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 569862df5ad0SmrgD["\1"]=" \3\\\\\\n"\\/p 569962df5ad0Smrgt cont 570062df5ad0Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 570162df5ad0Smrgt cont 570262df5ad0Smrgd 570362df5ad0Smrg:cont 570462df5ad0Smrgn 570562df5ad0Smrgs/.\{148\}/&'"$ac_delim"'/g 570662df5ad0Smrgt clear 570762df5ad0Smrg:clear 570862df5ad0Smrgs/\\$// 570962df5ad0Smrgt bsnlc 571062df5ad0Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 571162df5ad0Smrgd 571262df5ad0Smrg:bsnlc 571362df5ad0Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 571462df5ad0Smrgb cont 571562df5ad0Smrg' <confdefs.h | sed ' 571662df5ad0Smrgs/'"$ac_delim"'/"\\\ 571762df5ad0Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 571862df5ad0Smrg 571962df5ad0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 572062df5ad0Smrg for (key in D) D_is_set[key] = 1 572162df5ad0Smrg FS = "" 572262df5ad0Smrg} 572362df5ad0Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 572462df5ad0Smrg line = \$ 0 572562df5ad0Smrg split(line, arg, " ") 572662df5ad0Smrg if (arg[1] == "#") { 572762df5ad0Smrg defundef = arg[2] 572862df5ad0Smrg mac1 = arg[3] 572962df5ad0Smrg } else { 573062df5ad0Smrg defundef = substr(arg[1], 2) 573162df5ad0Smrg mac1 = arg[2] 573262df5ad0Smrg } 573362df5ad0Smrg split(mac1, mac2, "(") #) 573462df5ad0Smrg macro = mac2[1] 573562df5ad0Smrg prefix = substr(line, 1, index(line, defundef) - 1) 573662df5ad0Smrg if (D_is_set[macro]) { 573762df5ad0Smrg # Preserve the white space surrounding the "#". 573862df5ad0Smrg print prefix "define", macro P[macro] D[macro] 573962df5ad0Smrg next 574062df5ad0Smrg } else { 574162df5ad0Smrg # Replace #undef with comments. This is necessary, for example, 574262df5ad0Smrg # in the case of _POSIX_SOURCE, which is predefined and required 574362df5ad0Smrg # on some systems where configure will not decide to define it. 574462df5ad0Smrg if (defundef == "undef") { 574562df5ad0Smrg print "/*", prefix defundef, macro, "*/" 574662df5ad0Smrg next 574762df5ad0Smrg } 574862df5ad0Smrg } 574962df5ad0Smrg} 575062df5ad0Smrg{ print } 575162df5ad0Smrg_ACAWK 575262df5ad0Smrg_ACEOF 575362df5ad0Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 575462df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 575562df5ad0Smrg$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 575662df5ad0Smrg { (exit 1); exit 1; }; } 575762df5ad0Smrgfi # test -n "$CONFIG_HEADERS" 5758a0d3b6eaSmrg 575962df5ad0Smrg 576062df5ad0Smrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 576162df5ad0Smrgshift 5762a0d3b6eaSmrgfor ac_tag 5763a0d3b6eaSmrgdo 5764a0d3b6eaSmrg case $ac_tag in 5765a0d3b6eaSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 5766a0d3b6eaSmrg esac 5767a0d3b6eaSmrg case $ac_mode$ac_tag in 576862df5ad0Smrg :[FHL]*:*);; 576962df5ad0Smrg :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 5770a0d3b6eaSmrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 5771a0d3b6eaSmrg { (exit 1); exit 1; }; };; 5772a0d3b6eaSmrg :[FH]-) ac_tag=-:-;; 5773a0d3b6eaSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5774a0d3b6eaSmrg esac 5775a0d3b6eaSmrg ac_save_IFS=$IFS 5776a0d3b6eaSmrg IFS=: 5777a0d3b6eaSmrg set x $ac_tag 5778a0d3b6eaSmrg IFS=$ac_save_IFS 5779a0d3b6eaSmrg shift 5780a0d3b6eaSmrg ac_file=$1 5781a0d3b6eaSmrg shift 5782a0d3b6eaSmrg 5783a0d3b6eaSmrg case $ac_mode in 5784a0d3b6eaSmrg :L) ac_source=$1;; 5785a0d3b6eaSmrg :[FH]) 5786a0d3b6eaSmrg ac_file_inputs= 5787a0d3b6eaSmrg for ac_f 5788a0d3b6eaSmrg do 5789a0d3b6eaSmrg case $ac_f in 5790a0d3b6eaSmrg -) ac_f="$tmp/stdin";; 5791a0d3b6eaSmrg *) # Look for the file first in the build tree, then in the source tree 5792a0d3b6eaSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 5793a0d3b6eaSmrg # because $ac_f cannot contain `:'. 5794a0d3b6eaSmrg test -f "$ac_f" || 5795a0d3b6eaSmrg case $ac_f in 5796a0d3b6eaSmrg [\\/$]*) false;; 5797a0d3b6eaSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 579862df5ad0Smrg esac || 579962df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 5800a0d3b6eaSmrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 5801a0d3b6eaSmrg { (exit 1); exit 1; }; };; 580262df5ad0Smrg esac 580362df5ad0Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5804a0d3b6eaSmrg ac_file_inputs="$ac_file_inputs '$ac_f'" 5805a0d3b6eaSmrg done 5806a0d3b6eaSmrg 5807a0d3b6eaSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 5808a0d3b6eaSmrg # use $as_me), people would be surprised to read: 580962df5ad0Smrg # /* config.h. Generated by config.status. */ 581062df5ad0Smrg configure_input='Generated from '` 581162df5ad0Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5812a0d3b6eaSmrg `' by configure.' 5813a0d3b6eaSmrg if test x"$ac_file" != x-; then 581462df5ad0Smrg configure_input="$ac_file. $configure_input" 581562df5ad0Smrg { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 5816a0d3b6eaSmrg$as_echo "$as_me: creating $ac_file" >&6;} 581762df5ad0Smrg fi 581862df5ad0Smrg # Neutralize special characters interpreted by sed in replacement strings. 581962df5ad0Smrg case $configure_input in #( 582062df5ad0Smrg *\&* | *\|* | *\\* ) 582162df5ad0Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 582262df5ad0Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 582362df5ad0Smrg *) ac_sed_conf_input=$configure_input;; 5824a0d3b6eaSmrg esac 5825a0d3b6eaSmrg 582662df5ad0Smrg case $ac_tag in 582762df5ad0Smrg *:-:* | *:-) cat >"$tmp/stdin" \ 582862df5ad0Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 582962df5ad0Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 5830a0d3b6eaSmrg { (exit 1); exit 1; }; } ;; 5831a0d3b6eaSmrg esac 5832a0d3b6eaSmrg ;; 5833a0d3b6eaSmrg esac 5834a0d3b6eaSmrg 5835a0d3b6eaSmrg ac_dir=`$as_dirname -- "$ac_file" || 5836a0d3b6eaSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5837a0d3b6eaSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 5838a0d3b6eaSmrg X"$ac_file" : 'X\(//\)$' \| \ 583962df5ad0Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5840a0d3b6eaSmrg$as_echo X"$ac_file" | 5841a0d3b6eaSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5842a0d3b6eaSmrg s//\1/ 5843a0d3b6eaSmrg q 5844a0d3b6eaSmrg } 5845a0d3b6eaSmrg /^X\(\/\/\)[^/].*/{ 5846a0d3b6eaSmrg s//\1/ 5847a0d3b6eaSmrg q 5848a0d3b6eaSmrg } 5849a0d3b6eaSmrg /^X\(\/\/\)$/{ 5850a0d3b6eaSmrg s//\1/ 5851a0d3b6eaSmrg q 5852a0d3b6eaSmrg } 5853a0d3b6eaSmrg /^X\(\/\).*/{ 5854a0d3b6eaSmrg s//\1/ 5855a0d3b6eaSmrg q 5856a0d3b6eaSmrg } 5857a0d3b6eaSmrg s/.*/./; q'` 5858a0d3b6eaSmrg { as_dir="$ac_dir" 5859a0d3b6eaSmrg case $as_dir in #( 5860a0d3b6eaSmrg -*) as_dir=./$as_dir;; 5861a0d3b6eaSmrg esac 5862a0d3b6eaSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 5863a0d3b6eaSmrg as_dirs= 5864a0d3b6eaSmrg while :; do 586562df5ad0Smrg case $as_dir in #( 5866a0d3b6eaSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5867a0d3b6eaSmrg *) as_qdir=$as_dir;; 5868a0d3b6eaSmrg esac 5869a0d3b6eaSmrg as_dirs="'$as_qdir' $as_dirs" 5870a0d3b6eaSmrg as_dir=`$as_dirname -- "$as_dir" || 5871a0d3b6eaSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5872a0d3b6eaSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 5873a0d3b6eaSmrg X"$as_dir" : 'X\(//\)$' \| \ 587462df5ad0Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5875a0d3b6eaSmrg$as_echo X"$as_dir" | 5876a0d3b6eaSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5877a0d3b6eaSmrg s//\1/ 5878a0d3b6eaSmrg q 5879a0d3b6eaSmrg } 5880a0d3b6eaSmrg /^X\(\/\/\)[^/].*/{ 5881a0d3b6eaSmrg s//\1/ 5882a0d3b6eaSmrg q 5883a0d3b6eaSmrg } 5884a0d3b6eaSmrg /^X\(\/\/\)$/{ 5885a0d3b6eaSmrg s//\1/ 5886a0d3b6eaSmrg q 5887a0d3b6eaSmrg } 5888a0d3b6eaSmrg /^X\(\/\).*/{ 5889a0d3b6eaSmrg s//\1/ 5890a0d3b6eaSmrg q 5891a0d3b6eaSmrg } 5892a0d3b6eaSmrg s/.*/./; q'` 5893a0d3b6eaSmrg test -d "$as_dir" && break 5894a0d3b6eaSmrg done 589562df5ad0Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 589662df5ad0Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 5897a0d3b6eaSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 5898a0d3b6eaSmrg { (exit 1); exit 1; }; }; } 5899a0d3b6eaSmrg ac_builddir=. 5900a0d3b6eaSmrg 5901a0d3b6eaSmrgcase "$ac_dir" in 5902a0d3b6eaSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 590362df5ad0Smrg*) 5904a0d3b6eaSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 590562df5ad0Smrg # A ".." for each directory in $ac_dir_suffix. 5906a0d3b6eaSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5907a0d3b6eaSmrg case $ac_top_builddir_sub in 5908a0d3b6eaSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5909a0d3b6eaSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5910a0d3b6eaSmrg esac ;; 5911a0d3b6eaSmrgesac 5912a0d3b6eaSmrgac_abs_top_builddir=$ac_pwd 5913a0d3b6eaSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 5914a0d3b6eaSmrg# for backward compatibility: 5915a0d3b6eaSmrgac_top_builddir=$ac_top_build_prefix 5916a0d3b6eaSmrg 5917a0d3b6eaSmrgcase $srcdir in 5918a0d3b6eaSmrg .) # We are building in place. 5919a0d3b6eaSmrg ac_srcdir=. 5920a0d3b6eaSmrg ac_top_srcdir=$ac_top_builddir_sub 5921a0d3b6eaSmrg ac_abs_top_srcdir=$ac_pwd ;; 5922a0d3b6eaSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 5923a0d3b6eaSmrg ac_srcdir=$srcdir$ac_dir_suffix; 5924a0d3b6eaSmrg ac_top_srcdir=$srcdir 5925a0d3b6eaSmrg ac_abs_top_srcdir=$srcdir ;; 5926a0d3b6eaSmrg *) # Relative name. 5927a0d3b6eaSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5928a0d3b6eaSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 5929a0d3b6eaSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5930a0d3b6eaSmrgesac 5931a0d3b6eaSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5932a0d3b6eaSmrg 5933a0d3b6eaSmrg 5934a0d3b6eaSmrg case $ac_mode in 5935a0d3b6eaSmrg :F) 5936a0d3b6eaSmrg # 5937a0d3b6eaSmrg # CONFIG_FILE 5938a0d3b6eaSmrg # 5939a0d3b6eaSmrg 5940a0d3b6eaSmrg case $INSTALL in 5941a0d3b6eaSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5942a0d3b6eaSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5943a0d3b6eaSmrg esac 5944a0d3b6eaSmrg ac_MKDIR_P=$MKDIR_P 5945a0d3b6eaSmrg case $MKDIR_P in 5946a0d3b6eaSmrg [\\/$]* | ?:[\\/]* ) ;; 5947a0d3b6eaSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5948a0d3b6eaSmrg esac 5949a0d3b6eaSmrg_ACEOF 595062df5ad0Smrg 5951a0d3b6eaSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5952a0d3b6eaSmrg# If the template does not know about datarootdir, expand it. 5953a0d3b6eaSmrg# FIXME: This hack should be removed a few years after 2.60. 5954a0d3b6eaSmrgac_datarootdir_hack=; ac_datarootdir_seen= 595562df5ad0Smrg 595662df5ad0Smrgac_sed_dataroot=' 5957a0d3b6eaSmrg/datarootdir/ { 5958a0d3b6eaSmrg p 5959a0d3b6eaSmrg q 5960a0d3b6eaSmrg} 5961a0d3b6eaSmrg/@datadir@/p 5962a0d3b6eaSmrg/@docdir@/p 5963a0d3b6eaSmrg/@infodir@/p 5964a0d3b6eaSmrg/@localedir@/p 596562df5ad0Smrg/@mandir@/p 596662df5ad0Smrg' 5967a0d3b6eaSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5968a0d3b6eaSmrg*datarootdir*) ac_datarootdir_seen=yes;; 596962df5ad0Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 597062df5ad0Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5971a0d3b6eaSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 597262df5ad0Smrg_ACEOF 5973a0d3b6eaSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5974a0d3b6eaSmrg ac_datarootdir_hack=' 5975a0d3b6eaSmrg s&@datadir@&$datadir&g 5976a0d3b6eaSmrg s&@docdir@&$docdir&g 5977a0d3b6eaSmrg s&@infodir@&$infodir&g 5978a0d3b6eaSmrg s&@localedir@&$localedir&g 5979a0d3b6eaSmrg s&@mandir@&$mandir&g 5980a0d3b6eaSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 5981a0d3b6eaSmrgesac 5982a0d3b6eaSmrg_ACEOF 5983a0d3b6eaSmrg 5984a0d3b6eaSmrg# Neutralize VPATH when `$srcdir' = `.'. 5985a0d3b6eaSmrg# Shell code in configure.ac might set extrasub. 598662df5ad0Smrg# FIXME: do we really want to maintain this feature? 598762df5ad0Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5988a0d3b6eaSmrgac_sed_extra="$ac_vpsub 5989a0d3b6eaSmrg$extrasub 599062df5ad0Smrg_ACEOF 5991a0d3b6eaSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5992a0d3b6eaSmrg:t 599362df5ad0Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5994a0d3b6eaSmrgs|@configure_input@|$ac_sed_conf_input|;t t 599562df5ad0Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 5996a0d3b6eaSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 5997a0d3b6eaSmrgs&@srcdir@&$ac_srcdir&;t t 5998a0d3b6eaSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 5999a0d3b6eaSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 6000a0d3b6eaSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6001a0d3b6eaSmrgs&@builddir@&$ac_builddir&;t t 6002a0d3b6eaSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 6003a0d3b6eaSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6004a0d3b6eaSmrgs&@INSTALL@&$ac_INSTALL&;t t 6005a0d3b6eaSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 600662df5ad0Smrg$ac_datarootdir_hack 600762df5ad0Smrg" 600862df5ad0Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 600962df5ad0Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 601062df5ad0Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6011a0d3b6eaSmrg { (exit 1); exit 1; }; } 6012a0d3b6eaSmrg 6013a0d3b6eaSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6014a0d3b6eaSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 601562df5ad0Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6016a0d3b6eaSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 601762df5ad0Smrgwhich seems to be undefined. Please make sure it is defined." >&5 6018a0d3b6eaSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6019a0d3b6eaSmrgwhich seems to be undefined. Please make sure it is defined." >&2;} 6020a0d3b6eaSmrg 6021a0d3b6eaSmrg rm -f "$tmp/stdin" 602262df5ad0Smrg case $ac_file in 602362df5ad0Smrg -) cat "$tmp/out" && rm -f "$tmp/out";; 602462df5ad0Smrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 602562df5ad0Smrg esac \ 602662df5ad0Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 602762df5ad0Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6028a0d3b6eaSmrg { (exit 1); exit 1; }; } 6029a0d3b6eaSmrg ;; 6030a0d3b6eaSmrg :H) 6031a0d3b6eaSmrg # 6032a0d3b6eaSmrg # CONFIG_HEADER 6033a0d3b6eaSmrg # 603462df5ad0Smrg if test x"$ac_file" != x-; then 603562df5ad0Smrg { 603662df5ad0Smrg $as_echo "/* $configure_input */" \ 603762df5ad0Smrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 603862df5ad0Smrg } >"$tmp/config.h" \ 603962df5ad0Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 604062df5ad0Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 604162df5ad0Smrg { (exit 1); exit 1; }; } 604262df5ad0Smrg if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 604362df5ad0Smrg { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6044a0d3b6eaSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 604562df5ad0Smrg else 604662df5ad0Smrg rm -f "$ac_file" 604762df5ad0Smrg mv "$tmp/config.h" "$ac_file" \ 604862df5ad0Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 604962df5ad0Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6050a0d3b6eaSmrg { (exit 1); exit 1; }; } 6051a0d3b6eaSmrg fi 605262df5ad0Smrg else 605362df5ad0Smrg $as_echo "/* $configure_input */" \ 605462df5ad0Smrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 605562df5ad0Smrg || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 605662df5ad0Smrg$as_echo "$as_me: error: could not create -" >&2;} 6057a0d3b6eaSmrg { (exit 1); exit 1; }; } 605862df5ad0Smrg fi 605962df5ad0Smrg# Compute "$ac_file"'s index in $config_headers. 6060a0d3b6eaSmrg_am_arg="$ac_file" 6061a0d3b6eaSmrg_am_stamp_count=1 6062a0d3b6eaSmrgfor _am_header in $config_headers :; do 6063a0d3b6eaSmrg case $_am_header in 6064a0d3b6eaSmrg $_am_arg | $_am_arg:* ) 6065a0d3b6eaSmrg break ;; 6066a0d3b6eaSmrg * ) 6067a0d3b6eaSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6068a0d3b6eaSmrg esac 6069a0d3b6eaSmrgdone 6070a0d3b6eaSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 6071a0d3b6eaSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6072a0d3b6eaSmrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 6073a0d3b6eaSmrg X"$_am_arg" : 'X\(//\)$' \| \ 607462df5ad0Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 6075a0d3b6eaSmrg$as_echo X"$_am_arg" | 6076a0d3b6eaSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6077a0d3b6eaSmrg s//\1/ 6078a0d3b6eaSmrg q 6079a0d3b6eaSmrg } 6080a0d3b6eaSmrg /^X\(\/\/\)[^/].*/{ 6081a0d3b6eaSmrg s//\1/ 6082a0d3b6eaSmrg q 6083a0d3b6eaSmrg } 6084a0d3b6eaSmrg /^X\(\/\/\)$/{ 6085a0d3b6eaSmrg s//\1/ 6086a0d3b6eaSmrg q 6087a0d3b6eaSmrg } 6088a0d3b6eaSmrg /^X\(\/\).*/{ 6089a0d3b6eaSmrg s//\1/ 6090a0d3b6eaSmrg q 6091a0d3b6eaSmrg } 6092a0d3b6eaSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 6093a0d3b6eaSmrg ;; 609462df5ad0Smrg 609562df5ad0Smrg :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 6096a0d3b6eaSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 6097a0d3b6eaSmrg ;; 6098a0d3b6eaSmrg esac 6099a0d3b6eaSmrg 6100a0d3b6eaSmrg 610162df5ad0Smrg case $ac_file$ac_mode in 610262df5ad0Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files 610362df5ad0Smrg# are listed without --file. Let's play safe and only enable the eval 610462df5ad0Smrg# if we detect the quoting. 610562df5ad0Smrgcase $CONFIG_FILES in 610662df5ad0Smrg*\'*) eval set x "$CONFIG_FILES" ;; 610762df5ad0Smrg*) set x $CONFIG_FILES ;; 610862df5ad0Smrgesac 610962df5ad0Smrgshift 611062df5ad0Smrgfor mf 6111a0d3b6eaSmrgdo 6112a0d3b6eaSmrg # Strip MF so we end up with the name of the file. 6113a0d3b6eaSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 6114a0d3b6eaSmrg # Check whether this is an Automake generated Makefile or not. 6115a0d3b6eaSmrg # We used to match only the files named `Makefile.in', but 6116a0d3b6eaSmrg # some people rename them; so instead we look at the file content. 6117a0d3b6eaSmrg # Grep'ing the first line is not enough: some people post-process 6118a0d3b6eaSmrg # each Makefile.in and add a new line on top of each file to say so. 6119a0d3b6eaSmrg # Grep'ing the whole file is not good either: AIX grep has a line 6120a0d3b6eaSmrg # limit of 2048, but all sed's we know have understand at least 4000. 6121a0d3b6eaSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6122a0d3b6eaSmrg dirpart=`$as_dirname -- "$mf" || 6123a0d3b6eaSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6124a0d3b6eaSmrg X"$mf" : 'X\(//\)[^/]' \| \ 6125a0d3b6eaSmrg X"$mf" : 'X\(//\)$' \| \ 612662df5ad0Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6127a0d3b6eaSmrg$as_echo X"$mf" | 6128a0d3b6eaSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6129a0d3b6eaSmrg s//\1/ 6130a0d3b6eaSmrg q 6131a0d3b6eaSmrg } 6132a0d3b6eaSmrg /^X\(\/\/\)[^/].*/{ 6133a0d3b6eaSmrg s//\1/ 6134a0d3b6eaSmrg q 6135a0d3b6eaSmrg } 6136a0d3b6eaSmrg /^X\(\/\/\)$/{ 6137a0d3b6eaSmrg s//\1/ 6138a0d3b6eaSmrg q 6139a0d3b6eaSmrg } 6140a0d3b6eaSmrg /^X\(\/\).*/{ 6141a0d3b6eaSmrg s//\1/ 6142a0d3b6eaSmrg q 6143a0d3b6eaSmrg } 6144a0d3b6eaSmrg s/.*/./; q'` 6145a0d3b6eaSmrg else 6146a0d3b6eaSmrg continue 6147a0d3b6eaSmrg fi 6148a0d3b6eaSmrg # Extract the definition of DEPDIR, am__include, and am__quote 6149a0d3b6eaSmrg # from the Makefile without running `make'. 6150a0d3b6eaSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6151a0d3b6eaSmrg test -z "$DEPDIR" && continue 6152a0d3b6eaSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 6153a0d3b6eaSmrg test -z "am__include" && continue 6154a0d3b6eaSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6155a0d3b6eaSmrg # When using ansi2knr, U may be empty or an underscore; expand it 6156a0d3b6eaSmrg U=`sed -n 's/^U = //p' < "$mf"` 6157a0d3b6eaSmrg # Find all dependency output files, they are included files with 6158a0d3b6eaSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 6159a0d3b6eaSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 6160a0d3b6eaSmrg # expansion. 6161a0d3b6eaSmrg for file in `sed -n " 6162a0d3b6eaSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6163a0d3b6eaSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6164a0d3b6eaSmrg # Make sure the directory exists. 6165a0d3b6eaSmrg test -f "$dirpart/$file" && continue 6166a0d3b6eaSmrg fdir=`$as_dirname -- "$file" || 6167a0d3b6eaSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6168a0d3b6eaSmrg X"$file" : 'X\(//\)[^/]' \| \ 6169a0d3b6eaSmrg X"$file" : 'X\(//\)$' \| \ 617062df5ad0Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 6171a0d3b6eaSmrg$as_echo X"$file" | 6172a0d3b6eaSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6173a0d3b6eaSmrg s//\1/ 6174a0d3b6eaSmrg q 6175a0d3b6eaSmrg } 6176a0d3b6eaSmrg /^X\(\/\/\)[^/].*/{ 6177a0d3b6eaSmrg s//\1/ 6178a0d3b6eaSmrg q 6179a0d3b6eaSmrg } 6180a0d3b6eaSmrg /^X\(\/\/\)$/{ 6181a0d3b6eaSmrg s//\1/ 6182a0d3b6eaSmrg q 6183a0d3b6eaSmrg } 6184a0d3b6eaSmrg /^X\(\/\).*/{ 6185a0d3b6eaSmrg s//\1/ 6186a0d3b6eaSmrg q 6187a0d3b6eaSmrg } 6188a0d3b6eaSmrg s/.*/./; q'` 6189a0d3b6eaSmrg { as_dir=$dirpart/$fdir 6190a0d3b6eaSmrg case $as_dir in #( 6191a0d3b6eaSmrg -*) as_dir=./$as_dir;; 6192a0d3b6eaSmrg esac 6193a0d3b6eaSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6194a0d3b6eaSmrg as_dirs= 6195a0d3b6eaSmrg while :; do 619662df5ad0Smrg case $as_dir in #( 6197a0d3b6eaSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6198a0d3b6eaSmrg *) as_qdir=$as_dir;; 6199a0d3b6eaSmrg esac 6200a0d3b6eaSmrg as_dirs="'$as_qdir' $as_dirs" 6201a0d3b6eaSmrg as_dir=`$as_dirname -- "$as_dir" || 6202a0d3b6eaSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6203a0d3b6eaSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 6204a0d3b6eaSmrg X"$as_dir" : 'X\(//\)$' \| \ 620562df5ad0Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6206a0d3b6eaSmrg$as_echo X"$as_dir" | 6207a0d3b6eaSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6208a0d3b6eaSmrg s//\1/ 6209a0d3b6eaSmrg q 6210a0d3b6eaSmrg } 6211a0d3b6eaSmrg /^X\(\/\/\)[^/].*/{ 6212a0d3b6eaSmrg s//\1/ 6213a0d3b6eaSmrg q 6214a0d3b6eaSmrg } 6215a0d3b6eaSmrg /^X\(\/\/\)$/{ 6216a0d3b6eaSmrg s//\1/ 6217a0d3b6eaSmrg q 6218a0d3b6eaSmrg } 6219a0d3b6eaSmrg /^X\(\/\).*/{ 6220a0d3b6eaSmrg s//\1/ 6221a0d3b6eaSmrg q 6222a0d3b6eaSmrg } 6223a0d3b6eaSmrg s/.*/./; q'` 6224a0d3b6eaSmrg test -d "$as_dir" && break 6225a0d3b6eaSmrg done 622662df5ad0Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 622762df5ad0Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6228a0d3b6eaSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 6229a0d3b6eaSmrg { (exit 1); exit 1; }; }; } 6230a0d3b6eaSmrg # echo "creating $dirpart/$file" 6231a0d3b6eaSmrg echo '# dummy' > "$dirpart/$file" 6232a0d3b6eaSmrg done 6233a0d3b6eaSmrgdone 6234a0d3b6eaSmrg ;; 6235a0d3b6eaSmrg 6236a0d3b6eaSmrg esac 6237a0d3b6eaSmrgdone # for ac_tag 6238a0d3b6eaSmrg 6239a0d3b6eaSmrg 6240a0d3b6eaSmrg{ (exit 0); exit 0; } 6241a0d3b6eaSmrg_ACEOF 6242a0d3b6eaSmrgchmod +x $CONFIG_STATUS 6243a0d3b6eaSmrgac_clean_files=$ac_clean_files_save 624462df5ad0Smrg 624562df5ad0Smrgtest $ac_write_fail = 0 || 624662df5ad0Smrg { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 624762df5ad0Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 624862df5ad0Smrg { (exit 1); exit 1; }; } 6249a0d3b6eaSmrg 6250a0d3b6eaSmrg 6251a0d3b6eaSmrg# configure is writing to config.log, and then calls config.status. 6252a0d3b6eaSmrg# config.status does its own redirection, appending to config.log. 6253a0d3b6eaSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 6254a0d3b6eaSmrg# by configure, so config.status won't be able to write to it; its 6255a0d3b6eaSmrg# output is simply discarded. So we exec the FD to /dev/null, 6256a0d3b6eaSmrg# effectively closing config.log, so it can be properly (re)opened and 6257a0d3b6eaSmrg# appended to by config.status. When coming back to configure, we 6258a0d3b6eaSmrg# need to make the FD available again. 6259a0d3b6eaSmrgif test "$no_create" != yes; then 6260a0d3b6eaSmrg ac_cs_success=: 6261a0d3b6eaSmrg ac_config_status_args= 6262a0d3b6eaSmrg test "$silent" = yes && 6263a0d3b6eaSmrg ac_config_status_args="$ac_config_status_args --quiet" 6264a0d3b6eaSmrg exec 5>/dev/null 6265a0d3b6eaSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6266a0d3b6eaSmrg exec 5>>config.log 6267a0d3b6eaSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6268a0d3b6eaSmrg # would make configure fail if this is the last instruction. 6269a0d3b6eaSmrg $ac_cs_success || { (exit 1); exit 1; } 627062df5ad0Smrgfi 627162df5ad0Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 627262df5ad0Smrg { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 627362df5ad0Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6274a0d3b6eaSmrgfi 6275 6276