1@%:@! /bin/sh
2@%:@ From configure.ac Revision: 1.141 .
3@%:@ Guess values for system-dependent variables and create Makefiles.
4@%:@ Generated by GNU Autoconf 2.71.
5@%:@
6@%:@
7@%:@ Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
8@%:@ 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
18DUALCASE=1; export DUALCASE # for MKS sh
19as_nop=:
20if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else $as_nop
29  case `(set -o) 2>/dev/null` in @%:@(
30  *posix*) :
31    set -o posix ;; @%:@(
32  *) :
33     ;;
34esac
35fi
36
37
38
39# Reset variables that may have inherited troublesome values from
40# the environment.
41
42# IFS needs to be set, to space, tab, and newline, in precisely that order.
43# (If _AS_PATH_WALK were called with IFS unset, it would have the
44# side effect of setting IFS to empty, thus disabling word splitting.)
45# Quoting is to prevent editors from complaining about space-tab.
46as_nl='
47'
48export as_nl
49IFS=" ""	$as_nl"
50
51PS1='$ '
52PS2='> '
53PS4='+ '
54
55# Ensure predictable behavior from utilities with locale-dependent output.
56LC_ALL=C
57export LC_ALL
58LANGUAGE=C
59export LANGUAGE
60
61# We cannot yet rely on "unset" to work, but we need these variables
62# to be unset--not just set to an empty or harmless value--now, to
63# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
64# also avoids known problems related to "unset" and subshell syntax
65# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
66for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
67do eval test \${$as_var+y} \
68  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
69done
70
71# Ensure that fds 0, 1, and 2 are open.
72if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
73if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
74if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
75
76# The user is always right.
77if ${PATH_SEPARATOR+false} :; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# Find who we are.  Look in the path if we contain no directory separator.
87as_myself=
88case $0 in @%:@((
89  *[\\/]* ) as_myself=$0 ;;
90  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
91for as_dir in $PATH
92do
93  IFS=$as_save_IFS
94  case $as_dir in #(((
95    '') as_dir=./ ;;
96    */) ;;
97    *) as_dir=$as_dir/ ;;
98  esac
99    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
100  done
101IFS=$as_save_IFS
102
103     ;;
104esac
105# We did not find ourselves, most probably we were run as `sh COMMAND'
106# in which case we are not to be found in the path.
107if test "x$as_myself" = x; then
108  as_myself=$0
109fi
110if test ! -f "$as_myself"; then
111  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112  exit 1
113fi
114
115
116# Use a proper internal environment variable to ensure we don't fall
117  # into an infinite loop, continuously re-executing ourselves.
118  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
119    _as_can_reexec=no; export _as_can_reexec;
120    # We cannot yet assume a decent shell, so we have to provide a
121# neutralization value for shells without unset; and this also
122# works around shells that cannot unset nonexistent variables.
123# Preserve -v and -x to the replacement shell.
124BASH_ENV=/dev/null
125ENV=/dev/null
126(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
127case $- in @%:@ ((((
128  *v*x* | *x*v* ) as_opts=-vx ;;
129  *v* ) as_opts=-v ;;
130  *x* ) as_opts=-x ;;
131  * ) as_opts= ;;
132esac
133exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
134# Admittedly, this is quite paranoid, since all the known shells bail
135# out after a failed `exec'.
136printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
137exit 255
138  fi
139  # We don't want this to propagate to other subprocesses.
140          { _as_can_reexec=; unset _as_can_reexec;}
141if test "x$CONFIG_SHELL" = x; then
142  as_bourne_compatible="as_nop=:
143if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144then :
145  emulate sh
146  NULLCMD=:
147  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148  # is contrary to our usage.  Disable this feature.
149  alias -g '\${1+\"\$@\"}'='\"\$@\"'
150  setopt NO_GLOB_SUBST
151else \$as_nop
152  case \`(set -o) 2>/dev/null\` in @%:@(
153  *posix*) :
154    set -o posix ;; @%:@(
155  *) :
156     ;;
157esac
158fi
159"
160  as_required="as_fn_return () { (exit \$1); }
161as_fn_success () { as_fn_return 0; }
162as_fn_failure () { as_fn_return 1; }
163as_fn_ret_success () { return 0; }
164as_fn_ret_failure () { return 1; }
165
166exitcode=0
167as_fn_success || { exitcode=1; echo as_fn_success failed.; }
168as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
169as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
170as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
171if ( set x; as_fn_ret_success y && test x = \"\$1\" )
172then :
173
174else \$as_nop
175  exitcode=1; echo positional parameters were not saved.
176fi
177test x\$exitcode = x0 || exit 1
178blah=\$(echo \$(echo blah))
179test x\"\$blah\" = xblah || exit 1
180test -x / || exit 1"
181  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
182  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
183  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
184  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
185  if (eval "$as_required") 2>/dev/null
186then :
187  as_have_required=yes
188else $as_nop
189  as_have_required=no
190fi
191  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
192then :
193
194else $as_nop
195  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196as_found=false
197for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198do
199  IFS=$as_save_IFS
200  case $as_dir in #(((
201    '') as_dir=./ ;;
202    */) ;;
203    *) as_dir=$as_dir/ ;;
204  esac
205  as_found=:
206  case $as_dir in @%:@(
207	 /*)
208	   for as_base in sh bash ksh sh5; do
209	     # Try only shells that exist, to save several forks.
210	     as_shell=$as_dir$as_base
211	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
212		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
213then :
214  CONFIG_SHELL=$as_shell as_have_required=yes
215		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
216then :
217  break 2
218fi
219fi
220	   done;;
221       esac
222  as_found=false
223done
224IFS=$as_save_IFS
225if $as_found
226then :
227
228else $as_nop
229  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
230	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
231then :
232  CONFIG_SHELL=$SHELL as_have_required=yes
233fi
234fi
235
236
237      if test "x$CONFIG_SHELL" != x
238then :
239  export CONFIG_SHELL
240             # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in @%:@ ((((
248  *v*x* | *x*v* ) as_opts=-vx ;;
249  *v* ) as_opts=-v ;;
250  *x* ) as_opts=-x ;;
251  * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260    if test x$as_have_required = xno
261then :
262  printf "%s\n" "$0: This script requires a shell more modern than all"
263  printf "%s\n" "$0: the shells that I found on your system."
264  if test ${ZSH_VERSION+y} ; then
265    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
267  else
268    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
269$0: including any error possibly output before this
270$0: message. Then install a modern shell, or manually run
271$0: the script under such a shell if you do have one."
272  fi
273  exit 1
274fi
275fi
276fi
277SHELL=${CONFIG_SHELL-/bin/sh}
278export SHELL
279# Unset more variables known to interfere with behavior of common tools.
280CLICOLOR_FORCE= GREP_OPTIONS=
281unset CLICOLOR_FORCE GREP_OPTIONS
282
283## --------------------- ##
284## M4sh Shell Functions. ##
285## --------------------- ##
286@%:@ as_fn_unset VAR
287@%:@ ---------------
288@%:@ Portably unset VAR.
289as_fn_unset ()
290{
291  { eval $1=; unset $1;}
292}
293as_unset=as_fn_unset
294
295
296@%:@ as_fn_set_status STATUS
297@%:@ -----------------------
298@%:@ Set @S|@? to STATUS, without forking.
299as_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.
307as_fn_exit ()
308{
309  set +e
310  as_fn_set_status $1
311  exit $1
312} @%:@ as_fn_exit
313@%:@ as_fn_nop
314@%:@ ---------
315@%:@ Do nothing but, unlike ":", preserve the value of @S|@?.
316as_fn_nop ()
317{
318  return $?
319}
320as_nop=as_fn_nop
321
322@%:@ as_fn_mkdir_p
323@%:@ -------------
324@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
325as_fn_mkdir_p ()
326{
327
328  case $as_dir in #(
329  -*) as_dir=./$as_dir;;
330  esac
331  test -d "$as_dir" || eval $as_mkdir_p || {
332    as_dirs=
333    while :; do
334      case $as_dir in #(
335      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336      *) as_qdir=$as_dir;;
337      esac
338      as_dirs="'$as_qdir' $as_dirs"
339      as_dir=`$as_dirname -- "$as_dir" ||
340$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
341	 X"$as_dir" : 'X\(//\)[^/]' \| \
342	 X"$as_dir" : 'X\(//\)$' \| \
343	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344printf "%s\n" X"$as_dir" |
345    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
346	    s//\1/
347	    q
348	  }
349	  /^X\(\/\/\)[^/].*/{
350	    s//\1/
351	    q
352	  }
353	  /^X\(\/\/\)$/{
354	    s//\1/
355	    q
356	  }
357	  /^X\(\/\).*/{
358	    s//\1/
359	    q
360	  }
361	  s/.*/./; q'`
362      test -d "$as_dir" && break
363    done
364    test -z "$as_dirs" || eval "mkdir $as_dirs"
365  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366
367
368} @%:@ as_fn_mkdir_p
369
370@%:@ as_fn_executable_p FILE
371@%:@ -----------------------
372@%:@ Test if FILE is an executable regular file.
373as_fn_executable_p ()
374{
375  test -f "$1" && test -x "$1"
376} @%:@ as_fn_executable_p
377@%:@ as_fn_append VAR VALUE
378@%:@ ----------------------
379@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
380@%:@ advantage of any shell optimizations that allow amortized linear growth over
381@%:@ repeated appends, instead of the typical quadratic growth present in naive
382@%:@ implementations.
383if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
384then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else $as_nop
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396@%:@ as_fn_arith ARG...
397@%:@ ------------------
398@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
399@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
400@%:@ must be portable across @S|@(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
402then :
403  eval 'as_fn_arith ()
404  {
405    as_val=$(( $* ))
406  }'
407else $as_nop
408  as_fn_arith ()
409  {
410    as_val=`expr "$@" || test $? -eq 1`
411  }
412fi # as_fn_arith
413
414@%:@ as_fn_nop
415@%:@ ---------
416@%:@ Do nothing but, unlike ":", preserve the value of @S|@?.
417as_fn_nop ()
418{
419  return $?
420}
421as_nop=as_fn_nop
422
423@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
424@%:@ ----------------------------------------
425@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
426@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
427@%:@ script with STATUS, using 1 if that was 0.
428as_fn_error ()
429{
430  as_status=$1; test $as_status -eq 0 && as_status=1
431  if test "$4"; then
432    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
433    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
434  fi
435  printf "%s\n" "$as_me: error: $2" >&2
436  as_fn_exit $as_status
437} @%:@ as_fn_error
438
439if expr a : '\(a\)' >/dev/null 2>&1 &&
440   test "X`expr 00001 : '.*\(...\)'`" = X001; then
441  as_expr=expr
442else
443  as_expr=false
444fi
445
446if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
447  as_basename=basename
448else
449  as_basename=false
450fi
451
452if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
453  as_dirname=dirname
454else
455  as_dirname=false
456fi
457
458as_me=`$as_basename -- "$0" ||
459$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
460	 X"$0" : 'X\(//\)$' \| \
461	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
462printf "%s\n" X/"$0" |
463    sed '/^.*\/\([^/][^/]*\)\/*$/{
464	    s//\1/
465	    q
466	  }
467	  /^X\/\(\/\/\)$/{
468	    s//\1/
469	    q
470	  }
471	  /^X\/\(\/\).*/{
472	    s//\1/
473	    q
474	  }
475	  s/.*/./; q'`
476
477# Avoid depending upon Character Ranges.
478as_cr_letters='abcdefghijklmnopqrstuvwxyz'
479as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
480as_cr_Letters=$as_cr_letters$as_cr_LETTERS
481as_cr_digits='0123456789'
482as_cr_alnum=$as_cr_Letters$as_cr_digits
483
484
485  as_lineno_1=$LINENO as_lineno_1a=$LINENO
486  as_lineno_2=$LINENO as_lineno_2a=$LINENO
487  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
488  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
489  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
490  sed -n '
491    p
492    /[$]LINENO/=
493  ' <$as_myself |
494    sed '
495      s/[$]LINENO.*/&-/
496      t lineno
497      b
498      :lineno
499      N
500      :loop
501      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
502      t loop
503      s/-\n.*//
504    ' >$as_me.lineno &&
505  chmod +x "$as_me.lineno" ||
506    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
507
508  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
509  # already done that, so ensure we don't try to do so again and fall
510  # in an infinite loop.  This has already happened in practice.
511  _as_can_reexec=no; export _as_can_reexec
512  # Don't try to exec as it changes $[0], causing all sort of problems
513  # (the dirname of $[0] is not the place where we might find the
514  # original and so on.  Autoconf is especially sensitive to this).
515  . "./$as_me.lineno"
516  # Exit status is that of the last command.
517  exit
518}
519
520
521# Determine whether it's possible to make 'echo' print without a newline.
522# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
523# for compatibility with existing Makefiles.
524ECHO_C= ECHO_N= ECHO_T=
525case `echo -n x` in @%:@(((((
526-n*)
527  case `echo 'xy\c'` in
528  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
529  xy)  ECHO_C='\c';;
530  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
531       ECHO_T='	';;
532  esac;;
533*)
534  ECHO_N='-n';;
535esac
536
537# For backward compatibility with old third-party macros, we provide
538# the shell variables $as_echo and $as_echo_n.  New code should use
539# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
540as_@&t@echo='printf %s\n'
541as_@&t@echo_n='printf %s'
542
543
544rm -f conf$$ conf$$.exe conf$$.file
545if test -d conf$$.dir; then
546  rm -f conf$$.dir/conf$$.file
547else
548  rm -f conf$$.dir
549  mkdir conf$$.dir 2>/dev/null
550fi
551if (echo >conf$$.file) 2>/dev/null; then
552  if ln -s conf$$.file conf$$ 2>/dev/null; then
553    as_ln_s='ln -s'
554    # ... but there are two gotchas:
555    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
556    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
557    # In both cases, we have to default to `cp -pR'.
558    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
559      as_ln_s='cp -pR'
560  elif ln conf$$.file conf$$ 2>/dev/null; then
561    as_ln_s=ln
562  else
563    as_ln_s='cp -pR'
564  fi
565else
566  as_ln_s='cp -pR'
567fi
568rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
569rmdir conf$$.dir 2>/dev/null
570
571if mkdir -p . 2>/dev/null; then
572  as_mkdir_p='mkdir -p "$as_dir"'
573else
574  test -d ./-p && rmdir ./-p
575  as_mkdir_p=false
576fi
577
578as_test_x='test -x'
579as_executable_p=as_fn_executable_p
580
581# Sed expression to map a string onto a valid CPP name.
582as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
583
584# Sed expression to map a string onto a valid variable name.
585as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
586
587
588test -n "$DJDIR" || exec 7<&0 </dev/null
589exec 6>&1
590
591# Name of the host.
592# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
593# so uname gets run too.
594ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
595
596#
597# Initializations.
598#
599ac_default_prefix=/usr/local
600ac_clean_files=
601ac_config_libobj_dir=.
602LIB@&t@OBJS=
603cross_compiling=no
604subdirs=
605MFLAGS=
606MAKEFLAGS=
607
608# Identity of this package.
609PACKAGE_NAME=''
610PACKAGE_TARNAME=''
611PACKAGE_VERSION=''
612PACKAGE_STRING=''
613PACKAGE_BUGREPORT=''
614PACKAGE_URL=''
615
616ac_unique_file="src/sawfish.h"
617# Factoring default headers for most tests.
618ac_includes_default="\
619#include <stddef.h>
620#ifdef HAVE_STDIO_H
621# include <stdio.h>
622#endif
623#ifdef HAVE_STDLIB_H
624# include <stdlib.h>
625#endif
626#ifdef HAVE_STRING_H
627# include <string.h>
628#endif
629#ifdef HAVE_INTTYPES_H
630# include <inttypes.h>
631#endif
632#ifdef HAVE_STDINT_H
633# include <stdint.h>
634#endif
635#ifdef HAVE_STRINGS_H
636# include <strings.h>
637#endif
638#ifdef HAVE_SYS_TYPES_H
639# include <sys/types.h>
640#endif
641#ifdef HAVE_SYS_STAT_H
642# include <sys/stat.h>
643#endif
644#ifdef HAVE_UNISTD_H
645# include <unistd.h>
646#endif"
647
648ac_header_c_list=
649ac_func_c_list=
650ac_subst_vars='LTLIBOBJS
651LIB@&t@OBJS
652codename
653KDE5DIR
654KDE4DIR
655XFCE_SESSION
656MATE_SESSION
657LUMINA_SESSION
658KDE5_SESSION
659GNOME2_SESSION
660KDE4_SESSION
661LINGUAS
662GETTEXT_PACKAGE
663PACKAGE
664VERSION
665REP_GTK_MIN_VER
666REP_MIN_VER
667GTK_CFLAGS
668GTK_LIBS
669GTK_MIN_VER
670IMAGE_PC
671IMAGE_CFLAGS
672IMAGE_LIBS
673REP_MSGFMT
674REP_VERSION
675REP_LIBS
676REP_CFLAGS
677REP_EXECDIR
678PANGO_CFLAGS
679PANGO_LIBS
680PANGO_MIN_VER
681XFT_CFLAGS
682XFT_LIBS
683XRANDR_LIBS
684XINERAMA_LIBS
685X_EXTRA_LIBS
686X_LIBS
687X_CFLAGS
688HAVE_X11
689SUBDIRS
690KDEDIR
691GNOMEDIR
692MAKEDEP
693imageloader
694install_sh
695lispdir
696sawfishexecdir
697sawfishdir
698subversion
699version
700REP_BIN
701have_pango_xft
702INSTALL_DATA
703INSTALL_SCRIPT
704INSTALL_PROGRAM
705ALLOCA
706OBJEXT
707EXEEXT
708ac_ct_CC
709CPPFLAGS
710LDFLAGS
711CFLAGS
712CC
713target_alias
714host_alias
715build_alias
716LIBS
717ECHO_T
718ECHO_N
719ECHO_C
720DEFS
721mandir
722localedir
723libdir
724psdir
725pdfdir
726dvidir
727htmldir
728infodir
729docdir
730oldincludedir
731includedir
732runstatedir
733localstatedir
734sharedstatedir
735sysconfdir
736datadir
737datarootdir
738libexecdir
739sbindir
740bindir
741program_transform_name
742prefix
743exec_prefix
744PACKAGE_URL
745PACKAGE_BUGREPORT
746PACKAGE_STRING
747PACKAGE_VERSION
748PACKAGE_TARNAME
749PACKAGE_NAME
750PATH_SEPARATOR
751SHELL'
752ac_subst_files=''
753ac_user_opts='
754enable_option_checking
755with_xorg_x11r7
756with_xinerama
757with_pango
758with_gdk_pixbuf
759with_nls
760with_kde4session
761with_kde5session
762with_luminasession
763with_matesession
764with_xfcesession
765with_gnome2session
766with_gnome_prefix
767enable_linguas
768'
769      ac_precious_vars='build_alias
770host_alias
771target_alias
772CC
773CFLAGS
774LDFLAGS
775LIBS
776CPPFLAGS'
777
778
779# Initialize some variables set by options.
780ac_init_help=
781ac_init_version=false
782ac_unrecognized_opts=
783ac_unrecognized_sep=
784# The variables have the same names as the options, with
785# dashes changed to underlines.
786cache_file=/dev/null
787exec_prefix=NONE
788no_create=
789no_recursion=
790prefix=NONE
791program_prefix=NONE
792program_suffix=NONE
793program_transform_name=s,x,x,
794silent=
795site=
796srcdir=
797verbose=
798x_includes=NONE
799x_libraries=NONE
800
801# Installation directory options.
802# These are left unexpanded so users can "make install exec_prefix=/foo"
803# and all the variables that are supposed to be based on exec_prefix
804# by default will actually change.
805# Use braces instead of parens because sh, perl, etc. also accept them.
806# (The list follows the same order as the GNU Coding Standards.)
807bindir='${exec_prefix}/bin'
808sbindir='${exec_prefix}/sbin'
809libexecdir='${exec_prefix}/libexec'
810datarootdir='${prefix}/share'
811datadir='${datarootdir}'
812sysconfdir='${prefix}/etc'
813sharedstatedir='${prefix}/com'
814localstatedir='${prefix}/var'
815runstatedir='${localstatedir}/run'
816includedir='${prefix}/include'
817oldincludedir='/usr/include'
818docdir='${datarootdir}/doc/${PACKAGE}'
819infodir='${datarootdir}/info'
820htmldir='${docdir}'
821dvidir='${docdir}'
822pdfdir='${docdir}'
823psdir='${docdir}'
824libdir='${exec_prefix}/lib'
825localedir='${datarootdir}/locale'
826mandir='${datarootdir}/man'
827
828ac_prev=
829ac_dashdash=
830for ac_option
831do
832  # If the previous option needs an argument, assign it.
833  if test -n "$ac_prev"; then
834    eval $ac_prev=\$ac_option
835    ac_prev=
836    continue
837  fi
838
839  case $ac_option in
840  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
841  *=)   ac_optarg= ;;
842  *)    ac_optarg=yes ;;
843  esac
844
845  case $ac_dashdash$ac_option in
846  --)
847    ac_dashdash=yes ;;
848
849  -bindir | --bindir | --bindi | --bind | --bin | --bi)
850    ac_prev=bindir ;;
851  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
852    bindir=$ac_optarg ;;
853
854  -build | --build | --buil | --bui | --bu)
855    ac_prev=build_alias ;;
856  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
857    build_alias=$ac_optarg ;;
858
859  -cache-file | --cache-file | --cache-fil | --cache-fi \
860  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
861    ac_prev=cache_file ;;
862  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
863  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
864    cache_file=$ac_optarg ;;
865
866  --config-cache | -C)
867    cache_file=config.cache ;;
868
869  -datadir | --datadir | --datadi | --datad)
870    ac_prev=datadir ;;
871  -datadir=* | --datadir=* | --datadi=* | --datad=*)
872    datadir=$ac_optarg ;;
873
874  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
875  | --dataroo | --dataro | --datar)
876    ac_prev=datarootdir ;;
877  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
878  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
879    datarootdir=$ac_optarg ;;
880
881  -disable-* | --disable-*)
882    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883    # Reject names that are not valid shell variable names.
884    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885      as_fn_error $? "invalid feature name: \`$ac_useropt'"
886    ac_useropt_orig=$ac_useropt
887    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
888    case $ac_user_opts in
889      *"
890"enable_$ac_useropt"
891"*) ;;
892      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
893	 ac_unrecognized_sep=', ';;
894    esac
895    eval enable_$ac_useropt=no ;;
896
897  -docdir | --docdir | --docdi | --doc | --do)
898    ac_prev=docdir ;;
899  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
900    docdir=$ac_optarg ;;
901
902  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
903    ac_prev=dvidir ;;
904  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
905    dvidir=$ac_optarg ;;
906
907  -enable-* | --enable-*)
908    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
909    # Reject names that are not valid shell variable names.
910    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
911      as_fn_error $? "invalid feature name: \`$ac_useropt'"
912    ac_useropt_orig=$ac_useropt
913    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
914    case $ac_user_opts in
915      *"
916"enable_$ac_useropt"
917"*) ;;
918      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
919	 ac_unrecognized_sep=', ';;
920    esac
921    eval enable_$ac_useropt=\$ac_optarg ;;
922
923  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
924  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
925  | --exec | --exe | --ex)
926    ac_prev=exec_prefix ;;
927  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
928  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
929  | --exec=* | --exe=* | --ex=*)
930    exec_prefix=$ac_optarg ;;
931
932  -gas | --gas | --ga | --g)
933    # Obsolete; use --with-gas.
934    with_gas=yes ;;
935
936  -help | --help | --hel | --he | -h)
937    ac_init_help=long ;;
938  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
939    ac_init_help=recursive ;;
940  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
941    ac_init_help=short ;;
942
943  -host | --host | --hos | --ho)
944    ac_prev=host_alias ;;
945  -host=* | --host=* | --hos=* | --ho=*)
946    host_alias=$ac_optarg ;;
947
948  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949    ac_prev=htmldir ;;
950  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951  | --ht=*)
952    htmldir=$ac_optarg ;;
953
954  -includedir | --includedir | --includedi | --included | --include \
955  | --includ | --inclu | --incl | --inc)
956    ac_prev=includedir ;;
957  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
958  | --includ=* | --inclu=* | --incl=* | --inc=*)
959    includedir=$ac_optarg ;;
960
961  -infodir | --infodir | --infodi | --infod | --info | --inf)
962    ac_prev=infodir ;;
963  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
964    infodir=$ac_optarg ;;
965
966  -libdir | --libdir | --libdi | --libd)
967    ac_prev=libdir ;;
968  -libdir=* | --libdir=* | --libdi=* | --libd=*)
969    libdir=$ac_optarg ;;
970
971  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
972  | --libexe | --libex | --libe)
973    ac_prev=libexecdir ;;
974  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
975  | --libexe=* | --libex=* | --libe=*)
976    libexecdir=$ac_optarg ;;
977
978  -localedir | --localedir | --localedi | --localed | --locale)
979    ac_prev=localedir ;;
980  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
981    localedir=$ac_optarg ;;
982
983  -localstatedir | --localstatedir | --localstatedi | --localstated \
984  | --localstate | --localstat | --localsta | --localst | --locals)
985    ac_prev=localstatedir ;;
986  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
987  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
988    localstatedir=$ac_optarg ;;
989
990  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991    ac_prev=mandir ;;
992  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
993    mandir=$ac_optarg ;;
994
995  -nfp | --nfp | --nf)
996    # Obsolete; use --without-fp.
997    with_fp=no ;;
998
999  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1000  | --no-cr | --no-c | -n)
1001    no_create=yes ;;
1002
1003  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1004  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1005    no_recursion=yes ;;
1006
1007  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1008  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1009  | --oldin | --oldi | --old | --ol | --o)
1010    ac_prev=oldincludedir ;;
1011  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1012  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1013  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1014    oldincludedir=$ac_optarg ;;
1015
1016  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017    ac_prev=prefix ;;
1018  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1019    prefix=$ac_optarg ;;
1020
1021  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1022  | --program-pre | --program-pr | --program-p)
1023    ac_prev=program_prefix ;;
1024  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1025  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1026    program_prefix=$ac_optarg ;;
1027
1028  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1029  | --program-suf | --program-su | --program-s)
1030    ac_prev=program_suffix ;;
1031  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1032  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1033    program_suffix=$ac_optarg ;;
1034
1035  -program-transform-name | --program-transform-name \
1036  | --program-transform-nam | --program-transform-na \
1037  | --program-transform-n | --program-transform- \
1038  | --program-transform | --program-transfor \
1039  | --program-transfo | --program-transf \
1040  | --program-trans | --program-tran \
1041  | --progr-tra | --program-tr | --program-t)
1042    ac_prev=program_transform_name ;;
1043  -program-transform-name=* | --program-transform-name=* \
1044  | --program-transform-nam=* | --program-transform-na=* \
1045  | --program-transform-n=* | --program-transform-=* \
1046  | --program-transform=* | --program-transfor=* \
1047  | --program-transfo=* | --program-transf=* \
1048  | --program-trans=* | --program-tran=* \
1049  | --progr-tra=* | --program-tr=* | --program-t=*)
1050    program_transform_name=$ac_optarg ;;
1051
1052  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053    ac_prev=pdfdir ;;
1054  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1055    pdfdir=$ac_optarg ;;
1056
1057  -psdir | --psdir | --psdi | --psd | --ps)
1058    ac_prev=psdir ;;
1059  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1060    psdir=$ac_optarg ;;
1061
1062  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063  | -silent | --silent | --silen | --sile | --sil)
1064    silent=yes ;;
1065
1066  -runstatedir | --runstatedir | --runstatedi | --runstated \
1067  | --runstate | --runstat | --runsta | --runst | --runs \
1068  | --run | --ru | --r)
1069    ac_prev=runstatedir ;;
1070  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1071  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1072  | --run=* | --ru=* | --r=*)
1073    runstatedir=$ac_optarg ;;
1074
1075  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1076    ac_prev=sbindir ;;
1077  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1078  | --sbi=* | --sb=*)
1079    sbindir=$ac_optarg ;;
1080
1081  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1082  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1083  | --sharedst | --shareds | --shared | --share | --shar \
1084  | --sha | --sh)
1085    ac_prev=sharedstatedir ;;
1086  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1087  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1088  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1089  | --sha=* | --sh=*)
1090    sharedstatedir=$ac_optarg ;;
1091
1092  -site | --site | --sit)
1093    ac_prev=site ;;
1094  -site=* | --site=* | --sit=*)
1095    site=$ac_optarg ;;
1096
1097  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1098    ac_prev=srcdir ;;
1099  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1100    srcdir=$ac_optarg ;;
1101
1102  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1103  | --syscon | --sysco | --sysc | --sys | --sy)
1104    ac_prev=sysconfdir ;;
1105  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1106  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1107    sysconfdir=$ac_optarg ;;
1108
1109  -target | --target | --targe | --targ | --tar | --ta | --t)
1110    ac_prev=target_alias ;;
1111  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1112    target_alias=$ac_optarg ;;
1113
1114  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1115    verbose=yes ;;
1116
1117  -version | --version | --versio | --versi | --vers | -V)
1118    ac_init_version=: ;;
1119
1120  -with-* | --with-*)
1121    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1122    # Reject names that are not valid shell variable names.
1123    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124      as_fn_error $? "invalid package name: \`$ac_useropt'"
1125    ac_useropt_orig=$ac_useropt
1126    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1127    case $ac_user_opts in
1128      *"
1129"with_$ac_useropt"
1130"*) ;;
1131      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1132	 ac_unrecognized_sep=', ';;
1133    esac
1134    eval with_$ac_useropt=\$ac_optarg ;;
1135
1136  -without-* | --without-*)
1137    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1138    # Reject names that are not valid shell variable names.
1139    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1140      as_fn_error $? "invalid package name: \`$ac_useropt'"
1141    ac_useropt_orig=$ac_useropt
1142    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1143    case $ac_user_opts in
1144      *"
1145"with_$ac_useropt"
1146"*) ;;
1147      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1148	 ac_unrecognized_sep=', ';;
1149    esac
1150    eval with_$ac_useropt=no ;;
1151
1152  --x)
1153    # Obsolete; use --with-x.
1154    with_x=yes ;;
1155
1156  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1157  | --x-incl | --x-inc | --x-in | --x-i)
1158    ac_prev=x_includes ;;
1159  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1160  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1161    x_includes=$ac_optarg ;;
1162
1163  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1164  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1165    ac_prev=x_libraries ;;
1166  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1167  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1168    x_libraries=$ac_optarg ;;
1169
1170  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1171Try \`$0 --help' for more information"
1172    ;;
1173
1174  *=*)
1175    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1176    # Reject names that are not valid shell variable names.
1177    case $ac_envvar in #(
1178      '' | [0-9]* | *[!_$as_cr_alnum]* )
1179      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1180    esac
1181    eval $ac_envvar=\$ac_optarg
1182    export $ac_envvar ;;
1183
1184  *)
1185    # FIXME: should be removed in autoconf 3.0.
1186    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1187    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1188      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1189    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1190    ;;
1191
1192  esac
1193done
1194
1195if test -n "$ac_prev"; then
1196  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1197  as_fn_error $? "missing argument to $ac_option"
1198fi
1199
1200if test -n "$ac_unrecognized_opts"; then
1201  case $enable_option_checking in
1202    no) ;;
1203    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1204    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1205  esac
1206fi
1207
1208# Check all directory arguments for consistency.
1209for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1210		datadir sysconfdir sharedstatedir localstatedir includedir \
1211		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1212		libdir localedir mandir runstatedir
1213do
1214  eval ac_val=\$$ac_var
1215  # Remove trailing slashes.
1216  case $ac_val in
1217    */ )
1218      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1219      eval $ac_var=\$ac_val;;
1220  esac
1221  # Be sure to have absolute directory names.
1222  case $ac_val in
1223    [\\/$]* | ?:[\\/]* )  continue;;
1224    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1225  esac
1226  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1227done
1228
1229# There might be people who depend on the old broken behavior: `$host'
1230# used to hold the argument of --host etc.
1231# FIXME: To remove some day.
1232build=$build_alias
1233host=$host_alias
1234target=$target_alias
1235
1236# FIXME: To remove some day.
1237if test "x$host_alias" != x; then
1238  if test "x$build_alias" = x; then
1239    cross_compiling=maybe
1240  elif test "x$build_alias" != "x$host_alias"; then
1241    cross_compiling=yes
1242  fi
1243fi
1244
1245ac_tool_prefix=
1246test -n "$host_alias" && ac_tool_prefix=$host_alias-
1247
1248test "$silent" = yes && exec 6>/dev/null
1249
1250
1251ac_pwd=`pwd` && test -n "$ac_pwd" &&
1252ac_ls_di=`ls -di .` &&
1253ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1254  as_fn_error $? "working directory cannot be determined"
1255test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1256  as_fn_error $? "pwd does not report name of working directory"
1257
1258
1259# Find the source files, if location was not specified.
1260if test -z "$srcdir"; then
1261  ac_srcdir_defaulted=yes
1262  # Try the directory containing this script, then the parent directory.
1263  ac_confdir=`$as_dirname -- "$as_myself" ||
1264$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1265	 X"$as_myself" : 'X\(//\)[^/]' \| \
1266	 X"$as_myself" : 'X\(//\)$' \| \
1267	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1268printf "%s\n" X"$as_myself" |
1269    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1270	    s//\1/
1271	    q
1272	  }
1273	  /^X\(\/\/\)[^/].*/{
1274	    s//\1/
1275	    q
1276	  }
1277	  /^X\(\/\/\)$/{
1278	    s//\1/
1279	    q
1280	  }
1281	  /^X\(\/\).*/{
1282	    s//\1/
1283	    q
1284	  }
1285	  s/.*/./; q'`
1286  srcdir=$ac_confdir
1287  if test ! -r "$srcdir/$ac_unique_file"; then
1288    srcdir=..
1289  fi
1290else
1291  ac_srcdir_defaulted=no
1292fi
1293if test ! -r "$srcdir/$ac_unique_file"; then
1294  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1295  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1296fi
1297ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1298ac_abs_confdir=`(
1299	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1300	pwd)`
1301# When building in place, set srcdir=.
1302if test "$ac_abs_confdir" = "$ac_pwd"; then
1303  srcdir=.
1304fi
1305# Remove unnecessary trailing slashes from srcdir.
1306# Double slashes in file names in object file debugging info
1307# mess up M-x gdb in Emacs.
1308case $srcdir in
1309*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1310esac
1311for ac_var in $ac_precious_vars; do
1312  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1313  eval ac_env_${ac_var}_value=\$${ac_var}
1314  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1315  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1316done
1317
1318#
1319# Report the --help message.
1320#
1321if test "$ac_init_help" = "long"; then
1322  # Omit some internal or obsolete options to make the list less imposing.
1323  # This message is too long to be a string in the A/UX 3.1 sh.
1324  cat <<_ACEOF
1325\`configure' configures this package to adapt to many kinds of systems.
1326
1327Usage: $0 [OPTION]... [VAR=VALUE]...
1328
1329To assign environment variables (e.g., CC, CFLAGS...), specify them as
1330VAR=VALUE.  See below for descriptions of some of the useful variables.
1331
1332Defaults for the options are specified in brackets.
1333
1334Configuration:
1335  -h, --help              display this help and exit
1336      --help=short        display options specific to this package
1337      --help=recursive    display the short help of all the included packages
1338  -V, --version           display version information and exit
1339  -q, --quiet, --silent   do not print \`checking ...' messages
1340      --cache-file=FILE   cache test results in FILE [disabled]
1341  -C, --config-cache      alias for \`--cache-file=config.cache'
1342  -n, --no-create         do not create output files
1343      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1344
1345Installation directories:
1346  --prefix=PREFIX         install architecture-independent files in PREFIX
1347                          @<:@@S|@ac_default_prefix@:>@
1348  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1349                          @<:@PREFIX@:>@
1350
1351By default, \`make install' will install all the files in
1352\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1353an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1354for instance \`--prefix=\$HOME'.
1355
1356For better control, use the options below.
1357
1358Fine tuning of the installation directories:
1359  --bindir=DIR            user executables [EPREFIX/bin]
1360  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1361  --libexecdir=DIR        program executables [EPREFIX/libexec]
1362  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1363  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1364  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1365  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1366  --libdir=DIR            object code libraries [EPREFIX/lib]
1367  --includedir=DIR        C header files [PREFIX/include]
1368  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1369  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1370  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1371  --infodir=DIR           info documentation [DATAROOTDIR/info]
1372  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1373  --mandir=DIR            man documentation [DATAROOTDIR/man]
1374  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1375  --htmldir=DIR           html documentation [DOCDIR]
1376  --dvidir=DIR            dvi documentation [DOCDIR]
1377  --pdfdir=DIR            pdf documentation [DOCDIR]
1378  --psdir=DIR             ps documentation [DOCDIR]
1379_ACEOF
1380
1381  cat <<\_ACEOF
1382_ACEOF
1383fi
1384
1385if test -n "$ac_init_help"; then
1386
1387  cat <<\_ACEOF
1388
1389Optional Features:
1390  --disable-option-checking  ignore unrecognized --enable/--with options
1391  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1392  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1393  --enable-linguas=LANGS... Install language catalogs for language codes LANGS
1394
1395Optional Packages:
1396  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1397  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1398  --with-xorg-x11r7	  Use X.Org X11R7
1399  --without-xorg-x11r7	  Use X.Org/XFree86 X11R6 instead
1400  --with-xinerama         Include Xinerama support
1401  --with-pango		  Use Pango instead of Xft
1402  --without-pango
1403  --with-gdk-pixbuf	  Use gdk-pixbuf for image management
1404  --without-gdk-pixbuf	  Use Imlib1 instead
1405  --with-nls		  Install translations
1406  --without-nls
1407  --with-kde4session 	install kde4 session files
1408  --without-kde4session
1409  --with-kde5session 	install kde5 session files
1410  --without-kde5session
1411  --with-luminasession 	install lumina session files
1412  --without-luminasession
1413  --with-matesession 	install mate session files
1414  --without-matesession
1415  --with-xfcesession 	install xfce session files
1416  --without-xfcesession
1417  --with-gnome2session 	install gnome2 session files
1418  --without-gnome2session
1419  --with-gnome-prefix=DIR Root of GNOME installation
1420
1421Some influential environment variables:
1422  CC          C compiler command
1423  CFLAGS      C compiler flags
1424  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1425              nonstandard directory <lib dir>
1426  LIBS        libraries to pass to the linker, e.g. -l<library>
1427  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1428              you have headers in a nonstandard directory <include dir>
1429
1430Use these variables to override the choices made by `configure' or to help
1431it to find libraries and programs with nonstandard names/locations.
1432
1433Report bugs to the package provider.
1434_ACEOF
1435ac_status=$?
1436fi
1437
1438if test "$ac_init_help" = "recursive"; then
1439  # If there are subdirs, report their specific --help.
1440  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441    test -d "$ac_dir" ||
1442      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1443      continue
1444    ac_builddir=.
1445
1446case "$ac_dir" in
1447.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448*)
1449  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1450  # A ".." for each directory in $ac_dir_suffix.
1451  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1452  case $ac_top_builddir_sub in
1453  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1455  esac ;;
1456esac
1457ac_abs_top_builddir=$ac_pwd
1458ac_abs_builddir=$ac_pwd$ac_dir_suffix
1459# for backward compatibility:
1460ac_top_builddir=$ac_top_build_prefix
1461
1462case $srcdir in
1463  .)  # We are building in place.
1464    ac_srcdir=.
1465    ac_top_srcdir=$ac_top_builddir_sub
1466    ac_abs_top_srcdir=$ac_pwd ;;
1467  [\\/]* | ?:[\\/]* )  # Absolute name.
1468    ac_srcdir=$srcdir$ac_dir_suffix;
1469    ac_top_srcdir=$srcdir
1470    ac_abs_top_srcdir=$srcdir ;;
1471  *) # Relative name.
1472    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1473    ac_top_srcdir=$ac_top_build_prefix$srcdir
1474    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1475esac
1476ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1477
1478    cd "$ac_dir" || { ac_status=$?; continue; }
1479    # Check for configure.gnu first; this name is used for a wrapper for
1480    # Metaconfig's "Configure" on case-insensitive file systems.
1481    if test -f "$ac_srcdir/configure.gnu"; then
1482      echo &&
1483      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1484    elif test -f "$ac_srcdir/configure"; then
1485      echo &&
1486      $SHELL "$ac_srcdir/configure" --help=recursive
1487    else
1488      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1489    fi || ac_status=$?
1490    cd "$ac_pwd" || { ac_status=$?; break; }
1491  done
1492fi
1493
1494test -n "$ac_init_help" && exit $ac_status
1495if $ac_init_version; then
1496  cat <<\_ACEOF
1497configure
1498generated by GNU Autoconf 2.71
1499
1500Copyright (C) 2021 Free Software Foundation, Inc.
1501This configure script is free software; the Free Software Foundation
1502gives unlimited permission to copy, distribute and modify it.
1503_ACEOF
1504  exit
1505fi
1506
1507## ------------------------ ##
1508## Autoconf initialization. ##
1509## ------------------------ ##
1510
1511@%:@ ac_fn_c_try_compile LINENO
1512@%:@ --------------------------
1513@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1514ac_fn_c_try_compile ()
1515{
1516  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1517  rm -f conftest.$ac_objext conftest.beam
1518  if { { ac_try="$ac_compile"
1519case "(($ac_try" in
1520  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1521  *) ac_try_echo=$ac_try;;
1522esac
1523eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1524printf "%s\n" "$ac_try_echo"; } >&5
1525  (eval "$ac_compile") 2>conftest.err
1526  ac_status=$?
1527  if test -s conftest.err; then
1528    grep -v '^ *+' conftest.err >conftest.er1
1529    cat conftest.er1 >&5
1530    mv -f conftest.er1 conftest.err
1531  fi
1532  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1533  test $ac_status = 0; } && {
1534	 test -z "$ac_c_werror_flag" ||
1535	 test ! -s conftest.err
1536       } && test -s conftest.$ac_objext
1537then :
1538  ac_retval=0
1539else $as_nop
1540  printf "%s\n" "$as_me: failed program was:" >&5
1541sed 's/^/| /' conftest.$ac_ext >&5
1542
1543	ac_retval=1
1544fi
1545  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1546  as_fn_set_status $ac_retval
1547
1548} @%:@ ac_fn_c_try_compile
1549
1550@%:@ ac_fn_c_try_run LINENO
1551@%:@ ----------------------
1552@%:@ Try to run conftest.@S|@ac_ext, and return whether this succeeded. Assumes that
1553@%:@ executables *can* be run.
1554ac_fn_c_try_run ()
1555{
1556  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557  if { { ac_try="$ac_link"
1558case "(($ac_try" in
1559  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560  *) ac_try_echo=$ac_try;;
1561esac
1562eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563printf "%s\n" "$ac_try_echo"; } >&5
1564  (eval "$ac_link") 2>&5
1565  ac_status=$?
1566  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1568  { { case "(($ac_try" in
1569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1570  *) ac_try_echo=$ac_try;;
1571esac
1572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1573printf "%s\n" "$ac_try_echo"; } >&5
1574  (eval "$ac_try") 2>&5
1575  ac_status=$?
1576  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577  test $ac_status = 0; }; }
1578then :
1579  ac_retval=0
1580else $as_nop
1581  printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1582       printf "%s\n" "$as_me: failed program was:" >&5
1583sed 's/^/| /' conftest.$ac_ext >&5
1584
1585       ac_retval=$ac_status
1586fi
1587  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1588  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589  as_fn_set_status $ac_retval
1590
1591} @%:@ ac_fn_c_try_run
1592
1593@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1594@%:@ -------------------------------------------------------
1595@%:@ Tests whether HEADER exists and can be compiled using the include files in
1596@%:@ INCLUDES, setting the cache variable VAR accordingly.
1597ac_fn_c_check_header_compile ()
1598{
1599  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1601printf %s "checking for $2... " >&6; }
1602if eval test \${$3+y}
1603then :
1604  printf %s "(cached) " >&6
1605else $as_nop
1606  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1607/* end confdefs.h.  */
1608$4
1609@%:@include <$2>
1610_ACEOF
1611if ac_fn_c_try_compile "$LINENO"
1612then :
1613  eval "$3=yes"
1614else $as_nop
1615  eval "$3=no"
1616fi
1617rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1618fi
1619eval ac_res=\$$3
1620	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621printf "%s\n" "$ac_res" >&6; }
1622  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623
1624} @%:@ ac_fn_c_check_header_compile
1625
1626@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1627@%:@ -------------------------------------------
1628@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1629@%:@ variable VAR accordingly.
1630ac_fn_c_check_type ()
1631{
1632  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1634printf %s "checking for $2... " >&6; }
1635if eval test \${$3+y}
1636then :
1637  printf %s "(cached) " >&6
1638else $as_nop
1639  eval "$3=no"
1640  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641/* end confdefs.h.  */
1642$4
1643int
1644main (void)
1645{
1646if (sizeof ($2))
1647	 return 0;
1648  ;
1649  return 0;
1650}
1651_ACEOF
1652if ac_fn_c_try_compile "$LINENO"
1653then :
1654  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655/* end confdefs.h.  */
1656$4
1657int
1658main (void)
1659{
1660if (sizeof (($2)))
1661	    return 0;
1662  ;
1663  return 0;
1664}
1665_ACEOF
1666if ac_fn_c_try_compile "$LINENO"
1667then :
1668
1669else $as_nop
1670  eval "$3=yes"
1671fi
1672rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1673fi
1674rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1675fi
1676eval ac_res=\$$3
1677	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678printf "%s\n" "$ac_res" >&6; }
1679  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680
1681} @%:@ ac_fn_c_check_type
1682
1683@%:@ ac_fn_c_try_link LINENO
1684@%:@ -----------------------
1685@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1686ac_fn_c_try_link ()
1687{
1688  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1690  if { { ac_try="$ac_link"
1691case "(($ac_try" in
1692  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693  *) ac_try_echo=$ac_try;;
1694esac
1695eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696printf "%s\n" "$ac_try_echo"; } >&5
1697  (eval "$ac_link") 2>conftest.err
1698  ac_status=$?
1699  if test -s conftest.err; then
1700    grep -v '^ *+' conftest.err >conftest.er1
1701    cat conftest.er1 >&5
1702    mv -f conftest.er1 conftest.err
1703  fi
1704  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705  test $ac_status = 0; } && {
1706	 test -z "$ac_c_werror_flag" ||
1707	 test ! -s conftest.err
1708       } && test -s conftest$ac_exeext && {
1709	 test "$cross_compiling" = yes ||
1710	 test -x conftest$ac_exeext
1711       }
1712then :
1713  ac_retval=0
1714else $as_nop
1715  printf "%s\n" "$as_me: failed program was:" >&5
1716sed 's/^/| /' conftest.$ac_ext >&5
1717
1718	ac_retval=1
1719fi
1720  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1721  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1722  # interfere with the next link command; also delete a directory that is
1723  # left behind by Apple's compiler.  We do this before executing the actions.
1724  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726  as_fn_set_status $ac_retval
1727
1728} @%:@ ac_fn_c_try_link
1729
1730@%:@ ac_fn_c_check_func LINENO FUNC VAR
1731@%:@ ----------------------------------
1732@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1733ac_fn_c_check_func ()
1734{
1735  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1737printf %s "checking for $2... " >&6; }
1738if eval test \${$3+y}
1739then :
1740  printf %s "(cached) " >&6
1741else $as_nop
1742  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743/* end confdefs.h.  */
1744/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1745   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1746#define $2 innocuous_$2
1747
1748/* System header to define __stub macros and hopefully few prototypes,
1749   which can conflict with char $2 (); below.  */
1750
1751#include <limits.h>
1752#undef $2
1753
1754/* Override any GCC internal prototype to avoid an error.
1755   Use char because int might match the return type of a GCC
1756   builtin and then its argument prototype would still apply.  */
1757#ifdef __cplusplus
1758extern "C"
1759#endif
1760char $2 ();
1761/* The GNU C library defines this for functions which it implements
1762    to always fail with ENOSYS.  Some functions are actually named
1763    something starting with __ and the normal name is an alias.  */
1764#if defined __stub_$2 || defined __stub___$2
1765choke me
1766#endif
1767
1768int
1769main (void)
1770{
1771return $2 ();
1772  ;
1773  return 0;
1774}
1775_ACEOF
1776if ac_fn_c_try_link "$LINENO"
1777then :
1778  eval "$3=yes"
1779else $as_nop
1780  eval "$3=no"
1781fi
1782rm -f core conftest.err conftest.$ac_objext conftest.beam \
1783    conftest$ac_exeext conftest.$ac_ext
1784fi
1785eval ac_res=\$$3
1786	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787printf "%s\n" "$ac_res" >&6; }
1788  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789
1790} @%:@ ac_fn_c_check_func
1791ac_configure_args_raw=
1792for ac_arg
1793do
1794  case $ac_arg in
1795  *\'*)
1796    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1797  esac
1798  as_fn_append ac_configure_args_raw " '$ac_arg'"
1799done
1800
1801case $ac_configure_args_raw in
1802  *$as_nl*)
1803    ac_safe_unquote= ;;
1804  *)
1805    ac_unsafe_z='|&;<>()$`\\"*?@<:@ ''	' # This string ends in space, tab.
1806    ac_unsafe_a="$ac_unsafe_z#~"
1807    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1808    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1809esac
1810
1811cat >config.log <<_ACEOF
1812This file contains any messages produced by compilers while
1813running configure, to aid debugging if configure makes a mistake.
1814
1815It was created by $as_me, which was
1816generated by GNU Autoconf 2.71.  Invocation command line was
1817
1818  $ $0$ac_configure_args_raw
1819
1820_ACEOF
1821exec 5>>config.log
1822{
1823cat <<_ASUNAME
1824## --------- ##
1825## Platform. ##
1826## --------- ##
1827
1828hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1829uname -m = `(uname -m) 2>/dev/null || echo unknown`
1830uname -r = `(uname -r) 2>/dev/null || echo unknown`
1831uname -s = `(uname -s) 2>/dev/null || echo unknown`
1832uname -v = `(uname -v) 2>/dev/null || echo unknown`
1833
1834/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1835/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1836
1837/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1838/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1839/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1840/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1841/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1842/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1843/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1844
1845_ASUNAME
1846
1847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848for as_dir in $PATH
1849do
1850  IFS=$as_save_IFS
1851  case $as_dir in #(((
1852    '') as_dir=./ ;;
1853    */) ;;
1854    *) as_dir=$as_dir/ ;;
1855  esac
1856    printf "%s\n" "PATH: $as_dir"
1857  done
1858IFS=$as_save_IFS
1859
1860} >&5
1861
1862cat >&5 <<_ACEOF
1863
1864
1865## ----------- ##
1866## Core tests. ##
1867## ----------- ##
1868
1869_ACEOF
1870
1871
1872# Keep a trace of the command line.
1873# Strip out --no-create and --no-recursion so they do not pile up.
1874# Strip out --silent because we don't want to record it for future runs.
1875# Also quote any args containing shell meta-characters.
1876# Make two passes to allow for proper duplicate-argument suppression.
1877ac_configure_args=
1878ac_configure_args0=
1879ac_configure_args1=
1880ac_must_keep_next=false
1881for ac_pass in 1 2
1882do
1883  for ac_arg
1884  do
1885    case $ac_arg in
1886    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1887    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1888    | -silent | --silent | --silen | --sile | --sil)
1889      continue ;;
1890    *\'*)
1891      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1892    esac
1893    case $ac_pass in
1894    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1895    2)
1896      as_fn_append ac_configure_args1 " '$ac_arg'"
1897      if test $ac_must_keep_next = true; then
1898	ac_must_keep_next=false # Got value, back to normal.
1899      else
1900	case $ac_arg in
1901	  *=* | --config-cache | -C | -disable-* | --disable-* \
1902	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1903	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1904	  | -with-* | --with-* | -without-* | --without-* | --x)
1905	    case "$ac_configure_args0 " in
1906	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1907	    esac
1908	    ;;
1909	  -* ) ac_must_keep_next=true ;;
1910	esac
1911      fi
1912      as_fn_append ac_configure_args " '$ac_arg'"
1913      ;;
1914    esac
1915  done
1916done
1917{ ac_configure_args0=; unset ac_configure_args0;}
1918{ ac_configure_args1=; unset ac_configure_args1;}
1919
1920# When interrupted or exit'd, cleanup temporary files, and complete
1921# config.log.  We remove comments because anyway the quotes in there
1922# would cause problems or look ugly.
1923# WARNING: Use '\'' to represent an apostrophe within the trap.
1924# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1925trap 'exit_status=$?
1926  # Sanitize IFS.
1927  IFS=" ""	$as_nl"
1928  # Save into config.log some information that might help in debugging.
1929  {
1930    echo
1931
1932    printf "%s\n" "## ---------------- ##
1933## Cache variables. ##
1934## ---------------- ##"
1935    echo
1936    # The following way of writing the cache mishandles newlines in values,
1937(
1938  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1939    eval ac_val=\$$ac_var
1940    case $ac_val in #(
1941    *${as_nl}*)
1942      case $ac_var in #(
1943      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1944printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1945      esac
1946      case $ac_var in #(
1947      _ | IFS | as_nl) ;; #(
1948      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1949      *) { eval $ac_var=; unset $ac_var;} ;;
1950      esac ;;
1951    esac
1952  done
1953  (set) 2>&1 |
1954    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1955    *${as_nl}ac_space=\ *)
1956      sed -n \
1957	"s/'\''/'\''\\\\'\'''\''/g;
1958	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1959      ;; #(
1960    *)
1961      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1962      ;;
1963    esac |
1964    sort
1965)
1966    echo
1967
1968    printf "%s\n" "## ----------------- ##
1969## Output variables. ##
1970## ----------------- ##"
1971    echo
1972    for ac_var in $ac_subst_vars
1973    do
1974      eval ac_val=\$$ac_var
1975      case $ac_val in
1976      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1977      esac
1978      printf "%s\n" "$ac_var='\''$ac_val'\''"
1979    done | sort
1980    echo
1981
1982    if test -n "$ac_subst_files"; then
1983      printf "%s\n" "## ------------------- ##
1984## File substitutions. ##
1985## ------------------- ##"
1986      echo
1987      for ac_var in $ac_subst_files
1988      do
1989	eval ac_val=\$$ac_var
1990	case $ac_val in
1991	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1992	esac
1993	printf "%s\n" "$ac_var='\''$ac_val'\''"
1994      done | sort
1995      echo
1996    fi
1997
1998    if test -s confdefs.h; then
1999      printf "%s\n" "## ----------- ##
2000## confdefs.h. ##
2001## ----------- ##"
2002      echo
2003      cat confdefs.h
2004      echo
2005    fi
2006    test "$ac_signal" != 0 &&
2007      printf "%s\n" "$as_me: caught signal $ac_signal"
2008    printf "%s\n" "$as_me: exit $exit_status"
2009  } >&5
2010  rm -f core *.core core.conftest.* &&
2011    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2012    exit $exit_status
2013' 0
2014for ac_signal in 1 2 13 15; do
2015  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2016done
2017ac_signal=0
2018
2019# confdefs.h avoids OS command line length limits that DEFS can exceed.
2020rm -f -r conftest* confdefs.h
2021
2022printf "%s\n" "/* confdefs.h */" > confdefs.h
2023
2024# Predefined preprocessor variables.
2025
2026printf "%s\n" "@%:@define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2027
2028printf "%s\n" "@%:@define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2029
2030printf "%s\n" "@%:@define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2031
2032printf "%s\n" "@%:@define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2033
2034printf "%s\n" "@%:@define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2035
2036printf "%s\n" "@%:@define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2037
2038
2039# Let the site file select an alternate cache file if it wants to.
2040# Prefer an explicitly selected file to automatically selected ones.
2041if test -n "$CONFIG_SITE"; then
2042  ac_site_files="$CONFIG_SITE"
2043elif test "x$prefix" != xNONE; then
2044  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2045else
2046  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2047fi
2048
2049for ac_site_file in $ac_site_files
2050do
2051  case $ac_site_file in @%:@(
2052  */*) :
2053     ;; @%:@(
2054  *) :
2055    ac_site_file=./$ac_site_file ;;
2056esac
2057  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2058    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2059printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2060    sed 's/^/| /' "$ac_site_file" >&5
2061    . "$ac_site_file" \
2062      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2063printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2064as_fn_error $? "failed to load site script $ac_site_file
2065See \`config.log' for more details" "$LINENO" 5; }
2066  fi
2067done
2068
2069if test -r "$cache_file"; then
2070  # Some versions of bash will fail to source /dev/null (special files
2071  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2072  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2073    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2074printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2075    case $cache_file in
2076      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2077      *)                      . "./$cache_file";;
2078    esac
2079  fi
2080else
2081  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2082printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2083  >$cache_file
2084fi
2085
2086# Test code for whether the C compiler supports C89 (global declarations)
2087ac_c_conftest_c89_globals='
2088/* Does the compiler advertise C89 conformance?
2089   Do not test the value of __STDC__, because some compilers set it to 0
2090   while being otherwise adequately conformant. */
2091#if !defined __STDC__
2092# error "Compiler does not advertise C89 conformance"
2093#endif
2094
2095#include <stddef.h>
2096#include <stdarg.h>
2097struct stat;
2098/* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2099struct buf { int x; };
2100struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2101static char *e (p, i)
2102     char **p;
2103     int i;
2104{
2105  return p[i];
2106}
2107static char *f (char * (*g) (char **, int), char **p, ...)
2108{
2109  char *s;
2110  va_list v;
2111  va_start (v,p);
2112  s = g (p, va_arg (v,int));
2113  va_end (v);
2114  return s;
2115}
2116
2117/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2118   function prototypes and stuff, but not \xHH hex character constants.
2119   These do not provoke an error unfortunately, instead are silently treated
2120   as an "x".  The following induces an error, until -std is added to get
2121   proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2122   array size at least.  It is necessary to write \x00 == 0 to get something
2123   that is true only with -std.  */
2124int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2125
2126/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2127   inside strings and character constants.  */
2128#define FOO(x) '\''x'\''
2129int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2130
2131int test (int i, double x);
2132struct s1 {int (*f) (int a);};
2133struct s2 {int (*f) (double a);};
2134int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2135               int, int);'
2136
2137# Test code for whether the C compiler supports C89 (body of main).
2138ac_c_conftest_c89_main='
2139ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2140'
2141
2142# Test code for whether the C compiler supports C99 (global declarations)
2143ac_c_conftest_c99_globals='
2144// Does the compiler advertise C99 conformance?
2145#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2146# error "Compiler does not advertise C99 conformance"
2147#endif
2148
2149#include <stdbool.h>
2150extern int puts (const char *);
2151extern int printf (const char *, ...);
2152extern int dprintf (int, const char *, ...);
2153extern void *malloc (size_t);
2154
2155// Check varargs macros.  These examples are taken from C99 6.10.3.5.
2156// dprintf is used instead of fprintf to avoid needing to declare
2157// FILE and stderr.
2158#define debug(...) dprintf (2, __VA_ARGS__)
2159#define showlist(...) puts (#__VA_ARGS__)
2160#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2161static void
2162test_varargs_macros (void)
2163{
2164  int x = 1234;
2165  int y = 5678;
2166  debug ("Flag");
2167  debug ("X = %d\n", x);
2168  showlist (The first, second, and third items.);
2169  report (x>y, "x is %d but y is %d", x, y);
2170}
2171
2172// Check long long types.
2173#define BIG64 18446744073709551615ull
2174#define BIG32 4294967295ul
2175#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2176#if !BIG_OK
2177  #error "your preprocessor is broken"
2178#endif
2179#if BIG_OK
2180#else
2181  #error "your preprocessor is broken"
2182#endif
2183static long long int bignum = -9223372036854775807LL;
2184static unsigned long long int ubignum = BIG64;
2185
2186struct incomplete_array
2187{
2188  int datasize;
2189  double data[];
2190};
2191
2192struct named_init {
2193  int number;
2194  const wchar_t *name;
2195  double average;
2196};
2197
2198typedef const char *ccp;
2199
2200static inline int
2201test_restrict (ccp restrict text)
2202{
2203  // See if C++-style comments work.
2204  // Iterate through items via the restricted pointer.
2205  // Also check for declarations in for loops.
2206  for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2207    continue;
2208  return 0;
2209}
2210
2211// Check varargs and va_copy.
2212static bool
2213test_varargs (const char *format, ...)
2214{
2215  va_list args;
2216  va_start (args, format);
2217  va_list args_copy;
2218  va_copy (args_copy, args);
2219
2220  const char *str = "";
2221  int number = 0;
2222  float fnumber = 0;
2223
2224  while (*format)
2225    {
2226      switch (*format++)
2227	{
2228	case '\''s'\'': // string
2229	  str = va_arg (args_copy, const char *);
2230	  break;
2231	case '\''d'\'': // int
2232	  number = va_arg (args_copy, int);
2233	  break;
2234	case '\''f'\'': // float
2235	  fnumber = va_arg (args_copy, double);
2236	  break;
2237	default:
2238	  break;
2239	}
2240    }
2241  va_end (args_copy);
2242  va_end (args);
2243
2244  return *str && number && fnumber;
2245}
2246'
2247
2248# Test code for whether the C compiler supports C99 (body of main).
2249ac_c_conftest_c99_main='
2250  // Check bool.
2251  _Bool success = false;
2252  success |= (argc != 0);
2253
2254  // Check restrict.
2255  if (test_restrict ("String literal") == 0)
2256    success = true;
2257  char *restrict newvar = "Another string";
2258
2259  // Check varargs.
2260  success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2261  test_varargs_macros ();
2262
2263  // Check flexible array members.
2264  struct incomplete_array *ia =
2265    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2266  ia->datasize = 10;
2267  for (int i = 0; i < ia->datasize; ++i)
2268    ia->data[i] = i * 1.234;
2269
2270  // Check named initializers.
2271  struct named_init ni = {
2272    .number = 34,
2273    .name = L"Test wide string",
2274    .average = 543.34343,
2275  };
2276
2277  ni.number = 58;
2278
2279  int dynamic_array[ni.number];
2280  dynamic_array[0] = argv[0][0];
2281  dynamic_array[ni.number - 1] = 543;
2282
2283  // work around unused variable warnings
2284  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2285	 || dynamic_array[ni.number - 1] != 543);
2286'
2287
2288# Test code for whether the C compiler supports C11 (global declarations)
2289ac_c_conftest_c11_globals='
2290// Does the compiler advertise C11 conformance?
2291#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2292# error "Compiler does not advertise C11 conformance"
2293#endif
2294
2295// Check _Alignas.
2296char _Alignas (double) aligned_as_double;
2297char _Alignas (0) no_special_alignment;
2298extern char aligned_as_int;
2299char _Alignas (0) _Alignas (int) aligned_as_int;
2300
2301// Check _Alignof.
2302enum
2303{
2304  int_alignment = _Alignof (int),
2305  int_array_alignment = _Alignof (int[100]),
2306  char_alignment = _Alignof (char)
2307};
2308_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2309
2310// Check _Noreturn.
2311int _Noreturn does_not_return (void) { for (;;) continue; }
2312
2313// Check _Static_assert.
2314struct test_static_assert
2315{
2316  int x;
2317  _Static_assert (sizeof (int) <= sizeof (long int),
2318                  "_Static_assert does not work in struct");
2319  long int y;
2320};
2321
2322// Check UTF-8 literals.
2323#define u8 syntax error!
2324char const utf8_literal[] = u8"happens to be ASCII" "another string";
2325
2326// Check duplicate typedefs.
2327typedef long *long_ptr;
2328typedef long int *long_ptr;
2329typedef long_ptr long_ptr;
2330
2331// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2332struct anonymous
2333{
2334  union {
2335    struct { int i; int j; };
2336    struct { int k; long int l; } w;
2337  };
2338  int m;
2339} v1;
2340'
2341
2342# Test code for whether the C compiler supports C11 (body of main).
2343ac_c_conftest_c11_main='
2344  _Static_assert ((offsetof (struct anonymous, i)
2345		   == offsetof (struct anonymous, w.k)),
2346		  "Anonymous union alignment botch");
2347  v1.i = 2;
2348  v1.w.k = 5;
2349  ok |= v1.i != 5;
2350'
2351
2352# Test code for whether the C compiler supports C11 (complete).
2353ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2354${ac_c_conftest_c99_globals}
2355${ac_c_conftest_c11_globals}
2356
2357int
2358main (int argc, char **argv)
2359{
2360  int ok = 0;
2361  ${ac_c_conftest_c89_main}
2362  ${ac_c_conftest_c99_main}
2363  ${ac_c_conftest_c11_main}
2364  return ok;
2365}
2366"
2367
2368# Test code for whether the C compiler supports C99 (complete).
2369ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2370${ac_c_conftest_c99_globals}
2371
2372int
2373main (int argc, char **argv)
2374{
2375  int ok = 0;
2376  ${ac_c_conftest_c89_main}
2377  ${ac_c_conftest_c99_main}
2378  return ok;
2379}
2380"
2381
2382# Test code for whether the C compiler supports C89 (complete).
2383ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2384
2385int
2386main (int argc, char **argv)
2387{
2388  int ok = 0;
2389  ${ac_c_conftest_c89_main}
2390  return ok;
2391}
2392"
2393
2394as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2395as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2396as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2397as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2398as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2399as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2400as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2401as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2402as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2403as_fn_append ac_func_c_list " vprintf HAVE_VPRINTF"
2404as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H"
2405
2406# Auxiliary files required by this configure script.
2407ac_aux_files="install-sh"
2408
2409# Locations in which to look for auxiliary files.
2410ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2411
2412# Search for a directory containing all of the required auxiliary files,
2413# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2414# If we don't find one directory that contains all the files we need,
2415# we report the set of missing files from the *first* directory in
2416# $ac_aux_dir_candidates and give up.
2417ac_missing_aux_files=""
2418ac_first_candidate=:
2419printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2421as_found=false
2422for as_dir in $ac_aux_dir_candidates
2423do
2424  IFS=$as_save_IFS
2425  case $as_dir in #(((
2426    '') as_dir=./ ;;
2427    */) ;;
2428    *) as_dir=$as_dir/ ;;
2429  esac
2430  as_found=:
2431
2432  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
2433  ac_aux_dir_found=yes
2434  ac_install_sh=
2435  for ac_aux in $ac_aux_files
2436  do
2437    # As a special case, if "install-sh" is required, that requirement
2438    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2439    # and $ac_install_sh is set appropriately for whichever one is found.
2440    if test x"$ac_aux" = x"install-sh"
2441    then
2442      if test -f "${as_dir}install-sh"; then
2443        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
2444        ac_install_sh="${as_dir}install-sh -c"
2445      elif test -f "${as_dir}install.sh"; then
2446        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
2447        ac_install_sh="${as_dir}install.sh -c"
2448      elif test -f "${as_dir}shtool"; then
2449        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
2450        ac_install_sh="${as_dir}shtool install -c"
2451      else
2452        ac_aux_dir_found=no
2453        if $ac_first_candidate; then
2454          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2455        else
2456          break
2457        fi
2458      fi
2459    else
2460      if test -f "${as_dir}${ac_aux}"; then
2461        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
2462      else
2463        ac_aux_dir_found=no
2464        if $ac_first_candidate; then
2465          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2466        else
2467          break
2468        fi
2469      fi
2470    fi
2471  done
2472  if test "$ac_aux_dir_found" = yes; then
2473    ac_aux_dir="$as_dir"
2474    break
2475  fi
2476  ac_first_candidate=false
2477
2478  as_found=false
2479done
2480IFS=$as_save_IFS
2481if $as_found
2482then :
2483
2484else $as_nop
2485  as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2486fi
2487
2488
2489# These three variables are undocumented and unsupported,
2490# and are intended to be withdrawn in a future Autoconf release.
2491# They can cause serious problems if a builder's source tree is in a directory
2492# whose full name contains unusual characters.
2493if test -f "${ac_aux_dir}config.guess"; then
2494  ac_@&t@config_guess="$SHELL ${ac_aux_dir}config.guess"
2495fi
2496if test -f "${ac_aux_dir}config.sub"; then
2497  ac_@&t@config_sub="$SHELL ${ac_aux_dir}config.sub"
2498fi
2499if test -f "$ac_aux_dir/configure"; then
2500  ac_@&t@configure="$SHELL ${ac_aux_dir}configure"
2501fi
2502
2503# Check that the precious variables saved in the cache have kept the same
2504# value.
2505ac_cache_corrupted=false
2506for ac_var in $ac_precious_vars; do
2507  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2508  eval ac_new_set=\$ac_env_${ac_var}_set
2509  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2510  eval ac_new_val=\$ac_env_${ac_var}_value
2511  case $ac_old_set,$ac_new_set in
2512    set,)
2513      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2514printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2515      ac_cache_corrupted=: ;;
2516    ,set)
2517      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2518printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2519      ac_cache_corrupted=: ;;
2520    ,);;
2521    *)
2522      if test "x$ac_old_val" != "x$ac_new_val"; then
2523	# differences in whitespace do not lead to failure.
2524	ac_old_val_w=`echo x $ac_old_val`
2525	ac_new_val_w=`echo x $ac_new_val`
2526	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2527	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2528printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2529	  ac_cache_corrupted=:
2530	else
2531	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2532printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2533	  eval $ac_var=\$ac_old_val
2534	fi
2535	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2536printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
2537	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2538printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
2539      fi;;
2540  esac
2541  # Pass precious variables to config.status.
2542  if test "$ac_new_set" = set; then
2543    case $ac_new_val in
2544    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2545    *) ac_arg=$ac_var=$ac_new_val ;;
2546    esac
2547    case " $ac_configure_args " in
2548      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2549      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2550    esac
2551  fi
2552done
2553if $ac_cache_corrupted; then
2554  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2555printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2556  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2557printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2558  as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2559	    and start over" "$LINENO" 5
2560fi
2561## -------------------- ##
2562## Main body of script. ##
2563## -------------------- ##
2564
2565ac_ext=c
2566ac_cpp='$CPP $CPPFLAGS'
2567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2569ac_compiler_gnu=$ac_cv_c_compiler_gnu
2570
2571
2572
2573ac_config_headers="$ac_config_headers config.h"
2574
2575
2576
2577AM_PROG_LIBTOOL
2578
2579version="1.13.0"
2580subversion=""
2581codename="Bolero"
2582
2583VERSION=${version}
2584
2585PACKAGE="sawfish"
2586GETTEXT_PACKAGE=${PACKAGE}
2587
2588install_sh=../install-sh
2589
2590SUBDIRS="src lisp scripts themes sounds man"
2591
2592sawfishdir='${datadir}/sawfish'
2593lispdir='${sawfishdir}/lisp'
2594localedir='${datadir}/locale'
2595sawfishexecdir='${libdir}/sawfish'
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606ac_ext=c
2607ac_cpp='$CPP $CPPFLAGS'
2608ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2609ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2610ac_compiler_gnu=$ac_cv_c_compiler_gnu
2611if test -n "$ac_tool_prefix"; then
2612  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2613set dummy ${ac_tool_prefix}gcc; ac_word=$2
2614{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2615printf %s "checking for $ac_word... " >&6; }
2616if test ${ac_cv_prog_CC+y}
2617then :
2618  printf %s "(cached) " >&6
2619else $as_nop
2620  if test -n "$CC"; then
2621  ac_cv_prog_CC="$CC" # Let the user override the test.
2622else
2623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624for as_dir in $PATH
2625do
2626  IFS=$as_save_IFS
2627  case $as_dir in #(((
2628    '') as_dir=./ ;;
2629    */) ;;
2630    *) as_dir=$as_dir/ ;;
2631  esac
2632    for ac_exec_ext in '' $ac_executable_extensions; do
2633  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2634    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2635    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2636    break 2
2637  fi
2638done
2639  done
2640IFS=$as_save_IFS
2641
2642fi
2643fi
2644CC=$ac_cv_prog_CC
2645if test -n "$CC"; then
2646  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2647printf "%s\n" "$CC" >&6; }
2648else
2649  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650printf "%s\n" "no" >&6; }
2651fi
2652
2653
2654fi
2655if test -z "$ac_cv_prog_CC"; then
2656  ac_ct_CC=$CC
2657  # Extract the first word of "gcc", so it can be a program name with args.
2658set dummy gcc; ac_word=$2
2659{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660printf %s "checking for $ac_word... " >&6; }
2661if test ${ac_cv_prog_ac_ct_CC+y}
2662then :
2663  printf %s "(cached) " >&6
2664else $as_nop
2665  if test -n "$ac_ct_CC"; then
2666  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2667else
2668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2669for as_dir in $PATH
2670do
2671  IFS=$as_save_IFS
2672  case $as_dir in #(((
2673    '') as_dir=./ ;;
2674    */) ;;
2675    *) as_dir=$as_dir/ ;;
2676  esac
2677    for ac_exec_ext in '' $ac_executable_extensions; do
2678  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2679    ac_cv_prog_ac_ct_CC="gcc"
2680    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2681    break 2
2682  fi
2683done
2684  done
2685IFS=$as_save_IFS
2686
2687fi
2688fi
2689ac_ct_CC=$ac_cv_prog_ac_ct_CC
2690if test -n "$ac_ct_CC"; then
2691  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2692printf "%s\n" "$ac_ct_CC" >&6; }
2693else
2694  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695printf "%s\n" "no" >&6; }
2696fi
2697
2698  if test "x$ac_ct_CC" = x; then
2699    CC=""
2700  else
2701    case $cross_compiling:$ac_tool_warned in
2702yes:)
2703{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2704printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2705ac_tool_warned=yes ;;
2706esac
2707    CC=$ac_ct_CC
2708  fi
2709else
2710  CC="$ac_cv_prog_CC"
2711fi
2712
2713if test -z "$CC"; then
2714          if test -n "$ac_tool_prefix"; then
2715    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2716set dummy ${ac_tool_prefix}cc; ac_word=$2
2717{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2718printf %s "checking for $ac_word... " >&6; }
2719if test ${ac_cv_prog_CC+y}
2720then :
2721  printf %s "(cached) " >&6
2722else $as_nop
2723  if test -n "$CC"; then
2724  ac_cv_prog_CC="$CC" # Let the user override the test.
2725else
2726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2727for as_dir in $PATH
2728do
2729  IFS=$as_save_IFS
2730  case $as_dir in #(((
2731    '') as_dir=./ ;;
2732    */) ;;
2733    *) as_dir=$as_dir/ ;;
2734  esac
2735    for ac_exec_ext in '' $ac_executable_extensions; do
2736  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2737    ac_cv_prog_CC="${ac_tool_prefix}cc"
2738    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2739    break 2
2740  fi
2741done
2742  done
2743IFS=$as_save_IFS
2744
2745fi
2746fi
2747CC=$ac_cv_prog_CC
2748if test -n "$CC"; then
2749  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2750printf "%s\n" "$CC" >&6; }
2751else
2752  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753printf "%s\n" "no" >&6; }
2754fi
2755
2756
2757  fi
2758fi
2759if test -z "$CC"; then
2760  # Extract the first word of "cc", so it can be a program name with args.
2761set dummy cc; ac_word=$2
2762{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763printf %s "checking for $ac_word... " >&6; }
2764if test ${ac_cv_prog_CC+y}
2765then :
2766  printf %s "(cached) " >&6
2767else $as_nop
2768  if test -n "$CC"; then
2769  ac_cv_prog_CC="$CC" # Let the user override the test.
2770else
2771  ac_prog_rejected=no
2772as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773for as_dir in $PATH
2774do
2775  IFS=$as_save_IFS
2776  case $as_dir in #(((
2777    '') as_dir=./ ;;
2778    */) ;;
2779    *) as_dir=$as_dir/ ;;
2780  esac
2781    for ac_exec_ext in '' $ac_executable_extensions; do
2782  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2783    if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2784       ac_prog_rejected=yes
2785       continue
2786     fi
2787    ac_cv_prog_CC="cc"
2788    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2789    break 2
2790  fi
2791done
2792  done
2793IFS=$as_save_IFS
2794
2795if test $ac_prog_rejected = yes; then
2796  # We found a bogon in the path, so make sure we never use it.
2797  set dummy $ac_cv_prog_CC
2798  shift
2799  if test $@%:@ != 0; then
2800    # We chose a different compiler from the bogus one.
2801    # However, it has the same basename, so the bogon will be chosen
2802    # first if we set CC to just the basename; use the full file name.
2803    shift
2804    ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2805  fi
2806fi
2807fi
2808fi
2809CC=$ac_cv_prog_CC
2810if test -n "$CC"; then
2811  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2812printf "%s\n" "$CC" >&6; }
2813else
2814  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815printf "%s\n" "no" >&6; }
2816fi
2817
2818
2819fi
2820if test -z "$CC"; then
2821  if test -n "$ac_tool_prefix"; then
2822  for ac_prog in cl.exe
2823  do
2824    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2825set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2826{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827printf %s "checking for $ac_word... " >&6; }
2828if test ${ac_cv_prog_CC+y}
2829then :
2830  printf %s "(cached) " >&6
2831else $as_nop
2832  if test -n "$CC"; then
2833  ac_cv_prog_CC="$CC" # Let the user override the test.
2834else
2835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836for as_dir in $PATH
2837do
2838  IFS=$as_save_IFS
2839  case $as_dir in #(((
2840    '') as_dir=./ ;;
2841    */) ;;
2842    *) as_dir=$as_dir/ ;;
2843  esac
2844    for ac_exec_ext in '' $ac_executable_extensions; do
2845  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2846    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2847    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2848    break 2
2849  fi
2850done
2851  done
2852IFS=$as_save_IFS
2853
2854fi
2855fi
2856CC=$ac_cv_prog_CC
2857if test -n "$CC"; then
2858  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2859printf "%s\n" "$CC" >&6; }
2860else
2861  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862printf "%s\n" "no" >&6; }
2863fi
2864
2865
2866    test -n "$CC" && break
2867  done
2868fi
2869if test -z "$CC"; then
2870  ac_ct_CC=$CC
2871  for ac_prog in cl.exe
2872do
2873  # Extract the first word of "$ac_prog", so it can be a program name with args.
2874set dummy $ac_prog; ac_word=$2
2875{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876printf %s "checking for $ac_word... " >&6; }
2877if test ${ac_cv_prog_ac_ct_CC+y}
2878then :
2879  printf %s "(cached) " >&6
2880else $as_nop
2881  if test -n "$ac_ct_CC"; then
2882  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2883else
2884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885for as_dir in $PATH
2886do
2887  IFS=$as_save_IFS
2888  case $as_dir in #(((
2889    '') as_dir=./ ;;
2890    */) ;;
2891    *) as_dir=$as_dir/ ;;
2892  esac
2893    for ac_exec_ext in '' $ac_executable_extensions; do
2894  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2895    ac_cv_prog_ac_ct_CC="$ac_prog"
2896    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2897    break 2
2898  fi
2899done
2900  done
2901IFS=$as_save_IFS
2902
2903fi
2904fi
2905ac_ct_CC=$ac_cv_prog_ac_ct_CC
2906if test -n "$ac_ct_CC"; then
2907  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2908printf "%s\n" "$ac_ct_CC" >&6; }
2909else
2910  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911printf "%s\n" "no" >&6; }
2912fi
2913
2914
2915  test -n "$ac_ct_CC" && break
2916done
2917
2918  if test "x$ac_ct_CC" = x; then
2919    CC=""
2920  else
2921    case $cross_compiling:$ac_tool_warned in
2922yes:)
2923{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2924printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2925ac_tool_warned=yes ;;
2926esac
2927    CC=$ac_ct_CC
2928  fi
2929fi
2930
2931fi
2932if test -z "$CC"; then
2933  if test -n "$ac_tool_prefix"; then
2934  # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2935set dummy ${ac_tool_prefix}clang; ac_word=$2
2936{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937printf %s "checking for $ac_word... " >&6; }
2938if test ${ac_cv_prog_CC+y}
2939then :
2940  printf %s "(cached) " >&6
2941else $as_nop
2942  if test -n "$CC"; then
2943  ac_cv_prog_CC="$CC" # Let the user override the test.
2944else
2945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946for as_dir in $PATH
2947do
2948  IFS=$as_save_IFS
2949  case $as_dir in #(((
2950    '') as_dir=./ ;;
2951    */) ;;
2952    *) as_dir=$as_dir/ ;;
2953  esac
2954    for ac_exec_ext in '' $ac_executable_extensions; do
2955  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2956    ac_cv_prog_CC="${ac_tool_prefix}clang"
2957    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2958    break 2
2959  fi
2960done
2961  done
2962IFS=$as_save_IFS
2963
2964fi
2965fi
2966CC=$ac_cv_prog_CC
2967if test -n "$CC"; then
2968  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969printf "%s\n" "$CC" >&6; }
2970else
2971  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972printf "%s\n" "no" >&6; }
2973fi
2974
2975
2976fi
2977if test -z "$ac_cv_prog_CC"; then
2978  ac_ct_CC=$CC
2979  # Extract the first word of "clang", so it can be a program name with args.
2980set dummy clang; ac_word=$2
2981{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982printf %s "checking for $ac_word... " >&6; }
2983if test ${ac_cv_prog_ac_ct_CC+y}
2984then :
2985  printf %s "(cached) " >&6
2986else $as_nop
2987  if test -n "$ac_ct_CC"; then
2988  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2989else
2990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991for as_dir in $PATH
2992do
2993  IFS=$as_save_IFS
2994  case $as_dir in #(((
2995    '') as_dir=./ ;;
2996    */) ;;
2997    *) as_dir=$as_dir/ ;;
2998  esac
2999    for ac_exec_ext in '' $ac_executable_extensions; do
3000  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3001    ac_cv_prog_ac_ct_CC="clang"
3002    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3003    break 2
3004  fi
3005done
3006  done
3007IFS=$as_save_IFS
3008
3009fi
3010fi
3011ac_ct_CC=$ac_cv_prog_ac_ct_CC
3012if test -n "$ac_ct_CC"; then
3013  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3014printf "%s\n" "$ac_ct_CC" >&6; }
3015else
3016  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3017printf "%s\n" "no" >&6; }
3018fi
3019
3020  if test "x$ac_ct_CC" = x; then
3021    CC=""
3022  else
3023    case $cross_compiling:$ac_tool_warned in
3024yes:)
3025{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3026printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3027ac_tool_warned=yes ;;
3028esac
3029    CC=$ac_ct_CC
3030  fi
3031else
3032  CC="$ac_cv_prog_CC"
3033fi
3034
3035fi
3036
3037
3038test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3039printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3040as_fn_error $? "no acceptable C compiler found in \$PATH
3041See \`config.log' for more details" "$LINENO" 5; }
3042
3043# Provide some information about the compiler.
3044printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3045set X $ac_compile
3046ac_compiler=$2
3047for ac_option in --version -v -V -qversion -version; do
3048  { { ac_try="$ac_compiler $ac_option >&5"
3049case "(($ac_try" in
3050  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051  *) ac_try_echo=$ac_try;;
3052esac
3053eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3054printf "%s\n" "$ac_try_echo"; } >&5
3055  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3056  ac_status=$?
3057  if test -s conftest.err; then
3058    sed '10a\
3059... rest of stderr output deleted ...
3060         10q' conftest.err >conftest.er1
3061    cat conftest.er1 >&5
3062  fi
3063  rm -f conftest.er1 conftest.err
3064  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065  test $ac_status = 0; }
3066done
3067
3068cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069/* end confdefs.h.  */
3070
3071int
3072main (void)
3073{
3074
3075  ;
3076  return 0;
3077}
3078_ACEOF
3079ac_clean_files_save=$ac_clean_files
3080ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3081# Try to create an executable without -o first, disregard a.out.
3082# It will help us diagnose broken compilers, and finding out an intuition
3083# of exeext.
3084{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3085printf %s "checking whether the C compiler works... " >&6; }
3086ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3087
3088# The possible output files:
3089ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3090
3091ac_rmfiles=
3092for ac_file in $ac_files
3093do
3094  case $ac_file in
3095    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3096    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3097  esac
3098done
3099rm -f $ac_rmfiles
3100
3101if { { ac_try="$ac_link_default"
3102case "(($ac_try" in
3103  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104  *) ac_try_echo=$ac_try;;
3105esac
3106eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107printf "%s\n" "$ac_try_echo"; } >&5
3108  (eval "$ac_link_default") 2>&5
3109  ac_status=$?
3110  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3111  test $ac_status = 0; }
3112then :
3113  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3114# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3115# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3116# so that the user can short-circuit this test for compilers unknown to
3117# Autoconf.
3118for ac_file in $ac_files ''
3119do
3120  test -f "$ac_file" || continue
3121  case $ac_file in
3122    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3123	;;
3124    [ab].out )
3125	# We found the default executable, but exeext='' is most
3126	# certainly right.
3127	break;;
3128    *.* )
3129	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3130	then :; else
3131	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3132	fi
3133	# We set ac_cv_exeext here because the later test for it is not
3134	# safe: cross compilers may not add the suffix if given an `-o'
3135	# argument, so we may need to know it at that point already.
3136	# Even if this section looks crufty: it has the advantage of
3137	# actually working.
3138	break;;
3139    * )
3140	break;;
3141  esac
3142done
3143test "$ac_cv_exeext" = no && ac_cv_exeext=
3144
3145else $as_nop
3146  ac_file=''
3147fi
3148if test -z "$ac_file"
3149then :
3150  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151printf "%s\n" "no" >&6; }
3152printf "%s\n" "$as_me: failed program was:" >&5
3153sed 's/^/| /' conftest.$ac_ext >&5
3154
3155{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3156printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3157as_fn_error 77 "C compiler cannot create executables
3158See \`config.log' for more details" "$LINENO" 5; }
3159else $as_nop
3160  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3161printf "%s\n" "yes" >&6; }
3162fi
3163{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3164printf %s "checking for C compiler default output file name... " >&6; }
3165{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3166printf "%s\n" "$ac_file" >&6; }
3167ac_exeext=$ac_cv_exeext
3168
3169rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3170ac_clean_files=$ac_clean_files_save
3171{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3172printf %s "checking for suffix of executables... " >&6; }
3173if { { ac_try="$ac_link"
3174case "(($ac_try" in
3175  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176  *) ac_try_echo=$ac_try;;
3177esac
3178eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179printf "%s\n" "$ac_try_echo"; } >&5
3180  (eval "$ac_link") 2>&5
3181  ac_status=$?
3182  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3183  test $ac_status = 0; }
3184then :
3185  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3186# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3187# work properly (i.e., refer to `conftest.exe'), while it won't with
3188# `rm'.
3189for ac_file in conftest.exe conftest conftest.*; do
3190  test -f "$ac_file" || continue
3191  case $ac_file in
3192    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3193    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3194	  break;;
3195    * ) break;;
3196  esac
3197done
3198else $as_nop
3199  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3200printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3201as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3202See \`config.log' for more details" "$LINENO" 5; }
3203fi
3204rm -f conftest conftest$ac_cv_exeext
3205{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3206printf "%s\n" "$ac_cv_exeext" >&6; }
3207
3208rm -f conftest.$ac_ext
3209EXEEXT=$ac_cv_exeext
3210ac_exeext=$EXEEXT
3211cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3212/* end confdefs.h.  */
3213@%:@include <stdio.h>
3214int
3215main (void)
3216{
3217FILE *f = fopen ("conftest.out", "w");
3218 return ferror (f) || fclose (f) != 0;
3219
3220  ;
3221  return 0;
3222}
3223_ACEOF
3224ac_clean_files="$ac_clean_files conftest.out"
3225# Check that the compiler produces executables we can run.  If not, either
3226# the compiler is broken, or we cross compile.
3227{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3228printf %s "checking whether we are cross compiling... " >&6; }
3229if test "$cross_compiling" != yes; then
3230  { { ac_try="$ac_link"
3231case "(($ac_try" in
3232  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233  *) ac_try_echo=$ac_try;;
3234esac
3235eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236printf "%s\n" "$ac_try_echo"; } >&5
3237  (eval "$ac_link") 2>&5
3238  ac_status=$?
3239  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240  test $ac_status = 0; }
3241  if { ac_try='./conftest$ac_cv_exeext'
3242  { { case "(($ac_try" in
3243  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244  *) ac_try_echo=$ac_try;;
3245esac
3246eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247printf "%s\n" "$ac_try_echo"; } >&5
3248  (eval "$ac_try") 2>&5
3249  ac_status=$?
3250  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251  test $ac_status = 0; }; }; then
3252    cross_compiling=no
3253  else
3254    if test "$cross_compiling" = maybe; then
3255	cross_compiling=yes
3256    else
3257	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3258printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3259as_fn_error 77 "cannot run C compiled programs.
3260If you meant to cross compile, use \`--host'.
3261See \`config.log' for more details" "$LINENO" 5; }
3262    fi
3263  fi
3264fi
3265{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3266printf "%s\n" "$cross_compiling" >&6; }
3267
3268rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3269ac_clean_files=$ac_clean_files_save
3270{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3271printf %s "checking for suffix of object files... " >&6; }
3272if test ${ac_cv_objext+y}
3273then :
3274  printf %s "(cached) " >&6
3275else $as_nop
3276  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277/* end confdefs.h.  */
3278
3279int
3280main (void)
3281{
3282
3283  ;
3284  return 0;
3285}
3286_ACEOF
3287rm -f conftest.o conftest.obj
3288if { { ac_try="$ac_compile"
3289case "(($ac_try" in
3290  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291  *) ac_try_echo=$ac_try;;
3292esac
3293eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3294printf "%s\n" "$ac_try_echo"; } >&5
3295  (eval "$ac_compile") 2>&5
3296  ac_status=$?
3297  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3298  test $ac_status = 0; }
3299then :
3300  for ac_file in conftest.o conftest.obj conftest.*; do
3301  test -f "$ac_file" || continue;
3302  case $ac_file in
3303    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3304    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3305       break;;
3306  esac
3307done
3308else $as_nop
3309  printf "%s\n" "$as_me: failed program was:" >&5
3310sed 's/^/| /' conftest.$ac_ext >&5
3311
3312{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3314as_fn_error $? "cannot compute suffix of object files: cannot compile
3315See \`config.log' for more details" "$LINENO" 5; }
3316fi
3317rm -f conftest.$ac_cv_objext conftest.$ac_ext
3318fi
3319{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3320printf "%s\n" "$ac_cv_objext" >&6; }
3321OBJEXT=$ac_cv_objext
3322ac_objext=$OBJEXT
3323{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3324printf %s "checking whether the compiler supports GNU C... " >&6; }
3325if test ${ac_cv_c_compiler_gnu+y}
3326then :
3327  printf %s "(cached) " >&6
3328else $as_nop
3329  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330/* end confdefs.h.  */
3331
3332int
3333main (void)
3334{
3335#ifndef __GNUC__
3336       choke me
3337#endif
3338
3339  ;
3340  return 0;
3341}
3342_ACEOF
3343if ac_fn_c_try_compile "$LINENO"
3344then :
3345  ac_compiler_gnu=yes
3346else $as_nop
3347  ac_compiler_gnu=no
3348fi
3349rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3350ac_cv_c_compiler_gnu=$ac_compiler_gnu
3351
3352fi
3353{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3354printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3355ac_compiler_gnu=$ac_cv_c_compiler_gnu
3356
3357if test $ac_compiler_gnu = yes; then
3358  GCC=yes
3359else
3360  GCC=
3361fi
3362ac_test_CFLAGS=${CFLAGS+y}
3363ac_save_CFLAGS=$CFLAGS
3364{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3365printf %s "checking whether $CC accepts -g... " >&6; }
3366if test ${ac_cv_prog_cc_g+y}
3367then :
3368  printf %s "(cached) " >&6
3369else $as_nop
3370  ac_save_c_werror_flag=$ac_c_werror_flag
3371   ac_c_werror_flag=yes
3372   ac_cv_prog_cc_g=no
3373   CFLAGS="-g"
3374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375/* end confdefs.h.  */
3376
3377int
3378main (void)
3379{
3380
3381  ;
3382  return 0;
3383}
3384_ACEOF
3385if ac_fn_c_try_compile "$LINENO"
3386then :
3387  ac_cv_prog_cc_g=yes
3388else $as_nop
3389  CFLAGS=""
3390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391/* end confdefs.h.  */
3392
3393int
3394main (void)
3395{
3396
3397  ;
3398  return 0;
3399}
3400_ACEOF
3401if ac_fn_c_try_compile "$LINENO"
3402then :
3403
3404else $as_nop
3405  ac_c_werror_flag=$ac_save_c_werror_flag
3406	 CFLAGS="-g"
3407	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408/* end confdefs.h.  */
3409
3410int
3411main (void)
3412{
3413
3414  ;
3415  return 0;
3416}
3417_ACEOF
3418if ac_fn_c_try_compile "$LINENO"
3419then :
3420  ac_cv_prog_cc_g=yes
3421fi
3422rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3423fi
3424rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3425fi
3426rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3427   ac_c_werror_flag=$ac_save_c_werror_flag
3428fi
3429{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3430printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3431if test $ac_test_CFLAGS; then
3432  CFLAGS=$ac_save_CFLAGS
3433elif test $ac_cv_prog_cc_g = yes; then
3434  if test "$GCC" = yes; then
3435    CFLAGS="-g -O2"
3436  else
3437    CFLAGS="-g"
3438  fi
3439else
3440  if test "$GCC" = yes; then
3441    CFLAGS="-O2"
3442  else
3443    CFLAGS=
3444  fi
3445fi
3446ac_prog_cc_stdc=no
3447if test x$ac_prog_cc_stdc = xno
3448then :
3449  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3450printf %s "checking for $CC option to enable C11 features... " >&6; }
3451if test ${ac_cv_prog_cc_c11+y}
3452then :
3453  printf %s "(cached) " >&6
3454else $as_nop
3455  ac_cv_prog_cc_c11=no
3456ac_save_CC=$CC
3457cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458/* end confdefs.h.  */
3459$ac_c_conftest_c11_program
3460_ACEOF
3461for ac_arg in '' -std=gnu11
3462do
3463  CC="$ac_save_CC $ac_arg"
3464  if ac_fn_c_try_compile "$LINENO"
3465then :
3466  ac_cv_prog_cc_c11=$ac_arg
3467fi
3468rm -f core conftest.err conftest.$ac_objext conftest.beam
3469  test "x$ac_cv_prog_cc_c11" != "xno" && break
3470done
3471rm -f conftest.$ac_ext
3472CC=$ac_save_CC
3473fi
3474
3475if test "x$ac_cv_prog_cc_c11" = xno
3476then :
3477  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3478printf "%s\n" "unsupported" >&6; }
3479else $as_nop
3480  if test "x$ac_cv_prog_cc_c11" = x
3481then :
3482  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3483printf "%s\n" "none needed" >&6; }
3484else $as_nop
3485  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3486printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3487     CC="$CC $ac_cv_prog_cc_c11"
3488fi
3489  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3490  ac_prog_cc_stdc=c11
3491fi
3492fi
3493if test x$ac_prog_cc_stdc = xno
3494then :
3495  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3496printf %s "checking for $CC option to enable C99 features... " >&6; }
3497if test ${ac_cv_prog_cc_c99+y}
3498then :
3499  printf %s "(cached) " >&6
3500else $as_nop
3501  ac_cv_prog_cc_c99=no
3502ac_save_CC=$CC
3503cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504/* end confdefs.h.  */
3505$ac_c_conftest_c99_program
3506_ACEOF
3507for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3508do
3509  CC="$ac_save_CC $ac_arg"
3510  if ac_fn_c_try_compile "$LINENO"
3511then :
3512  ac_cv_prog_cc_c99=$ac_arg
3513fi
3514rm -f core conftest.err conftest.$ac_objext conftest.beam
3515  test "x$ac_cv_prog_cc_c99" != "xno" && break
3516done
3517rm -f conftest.$ac_ext
3518CC=$ac_save_CC
3519fi
3520
3521if test "x$ac_cv_prog_cc_c99" = xno
3522then :
3523  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3524printf "%s\n" "unsupported" >&6; }
3525else $as_nop
3526  if test "x$ac_cv_prog_cc_c99" = x
3527then :
3528  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3529printf "%s\n" "none needed" >&6; }
3530else $as_nop
3531  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3532printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3533     CC="$CC $ac_cv_prog_cc_c99"
3534fi
3535  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3536  ac_prog_cc_stdc=c99
3537fi
3538fi
3539if test x$ac_prog_cc_stdc = xno
3540then :
3541  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3542printf %s "checking for $CC option to enable C89 features... " >&6; }
3543if test ${ac_cv_prog_cc_c89+y}
3544then :
3545  printf %s "(cached) " >&6
3546else $as_nop
3547  ac_cv_prog_cc_c89=no
3548ac_save_CC=$CC
3549cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550/* end confdefs.h.  */
3551$ac_c_conftest_c89_program
3552_ACEOF
3553for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3554do
3555  CC="$ac_save_CC $ac_arg"
3556  if ac_fn_c_try_compile "$LINENO"
3557then :
3558  ac_cv_prog_cc_c89=$ac_arg
3559fi
3560rm -f core conftest.err conftest.$ac_objext conftest.beam
3561  test "x$ac_cv_prog_cc_c89" != "xno" && break
3562done
3563rm -f conftest.$ac_ext
3564CC=$ac_save_CC
3565fi
3566
3567if test "x$ac_cv_prog_cc_c89" = xno
3568then :
3569  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3570printf "%s\n" "unsupported" >&6; }
3571else $as_nop
3572  if test "x$ac_cv_prog_cc_c89" = x
3573then :
3574  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3575printf "%s\n" "none needed" >&6; }
3576else $as_nop
3577  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3578printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3579     CC="$CC $ac_cv_prog_cc_c89"
3580fi
3581  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3582  ac_prog_cc_stdc=c89
3583fi
3584fi
3585
3586ac_ext=c
3587ac_cpp='$CPP $CPPFLAGS'
3588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3590ac_compiler_gnu=$ac_cv_c_compiler_gnu
3591
3592
3593{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3594printf %s "checking for an ANSI C-conforming const... " >&6; }
3595if test ${ac_cv_c_const+y}
3596then :
3597  printf %s "(cached) " >&6
3598else $as_nop
3599  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600/* end confdefs.h.  */
3601
3602int
3603main (void)
3604{
3605
3606#ifndef __cplusplus
3607  /* Ultrix mips cc rejects this sort of thing.  */
3608  typedef int charset[2];
3609  const charset cs = { 0, 0 };
3610  /* SunOS 4.1.1 cc rejects this.  */
3611  char const *const *pcpcc;
3612  char **ppc;
3613  /* NEC SVR4.0.2 mips cc rejects this.  */
3614  struct point {int x, y;};
3615  static struct point const zero = {0,0};
3616  /* IBM XL C 1.02.0.0 rejects this.
3617     It does not let you subtract one const X* pointer from another in
3618     an arm of an if-expression whose if-part is not a constant
3619     expression */
3620  const char *g = "string";
3621  pcpcc = &g + (g ? g-g : 0);
3622  /* HPUX 7.0 cc rejects these. */
3623  ++pcpcc;
3624  ppc = (char**) pcpcc;
3625  pcpcc = (char const *const *) ppc;
3626  { /* SCO 3.2v4 cc rejects this sort of thing.  */
3627    char tx;
3628    char *t = &tx;
3629    char const *s = 0 ? (char *) 0 : (char const *) 0;
3630
3631    *t++ = 0;
3632    if (s) return 0;
3633  }
3634  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3635    int x[] = {25, 17};
3636    const int *foo = &x[0];
3637    ++foo;
3638  }
3639  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3640    typedef const int *iptr;
3641    iptr p = 0;
3642    ++p;
3643  }
3644  { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
3645       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3646    struct s { int j; const int *ap[3]; } bx;
3647    struct s *b = &bx; b->j = 5;
3648  }
3649  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3650    const int foo = 10;
3651    if (!foo) return 0;
3652  }
3653  return !cs[0] && !zero.x;
3654#endif
3655
3656  ;
3657  return 0;
3658}
3659_ACEOF
3660if ac_fn_c_try_compile "$LINENO"
3661then :
3662  ac_cv_c_const=yes
3663else $as_nop
3664  ac_cv_c_const=no
3665fi
3666rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3667fi
3668{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3669printf "%s\n" "$ac_cv_c_const" >&6; }
3670if test $ac_cv_c_const = no; then
3671
3672printf "%s\n" "@%:@define const /**/" >>confdefs.h
3673
3674fi
3675
3676{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3677printf %s "checking for inline... " >&6; }
3678if test ${ac_cv_c_inline+y}
3679then :
3680  printf %s "(cached) " >&6
3681else $as_nop
3682  ac_cv_c_inline=no
3683for ac_kw in inline __inline__ __inline; do
3684  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685/* end confdefs.h.  */
3686#ifndef __cplusplus
3687typedef int foo_t;
3688static $ac_kw foo_t static_foo (void) {return 0; }
3689$ac_kw foo_t foo (void) {return 0; }
3690#endif
3691
3692_ACEOF
3693if ac_fn_c_try_compile "$LINENO"
3694then :
3695  ac_cv_c_inline=$ac_kw
3696fi
3697rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3698  test "$ac_cv_c_inline" != no && break
3699done
3700
3701fi
3702{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3703printf "%s\n" "$ac_cv_c_inline" >&6; }
3704
3705case $ac_cv_c_inline in
3706  inline | yes) ;;
3707  *)
3708    case $ac_cv_c_inline in
3709      no) ac_val=;;
3710      *) ac_val=$ac_cv_c_inline;;
3711    esac
3712    cat >>confdefs.h <<_ACEOF
3713#ifndef __cplusplus
3714#define inline $ac_val
3715#endif
3716_ACEOF
3717    ;;
3718esac
3719
3720ac_header= ac_cache=
3721for ac_item in $ac_header_c_list
3722do
3723  if test $ac_cache; then
3724    ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3725    if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3726      printf "%s\n" "#define $ac_item 1" >> confdefs.h
3727    fi
3728    ac_header= ac_cache=
3729  elif test $ac_header; then
3730    ac_cache=$ac_item
3731  else
3732    ac_header=$ac_item
3733  fi
3734done
3735
3736
3737
3738
3739
3740
3741
3742
3743if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3744then :
3745
3746printf "%s\n" "@%:@define STDC_HEADERS 1" >>confdefs.h
3747
3748fi
3749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3750printf %s "checking whether byte ordering is bigendian... " >&6; }
3751if test ${ac_cv_c_bigendian+y}
3752then :
3753  printf %s "(cached) " >&6
3754else $as_nop
3755  ac_cv_c_bigendian=unknown
3756    # See if we're dealing with a universal compiler.
3757    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758/* end confdefs.h.  */
3759#ifndef __APPLE_CC__
3760	       not a universal capable compiler
3761	     #endif
3762	     typedef int dummy;
3763
3764_ACEOF
3765if ac_fn_c_try_compile "$LINENO"
3766then :
3767
3768	# Check for potential -arch flags.  It is not universal unless
3769	# there are at least two -arch flags with different values.
3770	ac_arch=
3771	ac_prev=
3772	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3773	 if test -n "$ac_prev"; then
3774	   case $ac_word in
3775	     i?86 | x86_64 | ppc | ppc64)
3776	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
3777		 ac_arch=$ac_word
3778	       else
3779		 ac_cv_c_bigendian=universal
3780		 break
3781	       fi
3782	       ;;
3783	   esac
3784	   ac_prev=
3785	 elif test "x$ac_word" = "x-arch"; then
3786	   ac_prev=arch
3787	 fi
3788       done
3789fi
3790rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3791    if test $ac_cv_c_bigendian = unknown; then
3792      # See if sys/param.h defines the BYTE_ORDER macro.
3793      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794/* end confdefs.h.  */
3795#include <sys/types.h>
3796	     #include <sys/param.h>
3797
3798int
3799main (void)
3800{
3801#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3802		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3803		     && LITTLE_ENDIAN)
3804	      bogus endian macros
3805	     #endif
3806
3807  ;
3808  return 0;
3809}
3810_ACEOF
3811if ac_fn_c_try_compile "$LINENO"
3812then :
3813  # It does; now see whether it defined to BIG_ENDIAN or not.
3814	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3815/* end confdefs.h.  */
3816#include <sys/types.h>
3817		#include <sys/param.h>
3818
3819int
3820main (void)
3821{
3822#if BYTE_ORDER != BIG_ENDIAN
3823		 not big endian
3824		#endif
3825
3826  ;
3827  return 0;
3828}
3829_ACEOF
3830if ac_fn_c_try_compile "$LINENO"
3831then :
3832  ac_cv_c_bigendian=yes
3833else $as_nop
3834  ac_cv_c_bigendian=no
3835fi
3836rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3837fi
3838rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3839    fi
3840    if test $ac_cv_c_bigendian = unknown; then
3841      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3842      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843/* end confdefs.h.  */
3844#include <limits.h>
3845
3846int
3847main (void)
3848{
3849#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3850	      bogus endian macros
3851	     #endif
3852
3853  ;
3854  return 0;
3855}
3856_ACEOF
3857if ac_fn_c_try_compile "$LINENO"
3858then :
3859  # It does; now see whether it defined to _BIG_ENDIAN or not.
3860	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861/* end confdefs.h.  */
3862#include <limits.h>
3863
3864int
3865main (void)
3866{
3867#ifndef _BIG_ENDIAN
3868		 not big endian
3869		#endif
3870
3871  ;
3872  return 0;
3873}
3874_ACEOF
3875if ac_fn_c_try_compile "$LINENO"
3876then :
3877  ac_cv_c_bigendian=yes
3878else $as_nop
3879  ac_cv_c_bigendian=no
3880fi
3881rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3882fi
3883rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3884    fi
3885    if test $ac_cv_c_bigendian = unknown; then
3886      # Compile a test program.
3887      if test "$cross_compiling" = yes
3888then :
3889  # Try to guess by grepping values from an object file.
3890	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891/* end confdefs.h.  */
3892unsigned short int ascii_mm[] =
3893		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3894		unsigned short int ascii_ii[] =
3895		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3896		int use_ascii (int i) {
3897		  return ascii_mm[i] + ascii_ii[i];
3898		}
3899		unsigned short int ebcdic_ii[] =
3900		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3901		unsigned short int ebcdic_mm[] =
3902		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3903		int use_ebcdic (int i) {
3904		  return ebcdic_mm[i] + ebcdic_ii[i];
3905		}
3906		extern int foo;
3907
3908int
3909main (void)
3910{
3911return use_ascii (foo) == use_ebcdic (foo);
3912  ;
3913  return 0;
3914}
3915_ACEOF
3916if ac_fn_c_try_compile "$LINENO"
3917then :
3918  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
3919	      ac_cv_c_bigendian=yes
3920	    fi
3921	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3922	      if test "$ac_cv_c_bigendian" = unknown; then
3923		ac_cv_c_bigendian=no
3924	      else
3925		# finding both strings is unlikely to happen, but who knows?
3926		ac_cv_c_bigendian=unknown
3927	      fi
3928	    fi
3929fi
3930rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3931else $as_nop
3932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3933/* end confdefs.h.  */
3934$ac_includes_default
3935int
3936main (void)
3937{
3938
3939	     /* Are we little or big endian?  From Harbison&Steele.  */
3940	     union
3941	     {
3942	       long int l;
3943	       char c[sizeof (long int)];
3944	     } u;
3945	     u.l = 1;
3946	     return u.c[sizeof (long int) - 1] == 1;
3947
3948  ;
3949  return 0;
3950}
3951_ACEOF
3952if ac_fn_c_try_run "$LINENO"
3953then :
3954  ac_cv_c_bigendian=no
3955else $as_nop
3956  ac_cv_c_bigendian=yes
3957fi
3958rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3959  conftest.$ac_objext conftest.beam conftest.$ac_ext
3960fi
3961
3962    fi
3963fi
3964{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
3965printf "%s\n" "$ac_cv_c_bigendian" >&6; }
3966 case $ac_cv_c_bigendian in #(
3967   yes)
3968     printf "%s\n" "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
3969;; #(
3970   no)
3971      ;; #(
3972   universal)
3973
3974printf "%s\n" "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
3975
3976     ;; #(
3977   *)
3978     as_fn_error $? "unknown endianness
3979 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
3980 esac
3981
3982ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3983if test "x$ac_cv_type_size_t" = xyes
3984then :
3985
3986else $as_nop
3987
3988printf "%s\n" "@%:@define size_t unsigned int" >>confdefs.h
3989
3990fi
3991
3992# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3993# for constant arguments.  Useless!
3994{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
3995printf %s "checking for working alloca.h... " >&6; }
3996if test ${ac_cv_working_alloca_h+y}
3997then :
3998  printf %s "(cached) " >&6
3999else $as_nop
4000  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001/* end confdefs.h.  */
4002@%:@include <alloca.h>
4003int
4004main (void)
4005{
4006char *p = (char *) alloca (2 * sizeof (int));
4007			  if (p) return 0;
4008  ;
4009  return 0;
4010}
4011_ACEOF
4012if ac_fn_c_try_link "$LINENO"
4013then :
4014  ac_cv_working_alloca_h=yes
4015else $as_nop
4016  ac_cv_working_alloca_h=no
4017fi
4018rm -f core conftest.err conftest.$ac_objext conftest.beam \
4019    conftest$ac_exeext conftest.$ac_ext
4020fi
4021{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4022printf "%s\n" "$ac_cv_working_alloca_h" >&6; }
4023if test $ac_cv_working_alloca_h = yes; then
4024
4025printf "%s\n" "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
4026
4027fi
4028
4029{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4030printf %s "checking for alloca... " >&6; }
4031if test ${ac_cv_func_alloca_works+y}
4032then :
4033  printf %s "(cached) " >&6
4034else $as_nop
4035  if test $ac_cv_working_alloca_h = yes; then
4036  ac_cv_func_alloca_works=yes
4037else
4038  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039/* end confdefs.h.  */
4040#include <stdlib.h>
4041#include <stddef.h>
4042#ifndef alloca
4043# ifdef __GNUC__
4044#  define alloca __builtin_alloca
4045# elif defined _MSC_VER
4046#  include <malloc.h>
4047#  define alloca _alloca
4048# else
4049#  ifdef  __cplusplus
4050extern "C"
4051#  endif
4052void *alloca (size_t);
4053# endif
4054#endif
4055
4056int
4057main (void)
4058{
4059char *p = (char *) alloca (1);
4060				    if (p) return 0;
4061  ;
4062  return 0;
4063}
4064_ACEOF
4065if ac_fn_c_try_link "$LINENO"
4066then :
4067  ac_cv_func_alloca_works=yes
4068else $as_nop
4069  ac_cv_func_alloca_works=no
4070fi
4071rm -f core conftest.err conftest.$ac_objext conftest.beam \
4072    conftest$ac_exeext conftest.$ac_ext
4073fi
4074{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4075printf "%s\n" "$ac_cv_func_alloca_works" >&6; }
4076fi
4077
4078if test $ac_cv_func_alloca_works = yes; then
4079
4080printf "%s\n" "@%:@define HAVE_ALLOCA 1" >>confdefs.h
4081
4082else
4083  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4084# that cause trouble.  Some versions do not even contain alloca or
4085# contain a buggy version.  If you still want to use their alloca,
4086# use ar to extract alloca.o from them instead of compiling alloca.c.
4087
4088ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
4089
4090printf "%s\n" "@%:@define C_ALLOCA 1" >>confdefs.h
4091
4092
4093{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4094printf %s "checking stack direction for C alloca... " >&6; }
4095if test ${ac_cv_c_stack_direction+y}
4096then :
4097  printf %s "(cached) " >&6
4098else $as_nop
4099  if test "$cross_compiling" = yes
4100then :
4101  ac_cv_c_stack_direction=0
4102else $as_nop
4103  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104/* end confdefs.h.  */
4105$ac_includes_default
4106int
4107find_stack_direction (int *addr, int depth)
4108{
4109  int dir, dummy = 0;
4110  if (! addr)
4111    addr = &dummy;
4112  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
4113  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
4114  return dir + dummy;
4115}
4116
4117int
4118main (int argc, char **argv)
4119{
4120  return find_stack_direction (0, argc + !argv + 20) < 0;
4121}
4122_ACEOF
4123if ac_fn_c_try_run "$LINENO"
4124then :
4125  ac_cv_c_stack_direction=1
4126else $as_nop
4127  ac_cv_c_stack_direction=-1
4128fi
4129rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4130  conftest.$ac_objext conftest.beam conftest.$ac_ext
4131fi
4132
4133fi
4134{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4135printf "%s\n" "$ac_cv_c_stack_direction" >&6; }
4136printf "%s\n" "@%:@define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h
4137
4138
4139fi
4140
4141ac_func=
4142for ac_item in $ac_func_c_list
4143do
4144  if test $ac_func; then
4145    ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
4146    if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
4147      echo "#define $ac_item 1" >> confdefs.h
4148    fi
4149    ac_func=
4150  else
4151    ac_func=$ac_item
4152  fi
4153done
4154
4155if test "x$ac_cv_func_vprintf" = xno
4156then :
4157  ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
4158if test "x$ac_cv_func__doprnt" = xyes
4159then :
4160
4161printf "%s\n" "@%:@define HAVE_DOPRNT 1" >>confdefs.h
4162
4163fi
4164
4165fi
4166ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
4167if test "x$ac_cv_func_gethostname" = xyes
4168then :
4169  printf "%s\n" "@%:@define HAVE_GETHOSTNAME 1" >>confdefs.h
4170
4171fi
4172ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
4173if test "x$ac_cv_func_socket" = xyes
4174then :
4175  printf "%s\n" "@%:@define HAVE_SOCKET 1" >>confdefs.h
4176
4177fi
4178ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
4179if test "x$ac_cv_func_snprintf" = xyes
4180then :
4181  printf "%s\n" "@%:@define HAVE_SNPRINTF 1" >>confdefs.h
4182
4183fi
4184ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4185if test "x$ac_cv_func_getpagesize" = xyes
4186then :
4187  printf "%s\n" "@%:@define HAVE_GETPAGESIZE 1" >>confdefs.h
4188
4189fi
4190
4191
4192
4193  # Find a good install program.  We prefer a C program (faster),
4194# so one script is as good as another.  But avoid the broken or
4195# incompatible versions:
4196# SysV /etc/install, /usr/sbin/install
4197# SunOS /usr/etc/install
4198# IRIX /sbin/install
4199# AIX /bin/install
4200# AmigaOS /C/install, which installs bootblocks on floppy discs
4201# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4202# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4203# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4204# OS/2's system install, which has a completely different semantic
4205# ./install, which can be erroneously created by make from ./install.sh.
4206# Reject install programs that cannot install multiple files.
4207{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4208printf %s "checking for a BSD-compatible install... " >&6; }
4209if test -z "$INSTALL"; then
4210if test ${ac_cv_path_install+y}
4211then :
4212  printf %s "(cached) " >&6
4213else $as_nop
4214  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215for as_dir in $PATH
4216do
4217  IFS=$as_save_IFS
4218  case $as_dir in #(((
4219    '') as_dir=./ ;;
4220    */) ;;
4221    *) as_dir=$as_dir/ ;;
4222  esac
4223    # Account for fact that we put trailing slashes in our PATH walk.
4224case $as_dir in @%:@((
4225  ./ | /[cC]/* | \
4226  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4227  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4228  /usr/ucb/* ) ;;
4229  *)
4230    # OSF1 and SCO ODT 3.0 have their own names for install.
4231    # Don't use installbsd from OSF since it installs stuff as root
4232    # by default.
4233    for ac_prog in ginstall scoinst install; do
4234      for ac_exec_ext in '' $ac_executable_extensions; do
4235	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
4236	  if test $ac_prog = install &&
4237	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4238	    # AIX install.  It has an incompatible calling convention.
4239	    :
4240	  elif test $ac_prog = install &&
4241	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4242	    # program-specific install script used by HP pwplus--don't use.
4243	    :
4244	  else
4245	    rm -rf conftest.one conftest.two conftest.dir
4246	    echo one > conftest.one
4247	    echo two > conftest.two
4248	    mkdir conftest.dir
4249	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
4250	      test -s conftest.one && test -s conftest.two &&
4251	      test -s conftest.dir/conftest.one &&
4252	      test -s conftest.dir/conftest.two
4253	    then
4254	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
4255	      break 3
4256	    fi
4257	  fi
4258	fi
4259      done
4260    done
4261    ;;
4262esac
4263
4264  done
4265IFS=$as_save_IFS
4266
4267rm -rf conftest.one conftest.two conftest.dir
4268
4269fi
4270  if test ${ac_cv_path_install+y}; then
4271    INSTALL=$ac_cv_path_install
4272  else
4273    # As a last resort, use the slow shell script.  Don't cache a
4274    # value for INSTALL within a source directory, because that will
4275    # break other packages using the cache if that directory is
4276    # removed, or if the value is a relative name.
4277    INSTALL=$ac_install_sh
4278  fi
4279fi
4280{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4281printf "%s\n" "$INSTALL" >&6; }
4282
4283# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4284# It thinks the first close brace ends the variable substitution.
4285test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4286
4287test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4288
4289test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4290
4291{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xdr_void in -lnsl" >&5
4292printf %s "checking for xdr_void in -lnsl... " >&6; }
4293if test ${ac_cv_lib_nsl_xdr_void+y}
4294then :
4295  printf %s "(cached) " >&6
4296else $as_nop
4297  ac_check_lib_save_LIBS=$LIBS
4298LIBS="-lnsl  $LIBS"
4299cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300/* end confdefs.h.  */
4301
4302/* Override any GCC internal prototype to avoid an error.
4303   Use char because int might match the return type of a GCC
4304   builtin and then its argument prototype would still apply.  */
4305char xdr_void ();
4306int
4307main (void)
4308{
4309return xdr_void ();
4310  ;
4311  return 0;
4312}
4313_ACEOF
4314if ac_fn_c_try_link "$LINENO"
4315then :
4316  ac_cv_lib_nsl_xdr_void=yes
4317else $as_nop
4318  ac_cv_lib_nsl_xdr_void=no
4319fi
4320rm -f core conftest.err conftest.$ac_objext conftest.beam \
4321    conftest$ac_exeext conftest.$ac_ext
4322LIBS=$ac_check_lib_save_LIBS
4323fi
4324{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_xdr_void" >&5
4325printf "%s\n" "$ac_cv_lib_nsl_xdr_void" >&6; }
4326if test "x$ac_cv_lib_nsl_xdr_void" = xyes
4327then :
4328  printf "%s\n" "@%:@define HAVE_LIBNSL 1" >>confdefs.h
4329
4330  LIBS="-lnsl $LIBS"
4331
4332fi
4333
4334{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
4335printf %s "checking for bind in -lsocket... " >&6; }
4336if test ${ac_cv_lib_socket_bind+y}
4337then :
4338  printf %s "(cached) " >&6
4339else $as_nop
4340  ac_check_lib_save_LIBS=$LIBS
4341LIBS="-lsocket  $LIBS"
4342cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343/* end confdefs.h.  */
4344
4345/* Override any GCC internal prototype to avoid an error.
4346   Use char because int might match the return type of a GCC
4347   builtin and then its argument prototype would still apply.  */
4348char bind ();
4349int
4350main (void)
4351{
4352return bind ();
4353  ;
4354  return 0;
4355}
4356_ACEOF
4357if ac_fn_c_try_link "$LINENO"
4358then :
4359  ac_cv_lib_socket_bind=yes
4360else $as_nop
4361  ac_cv_lib_socket_bind=no
4362fi
4363rm -f core conftest.err conftest.$ac_objext conftest.beam \
4364    conftest$ac_exeext conftest.$ac_ext
4365LIBS=$ac_check_lib_save_LIBS
4366fi
4367{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
4368printf "%s\n" "$ac_cv_lib_socket_bind" >&6; }
4369if test "x$ac_cv_lib_socket_bind" = xyes
4370then :
4371  printf "%s\n" "@%:@define HAVE_LIBSOCKET 1" >>confdefs.h
4372
4373  LIBS="-lsocket $LIBS"
4374
4375fi
4376
4377{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4378printf %s "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4379if test ${ac_cv_header_sys_wait_h+y}
4380then :
4381  printf %s "(cached) " >&6
4382else $as_nop
4383  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384/* end confdefs.h.  */
4385#include <sys/types.h>
4386#include <sys/wait.h>
4387#ifndef WEXITSTATUS
4388# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4389#endif
4390#ifndef WIFEXITED
4391# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4392#endif
4393
4394int
4395main (void)
4396{
4397  int s;
4398  wait (&s);
4399  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4400  ;
4401  return 0;
4402}
4403_ACEOF
4404if ac_fn_c_try_compile "$LINENO"
4405then :
4406  ac_cv_header_sys_wait_h=yes
4407else $as_nop
4408  ac_cv_header_sys_wait_h=no
4409fi
4410rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4411fi
4412{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4413printf "%s\n" "$ac_cv_header_sys_wait_h" >&6; }
4414if test $ac_cv_header_sys_wait_h = yes; then
4415
4416printf "%s\n" "@%:@define HAVE_SYS_WAIT_H 1" >>confdefs.h
4417
4418fi
4419
4420
4421
4422# Obsolete code to be removed.
4423if test $ac_cv_header_sys_time_h = yes; then
4424
4425printf "%s\n" "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
4426
4427fi
4428# End of obsolete code.
4429
4430ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
4431if test "x$ac_cv_header_fcntl_h" = xyes
4432then :
4433  printf "%s\n" "@%:@define HAVE_FCNTL_H 1" >>confdefs.h
4434
4435fi
4436ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
4437if test "x$ac_cv_header_sys_time_h" = xyes
4438then :
4439  printf "%s\n" "@%:@define HAVE_SYS_TIME_H 1" >>confdefs.h
4440
4441fi
4442ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
4443if test "x$ac_cv_header_sys_utsname_h" = xyes
4444then :
4445  printf "%s\n" "@%:@define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
4446
4447fi
4448
4449PKG_PROG_PKG_CONFIG
4450
4451_cppflags="${CPPFLAGS}"
4452CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
4453
4454
4455@%:@ Check whether --with-xorg-x11r7 was given.
4456if test ${with_xorg_x11r7+y}
4457then :
4458  withval=$with_xorg_x11r7;
4459else $as_nop
4460  with_xorg_x11r7=yes
4461fi
4462
4463
4464if test "$with_xorg_x11r7" != "no"; then
4465
4466ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xdbe.h" "ac_cv_header_X11_extensions_Xdbe_h" "#include <X11/Xlib.h>
4467"
4468if test "x$ac_cv_header_X11_extensions_Xdbe_h" = xyes
4469then :
4470  printf "%s\n" "@%:@define HAVE_X11_EXTENSIONS_XDBE_H 1" >>confdefs.h
4471
4472fi
4473
4474
4475XINERAMA_LIBS=""
4476XRANDR_LIBS=""
4477XFT_LIBS=""
4478XFT_CFLAGS=""
4479
4480
4481@%:@ Check whether --with-xinerama was given.
4482if test ${with_xinerama+y}
4483then :
4484  withval=$with_xinerama;
4485else $as_nop
4486  with_xinerama=yes
4487fi
4488
4489
4490if test "$with_xinerama" != "no"; then
4491
4492PKG_CHECK_MODULES(libXinerama, xinerama >= 1.0
4493		  ,XINERAMA_LIBS="-lXinerama"
4494
4495printf "%s\n" "@%:@define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
4496
4497		  ,as_fn_error $? "cannot locate libXinerama" "$LINENO" 5)
4498
4499fi
4500
4501PKG_CHECK_MODULES(libXRandR, xrandr >= 1.0
4502		  ,XRANDR_LIBS="-lXrandr"
4503
4504printf "%s\n" "@%:@define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
4505
4506		  ,as_fn_error $? "cannot locate libXRandR" "$LINENO" 5)
4507
4508PKG_CHECK_MODULES(libXft, xft >= 1.0
4509		  ,XFT_LIBS="-lXft"
4510		  XFT_CFLAGS="`$PKG_CONFIG --cflags xft`"
4511
4512printf "%s\n" "@%:@define HAVE_X11_XFT_XFT_H 1" >>confdefs.h
4513
4514		  ,as_fn_error $? "cannot locate libXft" "$LINENO" 5)
4515
4516X_LIBS=""
4517
4518PKG_CHECK_MODULES(libX11, x11 >= 1.0
4519		  ,
4520printf "%s\n" "@%:@define HAVE_X11 1" >>confdefs.h
4521
4522		  X_LIBS="`$PKG_CONFIG --libs x11`"
4523		  X_CFLAGS="`$PKG_CONFIG --cflags x11`"
4524
4525printf "%s\n" "@%:@define X_DISPLAY_MISSING 0" >>confdefs.h
4526
4527		  ,as_fn_error $? "cannot locate libX11" "$LINENO" 5)
4528
4529X_LIBS="${X_LIBS} -lXext -lXrender"
4530
4531X_EXTRA_LIBS=""
4532
4533PKG_CHECK_MODULES(libICE, ice >= 1.0
4534		  ,X_EXTRA_LIBS="${X_EXTRA_LIBS} -lICE"
4535
4536printf "%s\n" "@%:@define HAVE_X11_ICE_ICE_H 1" >>confdefs.h
4537
4538		  ,as_fn_error $? "cannot locate libICE" "$LINENO" 5)
4539
4540PKG_CHECK_MODULES(libSM, sm >= 1.0
4541		  ,X_EXTRA_LIBS="${X_EXTRA_LIBS} -lSM"
4542
4543printf "%s\n" "@%:@define HAVE_X11_SM_SMLIB_H 1" >>confdefs.h
4544
4545		  ,as_fn_error $? "cannot locate libSM" "$LINENO" 5)
4546
4547PKG_CHECK_MODULES(XTest, xtst >= 1.0
4548		  ,X_EXTRA_LIBS="${X_EXTRA_LIBS} -lXtst"
4549
4550printf "%s\n" "@%:@define HAVE_X11_EXTENSIONS_XTST_H 1" >>confdefs.h
4551
4552		  ,as_fn_error $? "cannot locate Xtest (libXtst)" "$LINENO" 5)
4553
4554X_SERVER="X.Org X11R7"
4555
4556CPPFLAGS="${_cppflags}"
4557
4558else
4559
4560ac_fn_c_check_header_compile "$LINENO" "X11/ICE/ICE.h" "ac_cv_header_X11_ICE_ICE_h" "#include <X11/Xlib.h>
4561"
4562if test "x$ac_cv_header_X11_ICE_ICE_h" = xyes
4563then :
4564  printf "%s\n" "@%:@define HAVE_X11_ICE_ICE_H 1" >>confdefs.h
4565
4566fi
4567ac_fn_c_check_header_compile "$LINENO" "X11/SM/SMlib.h" "ac_cv_header_X11_SM_SMlib_h" "#include <X11/Xlib.h>
4568"
4569if test "x$ac_cv_header_X11_SM_SMlib_h" = xyes
4570then :
4571  printf "%s\n" "@%:@define HAVE_X11_SM_SMLIB_H 1" >>confdefs.h
4572
4573fi
4574ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xdbe.h" "ac_cv_header_X11_extensions_Xdbe_h" "#include <X11/Xlib.h>
4575"
4576if test "x$ac_cv_header_X11_extensions_Xdbe_h" = xyes
4577then :
4578  printf "%s\n" "@%:@define HAVE_X11_EXTENSIONS_XDBE_H 1" >>confdefs.h
4579
4580fi
4581ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XTest.h" "ac_cv_header_X11_extensions_XTest_h" "#include <X11/Xlib.h>
4582"
4583if test "x$ac_cv_header_X11_extensions_XTest_h" = xyes
4584then :
4585  printf "%s\n" "@%:@define HAVE_X11_EXTENSIONS_XTEST_H 1" >>confdefs.h
4586
4587fi
4588
4589
4590XINERAMA_LIBS=""
4591XRANDR_LIBS=""
4592XFT_LIBS=""
4593XFT_CFLAGS=""
4594
4595if test "$with_xinerama" != "no"; then
4596
4597{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
4598printf %s "checking for XineramaQueryScreens in -lXinerama... " >&6; }
4599if test ${ac_cv_lib_Xinerama_XineramaQueryScreens+y}
4600then :
4601  printf %s "(cached) " >&6
4602else $as_nop
4603  ac_check_lib_save_LIBS=$LIBS
4604LIBS="-lXinerama $X_LIBS -lX11 -lXext $LIBS"
4605cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606/* end confdefs.h.  */
4607
4608/* Override any GCC internal prototype to avoid an error.
4609   Use char because int might match the return type of a GCC
4610   builtin and then its argument prototype would still apply.  */
4611char XineramaQueryScreens ();
4612int
4613main (void)
4614{
4615return XineramaQueryScreens ();
4616  ;
4617  return 0;
4618}
4619_ACEOF
4620if ac_fn_c_try_link "$LINENO"
4621then :
4622  ac_cv_lib_Xinerama_XineramaQueryScreens=yes
4623else $as_nop
4624  ac_cv_lib_Xinerama_XineramaQueryScreens=no
4625fi
4626rm -f core conftest.err conftest.$ac_objext conftest.beam \
4627    conftest$ac_exeext conftest.$ac_ext
4628LIBS=$ac_check_lib_save_LIBS
4629fi
4630{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
4631printf "%s\n" "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
4632if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
4633then :
4634  XINERAMA_LIBS="-lXinerama"
4635	      ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$ac_includes_default"
4636if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
4637then :
4638  printf "%s\n" "@%:@define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
4639
4640fi
4641
4642fi
4643
4644
4645fi
4646
4647{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRRUpdateConfiguration in -lXrandr" >&5
4648printf %s "checking for XRRUpdateConfiguration in -lXrandr... " >&6; }
4649if test ${ac_cv_lib_Xrandr_XRRUpdateConfiguration+y}
4650then :
4651  printf %s "(cached) " >&6
4652else $as_nop
4653  ac_check_lib_save_LIBS=$LIBS
4654LIBS="-lXrandr $X_LIBS -lX11 -lXext $LIBS"
4655cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656/* end confdefs.h.  */
4657
4658/* Override any GCC internal prototype to avoid an error.
4659   Use char because int might match the return type of a GCC
4660   builtin and then its argument prototype would still apply.  */
4661char XRRUpdateConfiguration ();
4662int
4663main (void)
4664{
4665return XRRUpdateConfiguration ();
4666  ;
4667  return 0;
4668}
4669_ACEOF
4670if ac_fn_c_try_link "$LINENO"
4671then :
4672  ac_cv_lib_Xrandr_XRRUpdateConfiguration=yes
4673else $as_nop
4674  ac_cv_lib_Xrandr_XRRUpdateConfiguration=no
4675fi
4676rm -f core conftest.err conftest.$ac_objext conftest.beam \
4677    conftest$ac_exeext conftest.$ac_ext
4678LIBS=$ac_check_lib_save_LIBS
4679fi
4680{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRUpdateConfiguration" >&5
4681printf "%s\n" "$ac_cv_lib_Xrandr_XRRUpdateConfiguration" >&6; }
4682if test "x$ac_cv_lib_Xrandr_XRRUpdateConfiguration" = xyes
4683then :
4684  XRANDR_LIBS="-lXrandr"
4685	      ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#include <X11/Xlib.h>
4686"
4687if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
4688then :
4689  printf "%s\n" "@%:@define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
4690
4691fi
4692
4693fi
4694
4695
4696PKG_CHECK_MODULES(XFT, xft >= 1.0,
4697 _cppflags=$CPPFLAGS
4698  CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
4699  AC_CHECK_HEADERS(X11/Xft/Xft.h)
4700  CPPFLAGS=$_cppflags,
4701 AC_CHECK_LIB(Xft, XftDrawCreate,
4702	       [XFT_LIBS="-lXft -lXrender"
4703	       AC_CHECK_HEADERS(X11/Xft/Xft.h)],
4704	       [], [$X_LIBS -lX11 -lXext]))
4705
4706if test "${no_x}" != "yes"; then
4707
4708printf "%s\n" "@%:@define HAVE_X11 1" >>confdefs.h
4709
4710  X_LIBS="${X_LIBS} -lXext -lXrender"
4711  X_EXTRA_LIBS="-lSM -lICE -lXtst"
4712else
4713  as_fn_error $? "You need X11 for sawfish" "$LINENO" 5
4714fi
4715
4716X_SERVER="X.Org/XFree86 X11R6"
4717
4718CPPFLAGS="${_cppflags}"
4719
4720fi
4721
4722
4723
4724@%:@ Check whether --with-pango was given.
4725if test ${with_pango+y}
4726then :
4727  withval=$with_pango;
4728else $as_nop
4729  with_pango=yes
4730fi
4731
4732
4733if test "$with_pango" = "yes"; then
4734
4735PANGO_MIN_VER="1.8.0"
4736
4737PANGO_MODULES="pango "
4738
4739PKG_CHECK_MODULES(PANGO, pango >= ${PANGO_MIN_VER}
4740		  ,
4741printf "%s\n" "@%:@define HAVE_PANGO 1" >>confdefs.h
4742 FONT_LOADER="Pango"
4743		  ,as_fn_error $? "cannot locate pango >= $PANGO_MIN_VER" "$LINENO" 5)
4744
4745PKG_CHECK_MODULES(PANGOXFT, pangoxft >= ${PANGO_MIN_VER}
4746		  ,
4747printf "%s\n" "@%:@define HAVE_PANGO_XFT 1" >>confdefs.h
4748 PANGO_MODULES="${PANGO_MODULES} pangoxft" have_pango_xft="yes" FONT_LOADER="Pango XFT"
4749		  ,{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pango xft support not available $PANGO_MIN_VER" >&5
4750printf "%s\n" "$as_me: WARNING: pango xft support not available $PANGO_MIN_VER" >&2;})
4751
4752PANGO_LIBS=`$PKG_CONFIG --libs $PANGO_MODULES`
4753PANGO_CFLAGS=`$PKG_CONFIG --cflags $PANGO_MODULES`
4754
4755else FONT_LOADER="X.Org"
4756fi
4757
4758REP_MIN_VER="0.92.3"
4759
4760# Extract the first word of "rep", so it can be a program name with args.
4761set dummy rep; ac_word=$2
4762{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4763printf %s "checking for $ac_word... " >&6; }
4764if test ${ac_cv_prog_REP_BIN+y}
4765then :
4766  printf %s "(cached) " >&6
4767else $as_nop
4768  if test -n "$REP_BIN"; then
4769  ac_cv_prog_REP_BIN="$REP_BIN" # Let the user override the test.
4770else
4771as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772for as_dir in $PATH
4773do
4774  IFS=$as_save_IFS
4775  case $as_dir in #(((
4776    '') as_dir=./ ;;
4777    */) ;;
4778    *) as_dir=$as_dir/ ;;
4779  esac
4780    for ac_exec_ext in '' $ac_executable_extensions; do
4781  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4782    ac_cv_prog_REP_BIN="yes"
4783    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4784    break 2
4785  fi
4786done
4787  done
4788IFS=$as_save_IFS
4789
4790fi
4791fi
4792REP_BIN=$ac_cv_prog_REP_BIN
4793if test -n "$REP_BIN"; then
4794  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $REP_BIN" >&5
4795printf "%s\n" "$REP_BIN" >&6; }
4796else
4797  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798printf "%s\n" "no" >&6; }
4799fi
4800
4801
4802if test "$REP_BIN" != "yes"; then
4803	echo "rep binary not found!"
4804	exit 1
4805fi
4806
4807PKG_CHECK_MODULES(LIBREP, librep >= ${REP_MIN_VER}
4808		  ,REP_EXECDIR="`$PKG_CONFIG --variable=repcommonexecdir librep`"
4809		  REP_CFLAGS="`$PKG_CONFIG --cflags librep`"
4810		  REP_LIBS="`$PKG_CONFIG --libs librep`"
4811		  REP_MSGFMT="`which msgfmt`"
4812		  REP_VERSION="`$PKG_CONFIG --variable=version librep`"
4813		  ,as_fn_error $? "cannot locate librep >= $REP_MIN_VER" "$LINENO" 5)
4814
4815GTK_MIN_VER="2.24.0"
4816GDK_MIN_VER="2.23.0"
4817
4818PKG_CHECK_MODULES(GTK, gtk+-2.0 >= ${GTK_MIN_VER}
4819		  ,GTK_LIBS="`$PKG_CONFIG --libs gtk+-2.0`"
4820		  GTK_CFLAGS="`$PKG_CONFIG --cflags gtk+-2.0`"
4821
4822printf "%s\n" "@%:@define HAVE_GTK 1" >>confdefs.h
4823
4824		  ,as_fn_error $? "cannot locate gtk+ >= $GTK_MIN_VER" "$LINENO" 5)
4825
4826REP_GTK_MIN_VER="0.90.7"
4827
4828PKG_CHECK_MODULES(REP_GTK, rep-gtk >= ${REP_GTK_MIN_VER}
4829		  ,
4830		  ,as_fn_error $? "cannot locate rep-gtk >= $REP_GTK_MIN_VER" "$LINENO" 5)
4831
4832
4833@%:@ Check whether --with-gdk-pixbuf was given.
4834if test ${with_gdk_pixbuf+y}
4835then :
4836  withval=$with_gdk_pixbuf;
4837else $as_nop
4838  with_gdk_pixbuf=yes
4839fi
4840
4841
4842if test "$with_gdk_pixbuf" != "no"; then
4843	PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-xlib-2.0 >= ${GDK_MIN_VER}
4844			  ,IMAGE_CFLAGS="`$PKG_CONFIG --cflags gdk-pixbuf-xlib-2.0`"
4845			  IMAGE_LIBS="`$PKG_CONFIG --libs gdk-pixbuf-xlib-2.0`"
4846			  IMAGE_PC="gdk-pixbuf-xlib-2.0 >= ${GDK_MIN_VER}"
4847
4848printf "%s\n" "@%:@define HAVE_GDK_PIXBUF 1" >>confdefs.h
4849
4850
4851printf "%s\n" "@%:@define NEED_PIXMAP_CACHE 1" >>confdefs.h
4852
4853			  IMAGE_LOADER="GDK Pixbuf Xlib"
4854			  imageloader="gdk-pixbuf-xlib"
4855			  with_gdk_pixbuf=yes
4856			  ,as_fn_error $? "cannot locate gdk-pixbuf-xlib-2.0 >= $GTK_MIN_VER" "$LINENO" 5
4857			  with_gdk_pixbuf=no)
4858fi
4859
4860if test "$with_gdk_pixbuf" = "no"; then
4861	PKG_CHECK_MODULES(IMLIB1, imlib >= 1.9
4862			  ,IMAGE_CFLAGS="-I`$PKG_CONFIG --variable includedir imlib`"
4863			  IMAGE_LIBS="`$PKG_CONFIG --libs imlib`"
4864			  IMAGE_PC="imlib >= 1.9"
4865
4866printf "%s\n" "@%:@define HAVE_IMLIB 1" >>confdefs.h
4867
4868			  IMLIB_VERSION="`$PKG_CONFIG --modversion imlib`"
4869			  IMAGE_LOADER="IMLIB 1"
4870			  imageloader="imlib1"
4871			  ,as_fn_error $? "cannot locate imlib1 library" "$LINENO" 5)
4872fi
4873
4874
4875
4876@%:@ Check whether --with-nls was given.
4877if test ${with_nls+y}
4878then :
4879  withval=$with_nls;
4880else $as_nop
4881  with_nls=yes
4882fi
4883
4884
4885if test "$with_nls" = "yes"; then
4886	SUBDIRS="${SUBDIRS} po"
4887fi
4888
4889
4890
4891@%:@ Check whether --with-kde4session was given.
4892if test ${with_kde4session+y}
4893then :
4894  withval=$with_kde4session;
4895else $as_nop
4896  with_kde4session=yes
4897fi
4898
4899
4900KDE4_SESSION="$with_kde4session"
4901
4902if test "$with_kde4session" = "yes"; then
4903	KDED4IR="`kde4-config --install data`"
4904fi
4905
4906if test "x$KDE4DIR" = x; then
4907       KDE4DIR="${datadir}/kde4/apps/"
4908fi
4909
4910
4911@%:@ Check whether --with-kde5session was given.
4912if test ${with_kde5session+y}
4913then :
4914  withval=$with_kde5session;
4915else $as_nop
4916  with_kde5session=yes
4917fi
4918
4919
4920KDE5_SESSION="$with_kde5session"
4921
4922if test "$with_kde5session" = "yes"; then
4923	KDE5DIR="`kf5-config --install data`"
4924fi
4925
4926if test "x$KDE5DIR" = x; then
4927       KDE5DIR="${datadir}/"
4928fi
4929
4930
4931@%:@ Check whether --with-luminasession was given.
4932if test ${with_luminasession+y}
4933then :
4934  withval=$with_luminasession;
4935else $as_nop
4936  with_luminasession=yes
4937fi
4938
4939
4940LUMINA_SESSION="$with_luminasession"
4941
4942
4943@%:@ Check whether --with-matesession was given.
4944if test ${with_matesession+y}
4945then :
4946  withval=$with_matesession;
4947else $as_nop
4948  with_matesession=yes
4949fi
4950
4951
4952MATE_SESSION="$with_matesession"
4953
4954
4955@%:@ Check whether --with-xfcesession was given.
4956if test ${with_xfcesession+y}
4957then :
4958  withval=$with_xfcesession;
4959else $as_nop
4960  with_xfcesession=yes
4961fi
4962
4963
4964XFCE_SESSION="$with_xfcesession"
4965
4966
4967@%:@ Check whether --with-gnome2session was given.
4968if test ${with_gnome2session+y}
4969then :
4970  withval=$with_gnome2session;
4971else $as_nop
4972  with_gnome2session=yes
4973fi
4974
4975
4976GNOME2_SESSION="$with_gnome2session"
4977
4978
4979@%:@ Check whether --with-gnome_prefix was given.
4980if test ${with_gnome_prefix+y}
4981then :
4982  withval=$with_gnome_prefix;
4983else $as_nop
4984   with_gnome_prefix=""
4985fi
4986
4987{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNOME prefix" >&5
4988printf %s "checking for GNOME prefix... " >&6; }
4989if test "x$with_gnome_prefix" = "x"; then
4990  with_gnome_prefix='${prefix}'
4991fi
4992{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_gnome_prefix" >&5
4993printf "%s\n" "$with_gnome_prefix" >&6; }
4994GNOMEDIR=$with_gnome_prefix
4995
4996if test "x${GCC}" = "xyes"; then
4997  MAKEDEP='$(CC) -MM'
4998else
4999  case ${host} in
5000    *-dec-osf*)
5001            MAKEDEP='$(CC) -M'
5002      ;;
5003    *-sun-solaris*)
5004            MAKEDEP='/usr/ccs/lib/cpp -M'
5005      ;;
5006    *)
5007            MAKEDEP='true'
5008      ;;
5009  esac
5010fi
5011
5012{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for languages to install" >&5
5013printf %s "checking for languages to install... " >&6; }
5014@%:@ Check whether --enable-linguas was given.
5015if test ${enable_linguas+y}
5016then :
5017  enableval=$enable_linguas;  LINGUAS="$enableval"
5018else $as_nop
5019   LINGUAS=""
5020fi
5021
5022if test "x$LINGUAS" = x; then
5023
5024  LINGUAS="`echo $srcdir/po/*.po | sed -e 's/[^ ]*\/po\/\([^ ]*\)\.po/\1/g'`"
5025
5026fi
5027if test $REP_MSGFMT = true; then
5028  LINGUAS=""
5029fi
5030{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5031printf "%s\n" "$LINGUAS" >&6; }
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087ac_config_files="$ac_config_files Makedefs Makefile data/sawfish.ebuild data/sawfish.pc data/sawfish.spec lisp/Makefile lisp/sawfish/cfg/Makefile lisp/sawfish/gtk/Makefile lisp/sawfish/gtk/widgets/font.jl man/Makefile po/Makefile scripts/Makefile sounds/Makefile src/Makefile themes/Makefile"
5088
5089
5090cat >confcache <<\_ACEOF
5091# This file is a shell script that caches the results of configure
5092# tests run on this system so they can be shared between configure
5093# scripts and configure runs, see configure's option --config-cache.
5094# It is not useful on other systems.  If it contains results you don't
5095# want to keep, you may remove or edit it.
5096#
5097# config.status only pays attention to the cache file if you give it
5098# the --recheck option to rerun configure.
5099#
5100# `ac_cv_env_foo' variables (set or unset) will be overridden when
5101# loading this file, other *unset* `ac_cv_foo' will be assigned the
5102# following values.
5103
5104_ACEOF
5105
5106# The following way of writing the cache mishandles newlines in values,
5107# but we know of no workaround that is simple, portable, and efficient.
5108# So, we kill variables containing newlines.
5109# Ultrix sh set writes to stderr and can't be redirected directly,
5110# and sets the high bit in the cache file unless we assign to the vars.
5111(
5112  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5113    eval ac_val=\$$ac_var
5114    case $ac_val in #(
5115    *${as_nl}*)
5116      case $ac_var in #(
5117      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5118printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5119      esac
5120      case $ac_var in #(
5121      _ | IFS | as_nl) ;; #(
5122      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5123      *) { eval $ac_var=; unset $ac_var;} ;;
5124      esac ;;
5125    esac
5126  done
5127
5128  (set) 2>&1 |
5129    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5130    *${as_nl}ac_space=\ *)
5131      # `set' does not quote correctly, so add quotes: double-quote
5132      # substitution turns \\\\ into \\, and sed turns \\ into \.
5133      sed -n \
5134	"s/'/'\\\\''/g;
5135	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5136      ;; #(
5137    *)
5138      # `set' quotes correctly as required by POSIX, so do not add quotes.
5139      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5140      ;;
5141    esac |
5142    sort
5143) |
5144  sed '
5145     /^ac_cv_env_/b end
5146     t clear
5147     :clear
5148     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
5149     t end
5150     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5151     :end' >>confcache
5152if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5153  if test -w "$cache_file"; then
5154    if test "x$cache_file" != "x/dev/null"; then
5155      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5156printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
5157      if test ! -f "$cache_file" || test -h "$cache_file"; then
5158	cat confcache >"$cache_file"
5159      else
5160        case $cache_file in #(
5161        */* | ?:*)
5162	  mv -f confcache "$cache_file"$$ &&
5163	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5164        *)
5165	  mv -f confcache "$cache_file" ;;
5166	esac
5167      fi
5168    fi
5169  else
5170    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5171printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
5172  fi
5173fi
5174rm -f confcache
5175
5176test "x$prefix" = xNONE && prefix=$ac_default_prefix
5177# Let make expand exec_prefix.
5178test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5179
5180DEFS=-DHAVE_CONFIG_H
5181
5182ac_libobjs=
5183ac_ltlibobjs=
5184U=
5185for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
5186  # 1. Remove the extension, and $U if already installed.
5187  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5188  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
5189  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5190  #    will be set to the directory where LIBOBJS objects are built.
5191  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5192  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5193done
5194LIB@&t@OBJS=$ac_libobjs
5195
5196LTLIBOBJS=$ac_ltlibobjs
5197
5198
5199
5200
5201: "${CONFIG_STATUS=./config.status}"
5202ac_write_fail=0
5203ac_clean_files_save=$ac_clean_files
5204ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5205{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5206printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
5207as_write_fail=0
5208cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5209#! $SHELL
5210# Generated by $as_me.
5211# Run this file to recreate the current configuration.
5212# Compiler output produced by configure, useful for debugging
5213# configure, is in config.log if it exists.
5214
5215debug=false
5216ac_cs_recheck=false
5217ac_cs_silent=false
5218
5219SHELL=\${CONFIG_SHELL-$SHELL}
5220export SHELL
5221_ASEOF
5222cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5223## -------------------- ##
5224## M4sh Initialization. ##
5225## -------------------- ##
5226
5227# Be more Bourne compatible
5228DUALCASE=1; export DUALCASE # for MKS sh
5229as_nop=:
5230if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
5231then :
5232  emulate sh
5233  NULLCMD=:
5234  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5235  # is contrary to our usage.  Disable this feature.
5236  alias -g '${1+"$@"}'='"$@"'
5237  setopt NO_GLOB_SUBST
5238else $as_nop
5239  case `(set -o) 2>/dev/null` in @%:@(
5240  *posix*) :
5241    set -o posix ;; @%:@(
5242  *) :
5243     ;;
5244esac
5245fi
5246
5247
5248
5249# Reset variables that may have inherited troublesome values from
5250# the environment.
5251
5252# IFS needs to be set, to space, tab, and newline, in precisely that order.
5253# (If _AS_PATH_WALK were called with IFS unset, it would have the
5254# side effect of setting IFS to empty, thus disabling word splitting.)
5255# Quoting is to prevent editors from complaining about space-tab.
5256as_nl='
5257'
5258export as_nl
5259IFS=" ""	$as_nl"
5260
5261PS1='$ '
5262PS2='> '
5263PS4='+ '
5264
5265# Ensure predictable behavior from utilities with locale-dependent output.
5266LC_ALL=C
5267export LC_ALL
5268LANGUAGE=C
5269export LANGUAGE
5270
5271# We cannot yet rely on "unset" to work, but we need these variables
5272# to be unset--not just set to an empty or harmless value--now, to
5273# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
5274# also avoids known problems related to "unset" and subshell syntax
5275# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
5276for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
5277do eval test \${$as_var+y} \
5278  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5279done
5280
5281# Ensure that fds 0, 1, and 2 are open.
5282if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
5283if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
5284if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
5285
5286# The user is always right.
5287if ${PATH_SEPARATOR+false} :; then
5288  PATH_SEPARATOR=:
5289  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5290    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5291      PATH_SEPARATOR=';'
5292  }
5293fi
5294
5295
5296# Find who we are.  Look in the path if we contain no directory separator.
5297as_myself=
5298case $0 in @%:@((
5299  *[\\/]* ) as_myself=$0 ;;
5300  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301for as_dir in $PATH
5302do
5303  IFS=$as_save_IFS
5304  case $as_dir in #(((
5305    '') as_dir=./ ;;
5306    */) ;;
5307    *) as_dir=$as_dir/ ;;
5308  esac
5309    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5310  done
5311IFS=$as_save_IFS
5312
5313     ;;
5314esac
5315# We did not find ourselves, most probably we were run as `sh COMMAND'
5316# in which case we are not to be found in the path.
5317if test "x$as_myself" = x; then
5318  as_myself=$0
5319fi
5320if test ! -f "$as_myself"; then
5321  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5322  exit 1
5323fi
5324
5325
5326
5327@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
5328@%:@ ----------------------------------------
5329@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5330@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5331@%:@ script with STATUS, using 1 if that was 0.
5332as_fn_error ()
5333{
5334  as_status=$1; test $as_status -eq 0 && as_status=1
5335  if test "$4"; then
5336    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5337    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5338  fi
5339  printf "%s\n" "$as_me: error: $2" >&2
5340  as_fn_exit $as_status
5341} @%:@ as_fn_error
5342
5343
5344
5345@%:@ as_fn_set_status STATUS
5346@%:@ -----------------------
5347@%:@ Set @S|@? to STATUS, without forking.
5348as_fn_set_status ()
5349{
5350  return $1
5351} @%:@ as_fn_set_status
5352
5353@%:@ as_fn_exit STATUS
5354@%:@ -----------------
5355@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5356as_fn_exit ()
5357{
5358  set +e
5359  as_fn_set_status $1
5360  exit $1
5361} @%:@ as_fn_exit
5362
5363@%:@ as_fn_unset VAR
5364@%:@ ---------------
5365@%:@ Portably unset VAR.
5366as_fn_unset ()
5367{
5368  { eval $1=; unset $1;}
5369}
5370as_unset=as_fn_unset
5371
5372@%:@ as_fn_append VAR VALUE
5373@%:@ ----------------------
5374@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
5375@%:@ advantage of any shell optimizations that allow amortized linear growth over
5376@%:@ repeated appends, instead of the typical quadratic growth present in naive
5377@%:@ implementations.
5378if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5379then :
5380  eval 'as_fn_append ()
5381  {
5382    eval $1+=\$2
5383  }'
5384else $as_nop
5385  as_fn_append ()
5386  {
5387    eval $1=\$$1\$2
5388  }
5389fi # as_fn_append
5390
5391@%:@ as_fn_arith ARG...
5392@%:@ ------------------
5393@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
5394@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
5395@%:@ must be portable across @S|@(()) and expr.
5396if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5397then :
5398  eval 'as_fn_arith ()
5399  {
5400    as_val=$(( $* ))
5401  }'
5402else $as_nop
5403  as_fn_arith ()
5404  {
5405    as_val=`expr "$@" || test $? -eq 1`
5406  }
5407fi # as_fn_arith
5408
5409
5410if expr a : '\(a\)' >/dev/null 2>&1 &&
5411   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5412  as_expr=expr
5413else
5414  as_expr=false
5415fi
5416
5417if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5418  as_basename=basename
5419else
5420  as_basename=false
5421fi
5422
5423if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5424  as_dirname=dirname
5425else
5426  as_dirname=false
5427fi
5428
5429as_me=`$as_basename -- "$0" ||
5430$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5431	 X"$0" : 'X\(//\)$' \| \
5432	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5433printf "%s\n" X/"$0" |
5434    sed '/^.*\/\([^/][^/]*\)\/*$/{
5435	    s//\1/
5436	    q
5437	  }
5438	  /^X\/\(\/\/\)$/{
5439	    s//\1/
5440	    q
5441	  }
5442	  /^X\/\(\/\).*/{
5443	    s//\1/
5444	    q
5445	  }
5446	  s/.*/./; q'`
5447
5448# Avoid depending upon Character Ranges.
5449as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5450as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5451as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5452as_cr_digits='0123456789'
5453as_cr_alnum=$as_cr_Letters$as_cr_digits
5454
5455
5456# Determine whether it's possible to make 'echo' print without a newline.
5457# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5458# for compatibility with existing Makefiles.
5459ECHO_C= ECHO_N= ECHO_T=
5460case `echo -n x` in @%:@(((((
5461-n*)
5462  case `echo 'xy\c'` in
5463  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5464  xy)  ECHO_C='\c';;
5465  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5466       ECHO_T='	';;
5467  esac;;
5468*)
5469  ECHO_N='-n';;
5470esac
5471
5472# For backward compatibility with old third-party macros, we provide
5473# the shell variables $as_echo and $as_echo_n.  New code should use
5474# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5475as_@&t@echo='printf %s\n'
5476as_@&t@echo_n='printf %s'
5477
5478rm -f conf$$ conf$$.exe conf$$.file
5479if test -d conf$$.dir; then
5480  rm -f conf$$.dir/conf$$.file
5481else
5482  rm -f conf$$.dir
5483  mkdir conf$$.dir 2>/dev/null
5484fi
5485if (echo >conf$$.file) 2>/dev/null; then
5486  if ln -s conf$$.file conf$$ 2>/dev/null; then
5487    as_ln_s='ln -s'
5488    # ... but there are two gotchas:
5489    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5490    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5491    # In both cases, we have to default to `cp -pR'.
5492    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5493      as_ln_s='cp -pR'
5494  elif ln conf$$.file conf$$ 2>/dev/null; then
5495    as_ln_s=ln
5496  else
5497    as_ln_s='cp -pR'
5498  fi
5499else
5500  as_ln_s='cp -pR'
5501fi
5502rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5503rmdir conf$$.dir 2>/dev/null
5504
5505
5506@%:@ as_fn_mkdir_p
5507@%:@ -------------
5508@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
5509as_fn_mkdir_p ()
5510{
5511
5512  case $as_dir in #(
5513  -*) as_dir=./$as_dir;;
5514  esac
5515  test -d "$as_dir" || eval $as_mkdir_p || {
5516    as_dirs=
5517    while :; do
5518      case $as_dir in #(
5519      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5520      *) as_qdir=$as_dir;;
5521      esac
5522      as_dirs="'$as_qdir' $as_dirs"
5523      as_dir=`$as_dirname -- "$as_dir" ||
5524$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5525	 X"$as_dir" : 'X\(//\)[^/]' \| \
5526	 X"$as_dir" : 'X\(//\)$' \| \
5527	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5528printf "%s\n" X"$as_dir" |
5529    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5530	    s//\1/
5531	    q
5532	  }
5533	  /^X\(\/\/\)[^/].*/{
5534	    s//\1/
5535	    q
5536	  }
5537	  /^X\(\/\/\)$/{
5538	    s//\1/
5539	    q
5540	  }
5541	  /^X\(\/\).*/{
5542	    s//\1/
5543	    q
5544	  }
5545	  s/.*/./; q'`
5546      test -d "$as_dir" && break
5547    done
5548    test -z "$as_dirs" || eval "mkdir $as_dirs"
5549  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5550
5551
5552} @%:@ as_fn_mkdir_p
5553if mkdir -p . 2>/dev/null; then
5554  as_mkdir_p='mkdir -p "$as_dir"'
5555else
5556  test -d ./-p && rmdir ./-p
5557  as_mkdir_p=false
5558fi
5559
5560
5561@%:@ as_fn_executable_p FILE
5562@%:@ -----------------------
5563@%:@ Test if FILE is an executable regular file.
5564as_fn_executable_p ()
5565{
5566  test -f "$1" && test -x "$1"
5567} @%:@ as_fn_executable_p
5568as_test_x='test -x'
5569as_executable_p=as_fn_executable_p
5570
5571# Sed expression to map a string onto a valid CPP name.
5572as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5573
5574# Sed expression to map a string onto a valid variable name.
5575as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5576
5577
5578exec 6>&1
5579## ----------------------------------- ##
5580## Main body of $CONFIG_STATUS script. ##
5581## ----------------------------------- ##
5582_ASEOF
5583test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5584
5585cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5586# Save the log message, to keep $0 and so on meaningful, and to
5587# report actual input values of CONFIG_FILES etc. instead of their
5588# values after options handling.
5589ac_log="
5590This file was extended by $as_me, which was
5591generated by GNU Autoconf 2.71.  Invocation command line was
5592
5593  CONFIG_FILES    = $CONFIG_FILES
5594  CONFIG_HEADERS  = $CONFIG_HEADERS
5595  CONFIG_LINKS    = $CONFIG_LINKS
5596  CONFIG_COMMANDS = $CONFIG_COMMANDS
5597  $ $0 $@
5598
5599on `(hostname || uname -n) 2>/dev/null | sed 1q`
5600"
5601
5602_ACEOF
5603
5604case $ac_config_files in *"
5605"*) set x $ac_config_files; shift; ac_config_files=$*;;
5606esac
5607
5608case $ac_config_headers in *"
5609"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5610esac
5611
5612
5613cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5614# Files that config.status was made for.
5615config_files="$ac_config_files"
5616config_headers="$ac_config_headers"
5617
5618_ACEOF
5619
5620cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5621ac_cs_usage="\
5622\`$as_me' instantiates files and other configuration actions
5623from templates according to the current configuration.  Unless the files
5624and actions are specified as TAGs, all are instantiated by default.
5625
5626Usage: $0 [OPTION]... [TAG]...
5627
5628  -h, --help       print this help, then exit
5629  -V, --version    print version number and configuration settings, then exit
5630      --config     print configuration, then exit
5631  -q, --quiet, --silent
5632                   do not print progress messages
5633  -d, --debug      don't remove temporary files
5634      --recheck    update $as_me by reconfiguring in the same conditions
5635      --file=FILE[:TEMPLATE]
5636                   instantiate the configuration file FILE
5637      --header=FILE[:TEMPLATE]
5638                   instantiate the configuration header FILE
5639
5640Configuration files:
5641$config_files
5642
5643Configuration headers:
5644$config_headers
5645
5646Report bugs to the package provider."
5647
5648_ACEOF
5649ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5650ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5651cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5652ac_cs_config='$ac_cs_config_escaped'
5653ac_cs_version="\\
5654config.status
5655configured by $0, generated by GNU Autoconf 2.71,
5656  with options \\"\$ac_cs_config\\"
5657
5658Copyright (C) 2021 Free Software Foundation, Inc.
5659This config.status script is free software; the Free Software Foundation
5660gives unlimited permission to copy, distribute and modify it."
5661
5662ac_pwd='$ac_pwd'
5663srcdir='$srcdir'
5664INSTALL='$INSTALL'
5665test -n "\$AWK" || AWK=awk
5666_ACEOF
5667
5668cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5669# The default lists apply if the user does not specify any file.
5670ac_need_defaults=:
5671while test $# != 0
5672do
5673  case $1 in
5674  --*=?*)
5675    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5676    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5677    ac_shift=:
5678    ;;
5679  --*=)
5680    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5681    ac_optarg=
5682    ac_shift=:
5683    ;;
5684  *)
5685    ac_option=$1
5686    ac_optarg=$2
5687    ac_shift=shift
5688    ;;
5689  esac
5690
5691  case $ac_option in
5692  # Handling of the options.
5693  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5694    ac_cs_recheck=: ;;
5695  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5696    printf "%s\n" "$ac_cs_version"; exit ;;
5697  --config | --confi | --conf | --con | --co | --c )
5698    printf "%s\n" "$ac_cs_config"; exit ;;
5699  --debug | --debu | --deb | --de | --d | -d )
5700    debug=: ;;
5701  --file | --fil | --fi | --f )
5702    $ac_shift
5703    case $ac_optarg in
5704    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5705    '') as_fn_error $? "missing file argument" ;;
5706    esac
5707    as_fn_append CONFIG_FILES " '$ac_optarg'"
5708    ac_need_defaults=false;;
5709  --header | --heade | --head | --hea )
5710    $ac_shift
5711    case $ac_optarg in
5712    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5713    esac
5714    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5715    ac_need_defaults=false;;
5716  --he | --h)
5717    # Conflict between --help and --header
5718    as_fn_error $? "ambiguous option: \`$1'
5719Try \`$0 --help' for more information.";;
5720  --help | --hel | -h )
5721    printf "%s\n" "$ac_cs_usage"; exit ;;
5722  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5723  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5724    ac_cs_silent=: ;;
5725
5726  # This is an error.
5727  -*) as_fn_error $? "unrecognized option: \`$1'
5728Try \`$0 --help' for more information." ;;
5729
5730  *) as_fn_append ac_config_targets " $1"
5731     ac_need_defaults=false ;;
5732
5733  esac
5734  shift
5735done
5736
5737ac_configure_extra_args=
5738
5739if $ac_cs_silent; then
5740  exec 6>/dev/null
5741  ac_configure_extra_args="$ac_configure_extra_args --silent"
5742fi
5743
5744_ACEOF
5745cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5746if \$ac_cs_recheck; then
5747  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5748  shift
5749  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5750  CONFIG_SHELL='$SHELL'
5751  export CONFIG_SHELL
5752  exec "\$@"
5753fi
5754
5755_ACEOF
5756cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5757exec 5>>config.log
5758{
5759  echo
5760  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
5761@%:@@%:@ Running $as_me. @%:@@%:@
5762_ASBOX
5763  printf "%s\n" "$ac_log"
5764} >&5
5765
5766_ACEOF
5767cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5768_ACEOF
5769
5770cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5771
5772# Handling of arguments.
5773for ac_config_target in $ac_config_targets
5774do
5775  case $ac_config_target in
5776    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5777    "Makedefs") CONFIG_FILES="$CONFIG_FILES Makedefs" ;;
5778    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5779    "data/sawfish.ebuild") CONFIG_FILES="$CONFIG_FILES data/sawfish.ebuild" ;;
5780    "data/sawfish.pc") CONFIG_FILES="$CONFIG_FILES data/sawfish.pc" ;;
5781    "data/sawfish.spec") CONFIG_FILES="$CONFIG_FILES data/sawfish.spec" ;;
5782    "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
5783    "lisp/sawfish/cfg/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/sawfish/cfg/Makefile" ;;
5784    "lisp/sawfish/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/sawfish/gtk/Makefile" ;;
5785    "lisp/sawfish/gtk/widgets/font.jl") CONFIG_FILES="$CONFIG_FILES lisp/sawfish/gtk/widgets/font.jl" ;;
5786    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5787    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
5788    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
5789    "sounds/Makefile") CONFIG_FILES="$CONFIG_FILES sounds/Makefile" ;;
5790    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5791    "themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;;
5792
5793  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5794  esac
5795done
5796
5797
5798# If the user did not use the arguments to specify the items to instantiate,
5799# then the envvar interface is used.  Set only those that are not.
5800# We use the long form for the default assignment because of an extremely
5801# bizarre bug on SunOS 4.1.3.
5802if $ac_need_defaults; then
5803  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
5804  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
5805fi
5806
5807# Have a temporary directory for convenience.  Make it in the build tree
5808# simply because there is no reason against having it here, and in addition,
5809# creating and moving files from /tmp can sometimes cause problems.
5810# Hook for its removal unless debugging.
5811# Note that there is a small window in which the directory will not be cleaned:
5812# after its creation but before its name has been assigned to `$tmp'.
5813$debug ||
5814{
5815  tmp= ac_tmp=
5816  trap 'exit_status=$?
5817  : "${ac_tmp:=$tmp}"
5818  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5819' 0
5820  trap 'as_fn_exit 1' 1 2 13 15
5821}
5822# Create a (secure) tmp directory for tmp files.
5823
5824{
5825  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5826  test -d "$tmp"
5827}  ||
5828{
5829  tmp=./conf$$-$RANDOM
5830  (umask 077 && mkdir "$tmp")
5831} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5832ac_tmp=$tmp
5833
5834# Set up the scripts for CONFIG_FILES section.
5835# No need to generate them if there are no CONFIG_FILES.
5836# This happens for instance with `./config.status config.h'.
5837if test -n "$CONFIG_FILES"; then
5838
5839
5840ac_cr=`echo X | tr X '\015'`
5841# On cygwin, bash can eat \r inside `` if the user requested igncr.
5842# But we know of no other shell where ac_cr would be empty at this
5843# point, so we can use a bashism as a fallback.
5844if test "x$ac_cr" = x; then
5845  eval ac_cr=\$\'\\r\'
5846fi
5847ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5848if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5849  ac_cs_awk_cr='\\r'
5850else
5851  ac_cs_awk_cr=$ac_cr
5852fi
5853
5854echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5855_ACEOF
5856
5857
5858{
5859  echo "cat >conf$$subs.awk <<_ACEOF" &&
5860  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5861  echo "_ACEOF"
5862} >conf$$subs.sh ||
5863  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5864ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5865ac_delim='%!_!# '
5866for ac_last_try in false false false false false :; do
5867  . ./conf$$subs.sh ||
5868    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5869
5870  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5871  if test $ac_delim_n = $ac_delim_num; then
5872    break
5873  elif $ac_last_try; then
5874    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5875  else
5876    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5877  fi
5878done
5879rm -f conf$$subs.sh
5880
5881cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5882cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5883_ACEOF
5884sed -n '
5885h
5886s/^/S["/; s/!.*/"]=/
5887p
5888g
5889s/^[^!]*!//
5890:repl
5891t repl
5892s/'"$ac_delim"'$//
5893t delim
5894:nl
5895h
5896s/\(.\{148\}\)..*/\1/
5897t more1
5898s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5899p
5900n
5901b repl
5902:more1
5903s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5904p
5905g
5906s/.\{148\}//
5907t nl
5908:delim
5909h
5910s/\(.\{148\}\)..*/\1/
5911t more2
5912s/["\\]/\\&/g; s/^/"/; s/$/"/
5913p
5914b
5915:more2
5916s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5917p
5918g
5919s/.\{148\}//
5920t delim
5921' <conf$$subs.awk | sed '
5922/^[^""]/{
5923  N
5924  s/\n//
5925}
5926' >>$CONFIG_STATUS || ac_write_fail=1
5927rm -f conf$$subs.awk
5928cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5929_ACAWK
5930cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5931  for (key in S) S_is_set[key] = 1
5932  FS = ""
5933
5934}
5935{
5936  line = $ 0
5937  nfields = split(line, field, "@")
5938  substed = 0
5939  len = length(field[1])
5940  for (i = 2; i < nfields; i++) {
5941    key = field[i]
5942    keylen = length(key)
5943    if (S_is_set[key]) {
5944      value = S[key]
5945      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5946      len += length(value) + length(field[++i])
5947      substed = 1
5948    } else
5949      len += 1 + keylen
5950  }
5951
5952  print line
5953}
5954
5955_ACAWK
5956_ACEOF
5957cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5958if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5959  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5960else
5961  cat
5962fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5963  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5964_ACEOF
5965
5966# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5967# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5968# trailing colons and then remove the whole line if VPATH becomes empty
5969# (actually we leave an empty line to preserve line numbers).
5970if test "x$srcdir" = x.; then
5971  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5972h
5973s///
5974s/^/:/
5975s/[	 ]*$/:/
5976s/:\$(srcdir):/:/g
5977s/:\${srcdir}:/:/g
5978s/:@srcdir@:/:/g
5979s/^:*//
5980s/:*$//
5981x
5982s/\(=[	 ]*\).*/\1/
5983G
5984s/\n//
5985s/^[^=]*=[	 ]*$//
5986}'
5987fi
5988
5989cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5990fi # test -n "$CONFIG_FILES"
5991
5992# Set up the scripts for CONFIG_HEADERS section.
5993# No need to generate them if there are no CONFIG_HEADERS.
5994# This happens for instance with `./config.status Makefile'.
5995if test -n "$CONFIG_HEADERS"; then
5996cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5997BEGIN {
5998_ACEOF
5999
6000# Transform confdefs.h into an awk script `defines.awk', embedded as
6001# here-document in config.status, that substitutes the proper values into
6002# config.h.in to produce config.h.
6003
6004# Create a delimiter string that does not exist in confdefs.h, to ease
6005# handling of long lines.
6006ac_delim='%!_!# '
6007for ac_last_try in false false :; do
6008  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6009  if test -z "$ac_tt"; then
6010    break
6011  elif $ac_last_try; then
6012    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6013  else
6014    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6015  fi
6016done
6017
6018# For the awk script, D is an array of macro values keyed by name,
6019# likewise P contains macro parameters if any.  Preserve backslash
6020# newline sequences.
6021
6022ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6023sed -n '
6024s/.\{148\}/&'"$ac_delim"'/g
6025t rset
6026:rset
6027s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6028t def
6029d
6030:def
6031s/\\$//
6032t bsnl
6033s/["\\]/\\&/g
6034s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6035D["\1"]=" \3"/p
6036s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6037d
6038:bsnl
6039s/["\\]/\\&/g
6040s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6041D["\1"]=" \3\\\\\\n"\\/p
6042t cont
6043s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6044t cont
6045d
6046:cont
6047n
6048s/.\{148\}/&'"$ac_delim"'/g
6049t clear
6050:clear
6051s/\\$//
6052t bsnlc
6053s/["\\]/\\&/g; s/^/"/; s/$/"/p
6054d
6055:bsnlc
6056s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6057b cont
6058' <confdefs.h | sed '
6059s/'"$ac_delim"'/"\\\
6060"/g' >>$CONFIG_STATUS || ac_write_fail=1
6061
6062cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6063  for (key in D) D_is_set[key] = 1
6064  FS = ""
6065}
6066/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6067  line = \$ 0
6068  split(line, arg, " ")
6069  if (arg[1] == "#") {
6070    defundef = arg[2]
6071    mac1 = arg[3]
6072  } else {
6073    defundef = substr(arg[1], 2)
6074    mac1 = arg[2]
6075  }
6076  split(mac1, mac2, "(") #)
6077  macro = mac2[1]
6078  prefix = substr(line, 1, index(line, defundef) - 1)
6079  if (D_is_set[macro]) {
6080    # Preserve the white space surrounding the "#".
6081    print prefix "define", macro P[macro] D[macro]
6082    next
6083  } else {
6084    # Replace #undef with comments.  This is necessary, for example,
6085    # in the case of _POSIX_SOURCE, which is predefined and required
6086    # on some systems where configure will not decide to define it.
6087    if (defundef == "undef") {
6088      print "/*", prefix defundef, macro, "*/"
6089      next
6090    }
6091  }
6092}
6093{ print }
6094_ACAWK
6095_ACEOF
6096cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6097  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6098fi # test -n "$CONFIG_HEADERS"
6099
6100
6101eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
6102shift
6103for ac_tag
6104do
6105  case $ac_tag in
6106  :[FHLC]) ac_mode=$ac_tag; continue;;
6107  esac
6108  case $ac_mode$ac_tag in
6109  :[FHL]*:*);;
6110  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6111  :[FH]-) ac_tag=-:-;;
6112  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6113  esac
6114  ac_save_IFS=$IFS
6115  IFS=:
6116  set x $ac_tag
6117  IFS=$ac_save_IFS
6118  shift
6119  ac_file=$1
6120  shift
6121
6122  case $ac_mode in
6123  :L) ac_source=$1;;
6124  :[FH])
6125    ac_file_inputs=
6126    for ac_f
6127    do
6128      case $ac_f in
6129      -) ac_f="$ac_tmp/stdin";;
6130      *) # Look for the file first in the build tree, then in the source tree
6131	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6132	 # because $ac_f cannot contain `:'.
6133	 test -f "$ac_f" ||
6134	   case $ac_f in
6135	   [\\/$]*) false;;
6136	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6137	   esac ||
6138	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6139      esac
6140      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6141      as_fn_append ac_file_inputs " '$ac_f'"
6142    done
6143
6144    # Let's still pretend it is `configure' which instantiates (i.e., don't
6145    # use $as_me), people would be surprised to read:
6146    #    /* config.h.  Generated by config.status.  */
6147    configure_input='Generated from '`
6148	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6149	`' by configure.'
6150    if test x"$ac_file" != x-; then
6151      configure_input="$ac_file.  $configure_input"
6152      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6153printf "%s\n" "$as_me: creating $ac_file" >&6;}
6154    fi
6155    # Neutralize special characters interpreted by sed in replacement strings.
6156    case $configure_input in #(
6157    *\&* | *\|* | *\\* )
6158       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
6159       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6160    *) ac_sed_conf_input=$configure_input;;
6161    esac
6162
6163    case $ac_tag in
6164    *:-:* | *:-) cat >"$ac_tmp/stdin" \
6165      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6166    esac
6167    ;;
6168  esac
6169
6170  ac_dir=`$as_dirname -- "$ac_file" ||
6171$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6172	 X"$ac_file" : 'X\(//\)[^/]' \| \
6173	 X"$ac_file" : 'X\(//\)$' \| \
6174	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6175printf "%s\n" X"$ac_file" |
6176    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6177	    s//\1/
6178	    q
6179	  }
6180	  /^X\(\/\/\)[^/].*/{
6181	    s//\1/
6182	    q
6183	  }
6184	  /^X\(\/\/\)$/{
6185	    s//\1/
6186	    q
6187	  }
6188	  /^X\(\/\).*/{
6189	    s//\1/
6190	    q
6191	  }
6192	  s/.*/./; q'`
6193  as_dir="$ac_dir"; as_fn_mkdir_p
6194  ac_builddir=.
6195
6196case "$ac_dir" in
6197.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6198*)
6199  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
6200  # A ".." for each directory in $ac_dir_suffix.
6201  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6202  case $ac_top_builddir_sub in
6203  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6204  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6205  esac ;;
6206esac
6207ac_abs_top_builddir=$ac_pwd
6208ac_abs_builddir=$ac_pwd$ac_dir_suffix
6209# for backward compatibility:
6210ac_top_builddir=$ac_top_build_prefix
6211
6212case $srcdir in
6213  .)  # We are building in place.
6214    ac_srcdir=.
6215    ac_top_srcdir=$ac_top_builddir_sub
6216    ac_abs_top_srcdir=$ac_pwd ;;
6217  [\\/]* | ?:[\\/]* )  # Absolute name.
6218    ac_srcdir=$srcdir$ac_dir_suffix;
6219    ac_top_srcdir=$srcdir
6220    ac_abs_top_srcdir=$srcdir ;;
6221  *) # Relative name.
6222    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6223    ac_top_srcdir=$ac_top_build_prefix$srcdir
6224    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6225esac
6226ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6227
6228
6229  case $ac_mode in
6230  :F)
6231  #
6232  # CONFIG_FILE
6233  #
6234
6235  case $INSTALL in
6236  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6237  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6238  esac
6239_ACEOF
6240
6241cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6242# If the template does not know about datarootdir, expand it.
6243# FIXME: This hack should be removed a few years after 2.60.
6244ac_datarootdir_hack=; ac_datarootdir_seen=
6245ac_sed_dataroot='
6246/datarootdir/ {
6247  p
6248  q
6249}
6250/@datadir@/p
6251/@docdir@/p
6252/@infodir@/p
6253/@localedir@/p
6254/@mandir@/p'
6255case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6256*datarootdir*) ac_datarootdir_seen=yes;;
6257*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6258  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6259printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6260_ACEOF
6261cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6262  ac_datarootdir_hack='
6263  s&@datadir@&$datadir&g
6264  s&@docdir@&$docdir&g
6265  s&@infodir@&$infodir&g
6266  s&@localedir@&$localedir&g
6267  s&@mandir@&$mandir&g
6268  s&\\\${datarootdir}&$datarootdir&g' ;;
6269esac
6270_ACEOF
6271
6272# Neutralize VPATH when `$srcdir' = `.'.
6273# Shell code in configure.ac might set extrasub.
6274# FIXME: do we really want to maintain this feature?
6275cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6276ac_sed_extra="$ac_vpsub
6277$extrasub
6278_ACEOF
6279cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6280:t
6281/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6282s|@configure_input@|$ac_sed_conf_input|;t t
6283s&@top_builddir@&$ac_top_builddir_sub&;t t
6284s&@top_build_prefix@&$ac_top_build_prefix&;t t
6285s&@srcdir@&$ac_srcdir&;t t
6286s&@abs_srcdir@&$ac_abs_srcdir&;t t
6287s&@top_srcdir@&$ac_top_srcdir&;t t
6288s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6289s&@builddir@&$ac_builddir&;t t
6290s&@abs_builddir@&$ac_abs_builddir&;t t
6291s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6292s&@INSTALL@&$ac_INSTALL&;t t
6293$ac_datarootdir_hack
6294"
6295eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6296  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6297
6298test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6299  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6300  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6301      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6302  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6303which seems to be undefined.  Please make sure it is defined" >&5
6304printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6305which seems to be undefined.  Please make sure it is defined" >&2;}
6306
6307  rm -f "$ac_tmp/stdin"
6308  case $ac_file in
6309  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6310  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6311  esac \
6312  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6313 ;;
6314  :H)
6315  #
6316  # CONFIG_HEADER
6317  #
6318  if test x"$ac_file" != x-; then
6319    {
6320      printf "%s\n" "/* $configure_input  */" >&1 \
6321      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6322    } >"$ac_tmp/config.h" \
6323      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6324    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6325      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6326printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
6327    else
6328      rm -f "$ac_file"
6329      mv "$ac_tmp/config.h" "$ac_file" \
6330	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
6331    fi
6332  else
6333    printf "%s\n" "/* $configure_input  */" >&1 \
6334      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6335      || as_fn_error $? "could not create -" "$LINENO" 5
6336  fi
6337 ;;
6338
6339
6340  esac
6341
6342done # for ac_tag
6343
6344
6345as_fn_exit 0
6346_ACEOF
6347ac_clean_files=$ac_clean_files_save
6348
6349test $ac_write_fail = 0 ||
6350  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6351
6352
6353# configure is writing to config.log, and then calls config.status.
6354# config.status does its own redirection, appending to config.log.
6355# Unfortunately, on DOS this fails, as config.log is still kept open
6356# by configure, so config.status won't be able to write to it; its
6357# output is simply discarded.  So we exec the FD to /dev/null,
6358# effectively closing config.log, so it can be properly (re)opened and
6359# appended to by config.status.  When coming back to configure, we
6360# need to make the FD available again.
6361if test "$no_create" != yes; then
6362  ac_cs_success=:
6363  ac_config_status_args=
6364  test "$silent" = yes &&
6365    ac_config_status_args="$ac_config_status_args --quiet"
6366  exec 5>/dev/null
6367  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6368  exec 5>>config.log
6369  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6370  # would make configure fail if this is the last instruction.
6371  $ac_cs_success || as_fn_exit 1
6372fi
6373if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6374  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6375printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6376fi
6377
6378
6379mv data/sawfish.ebuild sawfish-$version.ebuild
6380mv data/sawfish.spec sawfish.spec
6381
6382REP_VERSION="`$PKG_CONFIG --modversion librep`"
6383REP_GTK_VERSION="`$PKG_CONFIG --modversion rep-gtk`"
6384GLIB_VERSION="`$PKG_CONFIG --modversion glib-2.0`"
6385PANGO_VERSION="`$PKG_CONFIG --modversion pango`"
6386
6387if $PKG_CONFIG --exists cairo; then
6388	CAIRO_VERSION="`$PKG_CONFIG --modversion cairo`"
6389fi
6390
6391GTK_VERSION="`$PKG_CONFIG --modversion gtk+-2.0`"
6392
6393echo "
6394  == == == == == == == == == == == == ==
6395
6396  sawfish:	$version '$codename'
6397
6398  == == == == == == == == == == == == ==
6399
6400  prefix:	$prefix
6401  exec_prefix:	$exec_prefix
6402  libdir:	$libdir
6403
6404  == == == == == == == == == == == == ==
6405
6406  compiler:	$CC
6407  cflags:	$CFLAGS $DEVELOPMENT_CFLAGS
6408  preprocessor:	$CPP
6409  cppflags:	$CPPFLAGS
6410  ldflags:	$LDFLAGS
6411  makeflags:	$MAKEFLAGS
6412
6413  == == == == == == == == == == == == ==
6414
6415  rep:		$REP_VERSION
6416  rep-gtk:	$REP_GTK_VERSION
6417  glib:		$GLIB_VERSION"
6418
6419if $PKG_CONFIG --exists cairo; then
6420	echo "  cairo:	$CAIRO_VERSION"
6421fi
6422
6423echo "  pango:	$PANGO_VERSION
6424  gtk+:		$GTK_VERSION"
6425
6426if test "$with_gdk_pixbuf" = "no"; then
6427echo "  imlib1:	$IMLIB_VERSION"
6428fi
6429
6430echo "
6431  == == == == == == == == == == == == ==
6432
6433  xserver:	$X_SERVER
6434
6435  == == == == == == == == == == == == ==
6436
6437  image loader:	$IMAGE_LOADER
6438
6439  == == == == == == == == == == == == ==
6440
6441  font loader:	$FONT_LOADER
6442
6443  == == == == == == == == == == == == ==
6444
6445  Be sure to read README.IMPORTANT!
6446
6447  == == == == == == == == == == == == ==
6448  "
6449
6450tem=`make --version -f /dev/null 2>&1 | grep GNU`
6451if test "x$tem" = "x"; then
6452  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You need to use GNU Make when compiling sawfish" >&5
6453printf "%s\n" "$as_me: WARNING: You need to use GNU Make when compiling sawfish" >&2;}
6454fi
6455
6456