Changeset 574
- Timestamp:
- 10/20/11 09:20:17 (11 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r573 r574 1 1 2.4.X 2 * Allow regular expressions for recipient_list (multiple to-addresses), white_list 3 and black_list. Each address is checked againt this regular expression, closes #272 2 * Allow regular expressions for recipient_list (multiple to-addresses), 3 white_list and black_list. Each address is checked againt this regular 4 expression, closes #272 4 5 examples: 5 6 * recipient_list : sara.nl (to-address contains sara.nl) 6 7 * recipient_list : ^basv@sara.nl$ (to-address equals basv@sara.nl) 7 Reported by: anonymous 8 Fixed by: Bas van der Vlies 9 8 Reported by: anonymous 9 Fixed by: Bas van der Vlies 10 11 12 * Enhanced run_email2trac to support supplementary groups (initgroups). 13 configure will check if the OS support initgroups function call, 14 closes #274 15 Author: Dennis McRitchie <dmcr add Princeton dot EDU > 16 Applied by: Bas van der Vlies 17 10 18 2.4.2 11 19 * Fixed an error for text/plain attachments that are not specified as -
trunk/configure
r332 r574 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.61. 3 # Generated by GNU Autoconf 2.67. 4 # 4 5 # 5 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8 # Foundation, Inc. 9 # 10 # 7 11 # This configure script is free software; the Free Software Foundation 8 12 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 12 16 13 17 # Be more Bourne compatible 14 18 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 20 emulate sh 17 21 NULLCMD=: 18 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 23 # is contrary to our usage. Disable this feature. 20 24 alias -g '${1+"$@"}'='"$@"' 21 25 setopt NO_GLOB_SUBST 22 26 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 25 32 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 39 73 40 74 # The user is always right. 41 75 if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51 fi 52 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 58 81 fi 59 82 … … 64 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 88 # splitting by setting IFS to empty value.) 66 as_nl='67 '68 89 IFS=" "" $as_nl" 69 90 70 91 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 92 case $0 in #(( 72 93 *[\\/]* ) as_myself=$0 ;; 73 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 76 97 IFS=$as_save_IFS 77 98 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break79 done99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 80 101 IFS=$as_save_IFS 81 102 … … 88 109 fi 89 110 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 97 122 done 98 123 PS1='$ ' … … 101 126 102 127 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 107 186 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 205 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 110 230 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 112 235 fi 113 done 114 115 # Required to use basename. 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error STATUS ERROR [LINENO LOG_FD] 360 # ---------------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with STATUS, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$1; test $as_status -eq 0 && as_status=1 367 if test "$4"; then 368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 370 fi 371 $as_echo "$as_me: error: $2" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 116 375 if expr a : '\(a\)' >/dev/null 2>&1 && 117 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 127 386 fi 128 387 129 130 # Name of the executable. 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 131 394 as_me=`$as_basename -- "$0" || 132 395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 396 X"$0" : 'X\(//\)$' \| \ 134 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" |398 $as_echo X/"$0" | 136 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 400 s//\1/ … … 148 411 s/.*/./; q'` 149 412 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223 do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 413 # Avoid depending upon Character Ranges. 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 417 as_cr_digits='0123456789' 418 as_cr_alnum=$as_cr_Letters$as_cr_digits 419 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438 426 sed -n ' 439 427 p … … 452 440 ' >$as_me.lineno && 453 441 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 456 443 457 444 # Don't try to exec as it changes $[0], causing all sort of problems … … 463 450 } 464 451 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then467 as_dirname=dirname468 else469 as_dirname=false470 fi471 472 452 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 453 case `echo -n x` in #((((( 474 454 -n*) 475 case `echo 'x \c'` in455 case `echo 'xy\c'` in 476 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 478 460 esac;; 479 461 *) … … 481 463 esac 482 464 483 if expr a : '\(a\)' >/dev/null 2>&1 &&484 test "X`expr 00001 : '.*\(...\)'`" = X001; then485 as_expr=expr486 else487 as_expr=false488 fi489 490 465 rm -f conf$$ conf$$.exe conf$$.file 491 466 if test -d conf$$.dir; then … … 493 468 else 494 469 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 497 echo >conf$$.file 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 470 mkdir conf$$.dir 2>/dev/null 471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 505 484 as_ln_s='cp -p' 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 485 fi 508 486 else 509 487 as_ln_s='cp -p' … … 513 491 514 492 if mkdir -p . 2>/dev/null; then 515 as_mkdir_p= :493 as_mkdir_p='mkdir -p "$as_dir"' 516 494 else 517 495 test -d ./-p && rmdir ./-p … … 530 508 eval sh -c '\'' 531 509 if test -d "$1"; then 532 510 test -d "$1/."; 533 511 else 534 case $1 in 535 512 case $1 in #( 513 -*)set "./$1";; 536 514 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 538 516 ???[sx]*):;;*)false;;esac;fi 539 517 '\'' sh … … 549 527 550 528 551 552 exec 7<&0 </dev/null6>&1529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1 553 531 554 532 # Name of the host. 555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 556 534 # so uname gets run too. 557 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 568 546 MFLAGS= 569 547 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh}571 548 572 549 # Identity of this package. … … 576 553 PACKAGE_STRING= 577 554 PACKAGE_BUGREPORT= 555 PACKAGE_URL= 578 556 579 557 ac_unique_file="email2trac.py.in" 580 ac_subst_vars='SHELL 558 ac_subst_vars='LTLIBOBJS 559 LIBOBJS 560 SYSTEM_EMAIL2TRAC_CONF 561 email2trac_conf 562 DEBUG 563 EGREP 564 GREP 565 CPP 566 OBJEXT 567 EXEEXT 568 ac_ct_CC 569 CPPFLAGS 570 LDFLAGS 571 CFLAGS 572 CC 573 pkgpyexecdir 574 pkgpythondir 575 pythondir 576 PYTHON_PLATFORM 577 PYTHON_EXEC_PREFIX 578 PYTHON_PREFIX 579 PYTHON_VERSION 580 PYTHON 581 install_user 582 mta_user 583 trac_user 584 pyexecdir 585 target_alias 586 host_alias 587 build_alias 588 LIBS 589 ECHO_T 590 ECHO_N 591 ECHO_C 592 DEFS 593 mandir 594 localedir 595 libdir 596 psdir 597 pdfdir 598 dvidir 599 htmldir 600 infodir 601 docdir 602 oldincludedir 603 includedir 604 localstatedir 605 sharedstatedir 606 sysconfdir 607 datadir 608 datarootdir 609 libexecdir 610 sbindir 611 bindir 612 program_transform_name 613 prefix 614 exec_prefix 615 PACKAGE_URL 616 PACKAGE_BUGREPORT 617 PACKAGE_STRING 618 PACKAGE_VERSION 619 PACKAGE_TARNAME 620 PACKAGE_NAME 581 621 PATH_SEPARATOR 582 PACKAGE_NAME 583 PACKAGE_TARNAME 584 PACKAGE_VERSION 585 PACKAGE_STRING 586 PACKAGE_BUGREPORT 587 exec_prefix 588 prefix 589 program_transform_name 590 bindir 591 sbindir 592 libexecdir 593 datarootdir 594 datadir 595 sysconfdir 596 sharedstatedir 597 localstatedir 598 includedir 599 oldincludedir 600 docdir 601 infodir 602 htmldir 603 dvidir 604 pdfdir 605 psdir 606 libdir 607 localedir 608 mandir 609 DEFS 610 ECHO_C 611 ECHO_N 612 ECHO_T 613 LIBS 614 build_alias 615 host_alias 616 target_alias 617 pyexecdir 618 trac_user 619 mta_user 620 install_user 621 PYTHON 622 PYTHON_VERSION 623 PYTHON_PREFIX 624 PYTHON_EXEC_PREFIX 625 PYTHON_PLATFORM 626 pythondir 627 pkgpythondir 628 pkgpyexecdir 629 CC 630 CFLAGS 631 LDFLAGS 632 CPPFLAGS 633 ac_ct_CC 634 EXEEXT 635 OBJEXT 636 CPP 637 GREP 638 EGREP 639 DEBUG 640 email2trac_conf 641 SYSTEM_EMAIL2TRAC_CONF 642 LIBOBJS 643 LTLIBOBJS' 622 SHELL' 644 623 ac_subst_files='' 624 ac_user_opts=' 625 enable_option_checking 626 with_install_user 627 with_trac_user 628 with_mta_user 629 ' 645 630 ac_precious_vars='build_alias 646 631 host_alias … … 657 642 ac_init_help= 658 643 ac_init_version=false 644 ac_unrecognized_opts= 645 ac_unrecognized_sep= 659 646 # The variables have the same names as the options, with 660 647 # dashes changed to underlines. … … 712 699 713 700 case $ac_option in 714 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 715 *) ac_optarg=yes ;; 701 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 702 *=) ac_optarg= ;; 703 *) ac_optarg=yes ;; 716 704 esac 717 705 … … 755 743 756 744 -disable-* | --disable-*) 757 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`745 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 758 746 # Reject names that are not valid shell variable names. 759 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 760 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 761 { (exit 1); exit 1; }; } 762 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 763 eval enable_$ac_feature=no ;; 747 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 748 as_fn_error $? "invalid feature name: $ac_useropt" 749 ac_useropt_orig=$ac_useropt 750 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 751 case $ac_user_opts in 752 *" 753 "enable_$ac_useropt" 754 "*) ;; 755 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 756 ac_unrecognized_sep=', ';; 757 esac 758 eval enable_$ac_useropt=no ;; 764 759 765 760 -docdir | --docdir | --docdi | --doc | --do) … … 774 769 775 770 -enable-* | --enable-*) 776 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`771 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 777 772 # Reject names that are not valid shell variable names. 778 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 779 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 780 { (exit 1); exit 1; }; } 781 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 782 eval enable_$ac_feature=\$ac_optarg ;; 773 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 774 as_fn_error $? "invalid feature name: $ac_useropt" 775 ac_useropt_orig=$ac_useropt 776 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 777 case $ac_user_opts in 778 *" 779 "enable_$ac_useropt" 780 "*) ;; 781 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 782 ac_unrecognized_sep=', ';; 783 esac 784 eval enable_$ac_useropt=\$ac_optarg ;; 783 785 784 786 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 971 973 972 974 -with-* | --with-*) 973 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`975 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 974 976 # Reject names that are not valid shell variable names. 975 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 976 { echo "$as_me: error: invalid package name: $ac_package" >&2 977 { (exit 1); exit 1; }; } 978 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 979 eval with_$ac_package=\$ac_optarg ;; 977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 978 as_fn_error $? "invalid package name: $ac_useropt" 979 ac_useropt_orig=$ac_useropt 980 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 981 case $ac_user_opts in 982 *" 983 "with_$ac_useropt" 984 "*) ;; 985 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 986 ac_unrecognized_sep=', ';; 987 esac 988 eval with_$ac_useropt=\$ac_optarg ;; 980 989 981 990 -without-* | --without-*) 982 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`991 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 983 992 # Reject names that are not valid shell variable names. 984 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 985 { echo "$as_me: error: invalid package name: $ac_package" >&2 986 { (exit 1); exit 1; }; } 987 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 988 eval with_$ac_package=no ;; 993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 994 as_fn_error $? "invalid package name: $ac_useropt" 995 ac_useropt_orig=$ac_useropt 996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 997 case $ac_user_opts in 998 *" 999 "with_$ac_useropt" 1000 "*) ;; 1001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1002 ac_unrecognized_sep=', ';; 1003 esac 1004 eval with_$ac_useropt=no ;; 989 1005 990 1006 --x) … … 1006 1022 x_libraries=$ac_optarg ;; 1007 1023 1008 -*) { echo "$as_me: error: unrecognized option: $ac_option 1009 Try \`$0 --help' for more information." >&2 1010 { (exit 1); exit 1; }; } 1024 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1025 Try \`$0 --help' for more information" 1011 1026 ;; 1012 1027 … … 1014 1029 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1015 1030 # Reject names that are not valid shell variable names. 1016 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1017 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1018 { (exit 1); exit 1; }; } 1031 case $ac_envvar in #( 1032 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1033 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1034 esac 1019 1035 eval $ac_envvar=\$ac_optarg 1020 1036 export $ac_envvar ;; … … 1022 1038 *) 1023 1039 # FIXME: should be removed in autoconf 3.0. 1024 echo "$as_me: WARNING: you should use --build, --host, --target" >&21040 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1025 1041 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1026 echo "$as_me: WARNING: invalid host type: $ac_option" >&21042 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1027 1043 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1028 1044 ;; … … 1033 1049 if test -n "$ac_prev"; then 1034 1050 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1035 { echo "$as_me: error: missing argument to $ac_option" >&2 1036 { (exit 1); exit 1; }; } 1037 fi 1038 1039 # Be sure to have absolute directory names. 1051 as_fn_error $? "missing argument to $ac_option" 1052 fi 1053 1054 if test -n "$ac_unrecognized_opts"; then 1055 case $enable_option_checking in 1056 no) ;; 1057 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1058 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1059 esac 1060 fi 1061 1062 # Check all directory arguments for consistency. 1040 1063 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1041 1064 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1044 1067 do 1045 1068 eval ac_val=\$$ac_var 1069 # Remove trailing slashes. 1070 case $ac_val in 1071 */ ) 1072 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1073 eval $ac_var=\$ac_val;; 1074 esac 1075 # Be sure to have absolute directory names. 1046 1076 case $ac_val in 1047 1077 [\\/$]* | ?:[\\/]* ) continue;; 1048 1078 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1049 1079 esac 1050 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1051 { (exit 1); exit 1; }; } 1080 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1052 1081 done 1053 1082 … … 1063 1092 if test "x$build_alias" = x; then 1064 1093 cross_compiling=maybe 1065 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1066 If a cross compiler is detected then cross compile mode will be used ." >&21094 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1095 If a cross compiler is detected then cross compile mode will be used" >&2 1067 1096 elif test "x$build_alias" != "x$host_alias"; then 1068 1097 cross_compiling=yes … … 1079 1108 ac_ls_di=`ls -di .` && 1080 1109 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1081 { echo "$as_me: error: Working directory cannot be determined" >&2 1082 { (exit 1); exit 1; }; } 1110 as_fn_error $? "working directory cannot be determined" 1083 1111 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1084 { echo "$as_me: error: pwd does not report name of working directory" >&2 1085 { (exit 1); exit 1; }; } 1112 as_fn_error $? "pwd does not report name of working directory" 1086 1113 1087 1114 … … 1090 1117 ac_srcdir_defaulted=yes 1091 1118 # Try the directory containing this script, then the parent directory. 1092 ac_confdir=`$as_dirname -- "$ 0" ||1093 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1094 X"$ 0" : 'X\(//\)[^/]' \| \1095 X"$ 0" : 'X\(//\)$' \| \1096 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1097 echo X"$0" |1119 ac_confdir=`$as_dirname -- "$as_myself" || 1120 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1121 X"$as_myself" : 'X\(//\)[^/]' \| \ 1122 X"$as_myself" : 'X\(//\)$' \| \ 1123 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1124 $as_echo X"$as_myself" | 1098 1125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1099 1126 s//\1/ … … 1122 1149 if test ! -r "$srcdir/$ac_unique_file"; then 1123 1150 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1124 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1125 { (exit 1); exit 1; }; } 1151 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1126 1152 fi 1127 1153 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1128 1154 ac_abs_confdir=`( 1129 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1130 { (exit 1); exit 1; }; } 1155 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1131 1156 pwd)` 1132 1157 # When building in place, set srcdir=. … … 1168 1193 --help=recursive display the short help of all the included packages 1169 1194 -V, --version display version information and exit 1170 -q, --quiet, --silent do not print \`checking ...' messages1195 -q, --quiet, --silent do not print \`checking ...' messages 1171 1196 --cache-file=FILE cache test results in FILE [disabled] 1172 1197 -C, --config-cache alias for \`--cache-file=config.cache' … … 1176 1201 Installation directories: 1177 1202 --prefix=PREFIX install architecture-independent files in PREFIX 1178 1203 [$ac_default_prefix] 1179 1204 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1180 1205 [PREFIX] 1181 1206 1182 1207 By default, \`make install' will install all the files in … … 1188 1213 1189 1214 Fine tuning of the installation directories: 1190 --bindir=DIR user executables [EPREFIX/bin]1191 --sbindir=DIR system admin executables [EPREFIX/sbin]1192 --libexecdir=DIR program executables [EPREFIX/libexec]1193 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1194 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1195 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1196 --libdir=DIR object code libraries [EPREFIX/lib]1197 --includedir=DIR C header files [PREFIX/include]1198 --oldincludedir=DIR C header files for non-gcc [/usr/include]1199 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1200 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1201 --infodir=DIR info documentation [DATAROOTDIR/info]1202 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1203 --mandir=DIR man documentation [DATAROOTDIR/man]1204 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]1205 --htmldir=DIR html documentation [DOCDIR]1206 --dvidir=DIR dvi documentation [DOCDIR]1207 --pdfdir=DIR pdf documentation [DOCDIR]1208 --psdir=DIR ps documentation [DOCDIR]1215 --bindir=DIR user executables [EPREFIX/bin] 1216 --sbindir=DIR system admin executables [EPREFIX/sbin] 1217 --libexecdir=DIR program executables [EPREFIX/libexec] 1218 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1219 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1220 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1221 --libdir=DIR object code libraries [EPREFIX/lib] 1222 --includedir=DIR C header files [PREFIX/include] 1223 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1224 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1225 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1226 --infodir=DIR info documentation [DATAROOTDIR/info] 1227 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1228 --mandir=DIR man documentation [DATAROOTDIR/man] 1229 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1230 --htmldir=DIR html documentation [DOCDIR] 1231 --dvidir=DIR dvi documentation [DOCDIR] 1232 --pdfdir=DIR pdf documentation [DOCDIR] 1233 --psdir=DIR ps documentation [DOCDIR] 1209 1234 _ACEOF 1210 1235 … … 1236 1261 nonstandard directory <lib dir> 1237 1262 LIBS libraries to pass to the linker, e.g. -l<library> 1238 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1263 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1239 1264 you have headers in a nonstandard directory <include dir> 1240 1265 CPP C preprocessor … … 1243 1268 it to find libraries and programs with nonstandard names/locations. 1244 1269 1270 Report bugs to the package provider. 1245 1271 _ACEOF 1246 1272 ac_status=$? … … 1250 1276 # If there are subdirs, report their specific --help. 1251 1277 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1252 test -d "$ac_dir" || continue 1278 test -d "$ac_dir" || 1279 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1280 continue 1253 1281 ac_builddir=. 1254 1282 … … 1256 1284 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1257 1285 *) 1258 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1286 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1259 1287 # A ".." for each directory in $ac_dir_suffix. 1260 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1288 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1261 1289 case $ac_top_builddir_sub in 1262 1290 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1294 1322 $SHELL "$ac_srcdir/configure" --help=recursive 1295 1323 else 1296 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21324 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1297 1325 fi || ac_status=$? 1298 1326 cd "$ac_pwd" || { ac_status=$?; break; } … … 1304 1332 cat <<\_ACEOF 1305 1333 configure 1306 generated by GNU Autoconf 2.61 1307 1308 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1309 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1334 generated by GNU Autoconf 2.67 1335 1336 Copyright (C) 2010 Free Software Foundation, Inc. 1310 1337 This configure script is free software; the Free Software Foundation 1311 1338 gives unlimited permission to copy, distribute and modify it. … … 1313 1340 exit 1314 1341 fi 1342 1343 ## ------------------------ ## 1344 ## Autoconf initialization. ## 1345 ## ------------------------ ## 1346 1347 # ac_fn_c_try_compile LINENO 1348 # -------------------------- 1349 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1350 ac_fn_c_try_compile () 1351 { 1352 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1353 rm -f conftest.$ac_objext 1354 if { { ac_try="$ac_compile" 1355 case "(($ac_try" in 1356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1357 *) ac_try_echo=$ac_try;; 1358 esac 1359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1360 $as_echo "$ac_try_echo"; } >&5 1361 (eval "$ac_compile") 2>conftest.err 1362 ac_status=$? 1363 if test -s conftest.err; then 1364 grep -v '^ *+' conftest.err >conftest.er1 1365 cat conftest.er1 >&5 1366 mv -f conftest.er1 conftest.err 1367 fi 1368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1369 test $ac_status = 0; } && { 1370 test -z "$ac_c_werror_flag" || 1371 test ! -s conftest.err 1372 } && test -s conftest.$ac_objext; then : 1373 ac_retval=0 1374 else 1375 $as_echo "$as_me: failed program was:" >&5 1376 sed 's/^/| /' conftest.$ac_ext >&5 1377 1378 ac_retval=1 1379 fi 1380 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1381 as_fn_set_status $ac_retval 1382 1383 } # ac_fn_c_try_compile 1384 1385 # ac_fn_c_try_cpp LINENO 1386 # ---------------------- 1387 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1388 ac_fn_c_try_cpp () 1389 { 1390 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1391 if { { ac_try="$ac_cpp conftest.$ac_ext" 1392 case "(($ac_try" in 1393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1394 *) ac_try_echo=$ac_try;; 1395 esac 1396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1397 $as_echo "$ac_try_echo"; } >&5 1398 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1399 ac_status=$? 1400 if test -s conftest.err; then 1401 grep -v '^ *+' conftest.err >conftest.er1 1402 cat conftest.er1 >&5 1403 mv -f conftest.er1 conftest.err 1404 fi 1405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1406 test $ac_status = 0; } > conftest.i && { 1407 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1408 test ! -s conftest.err 1409 }; then : 1410 ac_retval=0 1411 else 1412 $as_echo "$as_me: failed program was:" >&5 1413 sed 's/^/| /' conftest.$ac_ext >&5 1414 1415 ac_retval=1 1416 fi 1417 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1418 as_fn_set_status $ac_retval 1419 1420 } # ac_fn_c_try_cpp 1421 1422 # ac_fn_c_try_link LINENO 1423 # ----------------------- 1424 # Try to link conftest.$ac_ext, and return whether this succeeded. 1425 ac_fn_c_try_link () 1426 { 1427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1428 rm -f conftest.$ac_objext conftest$ac_exeext 1429 if { { ac_try="$ac_link" 1430 case "(($ac_try" in 1431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1432 *) ac_try_echo=$ac_try;; 1433 esac 1434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1435 $as_echo "$ac_try_echo"; } >&5 1436 (eval "$ac_link") 2>conftest.err 1437 ac_status=$? 1438 if test -s conftest.err; then 1439 grep -v '^ *+' conftest.err >conftest.er1 1440 cat conftest.er1 >&5 1441 mv -f conftest.er1 conftest.err 1442 fi 1443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1444 test $ac_status = 0; } && { 1445 test -z "$ac_c_werror_flag" || 1446 test ! -s conftest.err 1447 } && test -s conftest$ac_exeext && { 1448 test "$cross_compiling" = yes || 1449 $as_test_x conftest$ac_exeext 1450 }; then : 1451 ac_retval=0 1452 else 1453 $as_echo "$as_me: failed program was:" >&5 1454 sed 's/^/| /' conftest.$ac_ext >&5 1455 1456 ac_retval=1 1457 fi 1458 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1459 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1460 # interfere with the next link command; also delete a directory that is 1461 # left behind by Apple's compiler. We do this before executing the actions. 1462 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1463 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1464 as_fn_set_status $ac_retval 1465 1466 } # ac_fn_c_try_link 1467 1468 # ac_fn_c_check_func LINENO FUNC VAR 1469 # ---------------------------------- 1470 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1471 ac_fn_c_check_func () 1472 { 1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1475 $as_echo_n "checking for $2... " >&6; } 1476 if eval "test \"\${$3+set}\"" = set; then : 1477 $as_echo_n "(cached) " >&6 1478 else 1479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1480 /* end confdefs.h. */ 1481 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1482 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1483 #define $2 innocuous_$2 1484 1485 /* System header to define __stub macros and hopefully few prototypes, 1486 which can conflict with char $2 (); below. 1487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1488 <limits.h> exists even on freestanding compilers. */ 1489 1490 #ifdef __STDC__ 1491 # include <limits.h> 1492 #else 1493 # include <assert.h> 1494 #endif 1495 1496 #undef $2 1497 1498 /* Override any GCC internal prototype to avoid an error. 1499 Use char because int might match the return type of a GCC 1500 builtin and then its argument prototype would still apply. */ 1501 #ifdef __cplusplus 1502 extern "C" 1503 #endif 1504 char $2 (); 1505 /* The GNU C library defines this for functions which it implements 1506 to always fail with ENOSYS. Some functions are actually named 1507 something starting with __ and the normal name is an alias. */ 1508 #if defined __stub_$2 || defined __stub___$2 1509 choke me 1510 #endif 1511 1512 int 1513 main () 1514 { 1515 return $2 (); 1516 ; 1517 return 0; 1518 } 1519 _ACEOF 1520 if ac_fn_c_try_link "$LINENO"; then : 1521 eval "$3=yes" 1522 else 1523 eval "$3=no" 1524 fi 1525 rm -f core conftest.err conftest.$ac_objext \ 1526 conftest$ac_exeext conftest.$ac_ext 1527 fi 1528 eval ac_res=\$$3 1529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1530 $as_echo "$ac_res" >&6; } 1531 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1532 1533 } # ac_fn_c_check_func 1315 1534 cat >config.log <<_ACEOF 1316 1535 This file contains any messages produced by compilers while … … 1318 1537 1319 1538 It was created by $as_me, which was 1320 generated by GNU Autoconf 2.6 1. Invocation command line was1539 generated by GNU Autoconf 2.67. Invocation command line was 1321 1540 1322 1541 $ $0 $@ … … 1354 1573 IFS=$as_save_IFS 1355 1574 test -z "$as_dir" && as_dir=. 1356 echo "PATH: $as_dir"1357 done1575 $as_echo "PATH: $as_dir" 1576 done 1358 1577 IFS=$as_save_IFS 1359 1578 … … 1389 1608 continue ;; 1390 1609 *\'*) 1391 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1610 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1392 1611 esac 1393 1612 case $ac_pass in 1394 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1613 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1395 1614 2) 1396 a c_configure_args1="$ac_configure_args1'$ac_arg'"1615 as_fn_append ac_configure_args1 " '$ac_arg'" 1397 1616 if test $ac_must_keep_next = true; then 1398 1617 ac_must_keep_next=false # Got value, back to normal. … … 1410 1629 esac 1411 1630 fi 1412 a c_configure_args="$ac_configure_args'$ac_arg'"1631 as_fn_append ac_configure_args " '$ac_arg'" 1413 1632 ;; 1414 1633 esac 1415 1634 done 1416 1635 done 1417 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1418 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1636 { ac_configure_args0=; unset ac_configure_args0;} 1637 { ac_configure_args1=; unset ac_configure_args1;} 1419 1638 1420 1639 # When interrupted or exit'd, cleanup temporary files, and complete … … 1428 1647 echo 1429 1648 1430 cat <<\_ASBOX 1431 ## ---------------- ## 1649 $as_echo "## ---------------- ## 1432 1650 ## Cache variables. ## 1433 ## ---------------- ## 1434 _ASBOX 1651 ## ---------------- ##" 1435 1652 echo 1436 1653 # The following way of writing the cache mishandles newlines in values, … … 1441 1658 *${as_nl}*) 1442 1659 case $ac_var in #( 1443 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51444 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;1660 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1661 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1445 1662 esac 1446 1663 case $ac_var in #( 1447 1664 _ | IFS | as_nl) ;; #( 1448 *) $as_unset $ac_var ;; 1665 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1666 *) { eval $ac_var=; unset $ac_var;} ;; 1449 1667 esac ;; 1450 1668 esac … … 1465 1683 echo 1466 1684 1467 cat <<\_ASBOX 1468 ## ----------------- ## 1685 $as_echo "## ----------------- ## 1469 1686 ## Output variables. ## 1470 ## ----------------- ## 1471 _ASBOX 1687 ## ----------------- ##" 1472 1688 echo 1473 1689 for ac_var in $ac_subst_vars … … 1475 1691 eval ac_val=\$$ac_var 1476 1692 case $ac_val in 1477 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1693 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1478 1694 esac 1479 echo "$ac_var='\''$ac_val'\''"1695 $as_echo "$ac_var='\''$ac_val'\''" 1480 1696 done | sort 1481 1697 echo 1482 1698 1483 1699 if test -n "$ac_subst_files"; then 1484 cat <<\_ASBOX 1485 ## ------------------- ## 1700 $as_echo "## ------------------- ## 1486 1701 ## File substitutions. ## 1487 ## ------------------- ## 1488 _ASBOX 1702 ## ------------------- ##" 1489 1703 echo 1490 1704 for ac_var in $ac_subst_files … … 1492 1706 eval ac_val=\$$ac_var 1493 1707 case $ac_val in 1494 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1708 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1495 1709 esac 1496 echo "$ac_var='\''$ac_val'\''"1710 $as_echo "$ac_var='\''$ac_val'\''" 1497 1711 done | sort 1498 1712 echo … … 1500 1714 1501 1715 if test -s confdefs.h; then 1502 cat <<\_ASBOX 1503 ## ----------- ## 1716 $as_echo "## ----------- ## 1504 1717 ## confdefs.h. ## 1505 ## ----------- ## 1506 _ASBOX 1718 ## ----------- ##" 1507 1719 echo 1508 1720 cat confdefs.h … … 1510 1722 fi 1511 1723 test "$ac_signal" != 0 && 1512 echo "$as_me: caught signal $ac_signal"1513 echo "$as_me: exit $exit_status"1724 $as_echo "$as_me: caught signal $ac_signal" 1725 $as_echo "$as_me: exit $exit_status" 1514 1726 } >&5 1515 1727 rm -f core *.core core.conftest.* && … … 1518 1730 ' 0 1519 1731 for ac_signal in 1 2 13 15; do 1520 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal1732 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1521 1733 done 1522 1734 ac_signal=0 … … 1525 1737 rm -f -r conftest* confdefs.h 1526 1738 1739 $as_echo "/* confdefs.h */" > confdefs.h 1740 1527 1741 # Predefined preprocessor variables. 1528 1742 … … 1531 1745 _ACEOF 1532 1746 1533 1534 1747 cat >>confdefs.h <<_ACEOF 1535 1748 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1536 1749 _ACEOF 1537 1750 1538 1539 1751 cat >>confdefs.h <<_ACEOF 1540 1752 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1541 1753 _ACEOF 1542 1754 1543 1544 1755 cat >>confdefs.h <<_ACEOF 1545 1756 #define PACKAGE_STRING "$PACKAGE_STRING" 1546 1757 _ACEOF 1547 1758 1548 1549 1759 cat >>confdefs.h <<_ACEOF 1550 1760 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1551 1761 _ACEOF 1552 1762 1763 cat >>confdefs.h <<_ACEOF 1764 #define PACKAGE_URL "$PACKAGE_URL" 1765 _ACEOF 1766 1553 1767 1554 1768 # Let the site file select an alternate cache file if it wants to. 1555 # Prefer explicitly selected file to automatically selected ones. 1769 # Prefer an explicitly selected file to automatically selected ones. 1770 ac_site_file1=NONE 1771 ac_site_file2=NONE 1556 1772 if test -n "$CONFIG_SITE"; then 1557 set x "$CONFIG_SITE" 1773 # We do not want a PATH search for config.site. 1774 case $CONFIG_SITE in #(( 1775 -*) ac_site_file1=./$CONFIG_SITE;; 1776 */*) ac_site_file1=$CONFIG_SITE;; 1777 *) ac_site_file1=./$CONFIG_SITE;; 1778 esac 1558 1779 elif test "x$prefix" != xNONE; then 1559 set x "$prefix/share/config.site" "$prefix/etc/config.site"1560 else1561 set x "$ac_default_prefix/share/config.site" \ 1562 "$ac_default_prefix/etc/config.site" 1563 fi 1564 shift 1565 for ac_site_file 1780 ac_site_file1=$prefix/share/config.site 1781 ac_site_file2=$prefix/etc/config.site 1782 else 1783 ac_site_file1=$ac_default_prefix/share/config.site 1784 ac_site_file2=$ac_default_prefix/etc/config.site 1785 fi 1786 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1566 1787 do 1567 if test -r "$ac_site_file"; then 1568 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1569 echo "$as_me: loading site script $ac_site_file" >&6;} 1788 test "x$ac_site_file" = xNONE && continue 1789 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1790 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1791 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1570 1792 sed 's/^/| /' "$ac_site_file" >&5 1571 . "$ac_site_file" 1793 . "$ac_site_file" \ 1794 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1796 as_fn_error $? "failed to load site script $ac_site_file 1797 See \`config.log' for more details" "$LINENO" 5 ; } 1572 1798 fi 1573 1799 done 1574 1800 1575 1801 if test -r "$cache_file"; then 1576 # Some versions of bash will fail to source /dev/null (special 1577 # files actually), so we avoid doing that.1578 if test -f "$cache_file"; then1579 { echo "$as_me:$LINENO: loading cache $cache_file" >&51580 echo "$as_me: loading cache $cache_file" >&6;}1802 # Some versions of bash will fail to source /dev/null (special files 1803 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1804 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1805 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1806 $as_echo "$as_me: loading cache $cache_file" >&6;} 1581 1807 case $cache_file in 1582 1808 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1585 1811 fi 1586 1812 else 1587 { echo "$as_me:$LINENO: creating cache $cache_file" >&51588 echo "$as_me: creating cache $cache_file" >&6;}1813 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1814 $as_echo "$as_me: creating cache $cache_file" >&6;} 1589 1815 >$cache_file 1590 1816 fi … … 1600 1826 case $ac_old_set,$ac_new_set in 1601 1827 set,) 1602 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51603 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1828 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1829 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1604 1830 ac_cache_corrupted=: ;; 1605 1831 ,set) 1606 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51607 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1832 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1833 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1608 1834 ac_cache_corrupted=: ;; 1609 1835 ,);; 1610 1836 *) 1611 1837 if test "x$ac_old_val" != "x$ac_new_val"; then 1612 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1613 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1614 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1615 echo "$as_me: former value: $ac_old_val" >&2;} 1616 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1617 echo "$as_me: current value: $ac_new_val" >&2;} 1618 ac_cache_corrupted=: 1838 # differences in whitespace do not lead to failure. 1839 ac_old_val_w=`echo x $ac_old_val` 1840 ac_new_val_w=`echo x $ac_new_val` 1841 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1843 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1844 ac_cache_corrupted=: 1845 else 1846 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1847 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1848 eval $ac_var=\$ac_old_val 1849 fi 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1851 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1852 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1853 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1619 1854 fi;; 1620 1855 esac … … 1622 1857 if test "$ac_new_set" = set; then 1623 1858 case $ac_new_val in 1624 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1859 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1625 1860 *) ac_arg=$ac_var=$ac_new_val ;; 1626 1861 esac 1627 1862 case " $ac_configure_args " in 1628 1863 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1629 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;1864 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1630 1865 esac 1631 1866 fi 1632 1867 done 1633 1868 if $ac_cache_corrupted; then 1634 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1635 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1636 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1637 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1638 { (exit 1); exit 1; }; } 1639 fi 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1869 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1871 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1872 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1873 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1874 fi 1875 ## -------------------- ## 1876 ## Main body of script. ## 1877 ## -------------------- ## 1656 1878 1657 1879 ac_ext=c … … 1662 1884 1663 1885 1886 ac_config_headers="$ac_config_headers config.h" 1887 1664 1888 1665 1889 … … 1679 1903 if test -n "$PYTHON"; then 1680 1904 # If the user set $PYTHON, use it and don't search something else. 1681 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.4" >&51682 echo $ECHO_N "checking whether $PYTHON version >= 2.4... $ECHO_C" >&6; }1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.4" >&5 1906 $as_echo_n "checking whether $PYTHON version >= 2.4... " >&6; } 1683 1907 prog="import sys, string 1684 1908 # split strings by '.' and convert to numeric. Append some zeros … … 1692 1916 ac_status=$? 1693 1917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1694 (exit $ac_status); }; then 1695 { echo "$as_me:$LINENO: result: yes" >&5 1696 echo "${ECHO_T}yes" >&6; } 1697 else 1698 { { echo "$as_me:$LINENO: error: too old" >&5 1699 echo "$as_me: error: too old" >&2;} 1700 { (exit 1); exit 1; }; } 1701 fi 1702 1918 (exit $ac_status); }; then : 1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1920 $as_echo "yes" >&6; } 1921 else 1922 as_fn_error $? "too old" "$LINENO" 5 1923 fi 1703 1924 else 1704 1925 # Otherwise, try each interpreter until we find one that satisfies 1705 1926 # VERSION. 1706 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.4" >&51707 echo $ECHO_N "checking for a Python interpreter with version >= 2.4... $ECHO_C" >&6; }1708 if test "${am_cv_pathless_PYTHON+set}" = set; then 1709 echo $ECHO_N "(cached) $ECHO_C" >&61927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.4" >&5 1928 $as_echo_n "checking for a Python interpreter with version >= 2.4... " >&6; } 1929 if test "${am_cv_pathless_PYTHON+set}" = set; then : 1930 $as_echo_n "(cached) " >&6 1710 1931 else 1711 1932 1712 1933 for am_cv_pathless_PYTHON in python python2 python2.6 python2.5 python.2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 : ; do 1713 1934 if test "$am_cv_pathless_PYTHON" = : ; then 1714 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 1715 echo "$as_me: error: no suitable Python interpreter found" >&2;} 1716 { (exit 1); exit 1; }; } 1935 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 1717 1936 fi 1718 1937 prog="import sys, string … … 1727 1946 ac_status=$? 1728 1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1729 (exit $ac_status); }; then 1948 (exit $ac_status); }; then : 1730 1949 break 1731 1950 fi 1732 1733 1951 done 1734 1952 fi 1735 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&51736 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }1953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 1954 $as_echo "$am_cv_pathless_PYTHON" >&6; } 1737 1955 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. 1738 1956 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. 1739 1957 set dummy $am_cv_pathless_PYTHON; ac_word=$2 1740 { echo "$as_me:$LINENO: checking for $ac_word" >&51741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1742 if test "${ac_cv_path_PYTHON+set}" = set; then 1743 echo $ECHO_N "(cached) $ECHO_C" >&61958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1959 $as_echo_n "checking for $ac_word... " >&6; } 1960 if test "${ac_cv_path_PYTHON+set}" = set; then : 1961 $as_echo_n "(cached) " >&6 1744 1962 else 1745 1963 case $PYTHON in … … 1753 1971 IFS=$as_save_IFS 1754 1972 test -z "$as_dir" && as_dir=. 1755 for ac_exec_ext in '' $ac_executable_extensions; do1973 for ac_exec_ext in '' $ac_executable_extensions; do 1756 1974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1757 1975 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 1758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1759 1977 break 2 1760 1978 fi 1761 1979 done 1762 done1980 done 1763 1981 IFS=$as_save_IFS 1764 1982 … … 1768 1986 PYTHON=$ac_cv_path_PYTHON 1769 1987 if test -n "$PYTHON"; then 1770 { echo "$as_me:$LINENO: result: $PYTHON" >&51771 echo "${ECHO_T}$PYTHON" >&6; }1772 else 1773 { echo "$as_me:$LINENO: result: no" >&51774 echo "${ECHO_T}no" >&6; }1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 1989 $as_echo "$PYTHON" >&6; } 1990 else 1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1992 $as_echo "no" >&6; } 1775 1993 fi 1776 1994 … … 1781 1999 1782 2000 1783 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&51784 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }1785 if test "${am_cv_python_version+set}" = set; then 1786 echo $ECHO_N "(cached) $ECHO_C" >&62001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 2002 $as_echo_n "checking for $am_display_PYTHON version... " >&6; } 2003 if test "${am_cv_python_version+set}" = set; then : 2004 $as_echo_n "(cached) " >&6 1787 2005 else 1788 2006 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` 1789 2007 fi 1790 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&51791 echo "${ECHO_T}$am_cv_python_version" >&6; }2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 2009 $as_echo "$am_cv_python_version" >&6; } 1792 2010 PYTHON_VERSION=$am_cv_python_version 1793 2011 … … 1800 2018 1801 2019 1802 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&51803 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }1804 if test "${am_cv_python_platform+set}" = set; then 1805 echo $ECHO_N "(cached) $ECHO_C" >&62020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 2021 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; } 2022 if test "${am_cv_python_platform+set}" = set; then : 2023 $as_echo_n "(cached) " >&6 1806 2024 else 1807 2025 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` 1808 2026 fi 1809 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&51810 echo "${ECHO_T}$am_cv_python_platform" >&6; }2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 2028 $as_echo "$am_cv_python_platform" >&6; } 1811 2029 PYTHON_PLATFORM=$am_cv_python_platform 1812 2030 … … 1814 2032 1815 2033 1816 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&51817 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }1818 if test "${am_cv_python_pythondir+set}" = set; then 1819 echo $ECHO_N "(cached) $ECHO_C" >&62034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 2035 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } 2036 if test "${am_cv_python_pythondir+set}" = set; then : 2037 $as_echo_n "(cached) " >&6 1820 2038 else 1821 2039 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || 1822 2040 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` 1823 2041 fi 1824 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&51825 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 2043 $as_echo "$am_cv_python_pythondir" >&6; } 1826 2044 pythondir=$am_cv_python_pythondir 1827 2045 … … 1831 2049 1832 2050 1833 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&51834 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }1835 if test "${am_cv_python_pyexecdir+set}" = set; then 1836 echo $ECHO_N "(cached) $ECHO_C" >&62051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 2052 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } 2053 if test "${am_cv_python_pyexecdir+set}" = set; then : 2054 $as_echo_n "(cached) " >&6 1837 2055 else 1838 2056 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || 1839 2057 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` 1840 2058 fi 1841 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&51842 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 2060 $as_echo "$am_cv_python_pyexecdir" >&6; } 1843 2061 pyexecdir=$am_cv_python_pyexecdir 1844 2062 … … 1856 2074 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1857 2075 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1858 { echo "$as_me:$LINENO: checking for $ac_word" >&51859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1860 if test "${ac_cv_prog_CC+set}" = set; then 1861 echo $ECHO_N "(cached) $ECHO_C" >&62076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2077 $as_echo_n "checking for $ac_word... " >&6; } 2078 if test "${ac_cv_prog_CC+set}" = set; then : 2079 $as_echo_n "(cached) " >&6 1862 2080 else 1863 2081 if test -n "$CC"; then … … 1869 2087 IFS=$as_save_IFS 1870 2088 test -z "$as_dir" && as_dir=. 1871 for ac_exec_ext in '' $ac_executable_extensions; do2089 for ac_exec_ext in '' $ac_executable_extensions; do 1872 2090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1873 2091 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1875 2093 break 2 1876 2094 fi 1877 2095 done 1878 done2096 done 1879 2097 IFS=$as_save_IFS 1880 2098 … … 1883 2101 CC=$ac_cv_prog_CC 1884 2102 if test -n "$CC"; then 1885 { echo "$as_me:$LINENO: result: $CC" >&51886 echo "${ECHO_T}$CC" >&6; }1887 else 1888 { echo "$as_me:$LINENO: result: no" >&51889 echo "${ECHO_T}no" >&6; }2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2104 $as_echo "$CC" >&6; } 2105 else 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2107 $as_echo "no" >&6; } 1890 2108 fi 1891 2109 … … 1896 2114 # Extract the first word of "gcc", so it can be a program name with args. 1897 2115 set dummy gcc; ac_word=$2 1898 { echo "$as_me:$LINENO: checking for $ac_word" >&51899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1900 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1901 echo $ECHO_N "(cached) $ECHO_C" >&62116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2117 $as_echo_n "checking for $ac_word... " >&6; } 2118 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2119 $as_echo_n "(cached) " >&6 1902 2120 else 1903 2121 if test -n "$ac_ct_CC"; then … … 1909 2127 IFS=$as_save_IFS 1910 2128 test -z "$as_dir" && as_dir=. 1911 for ac_exec_ext in '' $ac_executable_extensions; do2129 for ac_exec_ext in '' $ac_executable_extensions; do 1912 2130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1913 2131 ac_cv_prog_ac_ct_CC="gcc" 1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1915 2133 break 2 1916 2134 fi 1917 2135 done 1918 done2136 done 1919 2137 IFS=$as_save_IFS 1920 2138 … … 1923 2141 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1924 2142 if test -n "$ac_ct_CC"; then 1925 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&51926 echo "${ECHO_T}$ac_ct_CC" >&6; }1927 else 1928 { echo "$as_me:$LINENO: result: no" >&51929 echo "${ECHO_T}no" >&6; }2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2144 $as_echo "$ac_ct_CC" >&6; } 2145 else 2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2147 $as_echo "no" >&6; } 1930 2148 fi 1931 2149 … … 1935 2153 case $cross_compiling:$ac_tool_warned in 1936 2154 yes:) 1937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1938 whose name does not start with the host triplet. If you think this 1939 configuration is useful to you, please write to autoconf@gnu.org." >&5 1940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1941 whose name does not start with the host triplet. If you think this 1942 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1943 2157 ac_tool_warned=yes ;; 1944 2158 esac … … 1953 2167 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1954 2168 set dummy ${ac_tool_prefix}cc; ac_word=$2 1955 { echo "$as_me:$LINENO: checking for $ac_word" >&51956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1957 if test "${ac_cv_prog_CC+set}" = set; then 1958 echo $ECHO_N "(cached) $ECHO_C" >&62169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2170 $as_echo_n "checking for $ac_word... " >&6; } 2171 if test "${ac_cv_prog_CC+set}" = set; then : 2172 $as_echo_n "(cached) " >&6 1959 2173 else 1960 2174 if test -n "$CC"; then … … 1966 2180 IFS=$as_save_IFS 1967 2181 test -z "$as_dir" && as_dir=. 1968 for ac_exec_ext in '' $ac_executable_extensions; do2182 for ac_exec_ext in '' $ac_executable_extensions; do 1969 2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1970 2184 ac_cv_prog_CC="${ac_tool_prefix}cc" 1971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1972 2186 break 2 1973 2187 fi 1974 2188 done 1975 done2189 done 1976 2190 IFS=$as_save_IFS 1977 2191 … … 1980 2194 CC=$ac_cv_prog_CC 1981 2195 if test -n "$CC"; then 1982 { echo "$as_me:$LINENO: result: $CC" >&51983 echo "${ECHO_T}$CC" >&6; }1984 else 1985 { echo "$as_me:$LINENO: result: no" >&51986 echo "${ECHO_T}no" >&6; }2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2197 $as_echo "$CC" >&6; } 2198 else 2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2200 $as_echo "no" >&6; } 1987 2201 fi 1988 2202 … … 1993 2207 # Extract the first word of "cc", so it can be a program name with args. 1994 2208 set dummy cc; ac_word=$2 1995 { echo "$as_me:$LINENO: checking for $ac_word" >&51996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1997 if test "${ac_cv_prog_CC+set}" = set; then 1998 echo $ECHO_N "(cached) $ECHO_C" >&62209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2210 $as_echo_n "checking for $ac_word... " >&6; } 2211 if test "${ac_cv_prog_CC+set}" = set; then : 2212 $as_echo_n "(cached) " >&6 1999 2213 else 2000 2214 if test -n "$CC"; then … … 2007 2221 IFS=$as_save_IFS 2008 2222 test -z "$as_dir" && as_dir=. 2009 for ac_exec_ext in '' $ac_executable_extensions; do2223 for ac_exec_ext in '' $ac_executable_extensions; do 2010 2224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2011 2225 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2014 2228 fi 2015 2229 ac_cv_prog_CC="cc" 2016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2017 2231 break 2 2018 2232 fi 2019 2233 done 2020 done2234 done 2021 2235 IFS=$as_save_IFS 2022 2236 … … 2037 2251 CC=$ac_cv_prog_CC 2038 2252 if test -n "$CC"; then 2039 { echo "$as_me:$LINENO: result: $CC" >&52040 echo "${ECHO_T}$CC" >&6; }2041 else 2042 { echo "$as_me:$LINENO: result: no" >&52043 echo "${ECHO_T}no" >&6; }2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2254 $as_echo "$CC" >&6; } 2255 else 2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2257 $as_echo "no" >&6; } 2044 2258 fi 2045 2259 … … 2052 2266 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2053 2267 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2054 { echo "$as_me:$LINENO: checking for $ac_word" >&52055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2056 if test "${ac_cv_prog_CC+set}" = set; then 2057 echo $ECHO_N "(cached) $ECHO_C" >&62268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2269 $as_echo_n "checking for $ac_word... " >&6; } 2270 if test "${ac_cv_prog_CC+set}" = set; then : 2271 $as_echo_n "(cached) " >&6 2058 2272 else 2059 2273 if test -n "$CC"; then … … 2065 2279 IFS=$as_save_IFS 2066 2280 test -z "$as_dir" && as_dir=. 2067 for ac_exec_ext in '' $ac_executable_extensions; do2281 for ac_exec_ext in '' $ac_executable_extensions; do 2068 2282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2069 2283 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2071 2285 break 2 2072 2286 fi 2073 2287 done 2074 done2288 done 2075 2289 IFS=$as_save_IFS 2076 2290 … … 2079 2293 CC=$ac_cv_prog_CC 2080 2294 if test -n "$CC"; then 2081 { echo "$as_me:$LINENO: result: $CC" >&52082 echo "${ECHO_T}$CC" >&6; }2083 else 2084 { echo "$as_me:$LINENO: result: no" >&52085 echo "${ECHO_T}no" >&6; }2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2296 $as_echo "$CC" >&6; } 2297 else 2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2299 $as_echo "no" >&6; } 2086 2300 fi 2087 2301 … … 2096 2310 # Extract the first word of "$ac_prog", so it can be a program name with args. 2097 2311 set dummy $ac_prog; ac_word=$2 2098 { echo "$as_me:$LINENO: checking for $ac_word" >&52099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2100 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2101 echo $ECHO_N "(cached) $ECHO_C" >&62312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2313 $as_echo_n "checking for $ac_word... " >&6; } 2314 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2315 $as_echo_n "(cached) " >&6 2102 2316 else 2103 2317 if test -n "$ac_ct_CC"; then … … 2109 2323 IFS=$as_save_IFS 2110 2324 test -z "$as_dir" && as_dir=. 2111 for ac_exec_ext in '' $ac_executable_extensions; do2325 for ac_exec_ext in '' $ac_executable_extensions; do 2112 2326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2113 2327 ac_cv_prog_ac_ct_CC="$ac_prog" 2114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2115 2329 break 2 2116 2330 fi 2117 2331 done 2118 done2332 done 2119 2333 IFS=$as_save_IFS 2120 2334 … … 2123 2337 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2124 2338 if test -n "$ac_ct_CC"; then 2125 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52126 echo "${ECHO_T}$ac_ct_CC" >&6; }2127 else 2128 { echo "$as_me:$LINENO: result: no" >&52129 echo "${ECHO_T}no" >&6; }2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2340 $as_echo "$ac_ct_CC" >&6; } 2341 else 2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2343 $as_echo "no" >&6; } 2130 2344 fi 2131 2345 … … 2139 2353 case $cross_compiling:$ac_tool_warned in 2140 2354 yes:) 2141 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2142 whose name does not start with the host triplet. If you think this 2143 configuration is useful to you, please write to autoconf@gnu.org." >&5 2144 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2145 whose name does not start with the host triplet. If you think this 2146 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2147 2357 ac_tool_warned=yes ;; 2148 2358 esac … … 2154 2364 2155 2365 2156 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2157 See \`config.log' for more details." >&5 2158 echo "$as_me: error: no acceptable C compiler found in \$PATH 2159 See \`config.log' for more details." >&2;} 2160 { (exit 1); exit 1; }; } 2366 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2368 as_fn_error $? "no acceptable C compiler found in \$PATH 2369 See \`config.log' for more details" "$LINENO" 5 ; } 2161 2370 2162 2371 # Provide some information about the compiler. 2163 echo "$as_me:$LINENO: checking for C compiler version" >&5 2164 ac_compiler=`set X $ac_compile; echo $2` 2165 { (ac_try="$ac_compiler --version >&5" 2372 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2373 set X $ac_compile 2374 ac_compiler=$2 2375 for ac_option in --version -v -V -qversion; do 2376 { { ac_try="$ac_compiler $ac_option >&5" 2166 2377 case "(($ac_try" in 2167 2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2168 2379 *) ac_try_echo=$ac_try;; 2169 2380 esac 2170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2171 (eval "$ac_compiler --version >&5") 2>&5 2381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2382 $as_echo "$ac_try_echo"; } >&5 2383 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2172 2384 ac_status=$? 2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2174 (exit $ac_status); } 2175 { (ac_try="$ac_compiler -v >&5" 2385 if test -s conftest.err; then 2386 sed '10a\ 2387 ... rest of stderr output deleted ... 2388 10q' conftest.err >conftest.er1 2389 cat conftest.er1 >&5 2390 fi 2391 rm -f conftest.er1 conftest.err 2392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2393 test $ac_status = 0; } 2394 done 2395 2396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2397 /* end confdefs.h. */ 2398 2399 int 2400 main () 2401 { 2402 2403 ; 2404 return 0; 2405 } 2406 _ACEOF 2407 ac_clean_files_save=$ac_clean_files 2408 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2409 # Try to create an executable without -o first, disregard a.out. 2410 # It will help us diagnose broken compilers, and finding out an intuition 2411 # of exeext. 2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2413 $as_echo_n "checking whether the C compiler works... " >&6; } 2414 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2415 2416 # The possible output files: 2417 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2418 2419 ac_rmfiles= 2420 for ac_file in $ac_files 2421 do 2422 case $ac_file in 2423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2424 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2425 esac 2426 done 2427 rm -f $ac_rmfiles 2428 2429 if { { ac_try="$ac_link_default" 2176 2430 case "(($ac_try" in 2177 2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2178 2432 *) ac_try_echo=$ac_try;; 2179 2433 esac 2180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2181 (eval "$ac_compiler -v >&5") 2>&5 2182 ac_status=$? 2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2184 (exit $ac_status); } 2185 { (ac_try="$ac_compiler -V >&5" 2186 case "(($ac_try" in 2187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2188 *) ac_try_echo=$ac_try;; 2189 esac 2190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2191 (eval "$ac_compiler -V >&5") 2>&5 2192 ac_status=$? 2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2194 (exit $ac_status); } 2195 2196 cat >conftest.$ac_ext <<_ACEOF 2197 /* confdefs.h. */ 2198 _ACEOF 2199 cat confdefs.h >>conftest.$ac_ext 2200 cat >>conftest.$ac_ext <<_ACEOF 2201 /* end confdefs.h. */ 2202 2203 int 2204 main () 2205 { 2206 2207 ; 2208 return 0; 2209 } 2210 _ACEOF 2211 ac_clean_files_save=$ac_clean_files 2212 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2213 # Try to create an executable without -o first, disregard a.out. 2214 # It will help us diagnose broken compilers, and finding out an intuition 2215 # of exeext. 2216 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2217 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2218 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2219 # 2220 # List of possible output files, starting from the most likely. 2221 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2222 # only as a last resort. b.out is created by i960 compilers. 2223 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2224 # 2225 # The IRIX 6 linker writes into existing files which may not be 2226 # executable, retaining their permissions. Remove them first so a 2227 # subsequent execution test works. 2228 ac_rmfiles= 2229 for ac_file in $ac_files 2230 do 2231 case $ac_file in 2232 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2233 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2234 esac 2235 done 2236 rm -f $ac_rmfiles 2237 2238 if { (ac_try="$ac_link_default" 2239 case "(($ac_try" in 2240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2241 *) ac_try_echo=$ac_try;; 2242 esac 2243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2435 $as_echo "$ac_try_echo"; } >&5 2244 2436 (eval "$ac_link_default") 2>&5 2245 2437 ac_status=$? 2246 echo "$as_me:$LINENO: \$? = $ac_status" >&52247 (exit $ac_status); }; then2438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2439 test $ac_status = 0; }; then : 2248 2440 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2249 2441 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2255 2447 test -f "$ac_file" || continue 2256 2448 case $ac_file in 2257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2258 2450 ;; 2259 2451 [ab].out ) … … 2262 2454 break;; 2263 2455 *.* ) 2264 2456 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2265 2457 then :; else 2266 2458 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2281 2473 ac_file='' 2282 2474 fi 2283 2284 { echo "$as_me:$LINENO: result: $ac_file" >&5 2285 echo "${ECHO_T}$ac_file" >&6; } 2286 if test -z "$ac_file"; then 2287 echo "$as_me: failed program was:" >&5 2475 if test -z "$ac_file"; then : 2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2477 $as_echo "no" >&6; } 2478 $as_echo "$as_me: failed program was:" >&5 2288 2479 sed 's/^/| /' conftest.$ac_ext >&5 2289 2480 2290 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2291 See \`config.log' for more details." >&5 2292 echo "$as_me: error: C compiler cannot create executables 2293 See \`config.log' for more details." >&2;} 2294 { (exit 77); exit 77; }; } 2295 fi 2296 2481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2483 as_fn_error 77 "C compiler cannot create executables 2484 See \`config.log' for more details" "$LINENO" 5 ; } 2485 else 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2487 $as_echo "yes" >&6; } 2488 fi 2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2490 $as_echo_n "checking for C compiler default output file name... " >&6; } 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2492 $as_echo "$ac_file" >&6; } 2297 2493 ac_exeext=$ac_cv_exeext 2298 2494 2299 # Check that the compiler produces executables we can run. If not, either 2300 # the compiler is broken, or we cross compile. 2301 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2302 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2303 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2304 # If not cross compiling, check that we can run a simple program. 2305 if test "$cross_compiling" != yes; then 2306 if { ac_try='./$ac_file' 2307 { (case "(($ac_try" in 2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2309 *) ac_try_echo=$ac_try;; 2310 esac 2311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2312 (eval "$ac_try") 2>&5 2313 ac_status=$? 2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 (exit $ac_status); }; }; then 2316 cross_compiling=no 2317 else 2318 if test "$cross_compiling" = maybe; then 2319 cross_compiling=yes 2320 else 2321 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2322 If you meant to cross compile, use \`--host'. 2323 See \`config.log' for more details." >&5 2324 echo "$as_me: error: cannot run C compiled programs. 2325 If you meant to cross compile, use \`--host'. 2326 See \`config.log' for more details." >&2;} 2327 { (exit 1); exit 1; }; } 2328 fi 2329 fi 2330 fi 2331 { echo "$as_me:$LINENO: result: yes" >&5 2332 echo "${ECHO_T}yes" >&6; } 2333 2334 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2495 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2335 2496 ac_clean_files=$ac_clean_files_save 2336 # Check that the compiler produces executables we can run. If not, either 2337 # the compiler is broken, or we cross compile. 2338 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2339 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2340 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2341 echo "${ECHO_T}$cross_compiling" >&6; } 2342 2343 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2344 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2345 if { (ac_try="$ac_link" 2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2498 $as_echo_n "checking for suffix of executables... " >&6; } 2499 if { { ac_try="$ac_link" 2346 2500 case "(($ac_try" in 2347 2501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2348 2502 *) ac_try_echo=$ac_try;; 2349 2503 esac 2350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2505 $as_echo "$ac_try_echo"; } >&5 2351 2506 (eval "$ac_link") 2>&5 2352 2507 ac_status=$? 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&52354 (exit $ac_status); }; then2508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2509 test $ac_status = 0; }; then : 2355 2510 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2356 2511 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2360 2515 test -f "$ac_file" || continue 2361 2516 case $ac_file in 2362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2363 2518 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2364 2519 break;; … … 2367 2522 done 2368 2523 else 2369 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2370 See \`config.log' for more details." >&5 2371 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2372 See \`config.log' for more details." >&2;} 2373 { (exit 1); exit 1; }; } 2374 fi 2375 2376 rm -f conftest$ac_cv_exeext 2377 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2378 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2526 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2527 See \`config.log' for more details" "$LINENO" 5 ; } 2528 fi 2529 rm -f conftest conftest$ac_cv_exeext 2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2531 $as_echo "$ac_cv_exeext" >&6; } 2379 2532 2380 2533 rm -f conftest.$ac_ext 2381 2534 EXEEXT=$ac_cv_exeext 2382 2535 ac_exeext=$EXEEXT 2383 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2384 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2385 if test "${ac_cv_objext+set}" = set; then 2386 echo $ECHO_N "(cached) $ECHO_C" >&6 2387 else 2388 cat >conftest.$ac_ext <<_ACEOF 2389 /* confdefs.h. */ 2390 _ACEOF 2391 cat confdefs.h >>conftest.$ac_ext 2392 cat >>conftest.$ac_ext <<_ACEOF 2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2393 2537 /* end confdefs.h. */ 2394 2538 #include <stdio.h> 2395 2539 int 2396 2540 main () 2397 2541 { 2542 FILE *f = fopen ("conftest.out", "w"); 2543 return ferror (f) || fclose (f) != 0; 2398 2544 2399 2545 ; … … 2401 2547 } 2402 2548 _ACEOF 2403 rm -f conftest.o conftest.obj 2404 if { (ac_try="$ac_compile" 2549 ac_clean_files="$ac_clean_files conftest.out" 2550 # Check that the compiler produces executables we can run. If not, either 2551 # the compiler is broken, or we cross compile. 2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2553 $as_echo_n "checking whether we are cross compiling... " >&6; } 2554 if test "$cross_compiling" != yes; then 2555 { { ac_try="$ac_link" 2405 2556 case "(($ac_try" in 2406 2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2407 2558 *) ac_try_echo=$ac_try;; 2408 2559 esac 2409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2561 $as_echo "$ac_try_echo"; } >&5 2562 (eval "$ac_link") 2>&5 2563 ac_status=$? 2564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2565 test $ac_status = 0; } 2566 if { ac_try='./conftest$ac_cv_exeext' 2567 { { case "(($ac_try" in 2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2569 *) ac_try_echo=$ac_try;; 2570 esac 2571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2572 $as_echo "$ac_try_echo"; } >&5 2573 (eval "$ac_try") 2>&5 2574 ac_status=$? 2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2576 test $ac_status = 0; }; }; then 2577 cross_compiling=no 2578 else 2579 if test "$cross_compiling" = maybe; then 2580 cross_compiling=yes 2581 else 2582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2584 as_fn_error $? "cannot run C compiled programs. 2585 If you meant to cross compile, use \`--host'. 2586 See \`config.log' for more details" "$LINENO" 5 ; } 2587 fi 2588 fi 2589 fi 2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2591 $as_echo "$cross_compiling" >&6; } 2592 2593 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2594 ac_clean_files=$ac_clean_files_save 2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2596 $as_echo_n "checking for suffix of object files... " >&6; } 2597 if test "${ac_cv_objext+set}" = set; then : 2598 $as_echo_n "(cached) " >&6 2599 else 2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2601 /* end confdefs.h. */ 2602 2603 int 2604 main () 2605 { 2606 2607 ; 2608 return 0; 2609 } 2610 _ACEOF 2611 rm -f conftest.o conftest.obj 2612 if { { ac_try="$ac_compile" 2613 case "(($ac_try" in 2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2615 *) ac_try_echo=$ac_try;; 2616 esac 2617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2618 $as_echo "$ac_try_echo"; } >&5 2410 2619 (eval "$ac_compile") 2>&5 2411 2620 ac_status=$? 2412 echo "$as_me:$LINENO: \$? = $ac_status" >&52413 (exit $ac_status); }; then2621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2622 test $ac_status = 0; }; then : 2414 2623 for ac_file in conftest.o conftest.obj conftest.*; do 2415 2624 test -f "$ac_file" || continue; 2416 2625 case $ac_file in 2417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2418 2627 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2419 2628 break;; … … 2421 2630 done 2422 2631 else 2423 echo "$as_me: failed program was:" >&52632 $as_echo "$as_me: failed program was:" >&5 2424 2633 sed 's/^/| /' conftest.$ac_ext >&5 2425 2634 2426 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2427 See \`config.log' for more details." >&5 2428 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2429 See \`config.log' for more details." >&2;} 2430 { (exit 1); exit 1; }; } 2431 fi 2432 2635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2637 as_fn_error $? "cannot compute suffix of object files: cannot compile 2638 See \`config.log' for more details" "$LINENO" 5 ; } 2639 fi 2433 2640 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2434 2641 fi 2435 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52436 echo "${ECHO_T}$ac_cv_objext" >&6; }2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2643 $as_echo "$ac_cv_objext" >&6; } 2437 2644 OBJEXT=$ac_cv_objext 2438 2645 ac_objext=$OBJEXT 2439 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2440 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2441 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2442 echo $ECHO_N "(cached) $ECHO_C" >&6 2443 else 2444 cat >conftest.$ac_ext <<_ACEOF 2445 /* confdefs.h. */ 2446 _ACEOF 2447 cat confdefs.h >>conftest.$ac_ext 2448 cat >>conftest.$ac_ext <<_ACEOF 2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2647 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2648 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2649 $as_echo_n "(cached) " >&6 2650 else 2651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2449 2652 /* end confdefs.h. */ 2450 2653 … … 2460 2663 } 2461 2664 _ACEOF 2462 rm -f conftest.$ac_objext 2463 if { (ac_try="$ac_compile" 2464 case "(($ac_try" in 2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2466 *) ac_try_echo=$ac_try;; 2467 esac 2468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2469 (eval "$ac_compile") 2>conftest.er1 2470 ac_status=$? 2471 grep -v '^ *+' conftest.er1 >conftest.err 2472 rm -f conftest.er1 2473 cat conftest.err >&5 2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2475 (exit $ac_status); } && { 2476 test -z "$ac_c_werror_flag" || 2477 test ! -s conftest.err 2478 } && test -s conftest.$ac_objext; then 2665 if ac_fn_c_try_compile "$LINENO"; then : 2479 2666 ac_compiler_gnu=yes 2480 2667 else 2481 echo "$as_me: failed program was:" >&5 2482 sed 's/^/| /' conftest.$ac_ext >&5 2483 2484 ac_compiler_gnu=no 2485 fi 2486 2668 ac_compiler_gnu=no 2669 fi 2487 2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2488 2671 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2489 2672 2490 2673 fi 2491 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2492 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2493 GCC=`test $ac_compiler_gnu = yes && echo yes` 2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2675 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2676 if test $ac_compiler_gnu = yes; then 2677 GCC=yes 2678 else 2679 GCC= 2680 fi 2494 2681 ac_test_CFLAGS=${CFLAGS+set} 2495 2682 ac_save_CFLAGS=$CFLAGS 2496 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52497 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2498 if test "${ac_cv_prog_cc_g+set}" = set; then 2499 echo $ECHO_N "(cached) $ECHO_C" >&62683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2684 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2685 if test "${ac_cv_prog_cc_g+set}" = set; then : 2686 $as_echo_n "(cached) " >&6 2500 2687 else 2501 2688 ac_save_c_werror_flag=$ac_c_werror_flag … … 2503 2690 ac_cv_prog_cc_g=no 2504 2691 CFLAGS="-g" 2505 cat >conftest.$ac_ext <<_ACEOF 2506 /* confdefs.h. */ 2507 _ACEOF 2508 cat confdefs.h >>conftest.$ac_ext 2509 cat >>conftest.$ac_ext <<_ACEOF 2692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2510 2693 /* end confdefs.h. */ 2511 2694 … … 2518 2701 } 2519 2702 _ACEOF 2520 rm -f conftest.$ac_objext 2521 if { (ac_try="$ac_compile" 2522 case "(($ac_try" in 2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2524 *) ac_try_echo=$ac_try;; 2525 esac 2526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2527 (eval "$ac_compile") 2>conftest.er1 2528 ac_status=$? 2529 grep -v '^ *+' conftest.er1 >conftest.err 2530 rm -f conftest.er1 2531 cat conftest.err >&5 2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2533 (exit $ac_status); } && { 2534 test -z "$ac_c_werror_flag" || 2535 test ! -s conftest.err 2536 } && test -s conftest.$ac_objext; then 2703 if ac_fn_c_try_compile "$LINENO"; then : 2537 2704 ac_cv_prog_cc_g=yes 2538 2705 else 2539 echo "$as_me: failed program was:" >&5 2540 sed 's/^/| /' conftest.$ac_ext >&5 2541 2542 CFLAGS="" 2543 cat >conftest.$ac_ext <<_ACEOF 2544 /* confdefs.h. */ 2545 _ACEOF 2546 cat confdefs.h >>conftest.$ac_ext 2547 cat >>conftest.$ac_ext <<_ACEOF 2706 CFLAGS="" 2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2548 2708 /* end confdefs.h. */ 2549 2709 … … 2556 2716 } 2557 2717 _ACEOF 2558 rm -f conftest.$ac_objext 2559 if { (ac_try="$ac_compile" 2560 case "(($ac_try" in 2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2562 *) ac_try_echo=$ac_try;; 2563 esac 2564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2565 (eval "$ac_compile") 2>conftest.er1 2566 ac_status=$? 2567 grep -v '^ *+' conftest.er1 >conftest.err 2568 rm -f conftest.er1 2569 cat conftest.err >&5 2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2571 (exit $ac_status); } && { 2572 test -z "$ac_c_werror_flag" || 2573 test ! -s conftest.err 2574 } && test -s conftest.$ac_objext; then 2575 : 2576 else 2577 echo "$as_me: failed program was:" >&5 2578 sed 's/^/| /' conftest.$ac_ext >&5 2579 2580 ac_c_werror_flag=$ac_save_c_werror_flag 2718 if ac_fn_c_try_compile "$LINENO"; then : 2719 2720 else 2721 ac_c_werror_flag=$ac_save_c_werror_flag 2581 2722 CFLAGS="-g" 2582 cat >conftest.$ac_ext <<_ACEOF 2583 /* confdefs.h. */ 2584 _ACEOF 2585 cat confdefs.h >>conftest.$ac_ext 2586 cat >>conftest.$ac_ext <<_ACEOF 2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2587 2724 /* end confdefs.h. */ 2588 2725 … … 2595 2732 } 2596 2733 _ACEOF 2597 rm -f conftest.$ac_objext 2598 if { (ac_try="$ac_compile" 2599 case "(($ac_try" in 2600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2601 *) ac_try_echo=$ac_try;; 2602 esac 2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2604 (eval "$ac_compile") 2>conftest.er1 2605 ac_status=$? 2606 grep -v '^ *+' conftest.er1 >conftest.err 2607 rm -f conftest.er1 2608 cat conftest.err >&5 2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2610 (exit $ac_status); } && { 2611 test -z "$ac_c_werror_flag" || 2612 test ! -s conftest.err 2613 } && test -s conftest.$ac_objext; then 2734 if ac_fn_c_try_compile "$LINENO"; then : 2614 2735 ac_cv_prog_cc_g=yes 2615 else 2616 echo "$as_me: failed program was:" >&5 2617 sed 's/^/| /' conftest.$ac_ext >&5 2618 2619 2620 fi 2621 2736 fi 2622 2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2623 2738 fi 2624 2625 2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2626 2740 fi 2627 2628 2741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2629 2742 ac_c_werror_flag=$ac_save_c_werror_flag 2630 2743 fi 2631 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52632 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2745 $as_echo "$ac_cv_prog_cc_g" >&6; } 2633 2746 if test "$ac_test_CFLAGS" = set; then 2634 2747 CFLAGS=$ac_save_CFLAGS … … 2646 2759 fi 2647 2760 fi 2648 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52649 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2650 if test "${ac_cv_prog_cc_c89+set}" = set; then 2651 echo $ECHO_N "(cached) $ECHO_C" >&62761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2762 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2763 if test "${ac_cv_prog_cc_c89+set}" = set; then : 2764 $as_echo_n "(cached) " >&6 2652 2765 else 2653 2766 ac_cv_prog_cc_c89=no 2654 2767 ac_save_CC=$CC 2655 cat >conftest.$ac_ext <<_ACEOF 2656 /* confdefs.h. */ 2657 _ACEOF 2658 cat confdefs.h >>conftest.$ac_ext 2659 cat >>conftest.$ac_ext <<_ACEOF 2768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2660 2769 /* end confdefs.h. */ 2661 2770 #include <stdarg.h> … … 2714 2823 do 2715 2824 CC="$ac_save_CC $ac_arg" 2716 rm -f conftest.$ac_objext 2717 if { (ac_try="$ac_compile" 2718 case "(($ac_try" in 2719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2720 *) ac_try_echo=$ac_try;; 2721 esac 2722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2723 (eval "$ac_compile") 2>conftest.er1 2724 ac_status=$? 2725 grep -v '^ *+' conftest.er1 >conftest.err 2726 rm -f conftest.er1 2727 cat conftest.err >&5 2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2729 (exit $ac_status); } && { 2730 test -z "$ac_c_werror_flag" || 2731 test ! -s conftest.err 2732 } && test -s conftest.$ac_objext; then 2825 if ac_fn_c_try_compile "$LINENO"; then : 2733 2826 ac_cv_prog_cc_c89=$ac_arg 2734 else 2735 echo "$as_me: failed program was:" >&5 2736 sed 's/^/| /' conftest.$ac_ext >&5 2737 2738 2739 fi 2740 2827 fi 2741 2828 rm -f core conftest.err conftest.$ac_objext 2742 2829 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2749 2836 case "x$ac_cv_prog_cc_c89" in 2750 2837 x) 2751 { echo "$as_me:$LINENO: result: none needed" >&52752 echo "${ECHO_T}none needed" >&6; } ;;2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2839 $as_echo "none needed" >&6; } ;; 2753 2840 xno) 2754 { echo "$as_me:$LINENO: result: unsupported" >&52755 echo "${ECHO_T}unsupported" >&6; } ;;2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2842 $as_echo "unsupported" >&6; } ;; 2756 2843 *) 2757 2844 CC="$CC $ac_cv_prog_cc_c89" 2758 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52759 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2846 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2760 2847 esac 2761 2848 if test "x$ac_cv_prog_cc_c89" != xno; then : 2849 2850 fi 2762 2851 2763 2852 ac_ext=c … … 2773 2862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2774 2863 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2775 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52776 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 2865 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2777 2866 # On Suns, sometimes $CPP names a directory. 2778 2867 if test -n "$CPP" && test -d "$CPP"; then … … 2780 2869 fi 2781 2870 if test -z "$CPP"; then 2782 if test "${ac_cv_prog_CPP+set}" = set; then 2783 echo $ECHO_N "(cached) $ECHO_C" >&62871 if test "${ac_cv_prog_CPP+set}" = set; then : 2872 $as_echo_n "(cached) " >&6 2784 2873 else 2785 2874 # Double quotes because CPP needs to be expanded … … 2795 2884 # On the NeXT, cc -E runs the code through the compiler's parser, 2796 2885 # not just through cpp. "Syntax error" is here to catch this case. 2797 cat >conftest.$ac_ext <<_ACEOF 2798 /* confdefs.h. */ 2799 _ACEOF 2800 cat confdefs.h >>conftest.$ac_ext 2801 cat >>conftest.$ac_ext <<_ACEOF 2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2802 2887 /* end confdefs.h. */ 2803 2888 #ifdef __STDC__ … … 2808 2893 Syntax error 2809 2894 _ACEOF 2810 if { (ac_try="$ac_cpp conftest.$ac_ext" 2811 case "(($ac_try" in 2812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2813 *) ac_try_echo=$ac_try;; 2814 esac 2815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2817 ac_status=$? 2818 grep -v '^ *+' conftest.er1 >conftest.err 2819 rm -f conftest.er1 2820 cat conftest.err >&5 2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2822 (exit $ac_status); } >/dev/null && { 2823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2824 test ! -s conftest.err 2825 }; then 2826 : 2827 else 2828 echo "$as_me: failed program was:" >&5 2829 sed 's/^/| /' conftest.$ac_ext >&5 2830 2895 if ac_fn_c_try_cpp "$LINENO"; then : 2896 2897 else 2831 2898 # Broken: fails on valid input. 2832 2899 continue 2833 2900 fi 2834 2835 rm -f conftest.err conftest.$ac_ext 2901 rm -f conftest.err conftest.i conftest.$ac_ext 2836 2902 2837 2903 # OK, works on sane cases. Now check whether nonexistent headers 2838 2904 # can be detected and how. 2839 cat >conftest.$ac_ext <<_ACEOF 2840 /* confdefs.h. */ 2841 _ACEOF 2842 cat confdefs.h >>conftest.$ac_ext 2843 cat >>conftest.$ac_ext <<_ACEOF 2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2844 2906 /* end confdefs.h. */ 2845 2907 #include <ac_nonexistent.h> 2846 2908 _ACEOF 2847 if { (ac_try="$ac_cpp conftest.$ac_ext" 2848 case "(($ac_try" in 2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2850 *) ac_try_echo=$ac_try;; 2851 esac 2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2854 ac_status=$? 2855 grep -v '^ *+' conftest.er1 >conftest.err 2856 rm -f conftest.er1 2857 cat conftest.err >&5 2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2859 (exit $ac_status); } >/dev/null && { 2860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2861 test ! -s conftest.err 2862 }; then 2909 if ac_fn_c_try_cpp "$LINENO"; then : 2863 2910 # Broken: success on invalid input. 2864 2911 continue 2865 2912 else 2866 echo "$as_me: failed program was:" >&52867 sed 's/^/| /' conftest.$ac_ext >&52868 2869 2913 # Passes both tests. 2870 2914 ac_preproc_ok=: 2871 2915 break 2872 2916 fi 2873 2874 rm -f conftest.err conftest.$ac_ext 2917 rm -f conftest.err conftest.i conftest.$ac_ext 2875 2918 2876 2919 done 2877 2920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2878 rm -f conftest. err conftest.$ac_ext2879 if $ac_preproc_ok; then 2921 rm -f conftest.i conftest.err conftest.$ac_ext 2922 if $ac_preproc_ok; then : 2880 2923 break 2881 2924 fi … … 2889 2932 ac_cv_prog_CPP=$CPP 2890 2933 fi 2891 { echo "$as_me:$LINENO: result: $CPP" >&52892 echo "${ECHO_T}$CPP" >&6; }2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 2935 $as_echo "$CPP" >&6; } 2893 2936 ac_preproc_ok=false 2894 2937 for ac_c_preproc_warn_flag in '' yes … … 2900 2943 # On the NeXT, cc -E runs the code through the compiler's parser, 2901 2944 # not just through cpp. "Syntax error" is here to catch this case. 2902 cat >conftest.$ac_ext <<_ACEOF 2903 /* confdefs.h. */ 2904 _ACEOF 2905 cat confdefs.h >>conftest.$ac_ext 2906 cat >>conftest.$ac_ext <<_ACEOF 2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2907 2946 /* end confdefs.h. */ 2908 2947 #ifdef __STDC__ … … 2913 2952 Syntax error 2914 2953 _ACEOF 2915 if { (ac_try="$ac_cpp conftest.$ac_ext" 2916 case "(($ac_try" in 2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2918 *) ac_try_echo=$ac_try;; 2919 esac 2920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2922 ac_status=$? 2923 grep -v '^ *+' conftest.er1 >conftest.err 2924 rm -f conftest.er1 2925 cat conftest.err >&5 2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2927 (exit $ac_status); } >/dev/null && { 2928 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2929 test ! -s conftest.err 2930 }; then 2931 : 2932 else 2933 echo "$as_me: failed program was:" >&5 2934 sed 's/^/| /' conftest.$ac_ext >&5 2935 2954 if ac_fn_c_try_cpp "$LINENO"; then : 2955 2956 else 2936 2957 # Broken: fails on valid input. 2937 2958 continue 2938 2959 fi 2939 2940 rm -f conftest.err conftest.$ac_ext 2960 rm -f conftest.err conftest.i conftest.$ac_ext 2941 2961 2942 2962 # OK, works on sane cases. Now check whether nonexistent headers 2943 2963 # can be detected and how. 2944 cat >conftest.$ac_ext <<_ACEOF 2945 /* confdefs.h. */ 2946 _ACEOF 2947 cat confdefs.h >>conftest.$ac_ext 2948 cat >>conftest.$ac_ext <<_ACEOF 2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2949 2965 /* end confdefs.h. */ 2950 2966 #include <ac_nonexistent.h> 2951 2967 _ACEOF 2952 if { (ac_try="$ac_cpp conftest.$ac_ext" 2953 case "(($ac_try" in 2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2955 *) ac_try_echo=$ac_try;; 2956 esac 2957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 2959 ac_status=$? 2960 grep -v '^ *+' conftest.er1 >conftest.err 2961 rm -f conftest.er1 2962 cat conftest.err >&5 2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2964 (exit $ac_status); } >/dev/null && { 2965 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2966 test ! -s conftest.err 2967 }; then 2968 if ac_fn_c_try_cpp "$LINENO"; then : 2968 2969 # Broken: success on invalid input. 2969 2970 continue 2970 2971 else 2971 echo "$as_me: failed program was:" >&52972 sed 's/^/| /' conftest.$ac_ext >&52973 2974 2972 # Passes both tests. 2975 2973 ac_preproc_ok=: 2976 2974 break 2977 2975 fi 2978 2979 rm -f conftest.err conftest.$ac_ext 2976 rm -f conftest.err conftest.i conftest.$ac_ext 2980 2977 2981 2978 done 2982 2979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2983 rm -f conftest.err conftest.$ac_ext 2984 if $ac_preproc_ok; then 2985 : 2986 else 2987 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2988 See \`config.log' for more details." >&5 2989 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2990 See \`config.log' for more details." >&2;} 2991 { (exit 1); exit 1; }; } 2980 rm -f conftest.i conftest.err conftest.$ac_ext 2981 if $ac_preproc_ok; then : 2982 2983 else 2984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2986 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 2987 See \`config.log' for more details" "$LINENO" 5 ; } 2992 2988 fi 2993 2989 … … 2999 2995 3000 2996 3001 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3002 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3003 if test "${ac_cv_path_GREP+set}" = set; then 3004 echo $ECHO_N "(cached) $ECHO_C" >&6 3005 else 3006 # Extract the first word of "grep ggrep" to use in msg output 3007 if test -z "$GREP"; then 3008 set dummy grep ggrep; ac_prog_name=$2 3009 if test "${ac_cv_path_GREP+set}" = set; then 3010 echo $ECHO_N "(cached) $ECHO_C" >&6 3011 else 2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 2998 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 2999 if test "${ac_cv_path_GREP+set}" = set; then : 3000 $as_echo_n "(cached) " >&6 3001 else 3002 if test -z "$GREP"; then 3012 3003 ac_path_GREP_found=false 3013 # Loop through the user's path and test for each of PROGNAME-LIST3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3004 # Loop through the user's path and test for each of PROGNAME-LIST 3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3015 3006 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3016 3007 do 3017 3008 IFS=$as_save_IFS 3018 3009 test -z "$as_dir" && as_dir=. 3019 for ac_prog in grep ggrep; do3020 for ac_exec_ext in '' $ac_executable_extensions; do3021 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"3022 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue3023 3010 for ac_prog in grep ggrep; do 3011 for ac_exec_ext in '' $ac_executable_extensions; do 3012 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3013 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3014 # Check for GNU ac_path_GREP and select it if it is found. 3024 3015 # Check for GNU $ac_path_GREP 3025 3016 case `"$ac_path_GREP" --version 2>&1` in … … 3028 3019 *) 3029 3020 ac_count=0 3030 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3021 $as_echo_n 0123456789 >"conftest.in" 3031 3022 while : 3032 3023 do … … 3034 3025 mv "conftest.tmp" "conftest.in" 3035 3026 cp "conftest.in" "conftest.nl" 3036 echo 'GREP' >> "conftest.nl"3027 $as_echo 'GREP' >> "conftest.nl" 3037 3028 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3038 3029 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3039 a c_count=`expr $ac_count + 1`3030 as_fn_arith $ac_count + 1 && ac_count=$as_val 3040 3031 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3041 3032 # Best one so far, save it but keep looking for a better one … … 3049 3040 esac 3050 3041 3051 3052 $ac_path_GREP_found && break 33042 $ac_path_GREP_found && break 3 3043 done 3053 3044 done 3054 done 3055 3056 done 3045 done 3057 3046 IFS=$as_save_IFS 3058 3059 3060 fi 3061 3062 GREP="$ac_cv_path_GREP" 3063 if test -z "$GREP"; then 3064 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3065 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3066 { (exit 1); exit 1; }; } 3067 fi 3068 3047 if test -z "$ac_cv_path_GREP"; then 3048 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3049 fi 3069 3050 else 3070 3051 ac_cv_path_GREP=$GREP 3071 3052 fi 3072 3053 3073 3074 fi 3075 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3076 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3054 fi 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3056 $as_echo "$ac_cv_path_GREP" >&6; } 3077 3057 GREP="$ac_cv_path_GREP" 3078 3058 3079 3059 3080 { echo "$as_me:$LINENO: checking for egrep" >&53081 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }3082 if test "${ac_cv_path_EGREP+set}" = set; then 3083 echo $ECHO_N "(cached) $ECHO_C" >&63060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3061 $as_echo_n "checking for egrep... " >&6; } 3062 if test "${ac_cv_path_EGREP+set}" = set; then : 3063 $as_echo_n "(cached) " >&6 3084 3064 else 3085 3065 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3086 3066 then ac_cv_path_EGREP="$GREP -E" 3087 3067 else 3088 # Extract the first word of "egrep" to use in msg output 3089 if test -z "$EGREP"; then 3090 set dummy egrep; ac_prog_name=$2 3091 if test "${ac_cv_path_EGREP+set}" = set; then 3092 echo $ECHO_N "(cached) $ECHO_C" >&6 3093 else 3068 if test -z "$EGREP"; then 3094 3069 ac_path_EGREP_found=false 3095 # Loop through the user's path and test for each of PROGNAME-LIST3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3070 # Loop through the user's path and test for each of PROGNAME-LIST 3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3097 3072 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3098 3073 do 3099 3074 IFS=$as_save_IFS 3100 3075 test -z "$as_dir" && as_dir=. 3101 for ac_prog in egrep; do3102 for ac_exec_ext in '' $ac_executable_extensions; do3103 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"3104 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue3105 3076 for ac_prog in egrep; do 3077 for ac_exec_ext in '' $ac_executable_extensions; do 3078 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3079 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3080 # Check for GNU ac_path_EGREP and select it if it is found. 3106 3081 # Check for GNU $ac_path_EGREP 3107 3082 case `"$ac_path_EGREP" --version 2>&1` in … … 3110 3085 *) 3111 3086 ac_count=0 3112 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3087 $as_echo_n 0123456789 >"conftest.in" 3113 3088 while : 3114 3089 do … … 3116 3091 mv "conftest.tmp" "conftest.in" 3117 3092 cp "conftest.in" "conftest.nl" 3118 echo 'EGREP' >> "conftest.nl"3093 $as_echo 'EGREP' >> "conftest.nl" 3119 3094 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3120 3095 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3121 a c_count=`expr $ac_count + 1`3096 as_fn_arith $ac_count + 1 && ac_count=$as_val 3122 3097 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3123 3098 # Best one so far, save it but keep looking for a better one … … 3131 3106 esac 3132 3107 3133 3134 $ac_path_EGREP_found && break 33108 $ac_path_EGREP_found && break 3 3109 done 3135 3110 done 3136 done 3137 3138 done 3111 done 3139 3112 IFS=$as_save_IFS 3140 3141 3142 fi 3143 3144 EGREP="$ac_cv_path_EGREP" 3145 if test -z "$EGREP"; then 3146 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3147 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3148 { (exit 1); exit 1; }; } 3149 fi 3150 3113 if test -z "$ac_cv_path_EGREP"; then 3114 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3115 fi 3151 3116 else 3152 3117 ac_cv_path_EGREP=$EGREP 3153 3118 fi 3154 3119 3155 3156 3120 fi 3157 3121 fi 3158 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&53159 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3123 $as_echo "$ac_cv_path_EGREP" >&6; } 3160 3124 EGREP="$ac_cv_path_EGREP" 3161 3125 3162 3126 3163 3127 if test $ac_cv_c_compiler_gnu = yes; then 3164 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&53165 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }3166 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 3167 echo $ECHO_N "(cached) $ECHO_C" >&63128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 3129 $as_echo_n "checking whether $CC needs -traditional... " >&6; } 3130 if test "${ac_cv_prog_gcc_traditional+set}" = set; then : 3131 $as_echo_n "(cached) " >&6 3168 3132 else 3169 3133 ac_pattern="Autoconf.*'x'" 3170 cat >conftest.$ac_ext <<_ACEOF 3171 /* confdefs.h. */ 3172 _ACEOF 3173 cat confdefs.h >>conftest.$ac_ext 3174 cat >>conftest.$ac_ext <<_ACEOF 3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3175 3135 /* end confdefs.h. */ 3176 3136 #include <sgtty.h> … … 3178 3138 _ACEOF 3179 3139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3180 $EGREP "$ac_pattern" >/dev/null 2>&1; then 3140 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 3181 3141 ac_cv_prog_gcc_traditional=yes 3182 3142 else … … 3187 3147 3188 3148 if test $ac_cv_prog_gcc_traditional = no; then 3189 cat >conftest.$ac_ext <<_ACEOF 3190 /* confdefs.h. */ 3191 _ACEOF 3192 cat confdefs.h >>conftest.$ac_ext 3193 cat >>conftest.$ac_ext <<_ACEOF 3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3194 3150 /* end confdefs.h. */ 3195 3151 #include <termio.h> … … 3197 3153 _ACEOF 3198 3154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3199 $EGREP "$ac_pattern" >/dev/null 2>&1; then 3155 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 3200 3156 ac_cv_prog_gcc_traditional=yes 3201 3157 fi … … 3204 3160 fi 3205 3161 fi 3206 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&53207 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 3163 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } 3208 3164 if test $ac_cv_prog_gcc_traditional = yes; then 3209 3165 CC="$CC -traditional" … … 3221 3177 3222 3178 # Check whether --with-install_user was given. 3223 if test "${with_install_user+set}" = set; then 3179 if test "${with_install_user+set}" = set; then : 3224 3180 withval=$with_install_user; case "${withval}" in 3225 3181 *) install_user="${withval}" ;; … … 3234 3190 3235 3191 # Check whether --with-trac_user was given. 3236 if test "${with_trac_user+set}" = set; then 3192 if test "${with_trac_user+set}" = set; then : 3237 3193 withval=$with_trac_user; case "${withval}" in 3238 3194 *) trac_user="${withval}" ;; … … 3247 3203 3248 3204 # Check whether --with-mta_user was given. 3249 if test "${with_mta_user+set}" = set; then 3205 if test "${with_mta_user+set}" = set; then : 3250 3206 withval=$with_mta_user; case "${withval}" in 3251 3207 *) mta_user="${withval}" ;; … … 3272 3228 3273 3229 3230 3231 3232 for ac_func in initgroups 3233 do : 3234 ac_fn_c_check_func "$LINENO" "initgroups" "ac_cv_func_initgroups" 3235 if test "x$ac_cv_func_initgroups" = x""yes; then : 3236 cat >>confdefs.h <<_ACEOF 3237 #define HAVE_INITGROUPS 1 3238 _ACEOF 3239 3240 fi 3241 done 3274 3242 3275 3243 … … 3304 3272 *${as_nl}*) 3305 3273 case $ac_var in #( 3306 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&53307 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;3274 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3275 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3308 3276 esac 3309 3277 case $ac_var in #( 3310 3278 _ | IFS | as_nl) ;; #( 3311 *) $as_unset $ac_var ;; 3279 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3280 *) { eval $ac_var=; unset $ac_var;} ;; 3312 3281 esac ;; 3313 3282 esac … … 3317 3286 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3318 3287 *${as_nl}ac_space=\ *) 3319 # `set' does not quote correctly, so add quotes (double-quote3320 # substitution turns \\\\ into \\, and sed turns \\ into \ ).3288 # `set' does not quote correctly, so add quotes: double-quote 3289 # substitution turns \\\\ into \\, and sed turns \\ into \. 3321 3290 sed -n \ 3322 3291 "s/'/'\\\\''/g; … … 3341 3310 if test -w "$cache_file"; then 3342 3311 test "x$cache_file" != "x/dev/null" && 3343 { echo "$as_me:$LINENO: updating cache $cache_file" >&53344 echo "$as_me: updating cache $cache_file" >&6;}3312 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3313 $as_echo "$as_me: updating cache $cache_file" >&6;} 3345 3314 cat confcache >$cache_file 3346 3315 else 3347 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&53348 echo "$as_me: not updating unwritable cache $cache_file" >&6;}3316 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3317 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3349 3318 fi 3350 3319 fi … … 3355 3324 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3356 3325 3357 # Transform confdefs.h into DEFS. 3358 # Protect against shell expansion while executing Makefile rules. 3359 # Protect against Makefile macro expansion. 3360 # 3361 # If the first sed substitution is executed (which looks for macros that 3362 # take arguments), then branch to the quote section. Otherwise, 3363 # look for a macro that doesn't take arguments. 3364 ac_script=' 3365 t clear 3366 :clear 3367 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3368 t quote 3369 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3370 t quote 3371 b any 3372 :quote 3373 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3374 s/\[/\\&/g 3375 s/\]/\\&/g 3376 s/\$/$$/g 3377 H 3378 :any 3379 ${ 3380 g 3381 s/^\n// 3382 s/\n/ /g 3383 p 3384 } 3385 ' 3386 DEFS=`sed -n "$ac_script" confdefs.h` 3387 3326 DEFS=-DHAVE_CONFIG_H 3388 3327 3389 3328 ac_libobjs= 3390 3329 ac_ltlibobjs= 3330 U= 3391 3331 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3392 3332 # 1. Remove the extension, and $U if already installed. 3393 3333 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3394 ac_i=` echo "$ac_i" | sed "$ac_script"`3334 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 3395 3335 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3396 3336 # will be set to the directory where LIBOBJS objects are built. 3397 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"3398 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'3337 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3338 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3399 3339 done 3400 3340 LIBOBJS=$ac_libobjs … … 3405 3345 3406 3346 : ${CONFIG_STATUS=./config.status} 3347 ac_write_fail=0 3407 3348 ac_clean_files_save=$ac_clean_files 3408 3349 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3409 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3410 echo "$as_me: creating $CONFIG_STATUS" >&6;} 3411 cat >$CONFIG_STATUS <<_ACEOF 3350 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3351 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3352 as_write_fail=0 3353 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3412 3354 #! $SHELL 3413 3355 # Generated by $as_me. … … 3419 3361 ac_cs_recheck=false 3420 3362 ac_cs_silent=false 3363 3421 3364 SHELL=\${CONFIG_SHELL-$SHELL} 3422 _ACEOF 3423 3424 cat >>$CONFIG_STATUS <<\_A CEOF3425 ## -------------------- -##3426 ## M4sh Initialization. 3427 ## -------------------- -##3365 export SHELL 3366 _ASEOF 3367 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3368 ## -------------------- ## 3369 ## M4sh Initialization. ## 3370 ## -------------------- ## 3428 3371 3429 3372 # Be more Bourne compatible 3430 3373 DUALCASE=1; export DUALCASE # for MKS sh 3431 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3374 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 3432 3375 emulate sh 3433 3376 NULLCMD=: 3434 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which3377 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3435 3378 # is contrary to our usage. Disable this feature. 3436 3379 alias -g '${1+"$@"}'='"$@"' 3437 3380 setopt NO_GLOB_SUBST 3438 3381 else 3439 case `(set -o) 2>/dev/null` in 3440 *posix*) set -o posix ;; 3382 case `(set -o) 2>/dev/null` in #( 3383 *posix*) : 3384 set -o posix ;; #( 3385 *) : 3386 ;; 3441 3387 esac 3442 3443 fi 3444 3445 3446 3447 3448 # PATH needs CR 3449 # Avoid depending upon Character Ranges. 3450 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3451 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3452 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3453 as_cr_digits='0123456789' 3454 as_cr_alnum=$as_cr_Letters$as_cr_digits 3388 fi 3389 3390 3391 as_nl=' 3392 ' 3393 export as_nl 3394 # Printing a long string crashes Solaris 7 /usr/bin/printf. 3395 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3396 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 3397 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 3398 # Prefer a ksh shell builtin over an external printf program on Solaris, 3399 # but without wasting forks for bash or zsh. 3400 if test -z "$BASH_VERSION$ZSH_VERSION" \ 3401 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 3402 as_echo='print -r --' 3403 as_echo_n='print -rn --' 3404 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 3405 as_echo='printf %s\n' 3406 as_echo_n='printf %s' 3407 else 3408 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 3409 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 3410 as_echo_n='/usr/ucb/echo -n' 3411 else 3412 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 3413 as_echo_n_body='eval 3414 arg=$1; 3415 case $arg in #( 3416 *"$as_nl"*) 3417 expr "X$arg" : "X\\(.*\\)$as_nl"; 3418 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 3419 esac; 3420 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 3421 ' 3422 export as_echo_n_body 3423 as_echo_n='sh -c $as_echo_n_body as_echo' 3424 fi 3425 export as_echo_body 3426 as_echo='sh -c $as_echo_body as_echo' 3427 fi 3455 3428 3456 3429 # The user is always right. 3457 3430 if test "${PATH_SEPARATOR+set}" != set; then 3458 echo "#! /bin/sh" >conf$$.sh 3459 echo "exit 0" >>conf$$.sh 3460 chmod +x conf$$.sh 3461 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3462 PATH_SEPARATOR=';' 3463 else 3464 PATH_SEPARATOR=: 3465 fi 3466 rm -f conf$$.sh 3467 fi 3468 3469 # Support unset when possible. 3470 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 3471 as_unset=unset 3472 else 3473 as_unset=false 3431 PATH_SEPARATOR=: 3432 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3433 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3434 PATH_SEPARATOR=';' 3435 } 3474 3436 fi 3475 3437 … … 3480 3442 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 3481 3443 # splitting by setting IFS to empty value.) 3482 as_nl='3483 '3484 3444 IFS=" "" $as_nl" 3485 3445 3486 3446 # Find who we are. Look in the path if we contain no directory separator. 3487 case $0 in 3447 case $0 in #(( 3488 3448 *[\\/]* ) as_myself=$0 ;; 3489 3449 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 3492 3452 IFS=$as_save_IFS 3493 3453 test -z "$as_dir" && as_dir=. 3494 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break3495 done3454 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3455 done 3496 3456 IFS=$as_save_IFS 3497 3457 … … 3504 3464 fi 3505 3465 if test ! -f "$as_myself"; then 3506 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3507 { (exit 1); exit 1; } 3508 fi 3509 3510 # Work around bugs in pre-3.0 UWIN ksh. 3511 for as_var in ENV MAIL MAILPATH 3512 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3466 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3467 exit 1 3468 fi 3469 3470 # Unset variables that we do not need and which cause bugs (e.g. in 3471 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3472 # suppresses any "Segmentation fault" message there. '((' could 3473 # trigger a bug in pdksh 5.2.14. 3474 for as_var in BASH_ENV ENV MAIL MAILPATH 3475 do eval test x\${$as_var+set} = xset \ 3476 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3513 3477 done 3514 3478 PS1='$ ' … … 3517 3481 3518 3482 # NLS nuisances. 3519 for as_var in \ 3520 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3521 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3522 LC_TELEPHONE LC_TIME 3523 do 3524 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3525 eval $as_var=C; export $as_var 3526 else 3527 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3483 LC_ALL=C 3484 export LC_ALL 3485 LANGUAGE=C 3486 export LANGUAGE 3487 3488 # CDPATH. 3489 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3490 3491 3492 # as_fn_error STATUS ERROR [LINENO LOG_FD] 3493 # ---------------------------------------- 3494 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3495 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3496 # script with STATUS, using 1 if that was 0. 3497 as_fn_error () 3498 { 3499 as_status=$1; test $as_status -eq 0 && as_status=1 3500 if test "$4"; then 3501 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3502 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3528 3503 fi 3529 done 3530 3531 # Required to use basename. 3504 $as_echo "$as_me: error: $2" >&2 3505 as_fn_exit $as_status 3506 } # as_fn_error 3507 3508 3509 # as_fn_set_status STATUS 3510 # ----------------------- 3511 # Set $? to STATUS, without forking. 3512 as_fn_set_status () 3513 { 3514 return $1 3515 } # as_fn_set_status 3516 3517 # as_fn_exit STATUS 3518 # ----------------- 3519 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3520 as_fn_exit () 3521 { 3522 set +e 3523 as_fn_set_status $1 3524 exit $1 3525 } # as_fn_exit 3526 3527 # as_fn_unset VAR 3528 # --------------- 3529 # Portably unset VAR. 3530 as_fn_unset () 3531 { 3532 { eval $1=; unset $1;} 3533 } 3534 as_unset=as_fn_unset 3535 # as_fn_append VAR VALUE 3536 # ---------------------- 3537 # Append the text in VALUE to the end of the definition contained in VAR. Take 3538 # advantage of any shell optimizations that allow amortized linear growth over 3539 # repeated appends, instead of the typical quadratic growth present in naive 3540 # implementations. 3541 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3542 eval 'as_fn_append () 3543 { 3544 eval $1+=\$2 3545 }' 3546 else 3547 as_fn_append () 3548 { 3549 eval $1=\$$1\$2 3550 } 3551 fi # as_fn_append 3552 3553 # as_fn_arith ARG... 3554 # ------------------ 3555 # Perform arithmetic evaluation on the ARGs, and store the result in the 3556 # global $as_val. Take advantage of shells that can avoid forks. The arguments 3557 # must be portable across $(()) and expr. 3558 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3559 eval 'as_fn_arith () 3560 { 3561 as_val=$(( $* )) 3562 }' 3563 else 3564 as_fn_arith () 3565 { 3566 as_val=`expr "$@" || test $? -eq 1` 3567 } 3568 fi # as_fn_arith 3569 3570 3532 3571 if expr a : '\(a\)' >/dev/null 2>&1 && 3533 3572 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 3543 3582 fi 3544 3583 3545 3546 # Name of the executable. 3584 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3585 as_dirname=dirname 3586 else 3587 as_dirname=false 3588 fi 3589 3547 3590 as_me=`$as_basename -- "$0" || 3548 3591 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3549 3592 X"$0" : 'X\(//\)$' \| \ 3550 3593 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3551 echo X/"$0" |3594 $as_echo X/"$0" | 3552 3595 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3553 3596 s//\1/ … … 3564 3607 s/.*/./; q'` 3565 3608 3566 # CDPATH. 3567 $as_unset CDPATH 3568 3569 3570 3571 as_lineno_1=$LINENO 3572 as_lineno_2=$LINENO 3573 test "x$as_lineno_1" != "x$as_lineno_2" && 3574 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 3575 3576 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3577 # uniformly replaced by the line number. The first 'sed' inserts a 3578 # line-number line after each line using $LINENO; the second 'sed' 3579 # does the real work. The second script uses 'N' to pair each 3580 # line-number line with the line containing $LINENO, and appends 3581 # trailing '-' during substitution so that $LINENO is not a special 3582 # case at line end. 3583 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3584 # scripts with optimization help from Paolo Bonzini. Blame Lee 3585 # E. McMahon (1931-1989) for sed's syntax. :-) 3586 sed -n ' 3587 p 3588 /[$]LINENO/= 3589 ' <$as_myself | 3590 sed ' 3591 s/[$]LINENO.*/&-/ 3592 t lineno 3593 b 3594 :lineno 3595 N 3596 :loop 3597 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 3598 t loop 3599 s/-\n.*// 3600 ' >$as_me.lineno && 3601 chmod +x "$as_me.lineno" || 3602 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 3603 { (exit 1); exit 1; }; } 3604 3605 # Don't try to exec as it changes $[0], causing all sort of problems 3606 # (the dirname of $[0] is not the place where we might find the 3607 # original and so on. Autoconf is especially sensitive to this). 3608 . "./$as_me.lineno" 3609 # Exit status is that of the last command. 3610 exit 3611 } 3612 3613 3614 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3615 as_dirname=dirname 3616 else 3617 as_dirname=false 3618 fi 3609 # Avoid depending upon Character Ranges. 3610 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3611 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3612 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3613 as_cr_digits='0123456789' 3614 as_cr_alnum=$as_cr_Letters$as_cr_digits 3619 3615 3620 3616 ECHO_C= ECHO_N= ECHO_T= 3621 case `echo -n x` in 3617 case `echo -n x` in #((((( 3622 3618 -n*) 3623 case `echo 'x \c'` in3619 case `echo 'xy\c'` in 3624 3620 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3625 *) ECHO_C='\c';; 3621 xy) ECHO_C='\c';; 3622 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3623 ECHO_T=' ';; 3626 3624 esac;; 3627 3625 *) … … 3629 3627 esac 3630 3628 3631 if expr a : '\(a\)' >/dev/null 2>&1 &&3632 test "X`expr 00001 : '.*\(...\)'`" = X001; then3633 as_expr=expr3634 else3635 as_expr=false3636 fi3637 3638 3629 rm -f conf$$ conf$$.exe conf$$.file 3639 3630 if test -d conf$$.dir; then … … 3641 3632 else 3642 3633 rm -f conf$$.dir 3643 mkdir conf$$.dir 3644 fi 3645 echo >conf$$.file 3646 if ln -s conf$$.file conf$$ 2>/dev/null; then 3647 as_ln_s='ln -s' 3648 # ... but there are two gotchas: 3649 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3650 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3651 # In both cases, we have to default to `cp -p'. 3652 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3634 mkdir conf$$.dir 2>/dev/null 3635 fi 3636 if (echo >conf$$.file) 2>/dev/null; then 3637 if ln -s conf$$.file conf$$ 2>/dev/null; then 3638 as_ln_s='ln -s' 3639 # ... but there are two gotchas: 3640 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3641 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3642 # In both cases, we have to default to `cp -p'. 3643 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3644 as_ln_s='cp -p' 3645 elif ln conf$$.file conf$$ 2>/dev/null; then 3646 as_ln_s=ln 3647 else 3653 3648 as_ln_s='cp -p' 3654 elif ln conf$$.file conf$$ 2>/dev/null; then 3655 as_ln_s=ln 3649 fi 3656 3650 else 3657 3651 as_ln_s='cp -p' … … 3660 3654 rmdir conf$$.dir 2>/dev/null 3661 3655 3662 if mkdir -p . 2>/dev/null; then 3663 as_mkdir_p=: 3664 else 3665 test -d ./-p && rmdir ./-p 3666 as_mkdir_p=false 3667 fi 3668 3669 if test -x / >/dev/null 2>&1; then 3670 as_test_x='test -x' 3671 else 3672 if ls -dL / >/dev/null 2>&1; then 3673 as_ls_L_option=L 3674 else 3675 as_ls_L_option= 3676 fi 3677 as_test_x=' 3678 eval sh -c '\'' 3679 if test -d "$1"; then 3680 test -d "$1/."; 3681 else 3682 case $1 in 3683 -*)set "./$1";; 3684 esac; 3685 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 3686 ???[sx]*):;;*)false;;esac;fi 3687 '\'' sh 3688 ' 3689 fi 3690 as_executable_p=$as_test_x 3691 3692 # Sed expression to map a string onto a valid CPP name. 3693 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3694 3695 # Sed expression to map a string onto a valid variable name. 3696 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3697 3698 3699 exec 6>&1 3700 3701 # Save the log message, to keep $[0] and so on meaningful, and to 3702 # report actual input values of CONFIG_FILES etc. instead of their 3703 # values after options handling. 3704 ac_log=" 3705 This file was extended by $as_me, which was 3706 generated by GNU Autoconf 2.61. Invocation command line was 3707 3708 CONFIG_FILES = $CONFIG_FILES 3709 CONFIG_HEADERS = $CONFIG_HEADERS 3710 CONFIG_LINKS = $CONFIG_LINKS 3711 CONFIG_COMMANDS = $CONFIG_COMMANDS 3712 $ $0 $@ 3713 3714 on `(hostname || uname -n) 2>/dev/null | sed 1q` 3715 " 3716 3717 _ACEOF 3718 3719 cat >>$CONFIG_STATUS <<_ACEOF 3720 # Files that config.status was made for. 3721 config_files="$ac_config_files" 3722 3723 _ACEOF 3724 3725 cat >>$CONFIG_STATUS <<\_ACEOF 3726 ac_cs_usage="\ 3727 \`$as_me' instantiates files from templates according to the 3728 current configuration. 3729 3730 Usage: $0 [OPTIONS] [FILE]... 3731 3732 -h, --help print this help, then exit 3733 -V, --version print version number and configuration settings, then exit 3734 -q, --quiet do not print progress messages 3735 -d, --debug don't remove temporary files 3736 --recheck update $as_me by reconfiguring in the same conditions 3737 --file=FILE[:TEMPLATE] 3738 instantiate the configuration file FILE 3739 3740 Configuration files: 3741 $config_files 3742 3743 Report bugs to <bug-autoconf@gnu.org>." 3744 3745 _ACEOF 3746 cat >>$CONFIG_STATUS <<_ACEOF 3747 ac_cs_version="\\ 3748 config.status 3749 configured by $0, generated by GNU Autoconf 2.61, 3750 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 3751 3752 Copyright (C) 2006 Free Software Foundation, Inc. 3753 This config.status script is free software; the Free Software Foundation 3754 gives unlimited permission to copy, distribute and modify it." 3755 3756 ac_pwd='$ac_pwd' 3757 srcdir='$srcdir' 3758 _ACEOF 3759 3760 cat >>$CONFIG_STATUS <<\_ACEOF 3761 # If no file are specified by the user, then we need to provide default 3762 # value. By we need to know if files were specified by the user. 3763 ac_need_defaults=: 3764 while test $# != 0 3765 do 3766 case $1 in 3767 --*=*) 3768 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3769 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3770 ac_shift=: 3771 ;; 3772 *) 3773 ac_option=$1 3774 ac_optarg=$2 3775 ac_shift=shift 3776 ;; 3777 esac 3778 3779 case $ac_option in 3780 # Handling of the options. 3781 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3782 ac_cs_recheck=: ;; 3783 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3784 echo "$ac_cs_version"; exit ;; 3785 --debug | --debu | --deb | --de | --d | -d ) 3786 debug=: ;; 3787 --file | --fil | --fi | --f ) 3788 $ac_shift 3789 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 3790 ac_need_defaults=false;; 3791 --he | --h | --help | --hel | -h ) 3792 echo "$ac_cs_usage"; exit ;; 3793 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3794 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3795 ac_cs_silent=: ;; 3796 3797 # This is an error. 3798 -*) { echo "$as_me: error: unrecognized option: $1 3799 Try \`$0 --help' for more information." >&2 3800 { (exit 1); exit 1; }; } ;; 3801 3802 *) ac_config_targets="$ac_config_targets $1" 3803 ac_need_defaults=false ;; 3804 3805 esac 3806 shift 3807 done 3808 3809 ac_configure_extra_args= 3810 3811 if $ac_cs_silent; then 3812 exec 6>/dev/null 3813 ac_configure_extra_args="$ac_configure_extra_args --silent" 3814 fi 3815 3816 _ACEOF 3817 cat >>$CONFIG_STATUS <<_ACEOF 3818 if \$ac_cs_recheck; then 3819 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 3820 CONFIG_SHELL=$SHELL 3821 export CONFIG_SHELL 3822 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3823 fi 3824 3825 _ACEOF 3826 cat >>$CONFIG_STATUS <<\_ACEOF 3827 exec 5>>config.log 3656 3657 # as_fn_mkdir_p 3658 # ------------- 3659 # Create "$as_dir" as a directory, including parents if necessary. 3660 as_fn_mkdir_p () 3828 3661 { 3829 echo 3830 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3831 ## Running $as_me. ## 3832 _ASBOX 3833 echo "$ac_log" 3834 } >&5 3835 3836 _ACEOF 3837 cat >>$CONFIG_STATUS <<_ACEOF 3838 _ACEOF 3839 3840 cat >>$CONFIG_STATUS <<\_ACEOF 3841 3842 # Handling of arguments. 3843 for ac_config_target in $ac_config_targets 3844 do 3845 case $ac_config_target in 3846 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3847 "email2trac.py") CONFIG_FILES="$CONFIG_FILES email2trac.py" ;; 3848 "delete_spam.py") CONFIG_FILES="$CONFIG_FILES delete_spam.py" ;; 3849 3850 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3851 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3852 { (exit 1); exit 1; }; };; 3853 esac 3854 done 3855 3856 3857 # If the user did not use the arguments to specify the items to instantiate, 3858 # then the envvar interface is used. Set only those that are not. 3859 # We use the long form for the default assignment because of an extremely 3860 # bizarre bug on SunOS 4.1.3. 3861 if $ac_need_defaults; then 3862 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3863 fi 3864 3865 # Have a temporary directory for convenience. Make it in the build tree 3866 # simply because there is no reason against having it here, and in addition, 3867 # creating and moving files from /tmp can sometimes cause problems. 3868 # Hook for its removal unless debugging. 3869 # Note that there is a small window in which the directory will not be cleaned: 3870 # after its creation but before its name has been assigned to `$tmp'. 3871 $debug || 3872 { 3873 tmp= 3874 trap 'exit_status=$? 3875 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 3876 ' 0 3877 trap '{ (exit 1); exit 1; }' 1 2 13 15 3878 } 3879 # Create a (secure) tmp directory for tmp files. 3880 3881 { 3882 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3883 test -n "$tmp" && test -d "$tmp" 3884 } || 3885 { 3886 tmp=./conf$$-$RANDOM 3887 (umask 077 && mkdir "$tmp") 3888 } || 3889 { 3890 echo "$me: cannot create a temporary directory in ." >&2 3891 { (exit 1); exit 1; } 3892 } 3893 3894 # 3895 # Set up the sed scripts for CONFIG_FILES section. 3896 # 3897 3898 # No need to generate the scripts if there are no CONFIG_FILES. 3899 # This happens for instance when ./config.status config.h 3900 if test -n "$CONFIG_FILES"; then 3901 3902 _ACEOF 3903 3904 3905 3906 ac_delim='%!_!# ' 3907 for ac_last_try in false false false false false :; do 3908 cat >conf$$subs.sed <<_ACEOF 3909 SHELL!$SHELL$ac_delim 3910 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 3911 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 3912 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 3913 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 3914 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 3915 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 3916 exec_prefix!$exec_prefix$ac_delim 3917 prefix!$prefix$ac_delim 3918 program_transform_name!$program_transform_name$ac_delim 3919 bindir!$bindir$ac_delim 3920 sbindir!$sbindir$ac_delim 3921 libexecdir!$libexecdir$ac_delim 3922 datarootdir!$datarootdir$ac_delim 3923 datadir!$datadir$ac_delim 3924 sysconfdir!$sysconfdir$ac_delim 3925 sharedstatedir!$sharedstatedir$ac_delim 3926 localstatedir!$localstatedir$ac_delim 3927 includedir!$includedir$ac_delim 3928 oldincludedir!$oldincludedir$ac_delim 3929 docdir!$docdir$ac_delim 3930 infodir!$infodir$ac_delim 3931 htmldir!$htmldir$ac_delim 3932 dvidir!$dvidir$ac_delim 3933 pdfdir!$pdfdir$ac_delim 3934 psdir!$psdir$ac_delim 3935 libdir!$libdir$ac_delim 3936 localedir!$localedir$ac_delim 3937 mandir!$mandir$ac_delim 3938 DEFS!$DEFS$ac_delim 3939 ECHO_C!$ECHO_C$ac_delim 3940 ECHO_N!$ECHO_N$ac_delim 3941 ECHO_T!$ECHO_T$ac_delim 3942 LIBS!$LIBS$ac_delim 3943 build_alias!$build_alias$ac_delim 3944 host_alias!$host_alias$ac_delim 3945 target_alias!$target_alias$ac_delim 3946 pyexecdir!$pyexecdir$ac_delim 3947 trac_user!$trac_user$ac_delim 3948 mta_user!$mta_user$ac_delim 3949 install_user!$install_user$ac_delim 3950 PYTHON!$PYTHON$ac_delim 3951 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 3952 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim 3953 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim 3954 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim 3955 pythondir!$pythondir$ac_delim 3956 pkgpythondir!$pkgpythondir$ac_delim 3957 pkgpyexecdir!$pkgpyexecdir$ac_delim 3958 CC!$CC$ac_delim 3959 CFLAGS!$CFLAGS$ac_delim 3960 LDFLAGS!$LDFLAGS$ac_delim 3961 CPPFLAGS!$CPPFLAGS$ac_delim 3962 ac_ct_CC!$ac_ct_CC$ac_delim 3963 EXEEXT!$EXEEXT$ac_delim 3964 OBJEXT!$OBJEXT$ac_delim 3965 CPP!$CPP$ac_delim 3966 GREP!$GREP$ac_delim 3967 EGREP!$EGREP$ac_delim 3968 DEBUG!$DEBUG$ac_delim 3969 email2trac_conf!$email2trac_conf$ac_delim 3970 SYSTEM_EMAIL2TRAC_CONF!$SYSTEM_EMAIL2TRAC_CONF$ac_delim 3971 LIBOBJS!$LIBOBJS$ac_delim 3972 LTLIBOBJS!$LTLIBOBJS$ac_delim 3973 _ACEOF 3974 3975 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then 3976 break 3977 elif $ac_last_try; then 3978 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 3979 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 3980 { (exit 1); exit 1; }; } 3981 else 3982 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3983 fi 3984 done 3985 3986 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 3987 if test -n "$ac_eof"; then 3988 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 3989 ac_eof=`expr $ac_eof + 1` 3990 fi 3991 3992 cat >>$CONFIG_STATUS <<_ACEOF 3993 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 3994 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 3995 _ACEOF 3996 sed ' 3997 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 3998 s/^/s,@/; s/!/@,|#_!!_#|/ 3999 :n 4000 t n 4001 s/'"$ac_delim"'$/,g/; t 4002 s/$/\\/; p 4003 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4004 ' >>$CONFIG_STATUS <conf$$subs.sed 4005 rm -f conf$$subs.sed 4006 cat >>$CONFIG_STATUS <<_ACEOF 4007 :end 4008 s/|#_!!_#|//g 4009 CEOF$ac_eof 4010 _ACEOF 4011 4012 4013 # VPATH may cause trouble with some makes, so we remove $(srcdir), 4014 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4015 # trailing colons and then remove the whole line if VPATH becomes empty 4016 # (actually we leave an empty line to preserve line numbers). 4017 if test "x$srcdir" = x.; then 4018 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4019 s/:*\$(srcdir):*/:/ 4020 s/:*\${srcdir}:*/:/ 4021 s/:*@srcdir@:*/:/ 4022 s/^\([^=]*=[ ]*\):*/\1/ 4023 s/:*$// 4024 s/^[^=]*=[ ]*$// 4025 }' 4026 fi 4027 4028 cat >>$CONFIG_STATUS <<\_ACEOF 4029 fi # test -n "$CONFIG_FILES" 4030 4031 4032 for ac_tag in :F $CONFIG_FILES 4033 do 4034 case $ac_tag in 4035 :[FHLC]) ac_mode=$ac_tag; continue;; 4036 esac 4037 case $ac_mode$ac_tag in 4038 :[FHL]*:*);; 4039 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 4040 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 4041 { (exit 1); exit 1; }; };; 4042 :[FH]-) ac_tag=-:-;; 4043 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4044 esac 4045 ac_save_IFS=$IFS 4046 IFS=: 4047 set x $ac_tag 4048 IFS=$ac_save_IFS 4049 shift 4050 ac_file=$1 4051 shift 4052 4053 case $ac_mode in 4054 :L) ac_source=$1;; 4055 :[FH]) 4056 ac_file_inputs= 4057 for ac_f 4058 do 4059 case $ac_f in 4060 -) ac_f="$tmp/stdin";; 4061 *) # Look for the file first in the build tree, then in the source tree 4062 # (if the path is not absolute). The absolute path cannot be DOS-style, 4063 # because $ac_f cannot contain `:'. 4064 test -f "$ac_f" || 4065 case $ac_f in 4066 [\\/$]*) false;; 4067 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4068 esac || 4069 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 4070 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 4071 { (exit 1); exit 1; }; };; 4072 esac 4073 ac_file_inputs="$ac_file_inputs $ac_f" 4074 done 4075 4076 # Let's still pretend it is `configure' which instantiates (i.e., don't 4077 # use $as_me), people would be surprised to read: 4078 # /* config.h. Generated by config.status. */ 4079 configure_input="Generated from "`IFS=: 4080 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 4081 if test x"$ac_file" != x-; then 4082 configure_input="$ac_file. $configure_input" 4083 { echo "$as_me:$LINENO: creating $ac_file" >&5 4084 echo "$as_me: creating $ac_file" >&6;} 4085 fi 4086 4087 case $ac_tag in 4088 *:-:* | *:-) cat >"$tmp/stdin";; 4089 esac 4090 ;; 4091 esac 4092 4093 ac_dir=`$as_dirname -- "$ac_file" || 4094 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4095 X"$ac_file" : 'X\(//\)[^/]' \| \ 4096 X"$ac_file" : 'X\(//\)$' \| \ 4097 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4098 echo X"$ac_file" | 4099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4100 s//\1/ 4101 q 4102 } 4103 /^X\(\/\/\)[^/].*/{ 4104 s//\1/ 4105 q 4106 } 4107 /^X\(\/\/\)$/{ 4108 s//\1/ 4109 q 4110 } 4111 /^X\(\/\).*/{ 4112 s//\1/ 4113 q 4114 } 4115 s/.*/./; q'` 4116 { as_dir="$ac_dir" 3662 4117 3663 case $as_dir in #( 4118 3664 -*) as_dir=./$as_dir;; 4119 3665 esac 4120 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; }|| {3666 test -d "$as_dir" || eval $as_mkdir_p || { 4121 3667 as_dirs= 4122 3668 while :; do 4123 3669 case $as_dir in #( 4124 *\'*) as_qdir=` echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(3670 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4125 3671 *) as_qdir=$as_dir;; 4126 3672 esac … … 4131 3677 X"$as_dir" : 'X\(//\)$' \| \ 4132 3678 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4133 echo X"$as_dir" |3679 $as_echo X"$as_dir" | 4134 3680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4135 3681 s//\1/ … … 4152 3698 done 4153 3699 test -z "$as_dirs" || eval "mkdir $as_dirs" 4154 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 4155 echo "$as_me: error: cannot create directory $as_dir" >&2;} 4156 { (exit 1); exit 1; }; }; } 3700 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3701 3702 3703 } # as_fn_mkdir_p 3704 if mkdir -p . 2>/dev/null; then 3705 as_mkdir_p='mkdir -p "$as_dir"' 3706 else 3707 test -d ./-p && rmdir ./-p 3708 as_mkdir_p=false 3709 fi 3710 3711 if test -x / >/dev/null 2>&1; then 3712 as_test_x='test -x' 3713 else 3714 if ls -dL / >/dev/null 2>&1; then 3715 as_ls_L_option=L 3716 else 3717 as_ls_L_option= 3718 fi 3719 as_test_x=' 3720 eval sh -c '\'' 3721 if test -d "$1"; then 3722 test -d "$1/."; 3723 else 3724 case $1 in #( 3725 -*)set "./$1";; 3726 esac; 3727 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 3728 ???[sx]*):;;*)false;;esac;fi 3729 '\'' sh 3730 ' 3731 fi 3732 as_executable_p=$as_test_x 3733 3734 # Sed expression to map a string onto a valid CPP name. 3735 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3736 3737 # Sed expression to map a string onto a valid variable name. 3738 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3739 3740 3741 exec 6>&1 3742 ## ----------------------------------- ## 3743 ## Main body of $CONFIG_STATUS script. ## 3744 ## ----------------------------------- ## 3745 _ASEOF 3746 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3747 3748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3749 # Save the log message, to keep $0 and so on meaningful, and to 3750 # report actual input values of CONFIG_FILES etc. instead of their 3751 # values after options handling. 3752 ac_log=" 3753 This file was extended by $as_me, which was 3754 generated by GNU Autoconf 2.67. Invocation command line was 3755 3756 CONFIG_FILES = $CONFIG_FILES 3757 CONFIG_HEADERS = $CONFIG_HEADERS 3758 CONFIG_LINKS = $CONFIG_LINKS 3759 CONFIG_COMMANDS = $CONFIG_COMMANDS 3760 $ $0 $@ 3761 3762 on `(hostname || uname -n) 2>/dev/null | sed 1q` 3763 " 3764 3765 _ACEOF 3766 3767 case $ac_config_files in *" 3768 "*) set x $ac_config_files; shift; ac_config_files=$*;; 3769 esac 3770 3771 case $ac_config_headers in *" 3772 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 3773 esac 3774 3775 3776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3777 # Files that config.status was made for. 3778 config_files="$ac_config_files" 3779 config_headers="$ac_config_headers" 3780 3781 _ACEOF 3782 3783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3784 ac_cs_usage="\ 3785 \`$as_me' instantiates files and other configuration actions 3786 from templates according to the current configuration. Unless the files 3787 and actions are specified as TAGs, all are instantiated by default. 3788 3789 Usage: $0 [OPTION]... [TAG]... 3790 3791 -h, --help print this help, then exit 3792 -V, --version print version number and configuration settings, then exit 3793 --config print configuration, then exit 3794 -q, --quiet, --silent 3795 do not print progress messages 3796 -d, --debug don't remove temporary files 3797 --recheck update $as_me by reconfiguring in the same conditions 3798 --file=FILE[:TEMPLATE] 3799 instantiate the configuration file FILE 3800 --header=FILE[:TEMPLATE] 3801 instantiate the configuration header FILE 3802 3803 Configuration files: 3804 $config_files 3805 3806 Configuration headers: 3807 $config_headers 3808 3809 Report bugs to the package provider." 3810 3811 _ACEOF 3812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3813 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 3814 ac_cs_version="\\ 3815 config.status 3816 configured by $0, generated by GNU Autoconf 2.67, 3817 with options \\"\$ac_cs_config\\" 3818 3819 Copyright (C) 2010 Free Software Foundation, Inc. 3820 This config.status script is free software; the Free Software Foundation 3821 gives unlimited permission to copy, distribute and modify it." 3822 3823 ac_pwd='$ac_pwd' 3824 srcdir='$srcdir' 3825 test -n "\$AWK" || AWK=awk 3826 _ACEOF 3827 3828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3829 # The default lists apply if the user does not specify any file. 3830 ac_need_defaults=: 3831 while test $# != 0 3832 do 3833 case $1 in 3834 --*=?*) 3835 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3836 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3837 ac_shift=: 3838 ;; 3839 --*=) 3840 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3841 ac_optarg= 3842 ac_shift=: 3843 ;; 3844 *) 3845 ac_option=$1 3846 ac_optarg=$2 3847 ac_shift=shift 3848 ;; 3849 esac 3850 3851 case $ac_option in 3852 # Handling of the options. 3853 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3854 ac_cs_recheck=: ;; 3855 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3856 $as_echo "$ac_cs_version"; exit ;; 3857 --config | --confi | --conf | --con | --co | --c ) 3858 $as_echo "$ac_cs_config"; exit ;; 3859 --debug | --debu | --deb | --de | --d | -d ) 3860 debug=: ;; 3861 --file | --fil | --fi | --f ) 3862 $ac_shift 3863 case $ac_optarg in 3864 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3865 '') as_fn_error $? "missing file argument" ;; 3866 esac 3867 as_fn_append CONFIG_FILES " '$ac_optarg'" 3868 ac_need_defaults=false;; 3869 --header | --heade | --head | --hea ) 3870 $ac_shift 3871 case $ac_optarg in 3872 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3873 esac 3874 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 3875 ac_need_defaults=false;; 3876 --he | --h) 3877 # Conflict between --help and --header 3878 as_fn_error $? "ambiguous option: \`$1' 3879 Try \`$0 --help' for more information.";; 3880 --help | --hel | -h ) 3881 $as_echo "$ac_cs_usage"; exit ;; 3882 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3883 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3884 ac_cs_silent=: ;; 3885 3886 # This is an error. 3887 -*) as_fn_error $? "unrecognized option: \`$1' 3888 Try \`$0 --help' for more information." ;; 3889 3890 *) as_fn_append ac_config_targets " $1" 3891 ac_need_defaults=false ;; 3892 3893 esac 3894 shift 3895 done 3896 3897 ac_configure_extra_args= 3898 3899 if $ac_cs_silent; then 3900 exec 6>/dev/null 3901 ac_configure_extra_args="$ac_configure_extra_args --silent" 3902 fi 3903 3904 _ACEOF 3905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3906 if \$ac_cs_recheck; then 3907 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3908 shift 3909 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3910 CONFIG_SHELL='$SHELL' 3911 export CONFIG_SHELL 3912 exec "\$@" 3913 fi 3914 3915 _ACEOF 3916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3917 exec 5>>config.log 3918 { 3919 echo 3920 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3921 ## Running $as_me. ## 3922 _ASBOX 3923 $as_echo "$ac_log" 3924 } >&5 3925 3926 _ACEOF 3927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3928 _ACEOF 3929 3930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3931 3932 # Handling of arguments. 3933 for ac_config_target in $ac_config_targets 3934 do 3935 case $ac_config_target in 3936 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 3937 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3938 "email2trac.py") CONFIG_FILES="$CONFIG_FILES email2trac.py" ;; 3939 "delete_spam.py") CONFIG_FILES="$CONFIG_FILES delete_spam.py" ;; 3940 3941 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 3942 esac 3943 done 3944 3945 3946 # If the user did not use the arguments to specify the items to instantiate, 3947 # then the envvar interface is used. Set only those that are not. 3948 # We use the long form for the default assignment because of an extremely 3949 # bizarre bug on SunOS 4.1.3. 3950 if $ac_need_defaults; then 3951 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3952 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 3953 fi 3954 3955 # Have a temporary directory for convenience. Make it in the build tree 3956 # simply because there is no reason against having it here, and in addition, 3957 # creating and moving files from /tmp can sometimes cause problems. 3958 # Hook for its removal unless debugging. 3959 # Note that there is a small window in which the directory will not be cleaned: 3960 # after its creation but before its name has been assigned to `$tmp'. 3961 $debug || 3962 { 3963 tmp= 3964 trap 'exit_status=$? 3965 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 3966 ' 0 3967 trap 'as_fn_exit 1' 1 2 13 15 3968 } 3969 # Create a (secure) tmp directory for tmp files. 3970 3971 { 3972 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3973 test -n "$tmp" && test -d "$tmp" 3974 } || 3975 { 3976 tmp=./conf$$-$RANDOM 3977 (umask 077 && mkdir "$tmp") 3978 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3979 3980 # Set up the scripts for CONFIG_FILES section. 3981 # No need to generate them if there are no CONFIG_FILES. 3982 # This happens for instance with `./config.status config.h'. 3983 if test -n "$CONFIG_FILES"; then 3984 3985 3986 ac_cr=`echo X | tr X '\015'` 3987 # On cygwin, bash can eat \r inside `` if the user requested igncr. 3988 # But we know of no other shell where ac_cr would be empty at this 3989 # point, so we can use a bashism as a fallback. 3990 if test "x$ac_cr" = x; then 3991 eval ac_cr=\$\'\\r\' 3992 fi 3993 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3994 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3995 ac_cs_awk_cr='\\r' 3996 else 3997 ac_cs_awk_cr=$ac_cr 3998 fi 3999 4000 echo 'BEGIN {' >"$tmp/subs1.awk" && 4001 _ACEOF 4002 4003 4004 { 4005 echo "cat >conf$$subs.awk <<_ACEOF" && 4006 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4007 echo "_ACEOF" 4008 } >conf$$subs.sh || 4009 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4010 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4011 ac_delim='%!_!# ' 4012 for ac_last_try in false false false false false :; do 4013 . ./conf$$subs.sh || 4014 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4015 4016 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4017 if test $ac_delim_n = $ac_delim_num; then 4018 break 4019 elif $ac_last_try; then 4020 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4021 else 4022 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4023 fi 4024 done 4025 rm -f conf$$subs.sh 4026 4027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4028 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 4029 _ACEOF 4030 sed -n ' 4031 h 4032 s/^/S["/; s/!.*/"]=/ 4033 p 4034 g 4035 s/^[^!]*!// 4036 :repl 4037 t repl 4038 s/'"$ac_delim"'$// 4039 t delim 4040 :nl 4041 h 4042 s/\(.\{148\}\)..*/\1/ 4043 t more1 4044 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4045 p 4046 n 4047 b repl 4048 :more1 4049 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4050 p 4051 g 4052 s/.\{148\}// 4053 t nl 4054 :delim 4055 h 4056 s/\(.\{148\}\)..*/\1/ 4057 t more2 4058 s/["\\]/\\&/g; s/^/"/; s/$/"/ 4059 p 4060 b 4061 :more2 4062 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4063 p 4064 g 4065 s/.\{148\}// 4066 t delim 4067 ' <conf$$subs.awk | sed ' 4068 /^[^""]/{ 4069 N 4070 s/\n// 4071 } 4072 ' >>$CONFIG_STATUS || ac_write_fail=1 4073 rm -f conf$$subs.awk 4074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4075 _ACAWK 4076 cat >>"\$tmp/subs1.awk" <<_ACAWK && 4077 for (key in S) S_is_set[key] = 1 4078 FS = "" 4079 4080 } 4081 { 4082 line = $ 0 4083 nfields = split(line, field, "@") 4084 substed = 0 4085 len = length(field[1]) 4086 for (i = 2; i < nfields; i++) { 4087 key = field[i] 4088 keylen = length(key) 4089 if (S_is_set[key]) { 4090 value = S[key] 4091 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4092 len += length(value) + length(field[++i]) 4093 substed = 1 4094 } else 4095 len += 1 + keylen 4096 } 4097 4098 print line 4099 } 4100 4101 _ACAWK 4102 _ACEOF 4103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4104 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4105 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4106 else 4107 cat 4108 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 4109 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4110 _ACEOF 4111 4112 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4113 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4114 # trailing colons and then remove the whole line if VPATH becomes empty 4115 # (actually we leave an empty line to preserve line numbers). 4116 if test "x$srcdir" = x.; then 4117 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4118 h 4119 s/// 4120 s/^/:/ 4121 s/[ ]*$/:/ 4122 s/:\$(srcdir):/:/g 4123 s/:\${srcdir}:/:/g 4124 s/:@srcdir@:/:/g 4125 s/^:*// 4126 s/:*$// 4127 x 4128 s/\(=[ ]*\).*/\1/ 4129 G 4130 s/\n// 4131 s/^[^=]*=[ ]*$// 4132 }' 4133 fi 4134 4135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4136 fi # test -n "$CONFIG_FILES" 4137 4138 # Set up the scripts for CONFIG_HEADERS section. 4139 # No need to generate them if there are no CONFIG_HEADERS. 4140 # This happens for instance with `./config.status Makefile'. 4141 if test -n "$CONFIG_HEADERS"; then 4142 cat >"$tmp/defines.awk" <<\_ACAWK || 4143 BEGIN { 4144 _ACEOF 4145 4146 # Transform confdefs.h into an awk script `defines.awk', embedded as 4147 # here-document in config.status, that substitutes the proper values into 4148 # config.h.in to produce config.h. 4149 4150 # Create a delimiter string that does not exist in confdefs.h, to ease 4151 # handling of long lines. 4152 ac_delim='%!_!# ' 4153 for ac_last_try in false false :; do 4154 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 4155 if test -z "$ac_t"; then 4156 break 4157 elif $ac_last_try; then 4158 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 4159 else 4160 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4161 fi 4162 done 4163 4164 # For the awk script, D is an array of macro values keyed by name, 4165 # likewise P contains macro parameters if any. Preserve backslash 4166 # newline sequences. 4167 4168 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 4169 sed -n ' 4170 s/.\{148\}/&'"$ac_delim"'/g 4171 t rset 4172 :rset 4173 s/^[ ]*#[ ]*define[ ][ ]*/ / 4174 t def 4175 d 4176 :def 4177 s/\\$// 4178 t bsnl 4179 s/["\\]/\\&/g 4180 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 4181 D["\1"]=" \3"/p 4182 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 4183 d 4184 :bsnl 4185 s/["\\]/\\&/g 4186 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 4187 D["\1"]=" \3\\\\\\n"\\/p 4188 t cont 4189 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 4190 t cont 4191 d 4192 :cont 4193 n 4194 s/.\{148\}/&'"$ac_delim"'/g 4195 t clear 4196 :clear 4197 s/\\$// 4198 t bsnlc 4199 s/["\\]/\\&/g; s/^/"/; s/$/"/p 4200 d 4201 :bsnlc 4202 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 4203 b cont 4204 ' <confdefs.h | sed ' 4205 s/'"$ac_delim"'/"\\\ 4206 "/g' >>$CONFIG_STATUS || ac_write_fail=1 4207 4208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4209 for (key in D) D_is_set[key] = 1 4210 FS = "" 4211 } 4212 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 4213 line = \$ 0 4214 split(line, arg, " ") 4215 if (arg[1] == "#") { 4216 defundef = arg[2] 4217 mac1 = arg[3] 4218 } else { 4219 defundef = substr(arg[1], 2) 4220 mac1 = arg[2] 4221 } 4222 split(mac1, mac2, "(") #) 4223 macro = mac2[1] 4224 prefix = substr(line, 1, index(line, defundef) - 1) 4225 if (D_is_set[macro]) { 4226 # Preserve the white space surrounding the "#". 4227 print prefix "define", macro P[macro] D[macro] 4228 next 4229 } else { 4230 # Replace #undef with comments. This is necessary, for example, 4231 # in the case of _POSIX_SOURCE, which is predefined and required 4232 # on some systems where configure will not decide to define it. 4233 if (defundef == "undef") { 4234 print "/*", prefix defundef, macro, "*/" 4235 next 4236 } 4237 } 4238 } 4239 { print } 4240 _ACAWK 4241 _ACEOF 4242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4243 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 4244 fi # test -n "$CONFIG_HEADERS" 4245 4246 4247 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 4248 shift 4249 for ac_tag 4250 do 4251 case $ac_tag in 4252 :[FHLC]) ac_mode=$ac_tag; continue;; 4253 esac 4254 case $ac_mode$ac_tag in 4255 :[FHL]*:*);; 4256 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 4257 :[FH]-) ac_tag=-:-;; 4258 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4259 esac 4260 ac_save_IFS=$IFS 4261 IFS=: 4262 set x $ac_tag 4263 IFS=$ac_save_IFS 4264 shift 4265 ac_file=$1 4266 shift 4267 4268 case $ac_mode in 4269 :L) ac_source=$1;; 4270 :[FH]) 4271 ac_file_inputs= 4272 for ac_f 4273 do 4274 case $ac_f in 4275 -) ac_f="$tmp/stdin";; 4276 *) # Look for the file first in the build tree, then in the source tree 4277 # (if the path is not absolute). The absolute path cannot be DOS-style, 4278 # because $ac_f cannot contain `:'. 4279 test -f "$ac_f" || 4280 case $ac_f in 4281 [\\/$]*) false;; 4282 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4283 esac || 4284 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 4285 esac 4286 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4287 as_fn_append ac_file_inputs " '$ac_f'" 4288 done 4289 4290 # Let's still pretend it is `configure' which instantiates (i.e., don't 4291 # use $as_me), people would be surprised to read: 4292 # /* config.h. Generated by config.status. */ 4293 configure_input='Generated from '` 4294 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4295 `' by configure.' 4296 if test x"$ac_file" != x-; then 4297 configure_input="$ac_file. $configure_input" 4298 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4299 $as_echo "$as_me: creating $ac_file" >&6;} 4300 fi 4301 # Neutralize special characters interpreted by sed in replacement strings. 4302 case $configure_input in #( 4303 *\&* | *\|* | *\\* ) 4304 ac_sed_conf_input=`$as_echo "$configure_input" | 4305 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4306 *) ac_sed_conf_input=$configure_input;; 4307 esac 4308 4309 case $ac_tag in 4310 *:-:* | *:-) cat >"$tmp/stdin" \ 4311 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4312 esac 4313 ;; 4314 esac 4315 4316 ac_dir=`$as_dirname -- "$ac_file" || 4317 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4318 X"$ac_file" : 'X\(//\)[^/]' \| \ 4319 X"$ac_file" : 'X\(//\)$' \| \ 4320 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4321 $as_echo X"$ac_file" | 4322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4323 s//\1/ 4324 q 4325 } 4326 /^X\(\/\/\)[^/].*/{ 4327 s//\1/ 4328 q 4329 } 4330 /^X\(\/\/\)$/{ 4331 s//\1/ 4332 q 4333 } 4334 /^X\(\/\).*/{ 4335 s//\1/ 4336 q 4337 } 4338 s/.*/./; q'` 4339 as_dir="$ac_dir"; as_fn_mkdir_p 4157 4340 ac_builddir=. 4158 4341 … … 4160 4343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4161 4344 *) 4162 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`4345 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4163 4346 # A ".." for each directory in $ac_dir_suffix. 4164 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`4347 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4165 4348 case $ac_top_builddir_sub in 4166 4349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 4198 4381 _ACEOF 4199 4382 4200 cat >>$CONFIG_STATUS <<\_ACEOF 4383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4201 4384 # If the template does not know about datarootdir, expand it. 4202 4385 # FIXME: This hack should be removed a few years after 2.60. 4203 4386 ac_datarootdir_hack=; ac_datarootdir_seen= 4204 4205 case `sed -n '/datarootdir/ {4387 ac_sed_dataroot=' 4388 /datarootdir/ { 4206 4389 p 4207 4390 q … … 4211 4394 /@infodir@/p 4212 4395 /@localedir@/p 4213 /@mandir@/p 4214 ' $ac_file_inputs` in4396 /@mandir@/p' 4397 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4215 4398 *datarootdir*) ac_datarootdir_seen=yes;; 4216 4399 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4217 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&54218 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}4219 _ACEOF 4220 cat >>$CONFIG_STATUS <<_ACEOF 4400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4401 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4402 _ACEOF 4403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4221 4404 ac_datarootdir_hack=' 4222 4405 s&@datadir@&$datadir&g … … 4225 4408 s&@localedir@&$localedir&g 4226 4409 s&@mandir@&$mandir&g 4227 4410 s&\\\${datarootdir}&$datarootdir&g' ;; 4228 4411 esac 4229 4412 _ACEOF … … 4232 4415 # Shell code in configure.ac might set extrasub. 4233 4416 # FIXME: do we really want to maintain this feature? 4234 cat >>$CONFIG_STATUS <<_ACEOF 4235 sed"$ac_vpsub4417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4418 ac_sed_extra="$ac_vpsub 4236 4419 $extrasub 4237 4420 _ACEOF 4238 cat >>$CONFIG_STATUS <<\_ACEOF 4421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4239 4422 :t 4240 4423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4241 s &@configure_input@&$configure_input&;t t4424 s|@configure_input@|$ac_sed_conf_input|;t t 4242 4425 s&@top_builddir@&$ac_top_builddir_sub&;t t 4426 s&@top_build_prefix@&$ac_top_build_prefix&;t t 4243 4427 s&@srcdir@&$ac_srcdir&;t t 4244 4428 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 4249 4433 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4250 4434 $ac_datarootdir_hack 4251 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 4435 " 4436 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 4437 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4252 4438 4253 4439 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4254 4440 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 4255 4441 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 4256 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'4257 which seems to be undefined. Please make sure it is defined ." >&54258 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'4259 which seems to be undefined. Please make sure it is defined ." >&2;}4442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4443 which seems to be undefined. Please make sure it is defined" >&5 4444 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4445 which seems to be undefined. Please make sure it is defined" >&2;} 4260 4446 4261 4447 rm -f "$tmp/stdin" 4262 4448 case $ac_file in 4263 -) cat "$tmp/out"; rm -f "$tmp/out";; 4264 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 4449 -) cat "$tmp/out" && rm -f "$tmp/out";; 4450 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 4451 esac \ 4452 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4453 ;; 4454 :H) 4455 # 4456 # CONFIG_HEADER 4457 # 4458 if test x"$ac_file" != x-; then 4459 { 4460 $as_echo "/* $configure_input */" \ 4461 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 4462 } >"$tmp/config.h" \ 4463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4464 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 4465 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 4466 $as_echo "$as_me: $ac_file is unchanged" >&6;} 4467 else 4468 rm -f "$ac_file" 4469 mv "$tmp/config.h" "$ac_file" \ 4470 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4471 fi 4472 else 4473 $as_echo "/* $configure_input */" \ 4474 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 4475 || as_fn_error $? "could not create -" "$LINENO" 5 4476 fi 4477 # Compute "$ac_file"'s index in $config_headers. 4478 _am_stamp_count=1 4479 for _am_header in $config_headers :; do 4480 case $_am_header in 4481 "$ac_file" | "$ac_file":* ) 4482 break ;; 4483 * ) 4484 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 4265 4485 esac 4486 done 4487 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || 4488 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4489 X"$ac_file" : 'X\(//\)[^/]' \| \ 4490 X"$ac_file" : 'X\(//\)$' \| \ 4491 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4492 $as_echo X"$ac_file" | 4493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4494 s//\1/ 4495 q 4496 } 4497 /^X\(\/\/\)[^/].*/{ 4498 s//\1/ 4499 q 4500 } 4501 /^X\(\/\/\)$/{ 4502 s//\1/ 4503 q 4504 } 4505 /^X\(\/\).*/{ 4506 s//\1/ 4507 q 4508 } 4509 s/.*/./; q'`/stamp-h$_am_stamp_count 4266 4510 ;; 4267 4511 4268 4512 4269 4270 4513 esac 4271 4514 … … 4273 4516 4274 4517 4275 { (exit 0); exit 0; } 4276 _ACEOF 4277 chmod +x $CONFIG_STATUS 4518 as_fn_exit 0 4519 _ACEOF 4278 4520 ac_clean_files=$ac_clean_files_save 4521 4522 test $ac_write_fail = 0 || 4523 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4279 4524 4280 4525 … … 4297 4542 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4298 4543 # would make configure fail if this is the last instruction. 4299 $ac_cs_success || { (exit 1); exit 1; } 4300 fi 4301 4544 $ac_cs_success || as_fn_exit 1 4545 fi 4546 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4548 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4549 fi 4550 -
trunk/configure.in
r332 r574 7 7 # 8 8 AC_INIT(email2trac.py.in) 9 AC_CONFIG_HEADER(config.h) 9 10 AC_SUBST(prefix) 10 11 AC_SUBST(exec_prefix) … … 86 87 AC_SUBST(SYSTEM_EMAIL2TRAC_CONF) 87 88 89 dnl ##### Check for presence of initgroups() function 90 AC_CHECK_FUNCS([initgroups]) 91 88 92 89 93 AC_OUTPUT( 90 94 Makefile 91 92 93 95 email2trac.py 96 delete_spam.py 97 ) -
trunk/run_email2trac.c
r318 r574 27 27 # 28 28 */ 29 #include "config.h" 30 31 #include <sys/types.h> 29 32 #include <stdlib.h> 30 33 #include <unistd.h> … … 34 37 #include <stdio.h> 35 38 #include <limits.h> 39 #ifdef HAVE_INITGROUPS 40 #include <grp.h> 41 #endif 36 42 37 43 #include "run_email2trac.h" … … 107 113 } 108 114 109 /* set UID/GID toTrac (or apache) user */115 /* set UID/GID and supplementary groups to be Trac (or apache) user */ 110 116 check_username(TRAC_USER); 111 117 if ( TRAC = getpwnam(TRAC_USER) ) { 118 #ifdef HAVE_INITGROUPS 119 if (initgroups(TRAC_USER, TRAC->pw_gid)) { 120 if ( DEBUG ) printf("initgroups failed\n"); 121 return -7; /* 249 : Can't set supplementary groups */ 122 } 123 #endif 112 124 if (setgid(TRAC->pw_gid) || setuid(TRAC->pw_uid)) { 113 125 if ( DEBUG ) printf("setgid or setuid failed\n"); 114 return -5; 126 return -5; /* 251: Can't set gid or uid */ 115 127 } 116 128 } else { 117 129 if ( DEBUG ) printf("Invalid Trac user (%s)\n",TRAC_USER); 118 return - 3; /* 253: Trac user not found */130 return -6; /* 250 : Trac user not found */ 119 131 } 120 132
Note: See TracChangeset
for help on using the changeset viewer.