1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for XELFViewer 0.03.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199  if (eval "$as_required") 2>/dev/null; then :
200  as_have_required=yes
201else
202  as_have_required=no
203fi
204  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206else
207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208as_found=false
209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210do
211  IFS=$as_save_IFS
212  test -z "$as_dir" && as_dir=.
213  as_found=:
214  case $as_dir in #(
215	 /*)
216	   for as_base in sh bash ksh sh5; do
217	     # Try only shells that exist, to save several forks.
218	     as_shell=$as_dir/$as_base
219	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221  CONFIG_SHELL=$as_shell as_have_required=yes
222		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223  break 2
224fi
225fi
226	   done;;
227       esac
228  as_found=false
229done
230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232  CONFIG_SHELL=$SHELL as_have_required=yes
233fi; }
234IFS=$as_save_IFS
235
236
237      if test "x$CONFIG_SHELL" != x; then :
238  export CONFIG_SHELL
239             # We cannot yet assume a decent shell, so we have to provide a
240# neutralization value for shells without unset; and this also
241# works around shells that cannot unset nonexistent variables.
242# Preserve -v and -x to the replacement shell.
243BASH_ENV=/dev/null
244ENV=/dev/null
245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246case $- in # ((((
247  *v*x* | *x*v* ) as_opts=-vx ;;
248  *v* ) as_opts=-v ;;
249  *x* ) as_opts=-x ;;
250  * ) as_opts= ;;
251esac
252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253# Admittedly, this is quite paranoid, since all the known shells bail
254# out after a failed `exec'.
255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256exit 255
257fi
258
259    if test x$as_have_required = xno; then :
260  $as_echo "$0: This script requires a shell more modern than all"
261  $as_echo "$0: the shells that I found on your system."
262  if test x${ZSH_VERSION+set} = xset ; then
263    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265  else
266    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267$0: including any error possibly output before this
268$0: message. Then install a modern shell, or manually run
269$0: the script under such a shell if you do have one."
270  fi
271  exit 1
272fi
273fi
274fi
275SHELL=${CONFIG_SHELL-/bin/sh}
276export SHELL
277# Unset more variables known to interfere with behavior of common tools.
278CLICOLOR_FORCE= GREP_OPTIONS=
279unset CLICOLOR_FORCE GREP_OPTIONS
280
281## --------------------- ##
282## M4sh Shell Functions. ##
283## --------------------- ##
284# as_fn_unset VAR
285# ---------------
286# Portably unset VAR.
287as_fn_unset ()
288{
289  { eval $1=; unset $1;}
290}
291as_unset=as_fn_unset
292
293# as_fn_set_status STATUS
294# -----------------------
295# Set $? to STATUS, without forking.
296as_fn_set_status ()
297{
298  return $1
299} # as_fn_set_status
300
301# as_fn_exit STATUS
302# -----------------
303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304as_fn_exit ()
305{
306  set +e
307  as_fn_set_status $1
308  exit $1
309} # as_fn_exit
310
311# as_fn_mkdir_p
312# -------------
313# Create "$as_dir" as a directory, including parents if necessary.
314as_fn_mkdir_p ()
315{
316
317  case $as_dir in #(
318  -*) as_dir=./$as_dir;;
319  esac
320  test -d "$as_dir" || eval $as_mkdir_p || {
321    as_dirs=
322    while :; do
323      case $as_dir in #(
324      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325      *) as_qdir=$as_dir;;
326      esac
327      as_dirs="'$as_qdir' $as_dirs"
328      as_dir=`$as_dirname -- "$as_dir" ||
329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330	 X"$as_dir" : 'X\(//\)[^/]' \| \
331	 X"$as_dir" : 'X\(//\)$' \| \
332	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333$as_echo X"$as_dir" |
334    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335	    s//\1/
336	    q
337	  }
338	  /^X\(\/\/\)[^/].*/{
339	    s//\1/
340	    q
341	  }
342	  /^X\(\/\/\)$/{
343	    s//\1/
344	    q
345	  }
346	  /^X\(\/\).*/{
347	    s//\1/
348	    q
349	  }
350	  s/.*/./; q'`
351      test -d "$as_dir" && break
352    done
353    test -z "$as_dirs" || eval "mkdir $as_dirs"
354  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357} # as_fn_mkdir_p
358
359# as_fn_executable_p FILE
360# -----------------------
361# Test if FILE is an executable regular file.
362as_fn_executable_p ()
363{
364  test -f "$1" && test -x "$1"
365} # as_fn_executable_p
366# as_fn_append VAR VALUE
367# ----------------------
368# Append the text in VALUE to the end of the definition contained in VAR. Take
369# advantage of any shell optimizations that allow amortized linear growth over
370# repeated appends, instead of the typical quadratic growth present in naive
371# implementations.
372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373  eval 'as_fn_append ()
374  {
375    eval $1+=\$2
376  }'
377else
378  as_fn_append ()
379  {
380    eval $1=\$$1\$2
381  }
382fi # as_fn_append
383
384# as_fn_arith ARG...
385# ------------------
386# Perform arithmetic evaluation on the ARGs, and store the result in the
387# global $as_val. Take advantage of shells that can avoid forks. The arguments
388# must be portable across $(()) and expr.
389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390  eval 'as_fn_arith ()
391  {
392    as_val=$(( $* ))
393  }'
394else
395  as_fn_arith ()
396  {
397    as_val=`expr "$@" || test $? -eq 1`
398  }
399fi # as_fn_arith
400
401
402# as_fn_error STATUS ERROR [LINENO LOG_FD]
403# ----------------------------------------
404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406# script with STATUS, using 1 if that was 0.
407as_fn_error ()
408{
409  as_status=$1; test $as_status -eq 0 && as_status=1
410  if test "$4"; then
411    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413  fi
414  $as_echo "$as_me: error: $2" >&2
415  as_fn_exit $as_status
416} # as_fn_error
417
418if expr a : '\(a\)' >/dev/null 2>&1 &&
419   test "X`expr 00001 : '.*\(...\)'`" = X001; then
420  as_expr=expr
421else
422  as_expr=false
423fi
424
425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426  as_basename=basename
427else
428  as_basename=false
429fi
430
431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432  as_dirname=dirname
433else
434  as_dirname=false
435fi
436
437as_me=`$as_basename -- "$0" ||
438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439	 X"$0" : 'X\(//\)$' \| \
440	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441$as_echo X/"$0" |
442    sed '/^.*\/\([^/][^/]*\)\/*$/{
443	    s//\1/
444	    q
445	  }
446	  /^X\/\(\/\/\)$/{
447	    s//\1/
448	    q
449	  }
450	  /^X\/\(\/\).*/{
451	    s//\1/
452	    q
453	  }
454	  s/.*/./; q'`
455
456# Avoid depending upon Character Ranges.
457as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460as_cr_digits='0123456789'
461as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464  as_lineno_1=$LINENO as_lineno_1a=$LINENO
465  as_lineno_2=$LINENO as_lineno_2a=$LINENO
466  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
469  sed -n '
470    p
471    /[$]LINENO/=
472  ' <$as_myself |
473    sed '
474      s/[$]LINENO.*/&-/
475      t lineno
476      b
477      :lineno
478      N
479      :loop
480      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481      t loop
482      s/-\n.*//
483    ' >$as_me.lineno &&
484  chmod +x "$as_me.lineno" ||
485    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488  # already done that, so ensure we don't try to do so again and fall
489  # in an infinite loop.  This has already happened in practice.
490  _as_can_reexec=no; export _as_can_reexec
491  # Don't try to exec as it changes $[0], causing all sort of problems
492  # (the dirname of $[0] is not the place where we might find the
493  # original and so on.  Autoconf is especially sensitive to this).
494  . "./$as_me.lineno"
495  # Exit status is that of the last command.
496  exit
497}
498
499ECHO_C= ECHO_N= ECHO_T=
500case `echo -n x` in #(((((
501-n*)
502  case `echo 'xy\c'` in
503  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
504  xy)  ECHO_C='\c';;
505  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
506       ECHO_T='	';;
507  esac;;
508*)
509  ECHO_N='-n';;
510esac
511
512rm -f conf$$ conf$$.exe conf$$.file
513if test -d conf$$.dir; then
514  rm -f conf$$.dir/conf$$.file
515else
516  rm -f conf$$.dir
517  mkdir conf$$.dir 2>/dev/null
518fi
519if (echo >conf$$.file) 2>/dev/null; then
520  if ln -s conf$$.file conf$$ 2>/dev/null; then
521    as_ln_s='ln -s'
522    # ... but there are two gotchas:
523    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525    # In both cases, we have to default to `cp -pR'.
526    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527      as_ln_s='cp -pR'
528  elif ln conf$$.file conf$$ 2>/dev/null; then
529    as_ln_s=ln
530  else
531    as_ln_s='cp -pR'
532  fi
533else
534  as_ln_s='cp -pR'
535fi
536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537rmdir conf$$.dir 2>/dev/null
538
539if mkdir -p . 2>/dev/null; then
540  as_mkdir_p='mkdir -p "$as_dir"'
541else
542  test -d ./-p && rmdir ./-p
543  as_mkdir_p=false
544fi
545
546as_test_x='test -x'
547as_executable_p=as_fn_executable_p
548
549# Sed expression to map a string onto a valid CPP name.
550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552# Sed expression to map a string onto a valid variable name.
553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556test -n "$DJDIR" || exec 7<&0 </dev/null
557exec 6>&1
558
559# Name of the host.
560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561# so uname gets run too.
562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564#
565# Initializations.
566#
567ac_default_prefix=/usr/local
568ac_clean_files=
569ac_config_libobj_dir=.
570LIBOBJS=
571cross_compiling=no
572subdirs=
573MFLAGS=
574MAKEFLAGS=
575
576# Identity of this package.
577PACKAGE_NAME='XELFViewer'
578PACKAGE_TARNAME='xelfviewer'
579PACKAGE_VERSION='0.03'
580PACKAGE_STRING='XELFViewer 0.03'
581PACKAGE_BUGREPORT=''
582PACKAGE_URL=''
583
584ac_subst_vars='QT_QMAKE
585Qt5Widgets_LIBS
586Qt5Widgets_CFLAGS
587Qt5Gui_LIBS
588Qt5Gui_CFLAGS
589Qt5Core_LIBS
590Qt5Core_CFLAGS
591PKG_CONFIG_LIBDIR
592PKG_CONFIG_PATH
593PKG_CONFIG
594OBJEXT
595EXEEXT
596ac_ct_CC
597CPPFLAGS
598LDFLAGS
599CFLAGS
600CC
601target_alias
602host_alias
603build_alias
604LIBS
605ECHO_T
606ECHO_N
607ECHO_C
608DEFS
609mandir
610localedir
611libdir
612psdir
613pdfdir
614dvidir
615htmldir
616infodir
617docdir
618oldincludedir
619includedir
620runstatedir
621localstatedir
622sharedstatedir
623sysconfdir
624datadir
625datarootdir
626libexecdir
627sbindir
628bindir
629program_transform_name
630prefix
631exec_prefix
632PACKAGE_URL
633PACKAGE_BUGREPORT
634PACKAGE_STRING
635PACKAGE_VERSION
636PACKAGE_TARNAME
637PACKAGE_NAME
638PATH_SEPARATOR
639SHELL'
640ac_subst_files=''
641ac_user_opts='
642enable_option_checking
643'
644      ac_precious_vars='build_alias
645host_alias
646target_alias
647CC
648CFLAGS
649LDFLAGS
650LIBS
651CPPFLAGS
652PKG_CONFIG
653PKG_CONFIG_PATH
654PKG_CONFIG_LIBDIR
655Qt5Core_CFLAGS
656Qt5Core_LIBS
657Qt5Gui_CFLAGS
658Qt5Gui_LIBS
659Qt5Widgets_CFLAGS
660Qt5Widgets_LIBS
661QT_QMAKE'
662
663
664# Initialize some variables set by options.
665ac_init_help=
666ac_init_version=false
667ac_unrecognized_opts=
668ac_unrecognized_sep=
669# The variables have the same names as the options, with
670# dashes changed to underlines.
671cache_file=/dev/null
672exec_prefix=NONE
673no_create=
674no_recursion=
675prefix=NONE
676program_prefix=NONE
677program_suffix=NONE
678program_transform_name=s,x,x,
679silent=
680site=
681srcdir=
682verbose=
683x_includes=NONE
684x_libraries=NONE
685
686# Installation directory options.
687# These are left unexpanded so users can "make install exec_prefix=/foo"
688# and all the variables that are supposed to be based on exec_prefix
689# by default will actually change.
690# Use braces instead of parens because sh, perl, etc. also accept them.
691# (The list follows the same order as the GNU Coding Standards.)
692bindir='${exec_prefix}/bin'
693sbindir='${exec_prefix}/sbin'
694libexecdir='${exec_prefix}/libexec'
695datarootdir='${prefix}/share'
696datadir='${datarootdir}'
697sysconfdir='${prefix}/etc'
698sharedstatedir='${prefix}/com'
699localstatedir='${prefix}/var'
700runstatedir='${localstatedir}/run'
701includedir='${prefix}/include'
702oldincludedir='/usr/include'
703docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
704infodir='${datarootdir}/info'
705htmldir='${docdir}'
706dvidir='${docdir}'
707pdfdir='${docdir}'
708psdir='${docdir}'
709libdir='${exec_prefix}/lib'
710localedir='${datarootdir}/locale'
711mandir='${datarootdir}/man'
712
713ac_prev=
714ac_dashdash=
715for ac_option
716do
717  # If the previous option needs an argument, assign it.
718  if test -n "$ac_prev"; then
719    eval $ac_prev=\$ac_option
720    ac_prev=
721    continue
722  fi
723
724  case $ac_option in
725  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
726  *=)   ac_optarg= ;;
727  *)    ac_optarg=yes ;;
728  esac
729
730  # Accept the important Cygnus configure options, so we can diagnose typos.
731
732  case $ac_dashdash$ac_option in
733  --)
734    ac_dashdash=yes ;;
735
736  -bindir | --bindir | --bindi | --bind | --bin | --bi)
737    ac_prev=bindir ;;
738  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
739    bindir=$ac_optarg ;;
740
741  -build | --build | --buil | --bui | --bu)
742    ac_prev=build_alias ;;
743  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
744    build_alias=$ac_optarg ;;
745
746  -cache-file | --cache-file | --cache-fil | --cache-fi \
747  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
748    ac_prev=cache_file ;;
749  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
750  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
751    cache_file=$ac_optarg ;;
752
753  --config-cache | -C)
754    cache_file=config.cache ;;
755
756  -datadir | --datadir | --datadi | --datad)
757    ac_prev=datadir ;;
758  -datadir=* | --datadir=* | --datadi=* | --datad=*)
759    datadir=$ac_optarg ;;
760
761  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
762  | --dataroo | --dataro | --datar)
763    ac_prev=datarootdir ;;
764  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
765  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
766    datarootdir=$ac_optarg ;;
767
768  -disable-* | --disable-*)
769    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
770    # Reject names that are not valid shell variable names.
771    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
772      as_fn_error $? "invalid feature name: $ac_useropt"
773    ac_useropt_orig=$ac_useropt
774    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775    case $ac_user_opts in
776      *"
777"enable_$ac_useropt"
778"*) ;;
779      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
780	 ac_unrecognized_sep=', ';;
781    esac
782    eval enable_$ac_useropt=no ;;
783
784  -docdir | --docdir | --docdi | --doc | --do)
785    ac_prev=docdir ;;
786  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
787    docdir=$ac_optarg ;;
788
789  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
790    ac_prev=dvidir ;;
791  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
792    dvidir=$ac_optarg ;;
793
794  -enable-* | --enable-*)
795    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
796    # Reject names that are not valid shell variable names.
797    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
798      as_fn_error $? "invalid feature name: $ac_useropt"
799    ac_useropt_orig=$ac_useropt
800    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801    case $ac_user_opts in
802      *"
803"enable_$ac_useropt"
804"*) ;;
805      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
806	 ac_unrecognized_sep=', ';;
807    esac
808    eval enable_$ac_useropt=\$ac_optarg ;;
809
810  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
811  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
812  | --exec | --exe | --ex)
813    ac_prev=exec_prefix ;;
814  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
815  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
816  | --exec=* | --exe=* | --ex=*)
817    exec_prefix=$ac_optarg ;;
818
819  -gas | --gas | --ga | --g)
820    # Obsolete; use --with-gas.
821    with_gas=yes ;;
822
823  -help | --help | --hel | --he | -h)
824    ac_init_help=long ;;
825  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
826    ac_init_help=recursive ;;
827  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
828    ac_init_help=short ;;
829
830  -host | --host | --hos | --ho)
831    ac_prev=host_alias ;;
832  -host=* | --host=* | --hos=* | --ho=*)
833    host_alias=$ac_optarg ;;
834
835  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
836    ac_prev=htmldir ;;
837  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
838  | --ht=*)
839    htmldir=$ac_optarg ;;
840
841  -includedir | --includedir | --includedi | --included | --include \
842  | --includ | --inclu | --incl | --inc)
843    ac_prev=includedir ;;
844  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
845  | --includ=* | --inclu=* | --incl=* | --inc=*)
846    includedir=$ac_optarg ;;
847
848  -infodir | --infodir | --infodi | --infod | --info | --inf)
849    ac_prev=infodir ;;
850  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
851    infodir=$ac_optarg ;;
852
853  -libdir | --libdir | --libdi | --libd)
854    ac_prev=libdir ;;
855  -libdir=* | --libdir=* | --libdi=* | --libd=*)
856    libdir=$ac_optarg ;;
857
858  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
859  | --libexe | --libex | --libe)
860    ac_prev=libexecdir ;;
861  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
862  | --libexe=* | --libex=* | --libe=*)
863    libexecdir=$ac_optarg ;;
864
865  -localedir | --localedir | --localedi | --localed | --locale)
866    ac_prev=localedir ;;
867  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
868    localedir=$ac_optarg ;;
869
870  -localstatedir | --localstatedir | --localstatedi | --localstated \
871  | --localstate | --localstat | --localsta | --localst | --locals)
872    ac_prev=localstatedir ;;
873  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
874  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
875    localstatedir=$ac_optarg ;;
876
877  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
878    ac_prev=mandir ;;
879  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
880    mandir=$ac_optarg ;;
881
882  -nfp | --nfp | --nf)
883    # Obsolete; use --without-fp.
884    with_fp=no ;;
885
886  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
887  | --no-cr | --no-c | -n)
888    no_create=yes ;;
889
890  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
891  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
892    no_recursion=yes ;;
893
894  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
895  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
896  | --oldin | --oldi | --old | --ol | --o)
897    ac_prev=oldincludedir ;;
898  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
899  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
900  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
901    oldincludedir=$ac_optarg ;;
902
903  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
904    ac_prev=prefix ;;
905  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
906    prefix=$ac_optarg ;;
907
908  -program-prefix | --program-prefix | --program-prefi | --program-pref \
909  | --program-pre | --program-pr | --program-p)
910    ac_prev=program_prefix ;;
911  -program-prefix=* | --program-prefix=* | --program-prefi=* \
912  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
913    program_prefix=$ac_optarg ;;
914
915  -program-suffix | --program-suffix | --program-suffi | --program-suff \
916  | --program-suf | --program-su | --program-s)
917    ac_prev=program_suffix ;;
918  -program-suffix=* | --program-suffix=* | --program-suffi=* \
919  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
920    program_suffix=$ac_optarg ;;
921
922  -program-transform-name | --program-transform-name \
923  | --program-transform-nam | --program-transform-na \
924  | --program-transform-n | --program-transform- \
925  | --program-transform | --program-transfor \
926  | --program-transfo | --program-transf \
927  | --program-trans | --program-tran \
928  | --progr-tra | --program-tr | --program-t)
929    ac_prev=program_transform_name ;;
930  -program-transform-name=* | --program-transform-name=* \
931  | --program-transform-nam=* | --program-transform-na=* \
932  | --program-transform-n=* | --program-transform-=* \
933  | --program-transform=* | --program-transfor=* \
934  | --program-transfo=* | --program-transf=* \
935  | --program-trans=* | --program-tran=* \
936  | --progr-tra=* | --program-tr=* | --program-t=*)
937    program_transform_name=$ac_optarg ;;
938
939  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
940    ac_prev=pdfdir ;;
941  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
942    pdfdir=$ac_optarg ;;
943
944  -psdir | --psdir | --psdi | --psd | --ps)
945    ac_prev=psdir ;;
946  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
947    psdir=$ac_optarg ;;
948
949  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
950  | -silent | --silent | --silen | --sile | --sil)
951    silent=yes ;;
952
953  -runstatedir | --runstatedir | --runstatedi | --runstated \
954  | --runstate | --runstat | --runsta | --runst | --runs \
955  | --run | --ru | --r)
956    ac_prev=runstatedir ;;
957  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
958  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
959  | --run=* | --ru=* | --r=*)
960    runstatedir=$ac_optarg ;;
961
962  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
963    ac_prev=sbindir ;;
964  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
965  | --sbi=* | --sb=*)
966    sbindir=$ac_optarg ;;
967
968  -sharedstatedir | --sharedstatedir | --sharedstatedi \
969  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
970  | --sharedst | --shareds | --shared | --share | --shar \
971  | --sha | --sh)
972    ac_prev=sharedstatedir ;;
973  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
974  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
975  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
976  | --sha=* | --sh=*)
977    sharedstatedir=$ac_optarg ;;
978
979  -site | --site | --sit)
980    ac_prev=site ;;
981  -site=* | --site=* | --sit=*)
982    site=$ac_optarg ;;
983
984  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
985    ac_prev=srcdir ;;
986  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
987    srcdir=$ac_optarg ;;
988
989  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
990  | --syscon | --sysco | --sysc | --sys | --sy)
991    ac_prev=sysconfdir ;;
992  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
993  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
994    sysconfdir=$ac_optarg ;;
995
996  -target | --target | --targe | --targ | --tar | --ta | --t)
997    ac_prev=target_alias ;;
998  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
999    target_alias=$ac_optarg ;;
1000
1001  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1002    verbose=yes ;;
1003
1004  -version | --version | --versio | --versi | --vers | -V)
1005    ac_init_version=: ;;
1006
1007  -with-* | --with-*)
1008    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1009    # Reject names that are not valid shell variable names.
1010    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011      as_fn_error $? "invalid package name: $ac_useropt"
1012    ac_useropt_orig=$ac_useropt
1013    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1014    case $ac_user_opts in
1015      *"
1016"with_$ac_useropt"
1017"*) ;;
1018      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1019	 ac_unrecognized_sep=', ';;
1020    esac
1021    eval with_$ac_useropt=\$ac_optarg ;;
1022
1023  -without-* | --without-*)
1024    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1025    # Reject names that are not valid shell variable names.
1026    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027      as_fn_error $? "invalid package name: $ac_useropt"
1028    ac_useropt_orig=$ac_useropt
1029    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030    case $ac_user_opts in
1031      *"
1032"with_$ac_useropt"
1033"*) ;;
1034      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1035	 ac_unrecognized_sep=', ';;
1036    esac
1037    eval with_$ac_useropt=no ;;
1038
1039  --x)
1040    # Obsolete; use --with-x.
1041    with_x=yes ;;
1042
1043  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1044  | --x-incl | --x-inc | --x-in | --x-i)
1045    ac_prev=x_includes ;;
1046  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1047  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1048    x_includes=$ac_optarg ;;
1049
1050  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1051  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1052    ac_prev=x_libraries ;;
1053  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1054  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1055    x_libraries=$ac_optarg ;;
1056
1057  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1058Try \`$0 --help' for more information"
1059    ;;
1060
1061  *=*)
1062    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1063    # Reject names that are not valid shell variable names.
1064    case $ac_envvar in #(
1065      '' | [0-9]* | *[!_$as_cr_alnum]* )
1066      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1067    esac
1068    eval $ac_envvar=\$ac_optarg
1069    export $ac_envvar ;;
1070
1071  *)
1072    # FIXME: should be removed in autoconf 3.0.
1073    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1074    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1075      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1076    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1077    ;;
1078
1079  esac
1080done
1081
1082if test -n "$ac_prev"; then
1083  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1084  as_fn_error $? "missing argument to $ac_option"
1085fi
1086
1087if test -n "$ac_unrecognized_opts"; then
1088  case $enable_option_checking in
1089    no) ;;
1090    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1091    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1092  esac
1093fi
1094
1095# Check all directory arguments for consistency.
1096for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1097		datadir sysconfdir sharedstatedir localstatedir includedir \
1098		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1099		libdir localedir mandir runstatedir
1100do
1101  eval ac_val=\$$ac_var
1102  # Remove trailing slashes.
1103  case $ac_val in
1104    */ )
1105      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1106      eval $ac_var=\$ac_val;;
1107  esac
1108  # Be sure to have absolute directory names.
1109  case $ac_val in
1110    [\\/$]* | ?:[\\/]* )  continue;;
1111    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1112  esac
1113  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1114done
1115
1116# There might be people who depend on the old broken behavior: `$host'
1117# used to hold the argument of --host etc.
1118# FIXME: To remove some day.
1119build=$build_alias
1120host=$host_alias
1121target=$target_alias
1122
1123# FIXME: To remove some day.
1124if test "x$host_alias" != x; then
1125  if test "x$build_alias" = x; then
1126    cross_compiling=maybe
1127  elif test "x$build_alias" != "x$host_alias"; then
1128    cross_compiling=yes
1129  fi
1130fi
1131
1132ac_tool_prefix=
1133test -n "$host_alias" && ac_tool_prefix=$host_alias-
1134
1135test "$silent" = yes && exec 6>/dev/null
1136
1137
1138ac_pwd=`pwd` && test -n "$ac_pwd" &&
1139ac_ls_di=`ls -di .` &&
1140ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1141  as_fn_error $? "working directory cannot be determined"
1142test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1143  as_fn_error $? "pwd does not report name of working directory"
1144
1145
1146# Find the source files, if location was not specified.
1147if test -z "$srcdir"; then
1148  ac_srcdir_defaulted=yes
1149  # Try the directory containing this script, then the parent directory.
1150  ac_confdir=`$as_dirname -- "$as_myself" ||
1151$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1152	 X"$as_myself" : 'X\(//\)[^/]' \| \
1153	 X"$as_myself" : 'X\(//\)$' \| \
1154	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1155$as_echo X"$as_myself" |
1156    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1157	    s//\1/
1158	    q
1159	  }
1160	  /^X\(\/\/\)[^/].*/{
1161	    s//\1/
1162	    q
1163	  }
1164	  /^X\(\/\/\)$/{
1165	    s//\1/
1166	    q
1167	  }
1168	  /^X\(\/\).*/{
1169	    s//\1/
1170	    q
1171	  }
1172	  s/.*/./; q'`
1173  srcdir=$ac_confdir
1174  if test ! -r "$srcdir/$ac_unique_file"; then
1175    srcdir=..
1176  fi
1177else
1178  ac_srcdir_defaulted=no
1179fi
1180if test ! -r "$srcdir/$ac_unique_file"; then
1181  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1182  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1183fi
1184ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1185ac_abs_confdir=`(
1186	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1187	pwd)`
1188# When building in place, set srcdir=.
1189if test "$ac_abs_confdir" = "$ac_pwd"; then
1190  srcdir=.
1191fi
1192# Remove unnecessary trailing slashes from srcdir.
1193# Double slashes in file names in object file debugging info
1194# mess up M-x gdb in Emacs.
1195case $srcdir in
1196*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1197esac
1198for ac_var in $ac_precious_vars; do
1199  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1200  eval ac_env_${ac_var}_value=\$${ac_var}
1201  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1202  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1203done
1204
1205#
1206# Report the --help message.
1207#
1208if test "$ac_init_help" = "long"; then
1209  # Omit some internal or obsolete options to make the list less imposing.
1210  # This message is too long to be a string in the A/UX 3.1 sh.
1211  cat <<_ACEOF
1212\`configure' configures XELFViewer 0.03 to adapt to many kinds of systems.
1213
1214Usage: $0 [OPTION]... [VAR=VALUE]...
1215
1216To assign environment variables (e.g., CC, CFLAGS...), specify them as
1217VAR=VALUE.  See below for descriptions of some of the useful variables.
1218
1219Defaults for the options are specified in brackets.
1220
1221Configuration:
1222  -h, --help              display this help and exit
1223      --help=short        display options specific to this package
1224      --help=recursive    display the short help of all the included packages
1225  -V, --version           display version information and exit
1226  -q, --quiet, --silent   do not print \`checking ...' messages
1227      --cache-file=FILE   cache test results in FILE [disabled]
1228  -C, --config-cache      alias for \`--cache-file=config.cache'
1229  -n, --no-create         do not create output files
1230      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1231
1232Installation directories:
1233  --prefix=PREFIX         install architecture-independent files in PREFIX
1234                          [$ac_default_prefix]
1235  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1236                          [PREFIX]
1237
1238By default, \`make install' will install all the files in
1239\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1240an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1241for instance \`--prefix=\$HOME'.
1242
1243For better control, use the options below.
1244
1245Fine tuning of the installation directories:
1246  --bindir=DIR            user executables [EPREFIX/bin]
1247  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1248  --libexecdir=DIR        program executables [EPREFIX/libexec]
1249  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1250  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1251  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1252  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1253  --libdir=DIR            object code libraries [EPREFIX/lib]
1254  --includedir=DIR        C header files [PREFIX/include]
1255  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1256  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1257  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1258  --infodir=DIR           info documentation [DATAROOTDIR/info]
1259  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1260  --mandir=DIR            man documentation [DATAROOTDIR/man]
1261  --docdir=DIR            documentation root [DATAROOTDIR/doc/xelfviewer]
1262  --htmldir=DIR           html documentation [DOCDIR]
1263  --dvidir=DIR            dvi documentation [DOCDIR]
1264  --pdfdir=DIR            pdf documentation [DOCDIR]
1265  --psdir=DIR             ps documentation [DOCDIR]
1266_ACEOF
1267
1268  cat <<\_ACEOF
1269_ACEOF
1270fi
1271
1272if test -n "$ac_init_help"; then
1273  case $ac_init_help in
1274     short | recursive ) echo "Configuration of XELFViewer 0.03:";;
1275   esac
1276  cat <<\_ACEOF
1277
1278Some influential environment variables:
1279  CC          C compiler command
1280  CFLAGS      C compiler flags
1281  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1282              nonstandard directory <lib dir>
1283  LIBS        libraries to pass to the linker, e.g. -l<library>
1284  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1285              you have headers in a nonstandard directory <include dir>
1286  PKG_CONFIG  path to pkg-config utility
1287  PKG_CONFIG_PATH
1288              directories to add to pkg-config's search path
1289  PKG_CONFIG_LIBDIR
1290              path overriding pkg-config's built-in search path
1291  Qt5Core_CFLAGS
1292              C compiler flags for Qt5Core, overriding pkg-config
1293  Qt5Core_LIBS
1294              linker flags for Qt5Core, overriding pkg-config
1295  Qt5Gui_CFLAGS
1296              C compiler flags for Qt5Gui, overriding pkg-config
1297  Qt5Gui_LIBS linker flags for Qt5Gui, overriding pkg-config
1298  Qt5Widgets_CFLAGS
1299              C compiler flags for Qt5Widgets, overriding pkg-config
1300  Qt5Widgets_LIBS
1301              linker flags for Qt5Widgets, overriding pkg-config
1302  QT_QMAKE    value of host_bins for Qt5Core >= 5.2.0, overriding pkg-config
1303
1304Use these variables to override the choices made by `configure' or to help
1305it to find libraries and programs with nonstandard names/locations.
1306
1307Report bugs to the package provider.
1308_ACEOF
1309ac_status=$?
1310fi
1311
1312if test "$ac_init_help" = "recursive"; then
1313  # If there are subdirs, report their specific --help.
1314  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1315    test -d "$ac_dir" ||
1316      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1317      continue
1318    ac_builddir=.
1319
1320case "$ac_dir" in
1321.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1322*)
1323  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1324  # A ".." for each directory in $ac_dir_suffix.
1325  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1326  case $ac_top_builddir_sub in
1327  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1328  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1329  esac ;;
1330esac
1331ac_abs_top_builddir=$ac_pwd
1332ac_abs_builddir=$ac_pwd$ac_dir_suffix
1333# for backward compatibility:
1334ac_top_builddir=$ac_top_build_prefix
1335
1336case $srcdir in
1337  .)  # We are building in place.
1338    ac_srcdir=.
1339    ac_top_srcdir=$ac_top_builddir_sub
1340    ac_abs_top_srcdir=$ac_pwd ;;
1341  [\\/]* | ?:[\\/]* )  # Absolute name.
1342    ac_srcdir=$srcdir$ac_dir_suffix;
1343    ac_top_srcdir=$srcdir
1344    ac_abs_top_srcdir=$srcdir ;;
1345  *) # Relative name.
1346    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1347    ac_top_srcdir=$ac_top_build_prefix$srcdir
1348    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1349esac
1350ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1351
1352    cd "$ac_dir" || { ac_status=$?; continue; }
1353    # Check for guested configure.
1354    if test -f "$ac_srcdir/configure.gnu"; then
1355      echo &&
1356      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1357    elif test -f "$ac_srcdir/configure"; then
1358      echo &&
1359      $SHELL "$ac_srcdir/configure" --help=recursive
1360    else
1361      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1362    fi || ac_status=$?
1363    cd "$ac_pwd" || { ac_status=$?; break; }
1364  done
1365fi
1366
1367test -n "$ac_init_help" && exit $ac_status
1368if $ac_init_version; then
1369  cat <<\_ACEOF
1370XELFViewer configure 0.03
1371generated by GNU Autoconf 2.69
1372
1373Copyright (C) 2012 Free Software Foundation, Inc.
1374This configure script is free software; the Free Software Foundation
1375gives unlimited permission to copy, distribute and modify it.
1376_ACEOF
1377  exit
1378fi
1379
1380## ------------------------ ##
1381## Autoconf initialization. ##
1382## ------------------------ ##
1383
1384# ac_fn_c_try_compile LINENO
1385# --------------------------
1386# Try to compile conftest.$ac_ext, and return whether this succeeded.
1387ac_fn_c_try_compile ()
1388{
1389  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1390  rm -f conftest.$ac_objext
1391  if { { ac_try="$ac_compile"
1392case "(($ac_try" in
1393  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1394  *) ac_try_echo=$ac_try;;
1395esac
1396eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1397$as_echo "$ac_try_echo"; } >&5
1398  (eval "$ac_compile") 2>conftest.err
1399  ac_status=$?
1400  if test -s conftest.err; then
1401    grep -v '^ *+' conftest.err >conftest.er1
1402    cat conftest.er1 >&5
1403    mv -f conftest.er1 conftest.err
1404  fi
1405  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1406  test $ac_status = 0; } && {
1407	 test -z "$ac_c_werror_flag" ||
1408	 test ! -s conftest.err
1409       } && test -s conftest.$ac_objext; then :
1410  ac_retval=0
1411else
1412  $as_echo "$as_me: failed program was:" >&5
1413sed 's/^/| /' conftest.$ac_ext >&5
1414
1415	ac_retval=1
1416fi
1417  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1418  as_fn_set_status $ac_retval
1419
1420} # ac_fn_c_try_compile
1421cat >config.log <<_ACEOF
1422This file contains any messages produced by compilers while
1423running configure, to aid debugging if configure makes a mistake.
1424
1425It was created by XELFViewer $as_me 0.03, which was
1426generated by GNU Autoconf 2.69.  Invocation command line was
1427
1428  $ $0 $@
1429
1430_ACEOF
1431exec 5>>config.log
1432{
1433cat <<_ASUNAME
1434## --------- ##
1435## Platform. ##
1436## --------- ##
1437
1438hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1439uname -m = `(uname -m) 2>/dev/null || echo unknown`
1440uname -r = `(uname -r) 2>/dev/null || echo unknown`
1441uname -s = `(uname -s) 2>/dev/null || echo unknown`
1442uname -v = `(uname -v) 2>/dev/null || echo unknown`
1443
1444/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1445/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1446
1447/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1448/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1449/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1450/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1451/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1452/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1453/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1454
1455_ASUNAME
1456
1457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1458for as_dir in $PATH
1459do
1460  IFS=$as_save_IFS
1461  test -z "$as_dir" && as_dir=.
1462    $as_echo "PATH: $as_dir"
1463  done
1464IFS=$as_save_IFS
1465
1466} >&5
1467
1468cat >&5 <<_ACEOF
1469
1470
1471## ----------- ##
1472## Core tests. ##
1473## ----------- ##
1474
1475_ACEOF
1476
1477
1478# Keep a trace of the command line.
1479# Strip out --no-create and --no-recursion so they do not pile up.
1480# Strip out --silent because we don't want to record it for future runs.
1481# Also quote any args containing shell meta-characters.
1482# Make two passes to allow for proper duplicate-argument suppression.
1483ac_configure_args=
1484ac_configure_args0=
1485ac_configure_args1=
1486ac_must_keep_next=false
1487for ac_pass in 1 2
1488do
1489  for ac_arg
1490  do
1491    case $ac_arg in
1492    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1493    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1494    | -silent | --silent | --silen | --sile | --sil)
1495      continue ;;
1496    *\'*)
1497      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1498    esac
1499    case $ac_pass in
1500    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1501    2)
1502      as_fn_append ac_configure_args1 " '$ac_arg'"
1503      if test $ac_must_keep_next = true; then
1504	ac_must_keep_next=false # Got value, back to normal.
1505      else
1506	case $ac_arg in
1507	  *=* | --config-cache | -C | -disable-* | --disable-* \
1508	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1509	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1510	  | -with-* | --with-* | -without-* | --without-* | --x)
1511	    case "$ac_configure_args0 " in
1512	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1513	    esac
1514	    ;;
1515	  -* ) ac_must_keep_next=true ;;
1516	esac
1517      fi
1518      as_fn_append ac_configure_args " '$ac_arg'"
1519      ;;
1520    esac
1521  done
1522done
1523{ ac_configure_args0=; unset ac_configure_args0;}
1524{ ac_configure_args1=; unset ac_configure_args1;}
1525
1526# When interrupted or exit'd, cleanup temporary files, and complete
1527# config.log.  We remove comments because anyway the quotes in there
1528# would cause problems or look ugly.
1529# WARNING: Use '\'' to represent an apostrophe within the trap.
1530# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1531trap 'exit_status=$?
1532  # Save into config.log some information that might help in debugging.
1533  {
1534    echo
1535
1536    $as_echo "## ---------------- ##
1537## Cache variables. ##
1538## ---------------- ##"
1539    echo
1540    # The following way of writing the cache mishandles newlines in values,
1541(
1542  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1543    eval ac_val=\$$ac_var
1544    case $ac_val in #(
1545    *${as_nl}*)
1546      case $ac_var in #(
1547      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1548$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1549      esac
1550      case $ac_var in #(
1551      _ | IFS | as_nl) ;; #(
1552      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1553      *) { eval $ac_var=; unset $ac_var;} ;;
1554      esac ;;
1555    esac
1556  done
1557  (set) 2>&1 |
1558    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1559    *${as_nl}ac_space=\ *)
1560      sed -n \
1561	"s/'\''/'\''\\\\'\'''\''/g;
1562	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1563      ;; #(
1564    *)
1565      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1566      ;;
1567    esac |
1568    sort
1569)
1570    echo
1571
1572    $as_echo "## ----------------- ##
1573## Output variables. ##
1574## ----------------- ##"
1575    echo
1576    for ac_var in $ac_subst_vars
1577    do
1578      eval ac_val=\$$ac_var
1579      case $ac_val in
1580      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1581      esac
1582      $as_echo "$ac_var='\''$ac_val'\''"
1583    done | sort
1584    echo
1585
1586    if test -n "$ac_subst_files"; then
1587      $as_echo "## ------------------- ##
1588## File substitutions. ##
1589## ------------------- ##"
1590      echo
1591      for ac_var in $ac_subst_files
1592      do
1593	eval ac_val=\$$ac_var
1594	case $ac_val in
1595	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1596	esac
1597	$as_echo "$ac_var='\''$ac_val'\''"
1598      done | sort
1599      echo
1600    fi
1601
1602    if test -s confdefs.h; then
1603      $as_echo "## ----------- ##
1604## confdefs.h. ##
1605## ----------- ##"
1606      echo
1607      cat confdefs.h
1608      echo
1609    fi
1610    test "$ac_signal" != 0 &&
1611      $as_echo "$as_me: caught signal $ac_signal"
1612    $as_echo "$as_me: exit $exit_status"
1613  } >&5
1614  rm -f core *.core core.conftest.* &&
1615    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1616    exit $exit_status
1617' 0
1618for ac_signal in 1 2 13 15; do
1619  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1620done
1621ac_signal=0
1622
1623# confdefs.h avoids OS command line length limits that DEFS can exceed.
1624rm -f -r conftest* confdefs.h
1625
1626$as_echo "/* confdefs.h */" > confdefs.h
1627
1628# Predefined preprocessor variables.
1629
1630cat >>confdefs.h <<_ACEOF
1631#define PACKAGE_NAME "$PACKAGE_NAME"
1632_ACEOF
1633
1634cat >>confdefs.h <<_ACEOF
1635#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1636_ACEOF
1637
1638cat >>confdefs.h <<_ACEOF
1639#define PACKAGE_VERSION "$PACKAGE_VERSION"
1640_ACEOF
1641
1642cat >>confdefs.h <<_ACEOF
1643#define PACKAGE_STRING "$PACKAGE_STRING"
1644_ACEOF
1645
1646cat >>confdefs.h <<_ACEOF
1647#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1648_ACEOF
1649
1650cat >>confdefs.h <<_ACEOF
1651#define PACKAGE_URL "$PACKAGE_URL"
1652_ACEOF
1653
1654
1655# Let the site file select an alternate cache file if it wants to.
1656# Prefer an explicitly selected file to automatically selected ones.
1657ac_site_file1=NONE
1658ac_site_file2=NONE
1659if test -n "$CONFIG_SITE"; then
1660  # We do not want a PATH search for config.site.
1661  case $CONFIG_SITE in #((
1662    -*)  ac_site_file1=./$CONFIG_SITE;;
1663    */*) ac_site_file1=$CONFIG_SITE;;
1664    *)   ac_site_file1=./$CONFIG_SITE;;
1665  esac
1666elif test "x$prefix" != xNONE; then
1667  ac_site_file1=$prefix/share/config.site
1668  ac_site_file2=$prefix/etc/config.site
1669else
1670  ac_site_file1=$ac_default_prefix/share/config.site
1671  ac_site_file2=$ac_default_prefix/etc/config.site
1672fi
1673for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1674do
1675  test "x$ac_site_file" = xNONE && continue
1676  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1677    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1678$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1679    sed 's/^/| /' "$ac_site_file" >&5
1680    . "$ac_site_file" \
1681      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1683as_fn_error $? "failed to load site script $ac_site_file
1684See \`config.log' for more details" "$LINENO" 5; }
1685  fi
1686done
1687
1688if test -r "$cache_file"; then
1689  # Some versions of bash will fail to source /dev/null (special files
1690  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1691  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1692    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1693$as_echo "$as_me: loading cache $cache_file" >&6;}
1694    case $cache_file in
1695      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1696      *)                      . "./$cache_file";;
1697    esac
1698  fi
1699else
1700  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1701$as_echo "$as_me: creating cache $cache_file" >&6;}
1702  >$cache_file
1703fi
1704
1705# Check that the precious variables saved in the cache have kept the same
1706# value.
1707ac_cache_corrupted=false
1708for ac_var in $ac_precious_vars; do
1709  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1710  eval ac_new_set=\$ac_env_${ac_var}_set
1711  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1712  eval ac_new_val=\$ac_env_${ac_var}_value
1713  case $ac_old_set,$ac_new_set in
1714    set,)
1715      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1716$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1717      ac_cache_corrupted=: ;;
1718    ,set)
1719      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1720$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1721      ac_cache_corrupted=: ;;
1722    ,);;
1723    *)
1724      if test "x$ac_old_val" != "x$ac_new_val"; then
1725	# differences in whitespace do not lead to failure.
1726	ac_old_val_w=`echo x $ac_old_val`
1727	ac_new_val_w=`echo x $ac_new_val`
1728	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1729	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1730$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1731	  ac_cache_corrupted=:
1732	else
1733	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1734$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1735	  eval $ac_var=\$ac_old_val
1736	fi
1737	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1738$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1739	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1740$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1741      fi;;
1742  esac
1743  # Pass precious variables to config.status.
1744  if test "$ac_new_set" = set; then
1745    case $ac_new_val in
1746    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1747    *) ac_arg=$ac_var=$ac_new_val ;;
1748    esac
1749    case " $ac_configure_args " in
1750      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1751      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1752    esac
1753  fi
1754done
1755if $ac_cache_corrupted; then
1756  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1757$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1758  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1759$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1760  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1761fi
1762## -------------------- ##
1763## Main body of script. ##
1764## -------------------- ##
1765
1766ac_ext=c
1767ac_cpp='$CPP $CPPFLAGS'
1768ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1769ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1770ac_compiler_gnu=$ac_cv_c_compiler_gnu
1771
1772
1773ac_ext=c
1774ac_cpp='$CPP $CPPFLAGS'
1775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1777ac_compiler_gnu=$ac_cv_c_compiler_gnu
1778if test -n "$ac_tool_prefix"; then
1779  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1780set dummy ${ac_tool_prefix}gcc; ac_word=$2
1781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1782$as_echo_n "checking for $ac_word... " >&6; }
1783if ${ac_cv_prog_CC+:} false; then :
1784  $as_echo_n "(cached) " >&6
1785else
1786  if test -n "$CC"; then
1787  ac_cv_prog_CC="$CC" # Let the user override the test.
1788else
1789as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790for as_dir in $PATH
1791do
1792  IFS=$as_save_IFS
1793  test -z "$as_dir" && as_dir=.
1794    for ac_exec_ext in '' $ac_executable_extensions; do
1795  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1796    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1797    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1798    break 2
1799  fi
1800done
1801  done
1802IFS=$as_save_IFS
1803
1804fi
1805fi
1806CC=$ac_cv_prog_CC
1807if test -n "$CC"; then
1808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1809$as_echo "$CC" >&6; }
1810else
1811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1812$as_echo "no" >&6; }
1813fi
1814
1815
1816fi
1817if test -z "$ac_cv_prog_CC"; then
1818  ac_ct_CC=$CC
1819  # Extract the first word of "gcc", so it can be a program name with args.
1820set dummy gcc; ac_word=$2
1821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1822$as_echo_n "checking for $ac_word... " >&6; }
1823if ${ac_cv_prog_ac_ct_CC+:} false; then :
1824  $as_echo_n "(cached) " >&6
1825else
1826  if test -n "$ac_ct_CC"; then
1827  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1828else
1829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1830for as_dir in $PATH
1831do
1832  IFS=$as_save_IFS
1833  test -z "$as_dir" && as_dir=.
1834    for ac_exec_ext in '' $ac_executable_extensions; do
1835  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1836    ac_cv_prog_ac_ct_CC="gcc"
1837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1838    break 2
1839  fi
1840done
1841  done
1842IFS=$as_save_IFS
1843
1844fi
1845fi
1846ac_ct_CC=$ac_cv_prog_ac_ct_CC
1847if test -n "$ac_ct_CC"; then
1848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1849$as_echo "$ac_ct_CC" >&6; }
1850else
1851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1852$as_echo "no" >&6; }
1853fi
1854
1855  if test "x$ac_ct_CC" = x; then
1856    CC=""
1857  else
1858    case $cross_compiling:$ac_tool_warned in
1859yes:)
1860{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1861$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1862ac_tool_warned=yes ;;
1863esac
1864    CC=$ac_ct_CC
1865  fi
1866else
1867  CC="$ac_cv_prog_CC"
1868fi
1869
1870if test -z "$CC"; then
1871          if test -n "$ac_tool_prefix"; then
1872    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1873set dummy ${ac_tool_prefix}cc; ac_word=$2
1874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1875$as_echo_n "checking for $ac_word... " >&6; }
1876if ${ac_cv_prog_CC+:} false; then :
1877  $as_echo_n "(cached) " >&6
1878else
1879  if test -n "$CC"; then
1880  ac_cv_prog_CC="$CC" # Let the user override the test.
1881else
1882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1883for as_dir in $PATH
1884do
1885  IFS=$as_save_IFS
1886  test -z "$as_dir" && as_dir=.
1887    for ac_exec_ext in '' $ac_executable_extensions; do
1888  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1889    ac_cv_prog_CC="${ac_tool_prefix}cc"
1890    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1891    break 2
1892  fi
1893done
1894  done
1895IFS=$as_save_IFS
1896
1897fi
1898fi
1899CC=$ac_cv_prog_CC
1900if test -n "$CC"; then
1901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1902$as_echo "$CC" >&6; }
1903else
1904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1905$as_echo "no" >&6; }
1906fi
1907
1908
1909  fi
1910fi
1911if test -z "$CC"; then
1912  # Extract the first word of "cc", so it can be a program name with args.
1913set dummy cc; ac_word=$2
1914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1915$as_echo_n "checking for $ac_word... " >&6; }
1916if ${ac_cv_prog_CC+:} false; then :
1917  $as_echo_n "(cached) " >&6
1918else
1919  if test -n "$CC"; then
1920  ac_cv_prog_CC="$CC" # Let the user override the test.
1921else
1922  ac_prog_rejected=no
1923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1924for as_dir in $PATH
1925do
1926  IFS=$as_save_IFS
1927  test -z "$as_dir" && as_dir=.
1928    for ac_exec_ext in '' $ac_executable_extensions; do
1929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1930    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1931       ac_prog_rejected=yes
1932       continue
1933     fi
1934    ac_cv_prog_CC="cc"
1935    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1936    break 2
1937  fi
1938done
1939  done
1940IFS=$as_save_IFS
1941
1942if test $ac_prog_rejected = yes; then
1943  # We found a bogon in the path, so make sure we never use it.
1944  set dummy $ac_cv_prog_CC
1945  shift
1946  if test $# != 0; then
1947    # We chose a different compiler from the bogus one.
1948    # However, it has the same basename, so the bogon will be chosen
1949    # first if we set CC to just the basename; use the full file name.
1950    shift
1951    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1952  fi
1953fi
1954fi
1955fi
1956CC=$ac_cv_prog_CC
1957if test -n "$CC"; then
1958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1959$as_echo "$CC" >&6; }
1960else
1961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1962$as_echo "no" >&6; }
1963fi
1964
1965
1966fi
1967if test -z "$CC"; then
1968  if test -n "$ac_tool_prefix"; then
1969  for ac_prog in cl.exe
1970  do
1971    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1972set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1974$as_echo_n "checking for $ac_word... " >&6; }
1975if ${ac_cv_prog_CC+:} false; then :
1976  $as_echo_n "(cached) " >&6
1977else
1978  if test -n "$CC"; then
1979  ac_cv_prog_CC="$CC" # Let the user override the test.
1980else
1981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982for as_dir in $PATH
1983do
1984  IFS=$as_save_IFS
1985  test -z "$as_dir" && as_dir=.
1986    for ac_exec_ext in '' $ac_executable_extensions; do
1987  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1989    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1990    break 2
1991  fi
1992done
1993  done
1994IFS=$as_save_IFS
1995
1996fi
1997fi
1998CC=$ac_cv_prog_CC
1999if test -n "$CC"; then
2000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2001$as_echo "$CC" >&6; }
2002else
2003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2004$as_echo "no" >&6; }
2005fi
2006
2007
2008    test -n "$CC" && break
2009  done
2010fi
2011if test -z "$CC"; then
2012  ac_ct_CC=$CC
2013  for ac_prog in cl.exe
2014do
2015  # Extract the first word of "$ac_prog", so it can be a program name with args.
2016set dummy $ac_prog; ac_word=$2
2017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2018$as_echo_n "checking for $ac_word... " >&6; }
2019if ${ac_cv_prog_ac_ct_CC+:} false; then :
2020  $as_echo_n "(cached) " >&6
2021else
2022  if test -n "$ac_ct_CC"; then
2023  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2024else
2025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026for as_dir in $PATH
2027do
2028  IFS=$as_save_IFS
2029  test -z "$as_dir" && as_dir=.
2030    for ac_exec_ext in '' $ac_executable_extensions; do
2031  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2032    ac_cv_prog_ac_ct_CC="$ac_prog"
2033    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2034    break 2
2035  fi
2036done
2037  done
2038IFS=$as_save_IFS
2039
2040fi
2041fi
2042ac_ct_CC=$ac_cv_prog_ac_ct_CC
2043if test -n "$ac_ct_CC"; then
2044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2045$as_echo "$ac_ct_CC" >&6; }
2046else
2047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2048$as_echo "no" >&6; }
2049fi
2050
2051
2052  test -n "$ac_ct_CC" && break
2053done
2054
2055  if test "x$ac_ct_CC" = x; then
2056    CC=""
2057  else
2058    case $cross_compiling:$ac_tool_warned in
2059yes:)
2060{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2061$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2062ac_tool_warned=yes ;;
2063esac
2064    CC=$ac_ct_CC
2065  fi
2066fi
2067
2068fi
2069
2070
2071test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2072$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2073as_fn_error $? "no acceptable C compiler found in \$PATH
2074See \`config.log' for more details" "$LINENO" 5; }
2075
2076# Provide some information about the compiler.
2077$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2078set X $ac_compile
2079ac_compiler=$2
2080for ac_option in --version -v -V -qversion; do
2081  { { ac_try="$ac_compiler $ac_option >&5"
2082case "(($ac_try" in
2083  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2084  *) ac_try_echo=$ac_try;;
2085esac
2086eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2087$as_echo "$ac_try_echo"; } >&5
2088  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2089  ac_status=$?
2090  if test -s conftest.err; then
2091    sed '10a\
2092... rest of stderr output deleted ...
2093         10q' conftest.err >conftest.er1
2094    cat conftest.er1 >&5
2095  fi
2096  rm -f conftest.er1 conftest.err
2097  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2098  test $ac_status = 0; }
2099done
2100
2101cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102/* end confdefs.h.  */
2103
2104int
2105main ()
2106{
2107
2108  ;
2109  return 0;
2110}
2111_ACEOF
2112ac_clean_files_save=$ac_clean_files
2113ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2114# Try to create an executable without -o first, disregard a.out.
2115# It will help us diagnose broken compilers, and finding out an intuition
2116# of exeext.
2117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2118$as_echo_n "checking whether the C compiler works... " >&6; }
2119ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2120
2121# The possible output files:
2122ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2123
2124ac_rmfiles=
2125for ac_file in $ac_files
2126do
2127  case $ac_file in
2128    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2129    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2130  esac
2131done
2132rm -f $ac_rmfiles
2133
2134if { { ac_try="$ac_link_default"
2135case "(($ac_try" in
2136  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2137  *) ac_try_echo=$ac_try;;
2138esac
2139eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2140$as_echo "$ac_try_echo"; } >&5
2141  (eval "$ac_link_default") 2>&5
2142  ac_status=$?
2143  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2144  test $ac_status = 0; }; then :
2145  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2146# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2147# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2148# so that the user can short-circuit this test for compilers unknown to
2149# Autoconf.
2150for ac_file in $ac_files ''
2151do
2152  test -f "$ac_file" || continue
2153  case $ac_file in
2154    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2155	;;
2156    [ab].out )
2157	# We found the default executable, but exeext='' is most
2158	# certainly right.
2159	break;;
2160    *.* )
2161	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2162	then :; else
2163	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2164	fi
2165	# We set ac_cv_exeext here because the later test for it is not
2166	# safe: cross compilers may not add the suffix if given an `-o'
2167	# argument, so we may need to know it at that point already.
2168	# Even if this section looks crufty: it has the advantage of
2169	# actually working.
2170	break;;
2171    * )
2172	break;;
2173  esac
2174done
2175test "$ac_cv_exeext" = no && ac_cv_exeext=
2176
2177else
2178  ac_file=''
2179fi
2180if test -z "$ac_file"; then :
2181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2182$as_echo "no" >&6; }
2183$as_echo "$as_me: failed program was:" >&5
2184sed 's/^/| /' conftest.$ac_ext >&5
2185
2186{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2187$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2188as_fn_error 77 "C compiler cannot create executables
2189See \`config.log' for more details" "$LINENO" 5; }
2190else
2191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2192$as_echo "yes" >&6; }
2193fi
2194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2195$as_echo_n "checking for C compiler default output file name... " >&6; }
2196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2197$as_echo "$ac_file" >&6; }
2198ac_exeext=$ac_cv_exeext
2199
2200rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2201ac_clean_files=$ac_clean_files_save
2202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2203$as_echo_n "checking for suffix of executables... " >&6; }
2204if { { ac_try="$ac_link"
2205case "(($ac_try" in
2206  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2207  *) ac_try_echo=$ac_try;;
2208esac
2209eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2210$as_echo "$ac_try_echo"; } >&5
2211  (eval "$ac_link") 2>&5
2212  ac_status=$?
2213  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2214  test $ac_status = 0; }; then :
2215  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2216# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2217# work properly (i.e., refer to `conftest.exe'), while it won't with
2218# `rm'.
2219for ac_file in conftest.exe conftest conftest.*; do
2220  test -f "$ac_file" || continue
2221  case $ac_file in
2222    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2223    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2224	  break;;
2225    * ) break;;
2226  esac
2227done
2228else
2229  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2231as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2232See \`config.log' for more details" "$LINENO" 5; }
2233fi
2234rm -f conftest conftest$ac_cv_exeext
2235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2236$as_echo "$ac_cv_exeext" >&6; }
2237
2238rm -f conftest.$ac_ext
2239EXEEXT=$ac_cv_exeext
2240ac_exeext=$EXEEXT
2241cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2242/* end confdefs.h.  */
2243#include <stdio.h>
2244int
2245main ()
2246{
2247FILE *f = fopen ("conftest.out", "w");
2248 return ferror (f) || fclose (f) != 0;
2249
2250  ;
2251  return 0;
2252}
2253_ACEOF
2254ac_clean_files="$ac_clean_files conftest.out"
2255# Check that the compiler produces executables we can run.  If not, either
2256# the compiler is broken, or we cross compile.
2257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2258$as_echo_n "checking whether we are cross compiling... " >&6; }
2259if test "$cross_compiling" != yes; then
2260  { { ac_try="$ac_link"
2261case "(($ac_try" in
2262  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2263  *) ac_try_echo=$ac_try;;
2264esac
2265eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2266$as_echo "$ac_try_echo"; } >&5
2267  (eval "$ac_link") 2>&5
2268  ac_status=$?
2269  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2270  test $ac_status = 0; }
2271  if { ac_try='./conftest$ac_cv_exeext'
2272  { { case "(($ac_try" in
2273  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2274  *) ac_try_echo=$ac_try;;
2275esac
2276eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2277$as_echo "$ac_try_echo"; } >&5
2278  (eval "$ac_try") 2>&5
2279  ac_status=$?
2280  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2281  test $ac_status = 0; }; }; then
2282    cross_compiling=no
2283  else
2284    if test "$cross_compiling" = maybe; then
2285	cross_compiling=yes
2286    else
2287	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2288$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2289as_fn_error $? "cannot run C compiled programs.
2290If you meant to cross compile, use \`--host'.
2291See \`config.log' for more details" "$LINENO" 5; }
2292    fi
2293  fi
2294fi
2295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2296$as_echo "$cross_compiling" >&6; }
2297
2298rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2299ac_clean_files=$ac_clean_files_save
2300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2301$as_echo_n "checking for suffix of object files... " >&6; }
2302if ${ac_cv_objext+:} false; then :
2303  $as_echo_n "(cached) " >&6
2304else
2305  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2306/* end confdefs.h.  */
2307
2308int
2309main ()
2310{
2311
2312  ;
2313  return 0;
2314}
2315_ACEOF
2316rm -f conftest.o conftest.obj
2317if { { ac_try="$ac_compile"
2318case "(($ac_try" in
2319  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2320  *) ac_try_echo=$ac_try;;
2321esac
2322eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2323$as_echo "$ac_try_echo"; } >&5
2324  (eval "$ac_compile") 2>&5
2325  ac_status=$?
2326  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2327  test $ac_status = 0; }; then :
2328  for ac_file in conftest.o conftest.obj conftest.*; do
2329  test -f "$ac_file" || continue;
2330  case $ac_file in
2331    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2332    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2333       break;;
2334  esac
2335done
2336else
2337  $as_echo "$as_me: failed program was:" >&5
2338sed 's/^/| /' conftest.$ac_ext >&5
2339
2340{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2341$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2342as_fn_error $? "cannot compute suffix of object files: cannot compile
2343See \`config.log' for more details" "$LINENO" 5; }
2344fi
2345rm -f conftest.$ac_cv_objext conftest.$ac_ext
2346fi
2347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2348$as_echo "$ac_cv_objext" >&6; }
2349OBJEXT=$ac_cv_objext
2350ac_objext=$OBJEXT
2351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2352$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2353if ${ac_cv_c_compiler_gnu+:} false; then :
2354  $as_echo_n "(cached) " >&6
2355else
2356  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2357/* end confdefs.h.  */
2358
2359int
2360main ()
2361{
2362#ifndef __GNUC__
2363       choke me
2364#endif
2365
2366  ;
2367  return 0;
2368}
2369_ACEOF
2370if ac_fn_c_try_compile "$LINENO"; then :
2371  ac_compiler_gnu=yes
2372else
2373  ac_compiler_gnu=no
2374fi
2375rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2376ac_cv_c_compiler_gnu=$ac_compiler_gnu
2377
2378fi
2379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2380$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2381if test $ac_compiler_gnu = yes; then
2382  GCC=yes
2383else
2384  GCC=
2385fi
2386ac_test_CFLAGS=${CFLAGS+set}
2387ac_save_CFLAGS=$CFLAGS
2388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2389$as_echo_n "checking whether $CC accepts -g... " >&6; }
2390if ${ac_cv_prog_cc_g+:} false; then :
2391  $as_echo_n "(cached) " >&6
2392else
2393  ac_save_c_werror_flag=$ac_c_werror_flag
2394   ac_c_werror_flag=yes
2395   ac_cv_prog_cc_g=no
2396   CFLAGS="-g"
2397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398/* end confdefs.h.  */
2399
2400int
2401main ()
2402{
2403
2404  ;
2405  return 0;
2406}
2407_ACEOF
2408if ac_fn_c_try_compile "$LINENO"; then :
2409  ac_cv_prog_cc_g=yes
2410else
2411  CFLAGS=""
2412      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2413/* end confdefs.h.  */
2414
2415int
2416main ()
2417{
2418
2419  ;
2420  return 0;
2421}
2422_ACEOF
2423if ac_fn_c_try_compile "$LINENO"; then :
2424
2425else
2426  ac_c_werror_flag=$ac_save_c_werror_flag
2427	 CFLAGS="-g"
2428	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429/* end confdefs.h.  */
2430
2431int
2432main ()
2433{
2434
2435  ;
2436  return 0;
2437}
2438_ACEOF
2439if ac_fn_c_try_compile "$LINENO"; then :
2440  ac_cv_prog_cc_g=yes
2441fi
2442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2443fi
2444rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2445fi
2446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447   ac_c_werror_flag=$ac_save_c_werror_flag
2448fi
2449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2450$as_echo "$ac_cv_prog_cc_g" >&6; }
2451if test "$ac_test_CFLAGS" = set; then
2452  CFLAGS=$ac_save_CFLAGS
2453elif test $ac_cv_prog_cc_g = yes; then
2454  if test "$GCC" = yes; then
2455    CFLAGS="-g -O2"
2456  else
2457    CFLAGS="-g"
2458  fi
2459else
2460  if test "$GCC" = yes; then
2461    CFLAGS="-O2"
2462  else
2463    CFLAGS=
2464  fi
2465fi
2466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2467$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2468if ${ac_cv_prog_cc_c89+:} false; then :
2469  $as_echo_n "(cached) " >&6
2470else
2471  ac_cv_prog_cc_c89=no
2472ac_save_CC=$CC
2473cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2474/* end confdefs.h.  */
2475#include <stdarg.h>
2476#include <stdio.h>
2477struct stat;
2478/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2479struct buf { int x; };
2480FILE * (*rcsopen) (struct buf *, struct stat *, int);
2481static char *e (p, i)
2482     char **p;
2483     int i;
2484{
2485  return p[i];
2486}
2487static char *f (char * (*g) (char **, int), char **p, ...)
2488{
2489  char *s;
2490  va_list v;
2491  va_start (v,p);
2492  s = g (p, va_arg (v,int));
2493  va_end (v);
2494  return s;
2495}
2496
2497/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2498   function prototypes and stuff, but not '\xHH' hex character constants.
2499   These don't provoke an error unfortunately, instead are silently treated
2500   as 'x'.  The following induces an error, until -std is added to get
2501   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2502   array size at least.  It's necessary to write '\x00'==0 to get something
2503   that's true only with -std.  */
2504int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2505
2506/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2507   inside strings and character constants.  */
2508#define FOO(x) 'x'
2509int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2510
2511int test (int i, double x);
2512struct s1 {int (*f) (int a);};
2513struct s2 {int (*f) (double a);};
2514int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2515int argc;
2516char **argv;
2517int
2518main ()
2519{
2520return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2521  ;
2522  return 0;
2523}
2524_ACEOF
2525for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2526	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2527do
2528  CC="$ac_save_CC $ac_arg"
2529  if ac_fn_c_try_compile "$LINENO"; then :
2530  ac_cv_prog_cc_c89=$ac_arg
2531fi
2532rm -f core conftest.err conftest.$ac_objext
2533  test "x$ac_cv_prog_cc_c89" != "xno" && break
2534done
2535rm -f conftest.$ac_ext
2536CC=$ac_save_CC
2537
2538fi
2539# AC_CACHE_VAL
2540case "x$ac_cv_prog_cc_c89" in
2541  x)
2542    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2543$as_echo "none needed" >&6; } ;;
2544  xno)
2545    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2546$as_echo "unsupported" >&6; } ;;
2547  *)
2548    CC="$CC $ac_cv_prog_cc_c89"
2549    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2550$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2551esac
2552if test "x$ac_cv_prog_cc_c89" != xno; then :
2553
2554fi
2555
2556ac_ext=c
2557ac_cpp='$CPP $CPPFLAGS'
2558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2560ac_compiler_gnu=$ac_cv_c_compiler_gnu
2561
2562ac_ext=cpp
2563ac_cpp='$CXXCPP $CPPFLAGS'
2564ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2565ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2566ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2567
2568
2569
2570
2571
2572
2573
2574
2575if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2576	if test -n "$ac_tool_prefix"; then
2577  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2578set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2580$as_echo_n "checking for $ac_word... " >&6; }
2581if ${ac_cv_path_PKG_CONFIG+:} false; then :
2582  $as_echo_n "(cached) " >&6
2583else
2584  case $PKG_CONFIG in
2585  [\\/]* | ?:[\\/]*)
2586  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2587  ;;
2588  *)
2589  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590for as_dir in $PATH
2591do
2592  IFS=$as_save_IFS
2593  test -z "$as_dir" && as_dir=.
2594    for ac_exec_ext in '' $ac_executable_extensions; do
2595  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2596    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2597    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2598    break 2
2599  fi
2600done
2601  done
2602IFS=$as_save_IFS
2603
2604  ;;
2605esac
2606fi
2607PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2608if test -n "$PKG_CONFIG"; then
2609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2610$as_echo "$PKG_CONFIG" >&6; }
2611else
2612  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613$as_echo "no" >&6; }
2614fi
2615
2616
2617fi
2618if test -z "$ac_cv_path_PKG_CONFIG"; then
2619  ac_pt_PKG_CONFIG=$PKG_CONFIG
2620  # Extract the first word of "pkg-config", so it can be a program name with args.
2621set dummy pkg-config; ac_word=$2
2622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2623$as_echo_n "checking for $ac_word... " >&6; }
2624if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
2625  $as_echo_n "(cached) " >&6
2626else
2627  case $ac_pt_PKG_CONFIG in
2628  [\\/]* | ?:[\\/]*)
2629  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2630  ;;
2631  *)
2632  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633for as_dir in $PATH
2634do
2635  IFS=$as_save_IFS
2636  test -z "$as_dir" && as_dir=.
2637    for ac_exec_ext in '' $ac_executable_extensions; do
2638  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2639    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2640    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2641    break 2
2642  fi
2643done
2644  done
2645IFS=$as_save_IFS
2646
2647  ;;
2648esac
2649fi
2650ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2651if test -n "$ac_pt_PKG_CONFIG"; then
2652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2653$as_echo "$ac_pt_PKG_CONFIG" >&6; }
2654else
2655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656$as_echo "no" >&6; }
2657fi
2658
2659  if test "x$ac_pt_PKG_CONFIG" = x; then
2660    PKG_CONFIG=""
2661  else
2662    case $cross_compiling:$ac_tool_warned in
2663yes:)
2664{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2665$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2666ac_tool_warned=yes ;;
2667esac
2668    PKG_CONFIG=$ac_pt_PKG_CONFIG
2669  fi
2670else
2671  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2672fi
2673
2674fi
2675if test -n "$PKG_CONFIG"; then
2676	_pkg_min_version=0.9.0
2677	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2678$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2679	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2680		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2681$as_echo "yes" >&6; }
2682	else
2683		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684$as_echo "no" >&6; }
2685		PKG_CONFIG=""
2686	fi
2687fi
2688
2689pkg_failed=no
2690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5Core" >&5
2691$as_echo_n "checking for Qt5Core... " >&6; }
2692
2693if test -n "$Qt5Core_CFLAGS"; then
2694    pkg_cv_Qt5Core_CFLAGS="$Qt5Core_CFLAGS"
2695 elif test -n "$PKG_CONFIG"; then
2696    if test -n "$PKG_CONFIG" && \
2697    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.2.0\""; } >&5
2698  ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.2.0") 2>&5
2699  ac_status=$?
2700  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2701  test $ac_status = 0; }; then
2702  pkg_cv_Qt5Core_CFLAGS=`$PKG_CONFIG --cflags "Qt5Core >= 5.2.0" 2>/dev/null`
2703		      test "x$?" != "x0" && pkg_failed=yes
2704else
2705  pkg_failed=yes
2706fi
2707 else
2708    pkg_failed=untried
2709fi
2710if test -n "$Qt5Core_LIBS"; then
2711    pkg_cv_Qt5Core_LIBS="$Qt5Core_LIBS"
2712 elif test -n "$PKG_CONFIG"; then
2713    if test -n "$PKG_CONFIG" && \
2714    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.2.0\""; } >&5
2715  ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.2.0") 2>&5
2716  ac_status=$?
2717  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2718  test $ac_status = 0; }; then
2719  pkg_cv_Qt5Core_LIBS=`$PKG_CONFIG --libs "Qt5Core >= 5.2.0" 2>/dev/null`
2720		      test "x$?" != "x0" && pkg_failed=yes
2721else
2722  pkg_failed=yes
2723fi
2724 else
2725    pkg_failed=untried
2726fi
2727
2728
2729
2730if test $pkg_failed = yes; then
2731   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732$as_echo "no" >&6; }
2733
2734if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2735        _pkg_short_errors_supported=yes
2736else
2737        _pkg_short_errors_supported=no
2738fi
2739        if test $_pkg_short_errors_supported = yes; then
2740	        Qt5Core_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Qt5Core >= 5.2.0" 2>&1`
2741        else
2742	        Qt5Core_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "Qt5Core >= 5.2.0" 2>&1`
2743        fi
2744	# Put the nasty error message in config.log where it belongs
2745	echo "$Qt5Core_PKG_ERRORS" >&5
2746
2747	as_fn_error $? "Qt5Core >= 5.2.0 is required." "$LINENO" 5
2748elif test $pkg_failed = untried; then
2749     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750$as_echo "no" >&6; }
2751	as_fn_error $? "Qt5Core >= 5.2.0 is required." "$LINENO" 5
2752else
2753	Qt5Core_CFLAGS=$pkg_cv_Qt5Core_CFLAGS
2754	Qt5Core_LIBS=$pkg_cv_Qt5Core_LIBS
2755        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2756$as_echo "yes" >&6; }
2757
2758fi
2759
2760pkg_failed=no
2761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5Gui" >&5
2762$as_echo_n "checking for Qt5Gui... " >&6; }
2763
2764if test -n "$Qt5Gui_CFLAGS"; then
2765    pkg_cv_Qt5Gui_CFLAGS="$Qt5Gui_CFLAGS"
2766 elif test -n "$PKG_CONFIG"; then
2767    if test -n "$PKG_CONFIG" && \
2768    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Gui >= 5.2.0\""; } >&5
2769  ($PKG_CONFIG --exists --print-errors "Qt5Gui >= 5.2.0") 2>&5
2770  ac_status=$?
2771  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2772  test $ac_status = 0; }; then
2773  pkg_cv_Qt5Gui_CFLAGS=`$PKG_CONFIG --cflags "Qt5Gui >= 5.2.0" 2>/dev/null`
2774		      test "x$?" != "x0" && pkg_failed=yes
2775else
2776  pkg_failed=yes
2777fi
2778 else
2779    pkg_failed=untried
2780fi
2781if test -n "$Qt5Gui_LIBS"; then
2782    pkg_cv_Qt5Gui_LIBS="$Qt5Gui_LIBS"
2783 elif test -n "$PKG_CONFIG"; then
2784    if test -n "$PKG_CONFIG" && \
2785    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Gui >= 5.2.0\""; } >&5
2786  ($PKG_CONFIG --exists --print-errors "Qt5Gui >= 5.2.0") 2>&5
2787  ac_status=$?
2788  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2789  test $ac_status = 0; }; then
2790  pkg_cv_Qt5Gui_LIBS=`$PKG_CONFIG --libs "Qt5Gui >= 5.2.0" 2>/dev/null`
2791		      test "x$?" != "x0" && pkg_failed=yes
2792else
2793  pkg_failed=yes
2794fi
2795 else
2796    pkg_failed=untried
2797fi
2798
2799
2800
2801if test $pkg_failed = yes; then
2802   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2803$as_echo "no" >&6; }
2804
2805if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2806        _pkg_short_errors_supported=yes
2807else
2808        _pkg_short_errors_supported=no
2809fi
2810        if test $_pkg_short_errors_supported = yes; then
2811	        Qt5Gui_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Qt5Gui >= 5.2.0" 2>&1`
2812        else
2813	        Qt5Gui_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "Qt5Gui >= 5.2.0" 2>&1`
2814        fi
2815	# Put the nasty error message in config.log where it belongs
2816	echo "$Qt5Gui_PKG_ERRORS" >&5
2817
2818	as_fn_error $? "Qt5Gui >= 5.2.0 is required." "$LINENO" 5
2819elif test $pkg_failed = untried; then
2820     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2821$as_echo "no" >&6; }
2822	as_fn_error $? "Qt5Gui >= 5.2.0 is required." "$LINENO" 5
2823else
2824	Qt5Gui_CFLAGS=$pkg_cv_Qt5Gui_CFLAGS
2825	Qt5Gui_LIBS=$pkg_cv_Qt5Gui_LIBS
2826        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2827$as_echo "yes" >&6; }
2828
2829fi
2830
2831pkg_failed=no
2832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5Widgets" >&5
2833$as_echo_n "checking for Qt5Widgets... " >&6; }
2834
2835if test -n "$Qt5Widgets_CFLAGS"; then
2836    pkg_cv_Qt5Widgets_CFLAGS="$Qt5Widgets_CFLAGS"
2837 elif test -n "$PKG_CONFIG"; then
2838    if test -n "$PKG_CONFIG" && \
2839    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Widgets >= 5.2.0\""; } >&5
2840  ($PKG_CONFIG --exists --print-errors "Qt5Widgets >= 5.2.0") 2>&5
2841  ac_status=$?
2842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2843  test $ac_status = 0; }; then
2844  pkg_cv_Qt5Widgets_CFLAGS=`$PKG_CONFIG --cflags "Qt5Widgets >= 5.2.0" 2>/dev/null`
2845		      test "x$?" != "x0" && pkg_failed=yes
2846else
2847  pkg_failed=yes
2848fi
2849 else
2850    pkg_failed=untried
2851fi
2852if test -n "$Qt5Widgets_LIBS"; then
2853    pkg_cv_Qt5Widgets_LIBS="$Qt5Widgets_LIBS"
2854 elif test -n "$PKG_CONFIG"; then
2855    if test -n "$PKG_CONFIG" && \
2856    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Widgets >= 5.2.0\""; } >&5
2857  ($PKG_CONFIG --exists --print-errors "Qt5Widgets >= 5.2.0") 2>&5
2858  ac_status=$?
2859  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2860  test $ac_status = 0; }; then
2861  pkg_cv_Qt5Widgets_LIBS=`$PKG_CONFIG --libs "Qt5Widgets >= 5.2.0" 2>/dev/null`
2862		      test "x$?" != "x0" && pkg_failed=yes
2863else
2864  pkg_failed=yes
2865fi
2866 else
2867    pkg_failed=untried
2868fi
2869
2870
2871
2872if test $pkg_failed = yes; then
2873   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874$as_echo "no" >&6; }
2875
2876if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2877        _pkg_short_errors_supported=yes
2878else
2879        _pkg_short_errors_supported=no
2880fi
2881        if test $_pkg_short_errors_supported = yes; then
2882	        Qt5Widgets_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Qt5Widgets >= 5.2.0" 2>&1`
2883        else
2884	        Qt5Widgets_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "Qt5Widgets >= 5.2.0" 2>&1`
2885        fi
2886	# Put the nasty error message in config.log where it belongs
2887	echo "$Qt5Widgets_PKG_ERRORS" >&5
2888
2889	as_fn_error $? "Qt5Widgets >= 5.2.0 is required." "$LINENO" 5
2890elif test $pkg_failed = untried; then
2891     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892$as_echo "no" >&6; }
2893	as_fn_error $? "Qt5Widgets >= 5.2.0 is required." "$LINENO" 5
2894else
2895	Qt5Widgets_CFLAGS=$pkg_cv_Qt5Widgets_CFLAGS
2896	Qt5Widgets_LIBS=$pkg_cv_Qt5Widgets_LIBS
2897        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2898$as_echo "yes" >&6; }
2899
2900fi
2901
2902if test -n "$PKG_CONFIG" && \
2903    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.2.0\""; } >&5
2904  ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.2.0") 2>&5
2905  ac_status=$?
2906  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907  test $ac_status = 0; }; then
2908
2909if test -n "$QT_QMAKE"; then
2910    pkg_cv_QT_QMAKE="$QT_QMAKE"
2911 elif test -n "$PKG_CONFIG"; then
2912    if test -n "$PKG_CONFIG" && \
2913    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.2.0\""; } >&5
2914  ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.2.0") 2>&5
2915  ac_status=$?
2916  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2917  test $ac_status = 0; }; then
2918  pkg_cv_QT_QMAKE=`$PKG_CONFIG --variable="host_bins" "Qt5Core >= 5.2.0" 2>/dev/null`
2919		      test "x$?" != "x0" && pkg_failed=yes
2920else
2921  pkg_failed=yes
2922fi
2923 else
2924    pkg_failed=untried
2925fi
2926QT_QMAKE=$pkg_cv_QT_QMAKE
2927
2928if test "x$QT_QMAKE" = x""; then :
2929
2930fi
2931fi
2932
2933if test -f "$QT_QMAKE/qmake"; then :
2934  QT_QMAKE="$QT_QMAKE/qmake"
2935else
2936  if test -f "$QT_QMAKE/qmake-qt5"; then :
2937  QT_QMAKE="$QT_QMAKE/qmake-qt5"
2938else
2939  QT_QMAKE=""
2940fi
2941fi
2942
2943X_QMAKE_SPEC=$($QT_QMAKE -query QMAKE_SPEC)
2944X_QT_VERSION=$($QT_QMAKE -query QT_VERSION)
2945{ $as_echo "$as_me:${as_lineno-$LINENO}: Qt version: $X_QT_VERSION" >&5
2946$as_echo "$as_me: Qt version: $X_QT_VERSION" >&6;}
2947{ $as_echo "$as_me:${as_lineno-$LINENO}: Running qmake to generate the makefile..." >&5
2948$as_echo "$as_me: Running qmake to generate the makefile..." >&6;}
2949$QT_QMAKE "xelfviewer_source.pro" -spec $X_QMAKE_SPEC
2950
2951{ $as_echo "$as_me:${as_lineno-$LINENO}: The configure finished. Please type \"make\" to compile the project." >&5
2952$as_echo "$as_me: The configure finished. Please type \"make\" to compile the project." >&6;}
2953$as_echo
2954