1ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#! /bin/sh 2ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Guess values for system-dependent variables and create Makefiles. 327f654740f2a26ad62a5c155af9199af9e69b889claireho# Generated by GNU Autoconf 2.67. 4ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# 5b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho# Copyright (c) 1999-2011, International Business Machines Corporation and others. All Rights Reserved. 685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# 727f654740f2a26ad62a5c155af9199af9e69b889claireho# 885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 927f654740f2a26ad62a5c155af9199af9e69b889claireho# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 1027f654740f2a26ad62a5c155af9199af9e69b889claireho# Foundation, Inc. 1127f654740f2a26ad62a5c155af9199af9e69b889claireho# 1227f654740f2a26ad62a5c155af9199af9e69b889claireho# 13ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# This configure script is free software; the Free Software Foundation 14ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# gives unlimited permission to copy, distribute and modify it. 1527f654740f2a26ad62a5c155af9199af9e69b889claireho## -------------------- ## 1627f654740f2a26ad62a5c155af9199af9e69b889claireho## M4sh Initialization. ## 1727f654740f2a26ad62a5c155af9199af9e69b889claireho## -------------------- ## 18ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Be more Bourne compatible 2085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoDUALCASE=1; export DUALCASE # for MKS sh 2127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru emulate sh 23ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru NULLCMD=: 2485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # is contrary to our usage. Disable this feature. 26ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru alias -g '${1+"$@"}'='"$@"' 2785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho setopt NO_GLOB_SUBST 2885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 2927f654740f2a26ad62a5c155af9199af9e69b889claireho case `(set -o) 2>/dev/null` in #( 3027f654740f2a26ad62a5c155af9199af9e69b889claireho *posix*) : 3127f654740f2a26ad62a5c155af9199af9e69b889claireho set -o posix ;; #( 3227f654740f2a26ad62a5c155af9199af9e69b889claireho *) : 3327f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 3485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 3585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 3685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 3785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 3885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_nl=' 3985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho' 4085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoexport as_nl 4185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Printing a long string crashes Solaris 7 /usr/bin/printf. 4285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4527f654740f2a26ad62a5c155af9199af9e69b889claireho# Prefer a ksh shell builtin over an external printf program on Solaris, 4627f654740f2a26ad62a5c155af9199af9e69b889claireho# but without wasting forks for bash or zsh. 4727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$BASH_VERSION$ZSH_VERSION" \ 4827f654740f2a26ad62a5c155af9199af9e69b889claireho && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4927f654740f2a26ad62a5c155af9199af9e69b889claireho as_echo='print -r --' 5027f654740f2a26ad62a5c155af9199af9e69b889claireho as_echo_n='print -rn --' 5127f654740f2a26ad62a5c155af9199af9e69b889clairehoelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo='printf %s\n' 5385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_n='printf %s' 5485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 5585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_n='/usr/ucb/echo -n' 5885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho else 5985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_n_body='eval 6185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho arg=$1; 6227f654740f2a26ad62a5c155af9199af9e69b889claireho case $arg in #( 6385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *"$as_nl"*) 6485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho expr "X$arg" : "X\\(.*\\)$as_nl"; 6585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac; 6785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ' 6985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho export as_echo_n_body 7085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_n='sh -c $as_echo_n_body as_echo' 7185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho fi 7285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho export as_echo_body 7385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo='sh -c $as_echo_body as_echo' 7485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 7585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# The user is always right. 7785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test "${PATH_SEPARATOR+set}" != set; then 7885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho PATH_SEPARATOR=: 7985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho PATH_SEPARATOR=';' 8285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 83ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 84ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 85ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# IFS 8785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# We need space, tab and new line, in precisely that order. Quoting is 8885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# there to prevent editors from complaining about space-tab. 8985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# (If _AS_PATH_WALK were called with IFS unset, it would disable word 9085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# splitting by setting IFS to empty value.) 9185bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoIFS=" "" $as_nl" 9285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 9385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Find who we are. Look in the path if we contain no directory separator. 9427f654740f2a26ad62a5c155af9199af9e69b889clairehocase $0 in #(( 9585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *[\\/]* ) as_myself=$0 ;; 9685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofor as_dir in $PATH 9885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodo 9985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho IFS=$as_save_IFS 10085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test -z "$as_dir" && as_dir=. 10127f654740f2a26ad62a5c155af9199af9e69b889claireho test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10227f654740f2a26ad62a5c155af9199af9e69b889claireho done 10385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoIFS=$as_save_IFS 10485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 10585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ;; 10685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 10785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# We did not find ourselves, most probably we were run as `sh COMMAND' 10885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# in which case we are not to be found in the path. 10985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test "x$as_myself" = x; then 11085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_myself=$0 11185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 11285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test ! -f "$as_myself"; then 11385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11427f654740f2a26ad62a5c155af9199af9e69b889claireho exit 1 11585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 11685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 11727f654740f2a26ad62a5c155af9199af9e69b889claireho# Unset variables that we do not need and which cause bugs (e.g. in 11827f654740f2a26ad62a5c155af9199af9e69b889claireho# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 11927f654740f2a26ad62a5c155af9199af9e69b889claireho# suppresses any "Segmentation fault" message there. '((' could 12027f654740f2a26ad62a5c155af9199af9e69b889claireho# trigger a bug in pdksh 5.2.14. 12127f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_var in BASH_ENV ENV MAIL MAILPATH 12227f654740f2a26ad62a5c155af9199af9e69b889clairehodo eval test x\${$as_var+set} = xset \ 12327f654740f2a26ad62a5c155af9199af9e69b889claireho && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodone 125ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruPS1='$ ' 126ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruPS2='> ' 127ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruPS4='+ ' 128ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 129ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# NLS nuisances. 13085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLC_ALL=C 13185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoexport LC_ALL 13285bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLANGUAGE=C 13385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoexport LANGUAGE 134ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 13527f654740f2a26ad62a5c155af9199af9e69b889claireho# CDPATH. 13627f654740f2a26ad62a5c155af9199af9e69b889claireho(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13727f654740f2a26ad62a5c155af9199af9e69b889claireho 13827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$CONFIG_SHELL" = x; then 13927f654740f2a26ad62a5c155af9199af9e69b889claireho as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 14027f654740f2a26ad62a5c155af9199af9e69b889claireho emulate sh 14127f654740f2a26ad62a5c155af9199af9e69b889claireho NULLCMD=: 14227f654740f2a26ad62a5c155af9199af9e69b889claireho # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 14327f654740f2a26ad62a5c155af9199af9e69b889claireho # is contrary to our usage. Disable this feature. 14427f654740f2a26ad62a5c155af9199af9e69b889claireho alias -g '\${1+\"\$@\"}'='\"\$@\"' 14527f654740f2a26ad62a5c155af9199af9e69b889claireho setopt NO_GLOB_SUBST 14627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 14727f654740f2a26ad62a5c155af9199af9e69b889claireho case \`(set -o) 2>/dev/null\` in #( 14827f654740f2a26ad62a5c155af9199af9e69b889claireho *posix*) : 14927f654740f2a26ad62a5c155af9199af9e69b889claireho set -o posix ;; #( 15027f654740f2a26ad62a5c155af9199af9e69b889claireho *) : 15127f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 15227f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 15327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 15427f654740f2a26ad62a5c155af9199af9e69b889claireho" 15527f654740f2a26ad62a5c155af9199af9e69b889claireho as_required="as_fn_return () { (exit \$1); } 15627f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_success () { as_fn_return 0; } 15727f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_failure () { as_fn_return 1; } 15827f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_ret_success () { return 0; } 15927f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_ret_failure () { return 1; } 16027f654740f2a26ad62a5c155af9199af9e69b889claireho 16127f654740f2a26ad62a5c155af9199af9e69b889clairehoexitcode=0 16227f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_success || { exitcode=1; echo as_fn_success failed.; } 16327f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 16427f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 16527f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 16627f654740f2a26ad62a5c155af9199af9e69b889clairehoif ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 16727f654740f2a26ad62a5c155af9199af9e69b889claireho 16827f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 16927f654740f2a26ad62a5c155af9199af9e69b889claireho exitcode=1; echo positional parameters were not saved. 17027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 17127f654740f2a26ad62a5c155af9199af9e69b889clairehotest x\$exitcode = x0 || exit 1" 17227f654740f2a26ad62a5c155af9199af9e69b889claireho as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 17327f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 17427f654740f2a26ad62a5c155af9199af9e69b889claireho eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 17527f654740f2a26ad62a5c155af9199af9e69b889claireho test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 17627f654740f2a26ad62a5c155af9199af9e69b889clairehotest \$(( 1 + 1 )) = 2 || exit 1" 17727f654740f2a26ad62a5c155af9199af9e69b889claireho if (eval "$as_required") 2>/dev/null; then : 17827f654740f2a26ad62a5c155af9199af9e69b889claireho as_have_required=yes 17927f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 18027f654740f2a26ad62a5c155af9199af9e69b889claireho as_have_required=no 18127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 18227f654740f2a26ad62a5c155af9199af9e69b889claireho if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 18327f654740f2a26ad62a5c155af9199af9e69b889claireho 18427f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 18527f654740f2a26ad62a5c155af9199af9e69b889claireho as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18627f654740f2a26ad62a5c155af9199af9e69b889clairehoas_found=false 18727f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 18827f654740f2a26ad62a5c155af9199af9e69b889clairehodo 18927f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 19027f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 19127f654740f2a26ad62a5c155af9199af9e69b889claireho as_found=: 19227f654740f2a26ad62a5c155af9199af9e69b889claireho case $as_dir in #( 19327f654740f2a26ad62a5c155af9199af9e69b889claireho /*) 19427f654740f2a26ad62a5c155af9199af9e69b889claireho for as_base in sh bash ksh sh5; do 19527f654740f2a26ad62a5c155af9199af9e69b889claireho # Try only shells that exist, to save several forks. 19627f654740f2a26ad62a5c155af9199af9e69b889claireho as_shell=$as_dir/$as_base 19727f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 19827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 19927f654740f2a26ad62a5c155af9199af9e69b889claireho CONFIG_SHELL=$as_shell as_have_required=yes 20027f654740f2a26ad62a5c155af9199af9e69b889claireho if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 20127f654740f2a26ad62a5c155af9199af9e69b889claireho break 2 20227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 20327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 20427f654740f2a26ad62a5c155af9199af9e69b889claireho done;; 20527f654740f2a26ad62a5c155af9199af9e69b889claireho esac 20627f654740f2a26ad62a5c155af9199af9e69b889claireho as_found=false 20727f654740f2a26ad62a5c155af9199af9e69b889clairehodone 20827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 20927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 21027f654740f2a26ad62a5c155af9199af9e69b889claireho CONFIG_SHELL=$SHELL as_have_required=yes 21127f654740f2a26ad62a5c155af9199af9e69b889clairehofi; } 21227f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 21327f654740f2a26ad62a5c155af9199af9e69b889claireho 21427f654740f2a26ad62a5c155af9199af9e69b889claireho 21527f654740f2a26ad62a5c155af9199af9e69b889claireho if test "x$CONFIG_SHELL" != x; then : 21627f654740f2a26ad62a5c155af9199af9e69b889claireho # We cannot yet assume a decent shell, so we have to provide a 21727f654740f2a26ad62a5c155af9199af9e69b889claireho # neutralization value for shells without unset; and this also 21827f654740f2a26ad62a5c155af9199af9e69b889claireho # works around shells that cannot unset nonexistent variables. 21927f654740f2a26ad62a5c155af9199af9e69b889claireho BASH_ENV=/dev/null 22027f654740f2a26ad62a5c155af9199af9e69b889claireho ENV=/dev/null 22127f654740f2a26ad62a5c155af9199af9e69b889claireho (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 22227f654740f2a26ad62a5c155af9199af9e69b889claireho export CONFIG_SHELL 22327f654740f2a26ad62a5c155af9199af9e69b889claireho exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 22427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 22527f654740f2a26ad62a5c155af9199af9e69b889claireho 22627f654740f2a26ad62a5c155af9199af9e69b889claireho if test x$as_have_required = xno; then : 22727f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$0: This script requires a shell more modern than all" 22827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$0: the shells that I found on your system." 22927f654740f2a26ad62a5c155af9199af9e69b889claireho if test x${ZSH_VERSION+set} = xset ; then 23027f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 23127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$0: be upgraded to zsh 4.3.4 or later." 23227f654740f2a26ad62a5c155af9199af9e69b889claireho else 23327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 23427f654740f2a26ad62a5c155af9199af9e69b889claireho$0: including any error possibly output before this 23527f654740f2a26ad62a5c155af9199af9e69b889claireho$0: message. Then install a modern shell, or manually run 23627f654740f2a26ad62a5c155af9199af9e69b889claireho$0: the script under such a shell if you do have one." 23727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 23827f654740f2a26ad62a5c155af9199af9e69b889claireho exit 1 23927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 24027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 24127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 24227f654740f2a26ad62a5c155af9199af9e69b889clairehoSHELL=${CONFIG_SHELL-/bin/sh} 24327f654740f2a26ad62a5c155af9199af9e69b889clairehoexport SHELL 24427f654740f2a26ad62a5c155af9199af9e69b889claireho# Unset more variables known to interfere with behavior of common tools. 24527f654740f2a26ad62a5c155af9199af9e69b889clairehoCLICOLOR_FORCE= GREP_OPTIONS= 24627f654740f2a26ad62a5c155af9199af9e69b889clairehounset CLICOLOR_FORCE GREP_OPTIONS 24727f654740f2a26ad62a5c155af9199af9e69b889claireho 24827f654740f2a26ad62a5c155af9199af9e69b889claireho## --------------------- ## 24927f654740f2a26ad62a5c155af9199af9e69b889claireho## M4sh Shell Functions. ## 25027f654740f2a26ad62a5c155af9199af9e69b889claireho## --------------------- ## 25127f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_unset VAR 25227f654740f2a26ad62a5c155af9199af9e69b889claireho# --------------- 25327f654740f2a26ad62a5c155af9199af9e69b889claireho# Portably unset VAR. 25427f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_unset () 25527f654740f2a26ad62a5c155af9199af9e69b889claireho{ 25627f654740f2a26ad62a5c155af9199af9e69b889claireho { eval $1=; unset $1;} 25727f654740f2a26ad62a5c155af9199af9e69b889claireho} 25827f654740f2a26ad62a5c155af9199af9e69b889clairehoas_unset=as_fn_unset 25927f654740f2a26ad62a5c155af9199af9e69b889claireho 26027f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_set_status STATUS 26127f654740f2a26ad62a5c155af9199af9e69b889claireho# ----------------------- 26227f654740f2a26ad62a5c155af9199af9e69b889claireho# Set $? to STATUS, without forking. 26327f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_set_status () 26427f654740f2a26ad62a5c155af9199af9e69b889claireho{ 26527f654740f2a26ad62a5c155af9199af9e69b889claireho return $1 26627f654740f2a26ad62a5c155af9199af9e69b889claireho} # as_fn_set_status 26727f654740f2a26ad62a5c155af9199af9e69b889claireho 26827f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_exit STATUS 26927f654740f2a26ad62a5c155af9199af9e69b889claireho# ----------------- 27027f654740f2a26ad62a5c155af9199af9e69b889claireho# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 27127f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_exit () 27227f654740f2a26ad62a5c155af9199af9e69b889claireho{ 27327f654740f2a26ad62a5c155af9199af9e69b889claireho set +e 27427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_set_status $1 27527f654740f2a26ad62a5c155af9199af9e69b889claireho exit $1 27627f654740f2a26ad62a5c155af9199af9e69b889claireho} # as_fn_exit 27727f654740f2a26ad62a5c155af9199af9e69b889claireho 27827f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_mkdir_p 27927f654740f2a26ad62a5c155af9199af9e69b889claireho# ------------- 28027f654740f2a26ad62a5c155af9199af9e69b889claireho# Create "$as_dir" as a directory, including parents if necessary. 28127f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_mkdir_p () 28227f654740f2a26ad62a5c155af9199af9e69b889claireho{ 28327f654740f2a26ad62a5c155af9199af9e69b889claireho 28427f654740f2a26ad62a5c155af9199af9e69b889claireho case $as_dir in #( 28527f654740f2a26ad62a5c155af9199af9e69b889claireho -*) as_dir=./$as_dir;; 28627f654740f2a26ad62a5c155af9199af9e69b889claireho esac 28727f654740f2a26ad62a5c155af9199af9e69b889claireho test -d "$as_dir" || eval $as_mkdir_p || { 28827f654740f2a26ad62a5c155af9199af9e69b889claireho as_dirs= 28927f654740f2a26ad62a5c155af9199af9e69b889claireho while :; do 29027f654740f2a26ad62a5c155af9199af9e69b889claireho case $as_dir in #( 29127f654740f2a26ad62a5c155af9199af9e69b889claireho *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 29227f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_qdir=$as_dir;; 29327f654740f2a26ad62a5c155af9199af9e69b889claireho esac 29427f654740f2a26ad62a5c155af9199af9e69b889claireho as_dirs="'$as_qdir' $as_dirs" 29527f654740f2a26ad62a5c155af9199af9e69b889claireho as_dir=`$as_dirname -- "$as_dir" || 29627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 29727f654740f2a26ad62a5c155af9199af9e69b889claireho X"$as_dir" : 'X\(//\)[^/]' \| \ 29827f654740f2a26ad62a5c155af9199af9e69b889claireho X"$as_dir" : 'X\(//\)$' \| \ 29927f654740f2a26ad62a5c155af9199af9e69b889claireho X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 30027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo X"$as_dir" | 30127f654740f2a26ad62a5c155af9199af9e69b889claireho sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 30227f654740f2a26ad62a5c155af9199af9e69b889claireho s//\1/ 30327f654740f2a26ad62a5c155af9199af9e69b889claireho q 30427f654740f2a26ad62a5c155af9199af9e69b889claireho } 30527f654740f2a26ad62a5c155af9199af9e69b889claireho /^X\(\/\/\)[^/].*/{ 30627f654740f2a26ad62a5c155af9199af9e69b889claireho s//\1/ 30727f654740f2a26ad62a5c155af9199af9e69b889claireho q 30827f654740f2a26ad62a5c155af9199af9e69b889claireho } 30927f654740f2a26ad62a5c155af9199af9e69b889claireho /^X\(\/\/\)$/{ 31027f654740f2a26ad62a5c155af9199af9e69b889claireho s//\1/ 31127f654740f2a26ad62a5c155af9199af9e69b889claireho q 31227f654740f2a26ad62a5c155af9199af9e69b889claireho } 31327f654740f2a26ad62a5c155af9199af9e69b889claireho /^X\(\/\).*/{ 31427f654740f2a26ad62a5c155af9199af9e69b889claireho s//\1/ 31527f654740f2a26ad62a5c155af9199af9e69b889claireho q 31627f654740f2a26ad62a5c155af9199af9e69b889claireho } 31727f654740f2a26ad62a5c155af9199af9e69b889claireho s/.*/./; q'` 31827f654740f2a26ad62a5c155af9199af9e69b889claireho test -d "$as_dir" && break 31927f654740f2a26ad62a5c155af9199af9e69b889claireho done 32027f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dirs" || eval "mkdir $as_dirs" 32127f654740f2a26ad62a5c155af9199af9e69b889claireho } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 32227f654740f2a26ad62a5c155af9199af9e69b889claireho 32327f654740f2a26ad62a5c155af9199af9e69b889claireho 32427f654740f2a26ad62a5c155af9199af9e69b889claireho} # as_fn_mkdir_p 32527f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_append VAR VALUE 32627f654740f2a26ad62a5c155af9199af9e69b889claireho# ---------------------- 32727f654740f2a26ad62a5c155af9199af9e69b889claireho# Append the text in VALUE to the end of the definition contained in VAR. Take 32827f654740f2a26ad62a5c155af9199af9e69b889claireho# advantage of any shell optimizations that allow amortized linear growth over 32927f654740f2a26ad62a5c155af9199af9e69b889claireho# repeated appends, instead of the typical quadratic growth present in naive 33027f654740f2a26ad62a5c155af9199af9e69b889claireho# implementations. 33127f654740f2a26ad62a5c155af9199af9e69b889clairehoif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 33227f654740f2a26ad62a5c155af9199af9e69b889claireho eval 'as_fn_append () 33327f654740f2a26ad62a5c155af9199af9e69b889claireho { 33427f654740f2a26ad62a5c155af9199af9e69b889claireho eval $1+=\$2 33527f654740f2a26ad62a5c155af9199af9e69b889claireho }' 33627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 33727f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_append () 33827f654740f2a26ad62a5c155af9199af9e69b889claireho { 33927f654740f2a26ad62a5c155af9199af9e69b889claireho eval $1=\$$1\$2 34027f654740f2a26ad62a5c155af9199af9e69b889claireho } 34127f654740f2a26ad62a5c155af9199af9e69b889clairehofi # as_fn_append 34227f654740f2a26ad62a5c155af9199af9e69b889claireho 34327f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_arith ARG... 34427f654740f2a26ad62a5c155af9199af9e69b889claireho# ------------------ 34527f654740f2a26ad62a5c155af9199af9e69b889claireho# Perform arithmetic evaluation on the ARGs, and store the result in the 34627f654740f2a26ad62a5c155af9199af9e69b889claireho# global $as_val. Take advantage of shells that can avoid forks. The arguments 34727f654740f2a26ad62a5c155af9199af9e69b889claireho# must be portable across $(()) and expr. 34827f654740f2a26ad62a5c155af9199af9e69b889clairehoif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 34927f654740f2a26ad62a5c155af9199af9e69b889claireho eval 'as_fn_arith () 35027f654740f2a26ad62a5c155af9199af9e69b889claireho { 35127f654740f2a26ad62a5c155af9199af9e69b889claireho as_val=$(( $* )) 35227f654740f2a26ad62a5c155af9199af9e69b889claireho }' 35327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 35427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_arith () 35527f654740f2a26ad62a5c155af9199af9e69b889claireho { 35627f654740f2a26ad62a5c155af9199af9e69b889claireho as_val=`expr "$@" || test $? -eq 1` 35727f654740f2a26ad62a5c155af9199af9e69b889claireho } 35827f654740f2a26ad62a5c155af9199af9e69b889clairehofi # as_fn_arith 35927f654740f2a26ad62a5c155af9199af9e69b889claireho 36027f654740f2a26ad62a5c155af9199af9e69b889claireho 36127f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_error STATUS ERROR [LINENO LOG_FD] 36227f654740f2a26ad62a5c155af9199af9e69b889claireho# ---------------------------------------- 36327f654740f2a26ad62a5c155af9199af9e69b889claireho# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 36427f654740f2a26ad62a5c155af9199af9e69b889claireho# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 36527f654740f2a26ad62a5c155af9199af9e69b889claireho# script with STATUS, using 1 if that was 0. 36627f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_error () 36727f654740f2a26ad62a5c155af9199af9e69b889claireho{ 36827f654740f2a26ad62a5c155af9199af9e69b889claireho as_status=$1; test $as_status -eq 0 && as_status=1 36927f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$4"; then 37027f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 37127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 37227f654740f2a26ad62a5c155af9199af9e69b889claireho fi 37327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me: error: $2" >&2 37427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_exit $as_status 37527f654740f2a26ad62a5c155af9199af9e69b889claireho} # as_fn_error 37627f654740f2a26ad62a5c155af9199af9e69b889claireho 37785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif expr a : '\(a\)' >/dev/null 2>&1 && 37885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test "X`expr 00001 : '.*\(...\)'`" = X001; then 379ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru as_expr=expr 380ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 381ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru as_expr=false 382ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 383ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 38485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 385ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru as_basename=basename 386ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 387ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru as_basename=false 388ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 389ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 39027f654740f2a26ad62a5c155af9199af9e69b889clairehoif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 39127f654740f2a26ad62a5c155af9199af9e69b889claireho as_dirname=dirname 39227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 39327f654740f2a26ad62a5c155af9199af9e69b889claireho as_dirname=false 39427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 395ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 39685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_me=`$as_basename -- "$0" || 397ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 398ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru X"$0" : 'X\(//\)$' \| \ 39985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho X"$0" : 'X\(/\)' \| . 2>/dev/null || 40085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo X/"$0" | 40185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho sed '/^.*\/\([^/][^/]*\)\/*$/{ 40285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 40385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 40485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 40585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho /^X\/\(\/\/\)$/{ 40685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 40785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 40885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 40985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho /^X\/\(\/\).*/{ 41085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 41185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 41285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 41385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s/.*/./; q'` 414ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 41527f654740f2a26ad62a5c155af9199af9e69b889claireho# Avoid depending upon Character Ranges. 41627f654740f2a26ad62a5c155af9199af9e69b889clairehoas_cr_letters='abcdefghijklmnopqrstuvwxyz' 41727f654740f2a26ad62a5c155af9199af9e69b889clairehoas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 41827f654740f2a26ad62a5c155af9199af9e69b889clairehoas_cr_Letters=$as_cr_letters$as_cr_LETTERS 41927f654740f2a26ad62a5c155af9199af9e69b889clairehoas_cr_digits='0123456789' 42027f654740f2a26ad62a5c155af9199af9e69b889clairehoas_cr_alnum=$as_cr_Letters$as_cr_digits 421ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 422ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 42327f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno_1=$LINENO as_lineno_1a=$LINENO 42427f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno_2=$LINENO as_lineno_2a=$LINENO 42527f654740f2a26ad62a5c155af9199af9e69b889claireho eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 42627f654740f2a26ad62a5c155af9199af9e69b889claireho test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 42727f654740f2a26ad62a5c155af9199af9e69b889claireho # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 42827f654740f2a26ad62a5c155af9199af9e69b889claireho sed -n ' 42927f654740f2a26ad62a5c155af9199af9e69b889claireho p 43027f654740f2a26ad62a5c155af9199af9e69b889claireho /[$]LINENO/= 43127f654740f2a26ad62a5c155af9199af9e69b889claireho ' <$as_myself | 43227f654740f2a26ad62a5c155af9199af9e69b889claireho sed ' 43327f654740f2a26ad62a5c155af9199af9e69b889claireho s/[$]LINENO.*/&-/ 43427f654740f2a26ad62a5c155af9199af9e69b889claireho t lineno 43527f654740f2a26ad62a5c155af9199af9e69b889claireho b 43627f654740f2a26ad62a5c155af9199af9e69b889claireho :lineno 43727f654740f2a26ad62a5c155af9199af9e69b889claireho N 43827f654740f2a26ad62a5c155af9199af9e69b889claireho :loop 43927f654740f2a26ad62a5c155af9199af9e69b889claireho s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 44027f654740f2a26ad62a5c155af9199af9e69b889claireho t loop 44127f654740f2a26ad62a5c155af9199af9e69b889claireho s/-\n.*// 44227f654740f2a26ad62a5c155af9199af9e69b889claireho ' >$as_me.lineno && 44327f654740f2a26ad62a5c155af9199af9e69b889claireho chmod +x "$as_me.lineno" || 44427f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 445ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 44627f654740f2a26ad62a5c155af9199af9e69b889claireho # Don't try to exec as it changes $[0], causing all sort of problems 44727f654740f2a26ad62a5c155af9199af9e69b889claireho # (the dirname of $[0] is not the place where we might find the 44827f654740f2a26ad62a5c155af9199af9e69b889claireho # original and so on. Autoconf is especially sensitive to this). 44927f654740f2a26ad62a5c155af9199af9e69b889claireho . "./$as_me.lineno" 45027f654740f2a26ad62a5c155af9199af9e69b889claireho # Exit status is that of the last command. 45127f654740f2a26ad62a5c155af9199af9e69b889claireho exit 45285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 453ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 45427f654740f2a26ad62a5c155af9199af9e69b889clairehoECHO_C= ECHO_N= ECHO_T= 45527f654740f2a26ad62a5c155af9199af9e69b889clairehocase `echo -n x` in #((((( 45627f654740f2a26ad62a5c155af9199af9e69b889claireho-n*) 45727f654740f2a26ad62a5c155af9199af9e69b889claireho case `echo 'xy\c'` in 45827f654740f2a26ad62a5c155af9199af9e69b889claireho *c*) ECHO_T=' ';; # ECHO_T is single tab character. 45927f654740f2a26ad62a5c155af9199af9e69b889claireho xy) ECHO_C='\c';; 46027f654740f2a26ad62a5c155af9199af9e69b889claireho *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 46127f654740f2a26ad62a5c155af9199af9e69b889claireho ECHO_T=' ';; 46227f654740f2a26ad62a5c155af9199af9e69b889claireho esac;; 46327f654740f2a26ad62a5c155af9199af9e69b889claireho*) 46427f654740f2a26ad62a5c155af9199af9e69b889claireho ECHO_N='-n';; 46527f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 466ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 46727f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conf$$ conf$$.exe conf$$.file 46827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -d conf$$.dir; then 46927f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f conf$$.dir/conf$$.file 47027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 47127f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f conf$$.dir 47227f654740f2a26ad62a5c155af9199af9e69b889claireho mkdir conf$$.dir 2>/dev/null 47385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 47427f654740f2a26ad62a5c155af9199af9e69b889clairehoif (echo >conf$$.file) 2>/dev/null; then 47527f654740f2a26ad62a5c155af9199af9e69b889claireho if ln -s conf$$.file conf$$ 2>/dev/null; then 47627f654740f2a26ad62a5c155af9199af9e69b889claireho as_ln_s='ln -s' 47727f654740f2a26ad62a5c155af9199af9e69b889claireho # ... but there are two gotchas: 47827f654740f2a26ad62a5c155af9199af9e69b889claireho # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 47927f654740f2a26ad62a5c155af9199af9e69b889claireho # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 48027f654740f2a26ad62a5c155af9199af9e69b889claireho # In both cases, we have to default to `cp -p'. 48127f654740f2a26ad62a5c155af9199af9e69b889claireho ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 48227f654740f2a26ad62a5c155af9199af9e69b889claireho as_ln_s='cp -p' 48327f654740f2a26ad62a5c155af9199af9e69b889claireho elif ln conf$$.file conf$$ 2>/dev/null; then 48427f654740f2a26ad62a5c155af9199af9e69b889claireho as_ln_s=ln 48527f654740f2a26ad62a5c155af9199af9e69b889claireho else 48627f654740f2a26ad62a5c155af9199af9e69b889claireho as_ln_s='cp -p' 48727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 48885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 48927f654740f2a26ad62a5c155af9199af9e69b889claireho as_ln_s='cp -p' 49085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 49127f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 49227f654740f2a26ad62a5c155af9199af9e69b889clairehormdir conf$$.dir 2>/dev/null 49385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 49427f654740f2a26ad62a5c155af9199af9e69b889clairehoif mkdir -p . 2>/dev/null; then 49527f654740f2a26ad62a5c155af9199af9e69b889claireho as_mkdir_p='mkdir -p "$as_dir"' 49627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 49727f654740f2a26ad62a5c155af9199af9e69b889claireho test -d ./-p && rmdir ./-p 49827f654740f2a26ad62a5c155af9199af9e69b889claireho as_mkdir_p=false 49985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 50085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 50127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -x / >/dev/null 2>&1; then 50227f654740f2a26ad62a5c155af9199af9e69b889claireho as_test_x='test -x' 50385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 50427f654740f2a26ad62a5c155af9199af9e69b889claireho if ls -dL / >/dev/null 2>&1; then 50527f654740f2a26ad62a5c155af9199af9e69b889claireho as_ls_L_option=L 50627f654740f2a26ad62a5c155af9199af9e69b889claireho else 50727f654740f2a26ad62a5c155af9199af9e69b889claireho as_ls_L_option= 50827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 50927f654740f2a26ad62a5c155af9199af9e69b889claireho as_test_x=' 51027f654740f2a26ad62a5c155af9199af9e69b889claireho eval sh -c '\'' 51127f654740f2a26ad62a5c155af9199af9e69b889claireho if test -d "$1"; then 51227f654740f2a26ad62a5c155af9199af9e69b889claireho test -d "$1/."; 51327f654740f2a26ad62a5c155af9199af9e69b889claireho else 51427f654740f2a26ad62a5c155af9199af9e69b889claireho case $1 in #( 51527f654740f2a26ad62a5c155af9199af9e69b889claireho -*)set "./$1";; 51627f654740f2a26ad62a5c155af9199af9e69b889claireho esac; 51727f654740f2a26ad62a5c155af9199af9e69b889claireho case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 51827f654740f2a26ad62a5c155af9199af9e69b889claireho ???[sx]*):;;*)false;;esac;fi 51927f654740f2a26ad62a5c155af9199af9e69b889claireho '\'' sh 52027f654740f2a26ad62a5c155af9199af9e69b889claireho ' 52185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 52227f654740f2a26ad62a5c155af9199af9e69b889clairehoas_executable_p=$as_test_x 52385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 52427f654740f2a26ad62a5c155af9199af9e69b889claireho# Sed expression to map a string onto a valid CPP name. 52527f654740f2a26ad62a5c155af9199af9e69b889clairehoas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 52685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 52727f654740f2a26ad62a5c155af9199af9e69b889claireho# Sed expression to map a string onto a valid variable name. 52827f654740f2a26ad62a5c155af9199af9e69b889clairehoas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 52985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 53085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 53127f654740f2a26ad62a5c155af9199af9e69b889clairehotest -n "$DJDIR" || exec 7<&0 </dev/null 53227f654740f2a26ad62a5c155af9199af9e69b889clairehoexec 6>&1 533ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 534ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Name of the host. 53527f654740f2a26ad62a5c155af9199af9e69b889claireho# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 536ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# so uname gets run too. 537ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 538ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 539ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# 540ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Initializations. 541ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# 542ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_default_prefix=/usr/local 54385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_clean_files= 544ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_config_libobj_dir=. 54585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLIBOBJS= 546ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querucross_compiling=no 547ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querusubdirs= 548ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruMFLAGS= 549ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruMAKEFLAGS= 550ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 551ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Identity of this package. 552ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruPACKAGE_NAME= 553ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruPACKAGE_TARNAME= 554ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruPACKAGE_VERSION= 555ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruPACKAGE_STRING= 556ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruPACKAGE_BUGREPORT= 55727f654740f2a26ad62a5c155af9199af9e69b889clairehoPACKAGE_URL= 558ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 559b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehoac_unique_file="ICU" 560ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_unique_file="common/unicode/utypes.h" 561ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Factoring default headers for most tests. 562ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_includes_default="\ 563ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#include <stdio.h> 56485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#ifdef HAVE_SYS_TYPES_H 565ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# include <sys/types.h> 566ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 56785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#ifdef HAVE_SYS_STAT_H 568ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# include <sys/stat.h> 569ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 57085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#ifdef STDC_HEADERS 571ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# include <stdlib.h> 572ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# include <stddef.h> 573ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#else 57485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# ifdef HAVE_STDLIB_H 575ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# include <stdlib.h> 576ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# endif 577ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 57885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#ifdef HAVE_STRING_H 57985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 580ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# include <memory.h> 581ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# endif 582ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# include <string.h> 583ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 58485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#ifdef HAVE_STRINGS_H 585ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# include <strings.h> 586ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 58785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#ifdef HAVE_INTTYPES_H 588ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# include <inttypes.h> 589ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 59085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#ifdef HAVE_STDINT_H 59185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# include <stdint.h> 59285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#endif 59385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#ifdef HAVE_UNISTD_H 594ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# include <unistd.h> 595ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif" 596ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 59785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_subst_vars='LTLIBOBJS 59885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLIBOBJS 599b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehoU_USING_CYGWIN_MSVC 60085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoplatform_make_fragment 60185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoplatform_make_fragment_name 60285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoplatform 60385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoICUDATA_CHAR 60485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoSAMPLES_TRUE 60585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoTESTS_TRUE 60685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoICULIBSUFFIXCNAME 60785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_LIB_SUFFIX 60885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoICULIBSUFFIX 60985bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoDATA_PACKAGING_MODE 61085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hothepkgicudatadir 61185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hopkgicudatadir 61285bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLAYOUT_TRUE 61385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoICUIO_TRUE 61485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoEXTRAS_TRUE 61585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_CHECK_UTF16_STRING 61650294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoU_CHECK_GNUC_UTF16_STRING 61785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_SIZEOF_WCHAR_T 61885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_WCSCPY 61985bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_WCHAR_H 62085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoHAVE_UINT64_T 62185bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoHAVE_INT64_T 62285bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoHAVE_UINT32_T 62385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoHAVE_INT32_T 62485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoHAVE_UINT16_T 62585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoHAVE_INT16_T 62685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoHAVE_UINT8_T 62785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoHAVE_INT8_T 62885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_TIMEZONE 62985bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_TIMEZONE 63085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_TZNAME 63185bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_TZNAME 63285bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_TZSET 63385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_TZSET 63485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_POPEN 63550294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoU_HAVE_GCC_ATOMICS 63685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_PLACEMENT_NEW 63785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_OVERRIDE_CXX_ALLOCATION 63885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_NAMESPACE 63985bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_NL_LANGINFO_CODESET 64085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_NL_LANGINFO_CODESET 64185bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_IS_BIG_ENDIAN 64285bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_IOSTREAM_SOURCE 64385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_DIRENT_H 64485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_INTTYPES_H 64585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoGENCCODE_ASSEMBLY 64685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoHAVE_MMAP 64785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLIB_THREAD 64885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoICU_USE_THREADS 64985bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoTHREADS_TRUE 65085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_HAVE_STD_STRING 65185bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_INLINE 65285bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoENABLE_RPATH 65350294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoU_CHECK_DYLOAD 65450294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoU_ENABLE_DYLOAD 65585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_ENABLE_TRACING 65685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_DISABLE_RENAMING 65785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoAR 65885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoRANLIB 65985bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLIBCXXFLAGS 66085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLIBCFLAGS 66185bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_USE_GCC_VISIBILITY_ATTRIBUTE 66285bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_DEFAULT_SHOW_DRAFT 66350294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoUCLN_NO_AUTO_CLEANUP 66485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoENABLE_STATIC 66585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoENABLE_SHARED 66685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLIB_M 66785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCOMPILE_LINK_ENVVAR 66885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoARFLAGS 66950294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoEGREP 67050294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoGREP 67185bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoDOXYGEN 67285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocross_buildroot 67385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoU_MAKE 67485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocross_compiling 67585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoINSTALL_DATA 67685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoINSTALL_SCRIPT 67785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoINSTALL_PROGRAM 67885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCPP 67985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_ct_CXX 68085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCXXFLAGS 68185bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCXX 68285bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoOBJEXT 68385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoEXEEXT 68485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_ct_CC 68585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLDFLAGS 68685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCFLAGS 68785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCC 68827f654740f2a26ad62a5c155af9199af9e69b889clairehoENABLE_RELEASE 68927f654740f2a26ad62a5c155af9199af9e69b889clairehoENABLE_DEBUG 69085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCPPFLAGS 69185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hotarget_os 69285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hotarget_vendor 69385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hotarget_cpu 69485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hotarget 69585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hohost_os 69685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hohost_vendor 69785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hohost_cpu 69885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hohost 69985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hobuild_os 70085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hobuild_vendor 70185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hobuild_cpu 70285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hobuild 70385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoUNICODE_VERSION 70485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLIB_VERSION_MAJOR 70585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLIB_VERSION 70685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoVERSION 70727f654740f2a26ad62a5c155af9199af9e69b889clairehoICU_ECHO_T 70827f654740f2a26ad62a5c155af9199af9e69b889clairehoICU_ECHO_C 70927f654740f2a26ad62a5c155af9199af9e69b889clairehoICU_ECHO_N 71085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoPACKAGE 71185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hotarget_alias 71285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hohost_alias 71385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hobuild_alias 71485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLIBS 71585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoECHO_T 71685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoECHO_N 71785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoECHO_C 71885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoDEFS 71985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homandir 72085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Holocaledir 72185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Holibdir 72285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hopsdir 72385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hopdfdir 72485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodvidir 72585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hohtmldir 72685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoinfodir 72785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodocdir 72885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hooldincludedir 72985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoincludedir 73085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Holocalstatedir 73185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hosharedstatedir 73285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hosysconfdir 73385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodatadir 73485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodatarootdir 73585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Holibexecdir 73685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hosbindir 73785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hobindir 73885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoprogram_transform_name 73985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoprefix 74085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoexec_prefix 74127f654740f2a26ad62a5c155af9199af9e69b889clairehoPACKAGE_URL 74285bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoPACKAGE_BUGREPORT 74385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoPACKAGE_STRING 74485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoPACKAGE_VERSION 74585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoPACKAGE_TARNAME 74685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoPACKAGE_NAME 74785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoPATH_SEPARATOR 74885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoSHELL' 749ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_subst_files='' 75085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_user_opts=' 75185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_option_checking 75227f654740f2a26ad62a5c155af9199af9e69b889clairehoenable_debug 75327f654740f2a26ad62a5c155af9199af9e69b889clairehoenable_release 75485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Howith_cross_build 75585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_strict 75685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_64bit_libs 75785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Howith_library_bits 75885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_shared 75985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_static 76050294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoenable_auto_cleanup 76185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_draft 76285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_renaming 76385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_tracing 76450294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoenable_dyload 76585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_rpath 76685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_threads 76785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_weak_threads 76885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Howith_iostream 76985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_extras 77085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_icuio 77185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_layout 77285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Howith_data_packaging 77385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Howith_library_suffix 77485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_tests 77585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoenable_samples 77685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho' 77785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_precious_vars='build_alias 77885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hohost_alias 77985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hotarget_alias 78085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCC 78185bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCFLAGS 78285bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLDFLAGS 78385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLIBS 78485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCPPFLAGS 78585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCXX 78685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCXXFLAGS 78785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCCC 78885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoCPP' 78985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 790ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 791ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Initialize some variables set by options. 792ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_init_help= 793ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_init_version=false 79485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_unrecognized_opts= 79585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_unrecognized_sep= 796ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# The variables have the same names as the options, with 797ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# dashes changed to underlines. 798ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querucache_file=/dev/null 799ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruexec_prefix=NONE 800ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruno_create= 801ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruno_recursion= 802ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruprefix=NONE 803ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruprogram_prefix=NONE 804ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruprogram_suffix=NONE 805ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruprogram_transform_name=s,x,x, 806ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querusilent= 807ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querusite= 808ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querusrcdir= 809ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruverbose= 810ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querux_includes=NONE 811ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querux_libraries=NONE 812ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 813ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Installation directory options. 814ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# These are left unexpanded so users can "make install exec_prefix=/foo" 815ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# and all the variables that are supposed to be based on exec_prefix 816ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# by default will actually change. 817ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Use braces instead of parens because sh, perl, etc. also accept them. 81885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# (The list follows the same order as the GNU Coding Standards.) 819ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querubindir='${exec_prefix}/bin' 820ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querusbindir='${exec_prefix}/sbin' 821ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querulibexecdir='${exec_prefix}/libexec' 82285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodatarootdir='${prefix}/share' 82385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodatadir='${datarootdir}' 824ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querusysconfdir='${prefix}/etc' 825ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querusharedstatedir='${prefix}/com' 826ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querulocalstatedir='${prefix}/var' 827ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruincludedir='${prefix}/include' 828ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruoldincludedir='/usr/include' 82985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodocdir='${datarootdir}/doc/${PACKAGE}' 83085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoinfodir='${datarootdir}/info' 83185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hohtmldir='${docdir}' 83285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodvidir='${docdir}' 83385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hopdfdir='${docdir}' 83485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hopsdir='${docdir}' 83585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Holibdir='${exec_prefix}/lib' 83685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Holocaledir='${datarootdir}/locale' 83785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homandir='${datarootdir}/man' 838ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 839ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_prev= 84085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_dashdash= 841ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufor ac_option 842ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudo 843ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # If the previous option needs an argument, assign it. 844ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru if test -n "$ac_prev"; then 84585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval $ac_prev=\$ac_option 846ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev= 847ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru continue 848ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 849ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 85085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_option in 85127f654740f2a26ad62a5c155af9199af9e69b889claireho *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 85227f654740f2a26ad62a5c155af9199af9e69b889claireho *=) ac_optarg= ;; 85327f654740f2a26ad62a5c155af9199af9e69b889claireho *) ac_optarg=yes ;; 85485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 855ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 856ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Accept the important Cygnus configure options, so we can diagnose typos. 857ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 85885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_dashdash$ac_option in 85985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --) 86085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_dashdash=yes ;; 861ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 862ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -bindir | --bindir | --bindi | --bind | --bin | --bi) 863ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=bindir ;; 864ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 865ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru bindir=$ac_optarg ;; 866ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 867ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -build | --build | --buil | --bui | --bu) 868ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=build_alias ;; 869ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -build=* | --build=* | --buil=* | --bui=* | --bu=*) 870ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru build_alias=$ac_optarg ;; 871ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 872ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -cache-file | --cache-file | --cache-fil | --cache-fi \ 873ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 874ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=cache_file ;; 875ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 876ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 877ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru cache_file=$ac_optarg ;; 878ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 879ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --config-cache | -C) 880ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru cache_file=config.cache ;; 881ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 88285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -datadir | --datadir | --datadi | --datad) 883ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=datadir ;; 88485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -datadir=* | --datadir=* | --datadi=* | --datad=*) 885ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru datadir=$ac_optarg ;; 886ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 88785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 88885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho | --dataroo | --dataro | --datar) 88985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_prev=datarootdir ;; 89085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 89185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 89285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho datarootdir=$ac_optarg ;; 89385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 894ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -disable-* | --disable-*) 89585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 896ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Reject names that are not valid shell variable names. 89785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 89827f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "invalid feature name: $ac_useropt" 89985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt_orig=$ac_useropt 90085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 90185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_user_opts in 90285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *" 90385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho"enable_$ac_useropt" 90485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho"*) ;; 90585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 90685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_unrecognized_sep=', ';; 90785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 90885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval enable_$ac_useropt=no ;; 90985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 91085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -docdir | --docdir | --docdi | --doc | --do) 91185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_prev=docdir ;; 91285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 91385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho docdir=$ac_optarg ;; 91485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 91585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 91685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_prev=dvidir ;; 91785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 91885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho dvidir=$ac_optarg ;; 919ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 920ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -enable-* | --enable-*) 92185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 922ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Reject names that are not valid shell variable names. 92385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 92427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "invalid feature name: $ac_useropt" 92585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt_orig=$ac_useropt 92685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 92785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_user_opts in 92885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *" 92985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho"enable_$ac_useropt" 93085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho"*) ;; 93185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 93285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_unrecognized_sep=', ';; 933ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 93485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval enable_$ac_useropt=\$ac_optarg ;; 935ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 936ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 937ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 938ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --exec | --exe | --ex) 939ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=exec_prefix ;; 940ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 941ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 942ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --exec=* | --exe=* | --ex=*) 943ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru exec_prefix=$ac_optarg ;; 944ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 945ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -gas | --gas | --ga | --g) 946ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Obsolete; use --with-gas. 947ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru with_gas=yes ;; 948ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 949ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -help | --help | --hel | --he | -h) 950ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_init_help=long ;; 951ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 952ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_init_help=recursive ;; 953ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 954ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_init_help=short ;; 955ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 956ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -host | --host | --hos | --ho) 957ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=host_alias ;; 958ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -host=* | --host=* | --hos=* | --ho=*) 959ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru host_alias=$ac_optarg ;; 960ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 96185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 96285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_prev=htmldir ;; 96385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 96485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho | --ht=*) 96585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho htmldir=$ac_optarg ;; 96685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 967ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -includedir | --includedir | --includedi | --included | --include \ 968ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --includ | --inclu | --incl | --inc) 969ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=includedir ;; 970ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 971ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --includ=* | --inclu=* | --incl=* | --inc=*) 972ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru includedir=$ac_optarg ;; 973ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 974ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -infodir | --infodir | --infodi | --infod | --info | --inf) 975ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=infodir ;; 976ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 977ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru infodir=$ac_optarg ;; 978ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 979ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -libdir | --libdir | --libdi | --libd) 980ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=libdir ;; 981ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -libdir=* | --libdir=* | --libdi=* | --libd=*) 982ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru libdir=$ac_optarg ;; 983ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 984ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 985ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --libexe | --libex | --libe) 986ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=libexecdir ;; 987ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 988ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --libexe=* | --libex=* | --libe=*) 989ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru libexecdir=$ac_optarg ;; 990ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 99185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -localedir | --localedir | --localedi | --localed | --locale) 99285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_prev=localedir ;; 99385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 99485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho localedir=$ac_optarg ;; 99585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 996ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -localstatedir | --localstatedir | --localstatedi | --localstated \ 99785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho | --localstate | --localstat | --localsta | --localst | --locals) 998ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=localstatedir ;; 999ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 100085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1001ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru localstatedir=$ac_optarg ;; 1002ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1003ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1004ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=mandir ;; 1005ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1006ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru mandir=$ac_optarg ;; 1007ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1008ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -nfp | --nfp | --nf) 1009ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Obsolete; use --without-fp. 1010ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru with_fp=no ;; 1011ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1012ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1013ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --no-cr | --no-c | -n) 1014ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru no_create=yes ;; 1015ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1016ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1017ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1018ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru no_recursion=yes ;; 1019ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1020ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1021ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1022ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --oldin | --oldi | --old | --ol | --o) 1023ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=oldincludedir ;; 1024ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1025ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1026ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1027ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru oldincludedir=$ac_optarg ;; 1028ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1029ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1030ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=prefix ;; 1031ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1032ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru prefix=$ac_optarg ;; 1033ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1034ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1035ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-pre | --program-pr | --program-p) 1036ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=program_prefix ;; 1037ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1038ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1039ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru program_prefix=$ac_optarg ;; 1040ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1041ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1042ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-suf | --program-su | --program-s) 1043ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=program_suffix ;; 1044ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1045ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1046ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru program_suffix=$ac_optarg ;; 1047ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1048ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -program-transform-name | --program-transform-name \ 1049ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-transform-nam | --program-transform-na \ 1050ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-transform-n | --program-transform- \ 1051ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-transform | --program-transfor \ 1052ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-transfo | --program-transf \ 1053ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-trans | --program-tran \ 1054ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --progr-tra | --program-tr | --program-t) 1055ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=program_transform_name ;; 1056ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -program-transform-name=* | --program-transform-name=* \ 1057ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-transform-nam=* | --program-transform-na=* \ 1058ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-transform-n=* | --program-transform-=* \ 1059ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-transform=* | --program-transfor=* \ 1060ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-transfo=* | --program-transf=* \ 1061ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --program-trans=* | --program-tran=* \ 1062ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --progr-tra=* | --program-tr=* | --program-t=*) 1063ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru program_transform_name=$ac_optarg ;; 1064ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 106585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 106685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_prev=pdfdir ;; 106785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 106885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho pdfdir=$ac_optarg ;; 106985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 107085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -psdir | --psdir | --psdi | --psd | --ps) 107185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_prev=psdir ;; 107285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 107385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho psdir=$ac_optarg ;; 107485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 1075ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1076ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | -silent | --silent | --silen | --sile | --sil) 1077ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru silent=yes ;; 1078ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1079ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1080ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=sbindir ;; 1081ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1082ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --sbi=* | --sb=*) 1083ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru sbindir=$ac_optarg ;; 1084ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1085ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1086ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1087ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --sharedst | --shareds | --shared | --share | --shar \ 1088ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --sha | --sh) 1089ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=sharedstatedir ;; 1090ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1091ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1092ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1093ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --sha=* | --sh=*) 1094ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru sharedstatedir=$ac_optarg ;; 1095ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1096ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -site | --site | --sit) 1097ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=site ;; 1098ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -site=* | --site=* | --sit=*) 1099ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru site=$ac_optarg ;; 1100ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1101ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1102ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=srcdir ;; 1103ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1104ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru srcdir=$ac_optarg ;; 1105ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1106ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1107ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --syscon | --sysco | --sysc | --sys | --sy) 1108ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=sysconfdir ;; 1109ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1110ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1111ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru sysconfdir=$ac_optarg ;; 1112ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1113ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -target | --target | --targe | --targ | --tar | --ta | --t) 1114ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=target_alias ;; 1115ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1116ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru target_alias=$ac_optarg ;; 1117ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1118ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -v | -verbose | --verbose | --verbos | --verbo | --verb) 1119ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru verbose=yes ;; 1120ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1121ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -version | --version | --versio | --versi | --vers | -V) 1122ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_init_version=: ;; 1123ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1124ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -with-* | --with-*) 112585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1126ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Reject names that are not valid shell variable names. 112785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 112827f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "invalid package name: $ac_useropt" 112985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt_orig=$ac_useropt 113085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 113185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_user_opts in 113285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *" 113385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho"with_$ac_useropt" 113485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho"*) ;; 113585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 113685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_unrecognized_sep=', ';; 1137ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 113885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval with_$ac_useropt=\$ac_optarg ;; 1139ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1140ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -without-* | --without-*) 114185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1142ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Reject names that are not valid shell variable names. 114385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 114427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "invalid package name: $ac_useropt" 114585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt_orig=$ac_useropt 114685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 114785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_user_opts in 114885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *" 114985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho"with_$ac_useropt" 115085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho"*) ;; 115185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 115285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_unrecognized_sep=', ';; 115385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 115485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval with_$ac_useropt=no ;; 1155ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1156ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --x) 1157ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Obsolete; use --with-x. 1158ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru with_x=yes ;; 1159ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1160ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1161ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --x-incl | --x-inc | --x-in | --x-i) 1162ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=x_includes ;; 1163ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1164ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1165ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru x_includes=$ac_optarg ;; 1166ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1167ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1168ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1169ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_prev=x_libraries ;; 1170ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1171ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1172ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru x_libraries=$ac_optarg ;; 1173ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 117427f654740f2a26ad62a5c155af9199af9e69b889claireho -*) as_fn_error $? "unrecognized option: \`$ac_option' 117527f654740f2a26ad62a5c155af9199af9e69b889clairehoTry \`$0 --help' for more information" 1176ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ;; 1177ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1178ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *=*) 1179ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1180ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Reject names that are not valid shell variable names. 118127f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_envvar in #( 118227f654740f2a26ad62a5c155af9199af9e69b889claireho '' | [0-9]* | *[!_$as_cr_alnum]* ) 118327f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 118427f654740f2a26ad62a5c155af9199af9e69b889claireho esac 118585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval $ac_envvar=\$ac_optarg 1186ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru export $ac_envvar ;; 1187ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1188ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *) 1189ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # FIXME: should be removed in autoconf 3.0. 119085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1191ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 119285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1193ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1194ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ;; 1195ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1196ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 1197ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudone 1198ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1199ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test -n "$ac_prev"; then 1200ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_option=--`echo $ac_prev | sed 's/_/-/g'` 120127f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "missing argument to $ac_option" 1202ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 1203ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 120485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test -n "$ac_unrecognized_opts"; then 120585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $enable_option_checking in 120685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho no) ;; 120727f654740f2a26ad62a5c155af9199af9e69b889claireho fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 120885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1209ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 121085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 1211ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 121285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check all directory arguments for consistency. 121385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 121485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho datadir sysconfdir sharedstatedir localstatedir includedir \ 121585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 121685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho libdir localedir mandir 1217ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudo 121885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval ac_val=\$$ac_var 121985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # Remove trailing slashes. 1220ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru case $ac_val in 122185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho */ ) 122285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 122385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval $ac_var=\$ac_val;; 122485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 122585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # Be sure to have absolute directory names. 122685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_val in 122785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho [\\/$]* | ?:[\\/]* ) continue;; 122885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1229ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 123027f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1231ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudone 1232ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1233ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# There might be people who depend on the old broken behavior: `$host' 1234ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# used to hold the argument of --host etc. 1235ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# FIXME: To remove some day. 1236ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querubuild=$build_alias 1237ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruhost=$host_alias 1238ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querutarget=$target_alias 1239ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1240ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# FIXME: To remove some day. 1241ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "x$host_alias" != x; then 1242ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru if test "x$build_alias" = x; then 1243ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru cross_compiling=maybe 124427f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 124527f654740f2a26ad62a5c155af9199af9e69b889claireho If a cross compiler is detected then cross compile mode will be used" >&2 1246ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru elif test "x$build_alias" != "x$host_alias"; then 1247ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru cross_compiling=yes 1248ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 1249ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 1250ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1251ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_tool_prefix= 1252ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querutest -n "$host_alias" && ac_tool_prefix=$host_alias- 1253ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1254ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querutest "$silent" = yes && exec 6>/dev/null 1255ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1256ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 125785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_pwd=`pwd` && test -n "$ac_pwd" && 125885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_ls_di=`ls -di .` && 125985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 126027f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "working directory cannot be determined" 126185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hotest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 126227f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "pwd does not report name of working directory" 126385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 126485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 1265ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Find the source files, if location was not specified. 1266ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test -z "$srcdir"; then 1267ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_srcdir_defaulted=yes 126885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # Try the directory containing this script, then the parent directory. 126985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_confdir=`$as_dirname -- "$as_myself" || 127085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 127185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho X"$as_myself" : 'X\(//\)[^/]' \| \ 127285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho X"$as_myself" : 'X\(//\)$' \| \ 127385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 127485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo X"$as_myself" | 127585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 127685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 127785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 127885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 127985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho /^X\(\/\/\)[^/].*/{ 128085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 128185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 128285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 128385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho /^X\(\/\/\)$/{ 128485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 128585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 128685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 128785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho /^X\(\/\).*/{ 128885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 128985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 129085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 129185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s/.*/./; q'` 1292ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru srcdir=$ac_confdir 129385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if test ! -r "$srcdir/$ac_unique_file"; then 1294ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru srcdir=.. 1295ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 1296ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 1297ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_srcdir_defaulted=no 1298ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 129985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test ! -r "$srcdir/$ac_unique_file"; then 130085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 130127f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 130285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 130385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 130485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_abs_confdir=`( 130527f654740f2a26ad62a5c155af9199af9e69b889claireho cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 130685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho pwd)` 130785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# When building in place, set srcdir=. 130885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test "$ac_abs_confdir" = "$ac_pwd"; then 130985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho srcdir=. 131085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 131185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Remove unnecessary trailing slashes from srcdir. 131285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Double slashes in file names in object file debugging info 131385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# mess up M-x gdb in Emacs. 131485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase $srcdir in 131585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 131685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 131785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofor ac_var in $ac_precious_vars; do 131885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval ac_env_${ac_var}_set=\${${ac_var}+set} 131985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval ac_env_${ac_var}_value=\$${ac_var} 132085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 132185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval ac_cv_env_${ac_var}_value=\$${ac_var} 132285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodone 1323ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1324ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# 1325ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Report the --help message. 1326ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# 1327ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "$ac_init_help" = "long"; then 1328ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Omit some internal or obsolete options to make the list less imposing. 1329ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # This message is too long to be a string in the A/UX 3.1 sh. 1330ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru cat <<_ACEOF 1331ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru\`configure' configures this package to adapt to many kinds of systems. 1332ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1333ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruUsage: $0 [OPTION]... [VAR=VALUE]... 1334ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1335ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1336ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruVAR=VALUE. See below for descriptions of some of the useful variables. 1337ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1338ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruDefaults for the options are specified in brackets. 1339ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1340ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruConfiguration: 1341ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -h, --help display this help and exit 1342ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --help=short display options specific to this package 1343ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --help=recursive display the short help of all the included packages 1344ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -V, --version display version information and exit 134527f654740f2a26ad62a5c155af9199af9e69b889claireho -q, --quiet, --silent do not print \`checking ...' messages 1346ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --cache-file=FILE cache test results in FILE [disabled] 1347ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -C, --config-cache alias for \`--cache-file=config.cache' 1348ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -n, --no-create do not create output files 1349ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1350ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1351ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruInstallation directories: 1352ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --prefix=PREFIX install architecture-independent files in PREFIX 135385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho [$ac_default_prefix] 1354ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 135585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho [PREFIX] 1356ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1357ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruBy default, \`make install' will install all the files in 1358ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1359ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1360ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufor instance \`--prefix=\$HOME'. 1361ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1362ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruFor better control, use the options below. 1363ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1364ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruFine tuning of the installation directories: 136585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --bindir=DIR user executables [EPREFIX/bin] 136685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --sbindir=DIR system admin executables [EPREFIX/sbin] 136785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --libexecdir=DIR program executables [EPREFIX/libexec] 136885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 136985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 137085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --localstatedir=DIR modifiable single-machine data [PREFIX/var] 137185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --libdir=DIR object code libraries [EPREFIX/lib] 137285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --includedir=DIR C header files [PREFIX/include] 137385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --oldincludedir=DIR C header files for non-gcc [/usr/include] 137485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 137585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 137685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --infodir=DIR info documentation [DATAROOTDIR/info] 137785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 137885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --mandir=DIR man documentation [DATAROOTDIR/man] 137985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 138085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --htmldir=DIR html documentation [DOCDIR] 138185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --dvidir=DIR dvi documentation [DOCDIR] 138285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --pdfdir=DIR pdf documentation [DOCDIR] 138385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --psdir=DIR ps documentation [DOCDIR] 1384ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 1385ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1386ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru cat <<\_ACEOF 1387ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1388ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruSystem types: 1389ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --build=BUILD configure for building on BUILD [guessed] 1390ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --host=HOST cross-compile to build programs to run on HOST [BUILD] 139185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --target=TARGET configure for building compilers for TARGET [HOST] 1392ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 1393ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 1394ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1395ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test -n "$ac_init_help"; then 1396ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1397ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru cat <<\_ACEOF 1398ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1399ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruOptional Features: 140085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --disable-option-checking ignore unrecognized --enable/--with options 1401ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1402ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 140327f654740f2a26ad62a5c155af9199af9e69b889claireho --enable-debug build debug libraries default=no 140427f654740f2a26ad62a5c155af9199af9e69b889claireho --enable-release build release libraries default=yes 140585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --enable-strict compile with strict compiler options default=yes 140685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --enable-64bit-libs (deprecated, use --with-library-bits) build 64-bit libraries default= platform default 1407ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-shared build shared libraries default=yes 1408ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-static build static libraries default=no 140950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho --enable-auto-cleanup enable auto cleanup of libraries default=no 141050294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho --enable-draft enable draft APIs (and internal APIs) default=yes 1411ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-renaming add a version suffix to symbols default=yes 1412ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-tracing enable function and data tracing default=no 141350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho --disable-dyload disable dynamic loading default=no 1414ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-rpath use rpath when linking default is only if necessary 1415ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-threads build ICU with thread safety default=yes 1416ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-weak-threads weakly reference the threading library default=no 1417ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-extras build ICU extras default=yes 1418ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-icuio build ICU's icuio library default=yes 1419ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-layout build ICU's layout library default=yes 1420ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-tests build ICU tests default=yes 1421ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --enable-samples build ICU samples default=yes 1422ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1423ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruAdditionally, the variable FORCE_LIBS may be set before calling configure. 1424ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruIf set, it will REPLACE any automatic list of libraries. 1425ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1426ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruOptional Packages: 1427ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1428ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 142985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --with-cross-build=dir specify an absolute path to the build directory of an ICU built for the current platform default=no cross dir 143085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --with-library-bits=bits specify how many bits to use for the library (32, 64, 64else32, nochange) default=nochange 1431ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --with-iostream=version specify the version of iostream to use (none, old, std, auto) default=auto 143250294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho --with-data-packaging=type specify how to package ICU data (files, archive, library, static, auto) default=auto 1433ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --with-library-suffix=suffix tag a suffix to the library names default= 1434ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1435ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruSome influential environment variables: 1436ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CC C compiler command 1437ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CFLAGS C compiler flags 1438ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1439ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru nonstandard directory <lib dir> 144085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho LIBS libraries to pass to the linker, e.g. -l<library> 144127f654740f2a26ad62a5c155af9199af9e69b889claireho CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 144285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho you have headers in a nonstandard directory <include dir> 1443ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CXX C++ compiler command 1444ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CXXFLAGS C++ compiler flags 1445ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CPP C preprocessor 1446ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1447ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruUse these variables to override the choices made by `configure' or to help 1448ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruit to find libraries and programs with nonstandard names/locations. 1449ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 145027f654740f2a26ad62a5c155af9199af9e69b889clairehoReport bugs to the package provider. 1451ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 145285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_status=$? 1453ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 1454ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1455ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "$ac_init_help" = "recursive"; then 1456ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # If there are subdirs, report their specific --help. 1457ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 145885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test -d "$ac_dir" || 145985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 146085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho continue 1461ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_builddir=. 1462ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 146385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase "$ac_dir" in 146485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 146585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho*) 146685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 146785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # A ".." for each directory in $ac_dir_suffix. 146885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 146985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_top_builddir_sub in 147085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 147185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 147285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac ;; 147385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 147485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_abs_top_builddir=$ac_pwd 147585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_abs_builddir=$ac_pwd$ac_dir_suffix 147685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# for backward compatibility: 147785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_top_builddir=$ac_top_build_prefix 1478ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 1479ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querucase $srcdir in 148085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho .) # We are building in place. 1481ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_srcdir=. 148285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_top_srcdir=$ac_top_builddir_sub 148385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_abs_top_srcdir=$ac_pwd ;; 148485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho [\\/]* | ?:[\\/]* ) # Absolute name. 1485ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_srcdir=$srcdir$ac_dir_suffix; 148685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_top_srcdir=$srcdir 148785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_abs_top_srcdir=$srcdir ;; 148885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) # Relative name. 148985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 149085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_top_srcdir=$ac_top_build_prefix$srcdir 149185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1492ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruesac 149385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 149485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 149585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho cd "$ac_dir" || { ac_status=$?; continue; } 149685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # Check for guested configure. 149785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if test -f "$ac_srcdir/configure.gnu"; then 149885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho echo && 149985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $SHELL "$ac_srcdir/configure.gnu" --help=recursive 150085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho elif test -f "$ac_srcdir/configure"; then 150185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho echo && 150285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $SHELL "$ac_srcdir/configure" --help=recursive 1503ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru else 150485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 150585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho fi || ac_status=$? 150685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho cd "$ac_pwd" || { ac_status=$?; break; } 1507ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru done 1508ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 1509ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 151085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hotest -n "$ac_init_help" && exit $ac_status 1511ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif $ac_init_version; then 1512ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru cat <<\_ACEOF 151385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoconfigure 151427f654740f2a26ad62a5c155af9199af9e69b889clairehogenerated by GNU Autoconf 2.67 1515ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 151627f654740f2a26ad62a5c155af9199af9e69b889clairehoCopyright (C) 2010 Free Software Foundation, Inc. 1517ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruThis configure script is free software; the Free Software Foundation 1518ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querugives unlimited permission to copy, distribute and modify it. 151985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 1520b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho Copyright (c) 1999-2011, International Business Machines Corporation and others. All Rights Reserved. 1521ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 152285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho exit 1523ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 1524ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 152527f654740f2a26ad62a5c155af9199af9e69b889claireho## ------------------------ ## 152627f654740f2a26ad62a5c155af9199af9e69b889claireho## Autoconf initialization. ## 152727f654740f2a26ad62a5c155af9199af9e69b889claireho## ------------------------ ## 1528ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 152927f654740f2a26ad62a5c155af9199af9e69b889claireho# ac_fn_c_try_compile LINENO 153027f654740f2a26ad62a5c155af9199af9e69b889claireho# -------------------------- 153127f654740f2a26ad62a5c155af9199af9e69b889claireho# Try to compile conftest.$ac_ext, and return whether this succeeded. 153227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_try_compile () 1533ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 153427f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 153527f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f conftest.$ac_objext 153627f654740f2a26ad62a5c155af9199af9e69b889claireho if { { ac_try="$ac_compile" 153727f654740f2a26ad62a5c155af9199af9e69b889clairehocase "(($ac_try" in 153827f654740f2a26ad62a5c155af9199af9e69b889claireho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 153927f654740f2a26ad62a5c155af9199af9e69b889claireho *) ac_try_echo=$ac_try;; 154027f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 154127f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 154227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 154327f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_compile") 2>conftest.err 154427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_status=$? 154527f654740f2a26ad62a5c155af9199af9e69b889claireho if test -s conftest.err; then 154627f654740f2a26ad62a5c155af9199af9e69b889claireho grep -v '^ *+' conftest.err >conftest.er1 154727f654740f2a26ad62a5c155af9199af9e69b889claireho cat conftest.er1 >&5 154827f654740f2a26ad62a5c155af9199af9e69b889claireho mv -f conftest.er1 conftest.err 154927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 155027f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 155127f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; } && { 155227f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$ac_c_werror_flag" || 155327f654740f2a26ad62a5c155af9199af9e69b889claireho test ! -s conftest.err 155427f654740f2a26ad62a5c155af9199af9e69b889claireho } && test -s conftest.$ac_objext; then : 155527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=0 155627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 155727f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me: failed program was:" >&5 155827f654740f2a26ad62a5c155af9199af9e69b889clairehosed 's/^/| /' conftest.$ac_ext >&5 1559ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 156027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=1 156127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 156227f654740f2a26ad62a5c155af9199af9e69b889claireho eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 156327f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_set_status $ac_retval 1564ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 156527f654740f2a26ad62a5c155af9199af9e69b889claireho} # ac_fn_c_try_compile 1566ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 156727f654740f2a26ad62a5c155af9199af9e69b889claireho# ac_fn_cxx_try_compile LINENO 156827f654740f2a26ad62a5c155af9199af9e69b889claireho# ---------------------------- 156927f654740f2a26ad62a5c155af9199af9e69b889claireho# Try to compile conftest.$ac_ext, and return whether this succeeded. 157027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_cxx_try_compile () 157127f654740f2a26ad62a5c155af9199af9e69b889claireho{ 157227f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 157327f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f conftest.$ac_objext 157427f654740f2a26ad62a5c155af9199af9e69b889claireho if { { ac_try="$ac_compile" 157585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase "(($ac_try" in 157685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 157785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_try_echo=$ac_try;; 157885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 157927f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 158027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 158127f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_compile") 2>conftest.err 158285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_status=$? 158327f654740f2a26ad62a5c155af9199af9e69b889claireho if test -s conftest.err; then 158427f654740f2a26ad62a5c155af9199af9e69b889claireho grep -v '^ *+' conftest.err >conftest.er1 158527f654740f2a26ad62a5c155af9199af9e69b889claireho cat conftest.er1 >&5 158627f654740f2a26ad62a5c155af9199af9e69b889claireho mv -f conftest.er1 conftest.err 158727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 158827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 158927f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; } && { 159027f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$ac_cxx_werror_flag" || 159185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test ! -s conftest.err 159227f654740f2a26ad62a5c155af9199af9e69b889claireho } && test -s conftest.$ac_objext; then : 159327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=0 159485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 159585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$as_me: failed program was:" >&5 1596ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querused 's/^/| /' conftest.$ac_ext >&5 1597ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 159827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=1 1599ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 160027f654740f2a26ad62a5c155af9199af9e69b889claireho eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 160127f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_set_status $ac_retval 160285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 160327f654740f2a26ad62a5c155af9199af9e69b889claireho} # ac_fn_cxx_try_compile 160485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 160527f654740f2a26ad62a5c155af9199af9e69b889claireho# ac_fn_c_try_cpp LINENO 160627f654740f2a26ad62a5c155af9199af9e69b889claireho# ---------------------- 160727f654740f2a26ad62a5c155af9199af9e69b889claireho# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 160827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_try_cpp () 160927f654740f2a26ad62a5c155af9199af9e69b889claireho{ 161027f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 161127f654740f2a26ad62a5c155af9199af9e69b889claireho if { { ac_try="$ac_cpp conftest.$ac_ext" 161285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase "(($ac_try" in 161385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 161485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_try_echo=$ac_try;; 161585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 161627f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 161727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 161827f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1619ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_status=$? 162027f654740f2a26ad62a5c155af9199af9e69b889claireho if test -s conftest.err; then 162127f654740f2a26ad62a5c155af9199af9e69b889claireho grep -v '^ *+' conftest.err >conftest.er1 162227f654740f2a26ad62a5c155af9199af9e69b889claireho cat conftest.er1 >&5 162327f654740f2a26ad62a5c155af9199af9e69b889claireho mv -f conftest.er1 conftest.err 162427f654740f2a26ad62a5c155af9199af9e69b889claireho fi 162527f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 162627f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; } > conftest.i && { 162727f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 162885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test ! -s conftest.err 162927f654740f2a26ad62a5c155af9199af9e69b889claireho }; then : 163027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=0 163185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 163285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$as_me: failed program was:" >&5 1633ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querused 's/^/| /' conftest.$ac_ext >&5 1634ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 163527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=1 163685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 163727f654740f2a26ad62a5c155af9199af9e69b889claireho eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 163827f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_set_status $ac_retval 1639ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 164027f654740f2a26ad62a5c155af9199af9e69b889claireho} # ac_fn_c_try_cpp 164127f654740f2a26ad62a5c155af9199af9e69b889claireho 164227f654740f2a26ad62a5c155af9199af9e69b889claireho# ac_fn_cxx_try_link LINENO 164327f654740f2a26ad62a5c155af9199af9e69b889claireho# ------------------------- 164427f654740f2a26ad62a5c155af9199af9e69b889claireho# Try to link conftest.$ac_ext, and return whether this succeeded. 164527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_cxx_try_link () 164627f654740f2a26ad62a5c155af9199af9e69b889claireho{ 164727f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 164827f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f conftest.$ac_objext conftest$ac_exeext 164927f654740f2a26ad62a5c155af9199af9e69b889claireho if { { ac_try="$ac_link" 165085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase "(($ac_try" in 165185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 165285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_try_echo=$ac_try;; 165385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 165427f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 165527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 165627f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_link") 2>conftest.err 1657ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_status=$? 165827f654740f2a26ad62a5c155af9199af9e69b889claireho if test -s conftest.err; then 165927f654740f2a26ad62a5c155af9199af9e69b889claireho grep -v '^ *+' conftest.err >conftest.er1 166027f654740f2a26ad62a5c155af9199af9e69b889claireho cat conftest.er1 >&5 166127f654740f2a26ad62a5c155af9199af9e69b889claireho mv -f conftest.er1 conftest.err 166227f654740f2a26ad62a5c155af9199af9e69b889claireho fi 166327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 166427f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; } && { 166527f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$ac_cxx_werror_flag" || 166685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test ! -s conftest.err 166727f654740f2a26ad62a5c155af9199af9e69b889claireho } && test -s conftest$ac_exeext && { 166827f654740f2a26ad62a5c155af9199af9e69b889claireho test "$cross_compiling" = yes || 166927f654740f2a26ad62a5c155af9199af9e69b889claireho $as_test_x conftest$ac_exeext 167027f654740f2a26ad62a5c155af9199af9e69b889claireho }; then : 167127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=0 167285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 167385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$as_me: failed program was:" >&5 1674ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querused 's/^/| /' conftest.$ac_ext >&5 1675ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 167627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=1 1677ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 167827f654740f2a26ad62a5c155af9199af9e69b889claireho # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 167927f654740f2a26ad62a5c155af9199af9e69b889claireho # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 168027f654740f2a26ad62a5c155af9199af9e69b889claireho # interfere with the next link command; also delete a directory that is 168127f654740f2a26ad62a5c155af9199af9e69b889claireho # left behind by Apple's compiler. We do this before executing the actions. 168227f654740f2a26ad62a5c155af9199af9e69b889claireho rm -rf conftest.dSYM conftest_ipa8_conftest.oo 168327f654740f2a26ad62a5c155af9199af9e69b889claireho eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 168427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_set_status $ac_retval 168585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 168627f654740f2a26ad62a5c155af9199af9e69b889claireho} # ac_fn_cxx_try_link 168727f654740f2a26ad62a5c155af9199af9e69b889claireho 168827f654740f2a26ad62a5c155af9199af9e69b889claireho# ac_fn_c_try_run LINENO 168927f654740f2a26ad62a5c155af9199af9e69b889claireho# ---------------------- 169027f654740f2a26ad62a5c155af9199af9e69b889claireho# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 169127f654740f2a26ad62a5c155af9199af9e69b889claireho# that executables *can* be run. 169227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_try_run () 169327f654740f2a26ad62a5c155af9199af9e69b889claireho{ 169427f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 169527f654740f2a26ad62a5c155af9199af9e69b889claireho if { { ac_try="$ac_link" 169685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase "(($ac_try" in 169785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 169885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_try_echo=$ac_try;; 169985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 170027f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 170127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 170227f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_link") 2>&5 1703ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_status=$? 170427f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 170527f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 170627f654740f2a26ad62a5c155af9199af9e69b889claireho { { case "(($ac_try" in 170727f654740f2a26ad62a5c155af9199af9e69b889claireho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 170827f654740f2a26ad62a5c155af9199af9e69b889claireho *) ac_try_echo=$ac_try;; 170927f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 171027f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 171127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 171227f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_try") 2>&5 171327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_status=$? 171427f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 171527f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; }; }; then : 171627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=0 171785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 171827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me: program exited with status $ac_status" >&5 171927f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me: failed program was:" >&5 1720ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querused 's/^/| /' conftest.$ac_ext >&5 1721ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 172227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=$ac_status 1723ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 172427f654740f2a26ad62a5c155af9199af9e69b889claireho rm -rf conftest.dSYM conftest_ipa8_conftest.oo 172527f654740f2a26ad62a5c155af9199af9e69b889claireho eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 172627f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_set_status $ac_retval 172727f654740f2a26ad62a5c155af9199af9e69b889claireho 172827f654740f2a26ad62a5c155af9199af9e69b889claireho} # ac_fn_c_try_run 172927f654740f2a26ad62a5c155af9199af9e69b889claireho 173027f654740f2a26ad62a5c155af9199af9e69b889claireho# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 173127f654740f2a26ad62a5c155af9199af9e69b889claireho# -------------------------------------------- 173227f654740f2a26ad62a5c155af9199af9e69b889claireho# Tries to find the compile-time value of EXPR in a program that includes 173327f654740f2a26ad62a5c155af9199af9e69b889claireho# INCLUDES, setting VAR accordingly. Returns whether the value could be 173427f654740f2a26ad62a5c155af9199af9e69b889claireho# computed 173527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_compute_int () 173627f654740f2a26ad62a5c155af9199af9e69b889claireho{ 173727f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 173827f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$cross_compiling" = yes; then 173927f654740f2a26ad62a5c155af9199af9e69b889claireho # Depending upon the size, compute the lo and hi bounds. 174027f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 174127f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 174227f654740f2a26ad62a5c155af9199af9e69b889claireho$4 174327f654740f2a26ad62a5c155af9199af9e69b889clairehoint 174427f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 174527f654740f2a26ad62a5c155af9199af9e69b889claireho{ 174627f654740f2a26ad62a5c155af9199af9e69b889clairehostatic int test_array [1 - 2 * !(($2) >= 0)]; 174727f654740f2a26ad62a5c155af9199af9e69b889clairehotest_array [0] = 0 174885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 174927f654740f2a26ad62a5c155af9199af9e69b889claireho ; 175027f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 175127f654740f2a26ad62a5c155af9199af9e69b889claireho} 175227f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 175327f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 175427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_lo=0 ac_mid=0 175527f654740f2a26ad62a5c155af9199af9e69b889claireho while :; do 175627f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 175727f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 175827f654740f2a26ad62a5c155af9199af9e69b889claireho$4 175927f654740f2a26ad62a5c155af9199af9e69b889clairehoint 176027f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 176127f654740f2a26ad62a5c155af9199af9e69b889claireho{ 176227f654740f2a26ad62a5c155af9199af9e69b889clairehostatic int test_array [1 - 2 * !(($2) <= $ac_mid)]; 176327f654740f2a26ad62a5c155af9199af9e69b889clairehotest_array [0] = 0 176427f654740f2a26ad62a5c155af9199af9e69b889claireho 176527f654740f2a26ad62a5c155af9199af9e69b889claireho ; 176627f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 176727f654740f2a26ad62a5c155af9199af9e69b889claireho} 176827f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 176927f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 177027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_hi=$ac_mid; break 177127f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 177227f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_arith $ac_mid + 1 && ac_lo=$as_val 177327f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_lo -le $ac_mid; then 177427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_lo= ac_hi= 177527f654740f2a26ad62a5c155af9199af9e69b889claireho break 177627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 177727f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 177827f654740f2a26ad62a5c155af9199af9e69b889clairehofi 177985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 178027f654740f2a26ad62a5c155af9199af9e69b889claireho done 1781ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 178227f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 178327f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 178427f654740f2a26ad62a5c155af9199af9e69b889claireho$4 178527f654740f2a26ad62a5c155af9199af9e69b889clairehoint 178627f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 178727f654740f2a26ad62a5c155af9199af9e69b889claireho{ 178827f654740f2a26ad62a5c155af9199af9e69b889clairehostatic int test_array [1 - 2 * !(($2) < 0)]; 178927f654740f2a26ad62a5c155af9199af9e69b889clairehotest_array [0] = 0 179027f654740f2a26ad62a5c155af9199af9e69b889claireho 179127f654740f2a26ad62a5c155af9199af9e69b889claireho ; 179227f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 179327f654740f2a26ad62a5c155af9199af9e69b889claireho} 1794ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 179527f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 179627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_hi=-1 ac_mid=-1 179727f654740f2a26ad62a5c155af9199af9e69b889claireho while :; do 179827f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1799ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 180027f654740f2a26ad62a5c155af9199af9e69b889claireho$4 180127f654740f2a26ad62a5c155af9199af9e69b889clairehoint 180227f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 180327f654740f2a26ad62a5c155af9199af9e69b889claireho{ 180427f654740f2a26ad62a5c155af9199af9e69b889clairehostatic int test_array [1 - 2 * !(($2) >= $ac_mid)]; 180527f654740f2a26ad62a5c155af9199af9e69b889clairehotest_array [0] = 0 180627f654740f2a26ad62a5c155af9199af9e69b889claireho 180727f654740f2a26ad62a5c155af9199af9e69b889claireho ; 180827f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 180927f654740f2a26ad62a5c155af9199af9e69b889claireho} 1810ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 181127f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 181227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_lo=$ac_mid; break 1813ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 181427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 181527f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_mid -le $ac_hi; then 181627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_lo= ac_hi= 181727f654740f2a26ad62a5c155af9199af9e69b889claireho break 181827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 181927f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 182027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 182127f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 182227f654740f2a26ad62a5c155af9199af9e69b889claireho done 182327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 182427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_lo= ac_hi= 182527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 182627f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 182727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 182827f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 182927f654740f2a26ad62a5c155af9199af9e69b889claireho# Binary search between lo and hi bounds. 183027f654740f2a26ad62a5c155af9199af9e69b889clairehowhile test "x$ac_lo" != "x$ac_hi"; do 183127f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 183227f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 183327f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 183427f654740f2a26ad62a5c155af9199af9e69b889claireho$4 183527f654740f2a26ad62a5c155af9199af9e69b889clairehoint 183627f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 183727f654740f2a26ad62a5c155af9199af9e69b889claireho{ 183827f654740f2a26ad62a5c155af9199af9e69b889clairehostatic int test_array [1 - 2 * !(($2) <= $ac_mid)]; 183927f654740f2a26ad62a5c155af9199af9e69b889clairehotest_array [0] = 0 1840ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 184127f654740f2a26ad62a5c155af9199af9e69b889claireho ; 184227f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 184327f654740f2a26ad62a5c155af9199af9e69b889claireho} 184427f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 184527f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 184627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_hi=$ac_mid 184727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 184827f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1849ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 185027f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 185127f654740f2a26ad62a5c155af9199af9e69b889clairehodone 185227f654740f2a26ad62a5c155af9199af9e69b889clairehocase $ac_lo in #(( 185327f654740f2a26ad62a5c155af9199af9e69b889claireho?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 185427f654740f2a26ad62a5c155af9199af9e69b889claireho'') ac_retval=1 ;; 185527f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 185627f654740f2a26ad62a5c155af9199af9e69b889claireho else 185727f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 185827f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 185927f654740f2a26ad62a5c155af9199af9e69b889claireho$4 186027f654740f2a26ad62a5c155af9199af9e69b889clairehostatic long int longval () { return $2; } 186127f654740f2a26ad62a5c155af9199af9e69b889clairehostatic unsigned long int ulongval () { return $2; } 186227f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdio.h> 186327f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdlib.h> 186427f654740f2a26ad62a5c155af9199af9e69b889clairehoint 186527f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 186627f654740f2a26ad62a5c155af9199af9e69b889claireho{ 186727f654740f2a26ad62a5c155af9199af9e69b889claireho 186827f654740f2a26ad62a5c155af9199af9e69b889claireho FILE *f = fopen ("conftest.val", "w"); 186927f654740f2a26ad62a5c155af9199af9e69b889claireho if (! f) 187027f654740f2a26ad62a5c155af9199af9e69b889claireho return 1; 187127f654740f2a26ad62a5c155af9199af9e69b889claireho if (($2) < 0) 187227f654740f2a26ad62a5c155af9199af9e69b889claireho { 187327f654740f2a26ad62a5c155af9199af9e69b889claireho long int i = longval (); 187427f654740f2a26ad62a5c155af9199af9e69b889claireho if (i != ($2)) 187527f654740f2a26ad62a5c155af9199af9e69b889claireho return 1; 187627f654740f2a26ad62a5c155af9199af9e69b889claireho fprintf (f, "%ld", i); 187727f654740f2a26ad62a5c155af9199af9e69b889claireho } 187827f654740f2a26ad62a5c155af9199af9e69b889claireho else 187927f654740f2a26ad62a5c155af9199af9e69b889claireho { 188027f654740f2a26ad62a5c155af9199af9e69b889claireho unsigned long int i = ulongval (); 188127f654740f2a26ad62a5c155af9199af9e69b889claireho if (i != ($2)) 188227f654740f2a26ad62a5c155af9199af9e69b889claireho return 1; 188327f654740f2a26ad62a5c155af9199af9e69b889claireho fprintf (f, "%lu", i); 188427f654740f2a26ad62a5c155af9199af9e69b889claireho } 188527f654740f2a26ad62a5c155af9199af9e69b889claireho /* Do not output a trailing newline, as this causes \r\n confusion 188627f654740f2a26ad62a5c155af9199af9e69b889claireho on some platforms. */ 188727f654740f2a26ad62a5c155af9199af9e69b889claireho return ferror (f) || fclose (f) != 0; 188827f654740f2a26ad62a5c155af9199af9e69b889claireho 188927f654740f2a26ad62a5c155af9199af9e69b889claireho ; 189027f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 189127f654740f2a26ad62a5c155af9199af9e69b889claireho} 189227f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 189327f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_run "$LINENO"; then : 189427f654740f2a26ad62a5c155af9199af9e69b889claireho echo >>conftest.val; read $3 <conftest.val; ac_retval=0 189527f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 189627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=1 1897ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 189827f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 189927f654740f2a26ad62a5c155af9199af9e69b889claireho conftest.$ac_objext conftest.beam conftest.$ac_ext 190027f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.val 190185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 190227f654740f2a26ad62a5c155af9199af9e69b889claireho fi 190327f654740f2a26ad62a5c155af9199af9e69b889claireho eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 190427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_set_status $ac_retval 190585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 190627f654740f2a26ad62a5c155af9199af9e69b889claireho} # ac_fn_c_compute_int 190785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 190827f654740f2a26ad62a5c155af9199af9e69b889claireho# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 190927f654740f2a26ad62a5c155af9199af9e69b889claireho# ------------------------------------------------------- 191027f654740f2a26ad62a5c155af9199af9e69b889claireho# Tests whether HEADER exists and can be compiled using the include files in 191127f654740f2a26ad62a5c155af9199af9e69b889claireho# INCLUDES, setting the cache variable VAR accordingly. 191227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_header_compile () 191327f654740f2a26ad62a5c155af9199af9e69b889claireho{ 191427f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 191527f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 191627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $2... " >&6; } 191727f654740f2a26ad62a5c155af9199af9e69b889clairehoif eval "test \"\${$3+set}\"" = set; then : 191827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 191927f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 192027f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 192127f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 192227f654740f2a26ad62a5c155af9199af9e69b889claireho$4 192327f654740f2a26ad62a5c155af9199af9e69b889claireho#include <$2> 192485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 192527f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 192627f654740f2a26ad62a5c155af9199af9e69b889claireho eval "$3=yes" 192727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 192827f654740f2a26ad62a5c155af9199af9e69b889claireho eval "$3=no" 192927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 193027f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 193127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 193227f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_res=\$$3 193327f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 193427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_res" >&6; } 193527f654740f2a26ad62a5c155af9199af9e69b889claireho eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 193627f654740f2a26ad62a5c155af9199af9e69b889claireho 193727f654740f2a26ad62a5c155af9199af9e69b889claireho} # ac_fn_c_check_header_compile 193827f654740f2a26ad62a5c155af9199af9e69b889claireho 193927f654740f2a26ad62a5c155af9199af9e69b889claireho# ac_fn_c_try_link LINENO 194027f654740f2a26ad62a5c155af9199af9e69b889claireho# ----------------------- 194127f654740f2a26ad62a5c155af9199af9e69b889claireho# Try to link conftest.$ac_ext, and return whether this succeeded. 194227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_try_link () 194327f654740f2a26ad62a5c155af9199af9e69b889claireho{ 194427f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 194527f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f conftest.$ac_objext conftest$ac_exeext 194627f654740f2a26ad62a5c155af9199af9e69b889claireho if { { ac_try="$ac_link" 194785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase "(($ac_try" in 194885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 194985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_try_echo=$ac_try;; 195085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 195127f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 195227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 195327f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_link") 2>conftest.err 195485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_status=$? 195527f654740f2a26ad62a5c155af9199af9e69b889claireho if test -s conftest.err; then 195627f654740f2a26ad62a5c155af9199af9e69b889claireho grep -v '^ *+' conftest.err >conftest.er1 195727f654740f2a26ad62a5c155af9199af9e69b889claireho cat conftest.er1 >&5 195827f654740f2a26ad62a5c155af9199af9e69b889claireho mv -f conftest.er1 conftest.err 195927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 196027f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 196127f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; } && { 196285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test -z "$ac_c_werror_flag" || 196385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test ! -s conftest.err 196427f654740f2a26ad62a5c155af9199af9e69b889claireho } && test -s conftest$ac_exeext && { 196527f654740f2a26ad62a5c155af9199af9e69b889claireho test "$cross_compiling" = yes || 196627f654740f2a26ad62a5c155af9199af9e69b889claireho $as_test_x conftest$ac_exeext 196727f654740f2a26ad62a5c155af9199af9e69b889claireho }; then : 196827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=0 196985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 197085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$as_me: failed program was:" >&5 197185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hosed 's/^/| /' conftest.$ac_ext >&5 197285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 197327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_retval=1 197485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 197527f654740f2a26ad62a5c155af9199af9e69b889claireho # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 197627f654740f2a26ad62a5c155af9199af9e69b889claireho # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 197727f654740f2a26ad62a5c155af9199af9e69b889claireho # interfere with the next link command; also delete a directory that is 197827f654740f2a26ad62a5c155af9199af9e69b889claireho # left behind by Apple's compiler. We do this before executing the actions. 197927f654740f2a26ad62a5c155af9199af9e69b889claireho rm -rf conftest.dSYM conftest_ipa8_conftest.oo 198027f654740f2a26ad62a5c155af9199af9e69b889claireho eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 198127f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_set_status $ac_retval 198285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 198327f654740f2a26ad62a5c155af9199af9e69b889claireho} # ac_fn_c_try_link 198427f654740f2a26ad62a5c155af9199af9e69b889claireho 198527f654740f2a26ad62a5c155af9199af9e69b889claireho# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 198627f654740f2a26ad62a5c155af9199af9e69b889claireho# ------------------------------------------------------- 198727f654740f2a26ad62a5c155af9199af9e69b889claireho# Tests whether HEADER exists, giving a warning if it cannot be compiled using 198827f654740f2a26ad62a5c155af9199af9e69b889claireho# the include files in INCLUDES and setting the cache variable VAR 198927f654740f2a26ad62a5c155af9199af9e69b889claireho# accordingly. 199027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_header_mongrel () 199127f654740f2a26ad62a5c155af9199af9e69b889claireho{ 199227f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 199327f654740f2a26ad62a5c155af9199af9e69b889claireho if eval "test \"\${$3+set}\"" = set; then : 199427f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 199527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $2... " >&6; } 199627f654740f2a26ad62a5c155af9199af9e69b889clairehoif eval "test \"\${$3+set}\"" = set; then : 199727f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 199827f654740f2a26ad62a5c155af9199af9e69b889clairehofi 199927f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_res=\$$3 200027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 200127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_res" >&6; } 2002ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 200327f654740f2a26ad62a5c155af9199af9e69b889claireho # Is the header compilable? 200427f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 200527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking $2 usability... " >&6; } 200627f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 200727f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 200827f654740f2a26ad62a5c155af9199af9e69b889claireho$4 200927f654740f2a26ad62a5c155af9199af9e69b889claireho#include <$2> 2010ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 201127f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 201227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_header_compiler=yes 201327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 201427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_header_compiler=no 201527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 201627f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 201727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 201827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_header_compiler" >&6; } 201927f654740f2a26ad62a5c155af9199af9e69b889claireho 202027f654740f2a26ad62a5c155af9199af9e69b889claireho# Is the header present? 202127f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 202227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking $2 presence... " >&6; } 202327f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 2024ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 202527f654740f2a26ad62a5c155af9199af9e69b889claireho#include <$2> 2026ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 202727f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_cpp "$LINENO"; then : 202827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_header_preproc=yes 202927f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 203027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_header_preproc=no 203127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 203227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.err conftest.i conftest.$ac_ext 203327f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 203427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_header_preproc" >&6; } 203527f654740f2a26ad62a5c155af9199af9e69b889claireho 203627f654740f2a26ad62a5c155af9199af9e69b889claireho# So? What about this header? 203727f654740f2a26ad62a5c155af9199af9e69b889clairehocase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 203827f654740f2a26ad62a5c155af9199af9e69b889claireho yes:no: ) 203927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 204027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 204127f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 204227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 204327f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 204427f654740f2a26ad62a5c155af9199af9e69b889claireho no:yes:* ) 204527f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 204627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 204727f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 204827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 204927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 205027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 205127f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 205227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 205327f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 205427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 205527f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 205685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 205727f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 205827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $2... " >&6; } 205927f654740f2a26ad62a5c155af9199af9e69b889clairehoif eval "test \"\${$3+set}\"" = set; then : 206027f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 2061ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 206227f654740f2a26ad62a5c155af9199af9e69b889claireho eval "$3=\$ac_header_compiler" 206327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 206427f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_res=\$$3 206527f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 206627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_res" >&6; } 206727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 206827f654740f2a26ad62a5c155af9199af9e69b889claireho eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 206927f654740f2a26ad62a5c155af9199af9e69b889claireho 207027f654740f2a26ad62a5c155af9199af9e69b889claireho} # ac_fn_c_check_header_mongrel 207127f654740f2a26ad62a5c155af9199af9e69b889claireho 207227f654740f2a26ad62a5c155af9199af9e69b889claireho# ac_fn_c_check_func LINENO FUNC VAR 207327f654740f2a26ad62a5c155af9199af9e69b889claireho# ---------------------------------- 207427f654740f2a26ad62a5c155af9199af9e69b889claireho# Tests whether FUNC exists, setting the cache variable VAR accordingly 207527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_func () 207627f654740f2a26ad62a5c155af9199af9e69b889claireho{ 207727f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 207827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 207927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $2... " >&6; } 208027f654740f2a26ad62a5c155af9199af9e69b889clairehoif eval "test \"\${$3+set}\"" = set; then : 208127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 208227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 208327f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 208427f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 208527f654740f2a26ad62a5c155af9199af9e69b889claireho/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 208627f654740f2a26ad62a5c155af9199af9e69b889claireho For example, HP-UX 11i <limits.h> declares gettimeofday. */ 208727f654740f2a26ad62a5c155af9199af9e69b889claireho#define $2 innocuous_$2 208827f654740f2a26ad62a5c155af9199af9e69b889claireho 208927f654740f2a26ad62a5c155af9199af9e69b889claireho/* System header to define __stub macros and hopefully few prototypes, 209027f654740f2a26ad62a5c155af9199af9e69b889claireho which can conflict with char $2 (); below. 209127f654740f2a26ad62a5c155af9199af9e69b889claireho Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 209227f654740f2a26ad62a5c155af9199af9e69b889claireho <limits.h> exists even on freestanding compilers. */ 209327f654740f2a26ad62a5c155af9199af9e69b889claireho 209427f654740f2a26ad62a5c155af9199af9e69b889claireho#ifdef __STDC__ 209527f654740f2a26ad62a5c155af9199af9e69b889claireho# include <limits.h> 209627f654740f2a26ad62a5c155af9199af9e69b889claireho#else 209727f654740f2a26ad62a5c155af9199af9e69b889claireho# include <assert.h> 209827f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 209927f654740f2a26ad62a5c155af9199af9e69b889claireho 210027f654740f2a26ad62a5c155af9199af9e69b889claireho#undef $2 210127f654740f2a26ad62a5c155af9199af9e69b889claireho 210227f654740f2a26ad62a5c155af9199af9e69b889claireho/* Override any GCC internal prototype to avoid an error. 210327f654740f2a26ad62a5c155af9199af9e69b889claireho Use char because int might match the return type of a GCC 210427f654740f2a26ad62a5c155af9199af9e69b889claireho builtin and then its argument prototype would still apply. */ 210527f654740f2a26ad62a5c155af9199af9e69b889claireho#ifdef __cplusplus 210627f654740f2a26ad62a5c155af9199af9e69b889clairehoextern "C" 210727f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 210827f654740f2a26ad62a5c155af9199af9e69b889clairehochar $2 (); 210927f654740f2a26ad62a5c155af9199af9e69b889claireho/* The GNU C library defines this for functions which it implements 211027f654740f2a26ad62a5c155af9199af9e69b889claireho to always fail with ENOSYS. Some functions are actually named 211127f654740f2a26ad62a5c155af9199af9e69b889claireho something starting with __ and the normal name is an alias. */ 211227f654740f2a26ad62a5c155af9199af9e69b889claireho#if defined __stub_$2 || defined __stub___$2 211327f654740f2a26ad62a5c155af9199af9e69b889clairehochoke me 211427f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 211527f654740f2a26ad62a5c155af9199af9e69b889claireho 211627f654740f2a26ad62a5c155af9199af9e69b889clairehoint 211727f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 211827f654740f2a26ad62a5c155af9199af9e69b889claireho{ 211927f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn $2 (); 212027f654740f2a26ad62a5c155af9199af9e69b889claireho ; 212127f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 212227f654740f2a26ad62a5c155af9199af9e69b889claireho} 212327f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 212427f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 212527f654740f2a26ad62a5c155af9199af9e69b889claireho eval "$3=yes" 212627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 212727f654740f2a26ad62a5c155af9199af9e69b889claireho eval "$3=no" 212827f654740f2a26ad62a5c155af9199af9e69b889clairehofi 212927f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 213027f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 213127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 213227f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_res=\$$3 213327f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 213427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_res" >&6; } 213527f654740f2a26ad62a5c155af9199af9e69b889claireho eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 213627f654740f2a26ad62a5c155af9199af9e69b889claireho 213727f654740f2a26ad62a5c155af9199af9e69b889claireho} # ac_fn_c_check_func 213827f654740f2a26ad62a5c155af9199af9e69b889claireho 213927f654740f2a26ad62a5c155af9199af9e69b889claireho# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 214027f654740f2a26ad62a5c155af9199af9e69b889claireho# ------------------------------------------- 214127f654740f2a26ad62a5c155af9199af9e69b889claireho# Tests whether TYPE exists after having included INCLUDES, setting cache 214227f654740f2a26ad62a5c155af9199af9e69b889claireho# variable VAR accordingly. 214327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_type () 214427f654740f2a26ad62a5c155af9199af9e69b889claireho{ 214527f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 214627f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 214727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $2... " >&6; } 214827f654740f2a26ad62a5c155af9199af9e69b889clairehoif eval "test \"\${$3+set}\"" = set; then : 214927f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 215027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 215127f654740f2a26ad62a5c155af9199af9e69b889claireho eval "$3=no" 215227f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 215327f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 215427f654740f2a26ad62a5c155af9199af9e69b889claireho$4 215527f654740f2a26ad62a5c155af9199af9e69b889clairehoint 215627f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 215727f654740f2a26ad62a5c155af9199af9e69b889claireho{ 215827f654740f2a26ad62a5c155af9199af9e69b889clairehoif (sizeof ($2)) 215927f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 216027f654740f2a26ad62a5c155af9199af9e69b889claireho ; 216127f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 216227f654740f2a26ad62a5c155af9199af9e69b889claireho} 216327f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 216427f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 216527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 216627f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 216727f654740f2a26ad62a5c155af9199af9e69b889claireho$4 216827f654740f2a26ad62a5c155af9199af9e69b889clairehoint 216927f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 217027f654740f2a26ad62a5c155af9199af9e69b889claireho{ 217127f654740f2a26ad62a5c155af9199af9e69b889clairehoif (sizeof (($2))) 217227f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 217327f654740f2a26ad62a5c155af9199af9e69b889claireho ; 217427f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 217527f654740f2a26ad62a5c155af9199af9e69b889claireho} 217627f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 217727f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 217827f654740f2a26ad62a5c155af9199af9e69b889claireho 217927f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 218027f654740f2a26ad62a5c155af9199af9e69b889claireho eval "$3=yes" 218127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 218227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 218327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 218427f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 218527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 218627f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_res=\$$3 218727f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 218827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_res" >&6; } 218927f654740f2a26ad62a5c155af9199af9e69b889claireho eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 219027f654740f2a26ad62a5c155af9199af9e69b889claireho 219127f654740f2a26ad62a5c155af9199af9e69b889claireho} # ac_fn_c_check_type 219227f654740f2a26ad62a5c155af9199af9e69b889clairehocat >config.log <<_ACEOF 219327f654740f2a26ad62a5c155af9199af9e69b889clairehoThis file contains any messages produced by compilers while 219427f654740f2a26ad62a5c155af9199af9e69b889clairehorunning configure, to aid debugging if configure makes a mistake. 219527f654740f2a26ad62a5c155af9199af9e69b889claireho 219627f654740f2a26ad62a5c155af9199af9e69b889clairehoIt was created by $as_me, which was 219727f654740f2a26ad62a5c155af9199af9e69b889clairehogenerated by GNU Autoconf 2.67. Invocation command line was 219827f654740f2a26ad62a5c155af9199af9e69b889claireho 219927f654740f2a26ad62a5c155af9199af9e69b889claireho $ $0 $@ 220027f654740f2a26ad62a5c155af9199af9e69b889claireho 220127f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 220227f654740f2a26ad62a5c155af9199af9e69b889clairehoexec 5>>config.log 220327f654740f2a26ad62a5c155af9199af9e69b889claireho{ 220427f654740f2a26ad62a5c155af9199af9e69b889clairehocat <<_ASUNAME 220527f654740f2a26ad62a5c155af9199af9e69b889claireho## --------- ## 220627f654740f2a26ad62a5c155af9199af9e69b889claireho## Platform. ## 220727f654740f2a26ad62a5c155af9199af9e69b889claireho## --------- ## 220827f654740f2a26ad62a5c155af9199af9e69b889claireho 220927f654740f2a26ad62a5c155af9199af9e69b889clairehohostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 221027f654740f2a26ad62a5c155af9199af9e69b889clairehouname -m = `(uname -m) 2>/dev/null || echo unknown` 221127f654740f2a26ad62a5c155af9199af9e69b889clairehouname -r = `(uname -r) 2>/dev/null || echo unknown` 221227f654740f2a26ad62a5c155af9199af9e69b889clairehouname -s = `(uname -s) 2>/dev/null || echo unknown` 221327f654740f2a26ad62a5c155af9199af9e69b889clairehouname -v = `(uname -v) 2>/dev/null || echo unknown` 221427f654740f2a26ad62a5c155af9199af9e69b889claireho 221527f654740f2a26ad62a5c155af9199af9e69b889claireho/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 221627f654740f2a26ad62a5c155af9199af9e69b889claireho/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 221727f654740f2a26ad62a5c155af9199af9e69b889claireho 221827f654740f2a26ad62a5c155af9199af9e69b889claireho/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 221927f654740f2a26ad62a5c155af9199af9e69b889claireho/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 222027f654740f2a26ad62a5c155af9199af9e69b889claireho/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 222127f654740f2a26ad62a5c155af9199af9e69b889claireho/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 222227f654740f2a26ad62a5c155af9199af9e69b889claireho/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 222327f654740f2a26ad62a5c155af9199af9e69b889claireho/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 222427f654740f2a26ad62a5c155af9199af9e69b889claireho/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 222527f654740f2a26ad62a5c155af9199af9e69b889claireho 222627f654740f2a26ad62a5c155af9199af9e69b889claireho_ASUNAME 222727f654740f2a26ad62a5c155af9199af9e69b889claireho 222827f654740f2a26ad62a5c155af9199af9e69b889clairehoas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222927f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH 223027f654740f2a26ad62a5c155af9199af9e69b889clairehodo 223127f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 223227f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 223327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "PATH: $as_dir" 223427f654740f2a26ad62a5c155af9199af9e69b889claireho done 223527f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 223627f654740f2a26ad62a5c155af9199af9e69b889claireho 223727f654740f2a26ad62a5c155af9199af9e69b889claireho} >&5 223827f654740f2a26ad62a5c155af9199af9e69b889claireho 223927f654740f2a26ad62a5c155af9199af9e69b889clairehocat >&5 <<_ACEOF 224027f654740f2a26ad62a5c155af9199af9e69b889claireho 224127f654740f2a26ad62a5c155af9199af9e69b889claireho 224227f654740f2a26ad62a5c155af9199af9e69b889claireho## ----------- ## 224327f654740f2a26ad62a5c155af9199af9e69b889claireho## Core tests. ## 224427f654740f2a26ad62a5c155af9199af9e69b889claireho## ----------- ## 224527f654740f2a26ad62a5c155af9199af9e69b889claireho 224627f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 224727f654740f2a26ad62a5c155af9199af9e69b889claireho 224827f654740f2a26ad62a5c155af9199af9e69b889claireho 224927f654740f2a26ad62a5c155af9199af9e69b889claireho# Keep a trace of the command line. 225027f654740f2a26ad62a5c155af9199af9e69b889claireho# Strip out --no-create and --no-recursion so they do not pile up. 225127f654740f2a26ad62a5c155af9199af9e69b889claireho# Strip out --silent because we don't want to record it for future runs. 225227f654740f2a26ad62a5c155af9199af9e69b889claireho# Also quote any args containing shell meta-characters. 225327f654740f2a26ad62a5c155af9199af9e69b889claireho# Make two passes to allow for proper duplicate-argument suppression. 225427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_configure_args= 225527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_configure_args0= 225627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_configure_args1= 225727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_must_keep_next=false 225827f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_pass in 1 2 225927f654740f2a26ad62a5c155af9199af9e69b889clairehodo 226027f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_arg 226127f654740f2a26ad62a5c155af9199af9e69b889claireho do 226227f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_arg in 226327f654740f2a26ad62a5c155af9199af9e69b889claireho -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 226427f654740f2a26ad62a5c155af9199af9e69b889claireho -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 226527f654740f2a26ad62a5c155af9199af9e69b889claireho | -silent | --silent | --silen | --sile | --sil) 226627f654740f2a26ad62a5c155af9199af9e69b889claireho continue ;; 226727f654740f2a26ad62a5c155af9199af9e69b889claireho *\'*) 226827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 226927f654740f2a26ad62a5c155af9199af9e69b889claireho esac 227027f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_pass in 227127f654740f2a26ad62a5c155af9199af9e69b889claireho 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 227227f654740f2a26ad62a5c155af9199af9e69b889claireho 2) 227327f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_append ac_configure_args1 " '$ac_arg'" 227427f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_must_keep_next = true; then 227527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_must_keep_next=false # Got value, back to normal. 227627f654740f2a26ad62a5c155af9199af9e69b889claireho else 227727f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_arg in 227827f654740f2a26ad62a5c155af9199af9e69b889claireho *=* | --config-cache | -C | -disable-* | --disable-* \ 227927f654740f2a26ad62a5c155af9199af9e69b889claireho | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 228027f654740f2a26ad62a5c155af9199af9e69b889claireho | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 228127f654740f2a26ad62a5c155af9199af9e69b889claireho | -with-* | --with-* | -without-* | --without-* | --x) 228227f654740f2a26ad62a5c155af9199af9e69b889claireho case "$ac_configure_args0 " in 228327f654740f2a26ad62a5c155af9199af9e69b889claireho "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 228427f654740f2a26ad62a5c155af9199af9e69b889claireho esac 228527f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 228627f654740f2a26ad62a5c155af9199af9e69b889claireho -* ) ac_must_keep_next=true ;; 228727f654740f2a26ad62a5c155af9199af9e69b889claireho esac 228827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 228927f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_append ac_configure_args " '$ac_arg'" 229027f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 229127f654740f2a26ad62a5c155af9199af9e69b889claireho esac 229227f654740f2a26ad62a5c155af9199af9e69b889claireho done 229327f654740f2a26ad62a5c155af9199af9e69b889clairehodone 229427f654740f2a26ad62a5c155af9199af9e69b889claireho{ ac_configure_args0=; unset ac_configure_args0;} 229527f654740f2a26ad62a5c155af9199af9e69b889claireho{ ac_configure_args1=; unset ac_configure_args1;} 229627f654740f2a26ad62a5c155af9199af9e69b889claireho 229727f654740f2a26ad62a5c155af9199af9e69b889claireho# When interrupted or exit'd, cleanup temporary files, and complete 229827f654740f2a26ad62a5c155af9199af9e69b889claireho# config.log. We remove comments because anyway the quotes in there 229927f654740f2a26ad62a5c155af9199af9e69b889claireho# would cause problems or look ugly. 230027f654740f2a26ad62a5c155af9199af9e69b889claireho# WARNING: Use '\'' to represent an apostrophe within the trap. 230127f654740f2a26ad62a5c155af9199af9e69b889claireho# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 230227f654740f2a26ad62a5c155af9199af9e69b889clairehotrap 'exit_status=$? 230327f654740f2a26ad62a5c155af9199af9e69b889claireho # Save into config.log some information that might help in debugging. 230427f654740f2a26ad62a5c155af9199af9e69b889claireho { 230527f654740f2a26ad62a5c155af9199af9e69b889claireho echo 230627f654740f2a26ad62a5c155af9199af9e69b889claireho 230727f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "## ---------------- ## 230827f654740f2a26ad62a5c155af9199af9e69b889claireho## Cache variables. ## 230927f654740f2a26ad62a5c155af9199af9e69b889claireho## ---------------- ##" 231027f654740f2a26ad62a5c155af9199af9e69b889claireho echo 231127f654740f2a26ad62a5c155af9199af9e69b889claireho # The following way of writing the cache mishandles newlines in values, 231227f654740f2a26ad62a5c155af9199af9e69b889claireho( 231327f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 231427f654740f2a26ad62a5c155af9199af9e69b889claireho eval ac_val=\$$ac_var 231527f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_val in #( 231627f654740f2a26ad62a5c155af9199af9e69b889claireho *${as_nl}*) 231727f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_var in #( 231827f654740f2a26ad62a5c155af9199af9e69b889claireho *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 231927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 232027f654740f2a26ad62a5c155af9199af9e69b889claireho esac 232127f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_var in #( 232227f654740f2a26ad62a5c155af9199af9e69b889claireho _ | IFS | as_nl) ;; #( 232327f654740f2a26ad62a5c155af9199af9e69b889claireho BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 232427f654740f2a26ad62a5c155af9199af9e69b889claireho *) { eval $ac_var=; unset $ac_var;} ;; 232527f654740f2a26ad62a5c155af9199af9e69b889claireho esac ;; 232627f654740f2a26ad62a5c155af9199af9e69b889claireho esac 232727f654740f2a26ad62a5c155af9199af9e69b889claireho done 232827f654740f2a26ad62a5c155af9199af9e69b889claireho (set) 2>&1 | 232927f654740f2a26ad62a5c155af9199af9e69b889claireho case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 233027f654740f2a26ad62a5c155af9199af9e69b889claireho *${as_nl}ac_space=\ *) 233127f654740f2a26ad62a5c155af9199af9e69b889claireho sed -n \ 233227f654740f2a26ad62a5c155af9199af9e69b889claireho "s/'\''/'\''\\\\'\'''\''/g; 233327f654740f2a26ad62a5c155af9199af9e69b889claireho s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 233427f654740f2a26ad62a5c155af9199af9e69b889claireho ;; #( 233527f654740f2a26ad62a5c155af9199af9e69b889claireho *) 233627f654740f2a26ad62a5c155af9199af9e69b889claireho sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 233727f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 233827f654740f2a26ad62a5c155af9199af9e69b889claireho esac | 233927f654740f2a26ad62a5c155af9199af9e69b889claireho sort 234027f654740f2a26ad62a5c155af9199af9e69b889claireho) 234127f654740f2a26ad62a5c155af9199af9e69b889claireho echo 2342ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 234327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "## ----------------- ## 234427f654740f2a26ad62a5c155af9199af9e69b889claireho## Output variables. ## 234527f654740f2a26ad62a5c155af9199af9e69b889claireho## ----------------- ##" 234627f654740f2a26ad62a5c155af9199af9e69b889claireho echo 234727f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_var in $ac_subst_vars 234827f654740f2a26ad62a5c155af9199af9e69b889claireho do 234927f654740f2a26ad62a5c155af9199af9e69b889claireho eval ac_val=\$$ac_var 235027f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_val in 235127f654740f2a26ad62a5c155af9199af9e69b889claireho *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 235227f654740f2a26ad62a5c155af9199af9e69b889claireho esac 235327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$ac_var='\''$ac_val'\''" 235427f654740f2a26ad62a5c155af9199af9e69b889claireho done | sort 235527f654740f2a26ad62a5c155af9199af9e69b889claireho echo 235685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 235727f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$ac_subst_files"; then 235827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "## ------------------- ## 235927f654740f2a26ad62a5c155af9199af9e69b889claireho## File substitutions. ## 236027f654740f2a26ad62a5c155af9199af9e69b889claireho## ------------------- ##" 236127f654740f2a26ad62a5c155af9199af9e69b889claireho echo 236227f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_var in $ac_subst_files 236327f654740f2a26ad62a5c155af9199af9e69b889claireho do 236427f654740f2a26ad62a5c155af9199af9e69b889claireho eval ac_val=\$$ac_var 236527f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_val in 236627f654740f2a26ad62a5c155af9199af9e69b889claireho *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 236727f654740f2a26ad62a5c155af9199af9e69b889claireho esac 236827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$ac_var='\''$ac_val'\''" 236927f654740f2a26ad62a5c155af9199af9e69b889claireho done | sort 237027f654740f2a26ad62a5c155af9199af9e69b889claireho echo 237127f654740f2a26ad62a5c155af9199af9e69b889claireho fi 237285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 237327f654740f2a26ad62a5c155af9199af9e69b889claireho if test -s confdefs.h; then 237427f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "## ----------- ## 237527f654740f2a26ad62a5c155af9199af9e69b889claireho## confdefs.h. ## 237627f654740f2a26ad62a5c155af9199af9e69b889claireho## ----------- ##" 237727f654740f2a26ad62a5c155af9199af9e69b889claireho echo 237827f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h 237927f654740f2a26ad62a5c155af9199af9e69b889claireho echo 238027f654740f2a26ad62a5c155af9199af9e69b889claireho fi 238127f654740f2a26ad62a5c155af9199af9e69b889claireho test "$ac_signal" != 0 && 238227f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me: caught signal $ac_signal" 238327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me: exit $exit_status" 238427f654740f2a26ad62a5c155af9199af9e69b889claireho } >&5 238527f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f core *.core core.conftest.* && 238627f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 238727f654740f2a26ad62a5c155af9199af9e69b889claireho exit $exit_status 238827f654740f2a26ad62a5c155af9199af9e69b889claireho' 0 238927f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_signal in 1 2 13 15; do 239027f654740f2a26ad62a5c155af9199af9e69b889claireho trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 239127f654740f2a26ad62a5c155af9199af9e69b889clairehodone 239227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_signal=0 239385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 239427f654740f2a26ad62a5c155af9199af9e69b889claireho# confdefs.h avoids OS command line length limits that DEFS can exceed. 239527f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f -r conftest* confdefs.h 239685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 239727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "/* confdefs.h */" > confdefs.h 239885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 239927f654740f2a26ad62a5c155af9199af9e69b889claireho# Predefined preprocessor variables. 2400ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 240127f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 240227f654740f2a26ad62a5c155af9199af9e69b889claireho#define PACKAGE_NAME "$PACKAGE_NAME" 240327f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 2404ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 240527f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 240627f654740f2a26ad62a5c155af9199af9e69b889claireho#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 240727f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 2408ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 240927f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 241027f654740f2a26ad62a5c155af9199af9e69b889claireho#define PACKAGE_VERSION "$PACKAGE_VERSION" 241127f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 2412ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 241327f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 241427f654740f2a26ad62a5c155af9199af9e69b889claireho#define PACKAGE_STRING "$PACKAGE_STRING" 241527f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 2416ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 241727f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 241827f654740f2a26ad62a5c155af9199af9e69b889claireho#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 241927f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 2420ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 242127f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 242227f654740f2a26ad62a5c155af9199af9e69b889claireho#define PACKAGE_URL "$PACKAGE_URL" 2423ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 2424ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 2425ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 242627f654740f2a26ad62a5c155af9199af9e69b889claireho# Let the site file select an alternate cache file if it wants to. 242727f654740f2a26ad62a5c155af9199af9e69b889claireho# Prefer an explicitly selected file to automatically selected ones. 242827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_site_file1=NONE 242927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_site_file2=NONE 243027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$CONFIG_SITE"; then 243127f654740f2a26ad62a5c155af9199af9e69b889claireho # We do not want a PATH search for config.site. 243227f654740f2a26ad62a5c155af9199af9e69b889claireho case $CONFIG_SITE in #(( 243327f654740f2a26ad62a5c155af9199af9e69b889claireho -*) ac_site_file1=./$CONFIG_SITE;; 243427f654740f2a26ad62a5c155af9199af9e69b889claireho */*) ac_site_file1=$CONFIG_SITE;; 243527f654740f2a26ad62a5c155af9199af9e69b889claireho *) ac_site_file1=./$CONFIG_SITE;; 243627f654740f2a26ad62a5c155af9199af9e69b889claireho esac 243727f654740f2a26ad62a5c155af9199af9e69b889clairehoelif test "x$prefix" != xNONE; then 243827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_site_file1=$prefix/share/config.site 243927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_site_file2=$prefix/etc/config.site 2440ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 244127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_site_file1=$ac_default_prefix/share/config.site 244227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_site_file2=$ac_default_prefix/etc/config.site 244327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 244427f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_site_file in "$ac_site_file1" "$ac_site_file2" 244527f654740f2a26ad62a5c155af9199af9e69b889clairehodo 244627f654740f2a26ad62a5c155af9199af9e69b889claireho test "x$ac_site_file" = xNONE && continue 244727f654740f2a26ad62a5c155af9199af9e69b889claireho if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 244827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 244927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: loading site script $ac_site_file" >&6;} 245027f654740f2a26ad62a5c155af9199af9e69b889claireho sed 's/^/| /' "$ac_site_file" >&5 245127f654740f2a26ad62a5c155af9199af9e69b889claireho . "$ac_site_file" \ 245227f654740f2a26ad62a5c155af9199af9e69b889claireho || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 245327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 245427f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_error $? "failed to load site script $ac_site_file 245527f654740f2a26ad62a5c155af9199af9e69b889clairehoSee \`config.log' for more details" "$LINENO" 5; } 245627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 245727f654740f2a26ad62a5c155af9199af9e69b889clairehodone 2458ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 245927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -r "$cache_file"; then 246027f654740f2a26ad62a5c155af9199af9e69b889claireho # Some versions of bash will fail to source /dev/null (special files 246127f654740f2a26ad62a5c155af9199af9e69b889claireho # actually), so we avoid doing that. DJGPP emulates it as a regular file. 246227f654740f2a26ad62a5c155af9199af9e69b889claireho if test /dev/null != "$cache_file" && test -f "$cache_file"; then 246327f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 246427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: loading cache $cache_file" >&6;} 246527f654740f2a26ad62a5c155af9199af9e69b889claireho case $cache_file in 246627f654740f2a26ad62a5c155af9199af9e69b889claireho [\\/]* | ?:[\\/]* ) . "$cache_file";; 246727f654740f2a26ad62a5c155af9199af9e69b889claireho *) . "./$cache_file";; 246827f654740f2a26ad62a5c155af9199af9e69b889claireho esac 246927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 247027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 247127f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 247227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: creating cache $cache_file" >&6;} 247327f654740f2a26ad62a5c155af9199af9e69b889claireho >$cache_file 2474ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 247585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 247627f654740f2a26ad62a5c155af9199af9e69b889claireho# Check that the precious variables saved in the cache have kept the same 247727f654740f2a26ad62a5c155af9199af9e69b889claireho# value. 247827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cache_corrupted=false 247927f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_var in $ac_precious_vars; do 248027f654740f2a26ad62a5c155af9199af9e69b889claireho eval ac_old_set=\$ac_cv_env_${ac_var}_set 248127f654740f2a26ad62a5c155af9199af9e69b889claireho eval ac_new_set=\$ac_env_${ac_var}_set 248227f654740f2a26ad62a5c155af9199af9e69b889claireho eval ac_old_val=\$ac_cv_env_${ac_var}_value 248327f654740f2a26ad62a5c155af9199af9e69b889claireho eval ac_new_val=\$ac_env_${ac_var}_value 248427f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_old_set,$ac_new_set in 248527f654740f2a26ad62a5c155af9199af9e69b889claireho set,) 248627f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 248727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 248827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cache_corrupted=: ;; 248927f654740f2a26ad62a5c155af9199af9e69b889claireho ,set) 249027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 249127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 249227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cache_corrupted=: ;; 249327f654740f2a26ad62a5c155af9199af9e69b889claireho ,);; 249427f654740f2a26ad62a5c155af9199af9e69b889claireho *) 249527f654740f2a26ad62a5c155af9199af9e69b889claireho if test "x$ac_old_val" != "x$ac_new_val"; then 249627f654740f2a26ad62a5c155af9199af9e69b889claireho # differences in whitespace do not lead to failure. 249727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_old_val_w=`echo x $ac_old_val` 249827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_new_val_w=`echo x $ac_new_val` 249927f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ac_old_val_w" != "$ac_new_val_w"; then 250027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 250127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 250227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cache_corrupted=: 2503ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru else 250427f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 250527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 250627f654740f2a26ad62a5c155af9199af9e69b889claireho eval $ac_var=\$ac_old_val 250727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 250827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 250927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 251027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 251127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 251227f654740f2a26ad62a5c155af9199af9e69b889claireho fi;; 251327f654740f2a26ad62a5c155af9199af9e69b889claireho esac 251427f654740f2a26ad62a5c155af9199af9e69b889claireho # Pass precious variables to config.status. 251527f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ac_new_set" = set; then 251627f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_new_val in 251727f654740f2a26ad62a5c155af9199af9e69b889claireho *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 251827f654740f2a26ad62a5c155af9199af9e69b889claireho *) ac_arg=$ac_var=$ac_new_val ;; 251927f654740f2a26ad62a5c155af9199af9e69b889claireho esac 252027f654740f2a26ad62a5c155af9199af9e69b889claireho case " $ac_configure_args " in 252127f654740f2a26ad62a5c155af9199af9e69b889claireho *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 252227f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_append ac_configure_args " '$ac_arg'" ;; 252327f654740f2a26ad62a5c155af9199af9e69b889claireho esac 252427f654740f2a26ad62a5c155af9199af9e69b889claireho fi 252527f654740f2a26ad62a5c155af9199af9e69b889clairehodone 252627f654740f2a26ad62a5c155af9199af9e69b889clairehoif $ac_cache_corrupted; then 252727f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 252827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 252927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 253027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 253127f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 253227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 253327f654740f2a26ad62a5c155af9199af9e69b889claireho## -------------------- ## 253427f654740f2a26ad62a5c155af9199af9e69b889claireho## Main body of script. ## 253527f654740f2a26ad62a5c155af9199af9e69b889claireho## -------------------- ## 2536ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 253727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=c 253827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CPP $CPPFLAGS' 253927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 254027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 254127f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_c_compiler_gnu 2542ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 2543ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 2544ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 2545b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho#TODO: IcuBug:8502 2546b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho#AC_INIT([ICU], 2547b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho# m4_esyscmd_s([sed -n 's/^[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' "./common/unicode/uvernum.h]"), 2548b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho# [http://icu-project.org/bugs], 2549b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho# [International Components for Unicode], 2550b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho# [http://icu-project.org]) 2551b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho 2552b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho 2553ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 255427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_config_headers="$ac_config_headers common/icucfg.h" 255527f654740f2a26ad62a5c155af9199af9e69b889claireho 255627f654740f2a26ad62a5c155af9199af9e69b889clairehoPACKAGE="icu" 255727f654740f2a26ad62a5c155af9199af9e69b889claireho 255827f654740f2a26ad62a5c155af9199af9e69b889claireho 255927f654740f2a26ad62a5c155af9199af9e69b889claireho# Use custom echo test for newline option 256027f654740f2a26ad62a5c155af9199af9e69b889claireho# Current autoconf (2.65) gives incorrect echo newline option 256127f654740f2a26ad62a5c155af9199af9e69b889claireho# for icu-config 256227f654740f2a26ad62a5c155af9199af9e69b889claireho# This may be removed later - mow (June 17, 2010) 256327f654740f2a26ad62a5c155af9199af9e69b889clairehoICU_ECHO_C= ICU_ECHO_N= ICU_ECHO_T= 256427f654740f2a26ad62a5c155af9199af9e69b889clairehocase `/bin/sh -c "echo -n x"` in 256527f654740f2a26ad62a5c155af9199af9e69b889claireho-n*) 256627f654740f2a26ad62a5c155af9199af9e69b889claireho case `/bin/sh -c "echo 'x\c'"` in 256727f654740f2a26ad62a5c155af9199af9e69b889claireho *c*) ICU_ECHO_T=' ';; # ECHO_T is single tab character. 256827f654740f2a26ad62a5c155af9199af9e69b889claireho *) ICU_ECHO_C='\c';; 256927f654740f2a26ad62a5c155af9199af9e69b889claireho esac;; 257027f654740f2a26ad62a5c155af9199af9e69b889claireho*) 257127f654740f2a26ad62a5c155af9199af9e69b889claireho ICU_ECHO_N='-n';; 257285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 2573ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 257427f654740f2a26ad62a5c155af9199af9e69b889claireho 257527f654740f2a26ad62a5c155af9199af9e69b889claireho 257627f654740f2a26ad62a5c155af9199af9e69b889claireho 257727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU version numbers" >&5 257827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for ICU version numbers... " >&6; } 257927f654740f2a26ad62a5c155af9199af9e69b889claireho 258027f654740f2a26ad62a5c155af9199af9e69b889claireho# Get the ICU version from uversion.h or other headers 258127f654740f2a26ad62a5c155af9199af9e69b889clairehogeticuversion() { 258227f654740f2a26ad62a5c155af9199af9e69b889claireho sed -n 's/^[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@" 258327f654740f2a26ad62a5c155af9199af9e69b889claireho} 258427f654740f2a26ad62a5c155af9199af9e69b889clairehogetuversion() { 258527f654740f2a26ad62a5c155af9199af9e69b889claireho sed -n 's/^[ ]*#[ ]*define[ ]*U_UNICODE_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@" 258627f654740f2a26ad62a5c155af9199af9e69b889claireho} 258727f654740f2a26ad62a5c155af9199af9e69b889clairehoVERSION=`geticuversion $srcdir/common/unicode/uvernum.h` 258827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test x"$VERSION" = x; then 2589b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho as_fn_error $? "Cannot determine ICU version number from uvernum.h header file" "$LINENO" 5 2590ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 259185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 2592b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho#TODO: IcuBug:8502 2593b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho#if test "$VERSION" != "$PACKAGE_VERSION"; then 2594b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho# AC_MSG_ERROR([configure was generated for $PACKAGE_VERSION but uvernum.h has $VERSION - please rerun autoconf]) 2595b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho#fi 2596b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho 259727f654740f2a26ad62a5c155af9199af9e69b889clairehoUNICODE_VERSION=`getuversion $srcdir/common/unicode/uchar.h` 259827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test x"$UNICODE_VERSION" = x; then 2599b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho as_fn_error $? "Cannot determine Unicode version number from uchar.h header file" "$LINENO" 5 2600ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 260127f654740f2a26ad62a5c155af9199af9e69b889claireho# Compute a reasonable library version from the release version. This is 260227f654740f2a26ad62a5c155af9199af9e69b889claireho# very bad, but that's wanted... We want to make sure that the LIB_VERSION 260327f654740f2a26ad62a5c155af9199af9e69b889claireho# has at least a dot in it, so we'll add a .0 if needed. 260427f654740f2a26ad62a5c155af9199af9e69b889clairehoLIB_VERSION=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'` 260527f654740f2a26ad62a5c155af9199af9e69b889clairehoLIB_VERSION_MAJOR=`echo $LIB_VERSION | sed 's/\..*//'` 260627f654740f2a26ad62a5c155af9199af9e69b889claireho 260727f654740f2a26ad62a5c155af9199af9e69b889claireho 260827f654740f2a26ad62a5c155af9199af9e69b889claireho 260927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&5 261027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&6; } 261127f654740f2a26ad62a5c155af9199af9e69b889claireho 261227f654740f2a26ad62a5c155af9199af9e69b889claireho 261327f654740f2a26ad62a5c155af9199af9e69b889claireho 261427f654740f2a26ad62a5c155af9199af9e69b889claireho# Determine the host system 261527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_aux_dir= 261627f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 261727f654740f2a26ad62a5c155af9199af9e69b889claireho if test -f "$ac_dir/install-sh"; then 261827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_aux_dir=$ac_dir 261927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_install_sh="$ac_aux_dir/install-sh -c" 262027f654740f2a26ad62a5c155af9199af9e69b889claireho break 262127f654740f2a26ad62a5c155af9199af9e69b889claireho elif test -f "$ac_dir/install.sh"; then 262227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_aux_dir=$ac_dir 262327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_install_sh="$ac_aux_dir/install.sh -c" 262427f654740f2a26ad62a5c155af9199af9e69b889claireho break 262527f654740f2a26ad62a5c155af9199af9e69b889claireho elif test -f "$ac_dir/shtool"; then 262627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_aux_dir=$ac_dir 262727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_install_sh="$ac_aux_dir/shtool install -c" 262827f654740f2a26ad62a5c155af9199af9e69b889claireho break 262927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 263027f654740f2a26ad62a5c155af9199af9e69b889clairehodone 263127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$ac_aux_dir"; then 263227f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2633ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 2634ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 263527f654740f2a26ad62a5c155af9199af9e69b889claireho# These three variables are undocumented and unsupported, 263627f654740f2a26ad62a5c155af9199af9e69b889claireho# and are intended to be withdrawn in a future Autoconf release. 263727f654740f2a26ad62a5c155af9199af9e69b889claireho# They can cause serious problems if a builder's source tree is in a directory 263827f654740f2a26ad62a5c155af9199af9e69b889claireho# whose full name contains unusual characters. 263927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 264027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 264127f654740f2a26ad62a5c155af9199af9e69b889clairehoac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 264227f654740f2a26ad62a5c155af9199af9e69b889claireho 264327f654740f2a26ad62a5c155af9199af9e69b889claireho 264427f654740f2a26ad62a5c155af9199af9e69b889claireho# Make sure we can run config.sub. 264527f654740f2a26ad62a5c155af9199af9e69b889claireho$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 264627f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 264727f654740f2a26ad62a5c155af9199af9e69b889claireho 264827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 264927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking build system type... " >&6; } 265027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_build+set}" = set; then : 265185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 2652ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 265327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_build_alias=$build_alias 265427f654740f2a26ad62a5c155af9199af9e69b889clairehotest "x$ac_build_alias" = x && 265527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 265627f654740f2a26ad62a5c155af9199af9e69b889clairehotest "x$ac_build_alias" = x && 265727f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 265827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 265927f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2660ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 266127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 266227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 266327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_build" >&6; } 266427f654740f2a26ad62a5c155af9199af9e69b889clairehocase $ac_cv_build in 266527f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-*) ;; 266627f654740f2a26ad62a5c155af9199af9e69b889claireho*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 266785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 266827f654740f2a26ad62a5c155af9199af9e69b889clairehobuild=$ac_cv_build 266927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_save_IFS=$IFS; IFS='-' 267027f654740f2a26ad62a5c155af9199af9e69b889clairehoset x $ac_cv_build 267127f654740f2a26ad62a5c155af9199af9e69b889clairehoshift 267227f654740f2a26ad62a5c155af9199af9e69b889clairehobuild_cpu=$1 267327f654740f2a26ad62a5c155af9199af9e69b889clairehobuild_vendor=$2 267427f654740f2a26ad62a5c155af9199af9e69b889clairehoshift; shift 267527f654740f2a26ad62a5c155af9199af9e69b889claireho# Remember, the first character of IFS is used to create $*, 267627f654740f2a26ad62a5c155af9199af9e69b889claireho# except with old shells: 267727f654740f2a26ad62a5c155af9199af9e69b889clairehobuild_os=$* 267827f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$ac_save_IFS 267927f654740f2a26ad62a5c155af9199af9e69b889clairehocase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2680ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 268185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 268227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 268327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking host system type... " >&6; } 268427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_host+set}" = set; then : 268527f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 268627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 268727f654740f2a26ad62a5c155af9199af9e69b889claireho if test "x$host_alias" = x; then 268827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_host=$ac_cv_build 268927f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 269027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 269127f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2692ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 2693ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 2694ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 269527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 269627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_host" >&6; } 269727f654740f2a26ad62a5c155af9199af9e69b889clairehocase $ac_cv_host in 269827f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-*) ;; 269927f654740f2a26ad62a5c155af9199af9e69b889claireho*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2700ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruesac 270127f654740f2a26ad62a5c155af9199af9e69b889clairehohost=$ac_cv_host 270227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_save_IFS=$IFS; IFS='-' 270327f654740f2a26ad62a5c155af9199af9e69b889clairehoset x $ac_cv_host 270427f654740f2a26ad62a5c155af9199af9e69b889clairehoshift 270527f654740f2a26ad62a5c155af9199af9e69b889clairehohost_cpu=$1 270627f654740f2a26ad62a5c155af9199af9e69b889clairehohost_vendor=$2 270727f654740f2a26ad62a5c155af9199af9e69b889clairehoshift; shift 270827f654740f2a26ad62a5c155af9199af9e69b889claireho# Remember, the first character of IFS is used to create $*, 270927f654740f2a26ad62a5c155af9199af9e69b889claireho# except with old shells: 271027f654740f2a26ad62a5c155af9199af9e69b889clairehohost_os=$* 271127f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$ac_save_IFS 271227f654740f2a26ad62a5c155af9199af9e69b889clairehocase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2713ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 2714ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 271527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 271627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking target system type... " >&6; } 271727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_target+set}" = set; then : 271827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 2719ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 272027f654740f2a26ad62a5c155af9199af9e69b889claireho if test "x$target_alias" = x; then 272127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_target=$ac_cv_host 272227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 272327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 272427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 272527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 2726ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 272785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 272827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 272927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_target" >&6; } 273027f654740f2a26ad62a5c155af9199af9e69b889clairehocase $ac_cv_target in 273127f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-*) ;; 273227f654740f2a26ad62a5c155af9199af9e69b889claireho*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 273327f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 273427f654740f2a26ad62a5c155af9199af9e69b889clairehotarget=$ac_cv_target 273527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_save_IFS=$IFS; IFS='-' 273627f654740f2a26ad62a5c155af9199af9e69b889clairehoset x $ac_cv_target 273727f654740f2a26ad62a5c155af9199af9e69b889clairehoshift 273827f654740f2a26ad62a5c155af9199af9e69b889clairehotarget_cpu=$1 273927f654740f2a26ad62a5c155af9199af9e69b889clairehotarget_vendor=$2 274027f654740f2a26ad62a5c155af9199af9e69b889clairehoshift; shift 274127f654740f2a26ad62a5c155af9199af9e69b889claireho# Remember, the first character of IFS is used to create $*, 274227f654740f2a26ad62a5c155af9199af9e69b889claireho# except with old shells: 274327f654740f2a26ad62a5c155af9199af9e69b889clairehotarget_os=$* 274427f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$ac_save_IFS 274527f654740f2a26ad62a5c155af9199af9e69b889clairehocase $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 274685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 274727f654740f2a26ad62a5c155af9199af9e69b889claireho 274827f654740f2a26ad62a5c155af9199af9e69b889claireho# The aliases save the names the user supplied, while $host etc. 274927f654740f2a26ad62a5c155af9199af9e69b889claireho# will get canonicalized. 275027f654740f2a26ad62a5c155af9199af9e69b889clairehotest -n "$target_alias" && 275127f654740f2a26ad62a5c155af9199af9e69b889claireho test "$program_prefix$program_suffix$program_transform_name" = \ 275227f654740f2a26ad62a5c155af9199af9e69b889claireho NONENONEs,x,x, && 275327f654740f2a26ad62a5c155af9199af9e69b889claireho program_prefix=${target_alias}- 2754ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 2755ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 2756ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 2757ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 275827f654740f2a26ad62a5c155af9199af9e69b889claireho# This variable is needed on z/OS because the C++ compiler only recognizes .C 275927f654740f2a26ad62a5c155af9199af9e69b889claireho_CXX_CXXSUFFIX=cpp 276027f654740f2a26ad62a5c155af9199af9e69b889clairehoexport _CXX_CXXSUFFIX 276185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 276285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check whether to build debug libraries 276327f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug libraries" >&5 276485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo_n "checking whether to build debug libraries... " >&6; } 2765ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruenabled=no 2766ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruENABLE_DEBUG=0 276785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check whether --enable-debug was given. 276827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_debug+set}" = set; then : 276985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho enableval=$enable_debug; case "${enableval}" in 2770ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru yes|"") enabled=yes; ENABLE_DEBUG=1 ;; 2771ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *) ;; 2772ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 277385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 2774ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 277527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5 277685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$enabled" >&6; } 2777ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 277885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 277985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check whether to build release libraries 278027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build release libraries" >&5 278185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo_n "checking whether to build release libraries... " >&6; } 2782ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruenabled=yes 2783ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruENABLE_RELEASE=1 278485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check whether --enable-release was given. 278527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_release+set}" = set; then : 278685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho enableval=$enable_release; case "${enableval}" in 2787ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru no) enabled=no; ENABLE_RELEASE=0 ;; 2788ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *) ;; 2789ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 279085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 2791ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 279227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5 279350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho$as_echo "$enabled" >&6; } 279450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 279550294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 279627f654740f2a26ad62a5c155af9199af9e69b889claireho# Don't use the default C/CXXFLags 279727f654740f2a26ad62a5c155af9199af9e69b889claireho: ${CFLAGS=""} 279827f654740f2a26ad62a5c155af9199af9e69b889claireho: ${CXXFLAGS=""} 279950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 280027f654740f2a26ad62a5c155af9199af9e69b889claireho# Checks for programs 280127f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=c 280227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CPP $CPPFLAGS' 280327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 280427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 280527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_c_compiler_gnu 280627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$ac_tool_prefix"; then 280727f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 280827f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy ${ac_tool_prefix}gcc; ac_word=$2 280927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 281027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $ac_word... " >&6; } 281127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_CC+set}" = set; then : 281227f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 281350294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoelse 281427f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$CC"; then 281527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CC="$CC" # Let the user override the test. 281627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 281727f654740f2a26ad62a5c155af9199af9e69b889clairehoas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 281827f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH 281927f654740f2a26ad62a5c155af9199af9e69b889clairehodo 282027f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 282127f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 282227f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 282327f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 282427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CC="${ac_tool_prefix}gcc" 282527f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 282627f654740f2a26ad62a5c155af9199af9e69b889claireho break 2 282727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 282827f654740f2a26ad62a5c155af9199af9e69b889clairehodone 282927f654740f2a26ad62a5c155af9199af9e69b889claireho done 283027f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 283150294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 283227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 283327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 283427f654740f2a26ad62a5c155af9199af9e69b889clairehoCC=$ac_cv_prog_CC 283527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$CC"; then 283627f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 283727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$CC" >&6; } 283827f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 283927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 284027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 284150294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 284250294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 284350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 284450294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 284527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$ac_cv_prog_CC"; then 284627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_ct_CC=$CC 284727f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "gcc", so it can be a program name with args. 284827f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy gcc; ac_word=$2 284927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 285027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $ac_word... " >&6; } 285127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 285227f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 285327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 285427f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$ac_ct_CC"; then 285527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 285627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 285727f654740f2a26ad62a5c155af9199af9e69b889clairehoas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 285827f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH 285927f654740f2a26ad62a5c155af9199af9e69b889clairehodo 286027f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 286127f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 286227f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 286327f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 286427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_ac_ct_CC="gcc" 286527f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 286627f654740f2a26ad62a5c155af9199af9e69b889claireho break 2 286727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 286827f654740f2a26ad62a5c155af9199af9e69b889clairehodone 286927f654740f2a26ad62a5c155af9199af9e69b889claireho done 287027f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 287150294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 287285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 2873ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 287427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ct_CC=$ac_cv_prog_ac_ct_CC 287527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$ac_ct_CC"; then 287627f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 287727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_ct_CC" >&6; } 2878ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 287927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 288027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 2881ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 288285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 288327f654740f2a26ad62a5c155af9199af9e69b889claireho if test "x$ac_ct_CC" = x; then 288427f654740f2a26ad62a5c155af9199af9e69b889claireho CC="" 288527f654740f2a26ad62a5c155af9199af9e69b889claireho else 288627f654740f2a26ad62a5c155af9199af9e69b889claireho case $cross_compiling:$ac_tool_warned in 288727f654740f2a26ad62a5c155af9199af9e69b889clairehoyes:) 288827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 288927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 289027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_tool_warned=yes ;; 289185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 289227f654740f2a26ad62a5c155af9199af9e69b889claireho CC=$ac_ct_CC 289327f654740f2a26ad62a5c155af9199af9e69b889claireho fi 289485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 289527f654740f2a26ad62a5c155af9199af9e69b889claireho CC="$ac_cv_prog_CC" 2896ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 2897ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 289827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$CC"; then 289927f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$ac_tool_prefix"; then 290027f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 290127f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy ${ac_tool_prefix}cc; ac_word=$2 290227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 290385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo_n "checking for $ac_word... " >&6; } 290427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_CC+set}" = set; then : 290585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 2906ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 290727f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$CC"; then 290827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CC="$CC" # Let the user override the test. 2909ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 2910ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2911ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufor as_dir in $PATH 2912ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudo 2913ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru IFS=$as_save_IFS 2914ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru test -z "$as_dir" && as_dir=. 291527f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 291685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 291727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CC="${ac_tool_prefix}cc" 291827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2919ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru break 2 2920ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 2921ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudone 292227f654740f2a26ad62a5c155af9199af9e69b889claireho done 292385bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoIFS=$as_save_IFS 2924ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 2925ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 2926ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 292727f654740f2a26ad62a5c155af9199af9e69b889clairehoCC=$ac_cv_prog_CC 292827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$CC"; then 292927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 293027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$CC" >&6; } 2931ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 293227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 293385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "no" >&6; } 2934ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 2935ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 293685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 293727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 2938ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 293927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$CC"; then 294027f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "cc", so it can be a program name with args. 294127f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy cc; ac_word=$2 294227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 294385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo_n "checking for $ac_word... " >&6; } 294427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_CC+set}" = set; then : 294585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 2946ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 294727f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$CC"; then 294827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CC="$CC" # Let the user override the test. 2949ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 295027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_prog_rejected=no 2951ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2952ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufor as_dir in $PATH 2953ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudo 2954ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru IFS=$as_save_IFS 2955ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru test -z "$as_dir" && as_dir=. 295627f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 295785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 295827f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 295927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_prog_rejected=yes 296027f654740f2a26ad62a5c155af9199af9e69b889claireho continue 296127f654740f2a26ad62a5c155af9199af9e69b889claireho fi 296227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CC="cc" 296327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2964ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru break 2 2965ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 2966ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudone 296727f654740f2a26ad62a5c155af9199af9e69b889claireho done 296885bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoIFS=$as_save_IFS 2969ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 297027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_prog_rejected = yes; then 297127f654740f2a26ad62a5c155af9199af9e69b889claireho # We found a bogon in the path, so make sure we never use it. 297227f654740f2a26ad62a5c155af9199af9e69b889claireho set dummy $ac_cv_prog_CC 297327f654740f2a26ad62a5c155af9199af9e69b889claireho shift 297427f654740f2a26ad62a5c155af9199af9e69b889claireho if test $# != 0; then 297527f654740f2a26ad62a5c155af9199af9e69b889claireho # We chose a different compiler from the bogus one. 297627f654740f2a26ad62a5c155af9199af9e69b889claireho # However, it has the same basename, so the bogon will be chosen 297727f654740f2a26ad62a5c155af9199af9e69b889claireho # first if we set CC to just the basename; use the full file name. 297827f654740f2a26ad62a5c155af9199af9e69b889claireho shift 297927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 298027f654740f2a26ad62a5c155af9199af9e69b889claireho fi 2981ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 2982ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 2983ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 298427f654740f2a26ad62a5c155af9199af9e69b889clairehoCC=$ac_cv_prog_CC 298527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$CC"; then 298627f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 298727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$CC" >&6; } 2988ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 298927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 299027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 2991ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 2992ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 299385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 299427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 299527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$CC"; then 299627f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$ac_tool_prefix"; then 299727f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_prog in cl.exe 299827f654740f2a26ad62a5c155af9199af9e69b889claireho do 299927f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 300027f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy $ac_tool_prefix$ac_prog; ac_word=$2 300127f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 300285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo_n "checking for $ac_word... " >&6; } 300327f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_CC+set}" = set; then : 300485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 300585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 300627f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$CC"; then 300727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CC="$CC" # Let the user override the test. 300885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 300985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 301085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofor as_dir in $PATH 301185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodo 301285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho IFS=$as_save_IFS 301385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test -z "$as_dir" && as_dir=. 301427f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 301585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 301627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 301727f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 301885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho break 2 301985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho fi 302085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodone 302127f654740f2a26ad62a5c155af9199af9e69b889claireho done 302285bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoIFS=$as_save_IFS 302385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 302485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 302585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 302627f654740f2a26ad62a5c155af9199af9e69b889clairehoCC=$ac_cv_prog_CC 302727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$CC"; then 302827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 302927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$CC" >&6; } 303085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 303127f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 303285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "no" >&6; } 303385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 303485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 303585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 303627f654740f2a26ad62a5c155af9199af9e69b889claireho test -n "$CC" && break 303727f654740f2a26ad62a5c155af9199af9e69b889claireho done 303885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 303927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$CC"; then 304027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_ct_CC=$CC 304127f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_prog in cl.exe 304227f654740f2a26ad62a5c155af9199af9e69b889clairehodo 304327f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "$ac_prog", so it can be a program name with args. 304427f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy $ac_prog; ac_word=$2 304527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 304685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo_n "checking for $ac_word... " >&6; } 304727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 304885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 3049ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 305027f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$ac_ct_CC"; then 305127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 305285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 305385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 305485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofor as_dir in $PATH 3055ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudo 3056ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru IFS=$as_save_IFS 3057ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru test -z "$as_dir" && as_dir=. 305827f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 305985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 306027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_ac_ct_CC="$ac_prog" 306127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3062ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru break 2 3063ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 3064ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudone 306527f654740f2a26ad62a5c155af9199af9e69b889claireho done 306685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoIFS=$as_save_IFS 3067ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 3068ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 306985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 307027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ct_CC=$ac_cv_prog_ac_ct_CC 307127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$ac_ct_CC"; then 307227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 307327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_ct_CC" >&6; } 307485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 307527f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 307685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "no" >&6; } 307785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 3078ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 307927f654740f2a26ad62a5c155af9199af9e69b889claireho 308027f654740f2a26ad62a5c155af9199af9e69b889claireho test -n "$ac_ct_CC" && break 308127f654740f2a26ad62a5c155af9199af9e69b889clairehodone 308227f654740f2a26ad62a5c155af9199af9e69b889claireho 308327f654740f2a26ad62a5c155af9199af9e69b889claireho if test "x$ac_ct_CC" = x; then 308427f654740f2a26ad62a5c155af9199af9e69b889claireho CC="" 308585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho else 308685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $cross_compiling:$ac_tool_warned in 308785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoyes:) 308827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 308985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 309085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_tool_warned=yes ;; 309185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 309227f654740f2a26ad62a5c155af9199af9e69b889claireho CC=$ac_ct_CC 309385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho fi 3094ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 3095ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 309685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 3097ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 3098ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 309927f654740f2a26ad62a5c155af9199af9e69b889clairehotest -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 310027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 310127f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_error $? "no acceptable C compiler found in \$PATH 310227f654740f2a26ad62a5c155af9199af9e69b889clairehoSee \`config.log' for more details" "$LINENO" 5; } 3103ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 310427f654740f2a26ad62a5c155af9199af9e69b889claireho# Provide some information about the compiler. 310527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 310627f654740f2a26ad62a5c155af9199af9e69b889clairehoset X $ac_compile 310727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler=$2 310827f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_option in --version -v -V -qversion; do 310927f654740f2a26ad62a5c155af9199af9e69b889claireho { { ac_try="$ac_compiler $ac_option >&5" 311027f654740f2a26ad62a5c155af9199af9e69b889clairehocase "(($ac_try" in 311127f654740f2a26ad62a5c155af9199af9e69b889claireho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 311227f654740f2a26ad62a5c155af9199af9e69b889claireho *) ac_try_echo=$ac_try;; 311327f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 311427f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 311527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 311627f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_compiler $ac_option >&5") 2>conftest.err 311727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_status=$? 311827f654740f2a26ad62a5c155af9199af9e69b889claireho if test -s conftest.err; then 311927f654740f2a26ad62a5c155af9199af9e69b889claireho sed '10a\ 312027f654740f2a26ad62a5c155af9199af9e69b889claireho... rest of stderr output deleted ... 312127f654740f2a26ad62a5c155af9199af9e69b889claireho 10q' conftest.err >conftest.er1 312227f654740f2a26ad62a5c155af9199af9e69b889claireho cat conftest.er1 >&5 312327f654740f2a26ad62a5c155af9199af9e69b889claireho fi 312427f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f conftest.er1 conftest.err 312527f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 312627f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; } 312727f654740f2a26ad62a5c155af9199af9e69b889clairehodone 312885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 312927f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 313027f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 313150294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 313227f654740f2a26ad62a5c155af9199af9e69b889clairehoint 313327f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 313427f654740f2a26ad62a5c155af9199af9e69b889claireho{ 313585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 313627f654740f2a26ad62a5c155af9199af9e69b889claireho ; 313727f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 313827f654740f2a26ad62a5c155af9199af9e69b889claireho} 313927f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 314027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_clean_files_save=$ac_clean_files 314127f654740f2a26ad62a5c155af9199af9e69b889clairehoac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 314227f654740f2a26ad62a5c155af9199af9e69b889claireho# Try to create an executable without -o first, disregard a.out. 314327f654740f2a26ad62a5c155af9199af9e69b889claireho# It will help us diagnose broken compilers, and finding out an intuition 314427f654740f2a26ad62a5c155af9199af9e69b889claireho# of exeext. 314527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 314627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether the C compiler works... " >&6; } 314727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3148ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 314927f654740f2a26ad62a5c155af9199af9e69b889claireho# The possible output files: 315027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3151ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 315227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_rmfiles= 315327f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_file in $ac_files 315427f654740f2a26ad62a5c155af9199af9e69b889clairehodo 315527f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_file in 315627f654740f2a26ad62a5c155af9199af9e69b889claireho *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 315727f654740f2a26ad62a5c155af9199af9e69b889claireho * ) ac_rmfiles="$ac_rmfiles $ac_file";; 315827f654740f2a26ad62a5c155af9199af9e69b889claireho esac 315927f654740f2a26ad62a5c155af9199af9e69b889clairehodone 316027f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f $ac_rmfiles 3161ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 316227f654740f2a26ad62a5c155af9199af9e69b889clairehoif { { ac_try="$ac_link_default" 316327f654740f2a26ad62a5c155af9199af9e69b889clairehocase "(($ac_try" in 316427f654740f2a26ad62a5c155af9199af9e69b889claireho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 316527f654740f2a26ad62a5c155af9199af9e69b889claireho *) ac_try_echo=$ac_try;; 316627f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 316727f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 316827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 316927f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_link_default") 2>&5 317027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_status=$? 317127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 317227f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; }; then : 317327f654740f2a26ad62a5c155af9199af9e69b889claireho # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 317427f654740f2a26ad62a5c155af9199af9e69b889claireho# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 317527f654740f2a26ad62a5c155af9199af9e69b889claireho# in a Makefile. We should not override ac_cv_exeext if it was cached, 317627f654740f2a26ad62a5c155af9199af9e69b889claireho# so that the user can short-circuit this test for compilers unknown to 317727f654740f2a26ad62a5c155af9199af9e69b889claireho# Autoconf. 317827f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_file in $ac_files '' 317950294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehodo 318027f654740f2a26ad62a5c155af9199af9e69b889claireho test -f "$ac_file" || continue 318127f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_file in 318227f654740f2a26ad62a5c155af9199af9e69b889claireho *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 318327f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 318427f654740f2a26ad62a5c155af9199af9e69b889claireho [ab].out ) 318527f654740f2a26ad62a5c155af9199af9e69b889claireho # We found the default executable, but exeext='' is most 318627f654740f2a26ad62a5c155af9199af9e69b889claireho # certainly right. 318727f654740f2a26ad62a5c155af9199af9e69b889claireho break;; 318827f654740f2a26ad62a5c155af9199af9e69b889claireho *.* ) 318927f654740f2a26ad62a5c155af9199af9e69b889claireho if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 319027f654740f2a26ad62a5c155af9199af9e69b889claireho then :; else 319127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 319227f654740f2a26ad62a5c155af9199af9e69b889claireho fi 319327f654740f2a26ad62a5c155af9199af9e69b889claireho # We set ac_cv_exeext here because the later test for it is not 319427f654740f2a26ad62a5c155af9199af9e69b889claireho # safe: cross compilers may not add the suffix if given an `-o' 319527f654740f2a26ad62a5c155af9199af9e69b889claireho # argument, so we may need to know it at that point already. 319627f654740f2a26ad62a5c155af9199af9e69b889claireho # Even if this section looks crufty: it has the advantage of 319727f654740f2a26ad62a5c155af9199af9e69b889claireho # actually working. 319827f654740f2a26ad62a5c155af9199af9e69b889claireho break;; 319927f654740f2a26ad62a5c155af9199af9e69b889claireho * ) 320027f654740f2a26ad62a5c155af9199af9e69b889claireho break;; 320127f654740f2a26ad62a5c155af9199af9e69b889claireho esac 320227f654740f2a26ad62a5c155af9199af9e69b889clairehodone 320327f654740f2a26ad62a5c155af9199af9e69b889clairehotest "$ac_cv_exeext" = no && ac_cv_exeext= 320427f654740f2a26ad62a5c155af9199af9e69b889claireho 320527f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 320627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_file='' 320750294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 320827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$ac_file"; then : 320927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 321027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 321127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: failed program was:" >&5 321227f654740f2a26ad62a5c155af9199af9e69b889clairehosed 's/^/| /' conftest.$ac_ext >&5 321327f654740f2a26ad62a5c155af9199af9e69b889claireho 321427f654740f2a26ad62a5c155af9199af9e69b889claireho{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 321527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 321627f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_error 77 "C compiler cannot create executables 321727f654740f2a26ad62a5c155af9199af9e69b889clairehoSee \`config.log' for more details" "$LINENO" 5; } 3218ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 321927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 322027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "yes" >&6; } 322127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 322227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 322327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for C compiler default output file name... " >&6; } 322427f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 322527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_file" >&6; } 322627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_exeext=$ac_cv_exeext 322727f654740f2a26ad62a5c155af9199af9e69b889claireho 322827f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 322927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_clean_files=$ac_clean_files_save 323027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 323127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for suffix of executables... " >&6; } 323227f654740f2a26ad62a5c155af9199af9e69b889clairehoif { { ac_try="$ac_link" 323385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase "(($ac_try" in 323485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 323585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_try_echo=$ac_try;; 323685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 323727f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 323827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 323927f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_link") 2>&5 3240ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_status=$? 324127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 324227f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; }; then : 324327f654740f2a26ad62a5c155af9199af9e69b889claireho # If both `conftest.exe' and `conftest' are `present' (well, observable) 324427f654740f2a26ad62a5c155af9199af9e69b889claireho# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 324527f654740f2a26ad62a5c155af9199af9e69b889claireho# work properly (i.e., refer to `conftest.exe'), while it won't with 324627f654740f2a26ad62a5c155af9199af9e69b889claireho# `rm'. 324727f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_file in conftest.exe conftest conftest.*; do 324827f654740f2a26ad62a5c155af9199af9e69b889claireho test -f "$ac_file" || continue 324927f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_file in 325027f654740f2a26ad62a5c155af9199af9e69b889claireho *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 325127f654740f2a26ad62a5c155af9199af9e69b889claireho *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 325227f654740f2a26ad62a5c155af9199af9e69b889claireho break;; 325327f654740f2a26ad62a5c155af9199af9e69b889claireho * ) break;; 325427f654740f2a26ad62a5c155af9199af9e69b889claireho esac 325527f654740f2a26ad62a5c155af9199af9e69b889clairehodone 3256ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 325727f654740f2a26ad62a5c155af9199af9e69b889claireho { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 325827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 325927f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_error $? "cannot compute suffix of executables: cannot compile and link 326027f654740f2a26ad62a5c155af9199af9e69b889clairehoSee \`config.log' for more details" "$LINENO" 5; } 3261ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 326227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest conftest$ac_cv_exeext 326327f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 326427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_exeext" >&6; } 326585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 326627f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.$ac_ext 326727f654740f2a26ad62a5c155af9199af9e69b889clairehoEXEEXT=$ac_cv_exeext 326827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_exeext=$EXEEXT 326927f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 327027f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 327127f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdio.h> 327227f654740f2a26ad62a5c155af9199af9e69b889clairehoint 327327f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 327427f654740f2a26ad62a5c155af9199af9e69b889claireho{ 327527f654740f2a26ad62a5c155af9199af9e69b889clairehoFILE *f = fopen ("conftest.out", "w"); 327627f654740f2a26ad62a5c155af9199af9e69b889claireho return ferror (f) || fclose (f) != 0; 327750294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 327827f654740f2a26ad62a5c155af9199af9e69b889claireho ; 327927f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 328027f654740f2a26ad62a5c155af9199af9e69b889claireho} 328150294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho_ACEOF 328227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_clean_files="$ac_clean_files conftest.out" 328327f654740f2a26ad62a5c155af9199af9e69b889claireho# Check that the compiler produces executables we can run. If not, either 328427f654740f2a26ad62a5c155af9199af9e69b889claireho# the compiler is broken, or we cross compile. 328527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 328627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether we are cross compiling... " >&6; } 328727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$cross_compiling" != yes; then 328827f654740f2a26ad62a5c155af9199af9e69b889claireho { { ac_try="$ac_link" 328927f654740f2a26ad62a5c155af9199af9e69b889clairehocase "(($ac_try" in 329027f654740f2a26ad62a5c155af9199af9e69b889claireho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 329127f654740f2a26ad62a5c155af9199af9e69b889claireho *) ac_try_echo=$ac_try;; 329227f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 329327f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 329427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 329527f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_link") 2>&5 329627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_status=$? 329727f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 329827f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; } 329927f654740f2a26ad62a5c155af9199af9e69b889claireho if { ac_try='./conftest$ac_cv_exeext' 330027f654740f2a26ad62a5c155af9199af9e69b889claireho { { case "(($ac_try" in 330127f654740f2a26ad62a5c155af9199af9e69b889claireho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 330227f654740f2a26ad62a5c155af9199af9e69b889claireho *) ac_try_echo=$ac_try;; 330327f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 330427f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 330527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 330627f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_try") 2>&5 330727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_status=$? 330827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 330927f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; }; }; then 331027f654740f2a26ad62a5c155af9199af9e69b889claireho cross_compiling=no 331127f654740f2a26ad62a5c155af9199af9e69b889claireho else 331227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$cross_compiling" = maybe; then 331327f654740f2a26ad62a5c155af9199af9e69b889claireho cross_compiling=yes 331427f654740f2a26ad62a5c155af9199af9e69b889claireho else 331527f654740f2a26ad62a5c155af9199af9e69b889claireho { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 331627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 331727f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_error $? "cannot run C compiled programs. 331827f654740f2a26ad62a5c155af9199af9e69b889clairehoIf you meant to cross compile, use \`--host'. 331927f654740f2a26ad62a5c155af9199af9e69b889clairehoSee \`config.log' for more details" "$LINENO" 5; } 332027f654740f2a26ad62a5c155af9199af9e69b889claireho fi 332127f654740f2a26ad62a5c155af9199af9e69b889claireho fi 332227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 332327f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 332427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$cross_compiling" >&6; } 332527f654740f2a26ad62a5c155af9199af9e69b889claireho 332627f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 332727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_clean_files=$ac_clean_files_save 332827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 332927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for suffix of object files... " >&6; } 333027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_objext+set}" = set; then : 333127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 333227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 333327f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 333450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho/* end confdefs.h. */ 333527f654740f2a26ad62a5c155af9199af9e69b889claireho 333627f654740f2a26ad62a5c155af9199af9e69b889clairehoint 333727f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 333827f654740f2a26ad62a5c155af9199af9e69b889claireho{ 333927f654740f2a26ad62a5c155af9199af9e69b889claireho 334027f654740f2a26ad62a5c155af9199af9e69b889claireho ; 334127f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 334227f654740f2a26ad62a5c155af9199af9e69b889claireho} 334350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho_ACEOF 334427f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.o conftest.obj 334527f654740f2a26ad62a5c155af9199af9e69b889clairehoif { { ac_try="$ac_compile" 334650294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehocase "(($ac_try" in 334750294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 334850294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho *) ac_try_echo=$ac_try;; 334950294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoesac 335027f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 335127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 335227f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_compile") 2>&5 335350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho ac_status=$? 335427f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 335527f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; }; then : 335627f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_file in conftest.o conftest.obj conftest.*; do 335727f654740f2a26ad62a5c155af9199af9e69b889claireho test -f "$ac_file" || continue; 335827f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_file in 335927f654740f2a26ad62a5c155af9199af9e69b889claireho *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 336027f654740f2a26ad62a5c155af9199af9e69b889claireho *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 336127f654740f2a26ad62a5c155af9199af9e69b889claireho break;; 336227f654740f2a26ad62a5c155af9199af9e69b889claireho esac 336327f654740f2a26ad62a5c155af9199af9e69b889clairehodone 336450294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoelse 336550294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho $as_echo "$as_me: failed program was:" >&5 336650294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehosed 's/^/| /' conftest.$ac_ext >&5 3367ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 336827f654740f2a26ad62a5c155af9199af9e69b889claireho{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 336927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 337027f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_error $? "cannot compute suffix of object files: cannot compile 337127f654740f2a26ad62a5c155af9199af9e69b889clairehoSee \`config.log' for more details" "$LINENO" 5; } 3372ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 337327f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.$ac_cv_objext conftest.$ac_ext 337427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 337527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 337627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_objext" >&6; } 337727f654740f2a26ad62a5c155af9199af9e69b889clairehoOBJEXT=$ac_cv_objext 337827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_objext=$OBJEXT 337927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 338027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 338127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_c_compiler_gnu+set}" = set; then : 338227f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 338327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 338427f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 338527f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 338650294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 338727f654740f2a26ad62a5c155af9199af9e69b889clairehoint 338827f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 338927f654740f2a26ad62a5c155af9199af9e69b889claireho{ 339027f654740f2a26ad62a5c155af9199af9e69b889claireho#ifndef __GNUC__ 339127f654740f2a26ad62a5c155af9199af9e69b889claireho choke me 339227f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 339350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 339427f654740f2a26ad62a5c155af9199af9e69b889claireho ; 339527f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 339627f654740f2a26ad62a5c155af9199af9e69b889claireho} 339727f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 339827f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 339927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_compiler_gnu=yes 340050294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoelse 340127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_compiler_gnu=no 340250294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 340327f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 340427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cv_c_compiler_gnu=$ac_compiler_gnu 3405ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 340650294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 340727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 340827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_c_compiler_gnu" >&6; } 340927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_compiler_gnu = yes; then 341027f654740f2a26ad62a5c155af9199af9e69b889claireho GCC=yes 341127f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 341227f654740f2a26ad62a5c155af9199af9e69b889claireho GCC= 341327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 341427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_test_CFLAGS=${CFLAGS+set} 341527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_save_CFLAGS=$CFLAGS 341627f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 341727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether $CC accepts -g... " >&6; } 341827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_cc_g+set}" = set; then : 341927f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 342027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 342127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_save_c_werror_flag=$ac_c_werror_flag 342227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_c_werror_flag=yes 342327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_cc_g=no 342427f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="-g" 342527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 342627f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 342727f654740f2a26ad62a5c155af9199af9e69b889claireho 342827f654740f2a26ad62a5c155af9199af9e69b889clairehoint 342927f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 343027f654740f2a26ad62a5c155af9199af9e69b889claireho{ 343127f654740f2a26ad62a5c155af9199af9e69b889claireho 343227f654740f2a26ad62a5c155af9199af9e69b889claireho ; 343327f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 343427f654740f2a26ad62a5c155af9199af9e69b889claireho} 343550294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho_ACEOF 343627f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 343727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_cc_g=yes 343827f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 343927f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="" 344027f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 344127f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 3442ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 344327f654740f2a26ad62a5c155af9199af9e69b889clairehoint 344427f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 344527f654740f2a26ad62a5c155af9199af9e69b889claireho{ 344685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 344727f654740f2a26ad62a5c155af9199af9e69b889claireho ; 344827f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 344927f654740f2a26ad62a5c155af9199af9e69b889claireho} 345027f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 345127f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 345285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 345350294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoelse 345427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_c_werror_flag=$ac_save_c_werror_flag 345527f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="-g" 345627f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 345727f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 345827f654740f2a26ad62a5c155af9199af9e69b889claireho 345927f654740f2a26ad62a5c155af9199af9e69b889clairehoint 346027f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 346127f654740f2a26ad62a5c155af9199af9e69b889claireho{ 346227f654740f2a26ad62a5c155af9199af9e69b889claireho 346327f654740f2a26ad62a5c155af9199af9e69b889claireho ; 346427f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 346527f654740f2a26ad62a5c155af9199af9e69b889claireho} 346685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 346727f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 346827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_cc_g=yes 346927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 347027f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 347127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 347227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 347327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 347427f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 347527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_c_werror_flag=$ac_save_c_werror_flag 347627f654740f2a26ad62a5c155af9199af9e69b889clairehofi 347727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 347827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_prog_cc_g" >&6; } 347927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$ac_test_CFLAGS" = set; then 348027f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS=$ac_save_CFLAGS 348127f654740f2a26ad62a5c155af9199af9e69b889clairehoelif test $ac_cv_prog_cc_g = yes; then 348227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 348327f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="-g -O2" 348427f654740f2a26ad62a5c155af9199af9e69b889claireho else 348527f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="-g" 348627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 348727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 348827f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 348927f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="-O2" 349027f654740f2a26ad62a5c155af9199af9e69b889claireho else 349127f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS= 349227f654740f2a26ad62a5c155af9199af9e69b889claireho fi 349327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 349427f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 349527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 349627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_cc_c89+set}" = set; then : 349727f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 349827f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 349927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_cc_c89=no 350027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_save_CC=$CC 350127f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 350285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* end confdefs.h. */ 350327f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdarg.h> 350427f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdio.h> 350527f654740f2a26ad62a5c155af9199af9e69b889claireho#include <sys/types.h> 350627f654740f2a26ad62a5c155af9199af9e69b889claireho#include <sys/stat.h> 350727f654740f2a26ad62a5c155af9199af9e69b889claireho/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 350827f654740f2a26ad62a5c155af9199af9e69b889clairehostruct buf { int x; }; 350927f654740f2a26ad62a5c155af9199af9e69b889clairehoFILE * (*rcsopen) (struct buf *, struct stat *, int); 351027f654740f2a26ad62a5c155af9199af9e69b889clairehostatic char *e (p, i) 351127f654740f2a26ad62a5c155af9199af9e69b889claireho char **p; 351227f654740f2a26ad62a5c155af9199af9e69b889claireho int i; 351327f654740f2a26ad62a5c155af9199af9e69b889claireho{ 351427f654740f2a26ad62a5c155af9199af9e69b889claireho return p[i]; 351527f654740f2a26ad62a5c155af9199af9e69b889claireho} 351627f654740f2a26ad62a5c155af9199af9e69b889clairehostatic char *f (char * (*g) (char **, int), char **p, ...) 351727f654740f2a26ad62a5c155af9199af9e69b889claireho{ 351827f654740f2a26ad62a5c155af9199af9e69b889claireho char *s; 351927f654740f2a26ad62a5c155af9199af9e69b889claireho va_list v; 352027f654740f2a26ad62a5c155af9199af9e69b889claireho va_start (v,p); 352127f654740f2a26ad62a5c155af9199af9e69b889claireho s = g (p, va_arg (v,int)); 352227f654740f2a26ad62a5c155af9199af9e69b889claireho va_end (v); 352327f654740f2a26ad62a5c155af9199af9e69b889claireho return s; 352427f654740f2a26ad62a5c155af9199af9e69b889claireho} 352527f654740f2a26ad62a5c155af9199af9e69b889claireho 352627f654740f2a26ad62a5c155af9199af9e69b889claireho/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 352727f654740f2a26ad62a5c155af9199af9e69b889claireho function prototypes and stuff, but not '\xHH' hex character constants. 352827f654740f2a26ad62a5c155af9199af9e69b889claireho These don't provoke an error unfortunately, instead are silently treated 352927f654740f2a26ad62a5c155af9199af9e69b889claireho as 'x'. The following induces an error, until -std is added to get 353027f654740f2a26ad62a5c155af9199af9e69b889claireho proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 353127f654740f2a26ad62a5c155af9199af9e69b889claireho array size at least. It's necessary to write '\x00'==0 to get something 353227f654740f2a26ad62a5c155af9199af9e69b889claireho that's true only with -std. */ 353327f654740f2a26ad62a5c155af9199af9e69b889clairehoint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 353427f654740f2a26ad62a5c155af9199af9e69b889claireho 353527f654740f2a26ad62a5c155af9199af9e69b889claireho/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 353627f654740f2a26ad62a5c155af9199af9e69b889claireho inside strings and character constants. */ 353727f654740f2a26ad62a5c155af9199af9e69b889claireho#define FOO(x) 'x' 353827f654740f2a26ad62a5c155af9199af9e69b889clairehoint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 353950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 354027f654740f2a26ad62a5c155af9199af9e69b889clairehoint test (int i, double x); 354127f654740f2a26ad62a5c155af9199af9e69b889clairehostruct s1 {int (*f) (int a);}; 354227f654740f2a26ad62a5c155af9199af9e69b889clairehostruct s2 {int (*f) (double a);}; 354327f654740f2a26ad62a5c155af9199af9e69b889clairehoint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 354427f654740f2a26ad62a5c155af9199af9e69b889clairehoint argc; 354527f654740f2a26ad62a5c155af9199af9e69b889clairehochar **argv; 354685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoint 354785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homain () 354885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 354927f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 355085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ; 355185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho return 0; 355285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 355385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 355427f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 355527f654740f2a26ad62a5c155af9199af9e69b889claireho -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 355627f654740f2a26ad62a5c155af9199af9e69b889clairehodo 355727f654740f2a26ad62a5c155af9199af9e69b889claireho CC="$ac_save_CC $ac_arg" 355827f654740f2a26ad62a5c155af9199af9e69b889claireho if ac_fn_c_try_compile "$LINENO"; then : 355927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_cc_c89=$ac_arg 356027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 356127f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext 356227f654740f2a26ad62a5c155af9199af9e69b889claireho test "x$ac_cv_prog_cc_c89" != "xno" && break 356327f654740f2a26ad62a5c155af9199af9e69b889clairehodone 356427f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.$ac_ext 356527f654740f2a26ad62a5c155af9199af9e69b889clairehoCC=$ac_save_CC 356685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 356785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 356827f654740f2a26ad62a5c155af9199af9e69b889claireho# AC_CACHE_VAL 356927f654740f2a26ad62a5c155af9199af9e69b889clairehocase "x$ac_cv_prog_cc_c89" in 357027f654740f2a26ad62a5c155af9199af9e69b889claireho x) 357127f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 357227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "none needed" >&6; } ;; 357327f654740f2a26ad62a5c155af9199af9e69b889claireho xno) 357427f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 357527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "unsupported" >&6; } ;; 357627f654740f2a26ad62a5c155af9199af9e69b889claireho *) 357727f654740f2a26ad62a5c155af9199af9e69b889claireho CC="$CC $ac_cv_prog_cc_c89" 357827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 357927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 358027f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 358127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_prog_cc_c89" != xno; then : 358285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 358385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 358427f654740f2a26ad62a5c155af9199af9e69b889claireho 358527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=c 358627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CPP $CPPFLAGS' 358727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 358827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 358927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_c_compiler_gnu 359027f654740f2a26ad62a5c155af9199af9e69b889claireho 359127f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=cpp 359227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CXXCPP $CPPFLAGS' 359327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 359427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 359527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_cxx_compiler_gnu 359627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$CXX"; then 359727f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$CCC"; then 359827f654740f2a26ad62a5c155af9199af9e69b889claireho CXX=$CCC 359927f654740f2a26ad62a5c155af9199af9e69b889claireho else 360027f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$ac_tool_prefix"; then 360127f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 360227f654740f2a26ad62a5c155af9199af9e69b889claireho do 360327f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 360427f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy $ac_tool_prefix$ac_prog; ac_word=$2 360527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 360627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $ac_word... " >&6; } 360727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_CXX+set}" = set; then : 360827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 3609ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 361027f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$CXX"; then 361127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CXX="$CXX" # Let the user override the test. 361227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 361327f654740f2a26ad62a5c155af9199af9e69b889clairehoas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 361427f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH 361527f654740f2a26ad62a5c155af9199af9e69b889clairehodo 361627f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 361727f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 361827f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 361927f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 362027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 362127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 362227f654740f2a26ad62a5c155af9199af9e69b889claireho break 2 362327f654740f2a26ad62a5c155af9199af9e69b889claireho fi 362427f654740f2a26ad62a5c155af9199af9e69b889clairehodone 362527f654740f2a26ad62a5c155af9199af9e69b889claireho done 362627f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 362727f654740f2a26ad62a5c155af9199af9e69b889claireho 3628ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 362950294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 363027f654740f2a26ad62a5c155af9199af9e69b889clairehoCXX=$ac_cv_prog_CXX 363127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$CXX"; then 363227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 363327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$CXX" >&6; } 363427f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 363527f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 363627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 363750294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 3638ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 3639ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 364027f654740f2a26ad62a5c155af9199af9e69b889claireho test -n "$CXX" && break 364127f654740f2a26ad62a5c155af9199af9e69b889claireho done 364227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 364327f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$CXX"; then 364427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_ct_CXX=$CXX 364527f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 364650294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehodo 364727f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "$ac_prog", so it can be a program name with args. 364827f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy $ac_prog; ac_word=$2 364927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 365027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $ac_word... " >&6; } 365127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 365285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 3653ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 365427f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$ac_ct_CXX"; then 365527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 365627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 365727f654740f2a26ad62a5c155af9199af9e69b889clairehoas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 365827f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH 365927f654740f2a26ad62a5c155af9199af9e69b889clairehodo 366027f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 366127f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 366227f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 366327f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 366427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_ac_ct_CXX="$ac_prog" 366527f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 366627f654740f2a26ad62a5c155af9199af9e69b889claireho break 2 366727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 366827f654740f2a26ad62a5c155af9199af9e69b889clairehodone 366927f654740f2a26ad62a5c155af9199af9e69b889claireho done 367027f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 367150294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 367227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 367327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 367427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ct_CXX=$ac_cv_prog_ac_ct_CXX 367527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$ac_ct_CXX"; then 367627f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 367727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_ct_CXX" >&6; } 367827f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 367927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 368027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 368127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 368250294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 368350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 368427f654740f2a26ad62a5c155af9199af9e69b889claireho test -n "$ac_ct_CXX" && break 368527f654740f2a26ad62a5c155af9199af9e69b889clairehodone 3686ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 368727f654740f2a26ad62a5c155af9199af9e69b889claireho if test "x$ac_ct_CXX" = x; then 368827f654740f2a26ad62a5c155af9199af9e69b889claireho CXX="g++" 368927f654740f2a26ad62a5c155af9199af9e69b889claireho else 369027f654740f2a26ad62a5c155af9199af9e69b889claireho case $cross_compiling:$ac_tool_warned in 369127f654740f2a26ad62a5c155af9199af9e69b889clairehoyes:) 369227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 369327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 369427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_tool_warned=yes ;; 369527f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 369627f654740f2a26ad62a5c155af9199af9e69b889claireho CXX=$ac_ct_CXX 369727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 369827f654740f2a26ad62a5c155af9199af9e69b889clairehofi 369950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 370027f654740f2a26ad62a5c155af9199af9e69b889claireho fi 370127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 370227f654740f2a26ad62a5c155af9199af9e69b889claireho# Provide some information about the compiler. 370327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 370427f654740f2a26ad62a5c155af9199af9e69b889clairehoset X $ac_compile 370527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler=$2 370627f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_option in --version -v -V -qversion; do 370727f654740f2a26ad62a5c155af9199af9e69b889claireho { { ac_try="$ac_compiler $ac_option >&5" 370885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase "(($ac_try" in 370985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 371085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_try_echo=$ac_try;; 371185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 371227f654740f2a26ad62a5c155af9199af9e69b889clairehoeval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 371327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_try_echo"; } >&5 371427f654740f2a26ad62a5c155af9199af9e69b889claireho (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3715ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_status=$? 371627f654740f2a26ad62a5c155af9199af9e69b889claireho if test -s conftest.err; then 371727f654740f2a26ad62a5c155af9199af9e69b889claireho sed '10a\ 371827f654740f2a26ad62a5c155af9199af9e69b889claireho... rest of stderr output deleted ... 371927f654740f2a26ad62a5c155af9199af9e69b889claireho 10q' conftest.err >conftest.er1 372027f654740f2a26ad62a5c155af9199af9e69b889claireho cat conftest.er1 >&5 372127f654740f2a26ad62a5c155af9199af9e69b889claireho fi 372227f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f conftest.er1 conftest.err 372327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 372427f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_status = 0; } 372550294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehodone 3726ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 372727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 372827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 372927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 373085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 373127f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 373227f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 373327f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 373450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 3735ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 3736ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 3737ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 373827f654740f2a26ad62a5c155af9199af9e69b889claireho#ifndef __GNUC__ 373927f654740f2a26ad62a5c155af9199af9e69b889claireho choke me 374027f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 374127f654740f2a26ad62a5c155af9199af9e69b889claireho 3742ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 3743ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 3744ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 3745ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 374627f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_compile "$LINENO"; then : 374727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_compiler_gnu=yes 3748ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 374927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_compiler_gnu=no 3750ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 375127f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 375227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cv_cxx_compiler_gnu=$ac_compiler_gnu 375350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 375450294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 375527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 375627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 375727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_compiler_gnu = yes; then 375827f654740f2a26ad62a5c155af9199af9e69b889claireho GXX=yes 375950294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoelse 376027f654740f2a26ad62a5c155af9199af9e69b889claireho GXX= 376150294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 376227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_test_CXXFLAGS=${CXXFLAGS+set} 376327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_save_CXXFLAGS=$CXXFLAGS 376427f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 376527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether $CXX accepts -g... " >&6; } 376627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_cxx_g+set}" = set; then : 376750294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho $as_echo_n "(cached) " >&6 376850294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoelse 376927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_save_cxx_werror_flag=$ac_cxx_werror_flag 377027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cxx_werror_flag=yes 377127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_cxx_g=no 377227f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="-g" 377327f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3774ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 3775ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 3776ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 3777ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 3778ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 377927f654740f2a26ad62a5c155af9199af9e69b889claireho 3780ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 3781ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 3782ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 3783ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 378427f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_compile "$LINENO"; then : 378527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_cxx_g=yes 3786ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 378727f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="" 378827f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 378927f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 3790ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 379127f654740f2a26ad62a5c155af9199af9e69b889clairehoint 379227f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 379327f654740f2a26ad62a5c155af9199af9e69b889claireho{ 3794ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 379527f654740f2a26ad62a5c155af9199af9e69b889claireho ; 379627f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 379727f654740f2a26ad62a5c155af9199af9e69b889claireho} 3798ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 379927f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_compile "$LINENO"; then : 380027f654740f2a26ad62a5c155af9199af9e69b889claireho 380127f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 380227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cxx_werror_flag=$ac_save_cxx_werror_flag 380327f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="-g" 380427f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3805ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 3806ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 3807ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 3808ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 3809ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 381050294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 3811ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 3812ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 3813ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 3814ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 381527f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_compile "$LINENO"; then : 381627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_cxx_g=yes 381727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 381827f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 381927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 382027f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 382127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 382227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 382327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cxx_werror_flag=$ac_save_cxx_werror_flag 382427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 382527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 382627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_prog_cxx_g" >&6; } 382727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$ac_test_CXXFLAGS" = set; then 382827f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS=$ac_save_CXXFLAGS 382927f654740f2a26ad62a5c155af9199af9e69b889clairehoelif test $ac_cv_prog_cxx_g = yes; then 383027f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GXX" = yes; then 383127f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="-g -O2" 383227f654740f2a26ad62a5c155af9199af9e69b889claireho else 383327f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="-g" 383427f654740f2a26ad62a5c155af9199af9e69b889claireho fi 3835ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 383627f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GXX" = yes; then 383727f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="-O2" 383827f654740f2a26ad62a5c155af9199af9e69b889claireho else 383927f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS= 384027f654740f2a26ad62a5c155af9199af9e69b889claireho fi 384127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 384227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=c 384327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CPP $CPPFLAGS' 384427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 384527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 384627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_c_compiler_gnu 384727f654740f2a26ad62a5c155af9199af9e69b889claireho 3848ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 384927f654740f2a26ad62a5c155af9199af9e69b889claireho# Ensure that if CXXFLAGS/CFLAGS were not set when calling configure, set it correctly based on (enable/disable) debug or release option 385027f654740f2a26ad62a5c155af9199af9e69b889claireho# The release mode use is the default one for autoconf 385127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$GCC" = yes; then 385227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$CFLAGS" = ""; then 385327f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ENABLE_DEBUG" = 1; then 385427f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS=-g 385527f654740f2a26ad62a5c155af9199af9e69b889claireho fi 385627f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ENABLE_RELEASE" = 1; then 385727f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="$CFLAGS -O2" 385827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 385927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 386027f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$CXXFLAGS" = ""; then 386127f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ENABLE_DEBUG" = 1; then 386227f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS=-g 386327f654740f2a26ad62a5c155af9199af9e69b889claireho fi 386427f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ENABLE_RELEASE" = 1; then 386527f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="$CXXFLAGS -O2" 386627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 386727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 3868ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 3869ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 387027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=c 387127f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CPP $CPPFLAGS' 387227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 387327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 387427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_c_compiler_gnu 387527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 387627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking how to run the C preprocessor... " >&6; } 387727f654740f2a26ad62a5c155af9199af9e69b889claireho# On Suns, sometimes $CPP names a directory. 387827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$CPP" && test -d "$CPP"; then 387927f654740f2a26ad62a5c155af9199af9e69b889claireho CPP= 388027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 388127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$CPP"; then 388227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "${ac_cv_prog_CPP+set}" = set; then : 388327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 388450294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoelse 388527f654740f2a26ad62a5c155af9199af9e69b889claireho # Double quotes because CPP needs to be expanded 388627f654740f2a26ad62a5c155af9199af9e69b889claireho for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 388727f654740f2a26ad62a5c155af9199af9e69b889claireho do 388827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_preproc_ok=false 388927f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_c_preproc_warn_flag in '' yes 389027f654740f2a26ad62a5c155af9199af9e69b889clairehodo 389127f654740f2a26ad62a5c155af9199af9e69b889claireho # Use a header file that comes with gcc, so configuring glibc 389227f654740f2a26ad62a5c155af9199af9e69b889claireho # with a fresh cross-compiler works. 389327f654740f2a26ad62a5c155af9199af9e69b889claireho # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 389427f654740f2a26ad62a5c155af9199af9e69b889claireho # <limits.h> exists even on freestanding compilers. 389527f654740f2a26ad62a5c155af9199af9e69b889claireho # On the NeXT, cc -E runs the code through the compiler's parser, 389627f654740f2a26ad62a5c155af9199af9e69b889claireho # not just through cpp. "Syntax error" is here to catch this case. 389727f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 389827f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 389927f654740f2a26ad62a5c155af9199af9e69b889claireho#ifdef __STDC__ 390027f654740f2a26ad62a5c155af9199af9e69b889claireho# include <limits.h> 390127f654740f2a26ad62a5c155af9199af9e69b889claireho#else 390227f654740f2a26ad62a5c155af9199af9e69b889claireho# include <assert.h> 390327f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 390427f654740f2a26ad62a5c155af9199af9e69b889claireho Syntax error 390527f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 390627f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_cpp "$LINENO"; then : 390727f654740f2a26ad62a5c155af9199af9e69b889claireho 390827f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 390927f654740f2a26ad62a5c155af9199af9e69b889claireho # Broken: fails on valid input. 391027f654740f2a26ad62a5c155af9199af9e69b889clairehocontinue 3911ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 391227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.err conftest.i conftest.$ac_ext 3913ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 391427f654740f2a26ad62a5c155af9199af9e69b889claireho # OK, works on sane cases. Now check whether nonexistent headers 391527f654740f2a26ad62a5c155af9199af9e69b889claireho # can be detected and how. 391627f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3917ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 391827f654740f2a26ad62a5c155af9199af9e69b889claireho#include <ac_nonexistent.h> 391927f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 392027f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_cpp "$LINENO"; then : 392127f654740f2a26ad62a5c155af9199af9e69b889claireho # Broken: success on invalid input. 392227f654740f2a26ad62a5c155af9199af9e69b889clairehocontinue 392327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 392427f654740f2a26ad62a5c155af9199af9e69b889claireho # Passes both tests. 392527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_preproc_ok=: 392627f654740f2a26ad62a5c155af9199af9e69b889clairehobreak 392727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 392827f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.err conftest.i conftest.$ac_ext 392950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 393027f654740f2a26ad62a5c155af9199af9e69b889clairehodone 393127f654740f2a26ad62a5c155af9199af9e69b889claireho# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 393227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.i conftest.err conftest.$ac_ext 393327f654740f2a26ad62a5c155af9199af9e69b889clairehoif $ac_preproc_ok; then : 393427f654740f2a26ad62a5c155af9199af9e69b889claireho break 393527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 393627f654740f2a26ad62a5c155af9199af9e69b889claireho 393727f654740f2a26ad62a5c155af9199af9e69b889claireho done 393827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CPP=$CPP 393927f654740f2a26ad62a5c155af9199af9e69b889claireho 394027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 394127f654740f2a26ad62a5c155af9199af9e69b889claireho CPP=$ac_cv_prog_CPP 394227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 394327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_CPP=$CPP 394427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 394527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 394627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$CPP" >&6; } 394727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_preproc_ok=false 394827f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_c_preproc_warn_flag in '' yes 394927f654740f2a26ad62a5c155af9199af9e69b889clairehodo 395027f654740f2a26ad62a5c155af9199af9e69b889claireho # Use a header file that comes with gcc, so configuring glibc 395127f654740f2a26ad62a5c155af9199af9e69b889claireho # with a fresh cross-compiler works. 395227f654740f2a26ad62a5c155af9199af9e69b889claireho # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 395327f654740f2a26ad62a5c155af9199af9e69b889claireho # <limits.h> exists even on freestanding compilers. 395427f654740f2a26ad62a5c155af9199af9e69b889claireho # On the NeXT, cc -E runs the code through the compiler's parser, 395527f654740f2a26ad62a5c155af9199af9e69b889claireho # not just through cpp. "Syntax error" is here to catch this case. 395627f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 395727f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 395827f654740f2a26ad62a5c155af9199af9e69b889claireho#ifdef __STDC__ 395927f654740f2a26ad62a5c155af9199af9e69b889claireho# include <limits.h> 396027f654740f2a26ad62a5c155af9199af9e69b889claireho#else 396127f654740f2a26ad62a5c155af9199af9e69b889claireho# include <assert.h> 396227f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 396327f654740f2a26ad62a5c155af9199af9e69b889claireho Syntax error 3964ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 396527f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_cpp "$LINENO"; then : 396627f654740f2a26ad62a5c155af9199af9e69b889claireho 3967ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 396827f654740f2a26ad62a5c155af9199af9e69b889claireho # Broken: fails on valid input. 396927f654740f2a26ad62a5c155af9199af9e69b889clairehocontinue 397027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 397127f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.err conftest.i conftest.$ac_ext 3972ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 397327f654740f2a26ad62a5c155af9199af9e69b889claireho # OK, works on sane cases. Now check whether nonexistent headers 397427f654740f2a26ad62a5c155af9199af9e69b889claireho # can be detected and how. 397527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 397627f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 397727f654740f2a26ad62a5c155af9199af9e69b889claireho#include <ac_nonexistent.h> 397827f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 397927f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_cpp "$LINENO"; then : 398027f654740f2a26ad62a5c155af9199af9e69b889claireho # Broken: success on invalid input. 398127f654740f2a26ad62a5c155af9199af9e69b889clairehocontinue 398227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 398327f654740f2a26ad62a5c155af9199af9e69b889claireho # Passes both tests. 398427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_preproc_ok=: 398527f654740f2a26ad62a5c155af9199af9e69b889clairehobreak 3986ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 398727f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.err conftest.i conftest.$ac_ext 398885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 398927f654740f2a26ad62a5c155af9199af9e69b889clairehodone 399027f654740f2a26ad62a5c155af9199af9e69b889claireho# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 399127f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest.i conftest.err conftest.$ac_ext 399227f654740f2a26ad62a5c155af9199af9e69b889clairehoif $ac_preproc_ok; then : 399327f654740f2a26ad62a5c155af9199af9e69b889claireho 399427f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 399527f654740f2a26ad62a5c155af9199af9e69b889claireho { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 399627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 399727f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_error $? "C preprocessor \"$CPP\" fails sanity check 399827f654740f2a26ad62a5c155af9199af9e69b889clairehoSee \`config.log' for more details" "$LINENO" 5; } 3999ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 4000ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 400150294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoac_ext=c 400250294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoac_cpp='$CPP $CPPFLAGS' 400350294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 400450294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 400550294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoac_compiler_gnu=$ac_cv_c_compiler_gnu 4006ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4007ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 400827f654740f2a26ad62a5c155af9199af9e69b889claireho# Find a good install program. We prefer a C program (faster), 400927f654740f2a26ad62a5c155af9199af9e69b889claireho# so one script is as good as another. But avoid the broken or 401027f654740f2a26ad62a5c155af9199af9e69b889claireho# incompatible versions: 401127f654740f2a26ad62a5c155af9199af9e69b889claireho# SysV /etc/install, /usr/sbin/install 401227f654740f2a26ad62a5c155af9199af9e69b889claireho# SunOS /usr/etc/install 401327f654740f2a26ad62a5c155af9199af9e69b889claireho# IRIX /sbin/install 401427f654740f2a26ad62a5c155af9199af9e69b889claireho# AIX /bin/install 401527f654740f2a26ad62a5c155af9199af9e69b889claireho# AmigaOS /C/install, which installs bootblocks on floppy discs 401627f654740f2a26ad62a5c155af9199af9e69b889claireho# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 401727f654740f2a26ad62a5c155af9199af9e69b889claireho# AFS /usr/afsws/bin/install, which mishandles nonexistent args 401827f654740f2a26ad62a5c155af9199af9e69b889claireho# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 401927f654740f2a26ad62a5c155af9199af9e69b889claireho# OS/2's system install, which has a completely different semantic 402027f654740f2a26ad62a5c155af9199af9e69b889claireho# ./install, which can be erroneously created by make from ./install.sh. 402127f654740f2a26ad62a5c155af9199af9e69b889claireho# Reject install programs that cannot install multiple files. 402227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 402327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for a BSD-compatible install... " >&6; } 402427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$INSTALL"; then 402527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_path_install+set}" = set; then : 402627f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 402750294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoelse 402827f654740f2a26ad62a5c155af9199af9e69b889claireho as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 402927f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH 403027f654740f2a26ad62a5c155af9199af9e69b889clairehodo 403127f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 403227f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 403327f654740f2a26ad62a5c155af9199af9e69b889claireho # Account for people who put trailing slashes in PATH elements. 403427f654740f2a26ad62a5c155af9199af9e69b889clairehocase $as_dir/ in #(( 403527f654740f2a26ad62a5c155af9199af9e69b889claireho ./ | .// | /[cC]/* | \ 403627f654740f2a26ad62a5c155af9199af9e69b889claireho /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 403727f654740f2a26ad62a5c155af9199af9e69b889claireho ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 403827f654740f2a26ad62a5c155af9199af9e69b889claireho /usr/ucb/* ) ;; 403927f654740f2a26ad62a5c155af9199af9e69b889claireho *) 404027f654740f2a26ad62a5c155af9199af9e69b889claireho # OSF1 and SCO ODT 3.0 have their own names for install. 404127f654740f2a26ad62a5c155af9199af9e69b889claireho # Don't use installbsd from OSF since it installs stuff as root 404227f654740f2a26ad62a5c155af9199af9e69b889claireho # by default. 404327f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_prog in ginstall scoinst install; do 404427f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 404527f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 404627f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_prog = install && 404727f654740f2a26ad62a5c155af9199af9e69b889claireho grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 404827f654740f2a26ad62a5c155af9199af9e69b889claireho # AIX install. It has an incompatible calling convention. 404927f654740f2a26ad62a5c155af9199af9e69b889claireho : 405027f654740f2a26ad62a5c155af9199af9e69b889claireho elif test $ac_prog = install && 405127f654740f2a26ad62a5c155af9199af9e69b889claireho grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 405227f654740f2a26ad62a5c155af9199af9e69b889claireho # program-specific install script used by HP pwplus--don't use. 405327f654740f2a26ad62a5c155af9199af9e69b889claireho : 405427f654740f2a26ad62a5c155af9199af9e69b889claireho else 405527f654740f2a26ad62a5c155af9199af9e69b889claireho rm -rf conftest.one conftest.two conftest.dir 405627f654740f2a26ad62a5c155af9199af9e69b889claireho echo one > conftest.one 405727f654740f2a26ad62a5c155af9199af9e69b889claireho echo two > conftest.two 405827f654740f2a26ad62a5c155af9199af9e69b889claireho mkdir conftest.dir 405927f654740f2a26ad62a5c155af9199af9e69b889claireho if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 406027f654740f2a26ad62a5c155af9199af9e69b889claireho test -s conftest.one && test -s conftest.two && 406127f654740f2a26ad62a5c155af9199af9e69b889claireho test -s conftest.dir/conftest.one && 406227f654740f2a26ad62a5c155af9199af9e69b889claireho test -s conftest.dir/conftest.two 406327f654740f2a26ad62a5c155af9199af9e69b889claireho then 406427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 406527f654740f2a26ad62a5c155af9199af9e69b889claireho break 3 406627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 406727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 406827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 406927f654740f2a26ad62a5c155af9199af9e69b889claireho done 407027f654740f2a26ad62a5c155af9199af9e69b889claireho done 407127f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 407227f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 407327f654740f2a26ad62a5c155af9199af9e69b889claireho 407427f654740f2a26ad62a5c155af9199af9e69b889claireho done 407527f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 407650294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 407727f654740f2a26ad62a5c155af9199af9e69b889clairehorm -rf conftest.one conftest.two conftest.dir 407850294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 4079ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 408027f654740f2a26ad62a5c155af9199af9e69b889claireho if test "${ac_cv_path_install+set}" = set; then 408127f654740f2a26ad62a5c155af9199af9e69b889claireho INSTALL=$ac_cv_path_install 408227f654740f2a26ad62a5c155af9199af9e69b889claireho else 408327f654740f2a26ad62a5c155af9199af9e69b889claireho # As a last resort, use the slow shell script. Don't cache a 408427f654740f2a26ad62a5c155af9199af9e69b889claireho # value for INSTALL within a source directory, because that will 408527f654740f2a26ad62a5c155af9199af9e69b889claireho # break other packages using the cache if that directory is 408627f654740f2a26ad62a5c155af9199af9e69b889claireho # removed, or if the value is a relative name. 408727f654740f2a26ad62a5c155af9199af9e69b889claireho INSTALL=$ac_install_sh 408827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 408927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 409027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 409127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$INSTALL" >&6; } 4092ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 409327f654740f2a26ad62a5c155af9199af9e69b889claireho# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 409427f654740f2a26ad62a5c155af9199af9e69b889claireho# It thinks the first close brace ends the variable substitution. 409527f654740f2a26ad62a5c155af9199af9e69b889clairehotest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 4096ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 409727f654740f2a26ad62a5c155af9199af9e69b889clairehotest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 4098ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 409927f654740f2a26ad62a5c155af9199af9e69b889clairehotest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4100ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 410127f654740f2a26ad62a5c155af9199af9e69b889claireho 410227f654740f2a26ad62a5c155af9199af9e69b889claireho 410327f654740f2a26ad62a5c155af9199af9e69b889claireho 410427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=cpp 410527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CXXCPP $CPPFLAGS' 410627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 410727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 410827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_cxx_compiler_gnu 410927f654740f2a26ad62a5c155af9199af9e69b889claireho 411027f654740f2a26ad62a5c155af9199af9e69b889claireho 411127f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 4112ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 411350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 411485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoint 411585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homain () 411685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 411727f654740f2a26ad62a5c155af9199af9e69b889claireho 411885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ; 411985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho return 0; 412085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 4121ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 412227f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_link "$LINENO"; then : 4123ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4124ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 412527f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 412627f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 412727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=c 412827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CPP $CPPFLAGS' 412927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 413027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 413127f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_c_compiler_gnu 4132ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 413385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 413427f654740f2a26ad62a5c155af9199af9e69b889claireho# make sure install is relative to srcdir - if a script 413527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$srcdir" = "."; then 413627f654740f2a26ad62a5c155af9199af9e69b889claireho # If srcdir isn't just ., then (srcdir) is already prepended. 413727f654740f2a26ad62a5c155af9199af9e69b889claireho if test "${ac_install_sh}" = "${INSTALL}"; then 413827f654740f2a26ad62a5c155af9199af9e69b889claireho INSTALL="\\\$(top_srcdir)/${ac_install_sh}" 413927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 4140ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 4141ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 414227f654740f2a26ad62a5c155af9199af9e69b889claireho#AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true) 414327f654740f2a26ad62a5c155af9199af9e69b889claireho#AC_CHECK_PROG(STRIP, strip, strip, true) 4144ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 414527f654740f2a26ad62a5c155af9199af9e69b889claireho# Check for the platform make 414627f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_prog in gmake gnumake 414727f654740f2a26ad62a5c155af9199af9e69b889clairehodo 414827f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "$ac_prog", so it can be a program name with args. 414927f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy $ac_prog; ac_word=$2 415027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 415127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $ac_word... " >&6; } 415227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_path_U_MAKE+set}" = set; then : 415385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 4154ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 415527f654740f2a26ad62a5c155af9199af9e69b889claireho case $U_MAKE in 415627f654740f2a26ad62a5c155af9199af9e69b889claireho [\\/]* | ?:[\\/]*) 415727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_path_U_MAKE="$U_MAKE" # Let the user override the test with a path. 415827f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 415927f654740f2a26ad62a5c155af9199af9e69b889claireho *) 416027f654740f2a26ad62a5c155af9199af9e69b889claireho as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 416127f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH 416227f654740f2a26ad62a5c155af9199af9e69b889clairehodo 416327f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 416427f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 416527f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 416627f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 416727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_path_U_MAKE="$as_dir/$ac_word$ac_exec_ext" 416827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 416927f654740f2a26ad62a5c155af9199af9e69b889claireho break 2 417027f654740f2a26ad62a5c155af9199af9e69b889claireho fi 417127f654740f2a26ad62a5c155af9199af9e69b889clairehodone 417227f654740f2a26ad62a5c155af9199af9e69b889claireho done 417327f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 4174ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 417527f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 417627f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 417727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 417827f654740f2a26ad62a5c155af9199af9e69b889clairehoU_MAKE=$ac_cv_path_U_MAKE 417927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$U_MAKE"; then 418027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $U_MAKE" >&5 418127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$U_MAKE" >&6; } 418227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 418327f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 418427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 418550294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 4186ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 418727f654740f2a26ad62a5c155af9199af9e69b889claireho 418827f654740f2a26ad62a5c155af9199af9e69b889claireho test -n "$U_MAKE" && break 418950294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehodone 419027f654740f2a26ad62a5c155af9199af9e69b889clairehotest -n "$U_MAKE" || U_MAKE="make" 4191ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4192ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 419350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 419485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 419527f654740f2a26ad62a5c155af9199af9e69b889claireho 419627f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --with-cross-build was given. 419727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${with_cross_build+set}" = set; then : 419827f654740f2a26ad62a5c155af9199af9e69b889claireho withval=$with_cross_build; cross_buildroot="${withval}" 419927f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 420027f654740f2a26ad62a5c155af9199af9e69b889claireho cross_buildroot="" 420150294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 4202ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4203ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 420427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "X$cross_buildroot" = "X"; then 420527f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$cross_compiling" = "yes"; then 420627f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "Error! Cross compiling but no --with-cross-build option specified - please supply the path to an executable ICU's build root" "$LINENO" 5 420727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 420827f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 420927f654740f2a26ad62a5c155af9199af9e69b889claireho if test -f "${cross_buildroot}/config/icucross.mk"; then 421027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using cross buildroot: $cross_buildroot" >&5 421127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "Using cross buildroot: $cross_buildroot" >&6; } 421227f654740f2a26ad62a5c155af9199af9e69b889claireho else 421327f654740f2a26ad62a5c155af9199af9e69b889claireho if test -d "${cross_buildroot}"; then 421427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "${cross_buildroot}/config/icucross.mk not found. Please build ICU in ${cross_buildroot} first." "$LINENO" 5 421527f654740f2a26ad62a5c155af9199af9e69b889claireho else 421627f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "No such directory ${cross_buildroot} supplied as the argument to --with-cross-build. Use an absolute path." "$LINENO" 5 421727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 421827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 4219ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 4220ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4221ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 422227f654740f2a26ad62a5c155af9199af9e69b889claireho# Check for doxygen to generate documentation 422327f654740f2a26ad62a5c155af9199af9e69b889claireho# Extract the first word of "doxygen", so it can be a program name with args. 422427f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy doxygen; ac_word=$2 422527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 422627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $ac_word... " >&6; } 422727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_path_DOXYGEN+set}" = set; then : 422850294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho $as_echo_n "(cached) " >&6 422950294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoelse 423027f654740f2a26ad62a5c155af9199af9e69b889claireho case $DOXYGEN in 423127f654740f2a26ad62a5c155af9199af9e69b889claireho [\\/]* | ?:[\\/]*) 423227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. 423327f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 423427f654740f2a26ad62a5c155af9199af9e69b889claireho *) 423527f654740f2a26ad62a5c155af9199af9e69b889claireho as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 423627f654740f2a26ad62a5c155af9199af9e69b889clairehoas_dummy="$PATH:/usr/local/bin:/usr/bin" 423727f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $as_dummy 423827f654740f2a26ad62a5c155af9199af9e69b889clairehodo 423927f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 424027f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 424127f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 424227f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 424327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" 424427f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 424527f654740f2a26ad62a5c155af9199af9e69b889claireho break 2 424627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 424727f654740f2a26ad62a5c155af9199af9e69b889clairehodone 424827f654740f2a26ad62a5c155af9199af9e69b889claireho done 424927f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 4250ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 425127f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 425250294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoesac 4253ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 425427f654740f2a26ad62a5c155af9199af9e69b889clairehoDOXYGEN=$ac_cv_path_DOXYGEN 425527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$DOXYGEN"; then 425627f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 425727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$DOXYGEN" >&6; } 425827f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 425927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 426027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 426150294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 426250294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 4263ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4264ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 426527f654740f2a26ad62a5c155af9199af9e69b889claireho# Check that the linker is usable 426650294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 426727f654740f2a26ad62a5c155af9199af9e69b889clairehocase "${host}" in 426827f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-cygwin*|*-*-mingw*) 426927f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreutils'`"; then 427027f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "link.exe is not a valid linker. Your PATH is incorrect. 427127f654740f2a26ad62a5c155af9199af9e69b889claireho Please follow the directions in ICU's readme." "$LINENO" 5 427227f654740f2a26ad62a5c155af9199af9e69b889claireho fi;; 427327f654740f2a26ad62a5c155af9199af9e69b889claireho *);; 427427f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 427550294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 427627f654740f2a26ad62a5c155af9199af9e69b889claireho# Determine the executable suffix 427727f654740f2a26ad62a5c155af9199af9e69b889claireho# We don't use AC_EXEEXT because some compilers output separate debugging 427827f654740f2a26ad62a5c155af9199af9e69b889claireho# files, which confuses the AC_EXEEXT macro. 427927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking checking for executable suffix" >&5 428027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking checking for executable suffix... " >&6; } 428127f654740f2a26ad62a5c155af9199af9e69b889clairehocase "${host}" in 428227f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-cygwin*|*-*-mingw*) EXEEXT=.exe ;; 428327f654740f2a26ad62a5c155af9199af9e69b889claireho *) EXEEXT="" ;; 428427f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 428527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_exeext=$EXEEXT 428627f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5 428727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$EXEEXT" >&6; } 428850294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 428950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 429027f654740f2a26ad62a5c155af9199af9e69b889claireho# Determine how strict we want to be when compiling 429150294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 429227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strict compiling is on" >&5 429327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether strict compiling is on... " >&6; } 429427f654740f2a26ad62a5c155af9199af9e69b889claireho # Check whether --enable-strict was given. 429527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_strict+set}" = set; then : 429627f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_strict; 429727f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$enableval" = no 429827f654740f2a26ad62a5c155af9199af9e69b889claireho then 429927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_use_strict_options=no 430027f654740f2a26ad62a5c155af9199af9e69b889claireho else 430127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_use_strict_options=yes 430227f654740f2a26ad62a5c155af9199af9e69b889claireho fi 4303ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4304ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 430527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_use_strict_options=yes 430627f654740f2a26ad62a5c155af9199af9e69b889clairehofi 430727f654740f2a26ad62a5c155af9199af9e69b889claireho 430827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_use_strict_options" >&5 430927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_use_strict_options" >&6; } 431027f654740f2a26ad62a5c155af9199af9e69b889claireho 431127f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ac_use_strict_options" = yes 431227f654740f2a26ad62a5c155af9199af9e69b889claireho then 431327f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes 431427f654740f2a26ad62a5c155af9199af9e69b889claireho then 431527f654740f2a26ad62a5c155af9199af9e69b889claireho case "${host}" in 431627f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-solaris*) 4317b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long" 431827f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="$CFLAGS -D__STDC__=0";; 4319b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho *-*-hpux*) 4320b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho echo "# Note: We are not using '-ansi' with HP/UX GCC because int64_t broke, see <http://bugs.icu-project.org/trac/ticket/8493>" 4321b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";; 4322b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho *) 4323b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long";; 432427f654740f2a26ad62a5c155af9199af9e69b889claireho esac 432527f654740f2a26ad62a5c155af9199af9e69b889claireho else 432627f654740f2a26ad62a5c155af9199af9e69b889claireho case "${host}" in 432727f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-cygwin) 432827f654740f2a26ad62a5c155af9199af9e69b889claireho if test "`$CC /help 2>&1 | head -c9`" = "Microsoft" 432927f654740f2a26ad62a5c155af9199af9e69b889claireho then 433027f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="$CFLAGS /W4" 433127f654740f2a26ad62a5c155af9199af9e69b889claireho fi 433227f654740f2a26ad62a5c155af9199af9e69b889claireho esac 433327f654740f2a26ad62a5c155af9199af9e69b889claireho fi 433427f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GXX" = yes 433527f654740f2a26ad62a5c155af9199af9e69b889claireho then 433627f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long" 433727f654740f2a26ad62a5c155af9199af9e69b889claireho case "${host}" in 433827f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-solaris*) 433927f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="$CXXFLAGS -D__STDC__=0";; 434027f654740f2a26ad62a5c155af9199af9e69b889claireho esac 434127f654740f2a26ad62a5c155af9199af9e69b889claireho else 434227f654740f2a26ad62a5c155af9199af9e69b889claireho case "${host}" in 434327f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-cygwin) 434427f654740f2a26ad62a5c155af9199af9e69b889claireho if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft" 434527f654740f2a26ad62a5c155af9199af9e69b889claireho then 434627f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="$CXXFLAGS /W4" 434727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 434827f654740f2a26ad62a5c155af9199af9e69b889claireho esac 434927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 435027f654740f2a26ad62a5c155af9199af9e69b889claireho fi 4351ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 435250294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 435327f654740f2a26ad62a5c155af9199af9e69b889claireho# Check if we can build and use 64-bit libraries 435450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 435550294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 435627f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 435727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 435827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_path_GREP+set}" = set; then : 435927f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 436027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 436127f654740f2a26ad62a5c155af9199af9e69b889claireho if test -z "$GREP"; then 436227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_path_GREP_found=false 436327f654740f2a26ad62a5c155af9199af9e69b889claireho # Loop through the user's path and test for each of PROGNAME-LIST 436427f654740f2a26ad62a5c155af9199af9e69b889claireho as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 436527f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 436627f654740f2a26ad62a5c155af9199af9e69b889clairehodo 436727f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 436827f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 436927f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_prog in grep ggrep; do 437027f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 437127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 437227f654740f2a26ad62a5c155af9199af9e69b889claireho { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 437327f654740f2a26ad62a5c155af9199af9e69b889claireho# Check for GNU ac_path_GREP and select it if it is found. 437427f654740f2a26ad62a5c155af9199af9e69b889claireho # Check for GNU $ac_path_GREP 437527f654740f2a26ad62a5c155af9199af9e69b889clairehocase `"$ac_path_GREP" --version 2>&1` in 437627f654740f2a26ad62a5c155af9199af9e69b889claireho*GNU*) 437727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 437827f654740f2a26ad62a5c155af9199af9e69b889claireho*) 437927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_count=0 438027f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n 0123456789 >"conftest.in" 438127f654740f2a26ad62a5c155af9199af9e69b889claireho while : 438227f654740f2a26ad62a5c155af9199af9e69b889claireho do 438327f654740f2a26ad62a5c155af9199af9e69b889claireho cat "conftest.in" "conftest.in" >"conftest.tmp" 438427f654740f2a26ad62a5c155af9199af9e69b889claireho mv "conftest.tmp" "conftest.in" 438527f654740f2a26ad62a5c155af9199af9e69b889claireho cp "conftest.in" "conftest.nl" 438627f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo 'GREP' >> "conftest.nl" 438727f654740f2a26ad62a5c155af9199af9e69b889claireho "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 438827f654740f2a26ad62a5c155af9199af9e69b889claireho diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 438927f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_arith $ac_count + 1 && ac_count=$as_val 439027f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_count -gt ${ac_path_GREP_max-0}; then 439127f654740f2a26ad62a5c155af9199af9e69b889claireho # Best one so far, save it but keep looking for a better one 439227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_path_GREP="$ac_path_GREP" 439327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_path_GREP_max=$ac_count 439450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho fi 439527f654740f2a26ad62a5c155af9199af9e69b889claireho # 10*(2^10) chars as input seems more than enough 439627f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_count -gt 10 && break 439727f654740f2a26ad62a5c155af9199af9e69b889claireho done 439827f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 439927f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 440027f654740f2a26ad62a5c155af9199af9e69b889claireho 440127f654740f2a26ad62a5c155af9199af9e69b889claireho $ac_path_GREP_found && break 3 440227f654740f2a26ad62a5c155af9199af9e69b889claireho done 440327f654740f2a26ad62a5c155af9199af9e69b889claireho done 440427f654740f2a26ad62a5c155af9199af9e69b889claireho done 440527f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 440627f654740f2a26ad62a5c155af9199af9e69b889claireho if test -z "$ac_cv_path_GREP"; then 440727f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 440850294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho fi 440927f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 441027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_path_GREP=$GREP 4411ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 441285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 441327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 441427f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 441527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_path_GREP" >&6; } 441627f654740f2a26ad62a5c155af9199af9e69b889claireho GREP="$ac_cv_path_GREP" 441785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 4418ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 441927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 442027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for egrep... " >&6; } 442127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_path_EGREP+set}" = set; then : 442227f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 442327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 442427f654740f2a26ad62a5c155af9199af9e69b889claireho if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 442527f654740f2a26ad62a5c155af9199af9e69b889claireho then ac_cv_path_EGREP="$GREP -E" 442627f654740f2a26ad62a5c155af9199af9e69b889claireho else 442727f654740f2a26ad62a5c155af9199af9e69b889claireho if test -z "$EGREP"; then 442827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_path_EGREP_found=false 442927f654740f2a26ad62a5c155af9199af9e69b889claireho # Loop through the user's path and test for each of PROGNAME-LIST 443027f654740f2a26ad62a5c155af9199af9e69b889claireho as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 443127f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 443227f654740f2a26ad62a5c155af9199af9e69b889clairehodo 443327f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 443427f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 443527f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_prog in egrep; do 443627f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 443727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 443827f654740f2a26ad62a5c155af9199af9e69b889claireho { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 443927f654740f2a26ad62a5c155af9199af9e69b889claireho# Check for GNU ac_path_EGREP and select it if it is found. 444027f654740f2a26ad62a5c155af9199af9e69b889claireho # Check for GNU $ac_path_EGREP 444127f654740f2a26ad62a5c155af9199af9e69b889clairehocase `"$ac_path_EGREP" --version 2>&1` in 444227f654740f2a26ad62a5c155af9199af9e69b889claireho*GNU*) 444327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 444427f654740f2a26ad62a5c155af9199af9e69b889claireho*) 444527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_count=0 444627f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n 0123456789 >"conftest.in" 444727f654740f2a26ad62a5c155af9199af9e69b889claireho while : 444827f654740f2a26ad62a5c155af9199af9e69b889claireho do 444927f654740f2a26ad62a5c155af9199af9e69b889claireho cat "conftest.in" "conftest.in" >"conftest.tmp" 445027f654740f2a26ad62a5c155af9199af9e69b889claireho mv "conftest.tmp" "conftest.in" 445127f654740f2a26ad62a5c155af9199af9e69b889claireho cp "conftest.in" "conftest.nl" 445227f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo 'EGREP' >> "conftest.nl" 445327f654740f2a26ad62a5c155af9199af9e69b889claireho "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 445427f654740f2a26ad62a5c155af9199af9e69b889claireho diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 445527f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_arith $ac_count + 1 && ac_count=$as_val 445627f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_count -gt ${ac_path_EGREP_max-0}; then 445727f654740f2a26ad62a5c155af9199af9e69b889claireho # Best one so far, save it but keep looking for a better one 445827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_path_EGREP="$ac_path_EGREP" 445927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_path_EGREP_max=$ac_count 446027f654740f2a26ad62a5c155af9199af9e69b889claireho fi 446127f654740f2a26ad62a5c155af9199af9e69b889claireho # 10*(2^10) chars as input seems more than enough 446227f654740f2a26ad62a5c155af9199af9e69b889claireho test $ac_count -gt 10 && break 446327f654740f2a26ad62a5c155af9199af9e69b889claireho done 446427f654740f2a26ad62a5c155af9199af9e69b889claireho rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 446527f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 4466ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 446727f654740f2a26ad62a5c155af9199af9e69b889claireho $ac_path_EGREP_found && break 3 446827f654740f2a26ad62a5c155af9199af9e69b889claireho done 446927f654740f2a26ad62a5c155af9199af9e69b889claireho done 447027f654740f2a26ad62a5c155af9199af9e69b889claireho done 447127f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 447227f654740f2a26ad62a5c155af9199af9e69b889claireho if test -z "$ac_cv_path_EGREP"; then 447327f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 447427f654740f2a26ad62a5c155af9199af9e69b889claireho fi 447527f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 447627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_path_EGREP=$EGREP 447727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 4478ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 447927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 448027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 448127f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 448227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_path_EGREP" >&6; } 448327f654740f2a26ad62a5c155af9199af9e69b889claireho EGREP="$ac_cv_path_EGREP" 4484ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4485ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 448627f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 448727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for ANSI C header files... " >&6; } 448827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_header_stdc+set}" = set; then : 448985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 4490ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 449127f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4492ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 449327f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdlib.h> 449427f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdarg.h> 449527f654740f2a26ad62a5c155af9199af9e69b889claireho#include <string.h> 449627f654740f2a26ad62a5c155af9199af9e69b889claireho#include <float.h> 449727f654740f2a26ad62a5c155af9199af9e69b889claireho 449850294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoint 449950294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehomain () 450050294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho{ 450127f654740f2a26ad62a5c155af9199af9e69b889claireho 450250294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho ; 450350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho return 0; 450450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho} 4505ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 450627f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 450727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_header_stdc=yes 4508ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 450927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_header_stdc=no 4510ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 451127f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4512ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 451327f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_header_stdc = yes; then 451427f654740f2a26ad62a5c155af9199af9e69b889claireho # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 451527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4516ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 451727f654740f2a26ad62a5c155af9199af9e69b889claireho#include <string.h> 451827f654740f2a26ad62a5c155af9199af9e69b889claireho 451927f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 452027f654740f2a26ad62a5c155af9199af9e69b889clairehoif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 452127f654740f2a26ad62a5c155af9199af9e69b889claireho $EGREP "memchr" >/dev/null 2>&1; then : 4522ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 452327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 452427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_header_stdc=no 4525ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 452627f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest* 452785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 452827f654740f2a26ad62a5c155af9199af9e69b889clairehofi 4529ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 453027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_header_stdc = yes; then 453127f654740f2a26ad62a5c155af9199af9e69b889claireho # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 453227f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4533ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 453427f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdlib.h> 453527f654740f2a26ad62a5c155af9199af9e69b889claireho 4536ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 453727f654740f2a26ad62a5c155af9199af9e69b889clairehoif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 453827f654740f2a26ad62a5c155af9199af9e69b889claireho $EGREP "free" >/dev/null 2>&1; then : 453927f654740f2a26ad62a5c155af9199af9e69b889claireho 4540ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 454127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_header_stdc=no 454227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 454327f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f conftest* 4544ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4545ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 454685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 454727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_header_stdc = yes; then 454827f654740f2a26ad62a5c155af9199af9e69b889claireho # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 454927f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$cross_compiling" = yes; then : 455027f654740f2a26ad62a5c155af9199af9e69b889claireho : 455127f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 455227f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 455327f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 455427f654740f2a26ad62a5c155af9199af9e69b889claireho#include <ctype.h> 455527f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdlib.h> 455627f654740f2a26ad62a5c155af9199af9e69b889claireho#if ((' ' & 0x0FF) == 0x020) 455727f654740f2a26ad62a5c155af9199af9e69b889claireho# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 455827f654740f2a26ad62a5c155af9199af9e69b889claireho# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 455927f654740f2a26ad62a5c155af9199af9e69b889claireho#else 456027f654740f2a26ad62a5c155af9199af9e69b889claireho# define ISLOWER(c) \ 456127f654740f2a26ad62a5c155af9199af9e69b889claireho (('a' <= (c) && (c) <= 'i') \ 456227f654740f2a26ad62a5c155af9199af9e69b889claireho || ('j' <= (c) && (c) <= 'r') \ 456327f654740f2a26ad62a5c155af9199af9e69b889claireho || ('s' <= (c) && (c) <= 'z')) 456427f654740f2a26ad62a5c155af9199af9e69b889claireho# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 456527f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 4566ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 456727f654740f2a26ad62a5c155af9199af9e69b889claireho#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 456827f654740f2a26ad62a5c155af9199af9e69b889clairehoint 456927f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 457027f654740f2a26ad62a5c155af9199af9e69b889claireho{ 457127f654740f2a26ad62a5c155af9199af9e69b889claireho int i; 457227f654740f2a26ad62a5c155af9199af9e69b889claireho for (i = 0; i < 256; i++) 457327f654740f2a26ad62a5c155af9199af9e69b889claireho if (XOR (islower (i), ISLOWER (i)) 457427f654740f2a26ad62a5c155af9199af9e69b889claireho || toupper (i) != TOUPPER (i)) 457527f654740f2a26ad62a5c155af9199af9e69b889claireho return 2; 457627f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 457727f654740f2a26ad62a5c155af9199af9e69b889claireho} 457827f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 457927f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_run "$LINENO"; then : 458085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 4581ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 458227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_header_stdc=no 4583ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 458427f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 458527f654740f2a26ad62a5c155af9199af9e69b889claireho conftest.$ac_objext conftest.beam conftest.$ac_ext 458627f654740f2a26ad62a5c155af9199af9e69b889clairehofi 458727f654740f2a26ad62a5c155af9199af9e69b889claireho 458827f654740f2a26ad62a5c155af9199af9e69b889clairehofi 458927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 459027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 459127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_header_stdc" >&6; } 459227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_header_stdc = yes; then 459327f654740f2a26ad62a5c155af9199af9e69b889claireho 459427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4595ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4596ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 459727f654740f2a26ad62a5c155af9199af9e69b889claireho 459827f654740f2a26ad62a5c155af9199af9e69b889claireho# On IRIX 5.3, sys/types and inttypes.h are conflicting. 459927f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 460027f654740f2a26ad62a5c155af9199af9e69b889claireho inttypes.h stdint.h unistd.h 460127f654740f2a26ad62a5c155af9199af9e69b889clairehodo : 460227f654740f2a26ad62a5c155af9199af9e69b889claireho as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 460327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 460427f654740f2a26ad62a5c155af9199af9e69b889claireho" 460527f654740f2a26ad62a5c155af9199af9e69b889clairehoif eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4606ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru cat >>confdefs.h <<_ACEOF 460785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4608ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 4609ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4610ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 4611ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4612ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudone 4613ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4614ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 4615ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 461627f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_REQ=nochange 461727f654740f2a26ad62a5c155af9199af9e69b889claireho ENABLE_64BIT_LIBS=unknown 461827f654740f2a26ad62a5c155af9199af9e69b889claireho ## revisit this for cross-compile. 4619ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 462027f654740f2a26ad62a5c155af9199af9e69b889claireho # Check whether --enable-64bit-libs was given. 462127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_64bit_libs+set}" = set; then : 462227f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_64bit_libs; echo "note, use --with-library-bits instead of --*-64bit-libs" 462327f654740f2a26ad62a5c155af9199af9e69b889claireho case "${enableval}" in 462427f654740f2a26ad62a5c155af9199af9e69b889claireho no|false|32) with_library_bits=32; ;; 462527f654740f2a26ad62a5c155af9199af9e69b889claireho yes|true|64) with_library_bits=64else32 ;; 462627f654740f2a26ad62a5c155af9199af9e69b889claireho nochange) with_library_bits=nochange; ;; 462727f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "bad value ${enableval} for '--*-64bit-libs'" "$LINENO" 5 ;; 462827f654740f2a26ad62a5c155af9199af9e69b889claireho esac 462985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 463085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 463185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 463285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 463385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 463427f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --with-library-bits was given. 463527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${with_library_bits+set}" = set; then : 463627f654740f2a26ad62a5c155af9199af9e69b889claireho withval=$with_library_bits; case "${withval}" in 463727f654740f2a26ad62a5c155af9199af9e69b889claireho ""|nochange) BITS_REQ=$withval ;; 463827f654740f2a26ad62a5c155af9199af9e69b889claireho 32|64|64else32) BITS_REQ=$withval ;; 463927f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "bad value ${withval} for --with-library-bits" "$LINENO" 5 ;; 464027f654740f2a26ad62a5c155af9199af9e69b889claireho esac 464185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 464285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 464385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 464427f654740f2a26ad62a5c155af9199af9e69b889claireho # don't use these for cross compiling 464527f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$cross_compiling" = "yes" -a "${BITS_REQ}" != "nochange"; then 464627f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "Don't specify bitness when cross compiling. See readme.html for help with cross compilation., and set compiler options manually." "$LINENO" 5 464727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 464827f654740f2a26ad62a5c155af9199af9e69b889claireho # The cast to long int works around a bug in the HP C Compiler 464927f654740f2a26ad62a5c155af9199af9e69b889claireho# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 465027f654740f2a26ad62a5c155af9199af9e69b889claireho# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 465127f654740f2a26ad62a5c155af9199af9e69b889claireho# This bug is HP SR number 8606223364. 465227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 465327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking size of void *... " >&6; } 465427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_sizeof_void_p+set}" = set; then : 465585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 465685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 465727f654740f2a26ad62a5c155af9199af9e69b889claireho if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 465827f654740f2a26ad62a5c155af9199af9e69b889claireho 465927f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 466027f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ac_cv_type_void_p" = yes; then 466127f654740f2a26ad62a5c155af9199af9e69b889claireho { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 466227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 466327f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_error 77 "cannot compute sizeof (void *) 466427f654740f2a26ad62a5c155af9199af9e69b889clairehoSee \`config.log' for more details" "$LINENO" 5; } 466527f654740f2a26ad62a5c155af9199af9e69b889claireho else 466627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_sizeof_void_p=0 466727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 466885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 466985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 467085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 467127f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 467227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_sizeof_void_p" >&6; } 467327f654740f2a26ad62a5c155af9199af9e69b889claireho 467427f654740f2a26ad62a5c155af9199af9e69b889claireho 467527f654740f2a26ad62a5c155af9199af9e69b889claireho 467627f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 467727f654740f2a26ad62a5c155af9199af9e69b889claireho#define SIZEOF_VOID_P $ac_cv_sizeof_void_p 467885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 467985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 468085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 468127f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64 bit binaries are built by default" >&5 468227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether runnable 64 bit binaries are built by default... " >&6; } 468327f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_cv_sizeof_void_p in 468427f654740f2a26ad62a5c155af9199af9e69b889claireho 8) DEFAULT_64BIT=yes ;; 468527f654740f2a26ad62a5c155af9199af9e69b889claireho 4) DEFAULT_64BIT=no ;; 468627f654740f2a26ad62a5c155af9199af9e69b889claireho *) DEFAULT_64BIT=unknown 468727f654740f2a26ad62a5c155af9199af9e69b889claireho esac 468827f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_GOT=unknown 468985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 469027f654740f2a26ad62a5c155af9199af9e69b889claireho # 'OK' here means, we can exit any further checking, everything's copa 469127f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_OK=yes 469227f654740f2a26ad62a5c155af9199af9e69b889claireho 469327f654740f2a26ad62a5c155af9199af9e69b889claireho # do we need to check for buildable/runnable 32 or 64 bit? 469427f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_CHECK_32=no 469527f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_CHECK_64=no 469685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 469727f654740f2a26ad62a5c155af9199af9e69b889claireho # later, can we run the 32/64 bit binaries so made? 469827f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_RUN_32=no 469927f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_RUN_64=no 470085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 470127f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$DEFAULT_64BIT" = "yes"; then 470227f654740f2a26ad62a5c155af9199af9e69b889claireho # we get 64 bits by default. 470327f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_GOT=64 470427f654740f2a26ad62a5c155af9199af9e69b889claireho case "$BITS_REQ" in 470527f654740f2a26ad62a5c155af9199af9e69b889claireho 32) 470627f654740f2a26ad62a5c155af9199af9e69b889claireho # need to look for 32 bit support. 470727f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_CHECK_32=yes 470827f654740f2a26ad62a5c155af9199af9e69b889claireho # not copa. 470927f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_OK=no;; 471027f654740f2a26ad62a5c155af9199af9e69b889claireho # everyone else is happy. 471127f654740f2a26ad62a5c155af9199af9e69b889claireho nochange) ;; 471227f654740f2a26ad62a5c155af9199af9e69b889claireho *) ;; 471327f654740f2a26ad62a5c155af9199af9e69b889claireho esac 471427f654740f2a26ad62a5c155af9199af9e69b889claireho elif test "$DEFAULT_64BIT" = "no"; then 471527f654740f2a26ad62a5c155af9199af9e69b889claireho # not 64 bit by default. 471627f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_GOT=32 471727f654740f2a26ad62a5c155af9199af9e69b889claireho case "$BITS_REQ" in 471827f654740f2a26ad62a5c155af9199af9e69b889claireho 64|64else32) 471927f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_CHECK_64=yes 472027f654740f2a26ad62a5c155af9199af9e69b889claireho #BITS_CHECK_32=yes 472127f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_OK=no;; 472227f654740f2a26ad62a5c155af9199af9e69b889claireho nochange) ;; 472327f654740f2a26ad62a5c155af9199af9e69b889claireho *) ;; 472427f654740f2a26ad62a5c155af9199af9e69b889claireho esac 472527f654740f2a26ad62a5c155af9199af9e69b889claireho elif test "$DEFAULT_64BIT" = "unknown"; then 472627f654740f2a26ad62a5c155af9199af9e69b889claireho # cross compiling. 472727f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_GOT=unknown 472827f654740f2a26ad62a5c155af9199af9e69b889claireho case "$BITS_REQ" in 472927f654740f2a26ad62a5c155af9199af9e69b889claireho 64|64else32) BITS_OK=no 473027f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_CHECK_32=yes 473127f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_CHECK_64=yes ;; 473227f654740f2a26ad62a5c155af9199af9e69b889claireho 32) BITS_OK=no;; 473327f654740f2a26ad62a5c155af9199af9e69b889claireho nochange) ;; 473427f654740f2a26ad62a5c155af9199af9e69b889claireho *) ;; 473527f654740f2a26ad62a5c155af9199af9e69b889claireho esac 473627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 473785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 473827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_64BIT" >&5 473927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$DEFAULT_64BIT" >&6; }; 474085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 474127f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$BITS_OK" != "yes"; then 474227f654740f2a26ad62a5c155af9199af9e69b889claireho # not copa. back these up. 474327f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS_OLD="${CFLAGS}" 474427f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS_OLD="${CXXFLAGS}" 474527f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS_OLD="${LDFLAGS}" 474627f654740f2a26ad62a5c155af9199af9e69b889claireho ARFLAGS_OLD="${ARFLAGS}" 474785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 474827f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS_32="${CFLAGS}" 474927f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS_32="${CXXFLAGS}" 475027f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS_32="${LDFLAGS}" 475127f654740f2a26ad62a5c155af9199af9e69b889claireho ARFLAGS_32="${ARFLAGS}" 475285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 475327f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS_64="${CFLAGS}" 475427f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS_64="${CXXFLAGS}" 475527f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS_64="${LDFLAGS}" 475627f654740f2a26ad62a5c155af9199af9e69b889claireho ARFLAGS_64="${ARFLAGS}" 4757ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 475827f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=unknown 475927f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_32=unknown 476027f654740f2a26ad62a5c155af9199af9e69b889claireho # These results can't be cached because is sets compiler flags. 476127f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$BITS_CHECK_64" = "yes"; then 476227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 64-bit executables" >&5 476327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking how to build 64-bit executables... " >&6; } 476427f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=no 476527f654740f2a26ad62a5c155af9199af9e69b889claireho #### 476627f654740f2a26ad62a5c155af9199af9e69b889claireho # Find out if we think we can *build* for 64 bit. Doesn't check whether we can run it. 476727f654740f2a26ad62a5c155af9199af9e69b889claireho # Note, we don't have to actually check if the options work- we'll try them before using them. 476827f654740f2a26ad62a5c155af9199af9e69b889claireho # So, only try actually testing the options, if you are trying to decide between multiple options. 476927f654740f2a26ad62a5c155af9199af9e69b889claireho # On exit from the following clauses: 477027f654740f2a26ad62a5c155af9199af9e69b889claireho # if CAN_BUILD_64=yes: 477127f654740f2a26ad62a5c155af9199af9e69b889claireho # *FLAGS are assumed to contain the right settings for 64bit 477227f654740f2a26ad62a5c155af9199af9e69b889claireho # else if CAN_BUILD_64=no: (default) 477327f654740f2a26ad62a5c155af9199af9e69b889claireho # *FLAGS are assumed to be trashed, and will be reset from *FLAGS_OLD 4774ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 477527f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 477627f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} -m64" 477727f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} -m64" 477827f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4779ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 478027f654740f2a26ad62a5c155af9199af9e69b889clairehoint main(void) {return (sizeof(void*)*8==64)?0:1;} 4781ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 478227f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 478327f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=yes 4784ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 478527f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=no 4786ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 478785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 478827f654740f2a26ad62a5c155af9199af9e69b889claireho else 478927f654740f2a26ad62a5c155af9199af9e69b889claireho case "${host}" in 479027f654740f2a26ad62a5c155af9199af9e69b889claireho sparc*-*-solaris*) 479127f654740f2a26ad62a5c155af9199af9e69b889claireho # 1. try -m64 479227f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} -m64" 479327f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} -m64" 4794b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho if test "$cross_compiling" = yes; then : 4795b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho CAN_BUILD_64=unknown 4796b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehoelse 4797b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4798ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 479927f654740f2a26ad62a5c155af9199af9e69b889clairehoint main(void) {return (sizeof(void*)*8==64)?0:1;} 4800ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 4801b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehoif ac_fn_c_try_run "$LINENO"; then : 480227f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=yes 4803ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 480427f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=no 4805ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 4806b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehorm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4807b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho conftest.$ac_objext conftest.beam conftest.$ac_ext 4808b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehofi 4809b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho 481027f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$CAN_BUILD_64" != yes; then 481127f654740f2a26ad62a5c155af9199af9e69b889claireho # Nope. back out changes. 481227f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS_OLD}" 481327f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CFLAGS_OLD}" 481427f654740f2a26ad62a5c155af9199af9e69b889claireho # 2. try xarch=v9 [deprecated] 481527f654740f2a26ad62a5c155af9199af9e69b889claireho ## TODO: cross compile: the following won't work. 481627f654740f2a26ad62a5c155af9199af9e69b889claireho SPARCV9=`isainfo -n 2>&1 | grep sparcv9` 481727f654740f2a26ad62a5c155af9199af9e69b889claireho SOL64=`$CXX -xarch=v9 2>&1 && $CC -xarch=v9 2>&1 | grep -v usage:` 481827f654740f2a26ad62a5c155af9199af9e69b889claireho # "Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs" 481927f654740f2a26ad62a5c155af9199af9e69b889claireho if test -z "$SOL64" && test -n "$SPARCV9"; then 482027f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} -xtarget=ultra -xarch=v9" 482127f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} -xtarget=ultra -xarch=v9" 482227f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS="${LDFLAGS} -xtarget=ultra -xarch=v9" 482327f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=yes 482427f654740f2a26ad62a5c155af9199af9e69b889claireho fi 4825ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 482627f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 482727f654740f2a26ad62a5c155af9199af9e69b889claireho i386-*-solaris*) 482827f654740f2a26ad62a5c155af9199af9e69b889claireho # 1. try -m64 482927f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} -m64" 483027f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} -m64" 4831b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho if test "$cross_compiling" = yes; then : 4832b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho CAN_BUILD_64=unknown 4833b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehoelse 4834b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 483585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* end confdefs.h. */ 483627f654740f2a26ad62a5c155af9199af9e69b889clairehoint main(void) {return (sizeof(void*)*8==64)?0:1;} 483785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 4838b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehoif ac_fn_c_try_run "$LINENO"; then : 483927f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=yes 484085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 484127f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=no 484285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 4843b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehorm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4844b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho conftest.$ac_objext conftest.beam conftest.$ac_ext 4845b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehofi 4846b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho 484727f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$CAN_BUILD_64" != yes; then 484827f654740f2a26ad62a5c155af9199af9e69b889claireho # Nope. back out changes. 484927f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS_OLD}" 485027f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS_OLD}" 485127f654740f2a26ad62a5c155af9199af9e69b889claireho # 2. try the older compiler option 485227f654740f2a26ad62a5c155af9199af9e69b889claireho ## TODO: cross compile problem 4853b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho AMD64=`isainfo -n 2>&1 | grep amd64` 485427f654740f2a26ad62a5c155af9199af9e69b889claireho SOL64=`$CXX -xtarget=generic64 2>&1 && $CC -xtarget=generic64 2>&1 | grep -v usage:` 485527f654740f2a26ad62a5c155af9199af9e69b889claireho if test -z "$SOL64" && test -n "$AMD64"; then 485627f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} -xtarget=generic64" 485727f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} -xtarget=generic64" 485827f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=yes 485927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 486027f654740f2a26ad62a5c155af9199af9e69b889claireho fi 486127f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 486227f654740f2a26ad62a5c155af9199af9e69b889claireho ia64-*-linux*) 486327f654740f2a26ad62a5c155af9199af9e69b889claireho # check for ecc/ecpc compiler support 486427f654740f2a26ad62a5c155af9199af9e69b889claireho ## TODO: cross compiler problem 486527f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Intel`"; then 486627f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Itanium`"; then 486727f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=yes 486827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 486927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 487027f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 487127f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-cygwin) 487227f654740f2a26ad62a5c155af9199af9e69b889claireho # vcvarsamd64.bat should have been used to enable 64-bit builds. 487327f654740f2a26ad62a5c155af9199af9e69b889claireho # We only do this check to display the correct answer. 487427f654740f2a26ad62a5c155af9199af9e69b889claireho ## TODO: cross compiler problem 487527f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "`$CXX -help 2>&1 | grep 'for x64'`"; then 487627f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=yes 487727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 487827f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 487927f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-aix*|powerpc64-*-linux*) 488027f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} -q64" 488127f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} -q64" 488227f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS="${LDFLAGS} -q64" 488327f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4884ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 488527f654740f2a26ad62a5c155af9199af9e69b889clairehoint main(void) {return (sizeof(void*)*8==64)?0:1;} 4886ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 488727f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 488827f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=yes 488927f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 489027f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=no 489127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 489227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 489327f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$CAN_BUILD_64" = yes; then 489427f654740f2a26ad62a5c155af9199af9e69b889claireho # worked- set other options. 489527f654740f2a26ad62a5c155af9199af9e69b889claireho case "${host}" in 489627f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-aix*) 489727f654740f2a26ad62a5c155af9199af9e69b889claireho # tell AIX what executable mode to use. 489827f654740f2a26ad62a5c155af9199af9e69b889claireho ARFLAGS="${ARFLAGS} -X64" 489927f654740f2a26ad62a5c155af9199af9e69b889claireho esac 490027f654740f2a26ad62a5c155af9199af9e69b889claireho fi 490127f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 490227f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-hpux*) 490327f654740f2a26ad62a5c155af9199af9e69b889claireho # First we try the newer +DD64, if that doesn't work, 490427f654740f2a26ad62a5c155af9199af9e69b889claireho # try other options. 4905ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 490627f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} +DD64" 490727f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} +DD64" 490827f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 490927f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 491027f654740f2a26ad62a5c155af9199af9e69b889clairehoint main(void) {return (sizeof(void*)*8==64)?0:1;} 4911ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 491227f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 491327f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=yes 4914ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 491527f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=no 4916ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 491785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 491827f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$CAN_BUILD_64" != yes; then 491927f654740f2a26ad62a5c155af9199af9e69b889claireho # reset 492027f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS_OLD}" 492127f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS_OLD}" 492227f654740f2a26ad62a5c155af9199af9e69b889claireho # append 492327f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} +DA2.0W" 492427f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} +DA2.0W" 492527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 492627f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 492727f654740f2a26ad62a5c155af9199af9e69b889clairehoint main(void) {return (sizeof(void*)*8==64)?0:1;} 492827f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 492927f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 493027f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=yes 4931ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 493227f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=no 493385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 493485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 493527f654740f2a26ad62a5c155af9199af9e69b889claireho fi 493627f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 493727f654740f2a26ad62a5c155af9199af9e69b889claireho *-*ibm-openedition*|*-*-os390*) 493827f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} -Wc,lp64" 493927f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} -Wc,lp64" 494027f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS="${LDFLAGS} -Wl,lp64" 494127f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4942ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 494327f654740f2a26ad62a5c155af9199af9e69b889clairehoint main(void) {return (sizeof(void*)*8==64)?0:1;} 494485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 494527f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 494627f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=yes 494727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 494827f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_64=no 494927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 495027f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 495127f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 495227f654740f2a26ad62a5c155af9199af9e69b889claireho *) 495327f654740f2a26ad62a5c155af9199af9e69b889claireho # unknown platform. 495427f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 495527f654740f2a26ad62a5c155af9199af9e69b889claireho esac 495627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 495727f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_64" >&5 495827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$CAN_BUILD_64" >&6; } 495927f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$CAN_BUILD_64" = yes; then 496027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64-bit binaries are being built " >&5 496127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether runnable 64-bit binaries are being built ... " >&6; } 496227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$cross_compiling" = yes; then : 496327f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_RUN_64=unknown 496427f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 496527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 496685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* end confdefs.h. */ 496727f654740f2a26ad62a5c155af9199af9e69b889clairehoint main(void) {return (sizeof(void*)*8==64)?0:1;} 496827f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 496927f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_run "$LINENO"; then : 497027f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_RUN_64=yes 497127f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 497227f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_RUN_64=no 497327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 497427f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 497527f654740f2a26ad62a5c155af9199af9e69b889claireho conftest.$ac_objext conftest.beam conftest.$ac_ext 497627f654740f2a26ad62a5c155af9199af9e69b889clairehofi 497785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 497827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_64" >&5 497927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$BITS_RUN_64" >&6; }; 498085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 498127f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS_64="${CFLAGS}" 498227f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS_64="${CXXFLAGS}" 498327f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS_64="${LDFLAGS}" 498427f654740f2a26ad62a5c155af9199af9e69b889claireho ARFLAGS_64="${ARFLAGS}" 498527f654740f2a26ad62a5c155af9199af9e69b889claireho fi 498627f654740f2a26ad62a5c155af9199af9e69b889claireho # put it back. 498727f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS_OLD}" 498827f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS_OLD}" 498927f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS="${LDFLAGS_OLD}" 499027f654740f2a26ad62a5c155af9199af9e69b889claireho ARFLAGS="${ARFLAGS_OLD}" 499127f654740f2a26ad62a5c155af9199af9e69b889claireho fi 499227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$BITS_CHECK_32" = "yes"; then 499327f654740f2a26ad62a5c155af9199af9e69b889claireho # see comment under 'if BITS_CHECK_64', above. 499427f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 32-bit executables" >&5 499527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking how to build 32-bit executables... " >&6; } 499627f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 499727f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} -m32" 499827f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} -m32" 499927f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 500027f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 500127f654740f2a26ad62a5c155af9199af9e69b889clairehoint main(void) {return (sizeof(void*)*8==32)?0:1;} 500285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 500327f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 500427f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_32=yes 500585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 500627f654740f2a26ad62a5c155af9199af9e69b889claireho CAN_BUILD_32=no 5007ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 500885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 500927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 501027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_32" >&5 501127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$CAN_BUILD_32" >&6; } 501227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$CAN_BUILD_32" = yes; then 501327f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 32-bit binaries are being built " >&5 501427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether runnable 32-bit binaries are being built ... " >&6; } 501527f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$cross_compiling" = yes; then : 501627f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_RUN_32=unknown 5017ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 501827f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 501927f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 502027f654740f2a26ad62a5c155af9199af9e69b889clairehoint main(void) {return (sizeof(void*)*8==32)?0:1;} 502127f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 502227f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_run "$LINENO"; then : 502327f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_RUN_32=yes 502427f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 502527f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_RUN_32=no 502627f654740f2a26ad62a5c155af9199af9e69b889clairehofi 502727f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 502827f654740f2a26ad62a5c155af9199af9e69b889claireho conftest.$ac_objext conftest.beam conftest.$ac_ext 502927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 503085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 503127f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_32" >&5 503227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$BITS_RUN_32" >&6; }; 503327f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS_32="${CFLAGS}" 503427f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS_32="${CXXFLAGS}" 503527f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS_32="${LDFLAGS}" 503627f654740f2a26ad62a5c155af9199af9e69b889claireho ARFLAGS_32="${ARFLAGS}" 503727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 503827f654740f2a26ad62a5c155af9199af9e69b889claireho # put it back. 503927f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS_OLD}" 504027f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS_OLD}" 504127f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS="${LDFLAGS_OLD}" 504227f654740f2a26ad62a5c155af9199af9e69b889claireho ARFLAGS="${ARFLAGS_OLD}" 504327f654740f2a26ad62a5c155af9199af9e69b889claireho fi 504485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 504527f654740f2a26ad62a5c155af9199af9e69b889claireho ## 504627f654740f2a26ad62a5c155af9199af9e69b889claireho # OK. Now, we've tested for 32 and 64 bitness. Let's see what we'll do. 504727f654740f2a26ad62a5c155af9199af9e69b889claireho # 504885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 504927f654740f2a26ad62a5c155af9199af9e69b889claireho # First, implement 64else32 505027f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$BITS_REQ" = "64else32"; then 505127f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$BITS_RUN_64" = "yes"; then 505227f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_REQ=64 505327f654740f2a26ad62a5c155af9199af9e69b889claireho else 505427f654740f2a26ad62a5c155af9199af9e69b889claireho # no changes. 505527f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_OK=yes 505627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 505727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 505885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 505927f654740f2a26ad62a5c155af9199af9e69b889claireho # implement. 506027f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$BITS_REQ" = "32" -a "$BITS_RUN_32" = "yes"; then 506127f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS_32}" 506227f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS_32}" 506327f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS="${LDFLAGS_32}" 506427f654740f2a26ad62a5c155af9199af9e69b889claireho ARFLAGS="${ARFLAGS_32}" 506527f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_OK=yes 506627f654740f2a26ad62a5c155af9199af9e69b889claireho elif test "$BITS_REQ" = "64" -a "$BITS_RUN_64" = "yes"; then 506727f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS_64}" 506827f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS_64}" 506927f654740f2a26ad62a5c155af9199af9e69b889claireho LDFLAGS="${LDFLAGS_64}" 507027f654740f2a26ad62a5c155af9199af9e69b889claireho ARFLAGS="${ARFLAGS_64}" 507127f654740f2a26ad62a5c155af9199af9e69b889claireho BITS_OK=yes 507227f654740f2a26ad62a5c155af9199af9e69b889claireho elif test "$BITS_OK" != "yes"; then 507327f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "Requested $BITS_REQ bit binaries but could not compile and execute them. See readme.html for help with cross compilation., and set compiler options manually." "$LINENO" 5 507427f654740f2a26ad62a5c155af9199af9e69b889claireho fi 507527f654740f2a26ad62a5c155af9199af9e69b889claireho fi 5076ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 507785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 507885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 507927f654740f2a26ad62a5c155af9199af9e69b889claireho 508027f654740f2a26ad62a5c155af9199af9e69b889claireho# Determine the Makefile fragment 508127f654740f2a26ad62a5c155af9199af9e69b889claireho 508227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking which Makefile fragment to use for ${host}" >&5 508327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking which Makefile fragment to use for ${host}... " >&6; } 508427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${icu_cv_host_frag+set}" = set; then : 508527f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 5086ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 508727f654740f2a26ad62a5c155af9199af9e69b889claireho 508827f654740f2a26ad62a5c155af9199af9e69b889clairehocase "${host}" in 508927f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-solaris*) 509027f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 509127f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-solaris-gcc 509227f654740f2a26ad62a5c155af9199af9e69b889claireho else 509327f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-solaris 509427f654740f2a26ad62a5c155af9199af9e69b889claireho fi ;; 509527f654740f2a26ad62a5c155af9199af9e69b889clairehoalpha*-*-linux-gnu) 509627f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 509727f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-alpha-linux-gcc 509827f654740f2a26ad62a5c155af9199af9e69b889claireho else 509927f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-alpha-linux-cc 510027f654740f2a26ad62a5c155af9199af9e69b889claireho fi ;; 510127f654740f2a26ad62a5c155af9199af9e69b889clairehopowerpc*-*-linux*) 510227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 510327f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-linux 510427f654740f2a26ad62a5c155af9199af9e69b889claireho else 510527f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-linux-va 510627f654740f2a26ad62a5c155af9199af9e69b889claireho fi ;; 510727f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag=mh-linux ;; 510827f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-cygwin|*-*-mingw32) 510927f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 511027f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5111ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 511227f654740f2a26ad62a5c155af9199af9e69b889claireho 511327f654740f2a26ad62a5c155af9199af9e69b889claireho#ifndef __MINGW32__ 511427f654740f2a26ad62a5c155af9199af9e69b889claireho#error This is not MinGW 511527f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 5116ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 5117ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 5118ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 511985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 512085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ; 512185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho return 0; 5122ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 5123ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 512427f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 512527f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-mingw 5126ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 512727f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-cygwin 5128ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 512927f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 513027f654740f2a26ad62a5c155af9199af9e69b889claireho else 513127f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-cygwin-msvc 513227f654740f2a26ad62a5c155af9199af9e69b889claireho fi ;; 513327f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-*bsd*|*-*-dragonfly*) icu_cv_host_frag=mh-bsd-gcc ;; 513427f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-aix*) 513527f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 513627f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-aix-gcc 513727f654740f2a26ad62a5c155af9199af9e69b889claireho else 513827f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-aix-va 513927f654740f2a26ad62a5c155af9199af9e69b889claireho fi ;; 514027f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-hpux*) 514127f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 514227f654740f2a26ad62a5c155af9199af9e69b889claireho icu_cv_host_frag=mh-hpux-gcc 514327f654740f2a26ad62a5c155af9199af9e69b889claireho else 514427f654740f2a26ad62a5c155af9199af9e69b889claireho case "$CXX" in 514527f654740f2a26ad62a5c155af9199af9e69b889claireho *aCC) icu_cv_host_frag=mh-hpux-acc ;; 514627f654740f2a26ad62a5c155af9199af9e69b889claireho esac 514727f654740f2a26ad62a5c155af9199af9e69b889claireho fi ;; 514827f654740f2a26ad62a5c155af9199af9e69b889claireho*-*ibm-openedition*|*-*-os390*) icu_cv_host_frag=mh-os390 ;; 514927f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-os400*) icu_cv_host_frag=mh-os400 ;; 515027f654740f2a26ad62a5c155af9199af9e69b889claireho*-apple-rhapsody*) icu_cv_host_frag=mh-darwin ;; 515127f654740f2a26ad62a5c155af9199af9e69b889claireho*-apple-darwin*) icu_cv_host_frag=mh-darwin ;; 515227f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-beos) icu_cv_host_frag=mh-beos ;; 515327f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-haiku) icu_cv_host_frag=mh-haiku ;; 515427f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-irix*) icu_cv_host_frag=mh-irix ;; 515527f654740f2a26ad62a5c155af9199af9e69b889claireho*-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;; 515627f654740f2a26ad62a5c155af9199af9e69b889claireho*-*-nto*) icu_cv_host_frag=mh-qnx ;; 515727f654740f2a26ad62a5c155af9199af9e69b889claireho*-ncr-*) icu_cv_host_frag=mh-mpras ;; 515827f654740f2a26ad62a5c155af9199af9e69b889claireho*) icu_cv_host_frag=mh-unknown ;; 515927f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 516085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 5161ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5162ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 516327f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $icu_cv_host_frag" >&5 516427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$icu_cv_host_frag" >&6; } 5165ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5166ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 516727f654740f2a26ad62a5c155af9199af9e69b889claireho# Checks for libraries and other host specific stuff 516827f654740f2a26ad62a5c155af9199af9e69b889claireho# On HP/UX, don't link to -lm from a shared lib because it isn't 516927f654740f2a26ad62a5c155af9199af9e69b889claireho# PIC (at least on 10.2) 517027f654740f2a26ad62a5c155af9199af9e69b889clairehocase "${host}" in 517127f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-hpux*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5 517227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for floor in -lm... " >&6; } 517327f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_lib_m_floor+set}" = set; then : 517485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 5175ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 517627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_check_lib_save_LIBS=$LIBS 517727f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS="-lm $LIBS" 517827f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 5179ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 5180ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 518185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* Override any GCC internal prototype to avoid an error. 518285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho Use char because int might match the return type of a GCC 518385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho builtin and then its argument prototype would still apply. */ 5184ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#ifdef __cplusplus 5185ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruextern "C" 5186ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 518727f654740f2a26ad62a5c155af9199af9e69b889clairehochar floor (); 5188ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 5189ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 5190ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 519127f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn floor (); 5192ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 5193ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 5194ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 5195ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 519627f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 519727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_lib_m_floor=yes 5198ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 519927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_lib_m_floor=no 5200ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 520127f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 520227f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 520327f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS=$ac_check_lib_save_LIBS 5204ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 520527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5 520627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_lib_m_floor" >&6; } 520727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_lib_m_floor" = x""yes; then : 520827f654740f2a26ad62a5c155af9199af9e69b889claireho LIB_M="-lm" 5209ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 521027f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 5211ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 521227f654740f2a26ad62a5c155af9199af9e69b889claireho *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5 521327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for floor in -lm... " >&6; } 521427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_lib_m_floor+set}" = set; then : 521585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 5216ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 521727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_check_lib_save_LIBS=$LIBS 521827f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS="-lm $LIBS" 521927f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 5220ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 522127f654740f2a26ad62a5c155af9199af9e69b889claireho 522227f654740f2a26ad62a5c155af9199af9e69b889claireho/* Override any GCC internal prototype to avoid an error. 522327f654740f2a26ad62a5c155af9199af9e69b889claireho Use char because int might match the return type of a GCC 522427f654740f2a26ad62a5c155af9199af9e69b889claireho builtin and then its argument prototype would still apply. */ 522527f654740f2a26ad62a5c155af9199af9e69b889claireho#ifdef __cplusplus 522627f654740f2a26ad62a5c155af9199af9e69b889clairehoextern "C" 522727f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 522827f654740f2a26ad62a5c155af9199af9e69b889clairehochar floor (); 5229ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 5230ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 5231ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 523227f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn floor (); 5233ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 5234ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 5235ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 5236ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 523727f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 523827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_lib_m_floor=yes 5239ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 524027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_lib_m_floor=no 524127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 524227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 524327f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 524427f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS=$ac_check_lib_save_LIBS 524527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 524627f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5 524727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_lib_m_floor" >&6; } 524827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_lib_m_floor" = x""yes; then : 524927f654740f2a26ad62a5c155af9199af9e69b889claireho cat >>confdefs.h <<_ACEOF 525027f654740f2a26ad62a5c155af9199af9e69b889claireho#define HAVE_LIBM 1 525127f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 5252ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 525327f654740f2a26ad62a5c155af9199af9e69b889claireho LIBS="-lm $LIBS" 525485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 5255ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 525685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 525727f654740f2a26ad62a5c155af9199af9e69b889claireho LIB_M="" ;; 525827f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 525927f654740f2a26ad62a5c155af9199af9e69b889claireho 526027f654740f2a26ad62a5c155af9199af9e69b889claireho 526127f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether to build shared libraries 526227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 526327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether to build shared libraries... " >&6; } 526427f654740f2a26ad62a5c155af9199af9e69b889clairehoenabled=no 526527f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --enable-shared was given. 526627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_shared+set}" = set; then : 526727f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_shared; case "${enableval}" in 526827f654740f2a26ad62a5c155af9199af9e69b889claireho yes|"") enabled=yes; ENABLE_SHARED=YES ;; 526927f654740f2a26ad62a5c155af9199af9e69b889claireho no);; 527027f654740f2a26ad62a5c155af9199af9e69b889claireho *) ;; 527127f654740f2a26ad62a5c155af9199af9e69b889claireho esac 527227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 527327f654740f2a26ad62a5c155af9199af9e69b889claireho enabled=yes; ENABLE_SHARED=YES 527427f654740f2a26ad62a5c155af9199af9e69b889claireho 5275ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 527627f654740f2a26ad62a5c155af9199af9e69b889claireho 527727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5 527827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$enabled" >&6; } 527927f654740f2a26ad62a5c155af9199af9e69b889claireho 528027f654740f2a26ad62a5c155af9199af9e69b889claireho 528127f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether to build static libraries 528227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 528327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether to build static libraries... " >&6; } 528427f654740f2a26ad62a5c155af9199af9e69b889clairehoenabled=no 528527f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --enable-static was given. 528627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_static+set}" = set; then : 528727f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_static; case "${enableval}" in 528827f654740f2a26ad62a5c155af9199af9e69b889claireho yes|"") enabled=yes; ENABLE_STATIC=YES ;; 528927f654740f2a26ad62a5c155af9199af9e69b889claireho no) ;; 529027f654740f2a26ad62a5c155af9199af9e69b889claireho *) ;; 529127f654740f2a26ad62a5c155af9199af9e69b889claireho esac 5292ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 5293ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 529427f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5 529527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$enabled" >&6; } 529627f654740f2a26ad62a5c155af9199af9e69b889claireho 529727f654740f2a26ad62a5c155af9199af9e69b889claireho 529827f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether to enable auto cleanup of libraries 529927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable auto cleanup of libraries" >&5 530027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether to enable auto cleanup of libraries... " >&6; } 530127f654740f2a26ad62a5c155af9199af9e69b889clairehoenabled=no 530227f654740f2a26ad62a5c155af9199af9e69b889clairehoUCLN_NO_AUTO_CLEANUP=1 530327f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --enable-auto-cleanup was given. 530427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_auto_cleanup+set}" = set; then : 530527f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_auto_cleanup; case "${enableval}" in 530627f654740f2a26ad62a5c155af9199af9e69b889claireho yes) enabled=yes; UCLN_NO_AUTO_CLEANUP=0 ;; 530727f654740f2a26ad62a5c155af9199af9e69b889claireho *) ;; 530827f654740f2a26ad62a5c155af9199af9e69b889claireho esac 530927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 5310ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 531127f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5 531227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$enabled" >&6; } 5313ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5314ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 531527f654740f2a26ad62a5c155af9199af9e69b889claireho# MSVC floating-point option 531627f654740f2a26ad62a5c155af9199af9e69b889clairehoMSVC_RELEASE_FLAG="" 531727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $enabled = yes 531827f654740f2a26ad62a5c155af9199af9e69b889clairehothen 531927f654740f2a26ad62a5c155af9199af9e69b889claireho if test $icu_cv_host_frag = mh-cygwin-msvc 532027f654740f2a26ad62a5c155af9199af9e69b889claireho then 532127f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5322ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 532327f654740f2a26ad62a5c155af9199af9e69b889claireho 532427f654740f2a26ad62a5c155af9199af9e69b889claireho #if defined _MSC_VER && _MSC_VER >= 1400 532527f654740f2a26ad62a5c155af9199af9e69b889claireho #else 532627f654740f2a26ad62a5c155af9199af9e69b889claireho Microsoft Visual C++ < 2005 532727f654740f2a26ad62a5c155af9199af9e69b889claireho #endif 5328ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5329ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 5330ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 5331ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 533227f654740f2a26ad62a5c155af9199af9e69b889claireho 5333ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 5334ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 5335ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 5336ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 533727f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 533827f654740f2a26ad62a5c155af9199af9e69b889claireho MSVC_RELEASE_FLAG="/fp:precise" 5339ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 534027f654740f2a26ad62a5c155af9199af9e69b889claireho MSVC_RELEASE_FLAG="/Op" 534127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 534227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5343ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 534427f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} ${MSVC_RELEASE_FLAG}" 534527f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} ${MSVC_RELEASE_FLAG}" 534627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 5347ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 534885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 534927f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether to enabled draft APIs 535027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable draft APIs" >&5 535127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether to enable draft APIs... " >&6; } 535227f654740f2a26ad62a5c155af9199af9e69b889clairehoenabled=yes 535327f654740f2a26ad62a5c155af9199af9e69b889clairehoU_DEFAULT_SHOW_DRAFT=1 535427f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --enable-draft was given. 535527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_draft+set}" = set; then : 535627f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_draft; case "${enableval}" in 535727f654740f2a26ad62a5c155af9199af9e69b889claireho no) enabled=no; U_DEFAULT_SHOW_DRAFT=0 ;; 535827f654740f2a26ad62a5c155af9199af9e69b889claireho *) ;; 535927f654740f2a26ad62a5c155af9199af9e69b889claireho esac 5360ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 5361ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 536227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5 536327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$enabled" >&6; } 536427f654740f2a26ad62a5c155af9199af9e69b889claireho# Make sure that we can use draft API in ICU. 536527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$U_DEFAULT_SHOW_DRAFT" = 0; then 536627f654740f2a26ad62a5c155af9199af9e69b889claireho CPPFLAGS="$CPPFLAGS -DU_SHOW_DRAFT_API" 5367ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 5368ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5369ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 537027f654740f2a26ad62a5c155af9199af9e69b889claireho# Check if we can hide variables from 537127f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library API export" >&5 537227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for library API export... " >&6; } 537327f654740f2a26ad62a5c155af9199af9e69b889clairehoSHAREDLIBEXPORT=no 537427f654740f2a26ad62a5c155af9199af9e69b889clairehoU_USE_GCC_VISIBILITY_ATTRIBUTE=0 537527f654740f2a26ad62a5c155af9199af9e69b889clairehoOLD_CFLAGS="${CFLAGS}" 537627f654740f2a26ad62a5c155af9199af9e69b889clairehoOLD_CXXFLAGS="${CXXFLAGS}" 537727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$ac_cv_c_compiler_gnu" = yes; then 537827f654740f2a26ad62a5c155af9199af9e69b889claireho LIBCFLAGS="-fvisibility=hidden" 537927f654740f2a26ad62a5c155af9199af9e69b889claireho LIBCXXFLAGS="-fvisibility=hidden" 538027f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} ${LIBCFLAGS}" 538127f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} ${LIBCXXFLAGS}" 538227f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5383ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 538427f654740f2a26ad62a5c155af9199af9e69b889claireho__attribute__ ((visibility ("default"))) void f(void); 538585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#include <stdlib.h> 5386ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 5387ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 5388ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 538927f654740f2a26ad62a5c155af9199af9e69b889clairehoexit(0); 5390ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 5391ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 5392ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 5393ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 539427f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 539527f654740f2a26ad62a5c155af9199af9e69b889claireho SHAREDLIBEXPORT=yes 5396ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 539727f654740f2a26ad62a5c155af9199af9e69b889claireho SHAREDLIBEXPORT=no 5398ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 539927f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 540027f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 540127f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$SHAREDLIBEXPORT" = no; then 540227f654740f2a26ad62a5c155af9199af9e69b889claireho LIBCFLAGS= 540327f654740f2a26ad62a5c155af9199af9e69b889claireho LIBCXXFLAGS= 540427f654740f2a26ad62a5c155af9199af9e69b889claireho else 540527f654740f2a26ad62a5c155af9199af9e69b889claireho U_USE_GCC_VISIBILITY_ATTRIBUTE=1 540627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 5407ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 540827f654740f2a26ad62a5c155af9199af9e69b889claireho case "${host}" in 540927f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-solaris*) 541027f654740f2a26ad62a5c155af9199af9e69b889claireho LIBCFLAGS="-xldscope=hidden" 541127f654740f2a26ad62a5c155af9199af9e69b889claireho LIBCXXFLAGS="-xldscope=hidden" 541227f654740f2a26ad62a5c155af9199af9e69b889claireho CFLAGS="${CFLAGS} ${LIBCFLAGS}" 541327f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} ${LIBCXXFLAGS}" 541427f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5415ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 541627f654740f2a26ad62a5c155af9199af9e69b889claireho__global void f(void); 541785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho#include <stdlib.h> 5418ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 5419ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 5420ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 542127f654740f2a26ad62a5c155af9199af9e69b889clairehoexit(0); 5422ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 5423ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 5424ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 5425ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 542627f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 542727f654740f2a26ad62a5c155af9199af9e69b889claireho SHAREDLIBEXPORT=yes 5428ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 542927f654740f2a26ad62a5c155af9199af9e69b889claireho SHAREDLIBEXPORT=no 5430ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 543127f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 543227f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 543327f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$SHAREDLIBEXPORT" = no; then 543427f654740f2a26ad62a5c155af9199af9e69b889claireho LIBCFLAGS= 543527f654740f2a26ad62a5c155af9199af9e69b889claireho LIBCXXFLAGS= 543627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 543727f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 543827f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-hpux*) 543927f654740f2a26ad62a5c155af9199af9e69b889claireho # ICU isn't set up to follow the HP syntax yet. 544027f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 544127f654740f2a26ad62a5c155af9199af9e69b889claireho *) 544227f654740f2a26ad62a5c155af9199af9e69b889claireho esac 5443ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 544427f654740f2a26ad62a5c155af9199af9e69b889claireho# Restore to their original state because the Intel compiler chokes 544527f654740f2a26ad62a5c155af9199af9e69b889claireho# on this option when checking for the wchar_t size, but the 544627f654740f2a26ad62a5c155af9199af9e69b889claireho# option otherwise works. 544727f654740f2a26ad62a5c155af9199af9e69b889clairehoCFLAGS="${OLD_CFLAGS}" 544827f654740f2a26ad62a5c155af9199af9e69b889clairehoCXXFLAGS="${OLD_CXXFLAGS}" 544927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHAREDLIBEXPORT" >&5 545027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$SHAREDLIBEXPORT" >&6; } 5451ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5452ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5453ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 545450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 545527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$ac_tool_prefix"; then 545627f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 545727f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy ${ac_tool_prefix}ranlib; ac_word=$2 545827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 545927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $ac_word... " >&6; } 546027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_RANLIB+set}" = set; then : 546127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 546227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 546327f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$RANLIB"; then 546427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 546527f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 546627f654740f2a26ad62a5c155af9199af9e69b889clairehoas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 546727f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH 546827f654740f2a26ad62a5c155af9199af9e69b889clairehodo 546927f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 547027f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 547127f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 547227f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 547327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 547427f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 547527f654740f2a26ad62a5c155af9199af9e69b889claireho break 2 547627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 547727f654740f2a26ad62a5c155af9199af9e69b889clairehodone 547827f654740f2a26ad62a5c155af9199af9e69b889claireho done 547927f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 548050294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 548127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 548227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 548327f654740f2a26ad62a5c155af9199af9e69b889clairehoRANLIB=$ac_cv_prog_RANLIB 548427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$RANLIB"; then 548527f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 548627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$RANLIB" >&6; } 548727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 548827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 548927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 549027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 549127f654740f2a26ad62a5c155af9199af9e69b889claireho 549227f654740f2a26ad62a5c155af9199af9e69b889claireho 549327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 549427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$ac_cv_prog_RANLIB"; then 549527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_ct_RANLIB=$RANLIB 549627f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "ranlib", so it can be a program name with args. 549727f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy ranlib; ac_word=$2 549827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 549927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $ac_word... " >&6; } 550027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 550127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 550250294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoelse 550327f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$ac_ct_RANLIB"; then 550427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 550527f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 550627f654740f2a26ad62a5c155af9199af9e69b889clairehoas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 550727f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH 550827f654740f2a26ad62a5c155af9199af9e69b889clairehodo 550927f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 551027f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 551127f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 551227f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 551327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_ac_ct_RANLIB="ranlib" 551427f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 551527f654740f2a26ad62a5c155af9199af9e69b889claireho break 2 551627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 551727f654740f2a26ad62a5c155af9199af9e69b889clairehodone 551827f654740f2a26ad62a5c155af9199af9e69b889claireho done 551927f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 552050294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 552127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 552227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 552327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 552427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$ac_ct_RANLIB"; then 552527f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 552627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_ct_RANLIB" >&6; } 552727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 552827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 552950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho$as_echo "no" >&6; } 553050294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 553150294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 553227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "x$ac_ct_RANLIB" = x; then 553327f654740f2a26ad62a5c155af9199af9e69b889claireho RANLIB=":" 553427f654740f2a26ad62a5c155af9199af9e69b889claireho else 553527f654740f2a26ad62a5c155af9199af9e69b889claireho case $cross_compiling:$ac_tool_warned in 553627f654740f2a26ad62a5c155af9199af9e69b889clairehoyes:) 553727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 553827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 553927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_tool_warned=yes ;; 554027f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 554127f654740f2a26ad62a5c155af9199af9e69b889claireho RANLIB=$ac_ct_RANLIB 554227f654740f2a26ad62a5c155af9199af9e69b889claireho fi 554327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 554427f654740f2a26ad62a5c155af9199af9e69b889claireho RANLIB="$ac_cv_prog_RANLIB" 554527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 554650294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 5547ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 554827f654740f2a26ad62a5c155af9199af9e69b889claireho# look for 'ar' the proper way 554927f654740f2a26ad62a5c155af9199af9e69b889claireho#AC_PATH_PROG(AR,ar,[echo archiver ar not found re-run configure ; false],$PATH:/bin:/usr/bin:/usr/ccs/bin) 555027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$ac_tool_prefix"; then 555127f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 555227f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy ${ac_tool_prefix}ar; ac_word=$2 555327f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 555427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $ac_word... " >&6; } 555527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_AR+set}" = set; then : 555685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 5557ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 555827f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$AR"; then 555927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_AR="$AR" # Let the user override the test. 556027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 556127f654740f2a26ad62a5c155af9199af9e69b889clairehoas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 556227f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH 556327f654740f2a26ad62a5c155af9199af9e69b889clairehodo 556427f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 556527f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 556627f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 556727f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 556827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_AR="${ac_tool_prefix}ar" 556927f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 557027f654740f2a26ad62a5c155af9199af9e69b889claireho break 2 557127f654740f2a26ad62a5c155af9199af9e69b889claireho fi 557227f654740f2a26ad62a5c155af9199af9e69b889clairehodone 557327f654740f2a26ad62a5c155af9199af9e69b889claireho done 557427f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 5575ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 557627f654740f2a26ad62a5c155af9199af9e69b889clairehofi 557727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 557827f654740f2a26ad62a5c155af9199af9e69b889clairehoAR=$ac_cv_prog_AR 557927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$AR"; then 558027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 558127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$AR" >&6; } 558227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 558327f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 558427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 558527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 5586ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5587ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 558827f654740f2a26ad62a5c155af9199af9e69b889clairehofi 558927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$ac_cv_prog_AR"; then 559027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_ct_AR=$AR 559127f654740f2a26ad62a5c155af9199af9e69b889claireho # Extract the first word of "ar", so it can be a program name with args. 559227f654740f2a26ad62a5c155af9199af9e69b889clairehoset dummy ar; ac_word=$2 559327f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 559427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for $ac_word... " >&6; } 559527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 559627f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 559727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 559827f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$ac_ct_AR"; then 559927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 560027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 560127f654740f2a26ad62a5c155af9199af9e69b889clairehoas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 560227f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_dir in $PATH 560327f654740f2a26ad62a5c155af9199af9e69b889clairehodo 560427f654740f2a26ad62a5c155af9199af9e69b889claireho IFS=$as_save_IFS 560527f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dir" && as_dir=. 560627f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_exec_ext in '' $ac_executable_extensions; do 560727f654740f2a26ad62a5c155af9199af9e69b889claireho if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 560827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_prog_ac_ct_AR="ar" 560927f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 561027f654740f2a26ad62a5c155af9199af9e69b889claireho break 2 561127f654740f2a26ad62a5c155af9199af9e69b889claireho fi 561227f654740f2a26ad62a5c155af9199af9e69b889clairehodone 561327f654740f2a26ad62a5c155af9199af9e69b889claireho done 561427f654740f2a26ad62a5c155af9199af9e69b889clairehoIFS=$as_save_IFS 5615ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 561627f654740f2a26ad62a5c155af9199af9e69b889clairehofi 561727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 561827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ct_AR=$ac_cv_prog_ac_ct_AR 561927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "$ac_ct_AR"; then 562027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 562127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_ct_AR" >&6; } 562227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 562327f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 562427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 562527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 5626ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 562727f654740f2a26ad62a5c155af9199af9e69b889claireho if test "x$ac_ct_AR" = x; then 562827f654740f2a26ad62a5c155af9199af9e69b889claireho AR="" 562927f654740f2a26ad62a5c155af9199af9e69b889claireho else 563027f654740f2a26ad62a5c155af9199af9e69b889claireho case $cross_compiling:$ac_tool_warned in 563127f654740f2a26ad62a5c155af9199af9e69b889clairehoyes:) 563227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 563327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 563427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_tool_warned=yes ;; 563585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 563627f654740f2a26ad62a5c155af9199af9e69b889claireho AR=$ac_ct_AR 563727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 5638ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 563927f654740f2a26ad62a5c155af9199af9e69b889claireho AR="$ac_cv_prog_AR" 564027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 5641ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 564227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$AR" = "x"; then 564327f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "Archiver ar not found. Set AR= or fix PATH" "$LINENO" 5 5644ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 564585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 564627f654740f2a26ad62a5c155af9199af9e69b889claireho 564727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable renaming of symbols" >&5 564827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether to enable renaming of symbols... " >&6; } 564927f654740f2a26ad62a5c155af9199af9e69b889clairehoenabled=yes 565027f654740f2a26ad62a5c155af9199af9e69b889clairehoU_DISABLE_RENAMING=0 565127f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --enable-renaming was given. 565227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_renaming+set}" = set; then : 565327f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_renaming; case "${enableval}" in 565427f654740f2a26ad62a5c155af9199af9e69b889claireho yes|"") enabled=yes ;; 565527f654740f2a26ad62a5c155af9199af9e69b889claireho no) enabled=no; U_DISABLE_RENAMING=1 ;; 565627f654740f2a26ad62a5c155af9199af9e69b889claireho *) ;; 565727f654740f2a26ad62a5c155af9199af9e69b889claireho esac 5658ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 5659ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 566027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5 566127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$enabled" >&6; } 566227f654740f2a26ad62a5c155af9199af9e69b889claireho 566327f654740f2a26ad62a5c155af9199af9e69b889claireho 566427f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable function and data tracing" >&5 566527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether to enable function and data tracing... " >&6; } 566627f654740f2a26ad62a5c155af9199af9e69b889clairehoenabled=no 566727f654740f2a26ad62a5c155af9199af9e69b889clairehoU_ENABLE_TRACING=0 566827f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --enable-tracing was given. 566927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_tracing+set}" = set; then : 567027f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_tracing; case "${enableval}" in 567127f654740f2a26ad62a5c155af9199af9e69b889claireho yes|"") enabled=yes; U_ENABLE_TRACING=1 ;; 567227f654740f2a26ad62a5c155af9199af9e69b889claireho no) enabled=no; U_ENABLE_TRACING=0 ;; 567327f654740f2a26ad62a5c155af9199af9e69b889claireho *) ;; 567427f654740f2a26ad62a5c155af9199af9e69b889claireho esac 5675ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 5676ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 567727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5 567827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$enabled" >&6; } 5679ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5680ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5681ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 568227f654740f2a26ad62a5c155af9199af9e69b889clairehoU_ENABLE_DYLOAD=1 568327f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins" >&5 568427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether to enable dynamic loading of plugins... " >&6; } 568527f654740f2a26ad62a5c155af9199af9e69b889clairehoenabled=check 568627f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --enable-dyload was given. 568727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_dyload+set}" = set; then : 568827f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_dyload; case "${enableval}" in 568927f654740f2a26ad62a5c155af9199af9e69b889claireho yes|"") 569027f654740f2a26ad62a5c155af9199af9e69b889claireho U_ENABLE_DYLOAD=1 569127f654740f2a26ad62a5c155af9199af9e69b889claireho enabled=check ;; 569227f654740f2a26ad62a5c155af9199af9e69b889claireho no) 569327f654740f2a26ad62a5c155af9199af9e69b889claireho U_ENABLE_DYLOAD=0; 569427f654740f2a26ad62a5c155af9199af9e69b889claireho enabled=disabled ;; 569527f654740f2a26ad62a5c155af9199af9e69b889claireho *) ;; 569627f654740f2a26ad62a5c155af9199af9e69b889claireho esac 569727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 5698ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5699ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5700ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 570127f654740f2a26ad62a5c155af9199af9e69b889claireho# goes into icucfg.h 570227f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_header in dlfcn.h 570327f654740f2a26ad62a5c155af9199af9e69b889clairehodo : 570427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 570527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_header_dlfcn_h" = x""yes; then : 570627f654740f2a26ad62a5c155af9199af9e69b889claireho cat >>confdefs.h <<_ACEOF 570727f654740f2a26ad62a5c155af9199af9e69b889claireho#define HAVE_DLFCN_H 1 570827f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 5709ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5710ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 571185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 571227f654740f2a26ad62a5c155af9199af9e69b889clairehodone 5713ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 571427f654740f2a26ad62a5c155af9199af9e69b889clairehoU_CHECK_DYLOAD=0 571527f654740f2a26ad62a5c155af9199af9e69b889claireho#AC_MSG_RESULT($enabled) 571627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$enabled" = "check"; then 571727f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 571827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for library containing dlopen... " >&6; } 571927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_search_dlopen+set}" = set; then : 572085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 5721ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 572227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_func_search_save_LIBS=$LIBS 572327f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 5724ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 5725ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 572685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* Override any GCC internal prototype to avoid an error. 572785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho Use char because int might match the return type of a GCC 572885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho builtin and then its argument prototype would still apply. */ 5729ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#ifdef __cplusplus 5730ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruextern "C" 5731ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 573227f654740f2a26ad62a5c155af9199af9e69b889clairehochar dlopen (); 5733ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 5734ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 5735ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 573627f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn dlopen (); 5737ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 5738ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 5739ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 5740ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 574127f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_lib in '' dl; do 574227f654740f2a26ad62a5c155af9199af9e69b889claireho if test -z "$ac_lib"; then 574327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_res="none required" 574427f654740f2a26ad62a5c155af9199af9e69b889claireho else 574527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_res=-l$ac_lib 574627f654740f2a26ad62a5c155af9199af9e69b889claireho LIBS="-l$ac_lib $ac_func_search_save_LIBS" 574727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 574827f654740f2a26ad62a5c155af9199af9e69b889claireho if ac_fn_c_try_link "$LINENO"; then : 574927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_search_dlopen=$ac_res 575027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 575127f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 575227f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext 575327f654740f2a26ad62a5c155af9199af9e69b889claireho if test "${ac_cv_search_dlopen+set}" = set; then : 575427f654740f2a26ad62a5c155af9199af9e69b889claireho break 575527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 575627f654740f2a26ad62a5c155af9199af9e69b889clairehodone 575727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_search_dlopen+set}" = set; then : 575827f654740f2a26ad62a5c155af9199af9e69b889claireho 5759ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 576027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_search_dlopen=no 576127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 576227f654740f2a26ad62a5c155af9199af9e69b889clairehorm conftest.$ac_ext 576327f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS=$ac_func_search_save_LIBS 576427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 576527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 576627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_search_dlopen" >&6; } 576727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_res=$ac_cv_search_dlopen 576827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$ac_res" != no; then : 576927f654740f2a26ad62a5c155af9199af9e69b889claireho test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5770ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5771ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 577285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 577327f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_func in dlopen 577427f654740f2a26ad62a5c155af9199af9e69b889clairehodo : 577527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 577627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_func_dlopen" = x""yes; then : 577727f654740f2a26ad62a5c155af9199af9e69b889claireho cat >>confdefs.h <<_ACEOF 577827f654740f2a26ad62a5c155af9199af9e69b889claireho#define HAVE_DLOPEN 1 577927f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 578027f654740f2a26ad62a5c155af9199af9e69b889claireho 5781ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 578227f654740f2a26ad62a5c155af9199af9e69b889clairehodone 5783ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 578427f654740f2a26ad62a5c155af9199af9e69b889claireho U_CHECK_DYLOAD=1 5785ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 5786ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 5787ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 578827f654740f2a26ad62a5c155af9199af9e69b889claireho# Check for miscellanous functions. 578927f654740f2a26ad62a5c155af9199af9e69b889claireho# These only go into common/icucfg.h and are NOT exported with ICU builds. 579027f654740f2a26ad62a5c155af9199af9e69b889claireho# So, use for putil / tools only. 579127f654740f2a26ad62a5c155af9199af9e69b889claireho# Note that this will generate HAVE_GETTIMEOFDAY, not U_HAVE_GETTIMEOFDAY 579227f654740f2a26ad62a5c155af9199af9e69b889claireho# rerun 'autoheader' to regenerate icucfg.h.in 579327f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_func in gettimeofday 579427f654740f2a26ad62a5c155af9199af9e69b889clairehodo : 579527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" 579627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_func_gettimeofday" = x""yes; then : 579727f654740f2a26ad62a5c155af9199af9e69b889claireho cat >>confdefs.h <<_ACEOF 579827f654740f2a26ad62a5c155af9199af9e69b889claireho#define HAVE_GETTIMEOFDAY 1 579927f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 580027f654740f2a26ad62a5c155af9199af9e69b889claireho 580127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 580227f654740f2a26ad62a5c155af9199af9e69b889clairehodone 5803ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 580427f654740f2a26ad62a5c155af9199af9e69b889claireho 580527f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether to use the evil rpath or not 580627f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --enable-rpath was given. 580727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_rpath+set}" = set; then : 580827f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_rpath; case "${enableval}" in 580927f654740f2a26ad62a5c155af9199af9e69b889claireho yes|"") ENABLE_RPATH=YES ;; 581027f654740f2a26ad62a5c155af9199af9e69b889claireho no) ;; 581127f654740f2a26ad62a5c155af9199af9e69b889claireho *) ;; 581227f654740f2a26ad62a5c155af9199af9e69b889claireho esac 581327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 581427f654740f2a26ad62a5c155af9199af9e69b889claireho ENABLE_RPATH=NO 581527f654740f2a26ad62a5c155af9199af9e69b889claireho 581627f654740f2a26ad62a5c155af9199af9e69b889clairehofi 581727f654740f2a26ad62a5c155af9199af9e69b889claireho 581827f654740f2a26ad62a5c155af9199af9e69b889claireho 581927f654740f2a26ad62a5c155af9199af9e69b889claireho 582027f654740f2a26ad62a5c155af9199af9e69b889claireho 582127f654740f2a26ad62a5c155af9199af9e69b889claireho# set up U_INLINE. 582227f654740f2a26ad62a5c155af9199af9e69b889claireho# Copy the definition of AC_C_INLINE, with slight mods. 582327f654740f2a26ad62a5c155af9199af9e69b889claireho# 582427f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for definition of U_INLINE for C" >&5 582527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for definition of U_INLINE for C... " >&6; } 582627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_c_inline+set}" = set; then : 582785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 5828ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 582927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_inline=no 583027f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_kw in inline __inline__ __inline; do 583127f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5832ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 583327f654740f2a26ad62a5c155af9199af9e69b889claireho 5834ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 5835ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 5836ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 583727f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn 0;} $ac_kw int foo() { 5838ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 5839ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 5840ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 5841ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 584227f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 584327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_inline=$ac_kw; break 5844ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 584527f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 584627f654740f2a26ad62a5c155af9199af9e69b889claireho done 584785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 5848ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 584927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 585027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_c_inline" >&6; } 585127f654740f2a26ad62a5c155af9199af9e69b889clairehocase "$ac_cv_c_inline" in 585227f654740f2a26ad62a5c155af9199af9e69b889claireho yes) U_INLINE= "inline" ;; 585327f654740f2a26ad62a5c155af9199af9e69b889claireho no ) U_INLINE= ;; 585427f654740f2a26ad62a5c155af9199af9e69b889claireho *) U_INLINE=$ac_cv_c_inline ;; 585527f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 585627f654740f2a26ad62a5c155af9199af9e69b889claireho 585727f654740f2a26ad62a5c155af9199af9e69b889claireho 585827f654740f2a26ad62a5c155af9199af9e69b889claireho# set up U_HAVE_STD_STRING. 585927f654740f2a26ad62a5c155af9199af9e69b889claireho# Copy the definition of AC_C_INLINE, with slight mods. 586027f654740f2a26ad62a5c155af9199af9e69b889claireho# 586127f654740f2a26ad62a5c155af9199af9e69b889clairehoU_HAVE_STD_STRING=0 586227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=cpp 586327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CXXCPP $CPPFLAGS' 586427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 586527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 586627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_cxx_compiler_gnu 586727f654740f2a26ad62a5c155af9199af9e69b889claireho 586827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have a C++ compiler" >&5 586927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking if we have a C++ compiler... " >&6; } 587027f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 587127f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 587227f654740f2a26ad62a5c155af9199af9e69b889claireho 587327f654740f2a26ad62a5c155af9199af9e69b889clairehoint 587427f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 587527f654740f2a26ad62a5c155af9199af9e69b889claireho{ 587627f654740f2a26ad62a5c155af9199af9e69b889claireho 587727f654740f2a26ad62a5c155af9199af9e69b889claireho ; 587827f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 587927f654740f2a26ad62a5c155af9199af9e69b889claireho} 588027f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 588127f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_compile "$LINENO"; then : 588227f654740f2a26ad62a5c155af9199af9e69b889claireho cxx_okay=yes 5883ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 588427f654740f2a26ad62a5c155af9199af9e69b889claireho cxx_okay=no 588527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 588627f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 588727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $cxx_okay = yes 588827f654740f2a26ad62a5c155af9199af9e69b889clairehothen 588927f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: congratulations" >&5 589027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "congratulations" >&6; } 5891ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 589227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 589327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 589427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "C++ compiler $CXX does not work or no compiler found" "$LINENO" 5 589527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 589627f654740f2a26ad62a5c155af9199af9e69b889claireho 589727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if #include <string> works" >&5 589827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking if #include <string> works... " >&6; } 589927f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 5900ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 590127f654740f2a26ad62a5c155af9199af9e69b889claireho#include <string> 5902ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 5903ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 5904ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 590527f654740f2a26ad62a5c155af9199af9e69b889claireho 5906ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 5907ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 5908ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 5909ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 591027f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_compile "$LINENO"; then : 591127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_header_stdstring=yes 5912ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 591327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_header_stdstring=no 591427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 591527f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 591627f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdstring" >&5 591727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_header_stdstring" >&6; } 591827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_header_stdstring = yes 591927f654740f2a26ad62a5c155af9199af9e69b889clairehothen 592027f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_STD_STRING=1 5921ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 592285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 592327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=c 592427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CPP $CPPFLAGS' 592527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 592627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 592727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_c_compiler_gnu 592827f654740f2a26ad62a5c155af9199af9e69b889claireho 592927f654740f2a26ad62a5c155af9199af9e69b889claireho 593027f654740f2a26ad62a5c155af9199af9e69b889clairehothreads=true 593127f654740f2a26ad62a5c155af9199af9e69b889claireho 593227f654740f2a26ad62a5c155af9199af9e69b889claireho# Enable/disable threads 593327f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --enable-threads was given. 593427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_threads+set}" = set; then : 593527f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_threads; case "${enableval}" in 593627f654740f2a26ad62a5c155af9199af9e69b889claireho yes) threads=true ;; 593727f654740f2a26ad62a5c155af9199af9e69b889claireho no) threads=false ;; 593827f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "bad value ${enableval} for --enable-threads" "$LINENO" 5 ;; 593927f654740f2a26ad62a5c155af9199af9e69b889claireho esac 594027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 594127f654740f2a26ad62a5c155af9199af9e69b889claireho threads=true 5942ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 594327f654740f2a26ad62a5c155af9199af9e69b889claireho 594427f654740f2a26ad62a5c155af9199af9e69b889claireho 594527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$threads" = true; then 594627f654740f2a26ad62a5c155af9199af9e69b889claireho THREADS_TRUE= 594727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 594827f654740f2a26ad62a5c155af9199af9e69b889claireho THREADS_TRUE='#' 5949ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 5950ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 595127f654740f2a26ad62a5c155af9199af9e69b889clairehoICU_USE_THREADS=0 595227f654740f2a26ad62a5c155af9199af9e69b889clairehoOLD_LIBS=${LIBS} 5953ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 595427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $threads = true; then 595527f654740f2a26ad62a5c155af9199af9e69b889claireho # For Compaq Tru64 (OSF1), we must look for pthread_attr_init 595627f654740f2a26ad62a5c155af9199af9e69b889claireho # and must do this before seaching for pthread_mutex_destroy, or 595727f654740f2a26ad62a5c155af9199af9e69b889claireho # we will pick up libpthreads.so not libpthread.so 595827f654740f2a26ad62a5c155af9199af9e69b889claireho # If this fails, then we must test for HPUX specials, before 595927f654740f2a26ad62a5c155af9199af9e69b889claireho # moving on to a more generic test 5960ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 596127f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5 596227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } 596327f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then : 596485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 5965ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 596627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_check_lib_save_LIBS=$LIBS 596727f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS="-lpthread $LIBS" 596827f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 5969ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 5970ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 597127f654740f2a26ad62a5c155af9199af9e69b889claireho/* Override any GCC internal prototype to avoid an error. 597227f654740f2a26ad62a5c155af9199af9e69b889claireho Use char because int might match the return type of a GCC 597327f654740f2a26ad62a5c155af9199af9e69b889claireho builtin and then its argument prototype would still apply. */ 597427f654740f2a26ad62a5c155af9199af9e69b889claireho#ifdef __cplusplus 597527f654740f2a26ad62a5c155af9199af9e69b889clairehoextern "C" 597627f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 597727f654740f2a26ad62a5c155af9199af9e69b889clairehochar pthread_attr_init (); 5978ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 5979ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 5980ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 598127f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn pthread_attr_init (); 5982ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 5983ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 5984ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 5985ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 598627f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 598727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_lib_pthread_pthread_attr_init=yes 5988ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 598927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_lib_pthread_pthread_attr_init=no 599027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 599127f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 599227f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 599327f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS=$ac_check_lib_save_LIBS 5994ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 599527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 599627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; } 599727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_lib_pthread_pthread_attr_init" = x""yes; then : 599827f654740f2a26ad62a5c155af9199af9e69b889claireho cat >>confdefs.h <<_ACEOF 599927f654740f2a26ad62a5c155af9199af9e69b889claireho#define HAVE_LIBPTHREAD 1 600027f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 600127f654740f2a26ad62a5c155af9199af9e69b889claireho 600227f654740f2a26ad62a5c155af9199af9e69b889claireho LIBS="-lpthread $LIBS" 600385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 6004ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 600527f654740f2a26ad62a5c155af9199af9e69b889claireho 600627f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_lib_pthread_pthread_attr_init = yes; then 600727f654740f2a26ad62a5c155af9199af9e69b889claireho ICU_USE_THREADS=1 600827f654740f2a26ad62a5c155af9199af9e69b889claireho else 600927f654740f2a26ad62a5c155af9199af9e69b889claireho # Locate the right library for POSIX threads. We look for the 601027f654740f2a26ad62a5c155af9199af9e69b889claireho # symbols in the libraries first, because on Solaris libc provides 601127f654740f2a26ad62a5c155af9199af9e69b889claireho # pthread_create but libpthread has the real code :( 601227f654740f2a26ad62a5c155af9199af9e69b889claireho # AIX uses libpthreads instead of libpthread, and HP/UX uses libpthread 601327f654740f2a26ad62a5c155af9199af9e69b889claireho # FreeBSD users may need libpthread if they do not have libc_r. 601427f654740f2a26ad62a5c155af9199af9e69b889claireho 601527f654740f2a26ad62a5c155af9199af9e69b889claireho 601627f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutex_destroy" >&5 601727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for library containing pthread_mutex_destroy... " >&6; } 601827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_search_pthread_mutex_destroy+set}" = set; then : 601985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 6020ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 602127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_func_search_save_LIBS="$LIBS" 602227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cv_search_pthread_mutex_destroy="no" 602327f654740f2a26ad62a5c155af9199af9e69b889clairehofor i in pthread pthreads c_r ; do 602427f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS="-l$i $ac_func_search_save_LIBS" 602527f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 6026ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 602727f654740f2a26ad62a5c155af9199af9e69b889claireho 602827f654740f2a26ad62a5c155af9199af9e69b889claireho/* Override any GCC internal prototype to avoid an error. 602927f654740f2a26ad62a5c155af9199af9e69b889claireho Use char because int might match the return type of a GCC 603027f654740f2a26ad62a5c155af9199af9e69b889claireho builtin and then its argument prototype would still apply. */ 603127f654740f2a26ad62a5c155af9199af9e69b889claireho#ifdef __cplusplus 603227f654740f2a26ad62a5c155af9199af9e69b889clairehoextern "C" 603327f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 603427f654740f2a26ad62a5c155af9199af9e69b889clairehochar pthread_mutex_destroy (); 6035ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 6036ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 6037ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 603827f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn pthread_mutex_destroy (); 6039ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 6040ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 6041ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 6042ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 604327f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 604427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_search_pthread_mutex_destroy="-l$i" 604527f654740f2a26ad62a5c155af9199af9e69b889clairehobreak 6046ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 604727f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 604827f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 604927f654740f2a26ad62a5c155af9199af9e69b889clairehodone 605027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$ac_cv_search_pthread_mutex_destroy" = "no"; then 605127f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 6052ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 605327f654740f2a26ad62a5c155af9199af9e69b889claireho 605427f654740f2a26ad62a5c155af9199af9e69b889claireho/* Override any GCC internal prototype to avoid an error. 605527f654740f2a26ad62a5c155af9199af9e69b889claireho Use char because int might match the return type of a GCC 605627f654740f2a26ad62a5c155af9199af9e69b889claireho builtin and then its argument prototype would still apply. */ 605727f654740f2a26ad62a5c155af9199af9e69b889claireho#ifdef __cplusplus 605827f654740f2a26ad62a5c155af9199af9e69b889clairehoextern "C" 605927f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 606027f654740f2a26ad62a5c155af9199af9e69b889clairehochar pthread_mutex_destroy (); 6061ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 6062ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 6063ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 606427f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn pthread_mutex_destroy (); 6065ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 6066ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 6067ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 6068ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 606927f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 607027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_search_pthread_mutex_destroy="none required" 6071ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 607227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 607327f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 6074ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 607527f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS="$ac_func_search_save_LIBS" 6076ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 607727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutex_destroy" >&5 607827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_search_pthread_mutex_destroy" >&6; } 607927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$ac_cv_search_pthread_mutex_destroy" != "no"; then 608027f654740f2a26ad62a5c155af9199af9e69b889claireho test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS="$ac_cv_search_pthread_mutex_destroy $LIBS" 6081ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 608227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse : 6083ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 608427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 6085ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 608627f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ac_cv_search_pthread_mutex_destroy" != no; then 608727f654740f2a26ad62a5c155af9199af9e69b889claireho ICU_USE_THREADS=1 608827f654740f2a26ad62a5c155af9199af9e69b889claireho else 608927f654740f2a26ad62a5c155af9199af9e69b889claireho # For HP 11 609027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 609127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } 609227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then : 609385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 6094ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 609527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_check_lib_save_LIBS=$LIBS 609627f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS="-lpthread $LIBS" 609727f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 609885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* end confdefs.h. */ 609927f654740f2a26ad62a5c155af9199af9e69b889claireho 610027f654740f2a26ad62a5c155af9199af9e69b889claireho/* Override any GCC internal prototype to avoid an error. 610127f654740f2a26ad62a5c155af9199af9e69b889claireho Use char because int might match the return type of a GCC 610227f654740f2a26ad62a5c155af9199af9e69b889claireho builtin and then its argument prototype would still apply. */ 610327f654740f2a26ad62a5c155af9199af9e69b889claireho#ifdef __cplusplus 610427f654740f2a26ad62a5c155af9199af9e69b889clairehoextern "C" 610527f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 610627f654740f2a26ad62a5c155af9199af9e69b889clairehochar pthread_mutex_init (); 610785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoint 610885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homain () 610985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 611027f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn pthread_mutex_init (); 611185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ; 611285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho return 0; 611385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 611485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 611527f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 611627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_lib_pthread_pthread_mutex_init=yes 611785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 611827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_lib_pthread_pthread_mutex_init=no 611927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 612027f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 612127f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 612227f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS=$ac_check_lib_save_LIBS 612327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 612427f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5 612527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } 612627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_lib_pthread_pthread_mutex_init" = x""yes; then : 612727f654740f2a26ad62a5c155af9199af9e69b889claireho cat >>confdefs.h <<_ACEOF 612827f654740f2a26ad62a5c155af9199af9e69b889claireho#define HAVE_LIBPTHREAD 1 612927f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 613027f654740f2a26ad62a5c155af9199af9e69b889claireho 613127f654740f2a26ad62a5c155af9199af9e69b889claireho LIBS="-lpthread $LIBS" 613285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 613385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 613485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 613527f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then 613627f654740f2a26ad62a5c155af9199af9e69b889claireho ICU_USE_THREADS=1 613727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 613827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 6139ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 614027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_fn_c_check_func "$LINENO" "pthread_mutex_lock" "ac_cv_func_pthread_mutex_lock" 614127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_func_pthread_mutex_lock" = x""yes; then : 614285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 6143ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 614485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 614527f654740f2a26ad62a5c155af9199af9e69b889claireho 614627f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_func_pthread_mutex_lock = yes; then 614727f654740f2a26ad62a5c155af9199af9e69b889claireho ICU_USE_THREADS=1 614827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 614927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 615027f654740f2a26ad62a5c155af9199af9e69b889claireho # Check to see if we are using CygWin with MSVC 615127f654740f2a26ad62a5c155af9199af9e69b889claireho case "${host}" in 615227f654740f2a26ad62a5c155af9199af9e69b889claireho *-pc-cygwin*|*-pc-mingw*) 615327f654740f2a26ad62a5c155af9199af9e69b889claireho # For gcc, the thread options are set by mh-mingw/mh-cygwin 615427f654740f2a26ad62a5c155af9199af9e69b889claireho # For msvc, the thread options are set by runConfigureICU 615527f654740f2a26ad62a5c155af9199af9e69b889claireho ICU_USE_THREADS=1 615627f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 615727f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-hpux*) 615827f654740f2a26ad62a5c155af9199af9e69b889claireho # Add -mt because it does several nice things on newer compilers. 615927f654740f2a26ad62a5c155af9199af9e69b889claireho case "${icu_cv_host_frag}" in 616027f654740f2a26ad62a5c155af9199af9e69b889claireho mh-hpux-acc) 616127f654740f2a26ad62a5c155af9199af9e69b889claireho OLD_CXXFLAGS="${CXXFLAGS}" 616227f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} -mt" 616327f654740f2a26ad62a5c155af9199af9e69b889claireho if test x"`${CXX} ${CXXFLAGS} 2>&1`" != x""; then 616427f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${OLD_CXXFLAGS}" 616527f654740f2a26ad62a5c155af9199af9e69b889claireho fi 616627f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 616727f654740f2a26ad62a5c155af9199af9e69b889claireho esac 616827f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 616927f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-solaris*) 617027f654740f2a26ad62a5c155af9199af9e69b889claireho case "${icu_cv_host_frag}" in 617127f654740f2a26ad62a5c155af9199af9e69b889claireho mh-solaris) 617227f654740f2a26ad62a5c155af9199af9e69b889claireho LIBS="${LIBS} -mt" 617327f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 617427f654740f2a26ad62a5c155af9199af9e69b889claireho esac 617527f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 617627f654740f2a26ad62a5c155af9199af9e69b889claireho esac 617727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 617827f654740f2a26ad62a5c155af9199af9e69b889claireho 617927f654740f2a26ad62a5c155af9199af9e69b889claireho 618027f654740f2a26ad62a5c155af9199af9e69b889claireho 618127f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --enable-weak-threads was given. 618227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_weak_threads+set}" = set; then : 618327f654740f2a26ad62a5c155af9199af9e69b889claireho enableval=$enable_weak_threads; case "${enableval}" in 618427f654740f2a26ad62a5c155af9199af9e69b889claireho yes) 618527f654740f2a26ad62a5c155af9199af9e69b889claireho LIB_THREAD="${LIBS%${OLD_LIBS}}" 618627f654740f2a26ad62a5c155af9199af9e69b889claireho LIBS=${OLD_LIBS} 618727f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 618827f654740f2a26ad62a5c155af9199af9e69b889claireho no) ;; 618927f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "bad value ${enableval} for --enable-weak-threads" "$LINENO" 5 ;; 619027f654740f2a26ad62a5c155af9199af9e69b889claireho esac 6191ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 6192ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 6193ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 6194ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 619527f654740f2a26ad62a5c155af9199af9e69b889claireho# Check for mmap() 619627f654740f2a26ad62a5c155af9199af9e69b889claireho 619727f654740f2a26ad62a5c155af9199af9e69b889claireho# The AC_FUNC_MMAP macro doesn't work properly. It seems to be too specific. 619827f654740f2a26ad62a5c155af9199af9e69b889claireho# Do this check instead. 619927f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_MMAP=0 620027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mmap" >&5 620127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for mmap... " >&6; } 620227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_func_mmap_ok+set}" = set; then : 620385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 6204ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 620527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 620685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* end confdefs.h. */ 620727f654740f2a26ad62a5c155af9199af9e69b889claireho#include <unistd.h> 620827f654740f2a26ad62a5c155af9199af9e69b889claireho#include <sys/mman.h> 620927f654740f2a26ad62a5c155af9199af9e69b889claireho#include <sys/stat.h> 621027f654740f2a26ad62a5c155af9199af9e69b889claireho#include <fcntl.h> 621185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoint 621285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homain () 621385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 621427f654740f2a26ad62a5c155af9199af9e69b889clairehommap((void *)0, 0, PROT_READ, 0, 0, 0); 621585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ; 621685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho return 0; 621785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 621885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 621927f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 622027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_func_mmap_ok=yes 622185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 622227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_func_mmap_ok=no 622327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 622427f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 622527f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 622627f654740f2a26ad62a5c155af9199af9e69b889clairehofi 622785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 622827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_ok" >&5 622927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_func_mmap_ok" >&6; } 623027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_func_mmap_ok = yes 623127f654740f2a26ad62a5c155af9199af9e69b889clairehothen 623227f654740f2a26ad62a5c155af9199af9e69b889claireho HAVE_MMAP=1 623385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 623485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 6235ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 623627f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for genccode assembly" >&5 623727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for genccode assembly... " >&6; } 623885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 623927f654740f2a26ad62a5c155af9199af9e69b889claireho# Check to see if genccode can generate simple assembly. 624027f654740f2a26ad62a5c155af9199af9e69b889clairehoGENCCODE_ASSEMBLY= 624127f654740f2a26ad62a5c155af9199af9e69b889clairehocase "${host}" in 624227f654740f2a26ad62a5c155af9199af9e69b889claireho*-linux*|i*86-*-*bsd*|i*86-pc-gnu) 624327f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 624427f654740f2a26ad62a5c155af9199af9e69b889claireho # We're using gcc, and the simple -a gcc command line works for genccode 624527f654740f2a26ad62a5c155af9199af9e69b889claireho GENCCODE_ASSEMBLY="-a gcc" 624627f654740f2a26ad62a5c155af9199af9e69b889claireho fi ;; 624727f654740f2a26ad62a5c155af9199af9e69b889clairehoi*86-*-solaris*) 624827f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$GCC" = yes; then 624927f654740f2a26ad62a5c155af9199af9e69b889claireho # When using gcc, look if we're also using GNU as. 625027f654740f2a26ad62a5c155af9199af9e69b889claireho # When using GNU as, the simple -a gcc command line works for genccode. 625127f654740f2a26ad62a5c155af9199af9e69b889claireho asv=`"${CC}" -print-prog-name=as 2>/dev/null` 625227f654740f2a26ad62a5c155af9199af9e69b889claireho asv=`"${asv}" --version 2>/dev/null` 625327f654740f2a26ad62a5c155af9199af9e69b889claireho case "X${asv}" in 625427f654740f2a26ad62a5c155af9199af9e69b889claireho X*GNU*) GENCCODE_ASSEMBLY="-a gcc" ;; 625527f654740f2a26ad62a5c155af9199af9e69b889claireho X*) GENCCODE_ASSEMBLY="-a sun-x86" ;; 625627f654740f2a26ad62a5c155af9199af9e69b889claireho esac 625727f654740f2a26ad62a5c155af9199af9e69b889claireho unset asv 625827f654740f2a26ad62a5c155af9199af9e69b889claireho else 625927f654740f2a26ad62a5c155af9199af9e69b889claireho GENCCODE_ASSEMBLY="-a sun-x86" 626027f654740f2a26ad62a5c155af9199af9e69b889claireho fi ;; 626127f654740f2a26ad62a5c155af9199af9e69b889clairehosparc-*-solaris*) 626227f654740f2a26ad62a5c155af9199af9e69b889claireho GENCCODE_ASSEMBLY="-a sun" 626327f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 626427f654740f2a26ad62a5c155af9199af9e69b889clairehoia64-*-hpux*) 626527f654740f2a26ad62a5c155af9199af9e69b889claireho GENCCODE_ASSEMBLY="-a aCC-ia64" 626627f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 626727f654740f2a26ad62a5c155af9199af9e69b889clairehoesac 626827f654740f2a26ad62a5c155af9199af9e69b889claireho 626927f654740f2a26ad62a5c155af9199af9e69b889claireho 627027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENCCODE_ASSEMBLY" >&5 627127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$GENCCODE_ASSEMBLY" >&6; } 627227f654740f2a26ad62a5c155af9199af9e69b889claireho 627327f654740f2a26ad62a5c155af9199af9e69b889claireho# Checks for header files 627427f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_header in inttypes.h 627527f654740f2a26ad62a5c155af9199af9e69b889clairehodo : 627627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 627727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_header_inttypes_h" = x""yes; then : 627827f654740f2a26ad62a5c155af9199af9e69b889claireho cat >>confdefs.h <<_ACEOF 627927f654740f2a26ad62a5c155af9199af9e69b889claireho#define HAVE_INTTYPES_H 1 628027f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 628185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 6282ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 628327f654740f2a26ad62a5c155af9199af9e69b889claireho 628427f654740f2a26ad62a5c155af9199af9e69b889clairehodone 628527f654740f2a26ad62a5c155af9199af9e69b889claireho 628627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_header_inttypes_h = no; then 628727f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_INTTYPES_H=0 6288ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 628927f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_INTTYPES_H=1 629027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 629127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$CC" = ccc; then 629227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"C compiler set to CCC ${CC}\" " >&5 629327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "\"C compiler set to CCC ${CC}\" " >&6; } 629427f654740f2a26ad62a5c155af9199af9e69b889claireho case "${host}" in 629527f654740f2a26ad62a5c155af9199af9e69b889claireho alpha*-*-*) U_HAVE_INTTYPES_H=0; 629627f654740f2a26ad62a5c155af9199af9e69b889claireho esac 629727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 6298ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 629927f654740f2a26ad62a5c155af9199af9e69b889claireho 630027f654740f2a26ad62a5c155af9199af9e69b889claireho 630127f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_header in dirent.h 630227f654740f2a26ad62a5c155af9199af9e69b889clairehodo : 630327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default" 630427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_header_dirent_h" = x""yes; then : 630527f654740f2a26ad62a5c155af9199af9e69b889claireho cat >>confdefs.h <<_ACEOF 630627f654740f2a26ad62a5c155af9199af9e69b889claireho#define HAVE_DIRENT_H 1 6307ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 6308ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 6309ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 6310ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 631127f654740f2a26ad62a5c155af9199af9e69b889clairehodone 631227f654740f2a26ad62a5c155af9199af9e69b889claireho 631327f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_header_dirent_h = no; then 631427f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_DIRENT_H=0 6315ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 631627f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_DIRENT_H=1 631727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 631827f654740f2a26ad62a5c155af9199af9e69b889claireho 631927f654740f2a26ad62a5c155af9199af9e69b889claireho 632027f654740f2a26ad62a5c155af9199af9e69b889claireho 632127f654740f2a26ad62a5c155af9199af9e69b889claireho 632227f654740f2a26ad62a5c155af9199af9e69b889claireho 632327f654740f2a26ad62a5c155af9199af9e69b889claireho# Check whether --with-iostream was given. 632427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${with_iostream+set}" = set; then : 632527f654740f2a26ad62a5c155af9199af9e69b889claireho withval=$with_iostream; case "${withval}" in 632627f654740f2a26ad62a5c155af9199af9e69b889claireho none) streams=none ;; 632727f654740f2a26ad62a5c155af9199af9e69b889claireho old) streams=198506 ;; 632827f654740f2a26ad62a5c155af9199af9e69b889claireho std) streams=199711 ;; 632927f654740f2a26ad62a5c155af9199af9e69b889claireho auto) streams= ;; 633027f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "bad value ${withval} for --with-iostream" "$LINENO" 5 ;; 633127f654740f2a26ad62a5c155af9199af9e69b889claireho esac 633227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 633327f654740f2a26ad62a5c155af9199af9e69b889claireho streams= 633427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 633527f654740f2a26ad62a5c155af9199af9e69b889claireho 633627f654740f2a26ad62a5c155af9199af9e69b889claireho 633727f654740f2a26ad62a5c155af9199af9e69b889clairehoU_IOSTREAM_SOURCE=0 633827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test x$streams != xnone 633927f654740f2a26ad62a5c155af9199af9e69b889clairehothen 634027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_ext=cpp 634127f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CXXCPP $CPPFLAGS' 634227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 634327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 634427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_cxx_compiler_gnu 634527f654740f2a26ad62a5c155af9199af9e69b889claireho 634627f654740f2a26ad62a5c155af9199af9e69b889claireho OLD_CXXFLAGS="${CXXFLAGS}" 634727f654740f2a26ad62a5c155af9199af9e69b889claireho case "${icu_cv_host_frag}" in 634827f654740f2a26ad62a5c155af9199af9e69b889claireho mh-hpux-acc) 634927f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${CXXFLAGS} -AA" 635027f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 635127f654740f2a26ad62a5c155af9199af9e69b889claireho esac 635227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iostream usability" >&5 635327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for iostream usability... " >&6; } 635427f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6355ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 635627f654740f2a26ad62a5c155af9199af9e69b889claireho#include <iostream> 6357ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 6358ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 6359ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 636027f654740f2a26ad62a5c155af9199af9e69b889claireho 6361ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 6362ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 6363ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 6364ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 636527f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_compile "$LINENO"; then : 636627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_header_iostream=yes 636727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 636827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_header_iostream=no 636927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 637027f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 637127f654740f2a26ad62a5c155af9199af9e69b889claireho if test $icu_cv_host_frag = mh-cygwin-msvc 637227f654740f2a26ad62a5c155af9199af9e69b889claireho then 637327f654740f2a26ad62a5c155af9199af9e69b889claireho # <iostream> is always there on Windows. 637427f654740f2a26ad62a5c155af9199af9e69b889claireho # We do this to prevent the C++ preprocessor from being used because 637527f654740f2a26ad62a5c155af9199af9e69b889claireho # autoconf can't deal with the Windows C++ preprocessor 637627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_header_iostream=yes 637727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 637827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_iostream" >&5 637927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_header_iostream" >&6; } 638027f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_header_iostream = yes 638127f654740f2a26ad62a5c155af9199af9e69b889claireho then 638227f654740f2a26ad62a5c155af9199af9e69b889claireho U_IOSTREAM_SOURCE=199711 638327f654740f2a26ad62a5c155af9199af9e69b889claireho else 638427f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS="${OLD_CXXFLAGS}" 638527f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ostream in iostream.h is really defined" >&5 638627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether ostream in iostream.h is really defined... " >&6; } 638727f654740f2a26ad62a5c155af9199af9e69b889claireho if test "${ac_cv_iostream_ok+set}" = set; then : 638827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 638927f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 639027f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 639185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* end confdefs.h. */ 639227f654740f2a26ad62a5c155af9199af9e69b889claireho#include <iostream.h> 639385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoint 639485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homain () 639585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 639627f654740f2a26ad62a5c155af9199af9e69b889clairehoostream &testout = cout; testout << "test" << endl; 639785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ; 639885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho return 0; 639985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 640085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 640127f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_link "$LINENO"; then : 640227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_iostream_ok=yes 640385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 640427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_iostream_ok=no 640585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 640627f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 640727f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 6408ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 640985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 641027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_iostream_ok" >&5 641127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_iostream_ok" >&6; } 641227f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_iostream_ok = yes 641327f654740f2a26ad62a5c155af9199af9e69b889claireho then 641427f654740f2a26ad62a5c155af9199af9e69b889claireho U_IOSTREAM_SOURCE=198506 641527f654740f2a26ad62a5c155af9199af9e69b889claireho fi 641627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 641727f654740f2a26ad62a5c155af9199af9e69b889claireho if test x$streams != x 641827f654740f2a26ad62a5c155af9199af9e69b889claireho then 641927f654740f2a26ad62a5c155af9199af9e69b889claireho if test $U_IOSTREAM_SOURCE -ge $streams 642027f654740f2a26ad62a5c155af9199af9e69b889claireho then 642127f654740f2a26ad62a5c155af9199af9e69b889claireho U_IOSTREAM_SOURCE=$streams 642227f654740f2a26ad62a5c155af9199af9e69b889claireho case "${icu_cv_host_frag}" in 642327f654740f2a26ad62a5c155af9199af9e69b889claireho mh-hpux-acc) 642427f654740f2a26ad62a5c155af9199af9e69b889claireho if test $U_IOSTREAM_SOURCE -lt 199711; then 642527f654740f2a26ad62a5c155af9199af9e69b889claireho CXXFLAGS=${OLD_CXXFLAGS} 642627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 642727f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 642827f654740f2a26ad62a5c155af9199af9e69b889claireho esac 642927f654740f2a26ad62a5c155af9199af9e69b889claireho else 643027f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "${withval} iostream is not available" "$LINENO" 5 643127f654740f2a26ad62a5c155af9199af9e69b889claireho fi 643227f654740f2a26ad62a5c155af9199af9e69b889claireho fi 6433ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 6434ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 643527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=c 643627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CPP $CPPFLAGS' 643727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 643827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 643927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_c_compiler_gnu 6440ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 6441ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 644227f654740f2a26ad62a5c155af9199af9e69b889claireho# Check for endianness 644327f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 644427f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 644527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_c_bigendian+set}" = set; then : 644685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 6447ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 644827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_bigendian=unknown 644927f654740f2a26ad62a5c155af9199af9e69b889claireho # See if we're dealing with a universal compiler. 645027f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 645127f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 645227f654740f2a26ad62a5c155af9199af9e69b889claireho#ifndef __APPLE_CC__ 645327f654740f2a26ad62a5c155af9199af9e69b889claireho not a universal capable compiler 645427f654740f2a26ad62a5c155af9199af9e69b889claireho #endif 645527f654740f2a26ad62a5c155af9199af9e69b889claireho typedef int dummy; 645627f654740f2a26ad62a5c155af9199af9e69b889claireho 6457ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 645827f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 645927f654740f2a26ad62a5c155af9199af9e69b889claireho 646027f654740f2a26ad62a5c155af9199af9e69b889claireho # Check for potential -arch flags. It is not universal unless 646127f654740f2a26ad62a5c155af9199af9e69b889claireho # there are at least two -arch flags with different values. 646227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_arch= 646327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_prev= 646427f654740f2a26ad62a5c155af9199af9e69b889claireho for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 646527f654740f2a26ad62a5c155af9199af9e69b889claireho if test -n "$ac_prev"; then 646627f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_word in 646727f654740f2a26ad62a5c155af9199af9e69b889claireho i?86 | x86_64 | ppc | ppc64) 646827f654740f2a26ad62a5c155af9199af9e69b889claireho if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 646927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_arch=$ac_word 647027f654740f2a26ad62a5c155af9199af9e69b889claireho else 647127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_bigendian=universal 647227f654740f2a26ad62a5c155af9199af9e69b889claireho break 647327f654740f2a26ad62a5c155af9199af9e69b889claireho fi 647427f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 647527f654740f2a26ad62a5c155af9199af9e69b889claireho esac 647627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_prev= 647727f654740f2a26ad62a5c155af9199af9e69b889claireho elif test "x$ac_word" = "x-arch"; then 647827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_prev=arch 647927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 648027f654740f2a26ad62a5c155af9199af9e69b889claireho done 648127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 648227f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 648327f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_c_bigendian = unknown; then 648427f654740f2a26ad62a5c155af9199af9e69b889claireho # See if sys/param.h defines the BYTE_ORDER macro. 648527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6486ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 648727f654740f2a26ad62a5c155af9199af9e69b889claireho#include <sys/types.h> 648827f654740f2a26ad62a5c155af9199af9e69b889claireho #include <sys/param.h> 648927f654740f2a26ad62a5c155af9199af9e69b889claireho 6490ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 6491ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 6492ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 649327f654740f2a26ad62a5c155af9199af9e69b889claireho#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 649427f654740f2a26ad62a5c155af9199af9e69b889claireho && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 649527f654740f2a26ad62a5c155af9199af9e69b889claireho && LITTLE_ENDIAN) 649627f654740f2a26ad62a5c155af9199af9e69b889claireho bogus endian macros 649727f654740f2a26ad62a5c155af9199af9e69b889claireho #endif 649827f654740f2a26ad62a5c155af9199af9e69b889claireho 6499ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 6500ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 6501ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 6502ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 650327f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 650427f654740f2a26ad62a5c155af9199af9e69b889claireho # It does; now see whether it defined to BIG_ENDIAN or not. 650527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 650685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* end confdefs.h. */ 650727f654740f2a26ad62a5c155af9199af9e69b889claireho#include <sys/types.h> 650827f654740f2a26ad62a5c155af9199af9e69b889claireho #include <sys/param.h> 650927f654740f2a26ad62a5c155af9199af9e69b889claireho 651085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoint 651185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homain () 651285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 651327f654740f2a26ad62a5c155af9199af9e69b889claireho#if BYTE_ORDER != BIG_ENDIAN 651427f654740f2a26ad62a5c155af9199af9e69b889claireho not big endian 651527f654740f2a26ad62a5c155af9199af9e69b889claireho #endif 651627f654740f2a26ad62a5c155af9199af9e69b889claireho 651785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ; 651885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho return 0; 651985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 652085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 652127f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 652227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_bigendian=yes 652385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 652427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_bigendian=no 652585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 652685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6527ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 652885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 652927f654740f2a26ad62a5c155af9199af9e69b889claireho fi 653027f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_c_bigendian = unknown; then 653127f654740f2a26ad62a5c155af9199af9e69b889claireho # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 653227f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6533ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 653427f654740f2a26ad62a5c155af9199af9e69b889claireho#include <limits.h> 653527f654740f2a26ad62a5c155af9199af9e69b889claireho 6536ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 6537ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 6538ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 653927f654740f2a26ad62a5c155af9199af9e69b889claireho#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 654027f654740f2a26ad62a5c155af9199af9e69b889claireho bogus endian macros 654127f654740f2a26ad62a5c155af9199af9e69b889claireho #endif 654227f654740f2a26ad62a5c155af9199af9e69b889claireho 6543ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 6544ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 6545ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 6546ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 654727f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 654827f654740f2a26ad62a5c155af9199af9e69b889claireho # It does; now see whether it defined to _BIG_ENDIAN or not. 654927f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 655085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* end confdefs.h. */ 655127f654740f2a26ad62a5c155af9199af9e69b889claireho#include <limits.h> 655227f654740f2a26ad62a5c155af9199af9e69b889claireho 655385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoint 655485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homain () 655585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 655627f654740f2a26ad62a5c155af9199af9e69b889claireho#ifndef _BIG_ENDIAN 655727f654740f2a26ad62a5c155af9199af9e69b889claireho not big endian 655827f654740f2a26ad62a5c155af9199af9e69b889claireho #endif 655927f654740f2a26ad62a5c155af9199af9e69b889claireho 656085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ; 656185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho return 0; 656285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 656385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 656427f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 656527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_bigendian=yes 656685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 656727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_bigendian=no 656885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 656985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6570ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 657185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 657227f654740f2a26ad62a5c155af9199af9e69b889claireho fi 657327f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_c_bigendian = unknown; then 657427f654740f2a26ad62a5c155af9199af9e69b889claireho # Compile a test program. 657527f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$cross_compiling" = yes; then : 657627f654740f2a26ad62a5c155af9199af9e69b889claireho # Try to guess by grepping values from an object file. 657727f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6578ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 657927f654740f2a26ad62a5c155af9199af9e69b889clairehoshort int ascii_mm[] = 658027f654740f2a26ad62a5c155af9199af9e69b889claireho { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 658127f654740f2a26ad62a5c155af9199af9e69b889claireho short int ascii_ii[] = 658227f654740f2a26ad62a5c155af9199af9e69b889claireho { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 658327f654740f2a26ad62a5c155af9199af9e69b889claireho int use_ascii (int i) { 658427f654740f2a26ad62a5c155af9199af9e69b889claireho return ascii_mm[i] + ascii_ii[i]; 658527f654740f2a26ad62a5c155af9199af9e69b889claireho } 658627f654740f2a26ad62a5c155af9199af9e69b889claireho short int ebcdic_ii[] = 658727f654740f2a26ad62a5c155af9199af9e69b889claireho { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 658827f654740f2a26ad62a5c155af9199af9e69b889claireho short int ebcdic_mm[] = 658927f654740f2a26ad62a5c155af9199af9e69b889claireho { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 659027f654740f2a26ad62a5c155af9199af9e69b889claireho int use_ebcdic (int i) { 659127f654740f2a26ad62a5c155af9199af9e69b889claireho return ebcdic_mm[i] + ebcdic_ii[i]; 659227f654740f2a26ad62a5c155af9199af9e69b889claireho } 659327f654740f2a26ad62a5c155af9199af9e69b889claireho extern int foo; 659427f654740f2a26ad62a5c155af9199af9e69b889claireho 6595ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 6596ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 6597ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 659827f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn use_ascii (foo) == use_ebcdic (foo); 6599ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 6600ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 6601ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 6602ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 660327f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 660427f654740f2a26ad62a5c155af9199af9e69b889claireho if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 660527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_bigendian=yes 660627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 660727f654740f2a26ad62a5c155af9199af9e69b889claireho if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 660827f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ac_cv_c_bigendian" = unknown; then 660927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_bigendian=no 661027f654740f2a26ad62a5c155af9199af9e69b889claireho else 661127f654740f2a26ad62a5c155af9199af9e69b889claireho # finding both strings is unlikely to happen, but who knows? 661227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_bigendian=unknown 661327f654740f2a26ad62a5c155af9199af9e69b889claireho fi 661427f654740f2a26ad62a5c155af9199af9e69b889claireho fi 661527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 661627f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 661727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 661827f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 661985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* end confdefs.h. */ 662085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$ac_includes_default 662185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoint 662285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homain () 662385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 662427f654740f2a26ad62a5c155af9199af9e69b889claireho 662527f654740f2a26ad62a5c155af9199af9e69b889claireho /* Are we little or big endian? From Harbison&Steele. */ 662627f654740f2a26ad62a5c155af9199af9e69b889claireho union 662727f654740f2a26ad62a5c155af9199af9e69b889claireho { 662827f654740f2a26ad62a5c155af9199af9e69b889claireho long int l; 662927f654740f2a26ad62a5c155af9199af9e69b889claireho char c[sizeof (long int)]; 663027f654740f2a26ad62a5c155af9199af9e69b889claireho } u; 663127f654740f2a26ad62a5c155af9199af9e69b889claireho u.l = 1; 663227f654740f2a26ad62a5c155af9199af9e69b889claireho return u.c[sizeof (long int) - 1] == 1; 663327f654740f2a26ad62a5c155af9199af9e69b889claireho 663485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ; 663585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho return 0; 663685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 663785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 663827f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_run "$LINENO"; then : 663927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_bigendian=no 664085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 664127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_c_bigendian=yes 664227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 664327f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 664427f654740f2a26ad62a5c155af9199af9e69b889claireho conftest.$ac_objext conftest.beam conftest.$ac_ext 664527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 664685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 664727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 664885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 664927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 665027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_c_bigendian" >&6; } 665127f654740f2a26ad62a5c155af9199af9e69b889claireho case $ac_cv_c_bigendian in #( 665227f654740f2a26ad62a5c155af9199af9e69b889claireho yes) 665327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 665427f654740f2a26ad62a5c155af9199af9e69b889claireho;; #( 665527f654740f2a26ad62a5c155af9199af9e69b889claireho no) 665627f654740f2a26ad62a5c155af9199af9e69b889claireho ;; #( 665727f654740f2a26ad62a5c155af9199af9e69b889claireho universal) 665885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 665927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 6660ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 666127f654740f2a26ad62a5c155af9199af9e69b889claireho ;; #( 666227f654740f2a26ad62a5c155af9199af9e69b889claireho *) 666327f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "unknown endianness 666427f654740f2a26ad62a5c155af9199af9e69b889claireho presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 666527f654740f2a26ad62a5c155af9199af9e69b889claireho esac 666685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 666727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_c_bigendian = no; then 666827f654740f2a26ad62a5c155af9199af9e69b889clairehoU_IS_BIG_ENDIAN=0 666927f654740f2a26ad62a5c155af9199af9e69b889clairehoU_ENDIAN_CHAR="l" 667027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 667127f654740f2a26ad62a5c155af9199af9e69b889clairehoU_IS_BIG_ENDIAN=1 667227f654740f2a26ad62a5c155af9199af9e69b889clairehoU_ENDIAN_CHAR="b" 6673ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 667485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 667527f654740f2a26ad62a5c155af9199af9e69b889claireho 667627f654740f2a26ad62a5c155af9199af9e69b889claireho# Do various POSIX related checks 667727f654740f2a26ad62a5c155af9199af9e69b889clairehoU_HAVE_NL_LANGINFO_CODESET=0 667827f654740f2a26ad62a5c155af9199af9e69b889clairehoU_NL_LANGINFO_CODESET=-1 667927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" 668027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_func_nl_langinfo" = x""yes; then : 668127f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_NL_LANGINFO=1 6682ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 668327f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_NL_LANGINFO=0 668427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 6685ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 668627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $U_HAVE_NL_LANGINFO -eq 1; then 668727f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo's argument to obtain the codeset" >&5 668827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for nl_langinfo's argument to obtain the codeset... " >&6; } 668927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_nl_langinfo_codeset+set}" = set; then : 669027f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 669127f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 669227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_nl_langinfo_codeset="unknown" 669327f654740f2a26ad62a5c155af9199af9e69b889claireho for a in CODESET _NL_CTYPE_CODESET_NAME; do 669427f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 669527f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 669627f654740f2a26ad62a5c155af9199af9e69b889claireho#include <langinfo.h> 669727f654740f2a26ad62a5c155af9199af9e69b889clairehoint 669827f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 669927f654740f2a26ad62a5c155af9199af9e69b889claireho{ 670027f654740f2a26ad62a5c155af9199af9e69b889clairehonl_langinfo($a); 670127f654740f2a26ad62a5c155af9199af9e69b889claireho ; 670227f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 670327f654740f2a26ad62a5c155af9199af9e69b889claireho} 6704ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 670527f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 670627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_nl_langinfo_codeset="$a"; break 6707ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 670827f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 670927f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 671027f654740f2a26ad62a5c155af9199af9e69b889claireho done 671127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 671227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nl_langinfo_codeset" >&5 671327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_nl_langinfo_codeset" >&6; } 671427f654740f2a26ad62a5c155af9199af9e69b889claireho if test x$ac_cv_nl_langinfo_codeset != xunknown 671527f654740f2a26ad62a5c155af9199af9e69b889claireho then 671627f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_NL_LANGINFO_CODESET=1 671727f654740f2a26ad62a5c155af9199af9e69b889claireho U_NL_LANGINFO_CODESET=$ac_cv_nl_langinfo_codeset 671827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 671927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 672027f654740f2a26ad62a5c155af9199af9e69b889claireho 672127f654740f2a26ad62a5c155af9199af9e69b889claireho 672227f654740f2a26ad62a5c155af9199af9e69b889claireho 672327f654740f2a26ad62a5c155af9199af9e69b889claireho# Namespace support checks 672427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=cpp 672527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CXXCPP $CPPFLAGS' 672627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 672727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 672827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_cxx_compiler_gnu 6729ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 673027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for namespace support" >&5 673127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for namespace support... " >&6; } 673227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_namespace_ok+set}" = set; then : 673385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 6734ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 673527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 673685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* end confdefs.h. */ 673727f654740f2a26ad62a5c155af9199af9e69b889clairehonamespace x_version {void f(){}} 673827f654740f2a26ad62a5c155af9199af9e69b889claireho namespace x = x_version; 673927f654740f2a26ad62a5c155af9199af9e69b889claireho using namespace x_version; 674027f654740f2a26ad62a5c155af9199af9e69b889claireho 674185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoint 674285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homain () 674385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 674427f654740f2a26ad62a5c155af9199af9e69b889clairehof(); 674585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ; 674685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho return 0; 674785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 674885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 674927f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_link "$LINENO"; then : 675027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_namespace_ok=yes 675185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 675227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_namespace_ok=no 675385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 675427f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 675527f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 6756ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 675785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 675827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_namespace_ok" >&5 675927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_namespace_ok" >&6; } 676027f654740f2a26ad62a5c155af9199af9e69b889clairehoU_HAVE_NAMESPACE=1 676127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_namespace_ok = no 676227f654740f2a26ad62a5c155af9199af9e69b889clairehothen 676327f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_NAMESPACE=0 6764ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 6765ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 6766ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 676727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for properly overriding new and delete" >&5 676827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for properly overriding new and delete... " >&6; } 676927f654740f2a26ad62a5c155af9199af9e69b889clairehoU_OVERRIDE_CXX_ALLOCATION=0 677027f654740f2a26ad62a5c155af9199af9e69b889clairehoU_HAVE_PLACEMENT_NEW=0 677127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_override_cxx_allocation_ok+set}" = set; then : 677285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 6773ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 677427f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6775ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 677627f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdlib.h> 677727f654740f2a26ad62a5c155af9199af9e69b889claireho class UMemory { 677827f654740f2a26ad62a5c155af9199af9e69b889claireho public: 677927f654740f2a26ad62a5c155af9199af9e69b889claireho void *operator new(size_t size) {return malloc(size);} 678027f654740f2a26ad62a5c155af9199af9e69b889claireho void *operator new[](size_t size) {return malloc(size);} 678127f654740f2a26ad62a5c155af9199af9e69b889claireho void operator delete(void *p) {free(p);} 678227f654740f2a26ad62a5c155af9199af9e69b889claireho void operator delete[](void *p) {free(p);} 678327f654740f2a26ad62a5c155af9199af9e69b889claireho }; 678427f654740f2a26ad62a5c155af9199af9e69b889claireho 6785ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 6786ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 6787ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 678827f654740f2a26ad62a5c155af9199af9e69b889claireho 6789ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 6790ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 6791ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 6792ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 679327f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_link "$LINENO"; then : 679427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_override_cxx_allocation_ok=yes 679527f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 679627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_override_cxx_allocation_ok=no 679727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 679827f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 679927f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 680027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 680127f654740f2a26ad62a5c155af9199af9e69b889claireho 680227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_cxx_allocation_ok" >&5 680327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_override_cxx_allocation_ok" >&6; } 680427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_override_cxx_allocation_ok = yes 680527f654740f2a26ad62a5c155af9199af9e69b889clairehothen 680627f654740f2a26ad62a5c155af9199af9e69b889claireho U_OVERRIDE_CXX_ALLOCATION=1 680727f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for placement new and delete" >&5 680827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for placement new and delete... " >&6; } 680927f654740f2a26ad62a5c155af9199af9e69b889claireho if test "${ac_cv_override_placement_new_ok+set}" = set; then : 681027f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 681127f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 681227f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 681385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/* end confdefs.h. */ 681427f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdlib.h> 681527f654740f2a26ad62a5c155af9199af9e69b889claireho class UMemory { 681627f654740f2a26ad62a5c155af9199af9e69b889claireho public: 681727f654740f2a26ad62a5c155af9199af9e69b889claireho void *operator new(size_t size) {return malloc(size);} 681827f654740f2a26ad62a5c155af9199af9e69b889claireho void *operator new[](size_t size) {return malloc(size);} 681927f654740f2a26ad62a5c155af9199af9e69b889claireho void operator delete(void *p) {free(p);} 682027f654740f2a26ad62a5c155af9199af9e69b889claireho void operator delete[](void *p) {free(p);} 682127f654740f2a26ad62a5c155af9199af9e69b889claireho void * operator new(size_t, void *ptr) { return ptr; } 682227f654740f2a26ad62a5c155af9199af9e69b889claireho void operator delete(void *, void *) {} 682327f654740f2a26ad62a5c155af9199af9e69b889claireho }; 682427f654740f2a26ad62a5c155af9199af9e69b889claireho 682585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoint 682685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Homain () 682785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 682827f654740f2a26ad62a5c155af9199af9e69b889claireho 682985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ; 683085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho return 0; 683185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 683285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 683327f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_cxx_try_link "$LINENO"; then : 683427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_override_placement_new_ok=yes 6835ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 683627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_override_placement_new_ok=no 6837ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 683827f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 683927f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 6840ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 6841ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 684227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_placement_new_ok" >&5 684327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_override_placement_new_ok" >&6; } 684427f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_override_placement_new_ok = yes 684527f654740f2a26ad62a5c155af9199af9e69b889claireho then 684627f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_PLACEMENT_NEW=1 684727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 6848ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 6849ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 6850ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 6851ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 685227f654740f2a26ad62a5c155af9199af9e69b889claireho# gcc atomic built-in functions check 685327f654740f2a26ad62a5c155af9199af9e69b889claireho# AC_TRY_LINK([], [int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);],, 685427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=c 685527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CPP $CPPFLAGS' 685627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 685727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 685827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_c_compiler_gnu 6859ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 686027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc atomic functions" >&5 686127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for gcc atomic functions... " >&6; } 686227f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 686327f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 6864ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 686527f654740f2a26ad62a5c155af9199af9e69b889claireho void *p; 686627f654740f2a26ad62a5c155af9199af9e69b889claireho int i; 6867ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 686827f654740f2a26ad62a5c155af9199af9e69b889clairehoint 686927f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 687027f654740f2a26ad62a5c155af9199af9e69b889claireho{ 6871ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 687227f654740f2a26ad62a5c155af9199af9e69b889claireho __sync_fetch_and_add(&i, 1); 687327f654740f2a26ad62a5c155af9199af9e69b889claireho __sync_fetch_and_sub(&i, 1); 687427f654740f2a26ad62a5c155af9199af9e69b889claireho __sync_val_compare_and_swap(&p, 0, 0); 6875ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 6876ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 687727f654740f2a26ad62a5c155af9199af9e69b889claireho ; 687827f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 687927f654740f2a26ad62a5c155af9199af9e69b889claireho} 688027f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 688127f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 688227f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_GCC_ATOMICS=1; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 688327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "yes" >&6; } 6884ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 688527f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_GCC_ATOMICS=0; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 688627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "no" >&6; } 6887ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 688827f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 688927f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 6890ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 6891ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 689227f654740f2a26ad62a5c155af9199af9e69b889clairehoac_ext=c 689327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cpp='$CPP $CPPFLAGS' 689427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 689527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 689627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_compiler_gnu=$ac_cv_c_compiler_gnu 6897ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 689827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_func "$LINENO" "popen" "ac_cv_func_popen" 689927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_func_popen" = x""yes; then : 6900ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 6901ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 690285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 690327f654740f2a26ad62a5c155af9199af9e69b889clairehoif test x$ac_cv_func_popen = xyes 690427f654740f2a26ad62a5c155af9199af9e69b889clairehothen 690527f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_POPEN=1 690627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 690727f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_POPEN=0 6908ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 690985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 6910ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 691127f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_func "$LINENO" "tzset" "ac_cv_func_tzset" 691227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_func_tzset" = x""yes; then : 691385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 6914ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 691527f654740f2a26ad62a5c155af9199af9e69b889claireho 691627f654740f2a26ad62a5c155af9199af9e69b889clairehoU_HAVE_TZSET=0 691727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test x$ac_cv_func_tzset = xyes 691827f654740f2a26ad62a5c155af9199af9e69b889clairehothen 691927f654740f2a26ad62a5c155af9199af9e69b889claireho U_TZSET=tzset 692027f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_TZSET=1 692127f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 692227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_fn_c_check_func "$LINENO" "_tzset" "ac_cv_func__tzset" 692327f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_func__tzset" = x""yes; then : 6924ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 6925ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 6926ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 692727f654740f2a26ad62a5c155af9199af9e69b889claireho if test x$ac_cv_func__tzset = xyes 692827f654740f2a26ad62a5c155af9199af9e69b889claireho then 692927f654740f2a26ad62a5c155af9199af9e69b889claireho U_TZSET=_tzset 693027f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_TZSET=1 693127f654740f2a26ad62a5c155af9199af9e69b889claireho fi 693227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 6933ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 693450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 6935ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 693627f654740f2a26ad62a5c155af9199af9e69b889clairehoU_HAVE_TZNAME=0 693727f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 693827f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for tzname... " >&6; } 693927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_var_tzname+set}" = set; then : 694085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 6941ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 694227f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6943ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 694427f654740f2a26ad62a5c155af9199af9e69b889claireho#ifndef __USE_POSIX 694527f654740f2a26ad62a5c155af9199af9e69b889claireho#define __USE_POSIX 694627f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 694727f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdlib.h> 694827f654740f2a26ad62a5c155af9199af9e69b889claireho#include <time.h> 694927f654740f2a26ad62a5c155af9199af9e69b889claireho#ifndef tzname /* For SGI. */ 695027f654740f2a26ad62a5c155af9199af9e69b889clairehoextern char *tzname[]; /* RS6000 and others reject char **tzname. */ 6951ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 6952ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 6953ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 6954ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 695527f654740f2a26ad62a5c155af9199af9e69b889clairehoatoi(*tzname); 6956ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 6957ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 6958ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 6959ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 696027f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 696127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_var_tzname=yes 696285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 696327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_var_tzname=no 696485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 696527f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 696627f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 6967ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 696827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5 696927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_var_tzname" >&6; } 697027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_var_tzname = yes; then 697127f654740f2a26ad62a5c155af9199af9e69b889claireho U_TZNAME=tzname 697227f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_TZNAME=1 697385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 697427f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _tzname" >&5 697527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for _tzname... " >&6; } 697627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_var__tzname+set}" = set; then : 697727f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 697827f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 697927f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 698027f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 698127f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdlib.h> 698227f654740f2a26ad62a5c155af9199af9e69b889claireho #include <time.h> 698327f654740f2a26ad62a5c155af9199af9e69b889claireho extern char *_tzname[]; 698427f654740f2a26ad62a5c155af9199af9e69b889clairehoint 698527f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 698627f654740f2a26ad62a5c155af9199af9e69b889claireho{ 698727f654740f2a26ad62a5c155af9199af9e69b889clairehoatoi(*_tzname); 698827f654740f2a26ad62a5c155af9199af9e69b889claireho ; 698927f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 699027f654740f2a26ad62a5c155af9199af9e69b889claireho} 699127f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 699227f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 699327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_var__tzname=yes 699427f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 699527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_var__tzname=no 6996ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 699727f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 699827f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 6999ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 700027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__tzname" >&5 700127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_var__tzname" >&6; } 700227f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_var__tzname = yes; then 700327f654740f2a26ad62a5c155af9199af9e69b889claireho U_TZNAME=_tzname 700427f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_TZNAME=1 7005ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 7006ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7007ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7008ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7009ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 701027f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone" >&5 701127f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for timezone... " >&6; } 701227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_var_timezone+set}" = set; then : 701385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo_n "(cached) " >&6 7014ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 701527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7016ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 701727f654740f2a26ad62a5c155af9199af9e69b889claireho#ifndef __USE_POSIX 701827f654740f2a26ad62a5c155af9199af9e69b889claireho#define __USE_POSIX 7019ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 702027f654740f2a26ad62a5c155af9199af9e69b889claireho#ifndef __USE_XOPEN 702127f654740f2a26ad62a5c155af9199af9e69b889claireho#define __USE_XOPEN 7022ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 702327f654740f2a26ad62a5c155af9199af9e69b889claireho#include <time.h> 7024ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7025ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 7026ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 7027ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 702827f654740f2a26ad62a5c155af9199af9e69b889clairehotimezone = 1; 7029ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 7030ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 7031ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 7032ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 703327f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 703427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_var_timezone=yes 703527f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 703627f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_var_timezone=no 703727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 703827f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 703927f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 704027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 704127f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5 704227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_var_timezone" >&6; } 704327f654740f2a26ad62a5c155af9199af9e69b889clairehoU_HAVE_TIMEZONE=0 704427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_var_timezone = yes; then 704527f654740f2a26ad62a5c155af9199af9e69b889claireho U_TIMEZONE=timezone 704627f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_TIMEZONE=1 704727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 704827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __timezone" >&5 704927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for __timezone... " >&6; } 705027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_var___timezone+set}" = set; then : 705127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 705227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 705327f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 705427f654740f2a26ad62a5c155af9199af9e69b889claireho/* end confdefs.h. */ 705527f654740f2a26ad62a5c155af9199af9e69b889claireho#include <time.h> 705627f654740f2a26ad62a5c155af9199af9e69b889clairehoint 705727f654740f2a26ad62a5c155af9199af9e69b889clairehomain () 705827f654740f2a26ad62a5c155af9199af9e69b889claireho{ 705927f654740f2a26ad62a5c155af9199af9e69b889claireho__timezone = 1; 706027f654740f2a26ad62a5c155af9199af9e69b889claireho ; 706127f654740f2a26ad62a5c155af9199af9e69b889claireho return 0; 706227f654740f2a26ad62a5c155af9199af9e69b889claireho} 7063ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 706427f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 706527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_var___timezone=yes 706627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 706727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_var___timezone=no 706827f654740f2a26ad62a5c155af9199af9e69b889clairehofi 706927f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 707027f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 707127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 707227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var___timezone" >&5 707327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_var___timezone" >&6; } 707427f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_var___timezone = yes; then 707527f654740f2a26ad62a5c155af9199af9e69b889claireho U_TIMEZONE=__timezone 707627f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_TIMEZONE=1 707727f654740f2a26ad62a5c155af9199af9e69b889claireho else 707827f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _timezone" >&5 707927f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for _timezone... " >&6; } 708027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_var__timezone+set}" = set; then : 708127f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 708227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 708327f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7084ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 708527f654740f2a26ad62a5c155af9199af9e69b889claireho#include <time.h> 7086ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 7087ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 7088ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 708927f654740f2a26ad62a5c155af9199af9e69b889claireho_timezone = 1; 7090ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 7091ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 7092ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 7093ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 709427f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_link "$LINENO"; then : 709527f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_var__timezone=yes 7096ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 709727f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_var__timezone=no 709827f654740f2a26ad62a5c155af9199af9e69b889clairehofi 709927f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 710027f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext conftest.$ac_ext 710127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 710227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__timezone" >&5 710327f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_var__timezone" >&6; } 710427f654740f2a26ad62a5c155af9199af9e69b889claireho if test $ac_cv_var__timezone = yes; then 710527f654740f2a26ad62a5c155af9199af9e69b889claireho U_TIMEZONE=_timezone 710627f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_TIMEZONE=1 710727f654740f2a26ad62a5c155af9199af9e69b889claireho fi 710827f654740f2a26ad62a5c155af9199af9e69b889claireho fi 710927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 711027f654740f2a26ad62a5c155af9199af9e69b889claireho 711127f654740f2a26ad62a5c155af9199af9e69b889claireho 711227f654740f2a26ad62a5c155af9199af9e69b889claireho 711327f654740f2a26ad62a5c155af9199af9e69b889claireho# Checks for typedefs 711427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default" 711527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_type_int8_t" = x""yes; then : 711627f654740f2a26ad62a5c155af9199af9e69b889claireho 711727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 711827f654740f2a26ad62a5c155af9199af9e69b889claireho 711927f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 712027f654740f2a26ad62a5c155af9199af9e69b889claireho#define int8_t signed char 712127f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 712227f654740f2a26ad62a5c155af9199af9e69b889claireho 712327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 712427f654740f2a26ad62a5c155af9199af9e69b889claireho 712527f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default" 712627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_type_uint8_t" = x""yes; then : 712727f654740f2a26ad62a5c155af9199af9e69b889claireho 712827f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 712927f654740f2a26ad62a5c155af9199af9e69b889claireho 713027f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 713127f654740f2a26ad62a5c155af9199af9e69b889claireho#define uint8_t unsigned char 713227f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 713327f654740f2a26ad62a5c155af9199af9e69b889claireho 713427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 713527f654740f2a26ad62a5c155af9199af9e69b889claireho 713627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default" 713727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_type_int16_t" = x""yes; then : 713827f654740f2a26ad62a5c155af9199af9e69b889claireho 713927f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 714027f654740f2a26ad62a5c155af9199af9e69b889claireho 714127f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 714227f654740f2a26ad62a5c155af9199af9e69b889claireho#define int16_t signed short 714327f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 714427f654740f2a26ad62a5c155af9199af9e69b889claireho 714527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 714627f654740f2a26ad62a5c155af9199af9e69b889claireho 714727f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" 714827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_type_uint16_t" = x""yes; then : 714927f654740f2a26ad62a5c155af9199af9e69b889claireho 715027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 715127f654740f2a26ad62a5c155af9199af9e69b889claireho 715227f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 715327f654740f2a26ad62a5c155af9199af9e69b889claireho#define uint16_t unsigned short 715427f654740f2a26ad62a5c155af9199af9e69b889claireho_ACEOF 7155ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7156ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 715785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 715827f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" 715927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_type_int32_t" = x""yes; then : 716027f654740f2a26ad62a5c155af9199af9e69b889claireho 7161ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7162ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 716327f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 716427f654740f2a26ad62a5c155af9199af9e69b889claireho#define int32_t signed long 7165ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 7166ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 716727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 7168ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 716927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" 717027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_type_uint32_t" = x""yes; then : 7171ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 717227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 717327f654740f2a26ad62a5c155af9199af9e69b889claireho 717427f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 717527f654740f2a26ad62a5c155af9199af9e69b889claireho#define uint32_t unsigned long 7176ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 717727f654740f2a26ad62a5c155af9199af9e69b889claireho 717827f654740f2a26ad62a5c155af9199af9e69b889clairehofi 717927f654740f2a26ad62a5c155af9199af9e69b889claireho 718027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default" 718127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_type_int64_t" = x""yes; then : 718227f654740f2a26ad62a5c155af9199af9e69b889claireho 718327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 718427f654740f2a26ad62a5c155af9199af9e69b889claireho 718527f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 718627f654740f2a26ad62a5c155af9199af9e69b889claireho#define int64_t signed long long 7187ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 7188ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 718927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 7190ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 719127f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" 719227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_type_uint64_t" = x""yes; then : 7193ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 719427f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 719527f654740f2a26ad62a5c155af9199af9e69b889claireho 719627f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>confdefs.h <<_ACEOF 719727f654740f2a26ad62a5c155af9199af9e69b889claireho#define uint64_t unsigned long long 7198ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 719927f654740f2a26ad62a5c155af9199af9e69b889claireho 720027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 720127f654740f2a26ad62a5c155af9199af9e69b889claireho 720227f654740f2a26ad62a5c155af9199af9e69b889claireho 720327f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_type_int8_t = no; then 720427f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_INT8_T=0 7205ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 720627f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_INT8_T=1 720727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 7208ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 720927f654740f2a26ad62a5c155af9199af9e69b889claireho 721027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_type_uint8_t = no; then 721127f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_UINT8_T=0 721227f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 721327f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_UINT8_T=1 7214ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 721585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 721627f654740f2a26ad62a5c155af9199af9e69b889claireho 721727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_type_int16_t = no; then 721827f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_INT16_T=0 7219ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 722027f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_INT16_T=1 722127f654740f2a26ad62a5c155af9199af9e69b889clairehofi 722227f654740f2a26ad62a5c155af9199af9e69b889claireho 7223ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 722427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_type_uint16_t = no; then 722527f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_UINT16_T=0 722627f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 722727f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_UINT16_T=1 7228ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 722985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 723027f654740f2a26ad62a5c155af9199af9e69b889claireho 723127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_type_int32_t = no; then 723227f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_INT32_T=0 723327f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 723427f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_INT32_T=1 7235ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 723685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7237ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 723827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_type_uint32_t = no; then 723927f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_UINT32_T=0 724027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 724127f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_UINT32_T=1 724227f654740f2a26ad62a5c155af9199af9e69b889clairehofi 7243ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7244ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 724527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_type_int64_t = no; then 724627f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_INT64_T=0 7247ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 724827f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_INT64_T=1 724927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 725027f654740f2a26ad62a5c155af9199af9e69b889claireho 725127f654740f2a26ad62a5c155af9199af9e69b889claireho 725227f654740f2a26ad62a5c155af9199af9e69b889clairehoif test $ac_cv_type_uint64_t = no; then 725327f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_UINT64_T=0 725427f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 725527f654740f2a26ad62a5c155af9199af9e69b889clairehoHAVE_UINT64_T=1 725627f654740f2a26ad62a5c155af9199af9e69b889clairehofi 725727f654740f2a26ad62a5c155af9199af9e69b889claireho 725827f654740f2a26ad62a5c155af9199af9e69b889claireho 725927f654740f2a26ad62a5c155af9199af9e69b889claireho# Do various wchar_t related checks 726027f654740f2a26ad62a5c155af9199af9e69b889clairehoac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default" 726127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cv_header_wchar_h" = x""yes; then : 7262ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7263ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 726485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 726527f654740f2a26ad62a5c155af9199af9e69b889claireho 726627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$ac_cv_header_wchar_h" = no 726727f654740f2a26ad62a5c155af9199af9e69b889clairehothen 726827f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_WCHAR_H=0 726927f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_WCSCPY=0 7270ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 727127f654740f2a26ad62a5c155af9199af9e69b889claireho 727227f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "#define HAVE_WCHAR_H 1" >>confdefs.h 727327f654740f2a26ad62a5c155af9199af9e69b889claireho 727427f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_WCHAR_H=1 727527f654740f2a26ad62a5c155af9199af9e69b889claireho # Some broken systems have wchar.h but not some of its functions... 727627f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing wcscpy" >&5 727727f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking for library containing wcscpy... " >&6; } 727827f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_search_wcscpy+set}" = set; then : 727927f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 728027f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 728127f654740f2a26ad62a5c155af9199af9e69b889claireho ac_func_search_save_LIBS=$LIBS 728227f654740f2a26ad62a5c155af9199af9e69b889clairehocat confdefs.h - <<_ACEOF >conftest.$ac_ext 7283ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 7284ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 728527f654740f2a26ad62a5c155af9199af9e69b889claireho/* Override any GCC internal prototype to avoid an error. 728627f654740f2a26ad62a5c155af9199af9e69b889claireho Use char because int might match the return type of a GCC 728727f654740f2a26ad62a5c155af9199af9e69b889claireho builtin and then its argument prototype would still apply. */ 728827f654740f2a26ad62a5c155af9199af9e69b889claireho#ifdef __cplusplus 728927f654740f2a26ad62a5c155af9199af9e69b889clairehoextern "C" 7290ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 729127f654740f2a26ad62a5c155af9199af9e69b889clairehochar wcscpy (); 7292ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 7293ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 7294ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 729527f654740f2a26ad62a5c155af9199af9e69b889clairehoreturn wcscpy (); 7296ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 7297ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 7298ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 7299ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 730027f654740f2a26ad62a5c155af9199af9e69b889clairehofor ac_lib in '' wcs w; do 730127f654740f2a26ad62a5c155af9199af9e69b889claireho if test -z "$ac_lib"; then 730227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_res="none required" 730327f654740f2a26ad62a5c155af9199af9e69b889claireho else 730427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_res=-l$ac_lib 730527f654740f2a26ad62a5c155af9199af9e69b889claireho LIBS="-l$ac_lib $ac_func_search_save_LIBS" 730627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 730727f654740f2a26ad62a5c155af9199af9e69b889claireho if ac_fn_c_try_link "$LINENO"; then : 730827f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_search_wcscpy=$ac_res 730927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 731027f654740f2a26ad62a5c155af9199af9e69b889clairehorm -f core conftest.err conftest.$ac_objext \ 731127f654740f2a26ad62a5c155af9199af9e69b889claireho conftest$ac_exeext 731227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "${ac_cv_search_wcscpy+set}" = set; then : 731327f654740f2a26ad62a5c155af9199af9e69b889claireho break 731427f654740f2a26ad62a5c155af9199af9e69b889clairehofi 731527f654740f2a26ad62a5c155af9199af9e69b889clairehodone 731627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_search_wcscpy+set}" = set; then : 731727f654740f2a26ad62a5c155af9199af9e69b889claireho 731827f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 731927f654740f2a26ad62a5c155af9199af9e69b889claireho ac_cv_search_wcscpy=no 732027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 732127f654740f2a26ad62a5c155af9199af9e69b889clairehorm conftest.$ac_ext 732227f654740f2a26ad62a5c155af9199af9e69b889clairehoLIBS=$ac_func_search_save_LIBS 732327f654740f2a26ad62a5c155af9199af9e69b889clairehofi 732427f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_wcscpy" >&5 732527f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo "$ac_cv_search_wcscpy" >&6; } 732627f654740f2a26ad62a5c155af9199af9e69b889clairehoac_res=$ac_cv_search_wcscpy 732727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "$ac_res" != no; then : 732827f654740f2a26ad62a5c155af9199af9e69b889claireho test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 732927f654740f2a26ad62a5c155af9199af9e69b889claireho 733027f654740f2a26ad62a5c155af9199af9e69b889clairehofi 733127f654740f2a26ad62a5c155af9199af9e69b889claireho 733227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ac_cv_search_wcscpy" != no; then 733327f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_WCSCPY=1 733427f654740f2a26ad62a5c155af9199af9e69b889claireho else 733527f654740f2a26ad62a5c155af9199af9e69b889claireho U_HAVE_WCSCPY=0 733627f654740f2a26ad62a5c155af9199af9e69b889claireho fi 733727f654740f2a26ad62a5c155af9199af9e69b889clairehofi 733827f654740f2a26ad62a5c155af9199af9e69b889claireho 733927f654740f2a26ad62a5c155af9199af9e69b889claireho 734027f654740f2a26ad62a5c155af9199af9e69b889claireho 734127f654740f2a26ad62a5c155af9199af9e69b889claireho# The cast to long int works around a bug in the HP C Compiler 734227f654740f2a26ad62a5c155af9199af9e69b889claireho# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 734327f654740f2a26ad62a5c155af9199af9e69b889claireho# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 734427f654740f2a26ad62a5c155af9199af9e69b889claireho# This bug is HP SR number 8606223364. 734527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 734627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo_n "checking size of wchar_t... " >&6; } 734727f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${ac_cv_sizeof_wchar_t+set}" = set; then : 734827f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo_n "(cached) " >&6 7349ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 735027f654740f2a26ad62a5c155af9199af9e69b889claireho if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" " 735127f654740f2a26ad62a5c155af9199af9e69b889claireho#if STDC_HEADERS 735227f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stddef.h> 735327f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 735427f654740f2a26ad62a5c155af9199af9e69b889claireho#include <stdlib.h> 735527f654740f2a26ad62a5c155af9199af9e69b889claireho#if HAVE_WCHAR_H 735627f654740f2a26ad62a5c155af9199af9e69b889claireho#include <string.h> 735727f654740f2a26ad62a5c155af9199af9e69b889claireho#include <wchar.h> 735827f654740f2a26ad62a5c155af9199af9e69b889claireho#endif 735927f654740f2a26ad62a5c155af9199af9e69b889claireho"; then : 7360ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 736127f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 736227f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$ac_cv_type_wchar_t" = yes; then 736327f654740f2a26ad62a5c155af9199af9e69b889claireho { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 736485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 736527f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_error 77 "cannot compute sizeof (wchar_t) 736627f654740f2a26ad62a5c155af9199af9e69b889clairehoSee \`config.log' for more details" "$LINENO" 5; } 736785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho else 736885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_cv_sizeof_wchar_t=0 736985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho fi 7370ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 737127f654740f2a26ad62a5c155af9199af9e69b889claireho 7372ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 737327f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 737485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$ac_cv_sizeof_wchar_t" >&6; } 737585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 737685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 737785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7378ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querucat >>confdefs.h <<_ACEOF 7379ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t 7380ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 7381ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7382ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7383ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruU_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t 7384ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# We do this check to verify that everything is okay. 7385ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test $U_SIZEOF_WCHAR_T = 0; then 7386ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru if test $U_HAVE_WCHAR_H=1; then 738727f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "There is wchar.h but the size of wchar_t is 0" "$LINENO" 5 7388ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 7389ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7390ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7391ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 739227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UTF-16 string literal support" >&5 739385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo_n "checking for UTF-16 string literal support... " >&6; } 7394ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruU_CHECK_UTF16_STRING=1 7395ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruCHECK_UTF16_STRING_RESULT="unknown" 739650294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 7397ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querucase "${host}" in 7398ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru*-*-aix*|powerpc64-*-linux*) 7399ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru if test "$ac_cv_c_compiler_gnu" = no; then 7400ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru OLD_CFLAGS="${CFLAGS}" 7401ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru OLD_CXXFLAGS="${CXXFLAGS}" 7402ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CFLAGS="${CFLAGS} -qutf" 7403ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CXXFLAGS="${CXXFLAGS} -qutf" 740427f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7405ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 7406ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruconst unsigned short hello[] = u"hello"; 7407ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 7408ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 7409ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 7410ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7411ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 7412ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 7413ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 7414ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 741527f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 7416ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru U_CHECK_UTF16_STRING=1 7417ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 741827f654740f2a26ad62a5c155af9199af9e69b889claireho U_CHECK_UTF16_STRING=0 7419ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 742085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7421ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru if test "$U_CHECK_UTF16_STRING" = 0; then 7422ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CFLAGS="${OLD_CFLAGS}" 7423ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CXXFLAGS="${OLD_CXXFLAGS}" 7424ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru else 7425ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CHECK_UTF16_STRING_RESULT="-qutf" 7426ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 7427ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 7428ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ;; 7429ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru*-*-solaris*) 7430ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru if test "$ac_cv_c_compiler_gnu" = no; then 7431ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru OLD_CFLAGS="${CFLAGS}" 7432ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru OLD_CXXFLAGS="${CXXFLAGS}" 7433ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CFLAGS="${CFLAGS} -xustr=ascii_utf16_ushort" 7434ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CXXFLAGS="${CXXFLAGS} -xustr=ascii_utf16_ushort" 743527f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7436ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* end confdefs.h. */ 7437ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruconst unsigned short hello[] = U"hello"; 7438ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruint 7439ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumain () 7440ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 7441ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7442ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ; 7443ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru return 0; 7444ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 7445ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 744627f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 7447ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru U_CHECK_UTF16_STRING=1 7448ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 744927f654740f2a26ad62a5c155af9199af9e69b889claireho U_CHECK_UTF16_STRING=0 7450ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 745185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7452ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru if test "$U_CHECK_UTF16_STRING" = 0; then 7453ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CFLAGS="${OLD_CFLAGS}" 7454ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CXXFLAGS="${OLD_CXXFLAGS}" 7455ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru else 7456ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CHECK_UTF16_STRING_RESULT="-xustr=ascii_utf16_ushort" 7457ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7458ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Since we can't detect the availability of this UTF-16 syntax at compile time, 7459ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # we depend on configure telling us that we can use it. 7460ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Since we can't ensure ICU users use -xustr=ascii_utf16_ushort, 7461ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # we only use this macro within ICU. 7462ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # If an ICU user uses icu-config, this feature will be enabled. 7463ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CPPFLAGS="${CPPFLAGS} -DU_CHECK_UTF16_STRING=1" 7464ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru U_CHECK_UTF16_STRING=0 7465ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 7466ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 7467ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ;; 7468ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru*-*-hpux*) 7469ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru if test "$ac_cv_c_compiler_gnu" = no; then 747085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # The option will be detected at compile time without additional compiler options. 747185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho CHECK_UTF16_STRING_RESULT="available" 7472ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 7473ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ;; 7474ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru*-*-cygwin) 747585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # wchar_t can be used 747685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho CHECK_UTF16_STRING_RESULT="available" 7477ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ;; 7478ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru*) 7479ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ;; 7480ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruesac 748150294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 748250294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho# GCC >= 4.4 supports UTF16 string literals. The CFLAGS and CXXFLAGS may change in the future. 748350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho# Since we have to use a different standard, if strict is enable, don't enable UTF16 string literals. 748450294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoU_CHECK_GNUC_UTF16_STRING=0 748550294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoif test "$ac_use_strict_options" = no && test "$CHECK_UTF16_STRING_RESULT" = "unknown"; then 748650294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho if test "$ac_cv_c_compiler_gnu" = yes; then 748750294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho OLD_CFLAGS="${CFLAGS}" 748850294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho OLD_CXXFLAGS="${CXXFLAGS}" 748950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho CFLAGS="${CFLAGS} -std=gnu99 -D_GCC_" 749050294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho CXXFLAGS="${CXXFLAGS} -std=c++0x" 749127f654740f2a26ad62a5c155af9199af9e69b889claireho cat confdefs.h - <<_ACEOF >conftest.$ac_ext 749250294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho/* end confdefs.h. */ 749350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 749450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) 749550294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho#ifdef _GCC_ 749650294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehotypedef __CHAR16_TYPE__ char16_t; 749750294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho#endif 749850294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehochar16_t test[] = u"This is a UTF16 literal string."; 749950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho#else 750050294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoGCC IS TOO OLD! 750150294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho#endif 750250294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 750350294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoint 750450294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehomain () 750550294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho{ 750650294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 750750294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho ; 750850294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho return 0; 750950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho} 751050294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho_ACEOF 751127f654740f2a26ad62a5c155af9199af9e69b889clairehoif ac_fn_c_try_compile "$LINENO"; then : 751250294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho U_CHECK_UTF16_STRING=1 751350294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoelse 751427f654740f2a26ad62a5c155af9199af9e69b889claireho U_CHECK_UTF16_STRING=0 751550294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 751650294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehorm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 751750294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho if test "$U_CHECK_UTF16_STRING" = 1; then 751850294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho CHECK_UTF16_STRING_RESULT="available"; 751950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho U_CHECK_GNUC_UTF16_STRING=1 752050294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho else 752150294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho CFLAGS="${OLD_CFLAGS}" 752250294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho CXXFLAGS="${OLD_CXXFLAGS}" 752350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho fi 752450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho fi 752550294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehofi 752650294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 752750294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho 752827f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECK_UTF16_STRING_RESULT" >&5 752985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$CHECK_UTF16_STRING_RESULT" >&6; } 7530ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7531ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 753285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Enable/disable extras 753385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check whether --enable-extras was given. 753427f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_extras+set}" = set; then : 753585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho enableval=$enable_extras; case "${enableval}" in 7536ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru yes) extras=true ;; 7537ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru no) extras=false ;; 753827f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "bad value ${enableval} for --enable-extras" "$LINENO" 5 ;; 7539ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 7540ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7541ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru extras=true 754285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 754385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7544ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7545ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "$extras" = true; then 7546ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru EXTRAS_TRUE= 7547ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7548ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru EXTRAS_TRUE='#' 7549ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 755085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check whether --enable-icuio was given. 755127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_icuio+set}" = set; then : 755285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho enableval=$enable_icuio; case "${enableval}" in 7553ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru yes) icuio=true ;; 7554ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru no) icuio=false ;; 755527f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "bad value ${enableval} for --enable-icuio" "$LINENO" 5 ;; 7556ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 7557ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7558ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru icuio=true 755985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 756085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7561ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7562ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "$icuio" = true; then 7563ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ICUIO_TRUE= 7564ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7565ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ICUIO_TRUE='#' 7566ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7567ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 756885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Enable/disable layout 756985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check whether --enable-layout was given. 757027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_layout+set}" = set; then : 757185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho enableval=$enable_layout; case "${enableval}" in 7572ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru yes) layout=true ;; 7573ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru no) layout=false ;; 757427f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "bad value ${enableval} for --enable-layout" "$LINENO" 5 ;; 7575ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 7576ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7577ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru layout=true 757885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 757985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7580ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7581ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "$layout" = true; then 7582ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru LAYOUT_TRUE= 7583ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7584ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru LAYOUT_TRUE='#' 7585ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7586ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7587ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 758885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check whether --with-data-packaging was given. 758927f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${with_data_packaging+set}" = set; then : 759085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho withval=$with_data_packaging; case "${withval}" in 7591ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru files|archive|library) datapackaging=$withval ;; 7592ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru auto) datapackaging=$withval ;; 7593ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru common) datapackaging=archive ;; 7594ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru dll) datapackaging=library ;; 7595ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru static) datapackaging=static ;; 759627f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "bad value ${withval} for --with-data-packaging" "$LINENO" 5 ;; 7597ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 7598ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7599ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru datapackaging= 760085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 760185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7602ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 760385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Note: 'thesysconfdir' is an evaluated version, for Man pages, so also for thedatadir, thelibdir, etc.. 760485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# thesysconfdir=`eval echo $sysconfdir` 7605ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruthedatadir=`eval echo $datadir` 760685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Always put raw data files in share/icu/{version}, etc. Never use lib/icu/{version} for data files.. Actual shared libraries will go in {libdir}. 7607ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querupkgicudatadir=$datadir 7608ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruthepkgicudatadir=$thedatadir 7609ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7610ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7611ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7612ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7613ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test x"$datapackaging" = x -o x"$datapackaging" = xauto; then 761450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho # default to library 7615ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru datapackaging=library 761650294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho if test "$ENABLE_STATIC" = "YES"; then 761750294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho if test "$ENABLE_SHARED" != "YES"; then 761850294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho datapackaging=static 761950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho fi 762050294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho fi 7621ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7622ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 762385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodatapackaging_dir=`eval echo $thedatadir`"/icu/${VERSION}" 762485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 762585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodatapackaging_msg="(No explaination for mode $datapackaging.)" 762685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 762785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodatapackaging_msg_path="ICU will look in $datapackaging_dir which is the installation location. Call u_setDataDirectory() or use the ICU_DATA environment variable to override." 762885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodatapackaging_msg_set="ICU will use the linked data library. If linked with the stub library located in stubdata/, the application can use udata_setCommonData() or set a data path to override." 762985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodatapackaging_howfound="(unknown)" 763085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7631ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querucase "$datapackaging" in 7632ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru files) 763385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho DATA_PACKAGING_MODE=files 763485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho datapackaging_msg="ICU data will be stored in individual files." 763585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho datapackaging_howfound="$datapackaging_msg_path" 763685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ;; 7637ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru archive) 763885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho DATA_PACKAGING_MODE=common 763985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho datapackaging_msg="ICU data will be stored in a single .dat file." 764085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho datapackaging_howfound="$datapackaging_msg_path" 764185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ;; 7642ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru library) 764385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho DATA_PACKAGING_MODE=dll 764485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho datapackaging_msg="ICU data will be linked with ICU." 764585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if test "$ENABLE_STATIC" = "YES"; then 764685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho datapackaging_msg="$datapackaging_msg A static data library will be built. " 764785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho fi 764885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if test "$ENABLE_SHARED" = "YES"; then 764985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho datapackaging_msg="$datapackaging_msg A shared data library will be built. " 765085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho fi 765185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho datapackaging_howfound="$datapackaging_msg_set" 765285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ;; 765350294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho static) 765450294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho DATA_PACKAGING_MODE=static 765550294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho datapackaging_msg="ICU data will be stored in a static library." 765650294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho datapackaging_howfound="$datapackaging_msg_set" 765750294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho ;; 7658ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruesac 7659ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7660ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 766185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Sets a library suffix 766227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a library suffix to use" >&5 766385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo_n "checking for a library suffix to use... " >&6; } 7664ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 766585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check whether --with-library-suffix was given. 766627f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${with_library_suffix+set}" = set; then : 766785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho withval=$with_library_suffix; ICULIBSUFFIX="${withval}" 7668ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7669ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ICULIBSUFFIX= 767085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 767185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7672ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querumsg=$ICULIBSUFFIX 7673ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "$msg" = ""; then 7674ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru msg=none 7675ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 767627f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg" >&5 767785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$msg" >&6; } 7678ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7679ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "$ICULIBSUFFIX" != "" 7680ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruthen 7681ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru U_HAVE_LIB_SUFFIX=1 768285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ICULIBSUFFIXCNAME=`echo _$ICULIBSUFFIX | sed 's/^A-Za-z0-9_/_/g'` 7683ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7684ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru U_HAVE_LIB_SUFFIX=0 7685ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7686ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7687ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7688ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 768985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Enable/disable tests 769085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check whether --enable-tests was given. 769127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_tests+set}" = set; then : 769285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho enableval=$enable_tests; case "${enableval}" in 7693ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru yes) tests=true ;; 7694ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru no) tests=false ;; 769527f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "bad value ${enableval} for --enable-tests" "$LINENO" 5 ;; 7696ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 7697ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7698ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru tests=true 769985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 770085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7701ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7702ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "$tests" = true; then 7703ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru TESTS_TRUE= 7704ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7705ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru TESTS_TRUE='#' 7706ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7707ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 770885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Enable/disable samples 770985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Check whether --enable-samples was given. 771027f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "${enable_samples+set}" = set; then : 771185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho enableval=$enable_samples; case "${enableval}" in 7712ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru yes) samples=true ;; 7713ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru no) samples=false ;; 771427f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "bad value ${enableval} for --enable-samples" "$LINENO" 5 ;; 7715ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 7716ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7717ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru samples=true 771885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 771985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7720ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7721ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "$samples" = true; then 7722ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru SAMPLES_TRUE= 7723ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 7724ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru SAMPLES_TRUE='#' 7725ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7726ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7727ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruICUDATA_CHAR=$U_ENDIAN_CHAR 7728ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 772985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Platform-specific Makefile setup 773085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# set ICUDATA_CHAR to 'e' for any EBCDIC (which should be big endian) platform. 7731ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querucase "${host}" in 7732ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-*-solaris*) platform=U_SOLARIS ;; 773327f654740f2a26ad62a5c155af9199af9e69b889claireho *-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) platform=U_LINUX ;; 7734ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-*-*bsd*|*-*-dragonfly*) platform=U_BSD ;; 7735ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-*-aix*) platform=U_AIX ;; 7736ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-*-hpux*) platform=U_HPUX ;; 7737ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-apple-darwin*|*-apple-rhapsody*) platform=U_DARWIN ;; 7738b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho *-*-cygwin*) platform=U_CYGWIN ;; 7739b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho *-*-mingw*) platform=U_MINGW ;; 7740ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-*ibm-openedition*|*-*-os390*) platform=OS390 7741ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then 7742ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ICUDATA_CHAR="e" 7743ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi ;; 7744ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-*-os400*) platform=OS400 7745ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then 7746ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ICUDATA_CHAR="e" 7747ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi ;; 7748ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-*-nto*) platform=U_QNX ;; 7749ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-dec-osf*) platform=U_OSF ;; 7750ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-*-beos) platform=U_BEOS ;; 7751ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-*-irix*) platform=U_IRIX ;; 7752ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *-ncr-*) platform=U_MPRAS ;; 7753ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *) platform=U_UNKNOWN_PLATFORM ;; 7754ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruesac 7755ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7756ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7757ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruplatform_make_fragment_name="$icu_cv_host_frag" 7758ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruplatform_make_fragment='$(top_srcdir)/config/'"$platform_make_fragment_name" 7759ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7760ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7761ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7762b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehoU_USING_CYGWIN_MSVC=0 7763b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehoif test "${icu_cv_host_frag}" = "mh-cygwin-msvc"; then 7764b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehoU_USING_CYGWIN_MSVC=1 7765b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehofi 7766b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho 7767b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho 7768ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "${FORCE_LIBS}" != ""; then 7769ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru echo " *** Overriding automatically chosen LIBS=$LIBS, using instead FORCE_LIBS=${FORCE_LIBS}" 1>&6 7770ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru LIBS=${FORCE_LIBS} 7771ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7772ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7773ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 777485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Now that we're done using CPPFLAGS etc. for tests, we can change it 777585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# for build. 7776ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7777ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test $ICU_USE_THREADS -ne 0 7778ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruthen 7779ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CPPFLAGS="$CPPFLAGS \$(THREADSCPPFLAGS)" 7780ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CFLAGS="$CFLAGS \$(THREADSCFLAGS)" 7781ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CXXFLAGS="$CXXFLAGS \$(THREADSCXXFLAGS)" 7782ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7783ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 778485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# output the Makefiles 7785b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2clairehoac_config_files="$ac_config_files icudefs.mk Makefile data/pkgdataMakefile config/Makefile.inc config/icu.pc config/pkgdataMakefile data/Makefile stubdata/Makefile common/Makefile i18n/Makefile layout/Makefile layoutex/Makefile io/Makefile extra/Makefile extra/uconv/Makefile extra/uconv/pkgdataMakefile extra/scrptrun/Makefile tools/Makefile tools/ctestfw/Makefile tools/toolutil/Makefile tools/makeconv/Makefile tools/genrb/Makefile tools/genccode/Makefile tools/gencmn/Makefile tools/gencnval/Makefile tools/genctd/Makefile tools/gentest/Makefile tools/gennorm2/Makefile tools/genbrk/Makefile tools/gensprep/Makefile tools/icuinfo/Makefile tools/icupkg/Makefile tools/icuswap/Makefile tools/pkgdata/Makefile tools/tzcode/Makefile tools/gencfu/Makefile test/Makefile test/compat/Makefile test/testdata/Makefile test/testdata/pkgdataMakefile test/hdrtst/Makefile test/intltest/Makefile test/cintltst/Makefile test/iotest/Makefile test/letest/Makefile test/perf/Makefile test/perf/collationperf/Makefile test/perf/dicttrieperf/Makefile test/perf/ubrkperf/Makefile test/perf/charperf/Makefile test/perf/convperf/Makefile test/perf/normperf/Makefile test/perf/DateFmtPerf/Makefile test/perf/strsrchperf/Makefile test/perf/unisetperf/Makefile test/perf/usetperf/Makefile test/perf/ustrperf/Makefile test/perf/utfperf/Makefile test/perf/utrie2perf/Makefile samples/Makefile samples/date/Makefile samples/cal/Makefile samples/layout/Makefile common/unicode/platform.h" 778685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7787ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querucat >confcache <<\_ACEOF 7788ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# This file is a shell script that caches the results of configure 7789ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# tests run on this system so they can be shared between configure 7790ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# scripts and configure runs, see configure's option --config-cache. 7791ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# It is not useful on other systems. If it contains results you don't 7792ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# want to keep, you may remove or edit it. 7793ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# 7794ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# config.status only pays attention to the cache file if you give it 7795ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# the --recheck option to rerun configure. 7796ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# 7797ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# `ac_cv_env_foo' variables (set or unset) will be overridden when 7798ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# loading this file, other *unset* `ac_cv_foo' will be assigned the 7799ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# following values. 7800ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7801ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 7802ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7803ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# The following way of writing the cache mishandles newlines in values, 7804ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# but we know of no workaround that is simple, portable, and efficient. 780585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# So, we kill variables containing newlines. 7806ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Ultrix sh set writes to stderr and can't be redirected directly, 7807ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# and sets the high bit in the cache file unless we assign to the vars. 780885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho( 780985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 781085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval ac_val=\$$ac_var 781185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_val in #( 781285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *${as_nl}*) 781385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_var in #( 781427f654740f2a26ad62a5c155af9199af9e69b889claireho *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 781585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 781685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 781785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_var in #( 781885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho _ | IFS | as_nl) ;; #( 781985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 782027f654740f2a26ad62a5c155af9199af9e69b889claireho *) { eval $ac_var=; unset $ac_var;} ;; 782185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac ;; 782285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 782385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho done 782485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7825ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru (set) 2>&1 | 782685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $as_nl`(ac_space=' '; set) 2>&1` in #( 782785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *${as_nl}ac_space=\ *) 782827f654740f2a26ad62a5c155af9199af9e69b889claireho # `set' does not quote correctly, so add quotes: double-quote 782927f654740f2a26ad62a5c155af9199af9e69b889claireho # substitution turns \\\\ into \\, and sed turns \\ into \. 7830ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru sed -n \ 7831ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru "s/'/'\\\\''/g; 7832ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 783385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ;; #( 7834ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *) 7835ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # `set' quotes correctly as required by POSIX, so do not add quotes. 783685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7837ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ;; 783885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac | 783985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho sort 784085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho) | 7841ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru sed ' 784285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho /^ac_cv_env_/b end 7843ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru t clear 784485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho :clear 7845ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7846ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru t end 784785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 784885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho :end' >>confcache 784985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 785085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if test -w "$cache_file"; then 785185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test "x$cache_file" != "x/dev/null" && 785227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 785385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$as_me: updating cache $cache_file" >&6;} 7854ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru cat confcache >$cache_file 7855ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru else 785627f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 785785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7858ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 7859ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7860ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querurm -f confcache 7861ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7862ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querutest "x$prefix" = xNONE && prefix=$ac_default_prefix 7863ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Let make expand exec_prefix. 7864ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querutest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7865ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7866ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruDEFS=-DHAVE_CONFIG_H 7867ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7868ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_libobjs= 7869ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_ltlibobjs= 787027f654740f2a26ad62a5c155af9199af9e69b889clairehoU= 7871ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7872ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # 1. Remove the extension, and $U if already installed. 787385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 787485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 787585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 787685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # will be set to the directory where LIBOBJS objects are built. 787727f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 787827f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7879ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudone 7880ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruLIBOBJS=$ac_libobjs 7881ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7882ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruLTLIBOBJS=$ac_ltlibobjs 7883ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7884ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7885ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 788685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 7887ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru: ${CONFIG_STATUS=./config.status} 788885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_write_fail=0 7889ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_clean_files_save=$ac_clean_files 7890ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_clean_files="$ac_clean_files $CONFIG_STATUS" 789127f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 789285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 789327f654740f2a26ad62a5c155af9199af9e69b889clairehoas_write_fail=0 789427f654740f2a26ad62a5c155af9199af9e69b889clairehocat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7895ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#! $SHELL 7896ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Generated by $as_me. 7897ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Run this file to recreate the current configuration. 7898ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Compiler output produced by configure, useful for debugging 7899ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# configure, is in config.log if it exists. 7900ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7901ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudebug=false 7902ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_cs_recheck=false 7903ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_cs_silent=false 7904ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 790527f654740f2a26ad62a5c155af9199af9e69b889clairehoSHELL=\${CONFIG_SHELL-$SHELL} 790627f654740f2a26ad62a5c155af9199af9e69b889clairehoexport SHELL 790727f654740f2a26ad62a5c155af9199af9e69b889claireho_ASEOF 790827f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 790927f654740f2a26ad62a5c155af9199af9e69b889claireho## -------------------- ## 791027f654740f2a26ad62a5c155af9199af9e69b889claireho## M4sh Initialization. ## 791127f654740f2a26ad62a5c155af9199af9e69b889claireho## -------------------- ## 7912ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 791385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Be more Bourne compatible 791485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoDUALCASE=1; export DUALCASE # for MKS sh 791527f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7916ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru emulate sh 7917ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru NULLCMD=: 791885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7919ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # is contrary to our usage. Disable this feature. 7920ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru alias -g '${1+"$@"}'='"$@"' 792185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho setopt NO_GLOB_SUBST 792285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 792327f654740f2a26ad62a5c155af9199af9e69b889claireho case `(set -o) 2>/dev/null` in #( 792427f654740f2a26ad62a5c155af9199af9e69b889claireho *posix*) : 792527f654740f2a26ad62a5c155af9199af9e69b889claireho set -o posix ;; #( 792627f654740f2a26ad62a5c155af9199af9e69b889claireho *) : 792727f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 792885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 792985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 793085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 793185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 793285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_nl=' 793385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho' 793485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoexport as_nl 793585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Printing a long string crashes Solaris 7 /usr/bin/printf. 793685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 793785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 793885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 793927f654740f2a26ad62a5c155af9199af9e69b889claireho# Prefer a ksh shell builtin over an external printf program on Solaris, 794027f654740f2a26ad62a5c155af9199af9e69b889claireho# but without wasting forks for bash or zsh. 794127f654740f2a26ad62a5c155af9199af9e69b889clairehoif test -z "$BASH_VERSION$ZSH_VERSION" \ 794227f654740f2a26ad62a5c155af9199af9e69b889claireho && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 794327f654740f2a26ad62a5c155af9199af9e69b889claireho as_echo='print -r --' 794427f654740f2a26ad62a5c155af9199af9e69b889claireho as_echo_n='print -rn --' 794527f654740f2a26ad62a5c155af9199af9e69b889clairehoelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 794685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo='printf %s\n' 794785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_n='printf %s' 794885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 794985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 795085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 795185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_n='/usr/ucb/echo -n' 795285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho else 795385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 795485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_n_body='eval 795585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho arg=$1; 795627f654740f2a26ad62a5c155af9199af9e69b889claireho case $arg in #( 795785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *"$as_nl"*) 795885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho expr "X$arg" : "X\\(.*\\)$as_nl"; 795985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 796085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac; 796185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 796285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ' 796385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho export as_echo_n_body 796485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo_n='sh -c $as_echo_n_body as_echo' 796585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho fi 796685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho export as_echo_body 796785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_echo='sh -c $as_echo_body as_echo' 796885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 796985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 797085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# The user is always right. 797185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test "${PATH_SEPARATOR+set}" != set; then 797285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho PATH_SEPARATOR=: 797385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 797485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 797585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho PATH_SEPARATOR=';' 797685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 7977ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 7978ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 7979ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 798085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# IFS 798185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# We need space, tab and new line, in precisely that order. Quoting is 798285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# there to prevent editors from complaining about space-tab. 798385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# (If _AS_PATH_WALK were called with IFS unset, it would disable word 798485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# splitting by setting IFS to empty value.) 798585bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoIFS=" "" $as_nl" 798685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 798785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Find who we are. Look in the path if we contain no directory separator. 798827f654740f2a26ad62a5c155af9199af9e69b889clairehocase $0 in #(( 798985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *[\\/]* ) as_myself=$0 ;; 799085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 799185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofor as_dir in $PATH 799285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodo 799385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho IFS=$as_save_IFS 799485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test -z "$as_dir" && as_dir=. 799527f654740f2a26ad62a5c155af9199af9e69b889claireho test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 799627f654740f2a26ad62a5c155af9199af9e69b889claireho done 799785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoIFS=$as_save_IFS 799885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 799985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ;; 800085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 800185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# We did not find ourselves, most probably we were run as `sh COMMAND' 800285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# in which case we are not to be found in the path. 800385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test "x$as_myself" = x; then 800485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_myself=$0 800585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 800685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test ! -f "$as_myself"; then 800785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 800827f654740f2a26ad62a5c155af9199af9e69b889claireho exit 1 800985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 801085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 801127f654740f2a26ad62a5c155af9199af9e69b889claireho# Unset variables that we do not need and which cause bugs (e.g. in 801227f654740f2a26ad62a5c155af9199af9e69b889claireho# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 801327f654740f2a26ad62a5c155af9199af9e69b889claireho# suppresses any "Segmentation fault" message there. '((' could 801427f654740f2a26ad62a5c155af9199af9e69b889claireho# trigger a bug in pdksh 5.2.14. 801527f654740f2a26ad62a5c155af9199af9e69b889clairehofor as_var in BASH_ENV ENV MAIL MAILPATH 801627f654740f2a26ad62a5c155af9199af9e69b889clairehodo eval test x\${$as_var+set} = xset \ 801727f654740f2a26ad62a5c155af9199af9e69b889claireho && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 801885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodone 8019ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruPS1='$ ' 8020ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruPS2='> ' 8021ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruPS4='+ ' 8022ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8023ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# NLS nuisances. 802485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLC_ALL=C 802585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoexport LC_ALL 802685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoLANGUAGE=C 802785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoexport LANGUAGE 8028ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 802927f654740f2a26ad62a5c155af9199af9e69b889claireho# CDPATH. 803027f654740f2a26ad62a5c155af9199af9e69b889claireho(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 803127f654740f2a26ad62a5c155af9199af9e69b889claireho 803227f654740f2a26ad62a5c155af9199af9e69b889claireho 803327f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_error STATUS ERROR [LINENO LOG_FD] 803427f654740f2a26ad62a5c155af9199af9e69b889claireho# ---------------------------------------- 803527f654740f2a26ad62a5c155af9199af9e69b889claireho# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 803627f654740f2a26ad62a5c155af9199af9e69b889claireho# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 803727f654740f2a26ad62a5c155af9199af9e69b889claireho# script with STATUS, using 1 if that was 0. 803827f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_error () 803927f654740f2a26ad62a5c155af9199af9e69b889claireho{ 804027f654740f2a26ad62a5c155af9199af9e69b889claireho as_status=$1; test $as_status -eq 0 && as_status=1 804127f654740f2a26ad62a5c155af9199af9e69b889claireho if test "$4"; then 804227f654740f2a26ad62a5c155af9199af9e69b889claireho as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 804327f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 804427f654740f2a26ad62a5c155af9199af9e69b889claireho fi 804527f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$as_me: error: $2" >&2 804627f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_exit $as_status 804727f654740f2a26ad62a5c155af9199af9e69b889claireho} # as_fn_error 804827f654740f2a26ad62a5c155af9199af9e69b889claireho 804927f654740f2a26ad62a5c155af9199af9e69b889claireho 805027f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_set_status STATUS 805127f654740f2a26ad62a5c155af9199af9e69b889claireho# ----------------------- 805227f654740f2a26ad62a5c155af9199af9e69b889claireho# Set $? to STATUS, without forking. 805327f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_set_status () 805427f654740f2a26ad62a5c155af9199af9e69b889claireho{ 805527f654740f2a26ad62a5c155af9199af9e69b889claireho return $1 805627f654740f2a26ad62a5c155af9199af9e69b889claireho} # as_fn_set_status 805727f654740f2a26ad62a5c155af9199af9e69b889claireho 805827f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_exit STATUS 805927f654740f2a26ad62a5c155af9199af9e69b889claireho# ----------------- 806027f654740f2a26ad62a5c155af9199af9e69b889claireho# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 806127f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_exit () 806227f654740f2a26ad62a5c155af9199af9e69b889claireho{ 806327f654740f2a26ad62a5c155af9199af9e69b889claireho set +e 806427f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_set_status $1 806527f654740f2a26ad62a5c155af9199af9e69b889claireho exit $1 806627f654740f2a26ad62a5c155af9199af9e69b889claireho} # as_fn_exit 806727f654740f2a26ad62a5c155af9199af9e69b889claireho 806827f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_unset VAR 806927f654740f2a26ad62a5c155af9199af9e69b889claireho# --------------- 807027f654740f2a26ad62a5c155af9199af9e69b889claireho# Portably unset VAR. 807127f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_unset () 807227f654740f2a26ad62a5c155af9199af9e69b889claireho{ 807327f654740f2a26ad62a5c155af9199af9e69b889claireho { eval $1=; unset $1;} 807427f654740f2a26ad62a5c155af9199af9e69b889claireho} 807527f654740f2a26ad62a5c155af9199af9e69b889clairehoas_unset=as_fn_unset 807627f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_append VAR VALUE 807727f654740f2a26ad62a5c155af9199af9e69b889claireho# ---------------------- 807827f654740f2a26ad62a5c155af9199af9e69b889claireho# Append the text in VALUE to the end of the definition contained in VAR. Take 807927f654740f2a26ad62a5c155af9199af9e69b889claireho# advantage of any shell optimizations that allow amortized linear growth over 808027f654740f2a26ad62a5c155af9199af9e69b889claireho# repeated appends, instead of the typical quadratic growth present in naive 808127f654740f2a26ad62a5c155af9199af9e69b889claireho# implementations. 808227f654740f2a26ad62a5c155af9199af9e69b889clairehoif (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 808327f654740f2a26ad62a5c155af9199af9e69b889claireho eval 'as_fn_append () 808427f654740f2a26ad62a5c155af9199af9e69b889claireho { 808527f654740f2a26ad62a5c155af9199af9e69b889claireho eval $1+=\$2 808627f654740f2a26ad62a5c155af9199af9e69b889claireho }' 808727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 808827f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_append () 808927f654740f2a26ad62a5c155af9199af9e69b889claireho { 809027f654740f2a26ad62a5c155af9199af9e69b889claireho eval $1=\$$1\$2 809127f654740f2a26ad62a5c155af9199af9e69b889claireho } 809227f654740f2a26ad62a5c155af9199af9e69b889clairehofi # as_fn_append 809327f654740f2a26ad62a5c155af9199af9e69b889claireho 809427f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_arith ARG... 809527f654740f2a26ad62a5c155af9199af9e69b889claireho# ------------------ 809627f654740f2a26ad62a5c155af9199af9e69b889claireho# Perform arithmetic evaluation on the ARGs, and store the result in the 809727f654740f2a26ad62a5c155af9199af9e69b889claireho# global $as_val. Take advantage of shells that can avoid forks. The arguments 809827f654740f2a26ad62a5c155af9199af9e69b889claireho# must be portable across $(()) and expr. 809927f654740f2a26ad62a5c155af9199af9e69b889clairehoif (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 810027f654740f2a26ad62a5c155af9199af9e69b889claireho eval 'as_fn_arith () 810127f654740f2a26ad62a5c155af9199af9e69b889claireho { 810227f654740f2a26ad62a5c155af9199af9e69b889claireho as_val=$(( $* )) 810327f654740f2a26ad62a5c155af9199af9e69b889claireho }' 810427f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 810527f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_arith () 810627f654740f2a26ad62a5c155af9199af9e69b889claireho { 810727f654740f2a26ad62a5c155af9199af9e69b889claireho as_val=`expr "$@" || test $? -eq 1` 810827f654740f2a26ad62a5c155af9199af9e69b889claireho } 810927f654740f2a26ad62a5c155af9199af9e69b889clairehofi # as_fn_arith 811027f654740f2a26ad62a5c155af9199af9e69b889claireho 811127f654740f2a26ad62a5c155af9199af9e69b889claireho 811285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif expr a : '\(a\)' >/dev/null 2>&1 && 811385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test "X`expr 00001 : '.*\(...\)'`" = X001; then 8114ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru as_expr=expr 8115ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 8116ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru as_expr=false 8117ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 8118ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 811985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8120ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru as_basename=basename 8121ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 8122ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru as_basename=false 8123ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 8124ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 812527f654740f2a26ad62a5c155af9199af9e69b889clairehoif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 812627f654740f2a26ad62a5c155af9199af9e69b889claireho as_dirname=dirname 812727f654740f2a26ad62a5c155af9199af9e69b889clairehoelse 812827f654740f2a26ad62a5c155af9199af9e69b889claireho as_dirname=false 812927f654740f2a26ad62a5c155af9199af9e69b889clairehofi 8130ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 813185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_me=`$as_basename -- "$0" || 8132ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8133ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru X"$0" : 'X\(//\)$' \| \ 813485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho X"$0" : 'X\(/\)' \| . 2>/dev/null || 813585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo X/"$0" | 813685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho sed '/^.*\/\([^/][^/]*\)\/*$/{ 813785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 813885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 813985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 814085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho /^X\/\(\/\/\)$/{ 814185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 814285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 814385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 814485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho /^X\/\(\/\).*/{ 814585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 814685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 814785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 814885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s/.*/./; q'` 814985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 815027f654740f2a26ad62a5c155af9199af9e69b889claireho# Avoid depending upon Character Ranges. 815127f654740f2a26ad62a5c155af9199af9e69b889clairehoas_cr_letters='abcdefghijklmnopqrstuvwxyz' 815227f654740f2a26ad62a5c155af9199af9e69b889clairehoas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 815327f654740f2a26ad62a5c155af9199af9e69b889clairehoas_cr_Letters=$as_cr_letters$as_cr_LETTERS 815427f654740f2a26ad62a5c155af9199af9e69b889clairehoas_cr_digits='0123456789' 815527f654740f2a26ad62a5c155af9199af9e69b889clairehoas_cr_alnum=$as_cr_Letters$as_cr_digits 8156ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 815785bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoECHO_C= ECHO_N= ECHO_T= 815827f654740f2a26ad62a5c155af9199af9e69b889clairehocase `echo -n x` in #((((( 815985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho-n*) 816027f654740f2a26ad62a5c155af9199af9e69b889claireho case `echo 'xy\c'` in 816185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *c*) ECHO_T=' ';; # ECHO_T is single tab character. 816227f654740f2a26ad62a5c155af9199af9e69b889claireho xy) ECHO_C='\c';; 816327f654740f2a26ad62a5c155af9199af9e69b889claireho *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 816427f654740f2a26ad62a5c155af9199af9e69b889claireho ECHO_T=' ';; 816585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac;; 816685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho*) 816785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ECHO_N='-n';; 816885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 8169ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8170ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querurm -f conf$$ conf$$.exe conf$$.file 817185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test -d conf$$.dir; then 817285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho rm -f conf$$.dir/conf$$.file 817385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 817485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho rm -f conf$$.dir 817585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho mkdir conf$$.dir 2>/dev/null 817685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 817785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif (echo >conf$$.file) 2>/dev/null; then 817885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if ln -s conf$$.file conf$$ 2>/dev/null; then 8179ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru as_ln_s='ln -s' 818085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # ... but there are two gotchas: 818185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 818285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 818385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # In both cases, we have to default to `cp -p'. 818485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 818585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_ln_s='cp -p' 818685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho elif ln conf$$.file conf$$ 2>/dev/null; then 818785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_ln_s=ln 818885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho else 818985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_ln_s='cp -p' 8190ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 8191ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 8192ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru as_ln_s='cp -p' 8193ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 819485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 819585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hormdir conf$$.dir 2>/dev/null 8196ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 819727f654740f2a26ad62a5c155af9199af9e69b889claireho 819827f654740f2a26ad62a5c155af9199af9e69b889claireho# as_fn_mkdir_p 819927f654740f2a26ad62a5c155af9199af9e69b889claireho# ------------- 820027f654740f2a26ad62a5c155af9199af9e69b889claireho# Create "$as_dir" as a directory, including parents if necessary. 820127f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_mkdir_p () 820227f654740f2a26ad62a5c155af9199af9e69b889claireho{ 820327f654740f2a26ad62a5c155af9199af9e69b889claireho 820427f654740f2a26ad62a5c155af9199af9e69b889claireho case $as_dir in #( 820527f654740f2a26ad62a5c155af9199af9e69b889claireho -*) as_dir=./$as_dir;; 820627f654740f2a26ad62a5c155af9199af9e69b889claireho esac 820727f654740f2a26ad62a5c155af9199af9e69b889claireho test -d "$as_dir" || eval $as_mkdir_p || { 820827f654740f2a26ad62a5c155af9199af9e69b889claireho as_dirs= 820927f654740f2a26ad62a5c155af9199af9e69b889claireho while :; do 821027f654740f2a26ad62a5c155af9199af9e69b889claireho case $as_dir in #( 821127f654740f2a26ad62a5c155af9199af9e69b889claireho *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 821227f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_qdir=$as_dir;; 821327f654740f2a26ad62a5c155af9199af9e69b889claireho esac 821427f654740f2a26ad62a5c155af9199af9e69b889claireho as_dirs="'$as_qdir' $as_dirs" 821527f654740f2a26ad62a5c155af9199af9e69b889claireho as_dir=`$as_dirname -- "$as_dir" || 821627f654740f2a26ad62a5c155af9199af9e69b889claireho$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 821727f654740f2a26ad62a5c155af9199af9e69b889claireho X"$as_dir" : 'X\(//\)[^/]' \| \ 821827f654740f2a26ad62a5c155af9199af9e69b889claireho X"$as_dir" : 'X\(//\)$' \| \ 821927f654740f2a26ad62a5c155af9199af9e69b889claireho X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 822027f654740f2a26ad62a5c155af9199af9e69b889claireho$as_echo X"$as_dir" | 822127f654740f2a26ad62a5c155af9199af9e69b889claireho sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 822227f654740f2a26ad62a5c155af9199af9e69b889claireho s//\1/ 822327f654740f2a26ad62a5c155af9199af9e69b889claireho q 822427f654740f2a26ad62a5c155af9199af9e69b889claireho } 822527f654740f2a26ad62a5c155af9199af9e69b889claireho /^X\(\/\/\)[^/].*/{ 822627f654740f2a26ad62a5c155af9199af9e69b889claireho s//\1/ 822727f654740f2a26ad62a5c155af9199af9e69b889claireho q 822827f654740f2a26ad62a5c155af9199af9e69b889claireho } 822927f654740f2a26ad62a5c155af9199af9e69b889claireho /^X\(\/\/\)$/{ 823027f654740f2a26ad62a5c155af9199af9e69b889claireho s//\1/ 823127f654740f2a26ad62a5c155af9199af9e69b889claireho q 823227f654740f2a26ad62a5c155af9199af9e69b889claireho } 823327f654740f2a26ad62a5c155af9199af9e69b889claireho /^X\(\/\).*/{ 823427f654740f2a26ad62a5c155af9199af9e69b889claireho s//\1/ 823527f654740f2a26ad62a5c155af9199af9e69b889claireho q 823627f654740f2a26ad62a5c155af9199af9e69b889claireho } 823727f654740f2a26ad62a5c155af9199af9e69b889claireho s/.*/./; q'` 823827f654740f2a26ad62a5c155af9199af9e69b889claireho test -d "$as_dir" && break 823927f654740f2a26ad62a5c155af9199af9e69b889claireho done 824027f654740f2a26ad62a5c155af9199af9e69b889claireho test -z "$as_dirs" || eval "mkdir $as_dirs" 824127f654740f2a26ad62a5c155af9199af9e69b889claireho } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 824227f654740f2a26ad62a5c155af9199af9e69b889claireho 824327f654740f2a26ad62a5c155af9199af9e69b889claireho 824427f654740f2a26ad62a5c155af9199af9e69b889claireho} # as_fn_mkdir_p 8245ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif mkdir -p . 2>/dev/null; then 824627f654740f2a26ad62a5c155af9199af9e69b889claireho as_mkdir_p='mkdir -p "$as_dir"' 8247ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 8248ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru test -d ./-p && rmdir ./-p 8249ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru as_mkdir_p=false 8250ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 8251ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 825285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test -x / >/dev/null 2>&1; then 825385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_test_x='test -x' 825485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 825585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if ls -dL / >/dev/null 2>&1; then 825685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_ls_L_option=L 825785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho else 825885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_ls_L_option= 825985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho fi 826085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho as_test_x=' 826185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho eval sh -c '\'' 826285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if test -d "$1"; then 826385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test -d "$1/."; 826485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho else 826527f654740f2a26ad62a5c155af9199af9e69b889claireho case $1 in #( 826685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -*)set "./$1";; 826785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac; 826827f654740f2a26ad62a5c155af9199af9e69b889claireho case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 826985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ???[sx]*):;;*)false;;esac;fi 827085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho '\'' sh 827185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ' 827285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 827385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoas_executable_p=$as_test_x 8274ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8275ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Sed expression to map a string onto a valid CPP name. 8276ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8277ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8278ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Sed expression to map a string onto a valid variable name. 8279ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8280ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8281ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8282ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruexec 6>&1 828327f654740f2a26ad62a5c155af9199af9e69b889claireho## ----------------------------------- ## 828427f654740f2a26ad62a5c155af9199af9e69b889claireho## Main body of $CONFIG_STATUS script. ## 828527f654740f2a26ad62a5c155af9199af9e69b889claireho## ----------------------------------- ## 828627f654740f2a26ad62a5c155af9199af9e69b889claireho_ASEOF 828727f654740f2a26ad62a5c155af9199af9e69b889clairehotest $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 8288ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 828927f654740f2a26ad62a5c155af9199af9e69b889clairehocat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 829027f654740f2a26ad62a5c155af9199af9e69b889claireho# Save the log message, to keep $0 and so on meaningful, and to 8291ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# report actual input values of CONFIG_FILES etc. instead of their 829285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# values after options handling. 829385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_log=" 8294ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruThis file was extended by $as_me, which was 829527f654740f2a26ad62a5c155af9199af9e69b889clairehogenerated by GNU Autoconf 2.67. Invocation command line was 8296ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8297ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CONFIG_FILES = $CONFIG_FILES 8298ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CONFIG_HEADERS = $CONFIG_HEADERS 8299ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CONFIG_LINKS = $CONFIG_LINKS 8300ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru CONFIG_COMMANDS = $CONFIG_COMMANDS 8301ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru $ $0 $@ 8302ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 830385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoon `(hostname || uname -n) 2>/dev/null | sed 1q` 830485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho" 830585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 8306ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 8307ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 830885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase $ac_config_files in *" 830985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho"*) set x $ac_config_files; shift; ac_config_files=$*;; 831085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 8311ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 831285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase $ac_config_headers in *" 831385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 831485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 8315ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8316ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 831785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 831885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Files that config.status was made for. 831985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoconfig_files="$ac_config_files" 832085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoconfig_headers="$ac_config_headers" 8321ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 832285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 8323ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 832485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8325ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_cs_usage="\ 832627f654740f2a26ad62a5c155af9199af9e69b889claireho\`$as_me' instantiates files and other configuration actions 832727f654740f2a26ad62a5c155af9199af9e69b889clairehofrom templates according to the current configuration. Unless the files 832827f654740f2a26ad62a5c155af9199af9e69b889clairehoand actions are specified as TAGs, all are instantiated by default. 8329ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 833027f654740f2a26ad62a5c155af9199af9e69b889clairehoUsage: $0 [OPTION]... [TAG]... 8331ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8332ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -h, --help print this help, then exit 833385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -V, --version print version number and configuration settings, then exit 833427f654740f2a26ad62a5c155af9199af9e69b889claireho --config print configuration, then exit 833585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -q, --quiet, --silent 833685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho do not print progress messages 8337ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -d, --debug don't remove temporary files 8338ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --recheck update $as_me by reconfiguring in the same conditions 833985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --file=FILE[:TEMPLATE] 834085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho instantiate the configuration file FILE 834185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --header=FILE[:TEMPLATE] 834285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho instantiate the configuration header FILE 8343ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8344ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruConfiguration files: 8345ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru$config_files 8346ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8347ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruConfiguration headers: 8348ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru$config_headers 8349ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 835027f654740f2a26ad62a5c155af9199af9e69b889clairehoReport bugs to the package provider." 8351ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 835285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 835385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 835427f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8355ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_cs_version="\\ 8356ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruconfig.status 835727f654740f2a26ad62a5c155af9199af9e69b889clairehoconfigured by $0, generated by GNU Autoconf 2.67, 835827f654740f2a26ad62a5c155af9199af9e69b889claireho with options \\"\$ac_cs_config\\" 8359ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 836027f654740f2a26ad62a5c155af9199af9e69b889clairehoCopyright (C) 2010 Free Software Foundation, Inc. 8361ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruThis config.status script is free software; the Free Software Foundation 8362ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querugives unlimited permission to copy, distribute and modify it." 836385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 836485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_pwd='$ac_pwd' 836585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hosrcdir='$srcdir' 836685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoINSTALL='$INSTALL' 836785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hotest -n "\$AWK" || AWK=awk 8368ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 8369ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 837085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 837185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# The default lists apply if the user does not specify any file. 8372ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_need_defaults=: 8373ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruwhile test $# != 0 8374ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudo 8375ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru case $1 in 837627f654740f2a26ad62a5c155af9199af9e69b889claireho --*=?*) 837785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_option=`expr "X$1" : 'X\([^=]*\)='` 837885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8379ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_shift=: 8380ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ;; 838127f654740f2a26ad62a5c155af9199af9e69b889claireho --*=) 838227f654740f2a26ad62a5c155af9199af9e69b889claireho ac_option=`expr "X$1" : 'X\([^=]*\)='` 838327f654740f2a26ad62a5c155af9199af9e69b889claireho ac_optarg= 838427f654740f2a26ad62a5c155af9199af9e69b889claireho ac_shift=: 838527f654740f2a26ad62a5c155af9199af9e69b889claireho ;; 838685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) 8387ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_option=$1 8388ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_optarg=$2 8389ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_shift=shift 8390ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ;; 8391ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 8392ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8393ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru case $ac_option in 8394ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Handling of the options. 8395ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8396ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_cs_recheck=: ;; 839785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 839885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$ac_cs_version"; exit ;; 839927f654740f2a26ad62a5c155af9199af9e69b889claireho --config | --confi | --conf | --con | --co | --c ) 840027f654740f2a26ad62a5c155af9199af9e69b889claireho $as_echo "$ac_cs_config"; exit ;; 840185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --debug | --debu | --deb | --de | --d | -d ) 8402ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru debug=: ;; 8403ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --file | --fil | --fi | --f ) 8404ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru $ac_shift 840585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_optarg in 840685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 840727f654740f2a26ad62a5c155af9199af9e69b889claireho '') as_fn_error $? "missing file argument" ;; 840885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 840927f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_append CONFIG_FILES " '$ac_optarg'" 8410ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_need_defaults=false;; 8411ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru --header | --heade | --head | --hea ) 8412ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru $ac_shift 841385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_optarg in 841485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 841585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 841627f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_append CONFIG_HEADERS " '$ac_optarg'" 8417ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_need_defaults=false;; 841885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --he | --h) 841985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # Conflict between --help and --header 842027f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "ambiguous option: \`$1' 842127f654740f2a26ad62a5c155af9199af9e69b889clairehoTry \`$0 --help' for more information.";; 842285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho --help | --hel | -h ) 842385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$ac_cs_usage"; exit ;; 8424ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8425ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru | -silent | --silent | --silen | --sile | --sil | --si | --s) 8426ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_cs_silent=: ;; 8427ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8428ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # This is an error. 842927f654740f2a26ad62a5c155af9199af9e69b889claireho -*) as_fn_error $? "unrecognized option: \`$1' 843027f654740f2a26ad62a5c155af9199af9e69b889clairehoTry \`$0 --help' for more information." ;; 8431ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 843227f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_append ac_config_targets " $1" 843385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_need_defaults=false ;; 8434ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8435ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 8436ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru shift 8437ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudone 8438ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8439ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_configure_extra_args= 8440ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8441ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif $ac_cs_silent; then 8442ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru exec 6>/dev/null 8443ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_configure_extra_args="$ac_configure_extra_args --silent" 8444ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 8445ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8446ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 844785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8448ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif \$ac_cs_recheck; then 844985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 845085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho shift 845185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 845285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho CONFIG_SHELL='$SHELL' 845385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho export CONFIG_SHELL 845485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho exec "\$@" 8455ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 8456ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8457ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 845885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 845985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoexec 5>>config.log 846085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 846185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho echo 846285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 846385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho## Running $as_me. ## 846485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ASBOX 846585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$ac_log" 846685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} >&5 8467ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 846885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 846985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 847085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 8471ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 847285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8473ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 847485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Handling of arguments. 8475ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufor ac_config_target in $ac_config_targets 8476ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudo 847785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_config_target in 847885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "common/icucfg.h") CONFIG_HEADERS="$CONFIG_HEADERS common/icucfg.h" ;; 847985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "icudefs.mk") CONFIG_FILES="$CONFIG_FILES icudefs.mk" ;; 848085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 848185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "data/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES data/pkgdataMakefile" ;; 848285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "config/Makefile.inc") CONFIG_FILES="$CONFIG_FILES config/Makefile.inc" ;; 848327f654740f2a26ad62a5c155af9199af9e69b889claireho "config/icu.pc") CONFIG_FILES="$CONFIG_FILES config/icu.pc" ;; 848485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "config/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES config/pkgdataMakefile" ;; 848585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 848685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "stubdata/Makefile") CONFIG_FILES="$CONFIG_FILES stubdata/Makefile" ;; 848785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 848885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "i18n/Makefile") CONFIG_FILES="$CONFIG_FILES i18n/Makefile" ;; 848985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "layout/Makefile") CONFIG_FILES="$CONFIG_FILES layout/Makefile" ;; 849085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "layoutex/Makefile") CONFIG_FILES="$CONFIG_FILES layoutex/Makefile" ;; 849185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "io/Makefile") CONFIG_FILES="$CONFIG_FILES io/Makefile" ;; 849285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "extra/Makefile") CONFIG_FILES="$CONFIG_FILES extra/Makefile" ;; 849385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "extra/uconv/Makefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/Makefile" ;; 849485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "extra/uconv/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/pkgdataMakefile" ;; 849585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "extra/scrptrun/Makefile") CONFIG_FILES="$CONFIG_FILES extra/scrptrun/Makefile" ;; 849685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; 849785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/ctestfw/Makefile") CONFIG_FILES="$CONFIG_FILES tools/ctestfw/Makefile" ;; 849885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/toolutil/Makefile") CONFIG_FILES="$CONFIG_FILES tools/toolutil/Makefile" ;; 849985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/makeconv/Makefile") CONFIG_FILES="$CONFIG_FILES tools/makeconv/Makefile" ;; 850085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/genrb/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genrb/Makefile" ;; 850185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/genccode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genccode/Makefile" ;; 850285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/gencmn/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencmn/Makefile" ;; 850385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/gencnval/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencnval/Makefile" ;; 850485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/genctd/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genctd/Makefile" ;; 850585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/gentest/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gentest/Makefile" ;; 850650294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho "tools/gennorm2/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gennorm2/Makefile" ;; 850785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/genbrk/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genbrk/Makefile" ;; 850885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/gensprep/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gensprep/Makefile" ;; 850950294ead5e5d23f5bbfed76e00e6b510bd41eee1claireho "tools/icuinfo/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuinfo/Makefile" ;; 851085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/icupkg/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icupkg/Makefile" ;; 851185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/icuswap/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuswap/Makefile" ;; 851285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/pkgdata/Makefile") CONFIG_FILES="$CONFIG_FILES tools/pkgdata/Makefile" ;; 851385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/tzcode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/tzcode/Makefile" ;; 851485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "tools/gencfu/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencfu/Makefile" ;; 851585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 851685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/compat/Makefile") CONFIG_FILES="$CONFIG_FILES test/compat/Makefile" ;; 851785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/testdata/Makefile") CONFIG_FILES="$CONFIG_FILES test/testdata/Makefile" ;; 851885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/testdata/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES test/testdata/pkgdataMakefile" ;; 851985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/hdrtst/Makefile") CONFIG_FILES="$CONFIG_FILES test/hdrtst/Makefile" ;; 852085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/intltest/Makefile") CONFIG_FILES="$CONFIG_FILES test/intltest/Makefile" ;; 852185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/cintltst/Makefile") CONFIG_FILES="$CONFIG_FILES test/cintltst/Makefile" ;; 852285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/iotest/Makefile") CONFIG_FILES="$CONFIG_FILES test/iotest/Makefile" ;; 852385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/letest/Makefile") CONFIG_FILES="$CONFIG_FILES test/letest/Makefile" ;; 852485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/Makefile" ;; 852585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/collationperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collationperf/Makefile" ;; 8526b26ce3a7367e4ed2ee7ddddcdc3f3d3377a455c2claireho "test/perf/dicttrieperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/dicttrieperf/Makefile" ;; 852785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/ubrkperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ubrkperf/Makefile" ;; 852885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/charperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/charperf/Makefile" ;; 852985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/convperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/convperf/Makefile" ;; 853085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/normperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/normperf/Makefile" ;; 853127f654740f2a26ad62a5c155af9199af9e69b889claireho "test/perf/DateFmtPerf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/DateFmtPerf/Makefile" ;; 853285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/strsrchperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/strsrchperf/Makefile" ;; 853385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/unisetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/unisetperf/Makefile" ;; 853485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/usetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/usetperf/Makefile" ;; 853585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/ustrperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ustrperf/Makefile" ;; 853685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/utfperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utfperf/Makefile" ;; 853785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "test/perf/utrie2perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utrie2perf/Makefile" ;; 853885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "samples/Makefile") CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;; 853985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "samples/date/Makefile") CONFIG_FILES="$CONFIG_FILES samples/date/Makefile" ;; 854085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "samples/cal/Makefile") CONFIG_FILES="$CONFIG_FILES samples/cal/Makefile" ;; 854185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "samples/layout/Makefile") CONFIG_FILES="$CONFIG_FILES samples/layout/Makefile" ;; 854285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "common/unicode/platform.h") CONFIG_FILES="$CONFIG_FILES common/unicode/platform.h" ;; 854385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 854427f654740f2a26ad62a5c155af9199af9e69b889claireho *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8545ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 8546ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querudone 8547ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 854885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 8549ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# If the user did not use the arguments to specify the items to instantiate, 8550ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# then the envvar interface is used. Set only those that are not. 8551ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# We use the long form for the default assignment because of an extremely 8552ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# bizarre bug on SunOS 4.1.3. 8553ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif $ac_need_defaults; then 8554ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 8555ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 8556ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 8557ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8558ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Have a temporary directory for convenience. Make it in the build tree 855985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# simply because there is no reason against having it here, and in addition, 8560ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# creating and moving files from /tmp can sometimes cause problems. 856185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Hook for its removal unless debugging. 856285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Note that there is a small window in which the directory will not be cleaned: 856385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# after its creation but before its name has been assigned to `$tmp'. 8564ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru$debug || 8565ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 856685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho tmp= 856785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho trap 'exit_status=$? 856885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 856985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho' 0 857027f654740f2a26ad62a5c155af9199af9e69b889claireho trap 'as_fn_exit 1' 1 2 13 15 8571ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} 8572ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Create a (secure) tmp directory for tmp files. 8573ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8574ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 857585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8576ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru test -n "$tmp" && test -d "$tmp" 8577ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru} || 8578ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru{ 857985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho tmp=./conf$$-$RANDOM 858085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho (umask 077 && mkdir "$tmp") 858127f654740f2a26ad62a5c155af9199af9e69b889claireho} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 8582ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 858385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Set up the scripts for CONFIG_FILES section. 858485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# No need to generate them if there are no CONFIG_FILES. 858585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# This happens for instance with `./config.status config.h'. 858685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test -n "$CONFIG_FILES"; then 858785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 858885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 858927f654740f2a26ad62a5c155af9199af9e69b889clairehoac_cr=`echo X | tr X '\015'` 859027f654740f2a26ad62a5c155af9199af9e69b889claireho# On cygwin, bash can eat \r inside `` if the user requested igncr. 859127f654740f2a26ad62a5c155af9199af9e69b889claireho# But we know of no other shell where ac_cr would be empty at this 859227f654740f2a26ad62a5c155af9199af9e69b889claireho# point, so we can use a bashism as a fallback. 859327f654740f2a26ad62a5c155af9199af9e69b889clairehoif test "x$ac_cr" = x; then 859427f654740f2a26ad62a5c155af9199af9e69b889claireho eval ac_cr=\$\'\\r\' 859527f654740f2a26ad62a5c155af9199af9e69b889clairehofi 859685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 859785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 859885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_cs_awk_cr='\\r' 859985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 860085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_cs_awk_cr=$ac_cr 860185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 860285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 860385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoecho 'BEGIN {' >"$tmp/subs1.awk" && 8604ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 8605ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8606ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 860785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 860885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho echo "cat >conf$$subs.awk <<_ACEOF" && 860985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 861085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho echo "_ACEOF" 861185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} >conf$$subs.sh || 861227f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 861327f654740f2a26ad62a5c155af9199af9e69b889clairehoac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 861485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_delim='%!_!# ' 861585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofor ac_last_try in false false false false false :; do 861685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho . ./conf$$subs.sh || 861727f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8618ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 861985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 862085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if test $ac_delim_n = $ac_delim_num; then 862185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho break 862285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho elif $ac_last_try; then 862327f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 862485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho else 862585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8626ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 862785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodone 862885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f conf$$subs.sh 862985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 863085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 863185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>"\$tmp/subs1.awk" <<\\_ACAWK && 863285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 863385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hosed -n ' 863485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoh 863585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/^/S["/; s/!.*/"]=/ 863685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hop 863785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hog 863885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/^[^!]*!// 863985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho:repl 864085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot repl 864185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/'"$ac_delim"'$// 864285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot delim 864385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho:nl 864485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoh 864527f654740f2a26ad62a5c155af9199af9e69b889clairehos/\(.\{148\}\)..*/\1/ 864685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot more1 864785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 864885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hop 864985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hon 865085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hob repl 865185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho:more1 865285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/["\\]/\\&/g; s/^/"/; s/$/"\\/ 865385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hop 865485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hog 865585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/.\{148\}// 865685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot nl 865785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho:delim 865885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoh 865927f654740f2a26ad62a5c155af9199af9e69b889clairehos/\(.\{148\}\)..*/\1/ 866085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot more2 866185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/["\\]/\\&/g; s/^/"/; s/$/"/ 866285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hop 866385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hob 866485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho:more2 866585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/["\\]/\\&/g; s/^/"/; s/$/"\\/ 866685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hop 866785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hog 866885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/.\{148\}// 866985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot delim 867085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho' <conf$$subs.awk | sed ' 867185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/^[^""]/{ 867285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho N 867385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s/\n// 867485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 867585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho' >>$CONFIG_STATUS || ac_write_fail=1 867685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Horm -f conf$$subs.awk 867785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 867885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACAWK 867985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>"\$tmp/subs1.awk" <<_ACAWK && 868085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho for (key in S) S_is_set[key] = 1 868185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho FS = "" 868285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 868385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 868485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ 868585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho line = $ 0 868685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho nfields = split(line, field, "@") 868785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho substed = 0 868885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho len = length(field[1]) 868985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho for (i = 2; i < nfields; i++) { 869085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho key = field[i] 869185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho keylen = length(key) 869285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if (S_is_set[key]) { 869385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho value = S[key] 869485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 869585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho len += length(value) + length(field[++i]) 869685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho substed = 1 869785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } else 869885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho len += 1 + keylen 869985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 870085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 870185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho print line 870285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 870385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 870485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACAWK 870585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 870685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 870785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 870885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 870985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 871085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho cat 871185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 871227f654740f2a26ad62a5c155af9199af9e69b889claireho || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 871385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 871485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 871527f654740f2a26ad62a5c155af9199af9e69b889claireho# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 871627f654740f2a26ad62a5c155af9199af9e69b889claireho# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 871785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# trailing colons and then remove the whole line if VPATH becomes empty 871885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# (actually we leave an empty line to preserve line numbers). 871985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test "x$srcdir" = x.; then 872027f654740f2a26ad62a5c155af9199af9e69b889claireho ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 872127f654740f2a26ad62a5c155af9199af9e69b889clairehoh 872227f654740f2a26ad62a5c155af9199af9e69b889clairehos/// 872327f654740f2a26ad62a5c155af9199af9e69b889clairehos/^/:/ 872427f654740f2a26ad62a5c155af9199af9e69b889clairehos/[ ]*$/:/ 872527f654740f2a26ad62a5c155af9199af9e69b889clairehos/:\$(srcdir):/:/g 872627f654740f2a26ad62a5c155af9199af9e69b889clairehos/:\${srcdir}:/:/g 872727f654740f2a26ad62a5c155af9199af9e69b889clairehos/:@srcdir@:/:/g 872827f654740f2a26ad62a5c155af9199af9e69b889clairehos/^:*// 872985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/:*$// 873027f654740f2a26ad62a5c155af9199af9e69b889clairehox 873127f654740f2a26ad62a5c155af9199af9e69b889clairehos/\(=[ ]*\).*/\1/ 873227f654740f2a26ad62a5c155af9199af9e69b889clairehoG 873327f654740f2a26ad62a5c155af9199af9e69b889clairehos/\n// 873485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/^[^=]*=[ ]*$// 873585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho}' 873685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 873785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 873885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8739ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi # test -n "$CONFIG_FILES" 8740ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 874185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Set up the scripts for CONFIG_HEADERS section. 874285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# No need to generate them if there are no CONFIG_HEADERS. 874385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# This happens for instance with `./config.status Makefile'. 874485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test -n "$CONFIG_HEADERS"; then 874585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >"$tmp/defines.awk" <<\_ACAWK || 874685bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoBEGIN { 8747ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 874885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 874985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Transform confdefs.h into an awk script `defines.awk', embedded as 875085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# here-document in config.status, that substitutes the proper values into 875185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# config.h.in to produce config.h. 875285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 875385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Create a delimiter string that does not exist in confdefs.h, to ease 875485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# handling of long lines. 875585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_delim='%!_!# ' 875685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofor ac_last_try in false false :; do 875785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_t=`sed -n "/$ac_delim/p" confdefs.h` 875885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if test -z "$ac_t"; then 875985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho break 876085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho elif $ac_last_try; then 876127f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 876285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho else 876385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 876485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho fi 876585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodone 876685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 876785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# For the awk script, D is an array of macro values keyed by name, 876885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# likewise P contains macro parameters if any. Preserve backslash 876985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# newline sequences. 877085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 877185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 877285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hosed -n ' 877385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/.\{148\}/&'"$ac_delim"'/g 877485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot rset 877585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho:rset 877685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/^[ ]*#[ ]*define[ ][ ]*/ / 877785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot def 877885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hod 877985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho:def 878085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/\\$// 878185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot bsnl 878285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/["\\]/\\&/g 878385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 878485bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoD["\1"]=" \3"/p 878585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 878685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hod 878785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho:bsnl 878885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/["\\]/\\&/g 878985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 879085bf2e2fbc60a9f938064abc8127d61da7d19882Claire HoD["\1"]=" \3\\\\\\n"\\/p 879185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot cont 879285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 879385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot cont 879485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hod 879585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho:cont 879685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hon 879785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/.\{148\}/&'"$ac_delim"'/g 879885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot clear 879985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho:clear 880085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/\\$// 880185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hot bsnlc 880285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/["\\]/\\&/g; s/^/"/; s/$/"/p 880385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hod 880485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho:bsnlc 880585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 880685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hob cont 880785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho' <confdefs.h | sed ' 880885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos/'"$ac_delim"'/"\\\ 880985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho"/g' >>$CONFIG_STATUS || ac_write_fail=1 881085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 881185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 881285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho for (key in D) D_is_set[key] = 1 881385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho FS = "" 881485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 881585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 881685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho line = \$ 0 881785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho split(line, arg, " ") 881885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if (arg[1] == "#") { 881985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho defundef = arg[2] 882085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho mac1 = arg[3] 882185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } else { 882285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho defundef = substr(arg[1], 2) 882385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho mac1 = arg[2] 882485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 882585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho split(mac1, mac2, "(") #) 882685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho macro = mac2[1] 882785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho prefix = substr(line, 1, index(line, defundef) - 1) 882885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if (D_is_set[macro]) { 882985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # Preserve the white space surrounding the "#". 883085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho print prefix "define", macro P[macro] D[macro] 883185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho next 883285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } else { 883385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # Replace #undef with comments. This is necessary, for example, 883485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # in the case of _POSIX_SOURCE, which is predefined and required 883585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # on some systems where configure will not decide to define it. 883685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if (defundef == "undef") { 883785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho print "/*", prefix defundef, macro, "*/" 883885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho next 883985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 884085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 884185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 884285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho{ print } 884385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACAWK 884485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 884585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 884627f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 884785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi # test -n "$CONFIG_HEADERS" 884885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 884985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 885085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 885185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoshift 885285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofor ac_tag 885385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodo 885485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_tag in 885585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho :[FHLC]) ac_mode=$ac_tag; continue;; 885685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 885785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_mode$ac_tag in 885885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho :[FHL]*:*);; 885927f654740f2a26ad62a5c155af9199af9e69b889claireho :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 886085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho :[FH]-) ac_tag=-:-;; 886185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 886285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 886385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_save_IFS=$IFS 886485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho IFS=: 886585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho set x $ac_tag 886685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho IFS=$ac_save_IFS 886785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho shift 886885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_file=$1 886985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho shift 887085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 887185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_mode in 887285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho :L) ac_source=$1;; 887385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho :[FH]) 887485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_file_inputs= 887585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho for ac_f 887685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho do 887785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_f in 887885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -) ac_f="$tmp/stdin";; 887985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) # Look for the file first in the build tree, then in the source tree 888085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # (if the path is not absolute). The absolute path cannot be DOS-style, 888185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # because $ac_f cannot contain `:'. 888285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho test -f "$ac_f" || 888385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_f in 888485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho [\\/$]*) false;; 888585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 888685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac || 888727f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 888885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 888985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 889027f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_append ac_file_inputs " '$ac_f'" 889185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho done 889285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 889385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # Let's still pretend it is `configure' which instantiates (i.e., don't 889485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # use $as_me), people would be surprised to read: 889585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # /* config.h. Generated by config.status. */ 889685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho configure_input='Generated from '` 889785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 889885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho `' by configure.' 889985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if test x"$ac_file" != x-; then 890085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho configure_input="$ac_file. $configure_input" 890127f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 890285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$as_me: creating $ac_file" >&6;} 890385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho fi 890485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # Neutralize special characters interpreted by sed in replacement strings. 890585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $configure_input in #( 890685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *\&* | *\|* | *\\* ) 890785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_sed_conf_input=`$as_echo "$configure_input" | 890885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho sed 's/[\\\\&|]/\\\\&/g'`;; #( 890985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_sed_conf_input=$configure_input;; 891085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 891185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 891285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_tag in 891385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *:-:* | *:-) cat >"$tmp/stdin" \ 891427f654740f2a26ad62a5c155af9199af9e69b889claireho || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 891585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 891685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ;; 8917ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 8918ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 891985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_dir=`$as_dirname -- "$ac_file" || 8920ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8921ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru X"$ac_file" : 'X\(//\)[^/]' \| \ 8922ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru X"$ac_file" : 'X\(//\)$' \| \ 892385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 892485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo X"$ac_file" | 892585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 892685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 892785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 892885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 892985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho /^X\(\/\/\)[^/].*/{ 893085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 893185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 893285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 893385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho /^X\(\/\/\)$/{ 893485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 893585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 893685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 893785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho /^X\(\/\).*/{ 893885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s//\1/ 893985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 894085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } 894185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s/.*/./; q'` 894227f654740f2a26ad62a5c155af9199af9e69b889claireho as_dir="$ac_dir"; as_fn_mkdir_p 8943ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_builddir=. 8944ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 894585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase "$ac_dir" in 894685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 894785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho*) 894885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 894985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # A ".." for each directory in $ac_dir_suffix. 895085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 895185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_top_builddir_sub in 895285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 895385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 895485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac ;; 895585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 895685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_abs_top_builddir=$ac_pwd 895785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_abs_builddir=$ac_pwd$ac_dir_suffix 895885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# for backward compatibility: 895985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_top_builddir=$ac_top_build_prefix 8960ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8961ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querucase $srcdir in 896285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho .) # We are building in place. 8963ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_srcdir=. 896485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_top_srcdir=$ac_top_builddir_sub 896585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_abs_top_srcdir=$ac_pwd ;; 896685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho [\\/]* | ?:[\\/]* ) # Absolute name. 8967ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_srcdir=$srcdir$ac_dir_suffix; 896885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_top_srcdir=$srcdir 896985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_abs_top_srcdir=$srcdir ;; 897085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) # Relative name. 897185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 897285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_top_srcdir=$ac_top_build_prefix$srcdir 897385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8974ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruesac 897585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8976ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8977ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 897885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho case $ac_mode in 897985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho :F) 898085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # 898185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # CONFIG_FILE 898285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # 8983ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 8984ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru case $INSTALL in 8985ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 898685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8987ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru esac 898885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 8989ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 899085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 899185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# If the template does not know about datarootdir, expand it. 899285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# FIXME: This hack should be removed a few years after 2.60. 899385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_datarootdir_hack=; ac_datarootdir_seen= 899485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_sed_dataroot=' 899585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/datarootdir/ { 899685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho p 899785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho q 899885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho} 899985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/@datadir@/p 900085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/@docdir@/p 900185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/@infodir@/p 900285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho/@localedir@/p 900327f654740f2a26ad62a5c155af9199af9e69b889claireho/@mandir@/p' 900485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 900585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho*datarootdir*) ac_datarootdir_seen=yes;; 900685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 900727f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 900885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 900985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho_ACEOF 901085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 901185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ac_datarootdir_hack=' 901285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s&@datadir@&$datadir&g 901385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s&@docdir@&$docdir&g 901485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s&@infodir@&$infodir&g 901585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s&@localedir@&$localedir&g 901685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho s&@mandir@&$mandir&g 901727f654740f2a26ad62a5c155af9199af9e69b889claireho s&\\\${datarootdir}&$datarootdir&g' ;; 901885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoesac 9019ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 902085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 902185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Neutralize VPATH when `$srcdir' = `.'. 902285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# Shell code in configure.ac might set extrasub. 902385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho# FIXME: do we really want to maintain this feature? 902485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 902585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoac_sed_extra="$ac_vpsub 9026ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru$extrasub 9027ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 902885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hocat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9029ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru:t 9030ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 903185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos|@configure_input@|$ac_sed_conf_input|;t t 903285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos&@top_builddir@&$ac_top_builddir_sub&;t t 903385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos&@top_build_prefix@&$ac_top_build_prefix&;t t 903485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos&@srcdir@&$ac_srcdir&;t t 903585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos&@abs_srcdir@&$ac_abs_srcdir&;t t 903685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos&@top_srcdir@&$ac_top_srcdir&;t t 903785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 903885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos&@builddir@&$ac_builddir&;t t 903985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos&@abs_builddir@&$ac_abs_builddir&;t t 904085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos&@abs_top_builddir@&$ac_abs_top_builddir&;t t 904185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hos&@INSTALL@&$ac_INSTALL&;t t 904285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$ac_datarootdir_hack 904385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho" 904485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 904527f654740f2a26ad62a5c155af9199af9e69b889claireho || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9046ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 904785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hotest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 904885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 904985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 905027f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 905127f654740f2a26ad62a5c155af9199af9e69b889clairehowhich seems to be undefined. Please make sure it is defined" >&5 905285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 905327f654740f2a26ad62a5c155af9199af9e69b889clairehowhich seems to be undefined. Please make sure it is defined" >&2;} 9054ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 905585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho rm -f "$tmp/stdin" 9056ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru case $ac_file in 905785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho -) cat "$tmp/out" && rm -f "$tmp/out";; 905885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 905985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac \ 906027f654740f2a26ad62a5c155af9199af9e69b889claireho || as_fn_error $? "could not create $ac_file" "$LINENO" 5 906185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ;; 906285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho :H) 906385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # 906485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # CONFIG_HEADER 906585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho # 9066ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru if test x"$ac_file" != x-; then 906785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho { 906885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "/* $configure_input */" \ 906985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 907085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho } >"$tmp/config.h" \ 907127f654740f2a26ad62a5c155af9199af9e69b889claireho || as_fn_error $? "could not create $ac_file" "$LINENO" 5 907285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 907327f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 907485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$as_me: $ac_file is unchanged" >&6;} 9075ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru else 907685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho rm -f "$ac_file" 907785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho mv "$tmp/config.h" "$ac_file" \ 907827f654740f2a26ad62a5c155af9199af9e69b889claireho || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9079ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 9080ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru else 908185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho $as_echo "/* $configure_input */" \ 908285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 908327f654740f2a26ad62a5c155af9199af9e69b889claireho || as_fn_error $? "could not create -" "$LINENO" 5 9084ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru fi 908585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho ;; 908685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 908785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 908885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho esac 908985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 909085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hodone # for ac_tag 9091ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 9092ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 909327f654740f2a26ad62a5c155af9199af9e69b889clairehoas_fn_exit 0 9094ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru_ACEOF 9095ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruac_clean_files=$ac_clean_files_save 9096ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 909785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hotest $ac_write_fail = 0 || 909827f654740f2a26ad62a5c155af9199af9e69b889claireho as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 909985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 9100ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 9101ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# configure is writing to config.log, and then calls config.status. 9102ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# config.status does its own redirection, appending to config.log. 9103ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# Unfortunately, on DOS this fails, as config.log is still kept open 9104ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# by configure, so config.status won't be able to write to it; its 9105ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# output is simply discarded. So we exec the FD to /dev/null, 9106ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# effectively closing config.log, so it can be properly (re)opened and 9107ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# appended to by config.status. When coming back to configure, we 9108ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru# need to make the FD available again. 9109ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test "$no_create" != yes; then 9110ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_cs_success=: 9111ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_config_status_args= 9112ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru test "$silent" = yes && 9113ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ac_config_status_args="$ac_config_status_args --quiet" 9114ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru exec 5>/dev/null 9115ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 9116ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru exec 5>>config.log 9117ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9118ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru # would make configure fail if this is the last instruction. 911927f654740f2a26ad62a5c155af9199af9e69b889claireho $ac_cs_success || as_fn_exit 1 9120ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 912185bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 912227f654740f2a26ad62a5c155af9199af9e69b889claireho { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 912385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 912485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 912585bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 9126ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 912785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoecho 912885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoecho "ICU for C/C++ $VERSION is ready to be built." 912985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoecho "=== Important Notes: ===" 9130ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 9131ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test $ICU_USE_THREADS = 0; then 913285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho echo 913385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho echo "** ICU was configured without mutex or thread support. Multithread-safe operation will not be tested. If this is unexpected, then run configure with --enable-threads=yes or check the messages above to see why thread support was not found." 1>&6 913485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho echo 9135ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 9136ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 913785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoecho "Data Packaging: $datapackaging" 913885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoecho " This means: $datapackaging_msg" 913985bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoecho " To locate data: $datapackaging_howfound" 914085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 9141ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruif test -n "`$U_MAKE -v 2>&1 | grep '^GNU Make'`"; then 914285bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoecho "Building ICU: Use a GNU make such as $U_MAKE to build ICU." 9143ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruelse 914485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoecho "** WARNING: $U_MAKE may not be GNU make." 9145ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruecho "This may cause ICU to fail to build. Please make sure that GNU make" 914685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoecho "is in your PATH so that the configure script can detect its location." 914785bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hofi 914885bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho 914927f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the version of \"$U_MAKE\"" >&5 915085bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo_n "checking the version of \"$U_MAKE\"... " >&6; } 915150294ead5e5d23f5bbfed76e00e6b510bd41eee1clairehoif "$U_MAKE" -f "$srcdir/config/gmakever.mk" PLATFORM="$platform"; then 915227f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 915385bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "ok" >&6; } 915485bf2e2fbc60a9f938064abc8127d61da7d19882Claire Hoelse 915527f654740f2a26ad62a5c155af9199af9e69b889claireho{ $as_echo "$as_me:${as_lineno-$LINENO}: result: too old or test failed - try upgrading GNU Make" >&5 915685bf2e2fbc60a9f938064abc8127d61da7d19882Claire Ho$as_echo "too old or test failed - try upgrading GNU Make" >&6; } 9157ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querufi 9158ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 9159ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru$as_unset _CXX_CXXSUFFIX 9160