[4599] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
[6724] | 3 | # Generated by GNU Autoconf 2.68 for vine-rpm-helper 0.6.5. |
---|
[4599] | 4 | # |
---|
| 5 | # Report bugs to <http://bts.vinelinux.org/>. |
---|
| 6 | # |
---|
| 7 | # |
---|
| 8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
[5177] | 9 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
---|
| 10 | # Foundation, Inc. |
---|
[4599] | 11 | # |
---|
| 12 | # |
---|
| 13 | # This configure script is free software; the Free Software Foundation |
---|
| 14 | # gives unlimited permission to copy, distribute and modify it. |
---|
| 15 | ## -------------------- ## |
---|
| 16 | ## M4sh Initialization. ## |
---|
| 17 | ## -------------------- ## |
---|
| 18 | |
---|
| 19 | # Be more Bourne compatible |
---|
| 20 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 21 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 22 | emulate sh |
---|
| 23 | NULLCMD=: |
---|
| 24 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 25 | # is contrary to our usage. Disable this feature. |
---|
| 26 | alias -g '${1+"$@"}'='"$@"' |
---|
| 27 | setopt NO_GLOB_SUBST |
---|
| 28 | else |
---|
| 29 | case `(set -o) 2>/dev/null` in #( |
---|
| 30 | *posix*) : |
---|
| 31 | set -o posix ;; #( |
---|
| 32 | *) : |
---|
| 33 | ;; |
---|
| 34 | esac |
---|
| 35 | fi |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | as_nl=' |
---|
| 39 | ' |
---|
| 40 | export as_nl |
---|
| 41 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 42 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 43 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 44 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 45 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 46 | # but without wasting forks for bash or zsh. |
---|
| 47 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 48 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 49 | as_echo='print -r --' |
---|
| 50 | as_echo_n='print -rn --' |
---|
| 51 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 52 | as_echo='printf %s\n' |
---|
| 53 | as_echo_n='printf %s' |
---|
| 54 | else |
---|
| 55 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 56 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 57 | as_echo_n='/usr/ucb/echo -n' |
---|
| 58 | else |
---|
| 59 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 60 | as_echo_n_body='eval |
---|
| 61 | arg=$1; |
---|
| 62 | case $arg in #( |
---|
| 63 | *"$as_nl"*) |
---|
| 64 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 65 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 66 | esac; |
---|
| 67 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 68 | ' |
---|
| 69 | export as_echo_n_body |
---|
| 70 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
| 71 | fi |
---|
| 72 | export as_echo_body |
---|
| 73 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 74 | fi |
---|
| 75 | |
---|
| 76 | # The user is always right. |
---|
| 77 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 78 | PATH_SEPARATOR=: |
---|
| 79 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 80 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 81 | PATH_SEPARATOR=';' |
---|
| 82 | } |
---|
| 83 | fi |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | # IFS |
---|
| 87 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 88 | # there to prevent editors from complaining about space-tab. |
---|
| 89 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 90 | # splitting by setting IFS to empty value.) |
---|
| 91 | IFS=" "" $as_nl" |
---|
| 92 | |
---|
| 93 | # Find who we are. Look in the path if we contain no directory separator. |
---|
[5177] | 94 | as_myself= |
---|
[4599] | 95 | case $0 in #(( |
---|
| 96 | *[\\/]* ) as_myself=$0 ;; |
---|
| 97 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 98 | for as_dir in $PATH |
---|
| 99 | do |
---|
| 100 | IFS=$as_save_IFS |
---|
| 101 | test -z "$as_dir" && as_dir=. |
---|
| 102 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 103 | done |
---|
| 104 | IFS=$as_save_IFS |
---|
| 105 | |
---|
| 106 | ;; |
---|
| 107 | esac |
---|
| 108 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 109 | # in which case we are not to be found in the path. |
---|
| 110 | if test "x$as_myself" = x; then |
---|
| 111 | as_myself=$0 |
---|
| 112 | fi |
---|
| 113 | if test ! -f "$as_myself"; then |
---|
| 114 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 115 | exit 1 |
---|
| 116 | fi |
---|
| 117 | |
---|
| 118 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 119 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 120 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 121 | # trigger a bug in pdksh 5.2.14. |
---|
| 122 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 123 | do eval test x\${$as_var+set} = xset \ |
---|
| 124 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
| 125 | done |
---|
| 126 | PS1='$ ' |
---|
| 127 | PS2='> ' |
---|
| 128 | PS4='+ ' |
---|
| 129 | |
---|
| 130 | # NLS nuisances. |
---|
| 131 | LC_ALL=C |
---|
| 132 | export LC_ALL |
---|
| 133 | LANGUAGE=C |
---|
| 134 | export LANGUAGE |
---|
| 135 | |
---|
| 136 | # CDPATH. |
---|
| 137 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 138 | |
---|
| 139 | if test "x$CONFIG_SHELL" = x; then |
---|
| 140 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 141 | emulate sh |
---|
| 142 | NULLCMD=: |
---|
| 143 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
| 144 | # is contrary to our usage. Disable this feature. |
---|
| 145 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
| 146 | setopt NO_GLOB_SUBST |
---|
| 147 | else |
---|
| 148 | case \`(set -o) 2>/dev/null\` in #( |
---|
| 149 | *posix*) : |
---|
| 150 | set -o posix ;; #( |
---|
| 151 | *) : |
---|
| 152 | ;; |
---|
| 153 | esac |
---|
| 154 | fi |
---|
| 155 | " |
---|
| 156 | as_required="as_fn_return () { (exit \$1); } |
---|
| 157 | as_fn_success () { as_fn_return 0; } |
---|
| 158 | as_fn_failure () { as_fn_return 1; } |
---|
| 159 | as_fn_ret_success () { return 0; } |
---|
| 160 | as_fn_ret_failure () { return 1; } |
---|
| 161 | |
---|
| 162 | exitcode=0 |
---|
| 163 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
| 164 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
| 165 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
| 166 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
| 167 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
| 168 | |
---|
| 169 | else |
---|
| 170 | exitcode=1; echo positional parameters were not saved. |
---|
| 171 | fi |
---|
| 172 | test x\$exitcode = x0 || exit 1" |
---|
| 173 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
| 174 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
| 175 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
[4925] | 176 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
---|
| 177 | test \$(( 1 + 1 )) = 2 || exit 1" |
---|
[4599] | 178 | if (eval "$as_required") 2>/dev/null; then : |
---|
| 179 | as_have_required=yes |
---|
| 180 | else |
---|
| 181 | as_have_required=no |
---|
| 182 | fi |
---|
| 183 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
| 184 | |
---|
| 185 | else |
---|
| 186 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 187 | as_found=false |
---|
| 188 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 189 | do |
---|
| 190 | IFS=$as_save_IFS |
---|
| 191 | test -z "$as_dir" && as_dir=. |
---|
| 192 | as_found=: |
---|
| 193 | case $as_dir in #( |
---|
| 194 | /*) |
---|
| 195 | for as_base in sh bash ksh sh5; do |
---|
| 196 | # Try only shells that exist, to save several forks. |
---|
| 197 | as_shell=$as_dir/$as_base |
---|
| 198 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
| 199 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 200 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
| 201 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 202 | break 2 |
---|
| 203 | fi |
---|
| 204 | fi |
---|
| 205 | done;; |
---|
| 206 | esac |
---|
| 207 | as_found=false |
---|
| 208 | done |
---|
| 209 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
| 210 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
| 211 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
| 212 | fi; } |
---|
| 213 | IFS=$as_save_IFS |
---|
| 214 | |
---|
| 215 | |
---|
| 216 | if test "x$CONFIG_SHELL" != x; then : |
---|
| 217 | # We cannot yet assume a decent shell, so we have to provide a |
---|
| 218 | # neutralization value for shells without unset; and this also |
---|
| 219 | # works around shells that cannot unset nonexistent variables. |
---|
[5177] | 220 | # Preserve -v and -x to the replacement shell. |
---|
[4599] | 221 | BASH_ENV=/dev/null |
---|
| 222 | ENV=/dev/null |
---|
| 223 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
| 224 | export CONFIG_SHELL |
---|
[5177] | 225 | case $- in # (((( |
---|
| 226 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
| 227 | *v* ) as_opts=-v ;; |
---|
| 228 | *x* ) as_opts=-x ;; |
---|
| 229 | * ) as_opts= ;; |
---|
| 230 | esac |
---|
| 231 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
---|
[4599] | 232 | fi |
---|
| 233 | |
---|
| 234 | if test x$as_have_required = xno; then : |
---|
| 235 | $as_echo "$0: This script requires a shell more modern than all" |
---|
| 236 | $as_echo "$0: the shells that I found on your system." |
---|
| 237 | if test x${ZSH_VERSION+set} = xset ; then |
---|
| 238 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
| 239 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
| 240 | else |
---|
| 241 | $as_echo "$0: Please tell bug-autoconf@gnu.org and |
---|
| 242 | $0: http://bts.vinelinux.org/ about your system, including |
---|
| 243 | $0: any error possibly output before this message. Then |
---|
| 244 | $0: install a modern shell, or manually run the script |
---|
| 245 | $0: under such a shell if you do have one." |
---|
| 246 | fi |
---|
| 247 | exit 1 |
---|
| 248 | fi |
---|
| 249 | fi |
---|
| 250 | fi |
---|
| 251 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 252 | export SHELL |
---|
| 253 | # Unset more variables known to interfere with behavior of common tools. |
---|
| 254 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
| 255 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
| 256 | |
---|
| 257 | ## --------------------- ## |
---|
| 258 | ## M4sh Shell Functions. ## |
---|
| 259 | ## --------------------- ## |
---|
| 260 | # as_fn_unset VAR |
---|
| 261 | # --------------- |
---|
| 262 | # Portably unset VAR. |
---|
| 263 | as_fn_unset () |
---|
| 264 | { |
---|
| 265 | { eval $1=; unset $1;} |
---|
| 266 | } |
---|
| 267 | as_unset=as_fn_unset |
---|
| 268 | |
---|
| 269 | # as_fn_set_status STATUS |
---|
| 270 | # ----------------------- |
---|
| 271 | # Set $? to STATUS, without forking. |
---|
| 272 | as_fn_set_status () |
---|
| 273 | { |
---|
| 274 | return $1 |
---|
| 275 | } # as_fn_set_status |
---|
| 276 | |
---|
| 277 | # as_fn_exit STATUS |
---|
| 278 | # ----------------- |
---|
| 279 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 280 | as_fn_exit () |
---|
| 281 | { |
---|
| 282 | set +e |
---|
| 283 | as_fn_set_status $1 |
---|
| 284 | exit $1 |
---|
| 285 | } # as_fn_exit |
---|
| 286 | |
---|
| 287 | # as_fn_mkdir_p |
---|
| 288 | # ------------- |
---|
| 289 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 290 | as_fn_mkdir_p () |
---|
| 291 | { |
---|
| 292 | |
---|
| 293 | case $as_dir in #( |
---|
| 294 | -*) as_dir=./$as_dir;; |
---|
| 295 | esac |
---|
| 296 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 297 | as_dirs= |
---|
| 298 | while :; do |
---|
| 299 | case $as_dir in #( |
---|
| 300 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 301 | *) as_qdir=$as_dir;; |
---|
| 302 | esac |
---|
| 303 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 304 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 305 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 306 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 307 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 308 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 309 | $as_echo X"$as_dir" | |
---|
| 310 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 311 | s//\1/ |
---|
| 312 | q |
---|
| 313 | } |
---|
| 314 | /^X\(\/\/\)[^/].*/{ |
---|
| 315 | s//\1/ |
---|
| 316 | q |
---|
| 317 | } |
---|
| 318 | /^X\(\/\/\)$/{ |
---|
| 319 | s//\1/ |
---|
| 320 | q |
---|
| 321 | } |
---|
| 322 | /^X\(\/\).*/{ |
---|
| 323 | s//\1/ |
---|
| 324 | q |
---|
| 325 | } |
---|
| 326 | s/.*/./; q'` |
---|
| 327 | test -d "$as_dir" && break |
---|
| 328 | done |
---|
| 329 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
[5177] | 330 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
[4599] | 331 | |
---|
| 332 | |
---|
| 333 | } # as_fn_mkdir_p |
---|
| 334 | # as_fn_append VAR VALUE |
---|
| 335 | # ---------------------- |
---|
| 336 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 337 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 338 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 339 | # implementations. |
---|
| 340 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 341 | eval 'as_fn_append () |
---|
| 342 | { |
---|
| 343 | eval $1+=\$2 |
---|
| 344 | }' |
---|
| 345 | else |
---|
| 346 | as_fn_append () |
---|
| 347 | { |
---|
| 348 | eval $1=\$$1\$2 |
---|
| 349 | } |
---|
| 350 | fi # as_fn_append |
---|
| 351 | |
---|
| 352 | # as_fn_arith ARG... |
---|
| 353 | # ------------------ |
---|
| 354 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 355 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 356 | # must be portable across $(()) and expr. |
---|
| 357 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 358 | eval 'as_fn_arith () |
---|
| 359 | { |
---|
| 360 | as_val=$(( $* )) |
---|
| 361 | }' |
---|
| 362 | else |
---|
| 363 | as_fn_arith () |
---|
| 364 | { |
---|
| 365 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 366 | } |
---|
| 367 | fi # as_fn_arith |
---|
| 368 | |
---|
| 369 | |
---|
[5177] | 370 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 371 | # ---------------------------------------- |
---|
[4599] | 372 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 373 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
[5177] | 374 | # script with STATUS, using 1 if that was 0. |
---|
[4599] | 375 | as_fn_error () |
---|
| 376 | { |
---|
[5177] | 377 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 378 | if test "$4"; then |
---|
| 379 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 380 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
[4599] | 381 | fi |
---|
[5177] | 382 | $as_echo "$as_me: error: $2" >&2 |
---|
[4599] | 383 | as_fn_exit $as_status |
---|
| 384 | } # as_fn_error |
---|
| 385 | |
---|
| 386 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 387 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 388 | as_expr=expr |
---|
| 389 | else |
---|
| 390 | as_expr=false |
---|
| 391 | fi |
---|
| 392 | |
---|
| 393 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 394 | as_basename=basename |
---|
| 395 | else |
---|
| 396 | as_basename=false |
---|
| 397 | fi |
---|
| 398 | |
---|
| 399 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 400 | as_dirname=dirname |
---|
| 401 | else |
---|
| 402 | as_dirname=false |
---|
| 403 | fi |
---|
| 404 | |
---|
| 405 | as_me=`$as_basename -- "$0" || |
---|
| 406 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 407 | X"$0" : 'X\(//\)$' \| \ |
---|
| 408 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 409 | $as_echo X/"$0" | |
---|
| 410 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 411 | s//\1/ |
---|
| 412 | q |
---|
| 413 | } |
---|
| 414 | /^X\/\(\/\/\)$/{ |
---|
| 415 | s//\1/ |
---|
| 416 | q |
---|
| 417 | } |
---|
| 418 | /^X\/\(\/\).*/{ |
---|
| 419 | s//\1/ |
---|
| 420 | q |
---|
| 421 | } |
---|
| 422 | s/.*/./; q'` |
---|
| 423 | |
---|
| 424 | # Avoid depending upon Character Ranges. |
---|
| 425 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 426 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 427 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 428 | as_cr_digits='0123456789' |
---|
| 429 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 430 | |
---|
| 431 | |
---|
| 432 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
| 433 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
| 434 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
| 435 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
| 436 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 437 | sed -n ' |
---|
| 438 | p |
---|
| 439 | /[$]LINENO/= |
---|
| 440 | ' <$as_myself | |
---|
| 441 | sed ' |
---|
| 442 | s/[$]LINENO.*/&-/ |
---|
| 443 | t lineno |
---|
| 444 | b |
---|
| 445 | :lineno |
---|
| 446 | N |
---|
| 447 | :loop |
---|
| 448 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
| 449 | t loop |
---|
| 450 | s/-\n.*// |
---|
| 451 | ' >$as_me.lineno && |
---|
| 452 | chmod +x "$as_me.lineno" || |
---|
| 453 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
| 454 | |
---|
| 455 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 456 | # (the dirname of $[0] is not the place where we might find the |
---|
| 457 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 458 | . "./$as_me.lineno" |
---|
| 459 | # Exit status is that of the last command. |
---|
| 460 | exit |
---|
| 461 | } |
---|
| 462 | |
---|
| 463 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 464 | case `echo -n x` in #((((( |
---|
| 465 | -n*) |
---|
| 466 | case `echo 'xy\c'` in |
---|
| 467 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 468 | xy) ECHO_C='\c';; |
---|
| 469 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 470 | ECHO_T=' ';; |
---|
| 471 | esac;; |
---|
| 472 | *) |
---|
| 473 | ECHO_N='-n';; |
---|
| 474 | esac |
---|
| 475 | |
---|
| 476 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 477 | if test -d conf$$.dir; then |
---|
| 478 | rm -f conf$$.dir/conf$$.file |
---|
| 479 | else |
---|
| 480 | rm -f conf$$.dir |
---|
| 481 | mkdir conf$$.dir 2>/dev/null |
---|
| 482 | fi |
---|
| 483 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 484 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 485 | as_ln_s='ln -s' |
---|
| 486 | # ... but there are two gotchas: |
---|
| 487 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 488 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 489 | # In both cases, we have to default to `cp -p'. |
---|
| 490 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
| 491 | as_ln_s='cp -p' |
---|
| 492 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 493 | as_ln_s=ln |
---|
| 494 | else |
---|
| 495 | as_ln_s='cp -p' |
---|
| 496 | fi |
---|
| 497 | else |
---|
| 498 | as_ln_s='cp -p' |
---|
| 499 | fi |
---|
| 500 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 501 | rmdir conf$$.dir 2>/dev/null |
---|
| 502 | |
---|
| 503 | if mkdir -p . 2>/dev/null; then |
---|
| 504 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 505 | else |
---|
| 506 | test -d ./-p && rmdir ./-p |
---|
| 507 | as_mkdir_p=false |
---|
| 508 | fi |
---|
| 509 | |
---|
| 510 | if test -x / >/dev/null 2>&1; then |
---|
| 511 | as_test_x='test -x' |
---|
| 512 | else |
---|
| 513 | if ls -dL / >/dev/null 2>&1; then |
---|
| 514 | as_ls_L_option=L |
---|
| 515 | else |
---|
| 516 | as_ls_L_option= |
---|
| 517 | fi |
---|
| 518 | as_test_x=' |
---|
| 519 | eval sh -c '\'' |
---|
| 520 | if test -d "$1"; then |
---|
| 521 | test -d "$1/."; |
---|
| 522 | else |
---|
| 523 | case $1 in #( |
---|
| 524 | -*)set "./$1";; |
---|
| 525 | esac; |
---|
| 526 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
| 527 | ???[sx]*):;;*)false;;esac;fi |
---|
| 528 | '\'' sh |
---|
| 529 | ' |
---|
| 530 | fi |
---|
| 531 | as_executable_p=$as_test_x |
---|
| 532 | |
---|
| 533 | # Sed expression to map a string onto a valid CPP name. |
---|
| 534 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 535 | |
---|
| 536 | # Sed expression to map a string onto a valid variable name. |
---|
| 537 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 538 | |
---|
| 539 | |
---|
| 540 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
| 541 | exec 6>&1 |
---|
| 542 | |
---|
| 543 | # Name of the host. |
---|
[5177] | 544 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
---|
[4599] | 545 | # so uname gets run too. |
---|
| 546 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 547 | |
---|
| 548 | # |
---|
| 549 | # Initializations. |
---|
| 550 | # |
---|
| 551 | ac_default_prefix=/usr/local |
---|
| 552 | ac_clean_files= |
---|
| 553 | ac_config_libobj_dir=. |
---|
| 554 | LIBOBJS= |
---|
| 555 | cross_compiling=no |
---|
| 556 | subdirs= |
---|
| 557 | MFLAGS= |
---|
| 558 | MAKEFLAGS= |
---|
| 559 | |
---|
| 560 | # Identity of this package. |
---|
| 561 | PACKAGE_NAME='vine-rpm-helper' |
---|
| 562 | PACKAGE_TARNAME='vine-rpm-helper' |
---|
[6724] | 563 | PACKAGE_VERSION='0.6.5' |
---|
| 564 | PACKAGE_STRING='vine-rpm-helper 0.6.5' |
---|
[4599] | 565 | PACKAGE_BUGREPORT='http://bts.vinelinux.org/' |
---|
| 566 | PACKAGE_URL='' |
---|
| 567 | |
---|
[4925] | 568 | gt_needs= |
---|
| 569 | ac_subst_vars='am__EXEEXT_FALSE |
---|
| 570 | am__EXEEXT_TRUE |
---|
| 571 | LTLIBOBJS |
---|
[4599] | 572 | LIBOBJS |
---|
[4894] | 573 | PKGDATADIR |
---|
[4925] | 574 | POSUB |
---|
| 575 | LTLIBINTL |
---|
| 576 | LIBINTL |
---|
| 577 | INTLLIBS |
---|
| 578 | LTLIBICONV |
---|
| 579 | LIBICONV |
---|
| 580 | INTL_MACOSX_LIBS |
---|
| 581 | EGREP |
---|
| 582 | GREP |
---|
| 583 | CPP |
---|
| 584 | host_os |
---|
| 585 | host_vendor |
---|
| 586 | host_cpu |
---|
| 587 | host |
---|
| 588 | build_os |
---|
| 589 | build_vendor |
---|
| 590 | build_cpu |
---|
| 591 | build |
---|
| 592 | am__fastdepCC_FALSE |
---|
| 593 | am__fastdepCC_TRUE |
---|
| 594 | CCDEPMODE |
---|
| 595 | AMDEPBACKSLASH |
---|
| 596 | AMDEP_FALSE |
---|
| 597 | AMDEP_TRUE |
---|
| 598 | am__quote |
---|
| 599 | am__include |
---|
| 600 | DEPDIR |
---|
| 601 | OBJEXT |
---|
| 602 | EXEEXT |
---|
| 603 | ac_ct_CC |
---|
| 604 | CPPFLAGS |
---|
| 605 | LDFLAGS |
---|
| 606 | CFLAGS |
---|
| 607 | CC |
---|
| 608 | XGETTEXT_EXTRA_OPTIONS |
---|
| 609 | MSGMERGE |
---|
| 610 | XGETTEXT_015 |
---|
| 611 | XGETTEXT |
---|
| 612 | GMSGFMT_015 |
---|
| 613 | MSGFMT_015 |
---|
| 614 | GMSGFMT |
---|
| 615 | MSGFMT |
---|
| 616 | GETTEXT_MACRO_VERSION |
---|
| 617 | USE_NLS |
---|
[4599] | 618 | MAINT |
---|
| 619 | MAINTAINER_MODE_FALSE |
---|
| 620 | MAINTAINER_MODE_TRUE |
---|
| 621 | am__untar |
---|
| 622 | am__tar |
---|
| 623 | AMTAR |
---|
| 624 | am__leading_dot |
---|
| 625 | SET_MAKE |
---|
| 626 | AWK |
---|
| 627 | mkdir_p |
---|
| 628 | MKDIR_P |
---|
| 629 | INSTALL_STRIP_PROGRAM |
---|
| 630 | STRIP |
---|
| 631 | install_sh |
---|
| 632 | MAKEINFO |
---|
| 633 | AUTOHEADER |
---|
| 634 | AUTOMAKE |
---|
| 635 | AUTOCONF |
---|
| 636 | ACLOCAL |
---|
| 637 | VERSION |
---|
| 638 | PACKAGE |
---|
| 639 | CYGPATH_W |
---|
| 640 | am__isrc |
---|
| 641 | INSTALL_DATA |
---|
| 642 | INSTALL_SCRIPT |
---|
| 643 | INSTALL_PROGRAM |
---|
| 644 | target_alias |
---|
| 645 | host_alias |
---|
| 646 | build_alias |
---|
| 647 | LIBS |
---|
| 648 | ECHO_T |
---|
| 649 | ECHO_N |
---|
| 650 | ECHO_C |
---|
| 651 | DEFS |
---|
| 652 | mandir |
---|
| 653 | localedir |
---|
| 654 | libdir |
---|
| 655 | psdir |
---|
| 656 | pdfdir |
---|
| 657 | dvidir |
---|
| 658 | htmldir |
---|
| 659 | infodir |
---|
| 660 | docdir |
---|
| 661 | oldincludedir |
---|
| 662 | includedir |
---|
| 663 | localstatedir |
---|
| 664 | sharedstatedir |
---|
| 665 | sysconfdir |
---|
| 666 | datadir |
---|
| 667 | datarootdir |
---|
| 668 | libexecdir |
---|
| 669 | sbindir |
---|
| 670 | bindir |
---|
| 671 | program_transform_name |
---|
| 672 | prefix |
---|
| 673 | exec_prefix |
---|
| 674 | PACKAGE_URL |
---|
| 675 | PACKAGE_BUGREPORT |
---|
| 676 | PACKAGE_STRING |
---|
| 677 | PACKAGE_VERSION |
---|
| 678 | PACKAGE_TARNAME |
---|
| 679 | PACKAGE_NAME |
---|
| 680 | PATH_SEPARATOR |
---|
| 681 | SHELL' |
---|
| 682 | ac_subst_files='' |
---|
| 683 | ac_user_opts=' |
---|
| 684 | enable_option_checking |
---|
| 685 | enable_maintainer_mode |
---|
[4925] | 686 | enable_nls |
---|
| 687 | enable_dependency_tracking |
---|
| 688 | with_gnu_ld |
---|
| 689 | enable_rpath |
---|
| 690 | with_libiconv_prefix |
---|
| 691 | with_libintl_prefix |
---|
[4599] | 692 | ' |
---|
| 693 | ac_precious_vars='build_alias |
---|
| 694 | host_alias |
---|
[4925] | 695 | target_alias |
---|
| 696 | CC |
---|
| 697 | CFLAGS |
---|
| 698 | LDFLAGS |
---|
| 699 | LIBS |
---|
| 700 | CPPFLAGS |
---|
| 701 | CPP' |
---|
[4599] | 702 | |
---|
| 703 | |
---|
| 704 | # Initialize some variables set by options. |
---|
| 705 | ac_init_help= |
---|
| 706 | ac_init_version=false |
---|
| 707 | ac_unrecognized_opts= |
---|
| 708 | ac_unrecognized_sep= |
---|
| 709 | # The variables have the same names as the options, with |
---|
| 710 | # dashes changed to underlines. |
---|
| 711 | cache_file=/dev/null |
---|
| 712 | exec_prefix=NONE |
---|
| 713 | no_create= |
---|
| 714 | no_recursion= |
---|
| 715 | prefix=NONE |
---|
| 716 | program_prefix=NONE |
---|
| 717 | program_suffix=NONE |
---|
| 718 | program_transform_name=s,x,x, |
---|
| 719 | silent= |
---|
| 720 | site= |
---|
| 721 | srcdir= |
---|
| 722 | verbose= |
---|
| 723 | x_includes=NONE |
---|
| 724 | x_libraries=NONE |
---|
| 725 | |
---|
| 726 | # Installation directory options. |
---|
| 727 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 728 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 729 | # by default will actually change. |
---|
| 730 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
| 731 | # (The list follows the same order as the GNU Coding Standards.) |
---|
| 732 | bindir='${exec_prefix}/bin' |
---|
| 733 | sbindir='${exec_prefix}/sbin' |
---|
| 734 | libexecdir='${exec_prefix}/libexec' |
---|
| 735 | datarootdir='${prefix}/share' |
---|
| 736 | datadir='${datarootdir}' |
---|
| 737 | sysconfdir='${prefix}/etc' |
---|
| 738 | sharedstatedir='${prefix}/com' |
---|
| 739 | localstatedir='${prefix}/var' |
---|
| 740 | includedir='${prefix}/include' |
---|
| 741 | oldincludedir='/usr/include' |
---|
| 742 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
| 743 | infodir='${datarootdir}/info' |
---|
| 744 | htmldir='${docdir}' |
---|
| 745 | dvidir='${docdir}' |
---|
| 746 | pdfdir='${docdir}' |
---|
| 747 | psdir='${docdir}' |
---|
| 748 | libdir='${exec_prefix}/lib' |
---|
| 749 | localedir='${datarootdir}/locale' |
---|
| 750 | mandir='${datarootdir}/man' |
---|
| 751 | |
---|
| 752 | ac_prev= |
---|
| 753 | ac_dashdash= |
---|
| 754 | for ac_option |
---|
| 755 | do |
---|
| 756 | # If the previous option needs an argument, assign it. |
---|
| 757 | if test -n "$ac_prev"; then |
---|
| 758 | eval $ac_prev=\$ac_option |
---|
| 759 | ac_prev= |
---|
| 760 | continue |
---|
| 761 | fi |
---|
| 762 | |
---|
| 763 | case $ac_option in |
---|
[5177] | 764 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
| 765 | *=) ac_optarg= ;; |
---|
| 766 | *) ac_optarg=yes ;; |
---|
[4599] | 767 | esac |
---|
| 768 | |
---|
| 769 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 770 | |
---|
| 771 | case $ac_dashdash$ac_option in |
---|
| 772 | --) |
---|
| 773 | ac_dashdash=yes ;; |
---|
| 774 | |
---|
| 775 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 776 | ac_prev=bindir ;; |
---|
| 777 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 778 | bindir=$ac_optarg ;; |
---|
| 779 | |
---|
| 780 | -build | --build | --buil | --bui | --bu) |
---|
| 781 | ac_prev=build_alias ;; |
---|
| 782 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 783 | build_alias=$ac_optarg ;; |
---|
| 784 | |
---|
| 785 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 786 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 787 | ac_prev=cache_file ;; |
---|
| 788 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 789 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 790 | cache_file=$ac_optarg ;; |
---|
| 791 | |
---|
| 792 | --config-cache | -C) |
---|
| 793 | cache_file=config.cache ;; |
---|
| 794 | |
---|
| 795 | -datadir | --datadir | --datadi | --datad) |
---|
| 796 | ac_prev=datadir ;; |
---|
| 797 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
| 798 | datadir=$ac_optarg ;; |
---|
| 799 | |
---|
| 800 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
| 801 | | --dataroo | --dataro | --datar) |
---|
| 802 | ac_prev=datarootdir ;; |
---|
| 803 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
| 804 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
| 805 | datarootdir=$ac_optarg ;; |
---|
| 806 | |
---|
| 807 | -disable-* | --disable-*) |
---|
| 808 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
| 809 | # Reject names that are not valid shell variable names. |
---|
| 810 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
[5177] | 811 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
[4599] | 812 | ac_useropt_orig=$ac_useropt |
---|
| 813 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 814 | case $ac_user_opts in |
---|
| 815 | *" |
---|
| 816 | "enable_$ac_useropt" |
---|
| 817 | "*) ;; |
---|
| 818 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
| 819 | ac_unrecognized_sep=', ';; |
---|
| 820 | esac |
---|
| 821 | eval enable_$ac_useropt=no ;; |
---|
| 822 | |
---|
| 823 | -docdir | --docdir | --docdi | --doc | --do) |
---|
| 824 | ac_prev=docdir ;; |
---|
| 825 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
| 826 | docdir=$ac_optarg ;; |
---|
| 827 | |
---|
| 828 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
| 829 | ac_prev=dvidir ;; |
---|
| 830 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
| 831 | dvidir=$ac_optarg ;; |
---|
| 832 | |
---|
| 833 | -enable-* | --enable-*) |
---|
| 834 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
| 835 | # Reject names that are not valid shell variable names. |
---|
| 836 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
[5177] | 837 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
[4599] | 838 | ac_useropt_orig=$ac_useropt |
---|
| 839 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 840 | case $ac_user_opts in |
---|
| 841 | *" |
---|
| 842 | "enable_$ac_useropt" |
---|
| 843 | "*) ;; |
---|
| 844 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
| 845 | ac_unrecognized_sep=', ';; |
---|
| 846 | esac |
---|
| 847 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
| 848 | |
---|
| 849 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 850 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 851 | | --exec | --exe | --ex) |
---|
| 852 | ac_prev=exec_prefix ;; |
---|
| 853 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 854 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 855 | | --exec=* | --exe=* | --ex=*) |
---|
| 856 | exec_prefix=$ac_optarg ;; |
---|
| 857 | |
---|
| 858 | -gas | --gas | --ga | --g) |
---|
| 859 | # Obsolete; use --with-gas. |
---|
| 860 | with_gas=yes ;; |
---|
| 861 | |
---|
| 862 | -help | --help | --hel | --he | -h) |
---|
| 863 | ac_init_help=long ;; |
---|
| 864 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 865 | ac_init_help=recursive ;; |
---|
| 866 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 867 | ac_init_help=short ;; |
---|
| 868 | |
---|
| 869 | -host | --host | --hos | --ho) |
---|
| 870 | ac_prev=host_alias ;; |
---|
| 871 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 872 | host_alias=$ac_optarg ;; |
---|
| 873 | |
---|
| 874 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
| 875 | ac_prev=htmldir ;; |
---|
| 876 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
| 877 | | --ht=*) |
---|
| 878 | htmldir=$ac_optarg ;; |
---|
| 879 | |
---|
| 880 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 881 | | --includ | --inclu | --incl | --inc) |
---|
| 882 | ac_prev=includedir ;; |
---|
| 883 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 884 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 885 | includedir=$ac_optarg ;; |
---|
| 886 | |
---|
| 887 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 888 | ac_prev=infodir ;; |
---|
| 889 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 890 | infodir=$ac_optarg ;; |
---|
| 891 | |
---|
| 892 | -libdir | --libdir | --libdi | --libd) |
---|
| 893 | ac_prev=libdir ;; |
---|
| 894 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 895 | libdir=$ac_optarg ;; |
---|
| 896 | |
---|
| 897 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 898 | | --libexe | --libex | --libe) |
---|
| 899 | ac_prev=libexecdir ;; |
---|
| 900 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 901 | | --libexe=* | --libex=* | --libe=*) |
---|
| 902 | libexecdir=$ac_optarg ;; |
---|
| 903 | |
---|
| 904 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
| 905 | ac_prev=localedir ;; |
---|
| 906 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
| 907 | localedir=$ac_optarg ;; |
---|
| 908 | |
---|
| 909 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 910 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
| 911 | ac_prev=localstatedir ;; |
---|
| 912 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 913 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
| 914 | localstatedir=$ac_optarg ;; |
---|
| 915 | |
---|
| 916 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 917 | ac_prev=mandir ;; |
---|
| 918 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 919 | mandir=$ac_optarg ;; |
---|
| 920 | |
---|
| 921 | -nfp | --nfp | --nf) |
---|
| 922 | # Obsolete; use --without-fp. |
---|
| 923 | with_fp=no ;; |
---|
| 924 | |
---|
| 925 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 926 | | --no-cr | --no-c | -n) |
---|
| 927 | no_create=yes ;; |
---|
| 928 | |
---|
| 929 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 930 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 931 | no_recursion=yes ;; |
---|
| 932 | |
---|
| 933 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 934 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 935 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 936 | ac_prev=oldincludedir ;; |
---|
| 937 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 938 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 939 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 940 | oldincludedir=$ac_optarg ;; |
---|
| 941 | |
---|
| 942 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 943 | ac_prev=prefix ;; |
---|
| 944 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 945 | prefix=$ac_optarg ;; |
---|
| 946 | |
---|
| 947 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 948 | | --program-pre | --program-pr | --program-p) |
---|
| 949 | ac_prev=program_prefix ;; |
---|
| 950 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 951 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 952 | program_prefix=$ac_optarg ;; |
---|
| 953 | |
---|
| 954 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 955 | | --program-suf | --program-su | --program-s) |
---|
| 956 | ac_prev=program_suffix ;; |
---|
| 957 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 958 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 959 | program_suffix=$ac_optarg ;; |
---|
| 960 | |
---|
| 961 | -program-transform-name | --program-transform-name \ |
---|
| 962 | | --program-transform-nam | --program-transform-na \ |
---|
| 963 | | --program-transform-n | --program-transform- \ |
---|
| 964 | | --program-transform | --program-transfor \ |
---|
| 965 | | --program-transfo | --program-transf \ |
---|
| 966 | | --program-trans | --program-tran \ |
---|
| 967 | | --progr-tra | --program-tr | --program-t) |
---|
| 968 | ac_prev=program_transform_name ;; |
---|
| 969 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 970 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 971 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 972 | | --program-transform=* | --program-transfor=* \ |
---|
| 973 | | --program-transfo=* | --program-transf=* \ |
---|
| 974 | | --program-trans=* | --program-tran=* \ |
---|
| 975 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 976 | program_transform_name=$ac_optarg ;; |
---|
| 977 | |
---|
| 978 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
| 979 | ac_prev=pdfdir ;; |
---|
| 980 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
| 981 | pdfdir=$ac_optarg ;; |
---|
| 982 | |
---|
| 983 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
| 984 | ac_prev=psdir ;; |
---|
| 985 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
| 986 | psdir=$ac_optarg ;; |
---|
| 987 | |
---|
| 988 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 989 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 990 | silent=yes ;; |
---|
| 991 | |
---|
| 992 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 993 | ac_prev=sbindir ;; |
---|
| 994 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 995 | | --sbi=* | --sb=*) |
---|
| 996 | sbindir=$ac_optarg ;; |
---|
| 997 | |
---|
| 998 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 999 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 1000 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 1001 | | --sha | --sh) |
---|
| 1002 | ac_prev=sharedstatedir ;; |
---|
| 1003 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 1004 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 1005 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 1006 | | --sha=* | --sh=*) |
---|
| 1007 | sharedstatedir=$ac_optarg ;; |
---|
| 1008 | |
---|
| 1009 | -site | --site | --sit) |
---|
| 1010 | ac_prev=site ;; |
---|
| 1011 | -site=* | --site=* | --sit=*) |
---|
| 1012 | site=$ac_optarg ;; |
---|
| 1013 | |
---|
| 1014 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 1015 | ac_prev=srcdir ;; |
---|
| 1016 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 1017 | srcdir=$ac_optarg ;; |
---|
| 1018 | |
---|
| 1019 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 1020 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 1021 | ac_prev=sysconfdir ;; |
---|
| 1022 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 1023 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 1024 | sysconfdir=$ac_optarg ;; |
---|
| 1025 | |
---|
| 1026 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 1027 | ac_prev=target_alias ;; |
---|
| 1028 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 1029 | target_alias=$ac_optarg ;; |
---|
| 1030 | |
---|
| 1031 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 1032 | verbose=yes ;; |
---|
| 1033 | |
---|
| 1034 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 1035 | ac_init_version=: ;; |
---|
| 1036 | |
---|
| 1037 | -with-* | --with-*) |
---|
| 1038 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
| 1039 | # Reject names that are not valid shell variable names. |
---|
| 1040 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
[5177] | 1041 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
[4599] | 1042 | ac_useropt_orig=$ac_useropt |
---|
| 1043 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1044 | case $ac_user_opts in |
---|
| 1045 | *" |
---|
| 1046 | "with_$ac_useropt" |
---|
| 1047 | "*) ;; |
---|
| 1048 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
| 1049 | ac_unrecognized_sep=', ';; |
---|
| 1050 | esac |
---|
| 1051 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
| 1052 | |
---|
| 1053 | -without-* | --without-*) |
---|
| 1054 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
| 1055 | # Reject names that are not valid shell variable names. |
---|
| 1056 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
[5177] | 1057 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
[4599] | 1058 | ac_useropt_orig=$ac_useropt |
---|
| 1059 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1060 | case $ac_user_opts in |
---|
| 1061 | *" |
---|
| 1062 | "with_$ac_useropt" |
---|
| 1063 | "*) ;; |
---|
| 1064 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
| 1065 | ac_unrecognized_sep=', ';; |
---|
| 1066 | esac |
---|
| 1067 | eval with_$ac_useropt=no ;; |
---|
| 1068 | |
---|
| 1069 | --x) |
---|
| 1070 | # Obsolete; use --with-x. |
---|
| 1071 | with_x=yes ;; |
---|
| 1072 | |
---|
| 1073 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 1074 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 1075 | ac_prev=x_includes ;; |
---|
| 1076 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 1077 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 1078 | x_includes=$ac_optarg ;; |
---|
| 1079 | |
---|
| 1080 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 1081 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 1082 | ac_prev=x_libraries ;; |
---|
| 1083 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 1084 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 1085 | x_libraries=$ac_optarg ;; |
---|
| 1086 | |
---|
[5177] | 1087 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
---|
| 1088 | Try \`$0 --help' for more information" |
---|
[4599] | 1089 | ;; |
---|
| 1090 | |
---|
| 1091 | *=*) |
---|
| 1092 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 1093 | # Reject names that are not valid shell variable names. |
---|
| 1094 | case $ac_envvar in #( |
---|
| 1095 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
[5177] | 1096 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
---|
[4599] | 1097 | esac |
---|
| 1098 | eval $ac_envvar=\$ac_optarg |
---|
| 1099 | export $ac_envvar ;; |
---|
| 1100 | |
---|
| 1101 | *) |
---|
| 1102 | # FIXME: should be removed in autoconf 3.0. |
---|
| 1103 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 1104 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 1105 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
[5177] | 1106 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
---|
[4599] | 1107 | ;; |
---|
| 1108 | |
---|
| 1109 | esac |
---|
| 1110 | done |
---|
| 1111 | |
---|
| 1112 | if test -n "$ac_prev"; then |
---|
| 1113 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
[5177] | 1114 | as_fn_error $? "missing argument to $ac_option" |
---|
[4599] | 1115 | fi |
---|
| 1116 | |
---|
| 1117 | if test -n "$ac_unrecognized_opts"; then |
---|
| 1118 | case $enable_option_checking in |
---|
| 1119 | no) ;; |
---|
[5177] | 1120 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
---|
[4599] | 1121 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
| 1122 | esac |
---|
| 1123 | fi |
---|
| 1124 | |
---|
| 1125 | # Check all directory arguments for consistency. |
---|
| 1126 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
| 1127 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
| 1128 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
| 1129 | libdir localedir mandir |
---|
| 1130 | do |
---|
| 1131 | eval ac_val=\$$ac_var |
---|
| 1132 | # Remove trailing slashes. |
---|
| 1133 | case $ac_val in |
---|
| 1134 | */ ) |
---|
| 1135 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
| 1136 | eval $ac_var=\$ac_val;; |
---|
| 1137 | esac |
---|
| 1138 | # Be sure to have absolute directory names. |
---|
| 1139 | case $ac_val in |
---|
| 1140 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
| 1141 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
| 1142 | esac |
---|
[5177] | 1143 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
---|
[4599] | 1144 | done |
---|
| 1145 | |
---|
| 1146 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 1147 | # used to hold the argument of --host etc. |
---|
| 1148 | # FIXME: To remove some day. |
---|
| 1149 | build=$build_alias |
---|
| 1150 | host=$host_alias |
---|
| 1151 | target=$target_alias |
---|
| 1152 | |
---|
| 1153 | # FIXME: To remove some day. |
---|
| 1154 | if test "x$host_alias" != x; then |
---|
| 1155 | if test "x$build_alias" = x; then |
---|
| 1156 | cross_compiling=maybe |
---|
[5177] | 1157 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
---|
| 1158 | If a cross compiler is detected then cross compile mode will be used" >&2 |
---|
[4599] | 1159 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 1160 | cross_compiling=yes |
---|
| 1161 | fi |
---|
| 1162 | fi |
---|
| 1163 | |
---|
| 1164 | ac_tool_prefix= |
---|
| 1165 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 1166 | |
---|
| 1167 | test "$silent" = yes && exec 6>/dev/null |
---|
| 1168 | |
---|
| 1169 | |
---|
| 1170 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
| 1171 | ac_ls_di=`ls -di .` && |
---|
| 1172 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
[5177] | 1173 | as_fn_error $? "working directory cannot be determined" |
---|
[4599] | 1174 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
[5177] | 1175 | as_fn_error $? "pwd does not report name of working directory" |
---|
[4599] | 1176 | |
---|
| 1177 | |
---|
| 1178 | # Find the source files, if location was not specified. |
---|
| 1179 | if test -z "$srcdir"; then |
---|
| 1180 | ac_srcdir_defaulted=yes |
---|
| 1181 | # Try the directory containing this script, then the parent directory. |
---|
| 1182 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
| 1183 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 1184 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
| 1185 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
| 1186 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 1187 | $as_echo X"$as_myself" | |
---|
| 1188 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 1189 | s//\1/ |
---|
| 1190 | q |
---|
| 1191 | } |
---|
| 1192 | /^X\(\/\/\)[^/].*/{ |
---|
| 1193 | s//\1/ |
---|
| 1194 | q |
---|
| 1195 | } |
---|
| 1196 | /^X\(\/\/\)$/{ |
---|
| 1197 | s//\1/ |
---|
| 1198 | q |
---|
| 1199 | } |
---|
| 1200 | /^X\(\/\).*/{ |
---|
| 1201 | s//\1/ |
---|
| 1202 | q |
---|
| 1203 | } |
---|
| 1204 | s/.*/./; q'` |
---|
| 1205 | srcdir=$ac_confdir |
---|
| 1206 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1207 | srcdir=.. |
---|
| 1208 | fi |
---|
| 1209 | else |
---|
| 1210 | ac_srcdir_defaulted=no |
---|
| 1211 | fi |
---|
| 1212 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1213 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
[5177] | 1214 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
---|
[4599] | 1215 | fi |
---|
| 1216 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
| 1217 | ac_abs_confdir=`( |
---|
[5177] | 1218 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
---|
[4599] | 1219 | pwd)` |
---|
| 1220 | # When building in place, set srcdir=. |
---|
| 1221 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
| 1222 | srcdir=. |
---|
| 1223 | fi |
---|
| 1224 | # Remove unnecessary trailing slashes from srcdir. |
---|
| 1225 | # Double slashes in file names in object file debugging info |
---|
| 1226 | # mess up M-x gdb in Emacs. |
---|
| 1227 | case $srcdir in |
---|
| 1228 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
| 1229 | esac |
---|
| 1230 | for ac_var in $ac_precious_vars; do |
---|
| 1231 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1232 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
| 1233 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1234 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
| 1235 | done |
---|
| 1236 | |
---|
| 1237 | # |
---|
| 1238 | # Report the --help message. |
---|
| 1239 | # |
---|
| 1240 | if test "$ac_init_help" = "long"; then |
---|
| 1241 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 1242 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 1243 | cat <<_ACEOF |
---|
[6724] | 1244 | \`configure' configures vine-rpm-helper 0.6.5 to adapt to many kinds of systems. |
---|
[4599] | 1245 | |
---|
| 1246 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 1247 | |
---|
| 1248 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 1249 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 1250 | |
---|
| 1251 | Defaults for the options are specified in brackets. |
---|
| 1252 | |
---|
| 1253 | Configuration: |
---|
| 1254 | -h, --help display this help and exit |
---|
| 1255 | --help=short display options specific to this package |
---|
| 1256 | --help=recursive display the short help of all the included packages |
---|
| 1257 | -V, --version display version information and exit |
---|
[5177] | 1258 | -q, --quiet, --silent do not print \`checking ...' messages |
---|
[4599] | 1259 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 1260 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 1261 | -n, --no-create do not create output files |
---|
| 1262 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 1263 | |
---|
| 1264 | Installation directories: |
---|
| 1265 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 1266 | [$ac_default_prefix] |
---|
| 1267 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 1268 | [PREFIX] |
---|
| 1269 | |
---|
| 1270 | By default, \`make install' will install all the files in |
---|
| 1271 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 1272 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 1273 | for instance \`--prefix=\$HOME'. |
---|
| 1274 | |
---|
| 1275 | For better control, use the options below. |
---|
| 1276 | |
---|
| 1277 | Fine tuning of the installation directories: |
---|
| 1278 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 1279 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 1280 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 1281 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 1282 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 1283 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 1284 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 1285 | --includedir=DIR C header files [PREFIX/include] |
---|
| 1286 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
| 1287 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
| 1288 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
| 1289 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
| 1290 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
| 1291 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
| 1292 | --docdir=DIR documentation root [DATAROOTDIR/doc/vine-rpm-helper] |
---|
| 1293 | --htmldir=DIR html documentation [DOCDIR] |
---|
| 1294 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
| 1295 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
| 1296 | --psdir=DIR ps documentation [DOCDIR] |
---|
| 1297 | _ACEOF |
---|
| 1298 | |
---|
| 1299 | cat <<\_ACEOF |
---|
| 1300 | |
---|
| 1301 | Program names: |
---|
| 1302 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
| 1303 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
| 1304 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
[4925] | 1305 | |
---|
| 1306 | System types: |
---|
| 1307 | --build=BUILD configure for building on BUILD [guessed] |
---|
| 1308 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
---|
[4599] | 1309 | _ACEOF |
---|
| 1310 | fi |
---|
| 1311 | |
---|
| 1312 | if test -n "$ac_init_help"; then |
---|
| 1313 | case $ac_init_help in |
---|
[6724] | 1314 | short | recursive ) echo "Configuration of vine-rpm-helper 0.6.5:";; |
---|
[4599] | 1315 | esac |
---|
| 1316 | cat <<\_ACEOF |
---|
| 1317 | |
---|
| 1318 | Optional Features: |
---|
| 1319 | --disable-option-checking ignore unrecognized --enable/--with options |
---|
| 1320 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
| 1321 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
| 1322 | --enable-maintainer-mode enable make rules and dependencies not useful |
---|
| 1323 | (and sometimes confusing) to the casual installer |
---|
[4925] | 1324 | --disable-nls do not use Native Language Support |
---|
| 1325 | --disable-dependency-tracking speeds up one-time build |
---|
| 1326 | --enable-dependency-tracking do not reject slow dependency extractors |
---|
| 1327 | --disable-rpath do not hardcode runtime library paths |
---|
[4599] | 1328 | |
---|
[4925] | 1329 | Optional Packages: |
---|
| 1330 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
| 1331 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
| 1332 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
---|
| 1333 | --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib |
---|
| 1334 | --without-libiconv-prefix don't search for libiconv in includedir and libdir |
---|
| 1335 | --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib |
---|
| 1336 | --without-libintl-prefix don't search for libintl in includedir and libdir |
---|
| 1337 | |
---|
| 1338 | Some influential environment variables: |
---|
| 1339 | CC C compiler command |
---|
| 1340 | CFLAGS C compiler flags |
---|
| 1341 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
| 1342 | nonstandard directory <lib dir> |
---|
| 1343 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
| 1344 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
---|
| 1345 | you have headers in a nonstandard directory <include dir> |
---|
| 1346 | CPP C preprocessor |
---|
| 1347 | |
---|
| 1348 | Use these variables to override the choices made by `configure' or to help |
---|
| 1349 | it to find libraries and programs with nonstandard names/locations. |
---|
| 1350 | |
---|
[4599] | 1351 | Report bugs to <http://bts.vinelinux.org/>. |
---|
| 1352 | _ACEOF |
---|
| 1353 | ac_status=$? |
---|
| 1354 | fi |
---|
| 1355 | |
---|
| 1356 | if test "$ac_init_help" = "recursive"; then |
---|
| 1357 | # If there are subdirs, report their specific --help. |
---|
| 1358 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
| 1359 | test -d "$ac_dir" || |
---|
| 1360 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
| 1361 | continue |
---|
| 1362 | ac_builddir=. |
---|
| 1363 | |
---|
| 1364 | case "$ac_dir" in |
---|
| 1365 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1366 | *) |
---|
| 1367 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 1368 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 1369 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 1370 | case $ac_top_builddir_sub in |
---|
| 1371 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1372 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 1373 | esac ;; |
---|
| 1374 | esac |
---|
| 1375 | ac_abs_top_builddir=$ac_pwd |
---|
| 1376 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 1377 | # for backward compatibility: |
---|
| 1378 | ac_top_builddir=$ac_top_build_prefix |
---|
| 1379 | |
---|
| 1380 | case $srcdir in |
---|
| 1381 | .) # We are building in place. |
---|
| 1382 | ac_srcdir=. |
---|
| 1383 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 1384 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 1385 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 1386 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 1387 | ac_top_srcdir=$srcdir |
---|
| 1388 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 1389 | *) # Relative name. |
---|
| 1390 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 1391 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 1392 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 1393 | esac |
---|
| 1394 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 1395 | |
---|
| 1396 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
| 1397 | # Check for guested configure. |
---|
| 1398 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 1399 | echo && |
---|
| 1400 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
| 1401 | elif test -f "$ac_srcdir/configure"; then |
---|
| 1402 | echo && |
---|
| 1403 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
| 1404 | else |
---|
| 1405 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
| 1406 | fi || ac_status=$? |
---|
| 1407 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
| 1408 | done |
---|
| 1409 | fi |
---|
| 1410 | |
---|
| 1411 | test -n "$ac_init_help" && exit $ac_status |
---|
| 1412 | if $ac_init_version; then |
---|
| 1413 | cat <<\_ACEOF |
---|
[6724] | 1414 | vine-rpm-helper configure 0.6.5 |
---|
[5177] | 1415 | generated by GNU Autoconf 2.68 |
---|
[4599] | 1416 | |
---|
[5177] | 1417 | Copyright (C) 2010 Free Software Foundation, Inc. |
---|
[4599] | 1418 | This configure script is free software; the Free Software Foundation |
---|
| 1419 | gives unlimited permission to copy, distribute and modify it. |
---|
| 1420 | _ACEOF |
---|
| 1421 | exit |
---|
| 1422 | fi |
---|
| 1423 | |
---|
| 1424 | ## ------------------------ ## |
---|
| 1425 | ## Autoconf initialization. ## |
---|
| 1426 | ## ------------------------ ## |
---|
[4925] | 1427 | |
---|
| 1428 | # ac_fn_c_try_compile LINENO |
---|
| 1429 | # -------------------------- |
---|
| 1430 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
| 1431 | ac_fn_c_try_compile () |
---|
| 1432 | { |
---|
| 1433 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1434 | rm -f conftest.$ac_objext |
---|
| 1435 | if { { ac_try="$ac_compile" |
---|
| 1436 | case "(($ac_try" in |
---|
| 1437 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1438 | *) ac_try_echo=$ac_try;; |
---|
| 1439 | esac |
---|
| 1440 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1441 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1442 | (eval "$ac_compile") 2>conftest.err |
---|
| 1443 | ac_status=$? |
---|
| 1444 | if test -s conftest.err; then |
---|
| 1445 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1446 | cat conftest.er1 >&5 |
---|
| 1447 | mv -f conftest.er1 conftest.err |
---|
| 1448 | fi |
---|
| 1449 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1450 | test $ac_status = 0; } && { |
---|
| 1451 | test -z "$ac_c_werror_flag" || |
---|
| 1452 | test ! -s conftest.err |
---|
| 1453 | } && test -s conftest.$ac_objext; then : |
---|
| 1454 | ac_retval=0 |
---|
| 1455 | else |
---|
| 1456 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1457 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1458 | |
---|
| 1459 | ac_retval=1 |
---|
| 1460 | fi |
---|
[5177] | 1461 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
[4925] | 1462 | as_fn_set_status $ac_retval |
---|
| 1463 | |
---|
| 1464 | } # ac_fn_c_try_compile |
---|
| 1465 | |
---|
| 1466 | # ac_fn_c_try_cpp LINENO |
---|
| 1467 | # ---------------------- |
---|
| 1468 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
---|
| 1469 | ac_fn_c_try_cpp () |
---|
| 1470 | { |
---|
| 1471 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1472 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 1473 | case "(($ac_try" in |
---|
| 1474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1475 | *) ac_try_echo=$ac_try;; |
---|
| 1476 | esac |
---|
| 1477 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1478 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1479 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
---|
| 1480 | ac_status=$? |
---|
| 1481 | if test -s conftest.err; then |
---|
| 1482 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1483 | cat conftest.er1 >&5 |
---|
| 1484 | mv -f conftest.er1 conftest.err |
---|
| 1485 | fi |
---|
| 1486 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
[5177] | 1487 | test $ac_status = 0; } > conftest.i && { |
---|
[4925] | 1488 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
| 1489 | test ! -s conftest.err |
---|
| 1490 | }; then : |
---|
| 1491 | ac_retval=0 |
---|
| 1492 | else |
---|
| 1493 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1494 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1495 | |
---|
| 1496 | ac_retval=1 |
---|
| 1497 | fi |
---|
[5177] | 1498 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
[4925] | 1499 | as_fn_set_status $ac_retval |
---|
| 1500 | |
---|
| 1501 | } # ac_fn_c_try_cpp |
---|
| 1502 | |
---|
| 1503 | # ac_fn_c_try_link LINENO |
---|
| 1504 | # ----------------------- |
---|
| 1505 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
---|
| 1506 | ac_fn_c_try_link () |
---|
| 1507 | { |
---|
| 1508 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1509 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 1510 | if { { ac_try="$ac_link" |
---|
| 1511 | case "(($ac_try" in |
---|
| 1512 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1513 | *) ac_try_echo=$ac_try;; |
---|
| 1514 | esac |
---|
| 1515 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1516 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1517 | (eval "$ac_link") 2>conftest.err |
---|
| 1518 | ac_status=$? |
---|
| 1519 | if test -s conftest.err; then |
---|
| 1520 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1521 | cat conftest.er1 >&5 |
---|
| 1522 | mv -f conftest.er1 conftest.err |
---|
| 1523 | fi |
---|
| 1524 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1525 | test $ac_status = 0; } && { |
---|
| 1526 | test -z "$ac_c_werror_flag" || |
---|
| 1527 | test ! -s conftest.err |
---|
| 1528 | } && test -s conftest$ac_exeext && { |
---|
| 1529 | test "$cross_compiling" = yes || |
---|
| 1530 | $as_test_x conftest$ac_exeext |
---|
| 1531 | }; then : |
---|
| 1532 | ac_retval=0 |
---|
| 1533 | else |
---|
| 1534 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1535 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1536 | |
---|
| 1537 | ac_retval=1 |
---|
| 1538 | fi |
---|
| 1539 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
---|
| 1540 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
---|
| 1541 | # interfere with the next link command; also delete a directory that is |
---|
| 1542 | # left behind by Apple's compiler. We do this before executing the actions. |
---|
| 1543 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
[5177] | 1544 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
[4925] | 1545 | as_fn_set_status $ac_retval |
---|
| 1546 | |
---|
| 1547 | } # ac_fn_c_try_link |
---|
| 1548 | |
---|
| 1549 | # ac_fn_c_try_run LINENO |
---|
| 1550 | # ---------------------- |
---|
| 1551 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
---|
| 1552 | # that executables *can* be run. |
---|
| 1553 | ac_fn_c_try_run () |
---|
| 1554 | { |
---|
| 1555 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1556 | if { { ac_try="$ac_link" |
---|
| 1557 | case "(($ac_try" in |
---|
| 1558 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1559 | *) ac_try_echo=$ac_try;; |
---|
| 1560 | esac |
---|
| 1561 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1562 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1563 | (eval "$ac_link") 2>&5 |
---|
| 1564 | ac_status=$? |
---|
| 1565 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1566 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
---|
| 1567 | { { case "(($ac_try" in |
---|
| 1568 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1569 | *) ac_try_echo=$ac_try;; |
---|
| 1570 | esac |
---|
| 1571 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1572 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1573 | (eval "$ac_try") 2>&5 |
---|
| 1574 | ac_status=$? |
---|
| 1575 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1576 | test $ac_status = 0; }; }; then : |
---|
| 1577 | ac_retval=0 |
---|
| 1578 | else |
---|
| 1579 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 1580 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1581 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1582 | |
---|
| 1583 | ac_retval=$ac_status |
---|
| 1584 | fi |
---|
| 1585 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
[5177] | 1586 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
[4925] | 1587 | as_fn_set_status $ac_retval |
---|
| 1588 | |
---|
| 1589 | } # ac_fn_c_try_run |
---|
[4599] | 1590 | cat >config.log <<_ACEOF |
---|
| 1591 | This file contains any messages produced by compilers while |
---|
| 1592 | running configure, to aid debugging if configure makes a mistake. |
---|
| 1593 | |
---|
[6724] | 1594 | It was created by vine-rpm-helper $as_me 0.6.5, which was |
---|
[5177] | 1595 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
[4599] | 1596 | |
---|
| 1597 | $ $0 $@ |
---|
| 1598 | |
---|
| 1599 | _ACEOF |
---|
| 1600 | exec 5>>config.log |
---|
| 1601 | { |
---|
| 1602 | cat <<_ASUNAME |
---|
| 1603 | ## --------- ## |
---|
| 1604 | ## Platform. ## |
---|
| 1605 | ## --------- ## |
---|
| 1606 | |
---|
| 1607 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 1608 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 1609 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 1610 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 1611 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 1612 | |
---|
| 1613 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 1614 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 1615 | |
---|
| 1616 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 1617 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 1618 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
| 1619 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
| 1620 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 1621 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 1622 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 1623 | |
---|
| 1624 | _ASUNAME |
---|
| 1625 | |
---|
| 1626 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1627 | for as_dir in $PATH |
---|
| 1628 | do |
---|
| 1629 | IFS=$as_save_IFS |
---|
| 1630 | test -z "$as_dir" && as_dir=. |
---|
| 1631 | $as_echo "PATH: $as_dir" |
---|
| 1632 | done |
---|
| 1633 | IFS=$as_save_IFS |
---|
| 1634 | |
---|
| 1635 | } >&5 |
---|
| 1636 | |
---|
| 1637 | cat >&5 <<_ACEOF |
---|
| 1638 | |
---|
| 1639 | |
---|
| 1640 | ## ----------- ## |
---|
| 1641 | ## Core tests. ## |
---|
| 1642 | ## ----------- ## |
---|
| 1643 | |
---|
| 1644 | _ACEOF |
---|
| 1645 | |
---|
| 1646 | |
---|
| 1647 | # Keep a trace of the command line. |
---|
| 1648 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 1649 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 1650 | # Also quote any args containing shell meta-characters. |
---|
| 1651 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 1652 | ac_configure_args= |
---|
| 1653 | ac_configure_args0= |
---|
| 1654 | ac_configure_args1= |
---|
| 1655 | ac_must_keep_next=false |
---|
| 1656 | for ac_pass in 1 2 |
---|
| 1657 | do |
---|
| 1658 | for ac_arg |
---|
| 1659 | do |
---|
| 1660 | case $ac_arg in |
---|
| 1661 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 1662 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1663 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1664 | continue ;; |
---|
| 1665 | *\'*) |
---|
| 1666 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1667 | esac |
---|
| 1668 | case $ac_pass in |
---|
| 1669 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
| 1670 | 2) |
---|
| 1671 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
| 1672 | if test $ac_must_keep_next = true; then |
---|
| 1673 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 1674 | else |
---|
| 1675 | case $ac_arg in |
---|
| 1676 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 1677 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 1678 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 1679 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 1680 | case "$ac_configure_args0 " in |
---|
| 1681 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 1682 | esac |
---|
| 1683 | ;; |
---|
| 1684 | -* ) ac_must_keep_next=true ;; |
---|
| 1685 | esac |
---|
| 1686 | fi |
---|
| 1687 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
| 1688 | ;; |
---|
| 1689 | esac |
---|
| 1690 | done |
---|
| 1691 | done |
---|
| 1692 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
| 1693 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
| 1694 | |
---|
| 1695 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 1696 | # config.log. We remove comments because anyway the quotes in there |
---|
| 1697 | # would cause problems or look ugly. |
---|
| 1698 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
| 1699 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
| 1700 | trap 'exit_status=$? |
---|
| 1701 | # Save into config.log some information that might help in debugging. |
---|
| 1702 | { |
---|
| 1703 | echo |
---|
| 1704 | |
---|
[5177] | 1705 | $as_echo "## ---------------- ## |
---|
[4599] | 1706 | ## Cache variables. ## |
---|
[5177] | 1707 | ## ---------------- ##" |
---|
[4599] | 1708 | echo |
---|
| 1709 | # The following way of writing the cache mishandles newlines in values, |
---|
| 1710 | ( |
---|
| 1711 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
| 1712 | eval ac_val=\$$ac_var |
---|
| 1713 | case $ac_val in #( |
---|
| 1714 | *${as_nl}*) |
---|
| 1715 | case $ac_var in #( |
---|
| 1716 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 1717 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 1718 | esac |
---|
| 1719 | case $ac_var in #( |
---|
| 1720 | _ | IFS | as_nl) ;; #( |
---|
| 1721 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 1722 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 1723 | esac ;; |
---|
| 1724 | esac |
---|
| 1725 | done |
---|
| 1726 | (set) 2>&1 | |
---|
| 1727 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
| 1728 | *${as_nl}ac_space=\ *) |
---|
| 1729 | sed -n \ |
---|
| 1730 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
| 1731 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
| 1732 | ;; #( |
---|
| 1733 | *) |
---|
| 1734 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 1735 | ;; |
---|
| 1736 | esac | |
---|
| 1737 | sort |
---|
| 1738 | ) |
---|
| 1739 | echo |
---|
| 1740 | |
---|
[5177] | 1741 | $as_echo "## ----------------- ## |
---|
[4599] | 1742 | ## Output variables. ## |
---|
[5177] | 1743 | ## ----------------- ##" |
---|
[4599] | 1744 | echo |
---|
| 1745 | for ac_var in $ac_subst_vars |
---|
| 1746 | do |
---|
| 1747 | eval ac_val=\$$ac_var |
---|
| 1748 | case $ac_val in |
---|
| 1749 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1750 | esac |
---|
| 1751 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 1752 | done | sort |
---|
| 1753 | echo |
---|
| 1754 | |
---|
| 1755 | if test -n "$ac_subst_files"; then |
---|
[5177] | 1756 | $as_echo "## ------------------- ## |
---|
[4599] | 1757 | ## File substitutions. ## |
---|
[5177] | 1758 | ## ------------------- ##" |
---|
[4599] | 1759 | echo |
---|
| 1760 | for ac_var in $ac_subst_files |
---|
| 1761 | do |
---|
| 1762 | eval ac_val=\$$ac_var |
---|
| 1763 | case $ac_val in |
---|
| 1764 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 1765 | esac |
---|
| 1766 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 1767 | done | sort |
---|
| 1768 | echo |
---|
| 1769 | fi |
---|
| 1770 | |
---|
| 1771 | if test -s confdefs.h; then |
---|
[5177] | 1772 | $as_echo "## ----------- ## |
---|
[4599] | 1773 | ## confdefs.h. ## |
---|
[5177] | 1774 | ## ----------- ##" |
---|
[4599] | 1775 | echo |
---|
| 1776 | cat confdefs.h |
---|
| 1777 | echo |
---|
| 1778 | fi |
---|
| 1779 | test "$ac_signal" != 0 && |
---|
| 1780 | $as_echo "$as_me: caught signal $ac_signal" |
---|
| 1781 | $as_echo "$as_me: exit $exit_status" |
---|
| 1782 | } >&5 |
---|
| 1783 | rm -f core *.core core.conftest.* && |
---|
| 1784 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
| 1785 | exit $exit_status |
---|
| 1786 | ' 0 |
---|
| 1787 | for ac_signal in 1 2 13 15; do |
---|
| 1788 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
| 1789 | done |
---|
| 1790 | ac_signal=0 |
---|
| 1791 | |
---|
| 1792 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 1793 | rm -f -r conftest* confdefs.h |
---|
| 1794 | |
---|
| 1795 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
| 1796 | |
---|
| 1797 | # Predefined preprocessor variables. |
---|
| 1798 | |
---|
| 1799 | cat >>confdefs.h <<_ACEOF |
---|
| 1800 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 1801 | _ACEOF |
---|
| 1802 | |
---|
| 1803 | cat >>confdefs.h <<_ACEOF |
---|
| 1804 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 1805 | _ACEOF |
---|
| 1806 | |
---|
| 1807 | cat >>confdefs.h <<_ACEOF |
---|
| 1808 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 1809 | _ACEOF |
---|
| 1810 | |
---|
| 1811 | cat >>confdefs.h <<_ACEOF |
---|
| 1812 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 1813 | _ACEOF |
---|
| 1814 | |
---|
| 1815 | cat >>confdefs.h <<_ACEOF |
---|
| 1816 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 1817 | _ACEOF |
---|
| 1818 | |
---|
| 1819 | cat >>confdefs.h <<_ACEOF |
---|
| 1820 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
| 1821 | _ACEOF |
---|
| 1822 | |
---|
| 1823 | |
---|
| 1824 | # Let the site file select an alternate cache file if it wants to. |
---|
| 1825 | # Prefer an explicitly selected file to automatically selected ones. |
---|
| 1826 | ac_site_file1=NONE |
---|
| 1827 | ac_site_file2=NONE |
---|
| 1828 | if test -n "$CONFIG_SITE"; then |
---|
[5177] | 1829 | # We do not want a PATH search for config.site. |
---|
| 1830 | case $CONFIG_SITE in #(( |
---|
| 1831 | -*) ac_site_file1=./$CONFIG_SITE;; |
---|
| 1832 | */*) ac_site_file1=$CONFIG_SITE;; |
---|
| 1833 | *) ac_site_file1=./$CONFIG_SITE;; |
---|
| 1834 | esac |
---|
[4599] | 1835 | elif test "x$prefix" != xNONE; then |
---|
| 1836 | ac_site_file1=$prefix/share/config.site |
---|
| 1837 | ac_site_file2=$prefix/etc/config.site |
---|
| 1838 | else |
---|
| 1839 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
| 1840 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
| 1841 | fi |
---|
| 1842 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
| 1843 | do |
---|
| 1844 | test "x$ac_site_file" = xNONE && continue |
---|
| 1845 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
| 1846 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
| 1847 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 1848 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
[5177] | 1849 | . "$ac_site_file" \ |
---|
| 1850 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 1851 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 1852 | as_fn_error $? "failed to load site script $ac_site_file |
---|
| 1853 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[4599] | 1854 | fi |
---|
| 1855 | done |
---|
| 1856 | |
---|
| 1857 | if test -r "$cache_file"; then |
---|
| 1858 | # Some versions of bash will fail to source /dev/null (special files |
---|
| 1859 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
| 1860 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
| 1861 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
| 1862 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 1863 | case $cache_file in |
---|
| 1864 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
| 1865 | *) . "./$cache_file";; |
---|
| 1866 | esac |
---|
| 1867 | fi |
---|
| 1868 | else |
---|
| 1869 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
| 1870 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 1871 | >$cache_file |
---|
| 1872 | fi |
---|
| 1873 | |
---|
[4925] | 1874 | gt_needs="$gt_needs " |
---|
[4599] | 1875 | # Check that the precious variables saved in the cache have kept the same |
---|
| 1876 | # value. |
---|
| 1877 | ac_cache_corrupted=false |
---|
| 1878 | for ac_var in $ac_precious_vars; do |
---|
| 1879 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 1880 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
| 1881 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
| 1882 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
| 1883 | case $ac_old_set,$ac_new_set in |
---|
| 1884 | set,) |
---|
| 1885 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 1886 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 1887 | ac_cache_corrupted=: ;; |
---|
| 1888 | ,set) |
---|
| 1889 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 1890 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 1891 | ac_cache_corrupted=: ;; |
---|
| 1892 | ,);; |
---|
| 1893 | *) |
---|
| 1894 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 1895 | # differences in whitespace do not lead to failure. |
---|
| 1896 | ac_old_val_w=`echo x $ac_old_val` |
---|
| 1897 | ac_new_val_w=`echo x $ac_new_val` |
---|
| 1898 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
| 1899 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 1900 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 1901 | ac_cache_corrupted=: |
---|
| 1902 | else |
---|
| 1903 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
| 1904 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
| 1905 | eval $ac_var=\$ac_old_val |
---|
| 1906 | fi |
---|
| 1907 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
| 1908 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
| 1909 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
| 1910 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
| 1911 | fi;; |
---|
| 1912 | esac |
---|
| 1913 | # Pass precious variables to config.status. |
---|
| 1914 | if test "$ac_new_set" = set; then |
---|
| 1915 | case $ac_new_val in |
---|
| 1916 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 1917 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 1918 | esac |
---|
| 1919 | case " $ac_configure_args " in |
---|
| 1920 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 1921 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
| 1922 | esac |
---|
| 1923 | fi |
---|
| 1924 | done |
---|
| 1925 | if $ac_cache_corrupted; then |
---|
| 1926 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 1927 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 1928 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
| 1929 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
[5177] | 1930 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
[4599] | 1931 | fi |
---|
| 1932 | ## -------------------- ## |
---|
| 1933 | ## Main body of script. ## |
---|
| 1934 | ## -------------------- ## |
---|
| 1935 | |
---|
| 1936 | ac_ext=c |
---|
| 1937 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1938 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 1939 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 1940 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 1941 | |
---|
| 1942 | |
---|
| 1943 | am__api_version='1.11' |
---|
| 1944 | |
---|
| 1945 | ac_aux_dir= |
---|
| 1946 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
---|
[5177] | 1947 | if test -f "$ac_dir/install-sh"; then |
---|
| 1948 | ac_aux_dir=$ac_dir |
---|
| 1949 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
| 1950 | break |
---|
| 1951 | elif test -f "$ac_dir/install.sh"; then |
---|
| 1952 | ac_aux_dir=$ac_dir |
---|
| 1953 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
| 1954 | break |
---|
| 1955 | elif test -f "$ac_dir/shtool"; then |
---|
| 1956 | ac_aux_dir=$ac_dir |
---|
| 1957 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
| 1958 | break |
---|
| 1959 | fi |
---|
[4599] | 1960 | done |
---|
| 1961 | if test -z "$ac_aux_dir"; then |
---|
[5177] | 1962 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
---|
[4599] | 1963 | fi |
---|
| 1964 | |
---|
| 1965 | # These three variables are undocumented and unsupported, |
---|
| 1966 | # and are intended to be withdrawn in a future Autoconf release. |
---|
| 1967 | # They can cause serious problems if a builder's source tree is in a directory |
---|
| 1968 | # whose full name contains unusual characters. |
---|
| 1969 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
| 1970 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
| 1971 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
| 1972 | |
---|
| 1973 | |
---|
| 1974 | # Find a good install program. We prefer a C program (faster), |
---|
| 1975 | # so one script is as good as another. But avoid the broken or |
---|
| 1976 | # incompatible versions: |
---|
| 1977 | # SysV /etc/install, /usr/sbin/install |
---|
| 1978 | # SunOS /usr/etc/install |
---|
| 1979 | # IRIX /sbin/install |
---|
| 1980 | # AIX /bin/install |
---|
| 1981 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
| 1982 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
| 1983 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 1984 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
| 1985 | # OS/2's system install, which has a completely different semantic |
---|
| 1986 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
| 1987 | # Reject install programs that cannot install multiple files. |
---|
| 1988 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
---|
| 1989 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
| 1990 | if test -z "$INSTALL"; then |
---|
[5177] | 1991 | if ${ac_cv_path_install+:} false; then : |
---|
[4599] | 1992 | $as_echo_n "(cached) " >&6 |
---|
| 1993 | else |
---|
| 1994 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1995 | for as_dir in $PATH |
---|
| 1996 | do |
---|
| 1997 | IFS=$as_save_IFS |
---|
| 1998 | test -z "$as_dir" && as_dir=. |
---|
| 1999 | # Account for people who put trailing slashes in PATH elements. |
---|
| 2000 | case $as_dir/ in #(( |
---|
| 2001 | ./ | .// | /[cC]/* | \ |
---|
| 2002 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
| 2003 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
---|
| 2004 | /usr/ucb/* ) ;; |
---|
| 2005 | *) |
---|
| 2006 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 2007 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 2008 | # by default. |
---|
| 2009 | for ac_prog in ginstall scoinst install; do |
---|
| 2010 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2011 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
| 2012 | if test $ac_prog = install && |
---|
| 2013 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 2014 | # AIX install. It has an incompatible calling convention. |
---|
| 2015 | : |
---|
| 2016 | elif test $ac_prog = install && |
---|
| 2017 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 2018 | # program-specific install script used by HP pwplus--don't use. |
---|
| 2019 | : |
---|
| 2020 | else |
---|
| 2021 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 2022 | echo one > conftest.one |
---|
| 2023 | echo two > conftest.two |
---|
| 2024 | mkdir conftest.dir |
---|
| 2025 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
| 2026 | test -s conftest.one && test -s conftest.two && |
---|
| 2027 | test -s conftest.dir/conftest.one && |
---|
| 2028 | test -s conftest.dir/conftest.two |
---|
| 2029 | then |
---|
| 2030 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
| 2031 | break 3 |
---|
| 2032 | fi |
---|
| 2033 | fi |
---|
| 2034 | fi |
---|
| 2035 | done |
---|
| 2036 | done |
---|
| 2037 | ;; |
---|
| 2038 | esac |
---|
| 2039 | |
---|
| 2040 | done |
---|
| 2041 | IFS=$as_save_IFS |
---|
| 2042 | |
---|
| 2043 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 2044 | |
---|
| 2045 | fi |
---|
| 2046 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 2047 | INSTALL=$ac_cv_path_install |
---|
| 2048 | else |
---|
| 2049 | # As a last resort, use the slow shell script. Don't cache a |
---|
| 2050 | # value for INSTALL within a source directory, because that will |
---|
| 2051 | # break other packages using the cache if that directory is |
---|
| 2052 | # removed, or if the value is a relative name. |
---|
| 2053 | INSTALL=$ac_install_sh |
---|
| 2054 | fi |
---|
| 2055 | fi |
---|
| 2056 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
---|
| 2057 | $as_echo "$INSTALL" >&6; } |
---|
| 2058 | |
---|
| 2059 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 2060 | # It thinks the first close brace ends the variable substitution. |
---|
| 2061 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 2062 | |
---|
| 2063 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
| 2064 | |
---|
| 2065 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 2066 | |
---|
| 2067 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
---|
| 2068 | $as_echo_n "checking whether build environment is sane... " >&6; } |
---|
| 2069 | # Just in case |
---|
| 2070 | sleep 1 |
---|
| 2071 | echo timestamp > conftest.file |
---|
| 2072 | # Reject unsafe characters in $srcdir or the absolute working directory |
---|
| 2073 | # name. Accept space and tab only in the latter. |
---|
| 2074 | am_lf=' |
---|
| 2075 | ' |
---|
| 2076 | case `pwd` in |
---|
| 2077 | *[\\\"\#\$\&\'\`$am_lf]*) |
---|
[5177] | 2078 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
---|
[4599] | 2079 | esac |
---|
| 2080 | case $srcdir in |
---|
| 2081 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
---|
[5177] | 2082 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
---|
[4599] | 2083 | esac |
---|
| 2084 | |
---|
| 2085 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
| 2086 | # arguments. Must try -L first in case configure is actually a |
---|
| 2087 | # symlink; some systems play weird games with the mod time of symlinks |
---|
| 2088 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
| 2089 | # directory). |
---|
| 2090 | if ( |
---|
| 2091 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
---|
| 2092 | if test "$*" = "X"; then |
---|
| 2093 | # -L didn't work. |
---|
| 2094 | set X `ls -t "$srcdir/configure" conftest.file` |
---|
| 2095 | fi |
---|
| 2096 | rm -f conftest.file |
---|
| 2097 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
| 2098 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
| 2099 | |
---|
| 2100 | # If neither matched, then we have a broken ls. This can happen |
---|
| 2101 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
| 2102 | # broken ls alias from the environment. This has actually |
---|
| 2103 | # happened. Such a system could not be considered "sane". |
---|
[5177] | 2104 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
---|
[4599] | 2105 | alias in your environment" "$LINENO" 5 |
---|
| 2106 | fi |
---|
| 2107 | |
---|
| 2108 | test "$2" = conftest.file |
---|
| 2109 | ) |
---|
| 2110 | then |
---|
| 2111 | # Ok. |
---|
| 2112 | : |
---|
| 2113 | else |
---|
[5177] | 2114 | as_fn_error $? "newly created file is older than distributed files! |
---|
[4599] | 2115 | Check your system clock" "$LINENO" 5 |
---|
| 2116 | fi |
---|
| 2117 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 2118 | $as_echo "yes" >&6; } |
---|
| 2119 | test "$program_prefix" != NONE && |
---|
| 2120 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
---|
| 2121 | # Use a double $ so make ignores it. |
---|
| 2122 | test "$program_suffix" != NONE && |
---|
| 2123 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
---|
| 2124 | # Double any \ or $. |
---|
| 2125 | # By default was `s,x,x', remove it if useless. |
---|
| 2126 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
---|
| 2127 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
---|
| 2128 | |
---|
| 2129 | # expand $ac_aux_dir to an absolute path |
---|
| 2130 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
| 2131 | |
---|
| 2132 | if test x"${MISSING+set}" != xset; then |
---|
| 2133 | case $am_aux_dir in |
---|
| 2134 | *\ * | *\ *) |
---|
| 2135 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
---|
| 2136 | *) |
---|
| 2137 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
---|
| 2138 | esac |
---|
| 2139 | fi |
---|
| 2140 | # Use eval to expand $SHELL |
---|
| 2141 | if eval "$MISSING --run true"; then |
---|
| 2142 | am_missing_run="$MISSING --run " |
---|
| 2143 | else |
---|
| 2144 | am_missing_run= |
---|
| 2145 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
---|
| 2146 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
---|
| 2147 | fi |
---|
| 2148 | |
---|
| 2149 | if test x"${install_sh}" != xset; then |
---|
| 2150 | case $am_aux_dir in |
---|
| 2151 | *\ * | *\ *) |
---|
| 2152 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
---|
| 2153 | *) |
---|
| 2154 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
---|
| 2155 | esac |
---|
| 2156 | fi |
---|
| 2157 | |
---|
| 2158 | # Installed binaries are usually stripped using `strip' when the user |
---|
| 2159 | # run `make install-strip'. However `strip' might not be the right |
---|
| 2160 | # tool to use in cross-compilation environments, therefore Automake |
---|
| 2161 | # will honor the `STRIP' environment variable to overrule this program. |
---|
| 2162 | if test "$cross_compiling" != no; then |
---|
| 2163 | if test -n "$ac_tool_prefix"; then |
---|
| 2164 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
| 2165 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
| 2166 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2167 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 2168 | if ${ac_cv_prog_STRIP+:} false; then : |
---|
[4599] | 2169 | $as_echo_n "(cached) " >&6 |
---|
| 2170 | else |
---|
| 2171 | if test -n "$STRIP"; then |
---|
| 2172 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
| 2173 | else |
---|
| 2174 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2175 | for as_dir in $PATH |
---|
| 2176 | do |
---|
| 2177 | IFS=$as_save_IFS |
---|
| 2178 | test -z "$as_dir" && as_dir=. |
---|
| 2179 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2180 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2181 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
| 2182 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2183 | break 2 |
---|
| 2184 | fi |
---|
| 2185 | done |
---|
| 2186 | done |
---|
| 2187 | IFS=$as_save_IFS |
---|
| 2188 | |
---|
| 2189 | fi |
---|
| 2190 | fi |
---|
| 2191 | STRIP=$ac_cv_prog_STRIP |
---|
| 2192 | if test -n "$STRIP"; then |
---|
| 2193 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
---|
| 2194 | $as_echo "$STRIP" >&6; } |
---|
| 2195 | else |
---|
| 2196 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2197 | $as_echo "no" >&6; } |
---|
| 2198 | fi |
---|
| 2199 | |
---|
| 2200 | |
---|
| 2201 | fi |
---|
| 2202 | if test -z "$ac_cv_prog_STRIP"; then |
---|
| 2203 | ac_ct_STRIP=$STRIP |
---|
| 2204 | # Extract the first word of "strip", so it can be a program name with args. |
---|
| 2205 | set dummy strip; ac_word=$2 |
---|
| 2206 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2207 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 2208 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
---|
[4599] | 2209 | $as_echo_n "(cached) " >&6 |
---|
| 2210 | else |
---|
| 2211 | if test -n "$ac_ct_STRIP"; then |
---|
| 2212 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
| 2213 | else |
---|
| 2214 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2215 | for as_dir in $PATH |
---|
| 2216 | do |
---|
| 2217 | IFS=$as_save_IFS |
---|
| 2218 | test -z "$as_dir" && as_dir=. |
---|
| 2219 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2220 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2221 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
| 2222 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2223 | break 2 |
---|
| 2224 | fi |
---|
| 2225 | done |
---|
| 2226 | done |
---|
| 2227 | IFS=$as_save_IFS |
---|
| 2228 | |
---|
| 2229 | fi |
---|
| 2230 | fi |
---|
| 2231 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
| 2232 | if test -n "$ac_ct_STRIP"; then |
---|
| 2233 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
---|
| 2234 | $as_echo "$ac_ct_STRIP" >&6; } |
---|
| 2235 | else |
---|
| 2236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2237 | $as_echo "no" >&6; } |
---|
| 2238 | fi |
---|
| 2239 | |
---|
| 2240 | if test "x$ac_ct_STRIP" = x; then |
---|
| 2241 | STRIP=":" |
---|
| 2242 | else |
---|
| 2243 | case $cross_compiling:$ac_tool_warned in |
---|
| 2244 | yes:) |
---|
| 2245 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 2246 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 2247 | ac_tool_warned=yes ;; |
---|
| 2248 | esac |
---|
| 2249 | STRIP=$ac_ct_STRIP |
---|
| 2250 | fi |
---|
| 2251 | else |
---|
| 2252 | STRIP="$ac_cv_prog_STRIP" |
---|
| 2253 | fi |
---|
| 2254 | |
---|
| 2255 | fi |
---|
| 2256 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
---|
| 2257 | |
---|
| 2258 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
---|
| 2259 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
---|
| 2260 | if test -z "$MKDIR_P"; then |
---|
[5177] | 2261 | if ${ac_cv_path_mkdir+:} false; then : |
---|
[4599] | 2262 | $as_echo_n "(cached) " >&6 |
---|
| 2263 | else |
---|
| 2264 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2265 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
---|
| 2266 | do |
---|
| 2267 | IFS=$as_save_IFS |
---|
| 2268 | test -z "$as_dir" && as_dir=. |
---|
| 2269 | for ac_prog in mkdir gmkdir; do |
---|
| 2270 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2271 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
---|
| 2272 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
---|
| 2273 | 'mkdir (GNU coreutils) '* | \ |
---|
| 2274 | 'mkdir (coreutils) '* | \ |
---|
| 2275 | 'mkdir (fileutils) '4.1*) |
---|
| 2276 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
---|
| 2277 | break 3;; |
---|
| 2278 | esac |
---|
| 2279 | done |
---|
| 2280 | done |
---|
| 2281 | done |
---|
| 2282 | IFS=$as_save_IFS |
---|
| 2283 | |
---|
| 2284 | fi |
---|
| 2285 | |
---|
| 2286 | test -d ./--version && rmdir ./--version |
---|
| 2287 | if test "${ac_cv_path_mkdir+set}" = set; then |
---|
| 2288 | MKDIR_P="$ac_cv_path_mkdir -p" |
---|
| 2289 | else |
---|
| 2290 | # As a last resort, use the slow shell script. Don't cache a |
---|
| 2291 | # value for MKDIR_P within a source directory, because that will |
---|
| 2292 | # break other packages using the cache if that directory is |
---|
| 2293 | # removed, or if the value is a relative name. |
---|
| 2294 | MKDIR_P="$ac_install_sh -d" |
---|
| 2295 | fi |
---|
| 2296 | fi |
---|
| 2297 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
---|
| 2298 | $as_echo "$MKDIR_P" >&6; } |
---|
| 2299 | |
---|
| 2300 | mkdir_p="$MKDIR_P" |
---|
| 2301 | case $mkdir_p in |
---|
| 2302 | [\\/$]* | ?:[\\/]*) ;; |
---|
| 2303 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
---|
| 2304 | esac |
---|
| 2305 | |
---|
| 2306 | for ac_prog in gawk mawk nawk awk |
---|
| 2307 | do |
---|
| 2308 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 2309 | set dummy $ac_prog; ac_word=$2 |
---|
| 2310 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2311 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 2312 | if ${ac_cv_prog_AWK+:} false; then : |
---|
[4599] | 2313 | $as_echo_n "(cached) " >&6 |
---|
| 2314 | else |
---|
| 2315 | if test -n "$AWK"; then |
---|
| 2316 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
| 2317 | else |
---|
| 2318 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2319 | for as_dir in $PATH |
---|
| 2320 | do |
---|
| 2321 | IFS=$as_save_IFS |
---|
| 2322 | test -z "$as_dir" && as_dir=. |
---|
| 2323 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2324 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2325 | ac_cv_prog_AWK="$ac_prog" |
---|
| 2326 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2327 | break 2 |
---|
| 2328 | fi |
---|
| 2329 | done |
---|
| 2330 | done |
---|
| 2331 | IFS=$as_save_IFS |
---|
| 2332 | |
---|
| 2333 | fi |
---|
| 2334 | fi |
---|
| 2335 | AWK=$ac_cv_prog_AWK |
---|
| 2336 | if test -n "$AWK"; then |
---|
| 2337 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
---|
| 2338 | $as_echo "$AWK" >&6; } |
---|
| 2339 | else |
---|
| 2340 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2341 | $as_echo "no" >&6; } |
---|
| 2342 | fi |
---|
| 2343 | |
---|
| 2344 | |
---|
| 2345 | test -n "$AWK" && break |
---|
| 2346 | done |
---|
| 2347 | |
---|
| 2348 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
| 2349 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
---|
| 2350 | set x ${MAKE-make} |
---|
| 2351 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
---|
[5177] | 2352 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
---|
[4599] | 2353 | $as_echo_n "(cached) " >&6 |
---|
| 2354 | else |
---|
| 2355 | cat >conftest.make <<\_ACEOF |
---|
| 2356 | SHELL = /bin/sh |
---|
| 2357 | all: |
---|
| 2358 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
---|
| 2359 | _ACEOF |
---|
[5177] | 2360 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
---|
[4599] | 2361 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
---|
| 2362 | *@@@%%%=?*=@@@%%%*) |
---|
| 2363 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
---|
| 2364 | *) |
---|
| 2365 | eval ac_cv_prog_make_${ac_make}_set=no;; |
---|
| 2366 | esac |
---|
| 2367 | rm -f conftest.make |
---|
| 2368 | fi |
---|
| 2369 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
---|
| 2370 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 2371 | $as_echo "yes" >&6; } |
---|
| 2372 | SET_MAKE= |
---|
| 2373 | else |
---|
| 2374 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2375 | $as_echo "no" >&6; } |
---|
| 2376 | SET_MAKE="MAKE=${MAKE-make}" |
---|
| 2377 | fi |
---|
| 2378 | |
---|
| 2379 | rm -rf .tst 2>/dev/null |
---|
| 2380 | mkdir .tst 2>/dev/null |
---|
| 2381 | if test -d .tst; then |
---|
| 2382 | am__leading_dot=. |
---|
| 2383 | else |
---|
| 2384 | am__leading_dot=_ |
---|
| 2385 | fi |
---|
| 2386 | rmdir .tst 2>/dev/null |
---|
| 2387 | |
---|
| 2388 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
---|
| 2389 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
---|
| 2390 | # is not polluted with repeated "-I." |
---|
| 2391 | am__isrc=' -I$(srcdir)' |
---|
| 2392 | # test to see if srcdir already configured |
---|
| 2393 | if test -f $srcdir/config.status; then |
---|
[5177] | 2394 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
---|
[4599] | 2395 | fi |
---|
| 2396 | fi |
---|
| 2397 | |
---|
| 2398 | # test whether we have cygpath |
---|
| 2399 | if test -z "$CYGPATH_W"; then |
---|
| 2400 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
| 2401 | CYGPATH_W='cygpath -w' |
---|
| 2402 | else |
---|
| 2403 | CYGPATH_W=echo |
---|
| 2404 | fi |
---|
| 2405 | fi |
---|
| 2406 | |
---|
| 2407 | |
---|
| 2408 | # Define the identity of the package. |
---|
| 2409 | PACKAGE='vine-rpm-helper' |
---|
[6724] | 2410 | VERSION='0.6.5' |
---|
[4599] | 2411 | |
---|
| 2412 | |
---|
| 2413 | cat >>confdefs.h <<_ACEOF |
---|
| 2414 | #define PACKAGE "$PACKAGE" |
---|
| 2415 | _ACEOF |
---|
| 2416 | |
---|
| 2417 | |
---|
| 2418 | cat >>confdefs.h <<_ACEOF |
---|
| 2419 | #define VERSION "$VERSION" |
---|
| 2420 | _ACEOF |
---|
| 2421 | |
---|
| 2422 | # Some tools Automake needs. |
---|
| 2423 | |
---|
| 2424 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
| 2425 | |
---|
| 2426 | |
---|
| 2427 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
| 2428 | |
---|
| 2429 | |
---|
| 2430 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
| 2431 | |
---|
| 2432 | |
---|
| 2433 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
| 2434 | |
---|
| 2435 | |
---|
| 2436 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
| 2437 | |
---|
| 2438 | # We need awk for the "check" target. The system "awk" is bad on |
---|
| 2439 | # some platforms. |
---|
| 2440 | # Always define AMTAR for backward compatibility. |
---|
| 2441 | |
---|
| 2442 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
---|
| 2443 | |
---|
| 2444 | |
---|
| 2445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 |
---|
| 2446 | $as_echo_n "checking how to create a ustar tar archive... " >&6; } |
---|
| 2447 | # Loop over all known methods to create a tar archive until one works. |
---|
| 2448 | _am_tools='gnutar plaintar pax cpio none' |
---|
| 2449 | _am_tools=${am_cv_prog_tar_ustar-$_am_tools} |
---|
| 2450 | # Do not fold the above two line into one, because Tru64 sh and |
---|
| 2451 | # Solaris sh will not grok spaces in the rhs of `-'. |
---|
| 2452 | for _am_tool in $_am_tools |
---|
| 2453 | do |
---|
| 2454 | case $_am_tool in |
---|
| 2455 | gnutar) |
---|
| 2456 | for _am_tar in tar gnutar gtar; |
---|
| 2457 | do |
---|
| 2458 | { echo "$as_me:$LINENO: $_am_tar --version" >&5 |
---|
| 2459 | ($_am_tar --version) >&5 2>&5 |
---|
| 2460 | ac_status=$? |
---|
| 2461 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2462 | (exit $ac_status); } && break |
---|
| 2463 | done |
---|
| 2464 | am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' |
---|
| 2465 | am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' |
---|
| 2466 | am__untar="$_am_tar -xf -" |
---|
| 2467 | ;; |
---|
| 2468 | plaintar) |
---|
| 2469 | # Must skip GNU tar: if it does not support --format= it doesn't create |
---|
| 2470 | # ustar tarball either. |
---|
| 2471 | (tar --version) >/dev/null 2>&1 && continue |
---|
| 2472 | am__tar='tar chf - "$$tardir"' |
---|
| 2473 | am__tar_='tar chf - "$tardir"' |
---|
| 2474 | am__untar='tar xf -' |
---|
| 2475 | ;; |
---|
| 2476 | pax) |
---|
| 2477 | am__tar='pax -L -x ustar -w "$$tardir"' |
---|
| 2478 | am__tar_='pax -L -x ustar -w "$tardir"' |
---|
| 2479 | am__untar='pax -r' |
---|
| 2480 | ;; |
---|
| 2481 | cpio) |
---|
| 2482 | am__tar='find "$$tardir" -print | cpio -o -H ustar -L' |
---|
| 2483 | am__tar_='find "$tardir" -print | cpio -o -H ustar -L' |
---|
| 2484 | am__untar='cpio -i -H ustar -d' |
---|
| 2485 | ;; |
---|
| 2486 | none) |
---|
| 2487 | am__tar=false |
---|
| 2488 | am__tar_=false |
---|
| 2489 | am__untar=false |
---|
| 2490 | ;; |
---|
| 2491 | esac |
---|
| 2492 | |
---|
| 2493 | # If the value was cached, stop now. We just wanted to have am__tar |
---|
| 2494 | # and am__untar set. |
---|
| 2495 | test -n "${am_cv_prog_tar_ustar}" && break |
---|
| 2496 | |
---|
| 2497 | # tar/untar a dummy directory, and stop if the command works |
---|
| 2498 | rm -rf conftest.dir |
---|
| 2499 | mkdir conftest.dir |
---|
| 2500 | echo GrepMe > conftest.dir/file |
---|
| 2501 | { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 |
---|
| 2502 | (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 |
---|
| 2503 | ac_status=$? |
---|
| 2504 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2505 | (exit $ac_status); } |
---|
| 2506 | rm -rf conftest.dir |
---|
| 2507 | if test -s conftest.tar; then |
---|
| 2508 | { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 |
---|
| 2509 | ($am__untar <conftest.tar) >&5 2>&5 |
---|
| 2510 | ac_status=$? |
---|
| 2511 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 2512 | (exit $ac_status); } |
---|
| 2513 | grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
---|
| 2514 | fi |
---|
| 2515 | done |
---|
| 2516 | rm -rf conftest.dir |
---|
| 2517 | |
---|
[5177] | 2518 | if ${am_cv_prog_tar_ustar+:} false; then : |
---|
[4599] | 2519 | $as_echo_n "(cached) " >&6 |
---|
| 2520 | else |
---|
| 2521 | am_cv_prog_tar_ustar=$_am_tool |
---|
| 2522 | fi |
---|
| 2523 | |
---|
| 2524 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 |
---|
| 2525 | $as_echo "$am_cv_prog_tar_ustar" >&6; } |
---|
| 2526 | |
---|
| 2527 | |
---|
| 2528 | |
---|
| 2529 | |
---|
| 2530 | |
---|
| 2531 | |
---|
| 2532 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
---|
| 2533 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
---|
| 2534 | # Check whether --enable-maintainer-mode was given. |
---|
| 2535 | if test "${enable_maintainer_mode+set}" = set; then : |
---|
| 2536 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
---|
| 2537 | else |
---|
| 2538 | USE_MAINTAINER_MODE=no |
---|
| 2539 | fi |
---|
| 2540 | |
---|
| 2541 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
---|
| 2542 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
---|
| 2543 | if test $USE_MAINTAINER_MODE = yes; then |
---|
| 2544 | MAINTAINER_MODE_TRUE= |
---|
| 2545 | MAINTAINER_MODE_FALSE='#' |
---|
| 2546 | else |
---|
| 2547 | MAINTAINER_MODE_TRUE='#' |
---|
| 2548 | MAINTAINER_MODE_FALSE= |
---|
| 2549 | fi |
---|
| 2550 | |
---|
| 2551 | MAINT=$MAINTAINER_MODE_TRUE |
---|
| 2552 | |
---|
| 2553 | |
---|
| 2554 | |
---|
[4925] | 2555 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
---|
| 2556 | $as_echo_n "checking whether NLS is requested... " >&6; } |
---|
| 2557 | # Check whether --enable-nls was given. |
---|
| 2558 | if test "${enable_nls+set}" = set; then : |
---|
| 2559 | enableval=$enable_nls; USE_NLS=$enableval |
---|
| 2560 | else |
---|
| 2561 | USE_NLS=yes |
---|
| 2562 | fi |
---|
| 2563 | |
---|
| 2564 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
---|
| 2565 | $as_echo "$USE_NLS" >&6; } |
---|
| 2566 | |
---|
| 2567 | |
---|
| 2568 | |
---|
| 2569 | |
---|
| 2570 | GETTEXT_MACRO_VERSION=0.18 |
---|
| 2571 | |
---|
| 2572 | |
---|
| 2573 | |
---|
| 2574 | |
---|
| 2575 | # Prepare PATH_SEPARATOR. |
---|
| 2576 | # The user is always right. |
---|
| 2577 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 2578 | echo "#! /bin/sh" >conf$$.sh |
---|
| 2579 | echo "exit 0" >>conf$$.sh |
---|
| 2580 | chmod +x conf$$.sh |
---|
| 2581 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 2582 | PATH_SEPARATOR=';' |
---|
| 2583 | else |
---|
| 2584 | PATH_SEPARATOR=: |
---|
| 2585 | fi |
---|
| 2586 | rm -f conf$$.sh |
---|
| 2587 | fi |
---|
| 2588 | |
---|
| 2589 | # Find out how to test for executable files. Don't use a zero-byte file, |
---|
| 2590 | # as systems may use methods other than mode bits to determine executability. |
---|
| 2591 | cat >conf$$.file <<_ASEOF |
---|
| 2592 | #! /bin/sh |
---|
| 2593 | exit 0 |
---|
| 2594 | _ASEOF |
---|
| 2595 | chmod +x conf$$.file |
---|
| 2596 | if test -x conf$$.file >/dev/null 2>&1; then |
---|
| 2597 | ac_executable_p="test -x" |
---|
| 2598 | else |
---|
| 2599 | ac_executable_p="test -f" |
---|
| 2600 | fi |
---|
| 2601 | rm -f conf$$.file |
---|
| 2602 | |
---|
| 2603 | # Extract the first word of "msgfmt", so it can be a program name with args. |
---|
| 2604 | set dummy msgfmt; ac_word=$2 |
---|
| 2605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2606 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 2607 | if ${ac_cv_path_MSGFMT+:} false; then : |
---|
[4925] | 2608 | $as_echo_n "(cached) " >&6 |
---|
| 2609 | else |
---|
| 2610 | case "$MSGFMT" in |
---|
| 2611 | [\\/]* | ?:[\\/]*) |
---|
| 2612 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
---|
| 2613 | ;; |
---|
| 2614 | *) |
---|
| 2615 | ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
---|
| 2616 | for ac_dir in $PATH; do |
---|
| 2617 | IFS="$ac_save_IFS" |
---|
| 2618 | test -z "$ac_dir" && ac_dir=. |
---|
| 2619 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2620 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
---|
| 2621 | echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
---|
| 2622 | if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && |
---|
| 2623 | (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
---|
| 2624 | ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" |
---|
| 2625 | break 2 |
---|
| 2626 | fi |
---|
| 2627 | fi |
---|
| 2628 | done |
---|
| 2629 | done |
---|
| 2630 | IFS="$ac_save_IFS" |
---|
| 2631 | test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" |
---|
| 2632 | ;; |
---|
| 2633 | esac |
---|
| 2634 | fi |
---|
| 2635 | MSGFMT="$ac_cv_path_MSGFMT" |
---|
| 2636 | if test "$MSGFMT" != ":"; then |
---|
| 2637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
---|
| 2638 | $as_echo "$MSGFMT" >&6; } |
---|
| 2639 | else |
---|
| 2640 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2641 | $as_echo "no" >&6; } |
---|
| 2642 | fi |
---|
| 2643 | |
---|
| 2644 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
---|
| 2645 | set dummy gmsgfmt; ac_word=$2 |
---|
| 2646 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2647 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 2648 | if ${ac_cv_path_GMSGFMT+:} false; then : |
---|
[4925] | 2649 | $as_echo_n "(cached) " >&6 |
---|
| 2650 | else |
---|
| 2651 | case $GMSGFMT in |
---|
| 2652 | [\\/]* | ?:[\\/]*) |
---|
| 2653 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
---|
| 2654 | ;; |
---|
| 2655 | *) |
---|
| 2656 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2657 | for as_dir in $PATH |
---|
| 2658 | do |
---|
| 2659 | IFS=$as_save_IFS |
---|
| 2660 | test -z "$as_dir" && as_dir=. |
---|
| 2661 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2662 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2663 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
---|
| 2664 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2665 | break 2 |
---|
| 2666 | fi |
---|
| 2667 | done |
---|
| 2668 | done |
---|
| 2669 | IFS=$as_save_IFS |
---|
| 2670 | |
---|
| 2671 | test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
---|
| 2672 | ;; |
---|
| 2673 | esac |
---|
| 2674 | fi |
---|
| 2675 | GMSGFMT=$ac_cv_path_GMSGFMT |
---|
| 2676 | if test -n "$GMSGFMT"; then |
---|
| 2677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
---|
| 2678 | $as_echo "$GMSGFMT" >&6; } |
---|
| 2679 | else |
---|
| 2680 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2681 | $as_echo "no" >&6; } |
---|
| 2682 | fi |
---|
| 2683 | |
---|
| 2684 | |
---|
| 2685 | |
---|
| 2686 | case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
---|
| 2687 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; |
---|
| 2688 | *) MSGFMT_015=$MSGFMT ;; |
---|
| 2689 | esac |
---|
| 2690 | |
---|
| 2691 | case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
---|
| 2692 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; |
---|
| 2693 | *) GMSGFMT_015=$GMSGFMT ;; |
---|
| 2694 | esac |
---|
| 2695 | |
---|
| 2696 | |
---|
| 2697 | |
---|
| 2698 | # Prepare PATH_SEPARATOR. |
---|
| 2699 | # The user is always right. |
---|
| 2700 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 2701 | echo "#! /bin/sh" >conf$$.sh |
---|
| 2702 | echo "exit 0" >>conf$$.sh |
---|
| 2703 | chmod +x conf$$.sh |
---|
| 2704 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 2705 | PATH_SEPARATOR=';' |
---|
| 2706 | else |
---|
| 2707 | PATH_SEPARATOR=: |
---|
| 2708 | fi |
---|
| 2709 | rm -f conf$$.sh |
---|
| 2710 | fi |
---|
| 2711 | |
---|
| 2712 | # Find out how to test for executable files. Don't use a zero-byte file, |
---|
| 2713 | # as systems may use methods other than mode bits to determine executability. |
---|
| 2714 | cat >conf$$.file <<_ASEOF |
---|
| 2715 | #! /bin/sh |
---|
| 2716 | exit 0 |
---|
| 2717 | _ASEOF |
---|
| 2718 | chmod +x conf$$.file |
---|
| 2719 | if test -x conf$$.file >/dev/null 2>&1; then |
---|
| 2720 | ac_executable_p="test -x" |
---|
| 2721 | else |
---|
| 2722 | ac_executable_p="test -f" |
---|
| 2723 | fi |
---|
| 2724 | rm -f conf$$.file |
---|
| 2725 | |
---|
| 2726 | # Extract the first word of "xgettext", so it can be a program name with args. |
---|
| 2727 | set dummy xgettext; ac_word=$2 |
---|
| 2728 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2729 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 2730 | if ${ac_cv_path_XGETTEXT+:} false; then : |
---|
[4925] | 2731 | $as_echo_n "(cached) " >&6 |
---|
| 2732 | else |
---|
| 2733 | case "$XGETTEXT" in |
---|
| 2734 | [\\/]* | ?:[\\/]*) |
---|
| 2735 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
---|
| 2736 | ;; |
---|
| 2737 | *) |
---|
| 2738 | ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
---|
| 2739 | for ac_dir in $PATH; do |
---|
| 2740 | IFS="$ac_save_IFS" |
---|
| 2741 | test -z "$ac_dir" && ac_dir=. |
---|
| 2742 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2743 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
---|
| 2744 | echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
---|
| 2745 | if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && |
---|
| 2746 | (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 |
---|
| 2747 | ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" |
---|
| 2748 | break 2 |
---|
| 2749 | fi |
---|
| 2750 | fi |
---|
| 2751 | done |
---|
| 2752 | done |
---|
| 2753 | IFS="$ac_save_IFS" |
---|
| 2754 | test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
---|
| 2755 | ;; |
---|
| 2756 | esac |
---|
| 2757 | fi |
---|
| 2758 | XGETTEXT="$ac_cv_path_XGETTEXT" |
---|
| 2759 | if test "$XGETTEXT" != ":"; then |
---|
| 2760 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
---|
| 2761 | $as_echo "$XGETTEXT" >&6; } |
---|
| 2762 | else |
---|
| 2763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2764 | $as_echo "no" >&6; } |
---|
| 2765 | fi |
---|
| 2766 | |
---|
| 2767 | rm -f messages.po |
---|
| 2768 | |
---|
| 2769 | case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
---|
| 2770 | '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; |
---|
| 2771 | *) XGETTEXT_015=$XGETTEXT ;; |
---|
| 2772 | esac |
---|
| 2773 | |
---|
| 2774 | |
---|
| 2775 | |
---|
| 2776 | # Prepare PATH_SEPARATOR. |
---|
| 2777 | # The user is always right. |
---|
| 2778 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 2779 | echo "#! /bin/sh" >conf$$.sh |
---|
| 2780 | echo "exit 0" >>conf$$.sh |
---|
| 2781 | chmod +x conf$$.sh |
---|
| 2782 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 2783 | PATH_SEPARATOR=';' |
---|
| 2784 | else |
---|
| 2785 | PATH_SEPARATOR=: |
---|
| 2786 | fi |
---|
| 2787 | rm -f conf$$.sh |
---|
| 2788 | fi |
---|
| 2789 | |
---|
| 2790 | # Find out how to test for executable files. Don't use a zero-byte file, |
---|
| 2791 | # as systems may use methods other than mode bits to determine executability. |
---|
| 2792 | cat >conf$$.file <<_ASEOF |
---|
| 2793 | #! /bin/sh |
---|
| 2794 | exit 0 |
---|
| 2795 | _ASEOF |
---|
| 2796 | chmod +x conf$$.file |
---|
| 2797 | if test -x conf$$.file >/dev/null 2>&1; then |
---|
| 2798 | ac_executable_p="test -x" |
---|
| 2799 | else |
---|
| 2800 | ac_executable_p="test -f" |
---|
| 2801 | fi |
---|
| 2802 | rm -f conf$$.file |
---|
| 2803 | |
---|
| 2804 | # Extract the first word of "msgmerge", so it can be a program name with args. |
---|
| 2805 | set dummy msgmerge; ac_word=$2 |
---|
| 2806 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2807 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 2808 | if ${ac_cv_path_MSGMERGE+:} false; then : |
---|
[4925] | 2809 | $as_echo_n "(cached) " >&6 |
---|
| 2810 | else |
---|
| 2811 | case "$MSGMERGE" in |
---|
| 2812 | [\\/]* | ?:[\\/]*) |
---|
| 2813 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
---|
| 2814 | ;; |
---|
| 2815 | *) |
---|
| 2816 | ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR |
---|
| 2817 | for ac_dir in $PATH; do |
---|
| 2818 | IFS="$ac_save_IFS" |
---|
| 2819 | test -z "$ac_dir" && ac_dir=. |
---|
| 2820 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2821 | if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
---|
| 2822 | echo "$as_me: trying $ac_dir/$ac_word..." >&5 |
---|
| 2823 | if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then |
---|
| 2824 | ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" |
---|
| 2825 | break 2 |
---|
| 2826 | fi |
---|
| 2827 | fi |
---|
| 2828 | done |
---|
| 2829 | done |
---|
| 2830 | IFS="$ac_save_IFS" |
---|
| 2831 | test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" |
---|
| 2832 | ;; |
---|
| 2833 | esac |
---|
| 2834 | fi |
---|
| 2835 | MSGMERGE="$ac_cv_path_MSGMERGE" |
---|
| 2836 | if test "$MSGMERGE" != ":"; then |
---|
| 2837 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
---|
| 2838 | $as_echo "$MSGMERGE" >&6; } |
---|
| 2839 | else |
---|
| 2840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2841 | $as_echo "no" >&6; } |
---|
| 2842 | fi |
---|
| 2843 | |
---|
| 2844 | |
---|
| 2845 | test -n "$localedir" || localedir='${datadir}/locale' |
---|
| 2846 | |
---|
| 2847 | |
---|
| 2848 | test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= |
---|
| 2849 | |
---|
| 2850 | |
---|
| 2851 | ac_config_commands="$ac_config_commands po-directories" |
---|
| 2852 | |
---|
| 2853 | |
---|
| 2854 | |
---|
| 2855 | if test "X$prefix" = "XNONE"; then |
---|
| 2856 | acl_final_prefix="$ac_default_prefix" |
---|
| 2857 | else |
---|
| 2858 | acl_final_prefix="$prefix" |
---|
| 2859 | fi |
---|
| 2860 | if test "X$exec_prefix" = "XNONE"; then |
---|
| 2861 | acl_final_exec_prefix='${prefix}' |
---|
| 2862 | else |
---|
| 2863 | acl_final_exec_prefix="$exec_prefix" |
---|
| 2864 | fi |
---|
| 2865 | acl_save_prefix="$prefix" |
---|
| 2866 | prefix="$acl_final_prefix" |
---|
| 2867 | eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
---|
| 2868 | prefix="$acl_save_prefix" |
---|
| 2869 | |
---|
| 2870 | DEPDIR="${am__leading_dot}deps" |
---|
| 2871 | |
---|
| 2872 | ac_config_commands="$ac_config_commands depfiles" |
---|
| 2873 | |
---|
| 2874 | |
---|
| 2875 | am_make=${MAKE-make} |
---|
| 2876 | cat > confinc << 'END' |
---|
| 2877 | am__doit: |
---|
| 2878 | @echo this is the am__doit target |
---|
| 2879 | .PHONY: am__doit |
---|
| 2880 | END |
---|
| 2881 | # If we don't find an include directive, just comment out the code. |
---|
| 2882 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
---|
| 2883 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
---|
| 2884 | am__include="#" |
---|
| 2885 | am__quote= |
---|
| 2886 | _am_result=none |
---|
| 2887 | # First try GNU make style include. |
---|
| 2888 | echo "include confinc" > confmf |
---|
| 2889 | # Ignore all kinds of additional output from `make'. |
---|
| 2890 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
| 2891 | *the\ am__doit\ target*) |
---|
| 2892 | am__include=include |
---|
| 2893 | am__quote= |
---|
| 2894 | _am_result=GNU |
---|
| 2895 | ;; |
---|
| 2896 | esac |
---|
| 2897 | # Now try BSD make style include. |
---|
| 2898 | if test "$am__include" = "#"; then |
---|
| 2899 | echo '.include "confinc"' > confmf |
---|
| 2900 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
| 2901 | *the\ am__doit\ target*) |
---|
| 2902 | am__include=.include |
---|
| 2903 | am__quote="\"" |
---|
| 2904 | _am_result=BSD |
---|
| 2905 | ;; |
---|
| 2906 | esac |
---|
| 2907 | fi |
---|
| 2908 | |
---|
| 2909 | |
---|
| 2910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
---|
| 2911 | $as_echo "$_am_result" >&6; } |
---|
| 2912 | rm -f confinc confmf |
---|
| 2913 | |
---|
| 2914 | # Check whether --enable-dependency-tracking was given. |
---|
| 2915 | if test "${enable_dependency_tracking+set}" = set; then : |
---|
| 2916 | enableval=$enable_dependency_tracking; |
---|
| 2917 | fi |
---|
| 2918 | |
---|
| 2919 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 2920 | am_depcomp="$ac_aux_dir/depcomp" |
---|
| 2921 | AMDEPBACKSLASH='\' |
---|
| 2922 | fi |
---|
| 2923 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 2924 | AMDEP_TRUE= |
---|
| 2925 | AMDEP_FALSE='#' |
---|
| 2926 | else |
---|
| 2927 | AMDEP_TRUE='#' |
---|
| 2928 | AMDEP_FALSE= |
---|
| 2929 | fi |
---|
| 2930 | |
---|
| 2931 | |
---|
| 2932 | ac_ext=c |
---|
| 2933 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2934 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2935 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2936 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2937 | if test -n "$ac_tool_prefix"; then |
---|
| 2938 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
| 2939 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
| 2940 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2941 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 2942 | if ${ac_cv_prog_CC+:} false; then : |
---|
[4925] | 2943 | $as_echo_n "(cached) " >&6 |
---|
| 2944 | else |
---|
| 2945 | if test -n "$CC"; then |
---|
| 2946 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2947 | else |
---|
| 2948 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2949 | for as_dir in $PATH |
---|
| 2950 | do |
---|
| 2951 | IFS=$as_save_IFS |
---|
| 2952 | test -z "$as_dir" && as_dir=. |
---|
| 2953 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2954 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2955 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
| 2956 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2957 | break 2 |
---|
| 2958 | fi |
---|
| 2959 | done |
---|
| 2960 | done |
---|
| 2961 | IFS=$as_save_IFS |
---|
| 2962 | |
---|
| 2963 | fi |
---|
| 2964 | fi |
---|
| 2965 | CC=$ac_cv_prog_CC |
---|
| 2966 | if test -n "$CC"; then |
---|
| 2967 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2968 | $as_echo "$CC" >&6; } |
---|
| 2969 | else |
---|
| 2970 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2971 | $as_echo "no" >&6; } |
---|
| 2972 | fi |
---|
| 2973 | |
---|
| 2974 | |
---|
| 2975 | fi |
---|
| 2976 | if test -z "$ac_cv_prog_CC"; then |
---|
| 2977 | ac_ct_CC=$CC |
---|
| 2978 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 2979 | set dummy gcc; ac_word=$2 |
---|
| 2980 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2981 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 2982 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
[4925] | 2983 | $as_echo_n "(cached) " >&6 |
---|
| 2984 | else |
---|
| 2985 | if test -n "$ac_ct_CC"; then |
---|
| 2986 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 2987 | else |
---|
| 2988 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2989 | for as_dir in $PATH |
---|
| 2990 | do |
---|
| 2991 | IFS=$as_save_IFS |
---|
| 2992 | test -z "$as_dir" && as_dir=. |
---|
| 2993 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 2994 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 2995 | ac_cv_prog_ac_ct_CC="gcc" |
---|
| 2996 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2997 | break 2 |
---|
| 2998 | fi |
---|
| 2999 | done |
---|
| 3000 | done |
---|
| 3001 | IFS=$as_save_IFS |
---|
| 3002 | |
---|
| 3003 | fi |
---|
| 3004 | fi |
---|
| 3005 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 3006 | if test -n "$ac_ct_CC"; then |
---|
| 3007 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
| 3008 | $as_echo "$ac_ct_CC" >&6; } |
---|
| 3009 | else |
---|
| 3010 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3011 | $as_echo "no" >&6; } |
---|
| 3012 | fi |
---|
| 3013 | |
---|
| 3014 | if test "x$ac_ct_CC" = x; then |
---|
| 3015 | CC="" |
---|
| 3016 | else |
---|
| 3017 | case $cross_compiling:$ac_tool_warned in |
---|
| 3018 | yes:) |
---|
| 3019 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 3020 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 3021 | ac_tool_warned=yes ;; |
---|
| 3022 | esac |
---|
| 3023 | CC=$ac_ct_CC |
---|
| 3024 | fi |
---|
| 3025 | else |
---|
| 3026 | CC="$ac_cv_prog_CC" |
---|
| 3027 | fi |
---|
| 3028 | |
---|
| 3029 | if test -z "$CC"; then |
---|
| 3030 | if test -n "$ac_tool_prefix"; then |
---|
| 3031 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
| 3032 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
| 3033 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3034 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 3035 | if ${ac_cv_prog_CC+:} false; then : |
---|
[4925] | 3036 | $as_echo_n "(cached) " >&6 |
---|
| 3037 | else |
---|
| 3038 | if test -n "$CC"; then |
---|
| 3039 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 3040 | else |
---|
| 3041 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3042 | for as_dir in $PATH |
---|
| 3043 | do |
---|
| 3044 | IFS=$as_save_IFS |
---|
| 3045 | test -z "$as_dir" && as_dir=. |
---|
| 3046 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3047 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 3048 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
| 3049 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3050 | break 2 |
---|
| 3051 | fi |
---|
| 3052 | done |
---|
| 3053 | done |
---|
| 3054 | IFS=$as_save_IFS |
---|
| 3055 | |
---|
| 3056 | fi |
---|
| 3057 | fi |
---|
| 3058 | CC=$ac_cv_prog_CC |
---|
| 3059 | if test -n "$CC"; then |
---|
| 3060 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 3061 | $as_echo "$CC" >&6; } |
---|
| 3062 | else |
---|
| 3063 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3064 | $as_echo "no" >&6; } |
---|
| 3065 | fi |
---|
| 3066 | |
---|
| 3067 | |
---|
| 3068 | fi |
---|
| 3069 | fi |
---|
| 3070 | if test -z "$CC"; then |
---|
| 3071 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 3072 | set dummy cc; ac_word=$2 |
---|
| 3073 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3074 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 3075 | if ${ac_cv_prog_CC+:} false; then : |
---|
[4925] | 3076 | $as_echo_n "(cached) " >&6 |
---|
| 3077 | else |
---|
| 3078 | if test -n "$CC"; then |
---|
| 3079 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 3080 | else |
---|
| 3081 | ac_prog_rejected=no |
---|
| 3082 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3083 | for as_dir in $PATH |
---|
| 3084 | do |
---|
| 3085 | IFS=$as_save_IFS |
---|
| 3086 | test -z "$as_dir" && as_dir=. |
---|
| 3087 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3088 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 3089 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 3090 | ac_prog_rejected=yes |
---|
| 3091 | continue |
---|
| 3092 | fi |
---|
| 3093 | ac_cv_prog_CC="cc" |
---|
| 3094 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3095 | break 2 |
---|
| 3096 | fi |
---|
| 3097 | done |
---|
| 3098 | done |
---|
| 3099 | IFS=$as_save_IFS |
---|
| 3100 | |
---|
| 3101 | if test $ac_prog_rejected = yes; then |
---|
| 3102 | # We found a bogon in the path, so make sure we never use it. |
---|
| 3103 | set dummy $ac_cv_prog_CC |
---|
| 3104 | shift |
---|
| 3105 | if test $# != 0; then |
---|
| 3106 | # We chose a different compiler from the bogus one. |
---|
| 3107 | # However, it has the same basename, so the bogon will be chosen |
---|
| 3108 | # first if we set CC to just the basename; use the full file name. |
---|
| 3109 | shift |
---|
| 3110 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
| 3111 | fi |
---|
| 3112 | fi |
---|
| 3113 | fi |
---|
| 3114 | fi |
---|
| 3115 | CC=$ac_cv_prog_CC |
---|
| 3116 | if test -n "$CC"; then |
---|
| 3117 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 3118 | $as_echo "$CC" >&6; } |
---|
| 3119 | else |
---|
| 3120 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3121 | $as_echo "no" >&6; } |
---|
| 3122 | fi |
---|
| 3123 | |
---|
| 3124 | |
---|
| 3125 | fi |
---|
| 3126 | if test -z "$CC"; then |
---|
| 3127 | if test -n "$ac_tool_prefix"; then |
---|
| 3128 | for ac_prog in cl.exe |
---|
| 3129 | do |
---|
| 3130 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 3131 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
| 3132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3133 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 3134 | if ${ac_cv_prog_CC+:} false; then : |
---|
[4925] | 3135 | $as_echo_n "(cached) " >&6 |
---|
| 3136 | else |
---|
| 3137 | if test -n "$CC"; then |
---|
| 3138 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 3139 | else |
---|
| 3140 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3141 | for as_dir in $PATH |
---|
| 3142 | do |
---|
| 3143 | IFS=$as_save_IFS |
---|
| 3144 | test -z "$as_dir" && as_dir=. |
---|
| 3145 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3146 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 3147 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
| 3148 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3149 | break 2 |
---|
| 3150 | fi |
---|
| 3151 | done |
---|
| 3152 | done |
---|
| 3153 | IFS=$as_save_IFS |
---|
| 3154 | |
---|
| 3155 | fi |
---|
| 3156 | fi |
---|
| 3157 | CC=$ac_cv_prog_CC |
---|
| 3158 | if test -n "$CC"; then |
---|
| 3159 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 3160 | $as_echo "$CC" >&6; } |
---|
| 3161 | else |
---|
| 3162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3163 | $as_echo "no" >&6; } |
---|
| 3164 | fi |
---|
| 3165 | |
---|
| 3166 | |
---|
| 3167 | test -n "$CC" && break |
---|
| 3168 | done |
---|
| 3169 | fi |
---|
| 3170 | if test -z "$CC"; then |
---|
| 3171 | ac_ct_CC=$CC |
---|
| 3172 | for ac_prog in cl.exe |
---|
| 3173 | do |
---|
| 3174 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 3175 | set dummy $ac_prog; ac_word=$2 |
---|
| 3176 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3177 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
[5177] | 3178 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
[4925] | 3179 | $as_echo_n "(cached) " >&6 |
---|
| 3180 | else |
---|
| 3181 | if test -n "$ac_ct_CC"; then |
---|
| 3182 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 3183 | else |
---|
| 3184 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3185 | for as_dir in $PATH |
---|
| 3186 | do |
---|
| 3187 | IFS=$as_save_IFS |
---|
| 3188 | test -z "$as_dir" && as_dir=. |
---|
| 3189 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 3190 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
| 3191 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
| 3192 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3193 | break 2 |
---|
| 3194 | fi |
---|
| 3195 | done |
---|
| 3196 | done |
---|
| 3197 | IFS=$as_save_IFS |
---|
| 3198 | |
---|
| 3199 | fi |
---|
| 3200 | fi |
---|
| 3201 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 3202 | if test -n "$ac_ct_CC"; then |
---|
| 3203 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
| 3204 | $as_echo "$ac_ct_CC" >&6; } |
---|
| 3205 | else |
---|
| 3206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3207 | $as_echo "no" >&6; } |
---|
| 3208 | fi |
---|
| 3209 | |
---|
| 3210 | |
---|
| 3211 | test -n "$ac_ct_CC" && break |
---|
| 3212 | done |
---|
| 3213 | |
---|
| 3214 | if test "x$ac_ct_CC" = x; then |
---|
| 3215 | CC="" |
---|
| 3216 | else |
---|
| 3217 | case $cross_compiling:$ac_tool_warned in |
---|
| 3218 | yes:) |
---|
| 3219 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 3220 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 3221 | ac_tool_warned=yes ;; |
---|
| 3222 | esac |
---|
| 3223 | CC=$ac_ct_CC |
---|
| 3224 | fi |
---|
| 3225 | fi |
---|
| 3226 | |
---|
| 3227 | fi |
---|
| 3228 | |
---|
| 3229 | |
---|
| 3230 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3231 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
[5177] | 3232 | as_fn_error $? "no acceptable C compiler found in \$PATH |
---|
| 3233 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[4925] | 3234 | |
---|
| 3235 | # Provide some information about the compiler. |
---|
| 3236 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
---|
| 3237 | set X $ac_compile |
---|
| 3238 | ac_compiler=$2 |
---|
| 3239 | for ac_option in --version -v -V -qversion; do |
---|
| 3240 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
| 3241 | case "(($ac_try" in |
---|
| 3242 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3243 | *) ac_try_echo=$ac_try;; |
---|
| 3244 | esac |
---|
| 3245 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3246 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3247 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
| 3248 | ac_status=$? |
---|
| 3249 | if test -s conftest.err; then |
---|
| 3250 | sed '10a\ |
---|
| 3251 | ... rest of stderr output deleted ... |
---|
| 3252 | 10q' conftest.err >conftest.er1 |
---|
| 3253 | cat conftest.er1 >&5 |
---|
| 3254 | fi |
---|
| 3255 | rm -f conftest.er1 conftest.err |
---|
| 3256 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3257 | test $ac_status = 0; } |
---|
| 3258 | done |
---|
| 3259 | |
---|
| 3260 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3261 | /* end confdefs.h. */ |
---|
| 3262 | |
---|
| 3263 | int |
---|
| 3264 | main () |
---|
| 3265 | { |
---|
| 3266 | |
---|
| 3267 | ; |
---|
| 3268 | return 0; |
---|
| 3269 | } |
---|
| 3270 | _ACEOF |
---|
| 3271 | ac_clean_files_save=$ac_clean_files |
---|
| 3272 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
| 3273 | # Try to create an executable without -o first, disregard a.out. |
---|
| 3274 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
| 3275 | # of exeext. |
---|
| 3276 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
---|
| 3277 | $as_echo_n "checking whether the C compiler works... " >&6; } |
---|
| 3278 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
| 3279 | |
---|
| 3280 | # The possible output files: |
---|
| 3281 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
| 3282 | |
---|
| 3283 | ac_rmfiles= |
---|
| 3284 | for ac_file in $ac_files |
---|
| 3285 | do |
---|
| 3286 | case $ac_file in |
---|
| 3287 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
| 3288 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
| 3289 | esac |
---|
| 3290 | done |
---|
| 3291 | rm -f $ac_rmfiles |
---|
| 3292 | |
---|
| 3293 | if { { ac_try="$ac_link_default" |
---|
| 3294 | case "(($ac_try" in |
---|
| 3295 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3296 | *) ac_try_echo=$ac_try;; |
---|
| 3297 | esac |
---|
| 3298 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3299 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3300 | (eval "$ac_link_default") 2>&5 |
---|
| 3301 | ac_status=$? |
---|
| 3302 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3303 | test $ac_status = 0; }; then : |
---|
| 3304 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
| 3305 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
| 3306 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
| 3307 | # so that the user can short-circuit this test for compilers unknown to |
---|
| 3308 | # Autoconf. |
---|
| 3309 | for ac_file in $ac_files '' |
---|
| 3310 | do |
---|
| 3311 | test -f "$ac_file" || continue |
---|
| 3312 | case $ac_file in |
---|
| 3313 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
| 3314 | ;; |
---|
| 3315 | [ab].out ) |
---|
| 3316 | # We found the default executable, but exeext='' is most |
---|
| 3317 | # certainly right. |
---|
| 3318 | break;; |
---|
| 3319 | *.* ) |
---|
| 3320 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
| 3321 | then :; else |
---|
| 3322 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 3323 | fi |
---|
| 3324 | # We set ac_cv_exeext here because the later test for it is not |
---|
| 3325 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
| 3326 | # argument, so we may need to know it at that point already. |
---|
| 3327 | # Even if this section looks crufty: it has the advantage of |
---|
| 3328 | # actually working. |
---|
| 3329 | break;; |
---|
| 3330 | * ) |
---|
| 3331 | break;; |
---|
| 3332 | esac |
---|
| 3333 | done |
---|
| 3334 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
| 3335 | |
---|
| 3336 | else |
---|
| 3337 | ac_file='' |
---|
| 3338 | fi |
---|
| 3339 | if test -z "$ac_file"; then : |
---|
| 3340 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3341 | $as_echo "no" >&6; } |
---|
| 3342 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 3343 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3344 | |
---|
| 3345 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3346 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
[5177] | 3347 | as_fn_error 77 "C compiler cannot create executables |
---|
| 3348 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[4925] | 3349 | else |
---|
| 3350 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 3351 | $as_echo "yes" >&6; } |
---|
| 3352 | fi |
---|
| 3353 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
---|
| 3354 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
---|
| 3355 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
---|
| 3356 | $as_echo "$ac_file" >&6; } |
---|
| 3357 | ac_exeext=$ac_cv_exeext |
---|
| 3358 | |
---|
| 3359 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
| 3360 | ac_clean_files=$ac_clean_files_save |
---|
| 3361 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
---|
| 3362 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
| 3363 | if { { ac_try="$ac_link" |
---|
| 3364 | case "(($ac_try" in |
---|
| 3365 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3366 | *) ac_try_echo=$ac_try;; |
---|
| 3367 | esac |
---|
| 3368 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3369 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3370 | (eval "$ac_link") 2>&5 |
---|
| 3371 | ac_status=$? |
---|
| 3372 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3373 | test $ac_status = 0; }; then : |
---|
| 3374 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
| 3375 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
| 3376 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
| 3377 | # `rm'. |
---|
| 3378 | for ac_file in conftest.exe conftest conftest.*; do |
---|
| 3379 | test -f "$ac_file" || continue |
---|
| 3380 | case $ac_file in |
---|
| 3381 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
| 3382 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 3383 | break;; |
---|
| 3384 | * ) break;; |
---|
| 3385 | esac |
---|
| 3386 | done |
---|
| 3387 | else |
---|
| 3388 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3389 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
[5177] | 3390 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
---|
| 3391 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[4925] | 3392 | fi |
---|
| 3393 | rm -f conftest conftest$ac_cv_exeext |
---|
| 3394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
---|
| 3395 | $as_echo "$ac_cv_exeext" >&6; } |
---|
| 3396 | |
---|
| 3397 | rm -f conftest.$ac_ext |
---|
| 3398 | EXEEXT=$ac_cv_exeext |
---|
| 3399 | ac_exeext=$EXEEXT |
---|
| 3400 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3401 | /* end confdefs.h. */ |
---|
| 3402 | #include <stdio.h> |
---|
| 3403 | int |
---|
| 3404 | main () |
---|
| 3405 | { |
---|
| 3406 | FILE *f = fopen ("conftest.out", "w"); |
---|
| 3407 | return ferror (f) || fclose (f) != 0; |
---|
| 3408 | |
---|
| 3409 | ; |
---|
| 3410 | return 0; |
---|
| 3411 | } |
---|
| 3412 | _ACEOF |
---|
| 3413 | ac_clean_files="$ac_clean_files conftest.out" |
---|
| 3414 | # Check that the compiler produces executables we can run. If not, either |
---|
| 3415 | # the compiler is broken, or we cross compile. |
---|
| 3416 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
---|
| 3417 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
| 3418 | if test "$cross_compiling" != yes; then |
---|
| 3419 | { { ac_try="$ac_link" |
---|
| 3420 | case "(($ac_try" in |
---|
| 3421 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3422 | *) ac_try_echo=$ac_try;; |
---|
| 3423 | esac |
---|
| 3424 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3425 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3426 | (eval "$ac_link") 2>&5 |
---|
| 3427 | ac_status=$? |
---|
| 3428 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3429 | test $ac_status = 0; } |
---|
| 3430 | if { ac_try='./conftest$ac_cv_exeext' |
---|
| 3431 | { { case "(($ac_try" in |
---|
| 3432 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3433 | *) ac_try_echo=$ac_try;; |
---|
| 3434 | esac |
---|
| 3435 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3436 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3437 | (eval "$ac_try") 2>&5 |
---|
| 3438 | ac_status=$? |
---|
| 3439 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3440 | test $ac_status = 0; }; }; then |
---|
| 3441 | cross_compiling=no |
---|
| 3442 | else |
---|
| 3443 | if test "$cross_compiling" = maybe; then |
---|
| 3444 | cross_compiling=yes |
---|
| 3445 | else |
---|
| 3446 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3447 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
[5177] | 3448 | as_fn_error $? "cannot run C compiled programs. |
---|
[4925] | 3449 | If you meant to cross compile, use \`--host'. |
---|
[5177] | 3450 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[4925] | 3451 | fi |
---|
| 3452 | fi |
---|
| 3453 | fi |
---|
| 3454 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
---|
| 3455 | $as_echo "$cross_compiling" >&6; } |
---|
| 3456 | |
---|
| 3457 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
---|
| 3458 | ac_clean_files=$ac_clean_files_save |
---|
| 3459 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
---|
| 3460 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
[5177] | 3461 | if ${ac_cv_objext+:} false; then : |
---|
[4925] | 3462 | $as_echo_n "(cached) " >&6 |
---|
| 3463 | else |
---|
| 3464 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3465 | /* end confdefs.h. */ |
---|
| 3466 | |
---|
| 3467 | int |
---|
| 3468 | main () |
---|
| 3469 | { |
---|
| 3470 | |
---|
| 3471 | ; |
---|
| 3472 | return 0; |
---|
| 3473 | } |
---|
| 3474 | _ACEOF |
---|
| 3475 | rm -f conftest.o conftest.obj |
---|
| 3476 | if { { ac_try="$ac_compile" |
---|
| 3477 | case "(($ac_try" in |
---|
| 3478 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3479 | *) ac_try_echo=$ac_try;; |
---|
| 3480 | esac |
---|
| 3481 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3482 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3483 | (eval "$ac_compile") 2>&5 |
---|
| 3484 | ac_status=$? |
---|
| 3485 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3486 | test $ac_status = 0; }; then : |
---|
| 3487 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
| 3488 | test -f "$ac_file" || continue; |
---|
| 3489 | case $ac_file in |
---|
| 3490 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
| 3491 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
| 3492 | break;; |
---|
| 3493 | esac |
---|
| 3494 | done |
---|
| 3495 | else |
---|
| 3496 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 3497 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3498 | |
---|
| 3499 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3500 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
[5177] | 3501 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
---|
| 3502 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[4925] | 3503 | fi |
---|
| 3504 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
| 3505 | fi |
---|
| 3506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
---|
| 3507 | $as_echo "$ac_cv_objext" >&6; } |
---|
| 3508 | OBJEXT=$ac_cv_objext |
---|
| 3509 | ac_objext=$OBJEXT |
---|
| 3510 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
---|
| 3511 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
[5177] | 3512 | if ${ac_cv_c_compiler_gnu+:} false; then : |
---|
[4925] | 3513 | $as_echo_n "(cached) " >&6 |
---|
| 3514 | else |
---|
| 3515 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3516 | /* end confdefs.h. */ |
---|
| 3517 | |
---|
| 3518 | int |
---|
| 3519 | main () |
---|
| 3520 | { |
---|
| 3521 | #ifndef __GNUC__ |
---|
| 3522 | choke me |
---|
| 3523 | #endif |
---|
| 3524 | |
---|
| 3525 | ; |
---|
| 3526 | return 0; |
---|
| 3527 | } |
---|
| 3528 | _ACEOF |
---|
| 3529 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3530 | ac_compiler_gnu=yes |
---|
| 3531 | else |
---|
| 3532 | ac_compiler_gnu=no |
---|
| 3533 | fi |
---|
| 3534 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3535 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
| 3536 | |
---|
| 3537 | fi |
---|
| 3538 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 3539 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
| 3540 | if test $ac_compiler_gnu = yes; then |
---|
| 3541 | GCC=yes |
---|
| 3542 | else |
---|
| 3543 | GCC= |
---|
| 3544 | fi |
---|
| 3545 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 3546 | ac_save_CFLAGS=$CFLAGS |
---|
| 3547 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
---|
| 3548 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
[5177] | 3549 | if ${ac_cv_prog_cc_g+:} false; then : |
---|
[4925] | 3550 | $as_echo_n "(cached) " >&6 |
---|
| 3551 | else |
---|
| 3552 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
| 3553 | ac_c_werror_flag=yes |
---|
| 3554 | ac_cv_prog_cc_g=no |
---|
| 3555 | CFLAGS="-g" |
---|
| 3556 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3557 | /* end confdefs.h. */ |
---|
| 3558 | |
---|
| 3559 | int |
---|
| 3560 | main () |
---|
| 3561 | { |
---|
| 3562 | |
---|
| 3563 | ; |
---|
| 3564 | return 0; |
---|
| 3565 | } |
---|
| 3566 | _ACEOF |
---|
| 3567 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3568 | ac_cv_prog_cc_g=yes |
---|
| 3569 | else |
---|
| 3570 | CFLAGS="" |
---|
| 3571 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3572 | /* end confdefs.h. */ |
---|
| 3573 | |
---|
| 3574 | int |
---|
| 3575 | main () |
---|
| 3576 | { |
---|
| 3577 | |
---|
| 3578 | ; |
---|
| 3579 | return 0; |
---|
| 3580 | } |
---|
| 3581 | _ACEOF |
---|
| 3582 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3583 | |
---|
| 3584 | else |
---|
| 3585 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 3586 | CFLAGS="-g" |
---|
| 3587 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3588 | /* end confdefs.h. */ |
---|
| 3589 | |
---|
| 3590 | int |
---|
| 3591 | main () |
---|
| 3592 | { |
---|
| 3593 | |
---|
| 3594 | ; |
---|
| 3595 | return 0; |
---|
| 3596 | } |
---|
| 3597 | _ACEOF |
---|
| 3598 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3599 | ac_cv_prog_cc_g=yes |
---|
| 3600 | fi |
---|
| 3601 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3602 | fi |
---|
| 3603 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3604 | fi |
---|
| 3605 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3606 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 3607 | fi |
---|
| 3608 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
---|
| 3609 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
| 3610 | if test "$ac_test_CFLAGS" = set; then |
---|
| 3611 | CFLAGS=$ac_save_CFLAGS |
---|
| 3612 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 3613 | if test "$GCC" = yes; then |
---|
| 3614 | CFLAGS="-g -O2" |
---|
| 3615 | else |
---|
| 3616 | CFLAGS="-g" |
---|
| 3617 | fi |
---|
| 3618 | else |
---|
| 3619 | if test "$GCC" = yes; then |
---|
| 3620 | CFLAGS="-O2" |
---|
| 3621 | else |
---|
| 3622 | CFLAGS= |
---|
| 3623 | fi |
---|
| 3624 | fi |
---|
| 3625 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
---|
| 3626 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
[5177] | 3627 | if ${ac_cv_prog_cc_c89+:} false; then : |
---|
[4925] | 3628 | $as_echo_n "(cached) " >&6 |
---|
| 3629 | else |
---|
| 3630 | ac_cv_prog_cc_c89=no |
---|
| 3631 | ac_save_CC=$CC |
---|
| 3632 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3633 | /* end confdefs.h. */ |
---|
| 3634 | #include <stdarg.h> |
---|
| 3635 | #include <stdio.h> |
---|
| 3636 | #include <sys/types.h> |
---|
| 3637 | #include <sys/stat.h> |
---|
| 3638 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
| 3639 | struct buf { int x; }; |
---|
| 3640 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
| 3641 | static char *e (p, i) |
---|
| 3642 | char **p; |
---|
| 3643 | int i; |
---|
| 3644 | { |
---|
| 3645 | return p[i]; |
---|
| 3646 | } |
---|
| 3647 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
| 3648 | { |
---|
| 3649 | char *s; |
---|
| 3650 | va_list v; |
---|
| 3651 | va_start (v,p); |
---|
| 3652 | s = g (p, va_arg (v,int)); |
---|
| 3653 | va_end (v); |
---|
| 3654 | return s; |
---|
| 3655 | } |
---|
| 3656 | |
---|
| 3657 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
| 3658 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
| 3659 | These don't provoke an error unfortunately, instead are silently treated |
---|
| 3660 | as 'x'. The following induces an error, until -std is added to get |
---|
| 3661 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
| 3662 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
| 3663 | that's true only with -std. */ |
---|
| 3664 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
| 3665 | |
---|
| 3666 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
| 3667 | inside strings and character constants. */ |
---|
| 3668 | #define FOO(x) 'x' |
---|
| 3669 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
| 3670 | |
---|
| 3671 | int test (int i, double x); |
---|
| 3672 | struct s1 {int (*f) (int a);}; |
---|
| 3673 | struct s2 {int (*f) (double a);}; |
---|
| 3674 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
| 3675 | int argc; |
---|
| 3676 | char **argv; |
---|
| 3677 | int |
---|
| 3678 | main () |
---|
| 3679 | { |
---|
| 3680 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
| 3681 | ; |
---|
| 3682 | return 0; |
---|
| 3683 | } |
---|
| 3684 | _ACEOF |
---|
| 3685 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
| 3686 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
| 3687 | do |
---|
| 3688 | CC="$ac_save_CC $ac_arg" |
---|
| 3689 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3690 | ac_cv_prog_cc_c89=$ac_arg |
---|
| 3691 | fi |
---|
| 3692 | rm -f core conftest.err conftest.$ac_objext |
---|
| 3693 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
| 3694 | done |
---|
| 3695 | rm -f conftest.$ac_ext |
---|
| 3696 | CC=$ac_save_CC |
---|
| 3697 | |
---|
| 3698 | fi |
---|
| 3699 | # AC_CACHE_VAL |
---|
| 3700 | case "x$ac_cv_prog_cc_c89" in |
---|
| 3701 | x) |
---|
| 3702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
| 3703 | $as_echo "none needed" >&6; } ;; |
---|
| 3704 | xno) |
---|
| 3705 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
| 3706 | $as_echo "unsupported" >&6; } ;; |
---|
| 3707 | *) |
---|
| 3708 | CC="$CC $ac_cv_prog_cc_c89" |
---|
| 3709 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
---|
| 3710 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
| 3711 | esac |
---|
| 3712 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
---|
| 3713 | |
---|
| 3714 | fi |
---|
| 3715 | |
---|
| 3716 | ac_ext=c |
---|
| 3717 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3718 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3719 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3720 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 3721 | |
---|
| 3722 | depcc="$CC" am_compiler_list= |
---|
| 3723 | |
---|
| 3724 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
| 3725 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
[5177] | 3726 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
---|
[4925] | 3727 | $as_echo_n "(cached) " >&6 |
---|
| 3728 | else |
---|
| 3729 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
| 3730 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
| 3731 | # making bogus files that we don't know about and never remove. For |
---|
| 3732 | # instance it was reported that on HP-UX the gcc test will end up |
---|
| 3733 | # making a dummy file named `D' -- because `-MD' means `put the output |
---|
| 3734 | # in D'. |
---|
| 3735 | mkdir conftest.dir |
---|
| 3736 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
| 3737 | # using a relative directory. |
---|
| 3738 | cp "$am_depcomp" conftest.dir |
---|
| 3739 | cd conftest.dir |
---|
| 3740 | # We will build objects and dependencies in a subdirectory because |
---|
| 3741 | # it helps to detect inapplicable dependency modes. For instance |
---|
| 3742 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
| 3743 | # side effect of compilation, but ICC will put the dependencies in |
---|
| 3744 | # the current directory while Tru64 will put them in the object |
---|
| 3745 | # directory. |
---|
| 3746 | mkdir sub |
---|
| 3747 | |
---|
| 3748 | am_cv_CC_dependencies_compiler_type=none |
---|
| 3749 | if test "$am_compiler_list" = ""; then |
---|
| 3750 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
| 3751 | fi |
---|
| 3752 | am__universal=false |
---|
| 3753 | case " $depcc " in #( |
---|
| 3754 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
| 3755 | esac |
---|
| 3756 | |
---|
| 3757 | for depmode in $am_compiler_list; do |
---|
| 3758 | # Setup a source with many dependencies, because some compilers |
---|
| 3759 | # like to wrap large dependency lists on column 80 (with \), and |
---|
| 3760 | # we should not choose a depcomp mode which is confused by this. |
---|
| 3761 | # |
---|
| 3762 | # We need to recreate these files for each test, as the compiler may |
---|
| 3763 | # overwrite some of them when testing with obscure command lines. |
---|
| 3764 | # This happens at least with the AIX C compiler. |
---|
| 3765 | : > sub/conftest.c |
---|
| 3766 | for i in 1 2 3 4 5 6; do |
---|
| 3767 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
| 3768 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
---|
| 3769 | # Solaris 8's {/usr,}/bin/sh. |
---|
| 3770 | touch sub/conftst$i.h |
---|
| 3771 | done |
---|
| 3772 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
| 3773 | |
---|
| 3774 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
---|
| 3775 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
| 3776 | # handle `-M -o', and we need to detect this. Also, some Intel |
---|
| 3777 | # versions had trouble with output in subdirs |
---|
| 3778 | am__obj=sub/conftest.${OBJEXT-o} |
---|
| 3779 | am__minus_obj="-o $am__obj" |
---|
| 3780 | case $depmode in |
---|
| 3781 | gcc) |
---|
| 3782 | # This depmode causes a compiler race in universal mode. |
---|
| 3783 | test "$am__universal" = false || continue |
---|
| 3784 | ;; |
---|
| 3785 | nosideeffect) |
---|
| 3786 | # after this tag, mechanisms are not by side-effect, so they'll |
---|
| 3787 | # only be used when explicitly requested |
---|
| 3788 | if test "x$enable_dependency_tracking" = xyes; then |
---|
| 3789 | continue |
---|
| 3790 | else |
---|
| 3791 | break |
---|
| 3792 | fi |
---|
| 3793 | ;; |
---|
| 3794 | msvisualcpp | msvcmsys) |
---|
| 3795 | # This compiler won't grok `-c -o', but also, the minuso test has |
---|
| 3796 | # not run yet. These depmodes are late enough in the game, and |
---|
| 3797 | # so weak that their functioning should not be impacted. |
---|
| 3798 | am__obj=conftest.${OBJEXT-o} |
---|
| 3799 | am__minus_obj= |
---|
| 3800 | ;; |
---|
| 3801 | none) break ;; |
---|
| 3802 | esac |
---|
| 3803 | if depmode=$depmode \ |
---|
| 3804 | source=sub/conftest.c object=$am__obj \ |
---|
| 3805 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
| 3806 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
| 3807 | >/dev/null 2>conftest.err && |
---|
| 3808 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 3809 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 3810 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
| 3811 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
| 3812 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
| 3813 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
| 3814 | # that says an option was ignored or not supported. |
---|
| 3815 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
| 3816 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
| 3817 | # The diagnosis changed in icc 8.0: |
---|
| 3818 | # icc: Command line remark: option '-MP' not supported |
---|
| 3819 | if (grep 'ignoring option' conftest.err || |
---|
| 3820 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
| 3821 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
| 3822 | break |
---|
| 3823 | fi |
---|
| 3824 | fi |
---|
| 3825 | done |
---|
| 3826 | |
---|
| 3827 | cd .. |
---|
| 3828 | rm -rf conftest.dir |
---|
| 3829 | else |
---|
| 3830 | am_cv_CC_dependencies_compiler_type=none |
---|
| 3831 | fi |
---|
| 3832 | |
---|
| 3833 | fi |
---|
| 3834 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
| 3835 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
---|
| 3836 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
| 3837 | |
---|
| 3838 | if |
---|
| 3839 | test "x$enable_dependency_tracking" != xno \ |
---|
| 3840 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
| 3841 | am__fastdepCC_TRUE= |
---|
| 3842 | am__fastdepCC_FALSE='#' |
---|
| 3843 | else |
---|
| 3844 | am__fastdepCC_TRUE='#' |
---|
| 3845 | am__fastdepCC_FALSE= |
---|
| 3846 | fi |
---|
| 3847 | |
---|
| 3848 | |
---|
| 3849 | # Make sure we can run config.sub. |
---|
| 3850 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
---|
[5177] | 3851 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
---|
[4925] | 3852 | |
---|
| 3853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
---|
| 3854 | $as_echo_n "checking build system type... " >&6; } |
---|
[5177] | 3855 | if ${ac_cv_build+:} false; then : |
---|
[4925] | 3856 | $as_echo_n "(cached) " >&6 |
---|
| 3857 | else |
---|
| 3858 | ac_build_alias=$build_alias |
---|
| 3859 | test "x$ac_build_alias" = x && |
---|
| 3860 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
---|
| 3861 | test "x$ac_build_alias" = x && |
---|
[5177] | 3862 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
---|
[4925] | 3863 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
---|
[5177] | 3864 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
---|
[4925] | 3865 | |
---|
| 3866 | fi |
---|
| 3867 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
---|
| 3868 | $as_echo "$ac_cv_build" >&6; } |
---|
| 3869 | case $ac_cv_build in |
---|
| 3870 | *-*-*) ;; |
---|
[5177] | 3871 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
---|
[4925] | 3872 | esac |
---|
| 3873 | build=$ac_cv_build |
---|
| 3874 | ac_save_IFS=$IFS; IFS='-' |
---|
| 3875 | set x $ac_cv_build |
---|
| 3876 | shift |
---|
| 3877 | build_cpu=$1 |
---|
| 3878 | build_vendor=$2 |
---|
| 3879 | shift; shift |
---|
| 3880 | # Remember, the first character of IFS is used to create $*, |
---|
| 3881 | # except with old shells: |
---|
| 3882 | build_os=$* |
---|
| 3883 | IFS=$ac_save_IFS |
---|
| 3884 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
---|
| 3885 | |
---|
| 3886 | |
---|
| 3887 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
---|
| 3888 | $as_echo_n "checking host system type... " >&6; } |
---|
[5177] | 3889 | if ${ac_cv_host+:} false; then : |
---|
[4925] | 3890 | $as_echo_n "(cached) " >&6 |
---|
| 3891 | else |
---|
| 3892 | if test "x$host_alias" = x; then |
---|
| 3893 | ac_cv_host=$ac_cv_build |
---|
| 3894 | else |
---|
| 3895 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
---|
[5177] | 3896 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
---|
[4925] | 3897 | fi |
---|
| 3898 | |
---|
| 3899 | fi |
---|
| 3900 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
---|
| 3901 | $as_echo "$ac_cv_host" >&6; } |
---|
| 3902 | case $ac_cv_host in |
---|
| 3903 | *-*-*) ;; |
---|
[5177] | 3904 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
---|
[4925] | 3905 | esac |
---|
| 3906 | host=$ac_cv_host |
---|
| 3907 | ac_save_IFS=$IFS; IFS='-' |
---|
| 3908 | set x $ac_cv_host |
---|
| 3909 | shift |
---|
| 3910 | host_cpu=$1 |
---|
| 3911 | host_vendor=$2 |
---|
| 3912 | shift; shift |
---|
| 3913 | # Remember, the first character of IFS is used to create $*, |
---|
| 3914 | # except with old shells: |
---|
| 3915 | host_os=$* |
---|
| 3916 | IFS=$ac_save_IFS |
---|
| 3917 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
---|
| 3918 | |
---|
| 3919 | |
---|
| 3920 | |
---|
| 3921 | # Check whether --with-gnu-ld was given. |
---|
| 3922 | if test "${with_gnu_ld+set}" = set; then : |
---|
| 3923 | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
---|
| 3924 | else |
---|
| 3925 | with_gnu_ld=no |
---|
| 3926 | fi |
---|
| 3927 | |
---|
| 3928 | # Prepare PATH_SEPARATOR. |
---|
| 3929 | # The user is always right. |
---|
| 3930 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 3931 | echo "#! /bin/sh" >conf$$.sh |
---|
| 3932 | echo "exit 0" >>conf$$.sh |
---|
| 3933 | chmod +x conf$$.sh |
---|
| 3934 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
| 3935 | PATH_SEPARATOR=';' |
---|
| 3936 | else |
---|
| 3937 | PATH_SEPARATOR=: |
---|
| 3938 | fi |
---|
| 3939 | rm -f conf$$.sh |
---|
| 3940 | fi |
---|
| 3941 | ac_prog=ld |
---|
| 3942 | if test "$GCC" = yes; then |
---|
| 3943 | # Check if gcc -print-prog-name=ld gives a path. |
---|
| 3944 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 |
---|
| 3945 | $as_echo_n "checking for ld used by GCC... " >&6; } |
---|
| 3946 | case $host in |
---|
| 3947 | *-*-mingw*) |
---|
| 3948 | # gcc leaves a trailing carriage return which upsets mingw |
---|
| 3949 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
---|
| 3950 | *) |
---|
| 3951 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
---|
| 3952 | esac |
---|
| 3953 | case $ac_prog in |
---|
| 3954 | # Accept absolute paths. |
---|
| 3955 | [\\/]* | [A-Za-z]:[\\/]*) |
---|
| 3956 | re_direlt='/[^/][^/]*/\.\./' |
---|
| 3957 | # Canonicalize the path of ld |
---|
| 3958 | ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` |
---|
| 3959 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
---|
| 3960 | ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
---|
| 3961 | done |
---|
| 3962 | test -z "$LD" && LD="$ac_prog" |
---|
| 3963 | ;; |
---|
| 3964 | "") |
---|
| 3965 | # If it fails, then pretend we aren't using GCC. |
---|
| 3966 | ac_prog=ld |
---|
| 3967 | ;; |
---|
| 3968 | *) |
---|
| 3969 | # If it is relative, then search for the first ld in PATH. |
---|
| 3970 | with_gnu_ld=unknown |
---|
| 3971 | ;; |
---|
| 3972 | esac |
---|
| 3973 | elif test "$with_gnu_ld" = yes; then |
---|
| 3974 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
---|
| 3975 | $as_echo_n "checking for GNU ld... " >&6; } |
---|
| 3976 | else |
---|
| 3977 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
---|
| 3978 | $as_echo_n "checking for non-GNU ld... " >&6; } |
---|
| 3979 | fi |
---|
[5177] | 3980 | if ${acl_cv_path_LD+:} false; then : |
---|
[4925] | 3981 | $as_echo_n "(cached) " >&6 |
---|
| 3982 | else |
---|
| 3983 | if test -z "$LD"; then |
---|
| 3984 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
---|
| 3985 | for ac_dir in $PATH; do |
---|
| 3986 | test -z "$ac_dir" && ac_dir=. |
---|
| 3987 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
---|
| 3988 | acl_cv_path_LD="$ac_dir/$ac_prog" |
---|
| 3989 | # Check to see if the program is GNU ld. I'd rather use --version, |
---|
| 3990 | # but apparently some GNU ld's only accept -v. |
---|
| 3991 | # Break only if it was the GNU/non-GNU ld that we prefer. |
---|
| 3992 | case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in |
---|
| 3993 | *GNU* | *'with BFD'*) |
---|
| 3994 | test "$with_gnu_ld" != no && break ;; |
---|
| 3995 | *) |
---|
| 3996 | test "$with_gnu_ld" != yes && break ;; |
---|
| 3997 | esac |
---|
| 3998 | fi |
---|
| 3999 | done |
---|
| 4000 | IFS="$ac_save_ifs" |
---|
| 4001 | else |
---|
| 4002 | acl_cv_path_LD="$LD" # Let the user override the test with a path. |
---|
| 4003 | fi |
---|
| 4004 | fi |
---|
| 4005 | |
---|
| 4006 | LD="$acl_cv_path_LD" |
---|
| 4007 | if test -n "$LD"; then |
---|
| 4008 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
---|
| 4009 | $as_echo "$LD" >&6; } |
---|
| 4010 | else |
---|
| 4011 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4012 | $as_echo "no" >&6; } |
---|
| 4013 | fi |
---|
[5177] | 4014 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
---|
[4925] | 4015 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
---|
| 4016 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
---|
[5177] | 4017 | if ${acl_cv_prog_gnu_ld+:} false; then : |
---|
[4925] | 4018 | $as_echo_n "(cached) " >&6 |
---|
| 4019 | else |
---|
| 4020 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
---|
| 4021 | case `$LD -v 2>&1 </dev/null` in |
---|
| 4022 | *GNU* | *'with BFD'*) |
---|
| 4023 | acl_cv_prog_gnu_ld=yes ;; |
---|
| 4024 | *) |
---|
| 4025 | acl_cv_prog_gnu_ld=no ;; |
---|
| 4026 | esac |
---|
| 4027 | fi |
---|
| 4028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 |
---|
| 4029 | $as_echo "$acl_cv_prog_gnu_ld" >&6; } |
---|
| 4030 | with_gnu_ld=$acl_cv_prog_gnu_ld |
---|
| 4031 | |
---|
| 4032 | |
---|
| 4033 | |
---|
| 4034 | |
---|
| 4035 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
---|
| 4036 | $as_echo_n "checking for shared library run path origin... " >&6; } |
---|
[5177] | 4037 | if ${acl_cv_rpath+:} false; then : |
---|
[4925] | 4038 | $as_echo_n "(cached) " >&6 |
---|
| 4039 | else |
---|
| 4040 | |
---|
| 4041 | CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
---|
| 4042 | ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
---|
| 4043 | . ./conftest.sh |
---|
| 4044 | rm -f ./conftest.sh |
---|
| 4045 | acl_cv_rpath=done |
---|
| 4046 | |
---|
| 4047 | fi |
---|
| 4048 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 |
---|
| 4049 | $as_echo "$acl_cv_rpath" >&6; } |
---|
| 4050 | wl="$acl_cv_wl" |
---|
| 4051 | acl_libext="$acl_cv_libext" |
---|
| 4052 | acl_shlibext="$acl_cv_shlibext" |
---|
| 4053 | acl_libname_spec="$acl_cv_libname_spec" |
---|
| 4054 | acl_library_names_spec="$acl_cv_library_names_spec" |
---|
| 4055 | acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
---|
| 4056 | acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
---|
| 4057 | acl_hardcode_direct="$acl_cv_hardcode_direct" |
---|
| 4058 | acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" |
---|
| 4059 | # Check whether --enable-rpath was given. |
---|
| 4060 | if test "${enable_rpath+set}" = set; then : |
---|
| 4061 | enableval=$enable_rpath; : |
---|
| 4062 | else |
---|
| 4063 | enable_rpath=yes |
---|
| 4064 | fi |
---|
| 4065 | |
---|
| 4066 | |
---|
| 4067 | |
---|
| 4068 | ac_ext=c |
---|
| 4069 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 4070 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 4071 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 4072 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 4073 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
---|
| 4074 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
---|
| 4075 | # On Suns, sometimes $CPP names a directory. |
---|
| 4076 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 4077 | CPP= |
---|
| 4078 | fi |
---|
| 4079 | if test -z "$CPP"; then |
---|
[5177] | 4080 | if ${ac_cv_prog_CPP+:} false; then : |
---|
[4925] | 4081 | $as_echo_n "(cached) " >&6 |
---|
| 4082 | else |
---|
| 4083 | # Double quotes because CPP needs to be expanded |
---|
| 4084 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
| 4085 | do |
---|
| 4086 | ac_preproc_ok=false |
---|
| 4087 | for ac_c_preproc_warn_flag in '' yes |
---|
| 4088 | do |
---|
| 4089 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 4090 | # with a fresh cross-compiler works. |
---|
| 4091 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 4092 | # <limits.h> exists even on freestanding compilers. |
---|
| 4093 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 4094 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 4095 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4096 | /* end confdefs.h. */ |
---|
| 4097 | #ifdef __STDC__ |
---|
| 4098 | # include <limits.h> |
---|
| 4099 | #else |
---|
| 4100 | # include <assert.h> |
---|
| 4101 | #endif |
---|
| 4102 | Syntax error |
---|
| 4103 | _ACEOF |
---|
| 4104 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 4105 | |
---|
| 4106 | else |
---|
| 4107 | # Broken: fails on valid input. |
---|
| 4108 | continue |
---|
| 4109 | fi |
---|
[5177] | 4110 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
[4925] | 4111 | |
---|
| 4112 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
| 4113 | # can be detected and how. |
---|
| 4114 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4115 | /* end confdefs.h. */ |
---|
| 4116 | #include <ac_nonexistent.h> |
---|
| 4117 | _ACEOF |
---|
| 4118 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 4119 | # Broken: success on invalid input. |
---|
| 4120 | continue |
---|
| 4121 | else |
---|
| 4122 | # Passes both tests. |
---|
| 4123 | ac_preproc_ok=: |
---|
| 4124 | break |
---|
| 4125 | fi |
---|
[5177] | 4126 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
[4925] | 4127 | |
---|
| 4128 | done |
---|
| 4129 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
[5177] | 4130 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
[4925] | 4131 | if $ac_preproc_ok; then : |
---|
| 4132 | break |
---|
| 4133 | fi |
---|
| 4134 | |
---|
| 4135 | done |
---|
| 4136 | ac_cv_prog_CPP=$CPP |
---|
| 4137 | |
---|
| 4138 | fi |
---|
| 4139 | CPP=$ac_cv_prog_CPP |
---|
| 4140 | else |
---|
| 4141 | ac_cv_prog_CPP=$CPP |
---|
| 4142 | fi |
---|
| 4143 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
---|
| 4144 | $as_echo "$CPP" >&6; } |
---|
| 4145 | ac_preproc_ok=false |
---|
| 4146 | for ac_c_preproc_warn_flag in '' yes |
---|
| 4147 | do |
---|
| 4148 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 4149 | # with a fresh cross-compiler works. |
---|
| 4150 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 4151 | # <limits.h> exists even on freestanding compilers. |
---|
| 4152 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 4153 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 4154 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4155 | /* end confdefs.h. */ |
---|
| 4156 | #ifdef __STDC__ |
---|
| 4157 | # include <limits.h> |
---|
| 4158 | #else |
---|
| 4159 | # include <assert.h> |
---|
| 4160 | #endif |
---|
| 4161 | Syntax error |
---|
| 4162 | _ACEOF |
---|
| 4163 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 4164 | |
---|
| 4165 | else |
---|
| 4166 | # Broken: fails on valid input. |
---|
| 4167 | continue |
---|
| 4168 | fi |
---|
[5177] | 4169 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
[4925] | 4170 | |
---|
| 4171 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
| 4172 | # can be detected and how. |
---|
| 4173 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4174 | /* end confdefs.h. */ |
---|
| 4175 | #include <ac_nonexistent.h> |
---|
| 4176 | _ACEOF |
---|
| 4177 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 4178 | # Broken: success on invalid input. |
---|
| 4179 | continue |
---|
| 4180 | else |
---|
| 4181 | # Passes both tests. |
---|
| 4182 | ac_preproc_ok=: |
---|
| 4183 | break |
---|
| 4184 | fi |
---|
[5177] | 4185 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
[4925] | 4186 | |
---|
| 4187 | done |
---|
| 4188 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
[5177] | 4189 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
[4925] | 4190 | if $ac_preproc_ok; then : |
---|
| 4191 | |
---|
| 4192 | else |
---|
| 4193 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 4194 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
[5177] | 4195 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
---|
| 4196 | See \`config.log' for more details" "$LINENO" 5; } |
---|
[4925] | 4197 | fi |
---|
| 4198 | |
---|
| 4199 | ac_ext=c |
---|
| 4200 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 4201 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 4202 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 4203 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 4204 | |
---|
| 4205 | |
---|
| 4206 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
---|
| 4207 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
---|
[5177] | 4208 | if ${ac_cv_path_GREP+:} false; then : |
---|
[4925] | 4209 | $as_echo_n "(cached) " >&6 |
---|
| 4210 | else |
---|
| 4211 | if test -z "$GREP"; then |
---|
| 4212 | ac_path_GREP_found=false |
---|
| 4213 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 4214 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4215 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 4216 | do |
---|
| 4217 | IFS=$as_save_IFS |
---|
| 4218 | test -z "$as_dir" && as_dir=. |
---|
| 4219 | for ac_prog in grep ggrep; do |
---|
| 4220 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 4221 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
| 4222 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
---|
| 4223 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
| 4224 | # Check for GNU $ac_path_GREP |
---|
| 4225 | case `"$ac_path_GREP" --version 2>&1` in |
---|
| 4226 | *GNU*) |
---|
| 4227 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
| 4228 | *) |
---|
| 4229 | ac_count=0 |
---|
| 4230 | $as_echo_n 0123456789 >"conftest.in" |
---|
| 4231 | while : |
---|
| 4232 | do |
---|
| 4233 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 4234 | mv "conftest.tmp" "conftest.in" |
---|
| 4235 | cp "conftest.in" "conftest.nl" |
---|
| 4236 | $as_echo 'GREP' >> "conftest.nl" |
---|
| 4237 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 4238 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 4239 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
| 4240 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
| 4241 | # Best one so far, save it but keep looking for a better one |
---|
| 4242 | ac_cv_path_GREP="$ac_path_GREP" |
---|
| 4243 | ac_path_GREP_max=$ac_count |
---|
| 4244 | fi |
---|
| 4245 | # 10*(2^10) chars as input seems more than enough |
---|
| 4246 | test $ac_count -gt 10 && break |
---|
| 4247 | done |
---|
| 4248 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 4249 | esac |
---|
| 4250 | |
---|
| 4251 | $ac_path_GREP_found && break 3 |
---|
| 4252 | done |
---|
| 4253 | done |
---|
| 4254 | done |
---|
| 4255 | IFS=$as_save_IFS |
---|
| 4256 | if test -z "$ac_cv_path_GREP"; then |
---|
[5177] | 4257 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
[4925] | 4258 | fi |
---|
| 4259 | else |
---|
| 4260 | ac_cv_path_GREP=$GREP |
---|
| 4261 | fi |
---|
| 4262 | |
---|
| 4263 | fi |
---|
| 4264 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
---|
| 4265 | $as_echo "$ac_cv_path_GREP" >&6; } |
---|
| 4266 | GREP="$ac_cv_path_GREP" |
---|
| 4267 | |
---|
| 4268 | |
---|
| 4269 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
---|
| 4270 | $as_echo_n "checking for egrep... " >&6; } |
---|
[5177] | 4271 | if ${ac_cv_path_EGREP+:} false; then : |
---|
[4925] | 4272 | $as_echo_n "(cached) " >&6 |
---|
| 4273 | else |
---|
| 4274 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
| 4275 | then ac_cv_path_EGREP="$GREP -E" |
---|
| 4276 | else |
---|
| 4277 | if test -z "$EGREP"; then |
---|
| 4278 | ac_path_EGREP_found=false |
---|
| 4279 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 4280 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4281 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 4282 | do |
---|
| 4283 | IFS=$as_save_IFS |
---|
| 4284 | test -z "$as_dir" && as_dir=. |
---|
| 4285 | for ac_prog in egrep; do |
---|
| 4286 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 4287 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
| 4288 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
---|
| 4289 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
| 4290 | # Check for GNU $ac_path_EGREP |
---|
| 4291 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
| 4292 | *GNU*) |
---|
| 4293 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
| 4294 | *) |
---|
| 4295 | ac_count=0 |
---|
| 4296 | $as_echo_n 0123456789 >"conftest.in" |
---|
| 4297 | while : |
---|
| 4298 | do |
---|
| 4299 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 4300 | mv "conftest.tmp" "conftest.in" |
---|
| 4301 | cp "conftest.in" "conftest.nl" |
---|
| 4302 | $as_echo 'EGREP' >> "conftest.nl" |
---|
| 4303 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 4304 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 4305 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
| 4306 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
| 4307 | # Best one so far, save it but keep looking for a better one |
---|
| 4308 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
| 4309 | ac_path_EGREP_max=$ac_count |
---|
| 4310 | fi |
---|
| 4311 | # 10*(2^10) chars as input seems more than enough |
---|
| 4312 | test $ac_count -gt 10 && break |
---|
| 4313 | done |
---|
| 4314 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 4315 | esac |
---|
| 4316 | |
---|
| 4317 | $ac_path_EGREP_found && break 3 |
---|
| 4318 | done |
---|
| 4319 | done |
---|
| 4320 | done |
---|
| 4321 | IFS=$as_save_IFS |
---|
| 4322 | if test -z "$ac_cv_path_EGREP"; then |
---|
[5177] | 4323 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
[4925] | 4324 | fi |
---|
| 4325 | else |
---|
| 4326 | ac_cv_path_EGREP=$EGREP |
---|
| 4327 | fi |
---|
| 4328 | |
---|
| 4329 | fi |
---|
| 4330 | fi |
---|
| 4331 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
---|
| 4332 | $as_echo "$ac_cv_path_EGREP" >&6; } |
---|
| 4333 | EGREP="$ac_cv_path_EGREP" |
---|
| 4334 | |
---|
| 4335 | |
---|
| 4336 | |
---|
| 4337 | |
---|
| 4338 | acl_libdirstem=lib |
---|
| 4339 | acl_libdirstem2= |
---|
| 4340 | case "$host_os" in |
---|
| 4341 | solaris*) |
---|
| 4342 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 |
---|
| 4343 | $as_echo_n "checking for 64-bit host... " >&6; } |
---|
[5177] | 4344 | if ${gl_cv_solaris_64bit+:} false; then : |
---|
[4925] | 4345 | $as_echo_n "(cached) " >&6 |
---|
| 4346 | else |
---|
| 4347 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4348 | /* end confdefs.h. */ |
---|
| 4349 | |
---|
| 4350 | #ifdef _LP64 |
---|
| 4351 | sixtyfour bits |
---|
| 4352 | #endif |
---|
| 4353 | |
---|
| 4354 | _ACEOF |
---|
| 4355 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 4356 | $EGREP "sixtyfour bits" >/dev/null 2>&1; then : |
---|
| 4357 | gl_cv_solaris_64bit=yes |
---|
| 4358 | else |
---|
| 4359 | gl_cv_solaris_64bit=no |
---|
| 4360 | fi |
---|
| 4361 | rm -f conftest* |
---|
| 4362 | |
---|
| 4363 | |
---|
| 4364 | fi |
---|
| 4365 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 |
---|
| 4366 | $as_echo "$gl_cv_solaris_64bit" >&6; } |
---|
| 4367 | if test $gl_cv_solaris_64bit = yes; then |
---|
| 4368 | acl_libdirstem=lib/64 |
---|
| 4369 | case "$host_cpu" in |
---|
| 4370 | sparc*) acl_libdirstem2=lib/sparcv9 ;; |
---|
| 4371 | i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; |
---|
| 4372 | esac |
---|
| 4373 | fi |
---|
| 4374 | ;; |
---|
| 4375 | *) |
---|
| 4376 | searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` |
---|
| 4377 | if test -n "$searchpath"; then |
---|
| 4378 | acl_save_IFS="${IFS= }"; IFS=":" |
---|
| 4379 | for searchdir in $searchpath; do |
---|
| 4380 | if test -d "$searchdir"; then |
---|
| 4381 | case "$searchdir" in |
---|
| 4382 | */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; |
---|
| 4383 | */../ | */.. ) |
---|
| 4384 | # Better ignore directories of this form. They are misleading. |
---|
| 4385 | ;; |
---|
| 4386 | *) searchdir=`cd "$searchdir" && pwd` |
---|
| 4387 | case "$searchdir" in |
---|
| 4388 | */lib64 ) acl_libdirstem=lib64 ;; |
---|
| 4389 | esac ;; |
---|
| 4390 | esac |
---|
| 4391 | fi |
---|
| 4392 | done |
---|
| 4393 | IFS="$acl_save_IFS" |
---|
| 4394 | fi |
---|
| 4395 | ;; |
---|
| 4396 | esac |
---|
| 4397 | test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" |
---|
| 4398 | |
---|
| 4399 | |
---|
| 4400 | |
---|
| 4401 | |
---|
| 4402 | |
---|
| 4403 | |
---|
| 4404 | |
---|
| 4405 | |
---|
| 4406 | |
---|
| 4407 | |
---|
| 4408 | |
---|
| 4409 | |
---|
| 4410 | use_additional=yes |
---|
| 4411 | |
---|
| 4412 | acl_save_prefix="$prefix" |
---|
| 4413 | prefix="$acl_final_prefix" |
---|
| 4414 | acl_save_exec_prefix="$exec_prefix" |
---|
| 4415 | exec_prefix="$acl_final_exec_prefix" |
---|
| 4416 | |
---|
| 4417 | eval additional_includedir=\"$includedir\" |
---|
| 4418 | eval additional_libdir=\"$libdir\" |
---|
| 4419 | |
---|
| 4420 | exec_prefix="$acl_save_exec_prefix" |
---|
| 4421 | prefix="$acl_save_prefix" |
---|
| 4422 | |
---|
| 4423 | |
---|
| 4424 | # Check whether --with-libiconv-prefix was given. |
---|
| 4425 | if test "${with_libiconv_prefix+set}" = set; then : |
---|
| 4426 | withval=$with_libiconv_prefix; |
---|
| 4427 | if test "X$withval" = "Xno"; then |
---|
| 4428 | use_additional=no |
---|
| 4429 | else |
---|
| 4430 | if test "X$withval" = "X"; then |
---|
| 4431 | |
---|
| 4432 | acl_save_prefix="$prefix" |
---|
| 4433 | prefix="$acl_final_prefix" |
---|
| 4434 | acl_save_exec_prefix="$exec_prefix" |
---|
| 4435 | exec_prefix="$acl_final_exec_prefix" |
---|
| 4436 | |
---|
| 4437 | eval additional_includedir=\"$includedir\" |
---|
| 4438 | eval additional_libdir=\"$libdir\" |
---|
| 4439 | |
---|
| 4440 | exec_prefix="$acl_save_exec_prefix" |
---|
| 4441 | prefix="$acl_save_prefix" |
---|
| 4442 | |
---|
| 4443 | else |
---|
| 4444 | additional_includedir="$withval/include" |
---|
| 4445 | additional_libdir="$withval/$acl_libdirstem" |
---|
| 4446 | if test "$acl_libdirstem2" != "$acl_libdirstem" \ |
---|
| 4447 | && ! test -d "$withval/$acl_libdirstem"; then |
---|
| 4448 | additional_libdir="$withval/$acl_libdirstem2" |
---|
| 4449 | fi |
---|
| 4450 | fi |
---|
| 4451 | fi |
---|
| 4452 | |
---|
| 4453 | fi |
---|
| 4454 | |
---|
| 4455 | LIBICONV= |
---|
| 4456 | LTLIBICONV= |
---|
| 4457 | INCICONV= |
---|
| 4458 | LIBICONV_PREFIX= |
---|
| 4459 | HAVE_LIBICONV= |
---|
| 4460 | rpathdirs= |
---|
| 4461 | ltrpathdirs= |
---|
| 4462 | names_already_handled= |
---|
| 4463 | names_next_round='iconv ' |
---|
| 4464 | while test -n "$names_next_round"; do |
---|
| 4465 | names_this_round="$names_next_round" |
---|
| 4466 | names_next_round= |
---|
| 4467 | for name in $names_this_round; do |
---|
| 4468 | already_handled= |
---|
| 4469 | for n in $names_already_handled; do |
---|
| 4470 | if test "$n" = "$name"; then |
---|
| 4471 | already_handled=yes |
---|
| 4472 | break |
---|
| 4473 | fi |
---|
| 4474 | done |
---|
| 4475 | if test -z "$already_handled"; then |
---|
| 4476 | names_already_handled="$names_already_handled $name" |
---|
| 4477 | uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` |
---|
| 4478 | eval value=\"\$HAVE_LIB$uppername\" |
---|
| 4479 | if test -n "$value"; then |
---|
| 4480 | if test "$value" = yes; then |
---|
| 4481 | eval value=\"\$LIB$uppername\" |
---|
| 4482 | test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" |
---|
| 4483 | eval value=\"\$LTLIB$uppername\" |
---|
| 4484 | test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" |
---|
| 4485 | else |
---|
| 4486 | : |
---|
| 4487 | fi |
---|
| 4488 | else |
---|
| 4489 | found_dir= |
---|
| 4490 | found_la= |
---|
| 4491 | found_so= |
---|
| 4492 | found_a= |
---|
| 4493 | eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
---|
| 4494 | if test -n "$acl_shlibext"; then |
---|
| 4495 | shrext=".$acl_shlibext" # typically: shrext=.so |
---|
| 4496 | else |
---|
| 4497 | shrext= |
---|
| 4498 | fi |
---|
| 4499 | if test $use_additional = yes; then |
---|
| 4500 | dir="$additional_libdir" |
---|
| 4501 | if test -n "$acl_shlibext"; then |
---|
| 4502 | if test -f "$dir/$libname$shrext"; then |
---|
| 4503 | found_dir="$dir" |
---|
| 4504 | found_so="$dir/$libname$shrext" |
---|
| 4505 | else |
---|
| 4506 | if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
---|
| 4507 | ver=`(cd "$dir" && \ |
---|
| 4508 | for f in "$libname$shrext".*; do echo "$f"; done \ |
---|
| 4509 | | sed -e "s,^$libname$shrext\\\\.,," \ |
---|
| 4510 | | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
---|
| 4511 | | sed 1q ) 2>/dev/null` |
---|
| 4512 | if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
---|
| 4513 | found_dir="$dir" |
---|
| 4514 | found_so="$dir/$libname$shrext.$ver" |
---|
| 4515 | fi |
---|
| 4516 | else |
---|
| 4517 | eval library_names=\"$acl_library_names_spec\" |
---|
| 4518 | for f in $library_names; do |
---|
| 4519 | if test -f "$dir/$f"; then |
---|
| 4520 | found_dir="$dir" |
---|
| 4521 | found_so="$dir/$f" |
---|
| 4522 | break |
---|
| 4523 | fi |
---|
| 4524 | done |
---|
| 4525 | fi |
---|
| 4526 | fi |
---|
| 4527 | fi |
---|
| 4528 | if test "X$found_dir" = "X"; then |
---|
| 4529 | if test -f "$dir/$libname.$acl_libext"; then |
---|
| 4530 | found_dir="$dir" |
---|
| 4531 | found_a="$dir/$libname.$acl_libext" |
---|
| 4532 | fi |
---|
| 4533 | fi |
---|
| 4534 | if test "X$found_dir" != "X"; then |
---|
| 4535 | if test -f "$dir/$libname.la"; then |
---|
| 4536 | found_la="$dir/$libname.la" |
---|
| 4537 | fi |
---|
| 4538 | fi |
---|
| 4539 | fi |
---|
| 4540 | if test "X$found_dir" = "X"; then |
---|
| 4541 | for x in $LDFLAGS $LTLIBICONV; do |
---|
| 4542 | |
---|
| 4543 | acl_save_prefix="$prefix" |
---|
| 4544 | prefix="$acl_final_prefix" |
---|
| 4545 | acl_save_exec_prefix="$exec_prefix" |
---|
| 4546 | exec_prefix="$acl_final_exec_prefix" |
---|
| 4547 | eval x=\"$x\" |
---|
| 4548 | exec_prefix="$acl_save_exec_prefix" |
---|
| 4549 | prefix="$acl_save_prefix" |
---|
| 4550 | |
---|
| 4551 | case "$x" in |
---|
| 4552 | -L*) |
---|
| 4553 | dir=`echo "X$x" | sed -e 's/^X-L//'` |
---|
| 4554 | if test -n "$acl_shlibext"; then |
---|
| 4555 | if test -f "$dir/$libname$shrext"; then |
---|
| 4556 | found_dir="$dir" |
---|
| 4557 | found_so="$dir/$libname$shrext" |
---|
| 4558 | else |
---|
| 4559 | if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
---|
| 4560 | ver=`(cd "$dir" && \ |
---|
| 4561 | for f in "$libname$shrext".*; do echo "$f"; done \ |
---|
| 4562 | | sed -e "s,^$libname$shrext\\\\.,," \ |
---|
| 4563 | | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
---|
| 4564 | | sed 1q ) 2>/dev/null` |
---|
| 4565 | if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
---|
| 4566 | found_dir="$dir" |
---|
| 4567 | found_so="$dir/$libname$shrext.$ver" |
---|
| 4568 | fi |
---|
| 4569 | else |
---|
| 4570 | eval library_names=\"$acl_library_names_spec\" |
---|
| 4571 | for f in $library_names; do |
---|
| 4572 | if test -f "$dir/$f"; then |
---|
| 4573 | found_dir="$dir" |
---|
| 4574 | found_so="$dir/$f" |
---|
| 4575 | break |
---|
| 4576 | fi |
---|
| 4577 | done |
---|
| 4578 | fi |
---|
| 4579 | fi |
---|
| 4580 | fi |
---|
| 4581 | if test "X$found_dir" = "X"; then |
---|
| 4582 | if test -f "$dir/$libname.$acl_libext"; then |
---|
| 4583 | found_dir="$dir" |
---|
| 4584 | found_a="$dir/$libname.$acl_libext" |
---|
| 4585 | fi |
---|
| 4586 | fi |
---|
| 4587 | if test "X$found_dir" != "X"; then |
---|
| 4588 | if test -f "$dir/$libname.la"; then |
---|
| 4589 | found_la="$dir/$libname.la" |
---|
| 4590 | fi |
---|
| 4591 | fi |
---|
| 4592 | ;; |
---|
| 4593 | esac |
---|
| 4594 | if test "X$found_dir" != "X"; then |
---|
| 4595 | break |
---|
| 4596 | fi |
---|
| 4597 | done |
---|
| 4598 | fi |
---|
| 4599 | if test "X$found_dir" != "X"; then |
---|
| 4600 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" |
---|
| 4601 | if test "X$found_so" != "X"; then |
---|
| 4602 | if test "$enable_rpath" = no \ |
---|
| 4603 | || test "X$found_dir" = "X/usr/$acl_libdirstem" \ |
---|
| 4604 | || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then |
---|
| 4605 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
---|
| 4606 | else |
---|
| 4607 | haveit= |
---|
| 4608 | for x in $ltrpathdirs; do |
---|
| 4609 | if test "X$x" = "X$found_dir"; then |
---|
| 4610 | haveit=yes |
---|
| 4611 | break |
---|
| 4612 | fi |
---|
| 4613 | done |
---|
| 4614 | if test -z "$haveit"; then |
---|
| 4615 | ltrpathdirs="$ltrpathdirs $found_dir" |
---|
| 4616 | fi |
---|
| 4617 | if test "$acl_hardcode_direct" = yes; then |
---|
| 4618 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
---|
| 4619 | else |
---|
| 4620 | if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then |
---|
| 4621 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
---|
| 4622 | haveit= |
---|
| 4623 | for x in $rpathdirs; do |
---|
| 4624 | if test "X$x" = "X$found_dir"; then |
---|
| 4625 | haveit=yes |
---|
| 4626 | break |
---|
| 4627 | fi |
---|
| 4628 | done |
---|
| 4629 | if test -z "$haveit"; then |
---|
| 4630 | rpathdirs="$rpathdirs $found_dir" |
---|
| 4631 | fi |
---|
| 4632 | else |
---|
| 4633 | haveit= |
---|
| 4634 | for x in $LDFLAGS $LIBICONV; do |
---|
| 4635 | |
---|
| 4636 | acl_save_prefix="$prefix" |
---|
| 4637 | prefix="$acl_final_prefix" |
---|
| 4638 | acl_save_exec_prefix="$exec_prefix" |
---|
| 4639 | exec_prefix="$acl_final_exec_prefix" |
---|
| 4640 | eval x=\"$x\" |
---|
| 4641 | exec_prefix="$acl_save_exec_prefix" |
---|
| 4642 | prefix="$acl_save_prefix" |
---|
| 4643 | |
---|
| 4644 | if test "X$x" = "X-L$found_dir"; then |
---|
| 4645 | haveit=yes |
---|
| 4646 | break |
---|
| 4647 | fi |
---|
| 4648 | done |
---|
| 4649 | if test -z "$haveit"; then |
---|
| 4650 | LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" |
---|
| 4651 | fi |
---|
| 4652 | if test "$acl_hardcode_minus_L" != no; then |
---|
| 4653 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" |
---|
| 4654 | else |
---|
| 4655 | LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
---|
| 4656 | fi |
---|
| 4657 | fi |
---|
| 4658 | fi |
---|
| 4659 | fi |
---|
| 4660 | else |
---|
| 4661 | if test "X$found_a" != "X"; then |
---|
| 4662 | LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" |
---|
| 4663 | else |
---|
| 4664 | LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" |
---|
| 4665 | fi |
---|
| 4666 | fi |
---|
| 4667 | additional_includedir= |
---|
| 4668 | case "$found_dir" in |
---|
| 4669 | */$acl_libdirstem | */$acl_libdirstem/) |
---|
| 4670 | basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
---|
| 4671 | if test "$name" = 'iconv'; then |
---|
| 4672 | LIBICONV_PREFIX="$basedir" |
---|
| 4673 | fi |
---|
| 4674 | additional_includedir="$basedir/include" |
---|
| 4675 | ;; |
---|
| 4676 | */$acl_libdirstem2 | */$acl_libdirstem2/) |
---|
| 4677 | basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` |
---|
| 4678 | if test "$name" = 'iconv'; then |
---|
| 4679 | LIBICONV_PREFIX="$basedir" |
---|
| 4680 | fi |
---|
| 4681 | additional_includedir="$basedir/include" |
---|
| 4682 | ;; |
---|
| 4683 | esac |
---|
| 4684 | if test "X$additional_includedir" != "X"; then |
---|
| 4685 | if test "X$additional_includedir" != "X/usr/include"; then |
---|
| 4686 | haveit= |
---|
| 4687 | if test "X$additional_includedir" = "X/usr/local/include"; then |
---|
| 4688 | if test -n "$GCC"; then |
---|
| 4689 | case $host_os in |
---|
| 4690 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
---|
| 4691 | esac |
---|
| 4692 | fi |
---|
| 4693 | fi |
---|
| 4694 | if test -z "$haveit"; then |
---|
| 4695 | for x in $CPPFLAGS $INCICONV; do |
---|
| 4696 | |
---|
| 4697 | acl_save_prefix="$prefix" |
---|
| 4698 | prefix="$acl_final_prefix" |
---|
| 4699 | acl_save_exec_prefix="$exec_prefix" |
---|
| 4700 | exec_prefix="$acl_final_exec_prefix" |
---|
| 4701 | eval x=\"$x\" |
---|
| 4702 | exec_prefix="$acl_save_exec_prefix" |
---|
| 4703 | prefix="$acl_save_prefix" |
---|
| 4704 | |
---|
| 4705 | if test "X$x" = "X-I$additional_includedir"; then |
---|
| 4706 | haveit=yes |
---|
| 4707 | break |
---|
| 4708 | fi |
---|
| 4709 | done |
---|
| 4710 | if test -z "$haveit"; then |
---|
| 4711 | if test -d "$additional_includedir"; then |
---|
| 4712 | INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" |
---|
| 4713 | fi |
---|
| 4714 | fi |
---|
| 4715 | fi |
---|
| 4716 | fi |
---|
| 4717 | fi |
---|
| 4718 | if test -n "$found_la"; then |
---|
| 4719 | save_libdir="$libdir" |
---|
| 4720 | case "$found_la" in |
---|
| 4721 | */* | *\\*) . "$found_la" ;; |
---|
| 4722 | *) . "./$found_la" ;; |
---|
| 4723 | esac |
---|
| 4724 | libdir="$save_libdir" |
---|
| 4725 | for dep in $dependency_libs; do |
---|
| 4726 | case "$dep" in |
---|
| 4727 | -L*) |
---|
| 4728 | additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
---|
| 4729 | if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ |
---|
| 4730 | && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then |
---|
| 4731 | haveit= |
---|
| 4732 | if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ |
---|
| 4733 | || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then |
---|
| 4734 | if test -n "$GCC"; then |
---|
| 4735 | case $host_os in |
---|
| 4736 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
---|
| 4737 | esac |
---|
| 4738 | fi |
---|
| 4739 | fi |
---|
| 4740 | if test -z "$haveit"; then |
---|
| 4741 | haveit= |
---|
| 4742 | for x in $LDFLAGS $LIBICONV; do |
---|
| 4743 | |
---|
| 4744 | acl_save_prefix="$prefix" |
---|
| 4745 | prefix="$acl_final_prefix" |
---|
| 4746 | acl_save_exec_prefix="$exec_prefix" |
---|
| 4747 | exec_prefix="$acl_final_exec_prefix" |
---|
| 4748 | eval x=\"$x\" |
---|
| 4749 | exec_prefix="$acl_save_exec_prefix" |
---|
| 4750 | prefix="$acl_save_prefix" |
---|
| 4751 | |
---|
| 4752 | if test "X$x" = "X-L$additional_libdir"; then |
---|
| 4753 | haveit=yes |
---|
| 4754 | break |
---|
| 4755 | fi |
---|
| 4756 | done |
---|
| 4757 | if test -z "$haveit"; then |
---|
| 4758 | if test -d "$additional_libdir"; then |
---|
| 4759 | LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" |
---|
| 4760 | fi |
---|
| 4761 | fi |
---|
| 4762 | haveit= |
---|
| 4763 | for x in $LDFLAGS $LTLIBICONV; do |
---|
| 4764 | |
---|
| 4765 | acl_save_prefix="$prefix" |
---|
| 4766 | prefix="$acl_final_prefix" |
---|
| 4767 | acl_save_exec_prefix="$exec_prefix" |
---|
| 4768 | exec_prefix="$acl_final_exec_prefix" |
---|
| 4769 | eval x=\"$x\" |
---|
| 4770 | exec_prefix="$acl_save_exec_prefix" |
---|
| 4771 | prefix="$acl_save_prefix" |
---|
| 4772 | |
---|
| 4773 | if test "X$x" = "X-L$additional_libdir"; then |
---|
| 4774 | haveit=yes |
---|
| 4775 | break |
---|
| 4776 | fi |
---|
| 4777 | done |
---|
| 4778 | if test -z "$haveit"; then |
---|
| 4779 | if test -d "$additional_libdir"; then |
---|
| 4780 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" |
---|
| 4781 | fi |
---|
| 4782 | fi |
---|
| 4783 | fi |
---|
| 4784 | fi |
---|
| 4785 | ;; |
---|
| 4786 | -R*) |
---|
| 4787 | dir=`echo "X$dep" | sed -e 's/^X-R//'` |
---|
| 4788 | if test "$enable_rpath" != no; then |
---|
| 4789 | haveit= |
---|
| 4790 | for x in $rpathdirs; do |
---|
| 4791 | if test "X$x" = "X$dir"; then |
---|
| 4792 | haveit=yes |
---|
| 4793 | break |
---|
| 4794 | fi |
---|
| 4795 | done |
---|
| 4796 | if test -z "$haveit"; then |
---|
| 4797 | rpathdirs="$rpathdirs $dir" |
---|
| 4798 | fi |
---|
| 4799 | haveit= |
---|
| 4800 | for x in $ltrpathdirs; do |
---|
| 4801 | if test "X$x" = "X$dir"; then |
---|
| 4802 | haveit=yes |
---|
| 4803 | break |
---|
| 4804 | fi |
---|
| 4805 | done |
---|
| 4806 | if test -z "$haveit"; then |
---|
| 4807 | ltrpathdirs="$ltrpathdirs $dir" |
---|
| 4808 | fi |
---|
| 4809 | fi |
---|
| 4810 | ;; |
---|
| 4811 | -l*) |
---|
| 4812 | names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
---|
| 4813 | ;; |
---|
| 4814 | *.la) |
---|
| 4815 | names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
---|
| 4816 | ;; |
---|
| 4817 | *) |
---|
| 4818 | LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" |
---|
| 4819 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" |
---|
| 4820 | ;; |
---|
| 4821 | esac |
---|
| 4822 | done |
---|
| 4823 | fi |
---|
| 4824 | else |
---|
| 4825 | LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" |
---|
| 4826 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" |
---|
| 4827 | fi |
---|
| 4828 | fi |
---|
| 4829 | fi |
---|
| 4830 | done |
---|
| 4831 | done |
---|
| 4832 | if test "X$rpathdirs" != "X"; then |
---|
| 4833 | if test -n "$acl_hardcode_libdir_separator"; then |
---|
| 4834 | alldirs= |
---|
| 4835 | for found_dir in $rpathdirs; do |
---|
| 4836 | alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
---|
| 4837 | done |
---|
| 4838 | acl_save_libdir="$libdir" |
---|
| 4839 | libdir="$alldirs" |
---|
| 4840 | eval flag=\"$acl_hardcode_libdir_flag_spec\" |
---|
| 4841 | libdir="$acl_save_libdir" |
---|
| 4842 | LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
---|
| 4843 | else |
---|
| 4844 | for found_dir in $rpathdirs; do |
---|
| 4845 | acl_save_libdir="$libdir" |
---|
| 4846 | libdir="$found_dir" |
---|
| 4847 | eval flag=\"$acl_hardcode_libdir_flag_spec\" |
---|
| 4848 | libdir="$acl_save_libdir" |
---|
| 4849 | LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" |
---|
| 4850 | done |
---|
| 4851 | fi |
---|
| 4852 | fi |
---|
| 4853 | if test "X$ltrpathdirs" != "X"; then |
---|
| 4854 | for found_dir in $ltrpathdirs; do |
---|
| 4855 | LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" |
---|
| 4856 | done |
---|
| 4857 | fi |
---|
| 4858 | |
---|
| 4859 | |
---|
| 4860 | |
---|
| 4861 | |
---|
| 4862 | |
---|
| 4863 | |
---|
| 4864 | |
---|
| 4865 | |
---|
| 4866 | |
---|
| 4867 | |
---|
| 4868 | |
---|
| 4869 | |
---|
| 4870 | |
---|
| 4871 | |
---|
| 4872 | |
---|
| 4873 | |
---|
| 4874 | |
---|
| 4875 | |
---|
| 4876 | |
---|
| 4877 | |
---|
| 4878 | |
---|
| 4879 | |
---|
| 4880 | |
---|
| 4881 | |
---|
| 4882 | |
---|
| 4883 | |
---|
| 4884 | |
---|
| 4885 | |
---|
| 4886 | |
---|
| 4887 | |
---|
| 4888 | |
---|
| 4889 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 |
---|
| 4890 | $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } |
---|
[5177] | 4891 | if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : |
---|
[4925] | 4892 | $as_echo_n "(cached) " >&6 |
---|
| 4893 | else |
---|
| 4894 | gt_save_LIBS="$LIBS" |
---|
| 4895 | LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
---|
| 4896 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4897 | /* end confdefs.h. */ |
---|
| 4898 | #include <CoreFoundation/CFPreferences.h> |
---|
| 4899 | int |
---|
| 4900 | main () |
---|
| 4901 | { |
---|
| 4902 | CFPreferencesCopyAppValue(NULL, NULL) |
---|
| 4903 | ; |
---|
| 4904 | return 0; |
---|
| 4905 | } |
---|
| 4906 | _ACEOF |
---|
| 4907 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 4908 | gt_cv_func_CFPreferencesCopyAppValue=yes |
---|
| 4909 | else |
---|
| 4910 | gt_cv_func_CFPreferencesCopyAppValue=no |
---|
| 4911 | fi |
---|
| 4912 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 4913 | conftest$ac_exeext conftest.$ac_ext |
---|
| 4914 | LIBS="$gt_save_LIBS" |
---|
| 4915 | fi |
---|
| 4916 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 |
---|
| 4917 | $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } |
---|
| 4918 | if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then |
---|
| 4919 | |
---|
| 4920 | $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h |
---|
| 4921 | |
---|
| 4922 | fi |
---|
| 4923 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 |
---|
| 4924 | $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } |
---|
[5177] | 4925 | if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : |
---|
[4925] | 4926 | $as_echo_n "(cached) " >&6 |
---|
| 4927 | else |
---|
| 4928 | gt_save_LIBS="$LIBS" |
---|
| 4929 | LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
---|
| 4930 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4931 | /* end confdefs.h. */ |
---|
| 4932 | #include <CoreFoundation/CFLocale.h> |
---|
| 4933 | int |
---|
| 4934 | main () |
---|
| 4935 | { |
---|
| 4936 | CFLocaleCopyCurrent(); |
---|
| 4937 | ; |
---|
| 4938 | return 0; |
---|
| 4939 | } |
---|
| 4940 | _ACEOF |
---|
| 4941 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 4942 | gt_cv_func_CFLocaleCopyCurrent=yes |
---|
| 4943 | else |
---|
| 4944 | gt_cv_func_CFLocaleCopyCurrent=no |
---|
| 4945 | fi |
---|
| 4946 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 4947 | conftest$ac_exeext conftest.$ac_ext |
---|
| 4948 | LIBS="$gt_save_LIBS" |
---|
| 4949 | fi |
---|
| 4950 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 |
---|
| 4951 | $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } |
---|
| 4952 | if test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
---|
| 4953 | |
---|
| 4954 | $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h |
---|
| 4955 | |
---|
| 4956 | fi |
---|
| 4957 | INTL_MACOSX_LIBS= |
---|
| 4958 | if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
---|
| 4959 | INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" |
---|
| 4960 | fi |
---|
| 4961 | |
---|
| 4962 | |
---|
| 4963 | |
---|
| 4964 | |
---|
| 4965 | |
---|
| 4966 | |
---|
| 4967 | LIBINTL= |
---|
| 4968 | LTLIBINTL= |
---|
| 4969 | POSUB= |
---|
| 4970 | |
---|
| 4971 | case " $gt_needs " in |
---|
| 4972 | *" need-formatstring-macros "*) gt_api_version=3 ;; |
---|
| 4973 | *" need-ngettext "*) gt_api_version=2 ;; |
---|
| 4974 | *) gt_api_version=1 ;; |
---|
| 4975 | esac |
---|
| 4976 | gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" |
---|
| 4977 | gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" |
---|
| 4978 | |
---|
| 4979 | if test "$USE_NLS" = "yes"; then |
---|
| 4980 | gt_use_preinstalled_gnugettext=no |
---|
| 4981 | |
---|
| 4982 | |
---|
| 4983 | if test $gt_api_version -ge 3; then |
---|
| 4984 | gt_revision_test_code=' |
---|
| 4985 | #ifndef __GNU_GETTEXT_SUPPORTED_REVISION |
---|
| 4986 | #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) |
---|
| 4987 | #endif |
---|
| 4988 | typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; |
---|
| 4989 | ' |
---|
| 4990 | else |
---|
| 4991 | gt_revision_test_code= |
---|
| 4992 | fi |
---|
| 4993 | if test $gt_api_version -ge 2; then |
---|
| 4994 | gt_expression_test_code=' + * ngettext ("", "", 0)' |
---|
| 4995 | else |
---|
| 4996 | gt_expression_test_code= |
---|
| 4997 | fi |
---|
| 4998 | |
---|
| 4999 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
---|
| 5000 | $as_echo_n "checking for GNU gettext in libc... " >&6; } |
---|
[5177] | 5001 | if eval \${$gt_func_gnugettext_libc+:} false; then : |
---|
[4925] | 5002 | $as_echo_n "(cached) " >&6 |
---|
| 5003 | else |
---|
| 5004 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5005 | /* end confdefs.h. */ |
---|
| 5006 | #include <libintl.h> |
---|
| 5007 | $gt_revision_test_code |
---|
| 5008 | extern int _nl_msg_cat_cntr; |
---|
| 5009 | extern int *_nl_domain_bindings; |
---|
| 5010 | int |
---|
| 5011 | main () |
---|
| 5012 | { |
---|
| 5013 | bindtextdomain ("", ""); |
---|
| 5014 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings |
---|
| 5015 | ; |
---|
| 5016 | return 0; |
---|
| 5017 | } |
---|
| 5018 | _ACEOF |
---|
| 5019 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5020 | eval "$gt_func_gnugettext_libc=yes" |
---|
| 5021 | else |
---|
| 5022 | eval "$gt_func_gnugettext_libc=no" |
---|
| 5023 | fi |
---|
| 5024 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5025 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5026 | fi |
---|
| 5027 | eval ac_res=\$$gt_func_gnugettext_libc |
---|
| 5028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 5029 | $as_echo "$ac_res" >&6; } |
---|
| 5030 | |
---|
| 5031 | if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then |
---|
| 5032 | |
---|
| 5033 | |
---|
| 5034 | |
---|
| 5035 | |
---|
| 5036 | |
---|
| 5037 | am_save_CPPFLAGS="$CPPFLAGS" |
---|
| 5038 | |
---|
| 5039 | for element in $INCICONV; do |
---|
| 5040 | haveit= |
---|
| 5041 | for x in $CPPFLAGS; do |
---|
| 5042 | |
---|
| 5043 | acl_save_prefix="$prefix" |
---|
| 5044 | prefix="$acl_final_prefix" |
---|
| 5045 | acl_save_exec_prefix="$exec_prefix" |
---|
| 5046 | exec_prefix="$acl_final_exec_prefix" |
---|
| 5047 | eval x=\"$x\" |
---|
| 5048 | exec_prefix="$acl_save_exec_prefix" |
---|
| 5049 | prefix="$acl_save_prefix" |
---|
| 5050 | |
---|
| 5051 | if test "X$x" = "X$element"; then |
---|
| 5052 | haveit=yes |
---|
| 5053 | break |
---|
| 5054 | fi |
---|
| 5055 | done |
---|
| 5056 | if test -z "$haveit"; then |
---|
| 5057 | CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
---|
| 5058 | fi |
---|
| 5059 | done |
---|
| 5060 | |
---|
| 5061 | |
---|
| 5062 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
---|
| 5063 | $as_echo_n "checking for iconv... " >&6; } |
---|
[5177] | 5064 | if ${am_cv_func_iconv+:} false; then : |
---|
[4925] | 5065 | $as_echo_n "(cached) " >&6 |
---|
| 5066 | else |
---|
| 5067 | |
---|
| 5068 | am_cv_func_iconv="no, consider installing GNU libiconv" |
---|
| 5069 | am_cv_lib_iconv=no |
---|
| 5070 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5071 | /* end confdefs.h. */ |
---|
| 5072 | #include <stdlib.h> |
---|
| 5073 | #include <iconv.h> |
---|
| 5074 | int |
---|
| 5075 | main () |
---|
| 5076 | { |
---|
| 5077 | iconv_t cd = iconv_open("",""); |
---|
| 5078 | iconv(cd,NULL,NULL,NULL,NULL); |
---|
| 5079 | iconv_close(cd); |
---|
| 5080 | ; |
---|
| 5081 | return 0; |
---|
| 5082 | } |
---|
| 5083 | _ACEOF |
---|
| 5084 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5085 | am_cv_func_iconv=yes |
---|
| 5086 | fi |
---|
| 5087 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5088 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5089 | if test "$am_cv_func_iconv" != yes; then |
---|
| 5090 | am_save_LIBS="$LIBS" |
---|
| 5091 | LIBS="$LIBS $LIBICONV" |
---|
| 5092 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5093 | /* end confdefs.h. */ |
---|
| 5094 | #include <stdlib.h> |
---|
| 5095 | #include <iconv.h> |
---|
| 5096 | int |
---|
| 5097 | main () |
---|
| 5098 | { |
---|
| 5099 | iconv_t cd = iconv_open("",""); |
---|
| 5100 | iconv(cd,NULL,NULL,NULL,NULL); |
---|
| 5101 | iconv_close(cd); |
---|
| 5102 | ; |
---|
| 5103 | return 0; |
---|
| 5104 | } |
---|
| 5105 | _ACEOF |
---|
| 5106 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5107 | am_cv_lib_iconv=yes |
---|
| 5108 | am_cv_func_iconv=yes |
---|
| 5109 | fi |
---|
| 5110 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5111 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5112 | LIBS="$am_save_LIBS" |
---|
| 5113 | fi |
---|
| 5114 | |
---|
| 5115 | fi |
---|
| 5116 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 |
---|
| 5117 | $as_echo "$am_cv_func_iconv" >&6; } |
---|
| 5118 | if test "$am_cv_func_iconv" = yes; then |
---|
| 5119 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 |
---|
| 5120 | $as_echo_n "checking for working iconv... " >&6; } |
---|
[5177] | 5121 | if ${am_cv_func_iconv_works+:} false; then : |
---|
[4925] | 5122 | $as_echo_n "(cached) " >&6 |
---|
| 5123 | else |
---|
| 5124 | |
---|
| 5125 | am_save_LIBS="$LIBS" |
---|
| 5126 | if test $am_cv_lib_iconv = yes; then |
---|
| 5127 | LIBS="$LIBS $LIBICONV" |
---|
| 5128 | fi |
---|
| 5129 | if test "$cross_compiling" = yes; then : |
---|
| 5130 | case "$host_os" in |
---|
| 5131 | aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; |
---|
| 5132 | *) am_cv_func_iconv_works="guessing yes" ;; |
---|
| 5133 | esac |
---|
| 5134 | else |
---|
| 5135 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5136 | /* end confdefs.h. */ |
---|
| 5137 | |
---|
| 5138 | #include <iconv.h> |
---|
| 5139 | #include <string.h> |
---|
| 5140 | int main () |
---|
| 5141 | { |
---|
| 5142 | /* Test against AIX 5.1 bug: Failures are not distinguishable from successful |
---|
| 5143 | returns. */ |
---|
| 5144 | { |
---|
| 5145 | iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); |
---|
| 5146 | if (cd_utf8_to_88591 != (iconv_t)(-1)) |
---|
| 5147 | { |
---|
| 5148 | static const char input[] = "\342\202\254"; /* EURO SIGN */ |
---|
| 5149 | char buf[10]; |
---|
| 5150 | const char *inptr = input; |
---|
| 5151 | size_t inbytesleft = strlen (input); |
---|
| 5152 | char *outptr = buf; |
---|
| 5153 | size_t outbytesleft = sizeof (buf); |
---|
| 5154 | size_t res = iconv (cd_utf8_to_88591, |
---|
| 5155 | (char **) &inptr, &inbytesleft, |
---|
| 5156 | &outptr, &outbytesleft); |
---|
| 5157 | if (res == 0) |
---|
| 5158 | return 1; |
---|
| 5159 | } |
---|
| 5160 | } |
---|
| 5161 | /* Test against Solaris 10 bug: Failures are not distinguishable from |
---|
| 5162 | successful returns. */ |
---|
| 5163 | { |
---|
| 5164 | iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); |
---|
| 5165 | if (cd_ascii_to_88591 != (iconv_t)(-1)) |
---|
| 5166 | { |
---|
| 5167 | static const char input[] = "\263"; |
---|
| 5168 | char buf[10]; |
---|
| 5169 | const char *inptr = input; |
---|
| 5170 | size_t inbytesleft = strlen (input); |
---|
| 5171 | char *outptr = buf; |
---|
| 5172 | size_t outbytesleft = sizeof (buf); |
---|
| 5173 | size_t res = iconv (cd_ascii_to_88591, |
---|
| 5174 | (char **) &inptr, &inbytesleft, |
---|
| 5175 | &outptr, &outbytesleft); |
---|
| 5176 | if (res == 0) |
---|
| 5177 | return 1; |
---|
| 5178 | } |
---|
| 5179 | } |
---|
| 5180 | #if 0 /* This bug could be worked around by the caller. */ |
---|
| 5181 | /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ |
---|
| 5182 | { |
---|
| 5183 | iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); |
---|
| 5184 | if (cd_88591_to_utf8 != (iconv_t)(-1)) |
---|
| 5185 | { |
---|
| 5186 | static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; |
---|
| 5187 | char buf[50]; |
---|
| 5188 | const char *inptr = input; |
---|
| 5189 | size_t inbytesleft = strlen (input); |
---|
| 5190 | char *outptr = buf; |
---|
| 5191 | size_t outbytesleft = sizeof (buf); |
---|
| 5192 | size_t res = iconv (cd_88591_to_utf8, |
---|
| 5193 | (char **) &inptr, &inbytesleft, |
---|
| 5194 | &outptr, &outbytesleft); |
---|
| 5195 | if ((int)res > 0) |
---|
| 5196 | return 1; |
---|
| 5197 | } |
---|
| 5198 | } |
---|
| 5199 | #endif |
---|
| 5200 | /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is |
---|
| 5201 | provided. */ |
---|
| 5202 | if (/* Try standardized names. */ |
---|
| 5203 | iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) |
---|
| 5204 | /* Try IRIX, OSF/1 names. */ |
---|
| 5205 | && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) |
---|
| 5206 | /* Try AIX names. */ |
---|
| 5207 | && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) |
---|
| 5208 | /* Try HP-UX names. */ |
---|
| 5209 | && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) |
---|
| 5210 | return 1; |
---|
| 5211 | return 0; |
---|
| 5212 | } |
---|
| 5213 | _ACEOF |
---|
| 5214 | if ac_fn_c_try_run "$LINENO"; then : |
---|
| 5215 | am_cv_func_iconv_works=yes |
---|
| 5216 | else |
---|
| 5217 | am_cv_func_iconv_works=no |
---|
| 5218 | fi |
---|
| 5219 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
| 5220 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
| 5221 | fi |
---|
| 5222 | |
---|
| 5223 | LIBS="$am_save_LIBS" |
---|
| 5224 | |
---|
| 5225 | fi |
---|
| 5226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 |
---|
| 5227 | $as_echo "$am_cv_func_iconv_works" >&6; } |
---|
| 5228 | case "$am_cv_func_iconv_works" in |
---|
| 5229 | *no) am_func_iconv=no am_cv_lib_iconv=no ;; |
---|
| 5230 | *) am_func_iconv=yes ;; |
---|
| 5231 | esac |
---|
| 5232 | else |
---|
| 5233 | am_func_iconv=no am_cv_lib_iconv=no |
---|
| 5234 | fi |
---|
| 5235 | if test "$am_func_iconv" = yes; then |
---|
| 5236 | |
---|
| 5237 | $as_echo "#define HAVE_ICONV 1" >>confdefs.h |
---|
| 5238 | |
---|
| 5239 | fi |
---|
| 5240 | if test "$am_cv_lib_iconv" = yes; then |
---|
| 5241 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 |
---|
| 5242 | $as_echo_n "checking how to link with libiconv... " >&6; } |
---|
| 5243 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 |
---|
| 5244 | $as_echo "$LIBICONV" >&6; } |
---|
| 5245 | else |
---|
| 5246 | CPPFLAGS="$am_save_CPPFLAGS" |
---|
| 5247 | LIBICONV= |
---|
| 5248 | LTLIBICONV= |
---|
| 5249 | fi |
---|
| 5250 | |
---|
| 5251 | |
---|
| 5252 | |
---|
| 5253 | |
---|
| 5254 | |
---|
| 5255 | |
---|
| 5256 | |
---|
| 5257 | |
---|
| 5258 | |
---|
| 5259 | |
---|
| 5260 | |
---|
| 5261 | use_additional=yes |
---|
| 5262 | |
---|
| 5263 | acl_save_prefix="$prefix" |
---|
| 5264 | prefix="$acl_final_prefix" |
---|
| 5265 | acl_save_exec_prefix="$exec_prefix" |
---|
| 5266 | exec_prefix="$acl_final_exec_prefix" |
---|
| 5267 | |
---|
| 5268 | eval additional_includedir=\"$includedir\" |
---|
| 5269 | eval additional_libdir=\"$libdir\" |
---|
| 5270 | |
---|
| 5271 | exec_prefix="$acl_save_exec_prefix" |
---|
| 5272 | prefix="$acl_save_prefix" |
---|
| 5273 | |
---|
| 5274 | |
---|
| 5275 | # Check whether --with-libintl-prefix was given. |
---|
| 5276 | if test "${with_libintl_prefix+set}" = set; then : |
---|
| 5277 | withval=$with_libintl_prefix; |
---|
| 5278 | if test "X$withval" = "Xno"; then |
---|
| 5279 | use_additional=no |
---|
| 5280 | else |
---|
| 5281 | if test "X$withval" = "X"; then |
---|
| 5282 | |
---|
| 5283 | acl_save_prefix="$prefix" |
---|
| 5284 | prefix="$acl_final_prefix" |
---|
| 5285 | acl_save_exec_prefix="$exec_prefix" |
---|
| 5286 | exec_prefix="$acl_final_exec_prefix" |
---|
| 5287 | |
---|
| 5288 | eval additional_includedir=\"$includedir\" |
---|
| 5289 | eval additional_libdir=\"$libdir\" |
---|
| 5290 | |
---|
| 5291 | exec_prefix="$acl_save_exec_prefix" |
---|
| 5292 | prefix="$acl_save_prefix" |
---|
| 5293 | |
---|
| 5294 | else |
---|
| 5295 | additional_includedir="$withval/include" |
---|
| 5296 | additional_libdir="$withval/$acl_libdirstem" |
---|
| 5297 | if test "$acl_libdirstem2" != "$acl_libdirstem" \ |
---|
| 5298 | && ! test -d "$withval/$acl_libdirstem"; then |
---|
| 5299 | additional_libdir="$withval/$acl_libdirstem2" |
---|
| 5300 | fi |
---|
| 5301 | fi |
---|
| 5302 | fi |
---|
| 5303 | |
---|
| 5304 | fi |
---|
| 5305 | |
---|
| 5306 | LIBINTL= |
---|
| 5307 | LTLIBINTL= |
---|
| 5308 | INCINTL= |
---|
| 5309 | LIBINTL_PREFIX= |
---|
| 5310 | HAVE_LIBINTL= |
---|
| 5311 | rpathdirs= |
---|
| 5312 | ltrpathdirs= |
---|
| 5313 | names_already_handled= |
---|
| 5314 | names_next_round='intl ' |
---|
| 5315 | while test -n "$names_next_round"; do |
---|
| 5316 | names_this_round="$names_next_round" |
---|
| 5317 | names_next_round= |
---|
| 5318 | for name in $names_this_round; do |
---|
| 5319 | already_handled= |
---|
| 5320 | for n in $names_already_handled; do |
---|
| 5321 | if test "$n" = "$name"; then |
---|
| 5322 | already_handled=yes |
---|
| 5323 | break |
---|
| 5324 | fi |
---|
| 5325 | done |
---|
| 5326 | if test -z "$already_handled"; then |
---|
| 5327 | names_already_handled="$names_already_handled $name" |
---|
| 5328 | uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` |
---|
| 5329 | eval value=\"\$HAVE_LIB$uppername\" |
---|
| 5330 | if test -n "$value"; then |
---|
| 5331 | if test "$value" = yes; then |
---|
| 5332 | eval value=\"\$LIB$uppername\" |
---|
| 5333 | test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" |
---|
| 5334 | eval value=\"\$LTLIB$uppername\" |
---|
| 5335 | test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" |
---|
| 5336 | else |
---|
| 5337 | : |
---|
| 5338 | fi |
---|
| 5339 | else |
---|
| 5340 | found_dir= |
---|
| 5341 | found_la= |
---|
| 5342 | found_so= |
---|
| 5343 | found_a= |
---|
| 5344 | eval libname=\"$acl_libname_spec\" # typically: libname=lib$name |
---|
| 5345 | if test -n "$acl_shlibext"; then |
---|
| 5346 | shrext=".$acl_shlibext" # typically: shrext=.so |
---|
| 5347 | else |
---|
| 5348 | shrext= |
---|
| 5349 | fi |
---|
| 5350 | if test $use_additional = yes; then |
---|
| 5351 | dir="$additional_libdir" |
---|
| 5352 | if test -n "$acl_shlibext"; then |
---|
| 5353 | if test -f "$dir/$libname$shrext"; then |
---|
| 5354 | found_dir="$dir" |
---|
| 5355 | found_so="$dir/$libname$shrext" |
---|
| 5356 | else |
---|
| 5357 | if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
---|
| 5358 | ver=`(cd "$dir" && \ |
---|
| 5359 | for f in "$libname$shrext".*; do echo "$f"; done \ |
---|
| 5360 | | sed -e "s,^$libname$shrext\\\\.,," \ |
---|
| 5361 | | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
---|
| 5362 | | sed 1q ) 2>/dev/null` |
---|
| 5363 | if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
---|
| 5364 | found_dir="$dir" |
---|
| 5365 | found_so="$dir/$libname$shrext.$ver" |
---|
| 5366 | fi |
---|
| 5367 | else |
---|
| 5368 | eval library_names=\"$acl_library_names_spec\" |
---|
| 5369 | for f in $library_names; do |
---|
| 5370 | if test -f "$dir/$f"; then |
---|
| 5371 | found_dir="$dir" |
---|
| 5372 | found_so="$dir/$f" |
---|
| 5373 | break |
---|
| 5374 | fi |
---|
| 5375 | done |
---|
| 5376 | fi |
---|
| 5377 | fi |
---|
| 5378 | fi |
---|
| 5379 | if test "X$found_dir" = "X"; then |
---|
| 5380 | if test -f "$dir/$libname.$acl_libext"; then |
---|
| 5381 | found_dir="$dir" |
---|
| 5382 | found_a="$dir/$libname.$acl_libext" |
---|
| 5383 | fi |
---|
| 5384 | fi |
---|
| 5385 | if test "X$found_dir" != "X"; then |
---|
| 5386 | if test -f "$dir/$libname.la"; then |
---|
| 5387 | found_la="$dir/$libname.la" |
---|
| 5388 | fi |
---|
| 5389 | fi |
---|
| 5390 | fi |
---|
| 5391 | if test "X$found_dir" = "X"; then |
---|
| 5392 | for x in $LDFLAGS $LTLIBINTL; do |
---|
| 5393 | |
---|
| 5394 | acl_save_prefix="$prefix" |
---|
| 5395 | prefix="$acl_final_prefix" |
---|
| 5396 | acl_save_exec_prefix="$exec_prefix" |
---|
| 5397 | exec_prefix="$acl_final_exec_prefix" |
---|
| 5398 | eval x=\"$x\" |
---|
| 5399 | exec_prefix="$acl_save_exec_prefix" |
---|
| 5400 | prefix="$acl_save_prefix" |
---|
| 5401 | |
---|
| 5402 | case "$x" in |
---|
| 5403 | -L*) |
---|
| 5404 | dir=`echo "X$x" | sed -e 's/^X-L//'` |
---|
| 5405 | if test -n "$acl_shlibext"; then |
---|
| 5406 | if test -f "$dir/$libname$shrext"; then |
---|
| 5407 | found_dir="$dir" |
---|
| 5408 | found_so="$dir/$libname$shrext" |
---|
| 5409 | else |
---|
| 5410 | if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then |
---|
| 5411 | ver=`(cd "$dir" && \ |
---|
| 5412 | for f in "$libname$shrext".*; do echo "$f"; done \ |
---|
| 5413 | | sed -e "s,^$libname$shrext\\\\.,," \ |
---|
| 5414 | | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ |
---|
| 5415 | | sed 1q ) 2>/dev/null` |
---|
| 5416 | if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then |
---|
| 5417 | found_dir="$dir" |
---|
| 5418 | found_so="$dir/$libname$shrext.$ver" |
---|
| 5419 | fi |
---|
| 5420 | else |
---|
| 5421 | eval library_names=\"$acl_library_names_spec\" |
---|
| 5422 | for f in $library_names; do |
---|
| 5423 | if test -f "$dir/$f"; then |
---|
| 5424 | found_dir="$dir" |
---|
| 5425 | found_so="$dir/$f" |
---|
| 5426 | break |
---|
| 5427 | fi |
---|
| 5428 | done |
---|
| 5429 | fi |
---|
| 5430 | fi |
---|
| 5431 | fi |
---|
| 5432 | if test "X$found_dir" = "X"; then |
---|
| 5433 | if test -f "$dir/$libname.$acl_libext"; then |
---|
| 5434 | found_dir="$dir" |
---|
| 5435 | found_a="$dir/$libname.$acl_libext" |
---|
| 5436 | fi |
---|
| 5437 | fi |
---|
| 5438 | if test "X$found_dir" != "X"; then |
---|
| 5439 | if test -f "$dir/$libname.la"; then |
---|
| 5440 | found_la="$dir/$libname.la" |
---|
| 5441 | fi |
---|
| 5442 | fi |
---|
| 5443 | ;; |
---|
| 5444 | esac |
---|
| 5445 | if test "X$found_dir" != "X"; then |
---|
| 5446 | break |
---|
| 5447 | fi |
---|
| 5448 | done |
---|
| 5449 | fi |
---|
| 5450 | if test "X$found_dir" != "X"; then |
---|
| 5451 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" |
---|
| 5452 | if test "X$found_so" != "X"; then |
---|
| 5453 | if test "$enable_rpath" = no \ |
---|
| 5454 | || test "X$found_dir" = "X/usr/$acl_libdirstem" \ |
---|
| 5455 | || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then |
---|
| 5456 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
---|
| 5457 | else |
---|
| 5458 | haveit= |
---|
| 5459 | for x in $ltrpathdirs; do |
---|
| 5460 | if test "X$x" = "X$found_dir"; then |
---|
| 5461 | haveit=yes |
---|
| 5462 | break |
---|
| 5463 | fi |
---|
| 5464 | done |
---|
| 5465 | if test -z "$haveit"; then |
---|
| 5466 | ltrpathdirs="$ltrpathdirs $found_dir" |
---|
| 5467 | fi |
---|
| 5468 | if test "$acl_hardcode_direct" = yes; then |
---|
| 5469 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
---|
| 5470 | else |
---|
| 5471 | if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then |
---|
| 5472 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
---|
| 5473 | haveit= |
---|
| 5474 | for x in $rpathdirs; do |
---|
| 5475 | if test "X$x" = "X$found_dir"; then |
---|
| 5476 | haveit=yes |
---|
| 5477 | break |
---|
| 5478 | fi |
---|
| 5479 | done |
---|
| 5480 | if test -z "$haveit"; then |
---|
| 5481 | rpathdirs="$rpathdirs $found_dir" |
---|
| 5482 | fi |
---|
| 5483 | else |
---|
| 5484 | haveit= |
---|
| 5485 | for x in $LDFLAGS $LIBINTL; do |
---|
| 5486 | |
---|
| 5487 | acl_save_prefix="$prefix" |
---|
| 5488 | prefix="$acl_final_prefix" |
---|
| 5489 | acl_save_exec_prefix="$exec_prefix" |
---|
| 5490 | exec_prefix="$acl_final_exec_prefix" |
---|
| 5491 | eval x=\"$x\" |
---|
| 5492 | exec_prefix="$acl_save_exec_prefix" |
---|
| 5493 | prefix="$acl_save_prefix" |
---|
| 5494 | |
---|
| 5495 | if test "X$x" = "X-L$found_dir"; then |
---|
| 5496 | haveit=yes |
---|
| 5497 | break |
---|
| 5498 | fi |
---|
| 5499 | done |
---|
| 5500 | if test -z "$haveit"; then |
---|
| 5501 | LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" |
---|
| 5502 | fi |
---|
| 5503 | if test "$acl_hardcode_minus_L" != no; then |
---|
| 5504 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" |
---|
| 5505 | else |
---|
| 5506 | LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
---|
| 5507 | fi |
---|
| 5508 | fi |
---|
| 5509 | fi |
---|
| 5510 | fi |
---|
| 5511 | else |
---|
| 5512 | if test "X$found_a" != "X"; then |
---|
| 5513 | LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" |
---|
| 5514 | else |
---|
| 5515 | LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" |
---|
| 5516 | fi |
---|
| 5517 | fi |
---|
| 5518 | additional_includedir= |
---|
| 5519 | case "$found_dir" in |
---|
| 5520 | */$acl_libdirstem | */$acl_libdirstem/) |
---|
| 5521 | basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` |
---|
| 5522 | if test "$name" = 'intl'; then |
---|
| 5523 | LIBINTL_PREFIX="$basedir" |
---|
| 5524 | fi |
---|
| 5525 | additional_includedir="$basedir/include" |
---|
| 5526 | ;; |
---|
| 5527 | */$acl_libdirstem2 | */$acl_libdirstem2/) |
---|
| 5528 | basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` |
---|
| 5529 | if test "$name" = 'intl'; then |
---|
| 5530 | LIBINTL_PREFIX="$basedir" |
---|
| 5531 | fi |
---|
| 5532 | additional_includedir="$basedir/include" |
---|
| 5533 | ;; |
---|
| 5534 | esac |
---|
| 5535 | if test "X$additional_includedir" != "X"; then |
---|
| 5536 | if test "X$additional_includedir" != "X/usr/include"; then |
---|
| 5537 | haveit= |
---|
| 5538 | if test "X$additional_includedir" = "X/usr/local/include"; then |
---|
| 5539 | if test -n "$GCC"; then |
---|
| 5540 | case $host_os in |
---|
| 5541 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
---|
| 5542 | esac |
---|
| 5543 | fi |
---|
| 5544 | fi |
---|
| 5545 | if test -z "$haveit"; then |
---|
| 5546 | for x in $CPPFLAGS $INCINTL; do |
---|
| 5547 | |
---|
| 5548 | acl_save_prefix="$prefix" |
---|
| 5549 | prefix="$acl_final_prefix" |
---|
| 5550 | acl_save_exec_prefix="$exec_prefix" |
---|
| 5551 | exec_prefix="$acl_final_exec_prefix" |
---|
| 5552 | eval x=\"$x\" |
---|
| 5553 | exec_prefix="$acl_save_exec_prefix" |
---|
| 5554 | prefix="$acl_save_prefix" |
---|
| 5555 | |
---|
| 5556 | if test "X$x" = "X-I$additional_includedir"; then |
---|
| 5557 | haveit=yes |
---|
| 5558 | break |
---|
| 5559 | fi |
---|
| 5560 | done |
---|
| 5561 | if test -z "$haveit"; then |
---|
| 5562 | if test -d "$additional_includedir"; then |
---|
| 5563 | INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" |
---|
| 5564 | fi |
---|
| 5565 | fi |
---|
| 5566 | fi |
---|
| 5567 | fi |
---|
| 5568 | fi |
---|
| 5569 | if test -n "$found_la"; then |
---|
| 5570 | save_libdir="$libdir" |
---|
| 5571 | case "$found_la" in |
---|
| 5572 | */* | *\\*) . "$found_la" ;; |
---|
| 5573 | *) . "./$found_la" ;; |
---|
| 5574 | esac |
---|
| 5575 | libdir="$save_libdir" |
---|
| 5576 | for dep in $dependency_libs; do |
---|
| 5577 | case "$dep" in |
---|
| 5578 | -L*) |
---|
| 5579 | additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` |
---|
| 5580 | if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ |
---|
| 5581 | && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then |
---|
| 5582 | haveit= |
---|
| 5583 | if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ |
---|
| 5584 | || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then |
---|
| 5585 | if test -n "$GCC"; then |
---|
| 5586 | case $host_os in |
---|
| 5587 | linux* | gnu* | k*bsd*-gnu) haveit=yes;; |
---|
| 5588 | esac |
---|
| 5589 | fi |
---|
| 5590 | fi |
---|
| 5591 | if test -z "$haveit"; then |
---|
| 5592 | haveit= |
---|
| 5593 | for x in $LDFLAGS $LIBINTL; do |
---|
| 5594 | |
---|
| 5595 | acl_save_prefix="$prefix" |
---|
| 5596 | prefix="$acl_final_prefix" |
---|
| 5597 | acl_save_exec_prefix="$exec_prefix" |
---|
| 5598 | exec_prefix="$acl_final_exec_prefix" |
---|
| 5599 | eval x=\"$x\" |
---|
| 5600 | exec_prefix="$acl_save_exec_prefix" |
---|
| 5601 | prefix="$acl_save_prefix" |
---|
| 5602 | |
---|
| 5603 | if test "X$x" = "X-L$additional_libdir"; then |
---|
| 5604 | haveit=yes |
---|
| 5605 | break |
---|
| 5606 | fi |
---|
| 5607 | done |
---|
| 5608 | if test -z "$haveit"; then |
---|
| 5609 | if test -d "$additional_libdir"; then |
---|
| 5610 | LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" |
---|
| 5611 | fi |
---|
| 5612 | fi |
---|
| 5613 | haveit= |
---|
| 5614 | for x in $LDFLAGS $LTLIBINTL; do |
---|
| 5615 | |
---|
| 5616 | acl_save_prefix="$prefix" |
---|
| 5617 | prefix="$acl_final_prefix" |
---|
| 5618 | acl_save_exec_prefix="$exec_prefix" |
---|
| 5619 | exec_prefix="$acl_final_exec_prefix" |
---|
| 5620 | eval x=\"$x\" |
---|
| 5621 | exec_prefix="$acl_save_exec_prefix" |
---|
| 5622 | prefix="$acl_save_prefix" |
---|
| 5623 | |
---|
| 5624 | if test "X$x" = "X-L$additional_libdir"; then |
---|
| 5625 | haveit=yes |
---|
| 5626 | break |
---|
| 5627 | fi |
---|
| 5628 | done |
---|
| 5629 | if test -z "$haveit"; then |
---|
| 5630 | if test -d "$additional_libdir"; then |
---|
| 5631 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" |
---|
| 5632 | fi |
---|
| 5633 | fi |
---|
| 5634 | fi |
---|
| 5635 | fi |
---|
| 5636 | ;; |
---|
| 5637 | -R*) |
---|
| 5638 | dir=`echo "X$dep" | sed -e 's/^X-R//'` |
---|
| 5639 | if test "$enable_rpath" != no; then |
---|
| 5640 | haveit= |
---|
| 5641 | for x in $rpathdirs; do |
---|
| 5642 | if test "X$x" = "X$dir"; then |
---|
| 5643 | haveit=yes |
---|
| 5644 | break |
---|
| 5645 | fi |
---|
| 5646 | done |
---|
| 5647 | if test -z "$haveit"; then |
---|
| 5648 | rpathdirs="$rpathdirs $dir" |
---|
| 5649 | fi |
---|
| 5650 | haveit= |
---|
| 5651 | for x in $ltrpathdirs; do |
---|
| 5652 | if test "X$x" = "X$dir"; then |
---|
| 5653 | haveit=yes |
---|
| 5654 | break |
---|
| 5655 | fi |
---|
| 5656 | done |
---|
| 5657 | if test -z "$haveit"; then |
---|
| 5658 | ltrpathdirs="$ltrpathdirs $dir" |
---|
| 5659 | fi |
---|
| 5660 | fi |
---|
| 5661 | ;; |
---|
| 5662 | -l*) |
---|
| 5663 | names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` |
---|
| 5664 | ;; |
---|
| 5665 | *.la) |
---|
| 5666 | names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` |
---|
| 5667 | ;; |
---|
| 5668 | *) |
---|
| 5669 | LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" |
---|
| 5670 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" |
---|
| 5671 | ;; |
---|
| 5672 | esac |
---|
| 5673 | done |
---|
| 5674 | fi |
---|
| 5675 | else |
---|
| 5676 | LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" |
---|
| 5677 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" |
---|
| 5678 | fi |
---|
| 5679 | fi |
---|
| 5680 | fi |
---|
| 5681 | done |
---|
| 5682 | done |
---|
| 5683 | if test "X$rpathdirs" != "X"; then |
---|
| 5684 | if test -n "$acl_hardcode_libdir_separator"; then |
---|
| 5685 | alldirs= |
---|
| 5686 | for found_dir in $rpathdirs; do |
---|
| 5687 | alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" |
---|
| 5688 | done |
---|
| 5689 | acl_save_libdir="$libdir" |
---|
| 5690 | libdir="$alldirs" |
---|
| 5691 | eval flag=\"$acl_hardcode_libdir_flag_spec\" |
---|
| 5692 | libdir="$acl_save_libdir" |
---|
| 5693 | LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
---|
| 5694 | else |
---|
| 5695 | for found_dir in $rpathdirs; do |
---|
| 5696 | acl_save_libdir="$libdir" |
---|
| 5697 | libdir="$found_dir" |
---|
| 5698 | eval flag=\"$acl_hardcode_libdir_flag_spec\" |
---|
| 5699 | libdir="$acl_save_libdir" |
---|
| 5700 | LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" |
---|
| 5701 | done |
---|
| 5702 | fi |
---|
| 5703 | fi |
---|
| 5704 | if test "X$ltrpathdirs" != "X"; then |
---|
| 5705 | for found_dir in $ltrpathdirs; do |
---|
| 5706 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" |
---|
| 5707 | done |
---|
| 5708 | fi |
---|
| 5709 | |
---|
| 5710 | |
---|
| 5711 | |
---|
| 5712 | |
---|
| 5713 | |
---|
| 5714 | |
---|
| 5715 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
---|
| 5716 | $as_echo_n "checking for GNU gettext in libintl... " >&6; } |
---|
[5177] | 5717 | if eval \${$gt_func_gnugettext_libintl+:} false; then : |
---|
[4925] | 5718 | $as_echo_n "(cached) " >&6 |
---|
| 5719 | else |
---|
| 5720 | gt_save_CPPFLAGS="$CPPFLAGS" |
---|
| 5721 | CPPFLAGS="$CPPFLAGS $INCINTL" |
---|
| 5722 | gt_save_LIBS="$LIBS" |
---|
| 5723 | LIBS="$LIBS $LIBINTL" |
---|
| 5724 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5725 | /* end confdefs.h. */ |
---|
| 5726 | #include <libintl.h> |
---|
| 5727 | $gt_revision_test_code |
---|
| 5728 | extern int _nl_msg_cat_cntr; |
---|
| 5729 | extern |
---|
| 5730 | #ifdef __cplusplus |
---|
| 5731 | "C" |
---|
| 5732 | #endif |
---|
| 5733 | const char *_nl_expand_alias (const char *); |
---|
| 5734 | int |
---|
| 5735 | main () |
---|
| 5736 | { |
---|
| 5737 | bindtextdomain ("", ""); |
---|
| 5738 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") |
---|
| 5739 | ; |
---|
| 5740 | return 0; |
---|
| 5741 | } |
---|
| 5742 | _ACEOF |
---|
| 5743 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5744 | eval "$gt_func_gnugettext_libintl=yes" |
---|
| 5745 | else |
---|
| 5746 | eval "$gt_func_gnugettext_libintl=no" |
---|
| 5747 | fi |
---|
| 5748 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5749 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5750 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then |
---|
| 5751 | LIBS="$LIBS $LIBICONV" |
---|
| 5752 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5753 | /* end confdefs.h. */ |
---|
| 5754 | #include <libintl.h> |
---|
| 5755 | $gt_revision_test_code |
---|
| 5756 | extern int _nl_msg_cat_cntr; |
---|
| 5757 | extern |
---|
| 5758 | #ifdef __cplusplus |
---|
| 5759 | "C" |
---|
| 5760 | #endif |
---|
| 5761 | const char *_nl_expand_alias (const char *); |
---|
| 5762 | int |
---|
| 5763 | main () |
---|
| 5764 | { |
---|
| 5765 | bindtextdomain ("", ""); |
---|
| 5766 | return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") |
---|
| 5767 | ; |
---|
| 5768 | return 0; |
---|
| 5769 | } |
---|
| 5770 | _ACEOF |
---|
| 5771 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5772 | LIBINTL="$LIBINTL $LIBICONV" |
---|
| 5773 | LTLIBINTL="$LTLIBINTL $LTLIBICONV" |
---|
| 5774 | eval "$gt_func_gnugettext_libintl=yes" |
---|
| 5775 | |
---|
| 5776 | fi |
---|
| 5777 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5778 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5779 | fi |
---|
| 5780 | CPPFLAGS="$gt_save_CPPFLAGS" |
---|
| 5781 | LIBS="$gt_save_LIBS" |
---|
| 5782 | fi |
---|
| 5783 | eval ac_res=\$$gt_func_gnugettext_libintl |
---|
| 5784 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 5785 | $as_echo "$ac_res" >&6; } |
---|
| 5786 | fi |
---|
| 5787 | |
---|
| 5788 | if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ |
---|
| 5789 | || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ |
---|
| 5790 | && test "$PACKAGE" != gettext-runtime \ |
---|
| 5791 | && test "$PACKAGE" != gettext-tools; }; then |
---|
| 5792 | gt_use_preinstalled_gnugettext=yes |
---|
| 5793 | else |
---|
| 5794 | LIBINTL= |
---|
| 5795 | LTLIBINTL= |
---|
| 5796 | INCINTL= |
---|
| 5797 | fi |
---|
| 5798 | |
---|
| 5799 | |
---|
| 5800 | |
---|
| 5801 | if test -n "$INTL_MACOSX_LIBS"; then |
---|
| 5802 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
---|
| 5803 | || test "$nls_cv_use_gnu_gettext" = "yes"; then |
---|
| 5804 | LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" |
---|
| 5805 | LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" |
---|
| 5806 | fi |
---|
| 5807 | fi |
---|
| 5808 | |
---|
| 5809 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
---|
| 5810 | || test "$nls_cv_use_gnu_gettext" = "yes"; then |
---|
| 5811 | |
---|
| 5812 | $as_echo "#define ENABLE_NLS 1" >>confdefs.h |
---|
| 5813 | |
---|
| 5814 | else |
---|
| 5815 | USE_NLS=no |
---|
| 5816 | fi |
---|
| 5817 | fi |
---|
| 5818 | |
---|
| 5819 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 |
---|
| 5820 | $as_echo_n "checking whether to use NLS... " >&6; } |
---|
| 5821 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
---|
| 5822 | $as_echo "$USE_NLS" >&6; } |
---|
| 5823 | if test "$USE_NLS" = "yes"; then |
---|
| 5824 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 |
---|
| 5825 | $as_echo_n "checking where the gettext function comes from... " >&6; } |
---|
| 5826 | if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
---|
| 5827 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then |
---|
| 5828 | gt_source="external libintl" |
---|
| 5829 | else |
---|
| 5830 | gt_source="libc" |
---|
| 5831 | fi |
---|
| 5832 | else |
---|
| 5833 | gt_source="included intl directory" |
---|
| 5834 | fi |
---|
| 5835 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 |
---|
| 5836 | $as_echo "$gt_source" >&6; } |
---|
| 5837 | fi |
---|
| 5838 | |
---|
| 5839 | if test "$USE_NLS" = "yes"; then |
---|
| 5840 | |
---|
| 5841 | if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
---|
| 5842 | if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then |
---|
| 5843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 |
---|
| 5844 | $as_echo_n "checking how to link with libintl... " >&6; } |
---|
| 5845 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 |
---|
| 5846 | $as_echo "$LIBINTL" >&6; } |
---|
| 5847 | |
---|
| 5848 | for element in $INCINTL; do |
---|
| 5849 | haveit= |
---|
| 5850 | for x in $CPPFLAGS; do |
---|
| 5851 | |
---|
| 5852 | acl_save_prefix="$prefix" |
---|
| 5853 | prefix="$acl_final_prefix" |
---|
| 5854 | acl_save_exec_prefix="$exec_prefix" |
---|
| 5855 | exec_prefix="$acl_final_exec_prefix" |
---|
| 5856 | eval x=\"$x\" |
---|
| 5857 | exec_prefix="$acl_save_exec_prefix" |
---|
| 5858 | prefix="$acl_save_prefix" |
---|
| 5859 | |
---|
| 5860 | if test "X$x" = "X$element"; then |
---|
| 5861 | haveit=yes |
---|
| 5862 | break |
---|
| 5863 | fi |
---|
| 5864 | done |
---|
| 5865 | if test -z "$haveit"; then |
---|
| 5866 | CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
---|
| 5867 | fi |
---|
| 5868 | done |
---|
| 5869 | |
---|
| 5870 | fi |
---|
| 5871 | |
---|
| 5872 | |
---|
| 5873 | $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h |
---|
| 5874 | |
---|
| 5875 | |
---|
| 5876 | $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h |
---|
| 5877 | |
---|
| 5878 | fi |
---|
| 5879 | |
---|
| 5880 | POSUB=po |
---|
| 5881 | fi |
---|
| 5882 | |
---|
| 5883 | |
---|
| 5884 | |
---|
| 5885 | INTLLIBS="$LIBINTL" |
---|
| 5886 | |
---|
| 5887 | |
---|
| 5888 | |
---|
| 5889 | |
---|
| 5890 | |
---|
| 5891 | |
---|
| 5892 | |
---|
[4599] | 5893 | # Checks for programs. |
---|
| 5894 | |
---|
| 5895 | # Checks for libraries. |
---|
| 5896 | |
---|
| 5897 | # Checks for header files. |
---|
| 5898 | |
---|
| 5899 | # Checks for typedefs, structures, and compiler characteristics. |
---|
| 5900 | |
---|
| 5901 | # Checks for library functions. |
---|
| 5902 | |
---|
[4894] | 5903 | # Define variables |
---|
| 5904 | if test "x${prefix}" = "xNONE"; then |
---|
| 5905 | prefix=${ac_default_prefix} |
---|
| 5906 | fi |
---|
| 5907 | DATADIR=`eval echo ${datadir}` |
---|
| 5908 | PKGDATADIR=`eval echo ${DATADIR}/vine-rpm-helper` |
---|
| 5909 | |
---|
| 5910 | |
---|
[4973] | 5911 | ac_config_files="$ac_config_files po/Makefile.in plugins/Makefile data/Makefile man/Makefile man/ja/Makefile Makefile mkrpmspec mkrpmfiles" |
---|
[4894] | 5912 | |
---|
[4599] | 5913 | cat >confcache <<\_ACEOF |
---|
| 5914 | # This file is a shell script that caches the results of configure |
---|
| 5915 | # tests run on this system so they can be shared between configure |
---|
| 5916 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 5917 | # It is not useful on other systems. If it contains results you don't |
---|
| 5918 | # want to keep, you may remove or edit it. |
---|
| 5919 | # |
---|
| 5920 | # config.status only pays attention to the cache file if you give it |
---|
| 5921 | # the --recheck option to rerun configure. |
---|
| 5922 | # |
---|
| 5923 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 5924 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 5925 | # following values. |
---|
| 5926 | |
---|
| 5927 | _ACEOF |
---|
| 5928 | |
---|
| 5929 | # The following way of writing the cache mishandles newlines in values, |
---|
| 5930 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 5931 | # So, we kill variables containing newlines. |
---|
| 5932 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 5933 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 5934 | ( |
---|
| 5935 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
| 5936 | eval ac_val=\$$ac_var |
---|
| 5937 | case $ac_val in #( |
---|
| 5938 | *${as_nl}*) |
---|
| 5939 | case $ac_var in #( |
---|
| 5940 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 5941 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 5942 | esac |
---|
| 5943 | case $ac_var in #( |
---|
| 5944 | _ | IFS | as_nl) ;; #( |
---|
| 5945 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 5946 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 5947 | esac ;; |
---|
| 5948 | esac |
---|
| 5949 | done |
---|
| 5950 | |
---|
| 5951 | (set) 2>&1 | |
---|
| 5952 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
| 5953 | *${as_nl}ac_space=\ *) |
---|
| 5954 | # `set' does not quote correctly, so add quotes: double-quote |
---|
| 5955 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
| 5956 | sed -n \ |
---|
| 5957 | "s/'/'\\\\''/g; |
---|
| 5958 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
| 5959 | ;; #( |
---|
| 5960 | *) |
---|
| 5961 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 5962 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 5963 | ;; |
---|
| 5964 | esac | |
---|
| 5965 | sort |
---|
| 5966 | ) | |
---|
| 5967 | sed ' |
---|
| 5968 | /^ac_cv_env_/b end |
---|
| 5969 | t clear |
---|
| 5970 | :clear |
---|
| 5971 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 5972 | t end |
---|
| 5973 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 5974 | :end' >>confcache |
---|
| 5975 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
| 5976 | if test -w "$cache_file"; then |
---|
[5177] | 5977 | if test "x$cache_file" != "x/dev/null"; then |
---|
[4599] | 5978 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
| 5979 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
[5177] | 5980 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
---|
| 5981 | cat confcache >"$cache_file" |
---|
| 5982 | else |
---|
| 5983 | case $cache_file in #( |
---|
| 5984 | */* | ?:*) |
---|
| 5985 | mv -f confcache "$cache_file"$$ && |
---|
| 5986 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
---|
| 5987 | *) |
---|
| 5988 | mv -f confcache "$cache_file" ;; |
---|
| 5989 | esac |
---|
| 5990 | fi |
---|
| 5991 | fi |
---|
[4599] | 5992 | else |
---|
| 5993 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
| 5994 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
| 5995 | fi |
---|
| 5996 | fi |
---|
| 5997 | rm -f confcache |
---|
| 5998 | |
---|
| 5999 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 6000 | # Let make expand exec_prefix. |
---|
| 6001 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 6002 | |
---|
| 6003 | # Transform confdefs.h into DEFS. |
---|
| 6004 | # Protect against shell expansion while executing Makefile rules. |
---|
| 6005 | # Protect against Makefile macro expansion. |
---|
| 6006 | # |
---|
| 6007 | # If the first sed substitution is executed (which looks for macros that |
---|
| 6008 | # take arguments), then branch to the quote section. Otherwise, |
---|
| 6009 | # look for a macro that doesn't take arguments. |
---|
| 6010 | ac_script=' |
---|
| 6011 | :mline |
---|
| 6012 | /\\$/{ |
---|
| 6013 | N |
---|
| 6014 | s,\\\n,, |
---|
| 6015 | b mline |
---|
| 6016 | } |
---|
| 6017 | t clear |
---|
| 6018 | :clear |
---|
| 6019 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
---|
| 6020 | t quote |
---|
| 6021 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
---|
| 6022 | t quote |
---|
| 6023 | b any |
---|
| 6024 | :quote |
---|
| 6025 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
---|
| 6026 | s/\[/\\&/g |
---|
| 6027 | s/\]/\\&/g |
---|
| 6028 | s/\$/$$/g |
---|
| 6029 | H |
---|
| 6030 | :any |
---|
| 6031 | ${ |
---|
| 6032 | g |
---|
| 6033 | s/^\n// |
---|
| 6034 | s/\n/ /g |
---|
| 6035 | p |
---|
| 6036 | } |
---|
| 6037 | ' |
---|
| 6038 | DEFS=`sed -n "$ac_script" confdefs.h` |
---|
| 6039 | |
---|
| 6040 | |
---|
| 6041 | ac_libobjs= |
---|
| 6042 | ac_ltlibobjs= |
---|
[5177] | 6043 | U= |
---|
[4599] | 6044 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 6045 | # 1. Remove the extension, and $U if already installed. |
---|
| 6046 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
| 6047 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
| 6048 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 6049 | # will be set to the directory where LIBOBJS objects are built. |
---|
| 6050 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 6051 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
| 6052 | done |
---|
| 6053 | LIBOBJS=$ac_libobjs |
---|
| 6054 | |
---|
| 6055 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 6056 | |
---|
| 6057 | |
---|
[4925] | 6058 | if test -n "$EXEEXT"; then |
---|
| 6059 | am__EXEEXT_TRUE= |
---|
| 6060 | am__EXEEXT_FALSE='#' |
---|
| 6061 | else |
---|
| 6062 | am__EXEEXT_TRUE='#' |
---|
| 6063 | am__EXEEXT_FALSE= |
---|
| 6064 | fi |
---|
[4599] | 6065 | |
---|
| 6066 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
---|
[5177] | 6067 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
---|
[4599] | 6068 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 6069 | fi |
---|
[4925] | 6070 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
[5177] | 6071 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
---|
[4925] | 6072 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 6073 | fi |
---|
| 6074 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
[5177] | 6075 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
---|
[4925] | 6076 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 6077 | fi |
---|
[4599] | 6078 | |
---|
[5177] | 6079 | : "${CONFIG_STATUS=./config.status}" |
---|
[4599] | 6080 | ac_write_fail=0 |
---|
| 6081 | ac_clean_files_save=$ac_clean_files |
---|
| 6082 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 6083 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
| 6084 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 6085 | as_write_fail=0 |
---|
| 6086 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
| 6087 | #! $SHELL |
---|
| 6088 | # Generated by $as_me. |
---|
| 6089 | # Run this file to recreate the current configuration. |
---|
| 6090 | # Compiler output produced by configure, useful for debugging |
---|
| 6091 | # configure, is in config.log if it exists. |
---|
| 6092 | |
---|
| 6093 | debug=false |
---|
| 6094 | ac_cs_recheck=false |
---|
| 6095 | ac_cs_silent=false |
---|
| 6096 | |
---|
| 6097 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 6098 | export SHELL |
---|
| 6099 | _ASEOF |
---|
| 6100 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
| 6101 | ## -------------------- ## |
---|
| 6102 | ## M4sh Initialization. ## |
---|
| 6103 | ## -------------------- ## |
---|
| 6104 | |
---|
| 6105 | # Be more Bourne compatible |
---|
| 6106 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 6107 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 6108 | emulate sh |
---|
| 6109 | NULLCMD=: |
---|
| 6110 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 6111 | # is contrary to our usage. Disable this feature. |
---|
| 6112 | alias -g '${1+"$@"}'='"$@"' |
---|
| 6113 | setopt NO_GLOB_SUBST |
---|
| 6114 | else |
---|
| 6115 | case `(set -o) 2>/dev/null` in #( |
---|
| 6116 | *posix*) : |
---|
| 6117 | set -o posix ;; #( |
---|
| 6118 | *) : |
---|
| 6119 | ;; |
---|
| 6120 | esac |
---|
| 6121 | fi |
---|
| 6122 | |
---|
| 6123 | |
---|
| 6124 | as_nl=' |
---|
| 6125 | ' |
---|
| 6126 | export as_nl |
---|
| 6127 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 6128 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 6129 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 6130 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 6131 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 6132 | # but without wasting forks for bash or zsh. |
---|
| 6133 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 6134 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 6135 | as_echo='print -r --' |
---|
| 6136 | as_echo_n='print -rn --' |
---|
| 6137 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 6138 | as_echo='printf %s\n' |
---|
| 6139 | as_echo_n='printf %s' |
---|
| 6140 | else |
---|
| 6141 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 6142 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 6143 | as_echo_n='/usr/ucb/echo -n' |
---|
| 6144 | else |
---|
| 6145 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 6146 | as_echo_n_body='eval |
---|
| 6147 | arg=$1; |
---|
| 6148 | case $arg in #( |
---|
| 6149 | *"$as_nl"*) |
---|
| 6150 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 6151 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 6152 | esac; |
---|
| 6153 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 6154 | ' |
---|
| 6155 | export as_echo_n_body |
---|
| 6156 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
| 6157 | fi |
---|
| 6158 | export as_echo_body |
---|
| 6159 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 6160 | fi |
---|
| 6161 | |
---|
| 6162 | # The user is always right. |
---|
| 6163 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 6164 | PATH_SEPARATOR=: |
---|
| 6165 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 6166 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 6167 | PATH_SEPARATOR=';' |
---|
| 6168 | } |
---|
| 6169 | fi |
---|
| 6170 | |
---|
| 6171 | |
---|
| 6172 | # IFS |
---|
| 6173 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 6174 | # there to prevent editors from complaining about space-tab. |
---|
| 6175 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 6176 | # splitting by setting IFS to empty value.) |
---|
| 6177 | IFS=" "" $as_nl" |
---|
| 6178 | |
---|
| 6179 | # Find who we are. Look in the path if we contain no directory separator. |
---|
[5177] | 6180 | as_myself= |
---|
[4599] | 6181 | case $0 in #(( |
---|
| 6182 | *[\\/]* ) as_myself=$0 ;; |
---|
| 6183 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 6184 | for as_dir in $PATH |
---|
| 6185 | do |
---|
| 6186 | IFS=$as_save_IFS |
---|
| 6187 | test -z "$as_dir" && as_dir=. |
---|
| 6188 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 6189 | done |
---|
| 6190 | IFS=$as_save_IFS |
---|
| 6191 | |
---|
| 6192 | ;; |
---|
| 6193 | esac |
---|
| 6194 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 6195 | # in which case we are not to be found in the path. |
---|
| 6196 | if test "x$as_myself" = x; then |
---|
| 6197 | as_myself=$0 |
---|
| 6198 | fi |
---|
| 6199 | if test ! -f "$as_myself"; then |
---|
| 6200 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 6201 | exit 1 |
---|
| 6202 | fi |
---|
| 6203 | |
---|
| 6204 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 6205 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 6206 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 6207 | # trigger a bug in pdksh 5.2.14. |
---|
| 6208 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 6209 | do eval test x\${$as_var+set} = xset \ |
---|
| 6210 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
| 6211 | done |
---|
| 6212 | PS1='$ ' |
---|
| 6213 | PS2='> ' |
---|
| 6214 | PS4='+ ' |
---|
| 6215 | |
---|
| 6216 | # NLS nuisances. |
---|
| 6217 | LC_ALL=C |
---|
| 6218 | export LC_ALL |
---|
| 6219 | LANGUAGE=C |
---|
| 6220 | export LANGUAGE |
---|
| 6221 | |
---|
| 6222 | # CDPATH. |
---|
| 6223 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 6224 | |
---|
| 6225 | |
---|
[5177] | 6226 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 6227 | # ---------------------------------------- |
---|
[4599] | 6228 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 6229 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
[5177] | 6230 | # script with STATUS, using 1 if that was 0. |
---|
[4599] | 6231 | as_fn_error () |
---|
| 6232 | { |
---|
[5177] | 6233 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 6234 | if test "$4"; then |
---|
| 6235 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 6236 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
[4599] | 6237 | fi |
---|
[5177] | 6238 | $as_echo "$as_me: error: $2" >&2 |
---|
[4599] | 6239 | as_fn_exit $as_status |
---|
| 6240 | } # as_fn_error |
---|
| 6241 | |
---|
| 6242 | |
---|
| 6243 | # as_fn_set_status STATUS |
---|
| 6244 | # ----------------------- |
---|
| 6245 | # Set $? to STATUS, without forking. |
---|
| 6246 | as_fn_set_status () |
---|
| 6247 | { |
---|
| 6248 | return $1 |
---|
| 6249 | } # as_fn_set_status |
---|
| 6250 | |
---|
| 6251 | # as_fn_exit STATUS |
---|
| 6252 | # ----------------- |
---|
| 6253 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 6254 | as_fn_exit () |
---|
| 6255 | { |
---|
| 6256 | set +e |
---|
| 6257 | as_fn_set_status $1 |
---|
| 6258 | exit $1 |
---|
| 6259 | } # as_fn_exit |
---|
| 6260 | |
---|
| 6261 | # as_fn_unset VAR |
---|
| 6262 | # --------------- |
---|
| 6263 | # Portably unset VAR. |
---|
| 6264 | as_fn_unset () |
---|
| 6265 | { |
---|
| 6266 | { eval $1=; unset $1;} |
---|
| 6267 | } |
---|
| 6268 | as_unset=as_fn_unset |
---|
| 6269 | # as_fn_append VAR VALUE |
---|
| 6270 | # ---------------------- |
---|
| 6271 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 6272 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 6273 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 6274 | # implementations. |
---|
| 6275 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 6276 | eval 'as_fn_append () |
---|
| 6277 | { |
---|
| 6278 | eval $1+=\$2 |
---|
| 6279 | }' |
---|
| 6280 | else |
---|
| 6281 | as_fn_append () |
---|
| 6282 | { |
---|
| 6283 | eval $1=\$$1\$2 |
---|
| 6284 | } |
---|
| 6285 | fi # as_fn_append |
---|
| 6286 | |
---|
| 6287 | # as_fn_arith ARG... |
---|
| 6288 | # ------------------ |
---|
| 6289 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 6290 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 6291 | # must be portable across $(()) and expr. |
---|
| 6292 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 6293 | eval 'as_fn_arith () |
---|
| 6294 | { |
---|
| 6295 | as_val=$(( $* )) |
---|
| 6296 | }' |
---|
| 6297 | else |
---|
| 6298 | as_fn_arith () |
---|
| 6299 | { |
---|
| 6300 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 6301 | } |
---|
| 6302 | fi # as_fn_arith |
---|
| 6303 | |
---|
| 6304 | |
---|
| 6305 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 6306 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 6307 | as_expr=expr |
---|
| 6308 | else |
---|
| 6309 | as_expr=false |
---|
| 6310 | fi |
---|
| 6311 | |
---|
| 6312 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 6313 | as_basename=basename |
---|
| 6314 | else |
---|
| 6315 | as_basename=false |
---|
| 6316 | fi |
---|
| 6317 | |
---|
| 6318 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 6319 | as_dirname=dirname |
---|
| 6320 | else |
---|
| 6321 | as_dirname=false |
---|
| 6322 | fi |
---|
| 6323 | |
---|
| 6324 | as_me=`$as_basename -- "$0" || |
---|
| 6325 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 6326 | X"$0" : 'X\(//\)$' \| \ |
---|
| 6327 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 6328 | $as_echo X/"$0" | |
---|
| 6329 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 6330 | s//\1/ |
---|
| 6331 | q |
---|
| 6332 | } |
---|
| 6333 | /^X\/\(\/\/\)$/{ |
---|
| 6334 | s//\1/ |
---|
| 6335 | q |
---|
| 6336 | } |
---|
| 6337 | /^X\/\(\/\).*/{ |
---|
| 6338 | s//\1/ |
---|
| 6339 | q |
---|
| 6340 | } |
---|
| 6341 | s/.*/./; q'` |
---|
| 6342 | |
---|
| 6343 | # Avoid depending upon Character Ranges. |
---|
| 6344 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 6345 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 6346 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 6347 | as_cr_digits='0123456789' |
---|
| 6348 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 6349 | |
---|
| 6350 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 6351 | case `echo -n x` in #((((( |
---|
| 6352 | -n*) |
---|
| 6353 | case `echo 'xy\c'` in |
---|
| 6354 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 6355 | xy) ECHO_C='\c';; |
---|
| 6356 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 6357 | ECHO_T=' ';; |
---|
| 6358 | esac;; |
---|
| 6359 | *) |
---|
| 6360 | ECHO_N='-n';; |
---|
| 6361 | esac |
---|
| 6362 | |
---|
| 6363 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 6364 | if test -d conf$$.dir; then |
---|
| 6365 | rm -f conf$$.dir/conf$$.file |
---|
| 6366 | else |
---|
| 6367 | rm -f conf$$.dir |
---|
| 6368 | mkdir conf$$.dir 2>/dev/null |
---|
| 6369 | fi |
---|
| 6370 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 6371 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 6372 | as_ln_s='ln -s' |
---|
| 6373 | # ... but there are two gotchas: |
---|
| 6374 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 6375 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
| 6376 | # In both cases, we have to default to `cp -p'. |
---|
| 6377 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
| 6378 | as_ln_s='cp -p' |
---|
| 6379 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 6380 | as_ln_s=ln |
---|
| 6381 | else |
---|
| 6382 | as_ln_s='cp -p' |
---|
| 6383 | fi |
---|
| 6384 | else |
---|
| 6385 | as_ln_s='cp -p' |
---|
| 6386 | fi |
---|
| 6387 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 6388 | rmdir conf$$.dir 2>/dev/null |
---|
| 6389 | |
---|
| 6390 | |
---|
| 6391 | # as_fn_mkdir_p |
---|
| 6392 | # ------------- |
---|
| 6393 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 6394 | as_fn_mkdir_p () |
---|
| 6395 | { |
---|
| 6396 | |
---|
| 6397 | case $as_dir in #( |
---|
| 6398 | -*) as_dir=./$as_dir;; |
---|
| 6399 | esac |
---|
| 6400 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 6401 | as_dirs= |
---|
| 6402 | while :; do |
---|
| 6403 | case $as_dir in #( |
---|
| 6404 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 6405 | *) as_qdir=$as_dir;; |
---|
| 6406 | esac |
---|
| 6407 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 6408 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 6409 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6410 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 6411 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 6412 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 6413 | $as_echo X"$as_dir" | |
---|
| 6414 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 6415 | s//\1/ |
---|
| 6416 | q |
---|
| 6417 | } |
---|
| 6418 | /^X\(\/\/\)[^/].*/{ |
---|
| 6419 | s//\1/ |
---|
| 6420 | q |
---|
| 6421 | } |
---|
| 6422 | /^X\(\/\/\)$/{ |
---|
| 6423 | s//\1/ |
---|
| 6424 | q |
---|
| 6425 | } |
---|
| 6426 | /^X\(\/\).*/{ |
---|
| 6427 | s//\1/ |
---|
| 6428 | q |
---|
| 6429 | } |
---|
| 6430 | s/.*/./; q'` |
---|
| 6431 | test -d "$as_dir" && break |
---|
| 6432 | done |
---|
| 6433 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
[5177] | 6434 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
[4599] | 6435 | |
---|
| 6436 | |
---|
| 6437 | } # as_fn_mkdir_p |
---|
| 6438 | if mkdir -p . 2>/dev/null; then |
---|
| 6439 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 6440 | else |
---|
| 6441 | test -d ./-p && rmdir ./-p |
---|
| 6442 | as_mkdir_p=false |
---|
| 6443 | fi |
---|
| 6444 | |
---|
| 6445 | if test -x / >/dev/null 2>&1; then |
---|
| 6446 | as_test_x='test -x' |
---|
| 6447 | else |
---|
| 6448 | if ls -dL / >/dev/null 2>&1; then |
---|
| 6449 | as_ls_L_option=L |
---|
| 6450 | else |
---|
| 6451 | as_ls_L_option= |
---|
| 6452 | fi |
---|
| 6453 | as_test_x=' |
---|
| 6454 | eval sh -c '\'' |
---|
| 6455 | if test -d "$1"; then |
---|
| 6456 | test -d "$1/."; |
---|
| 6457 | else |
---|
| 6458 | case $1 in #( |
---|
| 6459 | -*)set "./$1";; |
---|
| 6460 | esac; |
---|
| 6461 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
---|
| 6462 | ???[sx]*):;;*)false;;esac;fi |
---|
| 6463 | '\'' sh |
---|
| 6464 | ' |
---|
| 6465 | fi |
---|
| 6466 | as_executable_p=$as_test_x |
---|
| 6467 | |
---|
| 6468 | # Sed expression to map a string onto a valid CPP name. |
---|
| 6469 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 6470 | |
---|
| 6471 | # Sed expression to map a string onto a valid variable name. |
---|
| 6472 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 6473 | |
---|
| 6474 | |
---|
| 6475 | exec 6>&1 |
---|
| 6476 | ## ----------------------------------- ## |
---|
| 6477 | ## Main body of $CONFIG_STATUS script. ## |
---|
| 6478 | ## ----------------------------------- ## |
---|
| 6479 | _ASEOF |
---|
| 6480 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
| 6481 | |
---|
| 6482 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6483 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
| 6484 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
| 6485 | # values after options handling. |
---|
| 6486 | ac_log=" |
---|
[6724] | 6487 | This file was extended by vine-rpm-helper $as_me 0.6.5, which was |
---|
[5177] | 6488 | generated by GNU Autoconf 2.68. Invocation command line was |
---|
[4599] | 6489 | |
---|
| 6490 | CONFIG_FILES = $CONFIG_FILES |
---|
| 6491 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 6492 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 6493 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 6494 | $ $0 $@ |
---|
| 6495 | |
---|
| 6496 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 6497 | " |
---|
| 6498 | |
---|
| 6499 | _ACEOF |
---|
| 6500 | |
---|
| 6501 | case $ac_config_files in *" |
---|
| 6502 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
| 6503 | esac |
---|
| 6504 | |
---|
| 6505 | |
---|
| 6506 | |
---|
| 6507 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6508 | # Files that config.status was made for. |
---|
| 6509 | config_files="$ac_config_files" |
---|
[4925] | 6510 | config_commands="$ac_config_commands" |
---|
[4599] | 6511 | |
---|
| 6512 | _ACEOF |
---|
| 6513 | |
---|
| 6514 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6515 | ac_cs_usage="\ |
---|
| 6516 | \`$as_me' instantiates files and other configuration actions |
---|
| 6517 | from templates according to the current configuration. Unless the files |
---|
| 6518 | and actions are specified as TAGs, all are instantiated by default. |
---|
| 6519 | |
---|
| 6520 | Usage: $0 [OPTION]... [TAG]... |
---|
| 6521 | |
---|
| 6522 | -h, --help print this help, then exit |
---|
| 6523 | -V, --version print version number and configuration settings, then exit |
---|
| 6524 | --config print configuration, then exit |
---|
| 6525 | -q, --quiet, --silent |
---|
| 6526 | do not print progress messages |
---|
| 6527 | -d, --debug don't remove temporary files |
---|
| 6528 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 6529 | --file=FILE[:TEMPLATE] |
---|
| 6530 | instantiate the configuration file FILE |
---|
| 6531 | |
---|
| 6532 | Configuration files: |
---|
| 6533 | $config_files |
---|
| 6534 | |
---|
[4925] | 6535 | Configuration commands: |
---|
| 6536 | $config_commands |
---|
| 6537 | |
---|
[4599] | 6538 | Report bugs to <http://bts.vinelinux.org/>." |
---|
| 6539 | |
---|
| 6540 | _ACEOF |
---|
| 6541 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6542 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
| 6543 | ac_cs_version="\\ |
---|
[6724] | 6544 | vine-rpm-helper config.status 0.6.5 |
---|
[5177] | 6545 | configured by $0, generated by GNU Autoconf 2.68, |
---|
[4599] | 6546 | with options \\"\$ac_cs_config\\" |
---|
| 6547 | |
---|
[5177] | 6548 | Copyright (C) 2010 Free Software Foundation, Inc. |
---|
[4599] | 6549 | This config.status script is free software; the Free Software Foundation |
---|
| 6550 | gives unlimited permission to copy, distribute and modify it." |
---|
| 6551 | |
---|
| 6552 | ac_pwd='$ac_pwd' |
---|
| 6553 | srcdir='$srcdir' |
---|
| 6554 | INSTALL='$INSTALL' |
---|
| 6555 | MKDIR_P='$MKDIR_P' |
---|
| 6556 | AWK='$AWK' |
---|
| 6557 | test -n "\$AWK" || AWK=awk |
---|
| 6558 | _ACEOF |
---|
| 6559 | |
---|
| 6560 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6561 | # The default lists apply if the user does not specify any file. |
---|
| 6562 | ac_need_defaults=: |
---|
| 6563 | while test $# != 0 |
---|
| 6564 | do |
---|
| 6565 | case $1 in |
---|
[5177] | 6566 | --*=?*) |
---|
[4599] | 6567 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 6568 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
| 6569 | ac_shift=: |
---|
| 6570 | ;; |
---|
[5177] | 6571 | --*=) |
---|
| 6572 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 6573 | ac_optarg= |
---|
| 6574 | ac_shift=: |
---|
| 6575 | ;; |
---|
[4599] | 6576 | *) |
---|
| 6577 | ac_option=$1 |
---|
| 6578 | ac_optarg=$2 |
---|
| 6579 | ac_shift=shift |
---|
| 6580 | ;; |
---|
| 6581 | esac |
---|
| 6582 | |
---|
| 6583 | case $ac_option in |
---|
| 6584 | # Handling of the options. |
---|
| 6585 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 6586 | ac_cs_recheck=: ;; |
---|
| 6587 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
| 6588 | $as_echo "$ac_cs_version"; exit ;; |
---|
| 6589 | --config | --confi | --conf | --con | --co | --c ) |
---|
| 6590 | $as_echo "$ac_cs_config"; exit ;; |
---|
| 6591 | --debug | --debu | --deb | --de | --d | -d ) |
---|
| 6592 | debug=: ;; |
---|
| 6593 | --file | --fil | --fi | --f ) |
---|
| 6594 | $ac_shift |
---|
| 6595 | case $ac_optarg in |
---|
| 6596 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
[5177] | 6597 | '') as_fn_error $? "missing file argument" ;; |
---|
[4599] | 6598 | esac |
---|
| 6599 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
| 6600 | ac_need_defaults=false;; |
---|
| 6601 | --he | --h | --help | --hel | -h ) |
---|
| 6602 | $as_echo "$ac_cs_usage"; exit ;; |
---|
| 6603 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 6604 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 6605 | ac_cs_silent=: ;; |
---|
| 6606 | |
---|
| 6607 | # This is an error. |
---|
[5177] | 6608 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
[4599] | 6609 | Try \`$0 --help' for more information." ;; |
---|
| 6610 | |
---|
| 6611 | *) as_fn_append ac_config_targets " $1" |
---|
| 6612 | ac_need_defaults=false ;; |
---|
| 6613 | |
---|
| 6614 | esac |
---|
| 6615 | shift |
---|
| 6616 | done |
---|
| 6617 | |
---|
| 6618 | ac_configure_extra_args= |
---|
| 6619 | |
---|
| 6620 | if $ac_cs_silent; then |
---|
| 6621 | exec 6>/dev/null |
---|
| 6622 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 6623 | fi |
---|
| 6624 | |
---|
| 6625 | _ACEOF |
---|
| 6626 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6627 | if \$ac_cs_recheck; then |
---|
| 6628 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
| 6629 | shift |
---|
| 6630 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
| 6631 | CONFIG_SHELL='$SHELL' |
---|
| 6632 | export CONFIG_SHELL |
---|
| 6633 | exec "\$@" |
---|
| 6634 | fi |
---|
| 6635 | |
---|
| 6636 | _ACEOF |
---|
| 6637 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6638 | exec 5>>config.log |
---|
| 6639 | { |
---|
| 6640 | echo |
---|
| 6641 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 6642 | ## Running $as_me. ## |
---|
| 6643 | _ASBOX |
---|
| 6644 | $as_echo "$ac_log" |
---|
| 6645 | } >&5 |
---|
| 6646 | |
---|
| 6647 | _ACEOF |
---|
| 6648 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
[4925] | 6649 | # |
---|
| 6650 | # INIT-COMMANDS |
---|
| 6651 | # |
---|
| 6652 | # Capture the value of obsolete ALL_LINGUAS because we need it to compute |
---|
| 6653 | # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it |
---|
| 6654 | # from automake < 1.5. |
---|
| 6655 | eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' |
---|
| 6656 | # Capture the value of LINGUAS because we need it to compute CATALOGS. |
---|
| 6657 | LINGUAS="${LINGUAS-%UNSET%}" |
---|
| 6658 | |
---|
| 6659 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
| 6660 | |
---|
[4599] | 6661 | _ACEOF |
---|
| 6662 | |
---|
| 6663 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6664 | |
---|
| 6665 | # Handling of arguments. |
---|
| 6666 | for ac_config_target in $ac_config_targets |
---|
| 6667 | do |
---|
| 6668 | case $ac_config_target in |
---|
[4925] | 6669 | "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; |
---|
| 6670 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
| 6671 | "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
---|
[4939] | 6672 | "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;; |
---|
[4891] | 6673 | "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; |
---|
[4973] | 6674 | "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; |
---|
| 6675 | "man/ja/Makefile") CONFIG_FILES="$CONFIG_FILES man/ja/Makefile" ;; |
---|
[4599] | 6676 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
[4892] | 6677 | "mkrpmspec") CONFIG_FILES="$CONFIG_FILES mkrpmspec" ;; |
---|
| 6678 | "mkrpmfiles") CONFIG_FILES="$CONFIG_FILES mkrpmfiles" ;; |
---|
[4599] | 6679 | |
---|
[5177] | 6680 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
[4599] | 6681 | esac |
---|
| 6682 | done |
---|
| 6683 | |
---|
| 6684 | |
---|
| 6685 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 6686 | # then the envvar interface is used. Set only those that are not. |
---|
| 6687 | # We use the long form for the default assignment because of an extremely |
---|
| 6688 | # bizarre bug on SunOS 4.1.3. |
---|
| 6689 | if $ac_need_defaults; then |
---|
| 6690 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
[4925] | 6691 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
[4599] | 6692 | fi |
---|
| 6693 | |
---|
| 6694 | # Have a temporary directory for convenience. Make it in the build tree |
---|
| 6695 | # simply because there is no reason against having it here, and in addition, |
---|
| 6696 | # creating and moving files from /tmp can sometimes cause problems. |
---|
| 6697 | # Hook for its removal unless debugging. |
---|
| 6698 | # Note that there is a small window in which the directory will not be cleaned: |
---|
| 6699 | # after its creation but before its name has been assigned to `$tmp'. |
---|
| 6700 | $debug || |
---|
| 6701 | { |
---|
[5177] | 6702 | tmp= ac_tmp= |
---|
[4599] | 6703 | trap 'exit_status=$? |
---|
[5177] | 6704 | : "${ac_tmp:=$tmp}" |
---|
| 6705 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
[4599] | 6706 | ' 0 |
---|
| 6707 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
| 6708 | } |
---|
| 6709 | # Create a (secure) tmp directory for tmp files. |
---|
| 6710 | |
---|
| 6711 | { |
---|
| 6712 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
[5177] | 6713 | test -d "$tmp" |
---|
[4599] | 6714 | } || |
---|
| 6715 | { |
---|
| 6716 | tmp=./conf$$-$RANDOM |
---|
| 6717 | (umask 077 && mkdir "$tmp") |
---|
[5177] | 6718 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
| 6719 | ac_tmp=$tmp |
---|
[4599] | 6720 | |
---|
| 6721 | # Set up the scripts for CONFIG_FILES section. |
---|
| 6722 | # No need to generate them if there are no CONFIG_FILES. |
---|
| 6723 | # This happens for instance with `./config.status config.h'. |
---|
| 6724 | if test -n "$CONFIG_FILES"; then |
---|
| 6725 | |
---|
| 6726 | |
---|
| 6727 | ac_cr=`echo X | tr X '\015'` |
---|
| 6728 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
| 6729 | # But we know of no other shell where ac_cr would be empty at this |
---|
| 6730 | # point, so we can use a bashism as a fallback. |
---|
| 6731 | if test "x$ac_cr" = x; then |
---|
| 6732 | eval ac_cr=\$\'\\r\' |
---|
| 6733 | fi |
---|
| 6734 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
| 6735 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
[5177] | 6736 | ac_cs_awk_cr='\\r' |
---|
[4599] | 6737 | else |
---|
| 6738 | ac_cs_awk_cr=$ac_cr |
---|
| 6739 | fi |
---|
| 6740 | |
---|
[5177] | 6741 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
[4599] | 6742 | _ACEOF |
---|
| 6743 | |
---|
| 6744 | |
---|
| 6745 | { |
---|
| 6746 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
| 6747 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
| 6748 | echo "_ACEOF" |
---|
| 6749 | } >conf$$subs.sh || |
---|
[5177] | 6750 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 6751 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
---|
[4599] | 6752 | ac_delim='%!_!# ' |
---|
| 6753 | for ac_last_try in false false false false false :; do |
---|
| 6754 | . ./conf$$subs.sh || |
---|
[5177] | 6755 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
[4599] | 6756 | |
---|
| 6757 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
| 6758 | if test $ac_delim_n = $ac_delim_num; then |
---|
| 6759 | break |
---|
| 6760 | elif $ac_last_try; then |
---|
[5177] | 6761 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
[4599] | 6762 | else |
---|
| 6763 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
| 6764 | fi |
---|
| 6765 | done |
---|
| 6766 | rm -f conf$$subs.sh |
---|
| 6767 | |
---|
| 6768 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
[5177] | 6769 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
---|
[4599] | 6770 | _ACEOF |
---|
| 6771 | sed -n ' |
---|
| 6772 | h |
---|
| 6773 | s/^/S["/; s/!.*/"]=/ |
---|
| 6774 | p |
---|
| 6775 | g |
---|
| 6776 | s/^[^!]*!// |
---|
| 6777 | :repl |
---|
| 6778 | t repl |
---|
| 6779 | s/'"$ac_delim"'$// |
---|
| 6780 | t delim |
---|
| 6781 | :nl |
---|
| 6782 | h |
---|
| 6783 | s/\(.\{148\}\)..*/\1/ |
---|
| 6784 | t more1 |
---|
| 6785 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
| 6786 | p |
---|
| 6787 | n |
---|
| 6788 | b repl |
---|
| 6789 | :more1 |
---|
| 6790 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 6791 | p |
---|
| 6792 | g |
---|
| 6793 | s/.\{148\}// |
---|
| 6794 | t nl |
---|
| 6795 | :delim |
---|
| 6796 | h |
---|
| 6797 | s/\(.\{148\}\)..*/\1/ |
---|
| 6798 | t more2 |
---|
| 6799 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
| 6800 | p |
---|
| 6801 | b |
---|
| 6802 | :more2 |
---|
| 6803 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 6804 | p |
---|
| 6805 | g |
---|
| 6806 | s/.\{148\}// |
---|
| 6807 | t delim |
---|
| 6808 | ' <conf$$subs.awk | sed ' |
---|
| 6809 | /^[^""]/{ |
---|
| 6810 | N |
---|
| 6811 | s/\n// |
---|
| 6812 | } |
---|
| 6813 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
| 6814 | rm -f conf$$subs.awk |
---|
| 6815 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6816 | _ACAWK |
---|
[5177] | 6817 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
---|
[4599] | 6818 | for (key in S) S_is_set[key] = 1 |
---|
| 6819 | FS = "" |
---|
| 6820 | |
---|
| 6821 | } |
---|
| 6822 | { |
---|
| 6823 | line = $ 0 |
---|
| 6824 | nfields = split(line, field, "@") |
---|
| 6825 | substed = 0 |
---|
| 6826 | len = length(field[1]) |
---|
| 6827 | for (i = 2; i < nfields; i++) { |
---|
| 6828 | key = field[i] |
---|
| 6829 | keylen = length(key) |
---|
| 6830 | if (S_is_set[key]) { |
---|
| 6831 | value = S[key] |
---|
| 6832 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
| 6833 | len += length(value) + length(field[++i]) |
---|
| 6834 | substed = 1 |
---|
| 6835 | } else |
---|
| 6836 | len += 1 + keylen |
---|
| 6837 | } |
---|
| 6838 | |
---|
| 6839 | print line |
---|
| 6840 | } |
---|
| 6841 | |
---|
| 6842 | _ACAWK |
---|
| 6843 | _ACEOF |
---|
| 6844 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6845 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
| 6846 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
| 6847 | else |
---|
| 6848 | cat |
---|
[5177] | 6849 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
| 6850 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
[4599] | 6851 | _ACEOF |
---|
| 6852 | |
---|
[5177] | 6853 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
---|
| 6854 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
---|
[4599] | 6855 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 6856 | # (actually we leave an empty line to preserve line numbers). |
---|
| 6857 | if test "x$srcdir" = x.; then |
---|
[5177] | 6858 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
| 6859 | h |
---|
| 6860 | s/// |
---|
| 6861 | s/^/:/ |
---|
| 6862 | s/[ ]*$/:/ |
---|
| 6863 | s/:\$(srcdir):/:/g |
---|
| 6864 | s/:\${srcdir}:/:/g |
---|
| 6865 | s/:@srcdir@:/:/g |
---|
| 6866 | s/^:*// |
---|
[4599] | 6867 | s/:*$// |
---|
[5177] | 6868 | x |
---|
| 6869 | s/\(=[ ]*\).*/\1/ |
---|
| 6870 | G |
---|
| 6871 | s/\n// |
---|
[4599] | 6872 | s/^[^=]*=[ ]*$// |
---|
| 6873 | }' |
---|
| 6874 | fi |
---|
| 6875 | |
---|
| 6876 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6877 | fi # test -n "$CONFIG_FILES" |
---|
| 6878 | |
---|
| 6879 | |
---|
[4925] | 6880 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" |
---|
[4599] | 6881 | shift |
---|
| 6882 | for ac_tag |
---|
| 6883 | do |
---|
| 6884 | case $ac_tag in |
---|
| 6885 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
| 6886 | esac |
---|
| 6887 | case $ac_mode$ac_tag in |
---|
| 6888 | :[FHL]*:*);; |
---|
[5177] | 6889 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
[4599] | 6890 | :[FH]-) ac_tag=-:-;; |
---|
| 6891 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
| 6892 | esac |
---|
| 6893 | ac_save_IFS=$IFS |
---|
| 6894 | IFS=: |
---|
| 6895 | set x $ac_tag |
---|
| 6896 | IFS=$ac_save_IFS |
---|
| 6897 | shift |
---|
| 6898 | ac_file=$1 |
---|
| 6899 | shift |
---|
| 6900 | |
---|
| 6901 | case $ac_mode in |
---|
| 6902 | :L) ac_source=$1;; |
---|
| 6903 | :[FH]) |
---|
| 6904 | ac_file_inputs= |
---|
| 6905 | for ac_f |
---|
| 6906 | do |
---|
| 6907 | case $ac_f in |
---|
[5177] | 6908 | -) ac_f="$ac_tmp/stdin";; |
---|
[4599] | 6909 | *) # Look for the file first in the build tree, then in the source tree |
---|
| 6910 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
| 6911 | # because $ac_f cannot contain `:'. |
---|
| 6912 | test -f "$ac_f" || |
---|
| 6913 | case $ac_f in |
---|
| 6914 | [\\/$]*) false;; |
---|
| 6915 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
| 6916 | esac || |
---|
[5177] | 6917 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
[4599] | 6918 | esac |
---|
| 6919 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
| 6920 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
| 6921 | done |
---|
| 6922 | |
---|
| 6923 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 6924 | # use $as_me), people would be surprised to read: |
---|
| 6925 | # /* config.h. Generated by config.status. */ |
---|
| 6926 | configure_input='Generated from '` |
---|
| 6927 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
| 6928 | `' by configure.' |
---|
| 6929 | if test x"$ac_file" != x-; then |
---|
| 6930 | configure_input="$ac_file. $configure_input" |
---|
| 6931 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
| 6932 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
| 6933 | fi |
---|
| 6934 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
| 6935 | case $configure_input in #( |
---|
| 6936 | *\&* | *\|* | *\\* ) |
---|
| 6937 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
| 6938 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
| 6939 | *) ac_sed_conf_input=$configure_input;; |
---|
| 6940 | esac |
---|
| 6941 | |
---|
| 6942 | case $ac_tag in |
---|
[5177] | 6943 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
| 6944 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
[4599] | 6945 | esac |
---|
| 6946 | ;; |
---|
| 6947 | esac |
---|
| 6948 | |
---|
| 6949 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
| 6950 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6951 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 6952 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
| 6953 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 6954 | $as_echo X"$ac_file" | |
---|
| 6955 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 6956 | s//\1/ |
---|
| 6957 | q |
---|
| 6958 | } |
---|
| 6959 | /^X\(\/\/\)[^/].*/{ |
---|
| 6960 | s//\1/ |
---|
| 6961 | q |
---|
| 6962 | } |
---|
| 6963 | /^X\(\/\/\)$/{ |
---|
| 6964 | s//\1/ |
---|
| 6965 | q |
---|
| 6966 | } |
---|
| 6967 | /^X\(\/\).*/{ |
---|
| 6968 | s//\1/ |
---|
| 6969 | q |
---|
| 6970 | } |
---|
| 6971 | s/.*/./; q'` |
---|
| 6972 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
| 6973 | ac_builddir=. |
---|
| 6974 | |
---|
| 6975 | case "$ac_dir" in |
---|
| 6976 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6977 | *) |
---|
| 6978 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 6979 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 6980 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 6981 | case $ac_top_builddir_sub in |
---|
| 6982 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 6983 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 6984 | esac ;; |
---|
| 6985 | esac |
---|
| 6986 | ac_abs_top_builddir=$ac_pwd |
---|
| 6987 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 6988 | # for backward compatibility: |
---|
| 6989 | ac_top_builddir=$ac_top_build_prefix |
---|
| 6990 | |
---|
| 6991 | case $srcdir in |
---|
| 6992 | .) # We are building in place. |
---|
| 6993 | ac_srcdir=. |
---|
| 6994 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 6995 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 6996 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 6997 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 6998 | ac_top_srcdir=$srcdir |
---|
| 6999 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 7000 | *) # Relative name. |
---|
| 7001 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 7002 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 7003 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 7004 | esac |
---|
| 7005 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 7006 | |
---|
| 7007 | |
---|
| 7008 | case $ac_mode in |
---|
| 7009 | :F) |
---|
| 7010 | # |
---|
| 7011 | # CONFIG_FILE |
---|
| 7012 | # |
---|
| 7013 | |
---|
| 7014 | case $INSTALL in |
---|
| 7015 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
| 7016 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
| 7017 | esac |
---|
| 7018 | ac_MKDIR_P=$MKDIR_P |
---|
| 7019 | case $MKDIR_P in |
---|
| 7020 | [\\/$]* | ?:[\\/]* ) ;; |
---|
| 7021 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
---|
| 7022 | esac |
---|
| 7023 | _ACEOF |
---|
| 7024 | |
---|
| 7025 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 7026 | # If the template does not know about datarootdir, expand it. |
---|
| 7027 | # FIXME: This hack should be removed a few years after 2.60. |
---|
| 7028 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
| 7029 | ac_sed_dataroot=' |
---|
| 7030 | /datarootdir/ { |
---|
| 7031 | p |
---|
| 7032 | q |
---|
| 7033 | } |
---|
| 7034 | /@datadir@/p |
---|
| 7035 | /@docdir@/p |
---|
| 7036 | /@infodir@/p |
---|
| 7037 | /@localedir@/p |
---|
| 7038 | /@mandir@/p' |
---|
| 7039 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
| 7040 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
| 7041 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
| 7042 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
| 7043 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
| 7044 | _ACEOF |
---|
| 7045 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 7046 | ac_datarootdir_hack=' |
---|
| 7047 | s&@datadir@&$datadir&g |
---|
| 7048 | s&@docdir@&$docdir&g |
---|
| 7049 | s&@infodir@&$infodir&g |
---|
| 7050 | s&@localedir@&$localedir&g |
---|
| 7051 | s&@mandir@&$mandir&g |
---|
| 7052 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
| 7053 | esac |
---|
| 7054 | _ACEOF |
---|
| 7055 | |
---|
| 7056 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
| 7057 | # Shell code in configure.ac might set extrasub. |
---|
| 7058 | # FIXME: do we really want to maintain this feature? |
---|
| 7059 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 7060 | ac_sed_extra="$ac_vpsub |
---|
| 7061 | $extrasub |
---|
| 7062 | _ACEOF |
---|
| 7063 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 7064 | :t |
---|
| 7065 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
| 7066 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
| 7067 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
| 7068 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
| 7069 | s&@srcdir@&$ac_srcdir&;t t |
---|
| 7070 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
| 7071 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
| 7072 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
| 7073 | s&@builddir@&$ac_builddir&;t t |
---|
| 7074 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
| 7075 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
| 7076 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
| 7077 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
---|
| 7078 | $ac_datarootdir_hack |
---|
| 7079 | " |
---|
[5177] | 7080 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
---|
| 7081 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
[4599] | 7082 | |
---|
| 7083 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
[5177] | 7084 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
| 7085 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
| 7086 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
[4599] | 7087 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
[5177] | 7088 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
[4599] | 7089 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
[5177] | 7090 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
[4599] | 7091 | |
---|
[5177] | 7092 | rm -f "$ac_tmp/stdin" |
---|
[4599] | 7093 | case $ac_file in |
---|
[5177] | 7094 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
| 7095 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
[4599] | 7096 | esac \ |
---|
[5177] | 7097 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
[4599] | 7098 | ;; |
---|
| 7099 | |
---|
| 7100 | |
---|
[4925] | 7101 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
---|
| 7102 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
---|
| 7103 | ;; |
---|
| 7104 | esac |
---|
[4599] | 7105 | |
---|
[4925] | 7106 | |
---|
| 7107 | case $ac_file$ac_mode in |
---|
| 7108 | "po-directories":C) |
---|
| 7109 | for ac_file in $CONFIG_FILES; do |
---|
| 7110 | # Support "outfile[:infile[:infile...]]" |
---|
| 7111 | case "$ac_file" in |
---|
| 7112 | *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
---|
| 7113 | esac |
---|
| 7114 | # PO directories have a Makefile.in generated from Makefile.in.in. |
---|
| 7115 | case "$ac_file" in */Makefile.in) |
---|
| 7116 | # Adjust a relative srcdir. |
---|
| 7117 | ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` |
---|
| 7118 | ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" |
---|
| 7119 | ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` |
---|
| 7120 | # In autoconf-2.13 it is called $ac_given_srcdir. |
---|
| 7121 | # In autoconf-2.50 it is called $srcdir. |
---|
| 7122 | test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" |
---|
| 7123 | case "$ac_given_srcdir" in |
---|
| 7124 | .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; |
---|
| 7125 | /*) top_srcdir="$ac_given_srcdir" ;; |
---|
| 7126 | *) top_srcdir="$ac_dots$ac_given_srcdir" ;; |
---|
| 7127 | esac |
---|
| 7128 | # Treat a directory as a PO directory if and only if it has a |
---|
| 7129 | # POTFILES.in file. This allows packages to have multiple PO |
---|
| 7130 | # directories under different names or in different locations. |
---|
| 7131 | if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then |
---|
| 7132 | rm -f "$ac_dir/POTFILES" |
---|
| 7133 | test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" |
---|
| 7134 | cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" |
---|
| 7135 | POMAKEFILEDEPS="POTFILES.in" |
---|
| 7136 | # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend |
---|
| 7137 | # on $ac_dir but don't depend on user-specified configuration |
---|
| 7138 | # parameters. |
---|
| 7139 | if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then |
---|
| 7140 | # The LINGUAS file contains the set of available languages. |
---|
| 7141 | if test -n "$OBSOLETE_ALL_LINGUAS"; then |
---|
| 7142 | test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" |
---|
| 7143 | fi |
---|
| 7144 | ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` |
---|
| 7145 | # Hide the ALL_LINGUAS assigment from automake < 1.5. |
---|
| 7146 | eval 'ALL_LINGUAS''=$ALL_LINGUAS_' |
---|
| 7147 | POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" |
---|
| 7148 | else |
---|
| 7149 | # The set of available languages was given in configure.in. |
---|
| 7150 | # Hide the ALL_LINGUAS assigment from automake < 1.5. |
---|
| 7151 | eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' |
---|
| 7152 | fi |
---|
| 7153 | # Compute POFILES |
---|
| 7154 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) |
---|
| 7155 | # Compute UPDATEPOFILES |
---|
| 7156 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) |
---|
| 7157 | # Compute DUMMYPOFILES |
---|
| 7158 | # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) |
---|
| 7159 | # Compute GMOFILES |
---|
| 7160 | # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) |
---|
| 7161 | case "$ac_given_srcdir" in |
---|
| 7162 | .) srcdirpre= ;; |
---|
| 7163 | *) srcdirpre='$(srcdir)/' ;; |
---|
| 7164 | esac |
---|
| 7165 | POFILES= |
---|
| 7166 | UPDATEPOFILES= |
---|
| 7167 | DUMMYPOFILES= |
---|
| 7168 | GMOFILES= |
---|
| 7169 | for lang in $ALL_LINGUAS; do |
---|
| 7170 | POFILES="$POFILES $srcdirpre$lang.po" |
---|
| 7171 | UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" |
---|
| 7172 | DUMMYPOFILES="$DUMMYPOFILES $lang.nop" |
---|
| 7173 | GMOFILES="$GMOFILES $srcdirpre$lang.gmo" |
---|
| 7174 | done |
---|
| 7175 | # CATALOGS depends on both $ac_dir and the user's LINGUAS |
---|
| 7176 | # environment variable. |
---|
| 7177 | INST_LINGUAS= |
---|
| 7178 | if test -n "$ALL_LINGUAS"; then |
---|
| 7179 | for presentlang in $ALL_LINGUAS; do |
---|
| 7180 | useit=no |
---|
| 7181 | if test "%UNSET%" != "$LINGUAS"; then |
---|
| 7182 | desiredlanguages="$LINGUAS" |
---|
| 7183 | else |
---|
| 7184 | desiredlanguages="$ALL_LINGUAS" |
---|
| 7185 | fi |
---|
| 7186 | for desiredlang in $desiredlanguages; do |
---|
| 7187 | # Use the presentlang catalog if desiredlang is |
---|
| 7188 | # a. equal to presentlang, or |
---|
| 7189 | # b. a variant of presentlang (because in this case, |
---|
| 7190 | # presentlang can be used as a fallback for messages |
---|
| 7191 | # which are not translated in the desiredlang catalog). |
---|
| 7192 | case "$desiredlang" in |
---|
| 7193 | "$presentlang"*) useit=yes;; |
---|
| 7194 | esac |
---|
| 7195 | done |
---|
| 7196 | if test $useit = yes; then |
---|
| 7197 | INST_LINGUAS="$INST_LINGUAS $presentlang" |
---|
| 7198 | fi |
---|
| 7199 | done |
---|
| 7200 | fi |
---|
| 7201 | CATALOGS= |
---|
| 7202 | if test -n "$INST_LINGUAS"; then |
---|
| 7203 | for lang in $INST_LINGUAS; do |
---|
| 7204 | CATALOGS="$CATALOGS $lang.gmo" |
---|
| 7205 | done |
---|
| 7206 | fi |
---|
| 7207 | test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" |
---|
| 7208 | 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" |
---|
| 7209 | for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do |
---|
| 7210 | if test -f "$f"; then |
---|
| 7211 | case "$f" in |
---|
| 7212 | *.orig | *.bak | *~) ;; |
---|
| 7213 | *) cat "$f" >> "$ac_dir/Makefile" ;; |
---|
| 7214 | esac |
---|
| 7215 | fi |
---|
| 7216 | done |
---|
| 7217 | fi |
---|
| 7218 | ;; |
---|
| 7219 | esac |
---|
| 7220 | done ;; |
---|
| 7221 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
---|
| 7222 | # Autoconf 2.62 quotes --file arguments for eval, but not when files |
---|
| 7223 | # are listed without --file. Let's play safe and only enable the eval |
---|
| 7224 | # if we detect the quoting. |
---|
| 7225 | case $CONFIG_FILES in |
---|
| 7226 | *\'*) eval set x "$CONFIG_FILES" ;; |
---|
| 7227 | *) set x $CONFIG_FILES ;; |
---|
[4599] | 7228 | esac |
---|
[4925] | 7229 | shift |
---|
| 7230 | for mf |
---|
| 7231 | do |
---|
| 7232 | # Strip MF so we end up with the name of the file. |
---|
| 7233 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
| 7234 | # Check whether this is an Automake generated Makefile or not. |
---|
| 7235 | # We used to match only the files named `Makefile.in', but |
---|
| 7236 | # some people rename them; so instead we look at the file content. |
---|
| 7237 | # Grep'ing the first line is not enough: some people post-process |
---|
| 7238 | # each Makefile.in and add a new line on top of each file to say so. |
---|
| 7239 | # Grep'ing the whole file is not good either: AIX grep has a line |
---|
| 7240 | # limit of 2048, but all sed's we know have understand at least 4000. |
---|
| 7241 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
---|
| 7242 | dirpart=`$as_dirname -- "$mf" || |
---|
| 7243 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 7244 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
| 7245 | X"$mf" : 'X\(//\)$' \| \ |
---|
| 7246 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 7247 | $as_echo X"$mf" | |
---|
| 7248 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 7249 | s//\1/ |
---|
| 7250 | q |
---|
| 7251 | } |
---|
| 7252 | /^X\(\/\/\)[^/].*/{ |
---|
| 7253 | s//\1/ |
---|
| 7254 | q |
---|
| 7255 | } |
---|
| 7256 | /^X\(\/\/\)$/{ |
---|
| 7257 | s//\1/ |
---|
| 7258 | q |
---|
| 7259 | } |
---|
| 7260 | /^X\(\/\).*/{ |
---|
| 7261 | s//\1/ |
---|
| 7262 | q |
---|
| 7263 | } |
---|
| 7264 | s/.*/./; q'` |
---|
| 7265 | else |
---|
| 7266 | continue |
---|
| 7267 | fi |
---|
| 7268 | # Extract the definition of DEPDIR, am__include, and am__quote |
---|
| 7269 | # from the Makefile without running `make'. |
---|
| 7270 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
| 7271 | test -z "$DEPDIR" && continue |
---|
| 7272 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
---|
| 7273 | test -z "am__include" && continue |
---|
| 7274 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
---|
| 7275 | # When using ansi2knr, U may be empty or an underscore; expand it |
---|
| 7276 | U=`sed -n 's/^U = //p' < "$mf"` |
---|
| 7277 | # Find all dependency output files, they are included files with |
---|
| 7278 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
---|
| 7279 | # simplest approach to changing $(DEPDIR) to its actual value in the |
---|
| 7280 | # expansion. |
---|
| 7281 | for file in `sed -n " |
---|
| 7282 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
---|
| 7283 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
---|
| 7284 | # Make sure the directory exists. |
---|
| 7285 | test -f "$dirpart/$file" && continue |
---|
| 7286 | fdir=`$as_dirname -- "$file" || |
---|
| 7287 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 7288 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
| 7289 | X"$file" : 'X\(//\)$' \| \ |
---|
| 7290 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 7291 | $as_echo X"$file" | |
---|
| 7292 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 7293 | s//\1/ |
---|
| 7294 | q |
---|
| 7295 | } |
---|
| 7296 | /^X\(\/\/\)[^/].*/{ |
---|
| 7297 | s//\1/ |
---|
| 7298 | q |
---|
| 7299 | } |
---|
| 7300 | /^X\(\/\/\)$/{ |
---|
| 7301 | s//\1/ |
---|
| 7302 | q |
---|
| 7303 | } |
---|
| 7304 | /^X\(\/\).*/{ |
---|
| 7305 | s//\1/ |
---|
| 7306 | q |
---|
| 7307 | } |
---|
| 7308 | s/.*/./; q'` |
---|
| 7309 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
---|
| 7310 | # echo "creating $dirpart/$file" |
---|
| 7311 | echo '# dummy' > "$dirpart/$file" |
---|
| 7312 | done |
---|
| 7313 | done |
---|
| 7314 | } |
---|
| 7315 | ;; |
---|
[4599] | 7316 | |
---|
[4925] | 7317 | esac |
---|
[4599] | 7318 | done # for ac_tag |
---|
| 7319 | |
---|
| 7320 | |
---|
| 7321 | as_fn_exit 0 |
---|
| 7322 | _ACEOF |
---|
| 7323 | ac_clean_files=$ac_clean_files_save |
---|
| 7324 | |
---|
| 7325 | test $ac_write_fail = 0 || |
---|
[5177] | 7326 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
[4599] | 7327 | |
---|
| 7328 | |
---|
| 7329 | # configure is writing to config.log, and then calls config.status. |
---|
| 7330 | # config.status does its own redirection, appending to config.log. |
---|
| 7331 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 7332 | # by configure, so config.status won't be able to write to it; its |
---|
| 7333 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 7334 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 7335 | # appended to by config.status. When coming back to configure, we |
---|
| 7336 | # need to make the FD available again. |
---|
| 7337 | if test "$no_create" != yes; then |
---|
| 7338 | ac_cs_success=: |
---|
| 7339 | ac_config_status_args= |
---|
| 7340 | test "$silent" = yes && |
---|
| 7341 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 7342 | exec 5>/dev/null |
---|
| 7343 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 7344 | exec 5>>config.log |
---|
| 7345 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 7346 | # would make configure fail if this is the last instruction. |
---|
[5177] | 7347 | $ac_cs_success || as_fn_exit 1 |
---|
[4599] | 7348 | fi |
---|
| 7349 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
| 7350 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
| 7351 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
| 7352 | fi |
---|
| 7353 | |
---|