1*946379e7Schristos#! /bin/sh 2*946379e7Schristos# Guess values for system-dependent variables and create Makefiles. 3*946379e7Schristos# Generated by GNU Autoconf 2.61. 4*946379e7Schristos# 5*946379e7Schristos# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6*946379e7Schristos# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7*946379e7Schristos# This configure script is free software; the Free Software Foundation 8*946379e7Schristos# gives unlimited permission to copy, distribute and modify it. 9*946379e7Schristos## --------------------- ## 10*946379e7Schristos## M4sh Initialization. ## 11*946379e7Schristos## --------------------- ## 12*946379e7Schristos 13*946379e7Schristos# Be more Bourne compatible 14*946379e7SchristosDUALCASE=1; export DUALCASE # for MKS sh 15*946379e7Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16*946379e7Schristos emulate sh 17*946379e7Schristos NULLCMD=: 18*946379e7Schristos # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19*946379e7Schristos # is contrary to our usage. Disable this feature. 20*946379e7Schristos alias -g '${1+"$@"}'='"$@"' 21*946379e7Schristos setopt NO_GLOB_SUBST 22*946379e7Schristoselse 23*946379e7Schristos case `(set -o) 2>/dev/null` in 24*946379e7Schristos *posix*) set -o posix ;; 25*946379e7Schristosesac 26*946379e7Schristos 27*946379e7Schristosfi 28*946379e7Schristos 29*946379e7Schristos 30*946379e7Schristos 31*946379e7Schristos 32*946379e7Schristos# PATH needs CR 33*946379e7Schristos# Avoid depending upon Character Ranges. 34*946379e7Schristosas_cr_letters='abcdefghijklmnopqrstuvwxyz' 35*946379e7Schristosas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36*946379e7Schristosas_cr_Letters=$as_cr_letters$as_cr_LETTERS 37*946379e7Schristosas_cr_digits='0123456789' 38*946379e7Schristosas_cr_alnum=$as_cr_Letters$as_cr_digits 39*946379e7Schristos 40*946379e7Schristos# The user is always right. 41*946379e7Schristosif test "${PATH_SEPARATOR+set}" != set; then 42*946379e7Schristos echo "#! /bin/sh" >conf$$.sh 43*946379e7Schristos echo "exit 0" >>conf$$.sh 44*946379e7Schristos chmod +x conf$$.sh 45*946379e7Schristos if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46*946379e7Schristos PATH_SEPARATOR=';' 47*946379e7Schristos else 48*946379e7Schristos PATH_SEPARATOR=: 49*946379e7Schristos fi 50*946379e7Schristos rm -f conf$$.sh 51*946379e7Schristosfi 52*946379e7Schristos 53*946379e7Schristos# Support unset when possible. 54*946379e7Schristosif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55*946379e7Schristos as_unset=unset 56*946379e7Schristoselse 57*946379e7Schristos as_unset=false 58*946379e7Schristosfi 59*946379e7Schristos 60*946379e7Schristos 61*946379e7Schristos# IFS 62*946379e7Schristos# We need space, tab and new line, in precisely that order. Quoting is 63*946379e7Schristos# there to prevent editors from complaining about space-tab. 64*946379e7Schristos# (If _AS_PATH_WALK were called with IFS unset, it would disable word 65*946379e7Schristos# splitting by setting IFS to empty value.) 66*946379e7Schristosas_nl=' 67*946379e7Schristos' 68*946379e7SchristosIFS=" "" $as_nl" 69*946379e7Schristos 70*946379e7Schristos# Find who we are. Look in the path if we contain no directory separator. 71*946379e7Schristoscase $0 in 72*946379e7Schristos *[\\/]* ) as_myself=$0 ;; 73*946379e7Schristos *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74*946379e7Schristosfor as_dir in $PATH 75*946379e7Schristosdo 76*946379e7Schristos IFS=$as_save_IFS 77*946379e7Schristos test -z "$as_dir" && as_dir=. 78*946379e7Schristos test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79*946379e7Schristosdone 80*946379e7SchristosIFS=$as_save_IFS 81*946379e7Schristos 82*946379e7Schristos ;; 83*946379e7Schristosesac 84*946379e7Schristos# We did not find ourselves, most probably we were run as `sh COMMAND' 85*946379e7Schristos# in which case we are not to be found in the path. 86*946379e7Schristosif test "x$as_myself" = x; then 87*946379e7Schristos as_myself=$0 88*946379e7Schristosfi 89*946379e7Schristosif test ! -f "$as_myself"; then 90*946379e7Schristos echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91*946379e7Schristos { (exit 1); exit 1; } 92*946379e7Schristosfi 93*946379e7Schristos 94*946379e7Schristos# Work around bugs in pre-3.0 UWIN ksh. 95*946379e7Schristosfor as_var in ENV MAIL MAILPATH 96*946379e7Schristosdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97*946379e7Schristosdone 98*946379e7SchristosPS1='$ ' 99*946379e7SchristosPS2='> ' 100*946379e7SchristosPS4='+ ' 101*946379e7Schristos 102*946379e7Schristos# NLS nuisances. 103*946379e7Schristosfor as_var in \ 104*946379e7Schristos LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105*946379e7Schristos LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106*946379e7Schristos LC_TELEPHONE LC_TIME 107*946379e7Schristosdo 108*946379e7Schristos if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109*946379e7Schristos eval $as_var=C; export $as_var 110*946379e7Schristos else 111*946379e7Schristos ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112*946379e7Schristos fi 113*946379e7Schristosdone 114*946379e7Schristos 115*946379e7Schristos# Required to use basename. 116*946379e7Schristosif expr a : '\(a\)' >/dev/null 2>&1 && 117*946379e7Schristos test "X`expr 00001 : '.*\(...\)'`" = X001; then 118*946379e7Schristos as_expr=expr 119*946379e7Schristoselse 120*946379e7Schristos as_expr=false 121*946379e7Schristosfi 122*946379e7Schristos 123*946379e7Schristosif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124*946379e7Schristos as_basename=basename 125*946379e7Schristoselse 126*946379e7Schristos as_basename=false 127*946379e7Schristosfi 128*946379e7Schristos 129*946379e7Schristos 130*946379e7Schristos# Name of the executable. 131*946379e7Schristosas_me=`$as_basename -- "$0" || 132*946379e7Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133*946379e7Schristos X"$0" : 'X\(//\)$' \| \ 134*946379e7Schristos X"$0" : 'X\(/\)' \| . 2>/dev/null || 135*946379e7Schristosecho X/"$0" | 136*946379e7Schristos sed '/^.*\/\([^/][^/]*\)\/*$/{ 137*946379e7Schristos s//\1/ 138*946379e7Schristos q 139*946379e7Schristos } 140*946379e7Schristos /^X\/\(\/\/\)$/{ 141*946379e7Schristos s//\1/ 142*946379e7Schristos q 143*946379e7Schristos } 144*946379e7Schristos /^X\/\(\/\).*/{ 145*946379e7Schristos s//\1/ 146*946379e7Schristos q 147*946379e7Schristos } 148*946379e7Schristos s/.*/./; q'` 149*946379e7Schristos 150*946379e7Schristos# CDPATH. 151*946379e7Schristos$as_unset CDPATH 152*946379e7Schristos 153*946379e7Schristos 154*946379e7Schristosif test "x$CONFIG_SHELL" = x; then 155*946379e7Schristos if (eval ":") 2>/dev/null; then 156*946379e7Schristos as_have_required=yes 157*946379e7Schristoselse 158*946379e7Schristos as_have_required=no 159*946379e7Schristosfi 160*946379e7Schristos 161*946379e7Schristos if test $as_have_required = yes && (eval ": 162*946379e7Schristos(as_func_return () { 163*946379e7Schristos (exit \$1) 164*946379e7Schristos} 165*946379e7Schristosas_func_success () { 166*946379e7Schristos as_func_return 0 167*946379e7Schristos} 168*946379e7Schristosas_func_failure () { 169*946379e7Schristos as_func_return 1 170*946379e7Schristos} 171*946379e7Schristosas_func_ret_success () { 172*946379e7Schristos return 0 173*946379e7Schristos} 174*946379e7Schristosas_func_ret_failure () { 175*946379e7Schristos return 1 176*946379e7Schristos} 177*946379e7Schristos 178*946379e7Schristosexitcode=0 179*946379e7Schristosif as_func_success; then 180*946379e7Schristos : 181*946379e7Schristoselse 182*946379e7Schristos exitcode=1 183*946379e7Schristos echo as_func_success failed. 184*946379e7Schristosfi 185*946379e7Schristos 186*946379e7Schristosif as_func_failure; then 187*946379e7Schristos exitcode=1 188*946379e7Schristos echo as_func_failure succeeded. 189*946379e7Schristosfi 190*946379e7Schristos 191*946379e7Schristosif as_func_ret_success; then 192*946379e7Schristos : 193*946379e7Schristoselse 194*946379e7Schristos exitcode=1 195*946379e7Schristos echo as_func_ret_success failed. 196*946379e7Schristosfi 197*946379e7Schristos 198*946379e7Schristosif as_func_ret_failure; then 199*946379e7Schristos exitcode=1 200*946379e7Schristos echo as_func_ret_failure succeeded. 201*946379e7Schristosfi 202*946379e7Schristos 203*946379e7Schristosif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204*946379e7Schristos : 205*946379e7Schristoselse 206*946379e7Schristos exitcode=1 207*946379e7Schristos echo positional parameters were not saved. 208*946379e7Schristosfi 209*946379e7Schristos 210*946379e7Schristostest \$exitcode = 0) || { (exit 1); exit 1; } 211*946379e7Schristos 212*946379e7Schristos( 213*946379e7Schristos as_lineno_1=\$LINENO 214*946379e7Schristos as_lineno_2=\$LINENO 215*946379e7Schristos test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216*946379e7Schristos test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217*946379e7Schristos") 2> /dev/null; then 218*946379e7Schristos : 219*946379e7Schristoselse 220*946379e7Schristos as_candidate_shells= 221*946379e7Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222*946379e7Schristosfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223*946379e7Schristosdo 224*946379e7Schristos IFS=$as_save_IFS 225*946379e7Schristos test -z "$as_dir" && as_dir=. 226*946379e7Schristos case $as_dir in 227*946379e7Schristos /*) 228*946379e7Schristos for as_base in sh bash ksh sh5; do 229*946379e7Schristos as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230*946379e7Schristos done;; 231*946379e7Schristos esac 232*946379e7Schristosdone 233*946379e7SchristosIFS=$as_save_IFS 234*946379e7Schristos 235*946379e7Schristos 236*946379e7Schristos for as_shell in $as_candidate_shells $SHELL; do 237*946379e7Schristos # Try only shells that exist, to save several forks. 238*946379e7Schristos if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239*946379e7Schristos { ("$as_shell") 2> /dev/null <<\_ASEOF 240*946379e7Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241*946379e7Schristos emulate sh 242*946379e7Schristos NULLCMD=: 243*946379e7Schristos # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244*946379e7Schristos # is contrary to our usage. Disable this feature. 245*946379e7Schristos alias -g '${1+"$@"}'='"$@"' 246*946379e7Schristos setopt NO_GLOB_SUBST 247*946379e7Schristoselse 248*946379e7Schristos case `(set -o) 2>/dev/null` in 249*946379e7Schristos *posix*) set -o posix ;; 250*946379e7Schristosesac 251*946379e7Schristos 252*946379e7Schristosfi 253*946379e7Schristos 254*946379e7Schristos 255*946379e7Schristos: 256*946379e7Schristos_ASEOF 257*946379e7Schristos}; then 258*946379e7Schristos CONFIG_SHELL=$as_shell 259*946379e7Schristos as_have_required=yes 260*946379e7Schristos if { "$as_shell" 2> /dev/null <<\_ASEOF 261*946379e7Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262*946379e7Schristos emulate sh 263*946379e7Schristos NULLCMD=: 264*946379e7Schristos # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265*946379e7Schristos # is contrary to our usage. Disable this feature. 266*946379e7Schristos alias -g '${1+"$@"}'='"$@"' 267*946379e7Schristos setopt NO_GLOB_SUBST 268*946379e7Schristoselse 269*946379e7Schristos case `(set -o) 2>/dev/null` in 270*946379e7Schristos *posix*) set -o posix ;; 271*946379e7Schristosesac 272*946379e7Schristos 273*946379e7Schristosfi 274*946379e7Schristos 275*946379e7Schristos 276*946379e7Schristos: 277*946379e7Schristos(as_func_return () { 278*946379e7Schristos (exit $1) 279*946379e7Schristos} 280*946379e7Schristosas_func_success () { 281*946379e7Schristos as_func_return 0 282*946379e7Schristos} 283*946379e7Schristosas_func_failure () { 284*946379e7Schristos as_func_return 1 285*946379e7Schristos} 286*946379e7Schristosas_func_ret_success () { 287*946379e7Schristos return 0 288*946379e7Schristos} 289*946379e7Schristosas_func_ret_failure () { 290*946379e7Schristos return 1 291*946379e7Schristos} 292*946379e7Schristos 293*946379e7Schristosexitcode=0 294*946379e7Schristosif as_func_success; then 295*946379e7Schristos : 296*946379e7Schristoselse 297*946379e7Schristos exitcode=1 298*946379e7Schristos echo as_func_success failed. 299*946379e7Schristosfi 300*946379e7Schristos 301*946379e7Schristosif as_func_failure; then 302*946379e7Schristos exitcode=1 303*946379e7Schristos echo as_func_failure succeeded. 304*946379e7Schristosfi 305*946379e7Schristos 306*946379e7Schristosif as_func_ret_success; then 307*946379e7Schristos : 308*946379e7Schristoselse 309*946379e7Schristos exitcode=1 310*946379e7Schristos echo as_func_ret_success failed. 311*946379e7Schristosfi 312*946379e7Schristos 313*946379e7Schristosif as_func_ret_failure; then 314*946379e7Schristos exitcode=1 315*946379e7Schristos echo as_func_ret_failure succeeded. 316*946379e7Schristosfi 317*946379e7Schristos 318*946379e7Schristosif ( set x; as_func_ret_success y && test x = "$1" ); then 319*946379e7Schristos : 320*946379e7Schristoselse 321*946379e7Schristos exitcode=1 322*946379e7Schristos echo positional parameters were not saved. 323*946379e7Schristosfi 324*946379e7Schristos 325*946379e7Schristostest $exitcode = 0) || { (exit 1); exit 1; } 326*946379e7Schristos 327*946379e7Schristos( 328*946379e7Schristos as_lineno_1=$LINENO 329*946379e7Schristos as_lineno_2=$LINENO 330*946379e7Schristos test "x$as_lineno_1" != "x$as_lineno_2" && 331*946379e7Schristos test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332*946379e7Schristos 333*946379e7Schristos_ASEOF 334*946379e7Schristos}; then 335*946379e7Schristos break 336*946379e7Schristosfi 337*946379e7Schristos 338*946379e7Schristosfi 339*946379e7Schristos 340*946379e7Schristos done 341*946379e7Schristos 342*946379e7Schristos if test "x$CONFIG_SHELL" != x; then 343*946379e7Schristos for as_var in BASH_ENV ENV 344*946379e7Schristos do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345*946379e7Schristos done 346*946379e7Schristos export CONFIG_SHELL 347*946379e7Schristos exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348*946379e7Schristosfi 349*946379e7Schristos 350*946379e7Schristos 351*946379e7Schristos if test $as_have_required = no; then 352*946379e7Schristos echo This script requires a shell more modern than all the 353*946379e7Schristos echo shells that I found on your system. Please install a 354*946379e7Schristos echo modern shell, or manually run the script under such a 355*946379e7Schristos echo shell if you do have one. 356*946379e7Schristos { (exit 1); exit 1; } 357*946379e7Schristosfi 358*946379e7Schristos 359*946379e7Schristos 360*946379e7Schristosfi 361*946379e7Schristos 362*946379e7Schristosfi 363*946379e7Schristos 364*946379e7Schristos 365*946379e7Schristos 366*946379e7Schristos(eval "as_func_return () { 367*946379e7Schristos (exit \$1) 368*946379e7Schristos} 369*946379e7Schristosas_func_success () { 370*946379e7Schristos as_func_return 0 371*946379e7Schristos} 372*946379e7Schristosas_func_failure () { 373*946379e7Schristos as_func_return 1 374*946379e7Schristos} 375*946379e7Schristosas_func_ret_success () { 376*946379e7Schristos return 0 377*946379e7Schristos} 378*946379e7Schristosas_func_ret_failure () { 379*946379e7Schristos return 1 380*946379e7Schristos} 381*946379e7Schristos 382*946379e7Schristosexitcode=0 383*946379e7Schristosif as_func_success; then 384*946379e7Schristos : 385*946379e7Schristoselse 386*946379e7Schristos exitcode=1 387*946379e7Schristos echo as_func_success failed. 388*946379e7Schristosfi 389*946379e7Schristos 390*946379e7Schristosif as_func_failure; then 391*946379e7Schristos exitcode=1 392*946379e7Schristos echo as_func_failure succeeded. 393*946379e7Schristosfi 394*946379e7Schristos 395*946379e7Schristosif as_func_ret_success; then 396*946379e7Schristos : 397*946379e7Schristoselse 398*946379e7Schristos exitcode=1 399*946379e7Schristos echo as_func_ret_success failed. 400*946379e7Schristosfi 401*946379e7Schristos 402*946379e7Schristosif as_func_ret_failure; then 403*946379e7Schristos exitcode=1 404*946379e7Schristos echo as_func_ret_failure succeeded. 405*946379e7Schristosfi 406*946379e7Schristos 407*946379e7Schristosif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408*946379e7Schristos : 409*946379e7Schristoselse 410*946379e7Schristos exitcode=1 411*946379e7Schristos echo positional parameters were not saved. 412*946379e7Schristosfi 413*946379e7Schristos 414*946379e7Schristostest \$exitcode = 0") || { 415*946379e7Schristos echo No shell found that supports shell functions. 416*946379e7Schristos echo Please tell autoconf@gnu.org about your system, 417*946379e7Schristos echo including any error possibly output before this 418*946379e7Schristos echo message 419*946379e7Schristos} 420*946379e7Schristos 421*946379e7Schristos 422*946379e7Schristos 423*946379e7Schristos as_lineno_1=$LINENO 424*946379e7Schristos as_lineno_2=$LINENO 425*946379e7Schristos test "x$as_lineno_1" != "x$as_lineno_2" && 426*946379e7Schristos test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427*946379e7Schristos 428*946379e7Schristos # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429*946379e7Schristos # uniformly replaced by the line number. The first 'sed' inserts a 430*946379e7Schristos # line-number line after each line using $LINENO; the second 'sed' 431*946379e7Schristos # does the real work. The second script uses 'N' to pair each 432*946379e7Schristos # line-number line with the line containing $LINENO, and appends 433*946379e7Schristos # trailing '-' during substitution so that $LINENO is not a special 434*946379e7Schristos # case at line end. 435*946379e7Schristos # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436*946379e7Schristos # scripts with optimization help from Paolo Bonzini. Blame Lee 437*946379e7Schristos # E. McMahon (1931-1989) for sed's syntax. :-) 438*946379e7Schristos sed -n ' 439*946379e7Schristos p 440*946379e7Schristos /[$]LINENO/= 441*946379e7Schristos ' <$as_myself | 442*946379e7Schristos sed ' 443*946379e7Schristos s/[$]LINENO.*/&-/ 444*946379e7Schristos t lineno 445*946379e7Schristos b 446*946379e7Schristos :lineno 447*946379e7Schristos N 448*946379e7Schristos :loop 449*946379e7Schristos s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 450*946379e7Schristos t loop 451*946379e7Schristos s/-\n.*// 452*946379e7Schristos ' >$as_me.lineno && 453*946379e7Schristos chmod +x "$as_me.lineno" || 454*946379e7Schristos { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455*946379e7Schristos { (exit 1); exit 1; }; } 456*946379e7Schristos 457*946379e7Schristos # Don't try to exec as it changes $[0], causing all sort of problems 458*946379e7Schristos # (the dirname of $[0] is not the place where we might find the 459*946379e7Schristos # original and so on. Autoconf is especially sensitive to this). 460*946379e7Schristos . "./$as_me.lineno" 461*946379e7Schristos # Exit status is that of the last command. 462*946379e7Schristos exit 463*946379e7Schristos} 464*946379e7Schristos 465*946379e7Schristos 466*946379e7Schristosif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467*946379e7Schristos as_dirname=dirname 468*946379e7Schristoselse 469*946379e7Schristos as_dirname=false 470*946379e7Schristosfi 471*946379e7Schristos 472*946379e7SchristosECHO_C= ECHO_N= ECHO_T= 473*946379e7Schristoscase `echo -n x` in 474*946379e7Schristos-n*) 475*946379e7Schristos case `echo 'x\c'` in 476*946379e7Schristos *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477*946379e7Schristos *) ECHO_C='\c';; 478*946379e7Schristos esac;; 479*946379e7Schristos*) 480*946379e7Schristos ECHO_N='-n';; 481*946379e7Schristosesac 482*946379e7Schristos 483*946379e7Schristosif expr a : '\(a\)' >/dev/null 2>&1 && 484*946379e7Schristos test "X`expr 00001 : '.*\(...\)'`" = X001; then 485*946379e7Schristos as_expr=expr 486*946379e7Schristoselse 487*946379e7Schristos as_expr=false 488*946379e7Schristosfi 489*946379e7Schristos 490*946379e7Schristosrm -f conf$$ conf$$.exe conf$$.file 491*946379e7Schristosif test -d conf$$.dir; then 492*946379e7Schristos rm -f conf$$.dir/conf$$.file 493*946379e7Schristoselse 494*946379e7Schristos rm -f conf$$.dir 495*946379e7Schristos mkdir conf$$.dir 496*946379e7Schristosfi 497*946379e7Schristosecho >conf$$.file 498*946379e7Schristosif ln -s conf$$.file conf$$ 2>/dev/null; then 499*946379e7Schristos as_ln_s='ln -s' 500*946379e7Schristos # ... but there are two gotchas: 501*946379e7Schristos # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502*946379e7Schristos # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503*946379e7Schristos # In both cases, we have to default to `cp -p'. 504*946379e7Schristos ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 505*946379e7Schristos as_ln_s='cp -p' 506*946379e7Schristoselif ln conf$$.file conf$$ 2>/dev/null; then 507*946379e7Schristos as_ln_s=ln 508*946379e7Schristoselse 509*946379e7Schristos as_ln_s='cp -p' 510*946379e7Schristosfi 511*946379e7Schristosrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512*946379e7Schristosrmdir conf$$.dir 2>/dev/null 513*946379e7Schristos 514*946379e7Schristosif mkdir -p . 2>/dev/null; then 515*946379e7Schristos as_mkdir_p=: 516*946379e7Schristoselse 517*946379e7Schristos test -d ./-p && rmdir ./-p 518*946379e7Schristos as_mkdir_p=false 519*946379e7Schristosfi 520*946379e7Schristos 521*946379e7Schristosif test -x / >/dev/null 2>&1; then 522*946379e7Schristos as_test_x='test -x' 523*946379e7Schristoselse 524*946379e7Schristos if ls -dL / >/dev/null 2>&1; then 525*946379e7Schristos as_ls_L_option=L 526*946379e7Schristos else 527*946379e7Schristos as_ls_L_option= 528*946379e7Schristos fi 529*946379e7Schristos as_test_x=' 530*946379e7Schristos eval sh -c '\'' 531*946379e7Schristos if test -d "$1"; then 532*946379e7Schristos test -d "$1/."; 533*946379e7Schristos else 534*946379e7Schristos case $1 in 535*946379e7Schristos -*)set "./$1";; 536*946379e7Schristos esac; 537*946379e7Schristos case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538*946379e7Schristos ???[sx]*):;;*)false;;esac;fi 539*946379e7Schristos '\'' sh 540*946379e7Schristos ' 541*946379e7Schristosfi 542*946379e7Schristosas_executable_p=$as_test_x 543*946379e7Schristos 544*946379e7Schristos# Sed expression to map a string onto a valid CPP name. 545*946379e7Schristosas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 546*946379e7Schristos 547*946379e7Schristos# Sed expression to map a string onto a valid variable name. 548*946379e7Schristosas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549*946379e7Schristos 550*946379e7Schristos 551*946379e7Schristos 552*946379e7Schristosexec 7<&0 </dev/null 6>&1 553*946379e7Schristos 554*946379e7Schristos# Name of the host. 555*946379e7Schristos# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 556*946379e7Schristos# so uname gets run too. 557*946379e7Schristosac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558*946379e7Schristos 559*946379e7Schristos# 560*946379e7Schristos# Initializations. 561*946379e7Schristos# 562*946379e7Schristosac_default_prefix=/usr/local 563*946379e7Schristosac_clean_files= 564*946379e7Schristosac_config_libobj_dir=. 565*946379e7SchristosLIBOBJS= 566*946379e7Schristoscross_compiling=no 567*946379e7Schristossubdirs= 568*946379e7SchristosMFLAGS= 569*946379e7SchristosMAKEFLAGS= 570*946379e7SchristosSHELL=${CONFIG_SHELL-/bin/sh} 571*946379e7Schristos 572*946379e7Schristos# Identity of this package. 573*946379e7SchristosPACKAGE_NAME= 574*946379e7SchristosPACKAGE_TARNAME= 575*946379e7SchristosPACKAGE_VERSION= 576*946379e7SchristosPACKAGE_STRING= 577*946379e7SchristosPACKAGE_BUGREPORT= 578*946379e7Schristos 579*946379e7Schristosac_unique_file="installpaths.in" 580*946379e7Schristosac_subst_vars='SHELL 581*946379e7SchristosPATH_SEPARATOR 582*946379e7SchristosPACKAGE_NAME 583*946379e7SchristosPACKAGE_TARNAME 584*946379e7SchristosPACKAGE_VERSION 585*946379e7SchristosPACKAGE_STRING 586*946379e7SchristosPACKAGE_BUGREPORT 587*946379e7Schristosexec_prefix 588*946379e7Schristosprefix 589*946379e7Schristosprogram_transform_name 590*946379e7Schristosbindir 591*946379e7Schristossbindir 592*946379e7Schristoslibexecdir 593*946379e7Schristosdatarootdir 594*946379e7Schristosdatadir 595*946379e7Schristossysconfdir 596*946379e7Schristossharedstatedir 597*946379e7Schristoslocalstatedir 598*946379e7Schristosincludedir 599*946379e7Schristosoldincludedir 600*946379e7Schristosdocdir 601*946379e7Schristosinfodir 602*946379e7Schristoshtmldir 603*946379e7Schristosdvidir 604*946379e7Schristospdfdir 605*946379e7Schristospsdir 606*946379e7Schristoslibdir 607*946379e7Schristoslocaledir 608*946379e7Schristosmandir 609*946379e7SchristosDEFS 610*946379e7SchristosECHO_C 611*946379e7SchristosECHO_N 612*946379e7SchristosECHO_T 613*946379e7SchristosLIBS 614*946379e7Schristosbuild_alias 615*946379e7Schristoshost_alias 616*946379e7Schristostarget_alias 617*946379e7SchristosINSTALL_PROGRAM 618*946379e7SchristosINSTALL_SCRIPT 619*946379e7SchristosINSTALL_DATA 620*946379e7Schristosam__isrc 621*946379e7SchristosCYGPATH_W 622*946379e7SchristosPACKAGE 623*946379e7SchristosVERSION 624*946379e7SchristosACLOCAL 625*946379e7SchristosAUTOCONF 626*946379e7SchristosAUTOMAKE 627*946379e7SchristosAUTOHEADER 628*946379e7SchristosMAKEINFO 629*946379e7Schristosinstall_sh 630*946379e7SchristosSTRIP 631*946379e7SchristosINSTALL_STRIP_PROGRAM 632*946379e7Schristosmkdir_p 633*946379e7SchristosAWK 634*946379e7SchristosSET_MAKE 635*946379e7Schristosam__leading_dot 636*946379e7SchristosAMTAR 637*946379e7Schristosam__tar 638*946379e7Schristosam__untar 639*946379e7SchristosUSE_NLS 640*946379e7SchristosMSGFMT 641*946379e7SchristosGMSGFMT 642*946379e7SchristosMSGFMT_015 643*946379e7SchristosGMSGFMT_015 644*946379e7SchristosXGETTEXT 645*946379e7SchristosXGETTEXT_015 646*946379e7SchristosMSGMERGE 647*946379e7Schristosaclocaldir 648*946379e7SchristosLIBOBJS 649*946379e7SchristosLTLIBOBJS' 650*946379e7Schristosac_subst_files='' 651*946379e7Schristos ac_precious_vars='build_alias 652*946379e7Schristoshost_alias 653*946379e7Schristostarget_alias' 654*946379e7Schristos 655*946379e7Schristos 656*946379e7Schristos# Initialize some variables set by options. 657*946379e7Schristosac_init_help= 658*946379e7Schristosac_init_version=false 659*946379e7Schristos# The variables have the same names as the options, with 660*946379e7Schristos# dashes changed to underlines. 661*946379e7Schristoscache_file=/dev/null 662*946379e7Schristosexec_prefix=NONE 663*946379e7Schristosno_create= 664*946379e7Schristosno_recursion= 665*946379e7Schristosprefix=NONE 666*946379e7Schristosprogram_prefix=NONE 667*946379e7Schristosprogram_suffix=NONE 668*946379e7Schristosprogram_transform_name=s,x,x, 669*946379e7Schristossilent= 670*946379e7Schristossite= 671*946379e7Schristossrcdir= 672*946379e7Schristosverbose= 673*946379e7Schristosx_includes=NONE 674*946379e7Schristosx_libraries=NONE 675*946379e7Schristos 676*946379e7Schristos# Installation directory options. 677*946379e7Schristos# These are left unexpanded so users can "make install exec_prefix=/foo" 678*946379e7Schristos# and all the variables that are supposed to be based on exec_prefix 679*946379e7Schristos# by default will actually change. 680*946379e7Schristos# Use braces instead of parens because sh, perl, etc. also accept them. 681*946379e7Schristos# (The list follows the same order as the GNU Coding Standards.) 682*946379e7Schristosbindir='${exec_prefix}/bin' 683*946379e7Schristossbindir='${exec_prefix}/sbin' 684*946379e7Schristoslibexecdir='${exec_prefix}/libexec' 685*946379e7Schristosdatarootdir='${prefix}/share' 686*946379e7Schristosdatadir='${datarootdir}' 687*946379e7Schristossysconfdir='${prefix}/etc' 688*946379e7Schristossharedstatedir='${prefix}/com' 689*946379e7Schristoslocalstatedir='${prefix}/var' 690*946379e7Schristosincludedir='${prefix}/include' 691*946379e7Schristosoldincludedir='/usr/include' 692*946379e7Schristosdocdir='${datarootdir}/doc/${PACKAGE}' 693*946379e7Schristosinfodir='${datarootdir}/info' 694*946379e7Schristoshtmldir='${docdir}' 695*946379e7Schristosdvidir='${docdir}' 696*946379e7Schristospdfdir='${docdir}' 697*946379e7Schristospsdir='${docdir}' 698*946379e7Schristoslibdir='${exec_prefix}/lib' 699*946379e7Schristoslocaledir='${datarootdir}/locale' 700*946379e7Schristosmandir='${datarootdir}/man' 701*946379e7Schristos 702*946379e7Schristosac_prev= 703*946379e7Schristosac_dashdash= 704*946379e7Schristosfor ac_option 705*946379e7Schristosdo 706*946379e7Schristos # If the previous option needs an argument, assign it. 707*946379e7Schristos if test -n "$ac_prev"; then 708*946379e7Schristos eval $ac_prev=\$ac_option 709*946379e7Schristos ac_prev= 710*946379e7Schristos continue 711*946379e7Schristos fi 712*946379e7Schristos 713*946379e7Schristos case $ac_option in 714*946379e7Schristos *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 715*946379e7Schristos *) ac_optarg=yes ;; 716*946379e7Schristos esac 717*946379e7Schristos 718*946379e7Schristos # Accept the important Cygnus configure options, so we can diagnose typos. 719*946379e7Schristos 720*946379e7Schristos case $ac_dashdash$ac_option in 721*946379e7Schristos --) 722*946379e7Schristos ac_dashdash=yes ;; 723*946379e7Schristos 724*946379e7Schristos -bindir | --bindir | --bindi | --bind | --bin | --bi) 725*946379e7Schristos ac_prev=bindir ;; 726*946379e7Schristos -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 727*946379e7Schristos bindir=$ac_optarg ;; 728*946379e7Schristos 729*946379e7Schristos -build | --build | --buil | --bui | --bu) 730*946379e7Schristos ac_prev=build_alias ;; 731*946379e7Schristos -build=* | --build=* | --buil=* | --bui=* | --bu=*) 732*946379e7Schristos build_alias=$ac_optarg ;; 733*946379e7Schristos 734*946379e7Schristos -cache-file | --cache-file | --cache-fil | --cache-fi \ 735*946379e7Schristos | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 736*946379e7Schristos ac_prev=cache_file ;; 737*946379e7Schristos -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 738*946379e7Schristos | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 739*946379e7Schristos cache_file=$ac_optarg ;; 740*946379e7Schristos 741*946379e7Schristos --config-cache | -C) 742*946379e7Schristos cache_file=config.cache ;; 743*946379e7Schristos 744*946379e7Schristos -datadir | --datadir | --datadi | --datad) 745*946379e7Schristos ac_prev=datadir ;; 746*946379e7Schristos -datadir=* | --datadir=* | --datadi=* | --datad=*) 747*946379e7Schristos datadir=$ac_optarg ;; 748*946379e7Schristos 749*946379e7Schristos -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 750*946379e7Schristos | --dataroo | --dataro | --datar) 751*946379e7Schristos ac_prev=datarootdir ;; 752*946379e7Schristos -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 753*946379e7Schristos | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 754*946379e7Schristos datarootdir=$ac_optarg ;; 755*946379e7Schristos 756*946379e7Schristos -disable-* | --disable-*) 757*946379e7Schristos ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 758*946379e7Schristos # Reject names that are not valid shell variable names. 759*946379e7Schristos expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 760*946379e7Schristos { echo "$as_me: error: invalid feature name: $ac_feature" >&2 761*946379e7Schristos { (exit 1); exit 1; }; } 762*946379e7Schristos ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 763*946379e7Schristos eval enable_$ac_feature=no ;; 764*946379e7Schristos 765*946379e7Schristos -docdir | --docdir | --docdi | --doc | --do) 766*946379e7Schristos ac_prev=docdir ;; 767*946379e7Schristos -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 768*946379e7Schristos docdir=$ac_optarg ;; 769*946379e7Schristos 770*946379e7Schristos -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 771*946379e7Schristos ac_prev=dvidir ;; 772*946379e7Schristos -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 773*946379e7Schristos dvidir=$ac_optarg ;; 774*946379e7Schristos 775*946379e7Schristos -enable-* | --enable-*) 776*946379e7Schristos ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 777*946379e7Schristos # Reject names that are not valid shell variable names. 778*946379e7Schristos expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 779*946379e7Schristos { echo "$as_me: error: invalid feature name: $ac_feature" >&2 780*946379e7Schristos { (exit 1); exit 1; }; } 781*946379e7Schristos ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 782*946379e7Schristos eval enable_$ac_feature=\$ac_optarg ;; 783*946379e7Schristos 784*946379e7Schristos -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 785*946379e7Schristos | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 786*946379e7Schristos | --exec | --exe | --ex) 787*946379e7Schristos ac_prev=exec_prefix ;; 788*946379e7Schristos -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 789*946379e7Schristos | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 790*946379e7Schristos | --exec=* | --exe=* | --ex=*) 791*946379e7Schristos exec_prefix=$ac_optarg ;; 792*946379e7Schristos 793*946379e7Schristos -gas | --gas | --ga | --g) 794*946379e7Schristos # Obsolete; use --with-gas. 795*946379e7Schristos with_gas=yes ;; 796*946379e7Schristos 797*946379e7Schristos -help | --help | --hel | --he | -h) 798*946379e7Schristos ac_init_help=long ;; 799*946379e7Schristos -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 800*946379e7Schristos ac_init_help=recursive ;; 801*946379e7Schristos -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 802*946379e7Schristos ac_init_help=short ;; 803*946379e7Schristos 804*946379e7Schristos -host | --host | --hos | --ho) 805*946379e7Schristos ac_prev=host_alias ;; 806*946379e7Schristos -host=* | --host=* | --hos=* | --ho=*) 807*946379e7Schristos host_alias=$ac_optarg ;; 808*946379e7Schristos 809*946379e7Schristos -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 810*946379e7Schristos ac_prev=htmldir ;; 811*946379e7Schristos -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 812*946379e7Schristos | --ht=*) 813*946379e7Schristos htmldir=$ac_optarg ;; 814*946379e7Schristos 815*946379e7Schristos -includedir | --includedir | --includedi | --included | --include \ 816*946379e7Schristos | --includ | --inclu | --incl | --inc) 817*946379e7Schristos ac_prev=includedir ;; 818*946379e7Schristos -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 819*946379e7Schristos | --includ=* | --inclu=* | --incl=* | --inc=*) 820*946379e7Schristos includedir=$ac_optarg ;; 821*946379e7Schristos 822*946379e7Schristos -infodir | --infodir | --infodi | --infod | --info | --inf) 823*946379e7Schristos ac_prev=infodir ;; 824*946379e7Schristos -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 825*946379e7Schristos infodir=$ac_optarg ;; 826*946379e7Schristos 827*946379e7Schristos -libdir | --libdir | --libdi | --libd) 828*946379e7Schristos ac_prev=libdir ;; 829*946379e7Schristos -libdir=* | --libdir=* | --libdi=* | --libd=*) 830*946379e7Schristos libdir=$ac_optarg ;; 831*946379e7Schristos 832*946379e7Schristos -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 833*946379e7Schristos | --libexe | --libex | --libe) 834*946379e7Schristos ac_prev=libexecdir ;; 835*946379e7Schristos -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 836*946379e7Schristos | --libexe=* | --libex=* | --libe=*) 837*946379e7Schristos libexecdir=$ac_optarg ;; 838*946379e7Schristos 839*946379e7Schristos -localedir | --localedir | --localedi | --localed | --locale) 840*946379e7Schristos ac_prev=localedir ;; 841*946379e7Schristos -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 842*946379e7Schristos localedir=$ac_optarg ;; 843*946379e7Schristos 844*946379e7Schristos -localstatedir | --localstatedir | --localstatedi | --localstated \ 845*946379e7Schristos | --localstate | --localstat | --localsta | --localst | --locals) 846*946379e7Schristos ac_prev=localstatedir ;; 847*946379e7Schristos -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 848*946379e7Schristos | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 849*946379e7Schristos localstatedir=$ac_optarg ;; 850*946379e7Schristos 851*946379e7Schristos -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 852*946379e7Schristos ac_prev=mandir ;; 853*946379e7Schristos -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 854*946379e7Schristos mandir=$ac_optarg ;; 855*946379e7Schristos 856*946379e7Schristos -nfp | --nfp | --nf) 857*946379e7Schristos # Obsolete; use --without-fp. 858*946379e7Schristos with_fp=no ;; 859*946379e7Schristos 860*946379e7Schristos -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 861*946379e7Schristos | --no-cr | --no-c | -n) 862*946379e7Schristos no_create=yes ;; 863*946379e7Schristos 864*946379e7Schristos -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 865*946379e7Schristos | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 866*946379e7Schristos no_recursion=yes ;; 867*946379e7Schristos 868*946379e7Schristos -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 869*946379e7Schristos | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 870*946379e7Schristos | --oldin | --oldi | --old | --ol | --o) 871*946379e7Schristos ac_prev=oldincludedir ;; 872*946379e7Schristos -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 873*946379e7Schristos | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 874*946379e7Schristos | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 875*946379e7Schristos oldincludedir=$ac_optarg ;; 876*946379e7Schristos 877*946379e7Schristos -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 878*946379e7Schristos ac_prev=prefix ;; 879*946379e7Schristos -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 880*946379e7Schristos prefix=$ac_optarg ;; 881*946379e7Schristos 882*946379e7Schristos -program-prefix | --program-prefix | --program-prefi | --program-pref \ 883*946379e7Schristos | --program-pre | --program-pr | --program-p) 884*946379e7Schristos ac_prev=program_prefix ;; 885*946379e7Schristos -program-prefix=* | --program-prefix=* | --program-prefi=* \ 886*946379e7Schristos | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 887*946379e7Schristos program_prefix=$ac_optarg ;; 888*946379e7Schristos 889*946379e7Schristos -program-suffix | --program-suffix | --program-suffi | --program-suff \ 890*946379e7Schristos | --program-suf | --program-su | --program-s) 891*946379e7Schristos ac_prev=program_suffix ;; 892*946379e7Schristos -program-suffix=* | --program-suffix=* | --program-suffi=* \ 893*946379e7Schristos | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 894*946379e7Schristos program_suffix=$ac_optarg ;; 895*946379e7Schristos 896*946379e7Schristos -program-transform-name | --program-transform-name \ 897*946379e7Schristos | --program-transform-nam | --program-transform-na \ 898*946379e7Schristos | --program-transform-n | --program-transform- \ 899*946379e7Schristos | --program-transform | --program-transfor \ 900*946379e7Schristos | --program-transfo | --program-transf \ 901*946379e7Schristos | --program-trans | --program-tran \ 902*946379e7Schristos | --progr-tra | --program-tr | --program-t) 903*946379e7Schristos ac_prev=program_transform_name ;; 904*946379e7Schristos -program-transform-name=* | --program-transform-name=* \ 905*946379e7Schristos | --program-transform-nam=* | --program-transform-na=* \ 906*946379e7Schristos | --program-transform-n=* | --program-transform-=* \ 907*946379e7Schristos | --program-transform=* | --program-transfor=* \ 908*946379e7Schristos | --program-transfo=* | --program-transf=* \ 909*946379e7Schristos | --program-trans=* | --program-tran=* \ 910*946379e7Schristos | --progr-tra=* | --program-tr=* | --program-t=*) 911*946379e7Schristos program_transform_name=$ac_optarg ;; 912*946379e7Schristos 913*946379e7Schristos -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 914*946379e7Schristos ac_prev=pdfdir ;; 915*946379e7Schristos -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 916*946379e7Schristos pdfdir=$ac_optarg ;; 917*946379e7Schristos 918*946379e7Schristos -psdir | --psdir | --psdi | --psd | --ps) 919*946379e7Schristos ac_prev=psdir ;; 920*946379e7Schristos -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 921*946379e7Schristos psdir=$ac_optarg ;; 922*946379e7Schristos 923*946379e7Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 924*946379e7Schristos | -silent | --silent | --silen | --sile | --sil) 925*946379e7Schristos silent=yes ;; 926*946379e7Schristos 927*946379e7Schristos -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 928*946379e7Schristos ac_prev=sbindir ;; 929*946379e7Schristos -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 930*946379e7Schristos | --sbi=* | --sb=*) 931*946379e7Schristos sbindir=$ac_optarg ;; 932*946379e7Schristos 933*946379e7Schristos -sharedstatedir | --sharedstatedir | --sharedstatedi \ 934*946379e7Schristos | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 935*946379e7Schristos | --sharedst | --shareds | --shared | --share | --shar \ 936*946379e7Schristos | --sha | --sh) 937*946379e7Schristos ac_prev=sharedstatedir ;; 938*946379e7Schristos -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 939*946379e7Schristos | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 940*946379e7Schristos | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 941*946379e7Schristos | --sha=* | --sh=*) 942*946379e7Schristos sharedstatedir=$ac_optarg ;; 943*946379e7Schristos 944*946379e7Schristos -site | --site | --sit) 945*946379e7Schristos ac_prev=site ;; 946*946379e7Schristos -site=* | --site=* | --sit=*) 947*946379e7Schristos site=$ac_optarg ;; 948*946379e7Schristos 949*946379e7Schristos -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 950*946379e7Schristos ac_prev=srcdir ;; 951*946379e7Schristos -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 952*946379e7Schristos srcdir=$ac_optarg ;; 953*946379e7Schristos 954*946379e7Schristos -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 955*946379e7Schristos | --syscon | --sysco | --sysc | --sys | --sy) 956*946379e7Schristos ac_prev=sysconfdir ;; 957*946379e7Schristos -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 958*946379e7Schristos | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 959*946379e7Schristos sysconfdir=$ac_optarg ;; 960*946379e7Schristos 961*946379e7Schristos -target | --target | --targe | --targ | --tar | --ta | --t) 962*946379e7Schristos ac_prev=target_alias ;; 963*946379e7Schristos -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 964*946379e7Schristos target_alias=$ac_optarg ;; 965*946379e7Schristos 966*946379e7Schristos -v | -verbose | --verbose | --verbos | --verbo | --verb) 967*946379e7Schristos verbose=yes ;; 968*946379e7Schristos 969*946379e7Schristos -version | --version | --versio | --versi | --vers | -V) 970*946379e7Schristos ac_init_version=: ;; 971*946379e7Schristos 972*946379e7Schristos -with-* | --with-*) 973*946379e7Schristos ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 974*946379e7Schristos # Reject names that are not valid shell variable names. 975*946379e7Schristos expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 976*946379e7Schristos { echo "$as_me: error: invalid package name: $ac_package" >&2 977*946379e7Schristos { (exit 1); exit 1; }; } 978*946379e7Schristos ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 979*946379e7Schristos eval with_$ac_package=\$ac_optarg ;; 980*946379e7Schristos 981*946379e7Schristos -without-* | --without-*) 982*946379e7Schristos ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 983*946379e7Schristos # Reject names that are not valid shell variable names. 984*946379e7Schristos expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 985*946379e7Schristos { echo "$as_me: error: invalid package name: $ac_package" >&2 986*946379e7Schristos { (exit 1); exit 1; }; } 987*946379e7Schristos ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 988*946379e7Schristos eval with_$ac_package=no ;; 989*946379e7Schristos 990*946379e7Schristos --x) 991*946379e7Schristos # Obsolete; use --with-x. 992*946379e7Schristos with_x=yes ;; 993*946379e7Schristos 994*946379e7Schristos -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 995*946379e7Schristos | --x-incl | --x-inc | --x-in | --x-i) 996*946379e7Schristos ac_prev=x_includes ;; 997*946379e7Schristos -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 998*946379e7Schristos | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 999*946379e7Schristos x_includes=$ac_optarg ;; 1000*946379e7Schristos 1001*946379e7Schristos -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1002*946379e7Schristos | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1003*946379e7Schristos ac_prev=x_libraries ;; 1004*946379e7Schristos -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1005*946379e7Schristos | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1006*946379e7Schristos x_libraries=$ac_optarg ;; 1007*946379e7Schristos 1008*946379e7Schristos -*) { echo "$as_me: error: unrecognized option: $ac_option 1009*946379e7SchristosTry \`$0 --help' for more information." >&2 1010*946379e7Schristos { (exit 1); exit 1; }; } 1011*946379e7Schristos ;; 1012*946379e7Schristos 1013*946379e7Schristos *=*) 1014*946379e7Schristos ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1015*946379e7Schristos # Reject names that are not valid shell variable names. 1016*946379e7Schristos expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1017*946379e7Schristos { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1018*946379e7Schristos { (exit 1); exit 1; }; } 1019*946379e7Schristos eval $ac_envvar=\$ac_optarg 1020*946379e7Schristos export $ac_envvar ;; 1021*946379e7Schristos 1022*946379e7Schristos *) 1023*946379e7Schristos # FIXME: should be removed in autoconf 3.0. 1024*946379e7Schristos echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1025*946379e7Schristos expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1026*946379e7Schristos echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1027*946379e7Schristos : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1028*946379e7Schristos ;; 1029*946379e7Schristos 1030*946379e7Schristos esac 1031*946379e7Schristosdone 1032*946379e7Schristos 1033*946379e7Schristosif test -n "$ac_prev"; then 1034*946379e7Schristos ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1035*946379e7Schristos { echo "$as_me: error: missing argument to $ac_option" >&2 1036*946379e7Schristos { (exit 1); exit 1; }; } 1037*946379e7Schristosfi 1038*946379e7Schristos 1039*946379e7Schristos# Be sure to have absolute directory names. 1040*946379e7Schristosfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1041*946379e7Schristos datadir sysconfdir sharedstatedir localstatedir includedir \ 1042*946379e7Schristos oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1043*946379e7Schristos libdir localedir mandir 1044*946379e7Schristosdo 1045*946379e7Schristos eval ac_val=\$$ac_var 1046*946379e7Schristos case $ac_val in 1047*946379e7Schristos [\\/$]* | ?:[\\/]* ) continue;; 1048*946379e7Schristos NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1049*946379e7Schristos esac 1050*946379e7Schristos { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1051*946379e7Schristos { (exit 1); exit 1; }; } 1052*946379e7Schristosdone 1053*946379e7Schristos 1054*946379e7Schristos# There might be people who depend on the old broken behavior: `$host' 1055*946379e7Schristos# used to hold the argument of --host etc. 1056*946379e7Schristos# FIXME: To remove some day. 1057*946379e7Schristosbuild=$build_alias 1058*946379e7Schristoshost=$host_alias 1059*946379e7Schristostarget=$target_alias 1060*946379e7Schristos 1061*946379e7Schristos# FIXME: To remove some day. 1062*946379e7Schristosif test "x$host_alias" != x; then 1063*946379e7Schristos if test "x$build_alias" = x; then 1064*946379e7Schristos cross_compiling=maybe 1065*946379e7Schristos echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1066*946379e7Schristos If a cross compiler is detected then cross compile mode will be used." >&2 1067*946379e7Schristos elif test "x$build_alias" != "x$host_alias"; then 1068*946379e7Schristos cross_compiling=yes 1069*946379e7Schristos fi 1070*946379e7Schristosfi 1071*946379e7Schristos 1072*946379e7Schristosac_tool_prefix= 1073*946379e7Schristostest -n "$host_alias" && ac_tool_prefix=$host_alias- 1074*946379e7Schristos 1075*946379e7Schristostest "$silent" = yes && exec 6>/dev/null 1076*946379e7Schristos 1077*946379e7Schristos 1078*946379e7Schristosac_pwd=`pwd` && test -n "$ac_pwd" && 1079*946379e7Schristosac_ls_di=`ls -di .` && 1080*946379e7Schristosac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1081*946379e7Schristos { echo "$as_me: error: Working directory cannot be determined" >&2 1082*946379e7Schristos { (exit 1); exit 1; }; } 1083*946379e7Schristostest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1084*946379e7Schristos { echo "$as_me: error: pwd does not report name of working directory" >&2 1085*946379e7Schristos { (exit 1); exit 1; }; } 1086*946379e7Schristos 1087*946379e7Schristos 1088*946379e7Schristos# Find the source files, if location was not specified. 1089*946379e7Schristosif test -z "$srcdir"; then 1090*946379e7Schristos ac_srcdir_defaulted=yes 1091*946379e7Schristos # Try the directory containing this script, then the parent directory. 1092*946379e7Schristos ac_confdir=`$as_dirname -- "$0" || 1093*946379e7Schristos$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1094*946379e7Schristos X"$0" : 'X\(//\)[^/]' \| \ 1095*946379e7Schristos X"$0" : 'X\(//\)$' \| \ 1096*946379e7Schristos X"$0" : 'X\(/\)' \| . 2>/dev/null || 1097*946379e7Schristosecho X"$0" | 1098*946379e7Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1099*946379e7Schristos s//\1/ 1100*946379e7Schristos q 1101*946379e7Schristos } 1102*946379e7Schristos /^X\(\/\/\)[^/].*/{ 1103*946379e7Schristos s//\1/ 1104*946379e7Schristos q 1105*946379e7Schristos } 1106*946379e7Schristos /^X\(\/\/\)$/{ 1107*946379e7Schristos s//\1/ 1108*946379e7Schristos q 1109*946379e7Schristos } 1110*946379e7Schristos /^X\(\/\).*/{ 1111*946379e7Schristos s//\1/ 1112*946379e7Schristos q 1113*946379e7Schristos } 1114*946379e7Schristos s/.*/./; q'` 1115*946379e7Schristos srcdir=$ac_confdir 1116*946379e7Schristos if test ! -r "$srcdir/$ac_unique_file"; then 1117*946379e7Schristos srcdir=.. 1118*946379e7Schristos fi 1119*946379e7Schristoselse 1120*946379e7Schristos ac_srcdir_defaulted=no 1121*946379e7Schristosfi 1122*946379e7Schristosif test ! -r "$srcdir/$ac_unique_file"; then 1123*946379e7Schristos test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1124*946379e7Schristos { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1125*946379e7Schristos { (exit 1); exit 1; }; } 1126*946379e7Schristosfi 1127*946379e7Schristosac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1128*946379e7Schristosac_abs_confdir=`( 1129*946379e7Schristos cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1130*946379e7Schristos { (exit 1); exit 1; }; } 1131*946379e7Schristos pwd)` 1132*946379e7Schristos# When building in place, set srcdir=. 1133*946379e7Schristosif test "$ac_abs_confdir" = "$ac_pwd"; then 1134*946379e7Schristos srcdir=. 1135*946379e7Schristosfi 1136*946379e7Schristos# Remove unnecessary trailing slashes from srcdir. 1137*946379e7Schristos# Double slashes in file names in object file debugging info 1138*946379e7Schristos# mess up M-x gdb in Emacs. 1139*946379e7Schristoscase $srcdir in 1140*946379e7Schristos*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1141*946379e7Schristosesac 1142*946379e7Schristosfor ac_var in $ac_precious_vars; do 1143*946379e7Schristos eval ac_env_${ac_var}_set=\${${ac_var}+set} 1144*946379e7Schristos eval ac_env_${ac_var}_value=\$${ac_var} 1145*946379e7Schristos eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1146*946379e7Schristos eval ac_cv_env_${ac_var}_value=\$${ac_var} 1147*946379e7Schristosdone 1148*946379e7Schristos 1149*946379e7Schristos# 1150*946379e7Schristos# Report the --help message. 1151*946379e7Schristos# 1152*946379e7Schristosif test "$ac_init_help" = "long"; then 1153*946379e7Schristos # Omit some internal or obsolete options to make the list less imposing. 1154*946379e7Schristos # This message is too long to be a string in the A/UX 3.1 sh. 1155*946379e7Schristos cat <<_ACEOF 1156*946379e7Schristos\`configure' configures this package to adapt to many kinds of systems. 1157*946379e7Schristos 1158*946379e7SchristosUsage: $0 [OPTION]... [VAR=VALUE]... 1159*946379e7Schristos 1160*946379e7SchristosTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1161*946379e7SchristosVAR=VALUE. See below for descriptions of some of the useful variables. 1162*946379e7Schristos 1163*946379e7SchristosDefaults for the options are specified in brackets. 1164*946379e7Schristos 1165*946379e7SchristosConfiguration: 1166*946379e7Schristos -h, --help display this help and exit 1167*946379e7Schristos --help=short display options specific to this package 1168*946379e7Schristos --help=recursive display the short help of all the included packages 1169*946379e7Schristos -V, --version display version information and exit 1170*946379e7Schristos -q, --quiet, --silent do not print \`checking...' messages 1171*946379e7Schristos --cache-file=FILE cache test results in FILE [disabled] 1172*946379e7Schristos -C, --config-cache alias for \`--cache-file=config.cache' 1173*946379e7Schristos -n, --no-create do not create output files 1174*946379e7Schristos --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1175*946379e7Schristos 1176*946379e7SchristosInstallation directories: 1177*946379e7Schristos --prefix=PREFIX install architecture-independent files in PREFIX 1178*946379e7Schristos [$ac_default_prefix] 1179*946379e7Schristos --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1180*946379e7Schristos [PREFIX] 1181*946379e7Schristos 1182*946379e7SchristosBy default, \`make install' will install all the files in 1183*946379e7Schristos\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1184*946379e7Schristosan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1185*946379e7Schristosfor instance \`--prefix=\$HOME'. 1186*946379e7Schristos 1187*946379e7SchristosFor better control, use the options below. 1188*946379e7Schristos 1189*946379e7SchristosFine tuning of the installation directories: 1190*946379e7Schristos --bindir=DIR user executables [EPREFIX/bin] 1191*946379e7Schristos --sbindir=DIR system admin executables [EPREFIX/sbin] 1192*946379e7Schristos --libexecdir=DIR program executables [EPREFIX/libexec] 1193*946379e7Schristos --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1194*946379e7Schristos --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1195*946379e7Schristos --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1196*946379e7Schristos --libdir=DIR object code libraries [EPREFIX/lib] 1197*946379e7Schristos --includedir=DIR C header files [PREFIX/include] 1198*946379e7Schristos --oldincludedir=DIR C header files for non-gcc [/usr/include] 1199*946379e7Schristos --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1200*946379e7Schristos --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1201*946379e7Schristos --infodir=DIR info documentation [DATAROOTDIR/info] 1202*946379e7Schristos --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1203*946379e7Schristos --mandir=DIR man documentation [DATAROOTDIR/man] 1204*946379e7Schristos --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1205*946379e7Schristos --htmldir=DIR html documentation [DOCDIR] 1206*946379e7Schristos --dvidir=DIR dvi documentation [DOCDIR] 1207*946379e7Schristos --pdfdir=DIR pdf documentation [DOCDIR] 1208*946379e7Schristos --psdir=DIR ps documentation [DOCDIR] 1209*946379e7Schristos_ACEOF 1210*946379e7Schristos 1211*946379e7Schristos cat <<\_ACEOF 1212*946379e7Schristos 1213*946379e7SchristosProgram names: 1214*946379e7Schristos --program-prefix=PREFIX prepend PREFIX to installed program names 1215*946379e7Schristos --program-suffix=SUFFIX append SUFFIX to installed program names 1216*946379e7Schristos --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1217*946379e7Schristos_ACEOF 1218*946379e7Schristosfi 1219*946379e7Schristos 1220*946379e7Schristosif test -n "$ac_init_help"; then 1221*946379e7Schristos 1222*946379e7Schristos cat <<\_ACEOF 1223*946379e7Schristos 1224*946379e7SchristosOptional Features: 1225*946379e7Schristos --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1226*946379e7Schristos --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1227*946379e7Schristos --disable-nls do not use Native Language Support 1228*946379e7Schristos 1229*946379e7Schristos_ACEOF 1230*946379e7Schristosac_status=$? 1231*946379e7Schristosfi 1232*946379e7Schristos 1233*946379e7Schristosif test "$ac_init_help" = "recursive"; then 1234*946379e7Schristos # If there are subdirs, report their specific --help. 1235*946379e7Schristos for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1236*946379e7Schristos test -d "$ac_dir" || continue 1237*946379e7Schristos ac_builddir=. 1238*946379e7Schristos 1239*946379e7Schristoscase "$ac_dir" in 1240*946379e7Schristos.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1241*946379e7Schristos*) 1242*946379e7Schristos ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1243*946379e7Schristos # A ".." for each directory in $ac_dir_suffix. 1244*946379e7Schristos ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1245*946379e7Schristos case $ac_top_builddir_sub in 1246*946379e7Schristos "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1247*946379e7Schristos *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1248*946379e7Schristos esac ;; 1249*946379e7Schristosesac 1250*946379e7Schristosac_abs_top_builddir=$ac_pwd 1251*946379e7Schristosac_abs_builddir=$ac_pwd$ac_dir_suffix 1252*946379e7Schristos# for backward compatibility: 1253*946379e7Schristosac_top_builddir=$ac_top_build_prefix 1254*946379e7Schristos 1255*946379e7Schristoscase $srcdir in 1256*946379e7Schristos .) # We are building in place. 1257*946379e7Schristos ac_srcdir=. 1258*946379e7Schristos ac_top_srcdir=$ac_top_builddir_sub 1259*946379e7Schristos ac_abs_top_srcdir=$ac_pwd ;; 1260*946379e7Schristos [\\/]* | ?:[\\/]* ) # Absolute name. 1261*946379e7Schristos ac_srcdir=$srcdir$ac_dir_suffix; 1262*946379e7Schristos ac_top_srcdir=$srcdir 1263*946379e7Schristos ac_abs_top_srcdir=$srcdir ;; 1264*946379e7Schristos *) # Relative name. 1265*946379e7Schristos ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1266*946379e7Schristos ac_top_srcdir=$ac_top_build_prefix$srcdir 1267*946379e7Schristos ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1268*946379e7Schristosesac 1269*946379e7Schristosac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1270*946379e7Schristos 1271*946379e7Schristos cd "$ac_dir" || { ac_status=$?; continue; } 1272*946379e7Schristos # Check for guested configure. 1273*946379e7Schristos if test -f "$ac_srcdir/configure.gnu"; then 1274*946379e7Schristos echo && 1275*946379e7Schristos $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1276*946379e7Schristos elif test -f "$ac_srcdir/configure"; then 1277*946379e7Schristos echo && 1278*946379e7Schristos $SHELL "$ac_srcdir/configure" --help=recursive 1279*946379e7Schristos else 1280*946379e7Schristos echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1281*946379e7Schristos fi || ac_status=$? 1282*946379e7Schristos cd "$ac_pwd" || { ac_status=$?; break; } 1283*946379e7Schristos done 1284*946379e7Schristosfi 1285*946379e7Schristos 1286*946379e7Schristostest -n "$ac_init_help" && exit $ac_status 1287*946379e7Schristosif $ac_init_version; then 1288*946379e7Schristos cat <<\_ACEOF 1289*946379e7Schristosconfigure 1290*946379e7Schristosgenerated by GNU Autoconf 2.61 1291*946379e7Schristos 1292*946379e7SchristosCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1293*946379e7Schristos2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1294*946379e7SchristosThis configure script is free software; the Free Software Foundation 1295*946379e7Schristosgives unlimited permission to copy, distribute and modify it. 1296*946379e7Schristos_ACEOF 1297*946379e7Schristos exit 1298*946379e7Schristosfi 1299*946379e7Schristoscat >config.log <<_ACEOF 1300*946379e7SchristosThis file contains any messages produced by compilers while 1301*946379e7Schristosrunning configure, to aid debugging if configure makes a mistake. 1302*946379e7Schristos 1303*946379e7SchristosIt was created by $as_me, which was 1304*946379e7Schristosgenerated by GNU Autoconf 2.61. Invocation command line was 1305*946379e7Schristos 1306*946379e7Schristos $ $0 $@ 1307*946379e7Schristos 1308*946379e7Schristos_ACEOF 1309*946379e7Schristosexec 5>>config.log 1310*946379e7Schristos{ 1311*946379e7Schristoscat <<_ASUNAME 1312*946379e7Schristos## --------- ## 1313*946379e7Schristos## Platform. ## 1314*946379e7Schristos## --------- ## 1315*946379e7Schristos 1316*946379e7Schristoshostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1317*946379e7Schristosuname -m = `(uname -m) 2>/dev/null || echo unknown` 1318*946379e7Schristosuname -r = `(uname -r) 2>/dev/null || echo unknown` 1319*946379e7Schristosuname -s = `(uname -s) 2>/dev/null || echo unknown` 1320*946379e7Schristosuname -v = `(uname -v) 2>/dev/null || echo unknown` 1321*946379e7Schristos 1322*946379e7Schristos/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1323*946379e7Schristos/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1324*946379e7Schristos 1325*946379e7Schristos/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1326*946379e7Schristos/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1327*946379e7Schristos/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1328*946379e7Schristos/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1329*946379e7Schristos/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1330*946379e7Schristos/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1331*946379e7Schristos/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1332*946379e7Schristos 1333*946379e7Schristos_ASUNAME 1334*946379e7Schristos 1335*946379e7Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1336*946379e7Schristosfor as_dir in $PATH 1337*946379e7Schristosdo 1338*946379e7Schristos IFS=$as_save_IFS 1339*946379e7Schristos test -z "$as_dir" && as_dir=. 1340*946379e7Schristos echo "PATH: $as_dir" 1341*946379e7Schristosdone 1342*946379e7SchristosIFS=$as_save_IFS 1343*946379e7Schristos 1344*946379e7Schristos} >&5 1345*946379e7Schristos 1346*946379e7Schristoscat >&5 <<_ACEOF 1347*946379e7Schristos 1348*946379e7Schristos 1349*946379e7Schristos## ----------- ## 1350*946379e7Schristos## Core tests. ## 1351*946379e7Schristos## ----------- ## 1352*946379e7Schristos 1353*946379e7Schristos_ACEOF 1354*946379e7Schristos 1355*946379e7Schristos 1356*946379e7Schristos# Keep a trace of the command line. 1357*946379e7Schristos# Strip out --no-create and --no-recursion so they do not pile up. 1358*946379e7Schristos# Strip out --silent because we don't want to record it for future runs. 1359*946379e7Schristos# Also quote any args containing shell meta-characters. 1360*946379e7Schristos# Make two passes to allow for proper duplicate-argument suppression. 1361*946379e7Schristosac_configure_args= 1362*946379e7Schristosac_configure_args0= 1363*946379e7Schristosac_configure_args1= 1364*946379e7Schristosac_must_keep_next=false 1365*946379e7Schristosfor ac_pass in 1 2 1366*946379e7Schristosdo 1367*946379e7Schristos for ac_arg 1368*946379e7Schristos do 1369*946379e7Schristos case $ac_arg in 1370*946379e7Schristos -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1371*946379e7Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1372*946379e7Schristos | -silent | --silent | --silen | --sile | --sil) 1373*946379e7Schristos continue ;; 1374*946379e7Schristos *\'*) 1375*946379e7Schristos ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1376*946379e7Schristos esac 1377*946379e7Schristos case $ac_pass in 1378*946379e7Schristos 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1379*946379e7Schristos 2) 1380*946379e7Schristos ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1381*946379e7Schristos if test $ac_must_keep_next = true; then 1382*946379e7Schristos ac_must_keep_next=false # Got value, back to normal. 1383*946379e7Schristos else 1384*946379e7Schristos case $ac_arg in 1385*946379e7Schristos *=* | --config-cache | -C | -disable-* | --disable-* \ 1386*946379e7Schristos | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1387*946379e7Schristos | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1388*946379e7Schristos | -with-* | --with-* | -without-* | --without-* | --x) 1389*946379e7Schristos case "$ac_configure_args0 " in 1390*946379e7Schristos "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1391*946379e7Schristos esac 1392*946379e7Schristos ;; 1393*946379e7Schristos -* ) ac_must_keep_next=true ;; 1394*946379e7Schristos esac 1395*946379e7Schristos fi 1396*946379e7Schristos ac_configure_args="$ac_configure_args '$ac_arg'" 1397*946379e7Schristos ;; 1398*946379e7Schristos esac 1399*946379e7Schristos done 1400*946379e7Schristosdone 1401*946379e7Schristos$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1402*946379e7Schristos$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1403*946379e7Schristos 1404*946379e7Schristos# When interrupted or exit'd, cleanup temporary files, and complete 1405*946379e7Schristos# config.log. We remove comments because anyway the quotes in there 1406*946379e7Schristos# would cause problems or look ugly. 1407*946379e7Schristos# WARNING: Use '\'' to represent an apostrophe within the trap. 1408*946379e7Schristos# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1409*946379e7Schristostrap 'exit_status=$? 1410*946379e7Schristos # Save into config.log some information that might help in debugging. 1411*946379e7Schristos { 1412*946379e7Schristos echo 1413*946379e7Schristos 1414*946379e7Schristos cat <<\_ASBOX 1415*946379e7Schristos## ---------------- ## 1416*946379e7Schristos## Cache variables. ## 1417*946379e7Schristos## ---------------- ## 1418*946379e7Schristos_ASBOX 1419*946379e7Schristos echo 1420*946379e7Schristos # The following way of writing the cache mishandles newlines in values, 1421*946379e7Schristos( 1422*946379e7Schristos for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1423*946379e7Schristos eval ac_val=\$$ac_var 1424*946379e7Schristos case $ac_val in #( 1425*946379e7Schristos *${as_nl}*) 1426*946379e7Schristos case $ac_var in #( 1427*946379e7Schristos *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1428*946379e7Schristosecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1429*946379e7Schristos esac 1430*946379e7Schristos case $ac_var in #( 1431*946379e7Schristos _ | IFS | as_nl) ;; #( 1432*946379e7Schristos *) $as_unset $ac_var ;; 1433*946379e7Schristos esac ;; 1434*946379e7Schristos esac 1435*946379e7Schristos done 1436*946379e7Schristos (set) 2>&1 | 1437*946379e7Schristos case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1438*946379e7Schristos *${as_nl}ac_space=\ *) 1439*946379e7Schristos sed -n \ 1440*946379e7Schristos "s/'\''/'\''\\\\'\'''\''/g; 1441*946379e7Schristos s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1442*946379e7Schristos ;; #( 1443*946379e7Schristos *) 1444*946379e7Schristos sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1445*946379e7Schristos ;; 1446*946379e7Schristos esac | 1447*946379e7Schristos sort 1448*946379e7Schristos) 1449*946379e7Schristos echo 1450*946379e7Schristos 1451*946379e7Schristos cat <<\_ASBOX 1452*946379e7Schristos## ----------------- ## 1453*946379e7Schristos## Output variables. ## 1454*946379e7Schristos## ----------------- ## 1455*946379e7Schristos_ASBOX 1456*946379e7Schristos echo 1457*946379e7Schristos for ac_var in $ac_subst_vars 1458*946379e7Schristos do 1459*946379e7Schristos eval ac_val=\$$ac_var 1460*946379e7Schristos case $ac_val in 1461*946379e7Schristos *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1462*946379e7Schristos esac 1463*946379e7Schristos echo "$ac_var='\''$ac_val'\''" 1464*946379e7Schristos done | sort 1465*946379e7Schristos echo 1466*946379e7Schristos 1467*946379e7Schristos if test -n "$ac_subst_files"; then 1468*946379e7Schristos cat <<\_ASBOX 1469*946379e7Schristos## ------------------- ## 1470*946379e7Schristos## File substitutions. ## 1471*946379e7Schristos## ------------------- ## 1472*946379e7Schristos_ASBOX 1473*946379e7Schristos echo 1474*946379e7Schristos for ac_var in $ac_subst_files 1475*946379e7Schristos do 1476*946379e7Schristos eval ac_val=\$$ac_var 1477*946379e7Schristos case $ac_val in 1478*946379e7Schristos *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1479*946379e7Schristos esac 1480*946379e7Schristos echo "$ac_var='\''$ac_val'\''" 1481*946379e7Schristos done | sort 1482*946379e7Schristos echo 1483*946379e7Schristos fi 1484*946379e7Schristos 1485*946379e7Schristos if test -s confdefs.h; then 1486*946379e7Schristos cat <<\_ASBOX 1487*946379e7Schristos## ----------- ## 1488*946379e7Schristos## confdefs.h. ## 1489*946379e7Schristos## ----------- ## 1490*946379e7Schristos_ASBOX 1491*946379e7Schristos echo 1492*946379e7Schristos cat confdefs.h 1493*946379e7Schristos echo 1494*946379e7Schristos fi 1495*946379e7Schristos test "$ac_signal" != 0 && 1496*946379e7Schristos echo "$as_me: caught signal $ac_signal" 1497*946379e7Schristos echo "$as_me: exit $exit_status" 1498*946379e7Schristos } >&5 1499*946379e7Schristos rm -f core *.core core.conftest.* && 1500*946379e7Schristos rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1501*946379e7Schristos exit $exit_status 1502*946379e7Schristos' 0 1503*946379e7Schristosfor ac_signal in 1 2 13 15; do 1504*946379e7Schristos trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1505*946379e7Schristosdone 1506*946379e7Schristosac_signal=0 1507*946379e7Schristos 1508*946379e7Schristos# confdefs.h avoids OS command line length limits that DEFS can exceed. 1509*946379e7Schristosrm -f -r conftest* confdefs.h 1510*946379e7Schristos 1511*946379e7Schristos# Predefined preprocessor variables. 1512*946379e7Schristos 1513*946379e7Schristoscat >>confdefs.h <<_ACEOF 1514*946379e7Schristos#define PACKAGE_NAME "$PACKAGE_NAME" 1515*946379e7Schristos_ACEOF 1516*946379e7Schristos 1517*946379e7Schristos 1518*946379e7Schristoscat >>confdefs.h <<_ACEOF 1519*946379e7Schristos#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1520*946379e7Schristos_ACEOF 1521*946379e7Schristos 1522*946379e7Schristos 1523*946379e7Schristoscat >>confdefs.h <<_ACEOF 1524*946379e7Schristos#define PACKAGE_VERSION "$PACKAGE_VERSION" 1525*946379e7Schristos_ACEOF 1526*946379e7Schristos 1527*946379e7Schristos 1528*946379e7Schristoscat >>confdefs.h <<_ACEOF 1529*946379e7Schristos#define PACKAGE_STRING "$PACKAGE_STRING" 1530*946379e7Schristos_ACEOF 1531*946379e7Schristos 1532*946379e7Schristos 1533*946379e7Schristoscat >>confdefs.h <<_ACEOF 1534*946379e7Schristos#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1535*946379e7Schristos_ACEOF 1536*946379e7Schristos 1537*946379e7Schristos 1538*946379e7Schristos# Let the site file select an alternate cache file if it wants to. 1539*946379e7Schristos# Prefer explicitly selected file to automatically selected ones. 1540*946379e7Schristosif test -n "$CONFIG_SITE"; then 1541*946379e7Schristos set x "$CONFIG_SITE" 1542*946379e7Schristoselif test "x$prefix" != xNONE; then 1543*946379e7Schristos set x "$prefix/share/config.site" "$prefix/etc/config.site" 1544*946379e7Schristoselse 1545*946379e7Schristos set x "$ac_default_prefix/share/config.site" \ 1546*946379e7Schristos "$ac_default_prefix/etc/config.site" 1547*946379e7Schristosfi 1548*946379e7Schristosshift 1549*946379e7Schristosfor ac_site_file 1550*946379e7Schristosdo 1551*946379e7Schristos if test -r "$ac_site_file"; then 1552*946379e7Schristos { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1553*946379e7Schristosecho "$as_me: loading site script $ac_site_file" >&6;} 1554*946379e7Schristos sed 's/^/| /' "$ac_site_file" >&5 1555*946379e7Schristos . "$ac_site_file" 1556*946379e7Schristos fi 1557*946379e7Schristosdone 1558*946379e7Schristos 1559*946379e7Schristosif test -r "$cache_file"; then 1560*946379e7Schristos # Some versions of bash will fail to source /dev/null (special 1561*946379e7Schristos # files actually), so we avoid doing that. 1562*946379e7Schristos if test -f "$cache_file"; then 1563*946379e7Schristos { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1564*946379e7Schristosecho "$as_me: loading cache $cache_file" >&6;} 1565*946379e7Schristos case $cache_file in 1566*946379e7Schristos [\\/]* | ?:[\\/]* ) . "$cache_file";; 1567*946379e7Schristos *) . "./$cache_file";; 1568*946379e7Schristos esac 1569*946379e7Schristos fi 1570*946379e7Schristoselse 1571*946379e7Schristos { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1572*946379e7Schristosecho "$as_me: creating cache $cache_file" >&6;} 1573*946379e7Schristos >$cache_file 1574*946379e7Schristosfi 1575*946379e7Schristos 1576*946379e7Schristos# Check that the precious variables saved in the cache have kept the same 1577*946379e7Schristos# value. 1578*946379e7Schristosac_cache_corrupted=false 1579*946379e7Schristosfor ac_var in $ac_precious_vars; do 1580*946379e7Schristos eval ac_old_set=\$ac_cv_env_${ac_var}_set 1581*946379e7Schristos eval ac_new_set=\$ac_env_${ac_var}_set 1582*946379e7Schristos eval ac_old_val=\$ac_cv_env_${ac_var}_value 1583*946379e7Schristos eval ac_new_val=\$ac_env_${ac_var}_value 1584*946379e7Schristos case $ac_old_set,$ac_new_set in 1585*946379e7Schristos set,) 1586*946379e7Schristos { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1587*946379e7Schristosecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1588*946379e7Schristos ac_cache_corrupted=: ;; 1589*946379e7Schristos ,set) 1590*946379e7Schristos { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1591*946379e7Schristosecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1592*946379e7Schristos ac_cache_corrupted=: ;; 1593*946379e7Schristos ,);; 1594*946379e7Schristos *) 1595*946379e7Schristos if test "x$ac_old_val" != "x$ac_new_val"; then 1596*946379e7Schristos { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1597*946379e7Schristosecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1598*946379e7Schristos { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1599*946379e7Schristosecho "$as_me: former value: $ac_old_val" >&2;} 1600*946379e7Schristos { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1601*946379e7Schristosecho "$as_me: current value: $ac_new_val" >&2;} 1602*946379e7Schristos ac_cache_corrupted=: 1603*946379e7Schristos fi;; 1604*946379e7Schristos esac 1605*946379e7Schristos # Pass precious variables to config.status. 1606*946379e7Schristos if test "$ac_new_set" = set; then 1607*946379e7Schristos case $ac_new_val in 1608*946379e7Schristos *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1609*946379e7Schristos *) ac_arg=$ac_var=$ac_new_val ;; 1610*946379e7Schristos esac 1611*946379e7Schristos case " $ac_configure_args " in 1612*946379e7Schristos *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1613*946379e7Schristos *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1614*946379e7Schristos esac 1615*946379e7Schristos fi 1616*946379e7Schristosdone 1617*946379e7Schristosif $ac_cache_corrupted; then 1618*946379e7Schristos { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1619*946379e7Schristosecho "$as_me: error: changes in the environment can compromise the build" >&2;} 1620*946379e7Schristos { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1621*946379e7Schristosecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1622*946379e7Schristos { (exit 1); exit 1; }; } 1623*946379e7Schristosfi 1624*946379e7Schristos 1625*946379e7Schristos 1626*946379e7Schristos 1627*946379e7Schristos 1628*946379e7Schristos 1629*946379e7Schristos 1630*946379e7Schristos 1631*946379e7Schristos 1632*946379e7Schristos 1633*946379e7Schristos 1634*946379e7Schristos 1635*946379e7Schristos 1636*946379e7Schristos 1637*946379e7Schristos 1638*946379e7Schristos 1639*946379e7Schristos 1640*946379e7Schristos 1641*946379e7Schristosac_ext=c 1642*946379e7Schristosac_cpp='$CPP $CPPFLAGS' 1643*946379e7Schristosac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1644*946379e7Schristosac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1645*946379e7Schristosac_compiler_gnu=$ac_cv_c_compiler_gnu 1646*946379e7Schristos 1647*946379e7Schristos 1648*946379e7Schristos 1649*946379e7Schristosac_aux_dir= 1650*946379e7Schristosfor ac_dir in ../../build-aux "$srcdir"/../../build-aux; do 1651*946379e7Schristos if test -f "$ac_dir/install-sh"; then 1652*946379e7Schristos ac_aux_dir=$ac_dir 1653*946379e7Schristos ac_install_sh="$ac_aux_dir/install-sh -c" 1654*946379e7Schristos break 1655*946379e7Schristos elif test -f "$ac_dir/install.sh"; then 1656*946379e7Schristos ac_aux_dir=$ac_dir 1657*946379e7Schristos ac_install_sh="$ac_aux_dir/install.sh -c" 1658*946379e7Schristos break 1659*946379e7Schristos elif test -f "$ac_dir/shtool"; then 1660*946379e7Schristos ac_aux_dir=$ac_dir 1661*946379e7Schristos ac_install_sh="$ac_aux_dir/shtool install -c" 1662*946379e7Schristos break 1663*946379e7Schristos fi 1664*946379e7Schristosdone 1665*946379e7Schristosif test -z "$ac_aux_dir"; then 1666*946379e7Schristos { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../build-aux \"$srcdir\"/../../build-aux" >&5 1667*946379e7Schristosecho "$as_me: error: cannot find install-sh or install.sh in ../../build-aux \"$srcdir\"/../../build-aux" >&2;} 1668*946379e7Schristos { (exit 1); exit 1; }; } 1669*946379e7Schristosfi 1670*946379e7Schristos 1671*946379e7Schristos# These three variables are undocumented and unsupported, 1672*946379e7Schristos# and are intended to be withdrawn in a future Autoconf release. 1673*946379e7Schristos# They can cause serious problems if a builder's source tree is in a directory 1674*946379e7Schristos# whose full name contains unusual characters. 1675*946379e7Schristosac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1676*946379e7Schristosac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1677*946379e7Schristosac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1678*946379e7Schristos 1679*946379e7Schristos 1680*946379e7Schristos. $srcdir/../../version.sh 1681*946379e7Schristosam__api_version='1.10' 1682*946379e7Schristos 1683*946379e7Schristos# Find a good install program. We prefer a C program (faster), 1684*946379e7Schristos# so one script is as good as another. But avoid the broken or 1685*946379e7Schristos# incompatible versions: 1686*946379e7Schristos# SysV /etc/install, /usr/sbin/install 1687*946379e7Schristos# SunOS /usr/etc/install 1688*946379e7Schristos# IRIX /sbin/install 1689*946379e7Schristos# AIX /bin/install 1690*946379e7Schristos# AmigaOS /C/install, which installs bootblocks on floppy discs 1691*946379e7Schristos# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1692*946379e7Schristos# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1693*946379e7Schristos# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1694*946379e7Schristos# OS/2's system install, which has a completely different semantic 1695*946379e7Schristos# ./install, which can be erroneously created by make from ./install.sh. 1696*946379e7Schristos{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1697*946379e7Schristosecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1698*946379e7Schristosif test -z "$INSTALL"; then 1699*946379e7Schristosif test "${ac_cv_path_install+set}" = set; then 1700*946379e7Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 1701*946379e7Schristoselse 1702*946379e7Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1703*946379e7Schristosfor as_dir in $PATH 1704*946379e7Schristosdo 1705*946379e7Schristos IFS=$as_save_IFS 1706*946379e7Schristos test -z "$as_dir" && as_dir=. 1707*946379e7Schristos # Account for people who put trailing slashes in PATH elements. 1708*946379e7Schristoscase $as_dir/ in 1709*946379e7Schristos ./ | .// | /cC/* | \ 1710*946379e7Schristos /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1711*946379e7Schristos ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1712*946379e7Schristos /usr/ucb/* ) ;; 1713*946379e7Schristos *) 1714*946379e7Schristos # OSF1 and SCO ODT 3.0 have their own names for install. 1715*946379e7Schristos # Don't use installbsd from OSF since it installs stuff as root 1716*946379e7Schristos # by default. 1717*946379e7Schristos for ac_prog in ginstall scoinst install; do 1718*946379e7Schristos for ac_exec_ext in '' $ac_executable_extensions; do 1719*946379e7Schristos if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1720*946379e7Schristos if test $ac_prog = install && 1721*946379e7Schristos grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1722*946379e7Schristos # AIX install. It has an incompatible calling convention. 1723*946379e7Schristos : 1724*946379e7Schristos elif test $ac_prog = install && 1725*946379e7Schristos grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1726*946379e7Schristos # program-specific install script used by HP pwplus--don't use. 1727*946379e7Schristos : 1728*946379e7Schristos else 1729*946379e7Schristos ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1730*946379e7Schristos break 3 1731*946379e7Schristos fi 1732*946379e7Schristos fi 1733*946379e7Schristos done 1734*946379e7Schristos done 1735*946379e7Schristos ;; 1736*946379e7Schristosesac 1737*946379e7Schristosdone 1738*946379e7SchristosIFS=$as_save_IFS 1739*946379e7Schristos 1740*946379e7Schristos 1741*946379e7Schristosfi 1742*946379e7Schristos if test "${ac_cv_path_install+set}" = set; then 1743*946379e7Schristos INSTALL=$ac_cv_path_install 1744*946379e7Schristos else 1745*946379e7Schristos # As a last resort, use the slow shell script. Don't cache a 1746*946379e7Schristos # value for INSTALL within a source directory, because that will 1747*946379e7Schristos # break other packages using the cache if that directory is 1748*946379e7Schristos # removed, or if the value is a relative name. 1749*946379e7Schristos INSTALL=$ac_install_sh 1750*946379e7Schristos fi 1751*946379e7Schristosfi 1752*946379e7Schristos{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1753*946379e7Schristosecho "${ECHO_T}$INSTALL" >&6; } 1754*946379e7Schristos 1755*946379e7Schristos# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1756*946379e7Schristos# It thinks the first close brace ends the variable substitution. 1757*946379e7Schristostest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1758*946379e7Schristos 1759*946379e7Schristostest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1760*946379e7Schristos 1761*946379e7Schristostest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1762*946379e7Schristos 1763*946379e7Schristos{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1764*946379e7Schristosecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1765*946379e7Schristos# Just in case 1766*946379e7Schristossleep 1 1767*946379e7Schristosecho timestamp > conftest.file 1768*946379e7Schristos# Do `set' in a subshell so we don't clobber the current shell's 1769*946379e7Schristos# arguments. Must try -L first in case configure is actually a 1770*946379e7Schristos# symlink; some systems play weird games with the mod time of symlinks 1771*946379e7Schristos# (eg FreeBSD returns the mod time of the symlink's containing 1772*946379e7Schristos# directory). 1773*946379e7Schristosif ( 1774*946379e7Schristos set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1775*946379e7Schristos if test "$*" = "X"; then 1776*946379e7Schristos # -L didn't work. 1777*946379e7Schristos set X `ls -t $srcdir/configure conftest.file` 1778*946379e7Schristos fi 1779*946379e7Schristos rm -f conftest.file 1780*946379e7Schristos if test "$*" != "X $srcdir/configure conftest.file" \ 1781*946379e7Schristos && test "$*" != "X conftest.file $srcdir/configure"; then 1782*946379e7Schristos 1783*946379e7Schristos # If neither matched, then we have a broken ls. This can happen 1784*946379e7Schristos # if, for instance, CONFIG_SHELL is bash and it inherits a 1785*946379e7Schristos # broken ls alias from the environment. This has actually 1786*946379e7Schristos # happened. Such a system could not be considered "sane". 1787*946379e7Schristos { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1788*946379e7Schristosalias in your environment" >&5 1789*946379e7Schristosecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1790*946379e7Schristosalias in your environment" >&2;} 1791*946379e7Schristos { (exit 1); exit 1; }; } 1792*946379e7Schristos fi 1793*946379e7Schristos 1794*946379e7Schristos test "$2" = conftest.file 1795*946379e7Schristos ) 1796*946379e7Schristosthen 1797*946379e7Schristos # Ok. 1798*946379e7Schristos : 1799*946379e7Schristoselse 1800*946379e7Schristos { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1801*946379e7SchristosCheck your system clock" >&5 1802*946379e7Schristosecho "$as_me: error: newly created file is older than distributed files! 1803*946379e7SchristosCheck your system clock" >&2;} 1804*946379e7Schristos { (exit 1); exit 1; }; } 1805*946379e7Schristosfi 1806*946379e7Schristos{ echo "$as_me:$LINENO: result: yes" >&5 1807*946379e7Schristosecho "${ECHO_T}yes" >&6; } 1808*946379e7Schristostest "$program_prefix" != NONE && 1809*946379e7Schristos program_transform_name="s&^&$program_prefix&;$program_transform_name" 1810*946379e7Schristos# Use a double $ so make ignores it. 1811*946379e7Schristostest "$program_suffix" != NONE && 1812*946379e7Schristos program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1813*946379e7Schristos# Double any \ or $. echo might interpret backslashes. 1814*946379e7Schristos# By default was `s,x,x', remove it if useless. 1815*946379e7Schristoscat <<\_ACEOF >conftest.sed 1816*946379e7Schristoss/[\\$]/&&/g;s/;s,x,x,$// 1817*946379e7Schristos_ACEOF 1818*946379e7Schristosprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1819*946379e7Schristosrm -f conftest.sed 1820*946379e7Schristos 1821*946379e7Schristos# expand $ac_aux_dir to an absolute path 1822*946379e7Schristosam_aux_dir=`cd $ac_aux_dir && pwd` 1823*946379e7Schristos 1824*946379e7Schristostest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1825*946379e7Schristos# Use eval to expand $SHELL 1826*946379e7Schristosif eval "$MISSING --run true"; then 1827*946379e7Schristos am_missing_run="$MISSING --run " 1828*946379e7Schristoselse 1829*946379e7Schristos am_missing_run= 1830*946379e7Schristos { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1831*946379e7Schristosecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1832*946379e7Schristosfi 1833*946379e7Schristos 1834*946379e7Schristos{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 1835*946379e7Schristosecho $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 1836*946379e7Schristosif test -z "$MKDIR_P"; then 1837*946379e7Schristos if test "${ac_cv_path_mkdir+set}" = set; then 1838*946379e7Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 1839*946379e7Schristoselse 1840*946379e7Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1841*946379e7Schristosfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 1842*946379e7Schristosdo 1843*946379e7Schristos IFS=$as_save_IFS 1844*946379e7Schristos test -z "$as_dir" && as_dir=. 1845*946379e7Schristos for ac_prog in mkdir gmkdir; do 1846*946379e7Schristos for ac_exec_ext in '' $ac_executable_extensions; do 1847*946379e7Schristos { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 1848*946379e7Schristos case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 1849*946379e7Schristos 'mkdir (GNU coreutils) '* | \ 1850*946379e7Schristos 'mkdir (coreutils) '* | \ 1851*946379e7Schristos 'mkdir (fileutils) '4.1*) 1852*946379e7Schristos ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 1853*946379e7Schristos break 3;; 1854*946379e7Schristos esac 1855*946379e7Schristos done 1856*946379e7Schristos done 1857*946379e7Schristosdone 1858*946379e7SchristosIFS=$as_save_IFS 1859*946379e7Schristos 1860*946379e7Schristosfi 1861*946379e7Schristos 1862*946379e7Schristos if test "${ac_cv_path_mkdir+set}" = set; then 1863*946379e7Schristos MKDIR_P="$ac_cv_path_mkdir -p" 1864*946379e7Schristos else 1865*946379e7Schristos # As a last resort, use the slow shell script. Don't cache a 1866*946379e7Schristos # value for MKDIR_P within a source directory, because that will 1867*946379e7Schristos # break other packages using the cache if that directory is 1868*946379e7Schristos # removed, or if the value is a relative name. 1869*946379e7Schristos test -d ./--version && rmdir ./--version 1870*946379e7Schristos MKDIR_P="$ac_install_sh -d" 1871*946379e7Schristos fi 1872*946379e7Schristosfi 1873*946379e7Schristos{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 1874*946379e7Schristosecho "${ECHO_T}$MKDIR_P" >&6; } 1875*946379e7Schristos 1876*946379e7Schristosmkdir_p="$MKDIR_P" 1877*946379e7Schristoscase $mkdir_p in 1878*946379e7Schristos [\\/$]* | ?:[\\/]*) ;; 1879*946379e7Schristos */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 1880*946379e7Schristosesac 1881*946379e7Schristos 1882*946379e7Schristosfor ac_prog in gawk mawk nawk awk 1883*946379e7Schristosdo 1884*946379e7Schristos # Extract the first word of "$ac_prog", so it can be a program name with args. 1885*946379e7Schristosset dummy $ac_prog; ac_word=$2 1886*946379e7Schristos{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1887*946379e7Schristosecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1888*946379e7Schristosif test "${ac_cv_prog_AWK+set}" = set; then 1889*946379e7Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 1890*946379e7Schristoselse 1891*946379e7Schristos if test -n "$AWK"; then 1892*946379e7Schristos ac_cv_prog_AWK="$AWK" # Let the user override the test. 1893*946379e7Schristoselse 1894*946379e7Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1895*946379e7Schristosfor as_dir in $PATH 1896*946379e7Schristosdo 1897*946379e7Schristos IFS=$as_save_IFS 1898*946379e7Schristos test -z "$as_dir" && as_dir=. 1899*946379e7Schristos for ac_exec_ext in '' $ac_executable_extensions; do 1900*946379e7Schristos if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1901*946379e7Schristos ac_cv_prog_AWK="$ac_prog" 1902*946379e7Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1903*946379e7Schristos break 2 1904*946379e7Schristos fi 1905*946379e7Schristosdone 1906*946379e7Schristosdone 1907*946379e7SchristosIFS=$as_save_IFS 1908*946379e7Schristos 1909*946379e7Schristosfi 1910*946379e7Schristosfi 1911*946379e7SchristosAWK=$ac_cv_prog_AWK 1912*946379e7Schristosif test -n "$AWK"; then 1913*946379e7Schristos { echo "$as_me:$LINENO: result: $AWK" >&5 1914*946379e7Schristosecho "${ECHO_T}$AWK" >&6; } 1915*946379e7Schristoselse 1916*946379e7Schristos { echo "$as_me:$LINENO: result: no" >&5 1917*946379e7Schristosecho "${ECHO_T}no" >&6; } 1918*946379e7Schristosfi 1919*946379e7Schristos 1920*946379e7Schristos 1921*946379e7Schristos test -n "$AWK" && break 1922*946379e7Schristosdone 1923*946379e7Schristos 1924*946379e7Schristos{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1925*946379e7Schristosecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 1926*946379e7Schristosset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1927*946379e7Schristosif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 1928*946379e7Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 1929*946379e7Schristoselse 1930*946379e7Schristos cat >conftest.make <<\_ACEOF 1931*946379e7SchristosSHELL = /bin/sh 1932*946379e7Schristosall: 1933*946379e7Schristos @echo '@@@%%%=$(MAKE)=@@@%%%' 1934*946379e7Schristos_ACEOF 1935*946379e7Schristos# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1936*946379e7Schristoscase `${MAKE-make} -f conftest.make 2>/dev/null` in 1937*946379e7Schristos *@@@%%%=?*=@@@%%%*) 1938*946379e7Schristos eval ac_cv_prog_make_${ac_make}_set=yes;; 1939*946379e7Schristos *) 1940*946379e7Schristos eval ac_cv_prog_make_${ac_make}_set=no;; 1941*946379e7Schristosesac 1942*946379e7Schristosrm -f conftest.make 1943*946379e7Schristosfi 1944*946379e7Schristosif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1945*946379e7Schristos { echo "$as_me:$LINENO: result: yes" >&5 1946*946379e7Schristosecho "${ECHO_T}yes" >&6; } 1947*946379e7Schristos SET_MAKE= 1948*946379e7Schristoselse 1949*946379e7Schristos { echo "$as_me:$LINENO: result: no" >&5 1950*946379e7Schristosecho "${ECHO_T}no" >&6; } 1951*946379e7Schristos SET_MAKE="MAKE=${MAKE-make}" 1952*946379e7Schristosfi 1953*946379e7Schristos 1954*946379e7Schristosrm -rf .tst 2>/dev/null 1955*946379e7Schristosmkdir .tst 2>/dev/null 1956*946379e7Schristosif test -d .tst; then 1957*946379e7Schristos am__leading_dot=. 1958*946379e7Schristoselse 1959*946379e7Schristos am__leading_dot=_ 1960*946379e7Schristosfi 1961*946379e7Schristosrmdir .tst 2>/dev/null 1962*946379e7Schristos 1963*946379e7Schristosif test "`cd $srcdir && pwd`" != "`pwd`"; then 1964*946379e7Schristos # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 1965*946379e7Schristos # is not polluted with repeated "-I." 1966*946379e7Schristos am__isrc=' -I$(srcdir)' 1967*946379e7Schristos # test to see if srcdir already configured 1968*946379e7Schristos if test -f $srcdir/config.status; then 1969*946379e7Schristos { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1970*946379e7Schristosecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1971*946379e7Schristos { (exit 1); exit 1; }; } 1972*946379e7Schristos fi 1973*946379e7Schristosfi 1974*946379e7Schristos 1975*946379e7Schristos# test whether we have cygpath 1976*946379e7Schristosif test -z "$CYGPATH_W"; then 1977*946379e7Schristos if (cygpath --version) >/dev/null 2>/dev/null; then 1978*946379e7Schristos CYGPATH_W='cygpath -w' 1979*946379e7Schristos else 1980*946379e7Schristos CYGPATH_W=echo 1981*946379e7Schristos fi 1982*946379e7Schristosfi 1983*946379e7Schristos 1984*946379e7Schristos 1985*946379e7Schristos# Define the identity of the package. 1986*946379e7Schristos PACKAGE=gettext-examples 1987*946379e7Schristos VERSION=$VERSION_NUMBER 1988*946379e7Schristos 1989*946379e7Schristos 1990*946379e7Schristoscat >>confdefs.h <<_ACEOF 1991*946379e7Schristos#define PACKAGE "$PACKAGE" 1992*946379e7Schristos_ACEOF 1993*946379e7Schristos 1994*946379e7Schristos 1995*946379e7Schristoscat >>confdefs.h <<_ACEOF 1996*946379e7Schristos#define VERSION "$VERSION" 1997*946379e7Schristos_ACEOF 1998*946379e7Schristos 1999*946379e7Schristos# Some tools Automake needs. 2000*946379e7Schristos 2001*946379e7SchristosACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2002*946379e7Schristos 2003*946379e7Schristos 2004*946379e7SchristosAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2005*946379e7Schristos 2006*946379e7Schristos 2007*946379e7SchristosAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2008*946379e7Schristos 2009*946379e7Schristos 2010*946379e7SchristosAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2011*946379e7Schristos 2012*946379e7Schristos 2013*946379e7SchristosMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2014*946379e7Schristos 2015*946379e7Schristosinstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2016*946379e7Schristos 2017*946379e7Schristos# Installed binaries are usually stripped using `strip' when the user 2018*946379e7Schristos# run `make install-strip'. However `strip' might not be the right 2019*946379e7Schristos# tool to use in cross-compilation environments, therefore Automake 2020*946379e7Schristos# will honor the `STRIP' environment variable to overrule this program. 2021*946379e7Schristosif test "$cross_compiling" != no; then 2022*946379e7Schristos if test -n "$ac_tool_prefix"; then 2023*946379e7Schristos # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2024*946379e7Schristosset dummy ${ac_tool_prefix}strip; ac_word=$2 2025*946379e7Schristos{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2026*946379e7Schristosecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2027*946379e7Schristosif test "${ac_cv_prog_STRIP+set}" = set; then 2028*946379e7Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 2029*946379e7Schristoselse 2030*946379e7Schristos if test -n "$STRIP"; then 2031*946379e7Schristos ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2032*946379e7Schristoselse 2033*946379e7Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2034*946379e7Schristosfor as_dir in $PATH 2035*946379e7Schristosdo 2036*946379e7Schristos IFS=$as_save_IFS 2037*946379e7Schristos test -z "$as_dir" && as_dir=. 2038*946379e7Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2039*946379e7Schristos if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2040*946379e7Schristos ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2041*946379e7Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2042*946379e7Schristos break 2 2043*946379e7Schristos fi 2044*946379e7Schristosdone 2045*946379e7Schristosdone 2046*946379e7SchristosIFS=$as_save_IFS 2047*946379e7Schristos 2048*946379e7Schristosfi 2049*946379e7Schristosfi 2050*946379e7SchristosSTRIP=$ac_cv_prog_STRIP 2051*946379e7Schristosif test -n "$STRIP"; then 2052*946379e7Schristos { echo "$as_me:$LINENO: result: $STRIP" >&5 2053*946379e7Schristosecho "${ECHO_T}$STRIP" >&6; } 2054*946379e7Schristoselse 2055*946379e7Schristos { echo "$as_me:$LINENO: result: no" >&5 2056*946379e7Schristosecho "${ECHO_T}no" >&6; } 2057*946379e7Schristosfi 2058*946379e7Schristos 2059*946379e7Schristos 2060*946379e7Schristosfi 2061*946379e7Schristosif test -z "$ac_cv_prog_STRIP"; then 2062*946379e7Schristos ac_ct_STRIP=$STRIP 2063*946379e7Schristos # Extract the first word of "strip", so it can be a program name with args. 2064*946379e7Schristosset dummy strip; ac_word=$2 2065*946379e7Schristos{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2066*946379e7Schristosecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2067*946379e7Schristosif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2068*946379e7Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 2069*946379e7Schristoselse 2070*946379e7Schristos if test -n "$ac_ct_STRIP"; then 2071*946379e7Schristos ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2072*946379e7Schristoselse 2073*946379e7Schristosas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2074*946379e7Schristosfor as_dir in $PATH 2075*946379e7Schristosdo 2076*946379e7Schristos IFS=$as_save_IFS 2077*946379e7Schristos test -z "$as_dir" && as_dir=. 2078*946379e7Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2079*946379e7Schristos if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2080*946379e7Schristos ac_cv_prog_ac_ct_STRIP="strip" 2081*946379e7Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2082*946379e7Schristos break 2 2083*946379e7Schristos fi 2084*946379e7Schristosdone 2085*946379e7Schristosdone 2086*946379e7SchristosIFS=$as_save_IFS 2087*946379e7Schristos 2088*946379e7Schristosfi 2089*946379e7Schristosfi 2090*946379e7Schristosac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2091*946379e7Schristosif test -n "$ac_ct_STRIP"; then 2092*946379e7Schristos { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2093*946379e7Schristosecho "${ECHO_T}$ac_ct_STRIP" >&6; } 2094*946379e7Schristoselse 2095*946379e7Schristos { echo "$as_me:$LINENO: result: no" >&5 2096*946379e7Schristosecho "${ECHO_T}no" >&6; } 2097*946379e7Schristosfi 2098*946379e7Schristos 2099*946379e7Schristos if test "x$ac_ct_STRIP" = x; then 2100*946379e7Schristos STRIP=":" 2101*946379e7Schristos else 2102*946379e7Schristos case $cross_compiling:$ac_tool_warned in 2103*946379e7Schristosyes:) 2104*946379e7Schristos{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2105*946379e7Schristoswhose name does not start with the host triplet. If you think this 2106*946379e7Schristosconfiguration is useful to you, please write to autoconf@gnu.org." >&5 2107*946379e7Schristosecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2108*946379e7Schristoswhose name does not start with the host triplet. If you think this 2109*946379e7Schristosconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 2110*946379e7Schristosac_tool_warned=yes ;; 2111*946379e7Schristosesac 2112*946379e7Schristos STRIP=$ac_ct_STRIP 2113*946379e7Schristos fi 2114*946379e7Schristoselse 2115*946379e7Schristos STRIP="$ac_cv_prog_STRIP" 2116*946379e7Schristosfi 2117*946379e7Schristos 2118*946379e7Schristosfi 2119*946379e7SchristosINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2120*946379e7Schristos 2121*946379e7Schristos# We need awk for the "check" target. The system "awk" is bad on 2122*946379e7Schristos# some platforms. 2123*946379e7Schristos# Always define AMTAR for backward compatibility. 2124*946379e7Schristos 2125*946379e7SchristosAMTAR=${AMTAR-"${am_missing_run}tar"} 2126*946379e7Schristos 2127*946379e7Schristosam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2128*946379e7Schristos 2129*946379e7Schristos 2130*946379e7Schristos 2131*946379e7Schristos 2132*946379e7Schristos 2133*946379e7Schristos 2134*946379e7Schristostest "$docdir" != '${datarootdir}/doc/${PACKAGE}' || docdir='${datarootdir}/doc/gettext' 2135*946379e7Schristos 2136*946379e7Schristos 2137*946379e7Schristos { echo "$as_me:$LINENO: checking whether NLS is requested" >&5 2138*946379e7Schristosecho $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; } 2139*946379e7Schristos # Check whether --enable-nls was given. 2140*946379e7Schristosif test "${enable_nls+set}" = set; then 2141*946379e7Schristos enableval=$enable_nls; USE_NLS=$enableval 2142*946379e7Schristoselse 2143*946379e7Schristos USE_NLS=yes 2144*946379e7Schristosfi 2145*946379e7Schristos 2146*946379e7Schristos { echo "$as_me:$LINENO: result: $USE_NLS" >&5 2147*946379e7Schristosecho "${ECHO_T}$USE_NLS" >&6; } 2148*946379e7Schristos 2149*946379e7Schristos 2150*946379e7Schristos 2151*946379e7Schristos 2152*946379e7Schristos 2153*946379e7Schristos 2154*946379e7Schristos# Prepare PATH_SEPARATOR. 2155*946379e7Schristos# The user is always right. 2156*946379e7Schristosif test "${PATH_SEPARATOR+set}" != set; then 2157*946379e7Schristos echo "#! /bin/sh" >conf$$.sh 2158*946379e7Schristos echo "exit 0" >>conf$$.sh 2159*946379e7Schristos chmod +x conf$$.sh 2160*946379e7Schristos if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2161*946379e7Schristos PATH_SEPARATOR=';' 2162*946379e7Schristos else 2163*946379e7Schristos PATH_SEPARATOR=: 2164*946379e7Schristos fi 2165*946379e7Schristos rm -f conf$$.sh 2166*946379e7Schristosfi 2167*946379e7Schristos 2168*946379e7Schristos# Find out how to test for executable files. Don't use a zero-byte file, 2169*946379e7Schristos# as systems may use methods other than mode bits to determine executability. 2170*946379e7Schristoscat >conf$$.file <<_ASEOF 2171*946379e7Schristos#! /bin/sh 2172*946379e7Schristosexit 0 2173*946379e7Schristos_ASEOF 2174*946379e7Schristoschmod +x conf$$.file 2175*946379e7Schristosif test -x conf$$.file >/dev/null 2>&1; then 2176*946379e7Schristos ac_executable_p="test -x" 2177*946379e7Schristoselse 2178*946379e7Schristos ac_executable_p="test -f" 2179*946379e7Schristosfi 2180*946379e7Schristosrm -f conf$$.file 2181*946379e7Schristos 2182*946379e7Schristos# Extract the first word of "msgfmt", so it can be a program name with args. 2183*946379e7Schristosset dummy msgfmt; ac_word=$2 2184*946379e7Schristos{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2185*946379e7Schristosecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2186*946379e7Schristosif test "${ac_cv_path_MSGFMT+set}" = set; then 2187*946379e7Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 2188*946379e7Schristoselse 2189*946379e7Schristos case "$MSGFMT" in 2190*946379e7Schristos [\\/]* | ?:[\\/]*) 2191*946379e7Schristos ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 2192*946379e7Schristos ;; 2193*946379e7Schristos *) 2194*946379e7Schristos ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2195*946379e7Schristos for ac_dir in $PATH; do 2196*946379e7Schristos IFS="$ac_save_IFS" 2197*946379e7Schristos test -z "$ac_dir" && ac_dir=. 2198*946379e7Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2199*946379e7Schristos if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2200*946379e7Schristos echo "$as_me: trying $ac_dir/$ac_word..." >&5 2201*946379e7Schristos if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 2202*946379e7Schristos (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 2203*946379e7Schristos ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 2204*946379e7Schristos break 2 2205*946379e7Schristos fi 2206*946379e7Schristos fi 2207*946379e7Schristos done 2208*946379e7Schristos done 2209*946379e7Schristos IFS="$ac_save_IFS" 2210*946379e7Schristos test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 2211*946379e7Schristos ;; 2212*946379e7Schristosesac 2213*946379e7Schristosfi 2214*946379e7SchristosMSGFMT="$ac_cv_path_MSGFMT" 2215*946379e7Schristosif test "$MSGFMT" != ":"; then 2216*946379e7Schristos { echo "$as_me:$LINENO: result: $MSGFMT" >&5 2217*946379e7Schristosecho "${ECHO_T}$MSGFMT" >&6; } 2218*946379e7Schristoselse 2219*946379e7Schristos { echo "$as_me:$LINENO: result: no" >&5 2220*946379e7Schristosecho "${ECHO_T}no" >&6; } 2221*946379e7Schristosfi 2222*946379e7Schristos 2223*946379e7Schristos # Extract the first word of "gmsgfmt", so it can be a program name with args. 2224*946379e7Schristosset dummy gmsgfmt; ac_word=$2 2225*946379e7Schristos{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2226*946379e7Schristosecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2227*946379e7Schristosif test "${ac_cv_path_GMSGFMT+set}" = set; then 2228*946379e7Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 2229*946379e7Schristoselse 2230*946379e7Schristos case $GMSGFMT in 2231*946379e7Schristos [\\/]* | ?:[\\/]*) 2232*946379e7Schristos ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 2233*946379e7Schristos ;; 2234*946379e7Schristos *) 2235*946379e7Schristos as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2236*946379e7Schristosfor as_dir in $PATH 2237*946379e7Schristosdo 2238*946379e7Schristos IFS=$as_save_IFS 2239*946379e7Schristos test -z "$as_dir" && as_dir=. 2240*946379e7Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2241*946379e7Schristos if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2242*946379e7Schristos ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 2243*946379e7Schristos echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2244*946379e7Schristos break 2 2245*946379e7Schristos fi 2246*946379e7Schristosdone 2247*946379e7Schristosdone 2248*946379e7SchristosIFS=$as_save_IFS 2249*946379e7Schristos 2250*946379e7Schristos test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 2251*946379e7Schristos ;; 2252*946379e7Schristosesac 2253*946379e7Schristosfi 2254*946379e7SchristosGMSGFMT=$ac_cv_path_GMSGFMT 2255*946379e7Schristosif test -n "$GMSGFMT"; then 2256*946379e7Schristos { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 2257*946379e7Schristosecho "${ECHO_T}$GMSGFMT" >&6; } 2258*946379e7Schristoselse 2259*946379e7Schristos { echo "$as_me:$LINENO: result: no" >&5 2260*946379e7Schristosecho "${ECHO_T}no" >&6; } 2261*946379e7Schristosfi 2262*946379e7Schristos 2263*946379e7Schristos 2264*946379e7Schristos 2265*946379e7Schristos case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2266*946379e7Schristos '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 2267*946379e7Schristos *) MSGFMT_015=$MSGFMT ;; 2268*946379e7Schristos esac 2269*946379e7Schristos 2270*946379e7Schristos case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2271*946379e7Schristos '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 2272*946379e7Schristos *) GMSGFMT_015=$GMSGFMT ;; 2273*946379e7Schristos esac 2274*946379e7Schristos 2275*946379e7Schristos 2276*946379e7Schristos 2277*946379e7Schristos# Prepare PATH_SEPARATOR. 2278*946379e7Schristos# The user is always right. 2279*946379e7Schristosif test "${PATH_SEPARATOR+set}" != set; then 2280*946379e7Schristos echo "#! /bin/sh" >conf$$.sh 2281*946379e7Schristos echo "exit 0" >>conf$$.sh 2282*946379e7Schristos chmod +x conf$$.sh 2283*946379e7Schristos if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2284*946379e7Schristos PATH_SEPARATOR=';' 2285*946379e7Schristos else 2286*946379e7Schristos PATH_SEPARATOR=: 2287*946379e7Schristos fi 2288*946379e7Schristos rm -f conf$$.sh 2289*946379e7Schristosfi 2290*946379e7Schristos 2291*946379e7Schristos# Find out how to test for executable files. Don't use a zero-byte file, 2292*946379e7Schristos# as systems may use methods other than mode bits to determine executability. 2293*946379e7Schristoscat >conf$$.file <<_ASEOF 2294*946379e7Schristos#! /bin/sh 2295*946379e7Schristosexit 0 2296*946379e7Schristos_ASEOF 2297*946379e7Schristoschmod +x conf$$.file 2298*946379e7Schristosif test -x conf$$.file >/dev/null 2>&1; then 2299*946379e7Schristos ac_executable_p="test -x" 2300*946379e7Schristoselse 2301*946379e7Schristos ac_executable_p="test -f" 2302*946379e7Schristosfi 2303*946379e7Schristosrm -f conf$$.file 2304*946379e7Schristos 2305*946379e7Schristos# Extract the first word of "xgettext", so it can be a program name with args. 2306*946379e7Schristosset dummy xgettext; ac_word=$2 2307*946379e7Schristos{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2308*946379e7Schristosecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2309*946379e7Schristosif test "${ac_cv_path_XGETTEXT+set}" = set; then 2310*946379e7Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 2311*946379e7Schristoselse 2312*946379e7Schristos case "$XGETTEXT" in 2313*946379e7Schristos [\\/]* | ?:[\\/]*) 2314*946379e7Schristos ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 2315*946379e7Schristos ;; 2316*946379e7Schristos *) 2317*946379e7Schristos ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2318*946379e7Schristos for ac_dir in $PATH; do 2319*946379e7Schristos IFS="$ac_save_IFS" 2320*946379e7Schristos test -z "$ac_dir" && ac_dir=. 2321*946379e7Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2322*946379e7Schristos if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2323*946379e7Schristos echo "$as_me: trying $ac_dir/$ac_word..." >&5 2324*946379e7Schristos if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 2325*946379e7Schristos (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 2326*946379e7Schristos ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 2327*946379e7Schristos break 2 2328*946379e7Schristos fi 2329*946379e7Schristos fi 2330*946379e7Schristos done 2331*946379e7Schristos done 2332*946379e7Schristos IFS="$ac_save_IFS" 2333*946379e7Schristos test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 2334*946379e7Schristos ;; 2335*946379e7Schristosesac 2336*946379e7Schristosfi 2337*946379e7SchristosXGETTEXT="$ac_cv_path_XGETTEXT" 2338*946379e7Schristosif test "$XGETTEXT" != ":"; then 2339*946379e7Schristos { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 2340*946379e7Schristosecho "${ECHO_T}$XGETTEXT" >&6; } 2341*946379e7Schristoselse 2342*946379e7Schristos { echo "$as_me:$LINENO: result: no" >&5 2343*946379e7Schristosecho "${ECHO_T}no" >&6; } 2344*946379e7Schristosfi 2345*946379e7Schristos 2346*946379e7Schristos rm -f messages.po 2347*946379e7Schristos 2348*946379e7Schristos case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2349*946379e7Schristos '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 2350*946379e7Schristos *) XGETTEXT_015=$XGETTEXT ;; 2351*946379e7Schristos esac 2352*946379e7Schristos 2353*946379e7Schristos 2354*946379e7Schristos 2355*946379e7Schristos# Prepare PATH_SEPARATOR. 2356*946379e7Schristos# The user is always right. 2357*946379e7Schristosif test "${PATH_SEPARATOR+set}" != set; then 2358*946379e7Schristos echo "#! /bin/sh" >conf$$.sh 2359*946379e7Schristos echo "exit 0" >>conf$$.sh 2360*946379e7Schristos chmod +x conf$$.sh 2361*946379e7Schristos if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2362*946379e7Schristos PATH_SEPARATOR=';' 2363*946379e7Schristos else 2364*946379e7Schristos PATH_SEPARATOR=: 2365*946379e7Schristos fi 2366*946379e7Schristos rm -f conf$$.sh 2367*946379e7Schristosfi 2368*946379e7Schristos 2369*946379e7Schristos# Find out how to test for executable files. Don't use a zero-byte file, 2370*946379e7Schristos# as systems may use methods other than mode bits to determine executability. 2371*946379e7Schristoscat >conf$$.file <<_ASEOF 2372*946379e7Schristos#! /bin/sh 2373*946379e7Schristosexit 0 2374*946379e7Schristos_ASEOF 2375*946379e7Schristoschmod +x conf$$.file 2376*946379e7Schristosif test -x conf$$.file >/dev/null 2>&1; then 2377*946379e7Schristos ac_executable_p="test -x" 2378*946379e7Schristoselse 2379*946379e7Schristos ac_executable_p="test -f" 2380*946379e7Schristosfi 2381*946379e7Schristosrm -f conf$$.file 2382*946379e7Schristos 2383*946379e7Schristos# Extract the first word of "msgmerge", so it can be a program name with args. 2384*946379e7Schristosset dummy msgmerge; ac_word=$2 2385*946379e7Schristos{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2386*946379e7Schristosecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2387*946379e7Schristosif test "${ac_cv_path_MSGMERGE+set}" = set; then 2388*946379e7Schristos echo $ECHO_N "(cached) $ECHO_C" >&6 2389*946379e7Schristoselse 2390*946379e7Schristos case "$MSGMERGE" in 2391*946379e7Schristos [\\/]* | ?:[\\/]*) 2392*946379e7Schristos ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 2393*946379e7Schristos ;; 2394*946379e7Schristos *) 2395*946379e7Schristos ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 2396*946379e7Schristos for ac_dir in $PATH; do 2397*946379e7Schristos IFS="$ac_save_IFS" 2398*946379e7Schristos test -z "$ac_dir" && ac_dir=. 2399*946379e7Schristos for ac_exec_ext in '' $ac_executable_extensions; do 2400*946379e7Schristos if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 2401*946379e7Schristos echo "$as_me: trying $ac_dir/$ac_word..." >&5 2402*946379e7Schristos if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 2403*946379e7Schristos ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 2404*946379e7Schristos break 2 2405*946379e7Schristos fi 2406*946379e7Schristos fi 2407*946379e7Schristos done 2408*946379e7Schristos done 2409*946379e7Schristos IFS="$ac_save_IFS" 2410*946379e7Schristos test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 2411*946379e7Schristos ;; 2412*946379e7Schristosesac 2413*946379e7Schristosfi 2414*946379e7SchristosMSGMERGE="$ac_cv_path_MSGMERGE" 2415*946379e7Schristosif test "$MSGMERGE" != ":"; then 2416*946379e7Schristos { echo "$as_me:$LINENO: result: $MSGMERGE" >&5 2417*946379e7Schristosecho "${ECHO_T}$MSGMERGE" >&6; } 2418*946379e7Schristoselse 2419*946379e7Schristos { echo "$as_me:$LINENO: result: no" >&5 2420*946379e7Schristosecho "${ECHO_T}no" >&6; } 2421*946379e7Schristosfi 2422*946379e7Schristos 2423*946379e7Schristos 2424*946379e7Schristos test -n "$localedir" || localedir='${datadir}/locale' 2425*946379e7Schristos 2426*946379e7Schristos 2427*946379e7Schristos ac_config_commands="$ac_config_commands po-directories" 2428*946379e7Schristos 2429*946379e7Schristos 2430*946379e7Schristos 2431*946379e7Schristosaclocaldir='${datadir}/aclocal' 2432*946379e7Schristos 2433*946379e7Schristos 2434*946379e7Schristosac_config_files="$ac_config_files Makefile" 2435*946379e7Schristos 2436*946379e7Schristosac_config_files="$ac_config_files installpaths" 2437*946379e7Schristos 2438*946379e7Schristosac_config_files="$ac_config_files po/Makefile" 2439*946379e7Schristos 2440*946379e7Schristos 2441*946379e7Schristoscat >confcache <<\_ACEOF 2442*946379e7Schristos# This file is a shell script that caches the results of configure 2443*946379e7Schristos# tests run on this system so they can be shared between configure 2444*946379e7Schristos# scripts and configure runs, see configure's option --config-cache. 2445*946379e7Schristos# It is not useful on other systems. If it contains results you don't 2446*946379e7Schristos# want to keep, you may remove or edit it. 2447*946379e7Schristos# 2448*946379e7Schristos# config.status only pays attention to the cache file if you give it 2449*946379e7Schristos# the --recheck option to rerun configure. 2450*946379e7Schristos# 2451*946379e7Schristos# `ac_cv_env_foo' variables (set or unset) will be overridden when 2452*946379e7Schristos# loading this file, other *unset* `ac_cv_foo' will be assigned the 2453*946379e7Schristos# following values. 2454*946379e7Schristos 2455*946379e7Schristos_ACEOF 2456*946379e7Schristos 2457*946379e7Schristos# The following way of writing the cache mishandles newlines in values, 2458*946379e7Schristos# but we know of no workaround that is simple, portable, and efficient. 2459*946379e7Schristos# So, we kill variables containing newlines. 2460*946379e7Schristos# Ultrix sh set writes to stderr and can't be redirected directly, 2461*946379e7Schristos# and sets the high bit in the cache file unless we assign to the vars. 2462*946379e7Schristos( 2463*946379e7Schristos for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 2464*946379e7Schristos eval ac_val=\$$ac_var 2465*946379e7Schristos case $ac_val in #( 2466*946379e7Schristos *${as_nl}*) 2467*946379e7Schristos case $ac_var in #( 2468*946379e7Schristos *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 2469*946379e7Schristosecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2470*946379e7Schristos esac 2471*946379e7Schristos case $ac_var in #( 2472*946379e7Schristos _ | IFS | as_nl) ;; #( 2473*946379e7Schristos *) $as_unset $ac_var ;; 2474*946379e7Schristos esac ;; 2475*946379e7Schristos esac 2476*946379e7Schristos done 2477*946379e7Schristos 2478*946379e7Schristos (set) 2>&1 | 2479*946379e7Schristos case $as_nl`(ac_space=' '; set) 2>&1` in #( 2480*946379e7Schristos *${as_nl}ac_space=\ *) 2481*946379e7Schristos # `set' does not quote correctly, so add quotes (double-quote 2482*946379e7Schristos # substitution turns \\\\ into \\, and sed turns \\ into \). 2483*946379e7Schristos sed -n \ 2484*946379e7Schristos "s/'/'\\\\''/g; 2485*946379e7Schristos s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2486*946379e7Schristos ;; #( 2487*946379e7Schristos *) 2488*946379e7Schristos # `set' quotes correctly as required by POSIX, so do not add quotes. 2489*946379e7Schristos sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2490*946379e7Schristos ;; 2491*946379e7Schristos esac | 2492*946379e7Schristos sort 2493*946379e7Schristos) | 2494*946379e7Schristos sed ' 2495*946379e7Schristos /^ac_cv_env_/b end 2496*946379e7Schristos t clear 2497*946379e7Schristos :clear 2498*946379e7Schristos s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2499*946379e7Schristos t end 2500*946379e7Schristos s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2501*946379e7Schristos :end' >>confcache 2502*946379e7Schristosif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 2503*946379e7Schristos if test -w "$cache_file"; then 2504*946379e7Schristos test "x$cache_file" != "x/dev/null" && 2505*946379e7Schristos { echo "$as_me:$LINENO: updating cache $cache_file" >&5 2506*946379e7Schristosecho "$as_me: updating cache $cache_file" >&6;} 2507*946379e7Schristos cat confcache >$cache_file 2508*946379e7Schristos else 2509*946379e7Schristos { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 2510*946379e7Schristosecho "$as_me: not updating unwritable cache $cache_file" >&6;} 2511*946379e7Schristos fi 2512*946379e7Schristosfi 2513*946379e7Schristosrm -f confcache 2514*946379e7Schristos 2515*946379e7Schristostest "x$prefix" = xNONE && prefix=$ac_default_prefix 2516*946379e7Schristos# Let make expand exec_prefix. 2517*946379e7Schristostest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2518*946379e7Schristos 2519*946379e7Schristos# Transform confdefs.h into DEFS. 2520*946379e7Schristos# Protect against shell expansion while executing Makefile rules. 2521*946379e7Schristos# Protect against Makefile macro expansion. 2522*946379e7Schristos# 2523*946379e7Schristos# If the first sed substitution is executed (which looks for macros that 2524*946379e7Schristos# take arguments), then branch to the quote section. Otherwise, 2525*946379e7Schristos# look for a macro that doesn't take arguments. 2526*946379e7Schristosac_script=' 2527*946379e7Schristost clear 2528*946379e7Schristos:clear 2529*946379e7Schristoss/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 2530*946379e7Schristost quote 2531*946379e7Schristoss/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 2532*946379e7Schristost quote 2533*946379e7Schristosb any 2534*946379e7Schristos:quote 2535*946379e7Schristoss/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 2536*946379e7Schristoss/\[/\\&/g 2537*946379e7Schristoss/\]/\\&/g 2538*946379e7Schristoss/\$/$$/g 2539*946379e7SchristosH 2540*946379e7Schristos:any 2541*946379e7Schristos${ 2542*946379e7Schristos g 2543*946379e7Schristos s/^\n// 2544*946379e7Schristos s/\n/ /g 2545*946379e7Schristos p 2546*946379e7Schristos} 2547*946379e7Schristos' 2548*946379e7SchristosDEFS=`sed -n "$ac_script" confdefs.h` 2549*946379e7Schristos 2550*946379e7Schristos 2551*946379e7Schristosac_libobjs= 2552*946379e7Schristosac_ltlibobjs= 2553*946379e7Schristosfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2554*946379e7Schristos # 1. Remove the extension, and $U if already installed. 2555*946379e7Schristos ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 2556*946379e7Schristos ac_i=`echo "$ac_i" | sed "$ac_script"` 2557*946379e7Schristos # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 2558*946379e7Schristos # will be set to the directory where LIBOBJS objects are built. 2559*946379e7Schristos ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 2560*946379e7Schristos ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 2561*946379e7Schristosdone 2562*946379e7SchristosLIBOBJS=$ac_libobjs 2563*946379e7Schristos 2564*946379e7SchristosLTLIBOBJS=$ac_ltlibobjs 2565*946379e7Schristos 2566*946379e7Schristos 2567*946379e7Schristos 2568*946379e7Schristos: ${CONFIG_STATUS=./config.status} 2569*946379e7Schristosac_clean_files_save=$ac_clean_files 2570*946379e7Schristosac_clean_files="$ac_clean_files $CONFIG_STATUS" 2571*946379e7Schristos{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 2572*946379e7Schristosecho "$as_me: creating $CONFIG_STATUS" >&6;} 2573*946379e7Schristoscat >$CONFIG_STATUS <<_ACEOF 2574*946379e7Schristos#! $SHELL 2575*946379e7Schristos# Generated by $as_me. 2576*946379e7Schristos# Run this file to recreate the current configuration. 2577*946379e7Schristos# Compiler output produced by configure, useful for debugging 2578*946379e7Schristos# configure, is in config.log if it exists. 2579*946379e7Schristos 2580*946379e7Schristosdebug=false 2581*946379e7Schristosac_cs_recheck=false 2582*946379e7Schristosac_cs_silent=false 2583*946379e7SchristosSHELL=\${CONFIG_SHELL-$SHELL} 2584*946379e7Schristos_ACEOF 2585*946379e7Schristos 2586*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF 2587*946379e7Schristos## --------------------- ## 2588*946379e7Schristos## M4sh Initialization. ## 2589*946379e7Schristos## --------------------- ## 2590*946379e7Schristos 2591*946379e7Schristos# Be more Bourne compatible 2592*946379e7SchristosDUALCASE=1; export DUALCASE # for MKS sh 2593*946379e7Schristosif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2594*946379e7Schristos emulate sh 2595*946379e7Schristos NULLCMD=: 2596*946379e7Schristos # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2597*946379e7Schristos # is contrary to our usage. Disable this feature. 2598*946379e7Schristos alias -g '${1+"$@"}'='"$@"' 2599*946379e7Schristos setopt NO_GLOB_SUBST 2600*946379e7Schristoselse 2601*946379e7Schristos case `(set -o) 2>/dev/null` in 2602*946379e7Schristos *posix*) set -o posix ;; 2603*946379e7Schristosesac 2604*946379e7Schristos 2605*946379e7Schristosfi 2606*946379e7Schristos 2607*946379e7Schristos 2608*946379e7Schristos 2609*946379e7Schristos 2610*946379e7Schristos# PATH needs CR 2611*946379e7Schristos# Avoid depending upon Character Ranges. 2612*946379e7Schristosas_cr_letters='abcdefghijklmnopqrstuvwxyz' 2613*946379e7Schristosas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2614*946379e7Schristosas_cr_Letters=$as_cr_letters$as_cr_LETTERS 2615*946379e7Schristosas_cr_digits='0123456789' 2616*946379e7Schristosas_cr_alnum=$as_cr_Letters$as_cr_digits 2617*946379e7Schristos 2618*946379e7Schristos# The user is always right. 2619*946379e7Schristosif test "${PATH_SEPARATOR+set}" != set; then 2620*946379e7Schristos echo "#! /bin/sh" >conf$$.sh 2621*946379e7Schristos echo "exit 0" >>conf$$.sh 2622*946379e7Schristos chmod +x conf$$.sh 2623*946379e7Schristos if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2624*946379e7Schristos PATH_SEPARATOR=';' 2625*946379e7Schristos else 2626*946379e7Schristos PATH_SEPARATOR=: 2627*946379e7Schristos fi 2628*946379e7Schristos rm -f conf$$.sh 2629*946379e7Schristosfi 2630*946379e7Schristos 2631*946379e7Schristos# Support unset when possible. 2632*946379e7Schristosif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 2633*946379e7Schristos as_unset=unset 2634*946379e7Schristoselse 2635*946379e7Schristos as_unset=false 2636*946379e7Schristosfi 2637*946379e7Schristos 2638*946379e7Schristos 2639*946379e7Schristos# IFS 2640*946379e7Schristos# We need space, tab and new line, in precisely that order. Quoting is 2641*946379e7Schristos# there to prevent editors from complaining about space-tab. 2642*946379e7Schristos# (If _AS_PATH_WALK were called with IFS unset, it would disable word 2643*946379e7Schristos# splitting by setting IFS to empty value.) 2644*946379e7Schristosas_nl=' 2645*946379e7Schristos' 2646*946379e7SchristosIFS=" "" $as_nl" 2647*946379e7Schristos 2648*946379e7Schristos# Find who we are. Look in the path if we contain no directory separator. 2649*946379e7Schristoscase $0 in 2650*946379e7Schristos *[\\/]* ) as_myself=$0 ;; 2651*946379e7Schristos *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2652*946379e7Schristosfor as_dir in $PATH 2653*946379e7Schristosdo 2654*946379e7Schristos IFS=$as_save_IFS 2655*946379e7Schristos test -z "$as_dir" && as_dir=. 2656*946379e7Schristos test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 2657*946379e7Schristosdone 2658*946379e7SchristosIFS=$as_save_IFS 2659*946379e7Schristos 2660*946379e7Schristos ;; 2661*946379e7Schristosesac 2662*946379e7Schristos# We did not find ourselves, most probably we were run as `sh COMMAND' 2663*946379e7Schristos# in which case we are not to be found in the path. 2664*946379e7Schristosif test "x$as_myself" = x; then 2665*946379e7Schristos as_myself=$0 2666*946379e7Schristosfi 2667*946379e7Schristosif test ! -f "$as_myself"; then 2668*946379e7Schristos echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2669*946379e7Schristos { (exit 1); exit 1; } 2670*946379e7Schristosfi 2671*946379e7Schristos 2672*946379e7Schristos# Work around bugs in pre-3.0 UWIN ksh. 2673*946379e7Schristosfor as_var in ENV MAIL MAILPATH 2674*946379e7Schristosdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 2675*946379e7Schristosdone 2676*946379e7SchristosPS1='$ ' 2677*946379e7SchristosPS2='> ' 2678*946379e7SchristosPS4='+ ' 2679*946379e7Schristos 2680*946379e7Schristos# NLS nuisances. 2681*946379e7Schristosfor as_var in \ 2682*946379e7Schristos LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 2683*946379e7Schristos LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 2684*946379e7Schristos LC_TELEPHONE LC_TIME 2685*946379e7Schristosdo 2686*946379e7Schristos if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 2687*946379e7Schristos eval $as_var=C; export $as_var 2688*946379e7Schristos else 2689*946379e7Schristos ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 2690*946379e7Schristos fi 2691*946379e7Schristosdone 2692*946379e7Schristos 2693*946379e7Schristos# Required to use basename. 2694*946379e7Schristosif expr a : '\(a\)' >/dev/null 2>&1 && 2695*946379e7Schristos test "X`expr 00001 : '.*\(...\)'`" = X001; then 2696*946379e7Schristos as_expr=expr 2697*946379e7Schristoselse 2698*946379e7Schristos as_expr=false 2699*946379e7Schristosfi 2700*946379e7Schristos 2701*946379e7Schristosif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 2702*946379e7Schristos as_basename=basename 2703*946379e7Schristoselse 2704*946379e7Schristos as_basename=false 2705*946379e7Schristosfi 2706*946379e7Schristos 2707*946379e7Schristos 2708*946379e7Schristos# Name of the executable. 2709*946379e7Schristosas_me=`$as_basename -- "$0" || 2710*946379e7Schristos$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 2711*946379e7Schristos X"$0" : 'X\(//\)$' \| \ 2712*946379e7Schristos X"$0" : 'X\(/\)' \| . 2>/dev/null || 2713*946379e7Schristosecho X/"$0" | 2714*946379e7Schristos sed '/^.*\/\([^/][^/]*\)\/*$/{ 2715*946379e7Schristos s//\1/ 2716*946379e7Schristos q 2717*946379e7Schristos } 2718*946379e7Schristos /^X\/\(\/\/\)$/{ 2719*946379e7Schristos s//\1/ 2720*946379e7Schristos q 2721*946379e7Schristos } 2722*946379e7Schristos /^X\/\(\/\).*/{ 2723*946379e7Schristos s//\1/ 2724*946379e7Schristos q 2725*946379e7Schristos } 2726*946379e7Schristos s/.*/./; q'` 2727*946379e7Schristos 2728*946379e7Schristos# CDPATH. 2729*946379e7Schristos$as_unset CDPATH 2730*946379e7Schristos 2731*946379e7Schristos 2732*946379e7Schristos 2733*946379e7Schristos as_lineno_1=$LINENO 2734*946379e7Schristos as_lineno_2=$LINENO 2735*946379e7Schristos test "x$as_lineno_1" != "x$as_lineno_2" && 2736*946379e7Schristos test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 2737*946379e7Schristos 2738*946379e7Schristos # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 2739*946379e7Schristos # uniformly replaced by the line number. The first 'sed' inserts a 2740*946379e7Schristos # line-number line after each line using $LINENO; the second 'sed' 2741*946379e7Schristos # does the real work. The second script uses 'N' to pair each 2742*946379e7Schristos # line-number line with the line containing $LINENO, and appends 2743*946379e7Schristos # trailing '-' during substitution so that $LINENO is not a special 2744*946379e7Schristos # case at line end. 2745*946379e7Schristos # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 2746*946379e7Schristos # scripts with optimization help from Paolo Bonzini. Blame Lee 2747*946379e7Schristos # E. McMahon (1931-1989) for sed's syntax. :-) 2748*946379e7Schristos sed -n ' 2749*946379e7Schristos p 2750*946379e7Schristos /[$]LINENO/= 2751*946379e7Schristos ' <$as_myself | 2752*946379e7Schristos sed ' 2753*946379e7Schristos s/[$]LINENO.*/&-/ 2754*946379e7Schristos t lineno 2755*946379e7Schristos b 2756*946379e7Schristos :lineno 2757*946379e7Schristos N 2758*946379e7Schristos :loop 2759*946379e7Schristos s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 2760*946379e7Schristos t loop 2761*946379e7Schristos s/-\n.*// 2762*946379e7Schristos ' >$as_me.lineno && 2763*946379e7Schristos chmod +x "$as_me.lineno" || 2764*946379e7Schristos { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 2765*946379e7Schristos { (exit 1); exit 1; }; } 2766*946379e7Schristos 2767*946379e7Schristos # Don't try to exec as it changes $[0], causing all sort of problems 2768*946379e7Schristos # (the dirname of $[0] is not the place where we might find the 2769*946379e7Schristos # original and so on. Autoconf is especially sensitive to this). 2770*946379e7Schristos . "./$as_me.lineno" 2771*946379e7Schristos # Exit status is that of the last command. 2772*946379e7Schristos exit 2773*946379e7Schristos} 2774*946379e7Schristos 2775*946379e7Schristos 2776*946379e7Schristosif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2777*946379e7Schristos as_dirname=dirname 2778*946379e7Schristoselse 2779*946379e7Schristos as_dirname=false 2780*946379e7Schristosfi 2781*946379e7Schristos 2782*946379e7SchristosECHO_C= ECHO_N= ECHO_T= 2783*946379e7Schristoscase `echo -n x` in 2784*946379e7Schristos-n*) 2785*946379e7Schristos case `echo 'x\c'` in 2786*946379e7Schristos *c*) ECHO_T=' ';; # ECHO_T is single tab character. 2787*946379e7Schristos *) ECHO_C='\c';; 2788*946379e7Schristos esac;; 2789*946379e7Schristos*) 2790*946379e7Schristos ECHO_N='-n';; 2791*946379e7Schristosesac 2792*946379e7Schristos 2793*946379e7Schristosif expr a : '\(a\)' >/dev/null 2>&1 && 2794*946379e7Schristos test "X`expr 00001 : '.*\(...\)'`" = X001; then 2795*946379e7Schristos as_expr=expr 2796*946379e7Schristoselse 2797*946379e7Schristos as_expr=false 2798*946379e7Schristosfi 2799*946379e7Schristos 2800*946379e7Schristosrm -f conf$$ conf$$.exe conf$$.file 2801*946379e7Schristosif test -d conf$$.dir; then 2802*946379e7Schristos rm -f conf$$.dir/conf$$.file 2803*946379e7Schristoselse 2804*946379e7Schristos rm -f conf$$.dir 2805*946379e7Schristos mkdir conf$$.dir 2806*946379e7Schristosfi 2807*946379e7Schristosecho >conf$$.file 2808*946379e7Schristosif ln -s conf$$.file conf$$ 2>/dev/null; then 2809*946379e7Schristos as_ln_s='ln -s' 2810*946379e7Schristos # ... but there are two gotchas: 2811*946379e7Schristos # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 2812*946379e7Schristos # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 2813*946379e7Schristos # In both cases, we have to default to `cp -p'. 2814*946379e7Schristos ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 2815*946379e7Schristos as_ln_s='cp -p' 2816*946379e7Schristoselif ln conf$$.file conf$$ 2>/dev/null; then 2817*946379e7Schristos as_ln_s=ln 2818*946379e7Schristoselse 2819*946379e7Schristos as_ln_s='cp -p' 2820*946379e7Schristosfi 2821*946379e7Schristosrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 2822*946379e7Schristosrmdir conf$$.dir 2>/dev/null 2823*946379e7Schristos 2824*946379e7Schristosif mkdir -p . 2>/dev/null; then 2825*946379e7Schristos as_mkdir_p=: 2826*946379e7Schristoselse 2827*946379e7Schristos test -d ./-p && rmdir ./-p 2828*946379e7Schristos as_mkdir_p=false 2829*946379e7Schristosfi 2830*946379e7Schristos 2831*946379e7Schristosif test -x / >/dev/null 2>&1; then 2832*946379e7Schristos as_test_x='test -x' 2833*946379e7Schristoselse 2834*946379e7Schristos if ls -dL / >/dev/null 2>&1; then 2835*946379e7Schristos as_ls_L_option=L 2836*946379e7Schristos else 2837*946379e7Schristos as_ls_L_option= 2838*946379e7Schristos fi 2839*946379e7Schristos as_test_x=' 2840*946379e7Schristos eval sh -c '\'' 2841*946379e7Schristos if test -d "$1"; then 2842*946379e7Schristos test -d "$1/."; 2843*946379e7Schristos else 2844*946379e7Schristos case $1 in 2845*946379e7Schristos -*)set "./$1";; 2846*946379e7Schristos esac; 2847*946379e7Schristos case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 2848*946379e7Schristos ???[sx]*):;;*)false;;esac;fi 2849*946379e7Schristos '\'' sh 2850*946379e7Schristos ' 2851*946379e7Schristosfi 2852*946379e7Schristosas_executable_p=$as_test_x 2853*946379e7Schristos 2854*946379e7Schristos# Sed expression to map a string onto a valid CPP name. 2855*946379e7Schristosas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2856*946379e7Schristos 2857*946379e7Schristos# Sed expression to map a string onto a valid variable name. 2858*946379e7Schristosas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2859*946379e7Schristos 2860*946379e7Schristos 2861*946379e7Schristosexec 6>&1 2862*946379e7Schristos 2863*946379e7Schristos# Save the log message, to keep $[0] and so on meaningful, and to 2864*946379e7Schristos# report actual input values of CONFIG_FILES etc. instead of their 2865*946379e7Schristos# values after options handling. 2866*946379e7Schristosac_log=" 2867*946379e7SchristosThis file was extended by $as_me, which was 2868*946379e7Schristosgenerated by GNU Autoconf 2.61. Invocation command line was 2869*946379e7Schristos 2870*946379e7Schristos CONFIG_FILES = $CONFIG_FILES 2871*946379e7Schristos CONFIG_HEADERS = $CONFIG_HEADERS 2872*946379e7Schristos CONFIG_LINKS = $CONFIG_LINKS 2873*946379e7Schristos CONFIG_COMMANDS = $CONFIG_COMMANDS 2874*946379e7Schristos $ $0 $@ 2875*946379e7Schristos 2876*946379e7Schristoson `(hostname || uname -n) 2>/dev/null | sed 1q` 2877*946379e7Schristos" 2878*946379e7Schristos 2879*946379e7Schristos_ACEOF 2880*946379e7Schristos 2881*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF 2882*946379e7Schristos# Files that config.status was made for. 2883*946379e7Schristosconfig_files="$ac_config_files" 2884*946379e7Schristosconfig_commands="$ac_config_commands" 2885*946379e7Schristos 2886*946379e7Schristos_ACEOF 2887*946379e7Schristos 2888*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF 2889*946379e7Schristosac_cs_usage="\ 2890*946379e7Schristos\`$as_me' instantiates files from templates according to the 2891*946379e7Schristoscurrent configuration. 2892*946379e7Schristos 2893*946379e7SchristosUsage: $0 [OPTIONS] [FILE]... 2894*946379e7Schristos 2895*946379e7Schristos -h, --help print this help, then exit 2896*946379e7Schristos -V, --version print version number and configuration settings, then exit 2897*946379e7Schristos -q, --quiet do not print progress messages 2898*946379e7Schristos -d, --debug don't remove temporary files 2899*946379e7Schristos --recheck update $as_me by reconfiguring in the same conditions 2900*946379e7Schristos --file=FILE[:TEMPLATE] 2901*946379e7Schristos instantiate the configuration file FILE 2902*946379e7Schristos 2903*946379e7SchristosConfiguration files: 2904*946379e7Schristos$config_files 2905*946379e7Schristos 2906*946379e7SchristosConfiguration commands: 2907*946379e7Schristos$config_commands 2908*946379e7Schristos 2909*946379e7SchristosReport bugs to <bug-autoconf@gnu.org>." 2910*946379e7Schristos 2911*946379e7Schristos_ACEOF 2912*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF 2913*946379e7Schristosac_cs_version="\\ 2914*946379e7Schristosconfig.status 2915*946379e7Schristosconfigured by $0, generated by GNU Autoconf 2.61, 2916*946379e7Schristos with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 2917*946379e7Schristos 2918*946379e7SchristosCopyright (C) 2006 Free Software Foundation, Inc. 2919*946379e7SchristosThis config.status script is free software; the Free Software Foundation 2920*946379e7Schristosgives unlimited permission to copy, distribute and modify it." 2921*946379e7Schristos 2922*946379e7Schristosac_pwd='$ac_pwd' 2923*946379e7Schristossrcdir='$srcdir' 2924*946379e7SchristosINSTALL='$INSTALL' 2925*946379e7SchristosMKDIR_P='$MKDIR_P' 2926*946379e7Schristos_ACEOF 2927*946379e7Schristos 2928*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF 2929*946379e7Schristos# If no file are specified by the user, then we need to provide default 2930*946379e7Schristos# value. By we need to know if files were specified by the user. 2931*946379e7Schristosac_need_defaults=: 2932*946379e7Schristoswhile test $# != 0 2933*946379e7Schristosdo 2934*946379e7Schristos case $1 in 2935*946379e7Schristos --*=*) 2936*946379e7Schristos ac_option=`expr "X$1" : 'X\([^=]*\)='` 2937*946379e7Schristos ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2938*946379e7Schristos ac_shift=: 2939*946379e7Schristos ;; 2940*946379e7Schristos *) 2941*946379e7Schristos ac_option=$1 2942*946379e7Schristos ac_optarg=$2 2943*946379e7Schristos ac_shift=shift 2944*946379e7Schristos ;; 2945*946379e7Schristos esac 2946*946379e7Schristos 2947*946379e7Schristos case $ac_option in 2948*946379e7Schristos # Handling of the options. 2949*946379e7Schristos -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2950*946379e7Schristos ac_cs_recheck=: ;; 2951*946379e7Schristos --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 2952*946379e7Schristos echo "$ac_cs_version"; exit ;; 2953*946379e7Schristos --debug | --debu | --deb | --de | --d | -d ) 2954*946379e7Schristos debug=: ;; 2955*946379e7Schristos --file | --fil | --fi | --f ) 2956*946379e7Schristos $ac_shift 2957*946379e7Schristos CONFIG_FILES="$CONFIG_FILES $ac_optarg" 2958*946379e7Schristos ac_need_defaults=false;; 2959*946379e7Schristos --he | --h | --help | --hel | -h ) 2960*946379e7Schristos echo "$ac_cs_usage"; exit ;; 2961*946379e7Schristos -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2962*946379e7Schristos | -silent | --silent | --silen | --sile | --sil | --si | --s) 2963*946379e7Schristos ac_cs_silent=: ;; 2964*946379e7Schristos 2965*946379e7Schristos # This is an error. 2966*946379e7Schristos -*) { echo "$as_me: error: unrecognized option: $1 2967*946379e7SchristosTry \`$0 --help' for more information." >&2 2968*946379e7Schristos { (exit 1); exit 1; }; } ;; 2969*946379e7Schristos 2970*946379e7Schristos *) ac_config_targets="$ac_config_targets $1" 2971*946379e7Schristos ac_need_defaults=false ;; 2972*946379e7Schristos 2973*946379e7Schristos esac 2974*946379e7Schristos shift 2975*946379e7Schristosdone 2976*946379e7Schristos 2977*946379e7Schristosac_configure_extra_args= 2978*946379e7Schristos 2979*946379e7Schristosif $ac_cs_silent; then 2980*946379e7Schristos exec 6>/dev/null 2981*946379e7Schristos ac_configure_extra_args="$ac_configure_extra_args --silent" 2982*946379e7Schristosfi 2983*946379e7Schristos 2984*946379e7Schristos_ACEOF 2985*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF 2986*946379e7Schristosif \$ac_cs_recheck; then 2987*946379e7Schristos echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 2988*946379e7Schristos CONFIG_SHELL=$SHELL 2989*946379e7Schristos export CONFIG_SHELL 2990*946379e7Schristos exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 2991*946379e7Schristosfi 2992*946379e7Schristos 2993*946379e7Schristos_ACEOF 2994*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF 2995*946379e7Schristosexec 5>>config.log 2996*946379e7Schristos{ 2997*946379e7Schristos echo 2998*946379e7Schristos sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 2999*946379e7Schristos## Running $as_me. ## 3000*946379e7Schristos_ASBOX 3001*946379e7Schristos echo "$ac_log" 3002*946379e7Schristos} >&5 3003*946379e7Schristos 3004*946379e7Schristos_ACEOF 3005*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF 3006*946379e7Schristos# 3007*946379e7Schristos# INIT-COMMANDS 3008*946379e7Schristos# 3009*946379e7Schristos# Capture the value of obsolete ALL_LINGUAS because we need it to compute 3010*946379e7Schristos # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 3011*946379e7Schristos # from automake < 1.5. 3012*946379e7Schristos eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 3013*946379e7Schristos # Capture the value of LINGUAS because we need it to compute CATALOGS. 3014*946379e7Schristos LINGUAS="${LINGUAS-%UNSET%}" 3015*946379e7Schristos 3016*946379e7Schristos 3017*946379e7Schristos_ACEOF 3018*946379e7Schristos 3019*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF 3020*946379e7Schristos 3021*946379e7Schristos# Handling of arguments. 3022*946379e7Schristosfor ac_config_target in $ac_config_targets 3023*946379e7Schristosdo 3024*946379e7Schristos case $ac_config_target in 3025*946379e7Schristos "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 3026*946379e7Schristos "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3027*946379e7Schristos "installpaths") CONFIG_FILES="$CONFIG_FILES installpaths" ;; 3028*946379e7Schristos "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; 3029*946379e7Schristos 3030*946379e7Schristos *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3031*946379e7Schristosecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 3032*946379e7Schristos { (exit 1); exit 1; }; };; 3033*946379e7Schristos esac 3034*946379e7Schristosdone 3035*946379e7Schristos 3036*946379e7Schristos 3037*946379e7Schristos# If the user did not use the arguments to specify the items to instantiate, 3038*946379e7Schristos# then the envvar interface is used. Set only those that are not. 3039*946379e7Schristos# We use the long form for the default assignment because of an extremely 3040*946379e7Schristos# bizarre bug on SunOS 4.1.3. 3041*946379e7Schristosif $ac_need_defaults; then 3042*946379e7Schristos test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3043*946379e7Schristos test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 3044*946379e7Schristosfi 3045*946379e7Schristos 3046*946379e7Schristos# Have a temporary directory for convenience. Make it in the build tree 3047*946379e7Schristos# simply because there is no reason against having it here, and in addition, 3048*946379e7Schristos# creating and moving files from /tmp can sometimes cause problems. 3049*946379e7Schristos# Hook for its removal unless debugging. 3050*946379e7Schristos# Note that there is a small window in which the directory will not be cleaned: 3051*946379e7Schristos# after its creation but before its name has been assigned to `$tmp'. 3052*946379e7Schristos$debug || 3053*946379e7Schristos{ 3054*946379e7Schristos tmp= 3055*946379e7Schristos trap 'exit_status=$? 3056*946379e7Schristos { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 3057*946379e7Schristos' 0 3058*946379e7Schristos trap '{ (exit 1); exit 1; }' 1 2 13 15 3059*946379e7Schristos} 3060*946379e7Schristos# Create a (secure) tmp directory for tmp files. 3061*946379e7Schristos 3062*946379e7Schristos{ 3063*946379e7Schristos tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3064*946379e7Schristos test -n "$tmp" && test -d "$tmp" 3065*946379e7Schristos} || 3066*946379e7Schristos{ 3067*946379e7Schristos tmp=./conf$$-$RANDOM 3068*946379e7Schristos (umask 077 && mkdir "$tmp") 3069*946379e7Schristos} || 3070*946379e7Schristos{ 3071*946379e7Schristos echo "$me: cannot create a temporary directory in ." >&2 3072*946379e7Schristos { (exit 1); exit 1; } 3073*946379e7Schristos} 3074*946379e7Schristos 3075*946379e7Schristos# 3076*946379e7Schristos# Set up the sed scripts for CONFIG_FILES section. 3077*946379e7Schristos# 3078*946379e7Schristos 3079*946379e7Schristos# No need to generate the scripts if there are no CONFIG_FILES. 3080*946379e7Schristos# This happens for instance when ./config.status config.h 3081*946379e7Schristosif test -n "$CONFIG_FILES"; then 3082*946379e7Schristos 3083*946379e7Schristos_ACEOF 3084*946379e7Schristos 3085*946379e7Schristos 3086*946379e7Schristos 3087*946379e7Schristosac_delim='%!_!# ' 3088*946379e7Schristosfor ac_last_try in false false false false false :; do 3089*946379e7Schristos cat >conf$$subs.sed <<_ACEOF 3090*946379e7SchristosSHELL!$SHELL$ac_delim 3091*946379e7SchristosPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 3092*946379e7SchristosPACKAGE_NAME!$PACKAGE_NAME$ac_delim 3093*946379e7SchristosPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 3094*946379e7SchristosPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 3095*946379e7SchristosPACKAGE_STRING!$PACKAGE_STRING$ac_delim 3096*946379e7SchristosPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 3097*946379e7Schristosexec_prefix!$exec_prefix$ac_delim 3098*946379e7Schristosprefix!$prefix$ac_delim 3099*946379e7Schristosprogram_transform_name!$program_transform_name$ac_delim 3100*946379e7Schristosbindir!$bindir$ac_delim 3101*946379e7Schristossbindir!$sbindir$ac_delim 3102*946379e7Schristoslibexecdir!$libexecdir$ac_delim 3103*946379e7Schristosdatarootdir!$datarootdir$ac_delim 3104*946379e7Schristosdatadir!$datadir$ac_delim 3105*946379e7Schristossysconfdir!$sysconfdir$ac_delim 3106*946379e7Schristossharedstatedir!$sharedstatedir$ac_delim 3107*946379e7Schristoslocalstatedir!$localstatedir$ac_delim 3108*946379e7Schristosincludedir!$includedir$ac_delim 3109*946379e7Schristosoldincludedir!$oldincludedir$ac_delim 3110*946379e7Schristosdocdir!$docdir$ac_delim 3111*946379e7Schristosinfodir!$infodir$ac_delim 3112*946379e7Schristoshtmldir!$htmldir$ac_delim 3113*946379e7Schristosdvidir!$dvidir$ac_delim 3114*946379e7Schristospdfdir!$pdfdir$ac_delim 3115*946379e7Schristospsdir!$psdir$ac_delim 3116*946379e7Schristoslibdir!$libdir$ac_delim 3117*946379e7Schristoslocaledir!$localedir$ac_delim 3118*946379e7Schristosmandir!$mandir$ac_delim 3119*946379e7SchristosDEFS!$DEFS$ac_delim 3120*946379e7SchristosECHO_C!$ECHO_C$ac_delim 3121*946379e7SchristosECHO_N!$ECHO_N$ac_delim 3122*946379e7SchristosECHO_T!$ECHO_T$ac_delim 3123*946379e7SchristosLIBS!$LIBS$ac_delim 3124*946379e7Schristosbuild_alias!$build_alias$ac_delim 3125*946379e7Schristoshost_alias!$host_alias$ac_delim 3126*946379e7Schristostarget_alias!$target_alias$ac_delim 3127*946379e7SchristosINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 3128*946379e7SchristosINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 3129*946379e7SchristosINSTALL_DATA!$INSTALL_DATA$ac_delim 3130*946379e7Schristosam__isrc!$am__isrc$ac_delim 3131*946379e7SchristosCYGPATH_W!$CYGPATH_W$ac_delim 3132*946379e7SchristosPACKAGE!$PACKAGE$ac_delim 3133*946379e7SchristosVERSION!$VERSION$ac_delim 3134*946379e7SchristosACLOCAL!$ACLOCAL$ac_delim 3135*946379e7SchristosAUTOCONF!$AUTOCONF$ac_delim 3136*946379e7SchristosAUTOMAKE!$AUTOMAKE$ac_delim 3137*946379e7SchristosAUTOHEADER!$AUTOHEADER$ac_delim 3138*946379e7SchristosMAKEINFO!$MAKEINFO$ac_delim 3139*946379e7Schristosinstall_sh!$install_sh$ac_delim 3140*946379e7SchristosSTRIP!$STRIP$ac_delim 3141*946379e7SchristosINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 3142*946379e7Schristosmkdir_p!$mkdir_p$ac_delim 3143*946379e7SchristosAWK!$AWK$ac_delim 3144*946379e7SchristosSET_MAKE!$SET_MAKE$ac_delim 3145*946379e7Schristosam__leading_dot!$am__leading_dot$ac_delim 3146*946379e7SchristosAMTAR!$AMTAR$ac_delim 3147*946379e7Schristosam__tar!$am__tar$ac_delim 3148*946379e7Schristosam__untar!$am__untar$ac_delim 3149*946379e7SchristosUSE_NLS!$USE_NLS$ac_delim 3150*946379e7SchristosMSGFMT!$MSGFMT$ac_delim 3151*946379e7SchristosGMSGFMT!$GMSGFMT$ac_delim 3152*946379e7SchristosMSGFMT_015!$MSGFMT_015$ac_delim 3153*946379e7SchristosGMSGFMT_015!$GMSGFMT_015$ac_delim 3154*946379e7SchristosXGETTEXT!$XGETTEXT$ac_delim 3155*946379e7SchristosXGETTEXT_015!$XGETTEXT_015$ac_delim 3156*946379e7SchristosMSGMERGE!$MSGMERGE$ac_delim 3157*946379e7Schristosaclocaldir!$aclocaldir$ac_delim 3158*946379e7SchristosLIBOBJS!$LIBOBJS$ac_delim 3159*946379e7SchristosLTLIBOBJS!$LTLIBOBJS$ac_delim 3160*946379e7Schristos_ACEOF 3161*946379e7Schristos 3162*946379e7Schristos if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 70; then 3163*946379e7Schristos break 3164*946379e7Schristos elif $ac_last_try; then 3165*946379e7Schristos { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 3166*946379e7Schristosecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 3167*946379e7Schristos { (exit 1); exit 1; }; } 3168*946379e7Schristos else 3169*946379e7Schristos ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3170*946379e7Schristos fi 3171*946379e7Schristosdone 3172*946379e7Schristos 3173*946379e7Schristosac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 3174*946379e7Schristosif test -n "$ac_eof"; then 3175*946379e7Schristos ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 3176*946379e7Schristos ac_eof=`expr $ac_eof + 1` 3177*946379e7Schristosfi 3178*946379e7Schristos 3179*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF 3180*946379e7Schristoscat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 3181*946379e7Schristos/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 3182*946379e7Schristos_ACEOF 3183*946379e7Schristossed ' 3184*946379e7Schristoss/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 3185*946379e7Schristoss/^/s,@/; s/!/@,|#_!!_#|/ 3186*946379e7Schristos:n 3187*946379e7Schristost n 3188*946379e7Schristoss/'"$ac_delim"'$/,g/; t 3189*946379e7Schristoss/$/\\/; p 3190*946379e7SchristosN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 3191*946379e7Schristos' >>$CONFIG_STATUS <conf$$subs.sed 3192*946379e7Schristosrm -f conf$$subs.sed 3193*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF 3194*946379e7Schristos:end 3195*946379e7Schristoss/|#_!!_#|//g 3196*946379e7SchristosCEOF$ac_eof 3197*946379e7Schristos_ACEOF 3198*946379e7Schristos 3199*946379e7Schristos 3200*946379e7Schristos# VPATH may cause trouble with some makes, so we remove $(srcdir), 3201*946379e7Schristos# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3202*946379e7Schristos# trailing colons and then remove the whole line if VPATH becomes empty 3203*946379e7Schristos# (actually we leave an empty line to preserve line numbers). 3204*946379e7Schristosif test "x$srcdir" = x.; then 3205*946379e7Schristos ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3206*946379e7Schristoss/:*\$(srcdir):*/:/ 3207*946379e7Schristoss/:*\${srcdir}:*/:/ 3208*946379e7Schristoss/:*@srcdir@:*/:/ 3209*946379e7Schristoss/^\([^=]*=[ ]*\):*/\1/ 3210*946379e7Schristoss/:*$// 3211*946379e7Schristoss/^[^=]*=[ ]*$// 3212*946379e7Schristos}' 3213*946379e7Schristosfi 3214*946379e7Schristos 3215*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF 3216*946379e7Schristosfi # test -n "$CONFIG_FILES" 3217*946379e7Schristos 3218*946379e7Schristos 3219*946379e7Schristosfor ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS 3220*946379e7Schristosdo 3221*946379e7Schristos case $ac_tag in 3222*946379e7Schristos :[FHLC]) ac_mode=$ac_tag; continue;; 3223*946379e7Schristos esac 3224*946379e7Schristos case $ac_mode$ac_tag in 3225*946379e7Schristos :[FHL]*:*);; 3226*946379e7Schristos :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 3227*946379e7Schristosecho "$as_me: error: Invalid tag $ac_tag." >&2;} 3228*946379e7Schristos { (exit 1); exit 1; }; };; 3229*946379e7Schristos :[FH]-) ac_tag=-:-;; 3230*946379e7Schristos :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3231*946379e7Schristos esac 3232*946379e7Schristos ac_save_IFS=$IFS 3233*946379e7Schristos IFS=: 3234*946379e7Schristos set x $ac_tag 3235*946379e7Schristos IFS=$ac_save_IFS 3236*946379e7Schristos shift 3237*946379e7Schristos ac_file=$1 3238*946379e7Schristos shift 3239*946379e7Schristos 3240*946379e7Schristos case $ac_mode in 3241*946379e7Schristos :L) ac_source=$1;; 3242*946379e7Schristos :[FH]) 3243*946379e7Schristos ac_file_inputs= 3244*946379e7Schristos for ac_f 3245*946379e7Schristos do 3246*946379e7Schristos case $ac_f in 3247*946379e7Schristos -) ac_f="$tmp/stdin";; 3248*946379e7Schristos *) # Look for the file first in the build tree, then in the source tree 3249*946379e7Schristos # (if the path is not absolute). The absolute path cannot be DOS-style, 3250*946379e7Schristos # because $ac_f cannot contain `:'. 3251*946379e7Schristos test -f "$ac_f" || 3252*946379e7Schristos case $ac_f in 3253*946379e7Schristos [\\/$]*) false;; 3254*946379e7Schristos *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3255*946379e7Schristos esac || 3256*946379e7Schristos { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 3257*946379e7Schristosecho "$as_me: error: cannot find input file: $ac_f" >&2;} 3258*946379e7Schristos { (exit 1); exit 1; }; };; 3259*946379e7Schristos esac 3260*946379e7Schristos ac_file_inputs="$ac_file_inputs $ac_f" 3261*946379e7Schristos done 3262*946379e7Schristos 3263*946379e7Schristos # Let's still pretend it is `configure' which instantiates (i.e., don't 3264*946379e7Schristos # use $as_me), people would be surprised to read: 3265*946379e7Schristos # /* config.h. Generated by config.status. */ 3266*946379e7Schristos configure_input="Generated from "`IFS=: 3267*946379e7Schristos echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 3268*946379e7Schristos if test x"$ac_file" != x-; then 3269*946379e7Schristos configure_input="$ac_file. $configure_input" 3270*946379e7Schristos { echo "$as_me:$LINENO: creating $ac_file" >&5 3271*946379e7Schristosecho "$as_me: creating $ac_file" >&6;} 3272*946379e7Schristos fi 3273*946379e7Schristos 3274*946379e7Schristos case $ac_tag in 3275*946379e7Schristos *:-:* | *:-) cat >"$tmp/stdin";; 3276*946379e7Schristos esac 3277*946379e7Schristos ;; 3278*946379e7Schristos esac 3279*946379e7Schristos 3280*946379e7Schristos ac_dir=`$as_dirname -- "$ac_file" || 3281*946379e7Schristos$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3282*946379e7Schristos X"$ac_file" : 'X\(//\)[^/]' \| \ 3283*946379e7Schristos X"$ac_file" : 'X\(//\)$' \| \ 3284*946379e7Schristos X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3285*946379e7Schristosecho X"$ac_file" | 3286*946379e7Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3287*946379e7Schristos s//\1/ 3288*946379e7Schristos q 3289*946379e7Schristos } 3290*946379e7Schristos /^X\(\/\/\)[^/].*/{ 3291*946379e7Schristos s//\1/ 3292*946379e7Schristos q 3293*946379e7Schristos } 3294*946379e7Schristos /^X\(\/\/\)$/{ 3295*946379e7Schristos s//\1/ 3296*946379e7Schristos q 3297*946379e7Schristos } 3298*946379e7Schristos /^X\(\/\).*/{ 3299*946379e7Schristos s//\1/ 3300*946379e7Schristos q 3301*946379e7Schristos } 3302*946379e7Schristos s/.*/./; q'` 3303*946379e7Schristos { as_dir="$ac_dir" 3304*946379e7Schristos case $as_dir in #( 3305*946379e7Schristos -*) as_dir=./$as_dir;; 3306*946379e7Schristos esac 3307*946379e7Schristos test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 3308*946379e7Schristos as_dirs= 3309*946379e7Schristos while :; do 3310*946379e7Schristos case $as_dir in #( 3311*946379e7Schristos *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 3312*946379e7Schristos *) as_qdir=$as_dir;; 3313*946379e7Schristos esac 3314*946379e7Schristos as_dirs="'$as_qdir' $as_dirs" 3315*946379e7Schristos as_dir=`$as_dirname -- "$as_dir" || 3316*946379e7Schristos$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3317*946379e7Schristos X"$as_dir" : 'X\(//\)[^/]' \| \ 3318*946379e7Schristos X"$as_dir" : 'X\(//\)$' \| \ 3319*946379e7Schristos X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3320*946379e7Schristosecho X"$as_dir" | 3321*946379e7Schristos sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3322*946379e7Schristos s//\1/ 3323*946379e7Schristos q 3324*946379e7Schristos } 3325*946379e7Schristos /^X\(\/\/\)[^/].*/{ 3326*946379e7Schristos s//\1/ 3327*946379e7Schristos q 3328*946379e7Schristos } 3329*946379e7Schristos /^X\(\/\/\)$/{ 3330*946379e7Schristos s//\1/ 3331*946379e7Schristos q 3332*946379e7Schristos } 3333*946379e7Schristos /^X\(\/\).*/{ 3334*946379e7Schristos s//\1/ 3335*946379e7Schristos q 3336*946379e7Schristos } 3337*946379e7Schristos s/.*/./; q'` 3338*946379e7Schristos test -d "$as_dir" && break 3339*946379e7Schristos done 3340*946379e7Schristos test -z "$as_dirs" || eval "mkdir $as_dirs" 3341*946379e7Schristos } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 3342*946379e7Schristosecho "$as_me: error: cannot create directory $as_dir" >&2;} 3343*946379e7Schristos { (exit 1); exit 1; }; }; } 3344*946379e7Schristos ac_builddir=. 3345*946379e7Schristos 3346*946379e7Schristoscase "$ac_dir" in 3347*946379e7Schristos.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 3348*946379e7Schristos*) 3349*946379e7Schristos ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3350*946379e7Schristos # A ".." for each directory in $ac_dir_suffix. 3351*946379e7Schristos ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 3352*946379e7Schristos case $ac_top_builddir_sub in 3353*946379e7Schristos "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 3354*946379e7Schristos *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 3355*946379e7Schristos esac ;; 3356*946379e7Schristosesac 3357*946379e7Schristosac_abs_top_builddir=$ac_pwd 3358*946379e7Schristosac_abs_builddir=$ac_pwd$ac_dir_suffix 3359*946379e7Schristos# for backward compatibility: 3360*946379e7Schristosac_top_builddir=$ac_top_build_prefix 3361*946379e7Schristos 3362*946379e7Schristoscase $srcdir in 3363*946379e7Schristos .) # We are building in place. 3364*946379e7Schristos ac_srcdir=. 3365*946379e7Schristos ac_top_srcdir=$ac_top_builddir_sub 3366*946379e7Schristos ac_abs_top_srcdir=$ac_pwd ;; 3367*946379e7Schristos [\\/]* | ?:[\\/]* ) # Absolute name. 3368*946379e7Schristos ac_srcdir=$srcdir$ac_dir_suffix; 3369*946379e7Schristos ac_top_srcdir=$srcdir 3370*946379e7Schristos ac_abs_top_srcdir=$srcdir ;; 3371*946379e7Schristos *) # Relative name. 3372*946379e7Schristos ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 3373*946379e7Schristos ac_top_srcdir=$ac_top_build_prefix$srcdir 3374*946379e7Schristos ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 3375*946379e7Schristosesac 3376*946379e7Schristosac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 3377*946379e7Schristos 3378*946379e7Schristos 3379*946379e7Schristos case $ac_mode in 3380*946379e7Schristos :F) 3381*946379e7Schristos # 3382*946379e7Schristos # CONFIG_FILE 3383*946379e7Schristos # 3384*946379e7Schristos 3385*946379e7Schristos case $INSTALL in 3386*946379e7Schristos [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3387*946379e7Schristos *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 3388*946379e7Schristos esac 3389*946379e7Schristos ac_MKDIR_P=$MKDIR_P 3390*946379e7Schristos case $MKDIR_P in 3391*946379e7Schristos [\\/$]* | ?:[\\/]* ) ;; 3392*946379e7Schristos */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 3393*946379e7Schristos esac 3394*946379e7Schristos_ACEOF 3395*946379e7Schristos 3396*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF 3397*946379e7Schristos# If the template does not know about datarootdir, expand it. 3398*946379e7Schristos# FIXME: This hack should be removed a few years after 2.60. 3399*946379e7Schristosac_datarootdir_hack=; ac_datarootdir_seen= 3400*946379e7Schristos 3401*946379e7Schristoscase `sed -n '/datarootdir/ { 3402*946379e7Schristos p 3403*946379e7Schristos q 3404*946379e7Schristos} 3405*946379e7Schristos/@datadir@/p 3406*946379e7Schristos/@docdir@/p 3407*946379e7Schristos/@infodir@/p 3408*946379e7Schristos/@localedir@/p 3409*946379e7Schristos/@mandir@/p 3410*946379e7Schristos' $ac_file_inputs` in 3411*946379e7Schristos*datarootdir*) ac_datarootdir_seen=yes;; 3412*946379e7Schristos*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 3413*946379e7Schristos { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 3414*946379e7Schristosecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 3415*946379e7Schristos_ACEOF 3416*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF 3417*946379e7Schristos ac_datarootdir_hack=' 3418*946379e7Schristos s&@datadir@&$datadir&g 3419*946379e7Schristos s&@docdir@&$docdir&g 3420*946379e7Schristos s&@infodir@&$infodir&g 3421*946379e7Schristos s&@localedir@&$localedir&g 3422*946379e7Schristos s&@mandir@&$mandir&g 3423*946379e7Schristos s&\\\${datarootdir}&$datarootdir&g' ;; 3424*946379e7Schristosesac 3425*946379e7Schristos_ACEOF 3426*946379e7Schristos 3427*946379e7Schristos# Neutralize VPATH when `$srcdir' = `.'. 3428*946379e7Schristos# Shell code in configure.ac might set extrasub. 3429*946379e7Schristos# FIXME: do we really want to maintain this feature? 3430*946379e7Schristoscat >>$CONFIG_STATUS <<_ACEOF 3431*946379e7Schristos sed "$ac_vpsub 3432*946379e7Schristos$extrasub 3433*946379e7Schristos_ACEOF 3434*946379e7Schristoscat >>$CONFIG_STATUS <<\_ACEOF 3435*946379e7Schristos:t 3436*946379e7Schristos/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3437*946379e7Schristoss&@configure_input@&$configure_input&;t t 3438*946379e7Schristoss&@top_builddir@&$ac_top_builddir_sub&;t t 3439*946379e7Schristoss&@srcdir@&$ac_srcdir&;t t 3440*946379e7Schristoss&@abs_srcdir@&$ac_abs_srcdir&;t t 3441*946379e7Schristoss&@top_srcdir@&$ac_top_srcdir&;t t 3442*946379e7Schristoss&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 3443*946379e7Schristoss&@builddir@&$ac_builddir&;t t 3444*946379e7Schristoss&@abs_builddir@&$ac_abs_builddir&;t t 3445*946379e7Schristoss&@abs_top_builddir@&$ac_abs_top_builddir&;t t 3446*946379e7Schristoss&@INSTALL@&$ac_INSTALL&;t t 3447*946379e7Schristoss&@MKDIR_P@&$ac_MKDIR_P&;t t 3448*946379e7Schristos$ac_datarootdir_hack 3449*946379e7Schristos" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 3450*946379e7Schristos 3451*946379e7Schristostest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 3452*946379e7Schristos { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 3453*946379e7Schristos { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 3454*946379e7Schristos { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3455*946379e7Schristoswhich seems to be undefined. Please make sure it is defined." >&5 3456*946379e7Schristosecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3457*946379e7Schristoswhich seems to be undefined. Please make sure it is defined." >&2;} 3458*946379e7Schristos 3459*946379e7Schristos rm -f "$tmp/stdin" 3460*946379e7Schristos case $ac_file in 3461*946379e7Schristos -) cat "$tmp/out"; rm -f "$tmp/out";; 3462*946379e7Schristos *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 3463*946379e7Schristos esac 3464*946379e7Schristos ;; 3465*946379e7Schristos 3466*946379e7Schristos 3467*946379e7Schristos :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 3468*946379e7Schristosecho "$as_me: executing $ac_file commands" >&6;} 3469*946379e7Schristos ;; 3470*946379e7Schristos esac 3471*946379e7Schristos 3472*946379e7Schristos 3473*946379e7Schristos case $ac_file$ac_mode in 3474*946379e7Schristos "po-directories":C) 3475*946379e7Schristos for ac_file in $CONFIG_FILES; do 3476*946379e7Schristos # Support "outfile[:infile[:infile...]]" 3477*946379e7Schristos case "$ac_file" in 3478*946379e7Schristos *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 3479*946379e7Schristos esac 3480*946379e7Schristos # PO directories have a Makefile.in generated from Makefile.in.in. 3481*946379e7Schristos case "$ac_file" in */Makefile.in) 3482*946379e7Schristos # Adjust a relative srcdir. 3483*946379e7Schristos ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 3484*946379e7Schristos ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 3485*946379e7Schristos ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 3486*946379e7Schristos # In autoconf-2.13 it is called $ac_given_srcdir. 3487*946379e7Schristos # In autoconf-2.50 it is called $srcdir. 3488*946379e7Schristos test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 3489*946379e7Schristos case "$ac_given_srcdir" in 3490*946379e7Schristos .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 3491*946379e7Schristos /*) top_srcdir="$ac_given_srcdir" ;; 3492*946379e7Schristos *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 3493*946379e7Schristos esac 3494*946379e7Schristos # Treat a directory as a PO directory if and only if it has a 3495*946379e7Schristos # POTFILES.in file. This allows packages to have multiple PO 3496*946379e7Schristos # directories under different names or in different locations. 3497*946379e7Schristos if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 3498*946379e7Schristos rm -f "$ac_dir/POTFILES" 3499*946379e7Schristos test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 3500*946379e7Schristos cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 3501*946379e7Schristos POMAKEFILEDEPS="POTFILES.in" 3502*946379e7Schristos # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 3503*946379e7Schristos # on $ac_dir but don't depend on user-specified configuration 3504*946379e7Schristos # parameters. 3505*946379e7Schristos if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 3506*946379e7Schristos # The LINGUAS file contains the set of available languages. 3507*946379e7Schristos if test -n "$OBSOLETE_ALL_LINGUAS"; then 3508*946379e7Schristos test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 3509*946379e7Schristos fi 3510*946379e7Schristos ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 3511*946379e7Schristos # Hide the ALL_LINGUAS assigment from automake < 1.5. 3512*946379e7Schristos eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 3513*946379e7Schristos POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 3514*946379e7Schristos else 3515*946379e7Schristos # The set of available languages was given in configure.in. 3516*946379e7Schristos # Hide the ALL_LINGUAS assigment from automake < 1.5. 3517*946379e7Schristos eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 3518*946379e7Schristos fi 3519*946379e7Schristos # Compute POFILES 3520*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 3521*946379e7Schristos # Compute UPDATEPOFILES 3522*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 3523*946379e7Schristos # Compute DUMMYPOFILES 3524*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 3525*946379e7Schristos # Compute GMOFILES 3526*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 3527*946379e7Schristos case "$ac_given_srcdir" in 3528*946379e7Schristos .) srcdirpre= ;; 3529*946379e7Schristos *) srcdirpre='$(srcdir)/' ;; 3530*946379e7Schristos esac 3531*946379e7Schristos POFILES= 3532*946379e7Schristos UPDATEPOFILES= 3533*946379e7Schristos DUMMYPOFILES= 3534*946379e7Schristos GMOFILES= 3535*946379e7Schristos for lang in $ALL_LINGUAS; do 3536*946379e7Schristos POFILES="$POFILES $srcdirpre$lang.po" 3537*946379e7Schristos UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 3538*946379e7Schristos DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 3539*946379e7Schristos GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 3540*946379e7Schristos done 3541*946379e7Schristos # CATALOGS depends on both $ac_dir and the user's LINGUAS 3542*946379e7Schristos # environment variable. 3543*946379e7Schristos INST_LINGUAS= 3544*946379e7Schristos if test -n "$ALL_LINGUAS"; then 3545*946379e7Schristos for presentlang in $ALL_LINGUAS; do 3546*946379e7Schristos useit=no 3547*946379e7Schristos if test "%UNSET%" != "$LINGUAS"; then 3548*946379e7Schristos desiredlanguages="$LINGUAS" 3549*946379e7Schristos else 3550*946379e7Schristos desiredlanguages="$ALL_LINGUAS" 3551*946379e7Schristos fi 3552*946379e7Schristos for desiredlang in $desiredlanguages; do 3553*946379e7Schristos # Use the presentlang catalog if desiredlang is 3554*946379e7Schristos # a. equal to presentlang, or 3555*946379e7Schristos # b. a variant of presentlang (because in this case, 3556*946379e7Schristos # presentlang can be used as a fallback for messages 3557*946379e7Schristos # which are not translated in the desiredlang catalog). 3558*946379e7Schristos case "$desiredlang" in 3559*946379e7Schristos "$presentlang"*) useit=yes;; 3560*946379e7Schristos esac 3561*946379e7Schristos done 3562*946379e7Schristos if test $useit = yes; then 3563*946379e7Schristos INST_LINGUAS="$INST_LINGUAS $presentlang" 3564*946379e7Schristos fi 3565*946379e7Schristos done 3566*946379e7Schristos fi 3567*946379e7Schristos CATALOGS= 3568*946379e7Schristos if test -n "$INST_LINGUAS"; then 3569*946379e7Schristos for lang in $INST_LINGUAS; do 3570*946379e7Schristos CATALOGS="$CATALOGS $lang.gmo" 3571*946379e7Schristos done 3572*946379e7Schristos fi 3573*946379e7Schristos test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 3574*946379e7Schristos sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 3575*946379e7Schristos for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 3576*946379e7Schristos if test -f "$f"; then 3577*946379e7Schristos case "$f" in 3578*946379e7Schristos *.orig | *.bak | *~) ;; 3579*946379e7Schristos *) cat "$f" >> "$ac_dir/Makefile" ;; 3580*946379e7Schristos esac 3581*946379e7Schristos fi 3582*946379e7Schristos done 3583*946379e7Schristos fi 3584*946379e7Schristos ;; 3585*946379e7Schristos esac 3586*946379e7Schristos done ;; 3587*946379e7Schristos "Makefile":F) 3588*946379e7Schristos sed_script='/mkdir \$(distdir)$/{a\ 3589*946379e7Schristos\ $(MAKE) distdir1 3590*946379e7Schristos}' 3591*946379e7Schristos sed -e "$sed_script" < $ac_file > $ac_file.tmp 3592*946379e7Schristos mv $ac_file.tmp $ac_file 3593*946379e7Schristos ;; 3594*946379e7Schristos "po/Makefile":F) 3595*946379e7Schristos # When this code is run, in config.status, two variables have already been 3596*946379e7Schristos # set: 3597*946379e7Schristos # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, 3598*946379e7Schristos # - LINGUAS is the value of the environment variable LINGUAS at configure 3599*946379e7Schristos # time. 3600*946379e7Schristos 3601*946379e7Schristos # Adjust a relative srcdir. 3602*946379e7Schristos ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 3603*946379e7Schristos ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 3604*946379e7Schristos ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 3605*946379e7Schristos # In autoconf-2.13 it is called $ac_given_srcdir. 3606*946379e7Schristos # In autoconf-2.50 it is called $srcdir. 3607*946379e7Schristos test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 3608*946379e7Schristos case "$ac_given_srcdir" in 3609*946379e7Schristos .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 3610*946379e7Schristos /*) top_srcdir="$ac_given_srcdir" ;; 3611*946379e7Schristos *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 3612*946379e7Schristos esac 3613*946379e7Schristos 3614*946379e7Schristos # Find a way to echo strings without interpreting backslash. 3615*946379e7Schristos if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then 3616*946379e7Schristos gt_echo='echo' 3617*946379e7Schristos else 3618*946379e7Schristos if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then 3619*946379e7Schristos gt_echo='printf %s\n' 3620*946379e7Schristos else 3621*946379e7Schristos echo_func () { 3622*946379e7Schristos cat <<EOT 3623*946379e7Schristos 3624*946379e7SchristosEOT 3625*946379e7Schristos } 3626*946379e7Schristos gt_echo='echo_func' 3627*946379e7Schristos fi 3628*946379e7Schristos fi 3629*946379e7Schristos 3630*946379e7Schristos # A sed script that extracts the value of VARIABLE from a Makefile. 3631*946379e7Schristos sed_x_variable=' 3632*946379e7Schristos# Test if the hold space is empty. 3633*946379e7Schristosx 3634*946379e7Schristoss/P/P/ 3635*946379e7Schristosx 3636*946379e7Schristosta 3637*946379e7Schristos# Yes it was empty. Look if we have the expected variable definition. 3638*946379e7Schristos/^[ ]*VARIABLE[ ]*=/{ 3639*946379e7Schristos # Seen the first line of the variable definition. 3640*946379e7Schristos s/^[ ]*VARIABLE[ ]*=// 3641*946379e7Schristos ba 3642*946379e7Schristos} 3643*946379e7Schristosbd 3644*946379e7Schristos:a 3645*946379e7Schristos# Here we are processing a line from the variable definition. 3646*946379e7Schristos# Remove comment, more precisely replace it with a space. 3647*946379e7Schristoss/#.*$/ / 3648*946379e7Schristos# See if the line ends in a backslash. 3649*946379e7Schristostb 3650*946379e7Schristos:b 3651*946379e7Schristoss/\\$// 3652*946379e7Schristos# Print the line, without the trailing backslash. 3653*946379e7Schristosp 3654*946379e7Schristostc 3655*946379e7Schristos# There was no trailing backslash. The end of the variable definition is 3656*946379e7Schristos# reached. Clear the hold space. 3657*946379e7Schristoss/^.*$// 3658*946379e7Schristosx 3659*946379e7Schristosbd 3660*946379e7Schristos:c 3661*946379e7Schristos# A trailing backslash means that the variable definition continues in the 3662*946379e7Schristos# next line. Put a nonempty string into the hold space to indicate this. 3663*946379e7Schristoss/^.*$/P/ 3664*946379e7Schristosx 3665*946379e7Schristos:d 3666*946379e7Schristos' 3667*946379e7Schristos 3668*946379e7Schristos # Set POTFILES to the value of the Makefile variable POTFILES. 3669*946379e7Schristos sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'` 3670*946379e7Schristos POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"` 3671*946379e7Schristos # Compute POTFILES_DEPS as 3672*946379e7Schristos # $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) 3673*946379e7Schristos POTFILES_DEPS= 3674*946379e7Schristos for file in $POTFILES; do 3675*946379e7Schristos POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file" 3676*946379e7Schristos done 3677*946379e7Schristos POMAKEFILEDEPS="" 3678*946379e7Schristos 3679*946379e7Schristos if test -n "$OBSOLETE_ALL_LINGUAS"; then 3680*946379e7Schristos test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 3681*946379e7Schristos fi 3682*946379e7Schristos if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 3683*946379e7Schristos # The LINGUAS file contains the set of available languages. 3684*946379e7Schristos ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 3685*946379e7Schristos POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 3686*946379e7Schristos else 3687*946379e7Schristos # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS. 3688*946379e7Schristos sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'` 3689*946379e7Schristos ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"` 3690*946379e7Schristos fi 3691*946379e7Schristos # Hide the ALL_LINGUAS assigment from automake < 1.5. 3692*946379e7Schristos eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 3693*946379e7Schristos # Compute POFILES 3694*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 3695*946379e7Schristos # Compute UPDATEPOFILES 3696*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 3697*946379e7Schristos # Compute DUMMYPOFILES 3698*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 3699*946379e7Schristos # Compute GMOFILES 3700*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 3701*946379e7Schristos # Compute PROPERTIESFILES 3702*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties) 3703*946379e7Schristos # Compute CLASSFILES 3704*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class) 3705*946379e7Schristos # Compute QMFILES 3706*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) 3707*946379e7Schristos # Compute MSGFILES 3708*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg) 3709*946379e7Schristos # Compute RESOURCESDLLFILES 3710*946379e7Schristos # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) 3711*946379e7Schristos case "$ac_given_srcdir" in 3712*946379e7Schristos .) srcdirpre= ;; 3713*946379e7Schristos *) srcdirpre='$(srcdir)/' ;; 3714*946379e7Schristos esac 3715*946379e7Schristos POFILES= 3716*946379e7Schristos UPDATEPOFILES= 3717*946379e7Schristos DUMMYPOFILES= 3718*946379e7Schristos GMOFILES= 3719*946379e7Schristos PROPERTIESFILES= 3720*946379e7Schristos CLASSFILES= 3721*946379e7Schristos QMFILES= 3722*946379e7Schristos MSGFILES= 3723*946379e7Schristos RESOURCESDLLFILES= 3724*946379e7Schristos for lang in $ALL_LINGUAS; do 3725*946379e7Schristos POFILES="$POFILES $srcdirpre$lang.po" 3726*946379e7Schristos UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 3727*946379e7Schristos DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 3728*946379e7Schristos GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 3729*946379e7Schristos PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties" 3730*946379e7Schristos CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class" 3731*946379e7Schristos QMFILES="$QMFILES $srcdirpre$lang.qm" 3732*946379e7Schristos frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 3733*946379e7Schristos MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg" 3734*946379e7Schristos frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 3735*946379e7Schristos RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll" 3736*946379e7Schristos done 3737*946379e7Schristos # CATALOGS depends on both $ac_dir and the user's LINGUAS 3738*946379e7Schristos # environment variable. 3739*946379e7Schristos INST_LINGUAS= 3740*946379e7Schristos if test -n "$ALL_LINGUAS"; then 3741*946379e7Schristos for presentlang in $ALL_LINGUAS; do 3742*946379e7Schristos useit=no 3743*946379e7Schristos if test "%UNSET%" != "$LINGUAS"; then 3744*946379e7Schristos desiredlanguages="$LINGUAS" 3745*946379e7Schristos else 3746*946379e7Schristos desiredlanguages="$ALL_LINGUAS" 3747*946379e7Schristos fi 3748*946379e7Schristos for desiredlang in $desiredlanguages; do 3749*946379e7Schristos # Use the presentlang catalog if desiredlang is 3750*946379e7Schristos # a. equal to presentlang, or 3751*946379e7Schristos # b. a variant of presentlang (because in this case, 3752*946379e7Schristos # presentlang can be used as a fallback for messages 3753*946379e7Schristos # which are not translated in the desiredlang catalog). 3754*946379e7Schristos case "$desiredlang" in 3755*946379e7Schristos "$presentlang"*) useit=yes;; 3756*946379e7Schristos esac 3757*946379e7Schristos done 3758*946379e7Schristos if test $useit = yes; then 3759*946379e7Schristos INST_LINGUAS="$INST_LINGUAS $presentlang" 3760*946379e7Schristos fi 3761*946379e7Schristos done 3762*946379e7Schristos fi 3763*946379e7Schristos CATALOGS= 3764*946379e7Schristos JAVACATALOGS= 3765*946379e7Schristos QTCATALOGS= 3766*946379e7Schristos TCLCATALOGS= 3767*946379e7Schristos CSHARPCATALOGS= 3768*946379e7Schristos if test -n "$INST_LINGUAS"; then 3769*946379e7Schristos for lang in $INST_LINGUAS; do 3770*946379e7Schristos CATALOGS="$CATALOGS $lang.gmo" 3771*946379e7Schristos JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties" 3772*946379e7Schristos QTCATALOGS="$QTCATALOGS $lang.qm" 3773*946379e7Schristos frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 3774*946379e7Schristos TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg" 3775*946379e7Schristos frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 3776*946379e7Schristos CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll" 3777*946379e7Schristos done 3778*946379e7Schristos fi 3779*946379e7Schristos 3780*946379e7Schristos sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp" 3781*946379e7Schristos if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then 3782*946379e7Schristos # Add dependencies that cannot be formulated as a simple suffix rule. 3783*946379e7Schristos for lang in $ALL_LINGUAS; do 3784*946379e7Schristos frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 3785*946379e7Schristos cat >> "$ac_file.tmp" <<EOF 3786*946379e7Schristos$frobbedlang.msg: $lang.po 3787*946379e7Schristos @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \ 3788*946379e7Schristos \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 3789*946379e7SchristosEOF 3790*946379e7Schristos done 3791*946379e7Schristos fi 3792*946379e7Schristos if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then 3793*946379e7Schristos # Add dependencies that cannot be formulated as a simple suffix rule. 3794*946379e7Schristos for lang in $ALL_LINGUAS; do 3795*946379e7Schristos frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 3796*946379e7Schristos cat >> "$ac_file.tmp" <<EOF 3797*946379e7Schristos$frobbedlang/\$(DOMAIN).resources.dll: $lang.po 3798*946379e7Schristos @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \ 3799*946379e7Schristos \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 3800*946379e7SchristosEOF 3801*946379e7Schristos done 3802*946379e7Schristos fi 3803*946379e7Schristos if test -n "$POMAKEFILEDEPS"; then 3804*946379e7Schristos cat >> "$ac_file.tmp" <<EOF 3805*946379e7SchristosMakefile: $POMAKEFILEDEPS 3806*946379e7SchristosEOF 3807*946379e7Schristos fi 3808*946379e7Schristos mv "$ac_file.tmp" "$ac_file" 3809*946379e7Schristos ;; 3810*946379e7Schristos 3811*946379e7Schristos esac 3812*946379e7Schristosdone # for ac_tag 3813*946379e7Schristos 3814*946379e7Schristos 3815*946379e7Schristos{ (exit 0); exit 0; } 3816*946379e7Schristos_ACEOF 3817*946379e7Schristoschmod +x $CONFIG_STATUS 3818*946379e7Schristosac_clean_files=$ac_clean_files_save 3819*946379e7Schristos 3820*946379e7Schristos 3821*946379e7Schristos# configure is writing to config.log, and then calls config.status. 3822*946379e7Schristos# config.status does its own redirection, appending to config.log. 3823*946379e7Schristos# Unfortunately, on DOS this fails, as config.log is still kept open 3824*946379e7Schristos# by configure, so config.status won't be able to write to it; its 3825*946379e7Schristos# output is simply discarded. So we exec the FD to /dev/null, 3826*946379e7Schristos# effectively closing config.log, so it can be properly (re)opened and 3827*946379e7Schristos# appended to by config.status. When coming back to configure, we 3828*946379e7Schristos# need to make the FD available again. 3829*946379e7Schristosif test "$no_create" != yes; then 3830*946379e7Schristos ac_cs_success=: 3831*946379e7Schristos ac_config_status_args= 3832*946379e7Schristos test "$silent" = yes && 3833*946379e7Schristos ac_config_status_args="$ac_config_status_args --quiet" 3834*946379e7Schristos exec 5>/dev/null 3835*946379e7Schristos $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 3836*946379e7Schristos exec 5>>config.log 3837*946379e7Schristos # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3838*946379e7Schristos # would make configure fail if this is the last instruction. 3839*946379e7Schristos $ac_cs_success || { (exit 1); exit 1; } 3840*946379e7Schristosfi 3841*946379e7Schristos 3842