Debian Codegraph @

configure

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