191a17321Smrg#! /bin/sh 291a17321Smrg# Guess values for system-dependent variables and create Makefiles. 391a17321Smrg# Generated by GNU Autoconf 2.60 for xsetpointer 1.0.1. 491a17321Smrg# 591a17321Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 691a17321Smrg# 791a17321Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 891a17321Smrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 991a17321Smrg# This configure script is free software; the Free Software Foundation 1091a17321Smrg# gives unlimited permission to copy, distribute and modify it. 1191a17321Smrg## --------------------- ## 1291a17321Smrg## M4sh Initialization. ## 1391a17321Smrg## --------------------- ## 1491a17321Smrg 1591a17321Smrg# Be Bourne compatible 1691a17321Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1791a17321Smrg emulate sh 1891a17321Smrg NULLCMD=: 1991a17321Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2091a17321Smrg # is contrary to our usage. Disable this feature. 2191a17321Smrg alias -g '${1+"$@"}'='"$@"' 2291a17321Smrg setopt NO_GLOB_SUBST 2391a17321Smrgelse 2491a17321Smrg case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 2591a17321Smrgfi 2691a17321SmrgBIN_SH=xpg4; export BIN_SH # for Tru64 2791a17321SmrgDUALCASE=1; export DUALCASE # for MKS sh 2891a17321Smrg 2991a17321Smrg 3091a17321Smrg# PATH needs CR 3191a17321Smrg# Avoid depending upon Character Ranges. 3291a17321Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 3391a17321Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3491a17321Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 3591a17321Smrgas_cr_digits='0123456789' 3691a17321Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 3791a17321Smrg 3891a17321Smrg# The user is always right. 3991a17321Smrgif test "${PATH_SEPARATOR+set}" != set; then 4091a17321Smrg echo "#! /bin/sh" >conf$$.sh 4191a17321Smrg echo "exit 0" >>conf$$.sh 4291a17321Smrg chmod +x conf$$.sh 4391a17321Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4491a17321Smrg PATH_SEPARATOR=';' 4591a17321Smrg else 4691a17321Smrg PATH_SEPARATOR=: 4791a17321Smrg fi 4891a17321Smrg rm -f conf$$.sh 4991a17321Smrgfi 5091a17321Smrg 5191a17321Smrg# Support unset when possible. 5291a17321Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5391a17321Smrg as_unset=unset 5491a17321Smrgelse 5591a17321Smrg as_unset=false 5691a17321Smrgfi 5791a17321Smrg 5891a17321Smrg 5991a17321Smrg# IFS 6091a17321Smrg# We need space, tab and new line, in precisely that order. Quoting is 6191a17321Smrg# there to prevent editors from complaining about space-tab. 6291a17321Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6391a17321Smrg# splitting by setting IFS to empty value.) 6491a17321Smrgas_nl=' 6591a17321Smrg' 6691a17321SmrgIFS=" "" $as_nl" 6791a17321Smrg 6891a17321Smrg# Find who we are. Look in the path if we contain no directory separator. 6991a17321Smrgcase $0 in 7091a17321Smrg *[\\/]* ) as_myself=$0 ;; 7191a17321Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7291a17321Smrgfor as_dir in $PATH 7391a17321Smrgdo 7491a17321Smrg IFS=$as_save_IFS 7591a17321Smrg test -z "$as_dir" && as_dir=. 7691a17321Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7791a17321Smrgdone 7891a17321SmrgIFS=$as_save_IFS 7991a17321Smrg 8091a17321Smrg ;; 8191a17321Smrgesac 8291a17321Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 8391a17321Smrg# in which case we are not to be found in the path. 8491a17321Smrgif test "x$as_myself" = x; then 8591a17321Smrg as_myself=$0 8691a17321Smrgfi 8791a17321Smrgif test ! -f "$as_myself"; then 8891a17321Smrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8991a17321Smrg { (exit 1); exit 1; } 9091a17321Smrgfi 9191a17321Smrg 9291a17321Smrg# Work around bugs in pre-3.0 UWIN ksh. 9391a17321Smrgfor as_var in ENV MAIL MAILPATH 9491a17321Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 9591a17321Smrgdone 9691a17321SmrgPS1='$ ' 9791a17321SmrgPS2='> ' 9891a17321SmrgPS4='+ ' 9991a17321Smrg 10091a17321Smrg# NLS nuisances. 10191a17321Smrgfor as_var in \ 10291a17321Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 10391a17321Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 10491a17321Smrg LC_TELEPHONE LC_TIME 10591a17321Smrgdo 10691a17321Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 10791a17321Smrg eval $as_var=C; export $as_var 10891a17321Smrg else 10991a17321Smrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 11091a17321Smrg fi 11191a17321Smrgdone 11291a17321Smrg 11391a17321Smrg# Required to use basename. 11491a17321Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 11591a17321Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 11691a17321Smrg as_expr=expr 11791a17321Smrgelse 11891a17321Smrg as_expr=false 11991a17321Smrgfi 12091a17321Smrg 12191a17321Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12291a17321Smrg as_basename=basename 12391a17321Smrgelse 12491a17321Smrg as_basename=false 12591a17321Smrgfi 12691a17321Smrg 12791a17321Smrg 12891a17321Smrg# Name of the executable. 12991a17321Smrgas_me=`$as_basename -- "$0" || 13091a17321Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13191a17321Smrg X"$0" : 'X\(//\)$' \| \ 13291a17321Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 13391a17321Smrgecho X/"$0" | 13491a17321Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 13591a17321Smrg s//\1/ 13691a17321Smrg q 13791a17321Smrg } 13891a17321Smrg /^X\/\(\/\/\)$/{ 13991a17321Smrg s//\1/ 14091a17321Smrg q 14191a17321Smrg } 14291a17321Smrg /^X\/\(\/\).*/{ 14391a17321Smrg s//\1/ 14491a17321Smrg q 14591a17321Smrg } 14691a17321Smrg s/.*/./; q'` 14791a17321Smrg 14891a17321Smrg# CDPATH. 14991a17321Smrg$as_unset CDPATH 15091a17321Smrg 15191a17321Smrg 15291a17321Smrgif test "x$CONFIG_SHELL" = x; then 15391a17321Smrg if (eval ":") 2>/dev/null; then 15491a17321Smrg as_have_required=yes 15591a17321Smrgelse 15691a17321Smrg as_have_required=no 15791a17321Smrgfi 15891a17321Smrg 15991a17321Smrg if test $as_have_required = yes && (eval ": 16091a17321Smrg(as_func_return () { 16191a17321Smrg (exit \$1) 16291a17321Smrg} 16391a17321Smrgas_func_success () { 16491a17321Smrg as_func_return 0 16591a17321Smrg} 16691a17321Smrgas_func_failure () { 16791a17321Smrg as_func_return 1 16891a17321Smrg} 16991a17321Smrgas_func_ret_success () { 17091a17321Smrg return 0 17191a17321Smrg} 17291a17321Smrgas_func_ret_failure () { 17391a17321Smrg return 1 17491a17321Smrg} 17591a17321Smrg 17691a17321Smrgexitcode=0 17791a17321Smrgif as_func_success; then 17891a17321Smrg : 17991a17321Smrgelse 18091a17321Smrg exitcode=1 18191a17321Smrg echo as_func_success failed. 18291a17321Smrgfi 18391a17321Smrg 18491a17321Smrgif as_func_failure; then 18591a17321Smrg exitcode=1 18691a17321Smrg echo as_func_failure succeeded. 18791a17321Smrgfi 18891a17321Smrg 18991a17321Smrgif as_func_ret_success; then 19091a17321Smrg : 19191a17321Smrgelse 19291a17321Smrg exitcode=1 19391a17321Smrg echo as_func_ret_success failed. 19491a17321Smrgfi 19591a17321Smrg 19691a17321Smrgif as_func_ret_failure; then 19791a17321Smrg exitcode=1 19891a17321Smrg echo as_func_ret_failure succeeded. 19991a17321Smrgfi 20091a17321Smrg 20191a17321Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 20291a17321Smrg : 20391a17321Smrgelse 20491a17321Smrg exitcode=1 20591a17321Smrg echo positional parameters were not saved. 20691a17321Smrgfi 20791a17321Smrg 20891a17321Smrgtest \$exitcode = 0) || { (exit 1); exit 1; } 20991a17321Smrg 21091a17321Smrg( 21191a17321Smrg as_lineno_1=\$LINENO 21291a17321Smrg as_lineno_2=\$LINENO 21391a17321Smrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 21491a17321Smrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 21591a17321Smrg") 2> /dev/null; then 21691a17321Smrg : 21791a17321Smrgelse 21891a17321Smrg as_candidate_shells= 21991a17321Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22091a17321Smrgfor as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 22191a17321Smrgdo 22291a17321Smrg IFS=$as_save_IFS 22391a17321Smrg test -z "$as_dir" && as_dir=. 22491a17321Smrg case $as_dir in 22591a17321Smrg /*) 22691a17321Smrg for as_base in sh bash ksh sh5; do 22791a17321Smrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 22891a17321Smrg done;; 22991a17321Smrg esac 23091a17321Smrgdone 23191a17321SmrgIFS=$as_save_IFS 23291a17321Smrg 23391a17321Smrg 23491a17321Smrg for as_shell in $as_candidate_shells $SHELL; do 23591a17321Smrg # Try only shells that exist, to save several forks. 23691a17321Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 23791a17321Smrg { ("$as_shell") 2> /dev/null <<\_ASEOF 23891a17321Smrg# Be Bourne compatible 23991a17321Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 24091a17321Smrg emulate sh 24191a17321Smrg NULLCMD=: 24291a17321Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 24391a17321Smrg # is contrary to our usage. Disable this feature. 24491a17321Smrg alias -g '${1+"$@"}'='"$@"' 24591a17321Smrg setopt NO_GLOB_SUBST 24691a17321Smrgelse 24791a17321Smrg case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 24891a17321Smrgfi 24991a17321SmrgBIN_SH=xpg4; export BIN_SH # for Tru64 25091a17321SmrgDUALCASE=1; export DUALCASE # for MKS sh 25191a17321Smrg 25291a17321Smrg: 25391a17321Smrg_ASEOF 25491a17321Smrg}; then 25591a17321Smrg CONFIG_SHELL=$as_shell 25691a17321Smrg as_have_required=yes 25791a17321Smrg if { "$as_shell" 2> /dev/null <<\_ASEOF 25891a17321Smrg# Be Bourne compatible 25991a17321Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 26091a17321Smrg emulate sh 26191a17321Smrg NULLCMD=: 26291a17321Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 26391a17321Smrg # is contrary to our usage. Disable this feature. 26491a17321Smrg alias -g '${1+"$@"}'='"$@"' 26591a17321Smrg setopt NO_GLOB_SUBST 26691a17321Smrgelse 26791a17321Smrg case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 26891a17321Smrgfi 26991a17321SmrgBIN_SH=xpg4; export BIN_SH # for Tru64 27091a17321SmrgDUALCASE=1; export DUALCASE # for MKS sh 27191a17321Smrg 27291a17321Smrg: 27391a17321Smrg(as_func_return () { 27491a17321Smrg (exit $1) 27591a17321Smrg} 27691a17321Smrgas_func_success () { 27791a17321Smrg as_func_return 0 27891a17321Smrg} 27991a17321Smrgas_func_failure () { 28091a17321Smrg as_func_return 1 28191a17321Smrg} 28291a17321Smrgas_func_ret_success () { 28391a17321Smrg return 0 28491a17321Smrg} 28591a17321Smrgas_func_ret_failure () { 28691a17321Smrg return 1 28791a17321Smrg} 28891a17321Smrg 28991a17321Smrgexitcode=0 29091a17321Smrgif as_func_success; then 29191a17321Smrg : 29291a17321Smrgelse 29391a17321Smrg exitcode=1 29491a17321Smrg echo as_func_success failed. 29591a17321Smrgfi 29691a17321Smrg 29791a17321Smrgif as_func_failure; then 29891a17321Smrg exitcode=1 29991a17321Smrg echo as_func_failure succeeded. 30091a17321Smrgfi 30191a17321Smrg 30291a17321Smrgif as_func_ret_success; then 30391a17321Smrg : 30491a17321Smrgelse 30591a17321Smrg exitcode=1 30691a17321Smrg echo as_func_ret_success failed. 30791a17321Smrgfi 30891a17321Smrg 30991a17321Smrgif as_func_ret_failure; then 31091a17321Smrg exitcode=1 31191a17321Smrg echo as_func_ret_failure succeeded. 31291a17321Smrgfi 31391a17321Smrg 31491a17321Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then 31591a17321Smrg : 31691a17321Smrgelse 31791a17321Smrg exitcode=1 31891a17321Smrg echo positional parameters were not saved. 31991a17321Smrgfi 32091a17321Smrg 32191a17321Smrgtest $exitcode = 0) || { (exit 1); exit 1; } 32291a17321Smrg 32391a17321Smrg( 32491a17321Smrg as_lineno_1=$LINENO 32591a17321Smrg as_lineno_2=$LINENO 32691a17321Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 32791a17321Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 32891a17321Smrg 32991a17321Smrg_ASEOF 33091a17321Smrg}; then 33191a17321Smrg break 33291a17321Smrgfi 33391a17321Smrg 33491a17321Smrgfi 33591a17321Smrg 33691a17321Smrg done 33791a17321Smrg 33891a17321Smrg if test "x$CONFIG_SHELL" != x; then 33991a17321Smrg for as_var in BASH_ENV ENV 34091a17321Smrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 34191a17321Smrg done 34291a17321Smrg export CONFIG_SHELL 34391a17321Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 34491a17321Smrgfi 34591a17321Smrg 34691a17321Smrg 34791a17321Smrg if test $as_have_required = no; then 34891a17321Smrg echo This script requires a shell more modern than all the 34991a17321Smrg echo shells that I found on your system. Please install a 35091a17321Smrg echo modern shell, or manually run the script under such a 35191a17321Smrg echo shell if you do have one. 35291a17321Smrg { (exit 1); exit 1; } 35391a17321Smrgfi 35491a17321Smrg 35591a17321Smrg 35691a17321Smrgfi 35791a17321Smrg 35891a17321Smrgfi 35991a17321Smrg 36091a17321Smrg 36191a17321Smrg 36291a17321Smrg(eval "as_func_return () { 36391a17321Smrg (exit \$1) 36491a17321Smrg} 36591a17321Smrgas_func_success () { 36691a17321Smrg as_func_return 0 36791a17321Smrg} 36891a17321Smrgas_func_failure () { 36991a17321Smrg as_func_return 1 37091a17321Smrg} 37191a17321Smrgas_func_ret_success () { 37291a17321Smrg return 0 37391a17321Smrg} 37491a17321Smrgas_func_ret_failure () { 37591a17321Smrg return 1 37691a17321Smrg} 37791a17321Smrg 37891a17321Smrgexitcode=0 37991a17321Smrgif as_func_success; then 38091a17321Smrg : 38191a17321Smrgelse 38291a17321Smrg exitcode=1 38391a17321Smrg echo as_func_success failed. 38491a17321Smrgfi 38591a17321Smrg 38691a17321Smrgif as_func_failure; then 38791a17321Smrg exitcode=1 38891a17321Smrg echo as_func_failure succeeded. 38991a17321Smrgfi 39091a17321Smrg 39191a17321Smrgif as_func_ret_success; then 39291a17321Smrg : 39391a17321Smrgelse 39491a17321Smrg exitcode=1 39591a17321Smrg echo as_func_ret_success failed. 39691a17321Smrgfi 39791a17321Smrg 39891a17321Smrgif as_func_ret_failure; then 39991a17321Smrg exitcode=1 40091a17321Smrg echo as_func_ret_failure succeeded. 40191a17321Smrgfi 40291a17321Smrg 40391a17321Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 40491a17321Smrg : 40591a17321Smrgelse 40691a17321Smrg exitcode=1 40791a17321Smrg echo positional parameters were not saved. 40891a17321Smrgfi 40991a17321Smrg 41091a17321Smrgtest \$exitcode = 0") || { 41191a17321Smrg echo No shell found that supports shell functions. 41291a17321Smrg echo Please tell autoconf@gnu.org about your system, 41391a17321Smrg echo including any error possibly output before this 41491a17321Smrg echo message 41591a17321Smrg} 41691a17321Smrg 41791a17321Smrg 41891a17321Smrg 41991a17321Smrg as_lineno_1=$LINENO 42091a17321Smrg as_lineno_2=$LINENO 42191a17321Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 42291a17321Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 42391a17321Smrg 42491a17321Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 42591a17321Smrg # uniformly replaced by the line number. The first 'sed' inserts a 42691a17321Smrg # line-number line after each line using $LINENO; the second 'sed' 42791a17321Smrg # does the real work. The second script uses 'N' to pair each 42891a17321Smrg # line-number line with the line containing $LINENO, and appends 42991a17321Smrg # trailing '-' during substitution so that $LINENO is not a special 43091a17321Smrg # case at line end. 43191a17321Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 43291a17321Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 43391a17321Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 43491a17321Smrg sed -n ' 43591a17321Smrg p 43691a17321Smrg /[$]LINENO/= 43791a17321Smrg ' <$as_myself | 43891a17321Smrg sed ' 43991a17321Smrg s/[$]LINENO.*/&-/ 44091a17321Smrg t lineno 44191a17321Smrg b 44291a17321Smrg :lineno 44391a17321Smrg N 44491a17321Smrg :loop 44591a17321Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 44691a17321Smrg t loop 44791a17321Smrg s/-\n.*// 44891a17321Smrg ' >$as_me.lineno && 44991a17321Smrg chmod +x "$as_me.lineno" || 45091a17321Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 45191a17321Smrg { (exit 1); exit 1; }; } 45291a17321Smrg 45391a17321Smrg # Don't try to exec as it changes $[0], causing all sort of problems 45491a17321Smrg # (the dirname of $[0] is not the place where we might find the 45591a17321Smrg # original and so on. Autoconf is especially sensitive to this). 45691a17321Smrg . "./$as_me.lineno" 45791a17321Smrg # Exit status is that of the last command. 45891a17321Smrg exit 45991a17321Smrg} 46091a17321Smrg 46191a17321Smrg 46291a17321Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 46391a17321Smrg as_dirname=dirname 46491a17321Smrgelse 46591a17321Smrg as_dirname=false 46691a17321Smrgfi 46791a17321Smrg 46891a17321SmrgECHO_C= ECHO_N= ECHO_T= 46991a17321Smrgcase `echo -n x` in 47091a17321Smrg-n*) 47191a17321Smrg case `echo 'x\c'` in 47291a17321Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 47391a17321Smrg *) ECHO_C='\c';; 47491a17321Smrg esac;; 47591a17321Smrg*) 47691a17321Smrg ECHO_N='-n';; 47791a17321Smrgesac 47891a17321Smrg 47991a17321Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 48091a17321Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 48191a17321Smrg as_expr=expr 48291a17321Smrgelse 48391a17321Smrg as_expr=false 48491a17321Smrgfi 48591a17321Smrg 48691a17321Smrgrm -f conf$$ conf$$.exe conf$$.file 48791a17321Smrgif test -d conf$$.dir; then 48891a17321Smrg rm -f conf$$.dir/conf$$.file 48991a17321Smrgelse 49091a17321Smrg rm -f conf$$.dir 49191a17321Smrg mkdir conf$$.dir 49291a17321Smrgfi 49391a17321Smrgecho >conf$$.file 49491a17321Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 49591a17321Smrg as_ln_s='ln -s' 49691a17321Smrg # ... but there are two gotchas: 49791a17321Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 49891a17321Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 49991a17321Smrg # In both cases, we have to default to `cp -p'. 50091a17321Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 50191a17321Smrg as_ln_s='cp -p' 50291a17321Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 50391a17321Smrg as_ln_s=ln 50491a17321Smrgelse 50591a17321Smrg as_ln_s='cp -p' 50691a17321Smrgfi 50791a17321Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 50891a17321Smrgrmdir conf$$.dir 2>/dev/null 50991a17321Smrg 51091a17321Smrgif mkdir -p . 2>/dev/null; then 51191a17321Smrg as_mkdir_p=: 51291a17321Smrgelse 51391a17321Smrg test -d ./-p && rmdir ./-p 51491a17321Smrg as_mkdir_p=false 51591a17321Smrgfi 51691a17321Smrg 51791a17321Smrg# Find out whether ``test -x'' works. Don't use a zero-byte file, as 51891a17321Smrg# systems may use methods other than mode bits to determine executability. 51991a17321Smrgcat >conf$$.file <<_ASEOF 52091a17321Smrg#! /bin/sh 52191a17321Smrgexit 0 52291a17321Smrg_ASEOF 52391a17321Smrgchmod +x conf$$.file 52491a17321Smrgif test -x conf$$.file >/dev/null 2>&1; then 52591a17321Smrg as_executable_p="test -x" 52691a17321Smrgelse 52791a17321Smrg as_executable_p=: 52891a17321Smrgfi 52991a17321Smrgrm -f conf$$.file 53091a17321Smrg 53191a17321Smrg# Sed expression to map a string onto a valid CPP name. 53291a17321Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 53391a17321Smrg 53491a17321Smrg# Sed expression to map a string onto a valid variable name. 53591a17321Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 53691a17321Smrg 53791a17321Smrg 53891a17321Smrg 53991a17321Smrgexec 7<&0 </dev/null 6>&1 54091a17321Smrg 54191a17321Smrg# Name of the host. 54291a17321Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 54391a17321Smrg# so uname gets run too. 54491a17321Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 54591a17321Smrg 54691a17321Smrg# 54791a17321Smrg# Initializations. 54891a17321Smrg# 54991a17321Smrgac_default_prefix=/usr/local 55091a17321Smrgac_clean_files= 55191a17321Smrgac_config_libobj_dir=. 55291a17321SmrgLIBOBJS= 55391a17321Smrgcross_compiling=no 55491a17321Smrgsubdirs= 55591a17321SmrgMFLAGS= 55691a17321SmrgMAKEFLAGS= 55791a17321SmrgSHELL=${CONFIG_SHELL-/bin/sh} 55891a17321Smrg 55991a17321Smrg# Identity of this package. 56091a17321SmrgPACKAGE_NAME='xsetpointer' 56191a17321SmrgPACKAGE_TARNAME='xsetpointer' 56291a17321SmrgPACKAGE_VERSION='1.0.1' 56391a17321SmrgPACKAGE_STRING='xsetpointer 1.0.1' 56491a17321SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 56591a17321Smrg 56691a17321Smrgac_subst_vars='SHELL 56791a17321SmrgPATH_SEPARATOR 56891a17321SmrgPACKAGE_NAME 56991a17321SmrgPACKAGE_TARNAME 57091a17321SmrgPACKAGE_VERSION 57191a17321SmrgPACKAGE_STRING 57291a17321SmrgPACKAGE_BUGREPORT 57391a17321Smrgexec_prefix 57491a17321Smrgprefix 57591a17321Smrgprogram_transform_name 57691a17321Smrgbindir 57791a17321Smrgsbindir 57891a17321Smrglibexecdir 57991a17321Smrgdatarootdir 58091a17321Smrgdatadir 58191a17321Smrgsysconfdir 58291a17321Smrgsharedstatedir 58391a17321Smrglocalstatedir 58491a17321Smrgincludedir 58591a17321Smrgoldincludedir 58691a17321Smrgdocdir 58791a17321Smrginfodir 58891a17321Smrghtmldir 58991a17321Smrgdvidir 59091a17321Smrgpdfdir 59191a17321Smrgpsdir 59291a17321Smrglibdir 59391a17321Smrglocaledir 59491a17321Smrgmandir 59591a17321SmrgDEFS 59691a17321SmrgECHO_C 59791a17321SmrgECHO_N 59891a17321SmrgECHO_T 59991a17321SmrgLIBS 60091a17321Smrgbuild_alias 60191a17321Smrghost_alias 60291a17321Smrgtarget_alias 60391a17321SmrgINSTALL_PROGRAM 60491a17321SmrgINSTALL_SCRIPT 60591a17321SmrgINSTALL_DATA 60691a17321SmrgCYGPATH_W 60791a17321SmrgPACKAGE 60891a17321SmrgVERSION 60991a17321SmrgACLOCAL 61091a17321SmrgAUTOCONF 61191a17321SmrgAUTOMAKE 61291a17321SmrgAUTOHEADER 61391a17321SmrgMAKEINFO 61491a17321Smrginstall_sh 61591a17321SmrgSTRIP 61691a17321SmrgINSTALL_STRIP_PROGRAM 61791a17321Smrgmkdir_p 61891a17321SmrgAWK 61991a17321SmrgSET_MAKE 62091a17321Smrgam__leading_dot 62191a17321SmrgAMTAR 62291a17321Smrgam__tar 62391a17321Smrgam__untar 62491a17321SmrgMAINTAINER_MODE_TRUE 62591a17321SmrgMAINTAINER_MODE_FALSE 62691a17321SmrgMAINT 62791a17321SmrgCC 62891a17321SmrgCFLAGS 62991a17321SmrgLDFLAGS 63091a17321SmrgCPPFLAGS 63191a17321Smrgac_ct_CC 63291a17321SmrgEXEEXT 63391a17321SmrgOBJEXT 63491a17321SmrgDEPDIR 63591a17321Smrgam__include 63691a17321Smrgam__quote 63791a17321SmrgAMDEP_TRUE 63891a17321SmrgAMDEP_FALSE 63991a17321SmrgAMDEPBACKSLASH 64091a17321SmrgCCDEPMODE 64191a17321Smrgam__fastdepCC_TRUE 64291a17321Smrgam__fastdepCC_FALSE 64391a17321SmrgPKG_CONFIG 64491a17321SmrgXSETPOINTER_CFLAGS 64591a17321SmrgXSETPOINTER_LIBS 64691a17321Smrgbuild 64791a17321Smrgbuild_cpu 64891a17321Smrgbuild_vendor 64991a17321Smrgbuild_os 65091a17321Smrghost 65191a17321Smrghost_cpu 65291a17321Smrghost_vendor 65391a17321Smrghost_os 65491a17321SmrgAPP_MAN_SUFFIX 65591a17321SmrgLIB_MAN_SUFFIX 65691a17321SmrgFILE_MAN_SUFFIX 65791a17321SmrgMISC_MAN_SUFFIX 65891a17321SmrgDRIVER_MAN_SUFFIX 65991a17321SmrgADMIN_MAN_SUFFIX 66091a17321SmrgAPP_MAN_DIR 66191a17321SmrgLIB_MAN_DIR 66291a17321SmrgFILE_MAN_DIR 66391a17321SmrgMISC_MAN_DIR 66491a17321SmrgDRIVER_MAN_DIR 66591a17321SmrgADMIN_MAN_DIR 66691a17321SmrgLIBOBJS 66791a17321SmrgLTLIBOBJS' 66891a17321Smrgac_subst_files='' 66991a17321Smrg ac_precious_vars='build_alias 67091a17321Smrghost_alias 67191a17321Smrgtarget_alias 67291a17321SmrgCC 67391a17321SmrgCFLAGS 67491a17321SmrgLDFLAGS 67591a17321SmrgCPPFLAGS 67691a17321SmrgPKG_CONFIG 67791a17321SmrgXSETPOINTER_CFLAGS 67891a17321SmrgXSETPOINTER_LIBS' 67991a17321Smrg 68091a17321Smrg 68191a17321Smrg# Initialize some variables set by options. 68291a17321Smrgac_init_help= 68391a17321Smrgac_init_version=false 68491a17321Smrg# The variables have the same names as the options, with 68591a17321Smrg# dashes changed to underlines. 68691a17321Smrgcache_file=/dev/null 68791a17321Smrgexec_prefix=NONE 68891a17321Smrgno_create= 68991a17321Smrgno_recursion= 69091a17321Smrgprefix=NONE 69191a17321Smrgprogram_prefix=NONE 69291a17321Smrgprogram_suffix=NONE 69391a17321Smrgprogram_transform_name=s,x,x, 69491a17321Smrgsilent= 69591a17321Smrgsite= 69691a17321Smrgsrcdir= 69791a17321Smrgverbose= 69891a17321Smrgx_includes=NONE 69991a17321Smrgx_libraries=NONE 70091a17321Smrg 70191a17321Smrg# Installation directory options. 70291a17321Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 70391a17321Smrg# and all the variables that are supposed to be based on exec_prefix 70491a17321Smrg# by default will actually change. 70591a17321Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 70691a17321Smrg# (The list follows the same order as the GNU Coding Standards.) 70791a17321Smrgbindir='${exec_prefix}/bin' 70891a17321Smrgsbindir='${exec_prefix}/sbin' 70991a17321Smrglibexecdir='${exec_prefix}/libexec' 71091a17321Smrgdatarootdir='${prefix}/share' 71191a17321Smrgdatadir='${datarootdir}' 71291a17321Smrgsysconfdir='${prefix}/etc' 71391a17321Smrgsharedstatedir='${prefix}/com' 71491a17321Smrglocalstatedir='${prefix}/var' 71591a17321Smrgincludedir='${prefix}/include' 71691a17321Smrgoldincludedir='/usr/include' 71791a17321Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 71891a17321Smrginfodir='${datarootdir}/info' 71991a17321Smrghtmldir='${docdir}' 72091a17321Smrgdvidir='${docdir}' 72191a17321Smrgpdfdir='${docdir}' 72291a17321Smrgpsdir='${docdir}' 72391a17321Smrglibdir='${exec_prefix}/lib' 72491a17321Smrglocaledir='${datarootdir}/locale' 72591a17321Smrgmandir='${datarootdir}/man' 72691a17321Smrg 72791a17321Smrgac_prev= 72891a17321Smrgac_dashdash= 72991a17321Smrgfor ac_option 73091a17321Smrgdo 73191a17321Smrg # If the previous option needs an argument, assign it. 73291a17321Smrg if test -n "$ac_prev"; then 73391a17321Smrg eval $ac_prev=\$ac_option 73491a17321Smrg ac_prev= 73591a17321Smrg continue 73691a17321Smrg fi 73791a17321Smrg 73891a17321Smrg case $ac_option in 73991a17321Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 74091a17321Smrg *) ac_optarg=yes ;; 74191a17321Smrg esac 74291a17321Smrg 74391a17321Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 74491a17321Smrg 74591a17321Smrg case $ac_dashdash$ac_option in 74691a17321Smrg --) 74791a17321Smrg ac_dashdash=yes ;; 74891a17321Smrg 74991a17321Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 75091a17321Smrg ac_prev=bindir ;; 75191a17321Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 75291a17321Smrg bindir=$ac_optarg ;; 75391a17321Smrg 75491a17321Smrg -build | --build | --buil | --bui | --bu) 75591a17321Smrg ac_prev=build_alias ;; 75691a17321Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 75791a17321Smrg build_alias=$ac_optarg ;; 75891a17321Smrg 75991a17321Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 76091a17321Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 76191a17321Smrg ac_prev=cache_file ;; 76291a17321Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 76391a17321Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 76491a17321Smrg cache_file=$ac_optarg ;; 76591a17321Smrg 76691a17321Smrg --config-cache | -C) 76791a17321Smrg cache_file=config.cache ;; 76891a17321Smrg 76991a17321Smrg -datadir | --datadir | --datadi | --datad) 77091a17321Smrg ac_prev=datadir ;; 77191a17321Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 77291a17321Smrg datadir=$ac_optarg ;; 77391a17321Smrg 77491a17321Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 77591a17321Smrg | --dataroo | --dataro | --datar) 77691a17321Smrg ac_prev=datarootdir ;; 77791a17321Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 77891a17321Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 77991a17321Smrg datarootdir=$ac_optarg ;; 78091a17321Smrg 78191a17321Smrg -disable-* | --disable-*) 78291a17321Smrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 78391a17321Smrg # Reject names that are not valid shell variable names. 78491a17321Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 78591a17321Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 78691a17321Smrg { (exit 1); exit 1; }; } 78791a17321Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 78891a17321Smrg eval enable_$ac_feature=no ;; 78991a17321Smrg 79091a17321Smrg -docdir | --docdir | --docdi | --doc | --do) 79191a17321Smrg ac_prev=docdir ;; 79291a17321Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 79391a17321Smrg docdir=$ac_optarg ;; 79491a17321Smrg 79591a17321Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 79691a17321Smrg ac_prev=dvidir ;; 79791a17321Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 79891a17321Smrg dvidir=$ac_optarg ;; 79991a17321Smrg 80091a17321Smrg -enable-* | --enable-*) 80191a17321Smrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 80291a17321Smrg # Reject names that are not valid shell variable names. 80391a17321Smrg expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 80491a17321Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 80591a17321Smrg { (exit 1); exit 1; }; } 80691a17321Smrg ac_feature=`echo $ac_feature | sed 's/-/_/g'` 80791a17321Smrg eval enable_$ac_feature=\$ac_optarg ;; 80891a17321Smrg 80991a17321Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 81091a17321Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 81191a17321Smrg | --exec | --exe | --ex) 81291a17321Smrg ac_prev=exec_prefix ;; 81391a17321Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 81491a17321Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 81591a17321Smrg | --exec=* | --exe=* | --ex=*) 81691a17321Smrg exec_prefix=$ac_optarg ;; 81791a17321Smrg 81891a17321Smrg -gas | --gas | --ga | --g) 81991a17321Smrg # Obsolete; use --with-gas. 82091a17321Smrg with_gas=yes ;; 82191a17321Smrg 82291a17321Smrg -help | --help | --hel | --he | -h) 82391a17321Smrg ac_init_help=long ;; 82491a17321Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 82591a17321Smrg ac_init_help=recursive ;; 82691a17321Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 82791a17321Smrg ac_init_help=short ;; 82891a17321Smrg 82991a17321Smrg -host | --host | --hos | --ho) 83091a17321Smrg ac_prev=host_alias ;; 83191a17321Smrg -host=* | --host=* | --hos=* | --ho=*) 83291a17321Smrg host_alias=$ac_optarg ;; 83391a17321Smrg 83491a17321Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 83591a17321Smrg ac_prev=htmldir ;; 83691a17321Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 83791a17321Smrg | --ht=*) 83891a17321Smrg htmldir=$ac_optarg ;; 83991a17321Smrg 84091a17321Smrg -includedir | --includedir | --includedi | --included | --include \ 84191a17321Smrg | --includ | --inclu | --incl | --inc) 84291a17321Smrg ac_prev=includedir ;; 84391a17321Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 84491a17321Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 84591a17321Smrg includedir=$ac_optarg ;; 84691a17321Smrg 84791a17321Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 84891a17321Smrg ac_prev=infodir ;; 84991a17321Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 85091a17321Smrg infodir=$ac_optarg ;; 85191a17321Smrg 85291a17321Smrg -libdir | --libdir | --libdi | --libd) 85391a17321Smrg ac_prev=libdir ;; 85491a17321Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 85591a17321Smrg libdir=$ac_optarg ;; 85691a17321Smrg 85791a17321Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 85891a17321Smrg | --libexe | --libex | --libe) 85991a17321Smrg ac_prev=libexecdir ;; 86091a17321Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 86191a17321Smrg | --libexe=* | --libex=* | --libe=*) 86291a17321Smrg libexecdir=$ac_optarg ;; 86391a17321Smrg 86491a17321Smrg -localedir | --localedir | --localedi | --localed | --locale) 86591a17321Smrg ac_prev=localedir ;; 86691a17321Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 86791a17321Smrg localedir=$ac_optarg ;; 86891a17321Smrg 86991a17321Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 87091a17321Smrg | --localstate | --localstat | --localsta | --localst | --locals) 87191a17321Smrg ac_prev=localstatedir ;; 87291a17321Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 87391a17321Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 87491a17321Smrg localstatedir=$ac_optarg ;; 87591a17321Smrg 87691a17321Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 87791a17321Smrg ac_prev=mandir ;; 87891a17321Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 87991a17321Smrg mandir=$ac_optarg ;; 88091a17321Smrg 88191a17321Smrg -nfp | --nfp | --nf) 88291a17321Smrg # Obsolete; use --without-fp. 88391a17321Smrg with_fp=no ;; 88491a17321Smrg 88591a17321Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 88691a17321Smrg | --no-cr | --no-c | -n) 88791a17321Smrg no_create=yes ;; 88891a17321Smrg 88991a17321Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 89091a17321Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 89191a17321Smrg no_recursion=yes ;; 89291a17321Smrg 89391a17321Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 89491a17321Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 89591a17321Smrg | --oldin | --oldi | --old | --ol | --o) 89691a17321Smrg ac_prev=oldincludedir ;; 89791a17321Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 89891a17321Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 89991a17321Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 90091a17321Smrg oldincludedir=$ac_optarg ;; 90191a17321Smrg 90291a17321Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 90391a17321Smrg ac_prev=prefix ;; 90491a17321Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 90591a17321Smrg prefix=$ac_optarg ;; 90691a17321Smrg 90791a17321Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 90891a17321Smrg | --program-pre | --program-pr | --program-p) 90991a17321Smrg ac_prev=program_prefix ;; 91091a17321Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 91191a17321Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 91291a17321Smrg program_prefix=$ac_optarg ;; 91391a17321Smrg 91491a17321Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 91591a17321Smrg | --program-suf | --program-su | --program-s) 91691a17321Smrg ac_prev=program_suffix ;; 91791a17321Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 91891a17321Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 91991a17321Smrg program_suffix=$ac_optarg ;; 92091a17321Smrg 92191a17321Smrg -program-transform-name | --program-transform-name \ 92291a17321Smrg | --program-transform-nam | --program-transform-na \ 92391a17321Smrg | --program-transform-n | --program-transform- \ 92491a17321Smrg | --program-transform | --program-transfor \ 92591a17321Smrg | --program-transfo | --program-transf \ 92691a17321Smrg | --program-trans | --program-tran \ 92791a17321Smrg | --progr-tra | --program-tr | --program-t) 92891a17321Smrg ac_prev=program_transform_name ;; 92991a17321Smrg -program-transform-name=* | --program-transform-name=* \ 93091a17321Smrg | --program-transform-nam=* | --program-transform-na=* \ 93191a17321Smrg | --program-transform-n=* | --program-transform-=* \ 93291a17321Smrg | --program-transform=* | --program-transfor=* \ 93391a17321Smrg | --program-transfo=* | --program-transf=* \ 93491a17321Smrg | --program-trans=* | --program-tran=* \ 93591a17321Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 93691a17321Smrg program_transform_name=$ac_optarg ;; 93791a17321Smrg 93891a17321Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 93991a17321Smrg ac_prev=pdfdir ;; 94091a17321Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 94191a17321Smrg pdfdir=$ac_optarg ;; 94291a17321Smrg 94391a17321Smrg -psdir | --psdir | --psdi | --psd | --ps) 94491a17321Smrg ac_prev=psdir ;; 94591a17321Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 94691a17321Smrg psdir=$ac_optarg ;; 94791a17321Smrg 94891a17321Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 94991a17321Smrg | -silent | --silent | --silen | --sile | --sil) 95091a17321Smrg silent=yes ;; 95191a17321Smrg 95291a17321Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 95391a17321Smrg ac_prev=sbindir ;; 95491a17321Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 95591a17321Smrg | --sbi=* | --sb=*) 95691a17321Smrg sbindir=$ac_optarg ;; 95791a17321Smrg 95891a17321Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 95991a17321Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 96091a17321Smrg | --sharedst | --shareds | --shared | --share | --shar \ 96191a17321Smrg | --sha | --sh) 96291a17321Smrg ac_prev=sharedstatedir ;; 96391a17321Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 96491a17321Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 96591a17321Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 96691a17321Smrg | --sha=* | --sh=*) 96791a17321Smrg sharedstatedir=$ac_optarg ;; 96891a17321Smrg 96991a17321Smrg -site | --site | --sit) 97091a17321Smrg ac_prev=site ;; 97191a17321Smrg -site=* | --site=* | --sit=*) 97291a17321Smrg site=$ac_optarg ;; 97391a17321Smrg 97491a17321Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 97591a17321Smrg ac_prev=srcdir ;; 97691a17321Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 97791a17321Smrg srcdir=$ac_optarg ;; 97891a17321Smrg 97991a17321Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 98091a17321Smrg | --syscon | --sysco | --sysc | --sys | --sy) 98191a17321Smrg ac_prev=sysconfdir ;; 98291a17321Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 98391a17321Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 98491a17321Smrg sysconfdir=$ac_optarg ;; 98591a17321Smrg 98691a17321Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 98791a17321Smrg ac_prev=target_alias ;; 98891a17321Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 98991a17321Smrg target_alias=$ac_optarg ;; 99091a17321Smrg 99191a17321Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 99291a17321Smrg verbose=yes ;; 99391a17321Smrg 99491a17321Smrg -version | --version | --versio | --versi | --vers | -V) 99591a17321Smrg ac_init_version=: ;; 99691a17321Smrg 99791a17321Smrg -with-* | --with-*) 99891a17321Smrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 99991a17321Smrg # Reject names that are not valid shell variable names. 100091a17321Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 100191a17321Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 100291a17321Smrg { (exit 1); exit 1; }; } 100391a17321Smrg ac_package=`echo $ac_package| sed 's/-/_/g'` 100491a17321Smrg eval with_$ac_package=\$ac_optarg ;; 100591a17321Smrg 100691a17321Smrg -without-* | --without-*) 100791a17321Smrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 100891a17321Smrg # Reject names that are not valid shell variable names. 100991a17321Smrg expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 101091a17321Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 101191a17321Smrg { (exit 1); exit 1; }; } 101291a17321Smrg ac_package=`echo $ac_package | sed 's/-/_/g'` 101391a17321Smrg eval with_$ac_package=no ;; 101491a17321Smrg 101591a17321Smrg --x) 101691a17321Smrg # Obsolete; use --with-x. 101791a17321Smrg with_x=yes ;; 101891a17321Smrg 101991a17321Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 102091a17321Smrg | --x-incl | --x-inc | --x-in | --x-i) 102191a17321Smrg ac_prev=x_includes ;; 102291a17321Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 102391a17321Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 102491a17321Smrg x_includes=$ac_optarg ;; 102591a17321Smrg 102691a17321Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 102791a17321Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 102891a17321Smrg ac_prev=x_libraries ;; 102991a17321Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 103091a17321Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 103191a17321Smrg x_libraries=$ac_optarg ;; 103291a17321Smrg 103391a17321Smrg -*) { echo "$as_me: error: unrecognized option: $ac_option 103491a17321SmrgTry \`$0 --help' for more information." >&2 103591a17321Smrg { (exit 1); exit 1; }; } 103691a17321Smrg ;; 103791a17321Smrg 103891a17321Smrg *=*) 103991a17321Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 104091a17321Smrg # Reject names that are not valid shell variable names. 104191a17321Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 104291a17321Smrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 104391a17321Smrg { (exit 1); exit 1; }; } 104491a17321Smrg eval $ac_envvar=\$ac_optarg 104591a17321Smrg export $ac_envvar ;; 104691a17321Smrg 104791a17321Smrg *) 104891a17321Smrg # FIXME: should be removed in autoconf 3.0. 104991a17321Smrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 105091a17321Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 105191a17321Smrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 105291a17321Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 105391a17321Smrg ;; 105491a17321Smrg 105591a17321Smrg esac 105691a17321Smrgdone 105791a17321Smrg 105891a17321Smrgif test -n "$ac_prev"; then 105991a17321Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 106091a17321Smrg { echo "$as_me: error: missing argument to $ac_option" >&2 106191a17321Smrg { (exit 1); exit 1; }; } 106291a17321Smrgfi 106391a17321Smrg 106491a17321Smrg# Be sure to have absolute directory names. 106591a17321Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 106691a17321Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 106791a17321Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 106891a17321Smrg libdir localedir mandir 106991a17321Smrgdo 107091a17321Smrg eval ac_val=\$$ac_var 107191a17321Smrg case $ac_val in 107291a17321Smrg [\\/$]* | ?:[\\/]* ) continue;; 107391a17321Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 107491a17321Smrg esac 107591a17321Smrg { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 107691a17321Smrg { (exit 1); exit 1; }; } 107791a17321Smrgdone 107891a17321Smrg 107991a17321Smrg# There might be people who depend on the old broken behavior: `$host' 108091a17321Smrg# used to hold the argument of --host etc. 108191a17321Smrg# FIXME: To remove some day. 108291a17321Smrgbuild=$build_alias 108391a17321Smrghost=$host_alias 108491a17321Smrgtarget=$target_alias 108591a17321Smrg 108691a17321Smrg# FIXME: To remove some day. 108791a17321Smrgif test "x$host_alias" != x; then 108891a17321Smrg if test "x$build_alias" = x; then 108991a17321Smrg cross_compiling=maybe 109091a17321Smrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 109191a17321Smrg If a cross compiler is detected then cross compile mode will be used." >&2 109291a17321Smrg elif test "x$build_alias" != "x$host_alias"; then 109391a17321Smrg cross_compiling=yes 109491a17321Smrg fi 109591a17321Smrgfi 109691a17321Smrg 109791a17321Smrgac_tool_prefix= 109891a17321Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 109991a17321Smrg 110091a17321Smrgtest "$silent" = yes && exec 6>/dev/null 110191a17321Smrg 110291a17321Smrg 110391a17321Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 110491a17321Smrgac_ls_di=`ls -di .` && 110591a17321Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 110691a17321Smrg { echo "$as_me: error: Working directory cannot be determined" >&2 110791a17321Smrg { (exit 1); exit 1; }; } 110891a17321Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 110991a17321Smrg { echo "$as_me: error: pwd does not report name of working directory" >&2 111091a17321Smrg { (exit 1); exit 1; }; } 111191a17321Smrg 111291a17321Smrg 111391a17321Smrg# Find the source files, if location was not specified. 111491a17321Smrgif test -z "$srcdir"; then 111591a17321Smrg ac_srcdir_defaulted=yes 111691a17321Smrg # Try the directory containing this script, then the parent directory. 111791a17321Smrg ac_confdir=`$as_dirname -- "$0" || 111891a17321Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 111991a17321Smrg X"$0" : 'X\(//\)[^/]' \| \ 112091a17321Smrg X"$0" : 'X\(//\)$' \| \ 112191a17321Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 112291a17321Smrgecho X"$0" | 112391a17321Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 112491a17321Smrg s//\1/ 112591a17321Smrg q 112691a17321Smrg } 112791a17321Smrg /^X\(\/\/\)[^/].*/{ 112891a17321Smrg s//\1/ 112991a17321Smrg q 113091a17321Smrg } 113191a17321Smrg /^X\(\/\/\)$/{ 113291a17321Smrg s//\1/ 113391a17321Smrg q 113491a17321Smrg } 113591a17321Smrg /^X\(\/\).*/{ 113691a17321Smrg s//\1/ 113791a17321Smrg q 113891a17321Smrg } 113991a17321Smrg s/.*/./; q'` 114091a17321Smrg srcdir=$ac_confdir 114191a17321Smrg if test ! -r "$srcdir/$ac_unique_file"; then 114291a17321Smrg srcdir=.. 114391a17321Smrg fi 114491a17321Smrgelse 114591a17321Smrg ac_srcdir_defaulted=no 114691a17321Smrgfi 114791a17321Smrgif test ! -r "$srcdir/$ac_unique_file"; then 114891a17321Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 114991a17321Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 115091a17321Smrg { (exit 1); exit 1; }; } 115191a17321Smrgfi 115291a17321Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 115391a17321Smrgac_abs_confdir=`( 115491a17321Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 115591a17321Smrg { (exit 1); exit 1; }; } 115691a17321Smrg pwd)` 115791a17321Smrg# When building in place, set srcdir=. 115891a17321Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 115991a17321Smrg srcdir=. 116091a17321Smrgfi 116191a17321Smrg# Remove unnecessary trailing slashes from srcdir. 116291a17321Smrg# Double slashes in file names in object file debugging info 116391a17321Smrg# mess up M-x gdb in Emacs. 116491a17321Smrgcase $srcdir in 116591a17321Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 116691a17321Smrgesac 116791a17321Smrgfor ac_var in $ac_precious_vars; do 116891a17321Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 116991a17321Smrg eval ac_env_${ac_var}_value=\$${ac_var} 117091a17321Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 117191a17321Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 117291a17321Smrgdone 117391a17321Smrg 117491a17321Smrg# 117591a17321Smrg# Report the --help message. 117691a17321Smrg# 117791a17321Smrgif test "$ac_init_help" = "long"; then 117891a17321Smrg # Omit some internal or obsolete options to make the list less imposing. 117991a17321Smrg # This message is too long to be a string in the A/UX 3.1 sh. 118091a17321Smrg cat <<_ACEOF 118191a17321Smrg\`configure' configures xsetpointer 1.0.1 to adapt to many kinds of systems. 118291a17321Smrg 118391a17321SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 118491a17321Smrg 118591a17321SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 118691a17321SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 118791a17321Smrg 118891a17321SmrgDefaults for the options are specified in brackets. 118991a17321Smrg 119091a17321SmrgConfiguration: 119191a17321Smrg -h, --help display this help and exit 119291a17321Smrg --help=short display options specific to this package 119391a17321Smrg --help=recursive display the short help of all the included packages 119491a17321Smrg -V, --version display version information and exit 119591a17321Smrg -q, --quiet, --silent do not print \`checking...' messages 119691a17321Smrg --cache-file=FILE cache test results in FILE [disabled] 119791a17321Smrg -C, --config-cache alias for \`--cache-file=config.cache' 119891a17321Smrg -n, --no-create do not create output files 119991a17321Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 120091a17321Smrg 120191a17321SmrgInstallation directories: 120291a17321Smrg --prefix=PREFIX install architecture-independent files in PREFIX 120391a17321Smrg [$ac_default_prefix] 120491a17321Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 120591a17321Smrg [PREFIX] 120691a17321Smrg 120791a17321SmrgBy default, \`make install' will install all the files in 120891a17321Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 120991a17321Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 121091a17321Smrgfor instance \`--prefix=\$HOME'. 121191a17321Smrg 121291a17321SmrgFor better control, use the options below. 121391a17321Smrg 121491a17321SmrgFine tuning of the installation directories: 121591a17321Smrg --bindir=DIR user executables [EPREFIX/bin] 121691a17321Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 121791a17321Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 121891a17321Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 121991a17321Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 122091a17321Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 122191a17321Smrg --libdir=DIR object code libraries [EPREFIX/lib] 122291a17321Smrg --includedir=DIR C header files [PREFIX/include] 122391a17321Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 122491a17321Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 122591a17321Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 122691a17321Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 122791a17321Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 122891a17321Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 122991a17321Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/xsetpointer] 123091a17321Smrg --htmldir=DIR html documentation [DOCDIR] 123191a17321Smrg --dvidir=DIR dvi documentation [DOCDIR] 123291a17321Smrg --pdfdir=DIR pdf documentation [DOCDIR] 123391a17321Smrg --psdir=DIR ps documentation [DOCDIR] 123491a17321Smrg_ACEOF 123591a17321Smrg 123691a17321Smrg cat <<\_ACEOF 123791a17321Smrg 123891a17321SmrgProgram names: 123991a17321Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 124091a17321Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 124191a17321Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 124291a17321Smrg 124391a17321SmrgSystem types: 124491a17321Smrg --build=BUILD configure for building on BUILD [guessed] 124591a17321Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 124691a17321Smrg_ACEOF 124791a17321Smrgfi 124891a17321Smrg 124991a17321Smrgif test -n "$ac_init_help"; then 125091a17321Smrg case $ac_init_help in 125191a17321Smrg short | recursive ) echo "Configuration of xsetpointer 1.0.1:";; 125291a17321Smrg esac 125391a17321Smrg cat <<\_ACEOF 125491a17321Smrg 125591a17321SmrgOptional Features: 125691a17321Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 125791a17321Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 125891a17321Smrg --enable-maintainer-mode enable make rules and dependencies not useful 125991a17321Smrg (and sometimes confusing) to the casual installer 126091a17321Smrg --disable-dependency-tracking speeds up one-time build 126191a17321Smrg --enable-dependency-tracking do not reject slow dependency extractors 126291a17321Smrg 126391a17321SmrgOptional Packages: 126491a17321Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 126591a17321Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 126691a17321Smrg --with-release-version=STRING 126791a17321Smrg Use release version string in package name 126891a17321Smrg 126991a17321SmrgSome influential environment variables: 127091a17321Smrg CC C compiler command 127191a17321Smrg CFLAGS C compiler flags 127291a17321Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 127391a17321Smrg nonstandard directory <lib dir> 127491a17321Smrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 127591a17321Smrg you have headers in a nonstandard directory <include dir> 127691a17321Smrg PKG_CONFIG path to pkg-config utility 127791a17321Smrg XSETPOINTER_CFLAGS 127891a17321Smrg C compiler flags for XSETPOINTER, overriding pkg-config 127991a17321Smrg XSETPOINTER_LIBS 128091a17321Smrg linker flags for XSETPOINTER, overriding pkg-config 128191a17321Smrg 128291a17321SmrgUse these variables to override the choices made by `configure' or to help 128391a17321Smrgit to find libraries and programs with nonstandard names/locations. 128491a17321Smrg 128591a17321SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 128691a17321Smrg_ACEOF 128791a17321Smrgac_status=$? 128891a17321Smrgfi 128991a17321Smrg 129091a17321Smrgif test "$ac_init_help" = "recursive"; then 129191a17321Smrg # If there are subdirs, report their specific --help. 129291a17321Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 129391a17321Smrg test -d "$ac_dir" || continue 129491a17321Smrg ac_builddir=. 129591a17321Smrg 129691a17321Smrgcase "$ac_dir" in 129791a17321Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 129891a17321Smrg*) 129991a17321Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 130091a17321Smrg # A ".." for each directory in $ac_dir_suffix. 130191a17321Smrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 130291a17321Smrg case $ac_top_builddir_sub in 130391a17321Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 130491a17321Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 130591a17321Smrg esac ;; 130691a17321Smrgesac 130791a17321Smrgac_abs_top_builddir=$ac_pwd 130891a17321Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 130991a17321Smrg# for backward compatibility: 131091a17321Smrgac_top_builddir=$ac_top_build_prefix 131191a17321Smrg 131291a17321Smrgcase $srcdir in 131391a17321Smrg .) # We are building in place. 131491a17321Smrg ac_srcdir=. 131591a17321Smrg ac_top_srcdir=$ac_top_builddir_sub 131691a17321Smrg ac_abs_top_srcdir=$ac_pwd ;; 131791a17321Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 131891a17321Smrg ac_srcdir=$srcdir$ac_dir_suffix; 131991a17321Smrg ac_top_srcdir=$srcdir 132091a17321Smrg ac_abs_top_srcdir=$srcdir ;; 132191a17321Smrg *) # Relative name. 132291a17321Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 132391a17321Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 132491a17321Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 132591a17321Smrgesac 132691a17321Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 132791a17321Smrg 132891a17321Smrg cd "$ac_dir" || { ac_status=$?; continue; } 132991a17321Smrg # Check for guested configure. 133091a17321Smrg if test -f "$ac_srcdir/configure.gnu"; then 133191a17321Smrg echo && 133291a17321Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 133391a17321Smrg elif test -f "$ac_srcdir/configure"; then 133491a17321Smrg echo && 133591a17321Smrg $SHELL "$ac_srcdir/configure" --help=recursive 133691a17321Smrg else 133791a17321Smrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 133891a17321Smrg fi || ac_status=$? 133991a17321Smrg cd "$ac_pwd" || { ac_status=$?; break; } 134091a17321Smrg done 134191a17321Smrgfi 134291a17321Smrg 134391a17321Smrgtest -n "$ac_init_help" && exit $ac_status 134491a17321Smrgif $ac_init_version; then 134591a17321Smrg cat <<\_ACEOF 134691a17321Smrgxsetpointer configure 1.0.1 134791a17321Smrggenerated by GNU Autoconf 2.60 134891a17321Smrg 134991a17321SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 135091a17321Smrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 135191a17321SmrgThis configure script is free software; the Free Software Foundation 135291a17321Smrggives unlimited permission to copy, distribute and modify it. 135391a17321Smrg_ACEOF 135491a17321Smrg exit 135591a17321Smrgfi 135691a17321Smrgcat >config.log <<_ACEOF 135791a17321SmrgThis file contains any messages produced by compilers while 135891a17321Smrgrunning configure, to aid debugging if configure makes a mistake. 135991a17321Smrg 136091a17321SmrgIt was created by xsetpointer $as_me 1.0.1, which was 136191a17321Smrggenerated by GNU Autoconf 2.60. Invocation command line was 136291a17321Smrg 136391a17321Smrg $ $0 $@ 136491a17321Smrg 136591a17321Smrg_ACEOF 136691a17321Smrgexec 5>>config.log 136791a17321Smrg{ 136891a17321Smrgcat <<_ASUNAME 136991a17321Smrg## --------- ## 137091a17321Smrg## Platform. ## 137191a17321Smrg## --------- ## 137291a17321Smrg 137391a17321Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 137491a17321Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 137591a17321Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 137691a17321Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 137791a17321Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 137891a17321Smrg 137991a17321Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 138091a17321Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 138191a17321Smrg 138291a17321Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 138391a17321Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 138491a17321Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 138591a17321Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 138691a17321Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 138791a17321Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 138891a17321Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 138991a17321Smrg 139091a17321Smrg_ASUNAME 139191a17321Smrg 139291a17321Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 139391a17321Smrgfor as_dir in $PATH 139491a17321Smrgdo 139591a17321Smrg IFS=$as_save_IFS 139691a17321Smrg test -z "$as_dir" && as_dir=. 139791a17321Smrg echo "PATH: $as_dir" 139891a17321Smrgdone 139991a17321SmrgIFS=$as_save_IFS 140091a17321Smrg 140191a17321Smrg} >&5 140291a17321Smrg 140391a17321Smrgcat >&5 <<_ACEOF 140491a17321Smrg 140591a17321Smrg 140691a17321Smrg## ----------- ## 140791a17321Smrg## Core tests. ## 140891a17321Smrg## ----------- ## 140991a17321Smrg 141091a17321Smrg_ACEOF 141191a17321Smrg 141291a17321Smrg 141391a17321Smrg# Keep a trace of the command line. 141491a17321Smrg# Strip out --no-create and --no-recursion so they do not pile up. 141591a17321Smrg# Strip out --silent because we don't want to record it for future runs. 141691a17321Smrg# Also quote any args containing shell meta-characters. 141791a17321Smrg# Make two passes to allow for proper duplicate-argument suppression. 141891a17321Smrgac_configure_args= 141991a17321Smrgac_configure_args0= 142091a17321Smrgac_configure_args1= 142191a17321Smrgac_must_keep_next=false 142291a17321Smrgfor ac_pass in 1 2 142391a17321Smrgdo 142491a17321Smrg for ac_arg 142591a17321Smrg do 142691a17321Smrg case $ac_arg in 142791a17321Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 142891a17321Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 142991a17321Smrg | -silent | --silent | --silen | --sile | --sil) 143091a17321Smrg continue ;; 143191a17321Smrg *\'*) 143291a17321Smrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 143391a17321Smrg esac 143491a17321Smrg case $ac_pass in 143591a17321Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 143691a17321Smrg 2) 143791a17321Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 143891a17321Smrg if test $ac_must_keep_next = true; then 143991a17321Smrg ac_must_keep_next=false # Got value, back to normal. 144091a17321Smrg else 144191a17321Smrg case $ac_arg in 144291a17321Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 144391a17321Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 144491a17321Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 144591a17321Smrg | -with-* | --with-* | -without-* | --without-* | --x) 144691a17321Smrg case "$ac_configure_args0 " in 144791a17321Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 144891a17321Smrg esac 144991a17321Smrg ;; 145091a17321Smrg -* ) ac_must_keep_next=true ;; 145191a17321Smrg esac 145291a17321Smrg fi 145391a17321Smrg ac_configure_args="$ac_configure_args '$ac_arg'" 145491a17321Smrg ;; 145591a17321Smrg esac 145691a17321Smrg done 145791a17321Smrgdone 145891a17321Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 145991a17321Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 146091a17321Smrg 146191a17321Smrg# When interrupted or exit'd, cleanup temporary files, and complete 146291a17321Smrg# config.log. We remove comments because anyway the quotes in there 146391a17321Smrg# would cause problems or look ugly. 146491a17321Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 146591a17321Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 146691a17321Smrgtrap 'exit_status=$? 146791a17321Smrg # Save into config.log some information that might help in debugging. 146891a17321Smrg { 146991a17321Smrg echo 147091a17321Smrg 147191a17321Smrg cat <<\_ASBOX 147291a17321Smrg## ---------------- ## 147391a17321Smrg## Cache variables. ## 147491a17321Smrg## ---------------- ## 147591a17321Smrg_ASBOX 147691a17321Smrg echo 147791a17321Smrg # The following way of writing the cache mishandles newlines in values, 147891a17321Smrg( 147991a17321Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 148091a17321Smrg eval ac_val=\$$ac_var 148191a17321Smrg case $ac_val in #( 148291a17321Smrg *${as_nl}*) 148391a17321Smrg case $ac_var in #( 148491a17321Smrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 148591a17321Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 148691a17321Smrg esac 148791a17321Smrg case $ac_var in #( 148891a17321Smrg _ | IFS | as_nl) ;; #( 148991a17321Smrg *) $as_unset $ac_var ;; 149091a17321Smrg esac ;; 149191a17321Smrg esac 149291a17321Smrg done 149391a17321Smrg (set) 2>&1 | 149491a17321Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 149591a17321Smrg *${as_nl}ac_space=\ *) 149691a17321Smrg sed -n \ 149791a17321Smrg "s/'\''/'\''\\\\'\'''\''/g; 149891a17321Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 149991a17321Smrg ;; #( 150091a17321Smrg *) 150191a17321Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 150291a17321Smrg ;; 150391a17321Smrg esac | 150491a17321Smrg sort 150591a17321Smrg) 150691a17321Smrg echo 150791a17321Smrg 150891a17321Smrg cat <<\_ASBOX 150991a17321Smrg## ----------------- ## 151091a17321Smrg## Output variables. ## 151191a17321Smrg## ----------------- ## 151291a17321Smrg_ASBOX 151391a17321Smrg echo 151491a17321Smrg for ac_var in $ac_subst_vars 151591a17321Smrg do 151691a17321Smrg eval ac_val=\$$ac_var 151791a17321Smrg case $ac_val in 151891a17321Smrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 151991a17321Smrg esac 152091a17321Smrg echo "$ac_var='\''$ac_val'\''" 152191a17321Smrg done | sort 152291a17321Smrg echo 152391a17321Smrg 152491a17321Smrg if test -n "$ac_subst_files"; then 152591a17321Smrg cat <<\_ASBOX 152691a17321Smrg## ------------------- ## 152791a17321Smrg## File substitutions. ## 152891a17321Smrg## ------------------- ## 152991a17321Smrg_ASBOX 153091a17321Smrg echo 153191a17321Smrg for ac_var in $ac_subst_files 153291a17321Smrg do 153391a17321Smrg eval ac_val=\$$ac_var 153491a17321Smrg case $ac_val in 153591a17321Smrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 153691a17321Smrg esac 153791a17321Smrg echo "$ac_var='\''$ac_val'\''" 153891a17321Smrg done | sort 153991a17321Smrg echo 154091a17321Smrg fi 154191a17321Smrg 154291a17321Smrg if test -s confdefs.h; then 154391a17321Smrg cat <<\_ASBOX 154491a17321Smrg## ----------- ## 154591a17321Smrg## confdefs.h. ## 154691a17321Smrg## ----------- ## 154791a17321Smrg_ASBOX 154891a17321Smrg echo 154991a17321Smrg cat confdefs.h 155091a17321Smrg echo 155191a17321Smrg fi 155291a17321Smrg test "$ac_signal" != 0 && 155391a17321Smrg echo "$as_me: caught signal $ac_signal" 155491a17321Smrg echo "$as_me: exit $exit_status" 155591a17321Smrg } >&5 155691a17321Smrg rm -f core *.core core.conftest.* && 155791a17321Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 155891a17321Smrg exit $exit_status 155991a17321Smrg' 0 156091a17321Smrgfor ac_signal in 1 2 13 15; do 156191a17321Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 156291a17321Smrgdone 156391a17321Smrgac_signal=0 156491a17321Smrg 156591a17321Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 156691a17321Smrgrm -f -r conftest* confdefs.h 156791a17321Smrg 156891a17321Smrg# Predefined preprocessor variables. 156991a17321Smrg 157091a17321Smrgcat >>confdefs.h <<_ACEOF 157191a17321Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 157291a17321Smrg_ACEOF 157391a17321Smrg 157491a17321Smrg 157591a17321Smrgcat >>confdefs.h <<_ACEOF 157691a17321Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 157791a17321Smrg_ACEOF 157891a17321Smrg 157991a17321Smrg 158091a17321Smrgcat >>confdefs.h <<_ACEOF 158191a17321Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 158291a17321Smrg_ACEOF 158391a17321Smrg 158491a17321Smrg 158591a17321Smrgcat >>confdefs.h <<_ACEOF 158691a17321Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 158791a17321Smrg_ACEOF 158891a17321Smrg 158991a17321Smrg 159091a17321Smrgcat >>confdefs.h <<_ACEOF 159191a17321Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 159291a17321Smrg_ACEOF 159391a17321Smrg 159491a17321Smrg 159591a17321Smrg# Let the site file select an alternate cache file if it wants to. 159691a17321Smrg# Prefer explicitly selected file to automatically selected ones. 159791a17321Smrgif test -n "$CONFIG_SITE"; then 159891a17321Smrg set x "$CONFIG_SITE" 159991a17321Smrgelif test "x$prefix" != xNONE; then 160091a17321Smrg set x "$prefix/share/config.site" "$prefix/etc/config.site" 160191a17321Smrgelse 160291a17321Smrg set x "$ac_default_prefix/share/config.site" \ 160391a17321Smrg "$ac_default_prefix/etc/config.site" 160491a17321Smrgfi 160591a17321Smrgshift 160691a17321Smrgfor ac_site_file 160791a17321Smrgdo 160891a17321Smrg if test -r "$ac_site_file"; then 160991a17321Smrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 161091a17321Smrgecho "$as_me: loading site script $ac_site_file" >&6;} 161191a17321Smrg sed 's/^/| /' "$ac_site_file" >&5 161291a17321Smrg . "$ac_site_file" 161391a17321Smrg fi 161491a17321Smrgdone 161591a17321Smrg 161691a17321Smrgif test -r "$cache_file"; then 161791a17321Smrg # Some versions of bash will fail to source /dev/null (special 161891a17321Smrg # files actually), so we avoid doing that. 161991a17321Smrg if test -f "$cache_file"; then 162091a17321Smrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 162191a17321Smrgecho "$as_me: loading cache $cache_file" >&6;} 162291a17321Smrg case $cache_file in 162391a17321Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 162491a17321Smrg *) . "./$cache_file";; 162591a17321Smrg esac 162691a17321Smrg fi 162791a17321Smrgelse 162891a17321Smrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 162991a17321Smrgecho "$as_me: creating cache $cache_file" >&6;} 163091a17321Smrg >$cache_file 163191a17321Smrgfi 163291a17321Smrg 163391a17321Smrg# Check that the precious variables saved in the cache have kept the same 163491a17321Smrg# value. 163591a17321Smrgac_cache_corrupted=false 163691a17321Smrgfor ac_var in $ac_precious_vars; do 163791a17321Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 163891a17321Smrg eval ac_new_set=\$ac_env_${ac_var}_set 163991a17321Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 164091a17321Smrg eval ac_new_val=\$ac_env_${ac_var}_value 164191a17321Smrg case $ac_old_set,$ac_new_set in 164291a17321Smrg set,) 164391a17321Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 164491a17321Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 164591a17321Smrg ac_cache_corrupted=: ;; 164691a17321Smrg ,set) 164791a17321Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 164891a17321Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 164991a17321Smrg ac_cache_corrupted=: ;; 165091a17321Smrg ,);; 165191a17321Smrg *) 165291a17321Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 165391a17321Smrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 165491a17321Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 165591a17321Smrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 165691a17321Smrgecho "$as_me: former value: $ac_old_val" >&2;} 165791a17321Smrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 165891a17321Smrgecho "$as_me: current value: $ac_new_val" >&2;} 165991a17321Smrg ac_cache_corrupted=: 166091a17321Smrg fi;; 166191a17321Smrg esac 166291a17321Smrg # Pass precious variables to config.status. 166391a17321Smrg if test "$ac_new_set" = set; then 166491a17321Smrg case $ac_new_val in 166591a17321Smrg *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 166691a17321Smrg *) ac_arg=$ac_var=$ac_new_val ;; 166791a17321Smrg esac 166891a17321Smrg case " $ac_configure_args " in 166991a17321Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 167091a17321Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 167191a17321Smrg esac 167291a17321Smrg fi 167391a17321Smrgdone 167491a17321Smrgif $ac_cache_corrupted; then 167591a17321Smrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 167691a17321Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 167791a17321Smrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 167891a17321Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 167991a17321Smrg { (exit 1); exit 1; }; } 168091a17321Smrgfi 168191a17321Smrg 168291a17321Smrg 168391a17321Smrg 168491a17321Smrg 168591a17321Smrg 168691a17321Smrg 168791a17321Smrg 168891a17321Smrg 168991a17321Smrg 169091a17321Smrg 169191a17321Smrg 169291a17321Smrg 169391a17321Smrg 169491a17321Smrg 169591a17321Smrg 169691a17321Smrg 169791a17321Smrg 169891a17321Smrg 169991a17321Smrg 170091a17321Smrg 170191a17321Smrg 170291a17321Smrg 170391a17321Smrg 170491a17321Smrg 170591a17321Smrg 170691a17321Smrgac_ext=c 170791a17321Smrgac_cpp='$CPP $CPPFLAGS' 170891a17321Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 170991a17321Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 171091a17321Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 171191a17321Smrg 171291a17321Smrg 171391a17321Smrgam__api_version="1.9" 171491a17321Smrgac_aux_dir= 171591a17321Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 171691a17321Smrg if test -f "$ac_dir/install-sh"; then 171791a17321Smrg ac_aux_dir=$ac_dir 171891a17321Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 171991a17321Smrg break 172091a17321Smrg elif test -f "$ac_dir/install.sh"; then 172191a17321Smrg ac_aux_dir=$ac_dir 172291a17321Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 172391a17321Smrg break 172491a17321Smrg elif test -f "$ac_dir/shtool"; then 172591a17321Smrg ac_aux_dir=$ac_dir 172691a17321Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 172791a17321Smrg break 172891a17321Smrg fi 172991a17321Smrgdone 173091a17321Smrgif test -z "$ac_aux_dir"; then 173191a17321Smrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 173291a17321Smrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 173391a17321Smrg { (exit 1); exit 1; }; } 173491a17321Smrgfi 173591a17321Smrg 173691a17321Smrg# These three variables are undocumented and unsupported, 173791a17321Smrg# and are intended to be withdrawn in a future Autoconf release. 173891a17321Smrg# They can cause serious problems if a builder's source tree is in a directory 173991a17321Smrg# whose full name contains unusual characters. 174091a17321Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 174191a17321Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 174291a17321Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 174391a17321Smrg 174491a17321Smrg 174591a17321Smrg# Find a good install program. We prefer a C program (faster), 174691a17321Smrg# so one script is as good as another. But avoid the broken or 174791a17321Smrg# incompatible versions: 174891a17321Smrg# SysV /etc/install, /usr/sbin/install 174991a17321Smrg# SunOS /usr/etc/install 175091a17321Smrg# IRIX /sbin/install 175191a17321Smrg# AIX /bin/install 175291a17321Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 175391a17321Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 175491a17321Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 175591a17321Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 175691a17321Smrg# OS/2's system install, which has a completely different semantic 175791a17321Smrg# ./install, which can be erroneously created by make from ./install.sh. 175891a17321Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 175991a17321Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 176091a17321Smrgif test -z "$INSTALL"; then 176191a17321Smrgif test "${ac_cv_path_install+set}" = set; then 176291a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 176391a17321Smrgelse 176491a17321Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 176591a17321Smrgfor as_dir in $PATH 176691a17321Smrgdo 176791a17321Smrg IFS=$as_save_IFS 176891a17321Smrg test -z "$as_dir" && as_dir=. 176991a17321Smrg # Account for people who put trailing slashes in PATH elements. 177091a17321Smrgcase $as_dir/ in 177191a17321Smrg ./ | .// | /cC/* | \ 177291a17321Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 177391a17321Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 177491a17321Smrg /usr/ucb/* ) ;; 177591a17321Smrg *) 177691a17321Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 177791a17321Smrg # Don't use installbsd from OSF since it installs stuff as root 177891a17321Smrg # by default. 177991a17321Smrg for ac_prog in ginstall scoinst install; do 178091a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 178191a17321Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 178291a17321Smrg if test $ac_prog = install && 178391a17321Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 178491a17321Smrg # AIX install. It has an incompatible calling convention. 178591a17321Smrg : 178691a17321Smrg elif test $ac_prog = install && 178791a17321Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 178891a17321Smrg # program-specific install script used by HP pwplus--don't use. 178991a17321Smrg : 179091a17321Smrg else 179191a17321Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 179291a17321Smrg break 3 179391a17321Smrg fi 179491a17321Smrg fi 179591a17321Smrg done 179691a17321Smrg done 179791a17321Smrg ;; 179891a17321Smrgesac 179991a17321Smrgdone 180091a17321SmrgIFS=$as_save_IFS 180191a17321Smrg 180291a17321Smrg 180391a17321Smrgfi 180491a17321Smrg if test "${ac_cv_path_install+set}" = set; then 180591a17321Smrg INSTALL=$ac_cv_path_install 180691a17321Smrg else 180791a17321Smrg # As a last resort, use the slow shell script. Don't cache a 180891a17321Smrg # value for INSTALL within a source directory, because that will 180991a17321Smrg # break other packages using the cache if that directory is 181091a17321Smrg # removed, or if the value is a relative name. 181191a17321Smrg INSTALL=$ac_install_sh 181291a17321Smrg fi 181391a17321Smrgfi 181491a17321Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 181591a17321Smrgecho "${ECHO_T}$INSTALL" >&6; } 181691a17321Smrg 181791a17321Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 181891a17321Smrg# It thinks the first close brace ends the variable substitution. 181991a17321Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 182091a17321Smrg 182191a17321Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 182291a17321Smrg 182391a17321Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 182491a17321Smrg 182591a17321Smrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 182691a17321Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 182791a17321Smrg# Just in case 182891a17321Smrgsleep 1 182991a17321Smrgecho timestamp > conftest.file 183091a17321Smrg# Do `set' in a subshell so we don't clobber the current shell's 183191a17321Smrg# arguments. Must try -L first in case configure is actually a 183291a17321Smrg# symlink; some systems play weird games with the mod time of symlinks 183391a17321Smrg# (eg FreeBSD returns the mod time of the symlink's containing 183491a17321Smrg# directory). 183591a17321Smrgif ( 183691a17321Smrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 183791a17321Smrg if test "$*" = "X"; then 183891a17321Smrg # -L didn't work. 183991a17321Smrg set X `ls -t $srcdir/configure conftest.file` 184091a17321Smrg fi 184191a17321Smrg rm -f conftest.file 184291a17321Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 184391a17321Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 184491a17321Smrg 184591a17321Smrg # If neither matched, then we have a broken ls. This can happen 184691a17321Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 184791a17321Smrg # broken ls alias from the environment. This has actually 184891a17321Smrg # happened. Such a system could not be considered "sane". 184991a17321Smrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 185091a17321Smrgalias in your environment" >&5 185191a17321Smrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 185291a17321Smrgalias in your environment" >&2;} 185391a17321Smrg { (exit 1); exit 1; }; } 185491a17321Smrg fi 185591a17321Smrg 185691a17321Smrg test "$2" = conftest.file 185791a17321Smrg ) 185891a17321Smrgthen 185991a17321Smrg # Ok. 186091a17321Smrg : 186191a17321Smrgelse 186291a17321Smrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 186391a17321SmrgCheck your system clock" >&5 186491a17321Smrgecho "$as_me: error: newly created file is older than distributed files! 186591a17321SmrgCheck your system clock" >&2;} 186691a17321Smrg { (exit 1); exit 1; }; } 186791a17321Smrgfi 186891a17321Smrg{ echo "$as_me:$LINENO: result: yes" >&5 186991a17321Smrgecho "${ECHO_T}yes" >&6; } 187091a17321Smrgtest "$program_prefix" != NONE && 187191a17321Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 187291a17321Smrg# Use a double $ so make ignores it. 187391a17321Smrgtest "$program_suffix" != NONE && 187491a17321Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 187591a17321Smrg# Double any \ or $. echo might interpret backslashes. 187691a17321Smrg# By default was `s,x,x', remove it if useless. 187791a17321Smrgcat <<\_ACEOF >conftest.sed 187891a17321Smrgs/[\\$]/&&/g;s/;s,x,x,$// 187991a17321Smrg_ACEOF 188091a17321Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 188191a17321Smrgrm -f conftest.sed 188291a17321Smrg 188391a17321Smrg# expand $ac_aux_dir to an absolute path 188491a17321Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 188591a17321Smrg 188691a17321Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 188791a17321Smrg# Use eval to expand $SHELL 188891a17321Smrgif eval "$MISSING --run true"; then 188991a17321Smrg am_missing_run="$MISSING --run " 189091a17321Smrgelse 189191a17321Smrg am_missing_run= 189291a17321Smrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 189391a17321Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 189491a17321Smrgfi 189591a17321Smrg 189691a17321Smrgif mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 189791a17321Smrg # We used to keeping the `.' as first argument, in order to 189891a17321Smrg # allow $(mkdir_p) to be used without argument. As in 189991a17321Smrg # $(mkdir_p) $(somedir) 190091a17321Smrg # where $(somedir) is conditionally defined. However this is wrong 190191a17321Smrg # for two reasons: 190291a17321Smrg # 1. if the package is installed by a user who cannot write `.' 190391a17321Smrg # make install will fail, 190491a17321Smrg # 2. the above comment should most certainly read 190591a17321Smrg # $(mkdir_p) $(DESTDIR)$(somedir) 190691a17321Smrg # so it does not work when $(somedir) is undefined and 190791a17321Smrg # $(DESTDIR) is not. 190891a17321Smrg # To support the latter case, we have to write 190991a17321Smrg # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 191091a17321Smrg # so the `.' trick is pointless. 191191a17321Smrg mkdir_p='mkdir -p --' 191291a17321Smrgelse 191391a17321Smrg # On NextStep and OpenStep, the `mkdir' command does not 191491a17321Smrg # recognize any option. It will interpret all options as 191591a17321Smrg # directories to create, and then abort because `.' already 191691a17321Smrg # exists. 191791a17321Smrg for d in ./-p ./--version; 191891a17321Smrg do 191991a17321Smrg test -d $d && rmdir $d 192091a17321Smrg done 192191a17321Smrg # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 192291a17321Smrg if test -f "$ac_aux_dir/mkinstalldirs"; then 192391a17321Smrg mkdir_p='$(mkinstalldirs)' 192491a17321Smrg else 192591a17321Smrg mkdir_p='$(install_sh) -d' 192691a17321Smrg fi 192791a17321Smrgfi 192891a17321Smrg 192991a17321Smrgfor ac_prog in gawk mawk nawk awk 193091a17321Smrgdo 193191a17321Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 193291a17321Smrgset dummy $ac_prog; ac_word=$2 193391a17321Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 193491a17321Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 193591a17321Smrgif test "${ac_cv_prog_AWK+set}" = set; then 193691a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 193791a17321Smrgelse 193891a17321Smrg if test -n "$AWK"; then 193991a17321Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 194091a17321Smrgelse 194191a17321Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 194291a17321Smrgfor as_dir in $PATH 194391a17321Smrgdo 194491a17321Smrg IFS=$as_save_IFS 194591a17321Smrg test -z "$as_dir" && as_dir=. 194691a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 194791a17321Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 194891a17321Smrg ac_cv_prog_AWK="$ac_prog" 194991a17321Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 195091a17321Smrg break 2 195191a17321Smrg fi 195291a17321Smrgdone 195391a17321Smrgdone 195491a17321SmrgIFS=$as_save_IFS 195591a17321Smrg 195691a17321Smrgfi 195791a17321Smrgfi 195891a17321SmrgAWK=$ac_cv_prog_AWK 195991a17321Smrgif test -n "$AWK"; then 196091a17321Smrg { echo "$as_me:$LINENO: result: $AWK" >&5 196191a17321Smrgecho "${ECHO_T}$AWK" >&6; } 196291a17321Smrgelse 196391a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 196491a17321Smrgecho "${ECHO_T}no" >&6; } 196591a17321Smrgfi 196691a17321Smrg 196791a17321Smrg 196891a17321Smrg test -n "$AWK" && break 196991a17321Smrgdone 197091a17321Smrg 197191a17321Smrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 197291a17321Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 197391a17321Smrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 197491a17321Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 197591a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 197691a17321Smrgelse 197791a17321Smrg cat >conftest.make <<\_ACEOF 197891a17321SmrgSHELL = /bin/sh 197991a17321Smrgall: 198091a17321Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 198191a17321Smrg_ACEOF 198291a17321Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 198391a17321Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 198491a17321Smrg *@@@%%%=?*=@@@%%%*) 198591a17321Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 198691a17321Smrg *) 198791a17321Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 198891a17321Smrgesac 198991a17321Smrgrm -f conftest.make 199091a17321Smrgfi 199191a17321Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 199291a17321Smrg { echo "$as_me:$LINENO: result: yes" >&5 199391a17321Smrgecho "${ECHO_T}yes" >&6; } 199491a17321Smrg SET_MAKE= 199591a17321Smrgelse 199691a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 199791a17321Smrgecho "${ECHO_T}no" >&6; } 199891a17321Smrg SET_MAKE="MAKE=${MAKE-make}" 199991a17321Smrgfi 200091a17321Smrg 200191a17321Smrgrm -rf .tst 2>/dev/null 200291a17321Smrgmkdir .tst 2>/dev/null 200391a17321Smrgif test -d .tst; then 200491a17321Smrg am__leading_dot=. 200591a17321Smrgelse 200691a17321Smrg am__leading_dot=_ 200791a17321Smrgfi 200891a17321Smrgrmdir .tst 2>/dev/null 200991a17321Smrg 201091a17321Smrg# test to see if srcdir already configured 201191a17321Smrgif test "`cd $srcdir && pwd`" != "`pwd`" && 201291a17321Smrg test -f $srcdir/config.status; then 201391a17321Smrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 201491a17321Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 201591a17321Smrg { (exit 1); exit 1; }; } 201691a17321Smrgfi 201791a17321Smrg 201891a17321Smrg# test whether we have cygpath 201991a17321Smrgif test -z "$CYGPATH_W"; then 202091a17321Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 202191a17321Smrg CYGPATH_W='cygpath -w' 202291a17321Smrg else 202391a17321Smrg CYGPATH_W=echo 202491a17321Smrg fi 202591a17321Smrgfi 202691a17321Smrg 202791a17321Smrg 202891a17321Smrg# Define the identity of the package. 202991a17321Smrg PACKAGE='xsetpointer' 203091a17321Smrg VERSION='1.0.1' 203191a17321Smrg 203291a17321Smrg 203391a17321Smrgcat >>confdefs.h <<_ACEOF 203491a17321Smrg#define PACKAGE "$PACKAGE" 203591a17321Smrg_ACEOF 203691a17321Smrg 203791a17321Smrg 203891a17321Smrgcat >>confdefs.h <<_ACEOF 203991a17321Smrg#define VERSION "$VERSION" 204091a17321Smrg_ACEOF 204191a17321Smrg 204291a17321Smrg# Some tools Automake needs. 204391a17321Smrg 204491a17321SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 204591a17321Smrg 204691a17321Smrg 204791a17321SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 204891a17321Smrg 204991a17321Smrg 205091a17321SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 205191a17321Smrg 205291a17321Smrg 205391a17321SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 205491a17321Smrg 205591a17321Smrg 205691a17321SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 205791a17321Smrg 205891a17321Smrginstall_sh=${install_sh-"$am_aux_dir/install-sh"} 205991a17321Smrg 206091a17321Smrg# Installed binaries are usually stripped using `strip' when the user 206191a17321Smrg# run `make install-strip'. However `strip' might not be the right 206291a17321Smrg# tool to use in cross-compilation environments, therefore Automake 206391a17321Smrg# will honor the `STRIP' environment variable to overrule this program. 206491a17321Smrgif test "$cross_compiling" != no; then 206591a17321Smrg if test -n "$ac_tool_prefix"; then 206691a17321Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 206791a17321Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 206891a17321Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 206991a17321Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 207091a17321Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 207191a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 207291a17321Smrgelse 207391a17321Smrg if test -n "$STRIP"; then 207491a17321Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 207591a17321Smrgelse 207691a17321Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 207791a17321Smrgfor as_dir in $PATH 207891a17321Smrgdo 207991a17321Smrg IFS=$as_save_IFS 208091a17321Smrg test -z "$as_dir" && as_dir=. 208191a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 208291a17321Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 208391a17321Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 208491a17321Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 208591a17321Smrg break 2 208691a17321Smrg fi 208791a17321Smrgdone 208891a17321Smrgdone 208991a17321SmrgIFS=$as_save_IFS 209091a17321Smrg 209191a17321Smrgfi 209291a17321Smrgfi 209391a17321SmrgSTRIP=$ac_cv_prog_STRIP 209491a17321Smrgif test -n "$STRIP"; then 209591a17321Smrg { echo "$as_me:$LINENO: result: $STRIP" >&5 209691a17321Smrgecho "${ECHO_T}$STRIP" >&6; } 209791a17321Smrgelse 209891a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 209991a17321Smrgecho "${ECHO_T}no" >&6; } 210091a17321Smrgfi 210191a17321Smrg 210291a17321Smrg 210391a17321Smrgfi 210491a17321Smrgif test -z "$ac_cv_prog_STRIP"; then 210591a17321Smrg ac_ct_STRIP=$STRIP 210691a17321Smrg # Extract the first word of "strip", so it can be a program name with args. 210791a17321Smrgset dummy strip; ac_word=$2 210891a17321Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 210991a17321Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 211091a17321Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 211191a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 211291a17321Smrgelse 211391a17321Smrg if test -n "$ac_ct_STRIP"; then 211491a17321Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 211591a17321Smrgelse 211691a17321Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211791a17321Smrgfor as_dir in $PATH 211891a17321Smrgdo 211991a17321Smrg IFS=$as_save_IFS 212091a17321Smrg test -z "$as_dir" && as_dir=. 212191a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 212291a17321Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 212391a17321Smrg ac_cv_prog_ac_ct_STRIP="strip" 212491a17321Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 212591a17321Smrg break 2 212691a17321Smrg fi 212791a17321Smrgdone 212891a17321Smrgdone 212991a17321SmrgIFS=$as_save_IFS 213091a17321Smrg 213191a17321Smrgfi 213291a17321Smrgfi 213391a17321Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 213491a17321Smrgif test -n "$ac_ct_STRIP"; then 213591a17321Smrg { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 213691a17321Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6; } 213791a17321Smrgelse 213891a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 213991a17321Smrgecho "${ECHO_T}no" >&6; } 214091a17321Smrgfi 214191a17321Smrg 214291a17321Smrg if test "x$ac_ct_STRIP" = x; then 214391a17321Smrg STRIP=":" 214491a17321Smrg else 214591a17321Smrg case $cross_compiling:$ac_tool_warned in 214691a17321Smrgyes:) 214791a17321Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 214891a17321Smrgwhose name does not start with the host triplet. If you think this 214991a17321Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 215091a17321Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 215191a17321Smrgwhose name does not start with the host triplet. If you think this 215291a17321Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 215391a17321Smrgac_tool_warned=yes ;; 215491a17321Smrgesac 215591a17321Smrg STRIP=$ac_ct_STRIP 215691a17321Smrg fi 215791a17321Smrgelse 215891a17321Smrg STRIP="$ac_cv_prog_STRIP" 215991a17321Smrgfi 216091a17321Smrg 216191a17321Smrgfi 216291a17321SmrgINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 216391a17321Smrg 216491a17321Smrg# We need awk for the "check" target. The system "awk" is bad on 216591a17321Smrg# some platforms. 216691a17321Smrg# Always define AMTAR for backward compatibility. 216791a17321Smrg 216891a17321SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 216991a17321Smrg 217091a17321Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 217191a17321Smrg 217291a17321Smrg 217391a17321Smrg 217491a17321Smrg 217591a17321Smrg 217691a17321Smrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 217791a17321Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 217891a17321Smrg # Check whether --enable-maintainer-mode was given. 217991a17321Smrgif test "${enable_maintainer_mode+set}" = set; then 218091a17321Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 218191a17321Smrgelse 218291a17321Smrg USE_MAINTAINER_MODE=no 218391a17321Smrgfi 218491a17321Smrg 218591a17321Smrg { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 218691a17321Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 218791a17321Smrg 218891a17321Smrg 218991a17321Smrgif test $USE_MAINTAINER_MODE = yes; then 219091a17321Smrg MAINTAINER_MODE_TRUE= 219191a17321Smrg MAINTAINER_MODE_FALSE='#' 219291a17321Smrgelse 219391a17321Smrg MAINTAINER_MODE_TRUE='#' 219491a17321Smrg MAINTAINER_MODE_FALSE= 219591a17321Smrgfi 219691a17321Smrg 219791a17321Smrg MAINT=$MAINTAINER_MODE_TRUE 219891a17321Smrg 219991a17321Smrg 220091a17321Smrg 220191a17321Smrgac_config_headers="$ac_config_headers config.h" 220291a17321Smrg 220391a17321Smrg 220491a17321Smrgac_ext=c 220591a17321Smrgac_cpp='$CPP $CPPFLAGS' 220691a17321Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 220791a17321Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 220891a17321Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 220991a17321Smrgif test -n "$ac_tool_prefix"; then 221091a17321Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 221191a17321Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 221291a17321Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 221391a17321Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 221491a17321Smrgif test "${ac_cv_prog_CC+set}" = set; then 221591a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 221691a17321Smrgelse 221791a17321Smrg if test -n "$CC"; then 221891a17321Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 221991a17321Smrgelse 222091a17321Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222191a17321Smrgfor as_dir in $PATH 222291a17321Smrgdo 222391a17321Smrg IFS=$as_save_IFS 222491a17321Smrg test -z "$as_dir" && as_dir=. 222591a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 222691a17321Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 222791a17321Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 222891a17321Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 222991a17321Smrg break 2 223091a17321Smrg fi 223191a17321Smrgdone 223291a17321Smrgdone 223391a17321SmrgIFS=$as_save_IFS 223491a17321Smrg 223591a17321Smrgfi 223691a17321Smrgfi 223791a17321SmrgCC=$ac_cv_prog_CC 223891a17321Smrgif test -n "$CC"; then 223991a17321Smrg { echo "$as_me:$LINENO: result: $CC" >&5 224091a17321Smrgecho "${ECHO_T}$CC" >&6; } 224191a17321Smrgelse 224291a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 224391a17321Smrgecho "${ECHO_T}no" >&6; } 224491a17321Smrgfi 224591a17321Smrg 224691a17321Smrg 224791a17321Smrgfi 224891a17321Smrgif test -z "$ac_cv_prog_CC"; then 224991a17321Smrg ac_ct_CC=$CC 225091a17321Smrg # Extract the first word of "gcc", so it can be a program name with args. 225191a17321Smrgset dummy gcc; ac_word=$2 225291a17321Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 225391a17321Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 225491a17321Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 225591a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 225691a17321Smrgelse 225791a17321Smrg if test -n "$ac_ct_CC"; then 225891a17321Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 225991a17321Smrgelse 226091a17321Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 226191a17321Smrgfor as_dir in $PATH 226291a17321Smrgdo 226391a17321Smrg IFS=$as_save_IFS 226491a17321Smrg test -z "$as_dir" && as_dir=. 226591a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 226691a17321Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 226791a17321Smrg ac_cv_prog_ac_ct_CC="gcc" 226891a17321Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 226991a17321Smrg break 2 227091a17321Smrg fi 227191a17321Smrgdone 227291a17321Smrgdone 227391a17321SmrgIFS=$as_save_IFS 227491a17321Smrg 227591a17321Smrgfi 227691a17321Smrgfi 227791a17321Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 227891a17321Smrgif test -n "$ac_ct_CC"; then 227991a17321Smrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 228091a17321Smrgecho "${ECHO_T}$ac_ct_CC" >&6; } 228191a17321Smrgelse 228291a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 228391a17321Smrgecho "${ECHO_T}no" >&6; } 228491a17321Smrgfi 228591a17321Smrg 228691a17321Smrg if test "x$ac_ct_CC" = x; then 228791a17321Smrg CC="" 228891a17321Smrg else 228991a17321Smrg case $cross_compiling:$ac_tool_warned in 229091a17321Smrgyes:) 229191a17321Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 229291a17321Smrgwhose name does not start with the host triplet. If you think this 229391a17321Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 229491a17321Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 229591a17321Smrgwhose name does not start with the host triplet. If you think this 229691a17321Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 229791a17321Smrgac_tool_warned=yes ;; 229891a17321Smrgesac 229991a17321Smrg CC=$ac_ct_CC 230091a17321Smrg fi 230191a17321Smrgelse 230291a17321Smrg CC="$ac_cv_prog_CC" 230391a17321Smrgfi 230491a17321Smrg 230591a17321Smrgif test -z "$CC"; then 230691a17321Smrg if test -n "$ac_tool_prefix"; then 230791a17321Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 230891a17321Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 230991a17321Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 231091a17321Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 231191a17321Smrgif test "${ac_cv_prog_CC+set}" = set; then 231291a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 231391a17321Smrgelse 231491a17321Smrg if test -n "$CC"; then 231591a17321Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 231691a17321Smrgelse 231791a17321Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 231891a17321Smrgfor as_dir in $PATH 231991a17321Smrgdo 232091a17321Smrg IFS=$as_save_IFS 232191a17321Smrg test -z "$as_dir" && as_dir=. 232291a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 232391a17321Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 232491a17321Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 232591a17321Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 232691a17321Smrg break 2 232791a17321Smrg fi 232891a17321Smrgdone 232991a17321Smrgdone 233091a17321SmrgIFS=$as_save_IFS 233191a17321Smrg 233291a17321Smrgfi 233391a17321Smrgfi 233491a17321SmrgCC=$ac_cv_prog_CC 233591a17321Smrgif test -n "$CC"; then 233691a17321Smrg { echo "$as_me:$LINENO: result: $CC" >&5 233791a17321Smrgecho "${ECHO_T}$CC" >&6; } 233891a17321Smrgelse 233991a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 234091a17321Smrgecho "${ECHO_T}no" >&6; } 234191a17321Smrgfi 234291a17321Smrg 234391a17321Smrg 234491a17321Smrg fi 234591a17321Smrgfi 234691a17321Smrgif test -z "$CC"; then 234791a17321Smrg # Extract the first word of "cc", so it can be a program name with args. 234891a17321Smrgset dummy cc; ac_word=$2 234991a17321Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 235091a17321Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 235191a17321Smrgif test "${ac_cv_prog_CC+set}" = set; then 235291a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 235391a17321Smrgelse 235491a17321Smrg if test -n "$CC"; then 235591a17321Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 235691a17321Smrgelse 235791a17321Smrg ac_prog_rejected=no 235891a17321Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 235991a17321Smrgfor as_dir in $PATH 236091a17321Smrgdo 236191a17321Smrg IFS=$as_save_IFS 236291a17321Smrg test -z "$as_dir" && as_dir=. 236391a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 236491a17321Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 236591a17321Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 236691a17321Smrg ac_prog_rejected=yes 236791a17321Smrg continue 236891a17321Smrg fi 236991a17321Smrg ac_cv_prog_CC="cc" 237091a17321Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 237191a17321Smrg break 2 237291a17321Smrg fi 237391a17321Smrgdone 237491a17321Smrgdone 237591a17321SmrgIFS=$as_save_IFS 237691a17321Smrg 237791a17321Smrgif test $ac_prog_rejected = yes; then 237891a17321Smrg # We found a bogon in the path, so make sure we never use it. 237991a17321Smrg set dummy $ac_cv_prog_CC 238091a17321Smrg shift 238191a17321Smrg if test $# != 0; then 238291a17321Smrg # We chose a different compiler from the bogus one. 238391a17321Smrg # However, it has the same basename, so the bogon will be chosen 238491a17321Smrg # first if we set CC to just the basename; use the full file name. 238591a17321Smrg shift 238691a17321Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 238791a17321Smrg fi 238891a17321Smrgfi 238991a17321Smrgfi 239091a17321Smrgfi 239191a17321SmrgCC=$ac_cv_prog_CC 239291a17321Smrgif test -n "$CC"; then 239391a17321Smrg { echo "$as_me:$LINENO: result: $CC" >&5 239491a17321Smrgecho "${ECHO_T}$CC" >&6; } 239591a17321Smrgelse 239691a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 239791a17321Smrgecho "${ECHO_T}no" >&6; } 239891a17321Smrgfi 239991a17321Smrg 240091a17321Smrg 240191a17321Smrgfi 240291a17321Smrgif test -z "$CC"; then 240391a17321Smrg if test -n "$ac_tool_prefix"; then 240491a17321Smrg for ac_prog in cl.exe 240591a17321Smrg do 240691a17321Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 240791a17321Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 240891a17321Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 240991a17321Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 241091a17321Smrgif test "${ac_cv_prog_CC+set}" = set; then 241191a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 241291a17321Smrgelse 241391a17321Smrg if test -n "$CC"; then 241491a17321Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 241591a17321Smrgelse 241691a17321Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 241791a17321Smrgfor as_dir in $PATH 241891a17321Smrgdo 241991a17321Smrg IFS=$as_save_IFS 242091a17321Smrg test -z "$as_dir" && as_dir=. 242191a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 242291a17321Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 242391a17321Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 242491a17321Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 242591a17321Smrg break 2 242691a17321Smrg fi 242791a17321Smrgdone 242891a17321Smrgdone 242991a17321SmrgIFS=$as_save_IFS 243091a17321Smrg 243191a17321Smrgfi 243291a17321Smrgfi 243391a17321SmrgCC=$ac_cv_prog_CC 243491a17321Smrgif test -n "$CC"; then 243591a17321Smrg { echo "$as_me:$LINENO: result: $CC" >&5 243691a17321Smrgecho "${ECHO_T}$CC" >&6; } 243791a17321Smrgelse 243891a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 243991a17321Smrgecho "${ECHO_T}no" >&6; } 244091a17321Smrgfi 244191a17321Smrg 244291a17321Smrg 244391a17321Smrg test -n "$CC" && break 244491a17321Smrg done 244591a17321Smrgfi 244691a17321Smrgif test -z "$CC"; then 244791a17321Smrg ac_ct_CC=$CC 244891a17321Smrg for ac_prog in cl.exe 244991a17321Smrgdo 245091a17321Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 245191a17321Smrgset dummy $ac_prog; ac_word=$2 245291a17321Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 245391a17321Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 245491a17321Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 245591a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 245691a17321Smrgelse 245791a17321Smrg if test -n "$ac_ct_CC"; then 245891a17321Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 245991a17321Smrgelse 246091a17321Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 246191a17321Smrgfor as_dir in $PATH 246291a17321Smrgdo 246391a17321Smrg IFS=$as_save_IFS 246491a17321Smrg test -z "$as_dir" && as_dir=. 246591a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 246691a17321Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 246791a17321Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 246891a17321Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 246991a17321Smrg break 2 247091a17321Smrg fi 247191a17321Smrgdone 247291a17321Smrgdone 247391a17321SmrgIFS=$as_save_IFS 247491a17321Smrg 247591a17321Smrgfi 247691a17321Smrgfi 247791a17321Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 247891a17321Smrgif test -n "$ac_ct_CC"; then 247991a17321Smrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 248091a17321Smrgecho "${ECHO_T}$ac_ct_CC" >&6; } 248191a17321Smrgelse 248291a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 248391a17321Smrgecho "${ECHO_T}no" >&6; } 248491a17321Smrgfi 248591a17321Smrg 248691a17321Smrg 248791a17321Smrg test -n "$ac_ct_CC" && break 248891a17321Smrgdone 248991a17321Smrg 249091a17321Smrg if test "x$ac_ct_CC" = x; then 249191a17321Smrg CC="" 249291a17321Smrg else 249391a17321Smrg case $cross_compiling:$ac_tool_warned in 249491a17321Smrgyes:) 249591a17321Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 249691a17321Smrgwhose name does not start with the host triplet. If you think this 249791a17321Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 249891a17321Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 249991a17321Smrgwhose name does not start with the host triplet. If you think this 250091a17321Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 250191a17321Smrgac_tool_warned=yes ;; 250291a17321Smrgesac 250391a17321Smrg CC=$ac_ct_CC 250491a17321Smrg fi 250591a17321Smrgfi 250691a17321Smrg 250791a17321Smrgfi 250891a17321Smrg 250991a17321Smrg 251091a17321Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 251191a17321SmrgSee \`config.log' for more details." >&5 251291a17321Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH 251391a17321SmrgSee \`config.log' for more details." >&2;} 251491a17321Smrg { (exit 1); exit 1; }; } 251591a17321Smrg 251691a17321Smrg# Provide some information about the compiler. 251791a17321Smrgecho "$as_me:$LINENO: checking for C compiler version" >&5 251891a17321Smrgac_compiler=`set X $ac_compile; echo $2` 251991a17321Smrg{ (ac_try="$ac_compiler --version >&5" 252091a17321Smrgcase "(($ac_try" in 252191a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 252291a17321Smrg *) ac_try_echo=$ac_try;; 252391a17321Smrgesac 252491a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 252591a17321Smrg (eval "$ac_compiler --version >&5") 2>&5 252691a17321Smrg ac_status=$? 252791a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 252891a17321Smrg (exit $ac_status); } 252991a17321Smrg{ (ac_try="$ac_compiler -v >&5" 253091a17321Smrgcase "(($ac_try" in 253191a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 253291a17321Smrg *) ac_try_echo=$ac_try;; 253391a17321Smrgesac 253491a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 253591a17321Smrg (eval "$ac_compiler -v >&5") 2>&5 253691a17321Smrg ac_status=$? 253791a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 253891a17321Smrg (exit $ac_status); } 253991a17321Smrg{ (ac_try="$ac_compiler -V >&5" 254091a17321Smrgcase "(($ac_try" in 254191a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 254291a17321Smrg *) ac_try_echo=$ac_try;; 254391a17321Smrgesac 254491a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 254591a17321Smrg (eval "$ac_compiler -V >&5") 2>&5 254691a17321Smrg ac_status=$? 254791a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 254891a17321Smrg (exit $ac_status); } 254991a17321Smrg 255091a17321Smrgcat >conftest.$ac_ext <<_ACEOF 255191a17321Smrg/* confdefs.h. */ 255291a17321Smrg_ACEOF 255391a17321Smrgcat confdefs.h >>conftest.$ac_ext 255491a17321Smrgcat >>conftest.$ac_ext <<_ACEOF 255591a17321Smrg/* end confdefs.h. */ 255691a17321Smrg 255791a17321Smrgint 255891a17321Smrgmain () 255991a17321Smrg{ 256091a17321Smrg 256191a17321Smrg ; 256291a17321Smrg return 0; 256391a17321Smrg} 256491a17321Smrg_ACEOF 256591a17321Smrgac_clean_files_save=$ac_clean_files 256691a17321Smrgac_clean_files="$ac_clean_files a.out a.exe b.out" 256791a17321Smrg# Try to create an executable without -o first, disregard a.out. 256891a17321Smrg# It will help us diagnose broken compilers, and finding out an intuition 256991a17321Smrg# of exeext. 257091a17321Smrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 257191a17321Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 257291a17321Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 257391a17321Smrg# 257491a17321Smrg# List of possible output files, starting from the most likely. 257591a17321Smrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 257691a17321Smrg# only as a last resort. b.out is created by i960 compilers. 257791a17321Smrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 257891a17321Smrg# 257991a17321Smrg# The IRIX 6 linker writes into existing files which may not be 258091a17321Smrg# executable, retaining their permissions. Remove them first so a 258191a17321Smrg# subsequent execution test works. 258291a17321Smrgac_rmfiles= 258391a17321Smrgfor ac_file in $ac_files 258491a17321Smrgdo 258591a17321Smrg case $ac_file in 258691a17321Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 258791a17321Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 258891a17321Smrg esac 258991a17321Smrgdone 259091a17321Smrgrm -f $ac_rmfiles 259191a17321Smrg 259291a17321Smrgif { (ac_try="$ac_link_default" 259391a17321Smrgcase "(($ac_try" in 259491a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 259591a17321Smrg *) ac_try_echo=$ac_try;; 259691a17321Smrgesac 259791a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 259891a17321Smrg (eval "$ac_link_default") 2>&5 259991a17321Smrg ac_status=$? 260091a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 260191a17321Smrg (exit $ac_status); }; then 260291a17321Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 260391a17321Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 260491a17321Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 260591a17321Smrg# so that the user can short-circuit this test for compilers unknown to 260691a17321Smrg# Autoconf. 260791a17321Smrgfor ac_file in $ac_files 260891a17321Smrgdo 260991a17321Smrg test -f "$ac_file" || continue 261091a17321Smrg case $ac_file in 261191a17321Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 261291a17321Smrg ;; 261391a17321Smrg [ab].out ) 261491a17321Smrg # We found the default executable, but exeext='' is most 261591a17321Smrg # certainly right. 261691a17321Smrg break;; 261791a17321Smrg *.* ) 261891a17321Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 261991a17321Smrg then :; else 262091a17321Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 262191a17321Smrg fi 262291a17321Smrg # We set ac_cv_exeext here because the later test for it is not 262391a17321Smrg # safe: cross compilers may not add the suffix if given an `-o' 262491a17321Smrg # argument, so we may need to know it at that point already. 262591a17321Smrg # Even if this section looks crufty: it has the advantage of 262691a17321Smrg # actually working. 262791a17321Smrg break;; 262891a17321Smrg * ) 262991a17321Smrg break;; 263091a17321Smrg esac 263191a17321Smrgdone 263291a17321Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 263391a17321Smrg 263491a17321Smrgelse 263591a17321Smrg echo "$as_me: failed program was:" >&5 263691a17321Smrgsed 's/^/| /' conftest.$ac_ext >&5 263791a17321Smrg 263891a17321Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 263991a17321SmrgSee \`config.log' for more details." >&5 264091a17321Smrgecho "$as_me: error: C compiler cannot create executables 264191a17321SmrgSee \`config.log' for more details." >&2;} 264291a17321Smrg { (exit 77); exit 77; }; } 264391a17321Smrgfi 264491a17321Smrg 264591a17321Smrgac_exeext=$ac_cv_exeext 264691a17321Smrg{ echo "$as_me:$LINENO: result: $ac_file" >&5 264791a17321Smrgecho "${ECHO_T}$ac_file" >&6; } 264891a17321Smrg 264991a17321Smrg# Check that the compiler produces executables we can run. If not, either 265091a17321Smrg# the compiler is broken, or we cross compile. 265191a17321Smrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 265291a17321Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 265391a17321Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 265491a17321Smrg# If not cross compiling, check that we can run a simple program. 265591a17321Smrgif test "$cross_compiling" != yes; then 265691a17321Smrg if { ac_try='./$ac_file' 265791a17321Smrg { (case "(($ac_try" in 265891a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 265991a17321Smrg *) ac_try_echo=$ac_try;; 266091a17321Smrgesac 266191a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 266291a17321Smrg (eval "$ac_try") 2>&5 266391a17321Smrg ac_status=$? 266491a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 266591a17321Smrg (exit $ac_status); }; }; then 266691a17321Smrg cross_compiling=no 266791a17321Smrg else 266891a17321Smrg if test "$cross_compiling" = maybe; then 266991a17321Smrg cross_compiling=yes 267091a17321Smrg else 267191a17321Smrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 267291a17321SmrgIf you meant to cross compile, use \`--host'. 267391a17321SmrgSee \`config.log' for more details." >&5 267491a17321Smrgecho "$as_me: error: cannot run C compiled programs. 267591a17321SmrgIf you meant to cross compile, use \`--host'. 267691a17321SmrgSee \`config.log' for more details." >&2;} 267791a17321Smrg { (exit 1); exit 1; }; } 267891a17321Smrg fi 267991a17321Smrg fi 268091a17321Smrgfi 268191a17321Smrg{ echo "$as_me:$LINENO: result: yes" >&5 268291a17321Smrgecho "${ECHO_T}yes" >&6; } 268391a17321Smrg 268491a17321Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 268591a17321Smrgac_clean_files=$ac_clean_files_save 268691a17321Smrg# Check that the compiler produces executables we can run. If not, either 268791a17321Smrg# the compiler is broken, or we cross compile. 268891a17321Smrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 268991a17321Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 269091a17321Smrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 269191a17321Smrgecho "${ECHO_T}$cross_compiling" >&6; } 269291a17321Smrg 269391a17321Smrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 269491a17321Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 269591a17321Smrgif { (ac_try="$ac_link" 269691a17321Smrgcase "(($ac_try" in 269791a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 269891a17321Smrg *) ac_try_echo=$ac_try;; 269991a17321Smrgesac 270091a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 270191a17321Smrg (eval "$ac_link") 2>&5 270291a17321Smrg ac_status=$? 270391a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 270491a17321Smrg (exit $ac_status); }; then 270591a17321Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 270691a17321Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 270791a17321Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 270891a17321Smrg# `rm'. 270991a17321Smrgfor ac_file in conftest.exe conftest conftest.*; do 271091a17321Smrg test -f "$ac_file" || continue 271191a17321Smrg case $ac_file in 271291a17321Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 271391a17321Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 271491a17321Smrg break;; 271591a17321Smrg * ) break;; 271691a17321Smrg esac 271791a17321Smrgdone 271891a17321Smrgelse 271991a17321Smrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 272091a17321SmrgSee \`config.log' for more details." >&5 272191a17321Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 272291a17321SmrgSee \`config.log' for more details." >&2;} 272391a17321Smrg { (exit 1); exit 1; }; } 272491a17321Smrgfi 272591a17321Smrg 272691a17321Smrgrm -f conftest$ac_cv_exeext 272791a17321Smrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 272891a17321Smrgecho "${ECHO_T}$ac_cv_exeext" >&6; } 272991a17321Smrg 273091a17321Smrgrm -f conftest.$ac_ext 273191a17321SmrgEXEEXT=$ac_cv_exeext 273291a17321Smrgac_exeext=$EXEEXT 273391a17321Smrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 273491a17321Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 273591a17321Smrgif test "${ac_cv_objext+set}" = set; then 273691a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 273791a17321Smrgelse 273891a17321Smrg cat >conftest.$ac_ext <<_ACEOF 273991a17321Smrg/* confdefs.h. */ 274091a17321Smrg_ACEOF 274191a17321Smrgcat confdefs.h >>conftest.$ac_ext 274291a17321Smrgcat >>conftest.$ac_ext <<_ACEOF 274391a17321Smrg/* end confdefs.h. */ 274491a17321Smrg 274591a17321Smrgint 274691a17321Smrgmain () 274791a17321Smrg{ 274891a17321Smrg 274991a17321Smrg ; 275091a17321Smrg return 0; 275191a17321Smrg} 275291a17321Smrg_ACEOF 275391a17321Smrgrm -f conftest.o conftest.obj 275491a17321Smrgif { (ac_try="$ac_compile" 275591a17321Smrgcase "(($ac_try" in 275691a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 275791a17321Smrg *) ac_try_echo=$ac_try;; 275891a17321Smrgesac 275991a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 276091a17321Smrg (eval "$ac_compile") 2>&5 276191a17321Smrg ac_status=$? 276291a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 276391a17321Smrg (exit $ac_status); }; then 276491a17321Smrg for ac_file in conftest.o conftest.obj conftest.*; do 276591a17321Smrg test -f "$ac_file" || continue; 276691a17321Smrg case $ac_file in 276791a17321Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 276891a17321Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 276991a17321Smrg break;; 277091a17321Smrg esac 277191a17321Smrgdone 277291a17321Smrgelse 277391a17321Smrg echo "$as_me: failed program was:" >&5 277491a17321Smrgsed 's/^/| /' conftest.$ac_ext >&5 277591a17321Smrg 277691a17321Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 277791a17321SmrgSee \`config.log' for more details." >&5 277891a17321Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 277991a17321SmrgSee \`config.log' for more details." >&2;} 278091a17321Smrg { (exit 1); exit 1; }; } 278191a17321Smrgfi 278291a17321Smrg 278391a17321Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 278491a17321Smrgfi 278591a17321Smrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 278691a17321Smrgecho "${ECHO_T}$ac_cv_objext" >&6; } 278791a17321SmrgOBJEXT=$ac_cv_objext 278891a17321Smrgac_objext=$OBJEXT 278991a17321Smrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 279091a17321Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 279191a17321Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 279291a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 279391a17321Smrgelse 279491a17321Smrg cat >conftest.$ac_ext <<_ACEOF 279591a17321Smrg/* confdefs.h. */ 279691a17321Smrg_ACEOF 279791a17321Smrgcat confdefs.h >>conftest.$ac_ext 279891a17321Smrgcat >>conftest.$ac_ext <<_ACEOF 279991a17321Smrg/* end confdefs.h. */ 280091a17321Smrg 280191a17321Smrgint 280291a17321Smrgmain () 280391a17321Smrg{ 280491a17321Smrg#ifndef __GNUC__ 280591a17321Smrg choke me 280691a17321Smrg#endif 280791a17321Smrg 280891a17321Smrg ; 280991a17321Smrg return 0; 281091a17321Smrg} 281191a17321Smrg_ACEOF 281291a17321Smrgrm -f conftest.$ac_objext 281391a17321Smrgif { (ac_try="$ac_compile" 281491a17321Smrgcase "(($ac_try" in 281591a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 281691a17321Smrg *) ac_try_echo=$ac_try;; 281791a17321Smrgesac 281891a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 281991a17321Smrg (eval "$ac_compile") 2>conftest.er1 282091a17321Smrg ac_status=$? 282191a17321Smrg grep -v '^ *+' conftest.er1 >conftest.err 282291a17321Smrg rm -f conftest.er1 282391a17321Smrg cat conftest.err >&5 282491a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 282591a17321Smrg (exit $ac_status); } && 282691a17321Smrg { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 282791a17321Smrg { (case "(($ac_try" in 282891a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 282991a17321Smrg *) ac_try_echo=$ac_try;; 283091a17321Smrgesac 283191a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 283291a17321Smrg (eval "$ac_try") 2>&5 283391a17321Smrg ac_status=$? 283491a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 283591a17321Smrg (exit $ac_status); }; } && 283691a17321Smrg { ac_try='test -s conftest.$ac_objext' 283791a17321Smrg { (case "(($ac_try" in 283891a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 283991a17321Smrg *) ac_try_echo=$ac_try;; 284091a17321Smrgesac 284191a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 284291a17321Smrg (eval "$ac_try") 2>&5 284391a17321Smrg ac_status=$? 284491a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 284591a17321Smrg (exit $ac_status); }; }; then 284691a17321Smrg ac_compiler_gnu=yes 284791a17321Smrgelse 284891a17321Smrg echo "$as_me: failed program was:" >&5 284991a17321Smrgsed 's/^/| /' conftest.$ac_ext >&5 285091a17321Smrg 285191a17321Smrg ac_compiler_gnu=no 285291a17321Smrgfi 285391a17321Smrg 285491a17321Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 285591a17321Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 285691a17321Smrg 285791a17321Smrgfi 285891a17321Smrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 285991a17321Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 286091a17321SmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 286191a17321Smrgac_test_CFLAGS=${CFLAGS+set} 286291a17321Smrgac_save_CFLAGS=$CFLAGS 286391a17321Smrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 286491a17321Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 286591a17321Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 286691a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 286791a17321Smrgelse 286891a17321Smrg ac_save_c_werror_flag=$ac_c_werror_flag 286991a17321Smrg ac_c_werror_flag=yes 287091a17321Smrg ac_cv_prog_cc_g=no 287191a17321Smrg CFLAGS="-g" 287291a17321Smrg cat >conftest.$ac_ext <<_ACEOF 287391a17321Smrg/* confdefs.h. */ 287491a17321Smrg_ACEOF 287591a17321Smrgcat confdefs.h >>conftest.$ac_ext 287691a17321Smrgcat >>conftest.$ac_ext <<_ACEOF 287791a17321Smrg/* end confdefs.h. */ 287891a17321Smrg 287991a17321Smrgint 288091a17321Smrgmain () 288191a17321Smrg{ 288291a17321Smrg 288391a17321Smrg ; 288491a17321Smrg return 0; 288591a17321Smrg} 288691a17321Smrg_ACEOF 288791a17321Smrgrm -f conftest.$ac_objext 288891a17321Smrgif { (ac_try="$ac_compile" 288991a17321Smrgcase "(($ac_try" in 289091a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 289191a17321Smrg *) ac_try_echo=$ac_try;; 289291a17321Smrgesac 289391a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 289491a17321Smrg (eval "$ac_compile") 2>conftest.er1 289591a17321Smrg ac_status=$? 289691a17321Smrg grep -v '^ *+' conftest.er1 >conftest.err 289791a17321Smrg rm -f conftest.er1 289891a17321Smrg cat conftest.err >&5 289991a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 290091a17321Smrg (exit $ac_status); } && 290191a17321Smrg { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 290291a17321Smrg { (case "(($ac_try" in 290391a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 290491a17321Smrg *) ac_try_echo=$ac_try;; 290591a17321Smrgesac 290691a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 290791a17321Smrg (eval "$ac_try") 2>&5 290891a17321Smrg ac_status=$? 290991a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 291091a17321Smrg (exit $ac_status); }; } && 291191a17321Smrg { ac_try='test -s conftest.$ac_objext' 291291a17321Smrg { (case "(($ac_try" in 291391a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 291491a17321Smrg *) ac_try_echo=$ac_try;; 291591a17321Smrgesac 291691a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 291791a17321Smrg (eval "$ac_try") 2>&5 291891a17321Smrg ac_status=$? 291991a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 292091a17321Smrg (exit $ac_status); }; }; then 292191a17321Smrg ac_cv_prog_cc_g=yes 292291a17321Smrgelse 292391a17321Smrg echo "$as_me: failed program was:" >&5 292491a17321Smrgsed 's/^/| /' conftest.$ac_ext >&5 292591a17321Smrg 292691a17321Smrg CFLAGS="" 292791a17321Smrg cat >conftest.$ac_ext <<_ACEOF 292891a17321Smrg/* confdefs.h. */ 292991a17321Smrg_ACEOF 293091a17321Smrgcat confdefs.h >>conftest.$ac_ext 293191a17321Smrgcat >>conftest.$ac_ext <<_ACEOF 293291a17321Smrg/* end confdefs.h. */ 293391a17321Smrg 293491a17321Smrgint 293591a17321Smrgmain () 293691a17321Smrg{ 293791a17321Smrg 293891a17321Smrg ; 293991a17321Smrg return 0; 294091a17321Smrg} 294191a17321Smrg_ACEOF 294291a17321Smrgrm -f conftest.$ac_objext 294391a17321Smrgif { (ac_try="$ac_compile" 294491a17321Smrgcase "(($ac_try" in 294591a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 294691a17321Smrg *) ac_try_echo=$ac_try;; 294791a17321Smrgesac 294891a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 294991a17321Smrg (eval "$ac_compile") 2>conftest.er1 295091a17321Smrg ac_status=$? 295191a17321Smrg grep -v '^ *+' conftest.er1 >conftest.err 295291a17321Smrg rm -f conftest.er1 295391a17321Smrg cat conftest.err >&5 295491a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 295591a17321Smrg (exit $ac_status); } && 295691a17321Smrg { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 295791a17321Smrg { (case "(($ac_try" in 295891a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 295991a17321Smrg *) ac_try_echo=$ac_try;; 296091a17321Smrgesac 296191a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 296291a17321Smrg (eval "$ac_try") 2>&5 296391a17321Smrg ac_status=$? 296491a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 296591a17321Smrg (exit $ac_status); }; } && 296691a17321Smrg { ac_try='test -s conftest.$ac_objext' 296791a17321Smrg { (case "(($ac_try" in 296891a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 296991a17321Smrg *) ac_try_echo=$ac_try;; 297091a17321Smrgesac 297191a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 297291a17321Smrg (eval "$ac_try") 2>&5 297391a17321Smrg ac_status=$? 297491a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 297591a17321Smrg (exit $ac_status); }; }; then 297691a17321Smrg : 297791a17321Smrgelse 297891a17321Smrg echo "$as_me: failed program was:" >&5 297991a17321Smrgsed 's/^/| /' conftest.$ac_ext >&5 298091a17321Smrg 298191a17321Smrg ac_c_werror_flag=$ac_save_c_werror_flag 298291a17321Smrg CFLAGS="-g" 298391a17321Smrg cat >conftest.$ac_ext <<_ACEOF 298491a17321Smrg/* confdefs.h. */ 298591a17321Smrg_ACEOF 298691a17321Smrgcat confdefs.h >>conftest.$ac_ext 298791a17321Smrgcat >>conftest.$ac_ext <<_ACEOF 298891a17321Smrg/* end confdefs.h. */ 298991a17321Smrg 299091a17321Smrgint 299191a17321Smrgmain () 299291a17321Smrg{ 299391a17321Smrg 299491a17321Smrg ; 299591a17321Smrg return 0; 299691a17321Smrg} 299791a17321Smrg_ACEOF 299891a17321Smrgrm -f conftest.$ac_objext 299991a17321Smrgif { (ac_try="$ac_compile" 300091a17321Smrgcase "(($ac_try" in 300191a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 300291a17321Smrg *) ac_try_echo=$ac_try;; 300391a17321Smrgesac 300491a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 300591a17321Smrg (eval "$ac_compile") 2>conftest.er1 300691a17321Smrg ac_status=$? 300791a17321Smrg grep -v '^ *+' conftest.er1 >conftest.err 300891a17321Smrg rm -f conftest.er1 300991a17321Smrg cat conftest.err >&5 301091a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 301191a17321Smrg (exit $ac_status); } && 301291a17321Smrg { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 301391a17321Smrg { (case "(($ac_try" in 301491a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 301591a17321Smrg *) ac_try_echo=$ac_try;; 301691a17321Smrgesac 301791a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 301891a17321Smrg (eval "$ac_try") 2>&5 301991a17321Smrg ac_status=$? 302091a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 302191a17321Smrg (exit $ac_status); }; } && 302291a17321Smrg { ac_try='test -s conftest.$ac_objext' 302391a17321Smrg { (case "(($ac_try" in 302491a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 302591a17321Smrg *) ac_try_echo=$ac_try;; 302691a17321Smrgesac 302791a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 302891a17321Smrg (eval "$ac_try") 2>&5 302991a17321Smrg ac_status=$? 303091a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 303191a17321Smrg (exit $ac_status); }; }; then 303291a17321Smrg ac_cv_prog_cc_g=yes 303391a17321Smrgelse 303491a17321Smrg echo "$as_me: failed program was:" >&5 303591a17321Smrgsed 's/^/| /' conftest.$ac_ext >&5 303691a17321Smrg 303791a17321Smrg 303891a17321Smrgfi 303991a17321Smrg 304091a17321Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 304191a17321Smrgfi 304291a17321Smrg 304391a17321Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 304491a17321Smrgfi 304591a17321Smrg 304691a17321Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 304791a17321Smrg ac_c_werror_flag=$ac_save_c_werror_flag 304891a17321Smrgfi 304991a17321Smrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 305091a17321Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 305191a17321Smrgif test "$ac_test_CFLAGS" = set; then 305291a17321Smrg CFLAGS=$ac_save_CFLAGS 305391a17321Smrgelif test $ac_cv_prog_cc_g = yes; then 305491a17321Smrg if test "$GCC" = yes; then 305591a17321Smrg CFLAGS="-g -O2" 305691a17321Smrg else 305791a17321Smrg CFLAGS="-g" 305891a17321Smrg fi 305991a17321Smrgelse 306091a17321Smrg if test "$GCC" = yes; then 306191a17321Smrg CFLAGS="-O2" 306291a17321Smrg else 306391a17321Smrg CFLAGS= 306491a17321Smrg fi 306591a17321Smrgfi 306691a17321Smrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 306791a17321Smrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 306891a17321Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then 306991a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 307091a17321Smrgelse 307191a17321Smrg ac_cv_prog_cc_c89=no 307291a17321Smrgac_save_CC=$CC 307391a17321Smrgcat >conftest.$ac_ext <<_ACEOF 307491a17321Smrg/* confdefs.h. */ 307591a17321Smrg_ACEOF 307691a17321Smrgcat confdefs.h >>conftest.$ac_ext 307791a17321Smrgcat >>conftest.$ac_ext <<_ACEOF 307891a17321Smrg/* end confdefs.h. */ 307991a17321Smrg#include <stdarg.h> 308091a17321Smrg#include <stdio.h> 308191a17321Smrg#include <sys/types.h> 308291a17321Smrg#include <sys/stat.h> 308391a17321Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 308491a17321Smrgstruct buf { int x; }; 308591a17321SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 308691a17321Smrgstatic char *e (p, i) 308791a17321Smrg char **p; 308891a17321Smrg int i; 308991a17321Smrg{ 309091a17321Smrg return p[i]; 309191a17321Smrg} 309291a17321Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 309391a17321Smrg{ 309491a17321Smrg char *s; 309591a17321Smrg va_list v; 309691a17321Smrg va_start (v,p); 309791a17321Smrg s = g (p, va_arg (v,int)); 309891a17321Smrg va_end (v); 309991a17321Smrg return s; 310091a17321Smrg} 310191a17321Smrg 310291a17321Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 310391a17321Smrg function prototypes and stuff, but not '\xHH' hex character constants. 310491a17321Smrg These don't provoke an error unfortunately, instead are silently treated 310591a17321Smrg as 'x'. The following induces an error, until -std is added to get 310691a17321Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 310791a17321Smrg array size at least. It's necessary to write '\x00'==0 to get something 310891a17321Smrg that's true only with -std. */ 310991a17321Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 311091a17321Smrg 311191a17321Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 311291a17321Smrg inside strings and character constants. */ 311391a17321Smrg#define FOO(x) 'x' 311491a17321Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 311591a17321Smrg 311691a17321Smrgint test (int i, double x); 311791a17321Smrgstruct s1 {int (*f) (int a);}; 311891a17321Smrgstruct s2 {int (*f) (double a);}; 311991a17321Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 312091a17321Smrgint argc; 312191a17321Smrgchar **argv; 312291a17321Smrgint 312391a17321Smrgmain () 312491a17321Smrg{ 312591a17321Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 312691a17321Smrg ; 312791a17321Smrg return 0; 312891a17321Smrg} 312991a17321Smrg_ACEOF 313091a17321Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 313191a17321Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 313291a17321Smrgdo 313391a17321Smrg CC="$ac_save_CC $ac_arg" 313491a17321Smrg rm -f conftest.$ac_objext 313591a17321Smrgif { (ac_try="$ac_compile" 313691a17321Smrgcase "(($ac_try" in 313791a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 313891a17321Smrg *) ac_try_echo=$ac_try;; 313991a17321Smrgesac 314091a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 314191a17321Smrg (eval "$ac_compile") 2>conftest.er1 314291a17321Smrg ac_status=$? 314391a17321Smrg grep -v '^ *+' conftest.er1 >conftest.err 314491a17321Smrg rm -f conftest.er1 314591a17321Smrg cat conftest.err >&5 314691a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 314791a17321Smrg (exit $ac_status); } && 314891a17321Smrg { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 314991a17321Smrg { (case "(($ac_try" in 315091a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 315191a17321Smrg *) ac_try_echo=$ac_try;; 315291a17321Smrgesac 315391a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 315491a17321Smrg (eval "$ac_try") 2>&5 315591a17321Smrg ac_status=$? 315691a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 315791a17321Smrg (exit $ac_status); }; } && 315891a17321Smrg { ac_try='test -s conftest.$ac_objext' 315991a17321Smrg { (case "(($ac_try" in 316091a17321Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 316191a17321Smrg *) ac_try_echo=$ac_try;; 316291a17321Smrgesac 316391a17321Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 316491a17321Smrg (eval "$ac_try") 2>&5 316591a17321Smrg ac_status=$? 316691a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 316791a17321Smrg (exit $ac_status); }; }; then 316891a17321Smrg ac_cv_prog_cc_c89=$ac_arg 316991a17321Smrgelse 317091a17321Smrg echo "$as_me: failed program was:" >&5 317191a17321Smrgsed 's/^/| /' conftest.$ac_ext >&5 317291a17321Smrg 317391a17321Smrg 317491a17321Smrgfi 317591a17321Smrg 317691a17321Smrgrm -f core conftest.err conftest.$ac_objext 317791a17321Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 317891a17321Smrgdone 317991a17321Smrgrm -f conftest.$ac_ext 318091a17321SmrgCC=$ac_save_CC 318191a17321Smrg 318291a17321Smrgfi 318391a17321Smrg# AC_CACHE_VAL 318491a17321Smrgcase "x$ac_cv_prog_cc_c89" in 318591a17321Smrg x) 318691a17321Smrg { echo "$as_me:$LINENO: result: none needed" >&5 318791a17321Smrgecho "${ECHO_T}none needed" >&6; } ;; 318891a17321Smrg xno) 318991a17321Smrg { echo "$as_me:$LINENO: result: unsupported" >&5 319091a17321Smrgecho "${ECHO_T}unsupported" >&6; } ;; 319191a17321Smrg *) 319291a17321Smrg CC="$CC $ac_cv_prog_cc_c89" 319391a17321Smrg { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 319491a17321Smrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 319591a17321Smrgesac 319691a17321Smrg 319791a17321Smrg 319891a17321Smrgac_ext=c 319991a17321Smrgac_cpp='$CPP $CPPFLAGS' 320091a17321Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 320191a17321Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 320291a17321Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 320391a17321SmrgDEPDIR="${am__leading_dot}deps" 320491a17321Smrg 320591a17321Smrgac_config_commands="$ac_config_commands depfiles" 320691a17321Smrg 320791a17321Smrg 320891a17321Smrgam_make=${MAKE-make} 320991a17321Smrgcat > confinc << 'END' 321091a17321Smrgam__doit: 321191a17321Smrg @echo done 321291a17321Smrg.PHONY: am__doit 321391a17321SmrgEND 321491a17321Smrg# If we don't find an include directive, just comment out the code. 321591a17321Smrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 321691a17321Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 321791a17321Smrgam__include="#" 321891a17321Smrgam__quote= 321991a17321Smrg_am_result=none 322091a17321Smrg# First try GNU make style include. 322191a17321Smrgecho "include confinc" > confmf 322291a17321Smrg# We grep out `Entering directory' and `Leaving directory' 322391a17321Smrg# messages which can occur if `w' ends up in MAKEFLAGS. 322491a17321Smrg# In particular we don't look at `^make:' because GNU make might 322591a17321Smrg# be invoked under some other name (usually "gmake"), in which 322691a17321Smrg# case it prints its new name instead of `make'. 322791a17321Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 322891a17321Smrg am__include=include 322991a17321Smrg am__quote= 323091a17321Smrg _am_result=GNU 323191a17321Smrgfi 323291a17321Smrg# Now try BSD make style include. 323391a17321Smrgif test "$am__include" = "#"; then 323491a17321Smrg echo '.include "confinc"' > confmf 323591a17321Smrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 323691a17321Smrg am__include=.include 323791a17321Smrg am__quote="\"" 323891a17321Smrg _am_result=BSD 323991a17321Smrg fi 324091a17321Smrgfi 324191a17321Smrg 324291a17321Smrg 324391a17321Smrg{ echo "$as_me:$LINENO: result: $_am_result" >&5 324491a17321Smrgecho "${ECHO_T}$_am_result" >&6; } 324591a17321Smrgrm -f confinc confmf 324691a17321Smrg 324791a17321Smrg# Check whether --enable-dependency-tracking was given. 324891a17321Smrgif test "${enable_dependency_tracking+set}" = set; then 324991a17321Smrg enableval=$enable_dependency_tracking; 325091a17321Smrgfi 325191a17321Smrg 325291a17321Smrgif test "x$enable_dependency_tracking" != xno; then 325391a17321Smrg am_depcomp="$ac_aux_dir/depcomp" 325491a17321Smrg AMDEPBACKSLASH='\' 325591a17321Smrgfi 325691a17321Smrg 325791a17321Smrg 325891a17321Smrgif test "x$enable_dependency_tracking" != xno; then 325991a17321Smrg AMDEP_TRUE= 326091a17321Smrg AMDEP_FALSE='#' 326191a17321Smrgelse 326291a17321Smrg AMDEP_TRUE='#' 326391a17321Smrg AMDEP_FALSE= 326491a17321Smrgfi 326591a17321Smrg 326691a17321Smrg 326791a17321Smrg 326891a17321Smrg 326991a17321Smrgdepcc="$CC" am_compiler_list= 327091a17321Smrg 327191a17321Smrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 327291a17321Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 327391a17321Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 327491a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 327591a17321Smrgelse 327691a17321Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 327791a17321Smrg # We make a subdir and do the tests there. Otherwise we can end up 327891a17321Smrg # making bogus files that we don't know about and never remove. For 327991a17321Smrg # instance it was reported that on HP-UX the gcc test will end up 328091a17321Smrg # making a dummy file named `D' -- because `-MD' means `put the output 328191a17321Smrg # in D'. 328291a17321Smrg mkdir conftest.dir 328391a17321Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 328491a17321Smrg # using a relative directory. 328591a17321Smrg cp "$am_depcomp" conftest.dir 328691a17321Smrg cd conftest.dir 328791a17321Smrg # We will build objects and dependencies in a subdirectory because 328891a17321Smrg # it helps to detect inapplicable dependency modes. For instance 328991a17321Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 329091a17321Smrg # side effect of compilation, but ICC will put the dependencies in 329191a17321Smrg # the current directory while Tru64 will put them in the object 329291a17321Smrg # directory. 329391a17321Smrg mkdir sub 329491a17321Smrg 329591a17321Smrg am_cv_CC_dependencies_compiler_type=none 329691a17321Smrg if test "$am_compiler_list" = ""; then 329791a17321Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 329891a17321Smrg fi 329991a17321Smrg for depmode in $am_compiler_list; do 330091a17321Smrg # Setup a source with many dependencies, because some compilers 330191a17321Smrg # like to wrap large dependency lists on column 80 (with \), and 330291a17321Smrg # we should not choose a depcomp mode which is confused by this. 330391a17321Smrg # 330491a17321Smrg # We need to recreate these files for each test, as the compiler may 330591a17321Smrg # overwrite some of them when testing with obscure command lines. 330691a17321Smrg # This happens at least with the AIX C compiler. 330791a17321Smrg : > sub/conftest.c 330891a17321Smrg for i in 1 2 3 4 5 6; do 330991a17321Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 331091a17321Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 331191a17321Smrg # Solaris 8's {/usr,}/bin/sh. 331291a17321Smrg touch sub/conftst$i.h 331391a17321Smrg done 331491a17321Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 331591a17321Smrg 331691a17321Smrg case $depmode in 331791a17321Smrg nosideeffect) 331891a17321Smrg # after this tag, mechanisms are not by side-effect, so they'll 331991a17321Smrg # only be used when explicitly requested 332091a17321Smrg if test "x$enable_dependency_tracking" = xyes; then 332191a17321Smrg continue 332291a17321Smrg else 332391a17321Smrg break 332491a17321Smrg fi 332591a17321Smrg ;; 332691a17321Smrg none) break ;; 332791a17321Smrg esac 332891a17321Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 332991a17321Smrg # mode. It turns out that the SunPro C++ compiler does not properly 333091a17321Smrg # handle `-M -o', and we need to detect this. 333191a17321Smrg if depmode=$depmode \ 333291a17321Smrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 333391a17321Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 333491a17321Smrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 333591a17321Smrg >/dev/null 2>conftest.err && 333691a17321Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 333791a17321Smrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 333891a17321Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 333991a17321Smrg # icc doesn't choke on unknown options, it will just issue warnings 334091a17321Smrg # or remarks (even with -Werror). So we grep stderr for any message 334191a17321Smrg # that says an option was ignored or not supported. 334291a17321Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 334391a17321Smrg # icc: Command line warning: ignoring option '-M'; no argument required 334491a17321Smrg # The diagnosis changed in icc 8.0: 334591a17321Smrg # icc: Command line remark: option '-MP' not supported 334691a17321Smrg if (grep 'ignoring option' conftest.err || 334791a17321Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 334891a17321Smrg am_cv_CC_dependencies_compiler_type=$depmode 334991a17321Smrg break 335091a17321Smrg fi 335191a17321Smrg fi 335291a17321Smrg done 335391a17321Smrg 335491a17321Smrg cd .. 335591a17321Smrg rm -rf conftest.dir 335691a17321Smrgelse 335791a17321Smrg am_cv_CC_dependencies_compiler_type=none 335891a17321Smrgfi 335991a17321Smrg 336091a17321Smrgfi 336191a17321Smrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 336291a17321Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 336391a17321SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 336491a17321Smrg 336591a17321Smrg 336691a17321Smrg 336791a17321Smrgif 336891a17321Smrg test "x$enable_dependency_tracking" != xno \ 336991a17321Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 337091a17321Smrg am__fastdepCC_TRUE= 337191a17321Smrg am__fastdepCC_FALSE='#' 337291a17321Smrgelse 337391a17321Smrg am__fastdepCC_TRUE='#' 337491a17321Smrg am__fastdepCC_FALSE= 337591a17321Smrgfi 337691a17321Smrg 337791a17321Smrg 337891a17321Smrg# Find a good install program. We prefer a C program (faster), 337991a17321Smrg# so one script is as good as another. But avoid the broken or 338091a17321Smrg# incompatible versions: 338191a17321Smrg# SysV /etc/install, /usr/sbin/install 338291a17321Smrg# SunOS /usr/etc/install 338391a17321Smrg# IRIX /sbin/install 338491a17321Smrg# AIX /bin/install 338591a17321Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 338691a17321Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 338791a17321Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 338891a17321Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 338991a17321Smrg# OS/2's system install, which has a completely different semantic 339091a17321Smrg# ./install, which can be erroneously created by make from ./install.sh. 339191a17321Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 339291a17321Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 339391a17321Smrgif test -z "$INSTALL"; then 339491a17321Smrgif test "${ac_cv_path_install+set}" = set; then 339591a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 339691a17321Smrgelse 339791a17321Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 339891a17321Smrgfor as_dir in $PATH 339991a17321Smrgdo 340091a17321Smrg IFS=$as_save_IFS 340191a17321Smrg test -z "$as_dir" && as_dir=. 340291a17321Smrg # Account for people who put trailing slashes in PATH elements. 340391a17321Smrgcase $as_dir/ in 340491a17321Smrg ./ | .// | /cC/* | \ 340591a17321Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 340691a17321Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 340791a17321Smrg /usr/ucb/* ) ;; 340891a17321Smrg *) 340991a17321Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 341091a17321Smrg # Don't use installbsd from OSF since it installs stuff as root 341191a17321Smrg # by default. 341291a17321Smrg for ac_prog in ginstall scoinst install; do 341391a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 341491a17321Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then 341591a17321Smrg if test $ac_prog = install && 341691a17321Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 341791a17321Smrg # AIX install. It has an incompatible calling convention. 341891a17321Smrg : 341991a17321Smrg elif test $ac_prog = install && 342091a17321Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 342191a17321Smrg # program-specific install script used by HP pwplus--don't use. 342291a17321Smrg : 342391a17321Smrg else 342491a17321Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 342591a17321Smrg break 3 342691a17321Smrg fi 342791a17321Smrg fi 342891a17321Smrg done 342991a17321Smrg done 343091a17321Smrg ;; 343191a17321Smrgesac 343291a17321Smrgdone 343391a17321SmrgIFS=$as_save_IFS 343491a17321Smrg 343591a17321Smrg 343691a17321Smrgfi 343791a17321Smrg if test "${ac_cv_path_install+set}" = set; then 343891a17321Smrg INSTALL=$ac_cv_path_install 343991a17321Smrg else 344091a17321Smrg # As a last resort, use the slow shell script. Don't cache a 344191a17321Smrg # value for INSTALL within a source directory, because that will 344291a17321Smrg # break other packages using the cache if that directory is 344391a17321Smrg # removed, or if the value is a relative name. 344491a17321Smrg INSTALL=$ac_install_sh 344591a17321Smrg fi 344691a17321Smrgfi 344791a17321Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 344891a17321Smrgecho "${ECHO_T}$INSTALL" >&6; } 344991a17321Smrg 345091a17321Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 345191a17321Smrg# It thinks the first close brace ends the variable substitution. 345291a17321Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 345391a17321Smrg 345491a17321Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 345591a17321Smrg 345691a17321Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 345791a17321Smrg 345891a17321Smrg 345991a17321Smrg# Checks for pkg-config packages 346091a17321Smrg 346191a17321Smrg 346291a17321Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 346391a17321Smrg if test -n "$ac_tool_prefix"; then 346491a17321Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 346591a17321Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 346691a17321Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 346791a17321Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 346891a17321Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 346991a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 347091a17321Smrgelse 347191a17321Smrg case $PKG_CONFIG in 347291a17321Smrg [\\/]* | ?:[\\/]*) 347391a17321Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 347491a17321Smrg ;; 347591a17321Smrg *) 347691a17321Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 347791a17321Smrgfor as_dir in $PATH 347891a17321Smrgdo 347991a17321Smrg IFS=$as_save_IFS 348091a17321Smrg test -z "$as_dir" && as_dir=. 348191a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 348291a17321Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 348391a17321Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 348491a17321Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 348591a17321Smrg break 2 348691a17321Smrg fi 348791a17321Smrgdone 348891a17321Smrgdone 348991a17321SmrgIFS=$as_save_IFS 349091a17321Smrg 349191a17321Smrg ;; 349291a17321Smrgesac 349391a17321Smrgfi 349491a17321SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 349591a17321Smrgif test -n "$PKG_CONFIG"; then 349691a17321Smrg { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 349791a17321Smrgecho "${ECHO_T}$PKG_CONFIG" >&6; } 349891a17321Smrgelse 349991a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 350091a17321Smrgecho "${ECHO_T}no" >&6; } 350191a17321Smrgfi 350291a17321Smrg 350391a17321Smrg 350491a17321Smrgfi 350591a17321Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 350691a17321Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 350791a17321Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 350891a17321Smrgset dummy pkg-config; ac_word=$2 350991a17321Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 351091a17321Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 351191a17321Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 351291a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 351391a17321Smrgelse 351491a17321Smrg case $ac_pt_PKG_CONFIG in 351591a17321Smrg [\\/]* | ?:[\\/]*) 351691a17321Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 351791a17321Smrg ;; 351891a17321Smrg *) 351991a17321Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 352091a17321Smrgfor as_dir in $PATH 352191a17321Smrgdo 352291a17321Smrg IFS=$as_save_IFS 352391a17321Smrg test -z "$as_dir" && as_dir=. 352491a17321Smrg for ac_exec_ext in '' $ac_executable_extensions; do 352591a17321Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then 352691a17321Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 352791a17321Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 352891a17321Smrg break 2 352991a17321Smrg fi 353091a17321Smrgdone 353191a17321Smrgdone 353291a17321SmrgIFS=$as_save_IFS 353391a17321Smrg 353491a17321Smrg ;; 353591a17321Smrgesac 353691a17321Smrgfi 353791a17321Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 353891a17321Smrgif test -n "$ac_pt_PKG_CONFIG"; then 353991a17321Smrg { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 354091a17321Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 354191a17321Smrgelse 354291a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 354391a17321Smrgecho "${ECHO_T}no" >&6; } 354491a17321Smrgfi 354591a17321Smrg 354691a17321Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 354791a17321Smrg PKG_CONFIG="" 354891a17321Smrg else 354991a17321Smrg case $cross_compiling:$ac_tool_warned in 355091a17321Smrgyes:) 355191a17321Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 355291a17321Smrgwhose name does not start with the host triplet. If you think this 355391a17321Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 355491a17321Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 355591a17321Smrgwhose name does not start with the host triplet. If you think this 355691a17321Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 355791a17321Smrgac_tool_warned=yes ;; 355891a17321Smrgesac 355991a17321Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 356091a17321Smrg fi 356191a17321Smrgelse 356291a17321Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 356391a17321Smrgfi 356491a17321Smrg 356591a17321Smrgfi 356691a17321Smrgif test -n "$PKG_CONFIG"; then 356791a17321Smrg _pkg_min_version=0.9.0 356891a17321Smrg { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 356991a17321Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 357091a17321Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 357191a17321Smrg { echo "$as_me:$LINENO: result: yes" >&5 357291a17321Smrgecho "${ECHO_T}yes" >&6; } 357391a17321Smrg else 357491a17321Smrg { echo "$as_me:$LINENO: result: no" >&5 357591a17321Smrgecho "${ECHO_T}no" >&6; } 357691a17321Smrg PKG_CONFIG="" 357791a17321Smrg fi 357891a17321Smrg 357991a17321Smrgfi 358091a17321Smrg 358191a17321Smrgpkg_failed=no 358291a17321Smrg{ echo "$as_me:$LINENO: checking for XSETPOINTER" >&5 358391a17321Smrgecho $ECHO_N "checking for XSETPOINTER... $ECHO_C" >&6; } 358491a17321Smrg 358591a17321Smrgif test -n "$PKG_CONFIG"; then 358691a17321Smrg if test -n "$XSETPOINTER_CFLAGS"; then 358791a17321Smrg pkg_cv_XSETPOINTER_CFLAGS="$XSETPOINTER_CFLAGS" 358891a17321Smrg else 358991a17321Smrg if test -n "$PKG_CONFIG" && \ 359091a17321Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xi x11 inputproto >= 1.4\"") >&5 359191a17321Smrg ($PKG_CONFIG --exists --print-errors "xi x11 inputproto >= 1.4") 2>&5 359291a17321Smrg ac_status=$? 359391a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 359491a17321Smrg (exit $ac_status); }; then 359591a17321Smrg pkg_cv_XSETPOINTER_CFLAGS=`$PKG_CONFIG --cflags "xi x11 inputproto >= 1.4" 2>/dev/null` 359691a17321Smrgelse 359791a17321Smrg pkg_failed=yes 359891a17321Smrgfi 359991a17321Smrg fi 360091a17321Smrgelse 360191a17321Smrg pkg_failed=untried 360291a17321Smrgfi 360391a17321Smrgif test -n "$PKG_CONFIG"; then 360491a17321Smrg if test -n "$XSETPOINTER_LIBS"; then 360591a17321Smrg pkg_cv_XSETPOINTER_LIBS="$XSETPOINTER_LIBS" 360691a17321Smrg else 360791a17321Smrg if test -n "$PKG_CONFIG" && \ 360891a17321Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xi x11 inputproto >= 1.4\"") >&5 360991a17321Smrg ($PKG_CONFIG --exists --print-errors "xi x11 inputproto >= 1.4") 2>&5 361091a17321Smrg ac_status=$? 361191a17321Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 361291a17321Smrg (exit $ac_status); }; then 361391a17321Smrg pkg_cv_XSETPOINTER_LIBS=`$PKG_CONFIG --libs "xi x11 inputproto >= 1.4" 2>/dev/null` 361491a17321Smrgelse 361591a17321Smrg pkg_failed=yes 361691a17321Smrgfi 361791a17321Smrg fi 361891a17321Smrgelse 361991a17321Smrg pkg_failed=untried 362091a17321Smrgfi 362191a17321Smrg 362291a17321Smrg 362391a17321Smrg 362491a17321Smrgif test $pkg_failed = yes; then 362591a17321Smrg 362691a17321Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 362791a17321Smrg _pkg_short_errors_supported=yes 362891a17321Smrgelse 362991a17321Smrg _pkg_short_errors_supported=no 363091a17321Smrgfi 363191a17321Smrg if test $_pkg_short_errors_supported = yes; then 363291a17321Smrg XSETPOINTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xi x11 inputproto >= 1.4"` 363391a17321Smrg else 363491a17321Smrg XSETPOINTER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xi x11 inputproto >= 1.4"` 363591a17321Smrg fi 363691a17321Smrg # Put the nasty error message in config.log where it belongs 363791a17321Smrg echo "$XSETPOINTER_PKG_ERRORS" >&5 363891a17321Smrg 363991a17321Smrg { { echo "$as_me:$LINENO: error: Package requirements (xi x11 inputproto >= 1.4) were not met: 364091a17321Smrg 364191a17321Smrg$XSETPOINTER_PKG_ERRORS 364291a17321Smrg 364391a17321SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 364491a17321Smrginstalled software in a non-standard prefix. 364591a17321Smrg 364691a17321SmrgAlternatively, you may set the environment variables XSETPOINTER_CFLAGS 364791a17321Smrgand XSETPOINTER_LIBS to avoid the need to call pkg-config. 364891a17321SmrgSee the pkg-config man page for more details. 364991a17321Smrg" >&5 365091a17321Smrgecho "$as_me: error: Package requirements (xi x11 inputproto >= 1.4) were not met: 365191a17321Smrg 365291a17321Smrg$XSETPOINTER_PKG_ERRORS 365391a17321Smrg 365491a17321SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 365591a17321Smrginstalled software in a non-standard prefix. 365691a17321Smrg 365791a17321SmrgAlternatively, you may set the environment variables XSETPOINTER_CFLAGS 365891a17321Smrgand XSETPOINTER_LIBS to avoid the need to call pkg-config. 365991a17321SmrgSee the pkg-config man page for more details. 366091a17321Smrg" >&2;} 366191a17321Smrg { (exit 1); exit 1; }; } 366291a17321Smrgelif test $pkg_failed = untried; then 366391a17321Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 366491a17321Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 366591a17321Smrgpath to pkg-config. 366691a17321Smrg 366791a17321SmrgAlternatively, you may set the environment variables XSETPOINTER_CFLAGS 366891a17321Smrgand XSETPOINTER_LIBS to avoid the need to call pkg-config. 366991a17321SmrgSee the pkg-config man page for more details. 367091a17321Smrg 367191a17321SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 367291a17321SmrgSee \`config.log' for more details." >&5 367391a17321Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 367491a17321Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 367591a17321Smrgpath to pkg-config. 367691a17321Smrg 367791a17321SmrgAlternatively, you may set the environment variables XSETPOINTER_CFLAGS 367891a17321Smrgand XSETPOINTER_LIBS to avoid the need to call pkg-config. 367991a17321SmrgSee the pkg-config man page for more details. 368091a17321Smrg 368191a17321SmrgTo get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 368291a17321SmrgSee \`config.log' for more details." >&2;} 368391a17321Smrg { (exit 1); exit 1; }; } 368491a17321Smrgelse 368591a17321Smrg XSETPOINTER_CFLAGS=$pkg_cv_XSETPOINTER_CFLAGS 368691a17321Smrg XSETPOINTER_LIBS=$pkg_cv_XSETPOINTER_LIBS 368791a17321Smrg { echo "$as_me:$LINENO: result: yes" >&5 368891a17321Smrgecho "${ECHO_T}yes" >&6; } 368991a17321Smrg : 369091a17321Smrgfi 369191a17321Smrg 369291a17321Smrg 369391a17321Smrg 369491a17321Smrg# Make sure we can run config.sub. 369591a17321Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 369691a17321Smrg { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 369791a17321Smrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 369891a17321Smrg { (exit 1); exit 1; }; } 369991a17321Smrg 370091a17321Smrg{ echo "$as_me:$LINENO: checking build system type" >&5 370191a17321Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; } 370291a17321Smrgif test "${ac_cv_build+set}" = set; then 370391a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 370491a17321Smrgelse 370591a17321Smrg ac_build_alias=$build_alias 370691a17321Smrgtest "x$ac_build_alias" = x && 370791a17321Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 370891a17321Smrgtest "x$ac_build_alias" = x && 370991a17321Smrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 371091a17321Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 371191a17321Smrg { (exit 1); exit 1; }; } 371291a17321Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 371391a17321Smrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 371491a17321Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 371591a17321Smrg { (exit 1); exit 1; }; } 371691a17321Smrg 371791a17321Smrgfi 371891a17321Smrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 371991a17321Smrgecho "${ECHO_T}$ac_cv_build" >&6; } 372091a17321Smrgcase $ac_cv_build in 372191a17321Smrg*-*-*) ;; 372291a17321Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 372391a17321Smrgecho "$as_me: error: invalid value of canonical build" >&2;} 372491a17321Smrg { (exit 1); exit 1; }; };; 372591a17321Smrgesac 372691a17321Smrgbuild=$ac_cv_build 372791a17321Smrgac_save_IFS=$IFS; IFS='-' 372891a17321Smrgset x $ac_cv_build 372991a17321Smrgshift 373091a17321Smrgbuild_cpu=$1 373191a17321Smrgbuild_vendor=$2 373291a17321Smrgshift; shift 373391a17321Smrg# Remember, the first character of IFS is used to create $*, 373491a17321Smrg# except with old shells: 373591a17321Smrgbuild_os=$* 373691a17321SmrgIFS=$ac_save_IFS 373791a17321Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 373891a17321Smrg 373991a17321Smrg 374091a17321Smrg{ echo "$as_me:$LINENO: checking host system type" >&5 374191a17321Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; } 374291a17321Smrgif test "${ac_cv_host+set}" = set; then 374391a17321Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 374491a17321Smrgelse 374591a17321Smrg if test "x$host_alias" = x; then 374691a17321Smrg ac_cv_host=$ac_cv_build 374791a17321Smrgelse 374891a17321Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 374991a17321Smrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 375091a17321Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 375191a17321Smrg { (exit 1); exit 1; }; } 375291a17321Smrgfi 375391a17321Smrg 375491a17321Smrgfi 375591a17321Smrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 375691a17321Smrgecho "${ECHO_T}$ac_cv_host" >&6; } 375791a17321Smrgcase $ac_cv_host in 375891a17321Smrg*-*-*) ;; 375991a17321Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 376091a17321Smrgecho "$as_me: error: invalid value of canonical host" >&2;} 376191a17321Smrg { (exit 1); exit 1; }; };; 376291a17321Smrgesac 376391a17321Smrghost=$ac_cv_host 376491a17321Smrgac_save_IFS=$IFS; IFS='-' 376591a17321Smrgset x $ac_cv_host 376691a17321Smrgshift 376791a17321Smrghost_cpu=$1 376891a17321Smrghost_vendor=$2 376991a17321Smrgshift; shift 377091a17321Smrg# Remember, the first character of IFS is used to create $*, 377191a17321Smrg# except with old shells: 377291a17321Smrghost_os=$* 377391a17321SmrgIFS=$ac_save_IFS 377491a17321Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 377591a17321Smrg 377691a17321Smrg 377791a17321Smrg 377891a17321Smrg 377991a17321Smrg 378091a17321Smrgif test x$APP_MAN_SUFFIX = x ; then 378191a17321Smrg case $host_os in 378291a17321Smrg linux*) APP_MAN_SUFFIX=1x ;; 378391a17321Smrg *) APP_MAN_SUFFIX=1 ;; 378491a17321Smrg esac 378591a17321Smrgfi 378691a17321Smrgif test x$APP_MAN_DIR = x ; then 378791a17321Smrg case $host_os in 378891a17321Smrg linux*) APP_MAN_DIR='$(mandir)/man1' ;; 378991a17321Smrg *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;; 379091a17321Smrg esac 379191a17321Smrgfi 379291a17321Smrg 379391a17321Smrgif test x$LIB_MAN_SUFFIX = x ; then 379491a17321Smrg case $host_os in 379591a17321Smrg linux*) LIB_MAN_SUFFIX=3x ;; 379691a17321Smrg *) LIB_MAN_SUFFIX=3 ;; 379791a17321Smrg esac 379891a17321Smrgfi 379991a17321Smrgif test x$LIB_MAN_DIR = x ; then 380091a17321Smrg case $host_os in 380191a17321Smrg linux*) LIB_MAN_DIR='$(mandir)/man3' ;; 380291a17321Smrg *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;; 380391a17321Smrg esac 380491a17321Smrgfi 380591a17321Smrg 380691a17321Smrgif test x$FILE_MAN_SUFFIX = x ; then 380791a17321Smrg case $host_os in 380891a17321Smrg linux*) FILE_MAN_SUFFIX=5x ;; 380991a17321Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 381091a17321Smrg *) FILE_MAN_SUFFIX=5 ;; 381191a17321Smrg esac 381291a17321Smrgfi 381391a17321Smrgif test x$FILE_MAN_DIR = x ; then 381491a17321Smrg case $host_os in 381591a17321Smrg linux*) FILE_MAN_DIR='$(mandir)/man5' ;; 381691a17321Smrg *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;; 381791a17321Smrg esac 381891a17321Smrgfi 381991a17321Smrg 382091a17321Smrg# In Imake's linux.cf, the misc man suffix & dir was only changed for 382191a17321Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 382291a17321Smrgif test x$MISC_MAN_SUFFIX = x ; then 382391a17321Smrg case $host_os in 382491a17321Smrg# linux*) MISC_MAN_SUFFIX=7x ;; 382591a17321Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 382691a17321Smrg *) MISC_MAN_SUFFIX=7 ;; 382791a17321Smrg esac 382891a17321Smrgfi 382991a17321Smrgif test x$MISC_MAN_DIR = x ; then 383091a17321Smrg case $host_os in 383191a17321Smrg# linux*) MISC_MAN_DIR='$(mandir)/man7' ;; 383291a17321Smrg *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;; 383391a17321Smrg esac 383491a17321Smrgfi 383591a17321Smrg 383691a17321Smrg# In Imake's linux.cf, the driver man suffix & dir was only changed for 383791a17321Smrg# LinuxDebian, not other Linuxes, so we leave it unchanged here 383891a17321Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 383991a17321Smrg case $host_os in 384091a17321Smrg# linux*) DRIVER_MAN_SUFFIX=4x ;; 384191a17321Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 384291a17321Smrg *) DRIVER_MAN_SUFFIX=4 ;; 384391a17321Smrg esac 384491a17321Smrgfi 384591a17321Smrgif test x$DRIVER_MAN_DIR = x ; then 384691a17321Smrg case $host_os in 384791a17321Smrg# linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;; 384891a17321Smrg *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;; 384991a17321Smrg esac 385091a17321Smrgfi 385191a17321Smrg 385291a17321Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 385391a17321Smrg case $host_os in 385491a17321Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 385591a17321Smrg *) ADMIN_MAN_SUFFIX=8 ;; 385691a17321Smrg esac 385791a17321Smrgfi 385891a17321Smrgif test x$ADMIN_MAN_DIR = x ; then 385991a17321Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 386091a17321Smrgfi 386191a17321Smrg 386291a17321Smrg 386391a17321Smrg 386491a17321Smrg 386591a17321Smrg 386691a17321Smrg 386791a17321Smrg 386891a17321Smrg 386991a17321Smrg 387091a17321Smrg 387191a17321Smrg 387291a17321Smrg 387391a17321Smrg 387491a17321Smrg 387591a17321Smrg 387691a17321Smrg 387791a17321Smrg 387891a17321Smrg# Check whether --with-release-version was given. 387991a17321Smrgif test "${with_release_version+set}" = set; then 388091a17321Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 388191a17321Smrgelse 388291a17321Smrg RELEASE_VERSION="" 388391a17321Smrgfi 388491a17321Smrg 388591a17321Smrg if test "x$RELEASE_VERSION" != "x"; then 388691a17321Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 388791a17321Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 388891a17321Smrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 388991a17321Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 389091a17321Smrg fi 389191a17321Smrg 389291a17321Smrg 389391a17321Smrgac_config_files="$ac_config_files Makefile" 389491a17321Smrg 389591a17321Smrgcat >confcache <<\_ACEOF 389691a17321Smrg# This file is a shell script that caches the results of configure 389791a17321Smrg# tests run on this system so they can be shared between configure 389891a17321Smrg# scripts and configure runs, see configure's option --config-cache. 389991a17321Smrg# It is not useful on other systems. If it contains results you don't 390091a17321Smrg# want to keep, you may remove or edit it. 390191a17321Smrg# 390291a17321Smrg# config.status only pays attention to the cache file if you give it 390391a17321Smrg# the --recheck option to rerun configure. 390491a17321Smrg# 390591a17321Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 390691a17321Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 390791a17321Smrg# following values. 390891a17321Smrg 390991a17321Smrg_ACEOF 391091a17321Smrg 391191a17321Smrg# The following way of writing the cache mishandles newlines in values, 391291a17321Smrg# but we know of no workaround that is simple, portable, and efficient. 391391a17321Smrg# So, we kill variables containing newlines. 391491a17321Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 391591a17321Smrg# and sets the high bit in the cache file unless we assign to the vars. 391691a17321Smrg( 391791a17321Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 391891a17321Smrg eval ac_val=\$$ac_var 391991a17321Smrg case $ac_val in #( 392091a17321Smrg *${as_nl}*) 392191a17321Smrg case $ac_var in #( 392291a17321Smrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 392391a17321Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 392491a17321Smrg esac 392591a17321Smrg case $ac_var in #( 392691a17321Smrg _ | IFS | as_nl) ;; #( 392791a17321Smrg *) $as_unset $ac_var ;; 392891a17321Smrg esac ;; 392991a17321Smrg esac 393091a17321Smrg done 393191a17321Smrg 393291a17321Smrg (set) 2>&1 | 393391a17321Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 393491a17321Smrg *${as_nl}ac_space=\ *) 393591a17321Smrg # `set' does not quote correctly, so add quotes (double-quote 393691a17321Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 393791a17321Smrg sed -n \ 393891a17321Smrg "s/'/'\\\\''/g; 393991a17321Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 394091a17321Smrg ;; #( 394191a17321Smrg *) 394291a17321Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 394391a17321Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 394491a17321Smrg ;; 394591a17321Smrg esac | 394691a17321Smrg sort 394791a17321Smrg) | 394891a17321Smrg sed ' 394991a17321Smrg /^ac_cv_env_/b end 395091a17321Smrg t clear 395191a17321Smrg :clear 395291a17321Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 395391a17321Smrg t end 395491a17321Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 395591a17321Smrg :end' >>confcache 395691a17321Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 395791a17321Smrg if test -w "$cache_file"; then 395891a17321Smrg test "x$cache_file" != "x/dev/null" && 395991a17321Smrg { echo "$as_me:$LINENO: updating cache $cache_file" >&5 396091a17321Smrgecho "$as_me: updating cache $cache_file" >&6;} 396191a17321Smrg cat confcache >$cache_file 396291a17321Smrg else 396391a17321Smrg { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 396491a17321Smrgecho "$as_me: not updating unwritable cache $cache_file" >&6;} 396591a17321Smrg fi 396691a17321Smrgfi 396791a17321Smrgrm -f confcache 396891a17321Smrg 396991a17321Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 397091a17321Smrg# Let make expand exec_prefix. 397191a17321Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 397291a17321Smrg 397391a17321SmrgDEFS=-DHAVE_CONFIG_H 397491a17321Smrg 397591a17321Smrgac_libobjs= 397691a17321Smrgac_ltlibobjs= 397791a17321Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 397891a17321Smrg # 1. Remove the extension, and $U if already installed. 397991a17321Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 398091a17321Smrg ac_i=`echo "$ac_i" | sed "$ac_script"` 398191a17321Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 398291a17321Smrg # will be set to the directory where LIBOBJS objects are built. 398391a17321Smrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 398491a17321Smrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 398591a17321Smrgdone 398691a17321SmrgLIBOBJS=$ac_libobjs 398791a17321Smrg 398891a17321SmrgLTLIBOBJS=$ac_ltlibobjs 398991a17321Smrg 399091a17321Smrg 399191a17321Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 399291a17321Smrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 399391a17321SmrgUsually this means the macro was only invoked conditionally." >&5 399491a17321Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 399591a17321SmrgUsually this means the macro was only invoked conditionally." >&2;} 399691a17321Smrg { (exit 1); exit 1; }; } 399791a17321Smrgfi 399891a17321Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 399991a17321Smrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 400091a17321SmrgUsually this means the macro was only invoked conditionally." >&5 400191a17321Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 400291a17321SmrgUsually this means the macro was only invoked conditionally." >&2;} 400391a17321Smrg { (exit 1); exit 1; }; } 400491a17321Smrgfi 400591a17321Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 400691a17321Smrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 400791a17321SmrgUsually this means the macro was only invoked conditionally." >&5 400891a17321Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 400991a17321SmrgUsually this means the macro was only invoked conditionally." >&2;} 401091a17321Smrg { (exit 1); exit 1; }; } 401191a17321Smrgfi 401291a17321Smrg 401391a17321Smrg: ${CONFIG_STATUS=./config.status} 401491a17321Smrgac_clean_files_save=$ac_clean_files 401591a17321Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 401691a17321Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 401791a17321Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 401891a17321Smrgcat >$CONFIG_STATUS <<_ACEOF 401991a17321Smrg#! $SHELL 402091a17321Smrg# Generated by $as_me. 402191a17321Smrg# Run this file to recreate the current configuration. 402291a17321Smrg# Compiler output produced by configure, useful for debugging 402391a17321Smrg# configure, is in config.log if it exists. 402491a17321Smrg 402591a17321Smrgdebug=false 402691a17321Smrgac_cs_recheck=false 402791a17321Smrgac_cs_silent=false 402891a17321SmrgSHELL=\${CONFIG_SHELL-$SHELL} 402991a17321Smrg_ACEOF 403091a17321Smrg 403191a17321Smrgcat >>$CONFIG_STATUS <<\_ACEOF 403291a17321Smrg## --------------------- ## 403391a17321Smrg## M4sh Initialization. ## 403491a17321Smrg## --------------------- ## 403591a17321Smrg 403691a17321Smrg# Be Bourne compatible 403791a17321Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 403891a17321Smrg emulate sh 403991a17321Smrg NULLCMD=: 404091a17321Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 404191a17321Smrg # is contrary to our usage. Disable this feature. 404291a17321Smrg alias -g '${1+"$@"}'='"$@"' 404391a17321Smrg setopt NO_GLOB_SUBST 404491a17321Smrgelse 404591a17321Smrg case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 404691a17321Smrgfi 404791a17321SmrgBIN_SH=xpg4; export BIN_SH # for Tru64 404891a17321SmrgDUALCASE=1; export DUALCASE # for MKS sh 404991a17321Smrg 405091a17321Smrg 405191a17321Smrg# PATH needs CR 405291a17321Smrg# Avoid depending upon Character Ranges. 405391a17321Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 405491a17321Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 405591a17321Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 405691a17321Smrgas_cr_digits='0123456789' 405791a17321Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 405891a17321Smrg 405991a17321Smrg# The user is always right. 406091a17321Smrgif test "${PATH_SEPARATOR+set}" != set; then 406191a17321Smrg echo "#! /bin/sh" >conf$$.sh 406291a17321Smrg echo "exit 0" >>conf$$.sh 406391a17321Smrg chmod +x conf$$.sh 406491a17321Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 406591a17321Smrg PATH_SEPARATOR=';' 406691a17321Smrg else 406791a17321Smrg PATH_SEPARATOR=: 406891a17321Smrg fi 406991a17321Smrg rm -f conf$$.sh 407091a17321Smrgfi 407191a17321Smrg 407291a17321Smrg# Support unset when possible. 407391a17321Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 407491a17321Smrg as_unset=unset 407591a17321Smrgelse 407691a17321Smrg as_unset=false 407791a17321Smrgfi 407891a17321Smrg 407991a17321Smrg 408091a17321Smrg# IFS 408191a17321Smrg# We need space, tab and new line, in precisely that order. Quoting is 408291a17321Smrg# there to prevent editors from complaining about space-tab. 408391a17321Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 408491a17321Smrg# splitting by setting IFS to empty value.) 408591a17321Smrgas_nl=' 408691a17321Smrg' 408791a17321SmrgIFS=" "" $as_nl" 408891a17321Smrg 408991a17321Smrg# Find who we are. Look in the path if we contain no directory separator. 409091a17321Smrgcase $0 in 409191a17321Smrg *[\\/]* ) as_myself=$0 ;; 409291a17321Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 409391a17321Smrgfor as_dir in $PATH 409491a17321Smrgdo 409591a17321Smrg IFS=$as_save_IFS 409691a17321Smrg test -z "$as_dir" && as_dir=. 409791a17321Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 409891a17321Smrgdone 409991a17321SmrgIFS=$as_save_IFS 410091a17321Smrg 410191a17321Smrg ;; 410291a17321Smrgesac 410391a17321Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 410491a17321Smrg# in which case we are not to be found in the path. 410591a17321Smrgif test "x$as_myself" = x; then 410691a17321Smrg as_myself=$0 410791a17321Smrgfi 410891a17321Smrgif test ! -f "$as_myself"; then 410991a17321Smrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 411091a17321Smrg { (exit 1); exit 1; } 411191a17321Smrgfi 411291a17321Smrg 411391a17321Smrg# Work around bugs in pre-3.0 UWIN ksh. 411491a17321Smrgfor as_var in ENV MAIL MAILPATH 411591a17321Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 411691a17321Smrgdone 411791a17321SmrgPS1='$ ' 411891a17321SmrgPS2='> ' 411991a17321SmrgPS4='+ ' 412091a17321Smrg 412191a17321Smrg# NLS nuisances. 412291a17321Smrgfor as_var in \ 412391a17321Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 412491a17321Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 412591a17321Smrg LC_TELEPHONE LC_TIME 412691a17321Smrgdo 412791a17321Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 412891a17321Smrg eval $as_var=C; export $as_var 412991a17321Smrg else 413091a17321Smrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 413191a17321Smrg fi 413291a17321Smrgdone 413391a17321Smrg 413491a17321Smrg# Required to use basename. 413591a17321Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 413691a17321Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 413791a17321Smrg as_expr=expr 413891a17321Smrgelse 413991a17321Smrg as_expr=false 414091a17321Smrgfi 414191a17321Smrg 414291a17321Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 414391a17321Smrg as_basename=basename 414491a17321Smrgelse 414591a17321Smrg as_basename=false 414691a17321Smrgfi 414791a17321Smrg 414891a17321Smrg 414991a17321Smrg# Name of the executable. 415091a17321Smrgas_me=`$as_basename -- "$0" || 415191a17321Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 415291a17321Smrg X"$0" : 'X\(//\)$' \| \ 415391a17321Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 415491a17321Smrgecho X/"$0" | 415591a17321Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 415691a17321Smrg s//\1/ 415791a17321Smrg q 415891a17321Smrg } 415991a17321Smrg /^X\/\(\/\/\)$/{ 416091a17321Smrg s//\1/ 416191a17321Smrg q 416291a17321Smrg } 416391a17321Smrg /^X\/\(\/\).*/{ 416491a17321Smrg s//\1/ 416591a17321Smrg q 416691a17321Smrg } 416791a17321Smrg s/.*/./; q'` 416891a17321Smrg 416991a17321Smrg# CDPATH. 417091a17321Smrg$as_unset CDPATH 417191a17321Smrg 417291a17321Smrg 417391a17321Smrg 417491a17321Smrg as_lineno_1=$LINENO 417591a17321Smrg as_lineno_2=$LINENO 417691a17321Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 417791a17321Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 417891a17321Smrg 417991a17321Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 418091a17321Smrg # uniformly replaced by the line number. The first 'sed' inserts a 418191a17321Smrg # line-number line after each line using $LINENO; the second 'sed' 418291a17321Smrg # does the real work. The second script uses 'N' to pair each 418391a17321Smrg # line-number line with the line containing $LINENO, and appends 418491a17321Smrg # trailing '-' during substitution so that $LINENO is not a special 418591a17321Smrg # case at line end. 418691a17321Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 418791a17321Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 418891a17321Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 418991a17321Smrg sed -n ' 419091a17321Smrg p 419191a17321Smrg /[$]LINENO/= 419291a17321Smrg ' <$as_myself | 419391a17321Smrg sed ' 419491a17321Smrg s/[$]LINENO.*/&-/ 419591a17321Smrg t lineno 419691a17321Smrg b 419791a17321Smrg :lineno 419891a17321Smrg N 419991a17321Smrg :loop 420091a17321Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 420191a17321Smrg t loop 420291a17321Smrg s/-\n.*// 420391a17321Smrg ' >$as_me.lineno && 420491a17321Smrg chmod +x "$as_me.lineno" || 420591a17321Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 420691a17321Smrg { (exit 1); exit 1; }; } 420791a17321Smrg 420891a17321Smrg # Don't try to exec as it changes $[0], causing all sort of problems 420991a17321Smrg # (the dirname of $[0] is not the place where we might find the 421091a17321Smrg # original and so on. Autoconf is especially sensitive to this). 421191a17321Smrg . "./$as_me.lineno" 421291a17321Smrg # Exit status is that of the last command. 421391a17321Smrg exit 421491a17321Smrg} 421591a17321Smrg 421691a17321Smrg 421791a17321Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 421891a17321Smrg as_dirname=dirname 421991a17321Smrgelse 422091a17321Smrg as_dirname=false 422191a17321Smrgfi 422291a17321Smrg 422391a17321SmrgECHO_C= ECHO_N= ECHO_T= 422491a17321Smrgcase `echo -n x` in 422591a17321Smrg-n*) 422691a17321Smrg case `echo 'x\c'` in 422791a17321Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 422891a17321Smrg *) ECHO_C='\c';; 422991a17321Smrg esac;; 423091a17321Smrg*) 423191a17321Smrg ECHO_N='-n';; 423291a17321Smrgesac 423391a17321Smrg 423491a17321Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 423591a17321Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 423691a17321Smrg as_expr=expr 423791a17321Smrgelse 423891a17321Smrg as_expr=false 423991a17321Smrgfi 424091a17321Smrg 424191a17321Smrgrm -f conf$$ conf$$.exe conf$$.file 424291a17321Smrgif test -d conf$$.dir; then 424391a17321Smrg rm -f conf$$.dir/conf$$.file 424491a17321Smrgelse 424591a17321Smrg rm -f conf$$.dir 424691a17321Smrg mkdir conf$$.dir 424791a17321Smrgfi 424891a17321Smrgecho >conf$$.file 424991a17321Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 425091a17321Smrg as_ln_s='ln -s' 425191a17321Smrg # ... but there are two gotchas: 425291a17321Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 425391a17321Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 425491a17321Smrg # In both cases, we have to default to `cp -p'. 425591a17321Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 425691a17321Smrg as_ln_s='cp -p' 425791a17321Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 425891a17321Smrg as_ln_s=ln 425991a17321Smrgelse 426091a17321Smrg as_ln_s='cp -p' 426191a17321Smrgfi 426291a17321Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 426391a17321Smrgrmdir conf$$.dir 2>/dev/null 426491a17321Smrg 426591a17321Smrgif mkdir -p . 2>/dev/null; then 426691a17321Smrg as_mkdir_p=: 426791a17321Smrgelse 426891a17321Smrg test -d ./-p && rmdir ./-p 426991a17321Smrg as_mkdir_p=false 427091a17321Smrgfi 427191a17321Smrg 427291a17321Smrg# Find out whether ``test -x'' works. Don't use a zero-byte file, as 427391a17321Smrg# systems may use methods other than mode bits to determine executability. 427491a17321Smrgcat >conf$$.file <<_ASEOF 427591a17321Smrg#! /bin/sh 427691a17321Smrgexit 0 427791a17321Smrg_ASEOF 427891a17321Smrgchmod +x conf$$.file 427991a17321Smrgif test -x conf$$.file >/dev/null 2>&1; then 428091a17321Smrg as_executable_p="test -x" 428191a17321Smrgelse 428291a17321Smrg as_executable_p=: 428391a17321Smrgfi 428491a17321Smrgrm -f conf$$.file 428591a17321Smrg 428691a17321Smrg# Sed expression to map a string onto a valid CPP name. 428791a17321Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 428891a17321Smrg 428991a17321Smrg# Sed expression to map a string onto a valid variable name. 429091a17321Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 429191a17321Smrg 429291a17321Smrg 429391a17321Smrgexec 6>&1 429491a17321Smrg 429591a17321Smrg# Save the log message, to keep $[0] and so on meaningful, and to 429691a17321Smrg# report actual input values of CONFIG_FILES etc. instead of their 429791a17321Smrg# values after options handling. 429891a17321Smrgac_log=" 429991a17321SmrgThis file was extended by xsetpointer $as_me 1.0.1, which was 430091a17321Smrggenerated by GNU Autoconf 2.60. Invocation command line was 430191a17321Smrg 430291a17321Smrg CONFIG_FILES = $CONFIG_FILES 430391a17321Smrg CONFIG_HEADERS = $CONFIG_HEADERS 430491a17321Smrg CONFIG_LINKS = $CONFIG_LINKS 430591a17321Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 430691a17321Smrg $ $0 $@ 430791a17321Smrg 430891a17321Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 430991a17321Smrg" 431091a17321Smrg 431191a17321Smrg_ACEOF 431291a17321Smrg 431391a17321Smrgcat >>$CONFIG_STATUS <<_ACEOF 431491a17321Smrg# Files that config.status was made for. 431591a17321Smrgconfig_files="$ac_config_files" 431691a17321Smrgconfig_headers="$ac_config_headers" 431791a17321Smrgconfig_commands="$ac_config_commands" 431891a17321Smrg 431991a17321Smrg_ACEOF 432091a17321Smrg 432191a17321Smrgcat >>$CONFIG_STATUS <<\_ACEOF 432291a17321Smrgac_cs_usage="\ 432391a17321Smrg\`$as_me' instantiates files from templates according to the 432491a17321Smrgcurrent configuration. 432591a17321Smrg 432691a17321SmrgUsage: $0 [OPTIONS] [FILE]... 432791a17321Smrg 432891a17321Smrg -h, --help print this help, then exit 432991a17321Smrg -V, --version print version number, then exit 433091a17321Smrg -q, --quiet do not print progress messages 433191a17321Smrg -d, --debug don't remove temporary files 433291a17321Smrg --recheck update $as_me by reconfiguring in the same conditions 433391a17321Smrg --file=FILE[:TEMPLATE] 433491a17321Smrg instantiate the configuration file FILE 433591a17321Smrg --header=FILE[:TEMPLATE] 433691a17321Smrg instantiate the configuration header FILE 433791a17321Smrg 433891a17321SmrgConfiguration files: 433991a17321Smrg$config_files 434091a17321Smrg 434191a17321SmrgConfiguration headers: 434291a17321Smrg$config_headers 434391a17321Smrg 434491a17321SmrgConfiguration commands: 434591a17321Smrg$config_commands 434691a17321Smrg 434791a17321SmrgReport bugs to <bug-autoconf@gnu.org>." 434891a17321Smrg 434991a17321Smrg_ACEOF 435091a17321Smrgcat >>$CONFIG_STATUS <<_ACEOF 435191a17321Smrgac_cs_version="\\ 435291a17321Smrgxsetpointer config.status 1.0.1 435391a17321Smrgconfigured by $0, generated by GNU Autoconf 2.60, 435491a17321Smrg with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 435591a17321Smrg 435691a17321SmrgCopyright (C) 2006 Free Software Foundation, Inc. 435791a17321SmrgThis config.status script is free software; the Free Software Foundation 435891a17321Smrggives unlimited permission to copy, distribute and modify it." 435991a17321Smrg 436091a17321Smrgac_pwd='$ac_pwd' 436191a17321Smrgsrcdir='$srcdir' 436291a17321SmrgINSTALL='$INSTALL' 436391a17321Smrg_ACEOF 436491a17321Smrg 436591a17321Smrgcat >>$CONFIG_STATUS <<\_ACEOF 436691a17321Smrg# If no file are specified by the user, then we need to provide default 436791a17321Smrg# value. By we need to know if files were specified by the user. 436891a17321Smrgac_need_defaults=: 436991a17321Smrgwhile test $# != 0 437091a17321Smrgdo 437191a17321Smrg case $1 in 437291a17321Smrg --*=*) 437391a17321Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 437491a17321Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 437591a17321Smrg ac_shift=: 437691a17321Smrg ;; 437791a17321Smrg *) 437891a17321Smrg ac_option=$1 437991a17321Smrg ac_optarg=$2 438091a17321Smrg ac_shift=shift 438191a17321Smrg ;; 438291a17321Smrg esac 438391a17321Smrg 438491a17321Smrg case $ac_option in 438591a17321Smrg # Handling of the options. 438691a17321Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 438791a17321Smrg ac_cs_recheck=: ;; 438891a17321Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 438991a17321Smrg echo "$ac_cs_version"; exit ;; 439091a17321Smrg --debug | --debu | --deb | --de | --d | -d ) 439191a17321Smrg debug=: ;; 439291a17321Smrg --file | --fil | --fi | --f ) 439391a17321Smrg $ac_shift 439491a17321Smrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 439591a17321Smrg ac_need_defaults=false;; 439691a17321Smrg --header | --heade | --head | --hea ) 439791a17321Smrg $ac_shift 439891a17321Smrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 439991a17321Smrg ac_need_defaults=false;; 440091a17321Smrg --he | --h) 440191a17321Smrg # Conflict between --help and --header 440291a17321Smrg { echo "$as_me: error: ambiguous option: $1 440391a17321SmrgTry \`$0 --help' for more information." >&2 440491a17321Smrg { (exit 1); exit 1; }; };; 440591a17321Smrg --help | --hel | -h ) 440691a17321Smrg echo "$ac_cs_usage"; exit ;; 440791a17321Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 440891a17321Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 440991a17321Smrg ac_cs_silent=: ;; 441091a17321Smrg 441191a17321Smrg # This is an error. 441291a17321Smrg -*) { echo "$as_me: error: unrecognized option: $1 441391a17321SmrgTry \`$0 --help' for more information." >&2 441491a17321Smrg { (exit 1); exit 1; }; } ;; 441591a17321Smrg 441691a17321Smrg *) ac_config_targets="$ac_config_targets $1" 441791a17321Smrg ac_need_defaults=false ;; 441891a17321Smrg 441991a17321Smrg esac 442091a17321Smrg shift 442191a17321Smrgdone 442291a17321Smrg 442391a17321Smrgac_configure_extra_args= 442491a17321Smrg 442591a17321Smrgif $ac_cs_silent; then 442691a17321Smrg exec 6>/dev/null 442791a17321Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 442891a17321Smrgfi 442991a17321Smrg 443091a17321Smrg_ACEOF 443191a17321Smrgcat >>$CONFIG_STATUS <<_ACEOF 443291a17321Smrgif \$ac_cs_recheck; then 443391a17321Smrg echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 443491a17321Smrg CONFIG_SHELL=$SHELL 443591a17321Smrg export CONFIG_SHELL 443691a17321Smrg exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 443791a17321Smrgfi 443891a17321Smrg 443991a17321Smrg_ACEOF 444091a17321Smrgcat >>$CONFIG_STATUS <<\_ACEOF 444191a17321Smrgexec 5>>config.log 444291a17321Smrg{ 444391a17321Smrg echo 444491a17321Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 444591a17321Smrg## Running $as_me. ## 444691a17321Smrg_ASBOX 444791a17321Smrg echo "$ac_log" 444891a17321Smrg} >&5 444991a17321Smrg 445091a17321Smrg_ACEOF 445191a17321Smrgcat >>$CONFIG_STATUS <<_ACEOF 445291a17321Smrg# 445391a17321Smrg# INIT-COMMANDS 445491a17321Smrg# 445591a17321SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 445691a17321Smrg 445791a17321Smrg_ACEOF 445891a17321Smrg 445991a17321Smrgcat >>$CONFIG_STATUS <<\_ACEOF 446091a17321Smrg 446191a17321Smrg# Handling of arguments. 446291a17321Smrgfor ac_config_target in $ac_config_targets 446391a17321Smrgdo 446491a17321Smrg case $ac_config_target in 446591a17321Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 446691a17321Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 446791a17321Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 446891a17321Smrg 446991a17321Smrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 447091a17321Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 447191a17321Smrg { (exit 1); exit 1; }; };; 447291a17321Smrg esac 447391a17321Smrgdone 447491a17321Smrg 447591a17321Smrg 447691a17321Smrg# If the user did not use the arguments to specify the items to instantiate, 447791a17321Smrg# then the envvar interface is used. Set only those that are not. 447891a17321Smrg# We use the long form for the default assignment because of an extremely 447991a17321Smrg# bizarre bug on SunOS 4.1.3. 448091a17321Smrgif $ac_need_defaults; then 448191a17321Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 448291a17321Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 448391a17321Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 448491a17321Smrgfi 448591a17321Smrg 448691a17321Smrg# Have a temporary directory for convenience. Make it in the build tree 448791a17321Smrg# simply because there is no reason against having it here, and in addition, 448891a17321Smrg# creating and moving files from /tmp can sometimes cause problems. 448991a17321Smrg# Hook for its removal unless debugging. 449091a17321Smrg# Note that there is a small window in which the directory will not be cleaned: 449191a17321Smrg# after its creation but before its name has been assigned to `$tmp'. 449291a17321Smrg$debug || 449391a17321Smrg{ 449491a17321Smrg tmp= 449591a17321Smrg trap 'exit_status=$? 449691a17321Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 449791a17321Smrg' 0 449891a17321Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 449991a17321Smrg} 450091a17321Smrg# Create a (secure) tmp directory for tmp files. 450191a17321Smrg 450291a17321Smrg{ 450391a17321Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 450491a17321Smrg test -n "$tmp" && test -d "$tmp" 450591a17321Smrg} || 450691a17321Smrg{ 450791a17321Smrg tmp=./conf$$-$RANDOM 450891a17321Smrg (umask 077 && mkdir "$tmp") 450991a17321Smrg} || 451091a17321Smrg{ 451191a17321Smrg echo "$me: cannot create a temporary directory in ." >&2 451291a17321Smrg { (exit 1); exit 1; } 451391a17321Smrg} 451491a17321Smrg 451591a17321Smrg# 451691a17321Smrg# Set up the sed scripts for CONFIG_FILES section. 451791a17321Smrg# 451891a17321Smrg 451991a17321Smrg# No need to generate the scripts if there are no CONFIG_FILES. 452091a17321Smrg# This happens for instance when ./config.status config.h 452191a17321Smrgif test -n "$CONFIG_FILES"; then 452291a17321Smrg 452391a17321Smrg_ACEOF 452491a17321Smrg 452591a17321Smrg 452691a17321Smrg 452791a17321Smrgac_delim='%!_!# ' 452891a17321Smrgfor ac_last_try in false false false false false :; do 452991a17321Smrg cat >conf$$subs.sed <<_ACEOF 453091a17321SmrgSHELL!$SHELL$ac_delim 453191a17321SmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 453291a17321SmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim 453391a17321SmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 453491a17321SmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 453591a17321SmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim 453691a17321SmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 453791a17321Smrgexec_prefix!$exec_prefix$ac_delim 453891a17321Smrgprefix!$prefix$ac_delim 453991a17321Smrgprogram_transform_name!$program_transform_name$ac_delim 454091a17321Smrgbindir!$bindir$ac_delim 454191a17321Smrgsbindir!$sbindir$ac_delim 454291a17321Smrglibexecdir!$libexecdir$ac_delim 454391a17321Smrgdatarootdir!$datarootdir$ac_delim 454491a17321Smrgdatadir!$datadir$ac_delim 454591a17321Smrgsysconfdir!$sysconfdir$ac_delim 454691a17321Smrgsharedstatedir!$sharedstatedir$ac_delim 454791a17321Smrglocalstatedir!$localstatedir$ac_delim 454891a17321Smrgincludedir!$includedir$ac_delim 454991a17321Smrgoldincludedir!$oldincludedir$ac_delim 455091a17321Smrgdocdir!$docdir$ac_delim 455191a17321Smrginfodir!$infodir$ac_delim 455291a17321Smrghtmldir!$htmldir$ac_delim 455391a17321Smrgdvidir!$dvidir$ac_delim 455491a17321Smrgpdfdir!$pdfdir$ac_delim 455591a17321Smrgpsdir!$psdir$ac_delim 455691a17321Smrglibdir!$libdir$ac_delim 455791a17321Smrglocaledir!$localedir$ac_delim 455891a17321Smrgmandir!$mandir$ac_delim 455991a17321SmrgDEFS!$DEFS$ac_delim 456091a17321SmrgECHO_C!$ECHO_C$ac_delim 456191a17321SmrgECHO_N!$ECHO_N$ac_delim 456291a17321SmrgECHO_T!$ECHO_T$ac_delim 456391a17321SmrgLIBS!$LIBS$ac_delim 456491a17321Smrgbuild_alias!$build_alias$ac_delim 456591a17321Smrghost_alias!$host_alias$ac_delim 456691a17321Smrgtarget_alias!$target_alias$ac_delim 456791a17321SmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 456891a17321SmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 456991a17321SmrgINSTALL_DATA!$INSTALL_DATA$ac_delim 457091a17321SmrgCYGPATH_W!$CYGPATH_W$ac_delim 457191a17321SmrgPACKAGE!$PACKAGE$ac_delim 457291a17321SmrgVERSION!$VERSION$ac_delim 457391a17321SmrgACLOCAL!$ACLOCAL$ac_delim 457491a17321SmrgAUTOCONF!$AUTOCONF$ac_delim 457591a17321SmrgAUTOMAKE!$AUTOMAKE$ac_delim 457691a17321SmrgAUTOHEADER!$AUTOHEADER$ac_delim 457791a17321SmrgMAKEINFO!$MAKEINFO$ac_delim 457891a17321Smrginstall_sh!$install_sh$ac_delim 457991a17321SmrgSTRIP!$STRIP$ac_delim 458091a17321SmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 458191a17321Smrgmkdir_p!$mkdir_p$ac_delim 458291a17321SmrgAWK!$AWK$ac_delim 458391a17321SmrgSET_MAKE!$SET_MAKE$ac_delim 458491a17321Smrgam__leading_dot!$am__leading_dot$ac_delim 458591a17321SmrgAMTAR!$AMTAR$ac_delim 458691a17321Smrgam__tar!$am__tar$ac_delim 458791a17321Smrgam__untar!$am__untar$ac_delim 458891a17321SmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 458991a17321SmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 459091a17321SmrgMAINT!$MAINT$ac_delim 459191a17321SmrgCC!$CC$ac_delim 459291a17321SmrgCFLAGS!$CFLAGS$ac_delim 459391a17321SmrgLDFLAGS!$LDFLAGS$ac_delim 459491a17321SmrgCPPFLAGS!$CPPFLAGS$ac_delim 459591a17321Smrgac_ct_CC!$ac_ct_CC$ac_delim 459691a17321SmrgEXEEXT!$EXEEXT$ac_delim 459791a17321SmrgOBJEXT!$OBJEXT$ac_delim 459891a17321SmrgDEPDIR!$DEPDIR$ac_delim 459991a17321Smrgam__include!$am__include$ac_delim 460091a17321Smrgam__quote!$am__quote$ac_delim 460191a17321SmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim 460291a17321SmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim 460391a17321SmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 460491a17321SmrgCCDEPMODE!$CCDEPMODE$ac_delim 460591a17321Smrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 460691a17321Smrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 460791a17321SmrgPKG_CONFIG!$PKG_CONFIG$ac_delim 460891a17321SmrgXSETPOINTER_CFLAGS!$XSETPOINTER_CFLAGS$ac_delim 460991a17321SmrgXSETPOINTER_LIBS!$XSETPOINTER_LIBS$ac_delim 461091a17321Smrgbuild!$build$ac_delim 461191a17321Smrgbuild_cpu!$build_cpu$ac_delim 461291a17321Smrgbuild_vendor!$build_vendor$ac_delim 461391a17321Smrgbuild_os!$build_os$ac_delim 461491a17321Smrghost!$host$ac_delim 461591a17321Smrghost_cpu!$host_cpu$ac_delim 461691a17321Smrghost_vendor!$host_vendor$ac_delim 461791a17321Smrghost_os!$host_os$ac_delim 461891a17321SmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim 461991a17321SmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim 462091a17321SmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim 462191a17321SmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim 462291a17321SmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim 462391a17321SmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim 462491a17321SmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim 462591a17321SmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim 462691a17321SmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim 462791a17321Smrg_ACEOF 462891a17321Smrg 462991a17321Smrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 463091a17321Smrg break 463191a17321Smrg elif $ac_last_try; then 463291a17321Smrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 463391a17321Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 463491a17321Smrg { (exit 1); exit 1; }; } 463591a17321Smrg else 463691a17321Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 463791a17321Smrg fi 463891a17321Smrgdone 463991a17321Smrg 464091a17321Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 464191a17321Smrgif test -n "$ac_eof"; then 464291a17321Smrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 464391a17321Smrg ac_eof=`expr $ac_eof + 1` 464491a17321Smrgfi 464591a17321Smrg 464691a17321Smrgcat >>$CONFIG_STATUS <<_ACEOF 464791a17321Smrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 464891a17321Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 464991a17321Smrg_ACEOF 465091a17321Smrgsed ' 465191a17321Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 465291a17321Smrgs/^/s,@/; s/!/@,|#_!!_#|/ 465391a17321Smrg:n 465491a17321Smrgt n 465591a17321Smrgs/'"$ac_delim"'$/,g/; t 465691a17321Smrgs/$/\\/; p 465791a17321SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 465891a17321Smrg' >>$CONFIG_STATUS <conf$$subs.sed 465991a17321Smrgrm -f conf$$subs.sed 466091a17321Smrgcat >>$CONFIG_STATUS <<_ACEOF 466191a17321SmrgCEOF$ac_eof 466291a17321Smrg_ACEOF 466391a17321Smrg 466491a17321Smrg 466591a17321Smrgac_delim='%!_!# ' 466691a17321Smrgfor ac_last_try in false false false false false :; do 466791a17321Smrg cat >conf$$subs.sed <<_ACEOF 466891a17321SmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim 466991a17321SmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim 467091a17321SmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim 467191a17321SmrgLIBOBJS!$LIBOBJS$ac_delim 467291a17321SmrgLTLIBOBJS!$LTLIBOBJS$ac_delim 467391a17321Smrg_ACEOF 467491a17321Smrg 467591a17321Smrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 5; then 467691a17321Smrg break 467791a17321Smrg elif $ac_last_try; then 467891a17321Smrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 467991a17321Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 468091a17321Smrg { (exit 1); exit 1; }; } 468191a17321Smrg else 468291a17321Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 468391a17321Smrg fi 468491a17321Smrgdone 468591a17321Smrg 468691a17321Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 468791a17321Smrgif test -n "$ac_eof"; then 468891a17321Smrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 468991a17321Smrg ac_eof=`expr $ac_eof + 1` 469091a17321Smrgfi 469191a17321Smrg 469291a17321Smrgcat >>$CONFIG_STATUS <<_ACEOF 469391a17321Smrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 469491a17321Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 469591a17321Smrg_ACEOF 469691a17321Smrgsed ' 469791a17321Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 469891a17321Smrgs/^/s,@/; s/!/@,|#_!!_#|/ 469991a17321Smrg:n 470091a17321Smrgt n 470191a17321Smrgs/'"$ac_delim"'$/,g/; t 470291a17321Smrgs/$/\\/; p 470391a17321SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 470491a17321Smrg' >>$CONFIG_STATUS <conf$$subs.sed 470591a17321Smrgrm -f conf$$subs.sed 470691a17321Smrgcat >>$CONFIG_STATUS <<_ACEOF 470791a17321Smrg:end 470891a17321Smrgs/|#_!!_#|//g 470991a17321SmrgCEOF$ac_eof 471091a17321Smrg_ACEOF 471191a17321Smrg 471291a17321Smrg 471391a17321Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 471491a17321Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 471591a17321Smrg# trailing colons and then remove the whole line if VPATH becomes empty 471691a17321Smrg# (actually we leave an empty line to preserve line numbers). 471791a17321Smrgif test "x$srcdir" = x.; then 471891a17321Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 471991a17321Smrgs/:*\$(srcdir):*/:/ 472091a17321Smrgs/:*\${srcdir}:*/:/ 472191a17321Smrgs/:*@srcdir@:*/:/ 472291a17321Smrgs/^\([^=]*=[ ]*\):*/\1/ 472391a17321Smrgs/:*$// 472491a17321Smrgs/^[^=]*=[ ]*$// 472591a17321Smrg}' 472691a17321Smrgfi 472791a17321Smrg 472891a17321Smrgcat >>$CONFIG_STATUS <<\_ACEOF 472991a17321Smrgfi # test -n "$CONFIG_FILES" 473091a17321Smrg 473191a17321Smrg 473291a17321Smrgfor ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 473391a17321Smrgdo 473491a17321Smrg case $ac_tag in 473591a17321Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 473691a17321Smrg esac 473791a17321Smrg case $ac_mode$ac_tag in 473891a17321Smrg :[FHL]*:*);; 473991a17321Smrg :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 474091a17321Smrgecho "$as_me: error: Invalid tag $ac_tag." >&2;} 474191a17321Smrg { (exit 1); exit 1; }; };; 474291a17321Smrg :[FH]-) ac_tag=-:-;; 474391a17321Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 474491a17321Smrg esac 474591a17321Smrg ac_save_IFS=$IFS 474691a17321Smrg IFS=: 474791a17321Smrg set x $ac_tag 474891a17321Smrg IFS=$ac_save_IFS 474991a17321Smrg shift 475091a17321Smrg ac_file=$1 475191a17321Smrg shift 475291a17321Smrg 475391a17321Smrg case $ac_mode in 475491a17321Smrg :L) ac_source=$1;; 475591a17321Smrg :[FH]) 475691a17321Smrg ac_file_inputs= 475791a17321Smrg for ac_f 475891a17321Smrg do 475991a17321Smrg case $ac_f in 476091a17321Smrg -) ac_f="$tmp/stdin";; 476191a17321Smrg *) # Look for the file first in the build tree, then in the source tree 476291a17321Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 476391a17321Smrg # because $ac_f cannot contain `:'. 476491a17321Smrg test -f "$ac_f" || 476591a17321Smrg case $ac_f in 476691a17321Smrg [\\/$]*) false;; 476791a17321Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 476891a17321Smrg esac || 476991a17321Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 477091a17321Smrgecho "$as_me: error: cannot find input file: $ac_f" >&2;} 477191a17321Smrg { (exit 1); exit 1; }; };; 477291a17321Smrg esac 477391a17321Smrg ac_file_inputs="$ac_file_inputs $ac_f" 477491a17321Smrg done 477591a17321Smrg 477691a17321Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 477791a17321Smrg # use $as_me), people would be surprised to read: 477891a17321Smrg # /* config.h. Generated by config.status. */ 477991a17321Smrg configure_input="Generated from "`IFS=: 478091a17321Smrg echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 478191a17321Smrg if test x"$ac_file" != x-; then 478291a17321Smrg configure_input="$ac_file. $configure_input" 478391a17321Smrg { echo "$as_me:$LINENO: creating $ac_file" >&5 478491a17321Smrgecho "$as_me: creating $ac_file" >&6;} 478591a17321Smrg fi 478691a17321Smrg 478791a17321Smrg case $ac_tag in 478891a17321Smrg *:-:* | *:-) cat >"$tmp/stdin";; 478991a17321Smrg esac 479091a17321Smrg ;; 479191a17321Smrg esac 479291a17321Smrg 479391a17321Smrg ac_dir=`$as_dirname -- "$ac_file" || 479491a17321Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 479591a17321Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 479691a17321Smrg X"$ac_file" : 'X\(//\)$' \| \ 479791a17321Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 479891a17321Smrgecho X"$ac_file" | 479991a17321Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 480091a17321Smrg s//\1/ 480191a17321Smrg q 480291a17321Smrg } 480391a17321Smrg /^X\(\/\/\)[^/].*/{ 480491a17321Smrg s//\1/ 480591a17321Smrg q 480691a17321Smrg } 480791a17321Smrg /^X\(\/\/\)$/{ 480891a17321Smrg s//\1/ 480991a17321Smrg q 481091a17321Smrg } 481191a17321Smrg /^X\(\/\).*/{ 481291a17321Smrg s//\1/ 481391a17321Smrg q 481491a17321Smrg } 481591a17321Smrg s/.*/./; q'` 481691a17321Smrg { as_dir="$ac_dir" 481791a17321Smrg case $as_dir in #( 481891a17321Smrg -*) as_dir=./$as_dir;; 481991a17321Smrg esac 482091a17321Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 482191a17321Smrg as_dirs= 482291a17321Smrg while :; do 482391a17321Smrg case $as_dir in #( 482491a17321Smrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 482591a17321Smrg *) as_qdir=$as_dir;; 482691a17321Smrg esac 482791a17321Smrg as_dirs="'$as_qdir' $as_dirs" 482891a17321Smrg as_dir=`$as_dirname -- "$as_dir" || 482991a17321Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 483091a17321Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 483191a17321Smrg X"$as_dir" : 'X\(//\)$' \| \ 483291a17321Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 483391a17321Smrgecho X"$as_dir" | 483491a17321Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 483591a17321Smrg s//\1/ 483691a17321Smrg q 483791a17321Smrg } 483891a17321Smrg /^X\(\/\/\)[^/].*/{ 483991a17321Smrg s//\1/ 484091a17321Smrg q 484191a17321Smrg } 484291a17321Smrg /^X\(\/\/\)$/{ 484391a17321Smrg s//\1/ 484491a17321Smrg q 484591a17321Smrg } 484691a17321Smrg /^X\(\/\).*/{ 484791a17321Smrg s//\1/ 484891a17321Smrg q 484991a17321Smrg } 485091a17321Smrg s/.*/./; q'` 485191a17321Smrg test -d "$as_dir" && break 485291a17321Smrg done 485391a17321Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 485491a17321Smrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 485591a17321Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 485691a17321Smrg { (exit 1); exit 1; }; }; } 485791a17321Smrg ac_builddir=. 485891a17321Smrg 485991a17321Smrgcase "$ac_dir" in 486091a17321Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 486191a17321Smrg*) 486291a17321Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 486391a17321Smrg # A ".." for each directory in $ac_dir_suffix. 486491a17321Smrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 486591a17321Smrg case $ac_top_builddir_sub in 486691a17321Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 486791a17321Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 486891a17321Smrg esac ;; 486991a17321Smrgesac 487091a17321Smrgac_abs_top_builddir=$ac_pwd 487191a17321Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 487291a17321Smrg# for backward compatibility: 487391a17321Smrgac_top_builddir=$ac_top_build_prefix 487491a17321Smrg 487591a17321Smrgcase $srcdir in 487691a17321Smrg .) # We are building in place. 487791a17321Smrg ac_srcdir=. 487891a17321Smrg ac_top_srcdir=$ac_top_builddir_sub 487991a17321Smrg ac_abs_top_srcdir=$ac_pwd ;; 488091a17321Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 488191a17321Smrg ac_srcdir=$srcdir$ac_dir_suffix; 488291a17321Smrg ac_top_srcdir=$srcdir 488391a17321Smrg ac_abs_top_srcdir=$srcdir ;; 488491a17321Smrg *) # Relative name. 488591a17321Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 488691a17321Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 488791a17321Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 488891a17321Smrgesac 488991a17321Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 489091a17321Smrg 489191a17321Smrg 489291a17321Smrg case $ac_mode in 489391a17321Smrg :F) 489491a17321Smrg # 489591a17321Smrg # CONFIG_FILE 489691a17321Smrg # 489791a17321Smrg 489891a17321Smrg case $INSTALL in 489991a17321Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 490091a17321Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 490191a17321Smrg esac 490291a17321Smrg_ACEOF 490391a17321Smrg 490491a17321Smrgcat >>$CONFIG_STATUS <<\_ACEOF 490591a17321Smrg# If the template does not know about datarootdir, expand it. 490691a17321Smrg# FIXME: This hack should be removed a few years after 2.60. 490791a17321Smrgac_datarootdir_hack=; ac_datarootdir_seen= 490891a17321Smrg 490991a17321Smrgcase `sed -n '/datarootdir/ { 491091a17321Smrg p 491191a17321Smrg q 491291a17321Smrg} 491391a17321Smrg/@datadir@/p 491491a17321Smrg/@docdir@/p 491591a17321Smrg/@infodir@/p 491691a17321Smrg/@localedir@/p 491791a17321Smrg/@mandir@/p 491891a17321Smrg' $ac_file_inputs` in 491991a17321Smrg*datarootdir*) ac_datarootdir_seen=yes;; 492091a17321Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 492191a17321Smrg { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 492291a17321Smrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 492391a17321Smrg_ACEOF 492491a17321Smrgcat >>$CONFIG_STATUS <<_ACEOF 492591a17321Smrg ac_datarootdir_hack=' 492691a17321Smrg s&@datadir@&$datadir&g 492791a17321Smrg s&@docdir@&$docdir&g 492891a17321Smrg s&@infodir@&$infodir&g 492991a17321Smrg s&@localedir@&$localedir&g 493091a17321Smrg s&@mandir@&$mandir&g 493191a17321Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 493291a17321Smrgesac 493391a17321Smrg_ACEOF 493491a17321Smrg 493591a17321Smrg# Neutralize VPATH when `$srcdir' = `.'. 493691a17321Smrg# Shell code in configure.ac might set extrasub. 493791a17321Smrg# FIXME: do we really want to maintain this feature? 493891a17321Smrgcat >>$CONFIG_STATUS <<_ACEOF 493991a17321Smrg sed "$ac_vpsub 494091a17321Smrg$extrasub 494191a17321Smrg_ACEOF 494291a17321Smrgcat >>$CONFIG_STATUS <<\_ACEOF 494391a17321Smrg:t 494491a17321Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 494591a17321Smrgs&@configure_input@&$configure_input&;t t 494691a17321Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 494791a17321Smrgs&@srcdir@&$ac_srcdir&;t t 494891a17321Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 494991a17321Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 495091a17321Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 495191a17321Smrgs&@builddir@&$ac_builddir&;t t 495291a17321Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 495391a17321Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 495491a17321Smrgs&@INSTALL@&$ac_INSTALL&;t t 495591a17321Smrg$ac_datarootdir_hack 495691a17321Smrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 495791a17321Smrg 495891a17321Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 495991a17321Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 496091a17321Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 496191a17321Smrg { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 496291a17321Smrgwhich seems to be undefined. Please make sure it is defined." >&5 496391a17321Smrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 496491a17321Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 496591a17321Smrg 496691a17321Smrg rm -f "$tmp/stdin" 496791a17321Smrg case $ac_file in 496891a17321Smrg -) cat "$tmp/out"; rm -f "$tmp/out";; 496991a17321Smrg *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 497091a17321Smrg esac 497191a17321Smrg ;; 497291a17321Smrg :H) 497391a17321Smrg # 497491a17321Smrg # CONFIG_HEADER 497591a17321Smrg # 497691a17321Smrg_ACEOF 497791a17321Smrg 497891a17321Smrg# Transform confdefs.h into a sed script `conftest.defines', that 497991a17321Smrg# substitutes the proper values into config.h.in to produce config.h. 498091a17321Smrgrm -f conftest.defines conftest.tail 498191a17321Smrg# First, append a space to every undef/define line, to ease matching. 498291a17321Smrgecho 's/$/ /' >conftest.defines 498391a17321Smrg# Then, protect against being on the right side of a sed subst, or in 498491a17321Smrg# an unquoted here document, in config.status. If some macros were 498591a17321Smrg# called several times there might be several #defines for the same 498691a17321Smrg# symbol, which is useless. But do not sort them, since the last 498791a17321Smrg# AC_DEFINE must be honored. 498891a17321Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 498991a17321Smrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 499091a17321Smrg# NAME is the cpp macro being defined, VALUE is the value it is being given. 499191a17321Smrg# PARAMS is the parameter list in the macro definition--in most cases, it's 499291a17321Smrg# just an empty string. 499391a17321Smrgac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 499491a17321Smrgac_dB='\\)[ (].*,\\1define\\2' 499591a17321Smrgac_dC=' ' 499691a17321Smrgac_dD=' ,' 499791a17321Smrg 499891a17321Smrguniq confdefs.h | 499991a17321Smrg sed -n ' 500091a17321Smrg t rset 500191a17321Smrg :rset 500291a17321Smrg s/^[ ]*#[ ]*define[ ][ ]*// 500391a17321Smrg t ok 500491a17321Smrg d 500591a17321Smrg :ok 500691a17321Smrg s/[\\&,]/\\&/g 500791a17321Smrg s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 500891a17321Smrg s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 500991a17321Smrg ' >>conftest.defines 501091a17321Smrg 501191a17321Smrg# Remove the space that was appended to ease matching. 501291a17321Smrg# Then replace #undef with comments. This is necessary, for 501391a17321Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required 501491a17321Smrg# on some systems where configure will not decide to define it. 501591a17321Smrg# (The regexp can be short, since the line contains either #define or #undef.) 501691a17321Smrgecho 's/ $// 501791a17321Smrgs,^[ #]*u.*,/* & */,' >>conftest.defines 501891a17321Smrg 501991a17321Smrg# Break up conftest.defines: 502091a17321Smrgac_max_sed_lines=50 502191a17321Smrg 502291a17321Smrg# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 502391a17321Smrg# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 502491a17321Smrg# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 502591a17321Smrg# et cetera. 502691a17321Smrgac_in='$ac_file_inputs' 502791a17321Smrgac_out='"$tmp/out1"' 502891a17321Smrgac_nxt='"$tmp/out2"' 502991a17321Smrg 503091a17321Smrgwhile : 503191a17321Smrgdo 503291a17321Smrg # Write a here document: 503391a17321Smrg cat >>$CONFIG_STATUS <<_ACEOF 503491a17321Smrg # First, check the format of the line: 503591a17321Smrg cat >"\$tmp/defines.sed" <<\\CEOF 503691a17321Smrg/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 503791a17321Smrg/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 503891a17321Smrgb 503991a17321Smrg:def 504091a17321Smrg_ACEOF 504191a17321Smrg sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 504291a17321Smrg echo 'CEOF 504391a17321Smrg sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 504491a17321Smrg ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 504591a17321Smrg sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 504691a17321Smrg grep . conftest.tail >/dev/null || break 504791a17321Smrg rm -f conftest.defines 504891a17321Smrg mv conftest.tail conftest.defines 504991a17321Smrgdone 505091a17321Smrgrm -f conftest.defines conftest.tail 505191a17321Smrg 505291a17321Smrgecho "ac_result=$ac_in" >>$CONFIG_STATUS 505391a17321Smrgcat >>$CONFIG_STATUS <<\_ACEOF 505491a17321Smrg if test x"$ac_file" != x-; then 505591a17321Smrg echo "/* $configure_input */" >"$tmp/config.h" 505691a17321Smrg cat "$ac_result" >>"$tmp/config.h" 505791a17321Smrg if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 505891a17321Smrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 505991a17321Smrgecho "$as_me: $ac_file is unchanged" >&6;} 506091a17321Smrg else 506191a17321Smrg rm -f $ac_file 506291a17321Smrg mv "$tmp/config.h" $ac_file 506391a17321Smrg fi 506491a17321Smrg else 506591a17321Smrg echo "/* $configure_input */" 506691a17321Smrg cat "$ac_result" 506791a17321Smrg fi 506891a17321Smrg rm -f "$tmp/out12" 506991a17321Smrg# Compute $ac_file's index in $config_headers. 507091a17321Smrg_am_stamp_count=1 507191a17321Smrgfor _am_header in $config_headers :; do 507291a17321Smrg case $_am_header in 507391a17321Smrg $ac_file | $ac_file:* ) 507491a17321Smrg break ;; 507591a17321Smrg * ) 507691a17321Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 507791a17321Smrg esac 507891a17321Smrgdone 507991a17321Smrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file || 508091a17321Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 508191a17321Smrg X$ac_file : 'X\(//\)[^/]' \| \ 508291a17321Smrg X$ac_file : 'X\(//\)$' \| \ 508391a17321Smrg X$ac_file : 'X\(/\)' \| . 2>/dev/null || 508491a17321Smrgecho X$ac_file | 508591a17321Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 508691a17321Smrg s//\1/ 508791a17321Smrg q 508891a17321Smrg } 508991a17321Smrg /^X\(\/\/\)[^/].*/{ 509091a17321Smrg s//\1/ 509191a17321Smrg q 509291a17321Smrg } 509391a17321Smrg /^X\(\/\/\)$/{ 509491a17321Smrg s//\1/ 509591a17321Smrg q 509691a17321Smrg } 509791a17321Smrg /^X\(\/\).*/{ 509891a17321Smrg s//\1/ 509991a17321Smrg q 510091a17321Smrg } 510191a17321Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 510291a17321Smrg ;; 510391a17321Smrg 510491a17321Smrg :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 510591a17321Smrgecho "$as_me: executing $ac_file commands" >&6;} 510691a17321Smrg ;; 510791a17321Smrg esac 510891a17321Smrg 510991a17321Smrg 511091a17321Smrg case $ac_file$ac_mode in 511191a17321Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 511291a17321Smrg # Strip MF so we end up with the name of the file. 511391a17321Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 511491a17321Smrg # Check whether this is an Automake generated Makefile or not. 511591a17321Smrg # We used to match only the files named `Makefile.in', but 511691a17321Smrg # some people rename them; so instead we look at the file content. 511791a17321Smrg # Grep'ing the first line is not enough: some people post-process 511891a17321Smrg # each Makefile.in and add a new line on top of each file to say so. 511991a17321Smrg # So let's grep whole file. 512091a17321Smrg if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 512191a17321Smrg dirpart=`$as_dirname -- "$mf" || 512291a17321Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 512391a17321Smrg X"$mf" : 'X\(//\)[^/]' \| \ 512491a17321Smrg X"$mf" : 'X\(//\)$' \| \ 512591a17321Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 512691a17321Smrgecho X"$mf" | 512791a17321Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 512891a17321Smrg s//\1/ 512991a17321Smrg q 513091a17321Smrg } 513191a17321Smrg /^X\(\/\/\)[^/].*/{ 513291a17321Smrg s//\1/ 513391a17321Smrg q 513491a17321Smrg } 513591a17321Smrg /^X\(\/\/\)$/{ 513691a17321Smrg s//\1/ 513791a17321Smrg q 513891a17321Smrg } 513991a17321Smrg /^X\(\/\).*/{ 514091a17321Smrg s//\1/ 514191a17321Smrg q 514291a17321Smrg } 514391a17321Smrg s/.*/./; q'` 514491a17321Smrg else 514591a17321Smrg continue 514691a17321Smrg fi 514791a17321Smrg # Extract the definition of DEPDIR, am__include, and am__quote 514891a17321Smrg # from the Makefile without running `make'. 514991a17321Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 515091a17321Smrg test -z "$DEPDIR" && continue 515191a17321Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 515291a17321Smrg test -z "am__include" && continue 515391a17321Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 515491a17321Smrg # When using ansi2knr, U may be empty or an underscore; expand it 515591a17321Smrg U=`sed -n 's/^U = //p' < "$mf"` 515691a17321Smrg # Find all dependency output files, they are included files with 515791a17321Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 515891a17321Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 515991a17321Smrg # expansion. 516091a17321Smrg for file in `sed -n " 516191a17321Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 516291a17321Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 516391a17321Smrg # Make sure the directory exists. 516491a17321Smrg test -f "$dirpart/$file" && continue 516591a17321Smrg fdir=`$as_dirname -- "$file" || 516691a17321Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 516791a17321Smrg X"$file" : 'X\(//\)[^/]' \| \ 516891a17321Smrg X"$file" : 'X\(//\)$' \| \ 516991a17321Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 517091a17321Smrgecho X"$file" | 517191a17321Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 517291a17321Smrg s//\1/ 517391a17321Smrg q 517491a17321Smrg } 517591a17321Smrg /^X\(\/\/\)[^/].*/{ 517691a17321Smrg s//\1/ 517791a17321Smrg q 517891a17321Smrg } 517991a17321Smrg /^X\(\/\/\)$/{ 518091a17321Smrg s//\1/ 518191a17321Smrg q 518291a17321Smrg } 518391a17321Smrg /^X\(\/\).*/{ 518491a17321Smrg s//\1/ 518591a17321Smrg q 518691a17321Smrg } 518791a17321Smrg s/.*/./; q'` 518891a17321Smrg { as_dir=$dirpart/$fdir 518991a17321Smrg case $as_dir in #( 519091a17321Smrg -*) as_dir=./$as_dir;; 519191a17321Smrg esac 519291a17321Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 519391a17321Smrg as_dirs= 519491a17321Smrg while :; do 519591a17321Smrg case $as_dir in #( 519691a17321Smrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 519791a17321Smrg *) as_qdir=$as_dir;; 519891a17321Smrg esac 519991a17321Smrg as_dirs="'$as_qdir' $as_dirs" 520091a17321Smrg as_dir=`$as_dirname -- "$as_dir" || 520191a17321Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 520291a17321Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 520391a17321Smrg X"$as_dir" : 'X\(//\)$' \| \ 520491a17321Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 520591a17321Smrgecho X"$as_dir" | 520691a17321Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 520791a17321Smrg s//\1/ 520891a17321Smrg q 520991a17321Smrg } 521091a17321Smrg /^X\(\/\/\)[^/].*/{ 521191a17321Smrg s//\1/ 521291a17321Smrg q 521391a17321Smrg } 521491a17321Smrg /^X\(\/\/\)$/{ 521591a17321Smrg s//\1/ 521691a17321Smrg q 521791a17321Smrg } 521891a17321Smrg /^X\(\/\).*/{ 521991a17321Smrg s//\1/ 522091a17321Smrg q 522191a17321Smrg } 522291a17321Smrg s/.*/./; q'` 522391a17321Smrg test -d "$as_dir" && break 522491a17321Smrg done 522591a17321Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 522691a17321Smrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 522791a17321Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 522891a17321Smrg { (exit 1); exit 1; }; }; } 522991a17321Smrg # echo "creating $dirpart/$file" 523091a17321Smrg echo '# dummy' > "$dirpart/$file" 523191a17321Smrg done 523291a17321Smrgdone 523391a17321Smrg ;; 523491a17321Smrg 523591a17321Smrg esac 523691a17321Smrgdone # for ac_tag 523791a17321Smrg 523891a17321Smrg 523991a17321Smrg{ (exit 0); exit 0; } 524091a17321Smrg_ACEOF 524191a17321Smrgchmod +x $CONFIG_STATUS 524291a17321Smrgac_clean_files=$ac_clean_files_save 524391a17321Smrg 524491a17321Smrg 524591a17321Smrg# configure is writing to config.log, and then calls config.status. 524691a17321Smrg# config.status does its own redirection, appending to config.log. 524791a17321Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 524891a17321Smrg# by configure, so config.status won't be able to write to it; its 524991a17321Smrg# output is simply discarded. So we exec the FD to /dev/null, 525091a17321Smrg# effectively closing config.log, so it can be properly (re)opened and 525191a17321Smrg# appended to by config.status. When coming back to configure, we 525291a17321Smrg# need to make the FD available again. 525391a17321Smrgif test "$no_create" != yes; then 525491a17321Smrg ac_cs_success=: 525591a17321Smrg ac_config_status_args= 525691a17321Smrg test "$silent" = yes && 525791a17321Smrg ac_config_status_args="$ac_config_status_args --quiet" 525891a17321Smrg exec 5>/dev/null 525991a17321Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 526091a17321Smrg exec 5>>config.log 526191a17321Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 526291a17321Smrg # would make configure fail if this is the last instruction. 526391a17321Smrg $ac_cs_success || { (exit 1); exit 1; } 526491a17321Smrgfi 526591a17321Smrg 5266