configure revision 168023fe
16ea72052Smrg#! /bin/sh 26ea72052Smrg# Guess values for system-dependent variables and create Makefiles. 3168023feSmrg# Generated by GNU Autoconf 2.68 for oclock 1.0.2. 46ea72052Smrg# 56ea72052Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 66ea72052Smrg# 7168023feSmrg# 8168023feSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9168023feSmrg# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10168023feSmrg# Foundation, Inc. 11168023feSmrg# 12168023feSmrg# 136ea72052Smrg# This configure script is free software; the Free Software Foundation 146ea72052Smrg# gives unlimited permission to copy, distribute and modify it. 15168023feSmrg## -------------------- ## 16168023feSmrg## M4sh Initialization. ## 17168023feSmrg## -------------------- ## 186ea72052Smrg 19168023feSmrg# Be more Bourne compatible 20168023feSmrgDUALCASE=1; export DUALCASE # for MKS sh 21168023feSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 226ea72052Smrg emulate sh 236ea72052Smrg NULLCMD=: 24168023feSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 256ea72052Smrg # is contrary to our usage. Disable this feature. 266ea72052Smrg alias -g '${1+"$@"}'='"$@"' 27168023feSmrg setopt NO_GLOB_SUBST 28168023feSmrgelse 29168023feSmrg case `(set -o) 2>/dev/null` in #( 30168023feSmrg *posix*) : 31168023feSmrg set -o posix ;; #( 32168023feSmrg *) : 33168023feSmrg ;; 34168023feSmrgesac 356ea72052Smrgfi 366ea72052Smrg 37168023feSmrg 38168023feSmrgas_nl=' 39168023feSmrg' 40168023feSmrgexport as_nl 41168023feSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 42168023feSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43168023feSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44168023feSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45168023feSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 46168023feSmrg# but without wasting forks for bash or zsh. 47168023feSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 48168023feSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49168023feSmrg as_echo='print -r --' 50168023feSmrg as_echo_n='print -rn --' 51168023feSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52168023feSmrg as_echo='printf %s\n' 53168023feSmrg as_echo_n='printf %s' 546ea72052Smrgelse 55168023feSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56168023feSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57168023feSmrg as_echo_n='/usr/ucb/echo -n' 58168023feSmrg else 59168023feSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60168023feSmrg as_echo_n_body='eval 61168023feSmrg arg=$1; 62168023feSmrg case $arg in #( 63168023feSmrg *"$as_nl"*) 64168023feSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 65168023feSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66168023feSmrg esac; 67168023feSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68168023feSmrg ' 69168023feSmrg export as_echo_n_body 70168023feSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 71168023feSmrg fi 72168023feSmrg export as_echo_body 73168023feSmrg as_echo='sh -c $as_echo_body as_echo' 74168023feSmrgfi 75168023feSmrg 76168023feSmrg# The user is always right. 77168023feSmrgif test "${PATH_SEPARATOR+set}" != set; then 78168023feSmrg PATH_SEPARATOR=: 79168023feSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80168023feSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81168023feSmrg PATH_SEPARATOR=';' 82168023feSmrg } 836ea72052Smrgfi 846ea72052Smrg 856ea72052Smrg 86168023feSmrg# IFS 87168023feSmrg# We need space, tab and new line, in precisely that order. Quoting is 88168023feSmrg# there to prevent editors from complaining about space-tab. 89168023feSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90168023feSmrg# splitting by setting IFS to empty value.) 91168023feSmrgIFS=" "" $as_nl" 92168023feSmrg 93168023feSmrg# Find who we are. Look in the path if we contain no directory separator. 94168023feSmrgas_myself= 95168023feSmrgcase $0 in #(( 96168023feSmrg *[\\/]* ) as_myself=$0 ;; 97168023feSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98168023feSmrgfor as_dir in $PATH 99168023feSmrgdo 100168023feSmrg IFS=$as_save_IFS 101168023feSmrg test -z "$as_dir" && as_dir=. 102168023feSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103168023feSmrg done 104168023feSmrgIFS=$as_save_IFS 105168023feSmrg 106168023feSmrg ;; 107168023feSmrgesac 108168023feSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 109168023feSmrg# in which case we are not to be found in the path. 110168023feSmrgif test "x$as_myself" = x; then 111168023feSmrg as_myself=$0 112168023feSmrgfi 113168023feSmrgif test ! -f "$as_myself"; then 114168023feSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115168023feSmrg exit 1 116168023feSmrgfi 117168023feSmrg 118168023feSmrg# Unset variables that we do not need and which cause bugs (e.g. in 119168023feSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120168023feSmrg# suppresses any "Segmentation fault" message there. '((' could 121168023feSmrg# trigger a bug in pdksh 5.2.14. 122168023feSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 123168023feSmrgdo eval test x\${$as_var+set} = xset \ 124168023feSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125168023feSmrgdone 1266ea72052SmrgPS1='$ ' 1276ea72052SmrgPS2='> ' 1286ea72052SmrgPS4='+ ' 1296ea72052Smrg 1306ea72052Smrg# NLS nuisances. 131168023feSmrgLC_ALL=C 132168023feSmrgexport LC_ALL 133168023feSmrgLANGUAGE=C 134168023feSmrgexport LANGUAGE 135168023feSmrg 136168023feSmrg# CDPATH. 137168023feSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138168023feSmrg 139168023feSmrgif test "x$CONFIG_SHELL" = x; then 140168023feSmrg as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141168023feSmrg emulate sh 142168023feSmrg NULLCMD=: 143168023feSmrg # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144168023feSmrg # is contrary to our usage. Disable this feature. 145168023feSmrg alias -g '\${1+\"\$@\"}'='\"\$@\"' 146168023feSmrg setopt NO_GLOB_SUBST 147168023feSmrgelse 148168023feSmrg case \`(set -o) 2>/dev/null\` in #( 149168023feSmrg *posix*) : 150168023feSmrg set -o posix ;; #( 151168023feSmrg *) : 152168023feSmrg ;; 153168023feSmrgesac 154168023feSmrgfi 155168023feSmrg" 156168023feSmrg as_required="as_fn_return () { (exit \$1); } 157168023feSmrgas_fn_success () { as_fn_return 0; } 158168023feSmrgas_fn_failure () { as_fn_return 1; } 159168023feSmrgas_fn_ret_success () { return 0; } 160168023feSmrgas_fn_ret_failure () { return 1; } 161168023feSmrg 162168023feSmrgexitcode=0 163168023feSmrgas_fn_success || { exitcode=1; echo as_fn_success failed.; } 164168023feSmrgas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165168023feSmrgas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166168023feSmrgas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167168023feSmrgif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168168023feSmrg 169168023feSmrgelse 170168023feSmrg exitcode=1; echo positional parameters were not saved. 171168023feSmrgfi 172168023feSmrgtest x\$exitcode = x0 || exit 1" 173168023feSmrg as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174168023feSmrg as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175168023feSmrg eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176168023feSmrg test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177168023feSmrgtest \$(( 1 + 1 )) = 2 || exit 1" 178168023feSmrg if (eval "$as_required") 2>/dev/null; then : 179168023feSmrg as_have_required=yes 180168023feSmrgelse 181168023feSmrg as_have_required=no 182168023feSmrgfi 183168023feSmrg if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184168023feSmrg 185168023feSmrgelse 186168023feSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187168023feSmrgas_found=false 188168023feSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1896ea72052Smrgdo 190168023feSmrg IFS=$as_save_IFS 191168023feSmrg test -z "$as_dir" && as_dir=. 192168023feSmrg as_found=: 193168023feSmrg case $as_dir in #( 194168023feSmrg /*) 195168023feSmrg for as_base in sh bash ksh sh5; do 196168023feSmrg # Try only shells that exist, to save several forks. 197168023feSmrg as_shell=$as_dir/$as_base 198168023feSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199168023feSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200168023feSmrg CONFIG_SHELL=$as_shell as_have_required=yes 201168023feSmrg if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202168023feSmrg break 2 203168023feSmrgfi 204168023feSmrgfi 205168023feSmrg done;; 206168023feSmrg esac 207168023feSmrg as_found=false 208168023feSmrgdone 209168023feSmrg$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210168023feSmrg { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211168023feSmrg CONFIG_SHELL=$SHELL as_have_required=yes 212168023feSmrgfi; } 213168023feSmrgIFS=$as_save_IFS 214168023feSmrg 215168023feSmrg 216168023feSmrg if test "x$CONFIG_SHELL" != x; then : 217168023feSmrg # We cannot yet assume a decent shell, so we have to provide a 218168023feSmrg # neutralization value for shells without unset; and this also 219168023feSmrg # works around shells that cannot unset nonexistent variables. 220168023feSmrg # Preserve -v and -x to the replacement shell. 221168023feSmrg BASH_ENV=/dev/null 222168023feSmrg ENV=/dev/null 223168023feSmrg (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224168023feSmrg export CONFIG_SHELL 225168023feSmrg case $- in # (((( 226168023feSmrg *v*x* | *x*v* ) as_opts=-vx ;; 227168023feSmrg *v* ) as_opts=-v ;; 228168023feSmrg *x* ) as_opts=-x ;; 229168023feSmrg * ) as_opts= ;; 230168023feSmrg esac 231168023feSmrg exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232168023feSmrgfi 233168023feSmrg 234168023feSmrg if test x$as_have_required = xno; then : 235168023feSmrg $as_echo "$0: This script requires a shell more modern than all" 236168023feSmrg $as_echo "$0: the shells that I found on your system." 237168023feSmrg if test x${ZSH_VERSION+set} = xset ; then 238168023feSmrg $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239168023feSmrg $as_echo "$0: be upgraded to zsh 4.3.4 or later." 2406ea72052Smrg else 241168023feSmrg $as_echo "$0: Please tell bug-autoconf@gnu.org and 242168023feSmrg$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 243168023feSmrg$0: about your system, including any error possibly output 244168023feSmrg$0: before this message. Then install a modern shell, or 245168023feSmrg$0: manually run the script under such a shell if you do 246168023feSmrg$0: have one." 2476ea72052Smrg fi 248168023feSmrg exit 1 249168023feSmrgfi 250168023feSmrgfi 251168023feSmrgfi 252168023feSmrgSHELL=${CONFIG_SHELL-/bin/sh} 253168023feSmrgexport SHELL 254168023feSmrg# Unset more variables known to interfere with behavior of common tools. 255168023feSmrgCLICOLOR_FORCE= GREP_OPTIONS= 256168023feSmrgunset CLICOLOR_FORCE GREP_OPTIONS 257168023feSmrg 258168023feSmrg## --------------------- ## 259168023feSmrg## M4sh Shell Functions. ## 260168023feSmrg## --------------------- ## 261168023feSmrg# as_fn_unset VAR 262168023feSmrg# --------------- 263168023feSmrg# Portably unset VAR. 264168023feSmrgas_fn_unset () 265168023feSmrg{ 266168023feSmrg { eval $1=; unset $1;} 267168023feSmrg} 268168023feSmrgas_unset=as_fn_unset 269168023feSmrg 270168023feSmrg# as_fn_set_status STATUS 271168023feSmrg# ----------------------- 272168023feSmrg# Set $? to STATUS, without forking. 273168023feSmrgas_fn_set_status () 274168023feSmrg{ 275168023feSmrg return $1 276168023feSmrg} # as_fn_set_status 2776ea72052Smrg 278168023feSmrg# as_fn_exit STATUS 279168023feSmrg# ----------------- 280168023feSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 281168023feSmrgas_fn_exit () 282168023feSmrg{ 283168023feSmrg set +e 284168023feSmrg as_fn_set_status $1 285168023feSmrg exit $1 286168023feSmrg} # as_fn_exit 287168023feSmrg 288168023feSmrg# as_fn_mkdir_p 289168023feSmrg# ------------- 290168023feSmrg# Create "$as_dir" as a directory, including parents if necessary. 291168023feSmrgas_fn_mkdir_p () 292168023feSmrg{ 293168023feSmrg 294168023feSmrg case $as_dir in #( 295168023feSmrg -*) as_dir=./$as_dir;; 296168023feSmrg esac 297168023feSmrg test -d "$as_dir" || eval $as_mkdir_p || { 298168023feSmrg as_dirs= 299168023feSmrg while :; do 300168023feSmrg case $as_dir in #( 301168023feSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 302168023feSmrg *) as_qdir=$as_dir;; 303168023feSmrg esac 304168023feSmrg as_dirs="'$as_qdir' $as_dirs" 305168023feSmrg as_dir=`$as_dirname -- "$as_dir" || 306168023feSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 307168023feSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 308168023feSmrg X"$as_dir" : 'X\(//\)$' \| \ 309168023feSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 310168023feSmrg$as_echo X"$as_dir" | 311168023feSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 312168023feSmrg s//\1/ 313168023feSmrg q 314168023feSmrg } 315168023feSmrg /^X\(\/\/\)[^/].*/{ 316168023feSmrg s//\1/ 317168023feSmrg q 318168023feSmrg } 319168023feSmrg /^X\(\/\/\)$/{ 320168023feSmrg s//\1/ 321168023feSmrg q 322168023feSmrg } 323168023feSmrg /^X\(\/\).*/{ 324168023feSmrg s//\1/ 325168023feSmrg q 326168023feSmrg } 327168023feSmrg s/.*/./; q'` 328168023feSmrg test -d "$as_dir" && break 329168023feSmrg done 330168023feSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 331168023feSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 332168023feSmrg 333168023feSmrg 334168023feSmrg} # as_fn_mkdir_p 335168023feSmrg# as_fn_append VAR VALUE 336168023feSmrg# ---------------------- 337168023feSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 338168023feSmrg# advantage of any shell optimizations that allow amortized linear growth over 339168023feSmrg# repeated appends, instead of the typical quadratic growth present in naive 340168023feSmrg# implementations. 341168023feSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 342168023feSmrg eval 'as_fn_append () 343168023feSmrg { 344168023feSmrg eval $1+=\$2 345168023feSmrg }' 346168023feSmrgelse 347168023feSmrg as_fn_append () 348168023feSmrg { 349168023feSmrg eval $1=\$$1\$2 350168023feSmrg } 351168023feSmrgfi # as_fn_append 352168023feSmrg 353168023feSmrg# as_fn_arith ARG... 354168023feSmrg# ------------------ 355168023feSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 356168023feSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 357168023feSmrg# must be portable across $(()) and expr. 358168023feSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 359168023feSmrg eval 'as_fn_arith () 360168023feSmrg { 361168023feSmrg as_val=$(( $* )) 362168023feSmrg }' 363168023feSmrgelse 364168023feSmrg as_fn_arith () 365168023feSmrg { 366168023feSmrg as_val=`expr "$@" || test $? -eq 1` 367168023feSmrg } 368168023feSmrgfi # as_fn_arith 369168023feSmrg 370168023feSmrg 371168023feSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 372168023feSmrg# ---------------------------------------- 373168023feSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 374168023feSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 375168023feSmrg# script with STATUS, using 1 if that was 0. 376168023feSmrgas_fn_error () 377168023feSmrg{ 378168023feSmrg as_status=$1; test $as_status -eq 0 && as_status=1 379168023feSmrg if test "$4"; then 380168023feSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 381168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 382168023feSmrg fi 383168023feSmrg $as_echo "$as_me: error: $2" >&2 384168023feSmrg as_fn_exit $as_status 385168023feSmrg} # as_fn_error 386168023feSmrg 387168023feSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 388168023feSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 3896ea72052Smrg as_expr=expr 3906ea72052Smrgelse 3916ea72052Smrg as_expr=false 3926ea72052Smrgfi 3936ea72052Smrg 394168023feSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3956ea72052Smrg as_basename=basename 3966ea72052Smrgelse 3976ea72052Smrg as_basename=false 3986ea72052Smrgfi 3996ea72052Smrg 400168023feSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 401168023feSmrg as_dirname=dirname 402168023feSmrgelse 403168023feSmrg as_dirname=false 404168023feSmrgfi 4056ea72052Smrg 406168023feSmrgas_me=`$as_basename -- "$0" || 4076ea72052Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4086ea72052Smrg X"$0" : 'X\(//\)$' \| \ 409168023feSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 410168023feSmrg$as_echo X/"$0" | 411168023feSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 412168023feSmrg s//\1/ 413168023feSmrg q 414168023feSmrg } 415168023feSmrg /^X\/\(\/\/\)$/{ 416168023feSmrg s//\1/ 417168023feSmrg q 418168023feSmrg } 419168023feSmrg /^X\/\(\/\).*/{ 420168023feSmrg s//\1/ 421168023feSmrg q 422168023feSmrg } 423168023feSmrg s/.*/./; q'` 4246ea72052Smrg 4256ea72052Smrg# Avoid depending upon Character Ranges. 4266ea72052Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4276ea72052Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4286ea72052Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4296ea72052Smrgas_cr_digits='0123456789' 4306ea72052Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4316ea72052Smrg 4326ea72052Smrg 433168023feSmrg as_lineno_1=$LINENO as_lineno_1a=$LINENO 434168023feSmrg as_lineno_2=$LINENO as_lineno_2a=$LINENO 435168023feSmrg eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 436168023feSmrg test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 437168023feSmrg # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438168023feSmrg sed -n ' 439168023feSmrg p 440168023feSmrg /[$]LINENO/= 441168023feSmrg ' <$as_myself | 4426ea72052Smrg sed ' 443168023feSmrg s/[$]LINENO.*/&-/ 444168023feSmrg t lineno 445168023feSmrg b 446168023feSmrg :lineno 4476ea72052Smrg N 448168023feSmrg :loop 449168023feSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4506ea72052Smrg t loop 451168023feSmrg s/-\n.*// 4526ea72052Smrg ' >$as_me.lineno && 453168023feSmrg chmod +x "$as_me.lineno" || 454168023feSmrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 4556ea72052Smrg 4566ea72052Smrg # Don't try to exec as it changes $[0], causing all sort of problems 4576ea72052Smrg # (the dirname of $[0] is not the place where we might find the 458168023feSmrg # original and so on. Autoconf is especially sensitive to this). 459168023feSmrg . "./$as_me.lineno" 4606ea72052Smrg # Exit status is that of the last command. 4616ea72052Smrg exit 4626ea72052Smrg} 4636ea72052Smrg 464168023feSmrgECHO_C= ECHO_N= ECHO_T= 465168023feSmrgcase `echo -n x` in #((((( 466168023feSmrg-n*) 467168023feSmrg case `echo 'xy\c'` in 468168023feSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 469168023feSmrg xy) ECHO_C='\c';; 470168023feSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 471168023feSmrg ECHO_T=' ';; 472168023feSmrg esac;; 473168023feSmrg*) 474168023feSmrg ECHO_N='-n';; 4756ea72052Smrgesac 4766ea72052Smrg 477168023feSmrgrm -f conf$$ conf$$.exe conf$$.file 478168023feSmrgif test -d conf$$.dir; then 479168023feSmrg rm -f conf$$.dir/conf$$.file 4806ea72052Smrgelse 481168023feSmrg rm -f conf$$.dir 482168023feSmrg mkdir conf$$.dir 2>/dev/null 4836ea72052Smrgfi 484168023feSmrgif (echo >conf$$.file) 2>/dev/null; then 485168023feSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 4866ea72052Smrg as_ln_s='ln -s' 487168023feSmrg # ... but there are two gotchas: 488168023feSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 489168023feSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 490168023feSmrg # In both cases, we have to default to `cp -p'. 491168023feSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 492168023feSmrg as_ln_s='cp -p' 493168023feSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 494168023feSmrg as_ln_s=ln 495168023feSmrg else 496168023feSmrg as_ln_s='cp -p' 4976ea72052Smrg fi 4986ea72052Smrgelse 4996ea72052Smrg as_ln_s='cp -p' 5006ea72052Smrgfi 501168023feSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 502168023feSmrgrmdir conf$$.dir 2>/dev/null 5036ea72052Smrg 5046ea72052Smrgif mkdir -p . 2>/dev/null; then 505168023feSmrg as_mkdir_p='mkdir -p "$as_dir"' 5066ea72052Smrgelse 5076ea72052Smrg test -d ./-p && rmdir ./-p 5086ea72052Smrg as_mkdir_p=false 5096ea72052Smrgfi 5106ea72052Smrg 511168023feSmrgif test -x / >/dev/null 2>&1; then 512168023feSmrg as_test_x='test -x' 513168023feSmrgelse 514168023feSmrg if ls -dL / >/dev/null 2>&1; then 515168023feSmrg as_ls_L_option=L 516168023feSmrg else 517168023feSmrg as_ls_L_option= 518168023feSmrg fi 519168023feSmrg as_test_x=' 520168023feSmrg eval sh -c '\'' 521168023feSmrg if test -d "$1"; then 522168023feSmrg test -d "$1/."; 523168023feSmrg else 524168023feSmrg case $1 in #( 525168023feSmrg -*)set "./$1";; 526168023feSmrg esac; 527168023feSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 528168023feSmrg ???[sx]*):;;*)false;;esac;fi 529168023feSmrg '\'' sh 530168023feSmrg ' 531168023feSmrgfi 532168023feSmrgas_executable_p=$as_test_x 5336ea72052Smrg 5346ea72052Smrg# Sed expression to map a string onto a valid CPP name. 5356ea72052Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5366ea72052Smrg 5376ea72052Smrg# Sed expression to map a string onto a valid variable name. 5386ea72052Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5396ea72052Smrg 5406ea72052Smrg 541168023feSmrgtest -n "$DJDIR" || exec 7<&0 </dev/null 542168023feSmrgexec 6>&1 5436ea72052Smrg 5446ea72052Smrg# Name of the host. 545168023feSmrg# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 5466ea72052Smrg# so uname gets run too. 5476ea72052Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5486ea72052Smrg 5496ea72052Smrg# 5506ea72052Smrg# Initializations. 5516ea72052Smrg# 5526ea72052Smrgac_default_prefix=/usr/local 553168023feSmrgac_clean_files= 5546ea72052Smrgac_config_libobj_dir=. 555168023feSmrgLIBOBJS= 5566ea72052Smrgcross_compiling=no 5576ea72052Smrgsubdirs= 5586ea72052SmrgMFLAGS= 5596ea72052SmrgMAKEFLAGS= 5606ea72052Smrg 5616ea72052Smrg# Identity of this package. 5626ea72052SmrgPACKAGE_NAME='oclock' 5636ea72052SmrgPACKAGE_TARNAME='oclock' 564168023feSmrgPACKAGE_VERSION='1.0.2' 565168023feSmrgPACKAGE_STRING='oclock 1.0.2' 5666ea72052SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 567168023feSmrgPACKAGE_URL='' 5686ea72052Smrg 569168023feSmrg# Factoring default headers for most tests. 570168023feSmrgac_includes_default="\ 571168023feSmrg#include <stdio.h> 572168023feSmrg#ifdef HAVE_SYS_TYPES_H 573168023feSmrg# include <sys/types.h> 574168023feSmrg#endif 575168023feSmrg#ifdef HAVE_SYS_STAT_H 576168023feSmrg# include <sys/stat.h> 577168023feSmrg#endif 578168023feSmrg#ifdef STDC_HEADERS 579168023feSmrg# include <stdlib.h> 580168023feSmrg# include <stddef.h> 581168023feSmrg#else 582168023feSmrg# ifdef HAVE_STDLIB_H 583168023feSmrg# include <stdlib.h> 584168023feSmrg# endif 585168023feSmrg#endif 586168023feSmrg#ifdef HAVE_STRING_H 587168023feSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 588168023feSmrg# include <memory.h> 589168023feSmrg# endif 590168023feSmrg# include <string.h> 591168023feSmrg#endif 592168023feSmrg#ifdef HAVE_STRINGS_H 593168023feSmrg# include <strings.h> 594168023feSmrg#endif 595168023feSmrg#ifdef HAVE_INTTYPES_H 596168023feSmrg# include <inttypes.h> 597168023feSmrg#endif 598168023feSmrg#ifdef HAVE_STDINT_H 599168023feSmrg# include <stdint.h> 600168023feSmrg#endif 601168023feSmrg#ifdef HAVE_UNISTD_H 602168023feSmrg# include <unistd.h> 603168023feSmrg#endif" 604168023feSmrg 605168023feSmrgac_subst_vars='am__EXEEXT_FALSE 606168023feSmrgam__EXEEXT_TRUE 607168023feSmrgLTLIBOBJS 608168023feSmrgLIBOBJS 609168023feSmrgappdefaultdir 610168023feSmrgAPPDEFS_LIBS 611168023feSmrgAPPDEFS_CFLAGS 612168023feSmrgOCLOCK_LIBS 613168023feSmrgOCLOCK_CFLAGS 614168023feSmrgAM_BACKSLASH 615168023feSmrgAM_DEFAULT_VERBOSITY 616168023feSmrgMAN_SUBSTS 617168023feSmrgXORG_MAN_PAGE 618168023feSmrgADMIN_MAN_DIR 619168023feSmrgDRIVER_MAN_DIR 620168023feSmrgMISC_MAN_DIR 621168023feSmrgFILE_MAN_DIR 622168023feSmrgLIB_MAN_DIR 623168023feSmrgAPP_MAN_DIR 624168023feSmrgADMIN_MAN_SUFFIX 625168023feSmrgDRIVER_MAN_SUFFIX 626168023feSmrgMISC_MAN_SUFFIX 627168023feSmrgFILE_MAN_SUFFIX 628168023feSmrgLIB_MAN_SUFFIX 629168023feSmrgAPP_MAN_SUFFIX 630168023feSmrgSED 631168023feSmrghost_os 632168023feSmrghost_vendor 633168023feSmrghost_cpu 634168023feSmrghost 635168023feSmrgbuild_os 636168023feSmrgbuild_vendor 637168023feSmrgbuild_cpu 638168023feSmrgbuild 639168023feSmrgINSTALL_CMD 640168023feSmrgPKG_CONFIG 641168023feSmrgCHANGELOG_CMD 642168023feSmrgCWARNFLAGS 643168023feSmrgEGREP 644168023feSmrgGREP 645168023feSmrgCPP 646168023feSmrgam__fastdepCC_FALSE 647168023feSmrgam__fastdepCC_TRUE 648168023feSmrgCCDEPMODE 649168023feSmrgAMDEPBACKSLASH 650168023feSmrgAMDEP_FALSE 651168023feSmrgAMDEP_TRUE 652168023feSmrgam__quote 653168023feSmrgam__include 654168023feSmrgDEPDIR 655168023feSmrgOBJEXT 656168023feSmrgEXEEXT 657168023feSmrgac_ct_CC 658168023feSmrgCPPFLAGS 659168023feSmrgLDFLAGS 660168023feSmrgCFLAGS 661168023feSmrgCC 662168023feSmrgMAINT 663168023feSmrgMAINTAINER_MODE_FALSE 664168023feSmrgMAINTAINER_MODE_TRUE 665168023feSmrgam__untar 666168023feSmrgam__tar 667168023feSmrgAMTAR 668168023feSmrgam__leading_dot 669168023feSmrgSET_MAKE 670168023feSmrgAWK 671168023feSmrgmkdir_p 672168023feSmrgMKDIR_P 673168023feSmrgINSTALL_STRIP_PROGRAM 674168023feSmrgSTRIP 675168023feSmrginstall_sh 676168023feSmrgMAKEINFO 677168023feSmrgAUTOHEADER 678168023feSmrgAUTOMAKE 679168023feSmrgAUTOCONF 680168023feSmrgACLOCAL 681168023feSmrgVERSION 682168023feSmrgPACKAGE 683168023feSmrgCYGPATH_W 684168023feSmrgam__isrc 685168023feSmrgINSTALL_DATA 686168023feSmrgINSTALL_SCRIPT 687168023feSmrgINSTALL_PROGRAM 688168023feSmrgtarget_alias 689168023feSmrghost_alias 690168023feSmrgbuild_alias 691168023feSmrgLIBS 692168023feSmrgECHO_T 693168023feSmrgECHO_N 694168023feSmrgECHO_C 695168023feSmrgDEFS 696168023feSmrgmandir 697168023feSmrglocaledir 698168023feSmrglibdir 699168023feSmrgpsdir 700168023feSmrgpdfdir 701168023feSmrgdvidir 702168023feSmrghtmldir 703168023feSmrginfodir 704168023feSmrgdocdir 705168023feSmrgoldincludedir 706168023feSmrgincludedir 707168023feSmrglocalstatedir 708168023feSmrgsharedstatedir 709168023feSmrgsysconfdir 710168023feSmrgdatadir 711168023feSmrgdatarootdir 712168023feSmrglibexecdir 713168023feSmrgsbindir 714168023feSmrgbindir 715168023feSmrgprogram_transform_name 716168023feSmrgprefix 717168023feSmrgexec_prefix 718168023feSmrgPACKAGE_URL 719168023feSmrgPACKAGE_BUGREPORT 720168023feSmrgPACKAGE_STRING 721168023feSmrgPACKAGE_VERSION 722168023feSmrgPACKAGE_TARNAME 723168023feSmrgPACKAGE_NAME 724168023feSmrgPATH_SEPARATOR 725168023feSmrgSHELL' 7266ea72052Smrgac_subst_files='' 727168023feSmrgac_user_opts=' 728168023feSmrgenable_option_checking 729168023feSmrgenable_maintainer_mode 730168023feSmrgenable_dependency_tracking 731168023feSmrgenable_strict_compilation 732168023feSmrgenable_silent_rules 733168023feSmrgwith_appdefaultdir 734168023feSmrg' 735168023feSmrg ac_precious_vars='build_alias 736168023feSmrghost_alias 737168023feSmrgtarget_alias 738168023feSmrgCC 739168023feSmrgCFLAGS 740168023feSmrgLDFLAGS 741168023feSmrgLIBS 742168023feSmrgCPPFLAGS 743168023feSmrgCPP 744168023feSmrgPKG_CONFIG 745168023feSmrgOCLOCK_CFLAGS 746168023feSmrgOCLOCK_LIBS 747168023feSmrgAPPDEFS_CFLAGS 748168023feSmrgAPPDEFS_LIBS' 749168023feSmrg 7506ea72052Smrg 7516ea72052Smrg# Initialize some variables set by options. 7526ea72052Smrgac_init_help= 7536ea72052Smrgac_init_version=false 754168023feSmrgac_unrecognized_opts= 755168023feSmrgac_unrecognized_sep= 7566ea72052Smrg# The variables have the same names as the options, with 7576ea72052Smrg# dashes changed to underlines. 7586ea72052Smrgcache_file=/dev/null 7596ea72052Smrgexec_prefix=NONE 7606ea72052Smrgno_create= 7616ea72052Smrgno_recursion= 7626ea72052Smrgprefix=NONE 7636ea72052Smrgprogram_prefix=NONE 7646ea72052Smrgprogram_suffix=NONE 7656ea72052Smrgprogram_transform_name=s,x,x, 7666ea72052Smrgsilent= 7676ea72052Smrgsite= 7686ea72052Smrgsrcdir= 7696ea72052Smrgverbose= 7706ea72052Smrgx_includes=NONE 7716ea72052Smrgx_libraries=NONE 7726ea72052Smrg 7736ea72052Smrg# Installation directory options. 7746ea72052Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 7756ea72052Smrg# and all the variables that are supposed to be based on exec_prefix 7766ea72052Smrg# by default will actually change. 7776ea72052Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 778168023feSmrg# (The list follows the same order as the GNU Coding Standards.) 7796ea72052Smrgbindir='${exec_prefix}/bin' 7806ea72052Smrgsbindir='${exec_prefix}/sbin' 7816ea72052Smrglibexecdir='${exec_prefix}/libexec' 782168023feSmrgdatarootdir='${prefix}/share' 783168023feSmrgdatadir='${datarootdir}' 7846ea72052Smrgsysconfdir='${prefix}/etc' 7856ea72052Smrgsharedstatedir='${prefix}/com' 7866ea72052Smrglocalstatedir='${prefix}/var' 7876ea72052Smrgincludedir='${prefix}/include' 7886ea72052Smrgoldincludedir='/usr/include' 789168023feSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 790168023feSmrginfodir='${datarootdir}/info' 791168023feSmrghtmldir='${docdir}' 792168023feSmrgdvidir='${docdir}' 793168023feSmrgpdfdir='${docdir}' 794168023feSmrgpsdir='${docdir}' 795168023feSmrglibdir='${exec_prefix}/lib' 796168023feSmrglocaledir='${datarootdir}/locale' 797168023feSmrgmandir='${datarootdir}/man' 7986ea72052Smrg 7996ea72052Smrgac_prev= 800168023feSmrgac_dashdash= 8016ea72052Smrgfor ac_option 8026ea72052Smrgdo 8036ea72052Smrg # If the previous option needs an argument, assign it. 8046ea72052Smrg if test -n "$ac_prev"; then 805168023feSmrg eval $ac_prev=\$ac_option 8066ea72052Smrg ac_prev= 8076ea72052Smrg continue 8086ea72052Smrg fi 8096ea72052Smrg 810168023feSmrg case $ac_option in 811168023feSmrg *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 812168023feSmrg *=) ac_optarg= ;; 813168023feSmrg *) ac_optarg=yes ;; 814168023feSmrg esac 8156ea72052Smrg 8166ea72052Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 8176ea72052Smrg 818168023feSmrg case $ac_dashdash$ac_option in 819168023feSmrg --) 820168023feSmrg ac_dashdash=yes ;; 8216ea72052Smrg 8226ea72052Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8236ea72052Smrg ac_prev=bindir ;; 8246ea72052Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8256ea72052Smrg bindir=$ac_optarg ;; 8266ea72052Smrg 8276ea72052Smrg -build | --build | --buil | --bui | --bu) 8286ea72052Smrg ac_prev=build_alias ;; 8296ea72052Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8306ea72052Smrg build_alias=$ac_optarg ;; 8316ea72052Smrg 8326ea72052Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8336ea72052Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8346ea72052Smrg ac_prev=cache_file ;; 8356ea72052Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8366ea72052Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8376ea72052Smrg cache_file=$ac_optarg ;; 8386ea72052Smrg 8396ea72052Smrg --config-cache | -C) 8406ea72052Smrg cache_file=config.cache ;; 8416ea72052Smrg 842168023feSmrg -datadir | --datadir | --datadi | --datad) 8436ea72052Smrg ac_prev=datadir ;; 844168023feSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8456ea72052Smrg datadir=$ac_optarg ;; 8466ea72052Smrg 847168023feSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 848168023feSmrg | --dataroo | --dataro | --datar) 849168023feSmrg ac_prev=datarootdir ;; 850168023feSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 851168023feSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 852168023feSmrg datarootdir=$ac_optarg ;; 853168023feSmrg 8546ea72052Smrg -disable-* | --disable-*) 855168023feSmrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8566ea72052Smrg # Reject names that are not valid shell variable names. 857168023feSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 858168023feSmrg as_fn_error $? "invalid feature name: $ac_useropt" 859168023feSmrg ac_useropt_orig=$ac_useropt 860168023feSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 861168023feSmrg case $ac_user_opts in 862168023feSmrg *" 863168023feSmrg"enable_$ac_useropt" 864168023feSmrg"*) ;; 865168023feSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 866168023feSmrg ac_unrecognized_sep=', ';; 867168023feSmrg esac 868168023feSmrg eval enable_$ac_useropt=no ;; 869168023feSmrg 870168023feSmrg -docdir | --docdir | --docdi | --doc | --do) 871168023feSmrg ac_prev=docdir ;; 872168023feSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 873168023feSmrg docdir=$ac_optarg ;; 874168023feSmrg 875168023feSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 876168023feSmrg ac_prev=dvidir ;; 877168023feSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 878168023feSmrg dvidir=$ac_optarg ;; 8796ea72052Smrg 8806ea72052Smrg -enable-* | --enable-*) 881168023feSmrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8826ea72052Smrg # Reject names that are not valid shell variable names. 883168023feSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 884168023feSmrg as_fn_error $? "invalid feature name: $ac_useropt" 885168023feSmrg ac_useropt_orig=$ac_useropt 886168023feSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 887168023feSmrg case $ac_user_opts in 888168023feSmrg *" 889168023feSmrg"enable_$ac_useropt" 890168023feSmrg"*) ;; 891168023feSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 892168023feSmrg ac_unrecognized_sep=', ';; 8936ea72052Smrg esac 894168023feSmrg eval enable_$ac_useropt=\$ac_optarg ;; 8956ea72052Smrg 8966ea72052Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 8976ea72052Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 8986ea72052Smrg | --exec | --exe | --ex) 8996ea72052Smrg ac_prev=exec_prefix ;; 9006ea72052Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 9016ea72052Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 9026ea72052Smrg | --exec=* | --exe=* | --ex=*) 9036ea72052Smrg exec_prefix=$ac_optarg ;; 9046ea72052Smrg 9056ea72052Smrg -gas | --gas | --ga | --g) 9066ea72052Smrg # Obsolete; use --with-gas. 9076ea72052Smrg with_gas=yes ;; 9086ea72052Smrg 9096ea72052Smrg -help | --help | --hel | --he | -h) 9106ea72052Smrg ac_init_help=long ;; 9116ea72052Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 9126ea72052Smrg ac_init_help=recursive ;; 9136ea72052Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 9146ea72052Smrg ac_init_help=short ;; 9156ea72052Smrg 9166ea72052Smrg -host | --host | --hos | --ho) 9176ea72052Smrg ac_prev=host_alias ;; 9186ea72052Smrg -host=* | --host=* | --hos=* | --ho=*) 9196ea72052Smrg host_alias=$ac_optarg ;; 9206ea72052Smrg 921168023feSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 922168023feSmrg ac_prev=htmldir ;; 923168023feSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 924168023feSmrg | --ht=*) 925168023feSmrg htmldir=$ac_optarg ;; 926168023feSmrg 9276ea72052Smrg -includedir | --includedir | --includedi | --included | --include \ 9286ea72052Smrg | --includ | --inclu | --incl | --inc) 9296ea72052Smrg ac_prev=includedir ;; 9306ea72052Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9316ea72052Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9326ea72052Smrg includedir=$ac_optarg ;; 9336ea72052Smrg 9346ea72052Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9356ea72052Smrg ac_prev=infodir ;; 9366ea72052Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9376ea72052Smrg infodir=$ac_optarg ;; 9386ea72052Smrg 9396ea72052Smrg -libdir | --libdir | --libdi | --libd) 9406ea72052Smrg ac_prev=libdir ;; 9416ea72052Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9426ea72052Smrg libdir=$ac_optarg ;; 9436ea72052Smrg 9446ea72052Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9456ea72052Smrg | --libexe | --libex | --libe) 9466ea72052Smrg ac_prev=libexecdir ;; 9476ea72052Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9486ea72052Smrg | --libexe=* | --libex=* | --libe=*) 9496ea72052Smrg libexecdir=$ac_optarg ;; 9506ea72052Smrg 951168023feSmrg -localedir | --localedir | --localedi | --localed | --locale) 952168023feSmrg ac_prev=localedir ;; 953168023feSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 954168023feSmrg localedir=$ac_optarg ;; 955168023feSmrg 9566ea72052Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 957168023feSmrg | --localstate | --localstat | --localsta | --localst | --locals) 9586ea72052Smrg ac_prev=localstatedir ;; 9596ea72052Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 960168023feSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9616ea72052Smrg localstatedir=$ac_optarg ;; 9626ea72052Smrg 9636ea72052Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9646ea72052Smrg ac_prev=mandir ;; 9656ea72052Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9666ea72052Smrg mandir=$ac_optarg ;; 9676ea72052Smrg 9686ea72052Smrg -nfp | --nfp | --nf) 9696ea72052Smrg # Obsolete; use --without-fp. 9706ea72052Smrg with_fp=no ;; 9716ea72052Smrg 9726ea72052Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9736ea72052Smrg | --no-cr | --no-c | -n) 9746ea72052Smrg no_create=yes ;; 9756ea72052Smrg 9766ea72052Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9776ea72052Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9786ea72052Smrg no_recursion=yes ;; 9796ea72052Smrg 9806ea72052Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9816ea72052Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9826ea72052Smrg | --oldin | --oldi | --old | --ol | --o) 9836ea72052Smrg ac_prev=oldincludedir ;; 9846ea72052Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9856ea72052Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9866ea72052Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9876ea72052Smrg oldincludedir=$ac_optarg ;; 9886ea72052Smrg 9896ea72052Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9906ea72052Smrg ac_prev=prefix ;; 9916ea72052Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9926ea72052Smrg prefix=$ac_optarg ;; 9936ea72052Smrg 9946ea72052Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9956ea72052Smrg | --program-pre | --program-pr | --program-p) 9966ea72052Smrg ac_prev=program_prefix ;; 9976ea72052Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 9986ea72052Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 9996ea72052Smrg program_prefix=$ac_optarg ;; 10006ea72052Smrg 10016ea72052Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 10026ea72052Smrg | --program-suf | --program-su | --program-s) 10036ea72052Smrg ac_prev=program_suffix ;; 10046ea72052Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 10056ea72052Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 10066ea72052Smrg program_suffix=$ac_optarg ;; 10076ea72052Smrg 10086ea72052Smrg -program-transform-name | --program-transform-name \ 10096ea72052Smrg | --program-transform-nam | --program-transform-na \ 10106ea72052Smrg | --program-transform-n | --program-transform- \ 10116ea72052Smrg | --program-transform | --program-transfor \ 10126ea72052Smrg | --program-transfo | --program-transf \ 10136ea72052Smrg | --program-trans | --program-tran \ 10146ea72052Smrg | --progr-tra | --program-tr | --program-t) 10156ea72052Smrg ac_prev=program_transform_name ;; 10166ea72052Smrg -program-transform-name=* | --program-transform-name=* \ 10176ea72052Smrg | --program-transform-nam=* | --program-transform-na=* \ 10186ea72052Smrg | --program-transform-n=* | --program-transform-=* \ 10196ea72052Smrg | --program-transform=* | --program-transfor=* \ 10206ea72052Smrg | --program-transfo=* | --program-transf=* \ 10216ea72052Smrg | --program-trans=* | --program-tran=* \ 10226ea72052Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 10236ea72052Smrg program_transform_name=$ac_optarg ;; 10246ea72052Smrg 1025168023feSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1026168023feSmrg ac_prev=pdfdir ;; 1027168023feSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1028168023feSmrg pdfdir=$ac_optarg ;; 1029168023feSmrg 1030168023feSmrg -psdir | --psdir | --psdi | --psd | --ps) 1031168023feSmrg ac_prev=psdir ;; 1032168023feSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1033168023feSmrg psdir=$ac_optarg ;; 1034168023feSmrg 10356ea72052Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10366ea72052Smrg | -silent | --silent | --silen | --sile | --sil) 10376ea72052Smrg silent=yes ;; 10386ea72052Smrg 10396ea72052Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10406ea72052Smrg ac_prev=sbindir ;; 10416ea72052Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10426ea72052Smrg | --sbi=* | --sb=*) 10436ea72052Smrg sbindir=$ac_optarg ;; 10446ea72052Smrg 10456ea72052Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10466ea72052Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10476ea72052Smrg | --sharedst | --shareds | --shared | --share | --shar \ 10486ea72052Smrg | --sha | --sh) 10496ea72052Smrg ac_prev=sharedstatedir ;; 10506ea72052Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10516ea72052Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10526ea72052Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10536ea72052Smrg | --sha=* | --sh=*) 10546ea72052Smrg sharedstatedir=$ac_optarg ;; 10556ea72052Smrg 10566ea72052Smrg -site | --site | --sit) 10576ea72052Smrg ac_prev=site ;; 10586ea72052Smrg -site=* | --site=* | --sit=*) 10596ea72052Smrg site=$ac_optarg ;; 10606ea72052Smrg 10616ea72052Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10626ea72052Smrg ac_prev=srcdir ;; 10636ea72052Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10646ea72052Smrg srcdir=$ac_optarg ;; 10656ea72052Smrg 10666ea72052Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10676ea72052Smrg | --syscon | --sysco | --sysc | --sys | --sy) 10686ea72052Smrg ac_prev=sysconfdir ;; 10696ea72052Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10706ea72052Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10716ea72052Smrg sysconfdir=$ac_optarg ;; 10726ea72052Smrg 10736ea72052Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 10746ea72052Smrg ac_prev=target_alias ;; 10756ea72052Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10766ea72052Smrg target_alias=$ac_optarg ;; 10776ea72052Smrg 10786ea72052Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 10796ea72052Smrg verbose=yes ;; 10806ea72052Smrg 10816ea72052Smrg -version | --version | --versio | --versi | --vers | -V) 10826ea72052Smrg ac_init_version=: ;; 10836ea72052Smrg 10846ea72052Smrg -with-* | --with-*) 1085168023feSmrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10866ea72052Smrg # Reject names that are not valid shell variable names. 1087168023feSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1088168023feSmrg as_fn_error $? "invalid package name: $ac_useropt" 1089168023feSmrg ac_useropt_orig=$ac_useropt 1090168023feSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1091168023feSmrg case $ac_user_opts in 1092168023feSmrg *" 1093168023feSmrg"with_$ac_useropt" 1094168023feSmrg"*) ;; 1095168023feSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1096168023feSmrg ac_unrecognized_sep=', ';; 10976ea72052Smrg esac 1098168023feSmrg eval with_$ac_useropt=\$ac_optarg ;; 10996ea72052Smrg 11006ea72052Smrg -without-* | --without-*) 1101168023feSmrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 11026ea72052Smrg # Reject names that are not valid shell variable names. 1103168023feSmrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1104168023feSmrg as_fn_error $? "invalid package name: $ac_useropt" 1105168023feSmrg ac_useropt_orig=$ac_useropt 1106168023feSmrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1107168023feSmrg case $ac_user_opts in 1108168023feSmrg *" 1109168023feSmrg"with_$ac_useropt" 1110168023feSmrg"*) ;; 1111168023feSmrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1112168023feSmrg ac_unrecognized_sep=', ';; 1113168023feSmrg esac 1114168023feSmrg eval with_$ac_useropt=no ;; 11156ea72052Smrg 11166ea72052Smrg --x) 11176ea72052Smrg # Obsolete; use --with-x. 11186ea72052Smrg with_x=yes ;; 11196ea72052Smrg 11206ea72052Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 11216ea72052Smrg | --x-incl | --x-inc | --x-in | --x-i) 11226ea72052Smrg ac_prev=x_includes ;; 11236ea72052Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 11246ea72052Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 11256ea72052Smrg x_includes=$ac_optarg ;; 11266ea72052Smrg 11276ea72052Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 11286ea72052Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 11296ea72052Smrg ac_prev=x_libraries ;; 11306ea72052Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 11316ea72052Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 11326ea72052Smrg x_libraries=$ac_optarg ;; 11336ea72052Smrg 1134168023feSmrg -*) as_fn_error $? "unrecognized option: \`$ac_option' 1135168023feSmrgTry \`$0 --help' for more information" 11366ea72052Smrg ;; 11376ea72052Smrg 11386ea72052Smrg *=*) 11396ea72052Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11406ea72052Smrg # Reject names that are not valid shell variable names. 1141168023feSmrg case $ac_envvar in #( 1142168023feSmrg '' | [0-9]* | *[!_$as_cr_alnum]* ) 1143168023feSmrg as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1144168023feSmrg esac 1145168023feSmrg eval $ac_envvar=\$ac_optarg 11466ea72052Smrg export $ac_envvar ;; 11476ea72052Smrg 11486ea72052Smrg *) 11496ea72052Smrg # FIXME: should be removed in autoconf 3.0. 1150168023feSmrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 11516ea72052Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1152168023feSmrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1153168023feSmrg : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 11546ea72052Smrg ;; 11556ea72052Smrg 11566ea72052Smrg esac 11576ea72052Smrgdone 11586ea72052Smrg 11596ea72052Smrgif test -n "$ac_prev"; then 11606ea72052Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1161168023feSmrg as_fn_error $? "missing argument to $ac_option" 11626ea72052Smrgfi 11636ea72052Smrg 1164168023feSmrgif test -n "$ac_unrecognized_opts"; then 1165168023feSmrg case $enable_option_checking in 1166168023feSmrg no) ;; 1167168023feSmrg fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1168168023feSmrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 11696ea72052Smrg esac 1170168023feSmrgfi 11716ea72052Smrg 1172168023feSmrg# Check all directory arguments for consistency. 1173168023feSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1174168023feSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1175168023feSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1176168023feSmrg libdir localedir mandir 11776ea72052Smrgdo 1178168023feSmrg eval ac_val=\$$ac_var 1179168023feSmrg # Remove trailing slashes. 1180168023feSmrg case $ac_val in 1181168023feSmrg */ ) 1182168023feSmrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1183168023feSmrg eval $ac_var=\$ac_val;; 1184168023feSmrg esac 1185168023feSmrg # Be sure to have absolute directory names. 11866ea72052Smrg case $ac_val in 1187168023feSmrg [\\/$]* | ?:[\\/]* ) continue;; 1188168023feSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11896ea72052Smrg esac 1190168023feSmrg as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 11916ea72052Smrgdone 11926ea72052Smrg 11936ea72052Smrg# There might be people who depend on the old broken behavior: `$host' 11946ea72052Smrg# used to hold the argument of --host etc. 11956ea72052Smrg# FIXME: To remove some day. 11966ea72052Smrgbuild=$build_alias 11976ea72052Smrghost=$host_alias 11986ea72052Smrgtarget=$target_alias 11996ea72052Smrg 12006ea72052Smrg# FIXME: To remove some day. 12016ea72052Smrgif test "x$host_alias" != x; then 12026ea72052Smrg if test "x$build_alias" = x; then 12036ea72052Smrg cross_compiling=maybe 1204168023feSmrg $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1205168023feSmrg If a cross compiler is detected then cross compile mode will be used" >&2 12066ea72052Smrg elif test "x$build_alias" != "x$host_alias"; then 12076ea72052Smrg cross_compiling=yes 12086ea72052Smrg fi 12096ea72052Smrgfi 12106ea72052Smrg 12116ea72052Smrgac_tool_prefix= 12126ea72052Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 12136ea72052Smrg 12146ea72052Smrgtest "$silent" = yes && exec 6>/dev/null 12156ea72052Smrg 12166ea72052Smrg 1217168023feSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 1218168023feSmrgac_ls_di=`ls -di .` && 1219168023feSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1220168023feSmrg as_fn_error $? "working directory cannot be determined" 1221168023feSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1222168023feSmrg as_fn_error $? "pwd does not report name of working directory" 1223168023feSmrg 1224168023feSmrg 12256ea72052Smrg# Find the source files, if location was not specified. 12266ea72052Smrgif test -z "$srcdir"; then 12276ea72052Smrg ac_srcdir_defaulted=yes 1228168023feSmrg # Try the directory containing this script, then the parent directory. 1229168023feSmrg ac_confdir=`$as_dirname -- "$as_myself" || 1230168023feSmrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1231168023feSmrg X"$as_myself" : 'X\(//\)[^/]' \| \ 1232168023feSmrg X"$as_myself" : 'X\(//\)$' \| \ 1233168023feSmrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1234168023feSmrg$as_echo X"$as_myself" | 1235168023feSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1236168023feSmrg s//\1/ 1237168023feSmrg q 1238168023feSmrg } 1239168023feSmrg /^X\(\/\/\)[^/].*/{ 1240168023feSmrg s//\1/ 1241168023feSmrg q 1242168023feSmrg } 1243168023feSmrg /^X\(\/\/\)$/{ 1244168023feSmrg s//\1/ 1245168023feSmrg q 1246168023feSmrg } 1247168023feSmrg /^X\(\/\).*/{ 1248168023feSmrg s//\1/ 1249168023feSmrg q 1250168023feSmrg } 1251168023feSmrg s/.*/./; q'` 12526ea72052Smrg srcdir=$ac_confdir 1253168023feSmrg if test ! -r "$srcdir/$ac_unique_file"; then 12546ea72052Smrg srcdir=.. 12556ea72052Smrg fi 12566ea72052Smrgelse 12576ea72052Smrg ac_srcdir_defaulted=no 12586ea72052Smrgfi 1259168023feSmrgif test ! -r "$srcdir/$ac_unique_file"; then 1260168023feSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1261168023feSmrg as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1262168023feSmrgfi 1263168023feSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1264168023feSmrgac_abs_confdir=`( 1265168023feSmrg cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1266168023feSmrg pwd)` 1267168023feSmrg# When building in place, set srcdir=. 1268168023feSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1269168023feSmrg srcdir=. 1270168023feSmrgfi 1271168023feSmrg# Remove unnecessary trailing slashes from srcdir. 1272168023feSmrg# Double slashes in file names in object file debugging info 1273168023feSmrg# mess up M-x gdb in Emacs. 1274168023feSmrgcase $srcdir in 1275168023feSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1276168023feSmrgesac 1277168023feSmrgfor ac_var in $ac_precious_vars; do 1278168023feSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1279168023feSmrg eval ac_env_${ac_var}_value=\$${ac_var} 1280168023feSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1281168023feSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1282168023feSmrgdone 12836ea72052Smrg 12846ea72052Smrg# 12856ea72052Smrg# Report the --help message. 12866ea72052Smrg# 12876ea72052Smrgif test "$ac_init_help" = "long"; then 12886ea72052Smrg # Omit some internal or obsolete options to make the list less imposing. 12896ea72052Smrg # This message is too long to be a string in the A/UX 3.1 sh. 12906ea72052Smrg cat <<_ACEOF 1291168023feSmrg\`configure' configures oclock 1.0.2 to adapt to many kinds of systems. 12926ea72052Smrg 12936ea72052SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 12946ea72052Smrg 12956ea72052SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 12966ea72052SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 12976ea72052Smrg 12986ea72052SmrgDefaults for the options are specified in brackets. 12996ea72052Smrg 13006ea72052SmrgConfiguration: 13016ea72052Smrg -h, --help display this help and exit 13026ea72052Smrg --help=short display options specific to this package 13036ea72052Smrg --help=recursive display the short help of all the included packages 13046ea72052Smrg -V, --version display version information and exit 1305168023feSmrg -q, --quiet, --silent do not print \`checking ...' messages 13066ea72052Smrg --cache-file=FILE cache test results in FILE [disabled] 13076ea72052Smrg -C, --config-cache alias for \`--cache-file=config.cache' 13086ea72052Smrg -n, --no-create do not create output files 13096ea72052Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 13106ea72052Smrg 13116ea72052SmrgInstallation directories: 13126ea72052Smrg --prefix=PREFIX install architecture-independent files in PREFIX 1313168023feSmrg [$ac_default_prefix] 13146ea72052Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1315168023feSmrg [PREFIX] 13166ea72052Smrg 13176ea72052SmrgBy default, \`make install' will install all the files in 13186ea72052Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 13196ea72052Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 13206ea72052Smrgfor instance \`--prefix=\$HOME'. 13216ea72052Smrg 13226ea72052SmrgFor better control, use the options below. 13236ea72052Smrg 13246ea72052SmrgFine tuning of the installation directories: 1325168023feSmrg --bindir=DIR user executables [EPREFIX/bin] 1326168023feSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 1327168023feSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 1328168023feSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1329168023feSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1330168023feSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1331168023feSmrg --libdir=DIR object code libraries [EPREFIX/lib] 1332168023feSmrg --includedir=DIR C header files [PREFIX/include] 1333168023feSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 1334168023feSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1335168023feSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1336168023feSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 1337168023feSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1338168023feSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 1339168023feSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/oclock] 1340168023feSmrg --htmldir=DIR html documentation [DOCDIR] 1341168023feSmrg --dvidir=DIR dvi documentation [DOCDIR] 1342168023feSmrg --pdfdir=DIR pdf documentation [DOCDIR] 1343168023feSmrg --psdir=DIR ps documentation [DOCDIR] 13446ea72052Smrg_ACEOF 13456ea72052Smrg 13466ea72052Smrg cat <<\_ACEOF 13476ea72052Smrg 13486ea72052SmrgProgram names: 13496ea72052Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 13506ea72052Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 13516ea72052Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13526ea72052Smrg 13536ea72052SmrgSystem types: 13546ea72052Smrg --build=BUILD configure for building on BUILD [guessed] 13556ea72052Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 13566ea72052Smrg_ACEOF 13576ea72052Smrgfi 13586ea72052Smrg 13596ea72052Smrgif test -n "$ac_init_help"; then 13606ea72052Smrg case $ac_init_help in 1361168023feSmrg short | recursive ) echo "Configuration of oclock 1.0.2:";; 13626ea72052Smrg esac 13636ea72052Smrg cat <<\_ACEOF 13646ea72052Smrg 13656ea72052SmrgOptional Features: 1366168023feSmrg --disable-option-checking ignore unrecognized --enable/--with options 13676ea72052Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 13686ea72052Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1369168023feSmrg --enable-maintainer-mode enable make rules and dependencies not useful 1370168023feSmrg (and sometimes confusing) to the casual installer 1371168023feSmrg --disable-dependency-tracking speeds up one-time build 1372168023feSmrg --enable-dependency-tracking do not reject slow dependency extractors 1373168023feSmrg --enable-strict-compilation 1374168023feSmrg Enable all warnings from compiler and make them 1375168023feSmrg errors (default: disabled) 1376168023feSmrg --enable-silent-rules less verbose build output (undo: `make V=1') 1377168023feSmrg --disable-silent-rules verbose build output (undo: `make V=0') 13786ea72052Smrg 13796ea72052SmrgOptional Packages: 13806ea72052Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 13816ea72052Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1382168023feSmrg --with-appdefaultdir=<pathname> 1383168023feSmrg specify directory for app-defaults files (default is 1384168023feSmrg autodetected) 13856ea72052Smrg 13866ea72052SmrgSome influential environment variables: 13876ea72052Smrg CC C compiler command 13886ea72052Smrg CFLAGS C compiler flags 13896ea72052Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13906ea72052Smrg nonstandard directory <lib dir> 1391168023feSmrg LIBS libraries to pass to the linker, e.g. -l<library> 1392168023feSmrg CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1393168023feSmrg you have headers in a nonstandard directory <include dir> 1394168023feSmrg CPP C preprocessor 13956ea72052Smrg PKG_CONFIG path to pkg-config utility 13966ea72052Smrg OCLOCK_CFLAGS 13976ea72052Smrg C compiler flags for OCLOCK, overriding pkg-config 13986ea72052Smrg OCLOCK_LIBS linker flags for OCLOCK, overriding pkg-config 13996ea72052Smrg APPDEFS_CFLAGS 14006ea72052Smrg C compiler flags for APPDEFS, overriding pkg-config 14016ea72052Smrg APPDEFS_LIBS 14026ea72052Smrg linker flags for APPDEFS, overriding pkg-config 14036ea72052Smrg 14046ea72052SmrgUse these variables to override the choices made by `configure' or to help 14056ea72052Smrgit to find libraries and programs with nonstandard names/locations. 14066ea72052Smrg 14076ea72052SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 14086ea72052Smrg_ACEOF 1409168023feSmrgac_status=$? 14106ea72052Smrgfi 14116ea72052Smrg 14126ea72052Smrgif test "$ac_init_help" = "recursive"; then 14136ea72052Smrg # If there are subdirs, report their specific --help. 14146ea72052Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1415168023feSmrg test -d "$ac_dir" || 1416168023feSmrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1417168023feSmrg continue 14186ea72052Smrg ac_builddir=. 14196ea72052Smrg 1420168023feSmrgcase "$ac_dir" in 1421168023feSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1422168023feSmrg*) 1423168023feSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1424168023feSmrg # A ".." for each directory in $ac_dir_suffix. 1425168023feSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1426168023feSmrg case $ac_top_builddir_sub in 1427168023feSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1428168023feSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1429168023feSmrg esac ;; 1430168023feSmrgesac 1431168023feSmrgac_abs_top_builddir=$ac_pwd 1432168023feSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1433168023feSmrg# for backward compatibility: 1434168023feSmrgac_top_builddir=$ac_top_build_prefix 14356ea72052Smrg 14366ea72052Smrgcase $srcdir in 1437168023feSmrg .) # We are building in place. 14386ea72052Smrg ac_srcdir=. 1439168023feSmrg ac_top_srcdir=$ac_top_builddir_sub 1440168023feSmrg ac_abs_top_srcdir=$ac_pwd ;; 1441168023feSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 14426ea72052Smrg ac_srcdir=$srcdir$ac_dir_suffix; 1443168023feSmrg ac_top_srcdir=$srcdir 1444168023feSmrg ac_abs_top_srcdir=$srcdir ;; 1445168023feSmrg *) # Relative name. 1446168023feSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1447168023feSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1448168023feSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14496ea72052Smrgesac 1450168023feSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1451168023feSmrg 1452168023feSmrg cd "$ac_dir" || { ac_status=$?; continue; } 1453168023feSmrg # Check for guested configure. 1454168023feSmrg if test -f "$ac_srcdir/configure.gnu"; then 1455168023feSmrg echo && 1456168023feSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1457168023feSmrg elif test -f "$ac_srcdir/configure"; then 1458168023feSmrg echo && 1459168023feSmrg $SHELL "$ac_srcdir/configure" --help=recursive 14606ea72052Smrg else 1461168023feSmrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1462168023feSmrg fi || ac_status=$? 1463168023feSmrg cd "$ac_pwd" || { ac_status=$?; break; } 14646ea72052Smrg done 14656ea72052Smrgfi 14666ea72052Smrg 1467168023feSmrgtest -n "$ac_init_help" && exit $ac_status 14686ea72052Smrgif $ac_init_version; then 14696ea72052Smrg cat <<\_ACEOF 1470168023feSmrgoclock configure 1.0.2 1471168023feSmrggenerated by GNU Autoconf 2.68 14726ea72052Smrg 1473168023feSmrgCopyright (C) 2010 Free Software Foundation, Inc. 14746ea72052SmrgThis configure script is free software; the Free Software Foundation 14756ea72052Smrggives unlimited permission to copy, distribute and modify it. 14766ea72052Smrg_ACEOF 1477168023feSmrg exit 14786ea72052Smrgfi 14796ea72052Smrg 1480168023feSmrg## ------------------------ ## 1481168023feSmrg## Autoconf initialization. ## 1482168023feSmrg## ------------------------ ## 14836ea72052Smrg 1484168023feSmrg# ac_fn_c_try_compile LINENO 1485168023feSmrg# -------------------------- 1486168023feSmrg# Try to compile conftest.$ac_ext, and return whether this succeeded. 1487168023feSmrgac_fn_c_try_compile () 14886ea72052Smrg{ 1489168023feSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1490168023feSmrg rm -f conftest.$ac_objext 1491168023feSmrg if { { ac_try="$ac_compile" 1492168023feSmrgcase "(($ac_try" in 1493168023feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1494168023feSmrg *) ac_try_echo=$ac_try;; 1495168023feSmrgesac 1496168023feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1497168023feSmrg$as_echo "$ac_try_echo"; } >&5 1498168023feSmrg (eval "$ac_compile") 2>conftest.err 1499168023feSmrg ac_status=$? 1500168023feSmrg if test -s conftest.err; then 1501168023feSmrg grep -v '^ *+' conftest.err >conftest.er1 1502168023feSmrg cat conftest.er1 >&5 1503168023feSmrg mv -f conftest.er1 conftest.err 1504168023feSmrg fi 1505168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1506168023feSmrg test $ac_status = 0; } && { 1507168023feSmrg test -z "$ac_c_werror_flag" || 1508168023feSmrg test ! -s conftest.err 1509168023feSmrg } && test -s conftest.$ac_objext; then : 1510168023feSmrg ac_retval=0 1511168023feSmrgelse 1512168023feSmrg $as_echo "$as_me: failed program was:" >&5 1513168023feSmrgsed 's/^/| /' conftest.$ac_ext >&5 15146ea72052Smrg 1515168023feSmrg ac_retval=1 1516168023feSmrgfi 1517168023feSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1518168023feSmrg as_fn_set_status $ac_retval 15196ea72052Smrg 1520168023feSmrg} # ac_fn_c_try_compile 15216ea72052Smrg 1522168023feSmrg# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1523168023feSmrg# --------------------------------------------- 1524168023feSmrg# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1525168023feSmrg# accordingly. 1526168023feSmrgac_fn_c_check_decl () 1527168023feSmrg{ 1528168023feSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1529168023feSmrg as_decl_name=`echo $2|sed 's/ *(.*//'` 1530168023feSmrg as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1531168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1532168023feSmrg$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 1533168023feSmrgif eval \${$3+:} false; then : 1534168023feSmrg $as_echo_n "(cached) " >&6 1535168023feSmrgelse 1536168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1537168023feSmrg/* end confdefs.h. */ 1538168023feSmrg$4 1539168023feSmrgint 1540168023feSmrgmain () 1541168023feSmrg{ 1542168023feSmrg#ifndef $as_decl_name 1543168023feSmrg#ifdef __cplusplus 1544168023feSmrg (void) $as_decl_use; 1545168023feSmrg#else 1546168023feSmrg (void) $as_decl_name; 1547168023feSmrg#endif 1548168023feSmrg#endif 15496ea72052Smrg 1550168023feSmrg ; 1551168023feSmrg return 0; 1552168023feSmrg} 1553168023feSmrg_ACEOF 1554168023feSmrgif ac_fn_c_try_compile "$LINENO"; then : 1555168023feSmrg eval "$3=yes" 1556168023feSmrgelse 1557168023feSmrg eval "$3=no" 1558168023feSmrgfi 1559168023feSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1560168023feSmrgfi 1561168023feSmrgeval ac_res=\$$3 1562168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1563168023feSmrg$as_echo "$ac_res" >&6; } 1564168023feSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1565168023feSmrg 1566168023feSmrg} # ac_fn_c_check_decl 1567168023feSmrg 1568168023feSmrg# ac_fn_c_try_cpp LINENO 1569168023feSmrg# ---------------------- 1570168023feSmrg# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1571168023feSmrgac_fn_c_try_cpp () 1572168023feSmrg{ 1573168023feSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1574168023feSmrg if { { ac_try="$ac_cpp conftest.$ac_ext" 1575168023feSmrgcase "(($ac_try" in 1576168023feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1577168023feSmrg *) ac_try_echo=$ac_try;; 1578168023feSmrgesac 1579168023feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1580168023feSmrg$as_echo "$ac_try_echo"; } >&5 1581168023feSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1582168023feSmrg ac_status=$? 1583168023feSmrg if test -s conftest.err; then 1584168023feSmrg grep -v '^ *+' conftest.err >conftest.er1 1585168023feSmrg cat conftest.er1 >&5 1586168023feSmrg mv -f conftest.er1 conftest.err 1587168023feSmrg fi 1588168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1589168023feSmrg test $ac_status = 0; } > conftest.i && { 1590168023feSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1591168023feSmrg test ! -s conftest.err 1592168023feSmrg }; then : 1593168023feSmrg ac_retval=0 1594168023feSmrgelse 1595168023feSmrg $as_echo "$as_me: failed program was:" >&5 1596168023feSmrgsed 's/^/| /' conftest.$ac_ext >&5 1597168023feSmrg 1598168023feSmrg ac_retval=1 1599168023feSmrgfi 1600168023feSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1601168023feSmrg as_fn_set_status $ac_retval 1602168023feSmrg 1603168023feSmrg} # ac_fn_c_try_cpp 1604168023feSmrg 1605168023feSmrg# ac_fn_c_try_run LINENO 1606168023feSmrg# ---------------------- 1607168023feSmrg# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1608168023feSmrg# that executables *can* be run. 1609168023feSmrgac_fn_c_try_run () 1610168023feSmrg{ 1611168023feSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1612168023feSmrg if { { ac_try="$ac_link" 1613168023feSmrgcase "(($ac_try" in 1614168023feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1615168023feSmrg *) ac_try_echo=$ac_try;; 1616168023feSmrgesac 1617168023feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1618168023feSmrg$as_echo "$ac_try_echo"; } >&5 1619168023feSmrg (eval "$ac_link") 2>&5 1620168023feSmrg ac_status=$? 1621168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1622168023feSmrg test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1623168023feSmrg { { case "(($ac_try" in 1624168023feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1625168023feSmrg *) ac_try_echo=$ac_try;; 1626168023feSmrgesac 1627168023feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1628168023feSmrg$as_echo "$ac_try_echo"; } >&5 1629168023feSmrg (eval "$ac_try") 2>&5 1630168023feSmrg ac_status=$? 1631168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1632168023feSmrg test $ac_status = 0; }; }; then : 1633168023feSmrg ac_retval=0 1634168023feSmrgelse 1635168023feSmrg $as_echo "$as_me: program exited with status $ac_status" >&5 1636168023feSmrg $as_echo "$as_me: failed program was:" >&5 1637168023feSmrgsed 's/^/| /' conftest.$ac_ext >&5 1638168023feSmrg 1639168023feSmrg ac_retval=$ac_status 1640168023feSmrgfi 1641168023feSmrg rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1642168023feSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1643168023feSmrg as_fn_set_status $ac_retval 1644168023feSmrg 1645168023feSmrg} # ac_fn_c_try_run 1646168023feSmrg 1647168023feSmrg# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1648168023feSmrg# ------------------------------------------------------- 1649168023feSmrg# Tests whether HEADER exists and can be compiled using the include files in 1650168023feSmrg# INCLUDES, setting the cache variable VAR accordingly. 1651168023feSmrgac_fn_c_check_header_compile () 1652168023feSmrg{ 1653168023feSmrg as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1654168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1655168023feSmrg$as_echo_n "checking for $2... " >&6; } 1656168023feSmrgif eval \${$3+:} false; then : 1657168023feSmrg $as_echo_n "(cached) " >&6 1658168023feSmrgelse 1659168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1660168023feSmrg/* end confdefs.h. */ 1661168023feSmrg$4 1662168023feSmrg#include <$2> 1663168023feSmrg_ACEOF 1664168023feSmrgif ac_fn_c_try_compile "$LINENO"; then : 1665168023feSmrg eval "$3=yes" 1666168023feSmrgelse 1667168023feSmrg eval "$3=no" 1668168023feSmrgfi 1669168023feSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1670168023feSmrgfi 1671168023feSmrgeval ac_res=\$$3 1672168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1673168023feSmrg$as_echo "$ac_res" >&6; } 1674168023feSmrg eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1675168023feSmrg 1676168023feSmrg} # ac_fn_c_check_header_compile 1677168023feSmrgcat >config.log <<_ACEOF 1678168023feSmrgThis file contains any messages produced by compilers while 1679168023feSmrgrunning configure, to aid debugging if configure makes a mistake. 1680168023feSmrg 1681168023feSmrgIt was created by oclock $as_me 1.0.2, which was 1682168023feSmrggenerated by GNU Autoconf 2.68. Invocation command line was 1683168023feSmrg 1684168023feSmrg $ $0 $@ 1685168023feSmrg 1686168023feSmrg_ACEOF 1687168023feSmrgexec 5>>config.log 1688168023feSmrg{ 1689168023feSmrgcat <<_ASUNAME 1690168023feSmrg## --------- ## 1691168023feSmrg## Platform. ## 1692168023feSmrg## --------- ## 1693168023feSmrg 1694168023feSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1695168023feSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1696168023feSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1697168023feSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1698168023feSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1699168023feSmrg 1700168023feSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1701168023feSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1702168023feSmrg 1703168023feSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1704168023feSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1705168023feSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1706168023feSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1707168023feSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1708168023feSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1709168023feSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1710168023feSmrg 1711168023feSmrg_ASUNAME 17126ea72052Smrg 17136ea72052Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17146ea72052Smrgfor as_dir in $PATH 17156ea72052Smrgdo 17166ea72052Smrg IFS=$as_save_IFS 17176ea72052Smrg test -z "$as_dir" && as_dir=. 1718168023feSmrg $as_echo "PATH: $as_dir" 1719168023feSmrg done 1720168023feSmrgIFS=$as_save_IFS 17216ea72052Smrg 17226ea72052Smrg} >&5 17236ea72052Smrg 17246ea72052Smrgcat >&5 <<_ACEOF 17256ea72052Smrg 17266ea72052Smrg 17276ea72052Smrg## ----------- ## 17286ea72052Smrg## Core tests. ## 17296ea72052Smrg## ----------- ## 17306ea72052Smrg 17316ea72052Smrg_ACEOF 17326ea72052Smrg 17336ea72052Smrg 17346ea72052Smrg# Keep a trace of the command line. 17356ea72052Smrg# Strip out --no-create and --no-recursion so they do not pile up. 17366ea72052Smrg# Strip out --silent because we don't want to record it for future runs. 17376ea72052Smrg# Also quote any args containing shell meta-characters. 17386ea72052Smrg# Make two passes to allow for proper duplicate-argument suppression. 17396ea72052Smrgac_configure_args= 17406ea72052Smrgac_configure_args0= 17416ea72052Smrgac_configure_args1= 17426ea72052Smrgac_must_keep_next=false 17436ea72052Smrgfor ac_pass in 1 2 17446ea72052Smrgdo 17456ea72052Smrg for ac_arg 17466ea72052Smrg do 17476ea72052Smrg case $ac_arg in 17486ea72052Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 17496ea72052Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17506ea72052Smrg | -silent | --silent | --silen | --sile | --sil) 17516ea72052Smrg continue ;; 1752168023feSmrg *\'*) 1753168023feSmrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 17546ea72052Smrg esac 17556ea72052Smrg case $ac_pass in 1756168023feSmrg 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 17576ea72052Smrg 2) 1758168023feSmrg as_fn_append ac_configure_args1 " '$ac_arg'" 17596ea72052Smrg if test $ac_must_keep_next = true; then 17606ea72052Smrg ac_must_keep_next=false # Got value, back to normal. 17616ea72052Smrg else 17626ea72052Smrg case $ac_arg in 17636ea72052Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 17646ea72052Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 17656ea72052Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 17666ea72052Smrg | -with-* | --with-* | -without-* | --without-* | --x) 17676ea72052Smrg case "$ac_configure_args0 " in 17686ea72052Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 17696ea72052Smrg esac 17706ea72052Smrg ;; 17716ea72052Smrg -* ) ac_must_keep_next=true ;; 17726ea72052Smrg esac 17736ea72052Smrg fi 1774168023feSmrg as_fn_append ac_configure_args " '$ac_arg'" 17756ea72052Smrg ;; 17766ea72052Smrg esac 17776ea72052Smrg done 17786ea72052Smrgdone 1779168023feSmrg{ ac_configure_args0=; unset ac_configure_args0;} 1780168023feSmrg{ ac_configure_args1=; unset ac_configure_args1;} 17816ea72052Smrg 17826ea72052Smrg# When interrupted or exit'd, cleanup temporary files, and complete 17836ea72052Smrg# config.log. We remove comments because anyway the quotes in there 17846ea72052Smrg# would cause problems or look ugly. 1785168023feSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1786168023feSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 17876ea72052Smrgtrap 'exit_status=$? 17886ea72052Smrg # Save into config.log some information that might help in debugging. 17896ea72052Smrg { 17906ea72052Smrg echo 17916ea72052Smrg 1792168023feSmrg $as_echo "## ---------------- ## 17936ea72052Smrg## Cache variables. ## 1794168023feSmrg## ---------------- ##" 17956ea72052Smrg echo 17966ea72052Smrg # The following way of writing the cache mishandles newlines in values, 1797168023feSmrg( 1798168023feSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1799168023feSmrg eval ac_val=\$$ac_var 1800168023feSmrg case $ac_val in #( 1801168023feSmrg *${as_nl}*) 1802168023feSmrg case $ac_var in #( 1803168023feSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1804168023feSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1805168023feSmrg esac 1806168023feSmrg case $ac_var in #( 1807168023feSmrg _ | IFS | as_nl) ;; #( 1808168023feSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1809168023feSmrg *) { eval $ac_var=; unset $ac_var;} ;; 1810168023feSmrg esac ;; 1811168023feSmrg esac 1812168023feSmrg done 18136ea72052Smrg (set) 2>&1 | 1814168023feSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1815168023feSmrg *${as_nl}ac_space=\ *) 18166ea72052Smrg sed -n \ 1817168023feSmrg "s/'\''/'\''\\\\'\'''\''/g; 1818168023feSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1819168023feSmrg ;; #( 18206ea72052Smrg *) 1821168023feSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 18226ea72052Smrg ;; 1823168023feSmrg esac | 1824168023feSmrg sort 1825168023feSmrg) 18266ea72052Smrg echo 18276ea72052Smrg 1828168023feSmrg $as_echo "## ----------------- ## 18296ea72052Smrg## Output variables. ## 1830168023feSmrg## ----------------- ##" 18316ea72052Smrg echo 18326ea72052Smrg for ac_var in $ac_subst_vars 18336ea72052Smrg do 1834168023feSmrg eval ac_val=\$$ac_var 1835168023feSmrg case $ac_val in 1836168023feSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1837168023feSmrg esac 1838168023feSmrg $as_echo "$ac_var='\''$ac_val'\''" 18396ea72052Smrg done | sort 18406ea72052Smrg echo 18416ea72052Smrg 18426ea72052Smrg if test -n "$ac_subst_files"; then 1843168023feSmrg $as_echo "## ------------------- ## 1844168023feSmrg## File substitutions. ## 1845168023feSmrg## ------------------- ##" 18466ea72052Smrg echo 18476ea72052Smrg for ac_var in $ac_subst_files 18486ea72052Smrg do 1849168023feSmrg eval ac_val=\$$ac_var 1850168023feSmrg case $ac_val in 1851168023feSmrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1852168023feSmrg esac 1853168023feSmrg $as_echo "$ac_var='\''$ac_val'\''" 18546ea72052Smrg done | sort 18556ea72052Smrg echo 18566ea72052Smrg fi 18576ea72052Smrg 18586ea72052Smrg if test -s confdefs.h; then 1859168023feSmrg $as_echo "## ----------- ## 18606ea72052Smrg## confdefs.h. ## 1861168023feSmrg## ----------- ##" 18626ea72052Smrg echo 1863168023feSmrg cat confdefs.h 18646ea72052Smrg echo 18656ea72052Smrg fi 18666ea72052Smrg test "$ac_signal" != 0 && 1867168023feSmrg $as_echo "$as_me: caught signal $ac_signal" 1868168023feSmrg $as_echo "$as_me: exit $exit_status" 18696ea72052Smrg } >&5 1870168023feSmrg rm -f core *.core core.conftest.* && 1871168023feSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 18726ea72052Smrg exit $exit_status 1873168023feSmrg' 0 18746ea72052Smrgfor ac_signal in 1 2 13 15; do 1875168023feSmrg trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 18766ea72052Smrgdone 18776ea72052Smrgac_signal=0 18786ea72052Smrg 18796ea72052Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1880168023feSmrgrm -f -r conftest* confdefs.h 1881168023feSmrg 1882168023feSmrg$as_echo "/* confdefs.h */" > confdefs.h 18836ea72052Smrg 18846ea72052Smrg# Predefined preprocessor variables. 18856ea72052Smrg 18866ea72052Smrgcat >>confdefs.h <<_ACEOF 18876ea72052Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 18886ea72052Smrg_ACEOF 18896ea72052Smrg 18906ea72052Smrgcat >>confdefs.h <<_ACEOF 18916ea72052Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 18926ea72052Smrg_ACEOF 18936ea72052Smrg 18946ea72052Smrgcat >>confdefs.h <<_ACEOF 18956ea72052Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 18966ea72052Smrg_ACEOF 18976ea72052Smrg 18986ea72052Smrgcat >>confdefs.h <<_ACEOF 18996ea72052Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 19006ea72052Smrg_ACEOF 19016ea72052Smrg 19026ea72052Smrgcat >>confdefs.h <<_ACEOF 19036ea72052Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 19046ea72052Smrg_ACEOF 19056ea72052Smrg 1906168023feSmrgcat >>confdefs.h <<_ACEOF 1907168023feSmrg#define PACKAGE_URL "$PACKAGE_URL" 1908168023feSmrg_ACEOF 1909168023feSmrg 19106ea72052Smrg 19116ea72052Smrg# Let the site file select an alternate cache file if it wants to. 1912168023feSmrg# Prefer an explicitly selected file to automatically selected ones. 1913168023feSmrgac_site_file1=NONE 1914168023feSmrgac_site_file2=NONE 1915168023feSmrgif test -n "$CONFIG_SITE"; then 1916168023feSmrg # We do not want a PATH search for config.site. 1917168023feSmrg case $CONFIG_SITE in #(( 1918168023feSmrg -*) ac_site_file1=./$CONFIG_SITE;; 1919168023feSmrg */*) ac_site_file1=$CONFIG_SITE;; 1920168023feSmrg *) ac_site_file1=./$CONFIG_SITE;; 1921168023feSmrg esac 1922168023feSmrgelif test "x$prefix" != xNONE; then 1923168023feSmrg ac_site_file1=$prefix/share/config.site 1924168023feSmrg ac_site_file2=$prefix/etc/config.site 1925168023feSmrgelse 1926168023feSmrg ac_site_file1=$ac_default_prefix/share/config.site 1927168023feSmrg ac_site_file2=$ac_default_prefix/etc/config.site 19286ea72052Smrgfi 1929168023feSmrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 1930168023feSmrgdo 1931168023feSmrg test "x$ac_site_file" = xNONE && continue 1932168023feSmrg if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1933168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1934168023feSmrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 19356ea72052Smrg sed 's/^/| /' "$ac_site_file" >&5 1936168023feSmrg . "$ac_site_file" \ 1937168023feSmrg || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1938168023feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1939168023feSmrgas_fn_error $? "failed to load site script $ac_site_file 1940168023feSmrgSee \`config.log' for more details" "$LINENO" 5; } 19416ea72052Smrg fi 19426ea72052Smrgdone 19436ea72052Smrg 19446ea72052Smrgif test -r "$cache_file"; then 1945168023feSmrg # Some versions of bash will fail to source /dev/null (special files 1946168023feSmrg # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1947168023feSmrg if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1948168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1949168023feSmrg$as_echo "$as_me: loading cache $cache_file" >&6;} 19506ea72052Smrg case $cache_file in 1951168023feSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1952168023feSmrg *) . "./$cache_file";; 19536ea72052Smrg esac 19546ea72052Smrg fi 19556ea72052Smrgelse 1956168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1957168023feSmrg$as_echo "$as_me: creating cache $cache_file" >&6;} 19586ea72052Smrg >$cache_file 19596ea72052Smrgfi 19606ea72052Smrg 19616ea72052Smrg# Check that the precious variables saved in the cache have kept the same 19626ea72052Smrg# value. 19636ea72052Smrgac_cache_corrupted=false 1964168023feSmrgfor ac_var in $ac_precious_vars; do 19656ea72052Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 19666ea72052Smrg eval ac_new_set=\$ac_env_${ac_var}_set 1967168023feSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 1968168023feSmrg eval ac_new_val=\$ac_env_${ac_var}_value 19696ea72052Smrg case $ac_old_set,$ac_new_set in 19706ea72052Smrg set,) 1971168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1972168023feSmrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 19736ea72052Smrg ac_cache_corrupted=: ;; 19746ea72052Smrg ,set) 1975168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1976168023feSmrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 19776ea72052Smrg ac_cache_corrupted=: ;; 19786ea72052Smrg ,);; 19796ea72052Smrg *) 19806ea72052Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 1981168023feSmrg # differences in whitespace do not lead to failure. 1982168023feSmrg ac_old_val_w=`echo x $ac_old_val` 1983168023feSmrg ac_new_val_w=`echo x $ac_new_val` 1984168023feSmrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 1985168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1986168023feSmrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1987168023feSmrg ac_cache_corrupted=: 1988168023feSmrg else 1989168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1990168023feSmrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1991168023feSmrg eval $ac_var=\$ac_old_val 1992168023feSmrg fi 1993168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1994168023feSmrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1995168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1996168023feSmrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 19976ea72052Smrg fi;; 19986ea72052Smrg esac 19996ea72052Smrg # Pass precious variables to config.status. 20006ea72052Smrg if test "$ac_new_set" = set; then 20016ea72052Smrg case $ac_new_val in 2002168023feSmrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 20036ea72052Smrg *) ac_arg=$ac_var=$ac_new_val ;; 20046ea72052Smrg esac 20056ea72052Smrg case " $ac_configure_args " in 20066ea72052Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2007168023feSmrg *) as_fn_append ac_configure_args " '$ac_arg'" ;; 20086ea72052Smrg esac 20096ea72052Smrg fi 20106ea72052Smrgdone 20116ea72052Smrgif $ac_cache_corrupted; then 2012168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2013168023feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2014168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2015168023feSmrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2016168023feSmrg as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 20176ea72052Smrgfi 2018168023feSmrg## -------------------- ## 2019168023feSmrg## Main body of script. ## 2020168023feSmrg## -------------------- ## 20216ea72052Smrg 20226ea72052Smrgac_ext=c 20236ea72052Smrgac_cpp='$CPP $CPPFLAGS' 20246ea72052Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20256ea72052Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20266ea72052Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 20276ea72052Smrg 20286ea72052Smrg 2029168023feSmrgam__api_version='1.11' 20306ea72052Smrg 20316ea72052Smrgac_aux_dir= 2032168023feSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2033168023feSmrg if test -f "$ac_dir/install-sh"; then 20346ea72052Smrg ac_aux_dir=$ac_dir 20356ea72052Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 20366ea72052Smrg break 2037168023feSmrg elif test -f "$ac_dir/install.sh"; then 20386ea72052Smrg ac_aux_dir=$ac_dir 20396ea72052Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 20406ea72052Smrg break 2041168023feSmrg elif test -f "$ac_dir/shtool"; then 20426ea72052Smrg ac_aux_dir=$ac_dir 20436ea72052Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 20446ea72052Smrg break 20456ea72052Smrg fi 20466ea72052Smrgdone 20476ea72052Smrgif test -z "$ac_aux_dir"; then 2048168023feSmrg as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 20496ea72052Smrgfi 2050168023feSmrg 2051168023feSmrg# These three variables are undocumented and unsupported, 2052168023feSmrg# and are intended to be withdrawn in a future Autoconf release. 2053168023feSmrg# They can cause serious problems if a builder's source tree is in a directory 2054168023feSmrg# whose full name contains unusual characters. 2055168023feSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2056168023feSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2057168023feSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2058168023feSmrg 20596ea72052Smrg 20606ea72052Smrg# Find a good install program. We prefer a C program (faster), 20616ea72052Smrg# so one script is as good as another. But avoid the broken or 20626ea72052Smrg# incompatible versions: 20636ea72052Smrg# SysV /etc/install, /usr/sbin/install 20646ea72052Smrg# SunOS /usr/etc/install 20656ea72052Smrg# IRIX /sbin/install 20666ea72052Smrg# AIX /bin/install 20676ea72052Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 20686ea72052Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 20696ea72052Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 20706ea72052Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 20716ea72052Smrg# OS/2's system install, which has a completely different semantic 20726ea72052Smrg# ./install, which can be erroneously created by make from ./install.sh. 2073168023feSmrg# Reject install programs that cannot install multiple files. 2074168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2075168023feSmrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 20766ea72052Smrgif test -z "$INSTALL"; then 2077168023feSmrgif ${ac_cv_path_install+:} false; then : 2078168023feSmrg $as_echo_n "(cached) " >&6 20796ea72052Smrgelse 20806ea72052Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20816ea72052Smrgfor as_dir in $PATH 20826ea72052Smrgdo 20836ea72052Smrg IFS=$as_save_IFS 20846ea72052Smrg test -z "$as_dir" && as_dir=. 2085168023feSmrg # Account for people who put trailing slashes in PATH elements. 2086168023feSmrgcase $as_dir/ in #(( 2087168023feSmrg ./ | .// | /[cC]/* | \ 20886ea72052Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2089168023feSmrg ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 20906ea72052Smrg /usr/ucb/* ) ;; 20916ea72052Smrg *) 20926ea72052Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 20936ea72052Smrg # Don't use installbsd from OSF since it installs stuff as root 20946ea72052Smrg # by default. 20956ea72052Smrg for ac_prog in ginstall scoinst install; do 20966ea72052Smrg for ac_exec_ext in '' $ac_executable_extensions; do 2097168023feSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 20986ea72052Smrg if test $ac_prog = install && 20996ea72052Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 21006ea72052Smrg # AIX install. It has an incompatible calling convention. 21016ea72052Smrg : 21026ea72052Smrg elif test $ac_prog = install && 21036ea72052Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 21046ea72052Smrg # program-specific install script used by HP pwplus--don't use. 21056ea72052Smrg : 21066ea72052Smrg else 2107168023feSmrg rm -rf conftest.one conftest.two conftest.dir 2108168023feSmrg echo one > conftest.one 2109168023feSmrg echo two > conftest.two 2110168023feSmrg mkdir conftest.dir 2111168023feSmrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2112168023feSmrg test -s conftest.one && test -s conftest.two && 2113168023feSmrg test -s conftest.dir/conftest.one && 2114168023feSmrg test -s conftest.dir/conftest.two 2115168023feSmrg then 2116168023feSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2117168023feSmrg break 3 2118168023feSmrg fi 21196ea72052Smrg fi 21206ea72052Smrg fi 21216ea72052Smrg done 21226ea72052Smrg done 21236ea72052Smrg ;; 21246ea72052Smrgesac 21256ea72052Smrg 2126168023feSmrg done 2127168023feSmrgIFS=$as_save_IFS 2128168023feSmrg 2129168023feSmrgrm -rf conftest.one conftest.two conftest.dir 21306ea72052Smrg 21316ea72052Smrgfi 21326ea72052Smrg if test "${ac_cv_path_install+set}" = set; then 21336ea72052Smrg INSTALL=$ac_cv_path_install 21346ea72052Smrg else 2135168023feSmrg # As a last resort, use the slow shell script. Don't cache a 2136168023feSmrg # value for INSTALL within a source directory, because that will 21376ea72052Smrg # break other packages using the cache if that directory is 2138168023feSmrg # removed, or if the value is a relative name. 21396ea72052Smrg INSTALL=$ac_install_sh 21406ea72052Smrg fi 21416ea72052Smrgfi 2142168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2143168023feSmrg$as_echo "$INSTALL" >&6; } 21446ea72052Smrg 21456ea72052Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 21466ea72052Smrg# It thinks the first close brace ends the variable substitution. 21476ea72052Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 21486ea72052Smrg 21496ea72052Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 21506ea72052Smrg 21516ea72052Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 21526ea72052Smrg 2153168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2154168023feSmrg$as_echo_n "checking whether build environment is sane... " >&6; } 21556ea72052Smrg# Just in case 21566ea72052Smrgsleep 1 21576ea72052Smrgecho timestamp > conftest.file 2158168023feSmrg# Reject unsafe characters in $srcdir or the absolute working directory 2159168023feSmrg# name. Accept space and tab only in the latter. 2160168023feSmrgam_lf=' 2161168023feSmrg' 2162168023feSmrgcase `pwd` in 2163168023feSmrg *[\\\"\#\$\&\'\`$am_lf]*) 2164168023feSmrg as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2165168023feSmrgesac 2166168023feSmrgcase $srcdir in 2167168023feSmrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2168168023feSmrg as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2169168023feSmrgesac 2170168023feSmrg 21716ea72052Smrg# Do `set' in a subshell so we don't clobber the current shell's 21726ea72052Smrg# arguments. Must try -L first in case configure is actually a 21736ea72052Smrg# symlink; some systems play weird games with the mod time of symlinks 21746ea72052Smrg# (eg FreeBSD returns the mod time of the symlink's containing 21756ea72052Smrg# directory). 21766ea72052Smrgif ( 2177168023feSmrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 21786ea72052Smrg if test "$*" = "X"; then 21796ea72052Smrg # -L didn't work. 2180168023feSmrg set X `ls -t "$srcdir/configure" conftest.file` 21816ea72052Smrg fi 21826ea72052Smrg rm -f conftest.file 21836ea72052Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 21846ea72052Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 21856ea72052Smrg 21866ea72052Smrg # If neither matched, then we have a broken ls. This can happen 21876ea72052Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 21886ea72052Smrg # broken ls alias from the environment. This has actually 21896ea72052Smrg # happened. Such a system could not be considered "sane". 2190168023feSmrg as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2191168023feSmrgalias in your environment" "$LINENO" 5 21926ea72052Smrg fi 21936ea72052Smrg 21946ea72052Smrg test "$2" = conftest.file 21956ea72052Smrg ) 21966ea72052Smrgthen 21976ea72052Smrg # Ok. 21986ea72052Smrg : 21996ea72052Smrgelse 2200168023feSmrg as_fn_error $? "newly created file is older than distributed files! 2201168023feSmrgCheck your system clock" "$LINENO" 5 22026ea72052Smrgfi 2203168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2204168023feSmrg$as_echo "yes" >&6; } 22056ea72052Smrgtest "$program_prefix" != NONE && 2206168023feSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 22076ea72052Smrg# Use a double $ so make ignores it. 22086ea72052Smrgtest "$program_suffix" != NONE && 2209168023feSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2210168023feSmrg# Double any \ or $. 22116ea72052Smrg# By default was `s,x,x', remove it if useless. 2212168023feSmrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2213168023feSmrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 22146ea72052Smrg 22156ea72052Smrg# expand $ac_aux_dir to an absolute path 22166ea72052Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 22176ea72052Smrg 2218168023feSmrgif test x"${MISSING+set}" != xset; then 2219168023feSmrg case $am_aux_dir in 2220168023feSmrg *\ * | *\ *) 2221168023feSmrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2222168023feSmrg *) 2223168023feSmrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 2224168023feSmrg esac 2225168023feSmrgfi 22266ea72052Smrg# Use eval to expand $SHELL 22276ea72052Smrgif eval "$MISSING --run true"; then 22286ea72052Smrg am_missing_run="$MISSING --run " 22296ea72052Smrgelse 22306ea72052Smrg am_missing_run= 2231168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2232168023feSmrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2233168023feSmrgfi 2234168023feSmrg 2235168023feSmrgif test x"${install_sh}" != xset; then 2236168023feSmrg case $am_aux_dir in 2237168023feSmrg *\ * | *\ *) 2238168023feSmrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2239168023feSmrg *) 2240168023feSmrg install_sh="\${SHELL} $am_aux_dir/install-sh" 2241168023feSmrg esac 2242168023feSmrgfi 2243168023feSmrg 2244168023feSmrg# Installed binaries are usually stripped using `strip' when the user 2245168023feSmrg# run `make install-strip'. However `strip' might not be the right 2246168023feSmrg# tool to use in cross-compilation environments, therefore Automake 2247168023feSmrg# will honor the `STRIP' environment variable to overrule this program. 2248168023feSmrgif test "$cross_compiling" != no; then 2249168023feSmrg if test -n "$ac_tool_prefix"; then 2250168023feSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2251168023feSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2252168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2253168023feSmrg$as_echo_n "checking for $ac_word... " >&6; } 2254168023feSmrgif ${ac_cv_prog_STRIP+:} false; then : 2255168023feSmrg $as_echo_n "(cached) " >&6 2256168023feSmrgelse 2257168023feSmrg if test -n "$STRIP"; then 2258168023feSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2259168023feSmrgelse 2260168023feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2261168023feSmrgfor as_dir in $PATH 2262168023feSmrgdo 2263168023feSmrg IFS=$as_save_IFS 2264168023feSmrg test -z "$as_dir" && as_dir=. 2265168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2266168023feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2267168023feSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2268168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2269168023feSmrg break 2 2270168023feSmrg fi 2271168023feSmrgdone 2272168023feSmrg done 2273168023feSmrgIFS=$as_save_IFS 2274168023feSmrg 2275168023feSmrgfi 2276168023feSmrgfi 2277168023feSmrgSTRIP=$ac_cv_prog_STRIP 2278168023feSmrgif test -n "$STRIP"; then 2279168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2280168023feSmrg$as_echo "$STRIP" >&6; } 2281168023feSmrgelse 2282168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2283168023feSmrg$as_echo "no" >&6; } 2284168023feSmrgfi 2285168023feSmrg 2286168023feSmrg 2287168023feSmrgfi 2288168023feSmrgif test -z "$ac_cv_prog_STRIP"; then 2289168023feSmrg ac_ct_STRIP=$STRIP 2290168023feSmrg # Extract the first word of "strip", so it can be a program name with args. 2291168023feSmrgset dummy strip; ac_word=$2 2292168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2293168023feSmrg$as_echo_n "checking for $ac_word... " >&6; } 2294168023feSmrgif ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2295168023feSmrg $as_echo_n "(cached) " >&6 2296168023feSmrgelse 2297168023feSmrg if test -n "$ac_ct_STRIP"; then 2298168023feSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2299168023feSmrgelse 2300168023feSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2301168023feSmrgfor as_dir in $PATH 2302168023feSmrgdo 2303168023feSmrg IFS=$as_save_IFS 2304168023feSmrg test -z "$as_dir" && as_dir=. 2305168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2306168023feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2307168023feSmrg ac_cv_prog_ac_ct_STRIP="strip" 2308168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2309168023feSmrg break 2 2310168023feSmrg fi 2311168023feSmrgdone 2312168023feSmrg done 2313168023feSmrgIFS=$as_save_IFS 2314168023feSmrg 2315168023feSmrgfi 23166ea72052Smrgfi 2317168023feSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2318168023feSmrgif test -n "$ac_ct_STRIP"; then 2319168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2320168023feSmrg$as_echo "$ac_ct_STRIP" >&6; } 2321168023feSmrgelse 2322168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2323168023feSmrg$as_echo "no" >&6; } 2324168023feSmrgfi 2325168023feSmrg 2326168023feSmrg if test "x$ac_ct_STRIP" = x; then 2327168023feSmrg STRIP=":" 2328168023feSmrg else 2329168023feSmrg case $cross_compiling:$ac_tool_warned in 2330168023feSmrgyes:) 2331168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2332168023feSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2333168023feSmrgac_tool_warned=yes ;; 2334168023feSmrgesac 2335168023feSmrg STRIP=$ac_ct_STRIP 2336168023feSmrg fi 2337168023feSmrgelse 2338168023feSmrg STRIP="$ac_cv_prog_STRIP" 2339168023feSmrgfi 2340168023feSmrg 2341168023feSmrgfi 2342168023feSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2343168023feSmrg 2344168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2345168023feSmrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2346168023feSmrgif test -z "$MKDIR_P"; then 2347168023feSmrg if ${ac_cv_path_mkdir+:} false; then : 2348168023feSmrg $as_echo_n "(cached) " >&6 2349168023feSmrgelse 2350168023feSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2351168023feSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2352168023feSmrgdo 2353168023feSmrg IFS=$as_save_IFS 2354168023feSmrg test -z "$as_dir" && as_dir=. 2355168023feSmrg for ac_prog in mkdir gmkdir; do 2356168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2357168023feSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2358168023feSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2359168023feSmrg 'mkdir (GNU coreutils) '* | \ 2360168023feSmrg 'mkdir (coreutils) '* | \ 2361168023feSmrg 'mkdir (fileutils) '4.1*) 2362168023feSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2363168023feSmrg break 3;; 2364168023feSmrg esac 2365168023feSmrg done 2366168023feSmrg done 2367168023feSmrg done 2368168023feSmrgIFS=$as_save_IFS 2369168023feSmrg 2370168023feSmrgfi 2371168023feSmrg 2372168023feSmrg test -d ./--version && rmdir ./--version 2373168023feSmrg if test "${ac_cv_path_mkdir+set}" = set; then 2374168023feSmrg MKDIR_P="$ac_cv_path_mkdir -p" 2375168023feSmrg else 2376168023feSmrg # As a last resort, use the slow shell script. Don't cache a 2377168023feSmrg # value for MKDIR_P within a source directory, because that will 2378168023feSmrg # break other packages using the cache if that directory is 2379168023feSmrg # removed, or if the value is a relative name. 2380168023feSmrg MKDIR_P="$ac_install_sh -d" 2381168023feSmrg fi 2382168023feSmrgfi 2383168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2384168023feSmrg$as_echo "$MKDIR_P" >&6; } 2385168023feSmrg 2386168023feSmrgmkdir_p="$MKDIR_P" 2387168023feSmrgcase $mkdir_p in 2388168023feSmrg [\\/$]* | ?:[\\/]*) ;; 2389168023feSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2390168023feSmrgesac 23916ea72052Smrg 23926ea72052Smrgfor ac_prog in gawk mawk nawk awk 23936ea72052Smrgdo 23946ea72052Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 23956ea72052Smrgset dummy $ac_prog; ac_word=$2 2396168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2397168023feSmrg$as_echo_n "checking for $ac_word... " >&6; } 2398168023feSmrgif ${ac_cv_prog_AWK+:} false; then : 2399168023feSmrg $as_echo_n "(cached) " >&6 24006ea72052Smrgelse 24016ea72052Smrg if test -n "$AWK"; then 24026ea72052Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 24036ea72052Smrgelse 24046ea72052Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24056ea72052Smrgfor as_dir in $PATH 24066ea72052Smrgdo 24076ea72052Smrg IFS=$as_save_IFS 24086ea72052Smrg test -z "$as_dir" && as_dir=. 2409168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2410168023feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 24116ea72052Smrg ac_cv_prog_AWK="$ac_prog" 2412168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 24136ea72052Smrg break 2 24146ea72052Smrg fi 24156ea72052Smrgdone 2416168023feSmrg done 2417168023feSmrgIFS=$as_save_IFS 24186ea72052Smrg 24196ea72052Smrgfi 24206ea72052Smrgfi 24216ea72052SmrgAWK=$ac_cv_prog_AWK 24226ea72052Smrgif test -n "$AWK"; then 2423168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2424168023feSmrg$as_echo "$AWK" >&6; } 24256ea72052Smrgelse 2426168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2427168023feSmrg$as_echo "no" >&6; } 24286ea72052Smrgfi 24296ea72052Smrg 2430168023feSmrg 24316ea72052Smrg test -n "$AWK" && break 24326ea72052Smrgdone 24336ea72052Smrg 2434168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2435168023feSmrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2436168023feSmrgset x ${MAKE-make} 2437168023feSmrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2438168023feSmrgif eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2439168023feSmrg $as_echo_n "(cached) " >&6 24406ea72052Smrgelse 24416ea72052Smrg cat >conftest.make <<\_ACEOF 2442168023feSmrgSHELL = /bin/sh 24436ea72052Smrgall: 2444168023feSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 24456ea72052Smrg_ACEOF 2446168023feSmrg# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2447168023feSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2448168023feSmrg *@@@%%%=?*=@@@%%%*) 2449168023feSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2450168023feSmrg *) 2451168023feSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 2452168023feSmrgesac 24536ea72052Smrgrm -f conftest.make 24546ea72052Smrgfi 2455168023feSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2456168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2457168023feSmrg$as_echo "yes" >&6; } 24586ea72052Smrg SET_MAKE= 24596ea72052Smrgelse 2460168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2461168023feSmrg$as_echo "no" >&6; } 24626ea72052Smrg SET_MAKE="MAKE=${MAKE-make}" 24636ea72052Smrgfi 24646ea72052Smrg 24656ea72052Smrgrm -rf .tst 2>/dev/null 24666ea72052Smrgmkdir .tst 2>/dev/null 24676ea72052Smrgif test -d .tst; then 24686ea72052Smrg am__leading_dot=. 24696ea72052Smrgelse 24706ea72052Smrg am__leading_dot=_ 24716ea72052Smrgfi 24726ea72052Smrgrmdir .tst 2>/dev/null 24736ea72052Smrg 2474168023feSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2475168023feSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2476168023feSmrg # is not polluted with repeated "-I." 2477168023feSmrg am__isrc=' -I$(srcdir)' 2478168023feSmrg # test to see if srcdir already configured 2479168023feSmrg if test -f $srcdir/config.status; then 2480168023feSmrg as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2481168023feSmrg fi 24826ea72052Smrgfi 24836ea72052Smrg 24846ea72052Smrg# test whether we have cygpath 24856ea72052Smrgif test -z "$CYGPATH_W"; then 24866ea72052Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 24876ea72052Smrg CYGPATH_W='cygpath -w' 24886ea72052Smrg else 24896ea72052Smrg CYGPATH_W=echo 24906ea72052Smrg fi 24916ea72052Smrgfi 24926ea72052Smrg 24936ea72052Smrg 24946ea72052Smrg# Define the identity of the package. 24956ea72052Smrg PACKAGE='oclock' 2496168023feSmrg VERSION='1.0.2' 24976ea72052Smrg 24986ea72052Smrg 24996ea72052Smrgcat >>confdefs.h <<_ACEOF 25006ea72052Smrg#define PACKAGE "$PACKAGE" 25016ea72052Smrg_ACEOF 25026ea72052Smrg 25036ea72052Smrg 25046ea72052Smrgcat >>confdefs.h <<_ACEOF 25056ea72052Smrg#define VERSION "$VERSION" 25066ea72052Smrg_ACEOF 25076ea72052Smrg 25086ea72052Smrg# Some tools Automake needs. 25096ea72052Smrg 25106ea72052SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 25116ea72052Smrg 25126ea72052Smrg 25136ea72052SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 25146ea72052Smrg 25156ea72052Smrg 25166ea72052SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 25176ea72052Smrg 25186ea72052Smrg 25196ea72052SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 25206ea72052Smrg 25216ea72052Smrg 25226ea72052SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 25236ea72052Smrg 2524168023feSmrg# We need awk for the "check" target. The system "awk" is bad on 2525168023feSmrg# some platforms. 2526168023feSmrg# Always define AMTAR for backward compatibility. 25276ea72052Smrg 25286ea72052SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 25296ea72052Smrg 2530168023feSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 25316ea72052Smrg 2532168023feSmrg 2533168023feSmrg 2534168023feSmrg 2535168023feSmrg 2536168023feSmrg 2537168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2538168023feSmrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2539168023feSmrg # Check whether --enable-maintainer-mode was given. 2540168023feSmrgif test "${enable_maintainer_mode+set}" = set; then : 2541168023feSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 25426ea72052Smrgelse 2543168023feSmrg USE_MAINTAINER_MODE=no 2544168023feSmrgfi 2545168023feSmrg 2546168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2547168023feSmrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 2548168023feSmrg if test $USE_MAINTAINER_MODE = yes; then 2549168023feSmrg MAINTAINER_MODE_TRUE= 2550168023feSmrg MAINTAINER_MODE_FALSE='#' 25516ea72052Smrgelse 2552168023feSmrg MAINTAINER_MODE_TRUE='#' 2553168023feSmrg MAINTAINER_MODE_FALSE= 25546ea72052Smrgfi 25556ea72052Smrg 2556168023feSmrg MAINT=$MAINTAINER_MODE_TRUE 25576ea72052Smrg 25586ea72052Smrg 25596ea72052Smrg 2560168023feSmrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 25616ea72052Smrg 25626ea72052Smrg 25636ea72052Smrg 25646ea72052Smrg 25656ea72052Smrg 25666ea72052Smrg 2567168023feSmrg 2568168023feSmrg 2569168023feSmrg 2570168023feSmrg 2571168023feSmrg 2572168023feSmrgDEPDIR="${am__leading_dot}deps" 2573168023feSmrg 2574168023feSmrgac_config_commands="$ac_config_commands depfiles" 2575168023feSmrg 2576168023feSmrg 2577168023feSmrgam_make=${MAKE-make} 2578168023feSmrgcat > confinc << 'END' 2579168023feSmrgam__doit: 2580168023feSmrg @echo this is the am__doit target 2581168023feSmrg.PHONY: am__doit 2582168023feSmrgEND 2583168023feSmrg# If we don't find an include directive, just comment out the code. 2584168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2585168023feSmrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 2586168023feSmrgam__include="#" 2587168023feSmrgam__quote= 2588168023feSmrg_am_result=none 2589168023feSmrg# First try GNU make style include. 2590168023feSmrgecho "include confinc" > confmf 2591168023feSmrg# Ignore all kinds of additional output from `make'. 2592168023feSmrgcase `$am_make -s -f confmf 2> /dev/null` in #( 2593168023feSmrg*the\ am__doit\ target*) 2594168023feSmrg am__include=include 2595168023feSmrg am__quote= 2596168023feSmrg _am_result=GNU 2597168023feSmrg ;; 2598168023feSmrgesac 2599168023feSmrg# Now try BSD make style include. 2600168023feSmrgif test "$am__include" = "#"; then 2601168023feSmrg echo '.include "confinc"' > confmf 2602168023feSmrg case `$am_make -s -f confmf 2> /dev/null` in #( 2603168023feSmrg *the\ am__doit\ target*) 2604168023feSmrg am__include=.include 2605168023feSmrg am__quote="\"" 2606168023feSmrg _am_result=BSD 2607168023feSmrg ;; 2608168023feSmrg esac 26096ea72052Smrgfi 26106ea72052Smrg 26116ea72052Smrg 2612168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2613168023feSmrg$as_echo "$_am_result" >&6; } 2614168023feSmrgrm -f confinc confmf 26156ea72052Smrg 2616168023feSmrg# Check whether --enable-dependency-tracking was given. 2617168023feSmrgif test "${enable_dependency_tracking+set}" = set; then : 2618168023feSmrg enableval=$enable_dependency_tracking; 2619168023feSmrgfi 26206ea72052Smrg 2621168023feSmrgif test "x$enable_dependency_tracking" != xno; then 2622168023feSmrg am_depcomp="$ac_aux_dir/depcomp" 2623168023feSmrg AMDEPBACKSLASH='\' 2624168023feSmrgfi 2625168023feSmrg if test "x$enable_dependency_tracking" != xno; then 2626168023feSmrg AMDEP_TRUE= 2627168023feSmrg AMDEP_FALSE='#' 2628168023feSmrgelse 2629168023feSmrg AMDEP_TRUE='#' 2630168023feSmrg AMDEP_FALSE= 2631168023feSmrgfi 26326ea72052Smrg 26336ea72052Smrg 26346ea72052Smrgac_ext=c 26356ea72052Smrgac_cpp='$CPP $CPPFLAGS' 26366ea72052Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 26376ea72052Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 26386ea72052Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 26396ea72052Smrgif test -n "$ac_tool_prefix"; then 26406ea72052Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 26416ea72052Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 2642168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2643168023feSmrg$as_echo_n "checking for $ac_word... " >&6; } 2644168023feSmrgif ${ac_cv_prog_CC+:} false; then : 2645168023feSmrg $as_echo_n "(cached) " >&6 26466ea72052Smrgelse 26476ea72052Smrg if test -n "$CC"; then 26486ea72052Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 26496ea72052Smrgelse 26506ea72052Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26516ea72052Smrgfor as_dir in $PATH 26526ea72052Smrgdo 26536ea72052Smrg IFS=$as_save_IFS 26546ea72052Smrg test -z "$as_dir" && as_dir=. 2655168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2656168023feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26576ea72052Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 2658168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26596ea72052Smrg break 2 26606ea72052Smrg fi 26616ea72052Smrgdone 2662168023feSmrg done 2663168023feSmrgIFS=$as_save_IFS 26646ea72052Smrg 26656ea72052Smrgfi 26666ea72052Smrgfi 26676ea72052SmrgCC=$ac_cv_prog_CC 26686ea72052Smrgif test -n "$CC"; then 2669168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2670168023feSmrg$as_echo "$CC" >&6; } 26716ea72052Smrgelse 2672168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2673168023feSmrg$as_echo "no" >&6; } 26746ea72052Smrgfi 26756ea72052Smrg 2676168023feSmrg 26776ea72052Smrgfi 26786ea72052Smrgif test -z "$ac_cv_prog_CC"; then 26796ea72052Smrg ac_ct_CC=$CC 26806ea72052Smrg # Extract the first word of "gcc", so it can be a program name with args. 26816ea72052Smrgset dummy gcc; ac_word=$2 2682168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2683168023feSmrg$as_echo_n "checking for $ac_word... " >&6; } 2684168023feSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 2685168023feSmrg $as_echo_n "(cached) " >&6 26866ea72052Smrgelse 26876ea72052Smrg if test -n "$ac_ct_CC"; then 26886ea72052Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 26896ea72052Smrgelse 26906ea72052Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26916ea72052Smrgfor as_dir in $PATH 26926ea72052Smrgdo 26936ea72052Smrg IFS=$as_save_IFS 26946ea72052Smrg test -z "$as_dir" && as_dir=. 2695168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2696168023feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26976ea72052Smrg ac_cv_prog_ac_ct_CC="gcc" 2698168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 26996ea72052Smrg break 2 27006ea72052Smrg fi 27016ea72052Smrgdone 2702168023feSmrg done 2703168023feSmrgIFS=$as_save_IFS 27046ea72052Smrg 27056ea72052Smrgfi 27066ea72052Smrgfi 27076ea72052Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 27086ea72052Smrgif test -n "$ac_ct_CC"; then 2709168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2710168023feSmrg$as_echo "$ac_ct_CC" >&6; } 27116ea72052Smrgelse 2712168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2713168023feSmrg$as_echo "no" >&6; } 27146ea72052Smrgfi 27156ea72052Smrg 2716168023feSmrg if test "x$ac_ct_CC" = x; then 2717168023feSmrg CC="" 2718168023feSmrg else 2719168023feSmrg case $cross_compiling:$ac_tool_warned in 2720168023feSmrgyes:) 2721168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2722168023feSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2723168023feSmrgac_tool_warned=yes ;; 2724168023feSmrgesac 2725168023feSmrg CC=$ac_ct_CC 2726168023feSmrg fi 27276ea72052Smrgelse 27286ea72052Smrg CC="$ac_cv_prog_CC" 27296ea72052Smrgfi 27306ea72052Smrg 27316ea72052Smrgif test -z "$CC"; then 2732168023feSmrg if test -n "$ac_tool_prefix"; then 2733168023feSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 27346ea72052Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 2735168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2736168023feSmrg$as_echo_n "checking for $ac_word... " >&6; } 2737168023feSmrgif ${ac_cv_prog_CC+:} false; then : 2738168023feSmrg $as_echo_n "(cached) " >&6 27396ea72052Smrgelse 27406ea72052Smrg if test -n "$CC"; then 27416ea72052Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27426ea72052Smrgelse 27436ea72052Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27446ea72052Smrgfor as_dir in $PATH 27456ea72052Smrgdo 27466ea72052Smrg IFS=$as_save_IFS 27476ea72052Smrg test -z "$as_dir" && as_dir=. 2748168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2749168023feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27506ea72052Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 2751168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27526ea72052Smrg break 2 27536ea72052Smrg fi 27546ea72052Smrgdone 2755168023feSmrg done 2756168023feSmrgIFS=$as_save_IFS 27576ea72052Smrg 27586ea72052Smrgfi 27596ea72052Smrgfi 27606ea72052SmrgCC=$ac_cv_prog_CC 27616ea72052Smrgif test -n "$CC"; then 2762168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2763168023feSmrg$as_echo "$CC" >&6; } 27646ea72052Smrgelse 2765168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2766168023feSmrg$as_echo "no" >&6; } 27676ea72052Smrgfi 27686ea72052Smrg 27696ea72052Smrg 2770168023feSmrg fi 27716ea72052Smrgfi 27726ea72052Smrgif test -z "$CC"; then 27736ea72052Smrg # Extract the first word of "cc", so it can be a program name with args. 27746ea72052Smrgset dummy cc; ac_word=$2 2775168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2776168023feSmrg$as_echo_n "checking for $ac_word... " >&6; } 2777168023feSmrgif ${ac_cv_prog_CC+:} false; then : 2778168023feSmrg $as_echo_n "(cached) " >&6 27796ea72052Smrgelse 27806ea72052Smrg if test -n "$CC"; then 27816ea72052Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 27826ea72052Smrgelse 27836ea72052Smrg ac_prog_rejected=no 27846ea72052Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 27856ea72052Smrgfor as_dir in $PATH 27866ea72052Smrgdo 27876ea72052Smrg IFS=$as_save_IFS 27886ea72052Smrg test -z "$as_dir" && as_dir=. 2789168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2790168023feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 27916ea72052Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 27926ea72052Smrg ac_prog_rejected=yes 27936ea72052Smrg continue 27946ea72052Smrg fi 27956ea72052Smrg ac_cv_prog_CC="cc" 2796168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 27976ea72052Smrg break 2 27986ea72052Smrg fi 27996ea72052Smrgdone 2800168023feSmrg done 2801168023feSmrgIFS=$as_save_IFS 28026ea72052Smrg 28036ea72052Smrgif test $ac_prog_rejected = yes; then 28046ea72052Smrg # We found a bogon in the path, so make sure we never use it. 28056ea72052Smrg set dummy $ac_cv_prog_CC 28066ea72052Smrg shift 28076ea72052Smrg if test $# != 0; then 28086ea72052Smrg # We chose a different compiler from the bogus one. 28096ea72052Smrg # However, it has the same basename, so the bogon will be chosen 28106ea72052Smrg # first if we set CC to just the basename; use the full file name. 28116ea72052Smrg shift 28126ea72052Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 28136ea72052Smrg fi 28146ea72052Smrgfi 28156ea72052Smrgfi 28166ea72052Smrgfi 28176ea72052SmrgCC=$ac_cv_prog_CC 28186ea72052Smrgif test -n "$CC"; then 2819168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2820168023feSmrg$as_echo "$CC" >&6; } 28216ea72052Smrgelse 2822168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2823168023feSmrg$as_echo "no" >&6; } 28246ea72052Smrgfi 28256ea72052Smrg 2826168023feSmrg 28276ea72052Smrgfi 28286ea72052Smrgif test -z "$CC"; then 28296ea72052Smrg if test -n "$ac_tool_prefix"; then 2830168023feSmrg for ac_prog in cl.exe 28316ea72052Smrg do 28326ea72052Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 28336ea72052Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 2834168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2835168023feSmrg$as_echo_n "checking for $ac_word... " >&6; } 2836168023feSmrgif ${ac_cv_prog_CC+:} false; then : 2837168023feSmrg $as_echo_n "(cached) " >&6 28386ea72052Smrgelse 28396ea72052Smrg if test -n "$CC"; then 28406ea72052Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 28416ea72052Smrgelse 28426ea72052Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28436ea72052Smrgfor as_dir in $PATH 28446ea72052Smrgdo 28456ea72052Smrg IFS=$as_save_IFS 28466ea72052Smrg test -z "$as_dir" && as_dir=. 2847168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2848168023feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28496ea72052Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2850168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28516ea72052Smrg break 2 28526ea72052Smrg fi 28536ea72052Smrgdone 2854168023feSmrg done 2855168023feSmrgIFS=$as_save_IFS 28566ea72052Smrg 28576ea72052Smrgfi 28586ea72052Smrgfi 28596ea72052SmrgCC=$ac_cv_prog_CC 28606ea72052Smrgif test -n "$CC"; then 2861168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2862168023feSmrg$as_echo "$CC" >&6; } 28636ea72052Smrgelse 2864168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2865168023feSmrg$as_echo "no" >&6; } 28666ea72052Smrgfi 28676ea72052Smrg 2868168023feSmrg 28696ea72052Smrg test -n "$CC" && break 28706ea72052Smrg done 28716ea72052Smrgfi 28726ea72052Smrgif test -z "$CC"; then 28736ea72052Smrg ac_ct_CC=$CC 2874168023feSmrg for ac_prog in cl.exe 28756ea72052Smrgdo 28766ea72052Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 28776ea72052Smrgset dummy $ac_prog; ac_word=$2 2878168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2879168023feSmrg$as_echo_n "checking for $ac_word... " >&6; } 2880168023feSmrgif ${ac_cv_prog_ac_ct_CC+:} false; then : 2881168023feSmrg $as_echo_n "(cached) " >&6 28826ea72052Smrgelse 28836ea72052Smrg if test -n "$ac_ct_CC"; then 28846ea72052Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 28856ea72052Smrgelse 28866ea72052Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 28876ea72052Smrgfor as_dir in $PATH 28886ea72052Smrgdo 28896ea72052Smrg IFS=$as_save_IFS 28906ea72052Smrg test -z "$as_dir" && as_dir=. 2891168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2892168023feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 28936ea72052Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 2894168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 28956ea72052Smrg break 2 28966ea72052Smrg fi 28976ea72052Smrgdone 2898168023feSmrg done 2899168023feSmrgIFS=$as_save_IFS 29006ea72052Smrg 29016ea72052Smrgfi 29026ea72052Smrgfi 29036ea72052Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 29046ea72052Smrgif test -n "$ac_ct_CC"; then 2905168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2906168023feSmrg$as_echo "$ac_ct_CC" >&6; } 29076ea72052Smrgelse 2908168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2909168023feSmrg$as_echo "no" >&6; } 29106ea72052Smrgfi 29116ea72052Smrg 2912168023feSmrg 29136ea72052Smrg test -n "$ac_ct_CC" && break 29146ea72052Smrgdone 29156ea72052Smrg 2916168023feSmrg if test "x$ac_ct_CC" = x; then 2917168023feSmrg CC="" 2918168023feSmrg else 2919168023feSmrg case $cross_compiling:$ac_tool_warned in 2920168023feSmrgyes:) 2921168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2922168023feSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2923168023feSmrgac_tool_warned=yes ;; 2924168023feSmrgesac 2925168023feSmrg CC=$ac_ct_CC 2926168023feSmrg fi 29276ea72052Smrgfi 29286ea72052Smrg 29296ea72052Smrgfi 29306ea72052Smrg 29316ea72052Smrg 2932168023feSmrgtest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2933168023feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2934168023feSmrgas_fn_error $? "no acceptable C compiler found in \$PATH 2935168023feSmrgSee \`config.log' for more details" "$LINENO" 5; } 29366ea72052Smrg 29376ea72052Smrg# Provide some information about the compiler. 2938168023feSmrg$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2939168023feSmrgset X $ac_compile 2940168023feSmrgac_compiler=$2 2941168023feSmrgfor ac_option in --version -v -V -qversion; do 2942168023feSmrg { { ac_try="$ac_compiler $ac_option >&5" 2943168023feSmrgcase "(($ac_try" in 2944168023feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2945168023feSmrg *) ac_try_echo=$ac_try;; 2946168023feSmrgesac 2947168023feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2948168023feSmrg$as_echo "$ac_try_echo"; } >&5 2949168023feSmrg (eval "$ac_compiler $ac_option >&5") 2>conftest.err 29506ea72052Smrg ac_status=$? 2951168023feSmrg if test -s conftest.err; then 2952168023feSmrg sed '10a\ 2953168023feSmrg... rest of stderr output deleted ... 2954168023feSmrg 10q' conftest.err >conftest.er1 2955168023feSmrg cat conftest.er1 >&5 2956168023feSmrg fi 2957168023feSmrg rm -f conftest.er1 conftest.err 2958168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2959168023feSmrg test $ac_status = 0; } 2960168023feSmrgdone 29616ea72052Smrg 2962168023feSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 29636ea72052Smrg/* end confdefs.h. */ 29646ea72052Smrg 29656ea72052Smrgint 29666ea72052Smrgmain () 29676ea72052Smrg{ 29686ea72052Smrg 29696ea72052Smrg ; 29706ea72052Smrg return 0; 29716ea72052Smrg} 29726ea72052Smrg_ACEOF 29736ea72052Smrgac_clean_files_save=$ac_clean_files 2974168023feSmrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 29756ea72052Smrg# Try to create an executable without -o first, disregard a.out. 29766ea72052Smrg# It will help us diagnose broken compilers, and finding out an intuition 29776ea72052Smrg# of exeext. 2978168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2979168023feSmrg$as_echo_n "checking whether the C compiler works... " >&6; } 2980168023feSmrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2981168023feSmrg 2982168023feSmrg# The possible output files: 2983168023feSmrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2984168023feSmrg 2985168023feSmrgac_rmfiles= 2986168023feSmrgfor ac_file in $ac_files 2987168023feSmrgdo 2988168023feSmrg case $ac_file in 2989168023feSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2990168023feSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2991168023feSmrg esac 2992168023feSmrgdone 2993168023feSmrgrm -f $ac_rmfiles 2994168023feSmrg 2995168023feSmrgif { { ac_try="$ac_link_default" 2996168023feSmrgcase "(($ac_try" in 2997168023feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2998168023feSmrg *) ac_try_echo=$ac_try;; 2999168023feSmrgesac 3000168023feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3001168023feSmrg$as_echo "$ac_try_echo"; } >&5 3002168023feSmrg (eval "$ac_link_default") 2>&5 30036ea72052Smrg ac_status=$? 3004168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3005168023feSmrg test $ac_status = 0; }; then : 3006168023feSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3007168023feSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3008168023feSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 3009168023feSmrg# so that the user can short-circuit this test for compilers unknown to 3010168023feSmrg# Autoconf. 3011168023feSmrgfor ac_file in $ac_files '' 30126ea72052Smrgdo 30136ea72052Smrg test -f "$ac_file" || continue 30146ea72052Smrg case $ac_file in 3015168023feSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 30166ea72052Smrg ;; 30176ea72052Smrg [ab].out ) 30186ea72052Smrg # We found the default executable, but exeext='' is most 30196ea72052Smrg # certainly right. 30206ea72052Smrg break;; 30216ea72052Smrg *.* ) 3022168023feSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3023168023feSmrg then :; else 3024168023feSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3025168023feSmrg fi 3026168023feSmrg # We set ac_cv_exeext here because the later test for it is not 3027168023feSmrg # safe: cross compilers may not add the suffix if given an `-o' 3028168023feSmrg # argument, so we may need to know it at that point already. 3029168023feSmrg # Even if this section looks crufty: it has the advantage of 3030168023feSmrg # actually working. 30316ea72052Smrg break;; 30326ea72052Smrg * ) 30336ea72052Smrg break;; 30346ea72052Smrg esac 30356ea72052Smrgdone 3036168023feSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 3037168023feSmrg 30386ea72052Smrgelse 3039168023feSmrg ac_file='' 3040168023feSmrgfi 3041168023feSmrgif test -z "$ac_file"; then : 3042168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3043168023feSmrg$as_echo "no" >&6; } 3044168023feSmrg$as_echo "$as_me: failed program was:" >&5 30456ea72052Smrgsed 's/^/| /' conftest.$ac_ext >&5 30466ea72052Smrg 3047168023feSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3048168023feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3049168023feSmrgas_fn_error 77 "C compiler cannot create executables 3050168023feSmrgSee \`config.log' for more details" "$LINENO" 5; } 3051168023feSmrgelse 3052168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3053168023feSmrg$as_echo "yes" >&6; } 30546ea72052Smrgfi 3055168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3056168023feSmrg$as_echo_n "checking for C compiler default output file name... " >&6; } 3057168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3058168023feSmrg$as_echo "$ac_file" >&6; } 30596ea72052Smrgac_exeext=$ac_cv_exeext 30606ea72052Smrg 3061168023feSmrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 30626ea72052Smrgac_clean_files=$ac_clean_files_save 3063168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3064168023feSmrg$as_echo_n "checking for suffix of executables... " >&6; } 3065168023feSmrgif { { ac_try="$ac_link" 3066168023feSmrgcase "(($ac_try" in 3067168023feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3068168023feSmrg *) ac_try_echo=$ac_try;; 3069168023feSmrgesac 3070168023feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3071168023feSmrg$as_echo "$ac_try_echo"; } >&5 3072168023feSmrg (eval "$ac_link") 2>&5 30736ea72052Smrg ac_status=$? 3074168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3075168023feSmrg test $ac_status = 0; }; then : 30766ea72052Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 30776ea72052Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 30786ea72052Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 30796ea72052Smrg# `rm'. 30806ea72052Smrgfor ac_file in conftest.exe conftest conftest.*; do 30816ea72052Smrg test -f "$ac_file" || continue 30826ea72052Smrg case $ac_file in 3083168023feSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 30846ea72052Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 30856ea72052Smrg break;; 30866ea72052Smrg * ) break;; 30876ea72052Smrg esac 30886ea72052Smrgdone 30896ea72052Smrgelse 3090168023feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3091168023feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3092168023feSmrgas_fn_error $? "cannot compute suffix of executables: cannot compile and link 3093168023feSmrgSee \`config.log' for more details" "$LINENO" 5; } 30946ea72052Smrgfi 3095168023feSmrgrm -f conftest conftest$ac_cv_exeext 3096168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3097168023feSmrg$as_echo "$ac_cv_exeext" >&6; } 30986ea72052Smrg 30996ea72052Smrgrm -f conftest.$ac_ext 31006ea72052SmrgEXEEXT=$ac_cv_exeext 31016ea72052Smrgac_exeext=$EXEEXT 3102168023feSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3103168023feSmrg/* end confdefs.h. */ 3104168023feSmrg#include <stdio.h> 3105168023feSmrgint 3106168023feSmrgmain () 3107168023feSmrg{ 3108168023feSmrgFILE *f = fopen ("conftest.out", "w"); 3109168023feSmrg return ferror (f) || fclose (f) != 0; 3110168023feSmrg 3111168023feSmrg ; 3112168023feSmrg return 0; 3113168023feSmrg} 31146ea72052Smrg_ACEOF 3115168023feSmrgac_clean_files="$ac_clean_files conftest.out" 3116168023feSmrg# Check that the compiler produces executables we can run. If not, either 3117168023feSmrg# the compiler is broken, or we cross compile. 3118168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3119168023feSmrg$as_echo_n "checking whether we are cross compiling... " >&6; } 3120168023feSmrgif test "$cross_compiling" != yes; then 3121168023feSmrg { { ac_try="$ac_link" 3122168023feSmrgcase "(($ac_try" in 3123168023feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3124168023feSmrg *) ac_try_echo=$ac_try;; 3125168023feSmrgesac 3126168023feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3127168023feSmrg$as_echo "$ac_try_echo"; } >&5 3128168023feSmrg (eval "$ac_link") 2>&5 3129168023feSmrg ac_status=$? 3130168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3131168023feSmrg test $ac_status = 0; } 3132168023feSmrg if { ac_try='./conftest$ac_cv_exeext' 3133168023feSmrg { { case "(($ac_try" in 3134168023feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3135168023feSmrg *) ac_try_echo=$ac_try;; 3136168023feSmrgesac 3137168023feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3138168023feSmrg$as_echo "$ac_try_echo"; } >&5 3139168023feSmrg (eval "$ac_try") 2>&5 3140168023feSmrg ac_status=$? 3141168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3142168023feSmrg test $ac_status = 0; }; }; then 3143168023feSmrg cross_compiling=no 3144168023feSmrg else 3145168023feSmrg if test "$cross_compiling" = maybe; then 3146168023feSmrg cross_compiling=yes 3147168023feSmrg else 3148168023feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3149168023feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3150168023feSmrgas_fn_error $? "cannot run C compiled programs. 3151168023feSmrgIf you meant to cross compile, use \`--host'. 3152168023feSmrgSee \`config.log' for more details" "$LINENO" 5; } 3153168023feSmrg fi 3154168023feSmrg fi 3155168023feSmrgfi 3156168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3157168023feSmrg$as_echo "$cross_compiling" >&6; } 3158168023feSmrg 3159168023feSmrgrm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3160168023feSmrgac_clean_files=$ac_clean_files_save 3161168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3162168023feSmrg$as_echo_n "checking for suffix of object files... " >&6; } 3163168023feSmrgif ${ac_cv_objext+:} false; then : 3164168023feSmrg $as_echo_n "(cached) " >&6 3165168023feSmrgelse 3166168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31676ea72052Smrg/* end confdefs.h. */ 31686ea72052Smrg 31696ea72052Smrgint 31706ea72052Smrgmain () 31716ea72052Smrg{ 31726ea72052Smrg 31736ea72052Smrg ; 31746ea72052Smrg return 0; 31756ea72052Smrg} 31766ea72052Smrg_ACEOF 31776ea72052Smrgrm -f conftest.o conftest.obj 3178168023feSmrgif { { ac_try="$ac_compile" 3179168023feSmrgcase "(($ac_try" in 3180168023feSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3181168023feSmrg *) ac_try_echo=$ac_try;; 3182168023feSmrgesac 3183168023feSmrgeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3184168023feSmrg$as_echo "$ac_try_echo"; } >&5 3185168023feSmrg (eval "$ac_compile") 2>&5 31866ea72052Smrg ac_status=$? 3187168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3188168023feSmrg test $ac_status = 0; }; then : 3189168023feSmrg for ac_file in conftest.o conftest.obj conftest.*; do 3190168023feSmrg test -f "$ac_file" || continue; 31916ea72052Smrg case $ac_file in 3192168023feSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 31936ea72052Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 31946ea72052Smrg break;; 31956ea72052Smrg esac 31966ea72052Smrgdone 31976ea72052Smrgelse 3198168023feSmrg $as_echo "$as_me: failed program was:" >&5 31996ea72052Smrgsed 's/^/| /' conftest.$ac_ext >&5 32006ea72052Smrg 3201168023feSmrg{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3202168023feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3203168023feSmrgas_fn_error $? "cannot compute suffix of object files: cannot compile 3204168023feSmrgSee \`config.log' for more details" "$LINENO" 5; } 32056ea72052Smrgfi 32066ea72052Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 32076ea72052Smrgfi 3208168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3209168023feSmrg$as_echo "$ac_cv_objext" >&6; } 32106ea72052SmrgOBJEXT=$ac_cv_objext 32116ea72052Smrgac_objext=$OBJEXT 3212168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3213168023feSmrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3214168023feSmrgif ${ac_cv_c_compiler_gnu+:} false; then : 3215168023feSmrg $as_echo_n "(cached) " >&6 32166ea72052Smrgelse 3217168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32186ea72052Smrg/* end confdefs.h. */ 32196ea72052Smrg 32206ea72052Smrgint 32216ea72052Smrgmain () 32226ea72052Smrg{ 32236ea72052Smrg#ifndef __GNUC__ 32246ea72052Smrg choke me 32256ea72052Smrg#endif 32266ea72052Smrg 32276ea72052Smrg ; 32286ea72052Smrg return 0; 32296ea72052Smrg} 32306ea72052Smrg_ACEOF 3231168023feSmrgif ac_fn_c_try_compile "$LINENO"; then : 32326ea72052Smrg ac_compiler_gnu=yes 32336ea72052Smrgelse 3234168023feSmrg ac_compiler_gnu=no 32356ea72052Smrgfi 3236168023feSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 32376ea72052Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 32386ea72052Smrg 32396ea72052Smrgfi 3240168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3241168023feSmrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3242168023feSmrgif test $ac_compiler_gnu = yes; then 3243168023feSmrg GCC=yes 3244168023feSmrgelse 3245168023feSmrg GCC= 3246168023feSmrgfi 32476ea72052Smrgac_test_CFLAGS=${CFLAGS+set} 32486ea72052Smrgac_save_CFLAGS=$CFLAGS 3249168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3250168023feSmrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 3251168023feSmrgif ${ac_cv_prog_cc_g+:} false; then : 3252168023feSmrg $as_echo_n "(cached) " >&6 3253168023feSmrgelse 3254168023feSmrg ac_save_c_werror_flag=$ac_c_werror_flag 3255168023feSmrg ac_c_werror_flag=yes 3256168023feSmrg ac_cv_prog_cc_g=no 3257168023feSmrg CFLAGS="-g" 3258168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32596ea72052Smrg/* end confdefs.h. */ 32606ea72052Smrg 32616ea72052Smrgint 32626ea72052Smrgmain () 32636ea72052Smrg{ 32646ea72052Smrg 32656ea72052Smrg ; 32666ea72052Smrg return 0; 32676ea72052Smrg} 32686ea72052Smrg_ACEOF 3269168023feSmrgif ac_fn_c_try_compile "$LINENO"; then : 32706ea72052Smrg ac_cv_prog_cc_g=yes 32716ea72052Smrgelse 3272168023feSmrg CFLAGS="" 3273168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3274168023feSmrg/* end confdefs.h. */ 3275168023feSmrg 3276168023feSmrgint 3277168023feSmrgmain () 3278168023feSmrg{ 3279168023feSmrg 3280168023feSmrg ; 3281168023feSmrg return 0; 3282168023feSmrg} 3283168023feSmrg_ACEOF 3284168023feSmrgif ac_fn_c_try_compile "$LINENO"; then : 3285168023feSmrg 3286168023feSmrgelse 3287168023feSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3288168023feSmrg CFLAGS="-g" 3289168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3290168023feSmrg/* end confdefs.h. */ 3291168023feSmrg 3292168023feSmrgint 3293168023feSmrgmain () 3294168023feSmrg{ 32956ea72052Smrg 3296168023feSmrg ; 3297168023feSmrg return 0; 3298168023feSmrg} 3299168023feSmrg_ACEOF 3300168023feSmrgif ac_fn_c_try_compile "$LINENO"; then : 3301168023feSmrg ac_cv_prog_cc_g=yes 33026ea72052Smrgfi 3303168023feSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 33046ea72052Smrgfi 3305168023feSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3306168023feSmrgfi 3307168023feSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3308168023feSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3309168023feSmrgfi 3310168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3311168023feSmrg$as_echo "$ac_cv_prog_cc_g" >&6; } 33126ea72052Smrgif test "$ac_test_CFLAGS" = set; then 33136ea72052Smrg CFLAGS=$ac_save_CFLAGS 33146ea72052Smrgelif test $ac_cv_prog_cc_g = yes; then 33156ea72052Smrg if test "$GCC" = yes; then 33166ea72052Smrg CFLAGS="-g -O2" 33176ea72052Smrg else 33186ea72052Smrg CFLAGS="-g" 33196ea72052Smrg fi 33206ea72052Smrgelse 33216ea72052Smrg if test "$GCC" = yes; then 33226ea72052Smrg CFLAGS="-O2" 33236ea72052Smrg else 33246ea72052Smrg CFLAGS= 33256ea72052Smrg fi 33266ea72052Smrgfi 3327168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3328168023feSmrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3329168023feSmrgif ${ac_cv_prog_cc_c89+:} false; then : 3330168023feSmrg $as_echo_n "(cached) " >&6 33316ea72052Smrgelse 3332168023feSmrg ac_cv_prog_cc_c89=no 33336ea72052Smrgac_save_CC=$CC 3334168023feSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 33356ea72052Smrg/* end confdefs.h. */ 33366ea72052Smrg#include <stdarg.h> 33376ea72052Smrg#include <stdio.h> 33386ea72052Smrg#include <sys/types.h> 33396ea72052Smrg#include <sys/stat.h> 33406ea72052Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 33416ea72052Smrgstruct buf { int x; }; 33426ea72052SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 33436ea72052Smrgstatic char *e (p, i) 33446ea72052Smrg char **p; 33456ea72052Smrg int i; 33466ea72052Smrg{ 33476ea72052Smrg return p[i]; 33486ea72052Smrg} 33496ea72052Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 33506ea72052Smrg{ 33516ea72052Smrg char *s; 33526ea72052Smrg va_list v; 33536ea72052Smrg va_start (v,p); 33546ea72052Smrg s = g (p, va_arg (v,int)); 33556ea72052Smrg va_end (v); 33566ea72052Smrg return s; 33576ea72052Smrg} 33586ea72052Smrg 33596ea72052Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 33606ea72052Smrg function prototypes and stuff, but not '\xHH' hex character constants. 33616ea72052Smrg These don't provoke an error unfortunately, instead are silently treated 3362168023feSmrg as 'x'. The following induces an error, until -std is added to get 33636ea72052Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 33646ea72052Smrg array size at least. It's necessary to write '\x00'==0 to get something 3365168023feSmrg that's true only with -std. */ 33666ea72052Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 33676ea72052Smrg 3368168023feSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3369168023feSmrg inside strings and character constants. */ 3370168023feSmrg#define FOO(x) 'x' 3371168023feSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3372168023feSmrg 33736ea72052Smrgint test (int i, double x); 33746ea72052Smrgstruct s1 {int (*f) (int a);}; 33756ea72052Smrgstruct s2 {int (*f) (double a);}; 33766ea72052Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 33776ea72052Smrgint argc; 33786ea72052Smrgchar **argv; 33796ea72052Smrgint 33806ea72052Smrgmain () 33816ea72052Smrg{ 33826ea72052Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 33836ea72052Smrg ; 33846ea72052Smrg return 0; 33856ea72052Smrg} 33866ea72052Smrg_ACEOF 3387168023feSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3388168023feSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 33896ea72052Smrgdo 33906ea72052Smrg CC="$ac_save_CC $ac_arg" 3391168023feSmrg if ac_fn_c_try_compile "$LINENO"; then : 3392168023feSmrg ac_cv_prog_cc_c89=$ac_arg 33936ea72052Smrgfi 3394168023feSmrgrm -f core conftest.err conftest.$ac_objext 3395168023feSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 33966ea72052Smrgdone 3397168023feSmrgrm -f conftest.$ac_ext 33986ea72052SmrgCC=$ac_save_CC 33996ea72052Smrg 34006ea72052Smrgfi 3401168023feSmrg# AC_CACHE_VAL 3402168023feSmrgcase "x$ac_cv_prog_cc_c89" in 3403168023feSmrg x) 3404168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3405168023feSmrg$as_echo "none needed" >&6; } ;; 3406168023feSmrg xno) 3407168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3408168023feSmrg$as_echo "unsupported" >&6; } ;; 34096ea72052Smrg *) 3410168023feSmrg CC="$CC $ac_cv_prog_cc_c89" 3411168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3412168023feSmrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 34136ea72052Smrgesac 3414168023feSmrgif test "x$ac_cv_prog_cc_c89" != xno; then : 34156ea72052Smrg 34166ea72052Smrgfi 34176ea72052Smrg 34186ea72052Smrgac_ext=c 34196ea72052Smrgac_cpp='$CPP $CPPFLAGS' 34206ea72052Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 34216ea72052Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 34226ea72052Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 34236ea72052Smrg 34246ea72052Smrgdepcc="$CC" am_compiler_list= 34256ea72052Smrg 3426168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3427168023feSmrg$as_echo_n "checking dependency style of $depcc... " >&6; } 3428168023feSmrgif ${am_cv_CC_dependencies_compiler_type+:} false; then : 3429168023feSmrg $as_echo_n "(cached) " >&6 34306ea72052Smrgelse 34316ea72052Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 34326ea72052Smrg # We make a subdir and do the tests there. Otherwise we can end up 34336ea72052Smrg # making bogus files that we don't know about and never remove. For 34346ea72052Smrg # instance it was reported that on HP-UX the gcc test will end up 34356ea72052Smrg # making a dummy file named `D' -- because `-MD' means `put the output 34366ea72052Smrg # in D'. 34376ea72052Smrg mkdir conftest.dir 34386ea72052Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 34396ea72052Smrg # using a relative directory. 34406ea72052Smrg cp "$am_depcomp" conftest.dir 34416ea72052Smrg cd conftest.dir 34426ea72052Smrg # We will build objects and dependencies in a subdirectory because 34436ea72052Smrg # it helps to detect inapplicable dependency modes. For instance 34446ea72052Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 34456ea72052Smrg # side effect of compilation, but ICC will put the dependencies in 34466ea72052Smrg # the current directory while Tru64 will put them in the object 34476ea72052Smrg # directory. 34486ea72052Smrg mkdir sub 34496ea72052Smrg 34506ea72052Smrg am_cv_CC_dependencies_compiler_type=none 34516ea72052Smrg if test "$am_compiler_list" = ""; then 34526ea72052Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 34536ea72052Smrg fi 3454168023feSmrg am__universal=false 3455168023feSmrg case " $depcc " in #( 3456168023feSmrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 3457168023feSmrg esac 3458168023feSmrg 34596ea72052Smrg for depmode in $am_compiler_list; do 34606ea72052Smrg # Setup a source with many dependencies, because some compilers 34616ea72052Smrg # like to wrap large dependency lists on column 80 (with \), and 34626ea72052Smrg # we should not choose a depcomp mode which is confused by this. 34636ea72052Smrg # 34646ea72052Smrg # We need to recreate these files for each test, as the compiler may 34656ea72052Smrg # overwrite some of them when testing with obscure command lines. 34666ea72052Smrg # This happens at least with the AIX C compiler. 34676ea72052Smrg : > sub/conftest.c 34686ea72052Smrg for i in 1 2 3 4 5 6; do 34696ea72052Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 3470168023feSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3471168023feSmrg # Solaris 8's {/usr,}/bin/sh. 3472168023feSmrg touch sub/conftst$i.h 34736ea72052Smrg done 34746ea72052Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 34756ea72052Smrg 3476168023feSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 3477168023feSmrg # mode. It turns out that the SunPro C++ compiler does not properly 3478168023feSmrg # handle `-M -o', and we need to detect this. Also, some Intel 3479168023feSmrg # versions had trouble with output in subdirs 3480168023feSmrg am__obj=sub/conftest.${OBJEXT-o} 3481168023feSmrg am__minus_obj="-o $am__obj" 34826ea72052Smrg case $depmode in 3483168023feSmrg gcc) 3484168023feSmrg # This depmode causes a compiler race in universal mode. 3485168023feSmrg test "$am__universal" = false || continue 3486168023feSmrg ;; 34876ea72052Smrg nosideeffect) 34886ea72052Smrg # after this tag, mechanisms are not by side-effect, so they'll 34896ea72052Smrg # only be used when explicitly requested 34906ea72052Smrg if test "x$enable_dependency_tracking" = xyes; then 34916ea72052Smrg continue 34926ea72052Smrg else 34936ea72052Smrg break 34946ea72052Smrg fi 34956ea72052Smrg ;; 3496168023feSmrg msvisualcpp | msvcmsys) 3497168023feSmrg # This compiler won't grok `-c -o', but also, the minuso test has 3498168023feSmrg # not run yet. These depmodes are late enough in the game, and 3499168023feSmrg # so weak that their functioning should not be impacted. 3500168023feSmrg am__obj=conftest.${OBJEXT-o} 3501168023feSmrg am__minus_obj= 3502168023feSmrg ;; 35036ea72052Smrg none) break ;; 35046ea72052Smrg esac 35056ea72052Smrg if depmode=$depmode \ 3506168023feSmrg source=sub/conftest.c object=$am__obj \ 35076ea72052Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3508168023feSmrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 35096ea72052Smrg >/dev/null 2>conftest.err && 3510168023feSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 35116ea72052Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3512168023feSmrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 35136ea72052Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 35146ea72052Smrg # icc doesn't choke on unknown options, it will just issue warnings 3515168023feSmrg # or remarks (even with -Werror). So we grep stderr for any message 3516168023feSmrg # that says an option was ignored or not supported. 3517168023feSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 3518168023feSmrg # icc: Command line warning: ignoring option '-M'; no argument required 3519168023feSmrg # The diagnosis changed in icc 8.0: 3520168023feSmrg # icc: Command line remark: option '-MP' not supported 3521168023feSmrg if (grep 'ignoring option' conftest.err || 3522168023feSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 35236ea72052Smrg am_cv_CC_dependencies_compiler_type=$depmode 35246ea72052Smrg break 35256ea72052Smrg fi 35266ea72052Smrg fi 35276ea72052Smrg done 35286ea72052Smrg 35296ea72052Smrg cd .. 35306ea72052Smrg rm -rf conftest.dir 35316ea72052Smrgelse 35326ea72052Smrg am_cv_CC_dependencies_compiler_type=none 35336ea72052Smrgfi 35346ea72052Smrg 35356ea72052Smrgfi 3536168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3537168023feSmrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 35386ea72052SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 35396ea72052Smrg 3540168023feSmrg if 35416ea72052Smrg test "x$enable_dependency_tracking" != xno \ 35426ea72052Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 35436ea72052Smrg am__fastdepCC_TRUE= 35446ea72052Smrg am__fastdepCC_FALSE='#' 35456ea72052Smrgelse 35466ea72052Smrg am__fastdepCC_TRUE='#' 35476ea72052Smrg am__fastdepCC_FALSE= 35486ea72052Smrgfi 35496ea72052Smrg 35506ea72052Smrg 3551168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3552168023feSmrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3553168023feSmrgif ${ac_cv_prog_cc_c99+:} false; then : 3554168023feSmrg $as_echo_n "(cached) " >&6 35556ea72052Smrgelse 3556168023feSmrg ac_cv_prog_cc_c99=no 3557168023feSmrgac_save_CC=$CC 3558168023feSmrgcat confdefs.h - <<_ACEOF >conftest.$ac_ext 3559168023feSmrg/* end confdefs.h. */ 3560168023feSmrg#include <stdarg.h> 3561168023feSmrg#include <stdbool.h> 3562168023feSmrg#include <stdlib.h> 3563168023feSmrg#include <wchar.h> 3564168023feSmrg#include <stdio.h> 35656ea72052Smrg 3566168023feSmrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 3567168023feSmrg#define debug(...) fprintf (stderr, __VA_ARGS__) 3568168023feSmrg#define showlist(...) puts (#__VA_ARGS__) 3569168023feSmrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3570168023feSmrgstatic void 3571168023feSmrgtest_varargs_macros (void) 3572168023feSmrg{ 3573168023feSmrg int x = 1234; 3574168023feSmrg int y = 5678; 3575168023feSmrg debug ("Flag"); 3576168023feSmrg debug ("X = %d\n", x); 3577168023feSmrg showlist (The first, second, and third items.); 3578168023feSmrg report (x>y, "x is %d but y is %d", x, y); 3579168023feSmrg} 35806ea72052Smrg 3581168023feSmrg// Check long long types. 3582168023feSmrg#define BIG64 18446744073709551615ull 3583168023feSmrg#define BIG32 4294967295ul 3584168023feSmrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3585168023feSmrg#if !BIG_OK 3586168023feSmrg your preprocessor is broken; 3587168023feSmrg#endif 3588168023feSmrg#if BIG_OK 3589168023feSmrg#else 3590168023feSmrg your preprocessor is broken; 3591168023feSmrg#endif 3592168023feSmrgstatic long long int bignum = -9223372036854775807LL; 3593168023feSmrgstatic unsigned long long int ubignum = BIG64; 35946ea72052Smrg 3595168023feSmrgstruct incomplete_array 3596168023feSmrg{ 3597168023feSmrg int datasize; 3598168023feSmrg double data[]; 3599168023feSmrg}; 36006ea72052Smrg 3601168023feSmrgstruct named_init { 3602168023feSmrg int number; 3603168023feSmrg const wchar_t *name; 3604168023feSmrg double average; 3605168023feSmrg}; 36066ea72052Smrg 3607168023feSmrgtypedef const char *ccp; 36086ea72052Smrg 3609168023feSmrgstatic inline int 3610168023feSmrgtest_restrict (ccp restrict text) 3611168023feSmrg{ 3612168023feSmrg // See if C++-style comments work. 3613168023feSmrg // Iterate through items via the restricted pointer. 3614168023feSmrg // Also check for declarations in for loops. 3615168023feSmrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 3616168023feSmrg continue; 3617168023feSmrg return 0; 3618168023feSmrg} 36196ea72052Smrg 3620168023feSmrg// Check varargs and va_copy. 3621168023feSmrgstatic void 3622168023feSmrgtest_varargs (const char *format, ...) 3623168023feSmrg{ 3624168023feSmrg va_list args; 3625168023feSmrg va_start (args, format); 3626168023feSmrg va_list args_copy; 3627168023feSmrg va_copy (args_copy, args); 3628168023feSmrg 3629168023feSmrg const char *str; 3630168023feSmrg int number; 3631168023feSmrg float fnumber; 3632168023feSmrg 3633168023feSmrg while (*format) 3634168023feSmrg { 3635168023feSmrg switch (*format++) 3636168023feSmrg { 3637168023feSmrg case 's': // string 3638168023feSmrg str = va_arg (args_copy, const char *); 3639168023feSmrg break; 3640168023feSmrg case 'd': // int 3641168023feSmrg number = va_arg (args_copy, int); 3642168023feSmrg break; 3643168023feSmrg case 'f': // float 3644168023feSmrg fnumber = va_arg (args_copy, double); 3645168023feSmrg break; 3646168023feSmrg default: 3647168023feSmrg break; 3648168023feSmrg } 3649168023feSmrg } 3650168023feSmrg va_end (args_copy); 3651168023feSmrg va_end (args); 3652168023feSmrg} 36536ea72052Smrg 3654168023feSmrgint 3655168023feSmrgmain () 3656168023feSmrg{ 36576ea72052Smrg 3658168023feSmrg // Check bool. 3659168023feSmrg _Bool success = false; 36606ea72052Smrg 3661168023feSmrg // Check restrict. 3662168023feSmrg if (test_restrict ("String literal") == 0) 3663168023feSmrg success = true; 3664168023feSmrg char *restrict newvar = "Another string"; 36656ea72052Smrg 3666168023feSmrg // Check varargs. 3667168023feSmrg test_varargs ("s, d' f .", "string", 65, 34.234); 3668168023feSmrg test_varargs_macros (); 36696ea72052Smrg 3670168023feSmrg // Check flexible array members. 3671168023feSmrg struct incomplete_array *ia = 3672168023feSmrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 3673168023feSmrg ia->datasize = 10; 3674168023feSmrg for (int i = 0; i < ia->datasize; ++i) 3675168023feSmrg ia->data[i] = i * 1.234; 3676168023feSmrg 3677168023feSmrg // Check named initializers. 3678168023feSmrg struct named_init ni = { 3679168023feSmrg .number = 34, 3680168023feSmrg .name = L"Test wide string", 3681168023feSmrg .average = 543.34343, 3682168023feSmrg }; 3683168023feSmrg 3684168023feSmrg ni.number = 58; 3685168023feSmrg 3686168023feSmrg int dynamic_array[ni.number]; 3687168023feSmrg dynamic_array[ni.number - 1] = 543; 3688168023feSmrg 3689168023feSmrg // work around unused variable warnings 3690168023feSmrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 3691168023feSmrg || dynamic_array[ni.number - 1] != 543); 3692168023feSmrg 3693168023feSmrg ; 3694168023feSmrg return 0; 3695168023feSmrg} 3696168023feSmrg_ACEOF 3697168023feSmrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 36986ea72052Smrgdo 3699168023feSmrg CC="$ac_save_CC $ac_arg" 3700168023feSmrg if ac_fn_c_try_compile "$LINENO"; then : 3701168023feSmrg ac_cv_prog_cc_c99=$ac_arg 3702168023feSmrgfi 3703168023feSmrgrm -f core conftest.err conftest.$ac_objext 3704168023feSmrg test "x$ac_cv_prog_cc_c99" != "xno" && break 37056ea72052Smrgdone 3706168023feSmrgrm -f conftest.$ac_ext 3707168023feSmrgCC=$ac_save_CC 37086ea72052Smrg 37096ea72052Smrgfi 3710168023feSmrg# AC_CACHE_VAL 3711168023feSmrgcase "x$ac_cv_prog_cc_c99" in 3712168023feSmrg x) 3713168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3714168023feSmrg$as_echo "none needed" >&6; } ;; 3715168023feSmrg xno) 3716168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3717168023feSmrg$as_echo "unsupported" >&6; } ;; 3718168023feSmrg *) 3719168023feSmrg CC="$CC $ac_cv_prog_cc_c99" 3720168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 3721168023feSmrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 3722168023feSmrgesac 3723168023feSmrgif test "x$ac_cv_prog_cc_c99" != xno; then : 37246ea72052Smrg 37256ea72052Smrgfi 37266ea72052Smrg 37276ea72052Smrg 37286ea72052Smrg 3729168023feSmrgac_ext=c 3730168023feSmrgac_cpp='$CPP $CPPFLAGS' 3731168023feSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3732168023feSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3733168023feSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3734168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3735168023feSmrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 3736168023feSmrg# On Suns, sometimes $CPP names a directory. 3737168023feSmrgif test -n "$CPP" && test -d "$CPP"; then 3738168023feSmrg CPP= 3739168023feSmrgfi 3740168023feSmrgif test -z "$CPP"; then 3741168023feSmrg if ${ac_cv_prog_CPP+:} false; then : 3742168023feSmrg $as_echo_n "(cached) " >&6 3743168023feSmrgelse 3744168023feSmrg # Double quotes because CPP needs to be expanded 3745168023feSmrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3746168023feSmrg do 3747168023feSmrg ac_preproc_ok=false 3748168023feSmrgfor ac_c_preproc_warn_flag in '' yes 3749168023feSmrgdo 3750168023feSmrg # Use a header file that comes with gcc, so configuring glibc 3751168023feSmrg # with a fresh cross-compiler works. 3752168023feSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3753168023feSmrg # <limits.h> exists even on freestanding compilers. 3754168023feSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 3755168023feSmrg # not just through cpp. "Syntax error" is here to catch this case. 3756168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3757168023feSmrg/* end confdefs.h. */ 3758168023feSmrg#ifdef __STDC__ 3759168023feSmrg# include <limits.h> 3760168023feSmrg#else 3761168023feSmrg# include <assert.h> 3762168023feSmrg#endif 3763168023feSmrg Syntax error 3764168023feSmrg_ACEOF 3765168023feSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3766168023feSmrg 3767168023feSmrgelse 3768168023feSmrg # Broken: fails on valid input. 3769168023feSmrgcontinue 37706ea72052Smrgfi 3771168023feSmrgrm -f conftest.err conftest.i conftest.$ac_ext 37726ea72052Smrg 3773168023feSmrg # OK, works on sane cases. Now check whether nonexistent headers 3774168023feSmrg # can be detected and how. 3775168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3776168023feSmrg/* end confdefs.h. */ 3777168023feSmrg#include <ac_nonexistent.h> 3778168023feSmrg_ACEOF 3779168023feSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3780168023feSmrg # Broken: success on invalid input. 3781168023feSmrgcontinue 3782168023feSmrgelse 3783168023feSmrg # Passes both tests. 3784168023feSmrgac_preproc_ok=: 3785168023feSmrgbreak 3786168023feSmrgfi 3787168023feSmrgrm -f conftest.err conftest.i conftest.$ac_ext 3788168023feSmrg 3789168023feSmrgdone 3790168023feSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3791168023feSmrgrm -f conftest.i conftest.err conftest.$ac_ext 3792168023feSmrgif $ac_preproc_ok; then : 3793168023feSmrg break 3794168023feSmrgfi 3795168023feSmrg 3796168023feSmrg done 3797168023feSmrg ac_cv_prog_CPP=$CPP 3798168023feSmrg 3799168023feSmrgfi 3800168023feSmrg CPP=$ac_cv_prog_CPP 3801168023feSmrgelse 3802168023feSmrg ac_cv_prog_CPP=$CPP 3803168023feSmrgfi 3804168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3805168023feSmrg$as_echo "$CPP" >&6; } 3806168023feSmrgac_preproc_ok=false 3807168023feSmrgfor ac_c_preproc_warn_flag in '' yes 3808168023feSmrgdo 3809168023feSmrg # Use a header file that comes with gcc, so configuring glibc 3810168023feSmrg # with a fresh cross-compiler works. 3811168023feSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3812168023feSmrg # <limits.h> exists even on freestanding compilers. 3813168023feSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 3814168023feSmrg # not just through cpp. "Syntax error" is here to catch this case. 3815168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3816168023feSmrg/* end confdefs.h. */ 3817168023feSmrg#ifdef __STDC__ 3818168023feSmrg# include <limits.h> 3819168023feSmrg#else 3820168023feSmrg# include <assert.h> 3821168023feSmrg#endif 3822168023feSmrg Syntax error 3823168023feSmrg_ACEOF 3824168023feSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3825168023feSmrg 3826168023feSmrgelse 3827168023feSmrg # Broken: fails on valid input. 3828168023feSmrgcontinue 3829168023feSmrgfi 3830168023feSmrgrm -f conftest.err conftest.i conftest.$ac_ext 3831168023feSmrg 3832168023feSmrg # OK, works on sane cases. Now check whether nonexistent headers 3833168023feSmrg # can be detected and how. 3834168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3835168023feSmrg/* end confdefs.h. */ 3836168023feSmrg#include <ac_nonexistent.h> 3837168023feSmrg_ACEOF 3838168023feSmrgif ac_fn_c_try_cpp "$LINENO"; then : 3839168023feSmrg # Broken: success on invalid input. 3840168023feSmrgcontinue 3841168023feSmrgelse 3842168023feSmrg # Passes both tests. 3843168023feSmrgac_preproc_ok=: 3844168023feSmrgbreak 3845168023feSmrgfi 3846168023feSmrgrm -f conftest.err conftest.i conftest.$ac_ext 3847168023feSmrg 3848168023feSmrgdone 3849168023feSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3850168023feSmrgrm -f conftest.i conftest.err conftest.$ac_ext 3851168023feSmrgif $ac_preproc_ok; then : 3852168023feSmrg 3853168023feSmrgelse 3854168023feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3855168023feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3856168023feSmrgas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3857168023feSmrgSee \`config.log' for more details" "$LINENO" 5; } 3858168023feSmrgfi 3859168023feSmrg 3860168023feSmrgac_ext=c 3861168023feSmrgac_cpp='$CPP $CPPFLAGS' 3862168023feSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3863168023feSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3864168023feSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3865168023feSmrg 3866168023feSmrg 3867168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3868168023feSmrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3869168023feSmrgif ${ac_cv_path_GREP+:} false; then : 3870168023feSmrg $as_echo_n "(cached) " >&6 3871168023feSmrgelse 3872168023feSmrg if test -z "$GREP"; then 3873168023feSmrg ac_path_GREP_found=false 3874168023feSmrg # Loop through the user's path and test for each of PROGNAME-LIST 3875168023feSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3876168023feSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3877168023feSmrgdo 3878168023feSmrg IFS=$as_save_IFS 3879168023feSmrg test -z "$as_dir" && as_dir=. 3880168023feSmrg for ac_prog in grep ggrep; do 3881168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3882168023feSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3883168023feSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3884168023feSmrg# Check for GNU ac_path_GREP and select it if it is found. 3885168023feSmrg # Check for GNU $ac_path_GREP 3886168023feSmrgcase `"$ac_path_GREP" --version 2>&1` in 3887168023feSmrg*GNU*) 3888168023feSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3889168023feSmrg*) 3890168023feSmrg ac_count=0 3891168023feSmrg $as_echo_n 0123456789 >"conftest.in" 3892168023feSmrg while : 3893168023feSmrg do 3894168023feSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 3895168023feSmrg mv "conftest.tmp" "conftest.in" 3896168023feSmrg cp "conftest.in" "conftest.nl" 3897168023feSmrg $as_echo 'GREP' >> "conftest.nl" 3898168023feSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3899168023feSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3900168023feSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 3901168023feSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 3902168023feSmrg # Best one so far, save it but keep looking for a better one 3903168023feSmrg ac_cv_path_GREP="$ac_path_GREP" 3904168023feSmrg ac_path_GREP_max=$ac_count 3905168023feSmrg fi 3906168023feSmrg # 10*(2^10) chars as input seems more than enough 3907168023feSmrg test $ac_count -gt 10 && break 3908168023feSmrg done 3909168023feSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3910168023feSmrgesac 3911168023feSmrg 3912168023feSmrg $ac_path_GREP_found && break 3 3913168023feSmrg done 3914168023feSmrg done 3915168023feSmrg done 3916168023feSmrgIFS=$as_save_IFS 3917168023feSmrg if test -z "$ac_cv_path_GREP"; then 3918168023feSmrg as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3919168023feSmrg fi 3920168023feSmrgelse 3921168023feSmrg ac_cv_path_GREP=$GREP 3922168023feSmrgfi 3923168023feSmrg 3924168023feSmrgfi 3925168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3926168023feSmrg$as_echo "$ac_cv_path_GREP" >&6; } 3927168023feSmrg GREP="$ac_cv_path_GREP" 3928168023feSmrg 3929168023feSmrg 3930168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3931168023feSmrg$as_echo_n "checking for egrep... " >&6; } 3932168023feSmrgif ${ac_cv_path_EGREP+:} false; then : 3933168023feSmrg $as_echo_n "(cached) " >&6 3934168023feSmrgelse 3935168023feSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3936168023feSmrg then ac_cv_path_EGREP="$GREP -E" 3937168023feSmrg else 3938168023feSmrg if test -z "$EGREP"; then 3939168023feSmrg ac_path_EGREP_found=false 3940168023feSmrg # Loop through the user's path and test for each of PROGNAME-LIST 3941168023feSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3942168023feSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3943168023feSmrgdo 3944168023feSmrg IFS=$as_save_IFS 3945168023feSmrg test -z "$as_dir" && as_dir=. 3946168023feSmrg for ac_prog in egrep; do 3947168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3948168023feSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3949168023feSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3950168023feSmrg# Check for GNU ac_path_EGREP and select it if it is found. 3951168023feSmrg # Check for GNU $ac_path_EGREP 3952168023feSmrgcase `"$ac_path_EGREP" --version 2>&1` in 3953168023feSmrg*GNU*) 3954168023feSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3955168023feSmrg*) 3956168023feSmrg ac_count=0 3957168023feSmrg $as_echo_n 0123456789 >"conftest.in" 3958168023feSmrg while : 3959168023feSmrg do 3960168023feSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 3961168023feSmrg mv "conftest.tmp" "conftest.in" 3962168023feSmrg cp "conftest.in" "conftest.nl" 3963168023feSmrg $as_echo 'EGREP' >> "conftest.nl" 3964168023feSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3965168023feSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3966168023feSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 3967168023feSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3968168023feSmrg # Best one so far, save it but keep looking for a better one 3969168023feSmrg ac_cv_path_EGREP="$ac_path_EGREP" 3970168023feSmrg ac_path_EGREP_max=$ac_count 3971168023feSmrg fi 3972168023feSmrg # 10*(2^10) chars as input seems more than enough 3973168023feSmrg test $ac_count -gt 10 && break 3974168023feSmrg done 3975168023feSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3976168023feSmrgesac 39776ea72052Smrg 3978168023feSmrg $ac_path_EGREP_found && break 3 3979168023feSmrg done 3980168023feSmrg done 3981168023feSmrg done 3982168023feSmrgIFS=$as_save_IFS 3983168023feSmrg if test -z "$ac_cv_path_EGREP"; then 3984168023feSmrg as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3985168023feSmrg fi 3986168023feSmrgelse 3987168023feSmrg ac_cv_path_EGREP=$EGREP 3988168023feSmrgfi 3989168023feSmrg 3990168023feSmrg fi 3991168023feSmrgfi 3992168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3993168023feSmrg$as_echo "$ac_cv_path_EGREP" >&6; } 3994168023feSmrg EGREP="$ac_cv_path_EGREP" 3995168023feSmrg 3996168023feSmrg 3997168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3998168023feSmrg$as_echo_n "checking for ANSI C header files... " >&6; } 3999168023feSmrgif ${ac_cv_header_stdc+:} false; then : 4000168023feSmrg $as_echo_n "(cached) " >&6 4001168023feSmrgelse 4002168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4003168023feSmrg/* end confdefs.h. */ 4004168023feSmrg#include <stdlib.h> 4005168023feSmrg#include <stdarg.h> 4006168023feSmrg#include <string.h> 4007168023feSmrg#include <float.h> 4008168023feSmrg 4009168023feSmrgint 4010168023feSmrgmain () 4011168023feSmrg{ 4012168023feSmrg 4013168023feSmrg ; 4014168023feSmrg return 0; 4015168023feSmrg} 4016168023feSmrg_ACEOF 4017168023feSmrgif ac_fn_c_try_compile "$LINENO"; then : 4018168023feSmrg ac_cv_header_stdc=yes 4019168023feSmrgelse 4020168023feSmrg ac_cv_header_stdc=no 4021168023feSmrgfi 4022168023feSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4023168023feSmrg 4024168023feSmrgif test $ac_cv_header_stdc = yes; then 4025168023feSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4026168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4027168023feSmrg/* end confdefs.h. */ 4028168023feSmrg#include <string.h> 4029168023feSmrg 4030168023feSmrg_ACEOF 4031168023feSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4032168023feSmrg $EGREP "memchr" >/dev/null 2>&1; then : 4033168023feSmrg 4034168023feSmrgelse 4035168023feSmrg ac_cv_header_stdc=no 4036168023feSmrgfi 4037168023feSmrgrm -f conftest* 4038168023feSmrg 4039168023feSmrgfi 4040168023feSmrg 4041168023feSmrgif test $ac_cv_header_stdc = yes; then 4042168023feSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4043168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4044168023feSmrg/* end confdefs.h. */ 4045168023feSmrg#include <stdlib.h> 4046168023feSmrg 4047168023feSmrg_ACEOF 4048168023feSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4049168023feSmrg $EGREP "free" >/dev/null 2>&1; then : 4050168023feSmrg 4051168023feSmrgelse 4052168023feSmrg ac_cv_header_stdc=no 4053168023feSmrgfi 4054168023feSmrgrm -f conftest* 4055168023feSmrg 4056168023feSmrgfi 4057168023feSmrg 4058168023feSmrgif test $ac_cv_header_stdc = yes; then 4059168023feSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4060168023feSmrg if test "$cross_compiling" = yes; then : 4061168023feSmrg : 4062168023feSmrgelse 4063168023feSmrg cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4064168023feSmrg/* end confdefs.h. */ 4065168023feSmrg#include <ctype.h> 4066168023feSmrg#include <stdlib.h> 4067168023feSmrg#if ((' ' & 0x0FF) == 0x020) 4068168023feSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4069168023feSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4070168023feSmrg#else 4071168023feSmrg# define ISLOWER(c) \ 4072168023feSmrg (('a' <= (c) && (c) <= 'i') \ 4073168023feSmrg || ('j' <= (c) && (c) <= 'r') \ 4074168023feSmrg || ('s' <= (c) && (c) <= 'z')) 4075168023feSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4076168023feSmrg#endif 4077168023feSmrg 4078168023feSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4079168023feSmrgint 4080168023feSmrgmain () 4081168023feSmrg{ 4082168023feSmrg int i; 4083168023feSmrg for (i = 0; i < 256; i++) 4084168023feSmrg if (XOR (islower (i), ISLOWER (i)) 4085168023feSmrg || toupper (i) != TOUPPER (i)) 4086168023feSmrg return 2; 4087168023feSmrg return 0; 4088168023feSmrg} 4089168023feSmrg_ACEOF 4090168023feSmrgif ac_fn_c_try_run "$LINENO"; then : 4091168023feSmrg 4092168023feSmrgelse 4093168023feSmrg ac_cv_header_stdc=no 4094168023feSmrgfi 4095168023feSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4096168023feSmrg conftest.$ac_objext conftest.beam conftest.$ac_ext 4097168023feSmrgfi 4098168023feSmrg 4099168023feSmrgfi 4100168023feSmrgfi 4101168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4102168023feSmrg$as_echo "$ac_cv_header_stdc" >&6; } 4103168023feSmrgif test $ac_cv_header_stdc = yes; then 4104168023feSmrg 4105168023feSmrg$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4106168023feSmrg 4107168023feSmrgfi 4108168023feSmrg 4109168023feSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4110168023feSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4111168023feSmrg inttypes.h stdint.h unistd.h 4112168023feSmrgdo : 4113168023feSmrg as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4114168023feSmrgac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4115168023feSmrg" 4116168023feSmrgif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4117168023feSmrg cat >>confdefs.h <<_ACEOF 4118168023feSmrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4119168023feSmrg_ACEOF 4120168023feSmrg 4121168023feSmrgfi 4122168023feSmrg 4123168023feSmrgdone 4124168023feSmrg 4125168023feSmrg 4126168023feSmrg 4127168023feSmrg 4128168023feSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4129168023feSmrg if test -n "$ac_tool_prefix"; then 4130168023feSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4131168023feSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4132168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4133168023feSmrg$as_echo_n "checking for $ac_word... " >&6; } 4134168023feSmrgif ${ac_cv_path_PKG_CONFIG+:} false; then : 4135168023feSmrg $as_echo_n "(cached) " >&6 4136168023feSmrgelse 4137168023feSmrg case $PKG_CONFIG in 4138168023feSmrg [\\/]* | ?:[\\/]*) 4139168023feSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4140168023feSmrg ;; 4141168023feSmrg *) 4142168023feSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4143168023feSmrgfor as_dir in $PATH 4144168023feSmrgdo 4145168023feSmrg IFS=$as_save_IFS 4146168023feSmrg test -z "$as_dir" && as_dir=. 4147168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4148168023feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4149168023feSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4150168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4151168023feSmrg break 2 4152168023feSmrg fi 4153168023feSmrgdone 4154168023feSmrg done 4155168023feSmrgIFS=$as_save_IFS 4156168023feSmrg 4157168023feSmrg ;; 4158168023feSmrgesac 4159168023feSmrgfi 4160168023feSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 41616ea72052Smrgif test -n "$PKG_CONFIG"; then 4162168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4163168023feSmrg$as_echo "$PKG_CONFIG" >&6; } 4164168023feSmrgelse 4165168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4166168023feSmrg$as_echo "no" >&6; } 4167168023feSmrgfi 4168168023feSmrg 4169168023feSmrg 4170168023feSmrgfi 4171168023feSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 4172168023feSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 4173168023feSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 4174168023feSmrgset dummy pkg-config; ac_word=$2 4175168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4176168023feSmrg$as_echo_n "checking for $ac_word... " >&6; } 4177168023feSmrgif ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4178168023feSmrg $as_echo_n "(cached) " >&6 4179168023feSmrgelse 4180168023feSmrg case $ac_pt_PKG_CONFIG in 4181168023feSmrg [\\/]* | ?:[\\/]*) 4182168023feSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4183168023feSmrg ;; 4184168023feSmrg *) 4185168023feSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4186168023feSmrgfor as_dir in $PATH 4187168023feSmrgdo 4188168023feSmrg IFS=$as_save_IFS 4189168023feSmrg test -z "$as_dir" && as_dir=. 4190168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4191168023feSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4192168023feSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4193168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4194168023feSmrg break 2 4195168023feSmrg fi 4196168023feSmrgdone 4197168023feSmrg done 4198168023feSmrgIFS=$as_save_IFS 4199168023feSmrg 4200168023feSmrg ;; 4201168023feSmrgesac 4202168023feSmrgfi 4203168023feSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4204168023feSmrgif test -n "$ac_pt_PKG_CONFIG"; then 4205168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4206168023feSmrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4207168023feSmrgelse 4208168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4209168023feSmrg$as_echo "no" >&6; } 4210168023feSmrgfi 4211168023feSmrg 4212168023feSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 4213168023feSmrg PKG_CONFIG="" 4214168023feSmrg else 4215168023feSmrg case $cross_compiling:$ac_tool_warned in 4216168023feSmrgyes:) 4217168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4218168023feSmrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4219168023feSmrgac_tool_warned=yes ;; 4220168023feSmrgesac 4221168023feSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 4222168023feSmrg fi 4223168023feSmrgelse 4224168023feSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4225168023feSmrgfi 4226168023feSmrg 4227168023feSmrgfi 4228168023feSmrgif test -n "$PKG_CONFIG"; then 4229168023feSmrg _pkg_min_version=0.9.0 4230168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4231168023feSmrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4232168023feSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4233168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4234168023feSmrg$as_echo "yes" >&6; } 4235168023feSmrg else 4236168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4237168023feSmrg$as_echo "no" >&6; } 4238168023feSmrg PKG_CONFIG="" 4239168023feSmrg fi 4240168023feSmrg 4241168023feSmrgfi 4242168023feSmrg# Make sure we can run config.sub. 4243168023feSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4244168023feSmrg as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4245168023feSmrg 4246168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4247168023feSmrg$as_echo_n "checking build system type... " >&6; } 4248168023feSmrgif ${ac_cv_build+:} false; then : 4249168023feSmrg $as_echo_n "(cached) " >&6 4250168023feSmrgelse 4251168023feSmrg ac_build_alias=$build_alias 4252168023feSmrgtest "x$ac_build_alias" = x && 4253168023feSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4254168023feSmrgtest "x$ac_build_alias" = x && 4255168023feSmrg as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4256168023feSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4257168023feSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4258168023feSmrg 4259168023feSmrgfi 4260168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4261168023feSmrg$as_echo "$ac_cv_build" >&6; } 4262168023feSmrgcase $ac_cv_build in 4263168023feSmrg*-*-*) ;; 4264168023feSmrg*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4265168023feSmrgesac 4266168023feSmrgbuild=$ac_cv_build 4267168023feSmrgac_save_IFS=$IFS; IFS='-' 4268168023feSmrgset x $ac_cv_build 4269168023feSmrgshift 4270168023feSmrgbuild_cpu=$1 4271168023feSmrgbuild_vendor=$2 4272168023feSmrgshift; shift 4273168023feSmrg# Remember, the first character of IFS is used to create $*, 4274168023feSmrg# except with old shells: 4275168023feSmrgbuild_os=$* 4276168023feSmrgIFS=$ac_save_IFS 4277168023feSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4278168023feSmrg 4279168023feSmrg 4280168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4281168023feSmrg$as_echo_n "checking host system type... " >&6; } 4282168023feSmrgif ${ac_cv_host+:} false; then : 4283168023feSmrg $as_echo_n "(cached) " >&6 4284168023feSmrgelse 4285168023feSmrg if test "x$host_alias" = x; then 4286168023feSmrg ac_cv_host=$ac_cv_build 4287168023feSmrgelse 4288168023feSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4289168023feSmrg as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4290168023feSmrgfi 4291168023feSmrg 4292168023feSmrgfi 4293168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4294168023feSmrg$as_echo "$ac_cv_host" >&6; } 4295168023feSmrgcase $ac_cv_host in 4296168023feSmrg*-*-*) ;; 4297168023feSmrg*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4298168023feSmrgesac 4299168023feSmrghost=$ac_cv_host 4300168023feSmrgac_save_IFS=$IFS; IFS='-' 4301168023feSmrgset x $ac_cv_host 4302168023feSmrgshift 4303168023feSmrghost_cpu=$1 4304168023feSmrghost_vendor=$2 4305168023feSmrgshift; shift 4306168023feSmrg# Remember, the first character of IFS is used to create $*, 4307168023feSmrg# except with old shells: 4308168023feSmrghost_os=$* 4309168023feSmrgIFS=$ac_save_IFS 4310168023feSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4311168023feSmrg 4312168023feSmrg 4313168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4314168023feSmrg$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4315168023feSmrgif ${ac_cv_path_SED+:} false; then : 4316168023feSmrg $as_echo_n "(cached) " >&6 4317168023feSmrgelse 4318168023feSmrg ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4319168023feSmrg for ac_i in 1 2 3 4 5 6 7; do 4320168023feSmrg ac_script="$ac_script$as_nl$ac_script" 4321168023feSmrg done 4322168023feSmrg echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4323168023feSmrg { ac_script=; unset ac_script;} 4324168023feSmrg if test -z "$SED"; then 4325168023feSmrg ac_path_SED_found=false 4326168023feSmrg # Loop through the user's path and test for each of PROGNAME-LIST 4327168023feSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4328168023feSmrgfor as_dir in $PATH 4329168023feSmrgdo 4330168023feSmrg IFS=$as_save_IFS 4331168023feSmrg test -z "$as_dir" && as_dir=. 4332168023feSmrg for ac_prog in sed gsed; do 4333168023feSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4334168023feSmrg ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4335168023feSmrg { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4336168023feSmrg# Check for GNU ac_path_SED and select it if it is found. 4337168023feSmrg # Check for GNU $ac_path_SED 4338168023feSmrgcase `"$ac_path_SED" --version 2>&1` in 4339168023feSmrg*GNU*) 4340168023feSmrg ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4341168023feSmrg*) 4342168023feSmrg ac_count=0 4343168023feSmrg $as_echo_n 0123456789 >"conftest.in" 4344168023feSmrg while : 4345168023feSmrg do 4346168023feSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4347168023feSmrg mv "conftest.tmp" "conftest.in" 4348168023feSmrg cp "conftest.in" "conftest.nl" 4349168023feSmrg $as_echo '' >> "conftest.nl" 4350168023feSmrg "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4351168023feSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4352168023feSmrg as_fn_arith $ac_count + 1 && ac_count=$as_val 4353168023feSmrg if test $ac_count -gt ${ac_path_SED_max-0}; then 4354168023feSmrg # Best one so far, save it but keep looking for a better one 4355168023feSmrg ac_cv_path_SED="$ac_path_SED" 4356168023feSmrg ac_path_SED_max=$ac_count 4357168023feSmrg fi 4358168023feSmrg # 10*(2^10) chars as input seems more than enough 4359168023feSmrg test $ac_count -gt 10 && break 4360168023feSmrg done 4361168023feSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4362168023feSmrgesac 4363168023feSmrg 4364168023feSmrg $ac_path_SED_found && break 3 4365168023feSmrg done 4366168023feSmrg done 4367168023feSmrg done 4368168023feSmrgIFS=$as_save_IFS 4369168023feSmrg if test -z "$ac_cv_path_SED"; then 4370168023feSmrg as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4371168023feSmrg fi 4372168023feSmrgelse 4373168023feSmrg ac_cv_path_SED=$SED 4374168023feSmrgfi 4375168023feSmrg 4376168023feSmrgfi 4377168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4378168023feSmrg$as_echo "$ac_cv_path_SED" >&6; } 4379168023feSmrg SED="$ac_cv_path_SED" 4380168023feSmrg rm -f conftest.sed 4381168023feSmrg 4382168023feSmrg 4383168023feSmrg 4384168023feSmrg 4385168023feSmrg 4386168023feSmrgif test "x$GCC" = xyes ; then 4387168023feSmrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4388168023feSmrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4389168023feSmrg-Wbad-function-cast -Wformat=2" 4390168023feSmrg case `$CC -dumpversion` in 4391168023feSmrg 3.4.* | 4.*) 4392168023feSmrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4393168023feSmrg ;; 4394168023feSmrg esac 4395168023feSmrgelse 4396168023feSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4397168023feSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4398168023feSmrg SUNCC="yes" 4399168023feSmrgelse 4400168023feSmrg SUNCC="no" 4401168023feSmrgfi 4402168023feSmrg 4403168023feSmrg if test "x$SUNCC" = "xyes"; then 4404168023feSmrg CWARNFLAGS="-v" 4405168023feSmrg fi 4406168023feSmrgfi 4407168023feSmrg 4408168023feSmrg 4409168023feSmrg 4410168023feSmrg# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 4411168023feSmrg 4412168023feSmrg 4413168023feSmrg 4414168023feSmrg# Check whether --enable-strict-compilation was given. 4415168023feSmrgif test "${enable_strict_compilation+set}" = set; then : 4416168023feSmrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4417168023feSmrgelse 4418168023feSmrg STRICT_COMPILE=no 4419168023feSmrgfi 4420168023feSmrg 4421168023feSmrgif test "x$STRICT_COMPILE" = "xyes"; then 4422168023feSmrg ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 4423168023feSmrgif test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then : 4424168023feSmrg SUNCC="yes" 4425168023feSmrgelse 4426168023feSmrg SUNCC="no" 4427168023feSmrgfi 4428168023feSmrg 4429168023feSmrg ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 4430168023feSmrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then : 4431168023feSmrg INTELCC="yes" 4432168023feSmrgelse 4433168023feSmrg INTELCC="no" 4434168023feSmrgfi 4435168023feSmrg 4436168023feSmrg if test "x$GCC" = xyes ; then 4437168023feSmrg STRICT_CFLAGS="-pedantic -Werror" 4438168023feSmrg elif test "x$SUNCC" = "xyes"; then 4439168023feSmrg STRICT_CFLAGS="-errwarn" 4440168023feSmrg elif test "x$INTELCC" = "xyes"; then 4441168023feSmrg STRICT_CFLAGS="-Werror" 4442168023feSmrg fi 4443168023feSmrgfi 4444168023feSmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 4445168023feSmrg 4446168023feSmrg 4447168023feSmrg 4448168023feSmrg 4449168023feSmrgcat >>confdefs.h <<_ACEOF 4450168023feSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 4451168023feSmrg_ACEOF 4452168023feSmrg 4453168023feSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 4454168023feSmrg if test "x$PVM" = "x"; then 4455168023feSmrg PVM="0" 4456168023feSmrg fi 4457168023feSmrg 4458168023feSmrgcat >>confdefs.h <<_ACEOF 4459168023feSmrg#define PACKAGE_VERSION_MINOR $PVM 4460168023feSmrg_ACEOF 4461168023feSmrg 4462168023feSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 4463168023feSmrg if test "x$PVP" = "x"; then 4464168023feSmrg PVP="0" 4465168023feSmrg fi 4466168023feSmrg 4467168023feSmrgcat >>confdefs.h <<_ACEOF 4468168023feSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 4469168023feSmrg_ACEOF 4470168023feSmrg 4471168023feSmrg 4472168023feSmrg 4473168023feSmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 4474168023feSmrgmv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 4475168023feSmrg|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 4476168023feSmrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 4477168023feSmrg 4478168023feSmrg 4479168023feSmrg 4480168023feSmrg 4481168023feSmrgmacros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 4482168023feSmrgINSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 4483168023feSmrgmv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 4484168023feSmrg|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 4485168023feSmrgecho 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 4486168023feSmrg 4487168023feSmrg 4488168023feSmrg 4489168023feSmrg 4490168023feSmrg 4491168023feSmrg 4492168023feSmrgif test x$APP_MAN_SUFFIX = x ; then 4493168023feSmrg APP_MAN_SUFFIX=1 4494168023feSmrgfi 4495168023feSmrgif test x$APP_MAN_DIR = x ; then 4496168023feSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 4497168023feSmrgfi 4498168023feSmrg 4499168023feSmrgif test x$LIB_MAN_SUFFIX = x ; then 4500168023feSmrg LIB_MAN_SUFFIX=3 4501168023feSmrgfi 4502168023feSmrgif test x$LIB_MAN_DIR = x ; then 4503168023feSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 4504168023feSmrgfi 4505168023feSmrg 4506168023feSmrgif test x$FILE_MAN_SUFFIX = x ; then 4507168023feSmrg case $host_os in 4508168023feSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 4509168023feSmrg *) FILE_MAN_SUFFIX=5 ;; 4510168023feSmrg esac 4511168023feSmrgfi 4512168023feSmrgif test x$FILE_MAN_DIR = x ; then 4513168023feSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 4514168023feSmrgfi 4515168023feSmrg 4516168023feSmrgif test x$MISC_MAN_SUFFIX = x ; then 4517168023feSmrg case $host_os in 4518168023feSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 4519168023feSmrg *) MISC_MAN_SUFFIX=7 ;; 4520168023feSmrg esac 4521168023feSmrgfi 4522168023feSmrgif test x$MISC_MAN_DIR = x ; then 4523168023feSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 4524168023feSmrgfi 4525168023feSmrg 4526168023feSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 4527168023feSmrg case $host_os in 4528168023feSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 4529168023feSmrg *) DRIVER_MAN_SUFFIX=4 ;; 4530168023feSmrg esac 4531168023feSmrgfi 4532168023feSmrgif test x$DRIVER_MAN_DIR = x ; then 4533168023feSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 4534168023feSmrgfi 4535168023feSmrg 4536168023feSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 4537168023feSmrg case $host_os in 4538168023feSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 4539168023feSmrg *) ADMIN_MAN_SUFFIX=8 ;; 4540168023feSmrg esac 4541168023feSmrgfi 4542168023feSmrgif test x$ADMIN_MAN_DIR = x ; then 4543168023feSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4544168023feSmrgfi 4545168023feSmrg 4546168023feSmrg 4547168023feSmrg 4548168023feSmrg 4549168023feSmrg 4550168023feSmrg 4551168023feSmrg 4552168023feSmrg 4553168023feSmrg 4554168023feSmrg 4555168023feSmrg 4556168023feSmrg 4557168023feSmrg 4558168023feSmrg 4559168023feSmrg 4560168023feSmrgXORG_MAN_PAGE="X Version 11" 4561168023feSmrg 4562168023feSmrgMAN_SUBSTS="\ 4563168023feSmrg -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4564168023feSmrg -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 4565168023feSmrg -e 's|__xservername__|Xorg|g' \ 4566168023feSmrg -e 's|__xconfigfile__|xorg.conf|g' \ 4567168023feSmrg -e 's|__projectroot__|\$(prefix)|g' \ 4568168023feSmrg -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 4569168023feSmrg -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 4570168023feSmrg -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 4571168023feSmrg -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 4572168023feSmrg -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 4573168023feSmrg -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 4574168023feSmrg -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 4575168023feSmrg 4576168023feSmrg 4577168023feSmrg 4578168023feSmrg# Check whether --enable-silent-rules was given. 4579168023feSmrgif test "${enable_silent_rules+set}" = set; then : 4580168023feSmrg enableval=$enable_silent_rules; 4581168023feSmrgfi 4582168023feSmrg 4583168023feSmrgcase $enable_silent_rules in 4584168023feSmrgyes) AM_DEFAULT_VERBOSITY=0;; 4585168023feSmrgno) AM_DEFAULT_VERBOSITY=1;; 4586168023feSmrg*) AM_DEFAULT_VERBOSITY=0;; 4587168023feSmrgesac 4588168023feSmrgAM_BACKSLASH='\' 4589168023feSmrg 4590168023feSmrg 4591168023feSmrg 4592168023feSmrgac_config_headers="$ac_config_headers config.h" 4593168023feSmrg 4594168023feSmrg 4595168023feSmrg# Checks for pkg-config packages 4596168023feSmrg 4597168023feSmrgpkg_failed=no 4598168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCLOCK" >&5 4599168023feSmrg$as_echo_n "checking for OCLOCK... " >&6; } 4600168023feSmrg 4601168023feSmrgif test -n "$OCLOCK_CFLAGS"; then 4602168023feSmrg pkg_cv_OCLOCK_CFLAGS="$OCLOCK_CFLAGS" 4603168023feSmrg elif test -n "$PKG_CONFIG"; then 4604168023feSmrg if test -n "$PKG_CONFIG" && \ 4605168023feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xext\""; } >&5 46066ea72052Smrg ($PKG_CONFIG --exists --print-errors "x11 xmu xext") 2>&5 46076ea72052Smrg ac_status=$? 4608168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4609168023feSmrg test $ac_status = 0; }; then 46106ea72052Smrg pkg_cv_OCLOCK_CFLAGS=`$PKG_CONFIG --cflags "x11 xmu xext" 2>/dev/null` 46116ea72052Smrgelse 46126ea72052Smrg pkg_failed=yes 46136ea72052Smrgfi 4614168023feSmrg else 4615168023feSmrg pkg_failed=untried 46166ea72052Smrgfi 4617168023feSmrgif test -n "$OCLOCK_LIBS"; then 4618168023feSmrg pkg_cv_OCLOCK_LIBS="$OCLOCK_LIBS" 4619168023feSmrg elif test -n "$PKG_CONFIG"; then 4620168023feSmrg if test -n "$PKG_CONFIG" && \ 4621168023feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xmu xext\""; } >&5 46226ea72052Smrg ($PKG_CONFIG --exists --print-errors "x11 xmu xext") 2>&5 46236ea72052Smrg ac_status=$? 4624168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4625168023feSmrg test $ac_status = 0; }; then 46266ea72052Smrg pkg_cv_OCLOCK_LIBS=`$PKG_CONFIG --libs "x11 xmu xext" 2>/dev/null` 46276ea72052Smrgelse 46286ea72052Smrg pkg_failed=yes 46296ea72052Smrgfi 4630168023feSmrg else 4631168023feSmrg pkg_failed=untried 46326ea72052Smrgfi 46336ea72052Smrg 46346ea72052Smrg 46356ea72052Smrg 46366ea72052Smrgif test $pkg_failed = yes; then 46376ea72052Smrg 46386ea72052Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 46396ea72052Smrg _pkg_short_errors_supported=yes 46406ea72052Smrgelse 46416ea72052Smrg _pkg_short_errors_supported=no 46426ea72052Smrgfi 46436ea72052Smrg if test $_pkg_short_errors_supported = yes; then 4644168023feSmrg OCLOCK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xmu xext" 2>&1` 46456ea72052Smrg else 4646168023feSmrg OCLOCK_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xmu xext" 2>&1` 46476ea72052Smrg fi 46486ea72052Smrg # Put the nasty error message in config.log where it belongs 46496ea72052Smrg echo "$OCLOCK_PKG_ERRORS" >&5 46506ea72052Smrg 4651168023feSmrg as_fn_error $? "Package requirements (x11 xmu xext) were not met: 46526ea72052Smrg 46536ea72052Smrg$OCLOCK_PKG_ERRORS 46546ea72052Smrg 46556ea72052SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 46566ea72052Smrginstalled software in a non-standard prefix. 46576ea72052Smrg 46586ea72052SmrgAlternatively, you may set the environment variables OCLOCK_CFLAGS 46596ea72052Smrgand OCLOCK_LIBS to avoid the need to call pkg-config. 46606ea72052SmrgSee the pkg-config man page for more details. 4661168023feSmrg" "$LINENO" 5 46626ea72052Smrgelif test $pkg_failed = untried; then 4663168023feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4664168023feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4665168023feSmrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 46666ea72052Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 46676ea72052Smrgpath to pkg-config. 46686ea72052Smrg 46696ea72052SmrgAlternatively, you may set the environment variables OCLOCK_CFLAGS 46706ea72052Smrgand OCLOCK_LIBS to avoid the need to call pkg-config. 46716ea72052SmrgSee the pkg-config man page for more details. 46726ea72052Smrg 4673168023feSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 4674168023feSmrgSee \`config.log' for more details" "$LINENO" 5; } 46756ea72052Smrgelse 46766ea72052Smrg OCLOCK_CFLAGS=$pkg_cv_OCLOCK_CFLAGS 46776ea72052Smrg OCLOCK_LIBS=$pkg_cv_OCLOCK_LIBS 4678168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4679168023feSmrg$as_echo "yes" >&6; } 46806ea72052Smrg : 46816ea72052Smrgfi 46826ea72052Smrg 46836ea72052Smrg 46846ea72052Smrgpkg_failed=no 4685168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5 4686168023feSmrg$as_echo_n "checking for APPDEFS... " >&6; } 4687168023feSmrg 4688168023feSmrgif test -n "$APPDEFS_CFLAGS"; then 4689168023feSmrg pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS" 4690168023feSmrg elif test -n "$PKG_CONFIG"; then 4691168023feSmrg if test -n "$PKG_CONFIG" && \ 4692168023feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5 46936ea72052Smrg ($PKG_CONFIG --exists --print-errors "xt") 2>&5 46946ea72052Smrg ac_status=$? 4695168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4696168023feSmrg test $ac_status = 0; }; then 46976ea72052Smrg pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null` 46986ea72052Smrgelse 46996ea72052Smrg pkg_failed=yes 47006ea72052Smrgfi 4701168023feSmrg else 4702168023feSmrg pkg_failed=untried 47036ea72052Smrgfi 4704168023feSmrgif test -n "$APPDEFS_LIBS"; then 4705168023feSmrg pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS" 4706168023feSmrg elif test -n "$PKG_CONFIG"; then 4707168023feSmrg if test -n "$PKG_CONFIG" && \ 4708168023feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5 47096ea72052Smrg ($PKG_CONFIG --exists --print-errors "xt") 2>&5 47106ea72052Smrg ac_status=$? 4711168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4712168023feSmrg test $ac_status = 0; }; then 47136ea72052Smrg pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null` 47146ea72052Smrgelse 47156ea72052Smrg pkg_failed=yes 47166ea72052Smrgfi 4717168023feSmrg else 4718168023feSmrg pkg_failed=untried 47196ea72052Smrgfi 47206ea72052Smrg 47216ea72052Smrg 47226ea72052Smrg 47236ea72052Smrgif test $pkg_failed = yes; then 47246ea72052Smrg 47256ea72052Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 47266ea72052Smrg _pkg_short_errors_supported=yes 47276ea72052Smrgelse 47286ea72052Smrg _pkg_short_errors_supported=no 47296ea72052Smrgfi 47306ea72052Smrg if test $_pkg_short_errors_supported = yes; then 4731168023feSmrg APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1` 47326ea72052Smrg else 4733168023feSmrg APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1` 47346ea72052Smrg fi 47356ea72052Smrg # Put the nasty error message in config.log where it belongs 47366ea72052Smrg echo "$APPDEFS_PKG_ERRORS" >&5 47376ea72052Smrg 4738168023feSmrg as_fn_error $? "Package requirements (xt) were not met: 47396ea72052Smrg 47406ea72052Smrg$APPDEFS_PKG_ERRORS 47416ea72052Smrg 47426ea72052SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 47436ea72052Smrginstalled software in a non-standard prefix. 47446ea72052Smrg 47456ea72052SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 47466ea72052Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 47476ea72052SmrgSee the pkg-config man page for more details. 4748168023feSmrg" "$LINENO" 5 47496ea72052Smrgelif test $pkg_failed = untried; then 4750168023feSmrg { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4751168023feSmrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4752168023feSmrgas_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 47536ea72052Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 47546ea72052Smrgpath to pkg-config. 47556ea72052Smrg 47566ea72052SmrgAlternatively, you may set the environment variables APPDEFS_CFLAGS 47576ea72052Smrgand APPDEFS_LIBS to avoid the need to call pkg-config. 47586ea72052SmrgSee the pkg-config man page for more details. 47596ea72052Smrg 4760168023feSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 4761168023feSmrgSee \`config.log' for more details" "$LINENO" 5; } 47626ea72052Smrgelse 47636ea72052Smrg APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS 47646ea72052Smrg APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS 4765168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4766168023feSmrg$as_echo "yes" >&6; } 47676ea72052Smrg : 47686ea72052Smrgfi 4769168023feSmrgxt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` 47706ea72052Smrg 4771168023feSmrg# Check whether --with-appdefaultdir was given. 4772168023feSmrgif test "${with_appdefaultdir+set}" = set; then : 4773168023feSmrg withval=$with_appdefaultdir; appdefaultdir="$withval" 47746ea72052Smrgelse 4775168023feSmrg appdefaultdir="${xt_appdefaultdir}" 47766ea72052Smrgfi 47776ea72052Smrg 47786ea72052Smrg 47796ea72052Smrg 47806ea72052Smrg 4781168023feSmrgac_config_files="$ac_config_files Makefile" 47826ea72052Smrg 47836ea72052Smrgcat >confcache <<\_ACEOF 47846ea72052Smrg# This file is a shell script that caches the results of configure 47856ea72052Smrg# tests run on this system so they can be shared between configure 47866ea72052Smrg# scripts and configure runs, see configure's option --config-cache. 47876ea72052Smrg# It is not useful on other systems. If it contains results you don't 47886ea72052Smrg# want to keep, you may remove or edit it. 47896ea72052Smrg# 47906ea72052Smrg# config.status only pays attention to the cache file if you give it 47916ea72052Smrg# the --recheck option to rerun configure. 47926ea72052Smrg# 47936ea72052Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 47946ea72052Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 47956ea72052Smrg# following values. 47966ea72052Smrg 47976ea72052Smrg_ACEOF 47986ea72052Smrg 47996ea72052Smrg# The following way of writing the cache mishandles newlines in values, 48006ea72052Smrg# but we know of no workaround that is simple, portable, and efficient. 4801168023feSmrg# So, we kill variables containing newlines. 48026ea72052Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 48036ea72052Smrg# and sets the high bit in the cache file unless we assign to the vars. 4804168023feSmrg( 4805168023feSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4806168023feSmrg eval ac_val=\$$ac_var 4807168023feSmrg case $ac_val in #( 4808168023feSmrg *${as_nl}*) 4809168023feSmrg case $ac_var in #( 4810168023feSmrg *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4811168023feSmrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4812168023feSmrg esac 4813168023feSmrg case $ac_var in #( 4814168023feSmrg _ | IFS | as_nl) ;; #( 4815168023feSmrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4816168023feSmrg *) { eval $ac_var=; unset $ac_var;} ;; 4817168023feSmrg esac ;; 4818168023feSmrg esac 4819168023feSmrg done 4820168023feSmrg 48216ea72052Smrg (set) 2>&1 | 4822168023feSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 4823168023feSmrg *${as_nl}ac_space=\ *) 4824168023feSmrg # `set' does not quote correctly, so add quotes: double-quote 4825168023feSmrg # substitution turns \\\\ into \\, and sed turns \\ into \. 48266ea72052Smrg sed -n \ 48276ea72052Smrg "s/'/'\\\\''/g; 48286ea72052Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4829168023feSmrg ;; #( 48306ea72052Smrg *) 48316ea72052Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 4832168023feSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 48336ea72052Smrg ;; 4834168023feSmrg esac | 4835168023feSmrg sort 4836168023feSmrg) | 48376ea72052Smrg sed ' 4838168023feSmrg /^ac_cv_env_/b end 48396ea72052Smrg t clear 4840168023feSmrg :clear 48416ea72052Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 48426ea72052Smrg t end 4843168023feSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4844168023feSmrg :end' >>confcache 4845168023feSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4846168023feSmrg if test -w "$cache_file"; then 4847168023feSmrg if test "x$cache_file" != "x/dev/null"; then 4848168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4849168023feSmrg$as_echo "$as_me: updating cache $cache_file" >&6;} 4850168023feSmrg if test ! -f "$cache_file" || test -h "$cache_file"; then 4851168023feSmrg cat confcache >"$cache_file" 4852168023feSmrg else 4853168023feSmrg case $cache_file in #( 4854168023feSmrg */* | ?:*) 4855168023feSmrg mv -f confcache "$cache_file"$$ && 4856168023feSmrg mv -f "$cache_file"$$ "$cache_file" ;; #( 4857168023feSmrg *) 4858168023feSmrg mv -f confcache "$cache_file" ;; 4859168023feSmrg esac 4860168023feSmrg fi 4861168023feSmrg fi 48626ea72052Smrg else 4863168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4864168023feSmrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 48656ea72052Smrg fi 48666ea72052Smrgfi 48676ea72052Smrgrm -f confcache 48686ea72052Smrg 48696ea72052Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 48706ea72052Smrg# Let make expand exec_prefix. 48716ea72052Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 48726ea72052Smrg 48736ea72052SmrgDEFS=-DHAVE_CONFIG_H 48746ea72052Smrg 48756ea72052Smrgac_libobjs= 48766ea72052Smrgac_ltlibobjs= 4877168023feSmrgU= 48786ea72052Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 48796ea72052Smrg # 1. Remove the extension, and $U if already installed. 4880168023feSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4881168023feSmrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4882168023feSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4883168023feSmrg # will be set to the directory where LIBOBJS objects are built. 4884168023feSmrg as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4885168023feSmrg as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 48866ea72052Smrgdone 48876ea72052SmrgLIBOBJS=$ac_libobjs 48886ea72052Smrg 48896ea72052SmrgLTLIBOBJS=$ac_ltlibobjs 48906ea72052Smrg 48916ea72052Smrg 4892168023feSmrg if test -n "$EXEEXT"; then 4893168023feSmrg am__EXEEXT_TRUE= 4894168023feSmrg am__EXEEXT_FALSE='#' 4895168023feSmrgelse 4896168023feSmrg am__EXEEXT_TRUE='#' 4897168023feSmrg am__EXEEXT_FALSE= 4898168023feSmrgfi 4899168023feSmrg 49006ea72052Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 4901168023feSmrg as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 4902168023feSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 49036ea72052Smrgfi 49046ea72052Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4905168023feSmrg as_fn_error $? "conditional \"AMDEP\" was never defined. 4906168023feSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 49076ea72052Smrgfi 49086ea72052Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4909168023feSmrg as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 4910168023feSmrgUsually this means the macro was only invoked conditionally." "$LINENO" 5 49116ea72052Smrgfi 49126ea72052Smrg 4913168023feSmrg: "${CONFIG_STATUS=./config.status}" 4914168023feSmrgac_write_fail=0 49156ea72052Smrgac_clean_files_save=$ac_clean_files 49166ea72052Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 4917168023feSmrg{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4918168023feSmrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4919168023feSmrgas_write_fail=0 4920168023feSmrgcat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 49216ea72052Smrg#! $SHELL 49226ea72052Smrg# Generated by $as_me. 49236ea72052Smrg# Run this file to recreate the current configuration. 49246ea72052Smrg# Compiler output produced by configure, useful for debugging 49256ea72052Smrg# configure, is in config.log if it exists. 49266ea72052Smrg 49276ea72052Smrgdebug=false 49286ea72052Smrgac_cs_recheck=false 49296ea72052Smrgac_cs_silent=false 49306ea72052Smrg 4931168023feSmrgSHELL=\${CONFIG_SHELL-$SHELL} 4932168023feSmrgexport SHELL 4933168023feSmrg_ASEOF 4934168023feSmrgcat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4935168023feSmrg## -------------------- ## 4936168023feSmrg## M4sh Initialization. ## 4937168023feSmrg## -------------------- ## 4938168023feSmrg 4939168023feSmrg# Be more Bourne compatible 4940168023feSmrgDUALCASE=1; export DUALCASE # for MKS sh 4941168023feSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 49426ea72052Smrg emulate sh 49436ea72052Smrg NULLCMD=: 4944168023feSmrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 49456ea72052Smrg # is contrary to our usage. Disable this feature. 49466ea72052Smrg alias -g '${1+"$@"}'='"$@"' 4947168023feSmrg setopt NO_GLOB_SUBST 4948168023feSmrgelse 4949168023feSmrg case `(set -o) 2>/dev/null` in #( 4950168023feSmrg *posix*) : 4951168023feSmrg set -o posix ;; #( 4952168023feSmrg *) : 4953168023feSmrg ;; 4954168023feSmrgesac 49556ea72052Smrgfi 49566ea72052Smrg 4957168023feSmrg 4958168023feSmrgas_nl=' 4959168023feSmrg' 4960168023feSmrgexport as_nl 4961168023feSmrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 4962168023feSmrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4963168023feSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4964168023feSmrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4965168023feSmrg# Prefer a ksh shell builtin over an external printf program on Solaris, 4966168023feSmrg# but without wasting forks for bash or zsh. 4967168023feSmrgif test -z "$BASH_VERSION$ZSH_VERSION" \ 4968168023feSmrg && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4969168023feSmrg as_echo='print -r --' 4970168023feSmrg as_echo_n='print -rn --' 4971168023feSmrgelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4972168023feSmrg as_echo='printf %s\n' 4973168023feSmrg as_echo_n='printf %s' 49746ea72052Smrgelse 4975168023feSmrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4976168023feSmrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4977168023feSmrg as_echo_n='/usr/ucb/echo -n' 4978168023feSmrg else 4979168023feSmrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4980168023feSmrg as_echo_n_body='eval 4981168023feSmrg arg=$1; 4982168023feSmrg case $arg in #( 4983168023feSmrg *"$as_nl"*) 4984168023feSmrg expr "X$arg" : "X\\(.*\\)$as_nl"; 4985168023feSmrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4986168023feSmrg esac; 4987168023feSmrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4988168023feSmrg ' 4989168023feSmrg export as_echo_n_body 4990168023feSmrg as_echo_n='sh -c $as_echo_n_body as_echo' 4991168023feSmrg fi 4992168023feSmrg export as_echo_body 4993168023feSmrg as_echo='sh -c $as_echo_body as_echo' 4994168023feSmrgfi 4995168023feSmrg 4996168023feSmrg# The user is always right. 4997168023feSmrgif test "${PATH_SEPARATOR+set}" != set; then 4998168023feSmrg PATH_SEPARATOR=: 4999168023feSmrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5000168023feSmrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5001168023feSmrg PATH_SEPARATOR=';' 5002168023feSmrg } 50036ea72052Smrgfi 50046ea72052Smrg 50056ea72052Smrg 5006168023feSmrg# IFS 5007168023feSmrg# We need space, tab and new line, in precisely that order. Quoting is 5008168023feSmrg# there to prevent editors from complaining about space-tab. 5009168023feSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5010168023feSmrg# splitting by setting IFS to empty value.) 5011168023feSmrgIFS=" "" $as_nl" 5012168023feSmrg 5013168023feSmrg# Find who we are. Look in the path if we contain no directory separator. 5014168023feSmrgas_myself= 5015168023feSmrgcase $0 in #(( 5016168023feSmrg *[\\/]* ) as_myself=$0 ;; 5017168023feSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5018168023feSmrgfor as_dir in $PATH 5019168023feSmrgdo 5020168023feSmrg IFS=$as_save_IFS 5021168023feSmrg test -z "$as_dir" && as_dir=. 5022168023feSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5023168023feSmrg done 5024168023feSmrgIFS=$as_save_IFS 5025168023feSmrg 5026168023feSmrg ;; 5027168023feSmrgesac 5028168023feSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 5029168023feSmrg# in which case we are not to be found in the path. 5030168023feSmrgif test "x$as_myself" = x; then 5031168023feSmrg as_myself=$0 5032168023feSmrgfi 5033168023feSmrgif test ! -f "$as_myself"; then 5034168023feSmrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5035168023feSmrg exit 1 5036168023feSmrgfi 5037168023feSmrg 5038168023feSmrg# Unset variables that we do not need and which cause bugs (e.g. in 5039168023feSmrg# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5040168023feSmrg# suppresses any "Segmentation fault" message there. '((' could 5041168023feSmrg# trigger a bug in pdksh 5.2.14. 5042168023feSmrgfor as_var in BASH_ENV ENV MAIL MAILPATH 5043168023feSmrgdo eval test x\${$as_var+set} = xset \ 5044168023feSmrg && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5045168023feSmrgdone 50466ea72052SmrgPS1='$ ' 50476ea72052SmrgPS2='> ' 50486ea72052SmrgPS4='+ ' 50496ea72052Smrg 50506ea72052Smrg# NLS nuisances. 5051168023feSmrgLC_ALL=C 5052168023feSmrgexport LC_ALL 5053168023feSmrgLANGUAGE=C 5054168023feSmrgexport LANGUAGE 5055168023feSmrg 5056168023feSmrg# CDPATH. 5057168023feSmrg(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5058168023feSmrg 5059168023feSmrg 5060168023feSmrg# as_fn_error STATUS ERROR [LINENO LOG_FD] 5061168023feSmrg# ---------------------------------------- 5062168023feSmrg# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5063168023feSmrg# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5064168023feSmrg# script with STATUS, using 1 if that was 0. 5065168023feSmrgas_fn_error () 5066168023feSmrg{ 5067168023feSmrg as_status=$1; test $as_status -eq 0 && as_status=1 5068168023feSmrg if test "$4"; then 5069168023feSmrg as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5070168023feSmrg $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 50716ea72052Smrg fi 5072168023feSmrg $as_echo "$as_me: error: $2" >&2 5073168023feSmrg as_fn_exit $as_status 5074168023feSmrg} # as_fn_error 5075168023feSmrg 5076168023feSmrg 5077168023feSmrg# as_fn_set_status STATUS 5078168023feSmrg# ----------------------- 5079168023feSmrg# Set $? to STATUS, without forking. 5080168023feSmrgas_fn_set_status () 5081168023feSmrg{ 5082168023feSmrg return $1 5083168023feSmrg} # as_fn_set_status 5084168023feSmrg 5085168023feSmrg# as_fn_exit STATUS 5086168023feSmrg# ----------------- 5087168023feSmrg# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5088168023feSmrgas_fn_exit () 5089168023feSmrg{ 5090168023feSmrg set +e 5091168023feSmrg as_fn_set_status $1 5092168023feSmrg exit $1 5093168023feSmrg} # as_fn_exit 5094168023feSmrg 5095168023feSmrg# as_fn_unset VAR 5096168023feSmrg# --------------- 5097168023feSmrg# Portably unset VAR. 5098168023feSmrgas_fn_unset () 5099168023feSmrg{ 5100168023feSmrg { eval $1=; unset $1;} 5101168023feSmrg} 5102168023feSmrgas_unset=as_fn_unset 5103168023feSmrg# as_fn_append VAR VALUE 5104168023feSmrg# ---------------------- 5105168023feSmrg# Append the text in VALUE to the end of the definition contained in VAR. Take 5106168023feSmrg# advantage of any shell optimizations that allow amortized linear growth over 5107168023feSmrg# repeated appends, instead of the typical quadratic growth present in naive 5108168023feSmrg# implementations. 5109168023feSmrgif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5110168023feSmrg eval 'as_fn_append () 5111168023feSmrg { 5112168023feSmrg eval $1+=\$2 5113168023feSmrg }' 5114168023feSmrgelse 5115168023feSmrg as_fn_append () 5116168023feSmrg { 5117168023feSmrg eval $1=\$$1\$2 5118168023feSmrg } 5119168023feSmrgfi # as_fn_append 5120168023feSmrg 5121168023feSmrg# as_fn_arith ARG... 5122168023feSmrg# ------------------ 5123168023feSmrg# Perform arithmetic evaluation on the ARGs, and store the result in the 5124168023feSmrg# global $as_val. Take advantage of shells that can avoid forks. The arguments 5125168023feSmrg# must be portable across $(()) and expr. 5126168023feSmrgif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5127168023feSmrg eval 'as_fn_arith () 5128168023feSmrg { 5129168023feSmrg as_val=$(( $* )) 5130168023feSmrg }' 5131168023feSmrgelse 5132168023feSmrg as_fn_arith () 5133168023feSmrg { 5134168023feSmrg as_val=`expr "$@" || test $? -eq 1` 5135168023feSmrg } 5136168023feSmrgfi # as_fn_arith 5137168023feSmrg 51386ea72052Smrg 5139168023feSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 5140168023feSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 51416ea72052Smrg as_expr=expr 51426ea72052Smrgelse 51436ea72052Smrg as_expr=false 51446ea72052Smrgfi 51456ea72052Smrg 5146168023feSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 51476ea72052Smrg as_basename=basename 51486ea72052Smrgelse 51496ea72052Smrg as_basename=false 51506ea72052Smrgfi 51516ea72052Smrg 5152168023feSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5153168023feSmrg as_dirname=dirname 5154168023feSmrgelse 5155168023feSmrg as_dirname=false 5156168023feSmrgfi 51576ea72052Smrg 5158168023feSmrgas_me=`$as_basename -- "$0" || 51596ea72052Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 51606ea72052Smrg X"$0" : 'X\(//\)$' \| \ 5161168023feSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 5162168023feSmrg$as_echo X/"$0" | 5163168023feSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 5164168023feSmrg s//\1/ 5165168023feSmrg q 5166168023feSmrg } 5167168023feSmrg /^X\/\(\/\/\)$/{ 5168168023feSmrg s//\1/ 5169168023feSmrg q 5170168023feSmrg } 5171168023feSmrg /^X\/\(\/\).*/{ 5172168023feSmrg s//\1/ 5173168023feSmrg q 5174168023feSmrg } 5175168023feSmrg s/.*/./; q'` 51766ea72052Smrg 51776ea72052Smrg# Avoid depending upon Character Ranges. 51786ea72052Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 51796ea72052Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 51806ea72052Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 51816ea72052Smrgas_cr_digits='0123456789' 51826ea72052Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 51836ea72052Smrg 5184168023feSmrgECHO_C= ECHO_N= ECHO_T= 5185168023feSmrgcase `echo -n x` in #((((( 5186168023feSmrg-n*) 5187168023feSmrg case `echo 'xy\c'` in 5188168023feSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5189168023feSmrg xy) ECHO_C='\c';; 5190168023feSmrg *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5191168023feSmrg ECHO_T=' ';; 5192168023feSmrg esac;; 5193168023feSmrg*) 5194168023feSmrg ECHO_N='-n';; 51956ea72052Smrgesac 51966ea72052Smrg 5197168023feSmrgrm -f conf$$ conf$$.exe conf$$.file 5198168023feSmrgif test -d conf$$.dir; then 5199168023feSmrg rm -f conf$$.dir/conf$$.file 52006ea72052Smrgelse 5201168023feSmrg rm -f conf$$.dir 5202168023feSmrg mkdir conf$$.dir 2>/dev/null 52036ea72052Smrgfi 5204168023feSmrgif (echo >conf$$.file) 2>/dev/null; then 5205168023feSmrg if ln -s conf$$.file conf$$ 2>/dev/null; then 52066ea72052Smrg as_ln_s='ln -s' 5207168023feSmrg # ... but there are two gotchas: 5208168023feSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5209168023feSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5210168023feSmrg # In both cases, we have to default to `cp -p'. 5211168023feSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5212168023feSmrg as_ln_s='cp -p' 5213168023feSmrg elif ln conf$$.file conf$$ 2>/dev/null; then 5214168023feSmrg as_ln_s=ln 5215168023feSmrg else 5216168023feSmrg as_ln_s='cp -p' 52176ea72052Smrg fi 52186ea72052Smrgelse 52196ea72052Smrg as_ln_s='cp -p' 52206ea72052Smrgfi 5221168023feSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5222168023feSmrgrmdir conf$$.dir 2>/dev/null 5223168023feSmrg 5224168023feSmrg 5225168023feSmrg# as_fn_mkdir_p 5226168023feSmrg# ------------- 5227168023feSmrg# Create "$as_dir" as a directory, including parents if necessary. 5228168023feSmrgas_fn_mkdir_p () 5229168023feSmrg{ 5230168023feSmrg 5231168023feSmrg case $as_dir in #( 5232168023feSmrg -*) as_dir=./$as_dir;; 5233168023feSmrg esac 5234168023feSmrg test -d "$as_dir" || eval $as_mkdir_p || { 5235168023feSmrg as_dirs= 5236168023feSmrg while :; do 5237168023feSmrg case $as_dir in #( 5238168023feSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5239168023feSmrg *) as_qdir=$as_dir;; 5240168023feSmrg esac 5241168023feSmrg as_dirs="'$as_qdir' $as_dirs" 5242168023feSmrg as_dir=`$as_dirname -- "$as_dir" || 5243168023feSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5244168023feSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 5245168023feSmrg X"$as_dir" : 'X\(//\)$' \| \ 5246168023feSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5247168023feSmrg$as_echo X"$as_dir" | 5248168023feSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5249168023feSmrg s//\1/ 5250168023feSmrg q 5251168023feSmrg } 5252168023feSmrg /^X\(\/\/\)[^/].*/{ 5253168023feSmrg s//\1/ 5254168023feSmrg q 5255168023feSmrg } 5256168023feSmrg /^X\(\/\/\)$/{ 5257168023feSmrg s//\1/ 5258168023feSmrg q 5259168023feSmrg } 5260168023feSmrg /^X\(\/\).*/{ 5261168023feSmrg s//\1/ 5262168023feSmrg q 5263168023feSmrg } 5264168023feSmrg s/.*/./; q'` 5265168023feSmrg test -d "$as_dir" && break 5266168023feSmrg done 5267168023feSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 5268168023feSmrg } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5269168023feSmrg 52706ea72052Smrg 5271168023feSmrg} # as_fn_mkdir_p 52726ea72052Smrgif mkdir -p . 2>/dev/null; then 5273168023feSmrg as_mkdir_p='mkdir -p "$as_dir"' 52746ea72052Smrgelse 52756ea72052Smrg test -d ./-p && rmdir ./-p 52766ea72052Smrg as_mkdir_p=false 52776ea72052Smrgfi 52786ea72052Smrg 5279168023feSmrgif test -x / >/dev/null 2>&1; then 5280168023feSmrg as_test_x='test -x' 5281168023feSmrgelse 5282168023feSmrg if ls -dL / >/dev/null 2>&1; then 5283168023feSmrg as_ls_L_option=L 5284168023feSmrg else 5285168023feSmrg as_ls_L_option= 5286168023feSmrg fi 5287168023feSmrg as_test_x=' 5288168023feSmrg eval sh -c '\'' 5289168023feSmrg if test -d "$1"; then 5290168023feSmrg test -d "$1/."; 5291168023feSmrg else 5292168023feSmrg case $1 in #( 5293168023feSmrg -*)set "./$1";; 5294168023feSmrg esac; 5295168023feSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 5296168023feSmrg ???[sx]*):;;*)false;;esac;fi 5297168023feSmrg '\'' sh 5298168023feSmrg ' 5299168023feSmrgfi 5300168023feSmrgas_executable_p=$as_test_x 53016ea72052Smrg 53026ea72052Smrg# Sed expression to map a string onto a valid CPP name. 53036ea72052Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 53046ea72052Smrg 53056ea72052Smrg# Sed expression to map a string onto a valid variable name. 53066ea72052Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 53076ea72052Smrg 53086ea72052Smrg 53096ea72052Smrgexec 6>&1 5310168023feSmrg## ----------------------------------- ## 5311168023feSmrg## Main body of $CONFIG_STATUS script. ## 5312168023feSmrg## ----------------------------------- ## 5313168023feSmrg_ASEOF 5314168023feSmrgtest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5315168023feSmrg 5316168023feSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5317168023feSmrg# Save the log message, to keep $0 and so on meaningful, and to 53186ea72052Smrg# report actual input values of CONFIG_FILES etc. instead of their 5319168023feSmrg# values after options handling. 5320168023feSmrgac_log=" 5321168023feSmrgThis file was extended by oclock $as_me 1.0.2, which was 5322168023feSmrggenerated by GNU Autoconf 2.68. Invocation command line was 53236ea72052Smrg 53246ea72052Smrg CONFIG_FILES = $CONFIG_FILES 53256ea72052Smrg CONFIG_HEADERS = $CONFIG_HEADERS 53266ea72052Smrg CONFIG_LINKS = $CONFIG_LINKS 53276ea72052Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 53286ea72052Smrg $ $0 $@ 53296ea72052Smrg 5330168023feSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 5331168023feSmrg" 5332168023feSmrg 53336ea72052Smrg_ACEOF 53346ea72052Smrg 5335168023feSmrgcase $ac_config_files in *" 5336168023feSmrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 5337168023feSmrgesac 53386ea72052Smrg 5339168023feSmrgcase $ac_config_headers in *" 5340168023feSmrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 5341168023feSmrgesac 53426ea72052Smrg 53436ea72052Smrg 5344168023feSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5345168023feSmrg# Files that config.status was made for. 5346168023feSmrgconfig_files="$ac_config_files" 5347168023feSmrgconfig_headers="$ac_config_headers" 5348168023feSmrgconfig_commands="$ac_config_commands" 53496ea72052Smrg 5350168023feSmrg_ACEOF 53516ea72052Smrg 5352168023feSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53536ea72052Smrgac_cs_usage="\ 5354168023feSmrg\`$as_me' instantiates files and other configuration actions 5355168023feSmrgfrom templates according to the current configuration. Unless the files 5356168023feSmrgand actions are specified as TAGs, all are instantiated by default. 53576ea72052Smrg 5358168023feSmrgUsage: $0 [OPTION]... [TAG]... 53596ea72052Smrg 53606ea72052Smrg -h, --help print this help, then exit 5361168023feSmrg -V, --version print version number and configuration settings, then exit 5362168023feSmrg --config print configuration, then exit 5363168023feSmrg -q, --quiet, --silent 5364168023feSmrg do not print progress messages 53656ea72052Smrg -d, --debug don't remove temporary files 53666ea72052Smrg --recheck update $as_me by reconfiguring in the same conditions 5367168023feSmrg --file=FILE[:TEMPLATE] 5368168023feSmrg instantiate the configuration file FILE 5369168023feSmrg --header=FILE[:TEMPLATE] 5370168023feSmrg instantiate the configuration header FILE 53716ea72052Smrg 53726ea72052SmrgConfiguration files: 53736ea72052Smrg$config_files 53746ea72052Smrg 53756ea72052SmrgConfiguration headers: 53766ea72052Smrg$config_headers 53776ea72052Smrg 53786ea72052SmrgConfiguration commands: 53796ea72052Smrg$config_commands 53806ea72052Smrg 5381168023feSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 53826ea72052Smrg 5383168023feSmrg_ACEOF 5384168023feSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5385168023feSmrgac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 53866ea72052Smrgac_cs_version="\\ 5387168023feSmrgoclock config.status 1.0.2 5388168023feSmrgconfigured by $0, generated by GNU Autoconf 2.68, 5389168023feSmrg with options \\"\$ac_cs_config\\" 53906ea72052Smrg 5391168023feSmrgCopyright (C) 2010 Free Software Foundation, Inc. 53926ea72052SmrgThis config.status script is free software; the Free Software Foundation 53936ea72052Smrggives unlimited permission to copy, distribute and modify it." 5394168023feSmrg 5395168023feSmrgac_pwd='$ac_pwd' 5396168023feSmrgsrcdir='$srcdir' 5397168023feSmrgINSTALL='$INSTALL' 5398168023feSmrgMKDIR_P='$MKDIR_P' 5399168023feSmrgAWK='$AWK' 5400168023feSmrgtest -n "\$AWK" || AWK=awk 54016ea72052Smrg_ACEOF 54026ea72052Smrg 5403168023feSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5404168023feSmrg# The default lists apply if the user does not specify any file. 54056ea72052Smrgac_need_defaults=: 54066ea72052Smrgwhile test $# != 0 54076ea72052Smrgdo 54086ea72052Smrg case $1 in 5409168023feSmrg --*=?*) 5410168023feSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5411168023feSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5412168023feSmrg ac_shift=: 5413168023feSmrg ;; 5414168023feSmrg --*=) 5415168023feSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5416168023feSmrg ac_optarg= 54176ea72052Smrg ac_shift=: 54186ea72052Smrg ;; 5419168023feSmrg *) 54206ea72052Smrg ac_option=$1 54216ea72052Smrg ac_optarg=$2 54226ea72052Smrg ac_shift=shift 54236ea72052Smrg ;; 54246ea72052Smrg esac 54256ea72052Smrg 54266ea72052Smrg case $ac_option in 54276ea72052Smrg # Handling of the options. 54286ea72052Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 54296ea72052Smrg ac_cs_recheck=: ;; 5430168023feSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5431168023feSmrg $as_echo "$ac_cs_version"; exit ;; 5432168023feSmrg --config | --confi | --conf | --con | --co | --c ) 5433168023feSmrg $as_echo "$ac_cs_config"; exit ;; 5434168023feSmrg --debug | --debu | --deb | --de | --d | -d ) 54356ea72052Smrg debug=: ;; 54366ea72052Smrg --file | --fil | --fi | --f ) 54376ea72052Smrg $ac_shift 5438168023feSmrg case $ac_optarg in 5439168023feSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5440168023feSmrg '') as_fn_error $? "missing file argument" ;; 5441168023feSmrg esac 5442168023feSmrg as_fn_append CONFIG_FILES " '$ac_optarg'" 54436ea72052Smrg ac_need_defaults=false;; 54446ea72052Smrg --header | --heade | --head | --hea ) 54456ea72052Smrg $ac_shift 5446168023feSmrg case $ac_optarg in 5447168023feSmrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5448168023feSmrg esac 5449168023feSmrg as_fn_append CONFIG_HEADERS " '$ac_optarg'" 54506ea72052Smrg ac_need_defaults=false;; 5451168023feSmrg --he | --h) 5452168023feSmrg # Conflict between --help and --header 5453168023feSmrg as_fn_error $? "ambiguous option: \`$1' 5454168023feSmrgTry \`$0 --help' for more information.";; 5455168023feSmrg --help | --hel | -h ) 5456168023feSmrg $as_echo "$ac_cs_usage"; exit ;; 54576ea72052Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 54586ea72052Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 54596ea72052Smrg ac_cs_silent=: ;; 54606ea72052Smrg 54616ea72052Smrg # This is an error. 5462168023feSmrg -*) as_fn_error $? "unrecognized option: \`$1' 5463168023feSmrgTry \`$0 --help' for more information." ;; 54646ea72052Smrg 5465168023feSmrg *) as_fn_append ac_config_targets " $1" 5466168023feSmrg ac_need_defaults=false ;; 54676ea72052Smrg 54686ea72052Smrg esac 54696ea72052Smrg shift 54706ea72052Smrgdone 54716ea72052Smrg 54726ea72052Smrgac_configure_extra_args= 54736ea72052Smrg 54746ea72052Smrgif $ac_cs_silent; then 54756ea72052Smrg exec 6>/dev/null 54766ea72052Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 54776ea72052Smrgfi 54786ea72052Smrg 54796ea72052Smrg_ACEOF 5480168023feSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 54816ea72052Smrgif \$ac_cs_recheck; then 5482168023feSmrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5483168023feSmrg shift 5484168023feSmrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5485168023feSmrg CONFIG_SHELL='$SHELL' 5486168023feSmrg export CONFIG_SHELL 5487168023feSmrg exec "\$@" 54886ea72052Smrgfi 54896ea72052Smrg 54906ea72052Smrg_ACEOF 5491168023feSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5492168023feSmrgexec 5>>config.log 5493168023feSmrg{ 5494168023feSmrg echo 5495168023feSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5496168023feSmrg## Running $as_me. ## 5497168023feSmrg_ASBOX 5498168023feSmrg $as_echo "$ac_log" 5499168023feSmrg} >&5 55006ea72052Smrg 5501168023feSmrg_ACEOF 5502168023feSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 55036ea72052Smrg# 5504168023feSmrg# INIT-COMMANDS 55056ea72052Smrg# 55066ea72052SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 55076ea72052Smrg 55086ea72052Smrg_ACEOF 55096ea72052Smrg 5510168023feSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 55116ea72052Smrg 5512168023feSmrg# Handling of arguments. 55136ea72052Smrgfor ac_config_target in $ac_config_targets 55146ea72052Smrgdo 5515168023feSmrg case $ac_config_target in 5516168023feSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5517168023feSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5518168023feSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5519168023feSmrg 5520168023feSmrg *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 55216ea72052Smrg esac 55226ea72052Smrgdone 55236ea72052Smrg 5524168023feSmrg 55256ea72052Smrg# If the user did not use the arguments to specify the items to instantiate, 55266ea72052Smrg# then the envvar interface is used. Set only those that are not. 55276ea72052Smrg# We use the long form for the default assignment because of an extremely 55286ea72052Smrg# bizarre bug on SunOS 4.1.3. 55296ea72052Smrgif $ac_need_defaults; then 55306ea72052Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 55316ea72052Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 55326ea72052Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 55336ea72052Smrgfi 55346ea72052Smrg 55356ea72052Smrg# Have a temporary directory for convenience. Make it in the build tree 5536168023feSmrg# simply because there is no reason against having it here, and in addition, 55376ea72052Smrg# creating and moving files from /tmp can sometimes cause problems. 5538168023feSmrg# Hook for its removal unless debugging. 5539168023feSmrg# Note that there is a small window in which the directory will not be cleaned: 5540168023feSmrg# after its creation but before its name has been assigned to `$tmp'. 55416ea72052Smrg$debug || 55426ea72052Smrg{ 5543168023feSmrg tmp= ac_tmp= 5544168023feSmrg trap 'exit_status=$? 5545168023feSmrg : "${ac_tmp:=$tmp}" 5546168023feSmrg { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5547168023feSmrg' 0 5548168023feSmrg trap 'as_fn_exit 1' 1 2 13 15 55496ea72052Smrg} 55506ea72052Smrg# Create a (secure) tmp directory for tmp files. 55516ea72052Smrg 55526ea72052Smrg{ 5553168023feSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5554168023feSmrg test -d "$tmp" 55556ea72052Smrg} || 55566ea72052Smrg{ 5557168023feSmrg tmp=./conf$$-$RANDOM 5558168023feSmrg (umask 077 && mkdir "$tmp") 5559168023feSmrg} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5560168023feSmrgac_tmp=$tmp 5561168023feSmrg 5562168023feSmrg# Set up the scripts for CONFIG_FILES section. 5563168023feSmrg# No need to generate them if there are no CONFIG_FILES. 5564168023feSmrg# This happens for instance with `./config.status config.h'. 5565168023feSmrgif test -n "$CONFIG_FILES"; then 5566168023feSmrg 5567168023feSmrg 5568168023feSmrgac_cr=`echo X | tr X '\015'` 5569168023feSmrg# On cygwin, bash can eat \r inside `` if the user requested igncr. 5570168023feSmrg# But we know of no other shell where ac_cr would be empty at this 5571168023feSmrg# point, so we can use a bashism as a fallback. 5572168023feSmrgif test "x$ac_cr" = x; then 5573168023feSmrg eval ac_cr=\$\'\\r\' 5574168023feSmrgfi 5575168023feSmrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5576168023feSmrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5577168023feSmrg ac_cs_awk_cr='\\r' 5578168023feSmrgelse 5579168023feSmrg ac_cs_awk_cr=$ac_cr 5580168023feSmrgfi 5581168023feSmrg 5582168023feSmrgecho 'BEGIN {' >"$ac_tmp/subs1.awk" && 5583168023feSmrg_ACEOF 5584168023feSmrg 5585168023feSmrg 5586168023feSmrg{ 5587168023feSmrg echo "cat >conf$$subs.awk <<_ACEOF" && 5588168023feSmrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5589168023feSmrg echo "_ACEOF" 5590168023feSmrg} >conf$$subs.sh || 5591168023feSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5592168023feSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5593168023feSmrgac_delim='%!_!# ' 5594168023feSmrgfor ac_last_try in false false false false false :; do 5595168023feSmrg . ./conf$$subs.sh || 5596168023feSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5597168023feSmrg 5598168023feSmrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5599168023feSmrg if test $ac_delim_n = $ac_delim_num; then 5600168023feSmrg break 5601168023feSmrg elif $ac_last_try; then 5602168023feSmrg as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5603168023feSmrg else 5604168023feSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5605168023feSmrg fi 5606168023feSmrgdone 5607168023feSmrgrm -f conf$$subs.sh 5608168023feSmrg 5609168023feSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5610168023feSmrgcat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5611168023feSmrg_ACEOF 5612168023feSmrgsed -n ' 5613168023feSmrgh 5614168023feSmrgs/^/S["/; s/!.*/"]=/ 5615168023feSmrgp 5616168023feSmrgg 5617168023feSmrgs/^[^!]*!// 5618168023feSmrg:repl 5619168023feSmrgt repl 5620168023feSmrgs/'"$ac_delim"'$// 5621168023feSmrgt delim 5622168023feSmrg:nl 5623168023feSmrgh 5624168023feSmrgs/\(.\{148\}\)..*/\1/ 5625168023feSmrgt more1 5626168023feSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5627168023feSmrgp 5628168023feSmrgn 5629168023feSmrgb repl 5630168023feSmrg:more1 5631168023feSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5632168023feSmrgp 5633168023feSmrgg 5634168023feSmrgs/.\{148\}// 5635168023feSmrgt nl 5636168023feSmrg:delim 5637168023feSmrgh 5638168023feSmrgs/\(.\{148\}\)..*/\1/ 5639168023feSmrgt more2 5640168023feSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 5641168023feSmrgp 5642168023feSmrgb 5643168023feSmrg:more2 5644168023feSmrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5645168023feSmrgp 5646168023feSmrgg 5647168023feSmrgs/.\{148\}// 5648168023feSmrgt delim 5649168023feSmrg' <conf$$subs.awk | sed ' 5650168023feSmrg/^[^""]/{ 5651168023feSmrg N 5652168023feSmrg s/\n// 5653168023feSmrg} 5654168023feSmrg' >>$CONFIG_STATUS || ac_write_fail=1 5655168023feSmrgrm -f conf$$subs.awk 5656168023feSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5657168023feSmrg_ACAWK 5658168023feSmrgcat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5659168023feSmrg for (key in S) S_is_set[key] = 1 5660168023feSmrg FS = "" 5661168023feSmrg 5662168023feSmrg} 56636ea72052Smrg{ 5664168023feSmrg line = $ 0 5665168023feSmrg nfields = split(line, field, "@") 5666168023feSmrg substed = 0 5667168023feSmrg len = length(field[1]) 5668168023feSmrg for (i = 2; i < nfields; i++) { 5669168023feSmrg key = field[i] 5670168023feSmrg keylen = length(key) 5671168023feSmrg if (S_is_set[key]) { 5672168023feSmrg value = S[key] 5673168023feSmrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5674168023feSmrg len += length(value) + length(field[++i]) 5675168023feSmrg substed = 1 5676168023feSmrg } else 5677168023feSmrg len += 1 + keylen 5678168023feSmrg } 5679168023feSmrg 5680168023feSmrg print line 56816ea72052Smrg} 56826ea72052Smrg 5683168023feSmrg_ACAWK 5684168023feSmrg_ACEOF 5685168023feSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5686168023feSmrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5687168023feSmrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5688168023feSmrgelse 5689168023feSmrg cat 5690168023feSmrgfi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5691168023feSmrg || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 56926ea72052Smrg_ACEOF 56936ea72052Smrg 5694168023feSmrg# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5695168023feSmrg# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5696168023feSmrg# trailing colons and then remove the whole line if VPATH becomes empty 5697168023feSmrg# (actually we leave an empty line to preserve line numbers). 5698168023feSmrgif test "x$srcdir" = x.; then 5699168023feSmrg ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5700168023feSmrgh 5701168023feSmrgs/// 5702168023feSmrgs/^/:/ 5703168023feSmrgs/[ ]*$/:/ 5704168023feSmrgs/:\$(srcdir):/:/g 5705168023feSmrgs/:\${srcdir}:/:/g 5706168023feSmrgs/:@srcdir@:/:/g 5707168023feSmrgs/^:*// 5708168023feSmrgs/:*$// 5709168023feSmrgx 5710168023feSmrgs/\(=[ ]*\).*/\1/ 5711168023feSmrgG 5712168023feSmrgs/\n// 5713168023feSmrgs/^[^=]*=[ ]*$// 5714168023feSmrg}' 5715168023feSmrgfi 57166ea72052Smrg 5717168023feSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5718168023feSmrgfi # test -n "$CONFIG_FILES" 57196ea72052Smrg 5720168023feSmrg# Set up the scripts for CONFIG_HEADERS section. 5721168023feSmrg# No need to generate them if there are no CONFIG_HEADERS. 5722168023feSmrg# This happens for instance with `./config.status Makefile'. 5723168023feSmrgif test -n "$CONFIG_HEADERS"; then 5724168023feSmrgcat >"$ac_tmp/defines.awk" <<\_ACAWK || 5725168023feSmrgBEGIN { 57266ea72052Smrg_ACEOF 57276ea72052Smrg 5728168023feSmrg# Transform confdefs.h into an awk script `defines.awk', embedded as 5729168023feSmrg# here-document in config.status, that substitutes the proper values into 5730168023feSmrg# config.h.in to produce config.h. 5731168023feSmrg 5732168023feSmrg# Create a delimiter string that does not exist in confdefs.h, to ease 5733168023feSmrg# handling of long lines. 5734168023feSmrgac_delim='%!_!# ' 5735168023feSmrgfor ac_last_try in false false :; do 5736168023feSmrg ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 5737168023feSmrg if test -z "$ac_tt"; then 5738168023feSmrg break 5739168023feSmrg elif $ac_last_try; then 5740168023feSmrg as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 5741168023feSmrg else 5742168023feSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 57436ea72052Smrg fi 5744168023feSmrgdone 57456ea72052Smrg 5746168023feSmrg# For the awk script, D is an array of macro values keyed by name, 5747168023feSmrg# likewise P contains macro parameters if any. Preserve backslash 5748168023feSmrg# newline sequences. 5749168023feSmrg 5750168023feSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5751168023feSmrgsed -n ' 5752168023feSmrgs/.\{148\}/&'"$ac_delim"'/g 5753168023feSmrgt rset 5754168023feSmrg:rset 5755168023feSmrgs/^[ ]*#[ ]*define[ ][ ]*/ / 5756168023feSmrgt def 5757168023feSmrgd 5758168023feSmrg:def 5759168023feSmrgs/\\$// 5760168023feSmrgt bsnl 5761168023feSmrgs/["\\]/\\&/g 5762168023feSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5763168023feSmrgD["\1"]=" \3"/p 5764168023feSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 5765168023feSmrgd 5766168023feSmrg:bsnl 5767168023feSmrgs/["\\]/\\&/g 5768168023feSmrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5769168023feSmrgD["\1"]=" \3\\\\\\n"\\/p 5770168023feSmrgt cont 5771168023feSmrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 5772168023feSmrgt cont 5773168023feSmrgd 5774168023feSmrg:cont 5775168023feSmrgn 5776168023feSmrgs/.\{148\}/&'"$ac_delim"'/g 5777168023feSmrgt clear 5778168023feSmrg:clear 5779168023feSmrgs/\\$// 5780168023feSmrgt bsnlc 5781168023feSmrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 5782168023feSmrgd 5783168023feSmrg:bsnlc 5784168023feSmrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 5785168023feSmrgb cont 5786168023feSmrg' <confdefs.h | sed ' 5787168023feSmrgs/'"$ac_delim"'/"\\\ 5788168023feSmrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 5789168023feSmrg 5790168023feSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5791168023feSmrg for (key in D) D_is_set[key] = 1 5792168023feSmrg FS = "" 5793168023feSmrg} 5794168023feSmrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 5795168023feSmrg line = \$ 0 5796168023feSmrg split(line, arg, " ") 5797168023feSmrg if (arg[1] == "#") { 5798168023feSmrg defundef = arg[2] 5799168023feSmrg mac1 = arg[3] 5800168023feSmrg } else { 5801168023feSmrg defundef = substr(arg[1], 2) 5802168023feSmrg mac1 = arg[2] 5803168023feSmrg } 5804168023feSmrg split(mac1, mac2, "(") #) 5805168023feSmrg macro = mac2[1] 5806168023feSmrg prefix = substr(line, 1, index(line, defundef) - 1) 5807168023feSmrg if (D_is_set[macro]) { 5808168023feSmrg # Preserve the white space surrounding the "#". 5809168023feSmrg print prefix "define", macro P[macro] D[macro] 5810168023feSmrg next 5811168023feSmrg } else { 5812168023feSmrg # Replace #undef with comments. This is necessary, for example, 5813168023feSmrg # in the case of _POSIX_SOURCE, which is predefined and required 5814168023feSmrg # on some systems where configure will not decide to define it. 5815168023feSmrg if (defundef == "undef") { 5816168023feSmrg print "/*", prefix defundef, macro, "*/" 5817168023feSmrg next 5818168023feSmrg } 5819168023feSmrg } 5820168023feSmrg} 5821168023feSmrg{ print } 5822168023feSmrg_ACAWK 58236ea72052Smrg_ACEOF 5824168023feSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5825168023feSmrg as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 5826168023feSmrgfi # test -n "$CONFIG_HEADERS" 5827168023feSmrg 5828168023feSmrg 5829168023feSmrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 5830168023feSmrgshift 5831168023feSmrgfor ac_tag 5832168023feSmrgdo 5833168023feSmrg case $ac_tag in 5834168023feSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 5835168023feSmrg esac 5836168023feSmrg case $ac_mode$ac_tag in 5837168023feSmrg :[FHL]*:*);; 5838168023feSmrg :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5839168023feSmrg :[FH]-) ac_tag=-:-;; 5840168023feSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5841168023feSmrg esac 5842168023feSmrg ac_save_IFS=$IFS 5843168023feSmrg IFS=: 5844168023feSmrg set x $ac_tag 5845168023feSmrg IFS=$ac_save_IFS 5846168023feSmrg shift 5847168023feSmrg ac_file=$1 5848168023feSmrg shift 5849168023feSmrg 5850168023feSmrg case $ac_mode in 5851168023feSmrg :L) ac_source=$1;; 5852168023feSmrg :[FH]) 5853168023feSmrg ac_file_inputs= 5854168023feSmrg for ac_f 5855168023feSmrg do 5856168023feSmrg case $ac_f in 5857168023feSmrg -) ac_f="$ac_tmp/stdin";; 5858168023feSmrg *) # Look for the file first in the build tree, then in the source tree 5859168023feSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 5860168023feSmrg # because $ac_f cannot contain `:'. 5861168023feSmrg test -f "$ac_f" || 5862168023feSmrg case $ac_f in 5863168023feSmrg [\\/$]*) false;; 5864168023feSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5865168023feSmrg esac || 5866168023feSmrg as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5867168023feSmrg esac 5868168023feSmrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5869168023feSmrg as_fn_append ac_file_inputs " '$ac_f'" 5870168023feSmrg done 5871168023feSmrg 5872168023feSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 5873168023feSmrg # use $as_me), people would be surprised to read: 5874168023feSmrg # /* config.h. Generated by config.status. */ 5875168023feSmrg configure_input='Generated from '` 5876168023feSmrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5877168023feSmrg `' by configure.' 5878168023feSmrg if test x"$ac_file" != x-; then 5879168023feSmrg configure_input="$ac_file. $configure_input" 5880168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5881168023feSmrg$as_echo "$as_me: creating $ac_file" >&6;} 5882168023feSmrg fi 5883168023feSmrg # Neutralize special characters interpreted by sed in replacement strings. 5884168023feSmrg case $configure_input in #( 5885168023feSmrg *\&* | *\|* | *\\* ) 5886168023feSmrg ac_sed_conf_input=`$as_echo "$configure_input" | 5887168023feSmrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 5888168023feSmrg *) ac_sed_conf_input=$configure_input;; 5889168023feSmrg esac 5890168023feSmrg 5891168023feSmrg case $ac_tag in 5892168023feSmrg *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5893168023feSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5894168023feSmrg esac 5895168023feSmrg ;; 58966ea72052Smrg esac 58976ea72052Smrg 5898168023feSmrg ac_dir=`$as_dirname -- "$ac_file" || 58996ea72052Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 59006ea72052Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 59016ea72052Smrg X"$ac_file" : 'X\(//\)$' \| \ 5902168023feSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5903168023feSmrg$as_echo X"$ac_file" | 5904168023feSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5905168023feSmrg s//\1/ 5906168023feSmrg q 5907168023feSmrg } 5908168023feSmrg /^X\(\/\/\)[^/].*/{ 5909168023feSmrg s//\1/ 5910168023feSmrg q 5911168023feSmrg } 5912168023feSmrg /^X\(\/\/\)$/{ 5913168023feSmrg s//\1/ 5914168023feSmrg q 5915168023feSmrg } 5916168023feSmrg /^X\(\/\).*/{ 5917168023feSmrg s//\1/ 5918168023feSmrg q 5919168023feSmrg } 5920168023feSmrg s/.*/./; q'` 5921168023feSmrg as_dir="$ac_dir"; as_fn_mkdir_p 59226ea72052Smrg ac_builddir=. 59236ea72052Smrg 5924168023feSmrgcase "$ac_dir" in 5925168023feSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5926168023feSmrg*) 5927168023feSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5928168023feSmrg # A ".." for each directory in $ac_dir_suffix. 5929168023feSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5930168023feSmrg case $ac_top_builddir_sub in 5931168023feSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5932168023feSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5933168023feSmrg esac ;; 5934168023feSmrgesac 5935168023feSmrgac_abs_top_builddir=$ac_pwd 5936168023feSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 5937168023feSmrg# for backward compatibility: 5938168023feSmrgac_top_builddir=$ac_top_build_prefix 59396ea72052Smrg 59406ea72052Smrgcase $srcdir in 5941168023feSmrg .) # We are building in place. 59426ea72052Smrg ac_srcdir=. 5943168023feSmrg ac_top_srcdir=$ac_top_builddir_sub 5944168023feSmrg ac_abs_top_srcdir=$ac_pwd ;; 5945168023feSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 59466ea72052Smrg ac_srcdir=$srcdir$ac_dir_suffix; 5947168023feSmrg ac_top_srcdir=$srcdir 5948168023feSmrg ac_abs_top_srcdir=$srcdir ;; 5949168023feSmrg *) # Relative name. 5950168023feSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5951168023feSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 5952168023feSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 59536ea72052Smrgesac 5954168023feSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 59556ea72052Smrg 59566ea72052Smrg 5957168023feSmrg case $ac_mode in 5958168023feSmrg :F) 5959168023feSmrg # 5960168023feSmrg # CONFIG_FILE 5961168023feSmrg # 59626ea72052Smrg 59636ea72052Smrg case $INSTALL in 59646ea72052Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5965168023feSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5966168023feSmrg esac 5967168023feSmrg ac_MKDIR_P=$MKDIR_P 5968168023feSmrg case $MKDIR_P in 5969168023feSmrg [\\/$]* | ?:[\\/]* ) ;; 5970168023feSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 59716ea72052Smrg esac 5972168023feSmrg_ACEOF 59736ea72052Smrg 5974168023feSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5975168023feSmrg# If the template does not know about datarootdir, expand it. 5976168023feSmrg# FIXME: This hack should be removed a few years after 2.60. 5977168023feSmrgac_datarootdir_hack=; ac_datarootdir_seen= 5978168023feSmrgac_sed_dataroot=' 5979168023feSmrg/datarootdir/ { 5980168023feSmrg p 5981168023feSmrg q 5982168023feSmrg} 5983168023feSmrg/@datadir@/p 5984168023feSmrg/@docdir@/p 5985168023feSmrg/@infodir@/p 5986168023feSmrg/@localedir@/p 5987168023feSmrg/@mandir@/p' 5988168023feSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5989168023feSmrg*datarootdir*) ac_datarootdir_seen=yes;; 5990168023feSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5991168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5992168023feSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5993168023feSmrg_ACEOF 5994168023feSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5995168023feSmrg ac_datarootdir_hack=' 5996168023feSmrg s&@datadir@&$datadir&g 5997168023feSmrg s&@docdir@&$docdir&g 5998168023feSmrg s&@infodir@&$infodir&g 5999168023feSmrg s&@localedir@&$localedir&g 6000168023feSmrg s&@mandir@&$mandir&g 6001168023feSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 6002168023feSmrgesac 60036ea72052Smrg_ACEOF 6004168023feSmrg 6005168023feSmrg# Neutralize VPATH when `$srcdir' = `.'. 6006168023feSmrg# Shell code in configure.ac might set extrasub. 6007168023feSmrg# FIXME: do we really want to maintain this feature? 6008168023feSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6009168023feSmrgac_sed_extra="$ac_vpsub 60106ea72052Smrg$extrasub 60116ea72052Smrg_ACEOF 6012168023feSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 60136ea72052Smrg:t 60146ea72052Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6015168023feSmrgs|@configure_input@|$ac_sed_conf_input|;t t 6016168023feSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 6017168023feSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 6018168023feSmrgs&@srcdir@&$ac_srcdir&;t t 6019168023feSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 6020168023feSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 6021168023feSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6022168023feSmrgs&@builddir@&$ac_builddir&;t t 6023168023feSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 6024168023feSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6025168023feSmrgs&@INSTALL@&$ac_INSTALL&;t t 6026168023feSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 6027168023feSmrg$ac_datarootdir_hack 6028168023feSmrg" 6029168023feSmrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6030168023feSmrg >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6031168023feSmrg 6032168023feSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6033168023feSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6034168023feSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6035168023feSmrg "$ac_tmp/out"`; test -z "$ac_out"; } && 6036168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6037168023feSmrgwhich seems to be undefined. Please make sure it is defined" >&5 6038168023feSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6039168023feSmrgwhich seems to be undefined. Please make sure it is defined" >&2;} 6040168023feSmrg 6041168023feSmrg rm -f "$ac_tmp/stdin" 60426ea72052Smrg case $ac_file in 6043168023feSmrg -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6044168023feSmrg *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 6045168023feSmrg esac \ 6046168023feSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6047168023feSmrg ;; 6048168023feSmrg :H) 6049168023feSmrg # 6050168023feSmrg # CONFIG_HEADER 6051168023feSmrg # 60526ea72052Smrg if test x"$ac_file" != x-; then 6053168023feSmrg { 6054168023feSmrg $as_echo "/* $configure_input */" \ 6055168023feSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 6056168023feSmrg } >"$ac_tmp/config.h" \ 6057168023feSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6058168023feSmrg if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 6059168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 6060168023feSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 60616ea72052Smrg else 6062168023feSmrg rm -f "$ac_file" 6063168023feSmrg mv "$ac_tmp/config.h" "$ac_file" \ 6064168023feSmrg || as_fn_error $? "could not create $ac_file" "$LINENO" 5 60656ea72052Smrg fi 60666ea72052Smrg else 6067168023feSmrg $as_echo "/* $configure_input */" \ 6068168023feSmrg && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 6069168023feSmrg || as_fn_error $? "could not create -" "$LINENO" 5 60706ea72052Smrg fi 6071168023feSmrg# Compute "$ac_file"'s index in $config_headers. 6072168023feSmrg_am_arg="$ac_file" 60736ea72052Smrg_am_stamp_count=1 60746ea72052Smrgfor _am_header in $config_headers :; do 60756ea72052Smrg case $_am_header in 6076168023feSmrg $_am_arg | $_am_arg:* ) 60776ea72052Smrg break ;; 60786ea72052Smrg * ) 60796ea72052Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 60806ea72052Smrg esac 60816ea72052Smrgdone 6082168023feSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 6083168023feSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6084168023feSmrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 6085168023feSmrg X"$_am_arg" : 'X\(//\)$' \| \ 6086168023feSmrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 6087168023feSmrg$as_echo X"$_am_arg" | 6088168023feSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6089168023feSmrg s//\1/ 6090168023feSmrg q 6091168023feSmrg } 6092168023feSmrg /^X\(\/\/\)[^/].*/{ 6093168023feSmrg s//\1/ 6094168023feSmrg q 6095168023feSmrg } 6096168023feSmrg /^X\(\/\/\)$/{ 6097168023feSmrg s//\1/ 6098168023feSmrg q 6099168023feSmrg } 6100168023feSmrg /^X\(\/\).*/{ 6101168023feSmrg s//\1/ 6102168023feSmrg q 6103168023feSmrg } 6104168023feSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 6105168023feSmrg ;; 61066ea72052Smrg 6107168023feSmrg :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 6108168023feSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 6109168023feSmrg ;; 6110168023feSmrg esac 61116ea72052Smrg 61126ea72052Smrg 6113168023feSmrg case $ac_file$ac_mode in 6114168023feSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6115168023feSmrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 6116168023feSmrg # are listed without --file. Let's play safe and only enable the eval 6117168023feSmrg # if we detect the quoting. 6118168023feSmrg case $CONFIG_FILES in 6119168023feSmrg *\'*) eval set x "$CONFIG_FILES" ;; 6120168023feSmrg *) set x $CONFIG_FILES ;; 6121168023feSmrg esac 6122168023feSmrg shift 6123168023feSmrg for mf 6124168023feSmrg do 6125168023feSmrg # Strip MF so we end up with the name of the file. 6126168023feSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 6127168023feSmrg # Check whether this is an Automake generated Makefile or not. 6128168023feSmrg # We used to match only the files named `Makefile.in', but 6129168023feSmrg # some people rename them; so instead we look at the file content. 6130168023feSmrg # Grep'ing the first line is not enough: some people post-process 6131168023feSmrg # each Makefile.in and add a new line on top of each file to say so. 6132168023feSmrg # Grep'ing the whole file is not good either: AIX grep has a line 6133168023feSmrg # limit of 2048, but all sed's we know have understand at least 4000. 6134168023feSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6135168023feSmrg dirpart=`$as_dirname -- "$mf" || 61366ea72052Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 61376ea72052Smrg X"$mf" : 'X\(//\)[^/]' \| \ 61386ea72052Smrg X"$mf" : 'X\(//\)$' \| \ 6139168023feSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6140168023feSmrg$as_echo X"$mf" | 6141168023feSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6142168023feSmrg s//\1/ 6143168023feSmrg q 6144168023feSmrg } 6145168023feSmrg /^X\(\/\/\)[^/].*/{ 6146168023feSmrg s//\1/ 6147168023feSmrg q 6148168023feSmrg } 6149168023feSmrg /^X\(\/\/\)$/{ 6150168023feSmrg s//\1/ 6151168023feSmrg q 6152168023feSmrg } 6153168023feSmrg /^X\(\/\).*/{ 6154168023feSmrg s//\1/ 6155168023feSmrg q 6156168023feSmrg } 6157168023feSmrg s/.*/./; q'` 6158168023feSmrg else 6159168023feSmrg continue 6160168023feSmrg fi 6161168023feSmrg # Extract the definition of DEPDIR, am__include, and am__quote 6162168023feSmrg # from the Makefile without running `make'. 6163168023feSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6164168023feSmrg test -z "$DEPDIR" && continue 6165168023feSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 6166168023feSmrg test -z "am__include" && continue 6167168023feSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6168168023feSmrg # When using ansi2knr, U may be empty or an underscore; expand it 6169168023feSmrg U=`sed -n 's/^U = //p' < "$mf"` 6170168023feSmrg # Find all dependency output files, they are included files with 6171168023feSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 6172168023feSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 6173168023feSmrg # expansion. 6174168023feSmrg for file in `sed -n " 6175168023feSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6176168023feSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6177168023feSmrg # Make sure the directory exists. 6178168023feSmrg test -f "$dirpart/$file" && continue 6179168023feSmrg fdir=`$as_dirname -- "$file" || 61806ea72052Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 61816ea72052Smrg X"$file" : 'X\(//\)[^/]' \| \ 61826ea72052Smrg X"$file" : 'X\(//\)$' \| \ 6183168023feSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 6184168023feSmrg$as_echo X"$file" | 6185168023feSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6186168023feSmrg s//\1/ 6187168023feSmrg q 6188168023feSmrg } 6189168023feSmrg /^X\(\/\/\)[^/].*/{ 6190168023feSmrg s//\1/ 6191168023feSmrg q 6192168023feSmrg } 6193168023feSmrg /^X\(\/\/\)$/{ 6194168023feSmrg s//\1/ 6195168023feSmrg q 6196168023feSmrg } 6197168023feSmrg /^X\(\/\).*/{ 6198168023feSmrg s//\1/ 6199168023feSmrg q 6200168023feSmrg } 6201168023feSmrg s/.*/./; q'` 6202168023feSmrg as_dir=$dirpart/$fdir; as_fn_mkdir_p 6203168023feSmrg # echo "creating $dirpart/$file" 6204168023feSmrg echo '# dummy' > "$dirpart/$file" 62056ea72052Smrg done 62066ea72052Smrg done 6207168023feSmrg} 62086ea72052Smrg ;; 6209168023feSmrg 62106ea72052Smrg esac 6211168023feSmrgdone # for ac_tag 62126ea72052Smrg 62136ea72052Smrg 6214168023feSmrgas_fn_exit 0 62156ea72052Smrg_ACEOF 62166ea72052Smrgac_clean_files=$ac_clean_files_save 62176ea72052Smrg 6218168023feSmrgtest $ac_write_fail = 0 || 6219168023feSmrg as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6220168023feSmrg 62216ea72052Smrg 62226ea72052Smrg# configure is writing to config.log, and then calls config.status. 62236ea72052Smrg# config.status does its own redirection, appending to config.log. 62246ea72052Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 62256ea72052Smrg# by configure, so config.status won't be able to write to it; its 62266ea72052Smrg# output is simply discarded. So we exec the FD to /dev/null, 62276ea72052Smrg# effectively closing config.log, so it can be properly (re)opened and 62286ea72052Smrg# appended to by config.status. When coming back to configure, we 62296ea72052Smrg# need to make the FD available again. 62306ea72052Smrgif test "$no_create" != yes; then 62316ea72052Smrg ac_cs_success=: 62326ea72052Smrg ac_config_status_args= 62336ea72052Smrg test "$silent" = yes && 62346ea72052Smrg ac_config_status_args="$ac_config_status_args --quiet" 62356ea72052Smrg exec 5>/dev/null 62366ea72052Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 62376ea72052Smrg exec 5>>config.log 62386ea72052Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 62396ea72052Smrg # would make configure fail if this is the last instruction. 6240168023feSmrg $ac_cs_success || as_fn_exit 1 6241168023feSmrgfi 6242168023feSmrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6243168023feSmrg { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6244168023feSmrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 62456ea72052Smrgfi 62466ea72052Smrg 6247