Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.72.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
7 # Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if testscip-shell system . . test. ${ZSH_VERSION+y} && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
19 then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else case e in #(
27 e) case `(set -o) 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac ;;
33 esac
34 fi
35
36
37
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
40
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
45 as_nl='
46 '
47 export as_nl
48 IFS=" "" $as_nl"
49
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
53
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
59
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset $as_var || :
68 done
69
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :; else exec 0</dev/nullscip-shell filesystem . . `/dev/null`.; fi
72 if (exec 3>&1) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then :; else exec 1>/dev/nullscip-shell filesystem . . `/dev/null`.; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/nullscip-shell filesystem . . `/dev/null`.; fi
74
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && {
79 (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # Find who we are. Look in the path if we contain no directory separator.
86 as_myself=
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
91 do
92 IFS=$as_save_IFS
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 testscip-shell system . . test. -r "$as_dir$0" && as_myself=$as_dir$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as 'sh COMMAND'
105 # in which case we are not to be found in the path.
106 if testscip-shell system . . test. "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if testscip-shell system . . test. ! -f "$as_myself"; then
110 printfscip-shell system . . printf. "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if testscip-shell system . . test. x"${_as_can_reexec}" != xno && testscip-shell system . . test. "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
123 BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
124 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
125 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131 esac
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed 'exec'.
135 printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
137 fi
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if testscip-shell system . . test. "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
142 then :
143 emulate sh
144 NULLCMD=:
145 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
146 # is contrary to our usage. Disable this feature.
147 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 setopt NO_GLOB_SUBST
149 else case e in #(
150 e) case \`(set -o) 2>/dev/null\` in #(
151 *posix*) :
152 set -o posix ;; #(
153 *) :
154 ;;
155 esac ;;
156 esac
157 fi
158 "
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
164
165 exitcode=0
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
172
173 else case e in #(
174 e) exitcode=1; echo positional parameters were not saved. ;;
175 esac
176 fi
177 test x\$exitcode = x0 || exit 1
178 blah=\$(echo \$(echo blah))
179 test x\"\$blah\" = xblah || exit 1
180 test -x / || exit 1"
181 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
182 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
183 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
184 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
187 then :
188 as_have_required=yes
189 else case e in #(
190 e) as_have_required=no ;;
191 esac
192 fi
193 if testscip-shell system . . test. x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
194 then :
195
196 else case e in #(
197 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 do
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
209 /*)
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { testscip-shell system . . test. -f "$as_shell" || testscip-shell system . . test. -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
218 then :
219 break 2
220 fi
221 fi
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
229
230 else case e in #(
231 e) if { testscip-shell system . . test. -f "$SHELL" || testscip-shell system . . test. -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/nullscip-shell filesystem . . `/dev/null`.
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi ;;
236 esac
237 fi
238
239
240 if testscip-shell system . . test. "x$CONFIG_SHELL" != x
241 then :
242 export CONFIG_SHELL
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
248 ENV=/dev/nullscip-shell filesystem . . `/dev/null`.
249 (unset BASH_ENV) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && unset BASH_ENV ENV
250 case $- in # ((((
251 *v*x* | *x*v* ) as_opts=-vx ;;
252 *v* ) as_opts=-v ;;
253 *x* ) as_opts=-x ;;
254 * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed 'exec'.
259 printfscip-shell system . . printf. "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
261 fi
262
263 if testscip-shell system . . test. x$as_have_required = xno
264 then :
265 printfscip-shell system . . printf. "%s\n" "$0: This script requires a shell more modern than all"
266 printfscip-shell system . . printf. "%s\n" "$0: the shells that I found on your system."
267 if testscip-shell system . . test. ${ZSH_VERSION+y} ; then
268 printfscip-shell system . . printf. "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
269 printfscip-shell system . . printf. "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 else
271 printfscip-shell system . . printf. "%s\n" "$0: Please tell [email protected] about your system,
272 $0: including any error possibly output before this
273 $0: message. Then install a modern shell, or manually run
274 $0: the script under such a shell if you do have one."
275 fi
276 exit 1
277 fi ;;
278 esac
279 fi
280 fi
281 SHELL=${CONFIG_SHELL-/bin/sh}
282 export SHELL
283 # Unset more variables known to interfere with behavior of common tools.
284 CLICOLOR_FORCE= GREP_OPTIONS=
285 unset CLICOLOR_FORCE GREP_OPTIONS
286
287 ## --------------------- ##
288 ## M4sh Shell Functions. ##
289 ## --------------------- ##
290 # as_fn_unset VAR
291 # ---------------
292 # Portably unset VAR.
293 as_fn_unsetscip-shell shell e2fsprogs 1.47.4-1 as_fn_unset(). ()
294 {
295 { eval $1=; unset $1;}
296 }
297 as_unset=as_fn_unset
298
299
300 # as_fn_set_status STATUS
301 # -----------------------
302 # Set $? to STATUS, without forking.
303 as_fn_set_statusscip-shell shell e2fsprogs 1.47.4-1 as_fn_set_status(). ()
304 {
305 return $1
306 } # as_fn_set_status
307
308 # as_fn_exit STATUS
309 # -----------------
310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
311 as_fn_exitscip-shell shell e2fsprogs 1.47.4-1 as_fn_exit(). ()
312 {
313 set +e
314 as_fn_set_statusscip-shell shell e2fsprogs 1.47.4-1 as_fn_set_status(). $1
315 exit $1
316 } # as_fn_exit
317
318 # as_fn_mkdir_p
319 # -------------
320 # Create "$as_dir" as a directory, including parents if necessary.
321 as_fn_mkdir_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_mkdir_p(). ()
322 {
323
324 case $as_dir in #(
325 -*) as_dir=./$as_dir;;
326 esac
327 testscip-shell system . . test. -d "$as_dir" || eval $as_mkdir_p || {
328 as_dirs=
329 while :; do
330 case $as_dir in #(
331 *\'*) as_qdir=`printfscip-shell system . . printf. "%s\n" "$as_dir" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;; #'(
332 *) as_qdir=$as_dir;;
333 esac
334 as_dirs="'$as_qdir' $as_dirs"
335 as_dir=`$as_dirname -- "$as_dir" ||
336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
337 X"$as_dir" : 'X\(//\)[^/]' \| \
338 X"$as_dir" : 'X\(//\)$' \| \
339 X"$as_dir" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
340 printfscip-shell system . . printf. "%s\n" X"$as_dir" |
341 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
342 s//\1/
343 q
344 }
345 /^X\(\/\/\)[^/].*/{
346 s//\1/
347 q
348 }
349 /^X\(\/\/\)$/{
350 s//\1/
351 q
352 }
353 /^X\(\/\).*/{
354 s//\1/
355 q
356 }
357 s/.*/./; q'`
358 testscip-shell system . . test. -d "$as_dir" && break
359 done
360 testscip-shell system . . test. -z "$as_dirs" || eval "mkdir $as_dirs"
361 } || testscip-shell system . . test. -d "$as_dir" || as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "cannot create directory $as_dir"
362
363
364 } # as_fn_mkdir_p
365
366 # as_fn_executable_p FILE
367 # -----------------------
368 # Test if FILE is an executable regular file.
369 as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). ()
370 {
371 testscip-shell system . . test. -f "$1" && testscip-shell system . . test. -x "$1"
372 } # as_fn_executable_p
373 # as_fn_append VAR VALUE
374 # ----------------------
375 # Append the text in VALUE to the end of the definition contained in VAR. Take
376 # advantage of any shell optimizations that allow amortized linear growth over
377 # repeated appends, instead of the typical quadratic growth present in naive
378 # implementations.
379 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
380 then :
381 eval 'as_fn_append ()
382 {
383 eval $1+=\$2
384 }'
385 else case e in #(
386 e) as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ()
387 {
388 eval $1=\$$1\$2
389 } ;;
390 esac
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/nullscip-shell filesystem . . `/dev/null`.
399 then :
400 eval 'as_fn_arith ()
401 {
402 as_val=$(( $* ))
403 }'
404 else case e in #(
405 e) as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). ()
406 {
407 as_val=`exprscip-shell system . . expr. "$@" || testscip-shell system . . test. $? -eq 1`
408 } ;;
409 esac
410 fi # as_fn_arith
411
412
413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414 # ----------------------------------------
415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
417 # script with STATUS, using 1 if that was 0.
418 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). ()
419 {
420 as_status=$1; testscip-shell system . . test. $as_status -eq 0 && as_status=1
421 if testscip-shell system . . test. "$4"; then
422 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
423 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
424 fi
425 printfscip-shell system . . printf. "%s\n" "$as_me: error: $2" >&2
426 as_fn_exitscip-shell shell e2fsprogs 1.47.4-1 as_fn_exit(). $as_status
427 } # as_fn_error
428
429 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 &&
430 testscip-shell system . . test. "X`exprscip-shell system . . expr. 00001 : '.*\(...\)'`" = X001; then
431 as_expr=expr
432 else
433 as_expr=false
434 fi
435
436 if (basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`.) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && testscip-shell system . . test. "X`basenamescip-shell system . . basename. -- /scip-shell filesystem . . `/`. 2>&1`" = "X/"; then
437 as_basename=basename
438 else
439 as_basename=false
440 fi
441
442 if (as_dir=`dirnamescip-shell system . . dirname. -- /scip-shell filesystem . . `/`.` && testscip-shell system . . test. "X$as_dir" = X/) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
443 as_dirname=dirname
444 else
445 as_dirname=false
446 fi
447
448 as_me=`$as_basename -- "$0" ||
449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450 X"$0" : 'X\(//\)$' \| \
451 X"$0" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
452 printfscip-shell system . . printf. "%s\n" X/"$0" |
453 sedscip-shell system . . sed. '/^.*\/\([^/][^/]*\)\/*$/{
454 s//\1/
455 q
456 }
457 /^X\/\(\/\/\)$/{
458 s//\1/
459 q
460 }
461 /^X\/\(\/\).*/{
462 s//\1/
463 q
464 }
465 s/.*/./; q'`
466
467 # Avoid depending upon Character Ranges.
468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
471 as_cr_digits='0123456789'
472 as_cr_alnum=$as_cr_Letters$as_cr_digits
473
474
475 as_lineno_1=$LINENO as_lineno_1a=$LINENO
476 as_lineno_2=$LINENO as_lineno_2a=$LINENO
477 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
478 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
479 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 sedscip-shell system . . sed. -n '
481 p
482 /[$]LINENO/=
483 ' <$as_myself |
484 sedscip-shell system . . sed. '
485 t clear
486 :clear
487 s/[$]LINENO.*/&-/
488 t lineno
489 b
490 :lineno
491 N
492 :loop
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494 t loop
495 s/-\n.*//
496 ' >$as_me.lineno &&
497 chmodscip-shell system . . chmod. +x "$as_me.lineno" ||
498 { printfscip-shell system . . printf. "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exitscip-shell shell e2fsprogs 1.47.4-1 as_fn_exit(). 1; }
499
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
507 . "./$as_me.lineno"
508 # Exit status is that of the last command.
509 exit
510 }
511
512
513 # Determine whether it's possible to make 'echo' print without a newline.
514 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
515 # for compatibility with existing Makefiles.
516 ECHO_C= ECHO_N= ECHO_T=
517 case `echoscip-shell system . . echo. -n x` in #(((((
518 -n*)
519 case `echoscip-shell system . . echo. 'xy\c'` in
520 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
521 xy) ECHO_C='\c';;
522 *) echoscip-shell system . . echo. `echoscip-shell system . . echo. ksh88 bug on AIX 6.1` > /dev/nullscip-shell filesystem . . `/dev/null`.
523 ECHO_T=' ';;
524 esac;;
525 *)
526 ECHO_N='-n';;
527 esac
528
529 # For backward compatibility with old third-party macros, we provide
530 # the shell variables $as_echo and $as_echo_n. New code should use
531 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
532 as_echo='printf %s\n'
533 as_echo_n='printf %s'
534
535 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
536 if testscip-shell system . . test. -d conf$$.dir; then
537 rmscip-shell system . . rm. -f conf$$.dir/conf$$.file
538 else
539 rmscip-shell system . . rm. -f conf$$.dir
540 mkdirscip-shell system . . mkdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
541 fi
542 if (echoscip-shell system . . echo. >conf$$.file) 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
543 if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
544 as_ln_s='ln -s'
545 # ... but there are two gotchas:
546 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
547 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
548 # In both cases, we have to default to 'cp -pR'.
549 lnscip-shell system . . ln. -s conf$$.file conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`. && testscip-shell system . . test. ! -f conf$$.exe ||
550 as_ln_s='cp -pR'
551 elif lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
552 as_ln_s=ln
553 else
554 as_ln_s='cp -pR'
555 fi
556 else
557 as_ln_s='cp -pR'
558 fi
559 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
560 rmdirscip-shell system . . rmdir. conf$$.dir 2>/dev/nullscip-shell filesystem . . `/dev/null`.
561
562 if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
563 as_mkdir_p='mkdir -p "$as_dir"'
564 else
565 testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p
566 as_mkdir_p=false
567 fi
568
569 as_test_x='test -x'
570 as_executable_p=as_fn_executable_p
571
572 # Sed expression to map a string onto a valid CPP name.
573 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
574 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
575
576 # Sed expression to map a string onto a valid variable name.
577 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
578 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
579
580
581 testscip-shell system . . test. -n "$DJDIR" || exec 7<&0 </dev/nullscip-shell filesystem . . `/dev/null`.
582 exec 6>&1
583
584 # Name of the host.
585 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
586 # so uname gets run too.
587 ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
588
589 #
590 # Initializations.
591 #
592 ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`.
593 ac_clean_files=
594 ac_config_libobj_dir=.
595 LIBOBJS=
596 cross_compiling=no
597 subdirs=
598 MFLAGS=
599 MAKEFLAGS=
600
601 # Identity of this package.
602 PACKAGE_NAME=''
603 PACKAGE_TARNAME=''
604 PACKAGE_VERSION=''
605 PACKAGE_STRING=''
606 PACKAGE_BUGREPORT=''
607 PACKAGE_URL=''
608
609 ac_unique_file="version.h"
610 # Factoring default headers for most tests.
611 ac_includes_default="\
612 #include <stddef.h>
613 #ifdef HAVE_STDIO_H
614 # include <stdio.h>
615 #endif
616 #ifdef HAVE_STDLIB_H
617 # include <stdlib.h>
618 #endif
619 #ifdef HAVE_STRING_H
620 # include <string.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_STRINGS_H
629 # include <strings.h>
630 #endif
631 #ifdef HAVE_SYS_TYPES_H
632 # include <sys/types.h>
633 #endif
634 #ifdef HAVE_SYS_STAT_H
635 # include <sys/stat.h>
636 #endif
637 #ifdef HAVE_UNISTD_H
638 # include <unistd.h>
639 #endif"
640
641 ac_header_c_list=
642 gt_needs=
643 ac_func_c_list=
644 enable_year2038=no
645 ac_subst_vars='LTLIBOBJS
646 LIBOBJS
647 OS_IO_FILE
648 systemd_system_unit_dir
649 have_systemd
650 systemd_LIBS
651 systemd_CFLAGS
652 crond_dir
653 have_crond
654 pkg_udev_rules_dir
655 have_udev
656 udev_LIBS
657 udev_CFLAGS
658 LDFLAGS_SHLIB
659 CFLAGS_STLIB
660 CFLAGS_SHLIB
661 BUILD_LDFLAGS
662 BUILD_CFLAGS
663 INCLUDES
664 DO_TEST_SUITE
665 LDFLAGS_STATIC
666 root_sysconfdir
667 root_libdir
668 root_sbindir
669 root_bindir
670 root_prefix
671 E2SCRUB_CMT
672 UNIX_CMT
673 CYGWIN_CMT
674 LINUX_CMT
675 FUZZING_CMT
676 fuzzer_ldflags
677 fuzzer_cflags
678 have_fuzzer
679 ac_ct_CXX
680 CXXFLAGS
681 CXX
682 threadsan_ldflags
683 threadsan_cflags
684 have_threadsan
685 addrsan_ldflags
686 addrsan_cflags
687 have_addrsan
688 ubsan_ldflags
689 ubsan_cflags
690 have_ubsan
691 lto_ldflags
692 lto_cflags
693 have_lto
694 gcc_ranlib
695 gcc_ar
696 UNI_DIFF_OPTS
697 SEM_INIT_LIB
698 FUSE_CMT
699 FUSE_LIB
700 fuse3_LIBS
701 fuse3_CFLAGS
702 CLOCK_GETTIME_LIB
703 ARCHIVE_LIBS
704 ARCHIVE_CFLAGS
705 MAGIC_LIB
706 SOCKET_LIB
707 SIZEOF_TIME_T
708 SIZEOF_OFF_T
709 SIZEOF_LONG_LONG
710 SIZEOF_LONG
711 SIZEOF_INT
712 SIZEOF_SHORT
713 DD
714 BUILD_CC
715 MAKEINFO
716 STRIP
717 RANLIB
718 AR
719 LDCONFIG
720 PERL
721 EGREP
722 GREP
723 CHMOD
724 RM
725 CP
726 MV
727 LN_S
728 mkdir_p
729 LN
730 ifnGNUmake
731 ifGNUmake
732 AWK
733 BINARY_TYPE
734 localedir_c_make
735 localedir_c
736 POSUB
737 LTLIBINTL
738 LIBINTL
739 INTLLIBS
740 LTLIBICONV
741 LIBICONV
742 INTL_MACOSX_LIBS
743 XGETTEXT_EXTRA_OPTIONS
744 MSGMERGE_FOR_MSGFMT_OPTION
745 MSGMERGE
746 XGETTEXT_015
747 XGETTEXT
748 GMSGFMT_015
749 GMSGFMT
750 MSGFMT
751 GETTEXT_MACRO_VERSION
752 USE_NLS
753 MKDIR_P
754 INSTALL_DATA
755 INSTALL_SCRIPT
756 INSTALL_PROGRAM
757 SET_MAKE
758 VERSION
759 PACKAGE
760 GETTEXT_PACKAGE
761 TDB_MAN_COMMENT
762 TDB_CMT
763 UUIDD_CMT
764 PTHREAD_CFLAGS
765 PTHREAD_LIBS
766 PTHREAD_CXX
767 PTHREAD_CC
768 ax_pthread_config
769 SED
770 E2INITRD_MAN
771 E2INITRD_PROG
772 FSCK_MAN
773 FSCK_PROG
774 DEFRAG_CMT
775 RESIZER_CMT
776 IMAGER_CMT
777 DEBUGFS_CMT
778 SUBSET_CMT
779 ALL_CMT
780 BLKID_CMT
781 DEPPROFILED_LIBBLKID
782 PROFILED_LIBBLKID
783 DEPSTATIC_LIBBLKID
784 STATIC_LIBBLKID
785 DEPLIBBLKID
786 LIBBLKID
787 UUID_CMT
788 DEPPROFILED_LIBUUID
789 PROFILED_LIBUUID
790 DEPSTATIC_LIBUUID
791 STATIC_LIBUUID
792 DEPLIBUUID
793 LIBUUID
794 PKG_CONFIG_LIBDIR
795 PKG_CONFIG_PATH
796 PKG_CONFIG
797 DEV_FEATURES_CMT
798 TEST_IO_CMT
799 PRIVATE_LIBS_CMT
800 LDFLAG_DYNAMIC
801 PROFILED_LIB_EXT
802 STATIC_LIB_EXT
803 LIB_EXT
804 PROFILE_CMT
805 BSDLIB_CMT
806 ELF_CMT
807 Q
808 ES
809 E
810 LINK_BUILD_FLAGS
811 SYMLINK_RELATIVE
812 LINK_INSTALL_FLAGS
813 MAINTAINER_CMT
814 CPP
815 RDYNAMIC
816 DLOPEN_LIB
817 host_os
818 host_vendor
819 host_cpu
820 host
821 build_os
822 build_vendor
823 build_cpu
824 build
825 E2FSPROGS_DATE
826 E2FSPROGS_PKGVER
827 E2FSPROGS_PKGREL
828 E2FSPROGS_VERSION
829 E2FSPROGS_DAY
830 E2FSPROGS_MONTH
831 E2FSPROGS_YEAR
832 OBJEXT
833 EXEEXT
834 ac_ct_CC
835 CPPFLAGS
836 LDFLAGS
837 CFLAGS
838 CC
839 target_alias
840 host_alias
841 build_alias
842 LIBS
843 ECHO_T
844 ECHO_N
845 ECHO_C
846 DEFS
847 mandir
848 localedir
849 libdir
850 psdir
851 pdfdir
852 dvidir
853 htmldir
854 infodir
855 docdir
856 oldincludedir
857 includedir
858 runstatedir
859 localstatedir
860 sharedstatedir
861 sysconfdir
862 datadir
863 datarootdir
864 libexecdir
865 sbindir
866 bindir
867 program_transform_name
868 prefix
869 exec_prefix
870 PACKAGE_URL
871 PACKAGE_BUGREPORT
872 PACKAGE_STRING
873 PACKAGE_VERSION
874 PACKAGE_TARNAME
875 PACKAGE_NAME
876 PATH_SEPARATOR
877 SHELL'
878 ac_subst_files='MCONFIG
879 MAKEFILE_ELF
880 MAKEFILE_BSDLIB
881 MAKEFILE_PROFILE
882 MAKEFILE_LIBRARY
883 ASM_TYPES_HEADER
884 PUBLIC_CONFIG_HEADER'
885 ac_user_opts='
886 enable_option_checking
887 with_diet_libc
888 with_cc
889 with_ccopts
890 with_ldopts
891 with_root_prefix
892 enable_maintainer_mode
893 enable_symlink_install
894 enable_relative_symlinks
895 enable_symlink_relative_symlinks
896 enable_symlink_build
897 enable_verbose_makecmds
898 enable_elf_shlibs
899 enable_bsd_shlibs
900 enable_profile
901 enable_gcov
902 enable_hardening
903 enable_jbd_debug
904 enable_blkid_debug
905 enable_testio_debug
906 enable_developer_features
907 enable_libuuid
908 enable_libblkid
909 enable_subset
910 enable_backtrace
911 enable_debugfs
912 enable_imager
913 enable_resizer
914 enable_defrag
915 enable_fsck
916 enable_e2initrd_helper
917 enable_tls
918 with_pthread
919 enable_uuidd
920 enable_mmp
921 enable_tdb
922 enable_bmap_stats
923 enable_bmap_stats_ops
924 enable_nls
925 with_gnu_ld
926 enable_rpath
927 with_libiconv_prefix
928 with_libintl_prefix
929 enable_largefile
930 with_libarchive
931 enable_fuse2fs
932 enable_lto
933 enable_ubsan
934 enable_addrsan
935 enable_threadsan
936 enable_fuzzing
937 with_multiarch
938 with_udev_rules_dir
939 with_crond_dir
940 with_systemd_unit_dir
941 enable_year2038
942 '
943 ac_precious_vars='build_alias
944 host_alias
945 target_alias
946 CC
947 CFLAGS
948 LDFLAGS
949 LIBS
950 CPPFLAGS
951 CPP
952 PKG_CONFIG
953 PKG_CONFIG_PATH
954 PKG_CONFIG_LIBDIR
955 ARCHIVE_CFLAGS
956 ARCHIVE_LIBS
957 fuse3_CFLAGS
958 fuse3_LIBS
959 CXX
960 CXXFLAGS
961 CCC
962 udev_CFLAGS
963 udev_LIBS
964 systemd_CFLAGS
965 systemd_LIBS'
966
967
968 # Initialize some variables set by options.
969 ac_init_help=
970 ac_init_version=false
971 ac_unrecognized_opts=
972 ac_unrecognized_sep=
973 # The variables have the same names as the options, with
974 # dashes changed to underlines.
975 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
976 exec_prefix=NONE
977 no_create=
978 no_recursion=
979 prefix=NONE
980 program_prefix=NONE
981 program_suffix=NONE
982 program_transform_name=s,x,x,
983 silent=
984 site=
985 srcdir=
986 verbose=
987 x_includes=NONE
988 x_libraries=NONE
989
990 # Installation directory options.
991 # These are left unexpanded so users can "make install exec_prefix=/foo"
992 # and all the variables that are supposed to be based on exec_prefix
993 # by default will actually change.
994 # Use braces instead of parens because sh, perl, etc. also accept them.
995 # (The list follows the same order as the GNU Coding Standards.)
996 bindir='${exec_prefix}/bin'
997 sbindir='${exec_prefix}/sbin'
998 libexecdir='${exec_prefix}/libexec'
999 datarootdir='${prefix}/share'
1000 datadir='${datarootdir}'
1001 sysconfdir='${prefix}/etc'
1002 sharedstatedir='${prefix}/com'
1003 localstatedir='${prefix}/var'
1004 runstatedir='${localstatedir}/run'
1005 includedir='${prefix}/include'
1006 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
1007 docdir='${datarootdir}/doc/${PACKAGE}'
1008 infodir='${datarootdir}/info'
1009 htmldir='${docdir}'
1010 dvidir='${docdir}'
1011 pdfdir='${docdir}'
1012 psdir='${docdir}'
1013 libdir='${exec_prefix}/lib'
1014 localedir='${datarootdir}/locale'
1015 mandir='${datarootdir}/man'
1016
1017 ac_prev=
1018 ac_dashdash=
1019 for ac_option
1020 do
1021 # If the previous option needs an argument, assign it.
1022 if testscip-shell system . . test. -n "$ac_prev"; then
1023 eval $ac_prev=\$ac_option
1024 ac_prev=
1025 continue
1026 fi
1027
1028 case $ac_option in
1029 *=?*) ac_optarg=`exprscip-shell system . . expr. "X$ac_option" : '[^=]*=\(.*\)'` ;;
1030 *=) ac_optarg= ;;
1031 *) ac_optarg=yes ;;
1032 esac
1033
1034 case $ac_dashdash$ac_option in
1035 --)
1036 ac_dashdash=yes ;;
1037
1038 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1039 ac_prev=bindir ;;
1040 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1041 bindir=$ac_optarg ;;
1042
1043 -build | --build | --buil | --bui | --bu)
1044 ac_prev=build_alias ;;
1045 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1046 build_alias=$ac_optarg ;;
1047
1048 -cache-file | --cache-file | --cache-fil | --cache-fi \
1049 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1050 ac_prev=cache_file ;;
1051 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1052 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1053 cache_file=$ac_optarg ;;
1054
1055 --config-cache | -C)
1056 cache_file=config.cache ;;
1057
1058 -datadir | --datadir | --datadi | --datad)
1059 ac_prev=datadir ;;
1060 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1061 datadir=$ac_optarg ;;
1062
1063 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1064 | --dataroo | --dataro | --datar)
1065 ac_prev=datarootdir ;;
1066 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1067 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1068 datarootdir=$ac_optarg ;;
1069
1070 -disable-* | --disable-*)
1071 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1074 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "invalid feature name: '$ac_useropt'"
1075 ac_useropt_orig=$ac_useropt
1076 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1078 *"
1079 "enable_$ac_useropt"
1080 "*) ;;
1081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1082 ac_unrecognized_sep=', ';;
1083 esac
1084 eval enable_$ac_useropt=no ;;
1085
1086 -docdir | --docdir | --docdi | --doc | --do)
1087 ac_prev=docdir ;;
1088 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1089 docdir=$ac_optarg ;;
1090
1091 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1092 ac_prev=dvidir ;;
1093 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1094 dvidir=$ac_optarg ;;
1095
1096 -enable-* | --enable-*)
1097 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1100 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "invalid feature name: '$ac_useropt'"
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1104 *"
1105 "enable_$ac_useropt"
1106 "*) ;;
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1109 esac
1110 eval enable_$ac_useropt=\$ac_optarg ;;
1111
1112 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1113 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1114 | --exec | --exe | --ex)
1115 ac_prev=exec_prefix ;;
1116 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1117 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1118 | --exec=* | --exe=* | --ex=*)
1119 exec_prefix=$ac_optarg ;;
1120
1121 -gas | --gas | --ga | --g)
1122 # Obsolete; use --with-gas.
1123 with_gas=yes ;;
1124
1125 -help | --help | --hel | --he | -h)
1126 ac_init_help=long ;;
1127 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1128 ac_init_help=recursive ;;
1129 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1130 ac_init_help=short ;;
1131
1132 -host | --host | --hos | --ho)
1133 ac_prev=host_alias ;;
1134 -host=* | --host=* | --hos=* | --ho=*)
1135 host_alias=$ac_optarg ;;
1136
1137 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1138 ac_prev=htmldir ;;
1139 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1140 | --ht=*)
1141 htmldir=$ac_optarg ;;
1142
1143 -includedir | --includedir | --includedi | --included | --include \
1144 | --includ | --inclu | --incl | --inc)
1145 ac_prev=includedir ;;
1146 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1147 | --includ=* | --inclu=* | --incl=* | --inc=*)
1148 includedir=$ac_optarg ;;
1149
1150 -infodir | --infodir | --infodi | --infod | --info | --inf)
1151 ac_prev=infodir ;;
1152 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1153 infodir=$ac_optarg ;;
1154
1155 -libdir | --libdir | --libdi | --libd)
1156 ac_prev=libdir ;;
1157 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1158 libdir=$ac_optarg ;;
1159
1160 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1161 | --libexe | --libex | --libe)
1162 ac_prev=libexecdir ;;
1163 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1164 | --libexe=* | --libex=* | --libe=*)
1165 libexecdir=$ac_optarg ;;
1166
1167 -localedir | --localedir | --localedi | --localed | --locale)
1168 ac_prev=localedir ;;
1169 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1170 localedir=$ac_optarg ;;
1171
1172 -localstatedir | --localstatedir | --localstatedi | --localstated \
1173 | --localstate | --localstat | --localsta | --localst | --locals)
1174 ac_prev=localstatedir ;;
1175 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1176 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1177 localstatedir=$ac_optarg ;;
1178
1179 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1180 ac_prev=mandir ;;
1181 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1182 mandir=$ac_optarg ;;
1183
1184 -nfp | --nfp | --nf)
1185 # Obsolete; use --without-fp.
1186 with_fp=no ;;
1187
1188 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1189 | --no-cr | --no-c | -n)
1190 no_create=yes ;;
1191
1192 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1193 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1194 no_recursion=yes ;;
1195
1196 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1197 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1198 | --oldin | --oldi | --old | --ol | --o)
1199 ac_prev=oldincludedir ;;
1200 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1201 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1202 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1203 oldincludedir=$ac_optarg ;;
1204
1205 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1206 ac_prev=prefix ;;
1207 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1208 prefix=$ac_optarg ;;
1209
1210 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1211 | --program-pre | --program-pr | --program-p)
1212 ac_prev=program_prefix ;;
1213 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1214 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1215 program_prefix=$ac_optarg ;;
1216
1217 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1218 | --program-suf | --program-su | --program-s)
1219 ac_prev=program_suffix ;;
1220 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1221 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1222 program_suffix=$ac_optarg ;;
1223
1224 -program-transform-name | --program-transform-name \
1225 | --program-transform-nam | --program-transform-na \
1226 | --program-transform-n | --program-transform- \
1227 | --program-transform | --program-transfor \
1228 | --program-transfo | --program-transf \
1229 | --program-trans | --program-tran \
1230 | --progr-tra | --program-tr | --program-t)
1231 ac_prev=program_transform_name ;;
1232 -program-transform-name=* | --program-transform-name=* \
1233 | --program-transform-nam=* | --program-transform-na=* \
1234 | --program-transform-n=* | --program-transform-=* \
1235 | --program-transform=* | --program-transfor=* \
1236 | --program-transfo=* | --program-transf=* \
1237 | --program-trans=* | --program-tran=* \
1238 | --progr-tra=* | --program-tr=* | --program-t=*)
1239 program_transform_name=$ac_optarg ;;
1240
1241 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1242 ac_prev=pdfdir ;;
1243 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1244 pdfdir=$ac_optarg ;;
1245
1246 -psdir | --psdir | --psdi | --psd | --ps)
1247 ac_prev=psdir ;;
1248 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1249 psdir=$ac_optarg ;;
1250
1251 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1252 | -silent | --silent | --silen | --sile | --sil)
1253 silent=yes ;;
1254
1255 -runstatedir | --runstatedir | --runstatedi | --runstated \
1256 | --runstate | --runstat | --runsta | --runst | --runs \
1257 | --run | --ru | --r)
1258 ac_prev=runstatedir ;;
1259 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1260 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1261 | --run=* | --ru=* | --r=*)
1262 runstatedir=$ac_optarg ;;
1263
1264 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1265 ac_prev=sbindir ;;
1266 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1267 | --sbi=* | --sb=*)
1268 sbindir=$ac_optarg ;;
1269
1270 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1271 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1272 | --sharedst | --shareds | --shared | --share | --shar \
1273 | --sha | --sh)
1274 ac_prev=sharedstatedir ;;
1275 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1276 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1277 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1278 | --sha=* | --sh=*)
1279 sharedstatedir=$ac_optarg ;;
1280
1281 -site | --site | --sit)
1282 ac_prev=site ;;
1283 -site=* | --site=* | --sit=*)
1284 site=$ac_optarg ;;
1285
1286 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1287 ac_prev=srcdir ;;
1288 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1289 srcdir=$ac_optarg ;;
1290
1291 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1292 | --syscon | --sysco | --sysc | --sys | --sy)
1293 ac_prev=sysconfdir ;;
1294 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1295 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1296 sysconfdir=$ac_optarg ;;
1297
1298 -target | --target | --targe | --targ | --tar | --ta | --t)
1299 ac_prev=target_alias ;;
1300 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1301 target_alias=$ac_optarg ;;
1302
1303 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1304 verbose=yes ;;
1305
1306 -version | --version | --versio | --versi | --vers | -V)
1307 ac_init_version=: ;;
1308
1309 -with-* | --with-*)
1310 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
1311 # Reject names that are not valid shell variable names.
1312 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1313 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "invalid package name: '$ac_useropt'"
1314 ac_useropt_orig=$ac_useropt
1315 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1316 case $ac_user_opts in
1317 *"
1318 "with_$ac_useropt"
1319 "*) ;;
1320 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1321 ac_unrecognized_sep=', ';;
1322 esac
1323 eval with_$ac_useropt=\$ac_optarg ;;
1324
1325 -without-* | --without-*)
1326 ac_useropt=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
1327 # Reject names that are not valid shell variable names.
1328 exprscip-shell system . . expr. "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1329 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "invalid package name: '$ac_useropt'"
1330 ac_useropt_orig=$ac_useropt
1331 ac_useropt=`printfscip-shell system . . printf. "%s\n" "$ac_useropt" | sedscip-shell system . . sed. 's/[-+.]/_/g'`
1332 case $ac_user_opts in
1333 *"
1334 "with_$ac_useropt"
1335 "*) ;;
1336 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1337 ac_unrecognized_sep=', ';;
1338 esac
1339 eval with_$ac_useropt=no ;;
1340
1341 --x)
1342 # Obsolete; use --with-x.
1343 with_x=yes ;;
1344
1345 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1346 | --x-incl | --x-inc | --x-in | --x-i)
1347 ac_prev=x_includes ;;
1348 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1349 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1350 x_includes=$ac_optarg ;;
1351
1352 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1353 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1354 ac_prev=x_libraries ;;
1355 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1356 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1357 x_libraries=$ac_optarg ;;
1358
1359 -*) as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "unrecognized option: '$ac_option'
1360 Try '$0 --help' for more information"
1361 ;;
1362
1363 *=*)
1364 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
1365 # Reject names that are not valid shell variable names.
1366 case $ac_envvar in #(
1367 '' | [0-9]* | *[!_$as_cr_alnum]* )
1368 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "invalid variable name: '$ac_envvar'" ;;
1369 esac
1370 eval $ac_envvar=\$ac_optarg
1371 export $ac_envvar ;;
1372
1373 *)
1374 # FIXME: should be removed in autoconf 3.0.
1375 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1376 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
1377 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1378 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1379 ;;
1380
1381 esac
1382 done
1383
1384 if testscip-shell system . . test. -n "$ac_prev"; then
1385 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
1386 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "missing argument to $ac_option"
1387 fi
1388
1389 if testscip-shell system . . test. -n "$ac_unrecognized_opts"; then
1390 case $enable_option_checking in
1391 no) ;;
1392 fatal) as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "unrecognized options: $ac_unrecognized_opts" ;;
1393 *) printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1394 esac
1395 fi
1396
1397 # Check all directory arguments for consistency.
1398 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1399 datadir sysconfdir sharedstatedir localstatedir includedir \
1400 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1401 libdir localedir mandir runstatedir
1402 do
1403 eval ac_val=\$$ac_var
1404 # Remove trailing slashes.
1405 case $ac_val in
1406 */ )
1407 ac_val=`exprscip-shell system . . expr. "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1408 eval $ac_var=\$ac_val;;
1409 esac
1410 # Be sure to have absolute directory names.
1411 case $ac_val in
1412 [\\/$]* | ?:[\\/]* ) continue;;
1413 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1414 esac
1415 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "expected an absolute directory name for --$ac_var: $ac_val"
1416 done
1417
1418 # There might be people who depend on the old broken behavior: '$host'
1419 # used to hold the argument of --host etc.
1420 # FIXME: To remove some day.
1421 build=$build_alias
1422 host=$host_alias
1423 target=$target_alias
1424
1425 # FIXME: To remove some day.
1426 if testscip-shell system . . test. "x$host_alias" != x; then
1427 if testscip-shell system . . test. "x$build_alias" = x; then
1428 cross_compiling=maybe
1429 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
1430 cross_compiling=yes
1431 fi
1432 fi
1433
1434 ac_tool_prefix=
1435 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
1436
1437 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
1438
1439
1440 ac_pwd=`pwdscip-shell system . . pwd.` && testscip-shell system . . test. -n "$ac_pwd" &&
1441 ac_ls_di=`lsscip-shell system . . ls. -di .` &&
1442 ac_pwd_ls_di=`cd "$ac_pwd" && lsscip-shell system . . ls. -di .` ||
1443 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "working directory cannot be determined"
1444 testscip-shell system . . test. "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1445 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "pwd does not report name of working directory"
1446
1447
1448 # Find the source files, if location was not specified.
1449 if testscip-shell system . . test. -z "$srcdir"; then
1450 ac_srcdir_defaulted=yes
1451 # Try the directory containing this script, then the parent directory.
1452 ac_confdir=`$as_dirname -- "$as_myself" ||
1453 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1454 X"$as_myself" : 'X\(//\)[^/]' \| \
1455 X"$as_myself" : 'X\(//\)$' \| \
1456 X"$as_myself" : 'X\(/\)' \| . 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
1457 printfscip-shell system . . printf. "%s\n" X"$as_myself" |
1458 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1459 s//\1/
1460 q
1461 }
1462 /^X\(\/\/\)[^/].*/{
1463 s//\1/
1464 q
1465 }
1466 /^X\(\/\/\)$/{
1467 s//\1/
1468 q
1469 }
1470 /^X\(\/\).*/{
1471 s//\1/
1472 q
1473 }
1474 s/.*/./; q'`
1475 srcdir=$ac_confdir
1476 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1477 srcdir=..
1478 fi
1479 else
1480 ac_srcdir_defaulted=no
1481 fi
1482 if testscip-shell system . . test. ! -r "$srcdir/$ac_unique_file"; then
1483 testscip-shell system . . test. "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1484 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "cannot find sources ($ac_unique_file) in $srcdir"
1485 fi
1486 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1487 ac_abs_confdir=`(
1488 cd "$srcdir" && testscip-shell system . . test. -r "./$ac_unique_file" || as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "$ac_msg"
1489 pwdscip-shell system . . pwd.)`
1490 # When building in place, set srcdir=.
1491 if testscip-shell system . . test. "$ac_abs_confdir" = "$ac_pwd"; then
1492 srcdir=.
1493 fi
1494 # Remove unnecessary trailing slashes from srcdir.
1495 # Double slashes in file names in object file debugging info
1496 # mess up M-x gdb in Emacs.
1497 case $srcdir in
1498 */) srcdir=`exprscip-shell system . . expr. "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1499 esac
1500 for ac_var in $ac_precious_vars; do
1501 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1502 eval ac_env_${ac_var}_value=\$${ac_var}
1503 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1504 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1505 done
1506
1507 #
1508 # Report the --help message.
1509 #
1510 if testscip-shell system . . test. "$ac_init_help" = "long"; then
1511 # Omit some internal or obsolete options to make the list less imposing.
1512 # This message is too long to be a string in the A/UX 3.1 sh.
1513 catscip-shell system . . cat. <<_ACEOF
1514 'configure' configures this package to adapt to many kinds of systems.
1515
1516 Usage: $0 [OPTION]... [VAR=VALUE]...
1517
1518 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1519 VAR=VALUE. See below for descriptions of some of the useful variables.
1520
1521 Defaults for the options are specified in brackets.
1522
1523 Configuration:
1524 -h, --help display this help and exit
1525 --help=short display options specific to this package
1526 --help=recursive display the short help of all the included packages
1527 -V, --version display version information and exit
1528 -q, --quiet, --silent do not print 'checking ...' messages
1529 --cache-file=FILE cache test results in FILE [disabled]
1530 -C, --config-cache alias for '--cache-file=config.cache'
1531 -n, --no-create do not create output files
1532 --srcdir=DIR find the sources in DIR [configure dir or '..']
1533
1534 Installation directories:
1535 --prefix=PREFIX install architecture-independent files in PREFIX
1536 [$ac_default_prefix]
1537 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1538 [PREFIX]
1539
1540 By default, 'make install' will install all the files in
1541 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1542 an installation prefix other than '$ac_default_prefix' using '--prefix',
1543 for instance '--prefix=\$HOME'.
1544
1545 For better control, use the options below.
1546
1547 Fine tuning of the installation directories:
1548 --bindir=DIR user executables [EPREFIX/bin]
1549 --sbindir=DIR system admin executables [EPREFIX/sbin]
1550 --libexecdir=DIR program executables [EPREFIX/libexec]
1551 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1552 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1553 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1554 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1555 --libdir=DIR object code libraries [EPREFIX/lib]
1556 --includedir=DIR C header files [PREFIX/include]
1557 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1558 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1559 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1560 --infodir=DIR info documentation [DATAROOTDIR/info]
1561 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1562 --mandir=DIR man documentation [DATAROOTDIR/man]
1563 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1564 --htmldir=DIR html documentation [DOCDIR]
1565 --dvidir=DIR dvi documentation [DOCDIR]
1566 --pdfdir=DIR pdf documentation [DOCDIR]
1567 --psdir=DIR ps documentation [DOCDIR]
1568 _ACEOF
1569
1570 catscip-shell system . . cat. <<\_ACEOF
1571
1572 System types:
1573 --build=BUILD configure for building on BUILD [guessed]
1574 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1575 _ACEOF
1576 fi
1577
1578 if testscip-shell system . . test. -n "$ac_init_help"; then
1579
1580 catscip-shell system . . cat. <<\_ACEOF
1581
1582 Optional Features:
1583 --disable-option-checking ignore unrecognized --enable/--with options
1584 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1585 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1586 --enable-maintainer-mode
1587 enable makefile rules useful for maintainers
1588 --enable-symlink-install
1589 use symlinks when installing instead of hard links
1590 --enable-relative-symlinks
1591 use relative symlinks when installing
1592
1593 --enable-symlink-build use symlinks while building instead of hard links
1594 --enable-verbose-makecmds
1595 enable verbose make command output
1596 --enable-elf-shlibs select ELF shared libraries
1597 --enable-bsd-shlibs select BSD shared libraries
1598 --enable-profile build profiling libraries
1599 --enable-gcov build for coverage testing using gcov
1600 --enable-hardening build with hardening flags such as fortify
1601 --enable-jbd-debug enable journal debugging
1602 --enable-blkid-debug enable blkid debugging
1603 --disable-testio-debug disable the use of the test I/O manager for
1604 debugging
1605 --enable-developer-features
1606 enable features for use by ext4 developers
1607 --enable-libuuid build and use private uuid library
1608 --enable-libblkid build and use private blkid library
1609 --enable-subset enable subset-only build
1610 --disable-backtrace disable use backtrace
1611 --disable-debugfs disable support of debugfs program
1612 --disable-imager disable support of e2image program
1613 --disable-resizer disable support of e2resize program
1614 --disable-defrag disable support of e4defrag program
1615 --enable-fsck build fsck wrapper program
1616 --enable-e2initrd-helper
1617 build e2initrd-helper program
1618 --disable-tls disable use of thread local support
1619 --disable-uuidd disable building the uuid daemon
1620 --disable-mmp disable support mmp, Multi Mount Protection
1621 --disable-tdb disable tdb support
1622 --disable-bmap-stats disable collection of bitmap stats
1623 --enable-bmap-stats-ops enable collection of additional bitmap stats
1624 --disable-nls do not use Native Language Support
1625 --disable-rpath do not hardcode runtime library paths
1626 --disable-largefile omit support for large files
1627 --disable-fuse2fs do not build fuse2fs
1628 --enable-lto enable link time optimization
1629 --enable-ubsan enable undefined behavior sanitizer
1630 --enable-addrsan enable address sanitizer
1631 --enable-threadsan enable thread sanitizer
1632 --enable-fuzzing enable fuzzing sanitizer
1633 --enable-year2038 support timestamps after 2038
1634
1635 Optional Packages:
1636 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1637 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1638 --with-diet-libc use diet libc
1639 --with-cc no longer supported, use CC= instead
1640 --with-ccopts no longer supported, use CFLAGS= instead
1641 --with-ldopts no longer supported, use LDFLAGS= instead
1642 --with-root-prefix=PREFIX
1643 override prefix variable for files to be placed in
1644 the root
1645 --without-pthread disable use of pthread support
1646 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1647 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1648 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1649 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1650 --without-libintl-prefix don't search for libintl in includedir and libdir
1651 --without-libarchive disable use of libarchive
1652 --with-multiarch=ARCH specify the multiarch triplet
1653 --with-udev-rules-dir[=DIR]
1654 Install udev rules into DIR.
1655 --with-crond-dir[=DIR] Install system crontabs into DIR.
1656 --with-systemd-unit-dir[=DIR]
1657 Install systemd system units into DIR.
1658
1659 Some influential environment variables:
1660 CC C compiler command
1661 CFLAGS C compiler flags
1662 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1663 nonstandard directory <lib dir>
1664 LIBS libraries to pass to the linker, e.g. -l<library>
1665 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1666 you have headers in a nonstandard directory <include dir>
1667 CPP C preprocessor
1668 PKG_CONFIG path to pkg-config utility
1669 PKG_CONFIG_PATH
1670 directories to add to pkg-config's search path
1671 PKG_CONFIG_LIBDIR
1672 path overriding pkg-config's built-in search path
1673 ARCHIVE_CFLAGS
1674 C compiler flags for ARCHIVE, overriding pkg-config
1675 ARCHIVE_LIBS
1676 linker flags for ARCHIVE, overriding pkg-config
1677 CXX C++ compiler command
1678 CXXFLAGS C++ compiler flags
1679 udev_CFLAGS C compiler flags for udev, overriding pkg-config
1680 udev_LIBS linker flags for udev, overriding pkg-config
1681 systemd_CFLAGS
1682 C compiler flags for systemd, overriding pkg-config
1683 systemd_LIBS
1684 linker flags for systemd, overriding pkg-config
1685
1686 Use these variables to override the choices made by 'configure' or to help
1687 it to find libraries and programs with nonstandard names/locations.
1688
1689 Report bugs to the package provider.
1690 _ACEOF
1691 ac_status=$?
1692 fi
1693
1694 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
1695 # If there are subdirs, report their specific --help.
1696 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
1697 testscip-shell system . . test. -d "$ac_dir" ||
1698 { cd "$srcdir" && ac_pwd=`pwdscip-shell system . . pwd.` && srcdir=. && testscip-shell system . . test. -d "$ac_dir"; } ||
1699 continue
1700 ac_builddir=.
1701
1702 case "$ac_dir" in
1703 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1704 *)
1705 ac_dir_suffix=/`printfscip-shell system . . printf. "%s\n" "$ac_dir" | sedscip-shell system . . sed. 's|^\.[\\/]||'`
1706 # A ".." for each directory in $ac_dir_suffix.
1707 ac_top_builddir_sub=`printfscip-shell system . . printf. "%s\n" "$ac_dir_suffix" | sedscip-shell system . . sed. 's|/[^\\/]*|/..|g;s|/||'`
1708 case $ac_top_builddir_sub in
1709 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1710 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1711 esac ;;
1712 esac
1713 ac_abs_top_builddir=$ac_pwd
1714 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1715 # for backward compatibility:
1716 ac_top_builddir=$ac_top_build_prefix
1717
1718 case $srcdir in
1719 .) # We are building in place.
1720 ac_srcdir=.
1721 ac_top_srcdir=$ac_top_builddir_sub
1722 ac_abs_top_srcdir=$ac_pwd ;;
1723 [\\/]* | ?:[\\/]* ) # Absolute name.
1724 ac_srcdir=$srcdir$ac_dir_suffix;
1725 ac_top_srcdir=$srcdir
1726 ac_abs_top_srcdir=$srcdir ;;
1727 *) # Relative name.
1728 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1729 ac_top_srcdir=$ac_top_build_prefix$srcdir
1730 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1731 esac
1732 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1733
1734 cd "$ac_dir" || { ac_status=$?; continue; }
1735 # Check for configure.gnu first; this name is used for a wrapper for
1736 # Metaconfig's "Configure" on case-insensitive file systems.
1737 if testscip-shell system . . test. -f "$ac_srcdir/configure.gnu"; then
1738 echoscip-shell system . . echo. &&
1739 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1740 elif testscip-shell system . . test. -f "$ac_srcdir/configure"; then
1741 echoscip-shell system . . echo. &&
1742 $SHELL "$ac_srcdir/configure" --help=recursive
1743 else
1744 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1745 fi || ac_status=$?
1746 cd "$ac_pwd" || { ac_status=$?; break; }
1747 done
1748 fi
1749
1750 testscip-shell system . . test. -n "$ac_init_help" && exit $ac_status
1751 if $ac_init_version; then
1752 catscip-shell system . . cat. <<\_ACEOF
1753 configure
1754 generated by GNU Autoconf 2.72
1755
1756 Copyright (C) 2023 Free Software Foundation, Inc.
1757 This configure script is free software; the Free Software Foundation
1758 gives unlimited permission to copy, distribute and modify it.
1759 _ACEOF
1760 exit
1761 fi
1762
1763 ## ------------------------ ##
1764 ## Autoconf initialization. ##
1765 ## ------------------------ ##
1766
1767 # ac_fn_c_try_compile LINENO
1768 # --------------------------
1769 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). ()
1771 {
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
1774 if { { ac_try="$ac_compile"
1775 case "(($ac_try" in
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1778 esac
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1781 (eval "$ac_compile") 2>conftest.err
1782 ac_status=$?
1783 if testscip-shell system . . test. -s conftest.err; then
1784 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1785 catscip-shell system . . cat. conftest.er1 >&5
1786 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1787 fi
1788 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 testscip-shell system . . test. $ac_status = 0; } && {
1790 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1791 testscip-shell system . . test. ! -s conftest.err
1792 } && testscip-shell system . . test. -s conftest.$ac_objext
1793 then :
1794 ac_retval=0
1795 else case e in #(
1796 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1797 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1798
1799 ac_retval=1 ;;
1800 esac
1801 fi
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 as_fn_set_statusscip-shell shell e2fsprogs 1.47.4-1 as_fn_set_status(). $ac_retval
1804
1805 } # ac_fn_c_try_compile
1806
1807 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1808 # -------------------------------------------------------
1809 # Tests whether HEADER exists and can be compiled using the include files in
1810 # INCLUDES, setting the cache variable VAR accordingly.
1811 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). ()
1812 {
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1816 if eval test \${$3+y}
1817 then :
1818 printfscip-shell system . . printf. %s "(cached) " >&6
1819 else case e in #(
1820 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1821 /* end confdefs.h. */
1822 $4
1823 #include <$2>
1824 _ACEOF
1825 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
1826 then :
1827 eval "$3=yes"
1828 else case e in #(
1829 e) eval "$3=no" ;;
1830 esac
1831 fi
1832 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1833 esac
1834 fi
1835 eval ac_res=\$$3
1836 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
1838 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839
1840 } # ac_fn_c_check_header_compile
1841
1842 # ac_fn_c_try_link LINENO
1843 # -----------------------
1844 # Try to link conftest.$ac_ext, and return whether this succeeded.
1845 ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). ()
1846 {
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1849 if { { ac_try="$ac_link"
1850 case "(($ac_try" in
1851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852 *) ac_try_echo=$ac_try;;
1853 esac
1854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1856 (eval "$ac_link") 2>conftest.err
1857 ac_status=$?
1858 if testscip-shell system . . test. -s conftest.err; then
1859 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1860 catscip-shell system . . cat. conftest.er1 >&5
1861 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1862 fi
1863 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 testscip-shell system . . test. $ac_status = 0; } && {
1865 testscip-shell system . . test. -z "$ac_c_werror_flag" ||
1866 testscip-shell system . . test. ! -s conftest.err
1867 } && testscip-shell system . . test. -s conftest$ac_exeext && {
1868 testscip-shell system . . test. "$cross_compiling" = yes ||
1869 testscip-shell system . . test. -x conftest$ac_exeext
1870 }
1871 then :
1872 ac_retval=0
1873 else case e in #(
1874 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1875 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1876
1877 ac_retval=1 ;;
1878 esac
1879 fi
1880 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1881 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1882 # interfere with the next link command; also delete a directory that is
1883 # left behind by Apple's compiler. We do this before executing the actions.
1884 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886 as_fn_set_statusscip-shell shell e2fsprogs 1.47.4-1 as_fn_set_status(). $ac_retval
1887
1888 } # ac_fn_c_try_link
1889
1890 # ac_fn_c_try_cpp LINENO
1891 # ----------------------
1892 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1893 ac_fn_c_try_cppscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_cpp(). ()
1894 {
1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896 if { { ac_try="$ac_cpp conftest.$ac_ext"
1897 case "(($ac_try" in
1898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899 *) ac_try_echo=$ac_try;;
1900 esac
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1904 ac_status=$?
1905 if testscip-shell system . . test. -s conftest.err; then
1906 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
1907 catscip-shell system . . cat. conftest.er1 >&5
1908 mvscip-shell system . . mv. -f conftest.er1 conftest.err
1909 fi
1910 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911 testscip-shell system . . test. $ac_status = 0; } > conftest.i && {
1912 testscip-shell system . . test. -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1913 testscip-shell system . . test. ! -s conftest.err
1914 }
1915 then :
1916 ac_retval=0
1917 else case e in #(
1918 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1919 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1920
1921 ac_retval=1 ;;
1922 esac
1923 fi
1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925 as_fn_set_statusscip-shell shell e2fsprogs 1.47.4-1 as_fn_set_status(). $ac_retval
1926
1927 } # ac_fn_c_try_cpp
1928
1929 # ac_fn_c_try_run LINENO
1930 # ----------------------
1931 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1932 # executables *can* be run.
1933 ac_fn_c_try_runscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_run(). ()
1934 {
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 if { { ac_try="$ac_link"
1937 case "(($ac_try" in
1938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1939 *) ac_try_echo=$ac_try;;
1940 esac
1941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1943 (eval "$ac_link") 2>&5
1944 ac_status=$?
1945 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1946 testscip-shell system . . test. $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1947 { { case "(($ac_try" in
1948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1949 *) ac_try_echo=$ac_try;;
1950 esac
1951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
1953 (eval "$ac_try") 2>&5
1954 ac_status=$?
1955 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956 testscip-shell system . . test. $ac_status = 0; }; }
1957 then :
1958 ac_retval=0
1959 else case e in #(
1960 e) printfscip-shell system . . printf. "%s\n" "$as_me: program exited with status $ac_status" >&5
1961 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
1962 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1963
1964 ac_retval=$ac_status ;;
1965 esac
1966 fi
1967 rmscip-shell system . . rm. -rf conftest.dSYM conftest_ipa8_conftest.oo
1968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 as_fn_set_statusscip-shell shell e2fsprogs 1.47.4-1 as_fn_set_status(). $ac_retval
1970
1971 } # ac_fn_c_try_run
1972
1973 # ac_fn_c_check_func LINENO FUNC VAR
1974 # ----------------------------------
1975 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1976 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). ()
1977 {
1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1980 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
1981 if eval test \${$3+y}
1982 then :
1983 printfscip-shell system . . printf. %s "(cached) " >&6
1984 else case e in #(
1985 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1987 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1989 #define $2 innocuous_$2
1990
1991 /* System header to define __stub macros and hopefully few prototypes,
1992 which can conflict with char $2 (void); below. */
1993
1994 #include <limits.h>
1995 #undef $2
1996
1997 /* Override any GCC internal prototype to avoid an error.
1998 Use char because int might match the return type of a GCC
1999 builtin and then its argument prototype would still apply. */
2000 #ifdef __cplusplus
2001 extern "C"
2002 #endif
2003 char $2 (void);
2004 /* The GNU C library defines this for functions which it implements
2005 to always fail with ENOSYS. Some functions are actually named
2006 something starting with __ and the normal name is an alias. */
2007 #if defined __stub_$2 || defined __stub___$2
2008 choke me
2009 #endif
2010
2011 int
2012 main (void)
2013 {
2014 return $2 ();
2015 ;
2016 return 0;
2017 }
2018 _ACEOF
2019 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
2020 then :
2021 eval "$3=yes"
2022 else case e in #(
2023 e) eval "$3=no" ;;
2024 esac
2025 fi
2026 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
2027 conftest$ac_exeext conftest.$ac_ext ;;
2028 esac
2029 fi
2030 eval ac_res=\$$3
2031 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2032 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2033 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2034
2035 } # ac_fn_c_check_func
2036
2037 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2038 # ----------------------------------------------------
2039 # Tries to find if the field MEMBER exists in type AGGR, after including
2040 # INCLUDES, setting cache variable VAR accordingly.
2041 ac_fn_c_check_memberscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_member(). ()
2042 {
2043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2045 printfscip-shell system . . printf. %s "checking for $2.$3... " >&6; }
2046 if eval test \${$4+y}
2047 then :
2048 printfscip-shell system . . printf. %s "(cached) " >&6
2049 else case e in #(
2050 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2051 /* end confdefs.h. */
2052 $5
2053 int
2054 main (void)
2055 {
2056 static $2 ac_aggr;
2057 if (ac_aggr.$3)
2058 return 0;
2059 ;
2060 return 0;
2061 }
2062 _ACEOF
2063 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
2064 then :
2065 eval "$4=yes"
2066 else case e in #(
2067 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2069 $5
2070 int
2071 main (void)
2072 {
2073 static $2 ac_aggr;
2074 if (sizeof ac_aggr.$3)
2075 return 0;
2076 ;
2077 return 0;
2078 }
2079 _ACEOF
2080 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
2081 then :
2082 eval "$4=yes"
2083 else case e in #(
2084 e) eval "$4=no" ;;
2085 esac
2086 fi
2087 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2088 esac
2089 fi
2090 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2091 esac
2092 fi
2093 eval ac_res=\$$4
2094 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2097
2098 } # ac_fn_c_check_member
2099
2100 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2101 # -------------------------------------------
2102 # Tests whether TYPE exists after having included INCLUDES, setting cache
2103 # variable VAR accordingly.
2104 ac_fn_c_check_typescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_type(). ()
2105 {
2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2108 printfscip-shell system . . printf. %s "checking for $2... " >&6; }
2109 if eval test \${$3+y}
2110 then :
2111 printfscip-shell system . . printf. %s "(cached) " >&6
2112 else case e in #(
2113 e) eval "$3=no"
2114 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2116 $4
2117 int
2118 main (void)
2119 {
2120 if (sizeof ($2))
2121 return 0;
2122 ;
2123 return 0;
2124 }
2125 _ACEOF
2126 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
2127 then :
2128 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h. */
2130 $4
2131 int
2132 main (void)
2133 {
2134 if (sizeof (($2)))
2135 return 0;
2136 ;
2137 return 0;
2138 }
2139 _ACEOF
2140 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
2141 then :
2142
2143 else case e in #(
2144 e) eval "$3=yes" ;;
2145 esac
2146 fi
2147 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2148 fi
2149 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2150 esac
2151 fi
2152 eval ac_res=\$$3
2153 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2154 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2156
2157 } # ac_fn_c_check_type
2158
2159 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2160 # ------------------------------------------------------------------
2161 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2162 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2163 ac_fn_check_declscip-shell shell e2fsprogs 1.47.4-1 ac_fn_check_decl(). ()
2164 {
2165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166 as_decl_name=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. 's/ *(.*//'`
2167 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2168 printfscip-shell system . . printf. %s "checking whether $as_decl_name is declared... " >&6; }
2169 if eval test \${$3+y}
2170 then :
2171 printfscip-shell system . . printf. %s "(cached) " >&6
2172 else case e in #(
2173 e) as_decl_use=`echoscip-shell system . . echo. $2|sedscip-shell system . . sed. -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2174 eval ac_save_FLAGS=\$$6
2175 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). $6 " $5"
2176 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2177 /* end confdefs.h. */
2178 $4
2179 int
2180 main (void)
2181 {
2182 #ifndef $as_decl_name
2183 #ifdef __cplusplus
2184 (void) $as_decl_use;
2185 #else
2186 (void) $as_decl_name;
2187 #endif
2188 #endif
2189
2190 ;
2191 return 0;
2192 }
2193 _ACEOF
2194 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
2195 then :
2196 eval "$3=yes"
2197 else case e in #(
2198 e) eval "$3=no" ;;
2199 esac
2200 fi
2201 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2202 eval $6=\$ac_save_FLAGS
2203 ;;
2204 esac
2205 fi
2206 eval ac_res=\$$3
2207 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2208 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
2209 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2210
2211 } # ac_fn_check_decl
2212
2213 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2214 # --------------------------------------------
2215 # Tries to find the compile-time value of EXPR in a program that includes
2216 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2217 # computed
2218 ac_fn_c_compute_intscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_compute_int(). ()
2219 {
2220 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2221 if testscip-shell system . . test. "$cross_compiling" = yes; then
2222 # Depending upon the size, compute the lo and hi bounds.
2223 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2224 /* end confdefs.h. */
2225 $4
2226 int
2227 main (void)
2228 {
2229 static int test_array [1 - 2 * !(($2) >= 0)];
2230 test_array [0] = 0;
2231 return test_array [0];
2232
2233 ;
2234 return 0;
2235 }
2236 _ACEOF
2237 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
2238 then :
2239 ac_lo=0 ac_mid=0
2240 while :; do
2241 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2242 /* end confdefs.h. */
2243 $4
2244 int
2245 main (void)
2246 {
2247 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2248 test_array [0] = 0;
2249 return test_array [0];
2250
2251 ;
2252 return 0;
2253 }
2254 _ACEOF
2255 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
2256 then :
2257 ac_hi=$ac_mid; break
2258 else case e in #(
2259 e) as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). $ac_mid + 1 && ac_lo=$as_val
2260 if testscip-shell system . . test. $ac_lo -le $ac_mid; then
2261 ac_lo= ac_hi=
2262 break
2263 fi
2264 as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). 2 '*' $ac_mid + 1 && ac_mid=$as_val ;;
2265 esac
2266 fi
2267 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2268 done
2269 else case e in #(
2270 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2271 /* end confdefs.h. */
2272 $4
2273 int
2274 main (void)
2275 {
2276 static int test_array [1 - 2 * !(($2) < 0)];
2277 test_array [0] = 0;
2278 return test_array [0];
2279
2280 ;
2281 return 0;
2282 }
2283 _ACEOF
2284 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
2285 then :
2286 ac_hi=-1 ac_mid=-1
2287 while :; do
2288 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2289 /* end confdefs.h. */
2290 $4
2291 int
2292 main (void)
2293 {
2294 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2295 test_array [0] = 0;
2296 return test_array [0];
2297
2298 ;
2299 return 0;
2300 }
2301 _ACEOF
2302 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
2303 then :
2304 ac_lo=$ac_mid; break
2305 else case e in #(
2306 e) as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). '(' $ac_mid ')' - 1 && ac_hi=$as_val
2307 if testscip-shell system . . test. $ac_mid -le $ac_hi; then
2308 ac_lo= ac_hi=
2309 break
2310 fi
2311 as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). 2 '*' $ac_mid && ac_mid=$as_val ;;
2312 esac
2313 fi
2314 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2315 done
2316 else case e in #(
2317 e) ac_lo= ac_hi= ;;
2318 esac
2319 fi
2320 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
2321 esac
2322 fi
2323 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2324 # Binary search between lo and hi bounds.
2325 while testscip-shell system . . test. "x$ac_lo" != "x$ac_hi"; do
2326 as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). '(' $ac_hi - $ac_lo ')' /scip-shell filesystem . . `/`. 2 + $ac_lo && ac_mid=$as_val
2327 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2328 /* end confdefs.h. */
2329 $4
2330 int
2331 main (void)
2332 {
2333 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2334 test_array [0] = 0;
2335 return test_array [0];
2336
2337 ;
2338 return 0;
2339 }
2340 _ACEOF
2341 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
2342 then :
2343 ac_hi=$ac_mid
2344 else case e in #(
2345 e) as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). '(' $ac_mid ')' + 1 && ac_lo=$as_val ;;
2346 esac
2347 fi
2348 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2349 done
2350 case $ac_lo in #((
2351 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2352 '') ac_retval=1 ;;
2353 esac
2354 else
2355 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
2356 /* end confdefs.h. */
2357 $4
2358 static long int longval (void) { return $2; }
2359 static unsigned long int ulongval (void) { return $2; }
2360 #include <stdio.h>
2361 #include <stdlib.h>
2362 int
2363 main (void)
2364 {
2365
2366 FILE *f = fopen ("conftest.val", "w");
2367 if (! f)
2368 return 1;
2369 if (($2) < 0)
2370 {
2371 long int i = longval ();
2372 if (i != ($2))
2373 return 1;
2374 fprintf (f, "%ld", i);
2375 }
2376 else
2377 {
2378 unsigned long int i = ulongval ();
2379 if (i != ($2))
2380 return 1;
2381 fprintf (f, "%lu", i);
2382 }
2383 /* Do not output a trailing newline, as this causes \r\n confusion
2384 on some platforms. */
2385 return ferror (f) || fclose (f) != 0;
2386
2387 ;
2388 return 0;
2389 }
2390 _ACEOF
2391 if ac_fn_c_try_runscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_run(). "$LINENO"
2392 then :
2393 echoscip-shell system . . echo. >>conftest.val; read $3 <conftest.val; ac_retval=0
2394 else case e in #(
2395 e) ac_retval=1 ;;
2396 esac
2397 fi
2398 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2399 conftest.$ac_objext conftest.beam conftest.$ac_ext
2400 rmscip-shell system . . rm. -f conftest.val
2401
2402 fi
2403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2404 as_fn_set_statusscip-shell shell e2fsprogs 1.47.4-1 as_fn_set_status(). $ac_retval
2405
2406 } # ac_fn_c_compute_int
2407
2408 # ac_fn_cxx_try_compile LINENO
2409 # ----------------------------
2410 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2411 ac_fn_cxx_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_cxx_try_compile(). ()
2412 {
2413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2414 rmscip-shell system . . rm. -f conftest.$ac_objext conftest.beam
2415 if { { ac_try="$ac_compile"
2416 case "(($ac_try" in
2417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2418 *) ac_try_echo=$ac_try;;
2419 esac
2420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
2422 (eval "$ac_compile") 2>conftest.err
2423 ac_status=$?
2424 if testscip-shell system . . test. -s conftest.err; then
2425 grepscip-shell system . . grep. -v '^ *+' conftest.err >conftest.er1
2426 catscip-shell system . . cat. conftest.er1 >&5
2427 mvscip-shell system . . mv. -f conftest.er1 conftest.err
2428 fi
2429 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2430 testscip-shell system . . test. $ac_status = 0; } && {
2431 testscip-shell system . . test. -z "$ac_cxx_werror_flag" ||
2432 testscip-shell system . . test. ! -s conftest.err
2433 } && testscip-shell system . . test. -s conftest.$ac_objext
2434 then :
2435 ac_retval=0
2436 else case e in #(
2437 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
2438 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2439
2440 ac_retval=1 ;;
2441 esac
2442 fi
2443 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2444 as_fn_set_statusscip-shell shell e2fsprogs 1.47.4-1 as_fn_set_status(). $ac_retval
2445
2446 } # ac_fn_cxx_try_compile
2447 ac_configure_args_raw=
2448 for ac_arg
2449 do
2450 case $ac_arg in
2451 *\'*)
2452 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2453 esac
2454 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_configure_args_raw " '$ac_arg'"
2455 done
2456
2457 case $ac_configure_args_raw in
2458 *$as_nl*)
2459 ac_safe_unquote= ;;
2460 *)
2461 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2462 ac_unsafe_a="$ac_unsafe_z#~"
2463 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2464 ac_configure_args_raw=` printfscip-shell system . . printf. "%s\n" "$ac_configure_args_raw" | sedscip-shell system . . sed. "$ac_safe_unquote"`;;
2465 esac
2466
2467 catscip-shell system . . cat. >config.log <<_ACEOF
2468 This file contains any messages produced by compilers while
2469 running configure, to aid debugging if configure makes a mistake.
2470
2471 It was created by $as_me, which was
2472 generated by GNU Autoconf 2.72. Invocation command line was
2473
2474 $ $0$ac_configure_args_raw
2475
2476 _ACEOF
2477 exec 5>>config.log
2478 {
2479 catscip-shell system . . cat. <<_ASUNAME
2480 ## --------- ##
2481 ## Platform. ##
2482 ## --------- ##
2483
2484 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
2485 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2486 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2487 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2488 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2489
2490 /usr/bin/uname -p = `(/usr/bin/unamescip-shell filesystem . . `/usr/bin/uname`. -p) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2491 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2492
2493 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2494 /usr/bin/arch -k = `(/usr/bin/archscip-shell filesystem . . `/usr/bin/arch`. -k) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2495 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2496 /usr/bin/hostinfo = `(/usr/bin/hostinfoscip-shell filesystem . . `/usr/bin/hostinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2497 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2498 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2499 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
2500
2501 _ASUNAME
2502
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504 for as_dir in $PATH
2505 do
2506 IFS=$as_save_IFS
2507 case $as_dir in #(((
2508 '') as_dir=./ ;;
2509 */) ;;
2510 *) as_dir=$as_dir/ ;;
2511 esac
2512 printfscip-shell system . . printf. "%s\n" "PATH: $as_dir"
2513 done
2514 IFS=$as_save_IFS
2515
2516 } >&5
2517
2518 catscip-shell system . . cat. >&5 <<_ACEOF
2519
2520
2521 ## ----------- ##
2522 ## Core tests. ##
2523 ## ----------- ##
2524
2525 _ACEOF
2526
2527
2528 # Keep a trace of the command line.
2529 # Strip out --no-create and --no-recursion so they do not pile up.
2530 # Strip out --silent because we don't want to record it for future runs.
2531 # Also quote any args containing shell meta-characters.
2532 # Make two passes to allow for proper duplicate-argument suppression.
2533 ac_configure_args=
2534 ac_configure_args0=
2535 ac_configure_args1=
2536 ac_must_keep_next=false
2537 for ac_pass in 1 2
2538 do
2539 for ac_arg
2540 do
2541 case $ac_arg in
2542 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2543 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2544 | -silent | --silent | --silen | --sile | --sil)
2545 continue ;;
2546 *\'*)
2547 ac_arg=`printfscip-shell system . . printf. "%s\n" "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
2548 esac
2549 case $ac_pass in
2550 1) as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_configure_args0 " '$ac_arg'" ;;
2551 2)
2552 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_configure_args1 " '$ac_arg'"
2553 if testscip-shell system . . test. $ac_must_keep_next = true; then
2554 ac_must_keep_next=false # Got value, back to normal.
2555 else
2556 case $ac_arg in
2557 *=* | --config-cache | -C | -disable-* | --disable-* \
2558 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2559 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2560 | -with-* | --with-* | -without-* | --without-* | --x)
2561 case "$ac_configure_args0 " in
2562 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2563 esac
2564 ;;
2565 -* ) ac_must_keep_next=true ;;
2566 esac
2567 fi
2568 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_configure_args " '$ac_arg'"
2569 ;;
2570 esac
2571 done
2572 done
2573 { ac_configure_args0=; unset ac_configure_args0;}
2574 { ac_configure_args1=; unset ac_configure_args1;}
2575
2576 # When interrupted or exit'd, cleanup temporary files, and complete
2577 # config.log. We remove comments because anyway the quotes in there
2578 # would cause problems or look ugly.
2579 # WARNING: Use '\'' to represent an apostrophe within the trap.
2580 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2581 trap 'exit_status=$?
2582 # Sanitize IFS.
2583 IFS=" "" $as_nl"
2584 # Save into config.log some information that might help in debugging.
2585 {
2586 echo
2587
2588 printf "%s\n" "## ---------------- ##
2589 ## Cache variables. ##
2590 ## ---------------- ##"
2591 echo
2592 # The following way of writing the cache mishandles newlines in values,
2593 (
2594 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2595 eval ac_val=\$$ac_var
2596 case $ac_val in #(
2597 *${as_nl}*)
2598 case $ac_var in #(
2599 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2600 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2601 esac
2602 case $ac_var in #(
2603 _ | IFS | as_nl) ;; #(
2604 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2605 *) { eval $ac_var=; unset $ac_var;} ;;
2606 esac ;;
2607 esac
2608 done
2609 (set) 2>&1 |
2610 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2611 *${as_nl}ac_space=\ *)
2612 sed -n \
2613 "s/'\''/'\''\\\\'\'''\''/g;
2614 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2615 ;; #(
2616 *)
2617 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2618 ;;
2619 esac |
2620 sort
2621 )
2622 echo
2623
2624 printf "%s\n" "## ----------------- ##
2625 ## Output variables. ##
2626 ## ----------------- ##"
2627 echo
2628 for ac_var in $ac_subst_vars
2629 do
2630 eval ac_val=\$$ac_var
2631 case $ac_val in
2632 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2633 esac
2634 printf "%s\n" "$ac_var='\''$ac_val'\''"
2635 done | sort
2636 echo
2637
2638 if test -n "$ac_subst_files"; then
2639 printf "%s\n" "## ------------------- ##
2640 ## File substitutions. ##
2641 ## ------------------- ##"
2642 echo
2643 for ac_var in $ac_subst_files
2644 do
2645 eval ac_val=\$$ac_var
2646 case $ac_val in
2647 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2648 esac
2649 printf "%s\n" "$ac_var='\''$ac_val'\''"
2650 done | sort
2651 echo
2652 fi
2653
2654 if test -s confdefs.h; then
2655 printf "%s\n" "## ----------- ##
2656 ## confdefs.h. ##
2657 ## ----------- ##"
2658 echo
2659 cat confdefs.h
2660 echo
2661 fi
2662 test "$ac_signal" != 0 &&
2663 printf "%s\n" "$as_me: caught signal $ac_signal"
2664 printf "%s\n" "$as_me: exit $exit_status"
2665 } >&5
2666 rm -f core *.core core.conftest.* &&
2667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2668 exit $exit_status
2669 ' 0
2670 for ac_signal in 1 2 13 15; do
2671 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2672 done
2673 ac_signal=0
2674
2675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2676 rmscip-shell system . . rm. -f -r conftest* confdefs.h
2677
2678 printfscip-shell system . . printf. "%s\n" "/* confdefs.h */" > confdefs.h
2679
2680 # Predefined preprocessor variables.
2681
2682 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2683
2684 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2685
2686 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2687
2688 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2689
2690 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2691
2692 printfscip-shell system . . printf. "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2693
2694
2695 # Let the site file select an alternate cache file if it wants to.
2696 # Prefer an explicitly selected file to automatically selected ones.
2697 if testscip-shell system . . test. -n "$CONFIG_SITE"; then
2698 ac_site_files="$CONFIG_SITE"
2699 elif testscip-shell system . . test. "x$prefix" != xNONE; then
2700 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2701 else
2702 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2703 fi
2704
2705 for ac_site_file in $ac_site_files
2706 do
2707 case $ac_site_file in #(
2708 */*) :
2709 ;; #(
2710 *) :
2711 ac_site_file=./$ac_site_file ;;
2712 esac
2713 if testscip-shell system . . test. -f "$ac_site_file" && testscip-shell system . . test. -r "$ac_site_file"; then
2714 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2715 printfscip-shell system . . printf. "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2716 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
2717 . "$ac_site_file" \
2718 || { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2719 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2720 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "failed to load site script $ac_site_file
2721 See 'config.log' for more details" "$LINENO" 5; }
2722 fi
2723 done
2724
2725 if testscip-shell system . . test. -r "$cache_file"; then
2726 # Some versions of bash will fail to source /dev/null (special files
2727 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2728 if testscip-shell system . . test. /dev/nullscip-shell filesystem . . `/dev/null`. != "$cache_file" && testscip-shell system . . test. -f "$cache_file"; then
2729 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2730 printfscip-shell system . . printf. "%s\n" "$as_me: loading cache $cache_file" >&6;}
2731 case $cache_file in
2732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2733 *) . "./$cache_file";;
2734 esac
2735 fi
2736 else
2737 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2738 printfscip-shell system . . printf. "%s\n" "$as_me: creating cache $cache_file" >&6;}
2739 >$cache_file
2740 fi
2741
2742 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2743 # Test code for whether the C compiler supports C89 (global declarations)
2744 ac_c_conftest_c89_globals='
2745 /* Does the compiler advertise C89 conformance?
2746 Do not test the value of __STDC__, because some compilers set it to 0
2747 while being otherwise adequately conformant. */
2748 #if !defined __STDC__
2749 # error "Compiler does not advertise C89 conformance"
2750 #endif
2751
2752 #include <stddef.h>
2753 #include <stdarg.h>
2754 struct stat;
2755 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2756 struct buf { int x; };
2757 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2758 static char *e (char **p, int i)
2759 {
2760 return p[i];
2761 }
2762 static char *f (char * (*g) (char **, int), char **p, ...)
2763 {
2764 char *s;
2765 va_list v;
2766 va_start (v,p);
2767 s = g (p, va_arg (v,int));
2768 va_end (v);
2769 return s;
2770 }
2771
2772 /* C89 style stringification. */
2773 #define noexpand_stringify(a) #a
2774 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2775
2776 /* C89 style token pasting. Exercises some of the corner cases that
2777 e.g. old MSVC gets wrong, but not very hard. */
2778 #define noexpand_concat(a,b) a##b
2779 #define expand_concat(a,b) noexpand_concat(a,b)
2780 extern int vA;
2781 extern int vbee;
2782 #define aye A
2783 #define bee B
2784 int *pvA = &expand_concat(v,aye);
2785 int *pvbee = &noexpand_concat(v,bee);
2786
2787 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2788 function prototypes and stuff, but not \xHH hex character constants.
2789 These do not provoke an error unfortunately, instead are silently treated
2790 as an "x". The following induces an error, until -std is added to get
2791 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2792 array size at least. It is necessary to write \x00 == 0 to get something
2793 that is true only with -std. */
2794 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2795
2796 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2797 inside strings and character constants. */
2798 #define FOO(x) '\''x'\''
2799 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2800
2801 int test (int i, double x);
2802 struct s1 {int (*f) (int a);};
2803 struct s2 {int (*f) (double a);};
2804 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2805 int, int);'
2806
2807 # Test code for whether the C compiler supports C89 (body of main).
2808 ac_c_conftest_c89_main='
2809 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2810 '
2811
2812 # Test code for whether the C compiler supports C99 (global declarations)
2813 ac_c_conftest_c99_globals='
2814 /* Does the compiler advertise C99 conformance? */
2815 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2816 # error "Compiler does not advertise C99 conformance"
2817 #endif
2818
2819 // See if C++-style comments work.
2820
2821 #include <stdbool.h>
2822 extern int puts (const char *);
2823 extern int printf (const char *, ...);
2824 extern int dprintf (int, const char *, ...);
2825 extern void *malloc (size_t);
2826 extern void free (void *);
2827
2828 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2829 // dprintf is used instead of fprintf to avoid needing to declare
2830 // FILE and stderr.
2831 #define debug(...) dprintf (2, __VA_ARGS__)
2832 #define showlist(...) puts (#__VA_ARGS__)
2833 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2834 static void
2835 test_varargs_macros (void)
2836 {
2837 int x = 1234;
2838 int y = 5678;
2839 debug ("Flag");
2840 debug ("X = %d\n", x);
2841 showlist (The first, second, and third items.);
2842 report (x>y, "x is %d but y is %d", x, y);
2843 }
2844
2845 // Check long long types.
2846 #define BIG64 18446744073709551615ull
2847 #define BIG32 4294967295ul
2848 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2849 #if !BIG_OK
2850 #error "your preprocessor is broken"
2851 #endif
2852 #if BIG_OK
2853 #else
2854 #error "your preprocessor is broken"
2855 #endif
2856 static long long int bignum = -9223372036854775807LL;
2857 static unsigned long long int ubignum = BIG64;
2858
2859 struct incomplete_array
2860 {
2861 int datasize;
2862 double data[];
2863 };
2864
2865 struct named_init {
2866 int number;
2867 const wchar_t *name;
2868 double average;
2869 };
2870
2871 typedef const char *ccp;
2872
2873 static inline int
2874 test_restrict (ccp restrict text)
2875 {
2876 // Iterate through items via the restricted pointer.
2877 // Also check for declarations in for loops.
2878 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2879 continue;
2880 return 0;
2881 }
2882
2883 // Check varargs and va_copy.
2884 static bool
2885 test_varargs (const char *format, ...)
2886 {
2887 va_list args;
2888 va_start (args, format);
2889 va_list args_copy;
2890 va_copy (args_copy, args);
2891
2892 const char *str = "";
2893 int number = 0;
2894 float fnumber = 0;
2895
2896 while (*format)
2897 {
2898 switch (*format++)
2899 {
2900 case '\''s'\'': // string
2901 str = va_arg (args_copy, const char *);
2902 break;
2903 case '\''d'\'': // int
2904 number = va_arg (args_copy, int);
2905 break;
2906 case '\''f'\'': // float
2907 fnumber = va_arg (args_copy, double);
2908 break;
2909 default:
2910 break;
2911 }
2912 }
2913 va_end (args_copy);
2914 va_end (args);
2915
2916 return *str && number && fnumber;
2917 }
2918 '
2919
2920 # Test code for whether the C compiler supports C99 (body of main).
2921 ac_c_conftest_c99_main='
2922 // Check bool.
2923 _Bool success = false;
2924 success |= (argc != 0);
2925
2926 // Check restrict.
2927 if (test_restrict ("String literal") == 0)
2928 success = true;
2929 char *restrict newvar = "Another string";
2930
2931 // Check varargs.
2932 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2933 test_varargs_macros ();
2934
2935 // Check flexible array members.
2936 struct incomplete_array *ia =
2937 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2938 ia->datasize = 10;
2939 for (int i = 0; i < ia->datasize; ++i)
2940 ia->data[i] = i * 1.234;
2941 // Work around memory leak warnings.
2942 free (ia);
2943
2944 // Check named initializers.
2945 struct named_init ni = {
2946 .number = 34,
2947 .name = L"Test wide string",
2948 .average = 543.34343,
2949 };
2950
2951 ni.number = 58;
2952
2953 int dynamic_array[ni.number];
2954 dynamic_array[0] = argv[0][0];
2955 dynamic_array[ni.number - 1] = 543;
2956
2957 // work around unused variable warnings
2958 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2959 || dynamic_array[ni.number - 1] != 543);
2960 '
2961
2962 # Test code for whether the C compiler supports C11 (global declarations)
2963 ac_c_conftest_c11_globals='
2964 /* Does the compiler advertise C11 conformance? */
2965 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2966 # error "Compiler does not advertise C11 conformance"
2967 #endif
2968
2969 // Check _Alignas.
2970 char _Alignas (double) aligned_as_double;
2971 char _Alignas (0) no_special_alignment;
2972 extern char aligned_as_int;
2973 char _Alignas (0) _Alignas (int) aligned_as_int;
2974
2975 // Check _Alignof.
2976 enum
2977 {
2978 int_alignment = _Alignof (int),
2979 int_array_alignment = _Alignof (int[100]),
2980 char_alignment = _Alignof (char)
2981 };
2982 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2983
2984 // Check _Noreturn.
2985 int _Noreturn does_not_return (void) { for (;;) continue; }
2986
2987 // Check _Static_assert.
2988 struct test_static_assert
2989 {
2990 int x;
2991 _Static_assert (sizeof (int) <= sizeof (long int),
2992 "_Static_assert does not work in struct");
2993 long int y;
2994 };
2995
2996 // Check UTF-8 literals.
2997 #define u8 syntax error!
2998 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2999
3000 // Check duplicate typedefs.
3001 typedef long *long_ptr;
3002 typedef long int *long_ptr;
3003 typedef long_ptr long_ptr;
3004
3005 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3006 struct anonymous
3007 {
3008 union {
3009 struct { int i; int j; };
3010 struct { int k; long int l; } w;
3011 };
3012 int m;
3013 } v1;
3014 '
3015
3016 # Test code for whether the C compiler supports C11 (body of main).
3017 ac_c_conftest_c11_main='
3018 _Static_assert ((offsetof (struct anonymous, i)
3019 == offsetof (struct anonymous, w.k)),
3020 "Anonymous union alignment botch");
3021 v1.i = 2;
3022 v1.w.k = 5;
3023 ok |= v1.i != 5;
3024 '
3025
3026 # Test code for whether the C compiler supports C11 (complete).
3027 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3028 ${ac_c_conftest_c99_globals}
3029 ${ac_c_conftest_c11_globals}
3030
3031 int
3032 main (int argc, char **argv)
3033 {
3034 int ok = 0;
3035 ${ac_c_conftest_c89_main}
3036 ${ac_c_conftest_c99_main}
3037 ${ac_c_conftest_c11_main}
3038 return ok;
3039 }
3040 "
3041
3042 # Test code for whether the C compiler supports C99 (complete).
3043 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3044 ${ac_c_conftest_c99_globals}
3045
3046 int
3047 main (int argc, char **argv)
3048 {
3049 int ok = 0;
3050 ${ac_c_conftest_c89_main}
3051 ${ac_c_conftest_c99_main}
3052 return ok;
3053 }
3054 "
3055
3056 # Test code for whether the C compiler supports C89 (complete).
3057 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3058
3059 int
3060 main (int argc, char **argv)
3061 {
3062 int ok = 0;
3063 ${ac_c_conftest_c89_main}
3064 return ok;
3065 }
3066 "
3067
3068 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3069 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_header_c_list " string.h string_h HAVE_STRING_H"
3070 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3071 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3072 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3073 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3074 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3075 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3076 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
3077 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
3078 gt_needs="$gt_needs "
3079 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_func_c_list " vprintf HAVE_VPRINTF"
3080 # Test code for whether the C++ compiler supports C++98 (global declarations)
3081 ac_cxx_conftest_cxx98_globals='
3082 // Does the compiler advertise C++98 conformance?
3083 #if !defined __cplusplus || __cplusplus < 199711L
3084 # error "Compiler does not advertise C++98 conformance"
3085 #endif
3086
3087 // These inclusions are to reject old compilers that
3088 // lack the unsuffixed header files.
3089 #include <cstdlib>
3090 #include <exception>
3091
3092 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3093 extern void assert (int);
3094 namespace std {
3095 extern int strcmp (const char *, const char *);
3096 }
3097
3098 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3099 using std::exception;
3100 using std::strcmp;
3101
3102 namespace {
3103
3104 void test_exception_syntax()
3105 {
3106 try {
3107 throw "test";
3108 } catch (const char *s) {
3109 // Extra parentheses suppress a warning when building autoconf itself,
3110 // due to lint rules shared with more typical C programs.
3111 assert (!(strcmp) (s, "test"));
3112 }
3113 }
3114
3115 template <typename T> struct test_template
3116 {
3117 T const val;
3118 explicit test_template(T t) : val(t) {}
3119 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3120 };
3121
3122 } // anonymous namespace
3123 '
3124
3125 # Test code for whether the C++ compiler supports C++98 (body of main)
3126 ac_cxx_conftest_cxx98_main='
3127 assert (argc);
3128 assert (! argv[0]);
3129 {
3130 test_exception_syntax ();
3131 test_template<double> tt (2.0);
3132 assert (tt.add (4) == 6.0);
3133 assert (true && !false);
3134 }
3135 '
3136
3137 # Test code for whether the C++ compiler supports C++11 (global declarations)
3138 ac_cxx_conftest_cxx11_globals='
3139 // Does the compiler advertise C++ 2011 conformance?
3140 #if !defined __cplusplus || __cplusplus < 201103L
3141 # error "Compiler does not advertise C++11 conformance"
3142 #endif
3143
3144 namespace cxx11test
3145 {
3146 constexpr int get_val() { return 20; }
3147
3148 struct testinit
3149 {
3150 int i;
3151 double d;
3152 };
3153
3154 class delegate
3155 {
3156 public:
3157 delegate(int n) : n(n) {}
3158 delegate(): delegate(2354) {}
3159
3160 virtual int getval() { return this->n; };
3161 protected:
3162 int n;
3163 };
3164
3165 class overridden : public delegate
3166 {
3167 public:
3168 overridden(int n): delegate(n) {}
3169 virtual int getval() override final { return this->n * 2; }
3170 };
3171
3172 class nocopy
3173 {
3174 public:
3175 nocopy(int i): i(i) {}
3176 nocopy() = default;
3177 nocopy(const nocopy&) = delete;
3178 nocopy & operator=(const nocopy&) = delete;
3179 private:
3180 int i;
3181 };
3182
3183 // for testing lambda expressions
3184 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3185 {
3186 return f(v);
3187 }
3188
3189 // for testing variadic templates and trailing return types
3190 template <typename V> auto sum(V first) -> V
3191 {
3192 return first;
3193 }
3194 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3195 {
3196 return first + sum(rest...);
3197 }
3198 }
3199 '
3200
3201 # Test code for whether the C++ compiler supports C++11 (body of main)
3202 ac_cxx_conftest_cxx11_main='
3203 {
3204 // Test auto and decltype
3205 auto a1 = 6538;
3206 auto a2 = 48573953.4;
3207 auto a3 = "String literal";
3208
3209 int total = 0;
3210 for (auto i = a3; *i; ++i) { total += *i; }
3211
3212 decltype(a2) a4 = 34895.034;
3213 }
3214 {
3215 // Test constexpr
3216 short sa[cxx11test::get_val()] = { 0 };
3217 }
3218 {
3219 // Test initializer lists
3220 cxx11test::testinit il = { 4323, 435234.23544 };
3221 }
3222 {
3223 // Test range-based for
3224 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3225 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3226 for (auto &x : array) { x += 23; }
3227 }
3228 {
3229 // Test lambda expressions
3230 using cxx11test::eval;
3231 assert (eval ([](int x) { return x*2; }, 21) == 42);
3232 double d = 2.0;
3233 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3234 assert (d == 5.0);
3235 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3236 assert (d == 5.0);
3237 }
3238 {
3239 // Test use of variadic templates
3240 using cxx11test::sum;
3241 auto a = sum(1);
3242 auto b = sum(1, 2);
3243 auto c = sum(1.0, 2.0, 3.0);
3244 }
3245 {
3246 // Test constructor delegation
3247 cxx11test::delegate d1;
3248 cxx11test::delegate d2();
3249 cxx11test::delegate d3(45);
3250 }
3251 {
3252 // Test override and final
3253 cxx11test::overridden o1(55464);
3254 }
3255 {
3256 // Test nullptr
3257 char *c = nullptr;
3258 }
3259 {
3260 // Test template brackets
3261 test_template<::test_template<int>> v(test_template<int>(12));
3262 }
3263 {
3264 // Unicode literals
3265 char const *utf8 = u8"UTF-8 string \u2500";
3266 char16_t const *utf16 = u"UTF-8 string \u2500";
3267 char32_t const *utf32 = U"UTF-32 string \u2500";
3268 }
3269 '
3270
3271 # Test code for whether the C compiler supports C++11 (complete).
3272 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3273 ${ac_cxx_conftest_cxx11_globals}
3274
3275 int
3276 main (int argc, char **argv)
3277 {
3278 int ok = 0;
3279 ${ac_cxx_conftest_cxx98_main}
3280 ${ac_cxx_conftest_cxx11_main}
3281 return ok;
3282 }
3283 "
3284
3285 # Test code for whether the C compiler supports C++98 (complete).
3286 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3287 int
3288 main (int argc, char **argv)
3289 {
3290 int ok = 0;
3291 ${ac_cxx_conftest_cxx98_main}
3292 return ok;
3293 }
3294 "
3295
3296
3297 # Auxiliary files required by this configure script.
3298 ac_aux_files="config.rpath install-sh config.guess config.sub"
3299
3300 # Locations in which to look for auxiliary files.
3301 ac_aux_dir_candidates="${srcdir}/config"
3302
3303 # Search for a directory containing all of the required auxiliary files,
3304 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3305 # If we don't find one directory that contains all the files we need,
3306 # we report the set of missing files from the *first* directory in
3307 # $ac_aux_dir_candidates and give up.
3308 ac_missing_aux_files=""
3309 ac_first_candidate=:
3310 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312 as_found=false
3313 for as_dir in $ac_aux_dir_candidates
3314 do
3315 IFS=$as_save_IFS
3316 case $as_dir in #(((
3317 '') as_dir=./ ;;
3318 */) ;;
3319 *) as_dir=$as_dir/ ;;
3320 esac
3321 as_found=:
3322
3323 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3324 ac_aux_dir_found=yes
3325 ac_install_sh=
3326 for ac_aux in $ac_aux_files
3327 do
3328 # As a special case, if "install-sh" is required, that requirement
3329 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3330 # and $ac_install_sh is set appropriately for whichever one is found.
3331 if testscip-shell system . . test. x"$ac_aux" = x"install-sh"
3332 then
3333 if testscip-shell system . . test. -f "${as_dir}install-sh"; then
3334 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3335 ac_install_sh="${as_dir}install-sh -c"
3336 elif testscip-shell system . . test. -f "${as_dir}install.sh"; then
3337 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3338 ac_install_sh="${as_dir}install.sh -c"
3339 elif testscip-shell system . . test. -f "${as_dir}shtool"; then
3340 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3341 ac_install_sh="${as_dir}shtool install -c"
3342 else
3343 ac_aux_dir_found=no
3344 if $ac_first_candidate; then
3345 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3346 else
3347 break
3348 fi
3349 fi
3350 else
3351 if testscip-shell system . . test. -f "${as_dir}${ac_aux}"; then
3352 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3353 else
3354 ac_aux_dir_found=no
3355 if $ac_first_candidate; then
3356 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3357 else
3358 break
3359 fi
3360 fi
3361 fi
3362 done
3363 if testscip-shell system . . test. "$ac_aux_dir_found" = yes; then
3364 ac_aux_dir="$as_dir"
3365 break
3366 fi
3367 ac_first_candidate=false
3368
3369 as_found=false
3370 done
3371 IFS=$as_save_IFS
3372 if $as_found
3373 then :
3374
3375 else case e in #(
3376 e) as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
3377 esac
3378 fi
3379
3380
3381 # These three variables are undocumented and unsupported,
3382 # and are intended to be withdrawn in a future Autoconf release.
3383 # They can cause serious problems if a builder's source tree is in a directory
3384 # whose full name contains unusual characters.
3385 if testscip-shell system . . test. -f "${ac_aux_dir}config.guess"; then
3386 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3387 fi
3388 if testscip-shell system . . test. -f "${ac_aux_dir}config.sub"; then
3389 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3390 fi
3391 if testscip-shell system . . test. -f "$ac_aux_dir/configure"; then
3392 ac_configure="$SHELL ${ac_aux_dir}configure"
3393 fi
3394
3395 # Check that the precious variables saved in the cache have kept the same
3396 # value.
3397 ac_cache_corrupted=false
3398 for ac_var in $ac_precious_vars; do
3399 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3400 eval ac_new_set=\$ac_env_${ac_var}_set
3401 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3402 eval ac_new_val=\$ac_env_${ac_var}_value
3403 case $ac_old_set,$ac_new_set in
3404 set,)
3405 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
3406 printfscip-shell system . . printf. "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
3407 ac_cache_corrupted=: ;;
3408 ,set)
3409 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
3410 printfscip-shell system . . printf. "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
3411 ac_cache_corrupted=: ;;
3412 ,);;
3413 *)
3414 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
3415 # differences in whitespace do not lead to failure.
3416 ac_old_val_w=`echoscip-shell system . . echo. x $ac_old_val`
3417 ac_new_val_w=`echoscip-shell system . . echo. x $ac_new_val`
3418 if testscip-shell system . . test. "$ac_old_val_w" != "$ac_new_val_w"; then
3419 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
3420 printfscip-shell system . . printf. "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
3421 ac_cache_corrupted=:
3422 else
3423 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
3424 printfscip-shell system . . printf. "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
3425 eval $ac_var=\$ac_old_val
3426 fi
3427 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
3428 printfscip-shell system . . printf. "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
3429 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
3430 printfscip-shell system . . printf. "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
3431 fi;;
3432 esac
3433 # Pass precious variables to config.status.
3434 if testscip-shell system . . test. "$ac_new_set" = set; then
3435 case $ac_new_val in
3436 *\'*) ac_arg=$ac_var=`printfscip-shell system . . printf. "%s\n" "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
3437 *) ac_arg=$ac_var=$ac_new_val ;;
3438 esac
3439 case " $ac_configure_args " in
3440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3441 *) as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_configure_args " '$ac_arg'" ;;
3442 esac
3443 fi
3444 done
3445 if $ac_cache_corrupted; then
3446 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3447 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3448 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3449 printfscip-shell system . . printf. "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
3450 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
3451 and start over" "$LINENO" 5
3452 fi
3453 ## -------------------- ##
3454 ## Main body of script. ##
3455 ## -------------------- ##
3456
3457 ac_ext=c
3458 ac_cpp='$CPP $CPPFLAGS'
3459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3462
3463
3464
3465
3466
3467 ac_config_headers="$ac_config_headers lib/config.h"
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479 ac_ext=c
3480 ac_cpp='$CPP $CPPFLAGS'
3481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3484 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3485 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3486 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3487 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3489 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3490 then :
3491 printfscip-shell system . . printf. %s "(cached) " >&6
3492 else case e in #(
3493 e) if testscip-shell system . . test. -n "$CC"; then
3494 ac_cv_prog_CC="$CC" # Let the user override the test.
3495 else
3496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 for as_dir in $PATH
3498 do
3499 IFS=$as_save_IFS
3500 case $as_dir in #(((
3501 '') as_dir=./ ;;
3502 */) ;;
3503 *) as_dir=$as_dir/ ;;
3504 esac
3505 for ac_exec_ext in '' $ac_executable_extensions; do
3506 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3507 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3508 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3509 break 2
3510 fi
3511 done
3512 done
3513 IFS=$as_save_IFS
3514
3515 fi ;;
3516 esac
3517 fi
3518 CC=$ac_cv_prog_CC
3519 if testscip-shell system . . test. -n "$CC"; then
3520 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3521 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3522 else
3523 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3525 fi
3526
3527
3528 fi
3529 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3530 ac_ct_CC=$CC
3531 # Extract the first word of "gcc", so it can be a program name with args.
3532 set dummy gcc; ac_word=$2
3533 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3534 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3535 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3536 then :
3537 printfscip-shell system . . printf. %s "(cached) " >&6
3538 else case e in #(
3539 e) if testscip-shell system . . test. -n "$ac_ct_CC"; then
3540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3541 else
3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543 for as_dir in $PATH
3544 do
3545 IFS=$as_save_IFS
3546 case $as_dir in #(((
3547 '') as_dir=./ ;;
3548 */) ;;
3549 *) as_dir=$as_dir/ ;;
3550 esac
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3553 ac_cv_prog_ac_ct_CC="gcc"
3554 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3555 break 2
3556 fi
3557 done
3558 done
3559 IFS=$as_save_IFS
3560
3561 fi ;;
3562 esac
3563 fi
3564 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3565 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3566 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3567 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3568 else
3569 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3571 fi
3572
3573 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3574 CC=""
3575 else
3576 case $cross_compiling:$ac_tool_warned in
3577 yes:)
3578 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3579 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3580 ac_tool_warned=yes ;;
3581 esac
3582 CC=$ac_ct_CC
3583 fi
3584 else
3585 CC="$ac_cv_prog_CC"
3586 fi
3587
3588 if testscip-shell system . . test. -z "$CC"; then
3589 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3590 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3591 set dummy ${ac_tool_prefix}cc; ac_word=$2
3592 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3594 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3595 then :
3596 printfscip-shell system . . printf. %s "(cached) " >&6
3597 else case e in #(
3598 e) if testscip-shell system . . test. -n "$CC"; then
3599 ac_cv_prog_CC="$CC" # Let the user override the test.
3600 else
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 for as_dir in $PATH
3603 do
3604 IFS=$as_save_IFS
3605 case $as_dir in #(((
3606 '') as_dir=./ ;;
3607 */) ;;
3608 *) as_dir=$as_dir/ ;;
3609 esac
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3612 ac_cv_prog_CC="${ac_tool_prefix}cc"
3613 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3614 break 2
3615 fi
3616 done
3617 done
3618 IFS=$as_save_IFS
3619
3620 fi ;;
3621 esac
3622 fi
3623 CC=$ac_cv_prog_CC
3624 if testscip-shell system . . test. -n "$CC"; then
3625 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3626 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3627 else
3628 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3630 fi
3631
3632
3633 fi
3634 fi
3635 if testscip-shell system . . test. -z "$CC"; then
3636 # Extract the first word of "cc", so it can be a program name with args.
3637 set dummy cc; ac_word=$2
3638 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3640 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3641 then :
3642 printfscip-shell system . . printf. %s "(cached) " >&6
3643 else case e in #(
3644 e) if testscip-shell system . . test. -n "$CC"; then
3645 ac_cv_prog_CC="$CC" # Let the user override the test.
3646 else
3647 ac_prog_rejected=no
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 for as_dir in $PATH
3650 do
3651 IFS=$as_save_IFS
3652 case $as_dir in #(((
3653 '') as_dir=./ ;;
3654 */) ;;
3655 *) as_dir=$as_dir/ ;;
3656 esac
3657 for ac_exec_ext in '' $ac_executable_extensions; do
3658 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3659 if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
3660 ac_prog_rejected=yes
3661 continue
3662 fi
3663 ac_cv_prog_CC="cc"
3664 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3665 break 2
3666 fi
3667 done
3668 done
3669 IFS=$as_save_IFS
3670
3671 if testscip-shell system . . test. $ac_prog_rejected = yes; then
3672 # We found a bogon in the path, so make sure we never use it.
3673 set dummy $ac_cv_prog_CC
3674 shift
3675 if testscip-shell system . . test. $# != 0; then
3676 # We chose a different compiler from the bogus one.
3677 # However, it has the same basename, so the bogon will be chosen
3678 # first if we set CC to just the basename; use the full file name.
3679 shift
3680 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3681 fi
3682 fi
3683 fi ;;
3684 esac
3685 fi
3686 CC=$ac_cv_prog_CC
3687 if testscip-shell system . . test. -n "$CC"; then
3688 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3689 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3690 else
3691 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3692 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3693 fi
3694
3695
3696 fi
3697 if testscip-shell system . . test. -z "$CC"; then
3698 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3699 for ac_prog in cl.exe
3700 do
3701 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3702 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3703 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3704 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3705 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3706 then :
3707 printfscip-shell system . . printf. %s "(cached) " >&6
3708 else case e in #(
3709 e) if testscip-shell system . . test. -n "$CC"; then
3710 ac_cv_prog_CC="$CC" # Let the user override the test.
3711 else
3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 for as_dir in $PATH
3714 do
3715 IFS=$as_save_IFS
3716 case $as_dir in #(((
3717 '') as_dir=./ ;;
3718 */) ;;
3719 *) as_dir=$as_dir/ ;;
3720 esac
3721 for ac_exec_ext in '' $ac_executable_extensions; do
3722 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3723 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3724 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3725 break 2
3726 fi
3727 done
3728 done
3729 IFS=$as_save_IFS
3730
3731 fi ;;
3732 esac
3733 fi
3734 CC=$ac_cv_prog_CC
3735 if testscip-shell system . . test. -n "$CC"; then
3736 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3738 else
3739 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3741 fi
3742
3743
3744 testscip-shell system . . test. -n "$CC" && break
3745 done
3746 fi
3747 if testscip-shell system . . test. -z "$CC"; then
3748 ac_ct_CC=$CC
3749 for ac_prog in cl.exe
3750 do
3751 # Extract the first word of "$ac_prog", so it can be a program name with args.
3752 set dummy $ac_prog; ac_word=$2
3753 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3755 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3756 then :
3757 printfscip-shell system . . printf. %s "(cached) " >&6
3758 else case e in #(
3759 e) if testscip-shell system . . test. -n "$ac_ct_CC"; then
3760 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3761 else
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 for as_dir in $PATH
3764 do
3765 IFS=$as_save_IFS
3766 case $as_dir in #(((
3767 '') as_dir=./ ;;
3768 */) ;;
3769 *) as_dir=$as_dir/ ;;
3770 esac
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3773 ac_cv_prog_ac_ct_CC="$ac_prog"
3774 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3775 break 2
3776 fi
3777 done
3778 done
3779 IFS=$as_save_IFS
3780
3781 fi ;;
3782 esac
3783 fi
3784 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3785 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3786 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3787 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3788 else
3789 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3791 fi
3792
3793
3794 testscip-shell system . . test. -n "$ac_ct_CC" && break
3795 done
3796
3797 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3798 CC=""
3799 else
3800 case $cross_compiling:$ac_tool_warned in
3801 yes:)
3802 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3803 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3804 ac_tool_warned=yes ;;
3805 esac
3806 CC=$ac_ct_CC
3807 fi
3808 fi
3809
3810 fi
3811 if testscip-shell system . . test. -z "$CC"; then
3812 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
3813 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3814 set dummy ${ac_tool_prefix}clang; ac_word=$2
3815 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3817 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
3818 then :
3819 printfscip-shell system . . printf. %s "(cached) " >&6
3820 else case e in #(
3821 e) if testscip-shell system . . test. -n "$CC"; then
3822 ac_cv_prog_CC="$CC" # Let the user override the test.
3823 else
3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH
3826 do
3827 IFS=$as_save_IFS
3828 case $as_dir in #(((
3829 '') as_dir=./ ;;
3830 */) ;;
3831 *) as_dir=$as_dir/ ;;
3832 esac
3833 for ac_exec_ext in '' $ac_executable_extensions; do
3834 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3835 ac_cv_prog_CC="${ac_tool_prefix}clang"
3836 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3837 break 2
3838 fi
3839 done
3840 done
3841 IFS=$as_save_IFS
3842
3843 fi ;;
3844 esac
3845 fi
3846 CC=$ac_cv_prog_CC
3847 if testscip-shell system . . test. -n "$CC"; then
3848 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3849 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
3850 else
3851 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3853 fi
3854
3855
3856 fi
3857 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
3858 ac_ct_CC=$CC
3859 # Extract the first word of "clang", so it can be a program name with args.
3860 set dummy clang; ac_word=$2
3861 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
3863 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
3864 then :
3865 printfscip-shell system . . printf. %s "(cached) " >&6
3866 else case e in #(
3867 e) if testscip-shell system . . test. -n "$ac_ct_CC"; then
3868 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3869 else
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH
3872 do
3873 IFS=$as_save_IFS
3874 case $as_dir in #(((
3875 '') as_dir=./ ;;
3876 */) ;;
3877 *) as_dir=$as_dir/ ;;
3878 esac
3879 for ac_exec_ext in '' $ac_executable_extensions; do
3880 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
3881 ac_cv_prog_ac_ct_CC="clang"
3882 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3883 break 2
3884 fi
3885 done
3886 done
3887 IFS=$as_save_IFS
3888
3889 fi ;;
3890 esac
3891 fi
3892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3893 if testscip-shell system . . test. -n "$ac_ct_CC"; then
3894 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3895 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
3896 else
3897 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3898 printfscip-shell system . . printf. "%s\n" "no" >&6; }
3899 fi
3900
3901 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
3902 CC=""
3903 else
3904 case $cross_compiling:$ac_tool_warned in
3905 yes:)
3906 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3907 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3908 ac_tool_warned=yes ;;
3909 esac
3910 CC=$ac_ct_CC
3911 fi
3912 else
3913 CC="$ac_cv_prog_CC"
3914 fi
3915
3916 fi
3917
3918
3919 testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3920 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3921 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "no acceptable C compiler found in \$PATH
3922 See 'config.log' for more details" "$LINENO" 5; }
3923
3924 # Provide some information about the compiler.
3925 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3926 set X $ac_compile
3927 ac_compiler=$2
3928 for ac_option in --version -v -V -qversion -version; do
3929 { { ac_try="$ac_compiler $ac_option >&5"
3930 case "(($ac_try" in
3931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3932 *) ac_try_echo=$ac_try;;
3933 esac
3934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3935 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3936 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3937 ac_status=$?
3938 if testscip-shell system . . test. -s conftest.err; then
3939 sedscip-shell system . . sed. '10a\
3940 ... rest of stderr output deleted ...
3941 10q' conftest.err >conftest.er1
3942 catscip-shell system . . cat. conftest.er1 >&5
3943 fi
3944 rmscip-shell system . . rm. -f conftest.er1 conftest.err
3945 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3946 testscip-shell system . . test. $ac_status = 0; }
3947 done
3948
3949 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3951
3952 int
3953 main (void)
3954 {
3955
3956 ;
3957 return 0;
3958 }
3959 _ACEOF
3960 ac_clean_files_save=$ac_clean_files
3961 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3962 # Try to create an executable without -o first, disregard a.out.
3963 # It will help us diagnose broken compilers, and finding out an intuition
3964 # of exeext.
3965 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3966 printfscip-shell system . . printf. %s "checking whether the C compiler works... " >&6; }
3967 ac_link_default=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
3968
3969 # The possible output files:
3970 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3971
3972 ac_rmfiles=
3973 for ac_file in $ac_files
3974 do
3975 case $ac_file in
3976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3977 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3978 esac
3979 done
3980 rmscip-shell system . . rm. -f $ac_rmfiles
3981
3982 if { { ac_try="$ac_link_default"
3983 case "(($ac_try" in
3984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3985 *) ac_try_echo=$ac_try;;
3986 esac
3987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3988 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
3989 (eval "$ac_link_default") 2>&5
3990 ac_status=$?
3991 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3992 testscip-shell system . . test. $ac_status = 0; }
3993 then :
3994 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
3995 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
3996 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3997 # so that the user can short-circuit this test for compilers unknown to
3998 # Autoconf.
3999 for ac_file in $ac_files ''
4000 do
4001 testscip-shell system . . test. -f "$ac_file" || continue
4002 case $ac_file in
4003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4004 ;;
4005 [ab].out )
4006 # We found the default executable, but exeext='' is most
4007 # certainly right.
4008 break;;
4009 *.* )
4010 if testscip-shell system . . test. ${ac_cv_exeext+y} && testscip-shell system . . test. "$ac_cv_exeext" != no;
4011 then :; else
4012 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
4013 fi
4014 # We set ac_cv_exeext here because the later test for it is not
4015 # safe: cross compilers may not add the suffix if given an '-o'
4016 # argument, so we may need to know it at that point already.
4017 # Even if this section looks crufty: it has the advantage of
4018 # actually working.
4019 break;;
4020 * )
4021 break;;
4022 esac
4023 done
4024 testscip-shell system . . test. "$ac_cv_exeext" = no && ac_cv_exeext=
4025
4026 else case e in #(
4027 e) ac_file='' ;;
4028 esac
4029 fi
4030 if testscip-shell system . . test. -z "$ac_file"
4031 then :
4032 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4033 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4034 printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
4035 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4036
4037 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4038 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4039 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). 77 "C compiler cannot create executables
4040 See 'config.log' for more details" "$LINENO" 5; }
4041 else case e in #(
4042 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4043 printfscip-shell system . . printf. "%s\n" "yes" >&6; } ;;
4044 esac
4045 fi
4046 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4047 printfscip-shell system . . printf. %s "checking for C compiler default output file name... " >&6; }
4048 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4049 printfscip-shell system . . printf. "%s\n" "$ac_file" >&6; }
4050 ac_exeext=$ac_cv_exeext
4051
4052 rmscip-shell system . . rm. -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4053 ac_clean_files=$ac_clean_files_save
4054 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4055 printfscip-shell system . . printf. %s "checking for suffix of executables... " >&6; }
4056 if { { ac_try="$ac_link"
4057 case "(($ac_try" in
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4060 esac
4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4063 (eval "$ac_link") 2>&5
4064 ac_status=$?
4065 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 testscip-shell system . . test. $ac_status = 0; }
4067 then :
4068 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4069 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4070 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4071 # 'rm'.
4072 for ac_file in conftest.exe conftest conftest.*; do
4073 testscip-shell system . . test. -f "$ac_file" || continue
4074 case $ac_file in
4075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4076 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
4077 break;;
4078 * ) break;;
4079 esac
4080 done
4081 else case e in #(
4082 e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4083 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4084 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "cannot compute suffix of executables: cannot compile and link
4085 See 'config.log' for more details" "$LINENO" 5; } ;;
4086 esac
4087 fi
4088 rmscip-shell system . . rm. -f conftest conftest$ac_cv_exeext
4089 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4090 printfscip-shell system . . printf. "%s\n" "$ac_cv_exeext" >&6; }
4091
4092 rmscip-shell system . . rm. -f conftest.$ac_ext
4093 EXEEXT=$ac_cv_exeext
4094 ac_exeext=$EXEEXT
4095 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4097 #include <stdio.h>
4098 int
4099 main (void)
4100 {
4101 FILE *f = fopen ("conftest.out", "w");
4102 if (!f)
4103 return 1;
4104 return ferror (f) || fclose (f) != 0;
4105
4106 ;
4107 return 0;
4108 }
4109 _ACEOF
4110 ac_clean_files="$ac_clean_files conftest.out"
4111 # Check that the compiler produces executables we can run. If not, either
4112 # the compiler is broken, or we cross compile.
4113 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4114 printfscip-shell system . . printf. %s "checking whether we are cross compiling... " >&6; }
4115 if testscip-shell system . . test. "$cross_compiling" != yes; then
4116 { { ac_try="$ac_link"
4117 case "(($ac_try" in
4118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4120 esac
4121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4122 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4123 (eval "$ac_link") 2>&5
4124 ac_status=$?
4125 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4126 testscip-shell system . . test. $ac_status = 0; }
4127 if { ac_try='./conftest$ac_cv_exeext'
4128 { { case "(($ac_try" in
4129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130 *) ac_try_echo=$ac_try;;
4131 esac
4132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4133 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4134 (eval "$ac_try") 2>&5
4135 ac_status=$?
4136 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4137 testscip-shell system . . test. $ac_status = 0; }; }; then
4138 cross_compiling=no
4139 else
4140 if testscip-shell system . . test. "$cross_compiling" = maybe; then
4141 cross_compiling=yes
4142 else
4143 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4144 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4145 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). 77 "cannot run C compiled programs.
4146 If you meant to cross compile, use '--host'.
4147 See 'config.log' for more details" "$LINENO" 5; }
4148 fi
4149 fi
4150 fi
4151 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4152 printfscip-shell system . . printf. "%s\n" "$cross_compiling" >&6; }
4153
4154 rmscip-shell system . . rm. -f conftest.$ac_ext conftest$ac_cv_exeext \
4155 conftest.o conftest.obj conftest.out
4156 ac_clean_files=$ac_clean_files_save
4157 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4158 printfscip-shell system . . printf. %s "checking for suffix of object files... " >&6; }
4159 if testscip-shell system . . test. ${ac_cv_objext+y}
4160 then :
4161 printfscip-shell system . . printf. %s "(cached) " >&6
4162 else case e in #(
4163 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4165
4166 int
4167 main (void)
4168 {
4169
4170 ;
4171 return 0;
4172 }
4173 _ACEOF
4174 rmscip-shell system . . rm. -f conftest.o conftest.obj
4175 if { { ac_try="$ac_compile"
4176 case "(($ac_try" in
4177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4178 *) ac_try_echo=$ac_try;;
4179 esac
4180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4181 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
4182 (eval "$ac_compile") 2>&5
4183 ac_status=$?
4184 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4185 testscip-shell system . . test. $ac_status = 0; }
4186 then :
4187 for ac_file in conftest.o conftest.obj conftest.*; do
4188 testscip-shell system . . test. -f "$ac_file" || continue;
4189 case $ac_file in
4190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4191 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
4192 break;;
4193 esac
4194 done
4195 else case e in #(
4196 e) printfscip-shell system . . printf. "%s\n" "$as_me: failed program was:" >&5
4197 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4198
4199 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4200 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4201 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "cannot compute suffix of object files: cannot compile
4202 See 'config.log' for more details" "$LINENO" 5; } ;;
4203 esac
4204 fi
4205 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4206 esac
4207 fi
4208 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4209 printfscip-shell system . . printf. "%s\n" "$ac_cv_objext" >&6; }
4210 OBJEXT=$ac_cv_objext
4211 ac_objext=$OBJEXT
4212 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4213 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; }
4214 if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y}
4215 then :
4216 printfscip-shell system . . printf. %s "(cached) " >&6
4217 else case e in #(
4218 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4220
4221 int
4222 main (void)
4223 {
4224 #ifndef __GNUC__
4225 choke me
4226 #endif
4227
4228 ;
4229 return 0;
4230 }
4231 _ACEOF
4232 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
4233 then :
4234 ac_compiler_gnu=yes
4235 else case e in #(
4236 e) ac_compiler_gnu=no ;;
4237 esac
4238 fi
4239 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4240 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4241 ;;
4242 esac
4243 fi
4244 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4245 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4247
4248 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
4249 GCC=yes
4250 else
4251 GCC=
4252 fi
4253 ac_test_CFLAGS=${CFLAGS+y}
4254 ac_save_CFLAGS=$CFLAGS
4255 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4256 printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; }
4257 if testscip-shell system . . test. ${ac_cv_prog_cc_g+y}
4258 then :
4259 printfscip-shell system . . printf. %s "(cached) " >&6
4260 else case e in #(
4261 e) ac_save_c_werror_flag=$ac_c_werror_flag
4262 ac_c_werror_flag=yes
4263 ac_cv_prog_cc_g=no
4264 CFLAGS="-g"
4265 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4267
4268 int
4269 main (void)
4270 {
4271
4272 ;
4273 return 0;
4274 }
4275 _ACEOF
4276 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
4277 then :
4278 ac_cv_prog_cc_g=yes
4279 else case e in #(
4280 e) CFLAGS=""
4281 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4283
4284 int
4285 main (void)
4286 {
4287
4288 ;
4289 return 0;
4290 }
4291 _ACEOF
4292 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
4293 then :
4294
4295 else case e in #(
4296 e) ac_c_werror_flag=$ac_save_c_werror_flag
4297 CFLAGS="-g"
4298 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4300
4301 int
4302 main (void)
4303 {
4304
4305 ;
4306 return 0;
4307 }
4308 _ACEOF
4309 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
4310 then :
4311 ac_cv_prog_cc_g=yes
4312 fi
4313 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4314 esac
4315 fi
4316 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4317 esac
4318 fi
4319 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4320 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4321 esac
4322 fi
4323 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4324 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; }
4325 if testscip-shell system . . test. $ac_test_CFLAGS; then
4326 CFLAGS=$ac_save_CFLAGS
4327 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
4328 if testscip-shell system . . test. "$GCC" = yes; then
4329 CFLAGS="-g -O2"
4330 else
4331 CFLAGS="-g"
4332 fi
4333 else
4334 if testscip-shell system . . test. "$GCC" = yes; then
4335 CFLAGS="-O2"
4336 else
4337 CFLAGS=
4338 fi
4339 fi
4340 ac_prog_cc_stdc=no
4341 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4342 then :
4343 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4344 printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; }
4345 if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y}
4346 then :
4347 printfscip-shell system . . printf. %s "(cached) " >&6
4348 else case e in #(
4349 e) ac_cv_prog_cc_c11=no
4350 ac_save_CC=$CC
4351 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4353 $ac_c_conftest_c11_program
4354 _ACEOF
4355 for ac_arg in '' -std=gnu11
4356 do
4357 CC="$ac_save_CC $ac_arg"
4358 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
4359 then :
4360 ac_cv_prog_cc_c11=$ac_arg
4361 fi
4362 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4363 testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break
4364 done
4365 rmscip-shell system . . rm. -f conftest.$ac_ext
4366 CC=$ac_save_CC ;;
4367 esac
4368 fi
4369
4370 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno
4371 then :
4372 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4373 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4374 else case e in #(
4375 e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x
4376 then :
4377 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4378 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4379 else case e in #(
4380 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4381 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4382 CC="$CC $ac_cv_prog_cc_c11" ;;
4383 esac
4384 fi
4385 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4386 ac_prog_cc_stdc=c11 ;;
4387 esac
4388 fi
4389 fi
4390 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4391 then :
4392 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4393 printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; }
4394 if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y}
4395 then :
4396 printfscip-shell system . . printf. %s "(cached) " >&6
4397 else case e in #(
4398 e) ac_cv_prog_cc_c99=no
4399 ac_save_CC=$CC
4400 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4402 $ac_c_conftest_c99_program
4403 _ACEOF
4404 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4405 do
4406 CC="$ac_save_CC $ac_arg"
4407 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
4408 then :
4409 ac_cv_prog_cc_c99=$ac_arg
4410 fi
4411 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4412 testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break
4413 done
4414 rmscip-shell system . . rm. -f conftest.$ac_ext
4415 CC=$ac_save_CC ;;
4416 esac
4417 fi
4418
4419 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno
4420 then :
4421 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4422 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4423 else case e in #(
4424 e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x
4425 then :
4426 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4427 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4428 else case e in #(
4429 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4430 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4431 CC="$CC $ac_cv_prog_cc_c99" ;;
4432 esac
4433 fi
4434 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4435 ac_prog_cc_stdc=c99 ;;
4436 esac
4437 fi
4438 fi
4439 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
4440 then :
4441 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4442 printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; }
4443 if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y}
4444 then :
4445 printfscip-shell system . . printf. %s "(cached) " >&6
4446 else case e in #(
4447 e) ac_cv_prog_cc_c89=no
4448 ac_save_CC=$CC
4449 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4451 $ac_c_conftest_c89_program
4452 _ACEOF
4453 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4454 do
4455 CC="$ac_save_CC $ac_arg"
4456 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
4457 then :
4458 ac_cv_prog_cc_c89=$ac_arg
4459 fi
4460 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
4461 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
4462 done
4463 rmscip-shell system . . rm. -f conftest.$ac_ext
4464 CC=$ac_save_CC ;;
4465 esac
4466 fi
4467
4468 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno
4469 then :
4470 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4471 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
4472 else case e in #(
4473 e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x
4474 then :
4475 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4476 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
4477 else case e in #(
4478 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4479 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4480 CC="$CC $ac_cv_prog_cc_c89" ;;
4481 esac
4482 fi
4483 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4484 ac_prog_cc_stdc=c89 ;;
4485 esac
4486 fi
4487 fi
4488
4489 ac_ext=c
4490 ac_cpp='$CPP $CPPFLAGS'
4491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4494
4495
4496 ac_header= ac_cache=
4497 for ac_item in $ac_header_c_list
4498 do
4499 if testscip-shell system . . test. $ac_cache; then
4500 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4501 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4502 printfscip-shell system . . printf. "%s\n" "#define $ac_item 1" >> confdefs.h
4503 fi
4504 ac_header= ac_cache=
4505 elif testscip-shell system . . test. $ac_header; then
4506 ac_cache=$ac_item
4507 else
4508 ac_header=$ac_item
4509 fi
4510 done
4511
4512
4513
4514
4515
4516
4517
4518
4519 if testscip-shell system . . test. $ac_cv_header_stdlib_h = yes && testscip-shell system . . test. $ac_cv_header_string_h = yes
4520 then :
4521
4522 printfscip-shell system . . printf. "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4523
4524 fi
4525
4526
4527
4528
4529
4530
4531 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4532 printfscip-shell system . . printf. %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4533 if testscip-shell system . . test. ${ac_cv_safe_to_define___extensions__+y}
4534 then :
4535 printfscip-shell system . . printf. %s "(cached) " >&6
4536 else case e in #(
4537 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4539
4540 # define __EXTENSIONS__ 1
4541 $ac_includes_default
4542 int
4543 main (void)
4544 {
4545
4546 ;
4547 return 0;
4548 }
4549 _ACEOF
4550 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
4551 then :
4552 ac_cv_safe_to_define___extensions__=yes
4553 else case e in #(
4554 e) ac_cv_safe_to_define___extensions__=no ;;
4555 esac
4556 fi
4557 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4558 esac
4559 fi
4560 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4561 printfscip-shell system . . printf. "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4562
4563 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4564 printfscip-shell system . . printf. %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4565 if testscip-shell system . . test. ${ac_cv_should_define__xopen_source+y}
4566 then :
4567 printfscip-shell system . . printf. %s "(cached) " >&6
4568 else case e in #(
4569 e) ac_cv_should_define__xopen_source=no
4570 if testscip-shell system . . test. $ac_cv_header_wchar_h = yes
4571 then :
4572 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4574
4575 #include <wchar.h>
4576 mbstate_t x;
4577 int
4578 main (void)
4579 {
4580
4581 ;
4582 return 0;
4583 }
4584 _ACEOF
4585 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
4586 then :
4587
4588 else case e in #(
4589 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4591
4592 #define _XOPEN_SOURCE 500
4593 #include <wchar.h>
4594 mbstate_t x;
4595 int
4596 main (void)
4597 {
4598
4599 ;
4600 return 0;
4601 }
4602 _ACEOF
4603 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
4604 then :
4605 ac_cv_should_define__xopen_source=yes
4606 fi
4607 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4608 esac
4609 fi
4610 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4611 fi ;;
4612 esac
4613 fi
4614 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4615 printfscip-shell system . . printf. "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4616
4617 printfscip-shell system . . printf. "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4618
4619 printfscip-shell system . . printf. "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4620
4621 printfscip-shell system . . printf. "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4622
4623 printfscip-shell system . . printf. "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4624
4625 printfscip-shell system . . printf. "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4626
4627 printfscip-shell system . . printf. "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4628
4629 printfscip-shell system . . printf. "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4630
4631 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4632
4633 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4634
4635 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4636
4637 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
4638
4639 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4640
4641 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4642
4643 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4644
4645 printfscip-shell system . . printf. "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4646
4647 printfscip-shell system . . printf. "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
4648
4649 if testscip-shell system . . test. $ac_cv_header_minix_config_h = yes
4650 then :
4651 MINIX=yes
4652 printfscip-shell system . . printf. "%s\n" "#define _MINIX 1" >>confdefs.h
4653
4654 printfscip-shell system . . printf. "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
4655
4656 printfscip-shell system . . printf. "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
4657
4658 else case e in #(
4659 e) MINIX= ;;
4660 esac
4661 fi
4662 if testscip-shell system . . test. $ac_cv_safe_to_define___extensions__ = yes
4663 then :
4664 printfscip-shell system . . printf. "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
4665
4666 fi
4667 if testscip-shell system . . test. $ac_cv_should_define__xopen_source = yes
4668 then :
4669 printfscip-shell system . . printf. "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
4670
4671 fi
4672
4673 MCONFIG=./MCONFIG
4674
4675 BINARY_TYPE=bin
4676 E2FSPROGS_VERSION=`awkscip-shell system . . awk. -F\" '/E2FSPROGS_VERS/ { print $2 }scip-shell filesystem . . `/E2FSPROGS_VERS/ { print $2 }`.' ${srcdir}/version.h`
4677 E2FSPROGS_DATE=`awkscip-shell system . . awk. -F\" '/E2FSPROGS_DATE/ { print $2 }scip-shell filesystem . . `/E2FSPROGS_DATE/ { print $2 }`.' ${srcdir}/version.h`
4678 E2FSPROGS_DAY=$(echoscip-shell system . . echo. $E2FSPROGS_DATE | awkscip-shell system . . awk. -F- '{ printf "%02d", $1 }')
4679 MONTH=`echoscip-shell system . . echo. $E2FSPROGS_DATE | awkscip-shell system . . awk. -F- '{print $2}'`
4680 YEAR=`echoscip-shell system . . echo. $E2FSPROGS_DATE | awkscip-shell system . . awk. -F- '{print $3}'`
4681
4682 if exprscip-shell system . . expr. $YEAR ">" 1900 > /dev/nullscip-shell filesystem . . `/dev/null`. ; then
4683 E2FSPROGS_YEAR=$YEAR
4684 elif exprscip-shell system . . expr. $YEAR ">" 90 >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
4685 E2FSPROGS_YEAR=19$YEAR
4686 else
4687 E2FSPROGS_YEAR=20$YEAR
4688 fi
4689
4690 case $MONTH in
4691 Jan) MONTH_NUM=01; E2FSPROGS_MONTH="January" ;;
4692 Feb) MONTH_NUM=02; E2FSPROGS_MONTH="February" ;;
4693 Mar) MONTH_NUM=03; E2FSPROGS_MONTH="March" ;;
4694 Apr) MONTH_NUM=04; E2FSPROGS_MONTH="April" ;;
4695 May) MONTH_NUM=05; E2FSPROGS_MONTH="May" ;;
4696 Jun) MONTH_NUM=06; E2FSPROGS_MONTH="June" ;;
4697 Jul) MONTH_NUM=07; E2FSPROGS_MONTH="July" ;;
4698 Aug) MONTH_NUM=08; E2FSPROGS_MONTH="August" ;;
4699 Sep) MONTH_NUM=09; E2FSPROGS_MONTH="September" ;;
4700 Oct) MONTH_NUM=10; E2FSPROGS_MONTH="October" ;;
4701 Nov) MONTH_NUM=11; E2FSPROGS_MONTH="November" ;;
4702 Dec) MONTH_NUM=12; E2FSPROGS_MONTH="December" ;;
4703 *) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Unknown month $MONTH??" >&5
4704 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: Unknown month $MONTH??" >&2;} ;;
4705 esac
4706
4707 base_ver=`echoscip-shell system . . echo. $E2FSPROGS_VERSION | sedscip-shell system . . sed. -e 's/pre-//' -e 's/-.*//'`
4708 base_rel=`echoscip-shell system . . echo. $E2FSPROGS_VERSION | awkscip-shell system . . awk. -F- '{ print $2 }'`
4709
4710 date_spec=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY}
4711
4712 case $E2FSPROGS_VERSION in
4713 *-WIP|pre-*)
4714 E2FSPROGS_PKGVER="$base_ver"
4715 E2FSPROGS_PKGREL="WIP.$date_spec"
4716 ;;
4717 *)
4718 E2FSPROGS_PKGVER="$base_ver"
4719 E2FSPROGS_PKGREL="$base_rel"
4720 ;;
4721 esac
4722
4723 unset DATE MONTH YEAR base_ver pre_vers date_spec
4724 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&5
4725 printfscip-shell system . . printf. "%s\n" "Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&6; }
4726 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Package version ${E2FSPROGS_PKGVER} release ${E2FSPROGS_PKGREL}" >&5
4727 printfscip-shell system . . printf. "%s\n" "Package version ${E2FSPROGS_PKGVER} release ${E2FSPROGS_PKGREL}" >&6; }
4728 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&5
4729 printfscip-shell system . . printf. "%s\n" "Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&6; }
4730
4731
4732
4733
4734
4735
4736
4737 WITH_DIET_LIBC=
4738
4739 # Check whether --with-diet-libc was given.
4740 if testscip-shell system . . test. ${with_diet_libc+y}
4741 then :
4742 withval=$with_diet_libc; CC="diet cc -nostdinc"
4743 WITH_DIET_LIBC=yes
4744 if testscip-shell system . . test. -z "$LIBS"
4745 then
4746 LIBS="-lcompat"
4747 else
4748 LIBS="$LIBS -lcompat"
4749 fi
4750 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: CC=$CC" >&5
4751 printfscip-shell system . . printf. "%s\n" "CC=$CC" >&6; }
4752 fi
4753
4754
4755
4756 # Make sure we can run config.sub.
4757 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ||
4758 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4759
4760 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4761 printfscip-shell system . . printf. %s "checking build system type... " >&6; }
4762 if testscip-shell system . . test. ${ac_cv_build+y}
4763 then :
4764 printfscip-shell system . . printf. %s "(cached) " >&6
4765 else case e in #(
4766 e) ac_build_alias=$build_alias
4767 testscip-shell system . . test. "x$ac_build_alias" = x &&
4768 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4769 testscip-shell system . . test. "x$ac_build_alias" = x &&
4770 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "cannot guess build type; you must specify one" "$LINENO" 5
4771 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4772 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4773 ;;
4774 esac
4775 fi
4776 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4777 printfscip-shell system . . printf. "%s\n" "$ac_cv_build" >&6; }
4778 case $ac_cv_build in
4779 *-*-*) ;;
4780 *) as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "invalid value of canonical build" "$LINENO" 5;;
4781 esac
4782 build=$ac_cv_build
4783 ac_save_IFS=$IFS; IFS='-'
4784 set x $ac_cv_build
4785 shift
4786 build_cpu=$1
4787 build_vendor=$2
4788 shift; shift
4789 # Remember, the first character of IFS is used to create $*,
4790 # except with old shells:
4791 build_os=$*
4792 IFS=$ac_save_IFS
4793 case $build_os in *\ *) build_os=`echoscip-shell system . . echo. "$build_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
4794
4795
4796 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4797 printfscip-shell system . . printf. %s "checking host system type... " >&6; }
4798 if testscip-shell system . . test. ${ac_cv_host+y}
4799 then :
4800 printfscip-shell system . . printf. %s "(cached) " >&6
4801 else case e in #(
4802 e) if testscip-shell system . . test. "x$host_alias" = x; then
4803 ac_cv_host=$ac_cv_build
4804 else
4805 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4806 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4807 fi
4808 ;;
4809 esac
4810 fi
4811 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4812 printfscip-shell system . . printf. "%s\n" "$ac_cv_host" >&6; }
4813 case $ac_cv_host in
4814 *-*-*) ;;
4815 *) as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "invalid value of canonical host" "$LINENO" 5;;
4816 esac
4817 host=$ac_cv_host
4818 ac_save_IFS=$IFS; IFS='-'
4819 set x $ac_cv_host
4820 shift
4821 host_cpu=$1
4822 host_vendor=$2
4823 shift; shift
4824 # Remember, the first character of IFS is used to create $*,
4825 # except with old shells:
4826 host_os=$*
4827 IFS=$ac_save_IFS
4828 case $host_os in *\ *) host_os=`echoscip-shell system . . echo. "$host_os" | sedscip-shell system . . sed. 's/ /-/g'`;; esac
4829
4830
4831 DLOPEN_LIB=''
4832 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
4833 printfscip-shell system . . printf. %s "checking for dlopen in -ldl... " >&6; }
4834 if testscip-shell system . . test. ${ac_cv_lib_dl_dlopen+y}
4835 then :
4836 printfscip-shell system . . printf. %s "(cached) " >&6
4837 else case e in #(
4838 e) ac_check_lib_save_LIBS=$LIBS
4839 LIBS="-ldl $LIBS"
4840 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4842
4843 /* Override any GCC internal prototype to avoid an error.
4844 Use char because int might match the return type of a GCC
4845 builtin and then its argument prototype would still apply.
4846 The 'extern "C"' is for builds by C++ compilers;
4847 although this is not generally supported in C code supporting it here
4848 has little cost and some practical benefit (sr 110532). */
4849 #ifdef __cplusplus
4850 extern "C"
4851 #endif
4852 char dlopen (void);
4853 int
4854 main (void)
4855 {
4856 return dlopen ();
4857 ;
4858 return 0;
4859 }
4860 _ACEOF
4861 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
4862 then :
4863 ac_cv_lib_dl_dlopen=yes
4864 else case e in #(
4865 e) ac_cv_lib_dl_dlopen=no ;;
4866 esac
4867 fi
4868 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
4869 conftest$ac_exeext conftest.$ac_ext
4870 LIBS=$ac_check_lib_save_LIBS ;;
4871 esac
4872 fi
4873 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
4874 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
4875 if testscip-shell system . . test. "x$ac_cv_lib_dl_dlopen" = xyes
4876 then :
4877 DLOPEN_LIB=-ldl
4878 fi
4879
4880
4881
4882 # Check whether --with-cc was given.
4883 if testscip-shell system . . test. ${with_cc+y}
4884 then :
4885 withval=$with_cc; as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "--with-cc no longer supported; use CC= instead" "$LINENO" 5
4886 fi
4887
4888
4889 # Check whether --with-ccopts was given.
4890 if testscip-shell system . . test. ${with_ccopts+y}
4891 then :
4892 withval=$with_ccopts; as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "--with-ccopts no longer supported; use CFLAGS= instead" "$LINENO" 5
4893 fi
4894
4895
4896 # Check whether --with-ldopts was given.
4897 if testscip-shell system . . test. ${with_ldopts+y}
4898 then :
4899 withval=$with_ldopts; as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "--with-ldopts no longer supported; use LDFLAGS= instead" "$LINENO" 5
4900 fi
4901
4902 ac_ext=c
4903 ac_cpp='$CPP $CPPFLAGS'
4904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4907 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
4908 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4909 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4910 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4912 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
4913 then :
4914 printfscip-shell system . . printf. %s "(cached) " >&6
4915 else case e in #(
4916 e) if testscip-shell system . . test. -n "$CC"; then
4917 ac_cv_prog_CC="$CC" # Let the user override the test.
4918 else
4919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4920 for as_dir in $PATH
4921 do
4922 IFS=$as_save_IFS
4923 case $as_dir in #(((
4924 '') as_dir=./ ;;
4925 */) ;;
4926 *) as_dir=$as_dir/ ;;
4927 esac
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4930 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4931 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4932 break 2
4933 fi
4934 done
4935 done
4936 IFS=$as_save_IFS
4937
4938 fi ;;
4939 esac
4940 fi
4941 CC=$ac_cv_prog_CC
4942 if testscip-shell system . . test. -n "$CC"; then
4943 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4944 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
4945 else
4946 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4948 fi
4949
4950
4951 fi
4952 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
4953 ac_ct_CC=$CC
4954 # Extract the first word of "gcc", so it can be a program name with args.
4955 set dummy gcc; ac_word=$2
4956 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
4958 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
4959 then :
4960 printfscip-shell system . . printf. %s "(cached) " >&6
4961 else case e in #(
4962 e) if testscip-shell system . . test. -n "$ac_ct_CC"; then
4963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4964 else
4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 for as_dir in $PATH
4967 do
4968 IFS=$as_save_IFS
4969 case $as_dir in #(((
4970 '') as_dir=./ ;;
4971 */) ;;
4972 *) as_dir=$as_dir/ ;;
4973 esac
4974 for ac_exec_ext in '' $ac_executable_extensions; do
4975 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
4976 ac_cv_prog_ac_ct_CC="gcc"
4977 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4978 break 2
4979 fi
4980 done
4981 done
4982 IFS=$as_save_IFS
4983
4984 fi ;;
4985 esac
4986 fi
4987 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4988 if testscip-shell system . . test. -n "$ac_ct_CC"; then
4989 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4990 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
4991 else
4992 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 printfscip-shell system . . printf. "%s\n" "no" >&6; }
4994 fi
4995
4996 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
4997 CC=""
4998 else
4999 case $cross_compiling:$ac_tool_warned in
5000 yes:)
5001 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned=yes ;;
5004 esac
5005 CC=$ac_ct_CC
5006 fi
5007 else
5008 CC="$ac_cv_prog_CC"
5009 fi
5010
5011 if testscip-shell system . . test. -z "$CC"; then
5012 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5013 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5014 set dummy ${ac_tool_prefix}cc; ac_word=$2
5015 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5017 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5018 then :
5019 printfscip-shell system . . printf. %s "(cached) " >&6
5020 else case e in #(
5021 e) if testscip-shell system . . test. -n "$CC"; then
5022 ac_cv_prog_CC="$CC" # Let the user override the test.
5023 else
5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 for as_dir in $PATH
5026 do
5027 IFS=$as_save_IFS
5028 case $as_dir in #(((
5029 '') as_dir=./ ;;
5030 */) ;;
5031 *) as_dir=$as_dir/ ;;
5032 esac
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_CC="${ac_tool_prefix}cc"
5036 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5037 break 2
5038 fi
5039 done
5040 done
5041 IFS=$as_save_IFS
5042
5043 fi ;;
5044 esac
5045 fi
5046 CC=$ac_cv_prog_CC
5047 if testscip-shell system . . test. -n "$CC"; then
5048 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5049 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5050 else
5051 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5053 fi
5054
5055
5056 fi
5057 fi
5058 if testscip-shell system . . test. -z "$CC"; then
5059 # Extract the first word of "cc", so it can be a program name with args.
5060 set dummy cc; ac_word=$2
5061 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5062 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5063 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5064 then :
5065 printfscip-shell system . . printf. %s "(cached) " >&6
5066 else case e in #(
5067 e) if testscip-shell system . . test. -n "$CC"; then
5068 ac_cv_prog_CC="$CC" # Let the user override the test.
5069 else
5070 ac_prog_rejected=no
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5073 do
5074 IFS=$as_save_IFS
5075 case $as_dir in #(((
5076 '') as_dir=./ ;;
5077 */) ;;
5078 *) as_dir=$as_dir/ ;;
5079 esac
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5082 if testscip-shell system . . test. "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
5083 ac_prog_rejected=yes
5084 continue
5085 fi
5086 ac_cv_prog_CC="cc"
5087 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5088 break 2
5089 fi
5090 done
5091 done
5092 IFS=$as_save_IFS
5093
5094 if testscip-shell system . . test. $ac_prog_rejected = yes; then
5095 # We found a bogon in the path, so make sure we never use it.
5096 set dummy $ac_cv_prog_CC
5097 shift
5098 if testscip-shell system . . test. $# != 0; then
5099 # We chose a different compiler from the bogus one.
5100 # However, it has the same basename, so the bogon will be chosen
5101 # first if we set CC to just the basename; use the full file name.
5102 shift
5103 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5104 fi
5105 fi
5106 fi ;;
5107 esac
5108 fi
5109 CC=$ac_cv_prog_CC
5110 if testscip-shell system . . test. -n "$CC"; then
5111 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5112 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5113 else
5114 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5116 fi
5117
5118
5119 fi
5120 if testscip-shell system . . test. -z "$CC"; then
5121 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5122 for ac_prog in cl.exe
5123 do
5124 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5125 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5126 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5128 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5129 then :
5130 printfscip-shell system . . printf. %s "(cached) " >&6
5131 else case e in #(
5132 e) if testscip-shell system . . test. -n "$CC"; then
5133 ac_cv_prog_CC="$CC" # Let the user override the test.
5134 else
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5136 for as_dir in $PATH
5137 do
5138 IFS=$as_save_IFS
5139 case $as_dir in #(((
5140 '') as_dir=./ ;;
5141 */) ;;
5142 *) as_dir=$as_dir/ ;;
5143 esac
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5147 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5148 break 2
5149 fi
5150 done
5151 done
5152 IFS=$as_save_IFS
5153
5154 fi ;;
5155 esac
5156 fi
5157 CC=$ac_cv_prog_CC
5158 if testscip-shell system . . test. -n "$CC"; then
5159 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5160 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5161 else
5162 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5164 fi
5165
5166
5167 testscip-shell system . . test. -n "$CC" && break
5168 done
5169 fi
5170 if testscip-shell system . . test. -z "$CC"; then
5171 ac_ct_CC=$CC
5172 for ac_prog in cl.exe
5173 do
5174 # Extract the first word of "$ac_prog", so it can be a program name with args.
5175 set dummy $ac_prog; ac_word=$2
5176 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5178 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
5179 then :
5180 printfscip-shell system . . printf. %s "(cached) " >&6
5181 else case e in #(
5182 e) if testscip-shell system . . test. -n "$ac_ct_CC"; then
5183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5184 else
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH
5187 do
5188 IFS=$as_save_IFS
5189 case $as_dir in #(((
5190 '') as_dir=./ ;;
5191 */) ;;
5192 *) as_dir=$as_dir/ ;;
5193 esac
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5196 ac_cv_prog_ac_ct_CC="$ac_prog"
5197 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5198 break 2
5199 fi
5200 done
5201 done
5202 IFS=$as_save_IFS
5203
5204 fi ;;
5205 esac
5206 fi
5207 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5208 if testscip-shell system . . test. -n "$ac_ct_CC"; then
5209 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5210 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
5211 else
5212 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5214 fi
5215
5216
5217 testscip-shell system . . test. -n "$ac_ct_CC" && break
5218 done
5219
5220 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
5221 CC=""
5222 else
5223 case $cross_compiling:$ac_tool_warned in
5224 yes:)
5225 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5226 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5227 ac_tool_warned=yes ;;
5228 esac
5229 CC=$ac_ct_CC
5230 fi
5231 fi
5232
5233 fi
5234 if testscip-shell system . . test. -z "$CC"; then
5235 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
5236 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5237 set dummy ${ac_tool_prefix}clang; ac_word=$2
5238 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5240 if testscip-shell system . . test. ${ac_cv_prog_CC+y}
5241 then :
5242 printfscip-shell system . . printf. %s "(cached) " >&6
5243 else case e in #(
5244 e) if testscip-shell system . . test. -n "$CC"; then
5245 ac_cv_prog_CC="$CC" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5249 do
5250 IFS=$as_save_IFS
5251 case $as_dir in #(((
5252 '') as_dir=./ ;;
5253 */) ;;
5254 *) as_dir=$as_dir/ ;;
5255 esac
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_CC="${ac_tool_prefix}clang"
5259 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5260 break 2
5261 fi
5262 done
5263 done
5264 IFS=$as_save_IFS
5265
5266 fi ;;
5267 esac
5268 fi
5269 CC=$ac_cv_prog_CC
5270 if testscip-shell system . . test. -n "$CC"; then
5271 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5272 printfscip-shell system . . printf. "%s\n" "$CC" >&6; }
5273 else
5274 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5276 fi
5277
5278
5279 fi
5280 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
5281 ac_ct_CC=$CC
5282 # Extract the first word of "clang", so it can be a program name with args.
5283 set dummy clang; ac_word=$2
5284 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
5286 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CC+y}
5287 then :
5288 printfscip-shell system . . printf. %s "(cached) " >&6
5289 else case e in #(
5290 e) if testscip-shell system . . test. -n "$ac_ct_CC"; then
5291 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5292 else
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 for as_dir in $PATH
5295 do
5296 IFS=$as_save_IFS
5297 case $as_dir in #(((
5298 '') as_dir=./ ;;
5299 */) ;;
5300 *) as_dir=$as_dir/ ;;
5301 esac
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_ac_ct_CC="clang"
5305 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5306 break 2
5307 fi
5308 done
5309 done
5310 IFS=$as_save_IFS
5311
5312 fi ;;
5313 esac
5314 fi
5315 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5316 if testscip-shell system . . test. -n "$ac_ct_CC"; then
5317 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5318 printfscip-shell system . . printf. "%s\n" "$ac_ct_CC" >&6; }
5319 else
5320 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5321 printfscip-shell system . . printf. "%s\n" "no" >&6; }
5322 fi
5323
5324 if testscip-shell system . . test. "x$ac_ct_CC" = x; then
5325 CC=""
5326 else
5327 case $cross_compiling:$ac_tool_warned in
5328 yes:)
5329 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5330 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5331 ac_tool_warned=yes ;;
5332 esac
5333 CC=$ac_ct_CC
5334 fi
5335 else
5336 CC="$ac_cv_prog_CC"
5337 fi
5338
5339 fi
5340
5341
5342 testscip-shell system . . test. -z "$CC" && { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5343 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
5344 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "no acceptable C compiler found in \$PATH
5345 See 'config.log' for more details" "$LINENO" 5; }
5346
5347 # Provide some information about the compiler.
5348 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5349 set X $ac_compile
5350 ac_compiler=$2
5351 for ac_option in --version -v -V -qversion -version; do
5352 { { ac_try="$ac_compiler $ac_option >&5"
5353 case "(($ac_try" in
5354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5355 *) ac_try_echo=$ac_try;;
5356 esac
5357 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5358 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
5359 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5360 ac_status=$?
5361 if testscip-shell system . . test. -s conftest.err; then
5362 sedscip-shell system . . sed. '10a\
5363 ... rest of stderr output deleted ...
5364 10q' conftest.err >conftest.er1
5365 catscip-shell system . . cat. conftest.er1 >&5
5366 fi
5367 rmscip-shell system . . rm. -f conftest.er1 conftest.err
5368 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5369 testscip-shell system . . test. $ac_status = 0; }
5370 done
5371
5372 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5373 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C... " >&6; }
5374 if testscip-shell system . . test. ${ac_cv_c_compiler_gnu+y}
5375 then :
5376 printfscip-shell system . . printf. %s "(cached) " >&6
5377 else case e in #(
5378 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5380
5381 int
5382 main (void)
5383 {
5384 #ifndef __GNUC__
5385 choke me
5386 #endif
5387
5388 ;
5389 return 0;
5390 }
5391 _ACEOF
5392 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
5393 then :
5394 ac_compiler_gnu=yes
5395 else case e in #(
5396 e) ac_compiler_gnu=no ;;
5397 esac
5398 fi
5399 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5400 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5401 ;;
5402 esac
5403 fi
5404 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5405 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5407
5408 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
5409 GCC=yes
5410 else
5411 GCC=
5412 fi
5413 ac_test_CFLAGS=${CFLAGS+y}
5414 ac_save_CFLAGS=$CFLAGS
5415 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5416 printfscip-shell system . . printf. %s "checking whether $CC accepts -g... " >&6; }
5417 if testscip-shell system . . test. ${ac_cv_prog_cc_g+y}
5418 then :
5419 printfscip-shell system . . printf. %s "(cached) " >&6
5420 else case e in #(
5421 e) ac_save_c_werror_flag=$ac_c_werror_flag
5422 ac_c_werror_flag=yes
5423 ac_cv_prog_cc_g=no
5424 CFLAGS="-g"
5425 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5426 /* end confdefs.h. */
5427
5428 int
5429 main (void)
5430 {
5431
5432 ;
5433 return 0;
5434 }
5435 _ACEOF
5436 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
5437 then :
5438 ac_cv_prog_cc_g=yes
5439 else case e in #(
5440 e) CFLAGS=""
5441 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5442 /* end confdefs.h. */
5443
5444 int
5445 main (void)
5446 {
5447
5448 ;
5449 return 0;
5450 }
5451 _ACEOF
5452 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
5453 then :
5454
5455 else case e in #(
5456 e) ac_c_werror_flag=$ac_save_c_werror_flag
5457 CFLAGS="-g"
5458 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5459 /* end confdefs.h. */
5460
5461 int
5462 main (void)
5463 {
5464
5465 ;
5466 return 0;
5467 }
5468 _ACEOF
5469 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
5470 then :
5471 ac_cv_prog_cc_g=yes
5472 fi
5473 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5474 esac
5475 fi
5476 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5477 esac
5478 fi
5479 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5480 ac_c_werror_flag=$ac_save_c_werror_flag ;;
5481 esac
5482 fi
5483 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5484 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_g" >&6; }
5485 if testscip-shell system . . test. $ac_test_CFLAGS; then
5486 CFLAGS=$ac_save_CFLAGS
5487 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
5488 if testscip-shell system . . test. "$GCC" = yes; then
5489 CFLAGS="-g -O2"
5490 else
5491 CFLAGS="-g"
5492 fi
5493 else
5494 if testscip-shell system . . test. "$GCC" = yes; then
5495 CFLAGS="-O2"
5496 else
5497 CFLAGS=
5498 fi
5499 fi
5500 ac_prog_cc_stdc=no
5501 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
5502 then :
5503 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5504 printfscip-shell system . . printf. %s "checking for $CC option to enable C11 features... " >&6; }
5505 if testscip-shell system . . test. ${ac_cv_prog_cc_c11+y}
5506 then :
5507 printfscip-shell system . . printf. %s "(cached) " >&6
5508 else case e in #(
5509 e) ac_cv_prog_cc_c11=no
5510 ac_save_CC=$CC
5511 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5512 /* end confdefs.h. */
5513 $ac_c_conftest_c11_program
5514 _ACEOF
5515 for ac_arg in '' -std=gnu11
5516 do
5517 CC="$ac_save_CC $ac_arg"
5518 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
5519 then :
5520 ac_cv_prog_cc_c11=$ac_arg
5521 fi
5522 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
5523 testscip-shell system . . test. "x$ac_cv_prog_cc_c11" != "xno" && break
5524 done
5525 rmscip-shell system . . rm. -f conftest.$ac_ext
5526 CC=$ac_save_CC ;;
5527 esac
5528 fi
5529
5530 if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = xno
5531 then :
5532 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5533 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
5534 else case e in #(
5535 e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c11" = x
5536 then :
5537 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5538 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
5539 else case e in #(
5540 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5541 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5542 CC="$CC $ac_cv_prog_cc_c11" ;;
5543 esac
5544 fi
5545 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5546 ac_prog_cc_stdc=c11 ;;
5547 esac
5548 fi
5549 fi
5550 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
5551 then :
5552 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5553 printfscip-shell system . . printf. %s "checking for $CC option to enable C99 features... " >&6; }
5554 if testscip-shell system . . test. ${ac_cv_prog_cc_c99+y}
5555 then :
5556 printfscip-shell system . . printf. %s "(cached) " >&6
5557 else case e in #(
5558 e) ac_cv_prog_cc_c99=no
5559 ac_save_CC=$CC
5560 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5561 /* end confdefs.h. */
5562 $ac_c_conftest_c99_program
5563 _ACEOF
5564 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5565 do
5566 CC="$ac_save_CC $ac_arg"
5567 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
5568 then :
5569 ac_cv_prog_cc_c99=$ac_arg
5570 fi
5571 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
5572 testscip-shell system . . test. "x$ac_cv_prog_cc_c99" != "xno" && break
5573 done
5574 rmscip-shell system . . rm. -f conftest.$ac_ext
5575 CC=$ac_save_CC ;;
5576 esac
5577 fi
5578
5579 if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = xno
5580 then :
5581 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5582 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
5583 else case e in #(
5584 e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c99" = x
5585 then :
5586 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5587 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
5588 else case e in #(
5589 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5590 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5591 CC="$CC $ac_cv_prog_cc_c99" ;;
5592 esac
5593 fi
5594 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5595 ac_prog_cc_stdc=c99 ;;
5596 esac
5597 fi
5598 fi
5599 if testscip-shell system . . test. x$ac_prog_cc_stdc = xno
5600 then :
5601 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5602 printfscip-shell system . . printf. %s "checking for $CC option to enable C89 features... " >&6; }
5603 if testscip-shell system . . test. ${ac_cv_prog_cc_c89+y}
5604 then :
5605 printfscip-shell system . . printf. %s "(cached) " >&6
5606 else case e in #(
5607 e) ac_cv_prog_cc_c89=no
5608 ac_save_CC=$CC
5609 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5610 /* end confdefs.h. */
5611 $ac_c_conftest_c89_program
5612 _ACEOF
5613 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5614 do
5615 CC="$ac_save_CC $ac_arg"
5616 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
5617 then :
5618 ac_cv_prog_cc_c89=$ac_arg
5619 fi
5620 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
5621 testscip-shell system . . test. "x$ac_cv_prog_cc_c89" != "xno" && break
5622 done
5623 rmscip-shell system . . rm. -f conftest.$ac_ext
5624 CC=$ac_save_CC ;;
5625 esac
5626 fi
5627
5628 if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = xno
5629 then :
5630 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5631 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
5632 else case e in #(
5633 e) if testscip-shell system . . test. "x$ac_cv_prog_cc_c89" = x
5634 then :
5635 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5636 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
5637 else case e in #(
5638 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5639 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5640 CC="$CC $ac_cv_prog_cc_c89" ;;
5641 esac
5642 fi
5643 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5644 ac_prog_cc_stdc=c89 ;;
5645 esac
5646 fi
5647 fi
5648
5649 ac_ext=c
5650 ac_cpp='$CPP $CPPFLAGS'
5651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5654
5655 if testscip-shell system . . test. "$GCC" = yes; then
5656 RDYNAMIC="-rdynamic"
5657
5658 fi
5659 ac_ext=c
5660 ac_cpp='$CPP $CPPFLAGS'
5661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5664 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5665 printfscip-shell system . . printf. %s "checking how to run the C preprocessor... " >&6; }
5666 # On Suns, sometimes $CPP names a directory.
5667 if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then
5668 CPP=
5669 fi
5670 if testscip-shell system . . test. -z "$CPP"; then
5671 if testscip-shell system . . test. ${ac_cv_prog_CPP+y}
5672 then :
5673 printfscip-shell system . . printf. %s "(cached) " >&6
5674 else case e in #(
5675 e) # Double quotes because $CC needs to be expanded
5676 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cppscip-shell filesystem . . `/lib/cpp`.
5677 do
5678 ac_preproc_ok=false
5679 for ac_c_preproc_warn_flag in '' yes
5680 do
5681 # Use a header file that comes with gcc, so configuring glibc
5682 # with a fresh cross-compiler works.
5683 # On the NeXT, cc -E runs the code through the compiler's parser,
5684 # not just through cpp. "Syntax error" is here to catch this case.
5685 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5687 #include <limits.h>
5688 Syntax error
5689 _ACEOF
5690 if ac_fn_c_try_cppscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_cpp(). "$LINENO"
5691 then :
5692
5693 else case e in #(
5694 e) # Broken: fails on valid input.
5695 continue ;;
5696 esac
5697 fi
5698 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
5699
5700 # OK, works on sane cases. Now check whether nonexistent headers
5701 # can be detected and how.
5702 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5703 /* end confdefs.h. */
5704 #include <ac_nonexistent.h>
5705 _ACEOF
5706 if ac_fn_c_try_cppscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_cpp(). "$LINENO"
5707 then :
5708 # Broken: success on invalid input.
5709 continue
5710 else case e in #(
5711 e) # Passes both tests.
5712 ac_preproc_ok=:
5713 break ;;
5714 esac
5715 fi
5716 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
5717
5718 done
5719 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5720 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
5721 if $ac_preproc_ok
5722 then :
5723 break
5724 fi
5725
5726 done
5727 ac_cv_prog_CPP=$CPP
5728 ;;
5729 esac
5730 fi
5731 CPP=$ac_cv_prog_CPP
5732 else
5733 ac_cv_prog_CPP=$CPP
5734 fi
5735 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5736 printfscip-shell system . . printf. "%s\n" "$CPP" >&6; }
5737 ac_preproc_ok=false
5738 for ac_c_preproc_warn_flag in '' yes
5739 do
5740 # Use a header file that comes with gcc, so configuring glibc
5741 # with a fresh cross-compiler works.
5742 # On the NeXT, cc -E runs the code through the compiler's parser,
5743 # not just through cpp. "Syntax error" is here to catch this case.
5744 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5745 /* end confdefs.h. */
5746 #include <limits.h>
5747 Syntax error
5748 _ACEOF
5749 if ac_fn_c_try_cppscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_cpp(). "$LINENO"
5750 then :
5751
5752 else case e in #(
5753 e) # Broken: fails on valid input.
5754 continue ;;
5755 esac
5756 fi
5757 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
5758
5759 # OK, works on sane cases. Now check whether nonexistent headers
5760 # can be detected and how.
5761 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
5762 /* end confdefs.h. */
5763 #include <ac_nonexistent.h>
5764 _ACEOF
5765 if ac_fn_c_try_cppscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_cpp(). "$LINENO"
5766 then :
5767 # Broken: success on invalid input.
5768 continue
5769 else case e in #(
5770 e) # Passes both tests.
5771 ac_preproc_ok=:
5772 break ;;
5773 esac
5774 fi
5775 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
5776
5777 done
5778 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5779 rmscip-shell system . . rm. -f conftest.i conftest.err conftest.$ac_ext
5780 if $ac_preproc_ok
5781 then :
5782
5783 else case e in #(
5784 e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5785 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
5786 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "C preprocessor \"$CPP\" fails sanity check
5787 See 'config.log' for more details" "$LINENO" 5; } ;;
5788 esac
5789 fi
5790
5791 ac_ext=c
5792 ac_cpp='$CPP $CPPFLAGS'
5793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5796
5797 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for additional special compiler flags" >&5
5798 printfscip-shell system . . printf. %s "checking for additional special compiler flags... " >&6; }
5799 if testscip-shell system . . test. "$GCC" = yes
5800 then
5801 case "$host_cpu" in
5802 alpha) addcflags="-mieee" ;;
5803 esac
5804 fi
5805 if testscip-shell system . . test. "x$addcflags" != x
5806 then
5807 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $addcflags" >&5
5808 printfscip-shell system . . printf. "%s\n" "$addcflags" >&6; }
5809 CFLAGS="$addcflags $CFLAGS"
5810 else
5811 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
5812 printfscip-shell system . . printf. "%s\n" "(none)" >&6; }
5813 fi
5814 LIB_EXT=.a
5815 STATIC_LIB_EXT=.a
5816 PROFILED_LIB_EXT=.a
5817
5818 # Check whether --with-root-prefix was given.
5819 if testscip-shell system . . test. ${with_root_prefix+y}
5820 then :
5821 withval=$with_root_prefix; root_prefix=$withval
5822 else case e in #(
5823 e) root_prefix=NONE ;;
5824 esac
5825 fi
5826 # Check whether --enable-maintainer-mode was given.
5827 if testscip-shell system . . test. ${enable_maintainer_mode+y}
5828 then :
5829 enableval=$enable_maintainer_mode; if testscip-shell system . . test. "$enableval" = "no"
5830 then
5831 MAINTAINER_CMT=#
5832 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode" >&5
5833 printfscip-shell system . . printf. "%s\n" "Disabling maintainer mode" >&6; }
5834 else
5835 MAINTAINER_CMT=
5836 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling maintainer mode" >&5
5837 printfscip-shell system . . printf. "%s\n" "Enabling maintainer mode" >&6; }
5838 fi
5839
5840 else case e in #(
5841 e) MAINTAINER_CMT=#
5842 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling maintainer mode by default" >&5
5843 printfscip-shell system . . printf. "%s\n" "Disabling maintainer mode by default" >&6; }
5844 ;;
5845 esac
5846 fi
5847
5848
5849 # Check whether --enable-symlink-install was given.
5850 if testscip-shell system . . test. ${enable_symlink_install+y}
5851 then :
5852 enableval=$enable_symlink_install; if testscip-shell system . . test. "$enableval" = "no"
5853 then
5854 LINK_INSTALL_FLAGS=-f
5855 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install" >&5
5856 printfscip-shell system . . printf. "%s\n" "Disabling symlinks for install" >&6; }
5857 else
5858 LINK_INSTALL_FLAGS=-sf
5859 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for install" >&5
5860 printfscip-shell system . . printf. "%s\n" "Enabling symlinks for install" >&6; }
5861 fi
5862
5863 else case e in #(
5864 e) LINK_INSTALL_FLAGS=-f
5865 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for install by default" >&5
5866 printfscip-shell system . . printf. "%s\n" "Disabling symlinks for install by default" >&6; }
5867 ;;
5868 esac
5869 fi
5870
5871
5872 relative_symlink_defined=
5873 # Check whether --enable-relative-symlinks was given.
5874 if testscip-shell system . . test. ${enable_relative_symlinks+y}
5875 then :
5876 enableval=$enable_relative_symlinks; if testscip-shell system . . test. "$enableval" = "no"
5877 then
5878 SYMLINK_RELATIVE=
5879 relative_symlink_defined=yes
5880 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
5881 printfscip-shell system . . printf. "%s\n" "Disabling relative symlinks for install" >&6; }
5882 else
5883 SYMLINK_RELATIVE=--relative
5884 relative_symlink_defined=yes
5885 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
5886 printfscip-shell system . . printf. "%s\n" "Enabling relative symlinks for install" >&6; }
5887 fi
5888 fi
5889
5890 # Check whether --enable-symlink-relative-symlinks was given.
5891 if testscip-shell system . . test. ${enable_symlink_relative_symlinks+y}
5892 then :
5893 enableval=$enable_symlink_relative_symlinks; if testscip-shell system . . test. "$enableval" = "no"
5894 then
5895 SYMLINK_RELATIVE=yes
5896 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install" >&5
5897 printfscip-shell system . . printf. "%s\n" "Disabling relative symlinks for install" >&6; }
5898 else
5899 SYMLINK_RELATIVE=--relative
5900 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling relative symlinks for install" >&5
5901 printfscip-shell system . . printf. "%s\n" "Enabling relative symlinks for install" >&6; }
5902 fi
5903
5904 else case e in #(
5905 e) if testscip-shell system . . test. -z "$relative_symlink_defined"
5906 then
5907 SYMLINK_RELATIVE=
5908 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling relative symlinks for install by default" >&5
5909 printfscip-shell system . . printf. "%s\n" "Disabling relative symlinks for install by default" >&6; }
5910 fi
5911 ;;
5912 esac
5913 fi
5914
5915
5916 # Check whether --enable-symlink-build was given.
5917 if testscip-shell system . . test. ${enable_symlink_build+y}
5918 then :
5919 enableval=$enable_symlink_build; if testscip-shell system . . test. "$enableval" = "no"
5920 then
5921 LINK_BUILD_FLAGS=
5922 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build" >&5
5923 printfscip-shell system . . printf. "%s\n" "Disabling symlinks for build" >&6; }
5924 else
5925 LINK_BUILD_FLAGS=-s
5926 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling symlinks for build" >&5
5927 printfscip-shell system . . printf. "%s\n" "Enabling symlinks for build" >&6; }
5928 fi
5929
5930 else case e in #(
5931 e) LINK_BUILD_FLAGS=
5932 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling symlinks for build by default" >&5
5933 printfscip-shell system . . printf. "%s\n" "Disabling symlinks for build by default" >&6; }
5934 ;;
5935 esac
5936 fi
5937
5938
5939 # Check whether --enable-verbose-makecmds was given.
5940 if testscip-shell system . . test. ${enable_verbose_makecmds+y}
5941 then :
5942 enableval=$enable_verbose_makecmds; if testscip-shell system . . test. "$enableval" = "no"
5943 then
5944 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
5945 printfscip-shell system . . printf. "%s\n" "Disabling verbose make commands" >&6; }
5946 E=@echo
5947 ES=echo
5948 Q=@
5949 else
5950 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling verbose make commands" >&5
5951 printfscip-shell system . . printf. "%s\n" "Enabling verbose make commands" >&6; }
5952 E=@\\#
5953 ES=\\#
5954 Q=
5955 fi
5956
5957 else case e in #(
5958 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling verbose make commands" >&5
5959 printfscip-shell system . . printf. "%s\n" "Disabling verbose make commands" >&6; }
5960 E=@echo
5961 ES=echo
5962 Q=@
5963 ;;
5964 esac
5965 fi
5966
5967
5968
5969
5970 E2_PKG_CONFIG_STATIC=--static
5971 LDFLAG_DYNAMIC=
5972 PRIVATE_LIBS_CMT=
5973 # Check whether --enable-elf-shlibs was given.
5974 if testscip-shell system . . test. ${enable_elf_shlibs+y}
5975 then :
5976 enableval=$enable_elf_shlibs; if testscip-shell system . . test. "$enableval" = "no"
5977 then
5978 ELF_CMT=#
5979 MAKEFILE_ELF=/dev/nullscip-shell filesystem . . `/dev/null`.
5980 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries" >&5
5981 printfscip-shell system . . printf. "%s\n" "Disabling ELF shared libraries" >&6; }
5982 else
5983 E2_PKG_CONFIG_STATIC=
5984 ELF_CMT=
5985 MAKEFILE_ELF=$srcdir/lib/Makefile.elf-lib
5986 case "$host_os" in
5987 solaris2.*)
5988 MAKEFILE_ELF=$srcdir/lib/Makefile.solaris-lib
5989 ;;
5990 esac
5991 BINARY_TYPE=elfbin
5992 LIB_EXT=.so
5993 PRIVATE_LIBS_CMT=#
5994 LDFLAG_DYNAMIC='-Wl,-rpath-link,$(top_builddir)/lib'
5995 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling ELF shared libraries" >&5
5996 printfscip-shell system . . printf. "%s\n" "Enabling ELF shared libraries" >&6; }
5997 fi
5998
5999 else case e in #(
6000 e) MAKEFILE_ELF=/dev/nullscip-shell filesystem . . `/dev/null`.
6001 ELF_CMT=#
6002 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling ELF shared libraries by default" >&5
6003 printfscip-shell system . . printf. "%s\n" "Disabling ELF shared libraries by default" >&6; }
6004 ;;
6005 esac
6006 fi
6007
6008
6009
6010 # Check whether --enable-bsd-shlibs was given.
6011 if testscip-shell system . . test. ${enable_bsd_shlibs+y}
6012 then :
6013 enableval=$enable_bsd_shlibs; if testscip-shell system . . test. "$enableval" = "no"
6014 then
6015 BSDLIB_CMT=#
6016 MAKEFILE_BSDLIB=/dev/nullscip-shell filesystem . . `/dev/null`.
6017 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries" >&5
6018 printfscip-shell system . . printf. "%s\n" "Disabling BSD shared libraries" >&6; }
6019 else
6020 E2_PKG_CONFIG_STATIC=
6021 BSDLIB_CMT=
6022 MAKEFILE_BSDLIB=$srcdir/lib/Makefile.bsd-lib
6023 LIB_EXT=.so
6024 case "$host_os" in
6025 darwin*)
6026 MAKEFILE_BSDLIB=$srcdir/lib/Makefile.darwin-lib
6027 LIB_EXT=.dylib
6028 ;;
6029 esac
6030 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling BSD shared libraries" >&5
6031 printfscip-shell system . . printf. "%s\n" "Enabling BSD shared libraries" >&6; }
6032 fi
6033
6034 else case e in #(
6035 e) MAKEFILE_BSDLIB=/dev/nullscip-shell filesystem . . `/dev/null`.
6036 BSDLIB_CMT=#
6037 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling BSD shared libraries by default" >&5
6038 printfscip-shell system . . printf. "%s\n" "Disabling BSD shared libraries by default" >&6; }
6039 ;;
6040 esac
6041 fi
6042
6043
6044
6045 # Check whether --enable-profile was given.
6046 if testscip-shell system . . test. ${enable_profile+y}
6047 then :
6048 enableval=$enable_profile; if testscip-shell system . . test. "$enableval" = "no"
6049 then
6050 PROFILE_CMT=#
6051 MAKEFILE_PROFILE=/dev/nullscip-shell filesystem . . `/dev/null`.
6052 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries" >&5
6053 printfscip-shell system . . printf. "%s\n" "Disabling profiling libraries" >&6; }
6054 else
6055 PROFILE_CMT=
6056 MAKEFILE_PROFILE=$srcdir/lib/Makefile.profile
6057 PROFILED_LIB_EXT=_p.a
6058 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Building profiling libraries" >&5
6059 printfscip-shell system . . printf. "%s\n" "Building profiling libraries" >&6; }
6060 fi
6061
6062 else case e in #(
6063 e) PROFILE_CMT=#
6064 MAKEFILE_PROFILE=/dev/nullscip-shell filesystem . . `/dev/null`.
6065 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling profiling libraries by default" >&5
6066 printfscip-shell system . . printf. "%s\n" "Disabling profiling libraries by default" >&6; }
6067 ;;
6068 esac
6069 fi
6070
6071
6072
6073 # Check whether --enable-gcov was given.
6074 if testscip-shell system . . test. ${enable_gcov+y}
6075 then :
6076 enableval=$enable_gcov; if testscip-shell system . . test. "$enableval" = "yes"
6077 then
6078 CFLAGS="-g -fprofile-arcs -ftest-coverage"
6079 LDFLAGS="-fprofile-arcs -ftest-coverage"
6080 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling gcov support" >&5
6081 printfscip-shell system . . printf. "%s\n" "Enabling gcov support" >&6; }
6082 fi
6083
6084 fi
6085
6086 CFLAGS_SHLIB="${CFLAGS_SHLIB:-$CFLAGS}"
6087 CFLAGS_STLIB="${CFLAGS_STLIB:-$CFLAGS}"
6088 LDFLAGS_SHLIB=${LDFLAGS_SHLIB:-$LDFLAGS}
6089 LDFLAGS_STATIC=${LDFLAGS_STATIC:-$LDFLAGS}
6090 # Check whether --enable-hardening was given.
6091 if testscip-shell system . . test. ${enable_hardening+y}
6092 then :
6093 enableval=$enable_hardening; if testscip-shell system . . test. "$enableval" = "yes"
6094 then
6095 HARDEN_CFLAGS="-D_FORTIFY_SOURCE=3 -fstack-protector-strong"
6096 HARDEN_LDFLAGS="-Wl,-z,relro -Wl,-z,now"
6097 CFLAGS="$CFLAGS $HARDEN_CFLAGS -fPIE"
6098 CFLAGS_SHLIB="$CFLAGS_SHLIB $HARDEN_CFLAGS"
6099 CFLAGS_STLIB="$CFLAGS_STLIB $HARDEN_CFLAGS -fPIE"
6100 LDFLAGS="$LDFLAGS $HARDEN_LDFLAGS -fPIE -pie"
6101 LDFLAGS_STATIC="$LDFLAGS_STATIC $HARDEN_LDFLAGS"
6102 LDFLAGS_SHLIB="$LDFLAGS_SHLIB $HARDEN_LDFLAGS"
6103 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling hardening support" >&5
6104 printfscip-shell system . . printf. "%s\n" "Enabling hardening support" >&6; }
6105 fi
6106
6107 fi
6108
6109
6110
6111
6112
6113
6114 # Check whether --enable-jbd-debug was given.
6115 if testscip-shell system . . test. ${enable_jbd_debug+y}
6116 then :
6117 enableval=$enable_jbd_debug; if testscip-shell system . . test. "$enableval" = "no"
6118 then
6119 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging" >&5
6120 printfscip-shell system . . printf. "%s\n" "Disabling journal debugging" >&6; }
6121 else
6122
6123 printfscip-shell system . . printf. "%s\n" "#define CONFIG_JBD_DEBUG 1" >>confdefs.h
6124
6125 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling journal debugging" >&5
6126 printfscip-shell system . . printf. "%s\n" "Enabling journal debugging" >&6; }
6127 fi
6128
6129 else case e in #(
6130 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling journal debugging by default" >&5
6131 printfscip-shell system . . printf. "%s\n" "Disabling journal debugging by default" >&6; }
6132 ;;
6133 esac
6134 fi
6135
6136 # Check whether --enable-blkid-debug was given.
6137 if testscip-shell system . . test. ${enable_blkid_debug+y}
6138 then :
6139 enableval=$enable_blkid_debug; if testscip-shell system . . test. "$enableval" = "no"
6140 then
6141 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging" >&5
6142 printfscip-shell system . . printf. "%s\n" "Disabling blkid debugging" >&6; }
6143 else
6144
6145 printfscip-shell system . . printf. "%s\n" "#define CONFIG_BLKID_DEBUG 1" >>confdefs.h
6146
6147 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling blkid debugging" >&5
6148 printfscip-shell system . . printf. "%s\n" "Enabling blkid debugging" >&6; }
6149 fi
6150
6151 else case e in #(
6152 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling blkid debugging by default" >&5
6153 printfscip-shell system . . printf. "%s\n" "Disabling blkid debugging by default" >&6; }
6154 ;;
6155 esac
6156 fi
6157
6158 # Check whether --enable-testio-debug was given.
6159 if testscip-shell system . . test. ${enable_testio_debug+y}
6160 then :
6161 enableval=$enable_testio_debug;
6162 if testscip-shell system . . test. "$enableval" = "no"
6163 then
6164 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling testio debugging" >&5
6165 printfscip-shell system . . printf. "%s\n" "Disabling testio debugging" >&6; }
6166 TEST_IO_CMT="#"
6167 else
6168 TEST_IO_CMT=
6169 printfscip-shell system . . printf. "%s\n" "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
6170
6171 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging" >&5
6172 printfscip-shell system . . printf. "%s\n" "Enabling testio debugging" >&6; }
6173 fi
6174
6175 else case e in #(
6176 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling testio debugging by default" >&5
6177 printfscip-shell system . . printf. "%s\n" "Enabling testio debugging by default" >&6; }
6178 printfscip-shell system . . printf. "%s\n" "#define CONFIG_TESTIO_DEBUG 1" >>confdefs.h
6179
6180 TEST_IO_CMT=
6181 ;;
6182 esac
6183 fi
6184
6185
6186 # Check whether --enable-developer-features was given.
6187 if testscip-shell system . . test. ${enable_developer_features+y}
6188 then :
6189 enableval=$enable_developer_features;
6190 if testscip-shell system . . test. "$enableval" = "yes"
6191 then
6192 DEV_FEATURES_CMT=
6193 printfscip-shell system . . printf. "%s\n" "#define CONFIG_DEVELOPER_FEATURES 1" >>confdefs.h
6194
6195 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling ext4 developer features" >&5
6196 printfscip-shell system . . printf. "%s\n" "Enabling ext4 developer features" >&6; }
6197 else
6198 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling ext4 developer features" >&5
6199 printfscip-shell system . . printf. "%s\n" "Disabling ext4 developer features" >&6; }
6200 DEV_FEATURES_CMT="#"
6201 fi
6202
6203 else case e in #(
6204 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling ext4 developer features by default" >&5
6205 printfscip-shell system . . printf. "%s\n" "Disabling ext4 developer features by default" >&6; }
6206 DEV_FEATURES_CMT=
6207 ;;
6208 esac
6209 fi
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219 if testscip-shell system . . test. "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6220 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
6221 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6222 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6223 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6224 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6225 if testscip-shell system . . test. ${ac_cv_path_PKG_CONFIG+y}
6226 then :
6227 printfscip-shell system . . printf. %s "(cached) " >&6
6228 else case e in #(
6229 e) case $PKG_CONFIG in
6230 [\\/]* | ?:[\\/]*)
6231 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6232 ;;
6233 *)
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 for as_dir in $PATH
6236 do
6237 IFS=$as_save_IFS
6238 case $as_dir in #(((
6239 '') as_dir=./ ;;
6240 */) ;;
6241 *) as_dir=$as_dir/ ;;
6242 esac
6243 for ac_exec_ext in '' $ac_executable_extensions; do
6244 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6245 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
6246 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6247 break 2
6248 fi
6249 done
6250 done
6251 IFS=$as_save_IFS
6252
6253 ;;
6254 esac ;;
6255 esac
6256 fi
6257 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6258 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
6259 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6260 printfscip-shell system . . printf. "%s\n" "$PKG_CONFIG" >&6; }
6261 else
6262 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6264 fi
6265
6266
6267 fi
6268 if testscip-shell system . . test. -z "$ac_cv_path_PKG_CONFIG"; then
6269 ac_pt_PKG_CONFIG=$PKG_CONFIG
6270 # Extract the first word of "pkg-config", so it can be a program name with args.
6271 set dummy pkg-config; ac_word=$2
6272 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6274 if testscip-shell system . . test. ${ac_cv_path_ac_pt_PKG_CONFIG+y}
6275 then :
6276 printfscip-shell system . . printf. %s "(cached) " >&6
6277 else case e in #(
6278 e) case $ac_pt_PKG_CONFIG in
6279 [\\/]* | ?:[\\/]*)
6280 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6281 ;;
6282 *)
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 for as_dir in $PATH
6285 do
6286 IFS=$as_save_IFS
6287 case $as_dir in #(((
6288 '') as_dir=./ ;;
6289 */) ;;
6290 *) as_dir=$as_dir/ ;;
6291 esac
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6294 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
6295 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6296 break 2
6297 fi
6298 done
6299 done
6300 IFS=$as_save_IFS
6301
6302 ;;
6303 esac ;;
6304 esac
6305 fi
6306 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6307 if testscip-shell system . . test. -n "$ac_pt_PKG_CONFIG"; then
6308 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6309 printfscip-shell system . . printf. "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
6310 else
6311 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6312 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6313 fi
6314
6315 if testscip-shell system . . test. "x$ac_pt_PKG_CONFIG" = x; then
6316 PKG_CONFIG=""
6317 else
6318 case $cross_compiling:$ac_tool_warned in
6319 yes:)
6320 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6321 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6322 ac_tool_warned=yes ;;
6323 esac
6324 PKG_CONFIG=$ac_pt_PKG_CONFIG
6325 fi
6326 else
6327 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6328 fi
6329
6330 fi
6331 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
6332 _pkg_min_version=0.9.0
6333 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6334 printfscip-shell system . . printf. %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6335 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6336 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6337 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
6338 else
6339 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6341 PKG_CONFIG=""
6342 fi
6343 fi
6344 LIBUUID=
6345 DEPLIBUUID=
6346 STATIC_LIBUUID=
6347 DEPSTATIC_LIBUUID=
6348 PROFILED_LIBUUID=
6349 DEPPROFILED_LIBUUID=
6350 UUID_CMT=
6351 # Check whether --enable-libuuid was given.
6352 if testscip-shell system . . test. ${enable_libuuid+y}
6353 then :
6354 enableval=$enable_libuuid; if testscip-shell system . . test. "$enableval" = "no"
6355 then
6356 if testscip-shell system . . test. -z "$PKG_CONFIG"; then
6357 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "pkg-config not installed; please install it." "$LINENO" 5
6358 fi
6359
6360 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
6361 printfscip-shell system . . printf. %s "checking for uuid_generate in -luuid... " >&6; }
6362 if testscip-shell system . . test. ${ac_cv_lib_uuid_uuid_generate+y}
6363 then :
6364 printfscip-shell system . . printf. %s "(cached) " >&6
6365 else case e in #(
6366 e) ac_check_lib_save_LIBS=$LIBS
6367 LIBS="-luuid $LIBS"
6368 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6369 /* end confdefs.h. */
6370
6371 /* Override any GCC internal prototype to avoid an error.
6372 Use char because int might match the return type of a GCC
6373 builtin and then its argument prototype would still apply.
6374 The 'extern "C"' is for builds by C++ compilers;
6375 although this is not generally supported in C code supporting it here
6376 has little cost and some practical benefit (sr 110532). */
6377 #ifdef __cplusplus
6378 extern "C"
6379 #endif
6380 char uuid_generate (void);
6381 int
6382 main (void)
6383 {
6384 return uuid_generate ();
6385 ;
6386 return 0;
6387 }
6388 _ACEOF
6389 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
6390 then :
6391 ac_cv_lib_uuid_uuid_generate=yes
6392 else case e in #(
6393 e) ac_cv_lib_uuid_uuid_generate=no ;;
6394 esac
6395 fi
6396 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6397 conftest$ac_exeext conftest.$ac_ext
6398 LIBS=$ac_check_lib_save_LIBS ;;
6399 esac
6400 fi
6401 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
6402 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_uuid_uuid_generate" >&6; }
6403 if testscip-shell system . . test. "x$ac_cv_lib_uuid_uuid_generate" = xyes
6404 then :
6405 LIBUUID=`$PKG_CONFIG --libs uuid`;
6406 STATIC_LIBUUID=`$PKG_CONFIG --static --libs uuid`
6407 else case e in #(
6408 e) as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "external uuid library not found" "$LINENO" 5 ;;
6409 esac
6410 fi
6411
6412 PROFILED_LIBUUID=$LIBUUID
6413 UUID_CMT=#
6414 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling private uuid library" >&5
6415 printfscip-shell system . . printf. "%s\n" "Disabling private uuid library" >&6; }
6416 else
6417 LIBUUID='$(LIB)/libuuid'$LIB_EXT
6418 DEPLIBUUID=$LIBUUID
6419 STATIC_LIBUUID='$(LIB)/libuuid'$STATIC_LIB_EXT
6420 DEPSTATIC_LIBUUID=$STATIC_LIBUUID
6421 PROFILED_LIBUUID='$(LIB)/libuuid'$PROFILED_LIB_EXT
6422 DEPPROFILED_LIBUUID=$PROFILED_LIBUUID
6423 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library" >&5
6424 printfscip-shell system . . printf. "%s\n" "Enabling private uuid library" >&6; }
6425 fi
6426
6427 else case e in #(
6428 e) if testscip-shell system . . test. -n "$PKG_CONFIG"; then
6429 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
6430 printfscip-shell system . . printf. %s "checking for uuid_generate in -luuid... " >&6; }
6431 if testscip-shell system . . test. ${ac_cv_lib_uuid_uuid_generate+y}
6432 then :
6433 printfscip-shell system . . printf. %s "(cached) " >&6
6434 else case e in #(
6435 e) ac_check_lib_save_LIBS=$LIBS
6436 LIBS="-luuid $LIBS"
6437 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6439
6440 /* Override any GCC internal prototype to avoid an error.
6441 Use char because int might match the return type of a GCC
6442 builtin and then its argument prototype would still apply.
6443 The 'extern "C"' is for builds by C++ compilers;
6444 although this is not generally supported in C code supporting it here
6445 has little cost and some practical benefit (sr 110532). */
6446 #ifdef __cplusplus
6447 extern "C"
6448 #endif
6449 char uuid_generate (void);
6450 int
6451 main (void)
6452 {
6453 return uuid_generate ();
6454 ;
6455 return 0;
6456 }
6457 _ACEOF
6458 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
6459 then :
6460 ac_cv_lib_uuid_uuid_generate=yes
6461 else case e in #(
6462 e) ac_cv_lib_uuid_uuid_generate=no ;;
6463 esac
6464 fi
6465 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6466 conftest$ac_exeext conftest.$ac_ext
6467 LIBS=$ac_check_lib_save_LIBS ;;
6468 esac
6469 fi
6470 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
6471 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_uuid_uuid_generate" >&6; }
6472 if testscip-shell system . . test. "x$ac_cv_lib_uuid_uuid_generate" = xyes
6473 then :
6474 LIBUUID=`$PKG_CONFIG --libs uuid`;
6475 STATIC_LIBUUID=`$PKG_CONFIG --static --libs uuid`
6476 fi
6477
6478 fi
6479 if testscip-shell system . . test. -n "$LIBUUID"; then
6480 PROFILED_LIBUUID=$LIBUUID
6481 UUID_CMT=#
6482 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using system uuid by default" >&5
6483 printfscip-shell system . . printf. "%s\n" "Using system uuid by default" >&6; }
6484 else
6485 LIBUUID='$(LIB)/libuuid'$LIB_EXT
6486 DEPLIBUUID=$LIBUUID
6487 STATIC_LIBUUID='$(LIB)/libuuid'$STATIC_LIB_EXT
6488 DEPSTATIC_LIBUUID=$STATIC_LIBUUID
6489 PROFILED_LIBUUID='$(LIB)/libuuid'$PROFILED_LIB_EXT
6490 DEPPROFILED_LIBUUID=$PROFILED_LIBUUID
6491 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling private uuid library by default" >&5
6492 printfscip-shell system . . printf. "%s\n" "Enabling private uuid library by default" >&6; }
6493 fi
6494 ;;
6495 esac
6496 fi
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512 if testscip-shell system . . test. "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6513 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
6514 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6515 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6516 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6517 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6518 if testscip-shell system . . test. ${ac_cv_path_PKG_CONFIG+y}
6519 then :
6520 printfscip-shell system . . printf. %s "(cached) " >&6
6521 else case e in #(
6522 e) case $PKG_CONFIG in
6523 [\\/]* | ?:[\\/]*)
6524 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6525 ;;
6526 *)
6527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 for as_dir in $PATH
6529 do
6530 IFS=$as_save_IFS
6531 case $as_dir in #(((
6532 '') as_dir=./ ;;
6533 */) ;;
6534 *) as_dir=$as_dir/ ;;
6535 esac
6536 for ac_exec_ext in '' $ac_executable_extensions; do
6537 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6538 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
6539 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6540 break 2
6541 fi
6542 done
6543 done
6544 IFS=$as_save_IFS
6545
6546 ;;
6547 esac ;;
6548 esac
6549 fi
6550 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6551 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
6552 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6553 printfscip-shell system . . printf. "%s\n" "$PKG_CONFIG" >&6; }
6554 else
6555 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6557 fi
6558
6559
6560 fi
6561 if testscip-shell system . . test. -z "$ac_cv_path_PKG_CONFIG"; then
6562 ac_pt_PKG_CONFIG=$PKG_CONFIG
6563 # Extract the first word of "pkg-config", so it can be a program name with args.
6564 set dummy pkg-config; ac_word=$2
6565 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6566 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
6567 if testscip-shell system . . test. ${ac_cv_path_ac_pt_PKG_CONFIG+y}
6568 then :
6569 printfscip-shell system . . printf. %s "(cached) " >&6
6570 else case e in #(
6571 e) case $ac_pt_PKG_CONFIG in
6572 [\\/]* | ?:[\\/]*)
6573 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6574 ;;
6575 *)
6576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6577 for as_dir in $PATH
6578 do
6579 IFS=$as_save_IFS
6580 case $as_dir in #(((
6581 '') as_dir=./ ;;
6582 */) ;;
6583 *) as_dir=$as_dir/ ;;
6584 esac
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
6587 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
6588 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6589 break 2
6590 fi
6591 done
6592 done
6593 IFS=$as_save_IFS
6594
6595 ;;
6596 esac ;;
6597 esac
6598 fi
6599 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6600 if testscip-shell system . . test. -n "$ac_pt_PKG_CONFIG"; then
6601 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6602 printfscip-shell system . . printf. "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
6603 else
6604 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6605 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6606 fi
6607
6608 if testscip-shell system . . test. "x$ac_pt_PKG_CONFIG" = x; then
6609 PKG_CONFIG=""
6610 else
6611 case $cross_compiling:$ac_tool_warned in
6612 yes:)
6613 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6614 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6615 ac_tool_warned=yes ;;
6616 esac
6617 PKG_CONFIG=$ac_pt_PKG_CONFIG
6618 fi
6619 else
6620 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6621 fi
6622
6623 fi
6624 if testscip-shell system . . test. -n "$PKG_CONFIG"; then
6625 _pkg_min_version=0.9.0
6626 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6627 printfscip-shell system . . printf. %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6628 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6629 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6630 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
6631 else
6632 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 printfscip-shell system . . printf. "%s\n" "no" >&6; }
6634 PKG_CONFIG=""
6635 fi
6636 fi
6637 LIBBLKID=
6638 DEPLIBBLKID=
6639 STATIC_LIBBLKID=
6640 DEPSTATIC_LIBBLKID=
6641 PROFILED_LIBBLKID=
6642 DEPPROFILED_LIBBLKID=
6643 BLKID_CMT=
6644
6645 # Check whether --enable-libblkid was given.
6646 if testscip-shell system . . test. ${enable_libblkid+y}
6647 then :
6648 enableval=$enable_libblkid; if testscip-shell system . . test. "$enableval" = "no"
6649 then
6650 if testscip-shell system . . test. -z "$PKG_CONFIG"; then
6651 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "pkg-config not installed; please install it." "$LINENO" 5
6652 fi
6653
6654 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
6655 printfscip-shell system . . printf. %s "checking for blkid_get_cache in -lblkid... " >&6; }
6656 if testscip-shell system . . test. ${ac_cv_lib_blkid_blkid_get_cache+y}
6657 then :
6658 printfscip-shell system . . printf. %s "(cached) " >&6
6659 else case e in #(
6660 e) ac_check_lib_save_LIBS=$LIBS
6661 LIBS="-lblkid -luuid $LIBS"
6662 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6663 /* end confdefs.h. */
6664
6665 /* Override any GCC internal prototype to avoid an error.
6666 Use char because int might match the return type of a GCC
6667 builtin and then its argument prototype would still apply.
6668 The 'extern "C"' is for builds by C++ compilers;
6669 although this is not generally supported in C code supporting it here
6670 has little cost and some practical benefit (sr 110532). */
6671 #ifdef __cplusplus
6672 extern "C"
6673 #endif
6674 char blkid_get_cache (void);
6675 int
6676 main (void)
6677 {
6678 return blkid_get_cache ();
6679 ;
6680 return 0;
6681 }
6682 _ACEOF
6683 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
6684 then :
6685 ac_cv_lib_blkid_blkid_get_cache=yes
6686 else case e in #(
6687 e) ac_cv_lib_blkid_blkid_get_cache=no ;;
6688 esac
6689 fi
6690 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6691 conftest$ac_exeext conftest.$ac_ext
6692 LIBS=$ac_check_lib_save_LIBS ;;
6693 esac
6694 fi
6695 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
6696 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
6697 if testscip-shell system . . test. "x$ac_cv_lib_blkid_blkid_get_cache" = xyes
6698 then :
6699 LIBBLKID=`$PKG_CONFIG --libs blkid`;
6700 STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`
6701 else case e in #(
6702 e) as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "external blkid library not found" "$LINENO" 5 ;;
6703 esac
6704 fi
6705
6706 BLKID_CMT=#
6707 PROFILED_LIBBLKID=$LIBBLKID
6708 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling private blkid library" >&5
6709 printfscip-shell system . . printf. "%s\n" "Disabling private blkid library" >&6; }
6710 else
6711 LIBBLKID='$(LIB)/libblkid'$LIB_EXT
6712 DEPLIBBLKID=$LIBBLKID
6713 STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
6714 DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
6715 PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
6716 DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
6717 printfscip-shell system . . printf. "%s\n" "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
6718
6719 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library" >&5
6720 printfscip-shell system . . printf. "%s\n" "Enabling private blkid library" >&6; }
6721 fi
6722
6723 else case e in #(
6724 e) if testscip-shell system . . test. -n "$PKG_CONFIG"; then
6725 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
6726 printfscip-shell system . . printf. %s "checking for blkid_get_cache in -lblkid... " >&6; }
6727 if testscip-shell system . . test. ${ac_cv_lib_blkid_blkid_get_cache+y}
6728 then :
6729 printfscip-shell system . . printf. %s "(cached) " >&6
6730 else case e in #(
6731 e) ac_check_lib_save_LIBS=$LIBS
6732 LIBS="-lblkid $LIBS"
6733 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
6734 /* end confdefs.h. */
6735
6736 /* Override any GCC internal prototype to avoid an error.
6737 Use char because int might match the return type of a GCC
6738 builtin and then its argument prototype would still apply.
6739 The 'extern "C"' is for builds by C++ compilers;
6740 although this is not generally supported in C code supporting it here
6741 has little cost and some practical benefit (sr 110532). */
6742 #ifdef __cplusplus
6743 extern "C"
6744 #endif
6745 char blkid_get_cache (void);
6746 int
6747 main (void)
6748 {
6749 return blkid_get_cache ();
6750 ;
6751 return 0;
6752 }
6753 _ACEOF
6754 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
6755 then :
6756 ac_cv_lib_blkid_blkid_get_cache=yes
6757 else case e in #(
6758 e) ac_cv_lib_blkid_blkid_get_cache=no ;;
6759 esac
6760 fi
6761 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
6762 conftest$ac_exeext conftest.$ac_ext
6763 LIBS=$ac_check_lib_save_LIBS ;;
6764 esac
6765 fi
6766 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
6767 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
6768 if testscip-shell system . . test. "x$ac_cv_lib_blkid_blkid_get_cache" = xyes
6769 then :
6770 LIBBLKID=`$PKG_CONFIG --libs blkid`;
6771 STATIC_LIBBLKID=`$PKG_CONFIG --static --libs blkid`
6772 fi
6773
6774 fi
6775 if testscip-shell system . . test. -n "$LIBBLKID"; then
6776 BLKID_CMT=#
6777 PROFILED_LIBBLKID=$LIBBLKID
6778 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using system blkid library by default" >&5
6779 printfscip-shell system . . printf. "%s\n" "Using system blkid library by default" >&6; }
6780 else
6781 LIBBLKID='$(LIB)/libblkid'$LIB_EXT
6782 DEPLIBBLKID=$LIBBLKID
6783 STATIC_LIBBLKID='$(LIB)/libblkid'$STATIC_LIB_EXT
6784 DEPSTATIC_LIBBLKID=$STATIC_LIBBLKID
6785 PROFILED_LIBBLKID='$(LIB)/libblkid'$PROFILED_LIB_EXT
6786 DEPPROFILED_LIBBLKID=$PROFILED_LIBBLKID
6787 printfscip-shell system . . printf. "%s\n" "#define CONFIG_BUILD_FINDFS 1" >>confdefs.h
6788
6789 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling private blkid library by default" >&5
6790 printfscip-shell system . . printf. "%s\n" "Enabling private blkid library by default" >&6; }
6791 fi
6792 ;;
6793 esac
6794 fi
6795
6796
6797
6798
6799
6800
6801
6802
6803 ALL_CMT=
6804 SUBSET_CMT=
6805 # Check whether --enable-subset was given.
6806 if testscip-shell system . . test. ${enable_subset+y}
6807 then :
6808 enableval=$enable_subset; if testscip-shell system . . test. "$enableval" = "no"
6809 then
6810 SUBSET_CMT=#
6811 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling subset-only build" >&5
6812 printfscip-shell system . . printf. "%s\n" "Disabling subset-only build" >&6; }
6813 else
6814 ALL_CMT=#
6815 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling subset-only-build" >&5
6816 printfscip-shell system . . printf. "%s\n" "Enabling subset-only-build" >&6; }
6817 fi
6818
6819 fi
6820
6821
6822
6823
6824 # Check whether --enable-backtrace was given.
6825 if testscip-shell system . . test. ${enable_backtrace+y}
6826 then :
6827 enableval=$enable_backtrace; if testscip-shell system . . test. "$enableval" = "no"
6828 then
6829 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling use of backtrace" >&5
6830 printfscip-shell system . . printf. "%s\n" "Disabling use of backtrace" >&6; }
6831 printfscip-shell system . . printf. "%s\n" "#define DISABLE_BACKTRACE 1" >>confdefs.h
6832
6833 else
6834 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace" >&5
6835 printfscip-shell system . . printf. "%s\n" "Enabling use of backtrace" >&6; }
6836 fi
6837
6838 else case e in #(
6839 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling use of backtrace by default" >&5
6840 printfscip-shell system . . printf. "%s\n" "Enabling use of backtrace by default" >&6; }
6841 ;;
6842 esac
6843 fi
6844
6845 # Check whether --enable-debugfs was given.
6846 if testscip-shell system . . test. ${enable_debugfs+y}
6847 then :
6848 enableval=$enable_debugfs; if testscip-shell system . . test. "$enableval" = "no"
6849 then
6850 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling debugfs support" >&5
6851 printfscip-shell system . . printf. "%s\n" "Disabling debugfs support" >&6; }
6852 DEBUGFS_CMT="#"
6853 else
6854 DEBUGFS_CMT=
6855 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support" >&5
6856 printfscip-shell system . . printf. "%s\n" "Enabling debugfs support" >&6; }
6857 fi
6858
6859 else case e in #(
6860 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling debugfs support by default" >&5
6861 printfscip-shell system . . printf. "%s\n" "Enabling debugfs support by default" >&6; }
6862 DEBUGFS_CMT=
6863 ;;
6864 esac
6865 fi
6866
6867
6868 # Check whether --enable-imager was given.
6869 if testscip-shell system . . test. ${enable_imager+y}
6870 then :
6871 enableval=$enable_imager; if testscip-shell system . . test. "$enableval" = "no"
6872 then
6873 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling e2image support" >&5
6874 printfscip-shell system . . printf. "%s\n" "Disabling e2image support" >&6; }
6875 IMAGER_CMT="#"
6876 else
6877 IMAGER_CMT=
6878 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support" >&5
6879 printfscip-shell system . . printf. "%s\n" "Enabling e2image support" >&6; }
6880 fi
6881
6882 else case e in #(
6883 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling e2image support by default" >&5
6884 printfscip-shell system . . printf. "%s\n" "Enabling e2image support by default" >&6; }
6885 IMAGER_CMT=
6886 ;;
6887 esac
6888 fi
6889
6890
6891 # Check whether --enable-resizer was given.
6892 if testscip-shell system . . test. ${enable_resizer+y}
6893 then :
6894 enableval=$enable_resizer; if testscip-shell system . . test. "$enableval" = "no"
6895 then
6896 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling e2resize support" >&5
6897 printfscip-shell system . . printf. "%s\n" "Disabling e2resize support" >&6; }
6898 RESIZER_CMT="#"
6899 else
6900 RESIZER_CMT=
6901 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support" >&5
6902 printfscip-shell system . . printf. "%s\n" "Enabling e2resize support" >&6; }
6903 fi
6904
6905 else case e in #(
6906 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling e2resize support by default" >&5
6907 printfscip-shell system . . printf. "%s\n" "Enabling e2resize support by default" >&6; }
6908 RESIZER_CMT=
6909 ;;
6910 esac
6911 fi
6912
6913
6914 # Check whether --enable-defrag was given.
6915 if testscip-shell system . . test. ${enable_defrag+y}
6916 then :
6917 enableval=$enable_defrag; if testscip-shell system . . test. "$enableval" = "no"
6918 then
6919 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support" >&5
6920 printfscip-shell system . . printf. "%s\n" "Disabling e4defrag support" >&6; }
6921 DEFRAG_CMT="#"
6922 else
6923 DEFRAG_CMT=
6924 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support" >&5
6925 printfscip-shell system . . printf. "%s\n" "Enabling e4defrag support" >&6; }
6926 fi
6927
6928 else case e in #(
6929 e) if testscip-shell system . . test. -z "$WITH_DIET_LIBC"
6930 then
6931 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling e4defrag support by default" >&5
6932 printfscip-shell system . . printf. "%s\n" "Enabling e4defrag support by default" >&6; }
6933 DEFRAG_CMT=
6934 else
6935 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling e4defrag support by default" >&5
6936 printfscip-shell system . . printf. "%s\n" "Disabling e4defrag support by default" >&6; }
6937 DEFRAG_CMT="#"
6938 fi
6939 ;;
6940 esac
6941 fi
6942
6943
6944 # Check whether --enable-fsck was given.
6945 if testscip-shell system . . test. ${enable_fsck+y}
6946 then :
6947 enableval=$enable_fsck; if testscip-shell system . . test. "$enableval" = "no"
6948 then
6949 FSCK_PROG='' FSCK_MAN=''
6950 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper" >&5
6951 printfscip-shell system . . printf. "%s\n" "Not building fsck wrapper" >&6; }
6952 else
6953 FSCK_PROG=fsck FSCK_MAN=fsck.8
6954 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper" >&5
6955 printfscip-shell system . . printf. "%s\n" "Building fsck wrapper" >&6; }
6956 fi
6957
6958 else case e in #(
6959 e) case "$host_os" in
6960 gnu*)
6961 FSCK_PROG='' FSCK_MAN=''
6962 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not building fsck wrapper by default" >&5
6963 printfscip-shell system . . printf. "%s\n" "Not building fsck wrapper by default" >&6; }
6964 ;;
6965 *)
6966 FSCK_PROG=fsck FSCK_MAN=fsck.8
6967 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Building fsck wrapper by default" >&5
6968 printfscip-shell system . . printf. "%s\n" "Building fsck wrapper by default" >&6; }
6969 esac
6970 ;;
6971 esac
6972 fi
6973
6974
6975
6976 # Check whether --enable-e2initrd-helper was given.
6977 if testscip-shell system . . test. ${enable_e2initrd_helper+y}
6978 then :
6979 enableval=$enable_e2initrd_helper; if testscip-shell system . . test. "$enableval" = "no"
6980 then
6981 E2INITRD_PROG='' E2INITRD_MAN=''
6982 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not building e2initrd helper" >&5
6983 printfscip-shell system . . printf. "%s\n" "Not building e2initrd helper" >&6; }
6984 else
6985 E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
6986 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper" >&5
6987 printfscip-shell system . . printf. "%s\n" "Building e2initrd helper" >&6; }
6988 fi
6989
6990 else case e in #(
6991 e) E2INITRD_PROG=e2initrd_helper E2INITRD_MAN=e2initrd_helper.8
6992 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Building e2initrd helper by default" >&5
6993 printfscip-shell system . . printf. "%s\n" "Building e2initrd helper by default" >&6; }
6994 ;;
6995 esac
6996 fi
6997
6998
6999
7000 # Check whether --enable-tls was given.
7001 if testscip-shell system . . test. ${enable_tls+y}
7002 then :
7003 enableval=$enable_tls; if testscip-shell system . . test. "$enableval" = "no"
7004 then
7005 try_tls=""
7006 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling thread local support" >&5
7007 printfscip-shell system . . printf. "%s\n" "Disabling thread local support" >&6; }
7008 else
7009 try_tls="yes"
7010 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling thread local support" >&5
7011 printfscip-shell system . . printf. "%s\n" "Enabling thread local support" >&6; }
7012 fi
7013
7014 else case e in #(
7015 e) if testscip-shell system . . test. -n "$WITH_DIET_LIBC"
7016 then
7017 try_tls=""
7018 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Diet libc does not support thread local support" >&5
7019 printfscip-shell system . . printf. "%s\n" "Diet libc does not support thread local support" >&6; }
7020 else
7021 try_tls="yes"
7022 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Try using thread local support by default" >&5
7023 printfscip-shell system . . printf. "%s\n" "Try using thread local support by default" >&6; }
7024 fi
7025 ;;
7026 esac
7027 fi
7028
7029 if testscip-shell system . . test. "$try_tls" = "yes"
7030 then
7031
7032 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
7033 printfscip-shell system . . printf. %s "checking for thread local storage (TLS) class... " >&6; }
7034 if testscip-shell system . . test. ${ac_cv_tls+y}
7035 then :
7036 printfscip-shell system . . printf. %s "(cached) " >&6
7037 else case e in #(
7038 e) for ax_tls_keyword in thread_local _Thread_local __thread '__declspec(thread)' none; do
7039 case $ax_tls_keyword in #(
7040 none) :
7041 ac_cv_tls=none ; break ;; #(
7042 *) :
7043 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7044 /* end confdefs.h. */
7045 #include <stdlib.h>
7046 int
7047 main (void)
7048 {
7049 static $ax_tls_keyword int bar;
7050
7051 ;
7052 return 0;
7053 }
7054 _ACEOF
7055 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
7056 then :
7057 ac_cv_tls=$ax_tls_keyword ; break
7058 else case e in #(
7059 e) ac_cv_tls=none
7060 ;;
7061 esac
7062 fi
7063 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7064 ;;
7065 esac
7066 done
7067 ;;
7068 esac
7069 fi
7070
7071 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
7072 printfscip-shell system . . printf. "%s\n" "$ac_cv_tls" >&6; }
7073
7074 if testscip-shell system . . test. "$ac_cv_tls" != "none"
7075 then :
7076
7077 printfscip-shell system . . printf. "%s\n" "#define TLS $ac_cv_tls" >>confdefs.h
7078
7079 :
7080 else case e in #(
7081 e) : ;;
7082 esac
7083 fi
7084
7085 fi
7086
7087 # Check whether --with-pthread was given.
7088 if testscip-shell system . . test. ${with_pthread+y}
7089 then :
7090 withval=$with_pthread; if testscip-shell system . . test. "$withval" = "no"
7091 then
7092 try_pthread=""
7093 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling pthread support" >&5
7094 printfscip-shell system . . printf. "%s\n" "Disabling pthread support" >&6; }
7095 else
7096 try_pthread="yes"
7097 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Testing for pthread support" >&5
7098 printfscip-shell system . . printf. "%s\n" "Testing for pthread support" >&6; }
7099 fi
7100
7101 else case e in #(
7102 e) try_pthread="yes"
7103 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Try testing for pthread support by default" >&5
7104 printfscip-shell system . . printf. "%s\n" "Try testing for pthread support by default" >&6; }
7105 ;;
7106 esac
7107 fi
7108
7109 if testscip-shell system . . test. "$try_pthread" = "yes"
7110 then
7111 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7112 printfscip-shell system . . printf. %s "checking for a sed that does not truncate output... " >&6; }
7113 if testscip-shell system . . test. ${ac_cv_path_SED+y}
7114 then :
7115 printfscip-shell system . . printf. %s "(cached) " >&6
7116 else case e in #(
7117 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7118 for ac_i in 1 2 3 4 5 6 7; do
7119 ac_script="$ac_script$as_nl$ac_script"
7120 done
7121 echoscip-shell system . . echo. "$ac_script" 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 99q >conftest.sed
7122 { ac_script=; unset ac_script;}
7123 if testscip-shell system . . test. -z "$SED"; then
7124 ac_path_SED_found=false
7125 # Loop through the user's path and test for each of PROGNAME-LIST
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127 for as_dir in $PATH
7128 do
7129 IFS=$as_save_IFS
7130 case $as_dir in #(((
7131 '') as_dir=./ ;;
7132 */) ;;
7133 *) as_dir=$as_dir/ ;;
7134 esac
7135 for ac_prog in sed gsed
7136 do
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
7139 as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$ac_path_SED" || continue
7140 # Check for GNU ac_path_SED and select it if it is found.
7141 # Check for GNU $ac_path_SED
7142 case `"$ac_path_SED" --version 2>&1` in #(
7143 *GNU*)
7144 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7145 #(
7146 *)
7147 ac_count=0
7148 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
7149 while :
7150 do
7151 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
7152 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
7153 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
7154 printfscip-shell system . . printf. "%s\n" '' >> "conftest.nl"
7155 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
7156 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
7157 as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
7158 if testscip-shell system . . test. $ac_count -gt ${ac_path_SED_max-0}; then
7159 # Best one so far, save it but keep looking for a better one
7160 ac_cv_path_SED="$ac_path_SED"
7161 ac_path_SED_max=$ac_count
7162 fi
7163 # 10*(2^10) chars as input seems more than enough
7164 testscip-shell system . . test. $ac_count -gt 10 && break
7165 done
7166 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
7167 esac
7168
7169 $ac_path_SED_found && break 3
7170 done
7171 done
7172 done
7173 IFS=$as_save_IFS
7174 if testscip-shell system . . test. -z "$ac_cv_path_SED"; then
7175 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7176 fi
7177 else
7178 ac_cv_path_SED=$SED
7179 fi
7180 ;;
7181 esac
7182 fi
7183 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7184 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_SED" >&6; }
7185 SED="$ac_cv_path_SED"
7186 rmscip-shell system . . rm. -f conftest.sed
7187
7188
7189 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
7190 printfscip-shell system . . printf. %s "checking for egrep -e... " >&6; }
7191 if testscip-shell system . . test. ${ac_cv_path_EGREP_TRADITIONAL+y}
7192 then :
7193 printfscip-shell system . . printf. %s "(cached) " >&6
7194 else case e in #(
7195 e) if testscip-shell system . . test. -z "$EGREP_TRADITIONAL"; then
7196 ac_path_EGREP_TRADITIONAL_found=false
7197 # Loop through the user's path and test for each of PROGNAME-LIST
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7199 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7200 do
7201 IFS=$as_save_IFS
7202 case $as_dir in #(((
7203 '') as_dir=./ ;;
7204 */) ;;
7205 *) as_dir=$as_dir/ ;;
7206 esac
7207 for ac_prog in grep ggrep
7208 do
7209 for ac_exec_ext in '' $ac_executable_extensions; do
7210 ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
7211 as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$ac_path_EGREP_TRADITIONAL" || continue
7212 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
7213 # Check for GNU $ac_path_EGREP_TRADITIONAL
7214 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
7215 *GNU*)
7216 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
7217 #(
7218 *)
7219 ac_count=0
7220 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
7221 while :
7222 do
7223 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
7224 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
7225 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
7226 printfscip-shell system . . printf. "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
7227 "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
7228 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
7229 as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
7230 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
7231 # Best one so far, save it but keep looking for a better one
7232 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
7233 ac_path_EGREP_TRADITIONAL_max=$ac_count
7234 fi
7235 # 10*(2^10) chars as input seems more than enough
7236 testscip-shell system . . test. $ac_count -gt 10 && break
7237 done
7238 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
7239 esac
7240
7241 $ac_path_EGREP_TRADITIONAL_found && break 3
7242 done
7243 done
7244 done
7245 IFS=$as_save_IFS
7246 if testscip-shell system . . test. -z "$ac_cv_path_EGREP_TRADITIONAL"; then
7247 :
7248 fi
7249 else
7250 ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
7251 fi
7252
7253 if testscip-shell system . . test. "$ac_cv_path_EGREP_TRADITIONAL"
7254 then :
7255 ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
7256 else case e in #(
7257 e) if testscip-shell system . . test. -z "$EGREP_TRADITIONAL"; then
7258 ac_path_EGREP_TRADITIONAL_found=false
7259 # Loop through the user's path and test for each of PROGNAME-LIST
7260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7261 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7262 do
7263 IFS=$as_save_IFS
7264 case $as_dir in #(((
7265 '') as_dir=./ ;;
7266 */) ;;
7267 *) as_dir=$as_dir/ ;;
7268 esac
7269 for ac_prog in egrep
7270 do
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
7273 as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$ac_path_EGREP_TRADITIONAL" || continue
7274 # Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
7275 # Check for GNU $ac_path_EGREP_TRADITIONAL
7276 case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
7277 *GNU*)
7278 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
7279 #(
7280 *)
7281 ac_count=0
7282 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
7283 while :
7284 do
7285 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
7286 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
7287 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
7288 printfscip-shell system . . printf. "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
7289 "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
7290 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
7291 as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
7292 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
7293 # Best one so far, save it but keep looking for a better one
7294 ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
7295 ac_path_EGREP_TRADITIONAL_max=$ac_count
7296 fi
7297 # 10*(2^10) chars as input seems more than enough
7298 testscip-shell system . . test. $ac_count -gt 10 && break
7299 done
7300 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
7301 esac
7302
7303 $ac_path_EGREP_TRADITIONAL_found && break 3
7304 done
7305 done
7306 done
7307 IFS=$as_save_IFS
7308 if testscip-shell system . . test. -z "$ac_cv_path_EGREP_TRADITIONAL"; then
7309 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7310 fi
7311 else
7312 ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
7313 fi
7314 ;;
7315 esac
7316 fi ;;
7317 esac
7318 fi
7319 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
7320 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
7321 EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
7322
7323
7324
7325
7326
7327 ac_ext=c
7328 ac_cpp='$CPP $CPPFLAGS'
7329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7332
7333 ax_pthread_ok=no
7334
7335 # We used to check for pthread.h first, but this fails if pthread.h
7336 # requires special compiler flags (e.g. on Tru64 or Sequent).
7337 # It gets checked for in the link test anyway.
7338
7339 # First of all, check if the user has set any of the PTHREAD_LIBS,
7340 # etcetera environment variables, and if threads linking works using
7341 # them:
7342 if testscip-shell system . . test. "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
7343 ax_pthread_save_CC="$CC"
7344 ax_pthread_save_CFLAGS="$CFLAGS"
7345 ax_pthread_save_LIBS="$LIBS"
7346 if testscip-shell system . . test. "x$PTHREAD_CC" != "x"
7347 then :
7348 CC="$PTHREAD_CC"
7349 fi
7350 if testscip-shell system . . test. "x$PTHREAD_CXX" != "x"
7351 then :
7352 CXX="$PTHREAD_CXX"
7353 fi
7354 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
7355 LIBS="$PTHREAD_LIBS $LIBS"
7356 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
7357 printfscip-shell system . . printf. %s "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
7358 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7359 /* end confdefs.h. */
7360
7361 /* Override any GCC internal prototype to avoid an error.
7362 Use char because int might match the return type of a GCC
7363 builtin and then its argument prototype would still apply.
7364 The 'extern "C"' is for builds by C++ compilers;
7365 although this is not generally supported in C code supporting it here
7366 has little cost and some practical benefit (sr 110532). */
7367 #ifdef __cplusplus
7368 extern "C"
7369 #endif
7370 char pthread_join (void);
7371 int
7372 main (void)
7373 {
7374 return pthread_join ();
7375 ;
7376 return 0;
7377 }
7378 _ACEOF
7379 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
7380 then :
7381 ax_pthread_ok=yes
7382 fi
7383 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7384 conftest$ac_exeext conftest.$ac_ext
7385 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
7386 printfscip-shell system . . printf. "%s\n" "$ax_pthread_ok" >&6; }
7387 if testscip-shell system . . test. "x$ax_pthread_ok" = "xno"; then
7388 PTHREAD_LIBS=""
7389 PTHREAD_CFLAGS=""
7390 fi
7391 CC="$ax_pthread_save_CC"
7392 CFLAGS="$ax_pthread_save_CFLAGS"
7393 LIBS="$ax_pthread_save_LIBS"
7394 fi
7395
7396 # We must check for the threads library under a number of different
7397 # names; the ordering is very important because some systems
7398 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
7399 # libraries is broken (non-POSIX).
7400
7401 # Create a list of thread flags to try. Items with a "," contain both
7402 # C compiler flags (before ",") and linker flags (after ","). Other items
7403 # starting with a "-" are C compiler flags, and remaining items are
7404 # library names, except for "none" which indicates that we try without
7405 # any flags at all, and "pthread-config" which is a program returning
7406 # the flags for the Pth emulation library.
7407
7408 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
7409
7410 # The ordering *is* (sometimes) important. Some notes on the
7411 # individual items follow:
7412
7413 # pthreads: AIX (must check this before -lpthread)
7414 # none: in case threads are in libc; should be tried before -Kthread and
7415 # other compiler flags to prevent continual compiler warnings
7416 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
7417 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
7418 # (Note: HP C rejects this with "bad form for `-t' option")
7419 # -pthreads: Solaris/gcc (Note: HP C also rejects)
7420 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
7421 # doesn't hurt to check since this sometimes defines pthreads and
7422 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
7423 # is present but should not be used directly; and before -mthreads,
7424 # because the compiler interprets this as "-mt" + "-hreads")
7425 # -mthreads: Mingw32/gcc, Lynx/gcc
7426 # pthread: Linux, etcetera
7427 # --thread-safe: KAI C++
7428 # pthread-config: use pthread-config program (for GNU Pth library)
7429
7430 case $host_os in
7431
7432 freebsd*)
7433
7434 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
7435 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
7436
7437 ax_pthread_flags="-kthread lthread $ax_pthread_flags"
7438 ;;
7439
7440 hpux*)
7441
7442 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
7443 # multi-threading and also sets -lpthread."
7444
7445 ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
7446 ;;
7447
7448 openedition*)
7449
7450 # IBM z/OS requires a feature-test macro to be defined in order to
7451 # enable POSIX threads at all, so give the user a hint if this is
7452 # not set. (We don't define these ourselves, as they can affect
7453 # other portions of the system API in unpredictable ways.)
7454
7455 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7456 /* end confdefs.h. */
7457
7458 # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
7459 AX_PTHREAD_ZOS_MISSING
7460 # endif
7461
7462 _ACEOF
7463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7464 $EGREP_TRADITIONAL "AX_PTHREAD_ZOS_MISSING" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
7465 then :
7466 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
7467 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
7468 fi
7469 rmscip-shell system . . rm. -rf conftest*
7470
7471 ;;
7472
7473 solaris*)
7474
7475 # On Solaris (at least, for some versions), libc contains stubbed
7476 # (non-functional) versions of the pthreads routines, so link-based
7477 # tests will erroneously succeed. (N.B.: The stubs are missing
7478 # pthread_cleanup_push, or rather a function called by this macro,
7479 # so we could check for that, but who knows whether they'll stub
7480 # that too in a future libc.) So we'll check first for the
7481 # standard Solaris way of linking pthreads (-mt -lpthread).
7482
7483 ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
7484 ;;
7485 esac
7486
7487 # Are we compiling with Clang?
7488
7489 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
7490 printfscip-shell system . . printf. %s "checking whether $CC is Clang... " >&6; }
7491 if testscip-shell system . . test. ${ax_cv_PTHREAD_CLANG+y}
7492 then :
7493 printfscip-shell system . . printf. %s "(cached) " >&6
7494 else case e in #(
7495 e) ax_cv_PTHREAD_CLANG=no
7496 # Note that Autoconf sets GCC=yes for Clang as well as GCC
7497 if testscip-shell system . . test. "x$GCC" = "xyes"; then
7498 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7499 /* end confdefs.h. */
7500 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
7501 # if defined(__clang__) && defined(__llvm__)
7502 AX_PTHREAD_CC_IS_CLANG
7503 # endif
7504
7505 _ACEOF
7506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7507 $EGREP_TRADITIONAL "AX_PTHREAD_CC_IS_CLANG" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
7508 then :
7509 ax_cv_PTHREAD_CLANG=yes
7510 fi
7511 rmscip-shell system . . rm. -rf conftest*
7512
7513 fi
7514 ;;
7515 esac
7516 fi
7517 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
7518 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_CLANG" >&6; }
7519 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
7520
7521
7522 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
7523
7524 # Note that for GCC and Clang -pthread generally implies -lpthread,
7525 # except when -nostdlib is passed.
7526 # This is problematic using libtool to build C++ shared libraries with pthread:
7527 # [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
7528 # [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333
7529 # [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
7530 # To solve this, first try -pthread together with -lpthread for GCC
7531
7532 if testscip-shell system . . test. "x$GCC" = "xyes"
7533 then :
7534 ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"
7535 fi
7536
7537 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
7538
7539 if testscip-shell system . . test. "x$ax_pthread_clang" = "xyes"
7540 then :
7541 ax_pthread_flags="-pthread,-lpthread -pthread"
7542 fi
7543
7544
7545 # The presence of a feature test macro requesting re-entrant function
7546 # definitions is, on some systems, a strong hint that pthreads support is
7547 # correctly enabled
7548
7549 case $host_os in
7550 darwin* | hpux* | linux* | osf* | solaris*)
7551 ax_pthread_check_macro="_REENTRANT"
7552 ;;
7553
7554 aix*)
7555 ax_pthread_check_macro="_THREAD_SAFE"
7556 ;;
7557
7558 *)
7559 ax_pthread_check_macro="--"
7560 ;;
7561 esac
7562 if testscip-shell system . . test. "x$ax_pthread_check_macro" = "x--"
7563 then :
7564 ax_pthread_check_cond=0
7565 else case e in #(
7566 e) ax_pthread_check_cond="!defined($ax_pthread_check_macro)" ;;
7567 esac
7568 fi
7569
7570
7571 if testscip-shell system . . test. "x$ax_pthread_ok" = "xno"; then
7572 for ax_pthread_try_flag in $ax_pthread_flags; do
7573
7574 case $ax_pthread_try_flag in
7575 none)
7576 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
7577 printfscip-shell system . . printf. %s "checking whether pthreads work without any flags... " >&6; }
7578 ;;
7579
7580 *,*)
7581 PTHREAD_CFLAGS=`echoscip-shell system . . echo. $ax_pthread_try_flag | sedscip-shell system . . sed. "s/^\(.*\),\(.*\)$/\1/"`
7582 PTHREAD_LIBS=`echoscip-shell system . . echo. $ax_pthread_try_flag | sedscip-shell system . . sed. "s/^\(.*\),\(.*\)$/\2/"`
7583 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"" >&5
7584 printfscip-shell system . . printf. %s "checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"... " >&6; }
7585 ;;
7586
7587 -*)
7588 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
7589 printfscip-shell system . . printf. %s "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
7590 PTHREAD_CFLAGS="$ax_pthread_try_flag"
7591 ;;
7592
7593 pthread-config)
7594 # Extract the first word of "pthread-config", so it can be a program name with args.
7595 set dummy pthread-config; ac_word=$2
7596 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
7598 if testscip-shell system . . test. ${ac_cv_prog_ax_pthread_config+y}
7599 then :
7600 printfscip-shell system . . printf. %s "(cached) " >&6
7601 else case e in #(
7602 e) if testscip-shell system . . test. -n "$ax_pthread_config"; then
7603 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
7604 else
7605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7606 for as_dir in $PATH
7607 do
7608 IFS=$as_save_IFS
7609 case $as_dir in #(((
7610 '') as_dir=./ ;;
7611 */) ;;
7612 *) as_dir=$as_dir/ ;;
7613 esac
7614 for ac_exec_ext in '' $ac_executable_extensions; do
7615 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
7616 ac_cv_prog_ax_pthread_config="yes"
7617 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7618 break 2
7619 fi
7620 done
7621 done
7622 IFS=$as_save_IFS
7623
7624 testscip-shell system . . test. -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
7625 fi ;;
7626 esac
7627 fi
7628 ax_pthread_config=$ac_cv_prog_ax_pthread_config
7629 if testscip-shell system . . test. -n "$ax_pthread_config"; then
7630 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
7631 printfscip-shell system . . printf. "%s\n" "$ax_pthread_config" >&6; }
7632 else
7633 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7634 printfscip-shell system . . printf. "%s\n" "no" >&6; }
7635 fi
7636
7637
7638 if testscip-shell system . . test. "x$ax_pthread_config" = "xno"
7639 then :
7640 continue
7641 fi
7642 PTHREAD_CFLAGS="`pthread-config --cflags`"
7643 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
7644 ;;
7645
7646 *)
7647 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
7648 printfscip-shell system . . printf. %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
7649 PTHREAD_LIBS="-l$ax_pthread_try_flag"
7650 ;;
7651 esac
7652
7653 ax_pthread_save_CFLAGS="$CFLAGS"
7654 ax_pthread_save_LIBS="$LIBS"
7655 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
7656 LIBS="$PTHREAD_LIBS $LIBS"
7657
7658 # Check for various functions. We must include pthread.h,
7659 # since some functions may be macros. (On the Sequent, we
7660 # need a special flag -Kthread to make this header compile.)
7661 # We check for pthread_join because it is in -lpthread on IRIX
7662 # while pthread_create is in libc. We check for pthread_attr_init
7663 # due to DEC craziness with -lpthreads. We check for
7664 # pthread_cleanup_push because it is one of the few pthread
7665 # functions on Solaris that doesn't have a non-functional libc stub.
7666 # We try pthread_create on general principles.
7667
7668 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7669 /* end confdefs.h. */
7670 #include <pthread.h>
7671 # if $ax_pthread_check_cond
7672 # error "$ax_pthread_check_macro must be defined"
7673 # endif
7674 static void *some_global = NULL;
7675 static void routine(void *a)
7676 {
7677 /* To avoid any unused-parameter or
7678 unused-but-set-parameter warning. */
7679 some_global = a;
7680 }
7681 static void *start_routine(void *a) { return a; }
7682 int
7683 main (void)
7684 {
7685 pthread_t th; pthread_attr_t attr;
7686 pthread_create(&th, 0, start_routine, 0);
7687 pthread_join(th, 0);
7688 pthread_attr_init(&attr);
7689 pthread_cleanup_push(routine, 0);
7690 pthread_cleanup_pop(0) /* ; */
7691 ;
7692 return 0;
7693 }
7694 _ACEOF
7695 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
7696 then :
7697 ax_pthread_ok=yes
7698 fi
7699 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7700 conftest$ac_exeext conftest.$ac_ext
7701
7702 CFLAGS="$ax_pthread_save_CFLAGS"
7703 LIBS="$ax_pthread_save_LIBS"
7704
7705 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
7706 printfscip-shell system . . printf. "%s\n" "$ax_pthread_ok" >&6; }
7707 if testscip-shell system . . test. "x$ax_pthread_ok" = "xyes"
7708 then :
7709 break
7710 fi
7711
7712 PTHREAD_LIBS=""
7713 PTHREAD_CFLAGS=""
7714 done
7715 fi
7716
7717
7718 # Clang needs special handling, because older versions handle the -pthread
7719 # option in a rather... idiosyncratic way
7720
7721 if testscip-shell system . . test. "x$ax_pthread_clang" = "xyes"; then
7722
7723 # Clang takes -pthread; it has never supported any other flag
7724
7725 # (Note 1: This will need to be revisited if a system that Clang
7726 # supports has POSIX threads in a separate library. This tends not
7727 # to be the way of modern systems, but it's conceivable.)
7728
7729 # (Note 2: On some systems, notably Darwin, -pthread is not needed
7730 # to get POSIX threads support; the API is always present and
7731 # active. We could reasonably leave PTHREAD_CFLAGS empty. But
7732 # -pthread does define _REENTRANT, and while the Darwin headers
7733 # ignore this macro, third-party headers might not.)
7734
7735 # However, older versions of Clang make a point of warning the user
7736 # that, in an invocation where only linking and no compilation is
7737 # taking place, the -pthread option has no effect ("argument unused
7738 # during compilation"). They expect -pthread to be passed in only
7739 # when source code is being compiled.
7740 #
7741 # Problem is, this is at odds with the way Automake and most other
7742 # C build frameworks function, which is that the same flags used in
7743 # compilation (CFLAGS) are also used in linking. Many systems
7744 # supported by AX_PTHREAD require exactly this for POSIX threads
7745 # support, and in fact it is often not straightforward to specify a
7746 # flag that is used only in the compilation phase and not in
7747 # linking. Such a scenario is extremely rare in practice.
7748 #
7749 # Even though use of the -pthread flag in linking would only print
7750 # a warning, this can be a nuisance for well-run software projects
7751 # that build with -Werror. So if the active version of Clang has
7752 # this misfeature, we search for an option to squash it.
7753
7754 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
7755 printfscip-shell system . . printf. %s "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
7756 if testscip-shell system . . test. ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+y}
7757 then :
7758 printfscip-shell system . . printf. %s "(cached) " >&6
7759 else case e in #(
7760 e) ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
7761 # Create an alternate version of $ac_link that compiles and
7762 # links in two steps (.c -> .o, .o -> exe) instead of one
7763 # (.c -> exe), because the warning occurs only in the second
7764 # step
7765 ax_pthread_save_ac_link="$ac_link"
7766 ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
7767 ax_pthread_link_step=`printfscip-shell system . . printf. "%s\n" "$ac_link" | sedscip-shell system . . sed. "$ax_pthread_sed"`
7768 ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
7769 ax_pthread_save_CFLAGS="$CFLAGS"
7770 for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
7771 if testscip-shell system . . test. "x$ax_pthread_try" = "xunknown"
7772 then :
7773 break
7774 fi
7775 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
7776 ac_link="$ax_pthread_save_ac_link"
7777 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7778 /* end confdefs.h. */
7779 int main(void){return 0;}
7780 _ACEOF
7781 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
7782 then :
7783 ac_link="$ax_pthread_2step_ac_link"
7784 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7785 /* end confdefs.h. */
7786 int main(void){return 0;}
7787 _ACEOF
7788 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
7789 then :
7790 break
7791 fi
7792 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7793 conftest$ac_exeext conftest.$ac_ext
7794
7795 fi
7796 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7797 conftest$ac_exeext conftest.$ac_ext
7798 done
7799 ac_link="$ax_pthread_save_ac_link"
7800 CFLAGS="$ax_pthread_save_CFLAGS"
7801 if testscip-shell system . . test. "x$ax_pthread_try" = "x"
7802 then :
7803 ax_pthread_try=no
7804 fi
7805 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
7806 ;;
7807 esac
7808 fi
7809 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
7810 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
7811
7812 case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
7813 no | unknown) ;;
7814 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
7815 esac
7816
7817 fi # $ax_pthread_clang = yes
7818
7819
7820
7821 # Various other checks:
7822 if testscip-shell system . . test. "x$ax_pthread_ok" = "xyes"; then
7823 ax_pthread_save_CFLAGS="$CFLAGS"
7824 ax_pthread_save_LIBS="$LIBS"
7825 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
7826 LIBS="$PTHREAD_LIBS $LIBS"
7827
7828 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
7829 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
7830 printfscip-shell system . . printf. %s "checking for joinable pthread attribute... " >&6; }
7831 if testscip-shell system . . test. ${ax_cv_PTHREAD_JOINABLE_ATTR+y}
7832 then :
7833 printfscip-shell system . . printf. %s "(cached) " >&6
7834 else case e in #(
7835 e) ax_cv_PTHREAD_JOINABLE_ATTR=unknown
7836 for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
7837 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7838 /* end confdefs.h. */
7839 #include <pthread.h>
7840 int
7841 main (void)
7842 {
7843 int attr = $ax_pthread_attr; return attr /* ; */
7844 ;
7845 return 0;
7846 }
7847 _ACEOF
7848 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
7849 then :
7850 ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
7851 fi
7852 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7853 conftest$ac_exeext conftest.$ac_ext
7854 done
7855 ;;
7856 esac
7857 fi
7858 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
7859 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
7860 if testscip-shell system . . test. "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
7861 test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
7862 test "x$ax_pthread_joinable_attr_defined" != "xyes"
7863 then :
7864
7865 printfscip-shell system . . printf. "%s\n" "#define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR" >>confdefs.h
7866
7867 ax_pthread_joinable_attr_defined=yes
7868
7869 fi
7870
7871 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
7872 printfscip-shell system . . printf. %s "checking whether more special flags are required for pthreads... " >&6; }
7873 if testscip-shell system . . test. ${ax_cv_PTHREAD_SPECIAL_FLAGS+y}
7874 then :
7875 printfscip-shell system . . printf. %s "(cached) " >&6
7876 else case e in #(
7877 e) ax_cv_PTHREAD_SPECIAL_FLAGS=no
7878 case $host_os in
7879 solaris*)
7880 ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
7881 ;;
7882 esac
7883 ;;
7884 esac
7885 fi
7886 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
7887 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
7888 if testscip-shell system . . test. "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
7889 test "x$ax_pthread_special_flags_added" != "xyes"
7890 then :
7891 PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
7892 ax_pthread_special_flags_added=yes
7893 fi
7894
7895 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
7896 printfscip-shell system . . printf. %s "checking for PTHREAD_PRIO_INHERIT... " >&6; }
7897 if testscip-shell system . . test. ${ax_cv_PTHREAD_PRIO_INHERIT+y}
7898 then :
7899 printfscip-shell system . . printf. %s "(cached) " >&6
7900 else case e in #(
7901 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
7902 /* end confdefs.h. */
7903 #include <pthread.h>
7904 int
7905 main (void)
7906 {
7907 int i = PTHREAD_PRIO_INHERIT;
7908 return i;
7909 ;
7910 return 0;
7911 }
7912 _ACEOF
7913 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
7914 then :
7915 ax_cv_PTHREAD_PRIO_INHERIT=yes
7916 else case e in #(
7917 e) ax_cv_PTHREAD_PRIO_INHERIT=no ;;
7918 esac
7919 fi
7920 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
7921 conftest$ac_exeext conftest.$ac_ext
7922 ;;
7923 esac
7924 fi
7925 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
7926 printfscip-shell system . . printf. "%s\n" "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
7927 if testscip-shell system . . test. "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
7928 test "x$ax_pthread_prio_inherit_defined" != "xyes"
7929 then :
7930
7931 printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
7932
7933 ax_pthread_prio_inherit_defined=yes
7934
7935 fi
7936
7937 CFLAGS="$ax_pthread_save_CFLAGS"
7938 LIBS="$ax_pthread_save_LIBS"
7939
7940 # More AIX lossage: compile with *_r variant
7941 if testscip-shell system . . test. "x$GCC" != "xyes"; then
7942 case $host_os in
7943 aix*)
7944 case "x/$CC" in #(
7945 x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
7946 #handle absolute path differently from PATH based program lookup
7947 case "x$CC" in #(
7948 x/*) :
7949
7950 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). ${CC}_r
7951 then :
7952 PTHREAD_CC="${CC}_r"
7953 fi
7954 if testscip-shell system . . test. "x${CXX}" != "x"
7955 then :
7956 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). ${CXX}_r
7957 then :
7958 PTHREAD_CXX="${CXX}_r"
7959 fi
7960 fi
7961 ;; #(
7962 *) :
7963
7964 for ac_prog in ${CC}_r
7965 do
7966 # Extract the first word of "$ac_prog", so it can be a program name with args.
7967 set dummy $ac_prog; ac_word=$2
7968 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7969 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
7970 if testscip-shell system . . test. ${ac_cv_prog_PTHREAD_CC+y}
7971 then :
7972 printfscip-shell system . . printf. %s "(cached) " >&6
7973 else case e in #(
7974 e) if testscip-shell system . . test. -n "$PTHREAD_CC"; then
7975 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
7976 else
7977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 for as_dir in $PATH
7979 do
7980 IFS=$as_save_IFS
7981 case $as_dir in #(((
7982 '') as_dir=./ ;;
7983 */) ;;
7984 *) as_dir=$as_dir/ ;;
7985 esac
7986 for ac_exec_ext in '' $ac_executable_extensions; do
7987 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
7988 ac_cv_prog_PTHREAD_CC="$ac_prog"
7989 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7990 break 2
7991 fi
7992 done
7993 done
7994 IFS=$as_save_IFS
7995
7996 fi ;;
7997 esac
7998 fi
7999 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
8000 if testscip-shell system . . test. -n "$PTHREAD_CC"; then
8001 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
8002 printfscip-shell system . . printf. "%s\n" "$PTHREAD_CC" >&6; }
8003 else
8004 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8006 fi
8007
8008
8009 testscip-shell system . . test. -n "$PTHREAD_CC" && break
8010 done
8011 testscip-shell system . . test. -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
8012
8013 if testscip-shell system . . test. "x${CXX}" != "x"
8014 then :
8015 for ac_prog in ${CXX}_r
8016 do
8017 # Extract the first word of "$ac_prog", so it can be a program name with args.
8018 set dummy $ac_prog; ac_word=$2
8019 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8020 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8021 if testscip-shell system . . test. ${ac_cv_prog_PTHREAD_CXX+y}
8022 then :
8023 printfscip-shell system . . printf. %s "(cached) " >&6
8024 else case e in #(
8025 e) if testscip-shell system . . test. -n "$PTHREAD_CXX"; then
8026 ac_cv_prog_PTHREAD_CXX="$PTHREAD_CXX" # Let the user override the test.
8027 else
8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 for as_dir in $PATH
8030 do
8031 IFS=$as_save_IFS
8032 case $as_dir in #(((
8033 '') as_dir=./ ;;
8034 */) ;;
8035 *) as_dir=$as_dir/ ;;
8036 esac
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8039 ac_cv_prog_PTHREAD_CXX="$ac_prog"
8040 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8041 break 2
8042 fi
8043 done
8044 done
8045 IFS=$as_save_IFS
8046
8047 fi ;;
8048 esac
8049 fi
8050 PTHREAD_CXX=$ac_cv_prog_PTHREAD_CXX
8051 if testscip-shell system . . test. -n "$PTHREAD_CXX"; then
8052 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CXX" >&5
8053 printfscip-shell system . . printf. "%s\n" "$PTHREAD_CXX" >&6; }
8054 else
8055 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8057 fi
8058
8059
8060 testscip-shell system . . test. -n "$PTHREAD_CXX" && break
8061 done
8062 testscip-shell system . . test. -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
8063
8064 fi
8065
8066 ;;
8067 esac
8068 ;; #(
8069 *) :
8070 ;;
8071 esac
8072 ;;
8073 esac
8074 fi
8075 fi
8076
8077 testscip-shell system . . test. -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
8078 testscip-shell system . . test. -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
8079
8080
8081
8082
8083
8084
8085 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
8086 if testscip-shell system . . test. "x$ax_pthread_ok" = "xyes"; then
8087
8088 printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD 1" >>confdefs.h
8089
8090 :
8091 else
8092 ax_pthread_ok=no
8093
8094 fi
8095 ac_ext=c
8096 ac_cpp='$CPP $CPPFLAGS'
8097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8100
8101
8102 else
8103 testscip-shell system . . test. -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
8104
8105 fi
8106
8107 # Check whether --enable-uuidd was given.
8108 if testscip-shell system . . test. ${enable_uuidd+y}
8109 then :
8110 enableval=$enable_uuidd; if testscip-shell system . . test. "$enableval" = "no"
8111 then
8112 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not building uuidd" >&5
8113 printfscip-shell system . . printf. "%s\n" "Not building uuidd" >&6; }
8114 UUIDD_CMT="#"
8115 else
8116 printfscip-shell system . . printf. "%s\n" "#define USE_UUIDD 1" >>confdefs.h
8117
8118 UUIDD_CMT=""
8119 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Building uuidd" >&5
8120 printfscip-shell system . . printf. "%s\n" "Building uuidd" >&6; }
8121 fi
8122
8123 else case e in #(
8124 e) printfscip-shell system . . printf. "%s\n" "#define USE_UUIDD 1" >>confdefs.h
8125
8126 if testscip-shell system . . test. -z "$UUID_CMT"
8127 then
8128 UUIDD_CMT=""
8129 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Building uuidd by default" >&5
8130 printfscip-shell system . . printf. "%s\n" "Building uuidd by default" >&6; }
8131 else
8132 UUIDD_CMT="#"
8133 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling uuidd by default" >&5
8134 printfscip-shell system . . printf. "%s\n" "Disabling uuidd by default" >&6; }
8135 fi
8136 ;;
8137 esac
8138 fi
8139
8140
8141
8142 # Check whether --enable-mmp was given.
8143 if testscip-shell system . . test. ${enable_mmp+y}
8144 then :
8145 enableval=$enable_mmp; if testscip-shell system . . test. "$enableval" = "no"
8146 then
8147 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling mmp support" >&5
8148 printfscip-shell system . . printf. "%s\n" "Disabling mmp support" >&6; }
8149 else
8150 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support" >&5
8151 printfscip-shell system . . printf. "%s\n" "Enabling mmp support" >&6; }
8152 printfscip-shell system . . printf. "%s\n" "#define CONFIG_MMP 1" >>confdefs.h
8153
8154 fi
8155
8156 else case e in #(
8157 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling mmp support by default" >&5
8158 printfscip-shell system . . printf. "%s\n" "Enabling mmp support by default" >&6; }
8159 printfscip-shell system . . printf. "%s\n" "#define CONFIG_MMP 1" >>confdefs.h
8160
8161 ;;
8162 esac
8163 fi
8164
8165
8166 # Check whether --enable-tdb was given.
8167 if testscip-shell system . . test. ${enable_tdb+y}
8168 then :
8169 enableval=$enable_tdb;
8170 if testscip-shell system . . test. "$enableval" = "no"
8171 then
8172 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling tdb support" >&5
8173 printfscip-shell system . . printf. "%s\n" "Disabling tdb support" >&6; }
8174 CONFIG_TDB=0
8175 else
8176 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling tdb support" >&5
8177 printfscip-shell system . . printf. "%s\n" "Enabling tdb support" >&6; }
8178 CONFIG_TDB=1
8179 fi
8180
8181
8182 else case e in #(
8183 e)
8184 case "$host_os" in
8185 mingw*)
8186 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling tdb support by default" >&5
8187 printfscip-shell system . . printf. "%s\n" "Disabling tdb support by default" >&6; }
8188 CONFIG_TDB=0
8189 ;;
8190 *)
8191 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling tdb support by default" >&5
8192 printfscip-shell system . . printf. "%s\n" "Enabling tdb support by default" >&6; }
8193 CONFIG_TDB=1
8194 ;;
8195 esac
8196
8197 ;;
8198 esac
8199 fi
8200
8201 if testscip-shell system . . test. "$CONFIG_TDB" = "1"
8202 then
8203 printfscip-shell system . . printf. "%s\n" "#define CONFIG_TDB 1" >>confdefs.h
8204
8205 TDB_CMT=""
8206 TDB_MAN_COMMENT=""
8207 else
8208 TDB_CMT="#"
8209 TDB_MAN_COMMENT='.\"'
8210 fi
8211
8212
8213
8214 # Check whether --enable-bmap-stats was given.
8215 if testscip-shell system . . test. ${enable_bmap_stats+y}
8216 then :
8217 enableval=$enable_bmap_stats; if testscip-shell system . . test. "$enableval" = "no"
8218 then
8219 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling bitmap statistics support" >&5
8220 printfscip-shell system . . printf. "%s\n" "Disabling bitmap statistics support" >&6; }
8221 else
8222 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling bitmap statistics support" >&5
8223 printfscip-shell system . . printf. "%s\n" "Enabling bitmap statistics support" >&6; }
8224 printfscip-shell system . . printf. "%s\n" "#define ENABLE_BMAP_STATS 1" >>confdefs.h
8225
8226 fi
8227
8228 else case e in #(
8229 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling bitmap statistics support by default" >&5
8230 printfscip-shell system . . printf. "%s\n" "Enabling bitmap statistics support by default" >&6; }
8231 printfscip-shell system . . printf. "%s\n" "#define ENABLE_BMAP_STATS 1" >>confdefs.h
8232
8233 ;;
8234 esac
8235 fi
8236
8237
8238 # Check whether --enable-bmap-stats-ops was given.
8239 if testscip-shell system . . test. ${enable_bmap_stats_ops+y}
8240 then :
8241 enableval=$enable_bmap_stats_ops; if testscip-shell system . . test. "$enableval" = "no"
8242 then
8243 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling additional bitmap statistics" >&5
8244 printfscip-shell system . . printf. "%s\n" "Disabling additional bitmap statistics" >&6; }
8245 else
8246 if testscip-shell system . . test. "x${enable_bmap_stats}" = "xno"
8247 then :
8248 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
8249 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
8250 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "Error --enable-bmap-stats-ops requires bmap-stats
8251 See 'config.log' for more details" "$LINENO" 5; }
8252 fi
8253
8254 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling additional bitmap statistics" >&5
8255 printfscip-shell system . . printf. "%s\n" "Enabling additional bitmap statistics" >&6; }
8256 printfscip-shell system . . printf. "%s\n" "#define ENABLE_BMAP_STATS_OPS 1" >>confdefs.h
8257
8258 fi
8259
8260 else case e in #(
8261 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling additional bitmap statistics by default" >&5
8262 printfscip-shell system . . printf. "%s\n" "Disabling additional bitmap statistics by default" >&6; }
8263 ;;
8264 esac
8265 fi
8266
8267 MAKEFILE_LIBRARY=$srcdir/lib/Makefile.library
8268
8269 GETTEXT_PACKAGE=e2fsprogs
8270 PACKAGE=e2fsprogs
8271 VERSION="$E2FSPROGS_VERSION"
8272 VERSION=0.14.1
8273
8274 printfscip-shell system . . printf. "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
8275
8276
8277 printfscip-shell system . . printf. "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
8278
8279
8280
8281
8282
8283 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8284 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8285 set x ${MAKE-make}
8286 ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8287 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
8288 then :
8289 printfscip-shell system . . printf. %s "(cached) " >&6
8290 else case e in #(
8291 e) catscip-shell system . . cat. >conftest.make <<\_ACEOF
8292 SHELL = /bin/sh
8293 all:
8294 @echo '@@@%%%=$(MAKE)=@@@%%%'
8295 _ACEOF
8296 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8297 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
8298 *@@@%%%=?*=@@@%%%*)
8299 eval ac_cv_prog_make_${ac_make}_set=yes;;
8300 *)
8301 eval ac_cv_prog_make_${ac_make}_set=no;;
8302 esac
8303 rmscip-shell system . . rm. -f conftest.make ;;
8304 esac
8305 fi
8306 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
8307 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8308 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
8309 SET_MAKE=
8310 else
8311 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8312 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8313 SET_MAKE="MAKE=${MAKE-make}"
8314 fi
8315
8316
8317 # Find a good install program. We prefer a C program (faster),
8318 # so one script is as good as another. But avoid the broken or
8319 # incompatible versions:
8320 # SysV /etc/install, /usr/sbin/install
8321 # SunOS /usr/etc/install
8322 # IRIX /sbin/install
8323 # AIX /bin/install
8324 # AmigaOS /C/install, which installs bootblocks on floppy discs
8325 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8326 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8327 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8328 # OS/2's system install, which has a completely different semantic
8329 # ./install, which can be erroneously created by make from ./install.sh.
8330 # Reject install programs that cannot install multiple files.
8331 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
8332 printfscip-shell system . . printf. %s "checking for a BSD-compatible install... " >&6; }
8333 if testscip-shell system . . test. -z "$INSTALL"; then
8334 if testscip-shell system . . test. ${ac_cv_path_install+y}
8335 then :
8336 printfscip-shell system . . printf. %s "(cached) " >&6
8337 else case e in #(
8338 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8339 for as_dir in $PATH
8340 do
8341 IFS=$as_save_IFS
8342 case $as_dir in #(((
8343 '') as_dir=./ ;;
8344 */) ;;
8345 *) as_dir=$as_dir/ ;;
8346 esac
8347 # Account for fact that we put trailing slashes in our PATH walk.
8348 case $as_dir in #((
8349 ./ | /[cC]/* | \
8350 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
8351 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
8352 /usr/ucb/* ) ;;
8353 *)
8354 # OSF1 and SCO ODT 3.0 have their own names for install.
8355 # Don't use installbsd from OSF since it installs stuff as root
8356 # by default.
8357 for ac_prog in ginstall scoinst install; do
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext"; then
8360 if testscip-shell system . . test. $ac_prog = install &&
8361 grepscip-shell system . . grep. dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
8362 # AIX install. It has an incompatible calling convention.
8363 :
8364 elif testscip-shell system . . test. $ac_prog = install &&
8365 grepscip-shell system . . grep. pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
8366 # program-specific install script used by HP pwplus--don't use.
8367 :
8368 else
8369 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
8370 echoscip-shell system . . echo. one > conftest.one
8371 echoscip-shell system . . echo. two > conftest.two
8372 mkdirscip-shell system . . mkdir. conftest.dir
8373 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwdscip-shell system . . pwd.`/conftest.dir/" &&
8374 testscip-shell system . . test. -s conftest.one && testscip-shell system . . test. -s conftest.two &&
8375 testscip-shell system . . test. -s conftest.dir/conftest.one &&
8376 testscip-shell system . . test. -s conftest.dir/conftest.two
8377 then
8378 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
8379 break 3
8380 fi
8381 fi
8382 fi
8383 done
8384 done
8385 ;;
8386 esac
8387
8388 done
8389 IFS=$as_save_IFS
8390
8391 rmscip-shell system . . rm. -rf conftest.one conftest.two conftest.dir
8392 ;;
8393 esac
8394 fi
8395 if testscip-shell system . . test. ${ac_cv_path_install+y}; then
8396 INSTALL=$ac_cv_path_install
8397 else
8398 # As a last resort, use the slow shell script. Don't cache a
8399 # value for INSTALL within a source directory, because that will
8400 # break other packages using the cache if that directory is
8401 # removed, or if the value is a relative name.
8402 INSTALL=$ac_install_sh
8403 fi
8404 fi
8405 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
8406 printfscip-shell system . . printf. "%s\n" "$INSTALL" >&6; }
8407
8408 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8409 # It thinks the first close brace ends the variable substitution.
8410 testscip-shell system . . test. -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8411
8412 testscip-shell system . . test. -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8413
8414 testscip-shell system . . test. -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8415
8416
8417 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
8418 printfscip-shell system . . printf. %s "checking for a race-free mkdir -p... " >&6; }
8419 if testscip-shell system . . test. -z "$MKDIR_P"; then
8420 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}
8421 then :
8422 printfscip-shell system . . printf. %s "(cached) " >&6
8423 else case e in #(
8424 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
8426 do
8427 IFS=$as_save_IFS
8428 case $as_dir in #(((
8429 '') as_dir=./ ;;
8430 */) ;;
8431 *) as_dir=$as_dir/ ;;
8432 esac
8433 for ac_prog in mkdir gmkdir; do
8434 for ac_exec_ext in '' $ac_executable_extensions; do
8435 as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_prog$ac_exec_ext" || continue
8436 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
8437 'mkdir ('*'coreutils) '* | \
8438 *'BusyBox '* | \
8439 'mkdir (fileutils) '4.1*)
8440 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
8441 break 3;;
8442 esac
8443 done
8444 done
8445 done
8446 IFS=$as_save_IFS
8447 ;;
8448 esac
8449 fi
8450
8451 testscip-shell system . . test. -d ./--version && rmdirscip-shell system . . rmdir. ./--version
8452 if testscip-shell system . . test. ${ac_cv_path_mkdir+y}; then
8453 MKDIR_P="$ac_cv_path_mkdir -p"
8454 else
8455 # As a last resort, use plain mkdir -p,
8456 # in the hope it doesn't have the bugs of ancient mkdir.
8457 MKDIR_P='mkdir -p'
8458 fi
8459 fi
8460 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
8461 printfscip-shell system . . printf. "%s\n" "$MKDIR_P" >&6; }
8462
8463
8464 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8465 printfscip-shell system . . printf. %s "checking whether NLS is requested... " >&6; }
8466 # Check whether --enable-nls was given.
8467 if testscip-shell system . . test. ${enable_nls+y}
8468 then :
8469 enableval=$enable_nls; USE_NLS=$enableval
8470 else case e in #(
8471 e) USE_NLS=yes ;;
8472 esac
8473 fi
8474
8475 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8476 printfscip-shell system . . printf. "%s\n" "$USE_NLS" >&6; }
8477
8478
8479
8480
8481 GETTEXT_MACRO_VERSION=0.22
8482
8483
8484
8485
8486 # Prepare PATH_SEPARATOR.
8487 # The user is always right.
8488 if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then
8489 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
8490 # contains only /bin. Note that ksh looks also at the FPATH variable,
8491 # so we have to set that as well for the test.
8492 PATH_SEPARATOR=:
8493 (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 \
8494 && { (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 \
8495 || PATH_SEPARATOR=';'
8496 }
8497 fi
8498
8499 # Find out how to test for executable files. Don't use a zero-byte file,
8500 # as systems may use methods other than mode bits to determine executability.
8501 catscip-shell system . . cat. >conf$$.file <<_ASEOF
8502 #! /bin/sh
8503 exit 0
8504 _ASEOF
8505 chmodscip-shell system . . chmod. +x conf$$.file
8506 if testscip-shell system . . test. -x conf$$.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
8507 ac_executable_p="test -x"
8508 else
8509 ac_executable_p="test -f"
8510 fi
8511 rmscip-shell system . . rm. -f conf$$.file
8512
8513 # Extract the first word of "msgfmt", so it can be a program name with args.
8514 set dummy msgfmt; ac_word=$2
8515 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8516 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8517 if testscip-shell system . . test. ${ac_cv_path_MSGFMT+y}
8518 then :
8519 printfscip-shell system . . printf. %s "(cached) " >&6
8520 else case e in #(
8521 e) case "$MSGFMT" in
8522 [\\/]* | ?:[\\/]*)
8523 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
8524 ;;
8525 *)
8526 gt_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
8527 for ac_dir in $PATH; do
8528 IFS="$gt_saved_IFS"
8529 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
8530 for ac_exec_ext in '' $ac_executable_extensions; do
8531 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
8532 echoscip-shell system . . echo. "$as_me: trying $ac_dir/$ac_word..." >&5
8533 if $ac_dir/$ac_word --statistics /dev/nullscip-shell filesystem . . `/dev/null`. >&5 2>&1 &&
8534 (if $ac_dir/$ac_word --statistics /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. usage >/dev/nullscip-shell filesystem . . `/dev/null`.; then exit 1; else exit 0; fi); then
8535 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
8536 break 2
8537 fi
8538 fi
8539 done
8540 done
8541 IFS="$gt_saved_IFS"
8542 testscip-shell system . . test. -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
8543 ;;
8544 esac ;;
8545 esac
8546 fi
8547 MSGFMT="$ac_cv_path_MSGFMT"
8548 if testscip-shell system . . test. "$MSGFMT" != ":"; then
8549 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
8550 printfscip-shell system . . printf. "%s\n" "$MSGFMT" >&6; }
8551 else
8552 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8553 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8554 fi
8555
8556 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8557 set dummy gmsgfmt; ac_word=$2
8558 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8559 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8560 if testscip-shell system . . test. ${ac_cv_path_GMSGFMT+y}
8561 then :
8562 printfscip-shell system . . printf. %s "(cached) " >&6
8563 else case e in #(
8564 e) case $GMSGFMT in
8565 [\\/]* | ?:[\\/]*)
8566 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
8567 ;;
8568 *)
8569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8570 for as_dir in $PATH
8571 do
8572 IFS=$as_save_IFS
8573 case $as_dir in #(((
8574 '') as_dir=./ ;;
8575 */) ;;
8576 *) as_dir=$as_dir/ ;;
8577 esac
8578 for ac_exec_ext in '' $ac_executable_extensions; do
8579 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
8580 ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
8581 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8582 break 2
8583 fi
8584 done
8585 done
8586 IFS=$as_save_IFS
8587
8588 testscip-shell system . . test. -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8589 ;;
8590 esac ;;
8591 esac
8592 fi
8593 GMSGFMT=$ac_cv_path_GMSGFMT
8594 if testscip-shell system . . test. -n "$GMSGFMT"; then
8595 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
8596 printfscip-shell system . . printf. "%s\n" "$GMSGFMT" >&6; }
8597 else
8598 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8599 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8600 fi
8601
8602
8603
8604 case `$GMSGFMT --version | sedscip-shell system . . sed. 1q | sedscip-shell system . . sed. -e 's,^[^0-9]*,,'` in
8605 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
8606 *) GMSGFMT_015=$GMSGFMT ;;
8607 esac
8608
8609
8610
8611 # Prepare PATH_SEPARATOR.
8612 # The user is always right.
8613 if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then
8614 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
8615 # contains only /bin. Note that ksh looks also at the FPATH variable,
8616 # so we have to set that as well for the test.
8617 PATH_SEPARATOR=:
8618 (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 \
8619 && { (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 \
8620 || PATH_SEPARATOR=';'
8621 }
8622 fi
8623
8624 # Find out how to test for executable files. Don't use a zero-byte file,
8625 # as systems may use methods other than mode bits to determine executability.
8626 catscip-shell system . . cat. >conf$$.file <<_ASEOF
8627 #! /bin/sh
8628 exit 0
8629 _ASEOF
8630 chmodscip-shell system . . chmod. +x conf$$.file
8631 if testscip-shell system . . test. -x conf$$.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
8632 ac_executable_p="test -x"
8633 else
8634 ac_executable_p="test -f"
8635 fi
8636 rmscip-shell system . . rm. -f conf$$.file
8637
8638 # Extract the first word of "xgettext", so it can be a program name with args.
8639 set dummy xgettext; ac_word=$2
8640 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8641 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8642 if testscip-shell system . . test. ${ac_cv_path_XGETTEXT+y}
8643 then :
8644 printfscip-shell system . . printf. %s "(cached) " >&6
8645 else case e in #(
8646 e) case "$XGETTEXT" in
8647 [\\/]* | ?:[\\/]*)
8648 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8649 ;;
8650 *)
8651 gt_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
8652 for ac_dir in $PATH; do
8653 IFS="$gt_saved_IFS"
8654 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
8655 for ac_exec_ext in '' $ac_executable_extensions; do
8656 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
8657 echoscip-shell system . . echo. "$as_me: trying $ac_dir/$ac_word..." >&5
8658 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/nullscip-shell filesystem . . `/dev/null`. >&5 2>&1 &&
8659 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 >/dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. usage >/dev/nullscip-shell filesystem . . `/dev/null`.; then exit 1; else exit 0; fi); then
8660 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
8661 break 2
8662 fi
8663 fi
8664 done
8665 done
8666 IFS="$gt_saved_IFS"
8667 testscip-shell system . . test. -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
8668 ;;
8669 esac ;;
8670 esac
8671 fi
8672 XGETTEXT="$ac_cv_path_XGETTEXT"
8673 if testscip-shell system . . test. "$XGETTEXT" != ":"; then
8674 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
8675 printfscip-shell system . . printf. "%s\n" "$XGETTEXT" >&6; }
8676 else
8677 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8678 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8679 fi
8680
8681 rmscip-shell system . . rm. -f messages.po
8682
8683 case `$XGETTEXT --version | sedscip-shell system . . sed. 1q | sedscip-shell system . . sed. -e 's,^[^0-9]*,,'` in
8684 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
8685 *) XGETTEXT_015=$XGETTEXT ;;
8686 esac
8687
8688
8689
8690 # Prepare PATH_SEPARATOR.
8691 # The user is always right.
8692 if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then
8693 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
8694 # contains only /bin. Note that ksh looks also at the FPATH variable,
8695 # so we have to set that as well for the test.
8696 PATH_SEPARATOR=:
8697 (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 \
8698 && { (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 \
8699 || PATH_SEPARATOR=';'
8700 }
8701 fi
8702
8703 # Find out how to test for executable files. Don't use a zero-byte file,
8704 # as systems may use methods other than mode bits to determine executability.
8705 catscip-shell system . . cat. >conf$$.file <<_ASEOF
8706 #! /bin/sh
8707 exit 0
8708 _ASEOF
8709 chmodscip-shell system . . chmod. +x conf$$.file
8710 if testscip-shell system . . test. -x conf$$.file >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
8711 ac_executable_p="test -x"
8712 else
8713 ac_executable_p="test -f"
8714 fi
8715 rmscip-shell system . . rm. -f conf$$.file
8716
8717 # Extract the first word of "msgmerge", so it can be a program name with args.
8718 set dummy msgmerge; ac_word=$2
8719 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8720 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
8721 if testscip-shell system . . test. ${ac_cv_path_MSGMERGE+y}
8722 then :
8723 printfscip-shell system . . printf. %s "(cached) " >&6
8724 else case e in #(
8725 e) case "$MSGMERGE" in
8726 [\\/]* | ?:[\\/]*)
8727 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
8728 ;;
8729 *)
8730 gt_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
8731 for ac_dir in $PATH; do
8732 IFS="$gt_saved_IFS"
8733 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
8734 for ac_exec_ext in '' $ac_executable_extensions; do
8735 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
8736 echoscip-shell system . . echo. "$as_me: trying $ac_dir/$ac_word..." >&5
8737 if $ac_dir/$ac_word --update -q /dev/nullscip-shell filesystem . . `/dev/null`. /dev/nullscip-shell filesystem . . `/dev/null`. >&5 2>&1; then
8738 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
8739 break 2
8740 fi
8741 fi
8742 done
8743 done
8744 IFS="$gt_saved_IFS"
8745 testscip-shell system . . test. -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
8746 ;;
8747 esac ;;
8748 esac
8749 fi
8750 MSGMERGE="$ac_cv_path_MSGMERGE"
8751 if testscip-shell system . . test. "$MSGMERGE" != ":"; then
8752 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
8753 printfscip-shell system . . printf. "%s\n" "$MSGMERGE" >&6; }
8754 else
8755 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8756 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8757 fi
8758
8759
8760 if LC_ALL=C $MSGMERGE --help | grepscip-shell system . . grep. ' --for-msgfmt ' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
8761 MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt'
8762 else
8763 if LC_ALL=C $MSGMERGE --help | grepscip-shell system . . grep. ' --no-fuzzy-matching ' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
8764 MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet'
8765 else
8766 MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet'
8767 fi
8768 fi
8769
8770
8771 testscip-shell system . . test. -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
8772
8773
8774 ac_config_commands="$ac_config_commands po-directories"
8775
8776
8777
8778 if testscip-shell system . . test. "X$prefix" = "XNONE"; then
8779 acl_final_prefix="$ac_default_prefix"
8780 else
8781 acl_final_prefix="$prefix"
8782 fi
8783 if testscip-shell system . . test. "X$exec_prefix" = "XNONE"; then
8784 acl_final_exec_prefix='${prefix}'
8785 else
8786 acl_final_exec_prefix="$exec_prefix"
8787 fi
8788 acl_saved_prefix="$prefix"
8789 prefix="$acl_final_prefix"
8790 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
8791 prefix="$acl_saved_prefix"
8792
8793
8794
8795 # Check whether --with-gnu-ld was given.
8796 if testscip-shell system . . test. ${with_gnu_ld+y}
8797 then :
8798 withval=$with_gnu_ld; testscip-shell system . . test. "$withval" = no || with_gnu_ld=yes
8799 else case e in #(
8800 e) with_gnu_ld=no ;;
8801 esac
8802 fi
8803
8804 # Prepare PATH_SEPARATOR.
8805 # The user is always right.
8806 if testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then
8807 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
8808 # contains only /bin. Note that ksh looks also at the FPATH variable,
8809 # so we have to set that as well for the test.
8810 PATH_SEPARATOR=:
8811 (PATH='/bin;/binscip-shell filesystem . . `/bin;/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 \
8812 && { (PATH='/bin:/binscip-shell filesystem . . `/bin:/bin`.'; FPATH=$PATH; shscip-shell system . . sh. -c :) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 \
8813 || PATH_SEPARATOR=';'
8814 }
8815 fi
8816
8817 if testscip-shell system . . test. -n "$LD"; then
8818 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
8819 printfscip-shell system . . printf. %s "checking for ld... " >&6; }
8820 elif testscip-shell system . . test. "$GCC" = yes; then
8821 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8822 printfscip-shell system . . printf. %s "checking for ld used by $CC... " >&6; }
8823 elif testscip-shell system . . test. "$with_gnu_ld" = yes; then
8824 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8825 printfscip-shell system . . printf. %s "checking for GNU ld... " >&6; }
8826 else
8827 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8828 printfscip-shell system . . printf. %s "checking for non-GNU ld... " >&6; }
8829 fi
8830 if testscip-shell system . . test. -n "$LD"; then
8831 # Let the user override the test with a path.
8832 :
8833 else
8834 if testscip-shell system . . test. ${acl_cv_path_LD+y}
8835 then :
8836 printfscip-shell system . . printf. %s "(cached) " >&6
8837 else case e in #(
8838 e)
8839 acl_cv_path_LD= # Final result of this test
8840 ac_prog=ld # Program to search in $PATH
8841 if testscip-shell system . . test. "$GCC" = yes; then
8842 # Check if gcc -print-prog-name=ld gives a path.
8843 case $host in
8844 *-*-mingw* | windows*)
8845 # gcc leaves a trailing carriage return which upsets mingw
8846 acl_output=`($CC -print-prog-name=ld) 2>&5 | trscip-shell system . . tr. -d '\015'` ;;
8847 *)
8848 acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
8849 esac
8850 case $acl_output in
8851 # Accept absolute paths.
8852 [\\/]* | ?:[\\/]*)
8853 re_direlt='/[^/][^/]*/\.\./scip-shell filesystem . . `/[^/][^/]*/\.\./`.'
8854 # Canonicalize the pathname of ld
8855 acl_output=`echoscip-shell system . . echo. "$acl_output" | sedscip-shell system . . sed. 's%\\\\%/%g'`
8856 while echoscip-shell system . . echo. "$acl_output" | grepscip-shell system . . grep. "$re_direlt" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; do
8857 acl_output=`echoscip-shell system . . echo. $acl_output | sedscip-shell system . . sed. "s%$re_direlt%/%"`
8858 done
8859 # Got the pathname. No search in PATH is needed.
8860 acl_cv_path_LD="$acl_output"
8861 ac_prog=
8862 ;;
8863 "")
8864 # If it fails, then pretend we aren't using GCC.
8865 ;;
8866 *)
8867 # If it is relative, then search for the first ld in PATH.
8868 with_gnu_ld=unknown
8869 ;;
8870 esac
8871 fi
8872 if testscip-shell system . . test. -n "$ac_prog"; then
8873 # Search for $ac_prog in $PATH.
8874 acl_saved_IFS="$IFS"; IFS=$PATH_SEPARATOR
8875 for ac_dir in $PATH; do
8876 IFS="$acl_saved_IFS"
8877 testscip-shell system . . test. -z "$ac_dir" && ac_dir=.
8878 if testscip-shell system . . test. -f "$ac_dir/$ac_prog" || testscip-shell system . . test. -f "$ac_dir/$ac_prog$ac_exeext"; then
8879 acl_cv_path_LD="$ac_dir/$ac_prog"
8880 # Check to see if the program is GNU ld. I'd rather use --version,
8881 # but apparently some variants of GNU ld only accept -v.
8882 # Break only if it was the GNU/non-GNU ld that we prefer.
8883 case `"$acl_cv_path_LD" -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
8884 *GNU* | *'with BFD'*)
8885 testscip-shell system . . test. "$with_gnu_ld" != no && break
8886 ;;
8887 *)
8888 testscip-shell system . . test. "$with_gnu_ld" != yes && break
8889 ;;
8890 esac
8891 fi
8892 done
8893 IFS="$acl_saved_IFS"
8894 fi
8895 case $host in
8896 *-*-aix*)
8897 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8899 #if defined __powerpc64__ || defined __LP64__
8900 int ok;
8901 #else
8902 error fail
8903 #endif
8904
8905 _ACEOF
8906 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
8907 then :
8908 # The compiler produces 64-bit code. Add option '-b64' so that the
8909 # linker groks 64-bit object files.
8910 case "$acl_cv_path_LD " in
8911 *" -b64 "*) ;;
8912 *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
8913 esac
8914
8915 fi
8916 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8917 ;;
8918 sparc64-*-netbsd*)
8919 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8921 #if defined __sparcv9 || defined __arch64__
8922 int ok;
8923 #else
8924 error fail
8925 #endif
8926
8927 _ACEOF
8928 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
8929 then :
8930
8931 else case e in #(
8932 e) # The compiler produces 32-bit code. Add option '-m elf32_sparc'
8933 # so that the linker groks 32-bit object files.
8934 case "$acl_cv_path_LD " in
8935 *" -m elf32_sparc "*) ;;
8936 *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
8937 esac
8938 ;;
8939 esac
8940 fi
8941 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8942 ;;
8943 esac
8944 ;;
8945 esac
8946 fi
8947
8948 LD="$acl_cv_path_LD"
8949 fi
8950 if testscip-shell system . . test. -n "$LD"; then
8951 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8952 printfscip-shell system . . printf. "%s\n" "$LD" >&6; }
8953 else
8954 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8955 printfscip-shell system . . printf. "%s\n" "no" >&6; }
8956 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "no acceptable ld found in \$PATH" "$LINENO" 5
8957 fi
8958 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8959 printfscip-shell system . . printf. %s "checking if the linker ($LD) is GNU ld... " >&6; }
8960 if testscip-shell system . . test. ${acl_cv_prog_gnu_ld+y}
8961 then :
8962 printfscip-shell system . . printf. %s "(cached) " >&6
8963 else case e in #(
8964 e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
8965 case `$LD -v 2>&1 </dev/nullscip-shell filesystem . . `/dev/null`.` in
8966 *GNU* | *'with BFD'*)
8967 acl_cv_prog_gnu_ld=yes
8968 ;;
8969 *)
8970 acl_cv_prog_gnu_ld=no
8971 ;;
8972 esac ;;
8973 esac
8974 fi
8975 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
8976 printfscip-shell system . . printf. "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
8977 with_gnu_ld=$acl_cv_prog_gnu_ld
8978
8979
8980
8981
8982
8983
8984 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
8985 printfscip-shell system . . printf. %s "checking for shared library run path origin... " >&6; }
8986 if testscip-shell system . . test. ${acl_cv_rpath+y}
8987 then :
8988 printfscip-shell system . . printf. %s "(cached) " >&6
8989 else case e in #(
8990 e)
8991 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
8992 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8993 . ./conftest.shscip-shell source . . `./conftest.sh`.
8994 rmscip-shell system . . rm. -f ./conftest.sh
8995 acl_cv_rpath=done
8996 ;;
8997 esac
8998 fi
8999 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
9000 printfscip-shell system . . printf. "%s\n" "$acl_cv_rpath" >&6; }
9001 wl="$acl_cv_wl"
9002 acl_libext="$acl_cv_libext"
9003 acl_shlibext="$acl_cv_shlibext"
9004 acl_libname_spec="$acl_cv_libname_spec"
9005 acl_library_names_spec="$acl_cv_library_names_spec"
9006 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
9007 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
9008 acl_hardcode_direct="$acl_cv_hardcode_direct"
9009 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
9010 # Check whether --enable-rpath was given.
9011 if testscip-shell system . . test. ${enable_rpath+y}
9012 then :
9013 enableval=$enable_rpath; :
9014 else case e in #(
9015 e) enable_rpath=yes ;;
9016 esac
9017 fi
9018
9019
9020
9021
9022 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
9023 printfscip-shell system . . printf. %s "checking 32-bit host C ABI... " >&6; }
9024 if testscip-shell system . . test. ${gl_cv_host_cpu_c_abi_32bit+y}
9025 then :
9026 printfscip-shell system . . printf. %s "(cached) " >&6
9027 else case e in #(
9028 e) case "$host_cpu" in
9029
9030 # CPUs that only support a 32-bit ABI.
9031 arc \
9032 | bfin \
9033 | cris* \
9034 | csky \
9035 | epiphany \
9036 | ft32 \
9037 | h8300 \
9038 | m68k \
9039 | microblaze | microblazeel \
9040 | nds32 | nds32le | nds32be \
9041 | nios2 | nios2eb | nios2el \
9042 | or1k* \
9043 | or32 \
9044 | sh | sh1234 | sh1234elb \
9045 | tic6x \
9046 | xtensa* )
9047 gl_cv_host_cpu_c_abi_32bit=yes
9048 ;;
9049
9050 # CPUs that only support a 64-bit ABI.
9051 alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
9052 | mmix )
9053 gl_cv_host_cpu_c_abi_32bit=no
9054 ;;
9055
9056 *)
9057 if testscip-shell system . . test. -n "$gl_cv_host_cpu_c_abi"; then
9058 case "$gl_cv_host_cpu_c_abi" in
9059 i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
9060 gl_cv_host_cpu_c_abi_32bit=yes ;;
9061 x86_64 | alpha | arm64 | aarch64c | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
9062 gl_cv_host_cpu_c_abi_32bit=no ;;
9063 *)
9064 gl_cv_host_cpu_c_abi_32bit=unknown ;;
9065 esac
9066 else
9067 gl_cv_host_cpu_c_abi_32bit=unknown
9068 fi
9069 if testscip-shell system . . test. $gl_cv_host_cpu_c_abi_32bit = unknown; then
9070 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 int test_pointer_size[sizeof (void *) - 5];
9073
9074 _ACEOF
9075 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
9076 then :
9077 gl_cv_host_cpu_c_abi_32bit=no
9078 else case e in #(
9079 e) gl_cv_host_cpu_c_abi_32bit=yes ;;
9080 esac
9081 fi
9082 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9083 fi
9084 ;;
9085 esac
9086 ;;
9087 esac
9088 fi
9089 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
9090 printfscip-shell system . . printf. "%s\n" "$gl_cv_host_cpu_c_abi_32bit" >&6; }
9091
9092 HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
9093
9094
9095
9096
9097
9098 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
9099 printfscip-shell system . . printf. %s "checking for ELF binary format... " >&6; }
9100 if testscip-shell system . . test. ${gl_cv_elf+y}
9101 then :
9102 printfscip-shell system . . printf. %s "(cached) " >&6
9103 else case e in #(
9104 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9106 #if defined __ELF__ || (defined __linux__ && (defined __EDG__ || defined __SUNPRO_C))
9107 Extensible Linking Format
9108 #endif
9109
9110 _ACEOF
9111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9112 $EGREP_TRADITIONAL "Extensible Linking Format" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
9113 then :
9114 gl_cv_elf=yes
9115 else case e in #(
9116 e) gl_cv_elf=no ;;
9117 esac
9118 fi
9119 rmscip-shell system . . rm. -rf conftest*
9120
9121 ;;
9122 esac
9123 fi
9124 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
9125 printfscip-shell system . . printf. "%s\n" "$gl_cv_elf" >&6; }
9126 if testscip-shell system . . test. $gl_cv_elf = yes; then
9127 # Extract the ELF class of a file (5th byte) in decimal.
9128 # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
9129 if odscip-shell system . . od. -A x < /dev/nullscip-shell filesystem . . `/dev/null`. >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
9130 # Use POSIX od.
9131 func_elfclassscip-shell shell e2fsprogs 1.47.4-1 func_elfclass(). ()
9132 {
9133 odscip-shell system . . od. -A n -t d1 -j 4 -N 1
9134 }
9135 else
9136 # Use BSD hexdump.
9137 func_elfclassscip-shell shell e2fsprogs 1.47.4-1 func_elfclass(). ()
9138 {
9139 ddscip-shell system . . dd. bs=1 count=1 skip=4 2>/dev/nullscip-shell filesystem . . `/dev/null`. | hexdumpscip-shell system . . hexdump. -e '1/1 "%3d "'
9140 echoscip-shell system . . echo.
9141 }
9142 fi
9143 # Use 'expr', not 'test', to compare the values of func_elfclass, because on
9144 # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002,
9145 # not 1 or 2.
9146 case $HOST_CPU_C_ABI_32BIT in
9147 yes)
9148 # 32-bit ABI.
9149 acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). ()
9150 {
9151 exprscip-shell system . . expr. "`func_elfclassscip-shell shell e2fsprogs 1.47.4-1 func_elfclass(). | sedscip-shell system . . sed. -e 's/[ ]//g'`" = 1 > /dev/nullscip-shell filesystem . . `/dev/null`.
9152 }
9153 ;;
9154 no)
9155 # 64-bit ABI.
9156 acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). ()
9157 {
9158 exprscip-shell system . . expr. "`func_elfclassscip-shell shell e2fsprogs 1.47.4-1 func_elfclass(). | sedscip-shell system . . sed. -e 's/[ ]//g'`" = 2 > /dev/nullscip-shell filesystem . . `/dev/null`.
9159 }
9160 ;;
9161 *)
9162 # Unknown.
9163 acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). ()
9164 {
9165 :
9166 }
9167 ;;
9168 esac
9169 else
9170 acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). ()
9171 {
9172 :
9173 }
9174 fi
9175
9176 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
9177 printfscip-shell system . . printf. %s "checking for the common suffixes of directories in the library search path... " >&6; }
9178 if testscip-shell system . . test. ${acl_cv_libdirstems+y}
9179 then :
9180 printfscip-shell system . . printf. %s "(cached) " >&6
9181 else case e in #(
9182 e) acl_libdirstem=lib
9183 acl_libdirstem2=
9184 acl_libdirstem3=
9185 case "$host_os" in
9186 solaris*)
9187 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT = no; then
9188 acl_libdirstem2=lib/64
9189 case "$host_cpu" in
9190 sparc*) acl_libdirstem3=lib/sparcv9 ;;
9191 i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
9192 esac
9193 fi
9194 ;;
9195 netbsd*)
9196 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT != no; then
9197 case "$host_cpu" in
9198 sparc*) acl_libdirstem2=lib/sparc ;;
9199 esac
9200 fi
9201 ;;
9202 *)
9203 searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/nullscip-shell filesystem . . `/dev/null`. \
9204 | sedscip-shell system . . sed. -n -e 's,^libraries: ,,p' | sedscip-shell system . . sed. -e 's,^=,,'`
9205 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT != no; then
9206 # 32-bit or unknown ABI.
9207 if testscip-shell system . . test. -d /usr/lib32scip-shell filesystem . . `/usr/lib32`.; then
9208 acl_libdirstem2=lib32
9209 fi
9210 fi
9211 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT != yes; then
9212 # 64-bit or unknown ABI.
9213 if testscip-shell system . . test. -d /usr/lib64scip-shell filesystem . . `/usr/lib64`.; then
9214 acl_libdirstem3=lib64
9215 fi
9216 fi
9217 if testscip-shell system . . test. -n "$searchpath"; then
9218 acl_saved_IFS="${IFS= }"; IFS=":"
9219 for searchdir in $searchpath; do
9220 if testscip-shell system . . test. -d "$searchdir"; then
9221 case "$searchdir" in
9222 */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
9223 */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
9224 */../ | */.. )
9225 # Better ignore directories of this form. They are misleading.
9226 ;;
9227 *) searchdir=`cd "$searchdir" && pwdscip-shell system . . pwd.`
9228 case "$searchdir" in
9229 */lib32 ) acl_libdirstem2=lib32 ;;
9230 */lib64 ) acl_libdirstem3=lib64 ;;
9231 esac ;;
9232 esac
9233 fi
9234 done
9235 IFS="$acl_saved_IFS"
9236 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT = yes; then
9237 # 32-bit ABI.
9238 acl_libdirstem3=
9239 fi
9240 if testscip-shell system . . test. $HOST_CPU_C_ABI_32BIT = no; then
9241 # 64-bit ABI.
9242 acl_libdirstem2=
9243 fi
9244 fi
9245 ;;
9246 esac
9247 testscip-shell system . . test. -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
9248 testscip-shell system . . test. -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
9249 acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
9250 ;;
9251 esac
9252 fi
9253 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
9254 printfscip-shell system . . printf. "%s\n" "$acl_cv_libdirstems" >&6; }
9255 acl_libdirstem=`echoscip-shell system . . echo. "$acl_cv_libdirstems" | sedscip-shell system . . sed. -e 's/,.*//'`
9256 acl_libdirstem2=`echoscip-shell system . . echo. "$acl_cv_libdirstems" | sedscip-shell system . . sed. -e 's/^[^,]*,//' -e 's/,.*//'`
9257 acl_libdirstem3=`echoscip-shell system . . echo. "$acl_cv_libdirstems" | sedscip-shell system . . sed. -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269 use_additional=yes
9270
9271 acl_saved_prefix="$prefix"
9272 prefix="$acl_final_prefix"
9273 acl_saved_exec_prefix="$exec_prefix"
9274 exec_prefix="$acl_final_exec_prefix"
9275
9276 eval additional_includedir=\"$includedir\"
9277 eval additional_libdir=\"$libdir\"
9278 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
9279 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
9280
9281 exec_prefix="$acl_saved_exec_prefix"
9282 prefix="$acl_saved_prefix"
9283
9284
9285 # Check whether --with-libiconv-prefix was given.
9286 if testscip-shell system . . test. ${with_libiconv_prefix+y}
9287 then :
9288 withval=$with_libiconv_prefix;
9289 if testscip-shell system . . test. "X$withval" = "Xno"; then
9290 use_additional=no
9291 else
9292 if testscip-shell system . . test. "X$withval" = "X"; then
9293
9294 acl_saved_prefix="$prefix"
9295 prefix="$acl_final_prefix"
9296 acl_saved_exec_prefix="$exec_prefix"
9297 exec_prefix="$acl_final_exec_prefix"
9298
9299 eval additional_includedir=\"$includedir\"
9300 eval additional_libdir=\"$libdir\"
9301 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
9302 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
9303
9304 exec_prefix="$acl_saved_exec_prefix"
9305 prefix="$acl_saved_prefix"
9306
9307 else
9308 additional_includedir="$withval/include"
9309 additional_libdir="$withval/$acl_libdirstem"
9310 additional_libdir2="$withval/$acl_libdirstem2"
9311 additional_libdir3="$withval/$acl_libdirstem3"
9312 fi
9313 fi
9314
9315 fi
9316
9317 if testscip-shell system . . test. "X$additional_libdir2" = "X$additional_libdir"; then
9318 additional_libdir2=
9319 fi
9320 if testscip-shell system . . test. "X$additional_libdir3" = "X$additional_libdir"; then
9321 additional_libdir3=
9322 fi
9323 LIBICONV=
9324 LTLIBICONV=
9325 INCICONV=
9326 LIBICONV_PREFIX=
9327 HAVE_LIBICONV=
9328 rpathdirs=
9329 ltrpathdirs=
9330 names_already_handled=
9331 names_next_round='iconv '
9332 while testscip-shell system . . test. -n "$names_next_round"; do
9333 names_this_round="$names_next_round"
9334 names_next_round=
9335 for name in $names_this_round; do
9336 already_handled=
9337 for n in $names_already_handled; do
9338 if testscip-shell system . . test. "$n" = "$name"; then
9339 already_handled=yes
9340 break
9341 fi
9342 done
9343 if testscip-shell system . . test. -z "$already_handled"; then
9344 names_already_handled="$names_already_handled $name"
9345 uppername=`echoscip-shell system . . echo. "$name" | sedscip-shell system . . sed. -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
9346 eval value=\"\$HAVE_LIB$uppername\"
9347 if testscip-shell system . . test. -n "$value"; then
9348 if testscip-shell system . . test. "$value" = yes; then
9349 eval value=\"\$LIB$uppername\"
9350 testscip-shell system . . test. -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
9351 eval value=\"\$LTLIB$uppername\"
9352 testscip-shell system . . test. -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
9353 else
9354 :
9355 fi
9356 else
9357 found_dir=
9358 found_la=
9359 found_so=
9360 found_a=
9361 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
9362 if testscip-shell system . . test. -n "$acl_shlibext"; then
9363 shrext=".$acl_shlibext" # typically: shrext=.so
9364 else
9365 shrext=
9366 fi
9367 if testscip-shell system . . test. $use_additional = yes; then
9368 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
9369 if testscip-shell system . . test. "X$found_dir" = "X"; then
9370 eval dir=\$$additional_libdir_variable
9371 if testscip-shell system . . test. -n "$dir"; then
9372 if testscip-shell system . . test. -n "$acl_shlibext"; then
9373 if testscip-shell system . . test. -f "$dir/$libname$shrext" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$libname$shrext"; then
9374 found_dir="$dir"
9375 found_so="$dir/$libname$shrext"
9376 else
9377 if testscip-shell system . . test. "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
9378 ver=`(cd "$dir" && \
9379 for f in "$libname$shrext".*; do echoscip-shell system . . echo. "$f"; done \
9380 | sedscip-shell system . . sed. -e "s,^$libname$shrext\\\\.,," \
9381 | sortscip-shell system . . sort. -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
9382 | sedscip-shell system . . sed. 1q ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
9383 if testscip-shell system . . test. -n "$ver" && testscip-shell system . . test. -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$libname$shrext.$ver"; then
9384 found_dir="$dir"
9385 found_so="$dir/$libname$shrext.$ver"
9386 fi
9387 else
9388 eval library_names=\"$acl_library_names_spec\"
9389 for f in $library_names; do
9390 if testscip-shell system . . test. -f "$dir/$f" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$f"; then
9391 found_dir="$dir"
9392 found_so="$dir/$f"
9393 break
9394 fi
9395 done
9396 fi
9397 fi
9398 fi
9399 if testscip-shell system . . test. "X$found_dir" = "X"; then
9400 if testscip-shell system . . test. -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass().; then
9401 found_dir="$dir"
9402 found_a="$dir/$libname.$acl_libext"
9403 fi
9404 fi
9405 if testscip-shell system . . test. "X$found_dir" != "X"; then
9406 if testscip-shell system . . test. -f "$dir/$libname.la"; then
9407 found_la="$dir/$libname.la"
9408 fi
9409 fi
9410 fi
9411 fi
9412 done
9413 fi
9414 if testscip-shell system . . test. "X$found_dir" = "X"; then
9415 for x in $LDFLAGS $LTLIBICONV; do
9416
9417 acl_saved_prefix="$prefix"
9418 prefix="$acl_final_prefix"
9419 acl_saved_exec_prefix="$exec_prefix"
9420 exec_prefix="$acl_final_exec_prefix"
9421 eval x=\"$x\"
9422 exec_prefix="$acl_saved_exec_prefix"
9423 prefix="$acl_saved_prefix"
9424
9425 case "$x" in
9426 -L*)
9427 dir=`echoscip-shell system . . echo. "X$x" | sedscip-shell system . . sed. -e 's/^X-L//'`
9428 if testscip-shell system . . test. -n "$acl_shlibext"; then
9429 if testscip-shell system . . test. -f "$dir/$libname$shrext" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$libname$shrext"; then
9430 found_dir="$dir"
9431 found_so="$dir/$libname$shrext"
9432 else
9433 if testscip-shell system . . test. "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
9434 ver=`(cd "$dir" && \
9435 for f in "$libname$shrext".*; do echoscip-shell system . . echo. "$f"; done \
9436 | sedscip-shell system . . sed. -e "s,^$libname$shrext\\\\.,," \
9437 | sortscip-shell system . . sort. -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
9438 | sedscip-shell system . . sed. 1q ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
9439 if testscip-shell system . . test. -n "$ver" && testscip-shell system . . test. -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$libname$shrext.$ver"; then
9440 found_dir="$dir"
9441 found_so="$dir/$libname$shrext.$ver"
9442 fi
9443 else
9444 eval library_names=\"$acl_library_names_spec\"
9445 for f in $library_names; do
9446 if testscip-shell system . . test. -f "$dir/$f" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$f"; then
9447 found_dir="$dir"
9448 found_so="$dir/$f"
9449 break
9450 fi
9451 done
9452 fi
9453 fi
9454 fi
9455 if testscip-shell system . . test. "X$found_dir" = "X"; then
9456 if testscip-shell system . . test. -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass().; then
9457 found_dir="$dir"
9458 found_a="$dir/$libname.$acl_libext"
9459 fi
9460 fi
9461 if testscip-shell system . . test. "X$found_dir" != "X"; then
9462 if testscip-shell system . . test. -f "$dir/$libname.la"; then
9463 found_la="$dir/$libname.la"
9464 fi
9465 fi
9466 ;;
9467 esac
9468 if testscip-shell system . . test. "X$found_dir" != "X"; then
9469 break
9470 fi
9471 done
9472 fi
9473 if testscip-shell system . . test. "X$found_dir" != "X"; then
9474 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9475 if testscip-shell system . . test. "X$found_so" != "X"; then
9476 if testscip-shell system . . test. "$enable_rpath" = no \
9477 || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem" \
9478 || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem2" \
9479 || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem3"; then
9480 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9481 else
9482 haveit=
9483 for x in $ltrpathdirs; do
9484 if testscip-shell system . . test. "X$x" = "X$found_dir"; then
9485 haveit=yes
9486 break
9487 fi
9488 done
9489 if testscip-shell system . . test. -z "$haveit"; then
9490 ltrpathdirs="$ltrpathdirs $found_dir"
9491 fi
9492 if testscip-shell system . . test. "$acl_hardcode_direct" = yes; then
9493 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9494 else
9495 if testscip-shell system . . test. -n "$acl_hardcode_libdir_flag_spec" && testscip-shell system . . test. "$acl_hardcode_minus_L" = no; then
9496 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9497 haveit=
9498 for x in $rpathdirs; do
9499 if testscip-shell system . . test. "X$x" = "X$found_dir"; then
9500 haveit=yes
9501 break
9502 fi
9503 done
9504 if testscip-shell system . . test. -z "$haveit"; then
9505 rpathdirs="$rpathdirs $found_dir"
9506 fi
9507 else
9508 haveit=
9509 for x in $LDFLAGS $LIBICONV; do
9510
9511 acl_saved_prefix="$prefix"
9512 prefix="$acl_final_prefix"
9513 acl_saved_exec_prefix="$exec_prefix"
9514 exec_prefix="$acl_final_exec_prefix"
9515 eval x=\"$x\"
9516 exec_prefix="$acl_saved_exec_prefix"
9517 prefix="$acl_saved_prefix"
9518
9519 if testscip-shell system . . test. "X$x" = "X-L$found_dir"; then
9520 haveit=yes
9521 break
9522 fi
9523 done
9524 if testscip-shell system . . test. -z "$haveit"; then
9525 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9526 fi
9527 if testscip-shell system . . test. "$acl_hardcode_minus_L" != no; then
9528 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
9529 else
9530 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9531 fi
9532 fi
9533 fi
9534 fi
9535 else
9536 if testscip-shell system . . test. "X$found_a" != "X"; then
9537 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
9538 else
9539 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9540 fi
9541 fi
9542 additional_includedir=
9543 case "$found_dir" in
9544 */$acl_libdirstem | */$acl_libdirstem/)
9545 basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
9546 if testscip-shell system . . test. "$name" = 'iconv'; then
9547 LIBICONV_PREFIX="$basedir"
9548 fi
9549 additional_includedir="$basedir/include"
9550 ;;
9551 */$acl_libdirstem2 | */$acl_libdirstem2/)
9552 basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
9553 if testscip-shell system . . test. "$name" = 'iconv'; then
9554 LIBICONV_PREFIX="$basedir"
9555 fi
9556 additional_includedir="$basedir/include"
9557 ;;
9558 */$acl_libdirstem3 | */$acl_libdirstem3/)
9559 basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
9560 if testscip-shell system . . test. "$name" = 'iconv'; then
9561 LIBICONV_PREFIX="$basedir"
9562 fi
9563 additional_includedir="$basedir/include"
9564 ;;
9565 esac
9566 if testscip-shell system . . test. "X$additional_includedir" != "X"; then
9567 if testscip-shell system . . test. "X$additional_includedir" != "X/usr/include"; then
9568 haveit=
9569 if testscip-shell system . . test. "X$additional_includedir" = "X/usr/local/include"; then
9570 if testscip-shell system . . test. -n "$GCC"; then
9571 case $host_os in
9572 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
9573 esac
9574 fi
9575 fi
9576 if testscip-shell system . . test. -z "$haveit"; then
9577 for x in $CPPFLAGS $INCICONV; do
9578
9579 acl_saved_prefix="$prefix"
9580 prefix="$acl_final_prefix"
9581 acl_saved_exec_prefix="$exec_prefix"
9582 exec_prefix="$acl_final_exec_prefix"
9583 eval x=\"$x\"
9584 exec_prefix="$acl_saved_exec_prefix"
9585 prefix="$acl_saved_prefix"
9586
9587 if testscip-shell system . . test. "X$x" = "X-I$additional_includedir"; then
9588 haveit=yes
9589 break
9590 fi
9591 done
9592 if testscip-shell system . . test. -z "$haveit"; then
9593 if testscip-shell system . . test. -d "$additional_includedir"; then
9594 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9595 fi
9596 fi
9597 fi
9598 fi
9599 fi
9600 if testscip-shell system . . test. -n "$found_la"; then
9601 saved_libdir="$libdir"
9602 case "$found_la" in
9603 */* | *\\*) . "$found_la" ;;
9604 *) . "./$found_la" ;;
9605 esac
9606 libdir="$saved_libdir"
9607 for dep in $dependency_libs; do
9608 case "$dep" in
9609 -L*)
9610 dependency_libdir=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-L//'`
9611 if testscip-shell system . . test. "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
9612 && testscip-shell system . . test. "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
9613 && testscip-shell system . . test. "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
9614 haveit=
9615 if testscip-shell system . . test. "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
9616 || testscip-shell system . . test. "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
9617 || testscip-shell system . . test. "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
9618 if testscip-shell system . . test. -n "$GCC"; then
9619 case $host_os in
9620 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
9621 esac
9622 fi
9623 fi
9624 if testscip-shell system . . test. -z "$haveit"; then
9625 haveit=
9626 for x in $LDFLAGS $LIBICONV; do
9627
9628 acl_saved_prefix="$prefix"
9629 prefix="$acl_final_prefix"
9630 acl_saved_exec_prefix="$exec_prefix"
9631 exec_prefix="$acl_final_exec_prefix"
9632 eval x=\"$x\"
9633 exec_prefix="$acl_saved_exec_prefix"
9634 prefix="$acl_saved_prefix"
9635
9636 if testscip-shell system . . test. "X$x" = "X-L$dependency_libdir"; then
9637 haveit=yes
9638 break
9639 fi
9640 done
9641 if testscip-shell system . . test. -z "$haveit"; then
9642 if testscip-shell system . . test. -d "$dependency_libdir"; then
9643 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
9644 fi
9645 fi
9646 haveit=
9647 for x in $LDFLAGS $LTLIBICONV; do
9648
9649 acl_saved_prefix="$prefix"
9650 prefix="$acl_final_prefix"
9651 acl_saved_exec_prefix="$exec_prefix"
9652 exec_prefix="$acl_final_exec_prefix"
9653 eval x=\"$x\"
9654 exec_prefix="$acl_saved_exec_prefix"
9655 prefix="$acl_saved_prefix"
9656
9657 if testscip-shell system . . test. "X$x" = "X-L$dependency_libdir"; then
9658 haveit=yes
9659 break
9660 fi
9661 done
9662 if testscip-shell system . . test. -z "$haveit"; then
9663 if testscip-shell system . . test. -d "$dependency_libdir"; then
9664 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
9665 fi
9666 fi
9667 fi
9668 fi
9669 ;;
9670 -R*)
9671 dir=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-R//'`
9672 if testscip-shell system . . test. "$enable_rpath" != no; then
9673 haveit=
9674 for x in $rpathdirs; do
9675 if testscip-shell system . . test. "X$x" = "X$dir"; then
9676 haveit=yes
9677 break
9678 fi
9679 done
9680 if testscip-shell system . . test. -z "$haveit"; then
9681 rpathdirs="$rpathdirs $dir"
9682 fi
9683 haveit=
9684 for x in $ltrpathdirs; do
9685 if testscip-shell system . . test. "X$x" = "X$dir"; then
9686 haveit=yes
9687 break
9688 fi
9689 done
9690 if testscip-shell system . . test. -z "$haveit"; then
9691 ltrpathdirs="$ltrpathdirs $dir"
9692 fi
9693 fi
9694 ;;
9695 -l*)
9696 dep=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-l//'`
9697 if testscip-shell system . . test. "X$dep" != Xc \
9698 || case $host_os in
9699 linux* | gnu* | k*bsd*-gnu) falsescip-shell system . . false. ;;
9700 *) truescip-shell system . . true. ;;
9701 esac; then
9702 names_next_round="$names_next_round $dep"
9703 fi
9704 ;;
9705 *.la)
9706 names_next_round="$names_next_round "`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9707 ;;
9708 *)
9709 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
9710 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9711 ;;
9712 esac
9713 done
9714 fi
9715 else
9716 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
9717 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9718 fi
9719 fi
9720 fi
9721 done
9722 done
9723 if testscip-shell system . . test. "X$rpathdirs" != "X"; then
9724 if testscip-shell system . . test. -n "$acl_hardcode_libdir_separator"; then
9725 alldirs=
9726 for found_dir in $rpathdirs; do
9727 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
9728 done
9729 acl_saved_libdir="$libdir"
9730 libdir="$alldirs"
9731 eval flag=\"$acl_hardcode_libdir_flag_spec\"
9732 libdir="$acl_saved_libdir"
9733 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
9734 else
9735 for found_dir in $rpathdirs; do
9736 acl_saved_libdir="$libdir"
9737 libdir="$found_dir"
9738 eval flag=\"$acl_hardcode_libdir_flag_spec\"
9739 libdir="$acl_saved_libdir"
9740 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
9741 done
9742 fi
9743 fi
9744 if testscip-shell system . . test. "X$ltrpathdirs" != "X"; then
9745 for found_dir in $ltrpathdirs; do
9746 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9747 done
9748 fi
9749
9750
9751
9752
9753
9754
9755
9756 gl_sed_double_backslashes='s/\\/\\\\/g'
9757 gl_sed_escape_doublequotes='s/"/\\"/g'
9758 gl_sed_escape_for_make_1="s,\\([ \"&'();<>\\\\\`|]\\),\\\\\\1,g"
9759 gl_sed_escape_for_make_2='s,\$,\\$$,g'
9760 case `echoscip-shell system . . echo. r | trscip-shell system . . tr. -d '\r'` in
9761 '') gl_tr_cr='\015' ;;
9762 *) gl_tr_cr='\r' ;;
9763 esac
9764
9765
9766 gl_saved_prefix="${prefix}"
9767 gl_saved_datarootdir="${datarootdir}"
9768 gl_saved_localedir="${localedir}"
9769 if testscip-shell system . . test. "X$prefix" = "XNONE"; then
9770 prefix="$ac_default_prefix"
9771 fi
9772 eval datarootdir="$datarootdir"
9773 eval localedir="$localedir"
9774
9775
9776
9777
9778
9779 gl_final_localedir="$localedir"
9780 case "$build_os" in
9781 cygwin*)
9782 case "$host_os" in
9783 mingw* | windows*)
9784 gl_final_localedir=`cygpath -w "$gl_final_localedir"` ;;
9785 esac
9786 ;;
9787 esac
9788 localedir_c=`printfscip-shell system . . printf. '%s\n' "$gl_final_localedir" | sedscip-shell system . . sed. -e "$gl_sed_double_backslashes" -e "$gl_sed_escape_doublequotes" | trscip-shell system . . tr. -d "$gl_tr_cr"`
9789 localedir_c='"'"$localedir_c"'"'
9790
9791
9792 localedir_c_make=`printfscip-shell system . . printf. '%s\n' "$localedir_c" | sedscip-shell system . . sed. -e "$gl_sed_escape_for_make_1" -e "$gl_sed_escape_for_make_2" | trscip-shell system . . tr. -d "$gl_tr_cr"`
9793 if testscip-shell system . . test. "$localedir_c_make" = '\"'"${gl_final_localedir}"'\"'; then
9794 localedir_c_make='\"$(localedir)\"'
9795 fi
9796
9797
9798 localedir="${gl_saved_localedir}"
9799 datarootdir="${gl_saved_datarootdir}"
9800 prefix="${gl_saved_prefix}"
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
9825 printfscip-shell system . . printf. %s "checking for CFPreferencesCopyAppValue... " >&6; }
9826 if testscip-shell system . . test. ${gt_cv_func_CFPreferencesCopyAppValue+y}
9827 then :
9828 printfscip-shell system . . printf. %s "(cached) " >&6
9829 else case e in #(
9830 e) gt_saved_LIBS="$LIBS"
9831 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
9832 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9834 #include <CoreFoundation/CFPreferences.h>
9835 int
9836 main (void)
9837 {
9838 CFPreferencesCopyAppValue(NULL, NULL)
9839 ;
9840 return 0;
9841 }
9842 _ACEOF
9843 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
9844 then :
9845 gt_cv_func_CFPreferencesCopyAppValue=yes
9846 else case e in #(
9847 e) gt_cv_func_CFPreferencesCopyAppValue=no ;;
9848 esac
9849 fi
9850 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9851 conftest$ac_exeext conftest.$ac_ext
9852 LIBS="$gt_saved_LIBS" ;;
9853 esac
9854 fi
9855 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
9856 printfscip-shell system . . printf. "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
9857 if testscip-shell system . . test. $gt_cv_func_CFPreferencesCopyAppValue = yes; then
9858
9859 printfscip-shell system . . printf. "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
9860
9861 fi
9862 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
9863 printfscip-shell system . . printf. %s "checking for CFLocaleCopyPreferredLanguages... " >&6; }
9864 if testscip-shell system . . test. ${gt_cv_func_CFLocaleCopyPreferredLanguages+y}
9865 then :
9866 printfscip-shell system . . printf. %s "(cached) " >&6
9867 else case e in #(
9868 e) gt_saved_LIBS="$LIBS"
9869 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
9870 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9872 #include <CoreFoundation/CFLocale.h>
9873 int
9874 main (void)
9875 {
9876 CFLocaleCopyPreferredLanguages();
9877 ;
9878 return 0;
9879 }
9880 _ACEOF
9881 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
9882 then :
9883 gt_cv_func_CFLocaleCopyPreferredLanguages=yes
9884 else case e in #(
9885 e) gt_cv_func_CFLocaleCopyPreferredLanguages=no ;;
9886 esac
9887 fi
9888 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9889 conftest$ac_exeext conftest.$ac_ext
9890 LIBS="$gt_saved_LIBS" ;;
9891 esac
9892 fi
9893 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
9894 printfscip-shell system . . printf. "%s\n" "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
9895 if testscip-shell system . . test. $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
9896
9897 printfscip-shell system . . printf. "%s\n" "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
9898
9899 fi
9900 INTL_MACOSX_LIBS=
9901 if testscip-shell system . . test. $gt_cv_func_CFPreferencesCopyAppValue = yes \
9902 || testscip-shell system . . test. $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
9903 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,CoreServices"
9904 fi
9905
9906
9907
9908
9909
9910
9911 LIBINTL=
9912 LTLIBINTL=
9913 POSUB=
9914
9915 case " $gt_needs " in
9916 *" need-formatstring-macros "*) gt_api_version=3 ;;
9917 *" need-ngettext "*) gt_api_version=2 ;;
9918 *) gt_api_version=1 ;;
9919 esac
9920 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
9921 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
9922
9923 if testscip-shell system . . test. "$USE_NLS" = "yes"; then
9924 gt_use_preinstalled_gnugettext=no
9925
9926
9927 if testscip-shell system . . test. $gt_api_version -ge 3; then
9928 gt_revision_test_code='
9929 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
9930 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
9931 #endif
9932 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
9933 '
9934 else
9935 gt_revision_test_code=
9936 fi
9937 if testscip-shell system . . test. $gt_api_version -ge 2; then
9938 gt_expression_test_code=' + * ngettext ("", "", 0)'
9939 else
9940 gt_expression_test_code=
9941 fi
9942
9943 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
9944 printfscip-shell system . . printf. %s "checking for GNU gettext in libc... " >&6; }
9945 if eval test \${$gt_func_gnugettext_libc+y}
9946 then :
9947 printfscip-shell system . . printf. %s "(cached) " >&6
9948 else case e in #(
9949 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951
9952 #include <libintl.h>
9953 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
9954 extern int _nl_msg_cat_cntr;
9955 extern int *_nl_domain_bindings;
9956 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
9957 #else
9958 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
9959 #endif
9960 $gt_revision_test_code
9961
9962 int
9963 main (void)
9964 {
9965
9966 bindtextdomain ("", "");
9967 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
9968
9969 ;
9970 return 0;
9971 }
9972 _ACEOF
9973 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
9974 then :
9975 eval "$gt_func_gnugettext_libc=yes"
9976 else case e in #(
9977 e) eval "$gt_func_gnugettext_libc=no" ;;
9978 esac
9979 fi
9980 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
9981 conftest$ac_exeext conftest.$ac_ext ;;
9982 esac
9983 fi
9984 eval ac_res=\$$gt_func_gnugettext_libc
9985 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9986 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
9987
9988 if { eval "gt_val=\$$gt_func_gnugettext_libc"; testscip-shell system . . test. "$gt_val" != "yes"; }; then
9989
9990
9991
9992
9993
9994 gl_saved_CPPFLAGS="$CPPFLAGS"
9995
9996 for element in $INCICONV; do
9997 haveit=
9998 for x in $CPPFLAGS; do
9999
10000 acl_saved_prefix="$prefix"
10001 prefix="$acl_final_prefix"
10002 acl_saved_exec_prefix="$exec_prefix"
10003 exec_prefix="$acl_final_exec_prefix"
10004 eval x=\"$x\"
10005 exec_prefix="$acl_saved_exec_prefix"
10006 prefix="$acl_saved_prefix"
10007
10008 if testscip-shell system . . test. "X$x" = "X$element"; then
10009 haveit=yes
10010 break
10011 fi
10012 done
10013 if testscip-shell system . . test. -z "$haveit"; then
10014 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10015 fi
10016 done
10017
10018
10019 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
10020 printfscip-shell system . . printf. %s "checking for iconv... " >&6; }
10021 if testscip-shell system . . test. ${am_cv_func_iconv+y}
10022 then :
10023 printfscip-shell system . . printf. %s "(cached) " >&6
10024 else case e in #(
10025 e)
10026 am_cv_func_iconv="no, consider installing GNU libiconv"
10027 am_cv_lib_iconv=no
10028 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10030
10031 #include <stdlib.h>
10032 #include <iconv.h>
10033
10034 int
10035 main (void)
10036 {
10037 iconv_t cd = iconv_open("","");
10038 iconv(cd,NULL,NULL,NULL,NULL);
10039 iconv_close(cd);
10040 ;
10041 return 0;
10042 }
10043 _ACEOF
10044 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
10045 then :
10046 am_cv_func_iconv=yes
10047 fi
10048 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10049 conftest$ac_exeext conftest.$ac_ext
10050 if testscip-shell system . . test. "$am_cv_func_iconv" != yes; then
10051 gl_saved_LIBS="$LIBS"
10052 LIBS="$LIBS $LIBICONV"
10053 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10054 /* end confdefs.h. */
10055
10056 #include <stdlib.h>
10057 #include <iconv.h>
10058
10059 int
10060 main (void)
10061 {
10062 iconv_t cd = iconv_open("","");
10063 iconv(cd,NULL,NULL,NULL,NULL);
10064 iconv_close(cd);
10065 ;
10066 return 0;
10067 }
10068 _ACEOF
10069 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
10070 then :
10071 am_cv_lib_iconv=yes
10072 am_cv_func_iconv=yes
10073 fi
10074 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10075 conftest$ac_exeext conftest.$ac_ext
10076 LIBS="$gl_saved_LIBS"
10077 fi
10078 ;;
10079 esac
10080 fi
10081 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
10082 printfscip-shell system . . printf. "%s\n" "$am_cv_func_iconv" >&6; }
10083 if testscip-shell system . . test. "$am_cv_func_iconv" = yes; then
10084 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
10085 printfscip-shell system . . printf. %s "checking for working iconv... " >&6; }
10086 if testscip-shell system . . test. ${am_cv_func_iconv_works+y}
10087 then :
10088 printfscip-shell system . . printf. %s "(cached) " >&6
10089 else case e in #(
10090 e)
10091 gl_saved_LIBS="$LIBS"
10092 if testscip-shell system . . test. $am_cv_lib_iconv = yes; then
10093 LIBS="$LIBS $LIBICONV"
10094 fi
10095 am_cv_func_iconv_works=no
10096 for ac_iconv_const in '' 'const'; do
10097 if testscip-shell system . . test. "$cross_compiling" = yes
10098 then :
10099 case "$host_os" in
10100 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
10101 *) am_cv_func_iconv_works="guessing yes" ;;
10102 esac
10103 else case e in #(
10104 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10105 /* end confdefs.h. */
10106
10107 #include <iconv.h>
10108 #include <string.h>
10109
10110 #ifndef ICONV_CONST
10111 # define ICONV_CONST $ac_iconv_const
10112 #endif
10113
10114 int
10115 main (void)
10116 {
10117 int result = 0;
10118 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
10119 successful returns. This is even documented in
10120 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
10121 {
10122 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
10123 if (cd_utf8_to_88591 != (iconv_t)(-1))
10124 {
10125 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
10126 char buf[10];
10127 ICONV_CONST char *inptr = input;
10128 size_t inbytesleft = strlen (input);
10129 char *outptr = buf;
10130 size_t outbytesleft = sizeof (buf);
10131 size_t res = iconv (cd_utf8_to_88591,
10132 &inptr, &inbytesleft,
10133 &outptr, &outbytesleft);
10134 if (res == 0)
10135 result |= 1;
10136 iconv_close (cd_utf8_to_88591);
10137 }
10138 }
10139 /* Test against macOS 14.4 bug: Failures are not distinguishable from
10140 successful returns.
10141 POSIX:2018 says: "The iconv() function shall ... return the number of
10142 non-identical conversions performed."
10143 But here, the conversion always does transliteration (the suffixes
10144 "//TRANSLIT" and "//IGNORE" have no effect, nor does iconvctl()) and
10145 does not report when it does a non-identical conversion. */
10146 {
10147 iconv_t cd_utf8_to_88591 = iconv_open ("ISO-8859-1", "UTF-8");
10148 if (cd_utf8_to_88591 != (iconv_t)(-1))
10149 {
10150 static ICONV_CONST char input[] = "\305\202"; /* LATIN SMALL LETTER L WITH STROKE */
10151 char buf[10];
10152 ICONV_CONST char *inptr = input;
10153 size_t inbytesleft = strlen (input);
10154 char *outptr = buf;
10155 size_t outbytesleft = sizeof (buf);
10156 size_t res = iconv (cd_utf8_to_88591,
10157 &inptr, &inbytesleft,
10158 &outptr, &outbytesleft);
10159 /* Here:
10160 With glibc, GNU libiconv (including macOS up to 13): res == (size_t)-1, errno == EILSEQ.
10161 With musl libc, NetBSD 10, Solaris 11: res == 1.
10162 With macOS 14.4: res == 0, output is "l". */
10163 if (res == 0)
10164 result |= 2;
10165 iconv_close (cd_utf8_to_88591);
10166 }
10167 }
10168 /* Test against Solaris 10 bug: Failures are not distinguishable from
10169 successful returns. */
10170 {
10171 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
10172 if (cd_ascii_to_88591 != (iconv_t)(-1))
10173 {
10174 static ICONV_CONST char input[] = "\263";
10175 char buf[10];
10176 ICONV_CONST char *inptr = input;
10177 size_t inbytesleft = strlen (input);
10178 char *outptr = buf;
10179 size_t outbytesleft = sizeof (buf);
10180 size_t res = iconv (cd_ascii_to_88591,
10181 &inptr, &inbytesleft,
10182 &outptr, &outbytesleft);
10183 if (res == 0)
10184 result |= 4;
10185 iconv_close (cd_ascii_to_88591);
10186 }
10187 }
10188 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
10189 {
10190 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
10191 if (cd_88591_to_utf8 != (iconv_t)(-1))
10192 {
10193 static ICONV_CONST char input[] = "\304";
10194 static char buf[2] = { (char)0xDE, (char)0xAD };
10195 ICONV_CONST char *inptr = input;
10196 size_t inbytesleft = 1;
10197 char *outptr = buf;
10198 size_t outbytesleft = 1;
10199 size_t res = iconv (cd_88591_to_utf8,
10200 &inptr, &inbytesleft,
10201 &outptr, &outbytesleft);
10202 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
10203 result |= 8;
10204 iconv_close (cd_88591_to_utf8);
10205 }
10206 }
10207 #if 0 /* This bug could be worked around by the caller. */
10208 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
10209 {
10210 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
10211 if (cd_88591_to_utf8 != (iconv_t)(-1))
10212 {
10213 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
10214 char buf[50];
10215 ICONV_CONST char *inptr = input;
10216 size_t inbytesleft = strlen (input);
10217 char *outptr = buf;
10218 size_t outbytesleft = sizeof (buf);
10219 size_t res = iconv (cd_88591_to_utf8,
10220 &inptr, &inbytesleft,
10221 &outptr, &outbytesleft);
10222 if ((int)res > 0)
10223 result |= 16;
10224 iconv_close (cd_88591_to_utf8);
10225 }
10226 }
10227 #endif
10228 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
10229 provided. */
10230 {
10231 /* Try standardized names. */
10232 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
10233 /* Try IRIX, OSF/1 names. */
10234 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
10235 /* Try AIX names. */
10236 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
10237 /* Try HP-UX names. */
10238 iconv_t cd4 = iconv_open ("utf8", "eucJP");
10239 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
10240 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
10241 result |= 32;
10242 if (cd1 != (iconv_t)(-1))
10243 iconv_close (cd1);
10244 if (cd2 != (iconv_t)(-1))
10245 iconv_close (cd2);
10246 if (cd3 != (iconv_t)(-1))
10247 iconv_close (cd3);
10248 if (cd4 != (iconv_t)(-1))
10249 iconv_close (cd4);
10250 }
10251 return result;
10252
10253 ;
10254 return 0;
10255 }
10256 _ACEOF
10257 if ac_fn_c_try_runscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_run(). "$LINENO"
10258 then :
10259 am_cv_func_iconv_works=yes
10260 fi
10261 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10262 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
10263 esac
10264 fi
10265
10266 testscip-shell system . . test. "$am_cv_func_iconv_works" = no || break
10267 done
10268 LIBS="$gl_saved_LIBS"
10269 ;;
10270 esac
10271 fi
10272 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
10273 printfscip-shell system . . printf. "%s\n" "$am_cv_func_iconv_works" >&6; }
10274 case "$am_cv_func_iconv_works" in
10275 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
10276 *) am_func_iconv=yes ;;
10277 esac
10278 else
10279 am_func_iconv=no am_cv_lib_iconv=no
10280 fi
10281 if testscip-shell system . . test. "$am_func_iconv" = yes; then
10282
10283 printfscip-shell system . . printf. "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
10284
10285 fi
10286 if testscip-shell system . . test. "$am_cv_lib_iconv" = yes; then
10287 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
10288 printfscip-shell system . . printf. %s "checking how to link with libiconv... " >&6; }
10289 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
10290 printfscip-shell system . . printf. "%s\n" "$LIBICONV" >&6; }
10291 else
10292 CPPFLAGS="$gl_saved_CPPFLAGS"
10293 LIBICONV=
10294 LTLIBICONV=
10295 fi
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306 use_additional=yes
10307
10308 acl_saved_prefix="$prefix"
10309 prefix="$acl_final_prefix"
10310 acl_saved_exec_prefix="$exec_prefix"
10311 exec_prefix="$acl_final_exec_prefix"
10312
10313 eval additional_includedir=\"$includedir\"
10314 eval additional_libdir=\"$libdir\"
10315 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
10316 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
10317
10318 exec_prefix="$acl_saved_exec_prefix"
10319 prefix="$acl_saved_prefix"
10320
10321
10322 # Check whether --with-libintl-prefix was given.
10323 if testscip-shell system . . test. ${with_libintl_prefix+y}
10324 then :
10325 withval=$with_libintl_prefix;
10326 if testscip-shell system . . test. "X$withval" = "Xno"; then
10327 use_additional=no
10328 else
10329 if testscip-shell system . . test. "X$withval" = "X"; then
10330
10331 acl_saved_prefix="$prefix"
10332 prefix="$acl_final_prefix"
10333 acl_saved_exec_prefix="$exec_prefix"
10334 exec_prefix="$acl_final_exec_prefix"
10335
10336 eval additional_includedir=\"$includedir\"
10337 eval additional_libdir=\"$libdir\"
10338 eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
10339 eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
10340
10341 exec_prefix="$acl_saved_exec_prefix"
10342 prefix="$acl_saved_prefix"
10343
10344 else
10345 additional_includedir="$withval/include"
10346 additional_libdir="$withval/$acl_libdirstem"
10347 additional_libdir2="$withval/$acl_libdirstem2"
10348 additional_libdir3="$withval/$acl_libdirstem3"
10349 fi
10350 fi
10351
10352 fi
10353
10354 if testscip-shell system . . test. "X$additional_libdir2" = "X$additional_libdir"; then
10355 additional_libdir2=
10356 fi
10357 if testscip-shell system . . test. "X$additional_libdir3" = "X$additional_libdir"; then
10358 additional_libdir3=
10359 fi
10360 LIBINTL=
10361 LTLIBINTL=
10362 INCINTL=
10363 LIBINTL_PREFIX=
10364 HAVE_LIBINTL=
10365 rpathdirs=
10366 ltrpathdirs=
10367 names_already_handled=
10368 names_next_round='intl '
10369 while testscip-shell system . . test. -n "$names_next_round"; do
10370 names_this_round="$names_next_round"
10371 names_next_round=
10372 for name in $names_this_round; do
10373 already_handled=
10374 for n in $names_already_handled; do
10375 if testscip-shell system . . test. "$n" = "$name"; then
10376 already_handled=yes
10377 break
10378 fi
10379 done
10380 if testscip-shell system . . test. -z "$already_handled"; then
10381 names_already_handled="$names_already_handled $name"
10382 uppername=`echoscip-shell system . . echo. "$name" | sedscip-shell system . . sed. -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
10383 eval value=\"\$HAVE_LIB$uppername\"
10384 if testscip-shell system . . test. -n "$value"; then
10385 if testscip-shell system . . test. "$value" = yes; then
10386 eval value=\"\$LIB$uppername\"
10387 testscip-shell system . . test. -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
10388 eval value=\"\$LTLIB$uppername\"
10389 testscip-shell system . . test. -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
10390 else
10391 :
10392 fi
10393 else
10394 found_dir=
10395 found_la=
10396 found_so=
10397 found_a=
10398 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
10399 if testscip-shell system . . test. -n "$acl_shlibext"; then
10400 shrext=".$acl_shlibext" # typically: shrext=.so
10401 else
10402 shrext=
10403 fi
10404 if testscip-shell system . . test. $use_additional = yes; then
10405 for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
10406 if testscip-shell system . . test. "X$found_dir" = "X"; then
10407 eval dir=\$$additional_libdir_variable
10408 if testscip-shell system . . test. -n "$dir"; then
10409 if testscip-shell system . . test. -n "$acl_shlibext"; then
10410 if testscip-shell system . . test. -f "$dir/$libname$shrext" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$libname$shrext"; then
10411 found_dir="$dir"
10412 found_so="$dir/$libname$shrext"
10413 else
10414 if testscip-shell system . . test. "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
10415 ver=`(cd "$dir" && \
10416 for f in "$libname$shrext".*; do echoscip-shell system . . echo. "$f"; done \
10417 | sedscip-shell system . . sed. -e "s,^$libname$shrext\\\\.,," \
10418 | sortscip-shell system . . sort. -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
10419 | sedscip-shell system . . sed. 1q ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
10420 if testscip-shell system . . test. -n "$ver" && testscip-shell system . . test. -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$libname$shrext.$ver"; then
10421 found_dir="$dir"
10422 found_so="$dir/$libname$shrext.$ver"
10423 fi
10424 else
10425 eval library_names=\"$acl_library_names_spec\"
10426 for f in $library_names; do
10427 if testscip-shell system . . test. -f "$dir/$f" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$f"; then
10428 found_dir="$dir"
10429 found_so="$dir/$f"
10430 break
10431 fi
10432 done
10433 fi
10434 fi
10435 fi
10436 if testscip-shell system . . test. "X$found_dir" = "X"; then
10437 if testscip-shell system . . test. -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass().; then
10438 found_dir="$dir"
10439 found_a="$dir/$libname.$acl_libext"
10440 fi
10441 fi
10442 if testscip-shell system . . test. "X$found_dir" != "X"; then
10443 if testscip-shell system . . test. -f "$dir/$libname.la"; then
10444 found_la="$dir/$libname.la"
10445 fi
10446 fi
10447 fi
10448 fi
10449 done
10450 fi
10451 if testscip-shell system . . test. "X$found_dir" = "X"; then
10452 for x in $LDFLAGS $LTLIBINTL; do
10453
10454 acl_saved_prefix="$prefix"
10455 prefix="$acl_final_prefix"
10456 acl_saved_exec_prefix="$exec_prefix"
10457 exec_prefix="$acl_final_exec_prefix"
10458 eval x=\"$x\"
10459 exec_prefix="$acl_saved_exec_prefix"
10460 prefix="$acl_saved_prefix"
10461
10462 case "$x" in
10463 -L*)
10464 dir=`echoscip-shell system . . echo. "X$x" | sedscip-shell system . . sed. -e 's/^X-L//'`
10465 if testscip-shell system . . test. -n "$acl_shlibext"; then
10466 if testscip-shell system . . test. -f "$dir/$libname$shrext" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$libname$shrext"; then
10467 found_dir="$dir"
10468 found_so="$dir/$libname$shrext"
10469 else
10470 if testscip-shell system . . test. "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
10471 ver=`(cd "$dir" && \
10472 for f in "$libname$shrext".*; do echoscip-shell system . . echo. "$f"; done \
10473 | sedscip-shell system . . sed. -e "s,^$libname$shrext\\\\.,," \
10474 | sortscip-shell system . . sort. -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
10475 | sedscip-shell system . . sed. 1q ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
10476 if testscip-shell system . . test. -n "$ver" && testscip-shell system . . test. -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$libname$shrext.$ver"; then
10477 found_dir="$dir"
10478 found_so="$dir/$libname$shrext.$ver"
10479 fi
10480 else
10481 eval library_names=\"$acl_library_names_spec\"
10482 for f in $library_names; do
10483 if testscip-shell system . . test. -f "$dir/$f" && acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass(). < "$dir/$f"; then
10484 found_dir="$dir"
10485 found_so="$dir/$f"
10486 break
10487 fi
10488 done
10489 fi
10490 fi
10491 fi
10492 if testscip-shell system . . test. "X$found_dir" = "X"; then
10493 if testscip-shell system . . test. -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclassscip-shell shell e2fsprogs 1.47.4-1 acl_is_expected_elfclass().; then
10494 found_dir="$dir"
10495 found_a="$dir/$libname.$acl_libext"
10496 fi
10497 fi
10498 if testscip-shell system . . test. "X$found_dir" != "X"; then
10499 if testscip-shell system . . test. -f "$dir/$libname.la"; then
10500 found_la="$dir/$libname.la"
10501 fi
10502 fi
10503 ;;
10504 esac
10505 if testscip-shell system . . test. "X$found_dir" != "X"; then
10506 break
10507 fi
10508 done
10509 fi
10510 if testscip-shell system . . test. "X$found_dir" != "X"; then
10511 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
10512 if testscip-shell system . . test. "X$found_so" != "X"; then
10513 if testscip-shell system . . test. "$enable_rpath" = no \
10514 || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem" \
10515 || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem2" \
10516 || testscip-shell system . . test. "X$found_dir" = "X/usr/$acl_libdirstem3"; then
10517 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10518 else
10519 haveit=
10520 for x in $ltrpathdirs; do
10521 if testscip-shell system . . test. "X$x" = "X$found_dir"; then
10522 haveit=yes
10523 break
10524 fi
10525 done
10526 if testscip-shell system . . test. -z "$haveit"; then
10527 ltrpathdirs="$ltrpathdirs $found_dir"
10528 fi
10529 if testscip-shell system . . test. "$acl_hardcode_direct" = yes; then
10530 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10531 else
10532 if testscip-shell system . . test. -n "$acl_hardcode_libdir_flag_spec" && testscip-shell system . . test. "$acl_hardcode_minus_L" = no; then
10533 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10534 haveit=
10535 for x in $rpathdirs; do
10536 if testscip-shell system . . test. "X$x" = "X$found_dir"; then
10537 haveit=yes
10538 break
10539 fi
10540 done
10541 if testscip-shell system . . test. -z "$haveit"; then
10542 rpathdirs="$rpathdirs $found_dir"
10543 fi
10544 else
10545 haveit=
10546 for x in $LDFLAGS $LIBINTL; do
10547
10548 acl_saved_prefix="$prefix"
10549 prefix="$acl_final_prefix"
10550 acl_saved_exec_prefix="$exec_prefix"
10551 exec_prefix="$acl_final_exec_prefix"
10552 eval x=\"$x\"
10553 exec_prefix="$acl_saved_exec_prefix"
10554 prefix="$acl_saved_prefix"
10555
10556 if testscip-shell system . . test. "X$x" = "X-L$found_dir"; then
10557 haveit=yes
10558 break
10559 fi
10560 done
10561 if testscip-shell system . . test. -z "$haveit"; then
10562 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
10563 fi
10564 if testscip-shell system . . test. "$acl_hardcode_minus_L" != no; then
10565 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
10566 else
10567 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
10568 fi
10569 fi
10570 fi
10571 fi
10572 else
10573 if testscip-shell system . . test. "X$found_a" != "X"; then
10574 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
10575 else
10576 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
10577 fi
10578 fi
10579 additional_includedir=
10580 case "$found_dir" in
10581 */$acl_libdirstem | */$acl_libdirstem/)
10582 basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
10583 if testscip-shell system . . test. "$name" = 'intl'; then
10584 LIBINTL_PREFIX="$basedir"
10585 fi
10586 additional_includedir="$basedir/include"
10587 ;;
10588 */$acl_libdirstem2 | */$acl_libdirstem2/)
10589 basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
10590 if testscip-shell system . . test. "$name" = 'intl'; then
10591 LIBINTL_PREFIX="$basedir"
10592 fi
10593 additional_includedir="$basedir/include"
10594 ;;
10595 */$acl_libdirstem3 | */$acl_libdirstem3/)
10596 basedir=`echoscip-shell system . . echo. "X$found_dir" | sedscip-shell system . . sed. -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
10597 if testscip-shell system . . test. "$name" = 'intl'; then
10598 LIBINTL_PREFIX="$basedir"
10599 fi
10600 additional_includedir="$basedir/include"
10601 ;;
10602 esac
10603 if testscip-shell system . . test. "X$additional_includedir" != "X"; then
10604 if testscip-shell system . . test. "X$additional_includedir" != "X/usr/include"; then
10605 haveit=
10606 if testscip-shell system . . test. "X$additional_includedir" = "X/usr/local/include"; then
10607 if testscip-shell system . . test. -n "$GCC"; then
10608 case $host_os in
10609 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
10610 esac
10611 fi
10612 fi
10613 if testscip-shell system . . test. -z "$haveit"; then
10614 for x in $CPPFLAGS $INCINTL; do
10615
10616 acl_saved_prefix="$prefix"
10617 prefix="$acl_final_prefix"
10618 acl_saved_exec_prefix="$exec_prefix"
10619 exec_prefix="$acl_final_exec_prefix"
10620 eval x=\"$x\"
10621 exec_prefix="$acl_saved_exec_prefix"
10622 prefix="$acl_saved_prefix"
10623
10624 if testscip-shell system . . test. "X$x" = "X-I$additional_includedir"; then
10625 haveit=yes
10626 break
10627 fi
10628 done
10629 if testscip-shell system . . test. -z "$haveit"; then
10630 if testscip-shell system . . test. -d "$additional_includedir"; then
10631 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
10632 fi
10633 fi
10634 fi
10635 fi
10636 fi
10637 if testscip-shell system . . test. -n "$found_la"; then
10638 saved_libdir="$libdir"
10639 case "$found_la" in
10640 */* | *\\*) . "$found_la" ;;
10641 *) . "./$found_la" ;;
10642 esac
10643 libdir="$saved_libdir"
10644 for dep in $dependency_libs; do
10645 case "$dep" in
10646 -L*)
10647 dependency_libdir=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-L//'`
10648 if testscip-shell system . . test. "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
10649 && testscip-shell system . . test. "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
10650 && testscip-shell system . . test. "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
10651 haveit=
10652 if testscip-shell system . . test. "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
10653 || testscip-shell system . . test. "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
10654 || testscip-shell system . . test. "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
10655 if testscip-shell system . . test. -n "$GCC"; then
10656 case $host_os in
10657 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
10658 esac
10659 fi
10660 fi
10661 if testscip-shell system . . test. -z "$haveit"; then
10662 haveit=
10663 for x in $LDFLAGS $LIBINTL; do
10664
10665 acl_saved_prefix="$prefix"
10666 prefix="$acl_final_prefix"
10667 acl_saved_exec_prefix="$exec_prefix"
10668 exec_prefix="$acl_final_exec_prefix"
10669 eval x=\"$x\"
10670 exec_prefix="$acl_saved_exec_prefix"
10671 prefix="$acl_saved_prefix"
10672
10673 if testscip-shell system . . test. "X$x" = "X-L$dependency_libdir"; then
10674 haveit=yes
10675 break
10676 fi
10677 done
10678 if testscip-shell system . . test. -z "$haveit"; then
10679 if testscip-shell system . . test. -d "$dependency_libdir"; then
10680 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir"
10681 fi
10682 fi
10683 haveit=
10684 for x in $LDFLAGS $LTLIBINTL; do
10685
10686 acl_saved_prefix="$prefix"
10687 prefix="$acl_final_prefix"
10688 acl_saved_exec_prefix="$exec_prefix"
10689 exec_prefix="$acl_final_exec_prefix"
10690 eval x=\"$x\"
10691 exec_prefix="$acl_saved_exec_prefix"
10692 prefix="$acl_saved_prefix"
10693
10694 if testscip-shell system . . test. "X$x" = "X-L$dependency_libdir"; then
10695 haveit=yes
10696 break
10697 fi
10698 done
10699 if testscip-shell system . . test. -z "$haveit"; then
10700 if testscip-shell system . . test. -d "$dependency_libdir"; then
10701 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir"
10702 fi
10703 fi
10704 fi
10705 fi
10706 ;;
10707 -R*)
10708 dir=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-R//'`
10709 if testscip-shell system . . test. "$enable_rpath" != no; then
10710 haveit=
10711 for x in $rpathdirs; do
10712 if testscip-shell system . . test. "X$x" = "X$dir"; then
10713 haveit=yes
10714 break
10715 fi
10716 done
10717 if testscip-shell system . . test. -z "$haveit"; then
10718 rpathdirs="$rpathdirs $dir"
10719 fi
10720 haveit=
10721 for x in $ltrpathdirs; do
10722 if testscip-shell system . . test. "X$x" = "X$dir"; then
10723 haveit=yes
10724 break
10725 fi
10726 done
10727 if testscip-shell system . . test. -z "$haveit"; then
10728 ltrpathdirs="$ltrpathdirs $dir"
10729 fi
10730 fi
10731 ;;
10732 -l*)
10733 dep=`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's/^X-l//'`
10734 if testscip-shell system . . test. "X$dep" != Xc \
10735 || case $host_os in
10736 linux* | gnu* | k*bsd*-gnu) falsescip-shell system . . false. ;;
10737 *) truescip-shell system . . true. ;;
10738 esac; then
10739 names_next_round="$names_next_round $dep"
10740 fi
10741 ;;
10742 *.la)
10743 names_next_round="$names_next_round "`echoscip-shell system . . echo. "X$dep" | sedscip-shell system . . sed. -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10744 ;;
10745 *)
10746 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
10747 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
10748 ;;
10749 esac
10750 done
10751 fi
10752 else
10753 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
10754 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
10755 fi
10756 fi
10757 fi
10758 done
10759 done
10760 if testscip-shell system . . test. "X$rpathdirs" != "X"; then
10761 if testscip-shell system . . test. -n "$acl_hardcode_libdir_separator"; then
10762 alldirs=
10763 for found_dir in $rpathdirs; do
10764 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
10765 done
10766 acl_saved_libdir="$libdir"
10767 libdir="$alldirs"
10768 eval flag=\"$acl_hardcode_libdir_flag_spec\"
10769 libdir="$acl_saved_libdir"
10770 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
10771 else
10772 for found_dir in $rpathdirs; do
10773 acl_saved_libdir="$libdir"
10774 libdir="$found_dir"
10775 eval flag=\"$acl_hardcode_libdir_flag_spec\"
10776 libdir="$acl_saved_libdir"
10777 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
10778 done
10779 fi
10780 fi
10781 if testscip-shell system . . test. "X$ltrpathdirs" != "X"; then
10782 for found_dir in $ltrpathdirs; do
10783 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
10784 done
10785 fi
10786
10787
10788
10789
10790
10791 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
10792 printfscip-shell system . . printf. %s "checking for GNU gettext in libintl... " >&6; }
10793 if eval test \${$gt_func_gnugettext_libintl+y}
10794 then :
10795 printfscip-shell system . . printf. %s "(cached) " >&6
10796 else case e in #(
10797 e) gt_saved_CPPFLAGS="$CPPFLAGS"
10798 CPPFLAGS="$CPPFLAGS $INCINTL"
10799 gt_saved_LIBS="$LIBS"
10800 LIBS="$LIBS $LIBINTL"
10801 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10802 /* end confdefs.h. */
10803
10804 #include <libintl.h>
10805 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
10806 extern int _nl_msg_cat_cntr;
10807 extern
10808 #ifdef __cplusplus
10809 "C"
10810 #endif
10811 const char *_nl_expand_alias (const char *);
10812 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
10813 #else
10814 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
10815 #endif
10816 $gt_revision_test_code
10817
10818 int
10819 main (void)
10820 {
10821
10822 bindtextdomain ("", "");
10823 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
10824
10825 ;
10826 return 0;
10827 }
10828 _ACEOF
10829 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
10830 then :
10831 eval "$gt_func_gnugettext_libintl=yes"
10832 else case e in #(
10833 e) eval "$gt_func_gnugettext_libintl=no" ;;
10834 esac
10835 fi
10836 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10837 conftest$ac_exeext conftest.$ac_ext
10838 gt_LIBINTL_EXTRA="$INTL_MACOSX_LIBS"
10839
10840 case "$host_os" in
10841 aix*) gt_LIBINTL_EXTRA="-lpthread" ;;
10842 esac
10843 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; testscip-shell system . . test. "$gt_val" != yes; } \
10844 && { testscip-shell system . . test. -n "$LIBICONV" || testscip-shell system . . test. -n "$gt_LIBINTL_EXTRA"; }; then
10845 LIBS="$LIBS $LIBICONV $gt_LIBINTL_EXTRA"
10846 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
10847 /* end confdefs.h. */
10848
10849 #include <libintl.h>
10850 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
10851 extern int _nl_msg_cat_cntr;
10852 extern
10853 #ifdef __cplusplus
10854 "C"
10855 #endif
10856 const char *_nl_expand_alias (const char *);
10857 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
10858 #else
10859 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
10860 #endif
10861 $gt_revision_test_code
10862
10863 int
10864 main (void)
10865 {
10866
10867 bindtextdomain ("", "");
10868 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
10869
10870 ;
10871 return 0;
10872 }
10873 _ACEOF
10874 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
10875 then :
10876 LIBINTL="$LIBINTL $LIBICONV $gt_LIBINTL_EXTRA"
10877 LTLIBINTL="$LTLIBINTL $LTLIBICONV $gt_LIBINTL_EXTRA"
10878 eval "$gt_func_gnugettext_libintl=yes"
10879
10880 fi
10881 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
10882 conftest$ac_exeext conftest.$ac_ext
10883 fi
10884 CPPFLAGS="$gt_saved_CPPFLAGS"
10885 LIBS="$gt_saved_LIBS" ;;
10886 esac
10887 fi
10888 eval ac_res=\$$gt_func_gnugettext_libintl
10889 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10890 printfscip-shell system . . printf. "%s\n" "$ac_res" >&6; }
10891 fi
10892
10893 if { eval "gt_val=\$$gt_func_gnugettext_libc"; testscip-shell system . . test. "$gt_val" = "yes"; } \
10894 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; testscip-shell system . . test. "$gt_val" = "yes"; } \
10895 && testscip-shell system . . test. "$PACKAGE" != gettext-runtime \
10896 && testscip-shell system . . test. "$PACKAGE" != gettext-tools \
10897 && testscip-shell system . . test. "$PACKAGE" != libintl; }; then
10898 gt_use_preinstalled_gnugettext=yes
10899 else
10900 LIBINTL=
10901 LTLIBINTL=
10902 INCINTL=
10903 fi
10904
10905
10906
10907 if testscip-shell system . . test. -n "$INTL_MACOSX_LIBS"; then
10908 if testscip-shell system . . test. "$gt_use_preinstalled_gnugettext" = "yes" \
10909 || testscip-shell system . . test. "$nls_cv_use_gnu_gettext" = "yes"; then
10910 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
10911 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
10912 fi
10913 fi
10914
10915 if testscip-shell system . . test. "$gt_use_preinstalled_gnugettext" = "yes" \
10916 || testscip-shell system . . test. "$nls_cv_use_gnu_gettext" = "yes"; then
10917
10918 printfscip-shell system . . printf. "%s\n" "#define ENABLE_NLS 1" >>confdefs.h
10919
10920 else
10921 USE_NLS=no
10922 fi
10923 fi
10924
10925 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
10926 printfscip-shell system . . printf. %s "checking whether to use NLS... " >&6; }
10927 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
10928 printfscip-shell system . . printf. "%s\n" "$USE_NLS" >&6; }
10929 if testscip-shell system . . test. "$USE_NLS" = "yes"; then
10930 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
10931 printfscip-shell system . . printf. %s "checking where the gettext function comes from... " >&6; }
10932 if testscip-shell system . . test. "$gt_use_preinstalled_gnugettext" = "yes"; then
10933 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; testscip-shell system . . test. "$gt_val" = "yes"; }; then
10934 gt_source="external libintl"
10935 else
10936 gt_source="libc"
10937 fi
10938 else
10939 gt_source="included intl directory"
10940 fi
10941 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
10942 printfscip-shell system . . printf. "%s\n" "$gt_source" >&6; }
10943 fi
10944
10945 if testscip-shell system . . test. "$USE_NLS" = "yes"; then
10946
10947 if testscip-shell system . . test. "$gt_use_preinstalled_gnugettext" = "yes"; then
10948 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; testscip-shell system . . test. "$gt_val" = "yes"; }; then
10949 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
10950 printfscip-shell system . . printf. %s "checking how to link with libintl... " >&6; }
10951 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
10952 printfscip-shell system . . printf. "%s\n" "$LIBINTL" >&6; }
10953
10954 for element in $INCINTL; do
10955 haveit=
10956 for x in $CPPFLAGS; do
10957
10958 acl_saved_prefix="$prefix"
10959 prefix="$acl_final_prefix"
10960 acl_saved_exec_prefix="$exec_prefix"
10961 exec_prefix="$acl_final_exec_prefix"
10962 eval x=\"$x\"
10963 exec_prefix="$acl_saved_exec_prefix"
10964 prefix="$acl_saved_prefix"
10965
10966 if testscip-shell system . . test. "X$x" = "X$element"; then
10967 haveit=yes
10968 break
10969 fi
10970 done
10971 if testscip-shell system . . test. -z "$haveit"; then
10972 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10973 fi
10974 done
10975
10976 fi
10977
10978
10979 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h
10980
10981
10982 printfscip-shell system . . printf. "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
10983
10984 fi
10985
10986 POSUB=po
10987 fi
10988
10989
10990
10991
10992 INTLLIBS="$LIBINTL"
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11004 printfscip-shell system . . printf. %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11005 set x ${MAKE-make}
11006 ac_make=`printfscip-shell system . . printf. "%s\n" "$2" | sedscip-shell system . . sed. 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11007 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
11008 then :
11009 printfscip-shell system . . printf. %s "(cached) " >&6
11010 else case e in #(
11011 e) catscip-shell system . . cat. >conftest.make <<\_ACEOF
11012 SHELL = /bin/sh
11013 all:
11014 @echo '@@@%%%=$(MAKE)=@@@%%%'
11015 _ACEOF
11016 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11017 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
11018 *@@@%%%=?*=@@@%%%*)
11019 eval ac_cv_prog_make_${ac_make}_set=yes;;
11020 *)
11021 eval ac_cv_prog_make_${ac_make}_set=no;;
11022 esac
11023 rmscip-shell system . . rm. -f conftest.make ;;
11024 esac
11025 fi
11026 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
11027 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11028 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11029 SET_MAKE=
11030 else
11031 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11032 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11033 SET_MAKE="MAKE=${MAKE-make}"
11034 fi
11035
11036 for ac_prog in gawk mawk nawk awk
11037 do
11038 # Extract the first word of "$ac_prog", so it can be a program name with args.
11039 set dummy $ac_prog; ac_word=$2
11040 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11041 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11042 if testscip-shell system . . test. ${ac_cv_prog_AWK+y}
11043 then :
11044 printfscip-shell system . . printf. %s "(cached) " >&6
11045 else case e in #(
11046 e) if testscip-shell system . . test. -n "$AWK"; then
11047 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11048 else
11049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11050 for as_dir in $PATH
11051 do
11052 IFS=$as_save_IFS
11053 case $as_dir in #(((
11054 '') as_dir=./ ;;
11055 */) ;;
11056 *) as_dir=$as_dir/ ;;
11057 esac
11058 for ac_exec_ext in '' $ac_executable_extensions; do
11059 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11060 ac_cv_prog_AWK="$ac_prog"
11061 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11062 break 2
11063 fi
11064 done
11065 done
11066 IFS=$as_save_IFS
11067
11068 fi ;;
11069 esac
11070 fi
11071 AWK=$ac_cv_prog_AWK
11072 if testscip-shell system . . test. -n "$AWK"; then
11073 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11074 printfscip-shell system . . printf. "%s\n" "$AWK" >&6; }
11075 else
11076 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11077 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11078 fi
11079
11080
11081 testscip-shell system . . test. -n "$AWK" && break
11082 done
11083
11084 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
11085 printfscip-shell system . . printf. %s "checking for GNU make... " >&6; }
11086 if testscip-shell system . . test. ${_cv_gnu_make_command+y}
11087 then :
11088 printfscip-shell system . . printf. %s "(cached) " >&6
11089 else case e in #(
11090 e) _cv_gnu_make_command="" ;
11091 for a in "$MAKE" make gmake gnumake ; do
11092 if testscip-shell system . . test. -z "$a" ; then continue ; fi ;
11093 if "$a" --version 2> /dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. GNU 2>&1 > /dev/nullscip-shell filesystem . . `/dev/null`. ; then
11094 _cv_gnu_make_command=$a ;
11095 AX_CHECK_GNU_MAKE_HEADLINE=$("$a" --version 2> /dev/nullscip-shell filesystem . . `/dev/null`. | grepscip-shell system . . grep. "GNU Make")
11096 ax_check_gnu_make_version=$(echoscip-shell system . . echo. ${AX_CHECK_GNU_MAKE_HEADLINE} | ${AWK} -F " " '{ print $(NF); }')
11097 break ;
11098 fi
11099 done ; ;;
11100 esac
11101 fi
11102 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
11103 printfscip-shell system . . printf. "%s\n" "$_cv_gnu_make_command" >&6; }
11104 if testscip-shell system . . test. "x$_cv_gnu_make_command" = x""
11105 then :
11106 ifGNUmake="#"
11107 else case e in #(
11108 e) ifGNUmake="" ;;
11109 esac
11110 fi
11111 if testscip-shell system . . test. "x$_cv_gnu_make_command" = x""
11112 then :
11113 ifnGNUmake=""
11114 else case e in #(
11115 e) ifnGNUmake="#" ;;
11116 esac
11117 fi
11118 if testscip-shell system . . test. "x$_cv_gnu_make_command" = x""
11119 then :
11120 { ax_cv_gnu_make_command=; unset ax_cv_gnu_make_command;}
11121 else case e in #(
11122 e) ax_cv_gnu_make_command=${_cv_gnu_make_command} ;;
11123 esac
11124 fi
11125 if testscip-shell system . . test. "x$_cv_gnu_make_command" = x""
11126 then :
11127
11128 fi
11129
11130
11131
11132 # Extract the first word of "ln", so it can be a program name with args.
11133 set dummy ln; ac_word=$2
11134 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11135 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11136 if testscip-shell system . . test. ${ac_cv_path_LN+y}
11137 then :
11138 printfscip-shell system . . printf. %s "(cached) " >&6
11139 else case e in #(
11140 e) case $LN in
11141 [\\/]* | ?:[\\/]*)
11142 ac_cv_path_LN="$LN" # Let the user override the test with a path.
11143 ;;
11144 *)
11145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11146 for as_dir in $PATH
11147 do
11148 IFS=$as_save_IFS
11149 case $as_dir in #(((
11150 '') as_dir=./ ;;
11151 */) ;;
11152 *) as_dir=$as_dir/ ;;
11153 esac
11154 for ac_exec_ext in '' $ac_executable_extensions; do
11155 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11156 ac_cv_path_LN="$as_dir$ac_word$ac_exec_ext"
11157 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11158 break 2
11159 fi
11160 done
11161 done
11162 IFS=$as_save_IFS
11163
11164 testscip-shell system . . test. -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
11165 ;;
11166 esac ;;
11167 esac
11168 fi
11169 LN=$ac_cv_path_LN
11170 if testscip-shell system . . test. -n "$LN"; then
11171 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
11172 printfscip-shell system . . printf. "%s\n" "$LN" >&6; }
11173 else
11174 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11175 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11176 fi
11177
11178
11179
11180 mkdir_p=$MKDIR_P
11181
11182 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
11183 printfscip-shell system . . printf. %s "checking whether ln -s works... " >&6; }
11184 LN_S=$as_ln_s
11185 if testscip-shell system . . test. "$LN_S" = "ln -s"; then
11186 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11187 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
11188 else
11189 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
11190 printfscip-shell system . . printf. "%s\n" "no, using $LN_S" >&6; }
11191 fi
11192
11193 # Extract the first word of "mv", so it can be a program name with args.
11194 set dummy mv; ac_word=$2
11195 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11196 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11197 if testscip-shell system . . test. ${ac_cv_path_MV+y}
11198 then :
11199 printfscip-shell system . . printf. %s "(cached) " >&6
11200 else case e in #(
11201 e) case $MV in
11202 [\\/]* | ?:[\\/]*)
11203 ac_cv_path_MV="$MV" # Let the user override the test with a path.
11204 ;;
11205 *)
11206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11207 for as_dir in $PATH
11208 do
11209 IFS=$as_save_IFS
11210 case $as_dir in #(((
11211 '') as_dir=./ ;;
11212 */) ;;
11213 *) as_dir=$as_dir/ ;;
11214 esac
11215 for ac_exec_ext in '' $ac_executable_extensions; do
11216 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11217 ac_cv_path_MV="$as_dir$ac_word$ac_exec_ext"
11218 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11219 break 2
11220 fi
11221 done
11222 done
11223 IFS=$as_save_IFS
11224
11225 testscip-shell system . . test. -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
11226 ;;
11227 esac ;;
11228 esac
11229 fi
11230 MV=$ac_cv_path_MV
11231 if testscip-shell system . . test. -n "$MV"; then
11232 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
11233 printfscip-shell system . . printf. "%s\n" "$MV" >&6; }
11234 else
11235 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11236 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11237 fi
11238
11239
11240 # Extract the first word of "cp", so it can be a program name with args.
11241 set dummy cp; ac_word=$2
11242 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11243 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11244 if testscip-shell system . . test. ${ac_cv_path_CP+y}
11245 then :
11246 printfscip-shell system . . printf. %s "(cached) " >&6
11247 else case e in #(
11248 e) case $CP in
11249 [\\/]* | ?:[\\/]*)
11250 ac_cv_path_CP="$CP" # Let the user override the test with a path.
11251 ;;
11252 *)
11253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11254 for as_dir in $PATH
11255 do
11256 IFS=$as_save_IFS
11257 case $as_dir in #(((
11258 '') as_dir=./ ;;
11259 */) ;;
11260 *) as_dir=$as_dir/ ;;
11261 esac
11262 for ac_exec_ext in '' $ac_executable_extensions; do
11263 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11264 ac_cv_path_CP="$as_dir$ac_word$ac_exec_ext"
11265 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11266 break 2
11267 fi
11268 done
11269 done
11270 IFS=$as_save_IFS
11271
11272 testscip-shell system . . test. -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
11273 ;;
11274 esac ;;
11275 esac
11276 fi
11277 CP=$ac_cv_path_CP
11278 if testscip-shell system . . test. -n "$CP"; then
11279 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
11280 printfscip-shell system . . printf. "%s\n" "$CP" >&6; }
11281 else
11282 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11283 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11284 fi
11285
11286
11287 # Extract the first word of "rm", so it can be a program name with args.
11288 set dummy rm; ac_word=$2
11289 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11290 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11291 if testscip-shell system . . test. ${ac_cv_path_RM+y}
11292 then :
11293 printfscip-shell system . . printf. %s "(cached) " >&6
11294 else case e in #(
11295 e) case $RM in
11296 [\\/]* | ?:[\\/]*)
11297 ac_cv_path_RM="$RM" # Let the user override the test with a path.
11298 ;;
11299 *)
11300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11301 for as_dir in $PATH
11302 do
11303 IFS=$as_save_IFS
11304 case $as_dir in #(((
11305 '') as_dir=./ ;;
11306 */) ;;
11307 *) as_dir=$as_dir/ ;;
11308 esac
11309 for ac_exec_ext in '' $ac_executable_extensions; do
11310 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11311 ac_cv_path_RM="$as_dir$ac_word$ac_exec_ext"
11312 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11313 break 2
11314 fi
11315 done
11316 done
11317 IFS=$as_save_IFS
11318
11319 testscip-shell system . . test. -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
11320 ;;
11321 esac ;;
11322 esac
11323 fi
11324 RM=$ac_cv_path_RM
11325 if testscip-shell system . . test. -n "$RM"; then
11326 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
11327 printfscip-shell system . . printf. "%s\n" "$RM" >&6; }
11328 else
11329 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11330 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11331 fi
11332
11333
11334 # Extract the first word of "chmod", so it can be a program name with args.
11335 set dummy chmod; ac_word=$2
11336 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11337 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11338 if testscip-shell system . . test. ${ac_cv_path_CHMOD+y}
11339 then :
11340 printfscip-shell system . . printf. %s "(cached) " >&6
11341 else case e in #(
11342 e) case $CHMOD in
11343 [\\/]* | ?:[\\/]*)
11344 ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
11345 ;;
11346 *)
11347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11348 for as_dir in $PATH
11349 do
11350 IFS=$as_save_IFS
11351 case $as_dir in #(((
11352 '') as_dir=./ ;;
11353 */) ;;
11354 *) as_dir=$as_dir/ ;;
11355 esac
11356 for ac_exec_ext in '' $ac_executable_extensions; do
11357 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11358 ac_cv_path_CHMOD="$as_dir$ac_word$ac_exec_ext"
11359 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11360 break 2
11361 fi
11362 done
11363 done
11364 IFS=$as_save_IFS
11365
11366 testscip-shell system . . test. -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD=":"
11367 ;;
11368 esac ;;
11369 esac
11370 fi
11371 CHMOD=$ac_cv_path_CHMOD
11372 if testscip-shell system . . test. -n "$CHMOD"; then
11373 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
11374 printfscip-shell system . . printf. "%s\n" "$CHMOD" >&6; }
11375 else
11376 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11377 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11378 fi
11379
11380
11381 for ac_prog in gawk mawk nawk awk
11382 do
11383 # Extract the first word of "$ac_prog", so it can be a program name with args.
11384 set dummy $ac_prog; ac_word=$2
11385 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11386 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11387 if testscip-shell system . . test. ${ac_cv_prog_AWK+y}
11388 then :
11389 printfscip-shell system . . printf. %s "(cached) " >&6
11390 else case e in #(
11391 e) if testscip-shell system . . test. -n "$AWK"; then
11392 ac_cv_prog_AWK="$AWK" # Let the user override the test.
11393 else
11394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11395 for as_dir in $PATH
11396 do
11397 IFS=$as_save_IFS
11398 case $as_dir in #(((
11399 '') as_dir=./ ;;
11400 */) ;;
11401 *) as_dir=$as_dir/ ;;
11402 esac
11403 for ac_exec_ext in '' $ac_executable_extensions; do
11404 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11405 ac_cv_prog_AWK="$ac_prog"
11406 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11407 break 2
11408 fi
11409 done
11410 done
11411 IFS=$as_save_IFS
11412
11413 fi ;;
11414 esac
11415 fi
11416 AWK=$ac_cv_prog_AWK
11417 if testscip-shell system . . test. -n "$AWK"; then
11418 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
11419 printfscip-shell system . . printf. "%s\n" "$AWK" >&6; }
11420 else
11421 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11422 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11423 fi
11424
11425
11426 testscip-shell system . . test. -n "$AWK" && break
11427 done
11428
11429 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
11430 printfscip-shell system . . printf. %s "checking for grep that handles long lines and -e... " >&6; }
11431 if testscip-shell system . . test. ${ac_cv_path_GREP+y}
11432 then :
11433 printfscip-shell system . . printf. %s "(cached) " >&6
11434 else case e in #(
11435 e) if testscip-shell system . . test. -z "$GREP"; then
11436 ac_path_GREP_found=false
11437 # Loop through the user's path and test for each of PROGNAME-LIST
11438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11440 do
11441 IFS=$as_save_IFS
11442 case $as_dir in #(((
11443 '') as_dir=./ ;;
11444 */) ;;
11445 *) as_dir=$as_dir/ ;;
11446 esac
11447 for ac_prog in grep ggrep
11448 do
11449 for ac_exec_ext in '' $ac_executable_extensions; do
11450 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
11451 as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$ac_path_GREP" || continue
11452 # Check for GNU ac_path_GREP and select it if it is found.
11453 # Check for GNU $ac_path_GREP
11454 case `"$ac_path_GREP" --version 2>&1` in #(
11455 *GNU*)
11456 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
11457 #(
11458 *)
11459 ac_count=0
11460 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
11461 while :
11462 do
11463 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
11464 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
11465 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
11466 printfscip-shell system . . printf. "%s\n" 'GREP' >> "conftest.nl"
11467 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
11468 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
11469 as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
11470 if testscip-shell system . . test. $ac_count -gt ${ac_path_GREP_max-0}; then
11471 # Best one so far, save it but keep looking for a better one
11472 ac_cv_path_GREP="$ac_path_GREP"
11473 ac_path_GREP_max=$ac_count
11474 fi
11475 # 10*(2^10) chars as input seems more than enough
11476 testscip-shell system . . test. $ac_count -gt 10 && break
11477 done
11478 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
11479 esac
11480
11481 $ac_path_GREP_found && break 3
11482 done
11483 done
11484 done
11485 IFS=$as_save_IFS
11486 if testscip-shell system . . test. -z "$ac_cv_path_GREP"; then
11487 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
11488 fi
11489 else
11490 ac_cv_path_GREP=$GREP
11491 fi
11492 ;;
11493 esac
11494 fi
11495 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
11496 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_GREP" >&6; }
11497 GREP="$ac_cv_path_GREP"
11498
11499
11500 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
11501 printfscip-shell system . . printf. %s "checking for egrep... " >&6; }
11502 if testscip-shell system . . test. ${ac_cv_path_EGREP+y}
11503 then :
11504 printfscip-shell system . . printf. %s "(cached) " >&6
11505 else case e in #(
11506 e) if echoscip-shell system . . echo. a | $GREP -E '(a|b)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
11507 then ac_cv_path_EGREP="$GREP -E"
11508 else
11509 if testscip-shell system . . test. -z "$EGREP"; then
11510 ac_path_EGREP_found=false
11511 # Loop through the user's path and test for each of PROGNAME-LIST
11512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11513 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11514 do
11515 IFS=$as_save_IFS
11516 case $as_dir in #(((
11517 '') as_dir=./ ;;
11518 */) ;;
11519 *) as_dir=$as_dir/ ;;
11520 esac
11521 for ac_prog in egrep
11522 do
11523 for ac_exec_ext in '' $ac_executable_extensions; do
11524 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
11525 as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$ac_path_EGREP" || continue
11526 # Check for GNU ac_path_EGREP and select it if it is found.
11527 # Check for GNU $ac_path_EGREP
11528 case `"$ac_path_EGREP" --version 2>&1` in #(
11529 *GNU*)
11530 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
11531 #(
11532 *)
11533 ac_count=0
11534 printfscip-shell system . . printf. %s 0123456789 >"conftest.in"
11535 while :
11536 do
11537 catscip-shell system . . cat. "conftest.in" "conftest.in" >"conftest.tmp"
11538 mvscip-shell system . . mv. "conftest.tmp" "conftest.in"
11539 cpscip-shell system . . cp. "conftest.in" "conftest.nl"
11540 printfscip-shell system . . printf. "%s\n" 'EGREP' >> "conftest.nl"
11541 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/nullscip-shell filesystem . . `/dev/null`. || break
11542 diffscip-shell system . . diff. "conftest.out" "conftest.nl" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 || break
11543 as_fn_arithscip-shell shell e2fsprogs 1.47.4-1 as_fn_arith(). $ac_count + 1 && ac_count=$as_val
11544 if testscip-shell system . . test. $ac_count -gt ${ac_path_EGREP_max-0}; then
11545 # Best one so far, save it but keep looking for a better one
11546 ac_cv_path_EGREP="$ac_path_EGREP"
11547 ac_path_EGREP_max=$ac_count
11548 fi
11549 # 10*(2^10) chars as input seems more than enough
11550 testscip-shell system . . test. $ac_count -gt 10 && break
11551 done
11552 rmscip-shell system . . rm. -f conftest.in conftest.tmp conftest.nl conftest.out;;
11553 esac
11554
11555 $ac_path_EGREP_found && break 3
11556 done
11557 done
11558 done
11559 IFS=$as_save_IFS
11560 if testscip-shell system . . test. -z "$ac_cv_path_EGREP"; then
11561 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
11562 fi
11563 else
11564 ac_cv_path_EGREP=$EGREP
11565 fi
11566
11567 fi ;;
11568 esac
11569 fi
11570 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
11571 printfscip-shell system . . printf. "%s\n" "$ac_cv_path_EGREP" >&6; }
11572 EGREP="$ac_cv_path_EGREP"
11573
11574 EGREP_TRADITIONAL=$EGREP
11575 ac_cv_path_EGREP_TRADITIONAL=$EGREP
11576
11577 # Extract the first word of "sed", so it can be a program name with args.
11578 set dummy sed; ac_word=$2
11579 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11580 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11581 if testscip-shell system . . test. ${ac_cv_path_SED+y}
11582 then :
11583 printfscip-shell system . . printf. %s "(cached) " >&6
11584 else case e in #(
11585 e) case $SED in
11586 [\\/]* | ?:[\\/]*)
11587 ac_cv_path_SED="$SED" # Let the user override the test with a path.
11588 ;;
11589 *)
11590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11591 for as_dir in $PATH
11592 do
11593 IFS=$as_save_IFS
11594 case $as_dir in #(((
11595 '') as_dir=./ ;;
11596 */) ;;
11597 *) as_dir=$as_dir/ ;;
11598 esac
11599 for ac_exec_ext in '' $ac_executable_extensions; do
11600 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11601 ac_cv_path_SED="$as_dir$ac_word$ac_exec_ext"
11602 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11603 break 2
11604 fi
11605 done
11606 done
11607 IFS=$as_save_IFS
11608
11609 testscip-shell system . . test. -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
11610 ;;
11611 esac ;;
11612 esac
11613 fi
11614 SED=$ac_cv_path_SED
11615 if testscip-shell system . . test. -n "$SED"; then
11616 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
11617 printfscip-shell system . . printf. "%s\n" "$SED" >&6; }
11618 else
11619 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11620 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11621 fi
11622
11623
11624 # Extract the first word of "perl", so it can be a program name with args.
11625 set dummy perl; ac_word=$2
11626 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11627 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11628 if testscip-shell system . . test. ${ac_cv_path_PERL+y}
11629 then :
11630 printfscip-shell system . . printf. %s "(cached) " >&6
11631 else case e in #(
11632 e) case $PERL in
11633 [\\/]* | ?:[\\/]*)
11634 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
11635 ;;
11636 *)
11637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11638 for as_dir in $PATH
11639 do
11640 IFS=$as_save_IFS
11641 case $as_dir in #(((
11642 '') as_dir=./ ;;
11643 */) ;;
11644 *) as_dir=$as_dir/ ;;
11645 esac
11646 for ac_exec_ext in '' $ac_executable_extensions; do
11647 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11648 ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
11649 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11650 break 2
11651 fi
11652 done
11653 done
11654 IFS=$as_save_IFS
11655
11656 testscip-shell system . . test. -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
11657 ;;
11658 esac ;;
11659 esac
11660 fi
11661 PERL=$ac_cv_path_PERL
11662 if testscip-shell system . . test. -n "$PERL"; then
11663 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
11664 printfscip-shell system . . printf. "%s\n" "$PERL" >&6; }
11665 else
11666 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11667 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11668 fi
11669
11670
11671 # Extract the first word of "ldconfig", so it can be a program name with args.
11672 set dummy ldconfig; ac_word=$2
11673 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11674 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11675 if testscip-shell system . . test. ${ac_cv_path_LDCONFIG+y}
11676 then :
11677 printfscip-shell system . . printf. %s "(cached) " >&6
11678 else case e in #(
11679 e) case $LDCONFIG in
11680 [\\/]* | ?:[\\/]*)
11681 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
11682 ;;
11683 *)
11684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11686 do
11687 IFS=$as_save_IFS
11688 case $as_dir in #(((
11689 '') as_dir=./ ;;
11690 */) ;;
11691 *) as_dir=$as_dir/ ;;
11692 esac
11693 for ac_exec_ext in '' $ac_executable_extensions; do
11694 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11695 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
11696 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11697 break 2
11698 fi
11699 done
11700 done
11701 IFS=$as_save_IFS
11702
11703 testscip-shell system . . test. -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG=":"
11704 ;;
11705 esac ;;
11706 esac
11707 fi
11708 LDCONFIG=$ac_cv_path_LDCONFIG
11709 if testscip-shell system . . test. -n "$LDCONFIG"; then
11710 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
11711 printfscip-shell system . . printf. "%s\n" "$LDCONFIG" >&6; }
11712 else
11713 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11714 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11715 fi
11716
11717
11718 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
11719 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11720 set dummy ${ac_tool_prefix}ar; ac_word=$2
11721 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11722 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11723 if testscip-shell system . . test. ${ac_cv_prog_AR+y}
11724 then :
11725 printfscip-shell system . . printf. %s "(cached) " >&6
11726 else case e in #(
11727 e) if testscip-shell system . . test. -n "$AR"; then
11728 ac_cv_prog_AR="$AR" # Let the user override the test.
11729 else
11730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11731 for as_dir in $PATH
11732 do
11733 IFS=$as_save_IFS
11734 case $as_dir in #(((
11735 '') as_dir=./ ;;
11736 */) ;;
11737 *) as_dir=$as_dir/ ;;
11738 esac
11739 for ac_exec_ext in '' $ac_executable_extensions; do
11740 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11741 ac_cv_prog_AR="${ac_tool_prefix}ar"
11742 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11743 break 2
11744 fi
11745 done
11746 done
11747 IFS=$as_save_IFS
11748
11749 fi ;;
11750 esac
11751 fi
11752 AR=$ac_cv_prog_AR
11753 if testscip-shell system . . test. -n "$AR"; then
11754 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
11755 printfscip-shell system . . printf. "%s\n" "$AR" >&6; }
11756 else
11757 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11758 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11759 fi
11760
11761
11762 fi
11763 if testscip-shell system . . test. -z "$ac_cv_prog_AR"; then
11764 ac_ct_AR=$AR
11765 # Extract the first word of "ar", so it can be a program name with args.
11766 set dummy ar; ac_word=$2
11767 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11768 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11769 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_AR+y}
11770 then :
11771 printfscip-shell system . . printf. %s "(cached) " >&6
11772 else case e in #(
11773 e) if testscip-shell system . . test. -n "$ac_ct_AR"; then
11774 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
11775 else
11776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11777 for as_dir in $PATH
11778 do
11779 IFS=$as_save_IFS
11780 case $as_dir in #(((
11781 '') as_dir=./ ;;
11782 */) ;;
11783 *) as_dir=$as_dir/ ;;
11784 esac
11785 for ac_exec_ext in '' $ac_executable_extensions; do
11786 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11787 ac_cv_prog_ac_ct_AR="ar"
11788 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11789 break 2
11790 fi
11791 done
11792 done
11793 IFS=$as_save_IFS
11794
11795 fi ;;
11796 esac
11797 fi
11798 ac_ct_AR=$ac_cv_prog_ac_ct_AR
11799 if testscip-shell system . . test. -n "$ac_ct_AR"; then
11800 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
11801 printfscip-shell system . . printf. "%s\n" "$ac_ct_AR" >&6; }
11802 else
11803 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11804 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11805 fi
11806
11807 if testscip-shell system . . test. "x$ac_ct_AR" = x; then
11808 AR="ar"
11809 else
11810 case $cross_compiling:$ac_tool_warned in
11811 yes:)
11812 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11813 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11814 ac_tool_warned=yes ;;
11815 esac
11816 AR=$ac_ct_AR
11817 fi
11818 else
11819 AR="$ac_cv_prog_AR"
11820 fi
11821
11822 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
11823 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11824 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11825 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11826 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11827 if testscip-shell system . . test. ${ac_cv_prog_RANLIB+y}
11828 then :
11829 printfscip-shell system . . printf. %s "(cached) " >&6
11830 else case e in #(
11831 e) if testscip-shell system . . test. -n "$RANLIB"; then
11832 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11833 else
11834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11835 for as_dir in $PATH
11836 do
11837 IFS=$as_save_IFS
11838 case $as_dir in #(((
11839 '') as_dir=./ ;;
11840 */) ;;
11841 *) as_dir=$as_dir/ ;;
11842 esac
11843 for ac_exec_ext in '' $ac_executable_extensions; do
11844 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11845 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11846 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11847 break 2
11848 fi
11849 done
11850 done
11851 IFS=$as_save_IFS
11852
11853 fi ;;
11854 esac
11855 fi
11856 RANLIB=$ac_cv_prog_RANLIB
11857 if testscip-shell system . . test. -n "$RANLIB"; then
11858 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
11859 printfscip-shell system . . printf. "%s\n" "$RANLIB" >&6; }
11860 else
11861 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11862 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11863 fi
11864
11865
11866 fi
11867 if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then
11868 ac_ct_RANLIB=$RANLIB
11869 # Extract the first word of "ranlib", so it can be a program name with args.
11870 set dummy ranlib; ac_word=$2
11871 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11872 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11873 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_RANLIB+y}
11874 then :
11875 printfscip-shell system . . printf. %s "(cached) " >&6
11876 else case e in #(
11877 e) if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
11878 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11879 else
11880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11881 for as_dir in $PATH
11882 do
11883 IFS=$as_save_IFS
11884 case $as_dir in #(((
11885 '') as_dir=./ ;;
11886 */) ;;
11887 *) as_dir=$as_dir/ ;;
11888 esac
11889 for ac_exec_ext in '' $ac_executable_extensions; do
11890 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11891 ac_cv_prog_ac_ct_RANLIB="ranlib"
11892 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11893 break 2
11894 fi
11895 done
11896 done
11897 IFS=$as_save_IFS
11898
11899 fi ;;
11900 esac
11901 fi
11902 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11903 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
11904 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
11905 printfscip-shell system . . printf. "%s\n" "$ac_ct_RANLIB" >&6; }
11906 else
11907 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11908 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11909 fi
11910
11911 if testscip-shell system . . test. "x$ac_ct_RANLIB" = x; then
11912 RANLIB=":"
11913 else
11914 case $cross_compiling:$ac_tool_warned in
11915 yes:)
11916 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11917 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11918 ac_tool_warned=yes ;;
11919 esac
11920 RANLIB=$ac_ct_RANLIB
11921 fi
11922 else
11923 RANLIB="$ac_cv_prog_RANLIB"
11924 fi
11925
11926 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
11927 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11928 set dummy ${ac_tool_prefix}strip; ac_word=$2
11929 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11930 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11931 if testscip-shell system . . test. ${ac_cv_prog_STRIP+y}
11932 then :
11933 printfscip-shell system . . printf. %s "(cached) " >&6
11934 else case e in #(
11935 e) if testscip-shell system . . test. -n "$STRIP"; then
11936 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11937 else
11938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11939 for as_dir in $PATH
11940 do
11941 IFS=$as_save_IFS
11942 case $as_dir in #(((
11943 '') as_dir=./ ;;
11944 */) ;;
11945 *) as_dir=$as_dir/ ;;
11946 esac
11947 for ac_exec_ext in '' $ac_executable_extensions; do
11948 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11949 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11950 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11951 break 2
11952 fi
11953 done
11954 done
11955 IFS=$as_save_IFS
11956
11957 fi ;;
11958 esac
11959 fi
11960 STRIP=$ac_cv_prog_STRIP
11961 if testscip-shell system . . test. -n "$STRIP"; then
11962 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
11963 printfscip-shell system . . printf. "%s\n" "$STRIP" >&6; }
11964 else
11965 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11966 printfscip-shell system . . printf. "%s\n" "no" >&6; }
11967 fi
11968
11969
11970 fi
11971 if testscip-shell system . . test. -z "$ac_cv_prog_STRIP"; then
11972 ac_ct_STRIP=$STRIP
11973 # Extract the first word of "strip", so it can be a program name with args.
11974 set dummy strip; ac_word=$2
11975 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11976 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
11977 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_STRIP+y}
11978 then :
11979 printfscip-shell system . . printf. %s "(cached) " >&6
11980 else case e in #(
11981 e) if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
11982 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11983 else
11984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11985 for as_dir in $PATH
11986 do
11987 IFS=$as_save_IFS
11988 case $as_dir in #(((
11989 '') as_dir=./ ;;
11990 */) ;;
11991 *) as_dir=$as_dir/ ;;
11992 esac
11993 for ac_exec_ext in '' $ac_executable_extensions; do
11994 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
11995 ac_cv_prog_ac_ct_STRIP="strip"
11996 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11997 break 2
11998 fi
11999 done
12000 done
12001 IFS=$as_save_IFS
12002
12003 fi ;;
12004 esac
12005 fi
12006 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12007 if testscip-shell system . . test. -n "$ac_ct_STRIP"; then
12008 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12009 printfscip-shell system . . printf. "%s\n" "$ac_ct_STRIP" >&6; }
12010 else
12011 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12012 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12013 fi
12014
12015 if testscip-shell system . . test. "x$ac_ct_STRIP" = x; then
12016 STRIP=":"
12017 else
12018 case $cross_compiling:$ac_tool_warned in
12019 yes:)
12020 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12021 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12022 ac_tool_warned=yes ;;
12023 esac
12024 STRIP=$ac_ct_STRIP
12025 fi
12026 else
12027 STRIP="$ac_cv_prog_STRIP"
12028 fi
12029
12030 # Extract the first word of "makeinfo", so it can be a program name with args.
12031 set dummy makeinfo; ac_word=$2
12032 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12033 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12034 if testscip-shell system . . test. ${ac_cv_prog_MAKEINFO+y}
12035 then :
12036 printfscip-shell system . . printf. %s "(cached) " >&6
12037 else case e in #(
12038 e) if testscip-shell system . . test. -n "$MAKEINFO"; then
12039 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
12040 else
12041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12042 for as_dir in $PATH
12043 do
12044 IFS=$as_save_IFS
12045 case $as_dir in #(((
12046 '') as_dir=./ ;;
12047 */) ;;
12048 *) as_dir=$as_dir/ ;;
12049 esac
12050 for ac_exec_ext in '' $ac_executable_extensions; do
12051 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12052 ac_cv_prog_MAKEINFO="makeinfo"
12053 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12054 break 2
12055 fi
12056 done
12057 done
12058 IFS=$as_save_IFS
12059
12060 fi ;;
12061 esac
12062 fi
12063 MAKEINFO=$ac_cv_prog_MAKEINFO
12064 if testscip-shell system . . test. -n "$MAKEINFO"; then
12065 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
12066 printfscip-shell system . . printf. "%s\n" "$MAKEINFO" >&6; }
12067 else
12068 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12069 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12070 fi
12071
12072
12073 if testscip-shell system . . test. "_$MAKEINFO" = "_"; then
12074 MAKEINFO="echo Makeinfo is missing. Info documentation will not be built."
12075 else
12076 case "$MAKEINFO" in
12077 */missing.*)
12078 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
12079 *** Makeinfo is missing. Info documentation will not be built." >&5
12080 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING:
12081 *** Makeinfo is missing. Info documentation will not be built." >&2;}
12082 ;;
12083 *)
12084 ;;
12085 esac
12086 fi
12087
12088
12089 # See if we need a separate native compiler.
12090 if testscip-shell system . . test. $cross_compiling = no; then
12091 BUILD_CC="$CC"
12092
12093 else
12094 for ac_prog in gcc cc
12095 do
12096 # Extract the first word of "$ac_prog", so it can be a program name with args.
12097 set dummy $ac_prog; ac_word=$2
12098 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12099 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
12100 if testscip-shell system . . test. ${ac_cv_prog_BUILD_CC+y}
12101 then :
12102 printfscip-shell system . . printf. %s "(cached) " >&6
12103 else case e in #(
12104 e) if testscip-shell system . . test. -n "$BUILD_CC"; then
12105 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
12106 else
12107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12108 for as_dir in $PATH
12109 do
12110 IFS=$as_save_IFS
12111 case $as_dir in #(((
12112 '') as_dir=./ ;;
12113 */) ;;
12114 *) as_dir=$as_dir/ ;;
12115 esac
12116 for ac_exec_ext in '' $ac_executable_extensions; do
12117 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
12118 ac_cv_prog_BUILD_CC="$ac_prog"
12119 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12120 break 2
12121 fi
12122 done
12123 done
12124 IFS=$as_save_IFS
12125
12126 fi ;;
12127 esac
12128 fi
12129 BUILD_CC=$ac_cv_prog_BUILD_CC
12130 if testscip-shell system . . test. -n "$BUILD_CC"; then
12131 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
12132 printfscip-shell system . . printf. "%s\n" "$BUILD_CC" >&6; }
12133 else
12134 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12135 printfscip-shell system . . printf. "%s\n" "no" >&6; }
12136 fi
12137
12138
12139 testscip-shell system . . test. -n "$BUILD_CC" && break
12140 done
12141
12142 fi
12143 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
12144 if testscip-shell system . . test. "x$ac_cv_header_dirent_h" = xyes
12145 then :
12146 printfscip-shell system . . printf. "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
12147
12148 fi
12149 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
12150 if testscip-shell system . . test. "x$ac_cv_header_errno_h" = xyes
12151 then :
12152 printfscip-shell system . . printf. "%s\n" "#define HAVE_ERRNO_H 1" >>confdefs.h
12153
12154 fi
12155 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
12156 if testscip-shell system . . test. "x$ac_cv_header_execinfo_h" = xyes
12157 then :
12158 printfscip-shell system . . printf. "%s\n" "#define HAVE_EXECINFO_H 1" >>confdefs.h
12159
12160 fi
12161 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
12162 if testscip-shell system . . test. "x$ac_cv_header_getopt_h" = xyes
12163 then :
12164 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h
12165
12166 fi
12167 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
12168 if testscip-shell system . . test. "x$ac_cv_header_malloc_h" = xyes
12169 then :
12170 printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h
12171
12172 fi
12173 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
12174 if testscip-shell system . . test. "x$ac_cv_header_mntent_h" = xyes
12175 then :
12176 printfscip-shell system . . printf. "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
12177
12178 fi
12179 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default"
12180 if testscip-shell system . . test. "x$ac_cv_header_paths_h" = xyes
12181 then :
12182 printfscip-shell system . . printf. "%s\n" "#define HAVE_PATHS_H 1" >>confdefs.h
12183
12184 fi
12185 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
12186 if testscip-shell system . . test. "x$ac_cv_header_pthread_h" = xyes
12187 then :
12188 printfscip-shell system . . printf. "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
12189
12190 fi
12191 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
12192 if testscip-shell system . . test. "x$ac_cv_header_semaphore_h" = xyes
12193 then :
12194 printfscip-shell system . . printf. "%s\n" "#define HAVE_SEMAPHORE_H 1" >>confdefs.h
12195
12196 fi
12197 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default"
12198 if testscip-shell system . . test. "x$ac_cv_header_setjmp_h" = xyes
12199 then :
12200 printfscip-shell system . . printf. "%s\n" "#define HAVE_SETJMP_H 1" >>confdefs.h
12201
12202 fi
12203 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
12204 if testscip-shell system . . test. "x$ac_cv_header_signal_h" = xyes
12205 then :
12206 printfscip-shell system . . printf. "%s\n" "#define HAVE_SIGNAL_H 1" >>confdefs.h
12207
12208 fi
12209 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
12210 if testscip-shell system . . test. "x$ac_cv_header_stdarg_h" = xyes
12211 then :
12212 printfscip-shell system . . printf. "%s\n" "#define HAVE_STDARG_H 1" >>confdefs.h
12213
12214 fi
12215 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
12216 if testscip-shell system . . test. "x$ac_cv_header_stdint_h" = xyes
12217 then :
12218 printfscip-shell system . . printf. "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
12219
12220 fi
12221 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12222 if testscip-shell system . . test. "x$ac_cv_header_stdlib_h" = xyes
12223 then :
12224 printfscip-shell system . . printf. "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
12225
12226 fi
12227 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
12228 if testscip-shell system . . test. "x$ac_cv_header_termios_h" = xyes
12229 then :
12230 printfscip-shell system . . printf. "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h
12231
12232 fi
12233 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
12234 if testscip-shell system . . test. "x$ac_cv_header_termio_h" = xyes
12235 then :
12236 printfscip-shell system . . printf. "%s\n" "#define HAVE_TERMIO_H 1" >>confdefs.h
12237
12238 fi
12239 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12240 if testscip-shell system . . test. "x$ac_cv_header_unistd_h" = xyes
12241 then :
12242 printfscip-shell system . . printf. "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
12243
12244 fi
12245 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
12246 if testscip-shell system . . test. "x$ac_cv_header_utime_h" = xyes
12247 then :
12248 printfscip-shell system . . printf. "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
12249
12250 fi
12251 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
12252 if testscip-shell system . . test. "x$ac_cv_header_attr_xattr_h" = xyes
12253 then :
12254 printfscip-shell system . . printf. "%s\n" "#define HAVE_ATTR_XATTR_H 1" >>confdefs.h
12255
12256 fi
12257 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "linux/falloc.h" "ac_cv_header_linux_falloc_h" "$ac_includes_default"
12258 if testscip-shell system . . test. "x$ac_cv_header_linux_falloc_h" = xyes
12259 then :
12260 printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_FALLOC_H 1" >>confdefs.h
12261
12262 fi
12263 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "linux/fd.h" "ac_cv_header_linux_fd_h" "$ac_includes_default"
12264 if testscip-shell system . . test. "x$ac_cv_header_linux_fd_h" = xyes
12265 then :
12266 printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_FD_H 1" >>confdefs.h
12267
12268 fi
12269 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "linux/fsmap.h" "ac_cv_header_linux_fsmap_h" "$ac_includes_default"
12270 if testscip-shell system . . test. "x$ac_cv_header_linux_fsmap_h" = xyes
12271 then :
12272 printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_FSMAP_H 1" >>confdefs.h
12273
12274 fi
12275 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "linux/fsverity.h" "ac_cv_header_linux_fsverity_h" "$ac_includes_default"
12276 if testscip-shell system . . test. "x$ac_cv_header_linux_fsverity_h" = xyes
12277 then :
12278 printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_FSVERITY_H 1" >>confdefs.h
12279
12280 fi
12281 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
12282 if testscip-shell system . . test. "x$ac_cv_header_linux_major_h" = xyes
12283 then :
12284 printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
12285
12286 fi
12287 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "linux/loop.h" "ac_cv_header_linux_loop_h" "$ac_includes_default"
12288 if testscip-shell system . . test. "x$ac_cv_header_linux_loop_h" = xyes
12289 then :
12290 printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_LOOP_H 1" >>confdefs.h
12291
12292 fi
12293 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
12294 if testscip-shell system . . test. "x$ac_cv_header_linux_types_h" = xyes
12295 then :
12296 printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
12297
12298 fi
12299 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "$ac_includes_default"
12300 if testscip-shell system . . test. "x$ac_cv_header_net_if_dl_h" = xyes
12301 then :
12302 printfscip-shell system . . printf. "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
12303
12304 fi
12305 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
12306 if testscip-shell system . . test. "x$ac_cv_header_netinet_in_h" = xyes
12307 then :
12308 printfscip-shell system . . printf. "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
12309
12310 fi
12311 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/acl.h" "ac_cv_header_sys_acl_h" "$ac_includes_default"
12312 if testscip-shell system . . test. "x$ac_cv_header_sys_acl_h" = xyes
12313 then :
12314 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_ACL_H 1" >>confdefs.h
12315
12316 fi
12317 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/disklabel.h" "ac_cv_header_sys_disklabel_h" "$ac_includes_default"
12318 if testscip-shell system . . test. "x$ac_cv_header_sys_disklabel_h" = xyes
12319 then :
12320 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_DISKLABEL_H 1" >>confdefs.h
12321
12322 fi
12323 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/disk.h" "ac_cv_header_sys_disk_h" "$ac_includes_default"
12324 if testscip-shell system . . test. "x$ac_cv_header_sys_disk_h" = xyes
12325 then :
12326 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_DISK_H 1" >>confdefs.h
12327
12328 fi
12329 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
12330 if testscip-shell system . . test. "x$ac_cv_header_sys_file_h" = xyes
12331 then :
12332 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_FILE_H 1" >>confdefs.h
12333
12334 fi
12335 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
12336 if testscip-shell system . . test. "x$ac_cv_header_sys_ioctl_h" = xyes
12337 then :
12338 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
12339
12340 fi
12341 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/key.h" "ac_cv_header_sys_key_h" "$ac_includes_default"
12342 if testscip-shell system . . test. "x$ac_cv_header_sys_key_h" = xyes
12343 then :
12344 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_KEY_H 1" >>confdefs.h
12345
12346 fi
12347 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
12348 if testscip-shell system . . test. "x$ac_cv_header_sys_mkdev_h" = xyes
12349 then :
12350 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_MKDEV_H 1" >>confdefs.h
12351
12352 fi
12353 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
12354 if testscip-shell system . . test. "x$ac_cv_header_sys_mman_h" = xyes
12355 then :
12356 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
12357
12358 fi
12359 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default"
12360 if testscip-shell system . . test. "x$ac_cv_header_sys_mount_h" = xyes
12361 then :
12362 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
12363
12364 fi
12365 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
12366 if testscip-shell system . . test. "x$ac_cv_header_sys_prctl_h" = xyes
12367 then :
12368 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
12369
12370 fi
12371 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
12372 if testscip-shell system . . test. "x$ac_cv_header_sys_random_h" = xyes
12373 then :
12374 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
12375
12376 fi
12377 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
12378 if testscip-shell system . . test. "x$ac_cv_header_sys_resource_h" = xyes
12379 then :
12380 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
12381
12382 fi
12383 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
12384 if testscip-shell system . . test. "x$ac_cv_header_sys_select_h" = xyes
12385 then :
12386 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
12387
12388 fi
12389 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
12390 if testscip-shell system . . test. "x$ac_cv_header_sys_socket_h" = xyes
12391 then :
12392 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
12393
12394 fi
12395 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
12396 if testscip-shell system . . test. "x$ac_cv_header_sys_sockio_h" = xyes
12397 then :
12398 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
12399
12400 fi
12401 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
12402 if testscip-shell system . . test. "x$ac_cv_header_sys_stat_h" = xyes
12403 then :
12404 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h
12405
12406 fi
12407 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
12408 if testscip-shell system . . test. "x$ac_cv_header_sys_syscall_h" = xyes
12409 then :
12410 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
12411
12412 fi
12413 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
12414 if testscip-shell system . . test. "x$ac_cv_header_sys_sysmacros_h" = xyes
12415 then :
12416 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SYSMACROS_H 1" >>confdefs.h
12417
12418 fi
12419 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
12420 if testscip-shell system . . test. "x$ac_cv_header_sys_time_h" = xyes
12421 then :
12422 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
12423
12424 fi
12425 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
12426 if testscip-shell system . . test. "x$ac_cv_header_sys_types_h" = xyes
12427 then :
12428 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h
12429
12430 fi
12431 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
12432 if testscip-shell system . . test. "x$ac_cv_header_sys_un_h" = xyes
12433 then :
12434 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
12435
12436 fi
12437 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
12438 if testscip-shell system . . test. "x$ac_cv_header_sys_wait_h" = xyes
12439 then :
12440 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
12441
12442 fi
12443 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
12444 if testscip-shell system . . test. "x$ac_cv_header_sys_xattr_h" = xyes
12445 then :
12446 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
12447
12448 fi
12449
12450 case "$host_os" in
12451 mingw*)
12452 # The above checks only detect system headers, not the headers in
12453 # ./include/mingw/, so explicitly define them to be available.
12454 printfscip-shell system . . printf. "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
12455
12456 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h
12457
12458 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_SYSMACROS_H 1" >>confdefs.h
12459
12460 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h
12461
12462 printfscip-shell system . . printf. "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
12463
12464 ;;
12465 esac
12466 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a dd(1) program that supports iflag=fullblock" >&5
12467 printfscip-shell system . . printf. %s "checking for a dd(1) program that supports iflag=fullblock... " >&6; }
12468 DD=
12469 for i in dd gdd ; do
12470 if "$i" if=/dev/nullscip-shell filesystem . . `/dev/null`. of=/dev/nullscip-shell filesystem . . `/dev/null`. count=1 bs=10k 2>/dev/nullscip-shell filesystem . . `/dev/null`. iflag=fullblock oflag=append ; then
12471 DD=$i
12472 break
12473 fi
12474 done
12475 if testscip-shell system . . test. -n "$DD" ; then
12476 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DD" >&5
12477 printfscip-shell system . . printf. "%s\n" "$DD" >&6; }
12478 else
12479 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found, using dd" >&5
12480 printfscip-shell system . . printf. "%s\n" "not found, using dd" >&6; }
12481 DD=dd
12482 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No GNU-compatible dd(1) program found, expect some self-test failures." >&5
12483 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: No GNU-compatible dd(1) program found, expect some self-test failures." >&2;}
12484 fi
12485
12486
12487 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
12488 #if HAVE_SYS_TYPES_H
12489 #include <sys/types.h>
12490 #endif
12491 #if HAVE_SYS_SOCKET
12492 #include <sys/socket.h>
12493 #endif
12494
12495 "
12496 if testscip-shell system . . test. "x$ac_cv_header_net_if_h" = xyes
12497 then :
12498 printfscip-shell system . . printf. "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
12499
12500 fi
12501
12502 ac_func=
12503 for ac_item in $ac_func_c_list
12504 do
12505 if testscip-shell system . . test. $ac_func; then
12506 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" $ac_func ac_cv_func_$ac_func
12507 if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
12508 echoscip-shell system . . echo. "#define $ac_item 1" >> confdefs.h
12509 fi
12510 ac_func=
12511 else
12512 ac_func=$ac_item
12513 fi
12514 done
12515
12516 if testscip-shell system . . test. "x$ac_cv_func_vprintf" = xno
12517 then :
12518 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "_doprnt" "ac_cv_func__doprnt"
12519 if testscip-shell system . . test. "x$ac_cv_func__doprnt" = xyes
12520 then :
12521
12522 printfscip-shell system . . printf. "%s\n" "#define HAVE_DOPRNT 1" >>confdefs.h
12523
12524 fi
12525
12526 fi
12527 ac_fn_c_check_memberscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_member(). "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#include <dirent.h>
12528 "
12529 if testscip-shell system . . test. "x$ac_cv_member_struct_dirent_d_reclen" = xyes
12530 then :
12531
12532 printfscip-shell system . . printf. "%s\n" "#define HAVE_RECLEN_DIRENT 1" >>confdefs.h
12533
12534 fi
12535
12536 ac_fn_c_check_memberscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_member(). "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
12537 if testscip-shell system . . test. "x$ac_cv_member_struct_stat_st_atim" = xyes
12538 then :
12539
12540 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
12541
12542
12543 fi
12544
12545 ac_fn_c_check_typescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_type(). "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
12546 "
12547 if testscip-shell system . . test. "x$ac_cv_type_ssize_t" = xyes
12548 then :
12549
12550 printfscip-shell system . . printf. "%s\n" "#define HAVE_TYPE_SSIZE_T 1" >>confdefs.h
12551
12552 fi
12553
12554 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
12555 printfscip-shell system . . printf. %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
12556 if testscip-shell system . . test. ${ac_cv_c_undeclared_builtin_options+y}
12557 then :
12558 printfscip-shell system . . printf. %s "(cached) " >&6
12559 else case e in #(
12560 e) ac_save_CFLAGS=$CFLAGS
12561 ac_cv_c_undeclared_builtin_options='cannot detect'
12562 for ac_arg in '' -fno-builtin; do
12563 CFLAGS="$ac_save_CFLAGS $ac_arg"
12564 # This test program should *not* compile successfully.
12565 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12567
12568 int
12569 main (void)
12570 {
12571 (void) strchr;
12572 ;
12573 return 0;
12574 }
12575 _ACEOF
12576 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
12577 then :
12578
12579 else case e in #(
12580 e) # This test program should compile successfully.
12581 # No library function is consistently available on
12582 # freestanding implementations, so test against a dummy
12583 # declaration. Include always-available headers on the
12584 # off chance that they somehow elicit warnings.
12585 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12587 #include <float.h>
12588 #include <limits.h>
12589 #include <stdarg.h>
12590 #include <stddef.h>
12591 extern void ac_decl (int, char *);
12592
12593 int
12594 main (void)
12595 {
12596 (void) ac_decl (0, (char *) 0);
12597 (void) ac_decl;
12598
12599 ;
12600 return 0;
12601 }
12602 _ACEOF
12603 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
12604 then :
12605 if testscip-shell system . . test. x"$ac_arg" = x
12606 then :
12607 ac_cv_c_undeclared_builtin_options='none needed'
12608 else case e in #(
12609 e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
12610 esac
12611 fi
12612 break
12613 fi
12614 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
12615 esac
12616 fi
12617 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12618 done
12619 CFLAGS=$ac_save_CFLAGS
12620 ;;
12621 esac
12622 fi
12623 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
12624 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
12625 case $ac_cv_c_undeclared_builtin_options in #(
12626 'cannot detect') :
12627 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
12628 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
12629 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "cannot make $CC report undeclared builtins
12630 See 'config.log' for more details" "$LINENO" 5; } ;; #(
12631 'none needed') :
12632 ac_c_undeclared_builtin_options='' ;; #(
12633 *) :
12634 ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
12635 esac
12636
12637 ac_fn_check_declscip-shell shell e2fsprogs 1.47.4-1 ac_fn_check_decl(). "$LINENO" "llseek" "ac_cv_have_decl_llseek" "#include <unistd.h>
12638 " "$ac_c_undeclared_builtin_options" "CFLAGS"
12639 if testscip-shell system . . test. "x$ac_cv_have_decl_llseek" = xyes
12640 then :
12641
12642 printfscip-shell system . . printf. "%s\n" "#define HAVE_LLSEEK_PROTOTYPE 1" >>confdefs.h
12643
12644 fi
12645 ac_fn_check_declscip-shell shell e2fsprogs 1.47.4-1 ac_fn_check_decl(). "$LINENO" "lseek64" "ac_cv_have_decl_lseek64" "#define _LARGEFILE_SOURCE
12646 #define _LARGEFILE64_SOURCE
12647 #include <unistd.h>
12648 " "$ac_c_undeclared_builtin_options" "CFLAGS"
12649 if testscip-shell system . . test. "x$ac_cv_have_decl_lseek64" = xyes
12650 then :
12651
12652 printfscip-shell system . . printf. "%s\n" "#define HAVE_LSEEK64_PROTOTYPE 1" >>confdefs.h
12653
12654 fi
12655
12656 ac_fn_check_declscip-shell shell e2fsprogs 1.47.4-1 ac_fn_check_decl(). "$LINENO" "fsmap_sizeof" "ac_cv_have_decl_fsmap_sizeof" "#include <linux/fsmap.h>
12657 " "$ac_c_undeclared_builtin_options" "CFLAGS"
12658 if testscip-shell system . . test. "x$ac_cv_have_decl_fsmap_sizeof" = xyes
12659 then :
12660
12661 printfscip-shell system . . printf. "%s\n" "#define HAVE_FSMAP_SIZEOF 1" >>confdefs.h
12662
12663 fi
12664 # Check whether --enable-largefile was given.
12665 if testscip-shell system . . test. ${enable_largefile+y}
12666 then :
12667 enableval=$enable_largefile;
12668 fi
12669 if testscip-shell system . . test. "$enable_largefile,$enable_year2038" != no,no
12670 then :
12671 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CPPFLAGS option for large files" >&5
12672 printfscip-shell system . . printf. %s "checking for $CPPFLAGS option for large files... " >&6; }
12673 if testscip-shell system . . test. ${ac_cv_sys_largefile_opts+y}
12674 then :
12675 printfscip-shell system . . printf. %s "(cached) " >&6
12676 else case e in #(
12677 e) ac_save_CPPFLAGS=$CPPFLAGS
12678 ac_opt_found=no
12679 for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1"; do
12680 if testscip-shell system . . test. x"$ac_opt" != x"none needed"
12681 then :
12682 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
12683 fi
12684 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12686 #include <sys/types.h>
12687 #ifndef FTYPE
12688 # define FTYPE off_t
12689 #endif
12690 /* Check that FTYPE can represent 2**63 - 1 correctly.
12691 We can't simply define LARGE_FTYPE to be 9223372036854775807,
12692 since some C++ compilers masquerading as C compilers
12693 incorrectly reject 9223372036854775807. */
12694 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
12695 int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
12696 && LARGE_FTYPE % 2147483647 == 1)
12697 ? 1 : -1];
12698 int
12699 main (void)
12700 {
12701
12702 ;
12703 return 0;
12704 }
12705 _ACEOF
12706 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
12707 then :
12708 if testscip-shell system . . test. x"$ac_opt" = x"none needed"
12709 then :
12710 # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
12711 CPPFLAGS="$CPPFLAGS -DFTYPE=ino_t"
12712 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
12713 then :
12714
12715 else case e in #(
12716 e) CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64"
12717 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
12718 then :
12719 ac_opt='-D_FILE_OFFSET_BITS=64'
12720 fi
12721 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam ;;
12722 esac
12723 fi
12724 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
12725 fi
12726 ac_cv_sys_largefile_opts=$ac_opt
12727 ac_opt_found=yes
12728 fi
12729 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12730 testscip-shell system . . test. $ac_opt_found = no || break
12731 done
12732 CPPFLAGS=$ac_save_CPPFLAGS
12733
12734 testscip-shell system . . test. $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
12735 esac
12736 fi
12737 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
12738 printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
12739
12740 ac_have_largefile=yes
12741 case $ac_cv_sys_largefile_opts in #(
12742 "none needed") :
12743 ;; #(
12744 "supported through gnulib") :
12745 ;; #(
12746 "support not detected") :
12747 ac_have_largefile=no ;; #(
12748 "-D_FILE_OFFSET_BITS=64") :
12749
12750 printfscip-shell system . . printf. "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
12751 ;; #(
12752 "-D_LARGE_FILES=1") :
12753
12754 printfscip-shell system . . printf. "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
12755 ;; #(
12756 *) :
12757 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
12758 esac
12759
12760 if testscip-shell system . . test. "$enable_year2038" != no
12761 then :
12762 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CPPFLAGS option for timestamps after 2038" >&5
12763 printfscip-shell system . . printf. %s "checking for $CPPFLAGS option for timestamps after 2038... " >&6; }
12764 if testscip-shell system . . test. ${ac_cv_sys_year2038_opts+y}
12765 then :
12766 printfscip-shell system . . printf. %s "(cached) " >&6
12767 else case e in #(
12768 e) ac_save_CPPFLAGS="$CPPFLAGS"
12769 ac_opt_found=no
12770 for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
12771 if testscip-shell system . . test. x"$ac_opt" != x"none needed"
12772 then :
12773 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
12774 fi
12775 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12777
12778 #include <time.h>
12779 /* Check that time_t can represent 2**32 - 1 correctly. */
12780 #define LARGE_TIME_T \\
12781 ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
12782 int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
12783 && LARGE_TIME_T % 65537 == 0)
12784 ? 1 : -1];
12785
12786 int
12787 main (void)
12788 {
12789
12790 ;
12791 return 0;
12792 }
12793 _ACEOF
12794 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
12795 then :
12796 ac_cv_sys_year2038_opts="$ac_opt"
12797 ac_opt_found=yes
12798 fi
12799 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12800 testscip-shell system . . test. $ac_opt_found = no || break
12801 done
12802 CPPFLAGS="$ac_save_CPPFLAGS"
12803 testscip-shell system . . test. $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
12804 esac
12805 fi
12806 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
12807 printfscip-shell system . . printf. "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
12808
12809 ac_have_year2038=yes
12810 case $ac_cv_sys_year2038_opts in #(
12811 "none needed") :
12812 ;; #(
12813 "support not detected") :
12814 ac_have_year2038=no ;; #(
12815 "-D_TIME_BITS=64") :
12816
12817 printfscip-shell system . . printf. "%s\n" "#define _TIME_BITS 64" >>confdefs.h
12818 ;; #(
12819 "-D__MINGW_USE_VC2005_COMPAT") :
12820
12821 printfscip-shell system . . printf. "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
12822 ;; #(
12823 "-U_USE_32_BIT_TIME_T"*) :
12824 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
12825 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
12826 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "the 'time_t' type is currently forced to be 32-bit. It
12827 will stop working after mid-January 2038. Remove
12828 _USE_32BIT_TIME_T from the compiler flags.
12829 See 'config.log' for more details" "$LINENO" 5; } ;; #(
12830 *) :
12831 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
12832 esac
12833
12834 fi
12835
12836 fi
12837 # The cast to long int works around a bug in the HP C Compiler
12838 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12839 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
12840 # This bug is HP SR number 8606223364.
12841 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12842 printfscip-shell system . . printf. %s "checking size of short... " >&6; }
12843 if testscip-shell system . . test. ${ac_cv_sizeof_short+y}
12844 then :
12845 printfscip-shell system . . printf. %s "(cached) " >&6
12846 else case e in #(
12847 e) if ac_fn_c_compute_intscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"
12848 then :
12849
12850 else case e in #(
12851 e) if testscip-shell system . . test. "$ac_cv_type_short" = yes; then
12852 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
12853 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
12854 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). 77 "cannot compute sizeof (short)
12855 See 'config.log' for more details" "$LINENO" 5; }
12856 else
12857 ac_cv_sizeof_short=0
12858 fi ;;
12859 esac
12860 fi
12861 ;;
12862 esac
12863 fi
12864 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12865 printfscip-shell system . . printf. "%s\n" "$ac_cv_sizeof_short" >&6; }
12866
12867
12868
12869 printfscip-shell system . . printf. "%s\n" "#define SIZEOF_SHORT $ac_cv_sizeof_short" >>confdefs.h
12870
12871
12872 # The cast to long int works around a bug in the HP C Compiler
12873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12874 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
12875 # This bug is HP SR number 8606223364.
12876 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12877 printfscip-shell system . . printf. %s "checking size of int... " >&6; }
12878 if testscip-shell system . . test. ${ac_cv_sizeof_int+y}
12879 then :
12880 printfscip-shell system . . printf. %s "(cached) " >&6
12881 else case e in #(
12882 e) if ac_fn_c_compute_intscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"
12883 then :
12884
12885 else case e in #(
12886 e) if testscip-shell system . . test. "$ac_cv_type_int" = yes; then
12887 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
12888 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
12889 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). 77 "cannot compute sizeof (int)
12890 See 'config.log' for more details" "$LINENO" 5; }
12891 else
12892 ac_cv_sizeof_int=0
12893 fi ;;
12894 esac
12895 fi
12896 ;;
12897 esac
12898 fi
12899 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12900 printfscip-shell system . . printf. "%s\n" "$ac_cv_sizeof_int" >&6; }
12901
12902
12903
12904 printfscip-shell system . . printf. "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h
12905
12906
12907 # The cast to long int works around a bug in the HP C Compiler
12908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12909 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
12910 # This bug is HP SR number 8606223364.
12911 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12912 printfscip-shell system . . printf. %s "checking size of long... " >&6; }
12913 if testscip-shell system . . test. ${ac_cv_sizeof_long+y}
12914 then :
12915 printfscip-shell system . . printf. %s "(cached) " >&6
12916 else case e in #(
12917 e) if ac_fn_c_compute_intscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"
12918 then :
12919
12920 else case e in #(
12921 e) if testscip-shell system . . test. "$ac_cv_type_long" = yes; then
12922 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
12923 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
12924 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). 77 "cannot compute sizeof (long)
12925 See 'config.log' for more details" "$LINENO" 5; }
12926 else
12927 ac_cv_sizeof_long=0
12928 fi ;;
12929 esac
12930 fi
12931 ;;
12932 esac
12933 fi
12934 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12935 printfscip-shell system . . printf. "%s\n" "$ac_cv_sizeof_long" >&6; }
12936
12937
12938
12939 printfscip-shell system . . printf. "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h
12940
12941
12942 # The cast to long int works around a bug in the HP C Compiler
12943 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12944 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
12945 # This bug is HP SR number 8606223364.
12946 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12947 printfscip-shell system . . printf. %s "checking size of long long... " >&6; }
12948 if testscip-shell system . . test. ${ac_cv_sizeof_long_long+y}
12949 then :
12950 printfscip-shell system . . printf. %s "(cached) " >&6
12951 else case e in #(
12952 e) if ac_fn_c_compute_intscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"
12953 then :
12954
12955 else case e in #(
12956 e) if testscip-shell system . . test. "$ac_cv_type_long_long" = yes; then
12957 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
12958 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
12959 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). 77 "cannot compute sizeof (long long)
12960 See 'config.log' for more details" "$LINENO" 5; }
12961 else
12962 ac_cv_sizeof_long_long=0
12963 fi ;;
12964 esac
12965 fi
12966 ;;
12967 esac
12968 fi
12969 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12970 printfscip-shell system . . printf. "%s\n" "$ac_cv_sizeof_long_long" >&6; }
12971
12972
12973
12974 printfscip-shell system . . printf. "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h
12975
12976
12977 # The cast to long int works around a bug in the HP C Compiler
12978 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12979 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
12980 # This bug is HP SR number 8606223364.
12981 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
12982 printfscip-shell system . . printf. %s "checking size of off_t... " >&6; }
12983 if testscip-shell system . . test. ${ac_cv_sizeof_off_t+y}
12984 then :
12985 printfscip-shell system . . printf. %s "(cached) " >&6
12986 else case e in #(
12987 e) if ac_fn_c_compute_intscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"
12988 then :
12989
12990 else case e in #(
12991 e) if testscip-shell system . . test. "$ac_cv_type_off_t" = yes; then
12992 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
12993 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
12994 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). 77 "cannot compute sizeof (off_t)
12995 See 'config.log' for more details" "$LINENO" 5; }
12996 else
12997 ac_cv_sizeof_off_t=0
12998 fi ;;
12999 esac
13000 fi
13001 ;;
13002 esac
13003 fi
13004 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
13005 printfscip-shell system . . printf. "%s\n" "$ac_cv_sizeof_off_t" >&6; }
13006
13007
13008
13009 printfscip-shell system . . printf. "%s\n" "#define SIZEOF_OFF_T $ac_cv_sizeof_off_t" >>confdefs.h
13010
13011
13012 # The cast to long int works around a bug in the HP C Compiler
13013 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13014 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
13015 # This bug is HP SR number 8606223364.
13016 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
13017 printfscip-shell system . . printf. %s "checking size of time_t... " >&6; }
13018 if testscip-shell system . . test. ${ac_cv_sizeof_time_t+y}
13019 then :
13020 printfscip-shell system . . printf. %s "(cached) " >&6
13021 else case e in #(
13022 e) if ac_fn_c_compute_intscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"
13023 then :
13024
13025 else case e in #(
13026 e) if testscip-shell system . . test. "$ac_cv_type_time_t" = yes; then
13027 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
13028 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
13029 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). 77 "cannot compute sizeof (time_t)
13030 See 'config.log' for more details" "$LINENO" 5; }
13031 else
13032 ac_cv_sizeof_time_t=0
13033 fi ;;
13034 esac
13035 fi
13036 ;;
13037 esac
13038 fi
13039 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
13040 printfscip-shell system . . printf. "%s\n" "$ac_cv_sizeof_time_t" >&6; }
13041
13042
13043
13044 printfscip-shell system . . printf. "%s\n" "#define SIZEOF_TIME_T $ac_cv_sizeof_time_t" >>confdefs.h
13045
13046
13047 # The cast to long int works around a bug in the HP C Compiler
13048 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13049 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
13050 # This bug is HP SR number 8606223364.
13051 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13052 printfscip-shell system . . printf. %s "checking size of void *... " >&6; }
13053 if testscip-shell system . . test. ${ac_cv_sizeof_void_p+y}
13054 then :
13055 printfscip-shell system . . printf. %s "(cached) " >&6
13056 else case e in #(
13057 e) if ac_fn_c_compute_intscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_compute_int(). "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"
13058 then :
13059
13060 else case e in #(
13061 e) if testscip-shell system . . test. "$ac_cv_type_void_p" = yes; then
13062 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
13063 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
13064 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). 77 "cannot compute sizeof (void *)
13065 See 'config.log' for more details" "$LINENO" 5; }
13066 else
13067 ac_cv_sizeof_void_p=0
13068 fi ;;
13069 esac
13070 fi
13071 ;;
13072 esac
13073 fi
13074 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
13075 printfscip-shell system . . printf. "%s\n" "$ac_cv_sizeof_void_p" >&6; }
13076
13077
13078
13079 printfscip-shell system . . printf. "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h
13080
13081
13082 SIZEOF_SHORT=$ac_cv_sizeof_short
13083 SIZEOF_INT=$ac_cv_sizeof_int
13084 SIZEOF_LONG=$ac_cv_sizeof_long
13085 SIZEOF_LONG_LONG=$ac_cv_sizeof_long_long
13086 SIZEOF_OFF_T=$ac_cv_sizeof_off_t
13087 SIZEOF_TIME_T=$ac_cv_sizeof_time_t
13088
13089
13090
13091
13092
13093
13094 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13095 printfscip-shell system . . printf. %s "checking whether byte ordering is bigendian... " >&6; }
13096 if testscip-shell system . . test. ${ac_cv_c_bigendian+y}
13097 then :
13098 printfscip-shell system . . printf. %s "(cached) " >&6
13099 else case e in #(
13100 e) ac_cv_c_bigendian=unknown
13101 # See if we're dealing with a universal compiler.
13102 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
13104 #ifndef __APPLE_CC__
13105 not a universal capable compiler
13106 #endif
13107 typedef int dummy;
13108
13109 _ACEOF
13110 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
13111 then :
13112
13113 # Check for potential -arch flags. It is not universal unless
13114 # there are at least two -arch flags with different values.
13115 ac_arch=
13116 ac_prev=
13117 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13118 if testscip-shell system . . test. -n "$ac_prev"; then
13119 case $ac_word in
13120 i?86 | x86_64 | ppc | ppc64)
13121 if testscip-shell system . . test. -z "$ac_arch" || testscip-shell system . . test. "$ac_arch" = "$ac_word"; then
13122 ac_arch=$ac_word
13123 else
13124 ac_cv_c_bigendian=universal
13125 break
13126 fi
13127 ;;
13128 esac
13129 ac_prev=
13130 elif testscip-shell system . . test. "x$ac_word" = "x-arch"; then
13131 ac_prev=arch
13132 fi
13133 done
13134 fi
13135 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13136 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
13137 # See if sys/param.h defines the BYTE_ORDER macro.
13138 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13139 /* end confdefs.h. */
13140 #include <sys/types.h>
13141 #include <sys/param.h>
13142
13143 int
13144 main (void)
13145 {
13146 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\
13147 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\
13148 && LITTLE_ENDIAN)
13149 bogus endian macros
13150 #endif
13151
13152 ;
13153 return 0;
13154 }
13155 _ACEOF
13156 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
13157 then :
13158 # It does; now see whether it defined to BIG_ENDIAN or not.
13159 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13160 /* end confdefs.h. */
13161 #include <sys/types.h>
13162 #include <sys/param.h>
13163
13164 int
13165 main (void)
13166 {
13167 #if BYTE_ORDER != BIG_ENDIAN
13168 not big endian
13169 #endif
13170
13171 ;
13172 return 0;
13173 }
13174 _ACEOF
13175 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
13176 then :
13177 ac_cv_c_bigendian=yes
13178 else case e in #(
13179 e) ac_cv_c_bigendian=no ;;
13180 esac
13181 fi
13182 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13183 fi
13184 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13185 fi
13186 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
13187 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13188 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13189 /* end confdefs.h. */
13190 #include <limits.h>
13191
13192 int
13193 main (void)
13194 {
13195 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13196 bogus endian macros
13197 #endif
13198
13199 ;
13200 return 0;
13201 }
13202 _ACEOF
13203 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
13204 then :
13205 # It does; now see whether it defined to _BIG_ENDIAN or not.
13206 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13208 #include <limits.h>
13209
13210 int
13211 main (void)
13212 {
13213 #ifndef _BIG_ENDIAN
13214 not big endian
13215 #endif
13216
13217 ;
13218 return 0;
13219 }
13220 _ACEOF
13221 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
13222 then :
13223 ac_cv_c_bigendian=yes
13224 else case e in #(
13225 e) ac_cv_c_bigendian=no ;;
13226 esac
13227 fi
13228 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13229 fi
13230 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13231 fi
13232 if testscip-shell system . . test. $ac_cv_c_bigendian = unknown; then
13233 # Compile a test program.
13234 if testscip-shell system . . test. "$cross_compiling" = yes
13235 then :
13236 # Try to guess by grepping values from an object file.
13237 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13238 /* end confdefs.h. */
13239 unsigned short int ascii_mm[] =
13240 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13241 unsigned short int ascii_ii[] =
13242 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13243 int use_ascii (int i) {
13244 return ascii_mm[i] + ascii_ii[i];
13245 }
13246 unsigned short int ebcdic_ii[] =
13247 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13248 unsigned short int ebcdic_mm[] =
13249 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13250 int use_ebcdic (int i) {
13251 return ebcdic_mm[i] + ebcdic_ii[i];
13252 }
13253 int
13254 main (int argc, char **argv)
13255 {
13256 /* Intimidate the compiler so that it does not
13257 optimize the arrays away. */
13258 char *p = argv[0];
13259 ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
13260 ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
13261 return use_ascii (argc) == use_ebcdic (*p);
13262 }
13263 _ACEOF
13264 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
13265 then :
13266 if grepscip-shell system . . grep. BIGenDianSyS conftest$ac_exeext >/dev/nullscip-shell filesystem . . `/dev/null`.; then
13267 ac_cv_c_bigendian=yes
13268 fi
13269 if grepscip-shell system . . grep. LiTTleEnDian conftest$ac_exeext >/dev/nullscip-shell filesystem . . `/dev/null`. ; then
13270 if testscip-shell system . . test. "$ac_cv_c_bigendian" = unknown; then
13271 ac_cv_c_bigendian=no
13272 else
13273 # finding both strings is unlikely to happen, but who knows?
13274 ac_cv_c_bigendian=unknown
13275 fi
13276 fi
13277 fi
13278 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
13279 conftest$ac_exeext conftest.$ac_ext
13280 else case e in #(
13281 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13282 /* end confdefs.h. */
13283 $ac_includes_default
13284 int
13285 main (void)
13286 {
13287
13288 /* Are we little or big endian? From Harbison&Steele. */
13289 union
13290 {
13291 long int l;
13292 char c[sizeof (long int)];
13293 } u;
13294 u.l = 1;
13295 return u.c[sizeof (long int) - 1] == 1;
13296
13297 ;
13298 return 0;
13299 }
13300 _ACEOF
13301 if ac_fn_c_try_runscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_run(). "$LINENO"
13302 then :
13303 ac_cv_c_bigendian=no
13304 else case e in #(
13305 e) ac_cv_c_bigendian=yes ;;
13306 esac
13307 fi
13308 rmscip-shell system . . rm. -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13309 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
13310 esac
13311 fi
13312
13313 fi ;;
13314 esac
13315 fi
13316 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13317 printfscip-shell system . . printf. "%s\n" "$ac_cv_c_bigendian" >&6; }
13318 case $ac_cv_c_bigendian in #(
13319 yes)
13320 printfscip-shell system . . printf. "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
13321 ;; #(
13322 no)
13323 ;; #(
13324 universal)
13325
13326 printfscip-shell system . . printf. "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13327
13328 ;; #(
13329 *)
13330 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "unknown endianness
13331 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13332 esac
13333
13334 if testscip-shell system . . test. $cross_compiling = no; then
13335 BUILD_CC="$BUILD_CC" CPP="$CPP" /bin/shscip-shell filesystem . . `/bin/sh`. $ac_aux_dir/parse-types.sh
13336 else
13337 CROSS_COMPILE="1" BUILD_CC="$BUILD_CC" CPP="$CPP" /bin/shscip-shell filesystem . . `/bin/sh`. $ac_aux_dir/parse-types.sh
13338 fi
13339 ASM_TYPES_HEADER=./asm_types.h
13340
13341 echoscip-shell system . . echo. "/* These defines are needed for the public ext2fs.h header file */" \
13342 > public_config.h
13343 if grepscip-shell system . . grep. HAVE_SYS_TYPES_H confdefs.h > tmp_config.$$; then
13344 uniqscip-shell system . . uniq. tmp_config.$$ >> public_config.h
13345 else
13346 echoscip-shell system . . echo. "#undef HAVE_SYS_TYPES_H" >> public_config.h
13347 fi
13348 if grepscip-shell system . . grep. SIZEOF_TIME_T confdefs.h > tmp_config.$$; then
13349 uniqscip-shell system . . uniq. tmp_config.$$ >> public_config.h
13350 else
13351 echoscip-shell system . . echo. "#undef SIZEOF_TIME_T" >> public_config.h
13352 fi
13353 if grepscip-shell system . . grep. WORDS_BIGENDIAN confdefs.h > tmp_config.$$; then
13354 uniqscip-shell system . . uniq. tmp_config.$$ >> public_config.h
13355 else
13356 echoscip-shell system . . echo. "#undef WORDS_BIGENDIAN" >> public_config.h
13357 fi
13358 rmscip-shell system . . rm. -f tmp_config.$$
13359 PUBLIC_CONFIG_HEADER=./public_config.h
13360
13361 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
13362 if testscip-shell system . . test. "x$ac_cv_header_inttypes_h" = xyes
13363 then :
13364 printfscip-shell system . . printf. "%s\n" "#define HAVE_INTTYPES_H 1" >>confdefs.h
13365
13366 fi
13367
13368 ac_fn_c_check_typescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_type(). "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
13369 if testscip-shell system . . test. "x$ac_cv_type_intptr_t" = xyes
13370 then :
13371
13372 printfscip-shell system . . printf. "%s\n" "#define HAVE_INTPTR_T 1" >>confdefs.h
13373
13374
13375 fi
13376
13377 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct stat has a st_flags field" >&5
13378 printfscip-shell system . . printf. %s "checking whether struct stat has a st_flags field... " >&6; }
13379 if testscip-shell system . . test. ${e2fsprogs_cv_struct_st_flags+y}
13380 then :
13381 printfscip-shell system . . printf. %s "(cached) " >&6
13382 else case e in #(
13383 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13384 /* end confdefs.h. */
13385 #include <sys/stat.h>
13386 int
13387 main (void)
13388 {
13389 struct stat stat; stat.st_flags = 0;
13390 ;
13391 return 0;
13392 }
13393 _ACEOF
13394 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
13395 then :
13396 e2fsprogs_cv_struct_st_flags=yes
13397 else case e in #(
13398 e) e2fsprogs_cv_struct_st_flags=no ;;
13399 esac
13400 fi
13401 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
13402 esac
13403 fi
13404
13405 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags" >&5
13406 printfscip-shell system . . printf. "%s\n" "$e2fsprogs_cv_struct_st_flags" >&6; }
13407 if testscip-shell system . . test. "$e2fsprogs_cv_struct_st_flags" = yes; then
13408 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether st_flags field is useful" >&5
13409 printfscip-shell system . . printf. %s "checking whether st_flags field is useful... " >&6; }
13410 if testscip-shell system . . test. ${e2fsprogs_cv_struct_st_flags_immut+y}
13411 then :
13412 printfscip-shell system . . printf. %s "(cached) " >&6
13413 else case e in #(
13414 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13415 /* end confdefs.h. */
13416 #include <sys/stat.h>
13417 int
13418 main (void)
13419 {
13420 struct stat stat; stat.st_flags |= UF_IMMUTABLE;
13421 ;
13422 return 0;
13423 }
13424 _ACEOF
13425 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
13426 then :
13427 e2fsprogs_cv_struct_st_flags_immut=yes
13428 else case e in #(
13429 e) e2fsprogs_cv_struct_st_flags_immut=no ;;
13430 esac
13431 fi
13432 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
13433 esac
13434 fi
13435
13436 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $e2fsprogs_cv_struct_st_flags_immut" >&5
13437 printfscip-shell system . . printf. "%s\n" "$e2fsprogs_cv_struct_st_flags_immut" >&6; }
13438 if testscip-shell system . . test. "$e2fsprogs_cv_struct_st_flags_immut" = yes; then
13439
13440 printfscip-shell system . . printf. "%s\n" "#define HAVE_STAT_FLAGS 1" >>confdefs.h
13441
13442 fi
13443 fi
13444 ac_fn_c_check_memberscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_member(). "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13445 #include <sys/socket.h>
13446 "
13447 if testscip-shell system . . test. "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
13448 then :
13449
13450 printfscip-shell system . . printf. "%s\n" "#define HAVE_SA_LEN 1" >>confdefs.h
13451
13452 fi
13453
13454 if testscip-shell system . . test. -n "$BLKID_CMT"; then
13455 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for blkid_probe_get_topology in -lblkid" >&5
13456 printfscip-shell system . . printf. %s "checking for blkid_probe_get_topology in -lblkid... " >&6; }
13457 if testscip-shell system . . test. ${ac_cv_lib_blkid_blkid_probe_get_topology+y}
13458 then :
13459 printfscip-shell system . . printf. %s "(cached) " >&6
13460 else case e in #(
13461 e) ac_check_lib_save_LIBS=$LIBS
13462 LIBS="-lblkid $LIBS"
13463 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13465
13466 /* Override any GCC internal prototype to avoid an error.
13467 Use char because int might match the return type of a GCC
13468 builtin and then its argument prototype would still apply.
13469 The 'extern "C"' is for builds by C++ compilers;
13470 although this is not generally supported in C code supporting it here
13471 has little cost and some practical benefit (sr 110532). */
13472 #ifdef __cplusplus
13473 extern "C"
13474 #endif
13475 char blkid_probe_get_topology (void);
13476 int
13477 main (void)
13478 {
13479 return blkid_probe_get_topology ();
13480 ;
13481 return 0;
13482 }
13483 _ACEOF
13484 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
13485 then :
13486 ac_cv_lib_blkid_blkid_probe_get_topology=yes
13487 else case e in #(
13488 e) ac_cv_lib_blkid_blkid_probe_get_topology=no ;;
13489 esac
13490 fi
13491 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
13492 conftest$ac_exeext conftest.$ac_ext
13493 LIBS=$ac_check_lib_save_LIBS ;;
13494 esac
13495 fi
13496 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_probe_get_topology" >&5
13497 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_blkid_blkid_probe_get_topology" >&6; }
13498 if testscip-shell system . . test. "x$ac_cv_lib_blkid_blkid_probe_get_topology" = xyes
13499 then :
13500
13501 printfscip-shell system . . printf. "%s\n" "#define HAVE_BLKID_PROBE_GET_TOPOLOGY 1" >>confdefs.h
13502
13503 fi
13504
13505 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for blkid_topology_get_dax in -lblkid" >&5
13506 printfscip-shell system . . printf. %s "checking for blkid_topology_get_dax in -lblkid... " >&6; }
13507 if testscip-shell system . . test. ${ac_cv_lib_blkid_blkid_topology_get_dax+y}
13508 then :
13509 printfscip-shell system . . printf. %s "(cached) " >&6
13510 else case e in #(
13511 e) ac_check_lib_save_LIBS=$LIBS
13512 LIBS="-lblkid $LIBS"
13513 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13515
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply.
13519 The 'extern "C"' is for builds by C++ compilers;
13520 although this is not generally supported in C code supporting it here
13521 has little cost and some practical benefit (sr 110532). */
13522 #ifdef __cplusplus
13523 extern "C"
13524 #endif
13525 char blkid_topology_get_dax (void);
13526 int
13527 main (void)
13528 {
13529 return blkid_topology_get_dax ();
13530 ;
13531 return 0;
13532 }
13533 _ACEOF
13534 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
13535 then :
13536 ac_cv_lib_blkid_blkid_topology_get_dax=yes
13537 else case e in #(
13538 e) ac_cv_lib_blkid_blkid_topology_get_dax=no ;;
13539 esac
13540 fi
13541 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
13542 conftest$ac_exeext conftest.$ac_ext
13543 LIBS=$ac_check_lib_save_LIBS ;;
13544 esac
13545 fi
13546 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_topology_get_dax" >&5
13547 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_blkid_blkid_topology_get_dax" >&6; }
13548 if testscip-shell system . . test. "x$ac_cv_lib_blkid_blkid_topology_get_dax" = xyes
13549 then :
13550
13551 printfscip-shell system . . printf. "%s\n" "#define HAVE_BLKID_TOPOLOGY_GET_DAX 1" >>confdefs.h
13552
13553 fi
13554
13555 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for blkid_probe_enable_partitions in -lblkid" >&5
13556 printfscip-shell system . . printf. %s "checking for blkid_probe_enable_partitions in -lblkid... " >&6; }
13557 if testscip-shell system . . test. ${ac_cv_lib_blkid_blkid_probe_enable_partitions+y}
13558 then :
13559 printfscip-shell system . . printf. %s "(cached) " >&6
13560 else case e in #(
13561 e) ac_check_lib_save_LIBS=$LIBS
13562 LIBS="-lblkid $LIBS"
13563 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
13564 /* end confdefs.h. */
13565
13566 /* Override any GCC internal prototype to avoid an error.
13567 Use char because int might match the return type of a GCC
13568 builtin and then its argument prototype would still apply.
13569 The 'extern "C"' is for builds by C++ compilers;
13570 although this is not generally supported in C code supporting it here
13571 has little cost and some practical benefit (sr 110532). */
13572 #ifdef __cplusplus
13573 extern "C"
13574 #endif
13575 char blkid_probe_enable_partitions (void);
13576 int
13577 main (void)
13578 {
13579 return blkid_probe_enable_partitions ();
13580 ;
13581 return 0;
13582 }
13583 _ACEOF
13584 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
13585 then :
13586 ac_cv_lib_blkid_blkid_probe_enable_partitions=yes
13587 else case e in #(
13588 e) ac_cv_lib_blkid_blkid_probe_enable_partitions=no ;;
13589 esac
13590 fi
13591 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
13592 conftest$ac_exeext conftest.$ac_ext
13593 LIBS=$ac_check_lib_save_LIBS ;;
13594 esac
13595 fi
13596 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_probe_enable_partitions" >&5
13597 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_blkid_blkid_probe_enable_partitions" >&6; }
13598 if testscip-shell system . . test. "x$ac_cv_lib_blkid_blkid_probe_enable_partitions" = xyes
13599 then :
13600
13601 printfscip-shell system . . printf. "%s\n" "#define HAVE_BLKID_PROBE_ENABLE_PARTITIONS 1" >>confdefs.h
13602
13603 fi
13604
13605 fi
13606 if testscip-shell system . . test. -n "$DLOPEN_LIB" ; then
13607 ac_cv_func_dlopen=yes
13608 fi
13609 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "__secure_getenv" "ac_cv_func___secure_getenv"
13610 if testscip-shell system . . test. "x$ac_cv_func___secure_getenv" = xyes
13611 then :
13612 printfscip-shell system . . printf. "%s\n" "#define HAVE___SECURE_GETENV 1" >>confdefs.h
13613
13614 fi
13615 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "add_key" "ac_cv_func_add_key"
13616 if testscip-shell system . . test. "x$ac_cv_func_add_key" = xyes
13617 then :
13618 printfscip-shell system . . printf. "%s\n" "#define HAVE_ADD_KEY 1" >>confdefs.h
13619
13620 fi
13621 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "backtrace" "ac_cv_func_backtrace"
13622 if testscip-shell system . . test. "x$ac_cv_func_backtrace" = xyes
13623 then :
13624 printfscip-shell system . . printf. "%s\n" "#define HAVE_BACKTRACE 1" >>confdefs.h
13625
13626 fi
13627 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "chflags" "ac_cv_func_chflags"
13628 if testscip-shell system . . test. "x$ac_cv_func_chflags" = xyes
13629 then :
13630 printfscip-shell system . . printf. "%s\n" "#define HAVE_CHFLAGS 1" >>confdefs.h
13631
13632 fi
13633 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "dlopen" "ac_cv_func_dlopen"
13634 if testscip-shell system . . test. "x$ac_cv_func_dlopen" = xyes
13635 then :
13636 printfscip-shell system . . printf. "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h
13637
13638 fi
13639 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "fadvise64" "ac_cv_func_fadvise64"
13640 if testscip-shell system . . test. "x$ac_cv_func_fadvise64" = xyes
13641 then :
13642 printfscip-shell system . . printf. "%s\n" "#define HAVE_FADVISE64 1" >>confdefs.h
13643
13644 fi
13645 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "fallocate" "ac_cv_func_fallocate"
13646 if testscip-shell system . . test. "x$ac_cv_func_fallocate" = xyes
13647 then :
13648 printfscip-shell system . . printf. "%s\n" "#define HAVE_FALLOCATE 1" >>confdefs.h
13649
13650 fi
13651 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "fallocate64" "ac_cv_func_fallocate64"
13652 if testscip-shell system . . test. "x$ac_cv_func_fallocate64" = xyes
13653 then :
13654 printfscip-shell system . . printf. "%s\n" "#define HAVE_FALLOCATE64 1" >>confdefs.h
13655
13656 fi
13657 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "fchown" "ac_cv_func_fchown"
13658 if testscip-shell system . . test. "x$ac_cv_func_fchown" = xyes
13659 then :
13660 printfscip-shell system . . printf. "%s\n" "#define HAVE_FCHOWN 1" >>confdefs.h
13661
13662 fi
13663 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "fcntl" "ac_cv_func_fcntl"
13664 if testscip-shell system . . test. "x$ac_cv_func_fcntl" = xyes
13665 then :
13666 printfscip-shell system . . printf. "%s\n" "#define HAVE_FCNTL 1" >>confdefs.h
13667
13668 fi
13669 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "fdatasync" "ac_cv_func_fdatasync"
13670 if testscip-shell system . . test. "x$ac_cv_func_fdatasync" = xyes
13671 then :
13672 printfscip-shell system . . printf. "%s\n" "#define HAVE_FDATASYNC 1" >>confdefs.h
13673
13674 fi
13675 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "fstat64" "ac_cv_func_fstat64"
13676 if testscip-shell system . . test. "x$ac_cv_func_fstat64" = xyes
13677 then :
13678 printfscip-shell system . . printf. "%s\n" "#define HAVE_FSTAT64 1" >>confdefs.h
13679
13680 fi
13681 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "fsync" "ac_cv_func_fsync"
13682 if testscip-shell system . . test. "x$ac_cv_func_fsync" = xyes
13683 then :
13684 printfscip-shell system . . printf. "%s\n" "#define HAVE_FSYNC 1" >>confdefs.h
13685
13686 fi
13687 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "ftruncate64" "ac_cv_func_ftruncate64"
13688 if testscip-shell system . . test. "x$ac_cv_func_ftruncate64" = xyes
13689 then :
13690 printfscip-shell system . . printf. "%s\n" "#define HAVE_FTRUNCATE64 1" >>confdefs.h
13691
13692 fi
13693 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "futimes" "ac_cv_func_futimes"
13694 if testscip-shell system . . test. "x$ac_cv_func_futimes" = xyes
13695 then :
13696 printfscip-shell system . . printf. "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
13697
13698 fi
13699 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "getcwd" "ac_cv_func_getcwd"
13700 if testscip-shell system . . test. "x$ac_cv_func_getcwd" = xyes
13701 then :
13702 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h
13703
13704 fi
13705 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "getdtablesize" "ac_cv_func_getdtablesize"
13706 if testscip-shell system . . test. "x$ac_cv_func_getdtablesize" = xyes
13707 then :
13708 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETDTABLESIZE 1" >>confdefs.h
13709
13710 fi
13711 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "getentropy" "ac_cv_func_getentropy"
13712 if testscip-shell system . . test. "x$ac_cv_func_getentropy" = xyes
13713 then :
13714 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETENTROPY 1" >>confdefs.h
13715
13716 fi
13717 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "gethostname" "ac_cv_func_gethostname"
13718 if testscip-shell system . . test. "x$ac_cv_func_gethostname" = xyes
13719 then :
13720 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETHOSTNAME 1" >>confdefs.h
13721
13722 fi
13723 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "getmntinfo" "ac_cv_func_getmntinfo"
13724 if testscip-shell system . . test. "x$ac_cv_func_getmntinfo" = xyes
13725 then :
13726 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETMNTINFO 1" >>confdefs.h
13727
13728 fi
13729 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "getpwuid_r" "ac_cv_func_getpwuid_r"
13730 if testscip-shell system . . test. "x$ac_cv_func_getpwuid_r" = xyes
13731 then :
13732 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETPWUID_R 1" >>confdefs.h
13733
13734 fi
13735 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "getrandom" "ac_cv_func_getrandom"
13736 if testscip-shell system . . test. "x$ac_cv_func_getrandom" = xyes
13737 then :
13738 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
13739
13740 fi
13741 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "getrlimit" "ac_cv_func_getrlimit"
13742 if testscip-shell system . . test. "x$ac_cv_func_getrlimit" = xyes
13743 then :
13744 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETRLIMIT 1" >>confdefs.h
13745
13746 fi
13747 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "getrusage" "ac_cv_func_getrusage"
13748 if testscip-shell system . . test. "x$ac_cv_func_getrusage" = xyes
13749 then :
13750 printfscip-shell system . . printf. "%s\n" "#define HAVE_GETRUSAGE 1" >>confdefs.h
13751
13752 fi
13753 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "jrand48" "ac_cv_func_jrand48"
13754 if testscip-shell system . . test. "x$ac_cv_func_jrand48" = xyes
13755 then :
13756 printfscip-shell system . . printf. "%s\n" "#define HAVE_JRAND48 1" >>confdefs.h
13757
13758 fi
13759 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "keyctl" "ac_cv_func_keyctl"
13760 if testscip-shell system . . test. "x$ac_cv_func_keyctl" = xyes
13761 then :
13762 printfscip-shell system . . printf. "%s\n" "#define HAVE_KEYCTL 1" >>confdefs.h
13763
13764 fi
13765 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "llistxattr" "ac_cv_func_llistxattr"
13766 if testscip-shell system . . test. "x$ac_cv_func_llistxattr" = xyes
13767 then :
13768 printfscip-shell system . . printf. "%s\n" "#define HAVE_LLISTXATTR 1" >>confdefs.h
13769
13770 fi
13771 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "llseek" "ac_cv_func_llseek"
13772 if testscip-shell system . . test. "x$ac_cv_func_llseek" = xyes
13773 then :
13774 printfscip-shell system . . printf. "%s\n" "#define HAVE_LLSEEK 1" >>confdefs.h
13775
13776 fi
13777 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "lseek64" "ac_cv_func_lseek64"
13778 if testscip-shell system . . test. "x$ac_cv_func_lseek64" = xyes
13779 then :
13780 printfscip-shell system . . printf. "%s\n" "#define HAVE_LSEEK64 1" >>confdefs.h
13781
13782 fi
13783 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "mallinfo" "ac_cv_func_mallinfo"
13784 if testscip-shell system . . test. "x$ac_cv_func_mallinfo" = xyes
13785 then :
13786 printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLINFO 1" >>confdefs.h
13787
13788 fi
13789 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "mallinfo2" "ac_cv_func_mallinfo2"
13790 if testscip-shell system . . test. "x$ac_cv_func_mallinfo2" = xyes
13791 then :
13792 printfscip-shell system . . printf. "%s\n" "#define HAVE_MALLINFO2 1" >>confdefs.h
13793
13794 fi
13795 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "mbstowcs" "ac_cv_func_mbstowcs"
13796 if testscip-shell system . . test. "x$ac_cv_func_mbstowcs" = xyes
13797 then :
13798 printfscip-shell system . . printf. "%s\n" "#define HAVE_MBSTOWCS 1" >>confdefs.h
13799
13800 fi
13801 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "memalign" "ac_cv_func_memalign"
13802 if testscip-shell system . . test. "x$ac_cv_func_memalign" = xyes
13803 then :
13804 printfscip-shell system . . printf. "%s\n" "#define HAVE_MEMALIGN 1" >>confdefs.h
13805
13806 fi
13807 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "mempcpy" "ac_cv_func_mempcpy"
13808 if testscip-shell system . . test. "x$ac_cv_func_mempcpy" = xyes
13809 then :
13810 printfscip-shell system . . printf. "%s\n" "#define HAVE_MEMPCPY 1" >>confdefs.h
13811
13812 fi
13813 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "mmap" "ac_cv_func_mmap"
13814 if testscip-shell system . . test. "x$ac_cv_func_mmap" = xyes
13815 then :
13816 printfscip-shell system . . printf. "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
13817
13818 fi
13819 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "msync" "ac_cv_func_msync"
13820 if testscip-shell system . . test. "x$ac_cv_func_msync" = xyes
13821 then :
13822 printfscip-shell system . . printf. "%s\n" "#define HAVE_MSYNC 1" >>confdefs.h
13823
13824 fi
13825 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
13826 if testscip-shell system . . test. "x$ac_cv_func_nanosleep" = xyes
13827 then :
13828 printfscip-shell system . . printf. "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h
13829
13830 fi
13831 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "open64" "ac_cv_func_open64"
13832 if testscip-shell system . . test. "x$ac_cv_func_open64" = xyes
13833 then :
13834 printfscip-shell system . . printf. "%s\n" "#define HAVE_OPEN64 1" >>confdefs.h
13835
13836 fi
13837 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "pathconf" "ac_cv_func_pathconf"
13838 if testscip-shell system . . test. "x$ac_cv_func_pathconf" = xyes
13839 then :
13840 printfscip-shell system . . printf. "%s\n" "#define HAVE_PATHCONF 1" >>confdefs.h
13841
13842 fi
13843 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
13844 if testscip-shell system . . test. "x$ac_cv_func_posix_fadvise" = xyes
13845 then :
13846 printfscip-shell system . . printf. "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
13847
13848 fi
13849 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "posix_fadvise64" "ac_cv_func_posix_fadvise64"
13850 if testscip-shell system . . test. "x$ac_cv_func_posix_fadvise64" = xyes
13851 then :
13852 printfscip-shell system . . printf. "%s\n" "#define HAVE_POSIX_FADVISE64 1" >>confdefs.h
13853
13854 fi
13855 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
13856 if testscip-shell system . . test. "x$ac_cv_func_posix_memalign" = xyes
13857 then :
13858 printfscip-shell system . . printf. "%s\n" "#define HAVE_POSIX_MEMALIGN 1" >>confdefs.h
13859
13860 fi
13861 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "prctl" "ac_cv_func_prctl"
13862 if testscip-shell system . . test. "x$ac_cv_func_prctl" = xyes
13863 then :
13864 printfscip-shell system . . printf. "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
13865
13866 fi
13867 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "pread" "ac_cv_func_pread"
13868 if testscip-shell system . . test. "x$ac_cv_func_pread" = xyes
13869 then :
13870 printfscip-shell system . . printf. "%s\n" "#define HAVE_PREAD 1" >>confdefs.h
13871
13872 fi
13873 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "pwrite" "ac_cv_func_pwrite"
13874 if testscip-shell system . . test. "x$ac_cv_func_pwrite" = xyes
13875 then :
13876 printfscip-shell system . . printf. "%s\n" "#define HAVE_PWRITE 1" >>confdefs.h
13877
13878 fi
13879 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "pread64" "ac_cv_func_pread64"
13880 if testscip-shell system . . test. "x$ac_cv_func_pread64" = xyes
13881 then :
13882 printfscip-shell system . . printf. "%s\n" "#define HAVE_PREAD64 1" >>confdefs.h
13883
13884 fi
13885 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "pwrite64" "ac_cv_func_pwrite64"
13886 if testscip-shell system . . test. "x$ac_cv_func_pwrite64" = xyes
13887 then :
13888 printfscip-shell system . . printf. "%s\n" "#define HAVE_PWRITE64 1" >>confdefs.h
13889
13890 fi
13891 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "qsort_r" "ac_cv_func_qsort_r"
13892 if testscip-shell system . . test. "x$ac_cv_func_qsort_r" = xyes
13893 then :
13894 printfscip-shell system . . printf. "%s\n" "#define HAVE_QSORT_R 1" >>confdefs.h
13895
13896 fi
13897 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
13898 if testscip-shell system . . test. "x$ac_cv_func_secure_getenv" = xyes
13899 then :
13900 printfscip-shell system . . printf. "%s\n" "#define HAVE_SECURE_GETENV 1" >>confdefs.h
13901
13902 fi
13903 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "setmntent" "ac_cv_func_setmntent"
13904 if testscip-shell system . . test. "x$ac_cv_func_setmntent" = xyes
13905 then :
13906 printfscip-shell system . . printf. "%s\n" "#define HAVE_SETMNTENT 1" >>confdefs.h
13907
13908 fi
13909 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "setresgid" "ac_cv_func_setresgid"
13910 if testscip-shell system . . test. "x$ac_cv_func_setresgid" = xyes
13911 then :
13912 printfscip-shell system . . printf. "%s\n" "#define HAVE_SETRESGID 1" >>confdefs.h
13913
13914 fi
13915 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "setresuid" "ac_cv_func_setresuid"
13916 if testscip-shell system . . test. "x$ac_cv_func_setresuid" = xyes
13917 then :
13918 printfscip-shell system . . printf. "%s\n" "#define HAVE_SETRESUID 1" >>confdefs.h
13919
13920 fi
13921 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "snprintf" "ac_cv_func_snprintf"
13922 if testscip-shell system . . test. "x$ac_cv_func_snprintf" = xyes
13923 then :
13924 printfscip-shell system . . printf. "%s\n" "#define HAVE_SNPRINTF 1" >>confdefs.h
13925
13926 fi
13927 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "srandom" "ac_cv_func_srandom"
13928 if testscip-shell system . . test. "x$ac_cv_func_srandom" = xyes
13929 then :
13930 printfscip-shell system . . printf. "%s\n" "#define HAVE_SRANDOM 1" >>confdefs.h
13931
13932 fi
13933 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "stpcpy" "ac_cv_func_stpcpy"
13934 if testscip-shell system . . test. "x$ac_cv_func_stpcpy" = xyes
13935 then :
13936 printfscip-shell system . . printf. "%s\n" "#define HAVE_STPCPY 1" >>confdefs.h
13937
13938 fi
13939 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
13940 if testscip-shell system . . test. "x$ac_cv_func_strcasecmp" = xyes
13941 then :
13942 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
13943
13944 fi
13945 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "strdup" "ac_cv_func_strdup"
13946 if testscip-shell system . . test. "x$ac_cv_func_strdup" = xyes
13947 then :
13948 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
13949
13950 fi
13951 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "strnlen" "ac_cv_func_strnlen"
13952 if testscip-shell system . . test. "x$ac_cv_func_strnlen" = xyes
13953 then :
13954 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h
13955
13956 fi
13957 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "strptime" "ac_cv_func_strptime"
13958 if testscip-shell system . . test. "x$ac_cv_func_strptime" = xyes
13959 then :
13960 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRPTIME 1" >>confdefs.h
13961
13962 fi
13963 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "strtoull" "ac_cv_func_strtoull"
13964 if testscip-shell system . . test. "x$ac_cv_func_strtoull" = xyes
13965 then :
13966 printfscip-shell system . . printf. "%s\n" "#define HAVE_STRTOULL 1" >>confdefs.h
13967
13968 fi
13969 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "sync_file_range" "ac_cv_func_sync_file_range"
13970 if testscip-shell system . . test. "x$ac_cv_func_sync_file_range" = xyes
13971 then :
13972 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h
13973
13974 fi
13975 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "sysconf" "ac_cv_func_sysconf"
13976 if testscip-shell system . . test. "x$ac_cv_func_sysconf" = xyes
13977 then :
13978 printfscip-shell system . . printf. "%s\n" "#define HAVE_SYSCONF 1" >>confdefs.h
13979
13980 fi
13981 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "usleep" "ac_cv_func_usleep"
13982 if testscip-shell system . . test. "x$ac_cv_func_usleep" = xyes
13983 then :
13984 printfscip-shell system . . printf. "%s\n" "#define HAVE_USLEEP 1" >>confdefs.h
13985
13986 fi
13987 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "utime" "ac_cv_func_utime"
13988 if testscip-shell system . . test. "x$ac_cv_func_utime" = xyes
13989 then :
13990 printfscip-shell system . . printf. "%s\n" "#define HAVE_UTIME 1" >>confdefs.h
13991
13992 fi
13993 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "utimes" "ac_cv_func_utimes"
13994 if testscip-shell system . . test. "x$ac_cv_func_utimes" = xyes
13995 then :
13996 printfscip-shell system . . printf. "%s\n" "#define HAVE_UTIMES 1" >>confdefs.h
13997
13998 fi
13999 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "valloc" "ac_cv_func_valloc"
14000 if testscip-shell system . . test. "x$ac_cv_func_valloc" = xyes
14001 then :
14002 printfscip-shell system . . printf. "%s\n" "#define HAVE_VALLOC 1" >>confdefs.h
14003
14004 fi
14005
14006 SOCKET_LIB=''
14007 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
14008 printfscip-shell system . . printf. %s "checking for socket in -lsocket... " >&6; }
14009 if testscip-shell system . . test. ${ac_cv_lib_socket_socket+y}
14010 then :
14011 printfscip-shell system . . printf. %s "(cached) " >&6
14012 else case e in #(
14013 e) ac_check_lib_save_LIBS=$LIBS
14014 LIBS="-lsocket $LIBS"
14015 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14016 /* end confdefs.h. */
14017
14018 /* Override any GCC internal prototype to avoid an error.
14019 Use char because int might match the return type of a GCC
14020 builtin and then its argument prototype would still apply.
14021 The 'extern "C"' is for builds by C++ compilers;
14022 although this is not generally supported in C code supporting it here
14023 has little cost and some practical benefit (sr 110532). */
14024 #ifdef __cplusplus
14025 extern "C"
14026 #endif
14027 char socket (void);
14028 int
14029 main (void)
14030 {
14031 return socket ();
14032 ;
14033 return 0;
14034 }
14035 _ACEOF
14036 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
14037 then :
14038 ac_cv_lib_socket_socket=yes
14039 else case e in #(
14040 e) ac_cv_lib_socket_socket=no ;;
14041 esac
14042 fi
14043 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14044 conftest$ac_exeext conftest.$ac_ext
14045 LIBS=$ac_check_lib_save_LIBS ;;
14046 esac
14047 fi
14048 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
14049 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_socket_socket" >&6; }
14050 if testscip-shell system . . test. "x$ac_cv_lib_socket_socket" = xyes
14051 then :
14052 SOCKET_LIB=-lsocket
14053 fi
14054
14055
14056 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for magic_file in -lmagic" >&5
14057 printfscip-shell system . . printf. %s "checking for magic_file in -lmagic... " >&6; }
14058 if testscip-shell system . . test. ${ac_cv_lib_magic_magic_file+y}
14059 then :
14060 printfscip-shell system . . printf. %s "(cached) " >&6
14061 else case e in #(
14062 e) ac_check_lib_save_LIBS=$LIBS
14063 LIBS="-lmagic $LIBS"
14064 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14066
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply.
14070 The 'extern "C"' is for builds by C++ compilers;
14071 although this is not generally supported in C code supporting it here
14072 has little cost and some practical benefit (sr 110532). */
14073 #ifdef __cplusplus
14074 extern "C"
14075 #endif
14076 char magic_file (void);
14077 int
14078 main (void)
14079 {
14080 return magic_file ();
14081 ;
14082 return 0;
14083 }
14084 _ACEOF
14085 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
14086 then :
14087 ac_cv_lib_magic_magic_file=yes
14088 else case e in #(
14089 e) ac_cv_lib_magic_magic_file=no ;;
14090 esac
14091 fi
14092 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14093 conftest$ac_exeext conftest.$ac_ext
14094 LIBS=$ac_check_lib_save_LIBS ;;
14095 esac
14096 fi
14097 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_file" >&5
14098 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_magic_magic_file" >&6; }
14099 if testscip-shell system . . test. "x$ac_cv_lib_magic_magic_file" = xyes
14100 then :
14101 MAGIC_LIB=-lmagic
14102 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
14103 if testscip-shell system . . test. "x$ac_cv_header_magic_h" = xyes
14104 then :
14105 printfscip-shell system . . printf. "%s\n" "#define HAVE_MAGIC_H 1" >>confdefs.h
14106
14107 fi
14108
14109 fi
14110
14111 if testscip-shell system . . test. "$ac_cv_func_dlopen" = yes ; then
14112 MAGIC_LIB=$DLOPEN_LIB
14113 fi
14114
14115
14116 # Check whether --with-libarchive was given.
14117 if testscip-shell system . . test. ${with_libarchive+y}
14118 then :
14119 withval=$with_libarchive; if testscip-shell system . . test. "$withval" = "no"
14120 then
14121 try_libarchive=""
14122 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling libarchive support" >&5
14123 printfscip-shell system . . printf. "%s\n" "Disabling libarchive support" >&6; }
14124
14125 printfscip-shell system . . printf. "%s\n" "#define CONFIG_DISABLE_LIBARCHIVE 1" >>confdefs.h
14126
14127 elif testscip-shell system . . test. "$withval" = "direct"
14128 then
14129 try_libarchive="direct"
14130 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Testing for libarchive support (forced direct link)" >&5
14131 printfscip-shell system . . printf. "%s\n" "Testing for libarchive support (forced direct link)" >&6; }
14132 else
14133 try_libarchive="yes"
14134 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Testing for libarchive support (with dlopen)" >&5
14135 printfscip-shell system . . printf. "%s\n" "Testing for libarchive support (with dlopen)" >&6; }
14136 fi
14137
14138 else case e in #(
14139 e)
14140 case "$host_os" in
14141 darwin*)
14142 try_libarchive="direct"
14143 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Try testing for libarchive support (with static linking) by default" >&5
14144 printfscip-shell system . . printf. "%s\n" "Try testing for libarchive support (with static linking) by default" >&6; }
14145 ;;
14146 *)
14147 try_libarchive="yes"
14148 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Try testing for libarchive support (with dlopen) by default" >&5
14149 printfscip-shell system . . printf. "%s\n" "Try testing for libarchive support (with dlopen) by default" >&6; }
14150 ;;
14151 esac
14152 ;;
14153 esac
14154 fi
14155
14156 ARCHIVE_LIBS=
14157 if testscip-shell system . . test. -n "$try_libarchive"
14158 then
14159
14160 pkg_failed=no
14161 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libarchive" >&5
14162 printfscip-shell system . . printf. %s "checking for libarchive... " >&6; }
14163
14164 if testscip-shell system . . test. -n "$ARCHIVE_CFLAGS"; then
14165 pkg_cv_ARCHIVE_CFLAGS="$ARCHIVE_CFLAGS"
14166 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
14167 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14168 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive\""; } >&5
14169 ($PKG_CONFIG --exists --print-errors "libarchive") 2>&5
14170 ac_status=$?
14171 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14172 testscip-shell system . . test. $ac_status = 0; }; then
14173 pkg_cv_ARCHIVE_CFLAGS=`$PKG_CONFIG --cflags "libarchive" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14174 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
14175 else
14176 pkg_failed=yes
14177 fi
14178 else
14179 pkg_failed=untried
14180 fi
14181 if testscip-shell system . . test. -n "$ARCHIVE_LIBS"; then
14182 pkg_cv_ARCHIVE_LIBS="$ARCHIVE_LIBS"
14183 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
14184 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14185 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libarchive\""; } >&5
14186 ($PKG_CONFIG --exists --print-errors "libarchive") 2>&5
14187 ac_status=$?
14188 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14189 testscip-shell system . . test. $ac_status = 0; }; then
14190 pkg_cv_ARCHIVE_LIBS=`$PKG_CONFIG --libs "libarchive" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14191 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
14192 else
14193 pkg_failed=yes
14194 fi
14195 else
14196 pkg_failed=untried
14197 fi
14198
14199
14200
14201 if testscip-shell system . . test. $pkg_failed = yes; then
14202 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14203 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14204
14205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14206 _pkg_short_errors_supported=yes
14207 else
14208 _pkg_short_errors_supported=no
14209 fi
14210 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
14211 ARCHIVE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libarchive" 2>&1`
14212 else
14213 ARCHIVE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libarchive" 2>&1`
14214 fi
14215 # Put the nasty error message in config.log where it belongs
14216 echoscip-shell system . . echo. "$ARCHIVE_PKG_ERRORS" >&5
14217
14218
14219 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archive_read_new in -larchive" >&5
14220 printfscip-shell system . . printf. %s "checking for archive_read_new in -larchive... " >&6; }
14221 if testscip-shell system . . test. ${ac_cv_lib_archive_archive_read_new+y}
14222 then :
14223 printfscip-shell system . . printf. %s "(cached) " >&6
14224 else case e in #(
14225 e) ac_check_lib_save_LIBS=$LIBS
14226 LIBS="-larchive $LIBS"
14227 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14228 /* end confdefs.h. */
14229
14230 /* Override any GCC internal prototype to avoid an error.
14231 Use char because int might match the return type of a GCC
14232 builtin and then its argument prototype would still apply.
14233 The 'extern "C"' is for builds by C++ compilers;
14234 although this is not generally supported in C code supporting it here
14235 has little cost and some practical benefit (sr 110532). */
14236 #ifdef __cplusplus
14237 extern "C"
14238 #endif
14239 char archive_read_new (void);
14240 int
14241 main (void)
14242 {
14243 return archive_read_new ();
14244 ;
14245 return 0;
14246 }
14247 _ACEOF
14248 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
14249 then :
14250 ac_cv_lib_archive_archive_read_new=yes
14251 else case e in #(
14252 e) ac_cv_lib_archive_archive_read_new=no ;;
14253 esac
14254 fi
14255 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14256 conftest$ac_exeext conftest.$ac_ext
14257 LIBS=$ac_check_lib_save_LIBS ;;
14258 esac
14259 fi
14260 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_archive_archive_read_new" >&5
14261 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_archive_archive_read_new" >&6; }
14262 if testscip-shell system . . test. "x$ac_cv_lib_archive_archive_read_new" = xyes
14263 then :
14264 ARCHIVE_LIBS=-larchive
14265 fi
14266
14267
14268 elif testscip-shell system . . test. $pkg_failed = untried; then
14269 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14270 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14271
14272 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archive_read_new in -larchive" >&5
14273 printfscip-shell system . . printf. %s "checking for archive_read_new in -larchive... " >&6; }
14274 if testscip-shell system . . test. ${ac_cv_lib_archive_archive_read_new+y}
14275 then :
14276 printfscip-shell system . . printf. %s "(cached) " >&6
14277 else case e in #(
14278 e) ac_check_lib_save_LIBS=$LIBS
14279 LIBS="-larchive $LIBS"
14280 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282
14283 /* Override any GCC internal prototype to avoid an error.
14284 Use char because int might match the return type of a GCC
14285 builtin and then its argument prototype would still apply.
14286 The 'extern "C"' is for builds by C++ compilers;
14287 although this is not generally supported in C code supporting it here
14288 has little cost and some practical benefit (sr 110532). */
14289 #ifdef __cplusplus
14290 extern "C"
14291 #endif
14292 char archive_read_new (void);
14293 int
14294 main (void)
14295 {
14296 return archive_read_new ();
14297 ;
14298 return 0;
14299 }
14300 _ACEOF
14301 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
14302 then :
14303 ac_cv_lib_archive_archive_read_new=yes
14304 else case e in #(
14305 e) ac_cv_lib_archive_archive_read_new=no ;;
14306 esac
14307 fi
14308 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14309 conftest$ac_exeext conftest.$ac_ext
14310 LIBS=$ac_check_lib_save_LIBS ;;
14311 esac
14312 fi
14313 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_archive_archive_read_new" >&5
14314 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_archive_archive_read_new" >&6; }
14315 if testscip-shell system . . test. "x$ac_cv_lib_archive_archive_read_new" = xyes
14316 then :
14317 ARCHIVE_LIBS=-larchive
14318 fi
14319
14320
14321 else
14322 ARCHIVE_CFLAGS=$pkg_cv_ARCHIVE_CFLAGS
14323 ARCHIVE_LIBS=$pkg_cv_ARCHIVE_LIBS
14324 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14325 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
14326
14327 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: pkg-config found libarchive" >&5
14328 printfscip-shell system . . printf. "%s\n" "pkg-config found libarchive" >&6; }
14329 CFLAGS="$ARCHIVE_CFLAGS $CFLAGS"
14330
14331 fi
14332 if testscip-shell system . . test. -n "$ARCHIVE_LIBS" ; then
14333 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "archive.h" "ac_cv_header_archive_h" "$ac_includes_default"
14334 if testscip-shell system . . test. "x$ac_cv_header_archive_h" = xyes
14335 then :
14336 printfscip-shell system . . printf. "%s\n" "#define HAVE_ARCHIVE_H 1" >>confdefs.h
14337
14338 fi
14339
14340 if testscip-shell system . . test. "$ac_cv_func_dlopen" = yes -a "$try_libarchive" != "direct"; then
14341 ARCHIVE_LIBS=$DLOPEN_LIB
14342
14343 printfscip-shell system . . printf. "%s\n" "#define CONFIG_DLOPEN_LIBARCHIVE 1" >>confdefs.h
14344
14345 fi
14346 fi
14347 if testscip-shell system . . test. "$ac_cv_header_archive_h" != "yes"
14348 then
14349 ARCHIVE_LIBS=
14350 fi
14351 fi
14352
14353 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
14354 printfscip-shell system . . printf. %s "checking for clock_gettime in -lrt... " >&6; }
14355 if testscip-shell system . . test. ${ac_cv_lib_rt_clock_gettime+y}
14356 then :
14357 printfscip-shell system . . printf. %s "(cached) " >&6
14358 else case e in #(
14359 e) ac_check_lib_save_LIBS=$LIBS
14360 LIBS="-lrt $LIBS"
14361 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14363
14364 /* Override any GCC internal prototype to avoid an error.
14365 Use char because int might match the return type of a GCC
14366 builtin and then its argument prototype would still apply.
14367 The 'extern "C"' is for builds by C++ compilers;
14368 although this is not generally supported in C code supporting it here
14369 has little cost and some practical benefit (sr 110532). */
14370 #ifdef __cplusplus
14371 extern "C"
14372 #endif
14373 char clock_gettime (void);
14374 int
14375 main (void)
14376 {
14377 return clock_gettime ();
14378 ;
14379 return 0;
14380 }
14381 _ACEOF
14382 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
14383 then :
14384 ac_cv_lib_rt_clock_gettime=yes
14385 else case e in #(
14386 e) ac_cv_lib_rt_clock_gettime=no ;;
14387 esac
14388 fi
14389 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14390 conftest$ac_exeext conftest.$ac_ext
14391 LIBS=$ac_check_lib_save_LIBS ;;
14392 esac
14393 fi
14394 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
14395 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_rt_clock_gettime" >&6; }
14396 if testscip-shell system . . test. "x$ac_cv_lib_rt_clock_gettime" = xyes
14397 then :
14398 CLOCK_GETTIME_LIB=-lrt
14399 fi
14400
14401
14402 FUSE_CMT=
14403 FUSE_LIB=
14404 # Check whether --enable-fuse2fs was given.
14405 if testscip-shell system . . test. ${enable_fuse2fs+y}
14406 then :
14407 enableval=$enable_fuse2fs; if testscip-shell system . . test. "$enableval" = "no"
14408 then
14409 FUSE_CMT="#"
14410 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Disabling fuse2fs" >&5
14411 printfscip-shell system . . printf. "%s\n" "Disabling fuse2fs" >&6; }
14412 else
14413 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 #ifdef __linux__
14416 #include <linux/fs.h>
14417 #include <linux/falloc.h>
14418 #include <linux/xattr.h>
14419 #endif
14420
14421 int
14422 main (void)
14423 {
14424
14425 ;
14426 return 0;
14427 }
14428 _ACEOF
14429 if ac_fn_c_try_cppscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_cpp(). "$LINENO"
14430 then :
14431
14432 else case e in #(
14433 e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
14434 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
14435 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "Cannot find fuse2fs Linux headers.
14436 See 'config.log' for more details" "$LINENO" 5; } ;;
14437 esac
14438 fi
14439 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
14440
14441 fuse3_CFLAGS
14442 C compiler flags for fuse3, overriding pkg-config
14443 fuse3_LIBS linker flags for fuse3, overriding pkg-config
14444
14445 pkg_failed=no
14446 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fuse3" >&5
14447 printfscip-shell system . . printf. %s "checking for fuse3... " >&6; }
14448
14449 if testscip-shell system . . test. -n "$fuse3_CFLAGS"; then
14450 pkg_cv_fuse3_CFLAGS="$fuse3_CFLAGS"
14451 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
14452 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14453 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse3\""; } >&5
14454 ($PKG_CONFIG --exists --print-errors "fuse3") 2>&5
14455 ac_status=$?
14456 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14457 testscip-shell system . . test. $ac_status = 0; }; then
14458 pkg_cv_fuse3_CFLAGS=`$PKG_CONFIG --cflags "fuse3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14459 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
14460 else
14461 pkg_failed=yes
14462 fi
14463 else
14464 pkg_failed=untried
14465 fi
14466 if testscip-shell system . . test. -n "$fuse3_LIBS"; then
14467 pkg_cv_fuse3_LIBS="$fuse3_LIBS"
14468 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
14469 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14470 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse3\""; } >&5
14471 ($PKG_CONFIG --exists --print-errors "fuse3") 2>&5
14472 ac_status=$?
14473 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14474 testscip-shell system . . test. $ac_status = 0; }; then
14475 pkg_cv_fuse3_LIBS=`$PKG_CONFIG --libs "fuse3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14476 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
14477 else
14478 pkg_failed=yes
14479 fi
14480 else
14481 pkg_failed=untried
14482 fi
14483
14484
14485
14486 if testscip-shell system . . test. $pkg_failed = yes; then
14487 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14488 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14489
14490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14491 _pkg_short_errors_supported=yes
14492 else
14493 _pkg_short_errors_supported=no
14494 fi
14495 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
14496 fuse3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse3" 2>&1`
14497 else
14498 fuse3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse3" 2>&1`
14499 fi
14500 # Put the nasty error message in config.log where it belongs
14501 echoscip-shell system . . echo. "$fuse3_PKG_ERRORS" >&5
14502
14503
14504 for ac_header in pthread.h fuse.h
14505 do :
14506 as_ac_Header=`printfscip-shell system . . printf. "%s\n" "ac_cv_header_$ac_header" | sedscip-shell system . . sed. "$as_sed_sh"`
14507 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
14508 #define FUSE_USE_VERSION 29
14509 "
14510 if eval test \"x\$"$as_ac_Header"\" = x"yes"
14511 then :
14512 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
14513 #define `printfscip-shell system . . printf. "%s\n" "HAVE_$ac_header" | sedscip-shell system . . sed. "$as_sed_cpp"` 1
14514 _ACEOF
14515
14516 else case e in #(
14517 e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
14518 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
14519 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "Cannot find fuse2fs headers.
14520 See 'config.log' for more details" "$LINENO" 5; } ;;
14521 esac
14522 fi
14523
14524 done
14525
14526 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
14527 printfscip-shell system . . printf. %s "checking for fuse_main in -losxfuse... " >&6; }
14528 if testscip-shell system . . test. ${ac_cv_lib_osxfuse_fuse_main+y}
14529 then :
14530 printfscip-shell system . . printf. %s "(cached) " >&6
14531 else case e in #(
14532 e) ac_check_lib_save_LIBS=$LIBS
14533 LIBS="-losxfuse $LIBS"
14534 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14535 /* end confdefs.h. */
14536
14537 /* Override any GCC internal prototype to avoid an error.
14538 Use char because int might match the return type of a GCC
14539 builtin and then its argument prototype would still apply.
14540 The 'extern "C"' is for builds by C++ compilers;
14541 although this is not generally supported in C code supporting it here
14542 has little cost and some practical benefit (sr 110532). */
14543 #ifdef __cplusplus
14544 extern "C"
14545 #endif
14546 char fuse_main (void);
14547 int
14548 main (void)
14549 {
14550 return fuse_main ();
14551 ;
14552 return 0;
14553 }
14554 _ACEOF
14555 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
14556 then :
14557 ac_cv_lib_osxfuse_fuse_main=yes
14558 else case e in #(
14559 e) ac_cv_lib_osxfuse_fuse_main=no ;;
14560 esac
14561 fi
14562 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14563 conftest$ac_exeext conftest.$ac_ext
14564 LIBS=$ac_check_lib_save_LIBS ;;
14565 esac
14566 fi
14567 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
14568 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_osxfuse_fuse_main" >&6; }
14569 if testscip-shell system . . test. "x$ac_cv_lib_osxfuse_fuse_main" = xyes
14570 then :
14571 FUSE_LIB=-losxfuse
14572 else case e in #(
14573 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
14574 printfscip-shell system . . printf. %s "checking for fuse_main in -lfuse... " >&6; }
14575 if testscip-shell system . . test. ${ac_cv_lib_fuse_fuse_main+y}
14576 then :
14577 printfscip-shell system . . printf. %s "(cached) " >&6
14578 else case e in #(
14579 e) ac_check_lib_save_LIBS=$LIBS
14580 LIBS="-lfuse $LIBS"
14581 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14583
14584 /* Override any GCC internal prototype to avoid an error.
14585 Use char because int might match the return type of a GCC
14586 builtin and then its argument prototype would still apply.
14587 The 'extern "C"' is for builds by C++ compilers;
14588 although this is not generally supported in C code supporting it here
14589 has little cost and some practical benefit (sr 110532). */
14590 #ifdef __cplusplus
14591 extern "C"
14592 #endif
14593 char fuse_main (void);
14594 int
14595 main (void)
14596 {
14597 return fuse_main ();
14598 ;
14599 return 0;
14600 }
14601 _ACEOF
14602 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
14603 then :
14604 ac_cv_lib_fuse_fuse_main=yes
14605 else case e in #(
14606 e) ac_cv_lib_fuse_fuse_main=no ;;
14607 esac
14608 fi
14609 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14610 conftest$ac_exeext conftest.$ac_ext
14611 LIBS=$ac_check_lib_save_LIBS ;;
14612 esac
14613 fi
14614 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
14615 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_fuse_fuse_main" >&6; }
14616 if testscip-shell system . . test. "x$ac_cv_lib_fuse_fuse_main" = xyes
14617 then :
14618 FUSE_LIB=-lfuse
14619 else case e in #(
14620 e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
14621 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
14622 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "Cannot find fuse library.
14623 See 'config.log' for more details" "$LINENO" 5; } ;;
14624 esac
14625 fi
14626 ;;
14627 esac
14628 fi
14629
14630
14631 elif testscip-shell system . . test. $pkg_failed = untried; then
14632 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14633 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14634
14635 for ac_header in pthread.h fuse.h
14636 do :
14637 as_ac_Header=`printfscip-shell system . . printf. "%s\n" "ac_cv_header_$ac_header" | sedscip-shell system . . sed. "$as_sed_sh"`
14638 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
14639 #define FUSE_USE_VERSION 29
14640 "
14641 if eval test \"x\$"$as_ac_Header"\" = x"yes"
14642 then :
14643 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
14644 #define `printfscip-shell system . . printf. "%s\n" "HAVE_$ac_header" | sedscip-shell system . . sed. "$as_sed_cpp"` 1
14645 _ACEOF
14646
14647 else case e in #(
14648 e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
14649 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
14650 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "Cannot find fuse2fs headers.
14651 See 'config.log' for more details" "$LINENO" 5; } ;;
14652 esac
14653 fi
14654
14655 done
14656
14657 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
14658 printfscip-shell system . . printf. %s "checking for fuse_main in -losxfuse... " >&6; }
14659 if testscip-shell system . . test. ${ac_cv_lib_osxfuse_fuse_main+y}
14660 then :
14661 printfscip-shell system . . printf. %s "(cached) " >&6
14662 else case e in #(
14663 e) ac_check_lib_save_LIBS=$LIBS
14664 LIBS="-losxfuse $LIBS"
14665 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14667
14668 /* Override any GCC internal prototype to avoid an error.
14669 Use char because int might match the return type of a GCC
14670 builtin and then its argument prototype would still apply.
14671 The 'extern "C"' is for builds by C++ compilers;
14672 although this is not generally supported in C code supporting it here
14673 has little cost and some practical benefit (sr 110532). */
14674 #ifdef __cplusplus
14675 extern "C"
14676 #endif
14677 char fuse_main (void);
14678 int
14679 main (void)
14680 {
14681 return fuse_main ();
14682 ;
14683 return 0;
14684 }
14685 _ACEOF
14686 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
14687 then :
14688 ac_cv_lib_osxfuse_fuse_main=yes
14689 else case e in #(
14690 e) ac_cv_lib_osxfuse_fuse_main=no ;;
14691 esac
14692 fi
14693 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14694 conftest$ac_exeext conftest.$ac_ext
14695 LIBS=$ac_check_lib_save_LIBS ;;
14696 esac
14697 fi
14698 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
14699 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_osxfuse_fuse_main" >&6; }
14700 if testscip-shell system . . test. "x$ac_cv_lib_osxfuse_fuse_main" = xyes
14701 then :
14702 FUSE_LIB=-losxfuse
14703 else case e in #(
14704 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
14705 printfscip-shell system . . printf. %s "checking for fuse_main in -lfuse... " >&6; }
14706 if testscip-shell system . . test. ${ac_cv_lib_fuse_fuse_main+y}
14707 then :
14708 printfscip-shell system . . printf. %s "(cached) " >&6
14709 else case e in #(
14710 e) ac_check_lib_save_LIBS=$LIBS
14711 LIBS="-lfuse $LIBS"
14712 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14714
14715 /* Override any GCC internal prototype to avoid an error.
14716 Use char because int might match the return type of a GCC
14717 builtin and then its argument prototype would still apply.
14718 The 'extern "C"' is for builds by C++ compilers;
14719 although this is not generally supported in C code supporting it here
14720 has little cost and some practical benefit (sr 110532). */
14721 #ifdef __cplusplus
14722 extern "C"
14723 #endif
14724 char fuse_main (void);
14725 int
14726 main (void)
14727 {
14728 return fuse_main ();
14729 ;
14730 return 0;
14731 }
14732 _ACEOF
14733 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
14734 then :
14735 ac_cv_lib_fuse_fuse_main=yes
14736 else case e in #(
14737 e) ac_cv_lib_fuse_fuse_main=no ;;
14738 esac
14739 fi
14740 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14741 conftest$ac_exeext conftest.$ac_ext
14742 LIBS=$ac_check_lib_save_LIBS ;;
14743 esac
14744 fi
14745 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
14746 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_fuse_fuse_main" >&6; }
14747 if testscip-shell system . . test. "x$ac_cv_lib_fuse_fuse_main" = xyes
14748 then :
14749 FUSE_LIB=-lfuse
14750 else case e in #(
14751 e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
14752 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
14753 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "Cannot find fuse library.
14754 See 'config.log' for more details" "$LINENO" 5; } ;;
14755 esac
14756 fi
14757 ;;
14758 esac
14759 fi
14760
14761
14762 else
14763 fuse3_CFLAGS=$pkg_cv_fuse3_CFLAGS
14764 fuse3_LIBS=$pkg_cv_fuse3_LIBS
14765 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14766 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
14767
14768 FUSE_LIB=-lfuse3
14769
14770 fi
14771 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling fuse2fs" >&5
14772 printfscip-shell system . . printf. "%s\n" "Enabling fuse2fs" >&6; }
14773 fi
14774
14775 else case e in #(
14776 e)
14777 pkg_failed=no
14778 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fuse3" >&5
14779 printfscip-shell system . . printf. %s "checking for fuse3... " >&6; }
14780
14781 if testscip-shell system . . test. -n "$fuse3_CFLAGS"; then
14782 pkg_cv_fuse3_CFLAGS="$fuse3_CFLAGS"
14783 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
14784 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14785 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse3\""; } >&5
14786 ($PKG_CONFIG --exists --print-errors "fuse3") 2>&5
14787 ac_status=$?
14788 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14789 testscip-shell system . . test. $ac_status = 0; }; then
14790 pkg_cv_fuse3_CFLAGS=`$PKG_CONFIG --cflags "fuse3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14791 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
14792 else
14793 pkg_failed=yes
14794 fi
14795 else
14796 pkg_failed=untried
14797 fi
14798 if testscip-shell system . . test. -n "$fuse3_LIBS"; then
14799 pkg_cv_fuse3_LIBS="$fuse3_LIBS"
14800 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
14801 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
14802 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse3\""; } >&5
14803 ($PKG_CONFIG --exists --print-errors "fuse3") 2>&5
14804 ac_status=$?
14805 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14806 testscip-shell system . . test. $ac_status = 0; }; then
14807 pkg_cv_fuse3_LIBS=`$PKG_CONFIG --libs "fuse3" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
14808 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
14809 else
14810 pkg_failed=yes
14811 fi
14812 else
14813 pkg_failed=untried
14814 fi
14815
14816
14817
14818 if testscip-shell system . . test. $pkg_failed = yes; then
14819 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14820 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14821
14822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14823 _pkg_short_errors_supported=yes
14824 else
14825 _pkg_short_errors_supported=no
14826 fi
14827 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
14828 fuse3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse3" 2>&1`
14829 else
14830 fuse3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse3" 2>&1`
14831 fi
14832 # Put the nasty error message in config.log where it belongs
14833 echoscip-shell system . . echo. "$fuse3_PKG_ERRORS" >&5
14834
14835
14836 for ac_header in pthread.h fuse.h
14837 do :
14838 as_ac_Header=`printfscip-shell system . . printf. "%s\n" "ac_cv_header_$ac_header" | sedscip-shell system . . sed. "$as_sed_sh"`
14839 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
14840 #define FUSE_USE_VERSION 29
14841 #ifdef __linux__
14842 # include <linux/fs.h>
14843 # include <linux/falloc.h>
14844 # include <linux/xattr.h>
14845 #endif
14846 "
14847 if eval test \"x\$"$as_ac_Header"\" = x"yes"
14848 then :
14849 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
14850 #define `printfscip-shell system . . printf. "%s\n" "HAVE_$ac_header" | sedscip-shell system . . sed. "$as_sed_cpp"` 1
14851 _ACEOF
14852
14853 else case e in #(
14854 e) FUSE_CMT="#" ;;
14855 esac
14856 fi
14857
14858 done
14859 if testscip-shell system . . test. -z "$FUSE_CMT"
14860 then
14861 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
14862 printfscip-shell system . . printf. %s "checking for fuse_main in -losxfuse... " >&6; }
14863 if testscip-shell system . . test. ${ac_cv_lib_osxfuse_fuse_main+y}
14864 then :
14865 printfscip-shell system . . printf. %s "(cached) " >&6
14866 else case e in #(
14867 e) ac_check_lib_save_LIBS=$LIBS
14868 LIBS="-losxfuse $LIBS"
14869 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14871
14872 /* Override any GCC internal prototype to avoid an error.
14873 Use char because int might match the return type of a GCC
14874 builtin and then its argument prototype would still apply.
14875 The 'extern "C"' is for builds by C++ compilers;
14876 although this is not generally supported in C code supporting it here
14877 has little cost and some practical benefit (sr 110532). */
14878 #ifdef __cplusplus
14879 extern "C"
14880 #endif
14881 char fuse_main (void);
14882 int
14883 main (void)
14884 {
14885 return fuse_main ();
14886 ;
14887 return 0;
14888 }
14889 _ACEOF
14890 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
14891 then :
14892 ac_cv_lib_osxfuse_fuse_main=yes
14893 else case e in #(
14894 e) ac_cv_lib_osxfuse_fuse_main=no ;;
14895 esac
14896 fi
14897 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14898 conftest$ac_exeext conftest.$ac_ext
14899 LIBS=$ac_check_lib_save_LIBS ;;
14900 esac
14901 fi
14902 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
14903 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_osxfuse_fuse_main" >&6; }
14904 if testscip-shell system . . test. "x$ac_cv_lib_osxfuse_fuse_main" = xyes
14905 then :
14906 FUSE_LIB=-losxfuse
14907 else case e in #(
14908 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
14909 printfscip-shell system . . printf. %s "checking for fuse_main in -lfuse... " >&6; }
14910 if testscip-shell system . . test. ${ac_cv_lib_fuse_fuse_main+y}
14911 then :
14912 printfscip-shell system . . printf. %s "(cached) " >&6
14913 else case e in #(
14914 e) ac_check_lib_save_LIBS=$LIBS
14915 LIBS="-lfuse $LIBS"
14916 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14918
14919 /* Override any GCC internal prototype to avoid an error.
14920 Use char because int might match the return type of a GCC
14921 builtin and then its argument prototype would still apply.
14922 The 'extern "C"' is for builds by C++ compilers;
14923 although this is not generally supported in C code supporting it here
14924 has little cost and some practical benefit (sr 110532). */
14925 #ifdef __cplusplus
14926 extern "C"
14927 #endif
14928 char fuse_main (void);
14929 int
14930 main (void)
14931 {
14932 return fuse_main ();
14933 ;
14934 return 0;
14935 }
14936 _ACEOF
14937 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
14938 then :
14939 ac_cv_lib_fuse_fuse_main=yes
14940 else case e in #(
14941 e) ac_cv_lib_fuse_fuse_main=no ;;
14942 esac
14943 fi
14944 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
14945 conftest$ac_exeext conftest.$ac_ext
14946 LIBS=$ac_check_lib_save_LIBS ;;
14947 esac
14948 fi
14949 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
14950 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_fuse_fuse_main" >&6; }
14951 if testscip-shell system . . test. "x$ac_cv_lib_fuse_fuse_main" = xyes
14952 then :
14953 FUSE_LIB=-lfuse
14954 else case e in #(
14955 e) FUSE_CMT="#" ;;
14956 esac
14957 fi
14958 ;;
14959 esac
14960 fi
14961
14962 fi
14963
14964 elif testscip-shell system . . test. $pkg_failed = untried; then
14965 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14966 printfscip-shell system . . printf. "%s\n" "no" >&6; }
14967
14968 for ac_header in pthread.h fuse.h
14969 do :
14970 as_ac_Header=`printfscip-shell system . . printf. "%s\n" "ac_cv_header_$ac_header" | sedscip-shell system . . sed. "$as_sed_sh"`
14971 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
14972 #define FUSE_USE_VERSION 29
14973 #ifdef __linux__
14974 # include <linux/fs.h>
14975 # include <linux/falloc.h>
14976 # include <linux/xattr.h>
14977 #endif
14978 "
14979 if eval test \"x\$"$as_ac_Header"\" = x"yes"
14980 then :
14981 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
14982 #define `printfscip-shell system . . printf. "%s\n" "HAVE_$ac_header" | sedscip-shell system . . sed. "$as_sed_cpp"` 1
14983 _ACEOF
14984
14985 else case e in #(
14986 e) FUSE_CMT="#" ;;
14987 esac
14988 fi
14989
14990 done
14991 if testscip-shell system . . test. -z "$FUSE_CMT"
14992 then
14993 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -losxfuse" >&5
14994 printfscip-shell system . . printf. %s "checking for fuse_main in -losxfuse... " >&6; }
14995 if testscip-shell system . . test. ${ac_cv_lib_osxfuse_fuse_main+y}
14996 then :
14997 printfscip-shell system . . printf. %s "(cached) " >&6
14998 else case e in #(
14999 e) ac_check_lib_save_LIBS=$LIBS
15000 LIBS="-losxfuse $LIBS"
15001 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15003
15004 /* Override any GCC internal prototype to avoid an error.
15005 Use char because int might match the return type of a GCC
15006 builtin and then its argument prototype would still apply.
15007 The 'extern "C"' is for builds by C++ compilers;
15008 although this is not generally supported in C code supporting it here
15009 has little cost and some practical benefit (sr 110532). */
15010 #ifdef __cplusplus
15011 extern "C"
15012 #endif
15013 char fuse_main (void);
15014 int
15015 main (void)
15016 {
15017 return fuse_main ();
15018 ;
15019 return 0;
15020 }
15021 _ACEOF
15022 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
15023 then :
15024 ac_cv_lib_osxfuse_fuse_main=yes
15025 else case e in #(
15026 e) ac_cv_lib_osxfuse_fuse_main=no ;;
15027 esac
15028 fi
15029 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15030 conftest$ac_exeext conftest.$ac_ext
15031 LIBS=$ac_check_lib_save_LIBS ;;
15032 esac
15033 fi
15034 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_main" >&5
15035 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_osxfuse_fuse_main" >&6; }
15036 if testscip-shell system . . test. "x$ac_cv_lib_osxfuse_fuse_main" = xyes
15037 then :
15038 FUSE_LIB=-losxfuse
15039 else case e in #(
15040 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fuse_main in -lfuse" >&5
15041 printfscip-shell system . . printf. %s "checking for fuse_main in -lfuse... " >&6; }
15042 if testscip-shell system . . test. ${ac_cv_lib_fuse_fuse_main+y}
15043 then :
15044 printfscip-shell system . . printf. %s "(cached) " >&6
15045 else case e in #(
15046 e) ac_check_lib_save_LIBS=$LIBS
15047 LIBS="-lfuse $LIBS"
15048 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15050
15051 /* Override any GCC internal prototype to avoid an error.
15052 Use char because int might match the return type of a GCC
15053 builtin and then its argument prototype would still apply.
15054 The 'extern "C"' is for builds by C++ compilers;
15055 although this is not generally supported in C code supporting it here
15056 has little cost and some practical benefit (sr 110532). */
15057 #ifdef __cplusplus
15058 extern "C"
15059 #endif
15060 char fuse_main (void);
15061 int
15062 main (void)
15063 {
15064 return fuse_main ();
15065 ;
15066 return 0;
15067 }
15068 _ACEOF
15069 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
15070 then :
15071 ac_cv_lib_fuse_fuse_main=yes
15072 else case e in #(
15073 e) ac_cv_lib_fuse_fuse_main=no ;;
15074 esac
15075 fi
15076 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15077 conftest$ac_exeext conftest.$ac_ext
15078 LIBS=$ac_check_lib_save_LIBS ;;
15079 esac
15080 fi
15081 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_main" >&5
15082 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_fuse_fuse_main" >&6; }
15083 if testscip-shell system . . test. "x$ac_cv_lib_fuse_fuse_main" = xyes
15084 then :
15085 FUSE_LIB=-lfuse
15086 else case e in #(
15087 e) FUSE_CMT="#" ;;
15088 esac
15089 fi
15090 ;;
15091 esac
15092 fi
15093
15094 fi
15095
15096 else
15097 fuse3_CFLAGS=$pkg_cv_fuse3_CFLAGS
15098 fuse3_LIBS=$pkg_cv_fuse3_LIBS
15099 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15100 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15101
15102 FUSE_LIB=-lfuse3
15103
15104 fi
15105 if testscip-shell system . . test. -z "$FUSE_CMT"
15106 then
15107 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Enabling fuse2fs by default." >&5
15108 printfscip-shell system . . printf. "%s\n" "Enabling fuse2fs by default." >&6; }
15109 fi
15110 ;;
15111 esac
15112 fi
15113
15114
15115
15116 if testscip-shell system . . test. "$FUSE_LIB" = "-lfuse3"
15117 then
15118 FUSE_USE_VERSION=35
15119 CFLAGS="$fuse3_CFLAGS $CFLAGS"
15120 FUSE_LIB="$fuse3_LIBS"
15121 for ac_header in pthread.h fuse.h
15122 do :
15123 as_ac_Header=`printfscip-shell system . . printf. "%s\n" "ac_cv_header_$ac_header" | sedscip-shell system . . sed. "$as_sed_sh"`
15124 ac_fn_c_check_header_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_header_compile(). "$LINENO" "$ac_header" "$as_ac_Header" "#define _FILE_OFFSET_BITS 64
15125 #define FUSE_USE_VERSION 35
15126 #ifdef __linux__
15127 #include <linux/fs.h>
15128 #include <linux/falloc.h>
15129 #include <linux/xattr.h>
15130 #endif
15131 "
15132 if eval test \"x\$"$as_ac_Header"\" = x"yes"
15133 then :
15134 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
15135 #define `printfscip-shell system . . printf. "%s\n" "HAVE_$ac_header" | sedscip-shell system . . sed. "$as_sed_cpp"` 1
15136 _ACEOF
15137
15138 else case e in #(
15139 e) { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
15140 printfscip-shell system . . printf. "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
15141 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "Cannot find fuse3 fuse2fs headers.
15142 See 'config.log' for more details" "$LINENO" 5; } ;;
15143 esac
15144 fi
15145
15146 done
15147 elif testscip-shell system . . test. -n "$FUSE_LIB"
15148 then
15149 FUSE_USE_VERSION=29
15150 fi
15151 if testscip-shell system . . test. -n "$FUSE_USE_VERSION"
15152 then
15153
15154 printfscip-shell system . . printf. "%s\n" "#define FUSE_USE_VERSION $FUSE_USE_VERSION" >>confdefs.h
15155
15156 fi
15157 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for optreset" >&5
15158 printfscip-shell system . . printf. %s "checking for optreset... " >&6; }
15159 if testscip-shell system . . test. ${ac_cv_have_optreset+y}
15160 then :
15161 printfscip-shell system . . printf. %s "(cached) " >&6
15162 else case e in #(
15163 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15165 #include <unistd.h>
15166
15167 _ACEOF
15168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15169 $EGREP_TRADITIONAL "optreset" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
15170 then :
15171 ac_cv_have_optreset=yes
15172 else case e in #(
15173 e) ac_cv_have_optreset=no ;;
15174 esac
15175 fi
15176 rmscip-shell system . . rm. -rf conftest*
15177 ;;
15178 esac
15179 fi
15180 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_optreset" >&5
15181 printfscip-shell system . . printf. "%s\n" "$ac_cv_have_optreset" >&6; }
15182 if testscip-shell system . . test. $ac_cv_have_optreset = yes; then
15183
15184 printfscip-shell system . . printf. "%s\n" "#define HAVE_OPTRESET 1" >>confdefs.h
15185
15186 fi
15187
15188 SEM_INIT_LIB=''
15189 echoscip-shell system . . echo. GL_THREADS_API: ${gl_threads_api}
15190 if testscip-shell system . . test. "${gl_threads_api}" != none
15191 then
15192 ac_fn_c_check_funcscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_check_func(). "$LINENO" "sem_init" "ac_cv_func_sem_init"
15193 if testscip-shell system . . test. "x$ac_cv_func_sem_init" = xyes
15194 then :
15195
15196 else case e in #(
15197 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lpthread" >&5
15198 printfscip-shell system . . printf. %s "checking for sem_init in -lpthread... " >&6; }
15199 if testscip-shell system . . test. ${ac_cv_lib_pthread_sem_init+y}
15200 then :
15201 printfscip-shell system . . printf. %s "(cached) " >&6
15202 else case e in #(
15203 e) ac_check_lib_save_LIBS=$LIBS
15204 LIBS="-lpthread $LIBS"
15205 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15207
15208 /* Override any GCC internal prototype to avoid an error.
15209 Use char because int might match the return type of a GCC
15210 builtin and then its argument prototype would still apply.
15211 The 'extern "C"' is for builds by C++ compilers;
15212 although this is not generally supported in C code supporting it here
15213 has little cost and some practical benefit (sr 110532). */
15214 #ifdef __cplusplus
15215 extern "C"
15216 #endif
15217 char sem_init (void);
15218 int
15219 main (void)
15220 {
15221 return sem_init ();
15222 ;
15223 return 0;
15224 }
15225 _ACEOF
15226 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
15227 then :
15228 ac_cv_lib_pthread_sem_init=yes
15229 else case e in #(
15230 e) ac_cv_lib_pthread_sem_init=no ;;
15231 esac
15232 fi
15233 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15234 conftest$ac_exeext conftest.$ac_ext
15235 LIBS=$ac_check_lib_save_LIBS ;;
15236 esac
15237 fi
15238 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_sem_init" >&5
15239 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_pthread_sem_init" >&6; }
15240 if testscip-shell system . . test. "x$ac_cv_lib_pthread_sem_init" = xyes
15241 then :
15242 printfscip-shell system . . printf. "%s\n" "#define HAVE_SEM_INIT 1" >>confdefs.h
15243
15244 SEM_INIT_LIB=-lpthread
15245 else case e in #(
15246 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lrt" >&5
15247 printfscip-shell system . . printf. %s "checking for sem_init in -lrt... " >&6; }
15248 if testscip-shell system . . test. ${ac_cv_lib_rt_sem_init+y}
15249 then :
15250 printfscip-shell system . . printf. %s "(cached) " >&6
15251 else case e in #(
15252 e) ac_check_lib_save_LIBS=$LIBS
15253 LIBS="-lrt $LIBS"
15254 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15255 /* end confdefs.h. */
15256
15257 /* Override any GCC internal prototype to avoid an error.
15258 Use char because int might match the return type of a GCC
15259 builtin and then its argument prototype would still apply.
15260 The 'extern "C"' is for builds by C++ compilers;
15261 although this is not generally supported in C code supporting it here
15262 has little cost and some practical benefit (sr 110532). */
15263 #ifdef __cplusplus
15264 extern "C"
15265 #endif
15266 char sem_init (void);
15267 int
15268 main (void)
15269 {
15270 return sem_init ();
15271 ;
15272 return 0;
15273 }
15274 _ACEOF
15275 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
15276 then :
15277 ac_cv_lib_rt_sem_init=yes
15278 else case e in #(
15279 e) ac_cv_lib_rt_sem_init=no ;;
15280 esac
15281 fi
15282 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15283 conftest$ac_exeext conftest.$ac_ext
15284 LIBS=$ac_check_lib_save_LIBS ;;
15285 esac
15286 fi
15287 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sem_init" >&5
15288 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_rt_sem_init" >&6; }
15289 if testscip-shell system . . test. "x$ac_cv_lib_rt_sem_init" = xyes
15290 then :
15291 printfscip-shell system . . printf. "%s\n" "#define HAVE_SEM_INIT 1" >>confdefs.h
15292
15293 SEM_INIT_LIB=-lrt
15294 else case e in #(
15295 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lposix4" >&5
15296 printfscip-shell system . . printf. %s "checking for sem_init in -lposix4... " >&6; }
15297 if testscip-shell system . . test. ${ac_cv_lib_posix4_sem_init+y}
15298 then :
15299 printfscip-shell system . . printf. %s "(cached) " >&6
15300 else case e in #(
15301 e) ac_check_lib_save_LIBS=$LIBS
15302 LIBS="-lposix4 $LIBS"
15303 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h. */
15305
15306 /* Override any GCC internal prototype to avoid an error.
15307 Use char because int might match the return type of a GCC
15308 builtin and then its argument prototype would still apply.
15309 The 'extern "C"' is for builds by C++ compilers;
15310 although this is not generally supported in C code supporting it here
15311 has little cost and some practical benefit (sr 110532). */
15312 #ifdef __cplusplus
15313 extern "C"
15314 #endif
15315 char sem_init (void);
15316 int
15317 main (void)
15318 {
15319 return sem_init ();
15320 ;
15321 return 0;
15322 }
15323 _ACEOF
15324 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
15325 then :
15326 ac_cv_lib_posix4_sem_init=yes
15327 else case e in #(
15328 e) ac_cv_lib_posix4_sem_init=no ;;
15329 esac
15330 fi
15331 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15332 conftest$ac_exeext conftest.$ac_ext
15333 LIBS=$ac_check_lib_save_LIBS ;;
15334 esac
15335 fi
15336 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sem_init" >&5
15337 printfscip-shell system . . printf. "%s\n" "$ac_cv_lib_posix4_sem_init" >&6; }
15338 if testscip-shell system . . test. "x$ac_cv_lib_posix4_sem_init" = xyes
15339 then :
15340 printfscip-shell system . . printf. "%s\n" "#define HAVE_SEM_INIT 1" >>confdefs.h
15341
15342 SEM_INIT_LIB=-lposix4
15343 fi
15344 ;;
15345 esac
15346 fi
15347 ;;
15348 esac
15349 fi
15350 ;;
15351 esac
15352 fi
15353 fi
15354
15355 if testscip-shell system . . test. "$ac_cv_func_qsort_r" != no
15356 then :
15357
15358 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether qsort_r is GNU version" >&5
15359 printfscip-shell system . . printf. %s "checking whether qsort_r is GNU version... " >&6; }
15360 if testscip-shell system . . test. ${e2_cv_gnu_qsort_r+y}
15361 then :
15362 printfscip-shell system . . printf. %s "(cached) " >&6
15363 else case e in #(
15364 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15366
15367 #include <stdlib.h>
15368 void (qsort_r)(void *base, size_t nmemb, size_t size,
15369 int (*compar)(const void *, const void *, void *),
15370 void *arg);
15371
15372 int
15373 main (void)
15374 {
15375
15376 ;
15377 return 0;
15378 }
15379 _ACEOF
15380 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
15381 then :
15382 e2_cv_gnu_qsort_r=yes
15383 else case e in #(
15384 e) e2_cv_gnu_qsort_r=no ;;
15385 esac
15386 fi
15387 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15388 ;;
15389 esac
15390 fi
15391 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $e2_cv_gnu_qsort_r" >&5
15392 printfscip-shell system . . printf. "%s\n" "$e2_cv_gnu_qsort_r" >&6; }
15393 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether qsort_r is BSD version" >&5
15394 printfscip-shell system . . printf. %s "checking whether qsort_r is BSD version... " >&6; }
15395 if testscip-shell system . . test. ${e2_cv_bsd_qsort_r+y}
15396 then :
15397 printfscip-shell system . . printf. %s "(cached) " >&6
15398 else case e in #(
15399 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15401
15402 #include <stdlib.h>
15403 void (qsort_r)(void *base, size_t nmemb, size_t size,
15404 void *arg, int (*compar)(void *, const void *, const void *));
15405
15406 int
15407 main (void)
15408 {
15409
15410 ;
15411 return 0;
15412 }
15413 _ACEOF
15414 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
15415 then :
15416 e2_cv_bsd_qsort_r=yes
15417 else case e in #(
15418 e) e2_cv_bsd_qsort_r=no ;;
15419 esac
15420 fi
15421 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15422 ;;
15423 esac
15424 fi
15425 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $e2_cv_bsd_qsort_r" >&5
15426 printfscip-shell system . . printf. "%s\n" "$e2_cv_bsd_qsort_r" >&6; }
15427 case "$e2_cv_gnu_qsort_r:$e2_cv_bsd_qsort_r" in #(
15428 yes:no) :
15429
15430
15431 printfscip-shell system . . printf. "%s\n" "#define HAVE_GNU_QSORT_R 1" >>confdefs.h
15432
15433 ;; #(
15434 no:yes) :
15435
15436
15437 printfscip-shell system . . printf. "%s\n" "#define HAVE_BSD_QSORT_R 1" >>confdefs.h
15438
15439 ;; #(
15440 *) :
15441 ;;
15442 esac
15443
15444 fi
15445 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unified diff option" >&5
15446 printfscip-shell system . . printf. %s "checking for unified diff option... " >&6; }
15447 if diffscip-shell system . . diff. -u $0 $0 > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 ; then
15448 UNI_DIFF_OPTS=-u
15449 else
15450 UNI_DIFF_OPTS=-c
15451 fi
15452 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNI_DIFF_OPTS" >&5
15453 printfscip-shell system . . printf. "%s\n" "$UNI_DIFF_OPTS" >&6; }
15454
15455 case "$host_os" in
15456 linux*)
15457
15458 printfscip-shell system . . printf. "%s\n" "#define HAVE_EXT2_IOCTLS 1" >>confdefs.h
15459
15460 ;;
15461 esac
15462
15463 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mount 'nosuid' option" >&5
15464 printfscip-shell system . . printf. %s "checking for mount 'nosuid' option... " >&6; }
15465 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15466 /* end confdefs.h. */
15467
15468 #include <sys/mount.h>
15469 int main(int argc, char **argv) {
15470 void *temp = (void *)(MS_NOSUID);
15471 (void) temp;
15472 return 0;
15473 }
15474
15475 _ACEOF
15476 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
15477 then :
15478
15479
15480 printfscip-shell system . . printf. "%s\n" "#define HAVE_MOUNT_NOSUID 1" >>confdefs.h
15481
15482 ac_cv_mount_nosuid=yes
15483 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15484 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15485 else case e in #(
15486 e)
15487 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15489
15490 #include <sys/mount.h>
15491 int main(int argc, char **argv) {
15492 void *temp = (void *)(MNT_NOSUID);
15493 (void) temp;
15494 return 0;
15495 }
15496
15497 _ACEOF
15498 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
15499 then :
15500
15501
15502 printfscip-shell system . . printf. "%s\n" "#define HAVE_MOUNT_NOSUID 1" >>confdefs.h
15503
15504 ac_cv_mount_nosuid=yes
15505 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15506 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15507 else case e in #(
15508 e)
15509 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15510 printfscip-shell system . . printf. "%s\n" "no" >&6; } ;;
15511 esac
15512 fi
15513 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15514 ;;
15515 esac
15516 fi
15517 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15518
15519
15520 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mount 'nodev' option" >&5
15521 printfscip-shell system . . printf. %s "checking for mount 'nodev' option... " >&6; }
15522 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15523 /* end confdefs.h. */
15524
15525 #include <sys/mount.h>
15526 int main(int argc, char **argv) {
15527 void *temp = (void *)(MS_NODEV);
15528 (void) temp;
15529 return 0;
15530 }
15531
15532 _ACEOF
15533 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
15534 then :
15535
15536
15537 printfscip-shell system . . printf. "%s\n" "#define HAVE_MOUNT_NODEV 1" >>confdefs.h
15538
15539 ac_cv_mount_nodev=yes
15540 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15541 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15542 else case e in #(
15543 e)
15544 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15546
15547 #include <sys/mount.h>
15548 int main(int argc, char **argv) {
15549 void *temp = (void *)(MNT_NODEV);
15550 (void) temp;
15551 return 0;
15552 }
15553
15554 _ACEOF
15555 if ac_fn_c_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_compile(). "$LINENO"
15556 then :
15557
15558
15559 printfscip-shell system . . printf. "%s\n" "#define HAVE_MOUNT_NODEV 1" >>confdefs.h
15560
15561 ac_cv_mount_nodev=yes
15562 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15563 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15564 else case e in #(
15565 e)
15566 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15567 printfscip-shell system . . printf. "%s\n" "no" >&6; } ;;
15568 esac
15569 fi
15570 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15571 ;;
15572 esac
15573 fi
15574 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15575
15576 # Check whether --enable-lto was given.
15577 if testscip-shell system . . test. ${enable_lto+y}
15578 then :
15579 enableval=$enable_lto;
15580 else case e in #(
15581 e) enable_lto=no ;;
15582 esac
15583 fi
15584
15585 if testscip-shell system . . test. "$enable_lto" = "yes" || testscip-shell system . . test. "$enable_lto" = "probe"; then
15586 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports LTO" >&5
15587 printfscip-shell system . . printf. %s "checking if C compiler supports LTO... " >&6; }
15588 OLD_CFLAGS="$CFLAGS"
15589 OLD_LDFLAGS="$LDFLAGS"
15590 LTO_FLAGS="-g -flto -ffat-lto-objects"
15591 CFLAGS="$CFLAGS $LTO_FLAGS"
15592 LDFLAGS="$LDFLAGS $LTO_FLAGS"
15593 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15595
15596 int
15597 main (void)
15598 {
15599
15600 ;
15601 return 0;
15602 }
15603 _ACEOF
15604 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
15605 then :
15606 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15607 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15608 lto_cflags=$LTO_FLAGS
15609 lto_ldflags=$LTO_FLAGS
15610 # Extract the first word of "gcc-ar", so it can be a program name with args.
15611 set dummy gcc-ar; ac_word=$2
15612 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15613 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
15614 if testscip-shell system . . test. ${ac_cv_path_gcc_ar+y}
15615 then :
15616 printfscip-shell system . . printf. %s "(cached) " >&6
15617 else case e in #(
15618 e) case $gcc_ar in
15619 [\\/]* | ?:[\\/]*)
15620 ac_cv_path_gcc_ar="$gcc_ar" # Let the user override the test with a path.
15621 ;;
15622 *)
15623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15624 for as_dir in $PATH
15625 do
15626 IFS=$as_save_IFS
15627 case $as_dir in #(((
15628 '') as_dir=./ ;;
15629 */) ;;
15630 *) as_dir=$as_dir/ ;;
15631 esac
15632 for ac_exec_ext in '' $ac_executable_extensions; do
15633 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
15634 ac_cv_path_gcc_ar="$as_dir$ac_word$ac_exec_ext"
15635 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15636 break 2
15637 fi
15638 done
15639 done
15640 IFS=$as_save_IFS
15641
15642 ;;
15643 esac ;;
15644 esac
15645 fi
15646 gcc_ar=$ac_cv_path_gcc_ar
15647 if testscip-shell system . . test. -n "$gcc_ar"; then
15648 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gcc_ar" >&5
15649 printfscip-shell system . . printf. "%s\n" "$gcc_ar" >&6; }
15650 else
15651 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15652 printfscip-shell system . . printf. "%s\n" "no" >&6; }
15653 fi
15654
15655
15656 # Extract the first word of "gcc-ranlib", so it can be a program name with args.
15657 set dummy gcc-ranlib; ac_word=$2
15658 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15659 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
15660 if testscip-shell system . . test. ${ac_cv_path_gcc_ranlib+y}
15661 then :
15662 printfscip-shell system . . printf. %s "(cached) " >&6
15663 else case e in #(
15664 e) case $gcc_ranlib in
15665 [\\/]* | ?:[\\/]*)
15666 ac_cv_path_gcc_ranlib="$gcc_ranlib" # Let the user override the test with a path.
15667 ;;
15668 *)
15669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15670 for as_dir in $PATH
15671 do
15672 IFS=$as_save_IFS
15673 case $as_dir in #(((
15674 '') as_dir=./ ;;
15675 */) ;;
15676 *) as_dir=$as_dir/ ;;
15677 esac
15678 for ac_exec_ext in '' $ac_executable_extensions; do
15679 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
15680 ac_cv_path_gcc_ranlib="$as_dir$ac_word$ac_exec_ext"
15681 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15682 break 2
15683 fi
15684 done
15685 done
15686 IFS=$as_save_IFS
15687
15688 ;;
15689 esac ;;
15690 esac
15691 fi
15692 gcc_ranlib=$ac_cv_path_gcc_ranlib
15693 if testscip-shell system . . test. -n "$gcc_ranlib"; then
15694 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gcc_ranlib" >&5
15695 printfscip-shell system . . printf. "%s\n" "$gcc_ranlib" >&6; }
15696 else
15697 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15698 printfscip-shell system . . printf. "%s\n" "no" >&6; }
15699 fi
15700
15701
15702 else case e in #(
15703 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15704 printfscip-shell system . . printf. "%s\n" "no" >&6; } ;;
15705 esac
15706 fi
15707 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15708 conftest$ac_exeext conftest.$ac_ext
15709 if testscip-shell system . . test. -x "$gcc_ar" && testscip-shell system . . test. -x "$gcc_ranlib"; then
15710 have_lto=yes
15711 AR="${gcc_ar}"
15712 RANLIB="${gcc_ranlib}"
15713 fi
15714 CFLAGS="${OLD_CFLAGS}"
15715 LDFLAGS="${OLD_LDFLAGS}"
15716
15717
15718
15719 fi
15720 if testscip-shell system . . test. "$enable_lto" = "yes" && testscip-shell system . . test. "$have_lto" != "yes"; then
15721 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "LTO not supported by compiler." "$LINENO" 5
15722 fi
15723 # Check whether --enable-ubsan was given.
15724 if testscip-shell system . . test. ${enable_ubsan+y}
15725 then :
15726 enableval=$enable_ubsan;
15727 else case e in #(
15728 e) enable_ubsan=no ;;
15729 esac
15730 fi
15731
15732 if testscip-shell system . . test. "$enable_ubsan" = "yes" || testscip-shell system . . test. "$enable_ubsan" = "probe"; then
15733 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports UBSAN" >&5
15734 printfscip-shell system . . printf. %s "checking if C compiler supports UBSAN... " >&6; }
15735 OLD_CFLAGS="$CFLAGS"
15736 OLD_LDFLAGS="$LDFLAGS"
15737 UBSAN_FLAGS="-fsanitize=undefined"
15738 CFLAGS="$CFLAGS $UBSAN_FLAGS"
15739 LDFLAGS="$LDFLAGS $UBSAN_FLAGS"
15740 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15742
15743 int
15744 main (void)
15745 {
15746
15747 ;
15748 return 0;
15749 }
15750 _ACEOF
15751 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
15752 then :
15753 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15754 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15755 ubsan_cflags=$UBSAN_FLAGS
15756 ubsan_ldflags=$UBSAN_FLAGS
15757 have_ubsan=yes
15758 else case e in #(
15759 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15760 printfscip-shell system . . printf. "%s\n" "no" >&6; } ;;
15761 esac
15762 fi
15763 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15764 conftest$ac_exeext conftest.$ac_ext
15765 CFLAGS="${OLD_CFLAGS}"
15766 LDFLAGS="${OLD_LDFLAGS}"
15767
15768
15769
15770 fi
15771 if testscip-shell system . . test. "$enable_ubsan" = "yes" && testscip-shell system . . test. "$have_ubsan" != "yes"; then
15772 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "UBSAN not supported by compiler." "$LINENO" 5
15773 fi
15774 # Check whether --enable-addrsan was given.
15775 if testscip-shell system . . test. ${enable_addrsan+y}
15776 then :
15777 enableval=$enable_addrsan;
15778 else case e in #(
15779 e) enable_addrsan=no ;;
15780 esac
15781 fi
15782
15783 if testscip-shell system . . test. "$enable_addrsan" = "yes" || testscip-shell system . . test. "$enable_addrsan" = "probe"; then
15784 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports ADDRSAN" >&5
15785 printfscip-shell system . . printf. %s "checking if C compiler supports ADDRSAN... " >&6; }
15786 OLD_CFLAGS="$CFLAGS"
15787 OLD_LDFLAGS="$LDFLAGS"
15788 ADDRSAN_FLAGS="-fsanitize=address"
15789 CFLAGS="$CFLAGS $ADDRSAN_FLAGS"
15790 LDFLAGS="$LDFLAGS $ADDRSAN_FLAGS"
15791 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15793
15794 int
15795 main (void)
15796 {
15797
15798 ;
15799 return 0;
15800 }
15801 _ACEOF
15802 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
15803 then :
15804 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15805 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15806 addrsan_cflags=$ADDRSAN_FLAGS
15807 addrsan_ldflags=$ADDRSAN_FLAGS
15808 have_addrsan=yes
15809 else case e in #(
15810 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15811 printfscip-shell system . . printf. "%s\n" "no" >&6; } ;;
15812 esac
15813 fi
15814 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15815 conftest$ac_exeext conftest.$ac_ext
15816 CFLAGS="${OLD_CFLAGS}"
15817 LDFLAGS="${OLD_LDFLAGS}"
15818
15819
15820
15821 fi
15822 if testscip-shell system . . test. "$enable_addrsan" = "yes" && testscip-shell system . . test. "$have_addrsan" != "yes"; then
15823 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "ADDRSAN not supported by compiler." "$LINENO" 5
15824 fi
15825 # Check whether --enable-threadsan was given.
15826 if testscip-shell system . . test. ${enable_threadsan+y}
15827 then :
15828 enableval=$enable_threadsan;
15829 else case e in #(
15830 e) enable_threadsan=no ;;
15831 esac
15832 fi
15833
15834 if testscip-shell system . . test. "$enable_threadsan" = "yes" || testscip-shell system . . test. "$enable_threadsan" = "probe"; then
15835 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports THREADSAN" >&5
15836 printfscip-shell system . . printf. %s "checking if C compiler supports THREADSAN... " >&6; }
15837 OLD_CFLAGS="$CFLAGS"
15838 OLD_LDFLAGS="$LDFLAGS"
15839 THREADSAN_FLAGS="-fsanitize=thread"
15840 CFLAGS="$CFLAGS $THREADSAN_FLAGS"
15841 LDFLAGS="$LDFLAGS $THREADSAN_FLAGS"
15842 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
15843 /* end confdefs.h. */
15844
15845 int
15846 main (void)
15847 {
15848
15849 ;
15850 return 0;
15851 }
15852 _ACEOF
15853 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
15854 then :
15855 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15856 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
15857 threadsan_cflags=$THREADSAN_FLAGS
15858 threadsan_ldflags=$THREADSAN_FLAGS
15859 have_threadsan=yes
15860 else case e in #(
15861 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15862 printfscip-shell system . . printf. "%s\n" "no" >&6; } ;;
15863 esac
15864 fi
15865 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
15866 conftest$ac_exeext conftest.$ac_ext
15867 CFLAGS="${OLD_CFLAGS}"
15868 LDFLAGS="${OLD_LDFLAGS}"
15869
15870
15871
15872 fi
15873 if testscip-shell system . . test. "$enable_threadsan" = "yes" && testscip-shell system . . test. "$have_threadsan" != "yes"; then
15874 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "THREADSAN not supported by compiler." "$LINENO" 5
15875 fi
15876 if testscip-shell system . . test. "$have_threadsan" = "yes" && testscip-shell system . . test. "$have_addrsan" = "yes"; then
15877 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ADDRSAN and THREADSAN are not known to work together." >&5
15878 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: ADDRSAN and THREADSAN are not known to work together." >&2;}
15879 fi
15880 FUZZING_CMT="#"
15881 # Check whether --enable-fuzzing was given.
15882 if testscip-shell system . . test. ${enable_fuzzing+y}
15883 then :
15884 enableval=$enable_fuzzing;
15885 else case e in #(
15886 e) enable_fuzzing=no ;;
15887 esac
15888 fi
15889
15890 if testscip-shell system . . test. "$enable_fuzzing" = "yes" || testscip-shell system . . test. "$enable_fuzzing" = "probe"; then
15891
15892
15893
15894
15895
15896
15897 ac_ext=cpp
15898 ac_cpp='$CXXCPP $CPPFLAGS'
15899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15902 if testscip-shell system . . test. -z "$CXX"; then
15903 if testscip-shell system . . test. -n "$CCC"; then
15904 CXX=$CCC
15905 else
15906 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
15907 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
15908 do
15909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15910 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15911 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15912 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
15913 if testscip-shell system . . test. ${ac_cv_prog_CXX+y}
15914 then :
15915 printfscip-shell system . . printf. %s "(cached) " >&6
15916 else case e in #(
15917 e) if testscip-shell system . . test. -n "$CXX"; then
15918 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15919 else
15920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15921 for as_dir in $PATH
15922 do
15923 IFS=$as_save_IFS
15924 case $as_dir in #(((
15925 '') as_dir=./ ;;
15926 */) ;;
15927 *) as_dir=$as_dir/ ;;
15928 esac
15929 for ac_exec_ext in '' $ac_executable_extensions; do
15930 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
15931 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15932 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15933 break 2
15934 fi
15935 done
15936 done
15937 IFS=$as_save_IFS
15938
15939 fi ;;
15940 esac
15941 fi
15942 CXX=$ac_cv_prog_CXX
15943 if testscip-shell system . . test. -n "$CXX"; then
15944 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
15945 printfscip-shell system . . printf. "%s\n" "$CXX" >&6; }
15946 else
15947 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15948 printfscip-shell system . . printf. "%s\n" "no" >&6; }
15949 fi
15950
15951
15952 testscip-shell system . . test. -n "$CXX" && break
15953 done
15954 fi
15955 if testscip-shell system . . test. -z "$CXX"; then
15956 ac_ct_CXX=$CXX
15957 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
15958 do
15959 # Extract the first word of "$ac_prog", so it can be a program name with args.
15960 set dummy $ac_prog; ac_word=$2
15961 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15962 printfscip-shell system . . printf. %s "checking for $ac_word... " >&6; }
15963 if testscip-shell system . . test. ${ac_cv_prog_ac_ct_CXX+y}
15964 then :
15965 printfscip-shell system . . printf. %s "(cached) " >&6
15966 else case e in #(
15967 e) if testscip-shell system . . test. -n "$ac_ct_CXX"; then
15968 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15969 else
15970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15971 for as_dir in $PATH
15972 do
15973 IFS=$as_save_IFS
15974 case $as_dir in #(((
15975 '') as_dir=./ ;;
15976 */) ;;
15977 *) as_dir=$as_dir/ ;;
15978 esac
15979 for ac_exec_ext in '' $ac_executable_extensions; do
15980 if as_fn_executable_pscip-shell shell e2fsprogs 1.47.4-1 as_fn_executable_p(). "$as_dir$ac_word$ac_exec_ext"; then
15981 ac_cv_prog_ac_ct_CXX="$ac_prog"
15982 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15983 break 2
15984 fi
15985 done
15986 done
15987 IFS=$as_save_IFS
15988
15989 fi ;;
15990 esac
15991 fi
15992 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15993 if testscip-shell system . . test. -n "$ac_ct_CXX"; then
15994 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15995 printfscip-shell system . . printf. "%s\n" "$ac_ct_CXX" >&6; }
15996 else
15997 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15998 printfscip-shell system . . printf. "%s\n" "no" >&6; }
15999 fi
16000
16001
16002 testscip-shell system . . test. -n "$ac_ct_CXX" && break
16003 done
16004
16005 if testscip-shell system . . test. "x$ac_ct_CXX" = x; then
16006 CXX="g++"
16007 else
16008 case $cross_compiling:$ac_tool_warned in
16009 yes:)
16010 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16011 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16012 ac_tool_warned=yes ;;
16013 esac
16014 CXX=$ac_ct_CXX
16015 fi
16016 fi
16017
16018 fi
16019 fi
16020 # Provide some information about the compiler.
16021 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
16022 set X $ac_compile
16023 ac_compiler=$2
16024 for ac_option in --version -v -V -qversion; do
16025 { { ac_try="$ac_compiler $ac_option >&5"
16026 case "(($ac_try" in
16027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16028 *) ac_try_echo=$ac_try;;
16029 esac
16030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16031 printfscip-shell system . . printf. "%s\n" "$ac_try_echo"; } >&5
16032 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16033 ac_status=$?
16034 if testscip-shell system . . test. -s conftest.err; then
16035 sedscip-shell system . . sed. '10a\
16036 ... rest of stderr output deleted ...
16037 10q' conftest.err >conftest.er1
16038 catscip-shell system . . cat. conftest.er1 >&5
16039 fi
16040 rmscip-shell system . . rm. -f conftest.er1 conftest.err
16041 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16042 testscip-shell system . . test. $ac_status = 0; }
16043 done
16044
16045 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
16046 printfscip-shell system . . printf. %s "checking whether the compiler supports GNU C++... " >&6; }
16047 if testscip-shell system . . test. ${ac_cv_cxx_compiler_gnu+y}
16048 then :
16049 printfscip-shell system . . printf. %s "(cached) " >&6
16050 else case e in #(
16051 e) catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16052 /* end confdefs.h. */
16053
16054 int
16055 main (void)
16056 {
16057 #ifndef __GNUC__
16058 choke me
16059 #endif
16060
16061 ;
16062 return 0;
16063 }
16064 _ACEOF
16065 if ac_fn_cxx_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_cxx_try_compile(). "$LINENO"
16066 then :
16067 ac_compiler_gnu=yes
16068 else case e in #(
16069 e) ac_compiler_gnu=no ;;
16070 esac
16071 fi
16072 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16073 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16074 ;;
16075 esac
16076 fi
16077 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16078 printfscip-shell system . . printf. "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
16079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16080
16081 if testscip-shell system . . test. $ac_compiler_gnu = yes; then
16082 GXX=yes
16083 else
16084 GXX=
16085 fi
16086 ac_test_CXXFLAGS=${CXXFLAGS+y}
16087 ac_save_CXXFLAGS=$CXXFLAGS
16088 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16089 printfscip-shell system . . printf. %s "checking whether $CXX accepts -g... " >&6; }
16090 if testscip-shell system . . test. ${ac_cv_prog_cxx_g+y}
16091 then :
16092 printfscip-shell system . . printf. %s "(cached) " >&6
16093 else case e in #(
16094 e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16095 ac_cxx_werror_flag=yes
16096 ac_cv_prog_cxx_g=no
16097 CXXFLAGS="-g"
16098 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16099 /* end confdefs.h. */
16100
16101 int
16102 main (void)
16103 {
16104
16105 ;
16106 return 0;
16107 }
16108 _ACEOF
16109 if ac_fn_cxx_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_cxx_try_compile(). "$LINENO"
16110 then :
16111 ac_cv_prog_cxx_g=yes
16112 else case e in #(
16113 e) CXXFLAGS=""
16114 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16115 /* end confdefs.h. */
16116
16117 int
16118 main (void)
16119 {
16120
16121 ;
16122 return 0;
16123 }
16124 _ACEOF
16125 if ac_fn_cxx_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_cxx_try_compile(). "$LINENO"
16126 then :
16127
16128 else case e in #(
16129 e) ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16130 CXXFLAGS="-g"
16131 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16133
16134 int
16135 main (void)
16136 {
16137
16138 ;
16139 return 0;
16140 }
16141 _ACEOF
16142 if ac_fn_cxx_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_cxx_try_compile(). "$LINENO"
16143 then :
16144 ac_cv_prog_cxx_g=yes
16145 fi
16146 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
16147 esac
16148 fi
16149 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
16150 esac
16151 fi
16152 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16153 ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;;
16154 esac
16155 fi
16156 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
16157 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_g" >&6; }
16158 if testscip-shell system . . test. $ac_test_CXXFLAGS; then
16159 CXXFLAGS=$ac_save_CXXFLAGS
16160 elif testscip-shell system . . test. $ac_cv_prog_cxx_g = yes; then
16161 if testscip-shell system . . test. "$GXX" = yes; then
16162 CXXFLAGS="-g -O2"
16163 else
16164 CXXFLAGS="-g"
16165 fi
16166 else
16167 if testscip-shell system . . test. "$GXX" = yes; then
16168 CXXFLAGS="-O2"
16169 else
16170 CXXFLAGS=
16171 fi
16172 fi
16173 ac_prog_cxx_stdcxx=no
16174 if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno
16175 then :
16176 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
16177 printfscip-shell system . . printf. %s "checking for $CXX option to enable C++11 features... " >&6; }
16178 if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx11+y}
16179 then :
16180 printfscip-shell system . . printf. %s "(cached) " >&6
16181 else case e in #(
16182 e) ac_cv_prog_cxx_cxx11=no
16183 ac_save_CXX=$CXX
16184 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16185 /* end confdefs.h. */
16186 $ac_cxx_conftest_cxx11_program
16187 _ACEOF
16188 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
16189 do
16190 CXX="$ac_save_CXX $ac_arg"
16191 if ac_fn_cxx_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_cxx_try_compile(). "$LINENO"
16192 then :
16193 ac_cv_prog_cxx_cxx11=$ac_arg
16194 fi
16195 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
16196 testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" != "xno" && break
16197 done
16198 rmscip-shell system . . rm. -f conftest.$ac_ext
16199 CXX=$ac_save_CXX ;;
16200 esac
16201 fi
16202
16203 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = xno
16204 then :
16205 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16206 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
16207 else case e in #(
16208 e) if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx11" = x
16209 then :
16210 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16211 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
16212 else case e in #(
16213 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
16214 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
16215 CXX="$CXX $ac_cv_prog_cxx_cxx11" ;;
16216 esac
16217 fi
16218 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
16219 ac_prog_cxx_stdcxx=cxx11 ;;
16220 esac
16221 fi
16222 fi
16223 if testscip-shell system . . test. x$ac_prog_cxx_stdcxx = xno
16224 then :
16225 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
16226 printfscip-shell system . . printf. %s "checking for $CXX option to enable C++98 features... " >&6; }
16227 if testscip-shell system . . test. ${ac_cv_prog_cxx_cxx98+y}
16228 then :
16229 printfscip-shell system . . printf. %s "(cached) " >&6
16230 else case e in #(
16231 e) ac_cv_prog_cxx_cxx98=no
16232 ac_save_CXX=$CXX
16233 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16235 $ac_cxx_conftest_cxx98_program
16236 _ACEOF
16237 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
16238 do
16239 CXX="$ac_save_CXX $ac_arg"
16240 if ac_fn_cxx_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_cxx_try_compile(). "$LINENO"
16241 then :
16242 ac_cv_prog_cxx_cxx98=$ac_arg
16243 fi
16244 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam
16245 testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" != "xno" && break
16246 done
16247 rmscip-shell system . . rm. -f conftest.$ac_ext
16248 CXX=$ac_save_CXX ;;
16249 esac
16250 fi
16251
16252 if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = xno
16253 then :
16254 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16255 printfscip-shell system . . printf. "%s\n" "unsupported" >&6; }
16256 else case e in #(
16257 e) if testscip-shell system . . test. "x$ac_cv_prog_cxx_cxx98" = x
16258 then :
16259 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16260 printfscip-shell system . . printf. "%s\n" "none needed" >&6; }
16261 else case e in #(
16262 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
16263 printfscip-shell system . . printf. "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
16264 CXX="$CXX $ac_cv_prog_cxx_cxx98" ;;
16265 esac
16266 fi
16267 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
16268 ac_prog_cxx_stdcxx=cxx98 ;;
16269 esac
16270 fi
16271 fi
16272
16273 ac_ext=c
16274 ac_cpp='$CPP $CPPFLAGS'
16275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16278
16279 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler supports fuzzing sanitizer" >&5
16280 printfscip-shell system . . printf. %s "checking if C compiler supports fuzzing sanitizer... " >&6; }
16281 ac_ext=cpp
16282 ac_cpp='$CXXCPP $CPPFLAGS'
16283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16286
16287 OLD_CXXFLAGS="$CXXFLAGS"
16288 OLD_LDFLAGS="$LDFLAGS"
16289 FUZZER_FLAGS="-fsanitize=fuzzer"
16290 CXXFLAGS="$CXXFLAGS $FUZZER_FLAGS"
16291 LDFLAGS="$LDFLAGS $FUZZER_FLAGS"
16292
16293 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16294 /* end confdefs.h. */
16295
16296 #include <stddef.h>
16297 #include <stdint.h>
16298
16299 int
16300 main (void)
16301 {
16302 return 0;
16303 ;
16304 return 0;
16305 }
16306 _ACEOF
16307 if ac_fn_cxx_try_compilescip-shell shell e2fsprogs 1.47.4-1 ac_fn_cxx_try_compile(). "$LINENO"
16308 then :
16309 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16310 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
16311 fuzzer_cflags=$FUZZER_FLAGS
16312 fuzzer_ldflags=$FUZZER_FLAGS
16313 FUZZING_CMT=
16314 have_fuzzer=yes
16315 else case e in #(
16316 e) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16317 printfscip-shell system . . printf. "%s\n" "no" >&6; }
16318 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "fuzzing requested but not available" "$LINENO" 5 ;;
16319 esac
16320 fi
16321 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16322 CXXFLAGS="${OLD_CXXFLAGS}"
16323 LDFLAGS="${OLD_LDFLAGS}"
16324 ac_ext=c
16325 ac_cpp='$CPP $CPPFLAGS'
16326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16329
16330
16331
16332
16333 fi
16334
16335 LINUX_CMT="#"
16336 CYGWIN_CMT="#"
16337 UNIX_CMT=
16338 case "$host_os" in
16339 linux*)
16340 LINUX_CMT=
16341 ;;
16342 cygwin)
16343 CYGWIN_CMT=
16344 UNIX_CMT="#"
16345 ;;
16346 esac
16347
16348
16349
16350 E2SCRUB_CMT="$LINUX_CMT"
16351
16352 case "$host_os" in
16353 linux* | gnu* | k*bsd*-gnu)
16354 if testscip-shell system . . test. "$prefix" = NONE -a "$root_prefix" = NONE ; then
16355 root_prefix="";
16356 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, root_prefix defaults to ''" >&5
16357 printfscip-shell system . . printf. "%s\n" "On $host_os systems, root_prefix defaults to ''" >&6; }
16358 fi
16359 ;;
16360 esac
16361 case "$host_os" in
16362 linux* | gnu* | k*bsd*-gnu)
16363 if testscip-shell system . . test. "$prefix" = NONE ; then
16364 prefix="/usrscip-shell filesystem . . `/usr`.";
16365 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: On $host_os systems, prefix defaults to /usr" >&5
16366 printfscip-shell system . . printf. "%s\n" "On $host_os systems, prefix defaults to /usr" >&6; }
16367 if testscip-shell system . . test. "$mandir" = '${prefix}/man' ; then
16368 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ...and mandir defaults to /usr/share/man" >&5
16369 printfscip-shell system . . printf. "%s\n" "...and mandir defaults to /usr/share/man" >&6; }
16370 mandir=/usr/share/manscip-shell filesystem . . `/usr/share/man`.
16371 fi
16372 fi
16373 ;;
16374 esac
16375 if testscip-shell system . . test. "$root_prefix" = NONE ; then
16376 if testscip-shell system . . test. "$prefix" = NONE ; then
16377 root_prefix="$ac_default_prefix"
16378 else
16379 root_prefix="$prefix"
16380 fi
16381 root_bindir=$bindir
16382 root_sbindir=$sbindir
16383 root_libdir=$libdir
16384 root_sysconfdir=$sysconfdir
16385 else
16386 root_bindir='${root_prefix}/bin'
16387 root_sbindir='${root_prefix}/sbin'
16388 root_libdir='${root_prefix}/lib'
16389 root_sysconfdir='${root_prefix}/etc'
16390 fi
16391 if testscip-shell system . . test. "$bindir" != '${exec_prefix}/bin'; then
16392 root_bindir=$bindir
16393 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Setting root_bindir to $root_bindir" >&5
16394 printfscip-shell system . . printf. "%s\n" "Setting root_bindir to $root_bindir" >&6; }
16395 fi
16396 if testscip-shell system . . test. "$sbindir" != '${exec_prefix}/sbin'; then
16397 root_sbindir=$sbindir
16398 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Setting root_sbindir to $root_sbindir" >&5
16399 printfscip-shell system . . printf. "%s\n" "Setting root_sbindir to $root_sbindir" >&6; }
16400 fi
16401 if testscip-shell system . . test. "$libdir" != '${exec_prefix}/lib'; then
16402 root_libdir=$libdir
16403 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Setting root_libdir to $root_libdir" >&5
16404 printfscip-shell system . . printf. "%s\n" "Setting root_libdir to $root_libdir" >&6; }
16405 fi
16406 if testscip-shell system . . test. "$sysconfdir" != '${prefix}/etc'; then
16407 root_sysconfdir=$sysconfdir
16408 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Setting root_sysconfdir to $root_sysconfdir" >&5
16409 printfscip-shell system . . printf. "%s\n" "Setting root_sysconfdir to $root_sysconfdir" >&6; }
16410 fi
16411
16412
16413
16414
16415
16416
16417 # Check whether --with-multiarch was given.
16418 if testscip-shell system . . test. ${with_multiarch+y}
16419 then :
16420 withval=$with_multiarch; if testscip-shell system . . test. "$withval" = "lib64"; then
16421 libdir=/usr/lib64scip-shell filesystem . . `/usr/lib64`.
16422 root_libdir=/lib64scip-shell filesystem . . `/lib64`.
16423 else
16424 libdir=$libdir/$withval
16425 root_libdir=$root_libdir/$withval
16426 fi
16427
16428 fi
16429
16430 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can link with -static" >&5
16431 printfscip-shell system . . printf. %s "checking whether we can link with -static... " >&6; }
16432 if testscip-shell system . . test. ${ac_cv_e2fsprogs_use_static+y}
16433 then :
16434 printfscip-shell system . . printf. %s "(cached) " >&6
16435 else case e in #(
16436 e) SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS_STATIC -static"
16437 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16438 /* end confdefs.h. */
16439 #include <stdio.h>
16440 int
16441 main (void)
16442 {
16443 fflush(stdout);
16444 ;
16445 return 0;
16446 }
16447 _ACEOF
16448 if ac_fn_c_try_linkscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_link(). "$LINENO"
16449 then :
16450 ac_cv_e2fsprogs_use_static=yes
16451 else case e in #(
16452 e) ac_cv_e2fsprogs_use_static=no ;;
16453 esac
16454 fi
16455 rmscip-shell system . . rm. -f core conftest.err conftest.$ac_objext conftest.beam \
16456 conftest$ac_exeext conftest.$ac_ext
16457 LDFLAGS=$SAVE_LDFLAGS ;;
16458 esac
16459 fi
16460
16461 case "$host_os" in
16462 solaris2.*)
16463 ac_cv_e2fsprogs_use_static=no
16464 ;;
16465 esac
16466 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_e2fsprogs_use_static" >&5
16467 printfscip-shell system . . printf. "%s\n" "$ac_cv_e2fsprogs_use_static" >&6; }
16468 if testscip-shell system . . test. $ac_cv_e2fsprogs_use_static = yes; then
16469 LDFLAGS_STATIC="$LDFLAGS_STATIC -static"
16470 fi
16471
16472 case "$host_os" in
16473 darwin*)
16474 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using Apple Darwin / GNU libintl workaround" >&5
16475 printfscip-shell system . . printf. "%s\n" "Using Apple Darwin / GNU libintl workaround" >&6; }
16476
16477 printfscip-shell system . . printf. "%s\n" "#define _INTL_REDIRECT_MACROS 1" >>confdefs.h
16478
16479 ;;
16480 esac
16481 if testscip-shell system . . test. "$cross_compiling" = yes ; then
16482 DO_TEST_SUITE=
16483 else
16484 DO_TEST_SUITE=check
16485 fi
16486
16487 INCLUDES='-I. -I$(top_builddir)/lib -I$(top_srcdir)/lib'
16488 if testscip-shell system . . test. -n "$CPPFLAGS" ; then
16489 INCLUDES="$INCLUDES $CPPFLAGS"
16490 fi
16491 if testscip-shell system . . test. "$USE_INCLUDED_LIBINTL" = "yes" ; then
16492 INCLUDES=$INCLUDES' -I$(top_builddir)/intl -I$(top_srcdir)/intl'
16493 fi
16494 if testscip-shell system . . test. -n "$WITH_DIET_LIBC" ; then
16495 INCLUDES="$INCLUDES -D_REENTRANT"
16496 fi
16497 case "$host_os" in
16498 mingw*)
16499 INCLUDES=$INCLUDES' -I$(top_srcdir)/include/mingw'
16500 ;;
16501 esac
16502
16503 if testscip-shell system . . test. $cross_compiling = no; then
16504 BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H"
16505 BUILD_LDFLAGS="$LDFLAGS"
16506 fi
16507
16508
16509 CFLAGS_SHLIB=${CFLAGS_SHLIB:-$CFLAGS}
16510 CFLAGS_STLIB=${CFLAGS_STLIB:-$CFLAGS}
16511 LDFLAGS_SHLIB=${LDFLAGS_SHLIB:-$LDFLAGS}
16512
16513
16514
16515
16516
16517 # Check whether --with-udev_rules_dir was given.
16518 if testscip-shell system . . test. ${with_udev_rules_dir+y}
16519 then :
16520 withval=$with_udev_rules_dir;
16521 else case e in #(
16522 e) with_udev_rules_dir=yes ;;
16523 esac
16524 fi
16525
16526 if testscip-shell system . . test. "x${with_udev_rules_dir}" != "xno"
16527 then :
16528
16529 if testscip-shell system . . test. "x${with_udev_rules_dir}" = "xyes"
16530 then :
16531
16532
16533 pkg_failed=no
16534 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev" >&5
16535 printfscip-shell system . . printf. %s "checking for udev... " >&6; }
16536
16537 if testscip-shell system . . test. -n "$udev_CFLAGS"; then
16538 pkg_cv_udev_CFLAGS="$udev_CFLAGS"
16539 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
16540 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
16541 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udev\""; } >&5
16542 ($PKG_CONFIG --exists --print-errors "udev") 2>&5
16543 ac_status=$?
16544 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16545 testscip-shell system . . test. $ac_status = 0; }; then
16546 pkg_cv_udev_CFLAGS=`$PKG_CONFIG --cflags "udev" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
16547 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
16548 else
16549 pkg_failed=yes
16550 fi
16551 else
16552 pkg_failed=untried
16553 fi
16554 if testscip-shell system . . test. -n "$udev_LIBS"; then
16555 pkg_cv_udev_LIBS="$udev_LIBS"
16556 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
16557 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
16558 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"udev\""; } >&5
16559 ($PKG_CONFIG --exists --print-errors "udev") 2>&5
16560 ac_status=$?
16561 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16562 testscip-shell system . . test. $ac_status = 0; }; then
16563 pkg_cv_udev_LIBS=`$PKG_CONFIG --libs "udev" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
16564 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
16565 else
16566 pkg_failed=yes
16567 fi
16568 else
16569 pkg_failed=untried
16570 fi
16571
16572
16573
16574 if testscip-shell system . . test. $pkg_failed = yes; then
16575 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16576 printfscip-shell system . . printf. "%s\n" "no" >&6; }
16577
16578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16579 _pkg_short_errors_supported=yes
16580 else
16581 _pkg_short_errors_supported=no
16582 fi
16583 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
16584 udev_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "udev" 2>&1`
16585 else
16586 udev_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "udev" 2>&1`
16587 fi
16588 # Put the nasty error message in config.log where it belongs
16589 echoscip-shell system . . echo. "$udev_PKG_ERRORS" >&5
16590
16591
16592 with_udev_rules_dir=""
16593
16594 elif testscip-shell system . . test. $pkg_failed = untried; then
16595 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16596 printfscip-shell system . . printf. "%s\n" "no" >&6; }
16597
16598 with_udev_rules_dir=""
16599
16600 else
16601 udev_CFLAGS=$pkg_cv_udev_CFLAGS
16602 udev_LIBS=$pkg_cv_udev_LIBS
16603 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16604 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
16605
16606 with_udev_rules_dir="$($PKG_CONFIG --variable=udevdir udev)/rules.d"
16607
16608 fi
16609
16610 fi
16611 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev rules dir" >&5
16612 printfscip-shell system . . printf. %s "checking for udev rules dir... " >&6; }
16613 pkg_udev_rules_dir="${with_udev_rules_dir}"
16614 if testscip-shell system . . test. -n "${pkg_udev_rules_dir}"
16615 then :
16616
16617 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${pkg_udev_rules_dir}" >&5
16618 printfscip-shell system . . printf. "%s\n" "${pkg_udev_rules_dir}" >&6; }
16619 have_udev="yes"
16620
16621 else case e in #(
16622 e)
16623 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16624 printfscip-shell system . . printf. "%s\n" "no" >&6; }
16625 have_udev="no"
16626 ;;
16627 esac
16628 fi
16629
16630 else case e in #(
16631 e)
16632 have_udev="disabled"
16633 ;;
16634 esac
16635 fi
16636
16637
16638
16639
16640 # Check whether --with-crond_dir was given.
16641 if testscip-shell system . . test. ${with_crond_dir+y}
16642 then :
16643 withval=$with_crond_dir;
16644 else case e in #(
16645 e) with_crond_dir=yes ;;
16646 esac
16647 fi
16648
16649 if testscip-shell system . . test. "x${with_crond_dir}" != "xno"
16650 then :
16651
16652 if testscip-shell system . . test. "x${with_crond_dir}" = "xyes"
16653 then :
16654
16655 if testscip-shell system . . test. -d "/etc/cron.dscip-shell filesystem . . `/etc/cron.d`."
16656 then :
16657 with_crond_dir="/etc/cron.dscip-shell filesystem . . `/etc/cron.d`."
16658 else case e in #(
16659 e) have_crond="no"; with_crond_dir="" ;;
16660 esac
16661 fi
16662
16663 fi
16664 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for system crontab dir" >&5
16665 printfscip-shell system . . printf. %s "checking for system crontab dir... " >&6; }
16666 crond_dir="${with_crond_dir}"
16667 if testscip-shell system . . test. -n "${crond_dir}"
16668 then :
16669
16670 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${crond_dir}" >&5
16671 printfscip-shell system . . printf. "%s\n" "${crond_dir}" >&6; }
16672 have_crond="yes"
16673
16674 else case e in #(
16675 e)
16676 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16677 printfscip-shell system . . printf. "%s\n" "no" >&6; }
16678 have_crond="no"
16679 ;;
16680 esac
16681 fi
16682
16683 else case e in #(
16684 e)
16685 have_crond="disabled"
16686 ;;
16687 esac
16688 fi
16689
16690
16691
16692
16693 # Check whether --with-systemd_unit_dir was given.
16694 if testscip-shell system . . test. ${with_systemd_unit_dir+y}
16695 then :
16696 withval=$with_systemd_unit_dir;
16697 else case e in #(
16698 e) with_systemd_unit_dir=yes ;;
16699 esac
16700 fi
16701
16702 if testscip-shell system . . test. "x${with_systemd_unit_dir}" != "xno"
16703 then :
16704
16705 if testscip-shell system . . test. "x${with_systemd_unit_dir}" = "xyes"
16706 then :
16707
16708
16709 pkg_failed=no
16710 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for systemd" >&5
16711 printfscip-shell system . . printf. %s "checking for systemd... " >&6; }
16712
16713 if testscip-shell system . . test. -n "$systemd_CFLAGS"; then
16714 pkg_cv_systemd_CFLAGS="$systemd_CFLAGS"
16715 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
16716 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
16717 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
16718 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
16719 ac_status=$?
16720 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16721 testscip-shell system . . test. $ac_status = 0; }; then
16722 pkg_cv_systemd_CFLAGS=`$PKG_CONFIG --cflags "systemd" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
16723 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
16724 else
16725 pkg_failed=yes
16726 fi
16727 else
16728 pkg_failed=untried
16729 fi
16730 if testscip-shell system . . test. -n "$systemd_LIBS"; then
16731 pkg_cv_systemd_LIBS="$systemd_LIBS"
16732 elif testscip-shell system . . test. -n "$PKG_CONFIG"; then
16733 if testscip-shell system . . test. -n "$PKG_CONFIG" && \
16734 { { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5
16735 ($PKG_CONFIG --exists --print-errors "systemd") 2>&5
16736 ac_status=$?
16737 printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16738 testscip-shell system . . test. $ac_status = 0; }; then
16739 pkg_cv_systemd_LIBS=`$PKG_CONFIG --libs "systemd" 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
16740 testscip-shell system . . test. "x$?" != "x0" && pkg_failed=yes
16741 else
16742 pkg_failed=yes
16743 fi
16744 else
16745 pkg_failed=untried
16746 fi
16747
16748
16749
16750 if testscip-shell system . . test. $pkg_failed = yes; then
16751 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16752 printfscip-shell system . . printf. "%s\n" "no" >&6; }
16753
16754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16755 _pkg_short_errors_supported=yes
16756 else
16757 _pkg_short_errors_supported=no
16758 fi
16759 if testscip-shell system . . test. $_pkg_short_errors_supported = yes; then
16760 systemd_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "systemd" 2>&1`
16761 else
16762 systemd_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "systemd" 2>&1`
16763 fi
16764 # Put the nasty error message in config.log where it belongs
16765 echoscip-shell system . . echo. "$systemd_PKG_ERRORS" >&5
16766
16767
16768 with_systemd_unit_dir=""
16769
16770 elif testscip-shell system . . test. $pkg_failed = untried; then
16771 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16772 printfscip-shell system . . printf. "%s\n" "no" >&6; }
16773
16774 with_systemd_unit_dir=""
16775
16776 else
16777 systemd_CFLAGS=$pkg_cv_systemd_CFLAGS
16778 systemd_LIBS=$pkg_cv_systemd_LIBS
16779 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16780 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
16781
16782 with_systemd_unit_dir="$($PKG_CONFIG --variable=systemdsystemunitdir systemd)"
16783
16784 fi
16785
16786
16787 fi
16788 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for systemd system unit dir" >&5
16789 printfscip-shell system . . printf. %s "checking for systemd system unit dir... " >&6; }
16790 systemd_system_unit_dir="${with_systemd_unit_dir}"
16791 if testscip-shell system . . test. -n "${systemd_system_unit_dir}"
16792 then :
16793
16794 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${systemd_system_unit_dir}" >&5
16795 printfscip-shell system . . printf. "%s\n" "${systemd_system_unit_dir}" >&6; }
16796 have_systemd="yes"
16797
16798 else case e in #(
16799 e)
16800 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16801 printfscip-shell system . . printf. "%s\n" "no" >&6; }
16802 have_systemd="no"
16803 ;;
16804 esac
16805 fi
16806
16807 else case e in #(
16808 e)
16809 have_systemd="disabled"
16810 ;;
16811 esac
16812 fi
16813
16814
16815 OS_IO_FILE=""
16816 case "$host_os" in
16817 mingw*)
16818 OS_IO_FILE=windows_io
16819 ;;
16820 *)
16821 OS_IO_FILE=unix_io
16822 ;;
16823 esac
16824
16825
16826 if testscip-shell system . . test. "${ac_cv_header_linux_fsverity_h}" = "yes"; then
16827 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FS_IOC_READ_VERITY_METADATA ioctl" >&5
16828 printfscip-shell system . . printf. %s "checking for FS_IOC_READ_VERITY_METADATA ioctl... " >&6; }
16829 catscip-shell system . . cat. confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16831
16832 #include <linux/fsverity.h>
16833 #ifndef FS_IOC_READ_VERITY_METADATA
16834 # error "FS_IOC_READ_VERITY_METADATA not available"
16835 #endif
16836
16837 int
16838 main (void)
16839 {
16840
16841 ;
16842 return 0;
16843 }
16844 _ACEOF
16845 if ac_fn_c_try_cppscip-shell shell e2fsprogs 1.47.4-1 ac_fn_c_try_cpp(). "$LINENO"
16846 then :
16847
16848
16849 printfscip-shell system . . printf. "%s\n" "#define HAVE_FS_IOC_READ_VERITY_METADATA 1" >>confdefs.h
16850
16851 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16852 printfscip-shell system . . printf. "%s\n" "yes" >&6; }
16853
16854 else case e in #(
16855 e)
16856 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16857 printfscip-shell system . . printf. "%s\n" "no" >&6; }
16858 ;;
16859 esac
16860 fi
16861 rmscip-shell system . . rm. -f conftest.err conftest.i conftest.$ac_ext
16862 fi
16863
16864 testscip-shell system . . test. -d lib || mkdirscip-shell system . . mkdir. lib
16865 testscip-shell system . . test. -d include || mkdirscip-shell system . . mkdir. include
16866 testscip-shell system . . test. -d include/linux || mkdirscip-shell system . . mkdir. include/linux
16867 testscip-shell system . . test. -d include/asm || mkdirscip-shell system . . mkdir. include/asm
16868 if testscip-shell system . . test. -z "$UUID_CMT" ; then
16869 uuid_out_list="lib/uuid/Makefile lib/uuid/uuid.pc \
16870 lib/uuid/uuid_types.h"
16871 fi
16872 if testscip-shell system . . test. -z "$BLKID_CMT" ; then
16873 blkid_out_list="lib/blkid/Makefile lib/blkid/blkid.pc \
16874 lib/blkid/blkid_types.h"
16875 fi
16876 for i in MCONFIG Makefile \
16877 util/Makefile util/subst.conf util/gen-tarball util/install-symlink \
16878 lib/et/Makefile lib/ss/Makefile lib/e2p/Makefile \
16879 lib/ext2fs/Makefile lib/ext2fs/ext2_types.h \
16880 $uuid_out_list $blkid_out_list lib/support/Makefile \
16881 lib/ss/ss.pc lib/et/com_err.pc lib/e2p/e2p.pc lib/ext2fs/ext2fs.pc \
16882 misc/Makefile ext2ed/Makefile e2fsck/Makefile \
16883 debugfs/Makefile tests/Makefile tests/progs/Makefile \
16884 tests/fuzz/Makefile resize/Makefile doc/Makefile \
16885 po/Makefile.in scrub/Makefile; do
16886 if testscip-shell system . . test. -d `dirnamescip-shell system . . dirname. ${srcdir}/$i` ; then
16887 outlist="$outlist $i"
16888 fi
16889 done
16890 ac_config_files="$ac_config_files $outlist"
16891
16892 catscip-shell system . . cat. >confcache <<\_ACEOF
16893 # This file is a shell script that caches the results of configure
16894 # tests run on this system so they can be shared between configure
16895 # scripts and configure runs, see configure's option --config-cache.
16896 # It is not useful on other systems. If it contains results you don't
16897 # want to keep, you may remove or edit it.
16898 #
16899 # config.status only pays attention to the cache file if you give it
16900 # the --recheck option to rerun configure.
16901 #
16902 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
16903 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
16904 # following values.
16905
16906 _ACEOF
16907
16908 # The following way of writing the cache mishandles newlines in values,
16909 # but we know of no workaround that is simple, portable, and efficient.
16910 # So, we kill variables containing newlines.
16911 # Ultrix sh set writes to stderr and can't be redirected directly,
16912 # and sets the high bit in the cache file unless we assign to the vars.
16913 (
16914 for ac_var in `(set) 2>&1 | sedscip-shell system . . sed. -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16915 eval ac_val=\$$ac_var
16916 case $ac_val in #(
16917 *${as_nl}*)
16918 case $ac_var in #(
16919 *_cv_*) { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16920 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16921 esac
16922 case $ac_var in #(
16923 _ | IFS | as_nl) ;; #(
16924 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16925 *) { eval $ac_var=; unset $ac_var;} ;;
16926 esac ;;
16927 esac
16928 done
16929
16930 (set) 2>&1 |
16931 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16932 *${as_nl}ac_space=\ *)
16933 # 'set' does not quote correctly, so add quotes: double-quote
16934 # substitution turns \\\\ into \\, and sed turns \\ into \.
16935 sedscip-shell system . . sed. -n \
16936 "s/'/'\\\\''/g;
16937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16938 ;; #(
16939 *)
16940 # 'set' quotes correctly as required by POSIX, so do not add quotes.
16941 sedscip-shell system . . sed. -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16942 ;;
16943 esac |
16944 sortscip-shell system . . sort.
16945 ) |
16946 sedscip-shell system . . sed. '
16947 /^ac_cv_env_/b end
16948 t clear
16949 :clear
16950 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
16951 t end
16952 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16953 :end' >>confcache
16954 if diffscip-shell system . . diff. "$cache_file" confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
16955 if testscip-shell system . . test. -w "$cache_file"; then
16956 if testscip-shell system . . test. "x$cache_file" != "x/dev/null"; then
16957 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16958 printfscip-shell system . . printf. "%s\n" "$as_me: updating cache $cache_file" >&6;}
16959 if testscip-shell system . . test. ! -f "$cache_file" || testscip-shell system . . test. -h "$cache_file"; then
16960 catscip-shell system . . cat. confcache >"$cache_file"
16961 else
16962 case $cache_file in #(
16963 */* | ?:*)
16964 mvscip-shell system . . mv. -f confcache "$cache_file"$$ &&
16965 mvscip-shell system . . mv. -f "$cache_file"$$ "$cache_file" ;; #(
16966 *)
16967 mvscip-shell system . . mv. -f confcache "$cache_file" ;;
16968 esac
16969 fi
16970 fi
16971 else
16972 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16973 printfscip-shell system . . printf. "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
16974 fi
16975 fi
16976 rmscip-shell system . . rm. -f confcache
16977
16978 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
16979 # Let make expand exec_prefix.
16980 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16981
16982 DEFS=-DHAVE_CONFIG_H
16983
16984 ac_libobjs=
16985 ac_ltlibobjs=
16986 U=
16987 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
16988 # 1. Remove the extension, and $U if already installed.
16989 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16990 ac_i=`printfscip-shell system . . printf. "%s\n" "$ac_i" | sedscip-shell system . . sed. "$ac_script"`
16991 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16992 # will be set to the directory where LIBOBJS objects are built.
16993 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16994 as_fn_appendscip-shell shell e2fsprogs 1.47.4-1 as_fn_append(). ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16995 done
16996 LIBOBJS=$ac_libobjs
16997
16998 LTLIBOBJS=$ac_ltlibobjs
16999
17000
17001 # Check whether --enable-year2038 was given.
17002 if testscip-shell system . . test. ${enable_year2038+y}
17003 then :
17004 enableval=$enable_year2038;
17005 fi
17006
17007
17008
17009 : "${CONFIG_STATUS=./config.status}"
17010 ac_write_fail=0
17011 ac_clean_files_save=$ac_clean_files
17012 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17013 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17014 printfscip-shell system . . printf. "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
17015 as_write_fail=0
17016 catscip-shell system . . cat. >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17017 #! $SHELL
17018 # Generated by $as_me.
17019 # Run this file to recreate the current configuration.
17020 # Compiler output produced by configure, useful for debugging
17021 # configure, is in config.log if it exists.
17022
17023 debug=false
17024 ac_cs_recheck=false
17025 ac_cs_silent=false
17026
17027 SHELL=\${CONFIG_SHELL-$SHELL}
17028 export SHELL
17029 _ASEOF
17030 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17031 ## -------------------- ##
17032 ## M4sh Initialization. ##
17033 ## -------------------- ##
17034
17035 # Be more Bourne compatible
17036 DUALCASE=1; export DUALCASE # for MKS sh
17037 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
17038 then :
17039 emulate sh
17040 NULLCMD=:
17041 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17042 # is contrary to our usage. Disable this feature.
17043 alias -g '${1+"$@"}'='"$@"'
17044 setopt NO_GLOB_SUBST
17045 else case e in #(
17046 e) case `(set -o) 2>/dev/null` in #(
17047 *posix*) :
17048 set -o posix ;; #(
17049 *) :
17050 ;;
17051 esac ;;
17052 esac
17053 fi
17054
17055
17056
17057 # Reset variables that may have inherited troublesome values from
17058 # the environment.
17059
17060 # IFS needs to be set, to space, tab, and newline, in precisely that order.
17061 # (If _AS_PATH_WALK were called with IFS unset, it would have the
17062 # side effect of setting IFS to empty, thus disabling word splitting.)
17063 # Quoting is to prevent editors from complaining about space-tab.
17064 as_nl='
17065 '
17066 export as_nl
17067 IFS=" "" $as_nl"
17068
17069 PS1='$ '
17070 PS2='> '
17071 PS4='+ '
17072
17073 # Ensure predictable behavior from utilities with locale-dependent output.
17074 LC_ALL=C
17075 export LC_ALL
17076 LANGUAGE=C
17077 export LANGUAGE
17078
17079 # We cannot yet rely on "unset" to work, but we need these variables
17080 # to be unset--not just set to an empty or harmless value--now, to
17081 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
17082 # also avoids known problems related to "unset" and subshell syntax
17083 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
17084 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
17085 do eval test \${$as_var+y} \
17086 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17087 done
17088
17089 # Ensure that fds 0, 1, and 2 are open.
17090 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
17091 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
17092 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
17093
17094 # The user is always right.
17095 if ${PATH_SEPARATOR+false} :; then
17096 PATH_SEPARATOR=:
17097 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17098 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17099 PATH_SEPARATOR=';'
17100 }
17101 fi
17102
17103
17104 # Find who we are. Look in the path if we contain no directory separator.
17105 as_myself=
17106 case $0 in #((
17107 *[\\/]* ) as_myself=$0 ;;
17108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17109 for as_dir in $PATH
17110 do
17111 IFS=$as_save_IFS
17112 case $as_dir in #(((
17113 '') as_dir=./ ;;
17114 */) ;;
17115 *) as_dir=$as_dir/ ;;
17116 esac
17117 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
17118 done
17119 IFS=$as_save_IFS
17120
17121 ;;
17122 esac
17123 # We did not find ourselves, most probably we were run as 'sh COMMAND'
17124 # in which case we are not to be found in the path.
17125 if test "x$as_myself" = x; then
17126 as_myself=$0
17127 fi
17128 if test ! -f "$as_myself"; then
17129 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17130 exit 1
17131 fi
17132
17133
17134
17135 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17136 # ----------------------------------------
17137 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17138 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17139 # script with STATUS, using 1 if that was 0.
17140 as_fn_error ()
17141 {
17142 as_status=$1; test $as_status -eq 0 && as_status=1
17143 if test "$4"; then
17144 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17146 fi
17147 printf "%s\n" "$as_me: error: $2" >&2
17148 as_fn_exit $as_status
17149 } # as_fn_error
17150
17151
17152 # as_fn_set_status STATUS
17153 # -----------------------
17154 # Set $? to STATUS, without forking.
17155 as_fn_set_status ()
17156 {
17157 return $1
17158 } # as_fn_set_status
17159
17160 # as_fn_exit STATUS
17161 # -----------------
17162 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17163 as_fn_exit ()
17164 {
17165 set +e
17166 as_fn_set_status $1
17167 exit $1
17168 } # as_fn_exit
17169
17170 # as_fn_unset VAR
17171 # ---------------
17172 # Portably unset VAR.
17173 as_fn_unset ()
17174 {
17175 { eval $1=; unset $1;}
17176 }
17177 as_unset=as_fn_unset
17178
17179 # as_fn_append VAR VALUE
17180 # ----------------------
17181 # Append the text in VALUE to the end of the definition contained in VAR. Take
17182 # advantage of any shell optimizations that allow amortized linear growth over
17183 # repeated appends, instead of the typical quadratic growth present in naive
17184 # implementations.
17185 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
17186 then :
17187 eval 'as_fn_append ()
17188 {
17189 eval $1+=\$2
17190 }'
17191 else case e in #(
17192 e) as_fn_append ()
17193 {
17194 eval $1=\$$1\$2
17195 } ;;
17196 esac
17197 fi # as_fn_append
17198
17199 # as_fn_arith ARG...
17200 # ------------------
17201 # Perform arithmetic evaluation on the ARGs, and store the result in the
17202 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17203 # must be portable across $(()) and expr.
17204 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
17205 then :
17206 eval 'as_fn_arith ()
17207 {
17208 as_val=$(( $* ))
17209 }'
17210 else case e in #(
17211 e) as_fn_arith ()
17212 {
17213 as_val=`expr "$@" || test $? -eq 1`
17214 } ;;
17215 esac
17216 fi # as_fn_arith
17217
17218
17219 if expr a : '\(a\)' >/dev/null 2>&1 &&
17220 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17221 as_expr=expr
17222 else
17223 as_expr=false
17224 fi
17225
17226 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17227 as_basename=basename
17228 else
17229 as_basename=false
17230 fi
17231
17232 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17233 as_dirname=dirname
17234 else
17235 as_dirname=false
17236 fi
17237
17238 as_me=`$as_basename -- "$0" ||
17239 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17240 X"$0" : 'X\(//\)$' \| \
17241 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17242 printf "%s\n" X/"$0" |
17243 sed '/^.*\/\([^/][^/]*\)\/*$/{
17244 s//\1/
17245 q
17246 }
17247 /^X\/\(\/\/\)$/{
17248 s//\1/
17249 q
17250 }
17251 /^X\/\(\/\).*/{
17252 s//\1/
17253 q
17254 }
17255 s/.*/./; q'`
17256
17257 # Avoid depending upon Character Ranges.
17258 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17259 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17260 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17261 as_cr_digits='0123456789'
17262 as_cr_alnum=$as_cr_Letters$as_cr_digits
17263
17264
17265 # Determine whether it's possible to make 'echo' print without a newline.
17266 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
17267 # for compatibility with existing Makefiles.
17268 ECHO_C= ECHO_N= ECHO_T=
17269 case `echo -n x` in #(((((
17270 -n*)
17271 case `echo 'xy\c'` in
17272 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17273 xy) ECHO_C='\c';;
17274 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17275 ECHO_T=' ';;
17276 esac;;
17277 *)
17278 ECHO_N='-n';;
17279 esac
17280
17281 # For backward compatibility with old third-party macros, we provide
17282 # the shell variables $as_echo and $as_echo_n. New code should use
17283 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
17284 as_echo='printf %s\n'
17285 as_echo_n='printf %s'
17286
17287 rm -f conf$$ conf$$.exe conf$$.file
17288 if test -d conf$$.dir; then
17289 rm -f conf$$.dir/conf$$.file
17290 else
17291 rm -f conf$$.dir
17292 mkdir conf$$.dir 2>/dev/null
17293 fi
17294 if (echo >conf$$.file) 2>/dev/null; then
17295 if ln -s conf$$.file conf$$ 2>/dev/null; then
17296 as_ln_s='ln -s'
17297 # ... but there are two gotchas:
17298 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
17299 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
17300 # In both cases, we have to default to 'cp -pR'.
17301 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17302 as_ln_s='cp -pR'
17303 elif ln conf$$.file conf$$ 2>/dev/null; then
17304 as_ln_s=ln
17305 else
17306 as_ln_s='cp -pR'
17307 fi
17308 else
17309 as_ln_s='cp -pR'
17310 fi
17311 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17312 rmdir conf$$.dir 2>/dev/null
17313
17314
17315 # as_fn_mkdir_p
17316 # -------------
17317 # Create "$as_dir" as a directory, including parents if necessary.
17318 as_fn_mkdir_p ()
17319 {
17320
17321 case $as_dir in #(
17322 -*) as_dir=./$as_dir;;
17323 esac
17324 test -d "$as_dir" || eval $as_mkdir_p || {
17325 as_dirs=
17326 while :; do
17327 case $as_dir in #(
17328 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17329 *) as_qdir=$as_dir;;
17330 esac
17331 as_dirs="'$as_qdir' $as_dirs"
17332 as_dir=`$as_dirname -- "$as_dir" ||
17333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17334 X"$as_dir" : 'X\(//\)[^/]' \| \
17335 X"$as_dir" : 'X\(//\)$' \| \
17336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17337 printf "%s\n" X"$as_dir" |
17338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17339 s//\1/
17340 q
17341 }
17342 /^X\(\/\/\)[^/].*/{
17343 s//\1/
17344 q
17345 }
17346 /^X\(\/\/\)$/{
17347 s//\1/
17348 q
17349 }
17350 /^X\(\/\).*/{
17351 s//\1/
17352 q
17353 }
17354 s/.*/./; q'`
17355 test -d "$as_dir" && break
17356 done
17357 test -z "$as_dirs" || eval "mkdir $as_dirs"
17358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17359
17360
17361 } # as_fn_mkdir_p
17362 if mkdir -p . 2>/dev/null; then
17363 as_mkdir_p='mkdir -p "$as_dir"'
17364 else
17365 test -d ./-p && rmdir ./-p
17366 as_mkdir_p=false
17367 fi
17368
17369
17370 # as_fn_executable_p FILE
17371 # -----------------------
17372 # Test if FILE is an executable regular file.
17373 as_fn_executable_p ()
17374 {
17375 test -f "$1" && test -x "$1"
17376 } # as_fn_executable_p
17377 as_test_x='test -x'
17378 as_executable_p=as_fn_executable_p
17379
17380 # Sed expression to map a string onto a valid CPP name.
17381 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
17382 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
17383
17384 # Sed expression to map a string onto a valid variable name.
17385 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
17386 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
17387
17388
17389 exec 6>&1
17390 ## ----------------------------------- ##
17391 ## Main body of $CONFIG_STATUS script. ##
17392 ## ----------------------------------- ##
17393 _ASEOF
17394 testscip-shell system . . test. $as_write_fail = 0 && chmodscip-shell system . . chmod. +x $CONFIG_STATUS || ac_write_fail=1
17395
17396 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17397 # Save the log message, to keep $0 and so on meaningful, and to
17398 # report actual input values of CONFIG_FILES etc. instead of their
17399 # values after options handling.
17400 ac_log="
17401 This file was extended by $as_me, which was
17402 generated by GNU Autoconf 2.72. Invocation command line was
17403
17404 CONFIG_FILES = $CONFIG_FILES
17405 CONFIG_HEADERS = $CONFIG_HEADERS
17406 CONFIG_LINKS = $CONFIG_LINKS
17407 CONFIG_COMMANDS = $CONFIG_COMMANDS
17408 $ $0 $@
17409
17410 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17411 "
17412
17413 _ACEOF
17414
17415 case $ac_config_files in *"
17416 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17417 esac
17418
17419 case $ac_config_headers in *"
17420 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17421 esac
17422
17423
17424 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17425 # Files that config.status was made for.
17426 config_files="$ac_config_files"
17427 config_headers="$ac_config_headers"
17428 config_commands="$ac_config_commands"
17429
17430 _ACEOF
17431
17432 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17433 ac_cs_usage="\
17434 '$as_me' instantiates files and other configuration actions
17435 from templates according to the current configuration. Unless the files
17436 and actions are specified as TAGs, all are instantiated by default.
17437
17438 Usage: $0 [OPTION]... [TAG]...
17439
17440 -h, --help print this help, then exit
17441 -V, --version print version number and configuration settings, then exit
17442 --config print configuration, then exit
17443 -q, --quiet, --silent
17444 do not print progress messages
17445 -d, --debug don't remove temporary files
17446 --recheck update $as_me by reconfiguring in the same conditions
17447 --file=FILE[:TEMPLATE]
17448 instantiate the configuration file FILE
17449 --header=FILE[:TEMPLATE]
17450 instantiate the configuration header FILE
17451
17452 Configuration files:
17453 $config_files
17454
17455 Configuration headers:
17456 $config_headers
17457
17458 Configuration commands:
17459 $config_commands
17460
17461 Report bugs to the package provider."
17462
17463 _ACEOF
17464 ac_cs_config=`printfscip-shell system . . printf. "%s\n" "$ac_configure_args" | sedscip-shell system . . sed. "$ac_safe_unquote"`
17465 ac_cs_config_escaped=`printfscip-shell system . . printf. "%s\n" "$ac_cs_config" | sedscip-shell system . . sed. "s/^ //; s/'/'\\\\\\\\''/g"`
17466 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17467 ac_cs_config='$ac_cs_config_escaped'
17468 ac_cs_version="\\
17469 config.status
17470 configured by $0, generated by GNU Autoconf 2.72,
17471 with options \\"\$ac_cs_config\\"
17472
17473 Copyright (C) 2023 Free Software Foundation, Inc.
17474 This config.status script is free software; the Free Software Foundation
17475 gives unlimited permission to copy, distribute and modify it."
17476
17477 ac_pwd='$ac_pwd'
17478 srcdir='$srcdir'
17479 INSTALL='$INSTALL'
17480 MKDIR_P='$MKDIR_P'
17481 AWK='$AWK'
17482 test -n "\$AWK" || AWK=awk
17483 _ACEOF
17484
17485 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17486 # The default lists apply if the user does not specify any file.
17487 ac_need_defaults=:
17488 while test $# != 0
17489 do
17490 case $1 in
17491 --*=?*)
17492 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17493 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17494 ac_shift=:
17495 ;;
17496 --*=)
17497 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17498 ac_optarg=
17499 ac_shift=:
17500 ;;
17501 *)
17502 ac_option=$1
17503 ac_optarg=$2
17504 ac_shift=shift
17505 ;;
17506 esac
17507
17508 case $ac_option in
17509 # Handling of the options.
17510 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17511 ac_cs_recheck=: ;;
17512 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17513 printf "%s\n" "$ac_cs_version"; exit ;;
17514 --config | --confi | --conf | --con | --co | --c )
17515 printf "%s\n" "$ac_cs_config"; exit ;;
17516 --debug | --debu | --deb | --de | --d | -d )
17517 debug=: ;;
17518 --file | --fil | --fi | --f )
17519 $ac_shift
17520 case $ac_optarg in
17521 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17522 '') as_fn_error $? "missing file argument" ;;
17523 esac
17524 as_fn_append CONFIG_FILES " '$ac_optarg'"
17525 ac_need_defaults=false;;
17526 --header | --heade | --head | --hea )
17527 $ac_shift
17528 case $ac_optarg in
17529 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17530 esac
17531 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17532 ac_need_defaults=false;;
17533 --he | --h)
17534 # Conflict between --help and --header
17535 as_fn_error $? "ambiguous option: '$1'
17536 Try '$0 --help' for more information.";;
17537 --help | --hel | -h )
17538 printf "%s\n" "$ac_cs_usage"; exit ;;
17539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17540 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17541 ac_cs_silent=: ;;
17542
17543 # This is an error.
17544 -*) as_fn_error $? "unrecognized option: '$1'
17545 Try '$0 --help' for more information." ;;
17546
17547 *) as_fn_append ac_config_targets " $1"
17548 ac_need_defaults=false ;;
17549
17550 esac
17551 shift
17552 done
17553
17554 ac_configure_extra_args=
17555
17556 if $ac_cs_silent; then
17557 exec 6>/dev/null
17558 ac_configure_extra_args="$ac_configure_extra_args --silent"
17559 fi
17560
17561 _ACEOF
17562 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17563 if \$ac_cs_recheck; then
17564 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17565 shift
17566 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
17567 CONFIG_SHELL='$SHELL'
17568 export CONFIG_SHELL
17569 exec "\$@"
17570 fi
17571
17572 _ACEOF
17573 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17574 exec 5>>config.log
17575 {
17576 echo
17577 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17578 ## Running $as_me. ##
17579 _ASBOX
17580 printf "%s\n" "$ac_log"
17581 } >&5
17582
17583 _ACEOF
17584 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17585 #
17586 # INIT-COMMANDS
17587 #
17588 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17589 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
17590 OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
17591 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17592 LINGUAS="${LINGUAS-%UNSET%}"
17593
17594
17595 _ACEOF
17596
17597 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17598
17599 # Handling of arguments.
17600 for ac_config_target in $ac_config_targets
17601 do
17602 case $ac_config_target in
17603 "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h" ;;
17604 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17605 "$outlist") CONFIG_FILES="$CONFIG_FILES $outlist" ;;
17606
17607 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
17608 esac
17609 done
17610
17611
17612 # If the user did not use the arguments to specify the items to instantiate,
17613 # then the envvar interface is used. Set only those that are not.
17614 # We use the long form for the default assignment because of an extremely
17615 # bizarre bug on SunOS 4.1.3.
17616 if $ac_need_defaults; then
17617 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
17618 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
17619 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
17620 fi
17621
17622 # Have a temporary directory for convenience. Make it in the build tree
17623 # simply because there is no reason against having it here, and in addition,
17624 # creating and moving files from /tmp can sometimes cause problems.
17625 # Hook for its removal unless debugging.
17626 # Note that there is a small window in which the directory will not be cleaned:
17627 # after its creation but before its name has been assigned to '$tmp'.
17628 $debug ||
17629 {
17630 tmp= ac_tmp=
17631 trap 'exit_status=$?
17632 : "${ac_tmp:=$tmp}"
17633 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17634 ' 0
17635 trap 'as_fn_exit 1' 1 2 13 15
17636 }
17637 # Create a (secure) tmp directory for tmp files.
17638
17639 {
17640 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17641 test -d "$tmp"
17642 } ||
17643 {
17644 tmp=./conf$$-$RANDOM
17645 (umask 077 && mkdir "$tmp")
17646 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17647 ac_tmp=$tmp
17648
17649 # Set up the scripts for CONFIG_FILES section.
17650 # No need to generate them if there are no CONFIG_FILES.
17651 # This happens for instance with './config.status config.h'.
17652 if test -n "$CONFIG_FILES"; then
17653
17654 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
17655 ac_cs_awk_getline=:
17656 ac_cs_awk_pipe_init=
17657 ac_cs_awk_read_file='
17658 while ((getline aline < (F[key])) > 0)
17659 print(aline)
17660 close(F[key])'
17661 ac_cs_awk_pipe_fini=
17662 else
17663 ac_cs_awk_getline=false
17664 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
17665 ac_cs_awk_read_file='
17666 print "|#_!!_#|"
17667 print "cat " F[key] " &&"
17668 '$ac_cs_awk_pipe_init
17669 # The final ':' finishes the AND list.
17670 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
17671 fi
17672 ac_cr=`echo X | tr X '\015'`
17673 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17674 # But we know of no other shell where ac_cr would be empty at this
17675 # point, so we can use a bashism as a fallback.
17676 if test "x$ac_cr" = x; then
17677 eval ac_cr=\$\'\\r\'
17678 fi
17679 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17680 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17681 ac_cs_awk_cr='\\r'
17682 else
17683 ac_cs_awk_cr=$ac_cr
17684 fi
17685
17686 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17687 _ACEOF
17688
17689 # Create commands to substitute file output variables.
17690 {
17691 echoscip-shell system . . echo. "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17692 echoscip-shell system . . echo. 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17693 echoscip-shell system . . echo. "$ac_subst_files" | sedscip-shell system . . sed. 's/.*/F["&"]="$&"/' &&
17694 echoscip-shell system . . echo. "_ACAWK" &&
17695 echoscip-shell system . . echo. "_ACEOF"
17696 } >conf$$files.sh &&
17697 . ./conf$$files.sh ||
17698 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
17699 rmscip-shell system . . rm. -f conf$$files.sh
17700
17701 {
17702 echoscip-shell system . . echo. "cat >conf$$subs.awk <<_ACEOF" &&
17703 echoscip-shell system . . echo. "$ac_subst_vars" | sedscip-shell system . . sed. 's/.*/&!$&$ac_delim/' &&
17704 echoscip-shell system . . echo. "_ACEOF"
17705 } >conf$$subs.sh ||
17706 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
17707 ac_delim_num=`echoscip-shell system . . echo. "$ac_subst_vars" | grepscip-shell system . . grep. -c '^'`
17708 ac_delim='%!_!# '
17709 for ac_last_try in false false false false false :; do
17710 . ./conf$$subs.sh ||
17711 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
17712
17713 ac_delim_n=`sedscip-shell system . . sed. -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grepscip-shell system . . grep. -c X`
17714 if testscip-shell system . . test. $ac_delim_n = $ac_delim_num; then
17715 break
17716 elif $ac_last_try; then
17717 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "could not make $CONFIG_STATUS" "$LINENO" 5
17718 else
17719 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17720 fi
17721 done
17722 rmscip-shell system . . rm. -f conf$$subs.sh
17723
17724 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17725 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17726 _ACEOF
17727 sedscip-shell system . . sed. -n '
17728 h
17729 s/^/S["/; s/!.*/"]=/
17730 p
17731 g
17732 s/^[^!]*!//
17733 :repl
17734 t repl
17735 s/'"$ac_delim"'$//
17736 t delim
17737 :nl
17738 h
17739 s/\(.\{148\}\)..*/\1/
17740 t more1
17741 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17742 p
17743 n
17744 b repl
17745 :more1
17746 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17747 p
17748 g
17749 s/.\{148\}//
17750 t nl
17751 :delim
17752 h
17753 s/\(.\{148\}\)..*/\1/
17754 t more2
17755 s/["\\]/\\&/g; s/^/"/; s/$/"/
17756 p
17757 b
17758 :more2
17759 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17760 p
17761 g
17762 s/.\{148\}//
17763 t delim
17764 ' <conf$$subs.awk | sedscip-shell system . . sed. '
17765 /^[^""]/{
17766 N
17767 s/\n//
17768 }
17769 ' >>$CONFIG_STATUS || ac_write_fail=1
17770 rmscip-shell system . . rm. -f conf$$subs.awk
17771 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17772 _ACAWK
17773 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17774 for (key in S) S_is_set[key] = 1
17775 FS = ""
17776 \$ac_cs_awk_pipe_init
17777 }
17778 {
17779 line = $ 0
17780 nfields = split(line, field, "@")
17781 substed = 0
17782 len = length(field[1])
17783 for (i = 2; i < nfields; i++) {
17784 key = field[i]
17785 keylen = length(key)
17786 if (S_is_set[key]) {
17787 value = S[key]
17788 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17789 len += length(value) + length(field[++i])
17790 substed = 1
17791 } else
17792 len += 1 + keylen
17793 }
17794 if (nfields == 3 && !substed) {
17795 key = field[2]
17796 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17797 \$ac_cs_awk_read_file
17798 next
17799 }
17800 }
17801 print line
17802 }
17803 \$ac_cs_awk_pipe_fini
17804 _ACAWK
17805 _ACEOF
17806 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17807 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17808 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17809 else
17810 cat
17811 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17812 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17813 _ACEOF
17814
17815 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17816 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17817 # trailing colons and then remove the whole line if VPATH becomes empty
17818 # (actually we leave an empty line to preserve line numbers).
17819 if testscip-shell system . . test. "x$srcdir" = x.; then
17820 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17821 h
17822 s///
17823 s/^/:/
17824 s/[ ]*$/:/
17825 s/:\$(srcdir):/:/g
17826 s/:\${srcdir}:/:/g
17827 s/:@srcdir@:/:/g
17828 s/^:*//
17829 s/:*$//
17830 x
17831 s/\(=[ ]*\).*/\1/
17832 G
17833 s/\n//
17834 s/^[^=]*=[ ]*$//
17835 }'
17836 fi
17837
17838 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17839 fi # test -n "$CONFIG_FILES"
17840
17841 # Set up the scripts for CONFIG_HEADERS section.
17842 # No need to generate them if there are no CONFIG_HEADERS.
17843 # This happens for instance with './config.status Makefile'.
17844 if test -n "$CONFIG_HEADERS"; then
17845 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17846 BEGIN {
17847 _ACEOF
17848
17849 # Transform confdefs.h into an awk script 'defines.awk', embedded as
17850 # here-document in config.status, that substitutes the proper values into
17851 # config.h.in to produce config.h.
17852
17853 # Create a delimiter string that does not exist in confdefs.h, to ease
17854 # handling of long lines.
17855 ac_delim='%!_!# '
17856 for ac_last_try in false false :; do
17857 ac_tt=`sedscip-shell system . . sed. -n "/$ac_delim/p" confdefs.h`
17858 if testscip-shell system . . test. -z "$ac_tt"; then
17859 break
17860 elif $ac_last_try; then
17861 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17862 else
17863 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17864 fi
17865 done
17866
17867 # For the awk script, D is an array of macro values keyed by name,
17868 # likewise P contains macro parameters if any. Preserve backslash
17869 # newline sequences.
17870
17871 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17872 sedscip-shell system . . sed. -n '
17873 s/.\{148\}/&'"$ac_delim"'/g
17874 t rset
17875 :rset
17876 s/^[ ]*#[ ]*define[ ][ ]*/ /
17877 t def
17878 d
17879 :def
17880 s/\\$//
17881 t bsnl
17882 s/["\\]/\\&/g
17883 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17884 D["\1"]=" \3"/p
17885 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17886 d
17887 :bsnl
17888 s/["\\]/\\&/g
17889 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17890 D["\1"]=" \3\\\\\\n"\\/p
17891 t cont
17892 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17893 t cont
17894 d
17895 :cont
17896 n
17897 s/.\{148\}/&'"$ac_delim"'/g
17898 t clear
17899 :clear
17900 s/\\$//
17901 t bsnlc
17902 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17903 d
17904 :bsnlc
17905 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17906 b cont
17907 ' <confdefs.h | sedscip-shell system . . sed. '
17908 s/'"$ac_delim"'/"\\\
17909 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17910
17911 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17912 for (key in D) D_is_set[key] = 1
17913 FS = ""
17914 }
17915 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17916 line = \$ 0
17917 split(line, arg, " ")
17918 if (arg[1] == "#") {
17919 defundef = arg[2]
17920 mac1 = arg[3]
17921 } else {
17922 defundef = substr(arg[1], 2)
17923 mac1 = arg[2]
17924 }
17925 split(mac1, mac2, "(") #)
17926 macro = mac2[1]
17927 prefix = substr(line, 1, index(line, defundef) - 1)
17928 if (D_is_set[macro]) {
17929 # Preserve the white space surrounding the "#".
17930 print prefix "define", macro P[macro] D[macro]
17931 next
17932 } else {
17933 # Replace #undef with comments. This is necessary, for example,
17934 # in the case of _POSIX_SOURCE, which is predefined and required
17935 # on some systems where configure will not decide to define it.
17936 if (defundef == "undef") {
17937 print "/*", prefix defundef, macro, "*/"
17938 next
17939 }
17940 }
17941 }
17942 { print }
17943 _ACAWK
17944 _ACEOF
17945 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17946 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17947 fi # test -n "$CONFIG_HEADERS"
17948
17949
17950 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17951 shift
17952 for ac_tag
17953 do
17954 case $ac_tag in
17955 :[FHLC]) ac_mode=$ac_tag; continue;;
17956 esac
17957 case $ac_mode$ac_tag in
17958 :[FHL]*:*);;
17959 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
17960 :[FH]-) ac_tag=-:-;;
17961 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17962 esac
17963 ac_save_IFS=$IFS
17964 IFS=:
17965 set x $ac_tag
17966 IFS=$ac_save_IFS
17967 shift
17968 ac_file=$1
17969 shift
17970
17971 case $ac_mode in
17972 :L) ac_source=$1;;
17973 :[FH])
17974 ac_file_inputs=
17975 for ac_f
17976 do
17977 case $ac_f in
17978 -) ac_f="$ac_tmp/stdin";;
17979 *) # Look for the file first in the build tree, then in the source tree
17980 # (if the path is not absolute). The absolute path cannot be DOS-style,
17981 # because $ac_f cannot contain ':'.
17982 test -f "$ac_f" ||
17983 case $ac_f in
17984 [\\/$]*) false;;
17985 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17986 esac ||
17987 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
17988 esac
17989 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17990 as_fn_append ac_file_inputs " '$ac_f'"
17991 done
17992
17993 # Let's still pretend it is 'configure' which instantiates (i.e., don't
17994 # use $as_me), people would be surprised to read:
17995 # /* config.h. Generated by config.status. */
17996 configure_input='Generated from '`
17997 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17998 `' by configure.'
17999 if test x"$ac_file" != x-; then
18000 configure_input="$ac_file. $configure_input"
18001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18002 printf "%s\n" "$as_me: creating $ac_file" >&6;}
18003 fi
18004 # Neutralize special characters interpreted by sed in replacement strings.
18005 case $configure_input in #(
18006 *\&* | *\|* | *\\* )
18007 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
18008 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18009 *) ac_sed_conf_input=$configure_input;;
18010 esac
18011
18012 case $ac_tag in
18013 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18014 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18015 esac
18016 ;;
18017 esac
18018
18019 ac_dir=`$as_dirname -- "$ac_file" ||
18020 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18021 X"$ac_file" : 'X\(//\)[^/]' \| \
18022 X"$ac_file" : 'X\(//\)$' \| \
18023 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18024 printf "%s\n" X"$ac_file" |
18025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18026 s//\1/
18027 q
18028 }
18029 /^X\(\/\/\)[^/].*/{
18030 s//\1/
18031 q
18032 }
18033 /^X\(\/\/\)$/{
18034 s//\1/
18035 q
18036 }
18037 /^X\(\/\).*/{
18038 s//\1/
18039 q
18040 }
18041 s/.*/./; q'`
18042 as_dir="$ac_dir"; as_fn_mkdir_p
18043 ac_builddir=.
18044
18045 case "$ac_dir" in
18046 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18047 *)
18048 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
18049 # A ".." for each directory in $ac_dir_suffix.
18050 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18051 case $ac_top_builddir_sub in
18052 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18053 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18054 esac ;;
18055 esac
18056 ac_abs_top_builddir=$ac_pwd
18057 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18058 # for backward compatibility:
18059 ac_top_builddir=$ac_top_build_prefix
18060
18061 case $srcdir in
18062 .) # We are building in place.
18063 ac_srcdir=.
18064 ac_top_srcdir=$ac_top_builddir_sub
18065 ac_abs_top_srcdir=$ac_pwd ;;
18066 [\\/]* | ?:[\\/]* ) # Absolute name.
18067 ac_srcdir=$srcdir$ac_dir_suffix;
18068 ac_top_srcdir=$srcdir
18069 ac_abs_top_srcdir=$srcdir ;;
18070 *) # Relative name.
18071 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18072 ac_top_srcdir=$ac_top_build_prefix$srcdir
18073 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18074 esac
18075 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18076
18077
18078 case $ac_mode in
18079 :F)
18080 #
18081 # CONFIG_FILE
18082 #
18083
18084 case $INSTALL in
18085 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18086 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18087 esac
18088 ac_MKDIR_P=$MKDIR_P
18089 case $MKDIR_P in
18090 [\\/$]* | ?:[\\/]* ) ;;
18091 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18092 esac
18093 _ACEOF
18094
18095 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18096 # If the template does not know about datarootdir, expand it.
18097 # FIXME: This hack should be removed a few years after 2.60.
18098 ac_datarootdir_hack=; ac_datarootdir_seen=
18099 ac_sed_dataroot='
18100 /datarootdir/ {
18101 p
18102 q
18103 }
18104 /@datadir@/p
18105 /@docdir@/p
18106 /@infodir@/p
18107 /@localedir@/p
18108 /@mandir@/p'
18109 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18110 *datarootdir*) ac_datarootdir_seen=yes;;
18111 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18113 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18114 _ACEOF
18115 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18116 ac_datarootdir_hack='
18117 s&@datadir@&$datadir&g
18118 s&@docdir@&$docdir&g
18119 s&@infodir@&$infodir&g
18120 s&@localedir@&$localedir&g
18121 s&@mandir@&$mandir&g
18122 s&\\\${datarootdir}&$datarootdir&g' ;;
18123 esac
18124 _ACEOF
18125
18126 # Neutralize VPATH when '$srcdir' = '.'.
18127 # Shell code in configure.ac might set extrasub.
18128 # FIXME: do we really want to maintain this feature?
18129 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18130 ac_sed_extra="$ac_vpsub
18131 $extrasub
18132 _ACEOF
18133 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18134 :t
18135 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18136 s|@configure_input@|$ac_sed_conf_input|;t t
18137 s&@top_builddir@&$ac_top_builddir_sub&;t t
18138 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18139 s&@srcdir@&$ac_srcdir&;t t
18140 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18141 s&@top_srcdir@&$ac_top_srcdir&;t t
18142 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18143 s&@builddir@&$ac_builddir&;t t
18144 s&@abs_builddir@&$ac_abs_builddir&;t t
18145 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18146 s&@INSTALL@&$ac_INSTALL&;t t
18147 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18148 $ac_datarootdir_hack
18149 "
18150 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18151 if $ac_cs_awk_getline; then
18152 $AWK -f "$ac_tmp/subs.awk"
18153 else
18154 $AWK -f "$ac_tmp/subs.awk" | $SHELL
18155 fi \
18156 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18157
18158 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18159 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18160 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18161 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
18163 which seems to be undefined. Please make sure it is defined" >&5
18164 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
18165 which seems to be undefined. Please make sure it is defined" >&2;}
18166
18167 rm -f "$ac_tmp/stdin"
18168 case $ac_file in
18169 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18170 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18171 esac \
18172 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18173 ;;
18174 :H)
18175 #
18176 # CONFIG_HEADER
18177 #
18178 if test x"$ac_file" != x-; then
18179 {
18180 printf "%s\n" "/* $configure_input */" >&1 \
18181 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18182 } >"$ac_tmp/config.h" \
18183 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18184 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18186 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
18187 else
18188 rm -f "$ac_file"
18189 mv "$ac_tmp/config.h" "$ac_file" \
18190 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18191 fi
18192 else
18193 printf "%s\n" "/* $configure_input */" >&1 \
18194 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18195 || as_fn_error $? "could not create -" "$LINENO" 5
18196 fi
18197 ;;
18198
18199 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18200 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
18201 ;;
18202 esac
18203
18204
18205 case $ac_file$ac_mode in
18206 "po-directories":C)
18207 for ac_file in $CONFIG_FILES; do
18208 # Support "outfile[:infile[:infile...]]"
18209 case "$ac_file" in
18210 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18211 esac
18212 # PO directories have a Makefile.in generated from Makefile.in.in.
18213 case "$ac_file" in */Makefile.in)
18214 # Adjust a relative srcdir.
18215 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18216 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
18217 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18218 # In autoconf-2.13 it is called $ac_given_srcdir.
18219 # In autoconf-2.50 it is called $srcdir.
18220 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18221 case "$ac_given_srcdir" in
18222 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18223 /*) top_srcdir="$ac_given_srcdir" ;;
18224 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18225 esac
18226 # Treat a directory as a PO directory if and only if it has a
18227 # POTFILES.in file. This allows packages to have multiple PO
18228 # directories under different names or in different locations.
18229 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18230 rm -f "$ac_dir/POTFILES"
18231 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18232 gt_tab=`printf '\t'`
18233 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18234 POMAKEFILEDEPS="POTFILES.in"
18235 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18236 # on $ac_dir but don't depend on user-specified configuration
18237 # parameters.
18238 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18239 # The LINGUAS file contains the set of available languages.
18240 if test -n "$OBSOLETE_ALL_LINGUAS"; then
18241 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18242 fi
18243 ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18244 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18245 else
18246 # The set of available languages was given in configure.in.
18247 ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS
18248 fi
18249 # Compute POFILES
18250 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18251 # Compute UPDATEPOFILES
18252 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18253 # Compute DUMMYPOFILES
18254 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18255 # Compute GMOFILES
18256 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18257 case "$ac_given_srcdir" in
18258 .) srcdirpre= ;;
18259 *) srcdirpre='$(srcdir)/' ;;
18260 esac
18261 POFILES=
18262 UPDATEPOFILES=
18263 DUMMYPOFILES=
18264 GMOFILES=
18265 for lang in $ALL_LINGUAS; do
18266 POFILES="$POFILES $srcdirpre$lang.po"
18267 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18268 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18269 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18270 done
18271 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18272 # environment variable.
18273 INST_LINGUAS=
18274 if test -n "$ALL_LINGUAS"; then
18275 for presentlang in $ALL_LINGUAS; do
18276 useit=no
18277 if test "%UNSET%" != "$LINGUAS"; then
18278 desiredlanguages="$LINGUAS"
18279 else
18280 desiredlanguages="$ALL_LINGUAS"
18281 fi
18282 for desiredlang in $desiredlanguages; do
18283 # Use the presentlang catalog if desiredlang is
18284 # a. equal to presentlang, or
18285 # b. a variant of presentlang (because in this case,
18286 # presentlang can be used as a fallback for messages
18287 # which are not translated in the desiredlang catalog).
18288 case "$desiredlang" in
18289 "$presentlang" | "$presentlang"_* | "$presentlang".* | "$presentlang"@*)
18290 useit=yes
18291 ;;
18292 esac
18293 done
18294 if test $useit = yes; then
18295 INST_LINGUAS="$INST_LINGUAS $presentlang"
18296 fi
18297 done
18298 fi
18299 CATALOGS=
18300 if test -n "$INST_LINGUAS"; then
18301 for lang in $INST_LINGUAS; do
18302 CATALOGS="$CATALOGS $lang.gmo"
18303 done
18304 fi
18305 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18306 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18307 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18308 if test -f "$f"; then
18309 case "$f" in
18310 *.orig | *.bak | *~) ;;
18311 *) cat "$f" >> "$ac_dir/Makefile" ;;
18312 esac
18313 fi
18314 done
18315 fi
18316 ;;
18317 esac
18318 done ;;
18319
18320 esac
18321 done # for ac_tag
18322
18323
18324 as_fn_exit 0
18325 _ACEOF
18326 ac_clean_files=$ac_clean_files_save
18327
18328 testscip-shell system . . test. $ac_write_fail = 0 ||
18329 as_fn_errorscip-shell shell e2fsprogs 1.47.4-1 as_fn_error(). $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18330
18331
18332 # configure is writing to config.log, and then calls config.status.
18333 # config.status does its own redirection, appending to config.log.
18334 # Unfortunately, on DOS this fails, as config.log is still kept open
18335 # by configure, so config.status won't be able to write to it; its
18336 # output is simply discarded. So we exec the FD to /dev/null,
18337 # effectively closing config.log, so it can be properly (re)opened and
18338 # appended to by config.status. When coming back to configure, we
18339 # need to make the FD available again.
18340 if testscip-shell system . . test. "$no_create" != yes; then
18341 ac_cs_success=:
18342 ac_config_status_args=
18343 testscip-shell system . . test. "$silent" = yes &&
18344 ac_config_status_args="$ac_config_status_args --quiet"
18345 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
18346 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18347 exec 5>>config.log
18348 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18349 # would make configure fail if this is the last instruction.
18350 $ac_cs_success || as_fn_exitscip-shell shell e2fsprogs 1.47.4-1 as_fn_exit(). 1
18351 fi
18352 if testscip-shell system . . test. -n "$ac_unrecognized_opts" && testscip-shell system . . test. "$enable_option_checking" != no; then
18353 { printfscip-shell system . . printf. "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18354 printfscip-shell system . . printf. "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18355 fi
18356
18357 if testscip-shell system . . test. -f util/gen-tarball; then chmodscip-shell system . . chmod. +x util/gen-tarball; fi
18358