~peter-pearse/ubuntu/oneiric/x11-apps/prop001

« back to all changes in this revision

Viewing changes to xclock/configure

  • Committer: Bazaar Package Importer
  • Author(s): Brice Goglin, Julien Cristau, Brice Goglin
  • Date: 2009-12-06 12:23:46 UTC
  • Revision ID: james.westby@ubuntu.com-20091206122346-7r0tbgnaby4qdh82
Tags: 7.5+1
[ Julien Cristau ]
* Update xload config.{guess,sub}, adding avr32 support (closes: #536410)
* Improve the long description using patch from Justin B Rye (closes:
  #549457).  Thanks!

[ Brice Goglin ]
* Add ico 1.0.2, closes: #518383.
* bitmap 1.0.4.
* xclipboard 1.1.0.
  + Add UTF8 support, closes: #489998.
* xclock 1.0.4.
  + Drop 06_xclock_geometry.diff, applied upstream.
* xcursorgen 1.0.3.
* xeyes 1.0.991.
* xgc 1.0.2.
* xmag 1.0.3.
* xman 1.1.0.
* xwd 1.0.3.
  + Drop 01_xwd_do_not_spew_usage_on_connection_error.diff, applied upstream.
* xwud 1.0.2.
* Refresh patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for xclock 1.0.3.
 
3
# Generated by GNU Autoconf 2.63 for xclock 1.0.4.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
9
# This configure script is free software; the Free Software Foundation
10
10
# gives unlimited permission to copy, distribute and modify it.
11
11
## --------------------- ##
17
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
18
  emulate sh
19
19
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
21
  # is contrary to our usage.  Disable this feature.
22
22
  alias -g '${1+"$@"}'='"$@"'
23
23
  setopt NO_GLOB_SUBST
39
39
as_cr_digits='0123456789'
40
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
41
 
 
42
as_nl='
 
43
'
 
44
export as_nl
 
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
42
74
# The user is always right.
43
75
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
53
81
fi
54
82
 
55
83
# Support unset when possible.
65
93
# there to prevent editors from complaining about space-tab.
66
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
95
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
96
IFS=" ""        $as_nl"
71
97
 
72
98
# Find who we are.  Look in the path if we contain no directory separator.
89
115
  as_myself=$0
90
116
fi
91
117
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
119
  { (exit 1); exit 1; }
94
120
fi
95
121
 
102
128
PS4='+ '
103
129
 
104
130
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
116
135
 
117
136
# Required to use basename.
118
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
134
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
154
         X"$0" : 'X\(//\)$' \| \
136
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
 
156
$as_echo X/"$0" |
138
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
158
            s//\1/
140
159
            q
160
179
  as_have_required=no
161
180
fi
162
181
 
163
 
  if test $as_have_required = yes &&     (eval ":
 
182
  if test $as_have_required = yes &&     (eval ":
164
183
(as_func_return () {
165
184
  (exit \$1)
166
185
}
242
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
262
  emulate sh
244
263
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
246
265
  # is contrary to our usage.  Disable this feature.
247
266
  alias -g '${1+"$@"}'='"$@"'
248
267
  setopt NO_GLOB_SUBST
263
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
283
  emulate sh
265
284
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267
286
  # is contrary to our usage.  Disable this feature.
268
287
  alias -g '${1+"$@"}'='"$@"'
269
288
  setopt NO_GLOB_SUBST
343
362
 
344
363
      if test "x$CONFIG_SHELL" != x; then
345
364
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
 
367
        export CONFIG_SHELL
 
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
369
fi
351
370
 
352
371
 
415
434
 
416
435
test \$exitcode = 0") || {
417
436
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
421
441
}
422
442
 
423
443
 
453
473
      s/-\n.*//
454
474
    ' >$as_me.lineno &&
455
475
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
477
   { (exit 1); exit 1; }; }
458
478
 
459
479
  # Don't try to exec as it changes $[0], causing all sort of problems
481
501
*)
482
502
  ECHO_N='-n';;
483
503
esac
484
 
 
485
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
506
  as_expr=expr
494
513
  rm -f conf$$.dir/conf$$.file
495
514
else
496
515
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
 
516
  mkdir conf$$.dir 2>/dev/null
498
517
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
518
if (echo >conf$$.file) 2>/dev/null; then
 
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
520
    as_ln_s='ln -s'
 
521
    # ... but there are two gotchas:
 
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
524
    # In both cases, we have to default to `cp -p'.
 
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
526
      as_ln_s='cp -p'
 
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
528
    as_ln_s=ln
 
529
  else
507
530
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
 
531
  fi
510
532
else
511
533
  as_ln_s='cp -p'
512
534
fi
531
553
  as_test_x='
532
554
    eval sh -c '\''
533
555
      if test -d "$1"; then
534
 
        test -d "$1/.";
 
556
        test -d "$1/.";
535
557
      else
536
558
        case $1 in
537
 
        -*)set "./$1";;
 
559
        -*)set "./$1";;
538
560
        esac;
539
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
562
        ???[sx]*):;;*)false;;esac;fi
574
596
# Identity of this package.
575
597
PACKAGE_NAME='xclock'
576
598
PACKAGE_TARNAME='xclock'
577
 
PACKAGE_VERSION='1.0.3'
578
 
PACKAGE_STRING='xclock 1.0.3'
 
599
PACKAGE_VERSION='1.0.4'
 
600
PACKAGE_STRING='xclock 1.0.4'
579
601
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
580
602
 
581
 
ac_subst_vars='SHELL
582
 
PATH_SEPARATOR
583
 
PACKAGE_NAME
584
 
PACKAGE_TARNAME
585
 
PACKAGE_VERSION
586
 
PACKAGE_STRING
587
 
PACKAGE_BUGREPORT
588
 
exec_prefix
589
 
prefix
590
 
program_transform_name
591
 
bindir
592
 
sbindir
593
 
libexecdir
594
 
datarootdir
595
 
datadir
596
 
sysconfdir
597
 
sharedstatedir
598
 
localstatedir
599
 
includedir
600
 
oldincludedir
601
 
docdir
602
 
infodir
603
 
htmldir
604
 
dvidir
605
 
pdfdir
606
 
psdir
607
 
libdir
608
 
localedir
609
 
mandir
610
 
DEFS
611
 
ECHO_C
612
 
ECHO_N
613
 
ECHO_T
614
 
LIBS
615
 
build_alias
616
 
host_alias
617
 
target_alias
618
 
INSTALL_PROGRAM
619
 
INSTALL_SCRIPT
620
 
INSTALL_DATA
621
 
am__isrc
622
 
CYGPATH_W
623
 
PACKAGE
624
 
VERSION
625
 
ACLOCAL
626
 
AUTOCONF
627
 
AUTOMAKE
628
 
AUTOHEADER
629
 
MAKEINFO
630
 
install_sh
631
 
STRIP
632
 
INSTALL_STRIP_PROGRAM
633
 
mkdir_p
634
 
AWK
635
 
SET_MAKE
636
 
am__leading_dot
637
 
AMTAR
638
 
am__tar
639
 
am__untar
640
 
MAINTAINER_MODE_TRUE
641
 
MAINTAINER_MODE_FALSE
642
 
MAINT
643
 
CC
644
 
CFLAGS
645
 
LDFLAGS
646
 
CPPFLAGS
647
 
ac_ct_CC
648
 
EXEEXT
649
 
OBJEXT
650
 
DEPDIR
651
 
am__include
652
 
am__quote
653
 
AMDEP_TRUE
654
 
AMDEP_FALSE
655
 
AMDEPBACKSLASH
656
 
CCDEPMODE
657
 
am__fastdepCC_TRUE
658
 
am__fastdepCC_FALSE
659
 
PKG_CONFIG
660
 
XCLOCK_X11_CFLAGS
661
 
XCLOCK_X11_LIBS
662
 
TMP_XAW_CFLAGS
663
 
TMP_XAW_LIBS
664
 
XAW_USE_XPRINT_TRUE
665
 
XAW_USE_XPRINT_FALSE
666
 
XFT_CFLAGS
667
 
XFT_LIBS
668
 
XKB_CFLAGS
669
 
XKB_LIBS
 
603
# Factoring default headers for most tests.
 
604
ac_includes_default="\
 
605
#include <stdio.h>
 
606
#ifdef HAVE_SYS_TYPES_H
 
607
# include <sys/types.h>
 
608
#endif
 
609
#ifdef HAVE_SYS_STAT_H
 
610
# include <sys/stat.h>
 
611
#endif
 
612
#ifdef STDC_HEADERS
 
613
# include <stdlib.h>
 
614
# include <stddef.h>
 
615
#else
 
616
# ifdef HAVE_STDLIB_H
 
617
#  include <stdlib.h>
 
618
# endif
 
619
#endif
 
620
#ifdef HAVE_STRING_H
 
621
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
622
#  include <memory.h>
 
623
# endif
 
624
# include <string.h>
 
625
#endif
 
626
#ifdef HAVE_STRINGS_H
 
627
# include <strings.h>
 
628
#endif
 
629
#ifdef HAVE_INTTYPES_H
 
630
# include <inttypes.h>
 
631
#endif
 
632
#ifdef HAVE_STDINT_H
 
633
# include <stdint.h>
 
634
#endif
 
635
#ifdef HAVE_UNISTD_H
 
636
# include <unistd.h>
 
637
#endif"
 
638
 
 
639
ac_subst_vars='am__EXEEXT_FALSE
 
640
am__EXEEXT_TRUE
 
641
LTLIBOBJS
 
642
LIBOBJS
 
643
appdefaultdir
 
644
APPDEFS_LIBS
 
645
APPDEFS_CFLAGS
 
646
XCLOCK_LIBS
670
647
XCLOCK_CFLAGS
671
 
XCLOCK_LIBS
672
 
APPDEFS_CFLAGS
673
 
APPDEFS_LIBS
674
 
appdefaultdir
 
648
XKB_LIBS
 
649
XKB_CFLAGS
 
650
XFT_LIBS
 
651
XFT_CFLAGS
 
652
XAW_LIBS
 
653
XAW_CFLAGS
 
654
XCLOCK_X11_LIBS
 
655
XCLOCK_X11_CFLAGS
 
656
PKG_CONFIG
 
657
ADMIN_MAN_DIR
 
658
DRIVER_MAN_DIR
 
659
MISC_MAN_DIR
 
660
FILE_MAN_DIR
 
661
LIB_MAN_DIR
 
662
APP_MAN_DIR
 
663
ADMIN_MAN_SUFFIX
 
664
DRIVER_MAN_SUFFIX
 
665
MISC_MAN_SUFFIX
 
666
FILE_MAN_SUFFIX
 
667
LIB_MAN_SUFFIX
 
668
APP_MAN_SUFFIX
 
669
host_os
 
670
host_vendor
 
671
host_cpu
 
672
host
 
673
build_os
 
674
build_vendor
 
675
build_cpu
675
676
build
676
 
build_cpu
677
 
build_vendor
678
 
build_os
679
 
host
680
 
host_cpu
681
 
host_vendor
682
 
host_os
683
 
APP_MAN_SUFFIX
684
 
LIB_MAN_SUFFIX
685
 
FILE_MAN_SUFFIX
686
 
MISC_MAN_SUFFIX
687
 
DRIVER_MAN_SUFFIX
688
 
ADMIN_MAN_SUFFIX
689
 
APP_MAN_DIR
690
 
LIB_MAN_DIR
691
 
FILE_MAN_DIR
692
 
MISC_MAN_DIR
693
 
DRIVER_MAN_DIR
694
 
ADMIN_MAN_DIR
695
 
LIBOBJS
696
 
LTLIBOBJS'
 
677
distcleancheck_listfiles
 
678
CHANGELOG_CMD
 
679
AM_BACKSLASH
 
680
AM_DEFAULT_VERBOSITY
 
681
CWARNFLAGS
 
682
EGREP
 
683
GREP
 
684
CPP
 
685
am__fastdepCC_FALSE
 
686
am__fastdepCC_TRUE
 
687
CCDEPMODE
 
688
AMDEPBACKSLASH
 
689
AMDEP_FALSE
 
690
AMDEP_TRUE
 
691
am__quote
 
692
am__include
 
693
DEPDIR
 
694
OBJEXT
 
695
EXEEXT
 
696
ac_ct_CC
 
697
CPPFLAGS
 
698
LDFLAGS
 
699
CFLAGS
 
700
CC
 
701
MAINT
 
702
MAINTAINER_MODE_FALSE
 
703
MAINTAINER_MODE_TRUE
 
704
am__untar
 
705
am__tar
 
706
AMTAR
 
707
am__leading_dot
 
708
SET_MAKE
 
709
AWK
 
710
mkdir_p
 
711
MKDIR_P
 
712
INSTALL_STRIP_PROGRAM
 
713
STRIP
 
714
install_sh
 
715
MAKEINFO
 
716
AUTOHEADER
 
717
AUTOMAKE
 
718
AUTOCONF
 
719
ACLOCAL
 
720
VERSION
 
721
PACKAGE
 
722
CYGPATH_W
 
723
am__isrc
 
724
INSTALL_DATA
 
725
INSTALL_SCRIPT
 
726
INSTALL_PROGRAM
 
727
target_alias
 
728
host_alias
 
729
build_alias
 
730
LIBS
 
731
ECHO_T
 
732
ECHO_N
 
733
ECHO_C
 
734
DEFS
 
735
mandir
 
736
localedir
 
737
libdir
 
738
psdir
 
739
pdfdir
 
740
dvidir
 
741
htmldir
 
742
infodir
 
743
docdir
 
744
oldincludedir
 
745
includedir
 
746
localstatedir
 
747
sharedstatedir
 
748
sysconfdir
 
749
datadir
 
750
datarootdir
 
751
libexecdir
 
752
sbindir
 
753
bindir
 
754
program_transform_name
 
755
prefix
 
756
exec_prefix
 
757
PACKAGE_BUGREPORT
 
758
PACKAGE_STRING
 
759
PACKAGE_VERSION
 
760
PACKAGE_TARNAME
 
761
PACKAGE_NAME
 
762
PATH_SEPARATOR
 
763
SHELL'
697
764
ac_subst_files=''
 
765
ac_user_opts='
 
766
enable_option_checking
 
767
enable_maintainer_mode
 
768
enable_dependency_tracking
 
769
enable_silent_rules
 
770
enable_strict_compilation
 
771
with_release_version
 
772
with_xft
 
773
with_xkb
 
774
with_appdefaultdir
 
775
'
698
776
      ac_precious_vars='build_alias
699
777
host_alias
700
778
target_alias
703
781
LDFLAGS
704
782
LIBS
705
783
CPPFLAGS
 
784
CPP
706
785
PKG_CONFIG
707
786
XCLOCK_X11_CFLAGS
708
787
XCLOCK_X11_LIBS
709
 
TMP_XAW_CFLAGS
710
 
TMP_XAW_LIBS
 
788
XAW_CFLAGS
 
789
XAW_LIBS
711
790
XFT_CFLAGS
712
791
XFT_LIBS
713
792
XKB_CFLAGS
719
798
# Initialize some variables set by options.
720
799
ac_init_help=
721
800
ac_init_version=false
 
801
ac_unrecognized_opts=
 
802
ac_unrecognized_sep=
722
803
# The variables have the same names as the options, with
723
804
# dashes changed to underlines.
724
805
cache_file=/dev/null
817
898
    datarootdir=$ac_optarg ;;
818
899
 
819
900
  -disable-* | --disable-*)
820
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
901
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
821
902
    # Reject names that are not valid shell variable names.
822
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
823
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
903
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
904
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
824
905
   { (exit 1); exit 1; }; }
825
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
826
 
    eval enable_$ac_feature=no ;;
 
906
    ac_useropt_orig=$ac_useropt
 
907
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
908
    case $ac_user_opts in
 
909
      *"
 
910
"enable_$ac_useropt"
 
911
"*) ;;
 
912
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
913
         ac_unrecognized_sep=', ';;
 
914
    esac
 
915
    eval enable_$ac_useropt=no ;;
827
916
 
828
917
  -docdir | --docdir | --docdi | --doc | --do)
829
918
    ac_prev=docdir ;;
836
925
    dvidir=$ac_optarg ;;
837
926
 
838
927
  -enable-* | --enable-*)
839
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
928
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
840
929
    # Reject names that are not valid shell variable names.
841
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
842
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
930
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
931
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
843
932
   { (exit 1); exit 1; }; }
844
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
845
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
933
    ac_useropt_orig=$ac_useropt
 
934
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
935
    case $ac_user_opts in
 
936
      *"
 
937
"enable_$ac_useropt"
 
938
"*) ;;
 
939
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
940
         ac_unrecognized_sep=', ';;
 
941
    esac
 
942
    eval enable_$ac_useropt=\$ac_optarg ;;
846
943
 
847
944
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
848
945
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1033
1130
    ac_init_version=: ;;
1034
1131
 
1035
1132
  -with-* | --with-*)
1036
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1133
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037
1134
    # Reject names that are not valid shell variable names.
1038
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1039
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1135
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1136
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1040
1137
   { (exit 1); exit 1; }; }
1041
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1042
 
    eval with_$ac_package=\$ac_optarg ;;
 
1138
    ac_useropt_orig=$ac_useropt
 
1139
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1140
    case $ac_user_opts in
 
1141
      *"
 
1142
"with_$ac_useropt"
 
1143
"*) ;;
 
1144
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1145
         ac_unrecognized_sep=', ';;
 
1146
    esac
 
1147
    eval with_$ac_useropt=\$ac_optarg ;;
1043
1148
 
1044
1149
  -without-* | --without-*)
1045
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1150
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1046
1151
    # Reject names that are not valid shell variable names.
1047
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1048
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1152
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1153
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1049
1154
   { (exit 1); exit 1; }; }
1050
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1051
 
    eval with_$ac_package=no ;;
 
1155
    ac_useropt_orig=$ac_useropt
 
1156
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1157
    case $ac_user_opts in
 
1158
      *"
 
1159
"with_$ac_useropt"
 
1160
"*) ;;
 
1161
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1162
         ac_unrecognized_sep=', ';;
 
1163
    esac
 
1164
    eval with_$ac_useropt=no ;;
1052
1165
 
1053
1166
  --x)
1054
1167
    # Obsolete; use --with-x.
1068
1181
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1069
1182
    x_libraries=$ac_optarg ;;
1070
1183
 
1071
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1184
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1072
1185
Try \`$0 --help' for more information." >&2
1073
1186
   { (exit 1); exit 1; }; }
1074
1187
    ;;
1077
1190
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1078
1191
    # Reject names that are not valid shell variable names.
1079
1192
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1080
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1193
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1081
1194
   { (exit 1); exit 1; }; }
1082
1195
    eval $ac_envvar=\$ac_optarg
1083
1196
    export $ac_envvar ;;
1084
1197
 
1085
1198
  *)
1086
1199
    # FIXME: should be removed in autoconf 3.0.
1087
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1200
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1088
1201
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1089
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1202
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1090
1203
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1091
1204
    ;;
1092
1205
 
1095
1208
 
1096
1209
if test -n "$ac_prev"; then
1097
1210
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1098
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1211
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1099
1212
   { (exit 1); exit 1; }; }
1100
1213
fi
1101
1214
 
1102
 
# Be sure to have absolute directory names.
 
1215
if test -n "$ac_unrecognized_opts"; then
 
1216
  case $enable_option_checking in
 
1217
    no) ;;
 
1218
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1219
   { (exit 1); exit 1; }; } ;;
 
1220
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1221
  esac
 
1222
fi
 
1223
 
 
1224
# Check all directory arguments for consistency.
1103
1225
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1104
1226
                datadir sysconfdir sharedstatedir localstatedir includedir \
1105
1227
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1106
1228
                libdir localedir mandir
1107
1229
do
1108
1230
  eval ac_val=\$$ac_var
 
1231
  # Remove trailing slashes.
 
1232
  case $ac_val in
 
1233
    */ )
 
1234
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1235
      eval $ac_var=\$ac_val;;
 
1236
  esac
 
1237
  # Be sure to have absolute directory names.
1109
1238
  case $ac_val in
1110
1239
    [\\/$]* | ?:[\\/]* )  continue;;
1111
1240
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1112
1241
  esac
1113
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1242
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1114
1243
   { (exit 1); exit 1; }; }
1115
1244
done
1116
1245
 
1125
1254
if test "x$host_alias" != x; then
1126
1255
  if test "x$build_alias" = x; then
1127
1256
    cross_compiling=maybe
1128
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1257
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1129
1258
    If a cross compiler is detected then cross compile mode will be used." >&2
1130
1259
  elif test "x$build_alias" != "x$host_alias"; then
1131
1260
    cross_compiling=yes
1141
1270
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1142
1271
ac_ls_di=`ls -di .` &&
1143
1272
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1144
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1273
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1145
1274
   { (exit 1); exit 1; }; }
1146
1275
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1147
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1276
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1148
1277
   { (exit 1); exit 1; }; }
1149
1278
 
1150
1279
 
1152
1281
if test -z "$srcdir"; then
1153
1282
  ac_srcdir_defaulted=yes
1154
1283
  # Try the directory containing this script, then the parent directory.
1155
 
  ac_confdir=`$as_dirname -- "$0" ||
1156
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1157
 
         X"$0" : 'X\(//\)[^/]' \| \
1158
 
         X"$0" : 'X\(//\)$' \| \
1159
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1160
 
echo X"$0" |
 
1284
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1285
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1286
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1287
         X"$as_myself" : 'X\(//\)$' \| \
 
1288
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1289
$as_echo X"$as_myself" |
1161
1290
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1162
1291
            s//\1/
1163
1292
            q
1184
1313
fi
1185
1314
if test ! -r "$srcdir/$ac_unique_file"; then
1186
1315
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1187
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1316
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1188
1317
   { (exit 1); exit 1; }; }
1189
1318
fi
1190
1319
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1191
1320
ac_abs_confdir=`(
1192
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1321
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1193
1322
   { (exit 1); exit 1; }; }
1194
1323
        pwd)`
1195
1324
# When building in place, set srcdir=.
1216
1345
  # Omit some internal or obsolete options to make the list less imposing.
1217
1346
  # This message is too long to be a string in the A/UX 3.1 sh.
1218
1347
  cat <<_ACEOF
1219
 
\`configure' configures xclock 1.0.3 to adapt to many kinds of systems.
 
1348
\`configure' configures xclock 1.0.4 to adapt to many kinds of systems.
1220
1349
 
1221
1350
Usage: $0 [OPTION]... [VAR=VALUE]...
1222
1351
 
1238
1367
 
1239
1368
Installation directories:
1240
1369
  --prefix=PREFIX         install architecture-independent files in PREFIX
1241
 
                          [$ac_default_prefix]
 
1370
                          [$ac_default_prefix]
1242
1371
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1243
 
                          [PREFIX]
 
1372
                          [PREFIX]
1244
1373
 
1245
1374
By default, \`make install' will install all the files in
1246
1375
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1250
1379
For better control, use the options below.
1251
1380
 
1252
1381
Fine tuning of the installation directories:
1253
 
  --bindir=DIR           user executables [EPREFIX/bin]
1254
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1255
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1256
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1257
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1258
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1259
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1260
 
  --includedir=DIR       C header files [PREFIX/include]
1261
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1262
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1263
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1264
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1265
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1266
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1267
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/xclock]
1268
 
  --htmldir=DIR          html documentation [DOCDIR]
1269
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1270
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1271
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1382
  --bindir=DIR            user executables [EPREFIX/bin]
 
1383
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1384
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1385
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1386
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1387
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1388
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1389
  --includedir=DIR        C header files [PREFIX/include]
 
1390
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1391
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1392
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1393
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1394
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1395
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1396
  --docdir=DIR            documentation root [DATAROOTDIR/doc/xclock]
 
1397
  --htmldir=DIR           html documentation [DOCDIR]
 
1398
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1399
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1400
  --psdir=DIR             ps documentation [DOCDIR]
1272
1401
_ACEOF
1273
1402
 
1274
1403
  cat <<\_ACEOF
1286
1415
 
1287
1416
if test -n "$ac_init_help"; then
1288
1417
  case $ac_init_help in
1289
 
     short | recursive ) echo "Configuration of xclock 1.0.3:";;
 
1418
     short | recursive ) echo "Configuration of xclock 1.0.4:";;
1290
1419
   esac
1291
1420
  cat <<\_ACEOF
1292
1421
 
1293
1422
Optional Features:
 
1423
  --disable-option-checking  ignore unrecognized --enable/--with options
1294
1424
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1295
1425
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1296
1426
  --enable-maintainer-mode  enable make rules and dependencies not useful
1297
1427
                          (and sometimes confusing) to the casual installer
1298
1428
  --disable-dependency-tracking  speeds up one-time build
1299
1429
  --enable-dependency-tracking   do not reject slow dependency extractors
1300
 
  --enable-xprint         Enable XPrint support
 
1430
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1431
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1432
  --enable-strict-compilation
 
1433
                          Enable all warnings from compiler and make them
 
1434
                          errors (default: disabled)
1301
1435
 
1302
1436
Optional Packages:
1303
1437
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1304
1438
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1439
  --with-release-version=STRING
 
1440
                          Use release version string in package name
1305
1441
  --with-xft              Use Xft2 and Xrender for rendering (Default is YES)
1306
1442
  --with-xkb              Use XKB to sound bells (Default is YES)
1307
 
  --with-release-version=STRING
1308
 
                          Use release version string in package name
 
1443
  --with-appdefaultdir=<pathname>
 
1444
                          specify directory for app-defaults files (default is
 
1445
                          autodetected)
1309
1446
 
1310
1447
Some influential environment variables:
1311
1448
  CC          C compiler command
1315
1452
  LIBS        libraries to pass to the linker, e.g. -l<library>
1316
1453
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1317
1454
              you have headers in a nonstandard directory <include dir>
 
1455
  CPP         C preprocessor
1318
1456
  PKG_CONFIG  path to pkg-config utility
1319
1457
  XCLOCK_X11_CFLAGS
1320
1458
              C compiler flags for XCLOCK_X11, overriding pkg-config
1321
1459
  XCLOCK_X11_LIBS
1322
1460
              linker flags for XCLOCK_X11, overriding pkg-config
1323
 
  TMP_XAW_CFLAGS
1324
 
              C compiler flags for TMP_XAW, overriding pkg-config
1325
 
  TMP_XAW_LIBS
1326
 
              linker flags for TMP_XAW, overriding pkg-config
 
1461
  XAW_CFLAGS  C compiler flags for XAW, overriding pkg-config
 
1462
  XAW_LIBS    linker flags for XAW, overriding pkg-config
1327
1463
  XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
1328
1464
  XFT_LIBS    linker flags for XFT, overriding pkg-config
1329
1465
  XKB_CFLAGS  C compiler flags for XKB, overriding pkg-config
1344
1480
if test "$ac_init_help" = "recursive"; then
1345
1481
  # If there are subdirs, report their specific --help.
1346
1482
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1347
 
    test -d "$ac_dir" || continue
 
1483
    test -d "$ac_dir" ||
 
1484
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1485
      continue
1348
1486
    ac_builddir=.
1349
1487
 
1350
1488
case "$ac_dir" in
1351
1489
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352
1490
*)
1353
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1491
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1354
1492
  # A ".." for each directory in $ac_dir_suffix.
1355
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1493
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1356
1494
  case $ac_top_builddir_sub in
1357
1495
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358
1496
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1388
1526
      echo &&
1389
1527
      $SHELL "$ac_srcdir/configure" --help=recursive
1390
1528
    else
1391
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1529
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1392
1530
    fi || ac_status=$?
1393
1531
    cd "$ac_pwd" || { ac_status=$?; break; }
1394
1532
  done
1397
1535
test -n "$ac_init_help" && exit $ac_status
1398
1536
if $ac_init_version; then
1399
1537
  cat <<\_ACEOF
1400
 
xclock configure 1.0.3
1401
 
generated by GNU Autoconf 2.61
 
1538
xclock configure 1.0.4
 
1539
generated by GNU Autoconf 2.63
1402
1540
 
1403
1541
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1404
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1542
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1405
1543
This configure script is free software; the Free Software Foundation
1406
1544
gives unlimited permission to copy, distribute and modify it.
1407
1545
_ACEOF
1411
1549
This file contains any messages produced by compilers while
1412
1550
running configure, to aid debugging if configure makes a mistake.
1413
1551
 
1414
 
It was created by xclock $as_me 1.0.3, which was
1415
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1552
It was created by xclock $as_me 1.0.4, which was
 
1553
generated by GNU Autoconf 2.63.  Invocation command line was
1416
1554
 
1417
1555
  $ $0 $@
1418
1556
 
1448
1586
do
1449
1587
  IFS=$as_save_IFS
1450
1588
  test -z "$as_dir" && as_dir=.
1451
 
  echo "PATH: $as_dir"
 
1589
  $as_echo "PATH: $as_dir"
1452
1590
done
1453
1591
IFS=$as_save_IFS
1454
1592
 
1483
1621
    | -silent | --silent | --silen | --sile | --sil)
1484
1622
      continue ;;
1485
1623
    *\'*)
1486
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1624
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1487
1625
    esac
1488
1626
    case $ac_pass in
1489
1627
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1535
1673
    case $ac_val in #(
1536
1674
    *${as_nl}*)
1537
1675
      case $ac_var in #(
1538
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1539
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1676
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1677
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1540
1678
      esac
1541
1679
      case $ac_var in #(
1542
1680
      _ | IFS | as_nl) ;; #(
 
1681
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1543
1682
      *) $as_unset $ac_var ;;
1544
1683
      esac ;;
1545
1684
    esac
1569
1708
    do
1570
1709
      eval ac_val=\$$ac_var
1571
1710
      case $ac_val in
1572
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1711
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1573
1712
      esac
1574
 
      echo "$ac_var='\''$ac_val'\''"
 
1713
      $as_echo "$ac_var='\''$ac_val'\''"
1575
1714
    done | sort
1576
1715
    echo
1577
1716
 
1586
1725
      do
1587
1726
        eval ac_val=\$$ac_var
1588
1727
        case $ac_val in
1589
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1728
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1590
1729
        esac
1591
 
        echo "$ac_var='\''$ac_val'\''"
 
1730
        $as_echo "$ac_var='\''$ac_val'\''"
1592
1731
      done | sort
1593
1732
      echo
1594
1733
    fi
1604
1743
      echo
1605
1744
    fi
1606
1745
    test "$ac_signal" != 0 &&
1607
 
      echo "$as_me: caught signal $ac_signal"
1608
 
    echo "$as_me: exit $exit_status"
 
1746
      $as_echo "$as_me: caught signal $ac_signal"
 
1747
    $as_echo "$as_me: exit $exit_status"
1609
1748
  } >&5
1610
1749
  rm -f core *.core core.conftest.* &&
1611
1750
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1647
1786
 
1648
1787
 
1649
1788
# Let the site file select an alternate cache file if it wants to.
1650
 
# Prefer explicitly selected file to automatically selected ones.
 
1789
# Prefer an explicitly selected file to automatically selected ones.
 
1790
ac_site_file1=NONE
 
1791
ac_site_file2=NONE
1651
1792
if test -n "$CONFIG_SITE"; then
1652
 
  set x "$CONFIG_SITE"
 
1793
  ac_site_file1=$CONFIG_SITE
1653
1794
elif test "x$prefix" != xNONE; then
1654
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1795
  ac_site_file1=$prefix/share/config.site
 
1796
  ac_site_file2=$prefix/etc/config.site
1655
1797
else
1656
 
  set x "$ac_default_prefix/share/config.site" \
1657
 
        "$ac_default_prefix/etc/config.site"
 
1798
  ac_site_file1=$ac_default_prefix/share/config.site
 
1799
  ac_site_file2=$ac_default_prefix/etc/config.site
1658
1800
fi
1659
 
shift
1660
 
for ac_site_file
 
1801
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1661
1802
do
 
1803
  test "x$ac_site_file" = xNONE && continue
1662
1804
  if test -r "$ac_site_file"; then
1663
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1664
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1805
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1806
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1665
1807
    sed 's/^/| /' "$ac_site_file" >&5
1666
1808
    . "$ac_site_file"
1667
1809
  fi
1671
1813
  # Some versions of bash will fail to source /dev/null (special
1672
1814
  # files actually), so we avoid doing that.
1673
1815
  if test -f "$cache_file"; then
1674
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1675
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1816
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1817
$as_echo "$as_me: loading cache $cache_file" >&6;}
1676
1818
    case $cache_file in
1677
1819
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1678
1820
      *)                      . "./$cache_file";;
1679
1821
    esac
1680
1822
  fi
1681
1823
else
1682
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1683
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1824
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1825
$as_echo "$as_me: creating cache $cache_file" >&6;}
1684
1826
  >$cache_file
1685
1827
fi
1686
1828
 
1694
1836
  eval ac_new_val=\$ac_env_${ac_var}_value
1695
1837
  case $ac_old_set,$ac_new_set in
1696
1838
    set,)
1697
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1698
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1839
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1840
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1699
1841
      ac_cache_corrupted=: ;;
1700
1842
    ,set)
1701
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1702
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1843
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1844
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1703
1845
      ac_cache_corrupted=: ;;
1704
1846
    ,);;
1705
1847
    *)
1706
1848
      if test "x$ac_old_val" != "x$ac_new_val"; then
1707
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1708
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1709
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1710
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1711
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1712
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1713
 
        ac_cache_corrupted=:
 
1849
        # differences in whitespace do not lead to failure.
 
1850
        ac_old_val_w=`echo x $ac_old_val`
 
1851
        ac_new_val_w=`echo x $ac_new_val`
 
1852
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1853
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1854
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1855
          ac_cache_corrupted=:
 
1856
        else
 
1857
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1858
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1859
          eval $ac_var=\$ac_old_val
 
1860
        fi
 
1861
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1862
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1863
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1864
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1714
1865
      fi;;
1715
1866
  esac
1716
1867
  # Pass precious variables to config.status.
1717
1868
  if test "$ac_new_set" = set; then
1718
1869
    case $ac_new_val in
1719
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1870
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1720
1871
    *) ac_arg=$ac_var=$ac_new_val ;;
1721
1872
    esac
1722
1873
    case " $ac_configure_args " in
1726
1877
  fi
1727
1878
done
1728
1879
if $ac_cache_corrupted; then
1729
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1730
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1731
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1732
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1880
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1881
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1882
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1883
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1884
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1885
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1733
1886
   { (exit 1); exit 1; }; }
1734
1887
fi
1735
1888
 
1764
1917
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1765
1918
 
1766
1919
 
1767
 
am__api_version='1.10'
 
1920
am__api_version='1.11'
1768
1921
 
1769
1922
ac_aux_dir=
1770
1923
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1783
1936
  fi
1784
1937
done
1785
1938
if test -z "$ac_aux_dir"; then
1786
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1787
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1939
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1940
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1788
1941
   { (exit 1); exit 1; }; }
1789
1942
fi
1790
1943
 
1810
1963
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1811
1964
# OS/2's system install, which has a completely different semantic
1812
1965
# ./install, which can be erroneously created by make from ./install.sh.
1813
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1814
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
1966
# Reject install programs that cannot install multiple files.
 
1967
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1968
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1815
1969
if test -z "$INSTALL"; then
1816
1970
if test "${ac_cv_path_install+set}" = set; then
1817
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1971
  $as_echo_n "(cached) " >&6
1818
1972
else
1819
1973
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1820
1974
for as_dir in $PATH
1843
1997
            # program-specific install script used by HP pwplus--don't use.
1844
1998
            :
1845
1999
          else
1846
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1847
 
            break 3
 
2000
            rm -rf conftest.one conftest.two conftest.dir
 
2001
            echo one > conftest.one
 
2002
            echo two > conftest.two
 
2003
            mkdir conftest.dir
 
2004
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2005
              test -s conftest.one && test -s conftest.two &&
 
2006
              test -s conftest.dir/conftest.one &&
 
2007
              test -s conftest.dir/conftest.two
 
2008
            then
 
2009
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2010
              break 3
 
2011
            fi
1848
2012
          fi
1849
2013
        fi
1850
2014
      done
1851
2015
    done
1852
2016
    ;;
1853
2017
esac
 
2018
 
1854
2019
done
1855
2020
IFS=$as_save_IFS
1856
2021
 
 
2022
rm -rf conftest.one conftest.two conftest.dir
1857
2023
 
1858
2024
fi
1859
2025
  if test "${ac_cv_path_install+set}" = set; then
1866
2032
    INSTALL=$ac_install_sh
1867
2033
  fi
1868
2034
fi
1869
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1870
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2035
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2036
$as_echo "$INSTALL" >&6; }
1871
2037
 
1872
2038
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1873
2039
# It thinks the first close brace ends the variable substitution.
1877
2043
 
1878
2044
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1879
2045
 
1880
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1881
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2046
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2047
$as_echo_n "checking whether build environment is sane... " >&6; }
1882
2048
# Just in case
1883
2049
sleep 1
1884
2050
echo timestamp > conftest.file
 
2051
# Reject unsafe characters in $srcdir or the absolute working directory
 
2052
# name.  Accept space and tab only in the latter.
 
2053
am_lf='
 
2054
'
 
2055
case `pwd` in
 
2056
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2057
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
 
2058
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
 
2059
   { (exit 1); exit 1; }; };;
 
2060
esac
 
2061
case $srcdir in
 
2062
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2063
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
 
2064
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
 
2065
   { (exit 1); exit 1; }; };;
 
2066
esac
 
2067
 
1885
2068
# Do `set' in a subshell so we don't clobber the current shell's
1886
2069
# arguments.  Must try -L first in case configure is actually a
1887
2070
# symlink; some systems play weird games with the mod time of symlinks
1888
2071
# (eg FreeBSD returns the mod time of the symlink's containing
1889
2072
# directory).
1890
2073
if (
1891
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2074
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1892
2075
   if test "$*" = "X"; then
1893
2076
      # -L didn't work.
1894
 
      set X `ls -t $srcdir/configure conftest.file`
 
2077
      set X `ls -t "$srcdir/configure" conftest.file`
1895
2078
   fi
1896
2079
   rm -f conftest.file
1897
2080
   if test "$*" != "X $srcdir/configure conftest.file" \
1901
2084
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1902
2085
      # broken ls alias from the environment.  This has actually
1903
2086
      # happened.  Such a system could not be considered "sane".
1904
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2087
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1905
2088
alias in your environment" >&5
1906
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2089
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1907
2090
alias in your environment" >&2;}
1908
2091
   { (exit 1); exit 1; }; }
1909
2092
   fi
1914
2097
   # Ok.
1915
2098
   :
1916
2099
else
1917
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2100
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1918
2101
Check your system clock" >&5
1919
 
echo "$as_me: error: newly created file is older than distributed files!
 
2102
$as_echo "$as_me: error: newly created file is older than distributed files!
1920
2103
Check your system clock" >&2;}
1921
2104
   { (exit 1); exit 1; }; }
1922
2105
fi
1923
 
{ echo "$as_me:$LINENO: result: yes" >&5
1924
 
echo "${ECHO_T}yes" >&6; }
 
2106
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2107
$as_echo "yes" >&6; }
1925
2108
test "$program_prefix" != NONE &&
1926
2109
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1927
2110
# Use a double $ so make ignores it.
1928
2111
test "$program_suffix" != NONE &&
1929
2112
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1930
 
# Double any \ or $.  echo might interpret backslashes.
 
2113
# Double any \ or $.
1931
2114
# By default was `s,x,x', remove it if useless.
1932
 
cat <<\_ACEOF >conftest.sed
1933
 
s/[\\$]/&&/g;s/;s,x,x,$//
1934
 
_ACEOF
1935
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1936
 
rm -f conftest.sed
 
2115
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2116
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1937
2117
 
1938
2118
# expand $ac_aux_dir to an absolute path
1939
2119
am_aux_dir=`cd $ac_aux_dir && pwd`
1940
2120
 
1941
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2121
if test x"${MISSING+set}" != xset; then
 
2122
  case $am_aux_dir in
 
2123
  *\ * | *\     *)
 
2124
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2125
  *)
 
2126
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2127
  esac
 
2128
fi
1942
2129
# Use eval to expand $SHELL
1943
2130
if eval "$MISSING --run true"; then
1944
2131
  am_missing_run="$MISSING --run "
1945
2132
else
1946
2133
  am_missing_run=
1947
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1948
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1949
 
fi
1950
 
 
1951
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1952
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2134
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2135
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2136
fi
 
2137
 
 
2138
if test x"${install_sh}" != xset; then
 
2139
  case $am_aux_dir in
 
2140
  *\ * | *\     *)
 
2141
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2142
  *)
 
2143
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2144
  esac
 
2145
fi
 
2146
 
 
2147
# Installed binaries are usually stripped using `strip' when the user
 
2148
# run `make install-strip'.  However `strip' might not be the right
 
2149
# tool to use in cross-compilation environments, therefore Automake
 
2150
# will honor the `STRIP' environment variable to overrule this program.
 
2151
if test "$cross_compiling" != no; then
 
2152
  if test -n "$ac_tool_prefix"; then
 
2153
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2154
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2155
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2156
$as_echo_n "checking for $ac_word... " >&6; }
 
2157
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2158
  $as_echo_n "(cached) " >&6
 
2159
else
 
2160
  if test -n "$STRIP"; then
 
2161
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2162
else
 
2163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2164
for as_dir in $PATH
 
2165
do
 
2166
  IFS=$as_save_IFS
 
2167
  test -z "$as_dir" && as_dir=.
 
2168
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2169
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2170
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2171
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2172
    break 2
 
2173
  fi
 
2174
done
 
2175
done
 
2176
IFS=$as_save_IFS
 
2177
 
 
2178
fi
 
2179
fi
 
2180
STRIP=$ac_cv_prog_STRIP
 
2181
if test -n "$STRIP"; then
 
2182
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2183
$as_echo "$STRIP" >&6; }
 
2184
else
 
2185
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2186
$as_echo "no" >&6; }
 
2187
fi
 
2188
 
 
2189
 
 
2190
fi
 
2191
if test -z "$ac_cv_prog_STRIP"; then
 
2192
  ac_ct_STRIP=$STRIP
 
2193
  # Extract the first word of "strip", so it can be a program name with args.
 
2194
set dummy strip; ac_word=$2
 
2195
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2196
$as_echo_n "checking for $ac_word... " >&6; }
 
2197
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2198
  $as_echo_n "(cached) " >&6
 
2199
else
 
2200
  if test -n "$ac_ct_STRIP"; then
 
2201
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2202
else
 
2203
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2204
for as_dir in $PATH
 
2205
do
 
2206
  IFS=$as_save_IFS
 
2207
  test -z "$as_dir" && as_dir=.
 
2208
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2209
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2210
    ac_cv_prog_ac_ct_STRIP="strip"
 
2211
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2212
    break 2
 
2213
  fi
 
2214
done
 
2215
done
 
2216
IFS=$as_save_IFS
 
2217
 
 
2218
fi
 
2219
fi
 
2220
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2221
if test -n "$ac_ct_STRIP"; then
 
2222
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2223
$as_echo "$ac_ct_STRIP" >&6; }
 
2224
else
 
2225
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2226
$as_echo "no" >&6; }
 
2227
fi
 
2228
 
 
2229
  if test "x$ac_ct_STRIP" = x; then
 
2230
    STRIP=":"
 
2231
  else
 
2232
    case $cross_compiling:$ac_tool_warned in
 
2233
yes:)
 
2234
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2235
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2236
ac_tool_warned=yes ;;
 
2237
esac
 
2238
    STRIP=$ac_ct_STRIP
 
2239
  fi
 
2240
else
 
2241
  STRIP="$ac_cv_prog_STRIP"
 
2242
fi
 
2243
 
 
2244
fi
 
2245
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2246
 
 
2247
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2248
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1953
2249
if test -z "$MKDIR_P"; then
1954
2250
  if test "${ac_cv_path_mkdir+set}" = set; then
1955
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2251
  $as_echo_n "(cached) " >&6
1956
2252
else
1957
2253
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958
2254
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1987
2283
    MKDIR_P="$ac_install_sh -d"
1988
2284
  fi
1989
2285
fi
1990
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1991
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2286
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2287
$as_echo "$MKDIR_P" >&6; }
1992
2288
 
1993
2289
mkdir_p="$MKDIR_P"
1994
2290
case $mkdir_p in
2000
2296
do
2001
2297
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2002
2298
set dummy $ac_prog; ac_word=$2
2003
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2004
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2299
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2300
$as_echo_n "checking for $ac_word... " >&6; }
2005
2301
if test "${ac_cv_prog_AWK+set}" = set; then
2006
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2302
  $as_echo_n "(cached) " >&6
2007
2303
else
2008
2304
  if test -n "$AWK"; then
2009
2305
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2016
2312
  for ac_exec_ext in '' $ac_executable_extensions; do
2017
2313
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2018
2314
    ac_cv_prog_AWK="$ac_prog"
2019
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2315
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2020
2316
    break 2
2021
2317
  fi
2022
2318
done
2027
2323
fi
2028
2324
AWK=$ac_cv_prog_AWK
2029
2325
if test -n "$AWK"; then
2030
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2031
 
echo "${ECHO_T}$AWK" >&6; }
 
2326
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2327
$as_echo "$AWK" >&6; }
2032
2328
else
2033
 
  { echo "$as_me:$LINENO: result: no" >&5
2034
 
echo "${ECHO_T}no" >&6; }
 
2329
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2330
$as_echo "no" >&6; }
2035
2331
fi
2036
2332
 
2037
2333
 
2038
2334
  test -n "$AWK" && break
2039
2335
done
2040
2336
 
2041
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2042
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2043
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2337
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2338
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2339
set x ${MAKE-make}
 
2340
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2044
2341
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2342
  $as_echo_n "(cached) " >&6
2046
2343
else
2047
2344
  cat >conftest.make <<\_ACEOF
2048
2345
SHELL = /bin/sh
2059
2356
rm -f conftest.make
2060
2357
fi
2061
2358
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2062
 
  { echo "$as_me:$LINENO: result: yes" >&5
2063
 
echo "${ECHO_T}yes" >&6; }
 
2359
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2360
$as_echo "yes" >&6; }
2064
2361
  SET_MAKE=
2065
2362
else
2066
 
  { echo "$as_me:$LINENO: result: no" >&5
2067
 
echo "${ECHO_T}no" >&6; }
 
2363
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2364
$as_echo "no" >&6; }
2068
2365
  SET_MAKE="MAKE=${MAKE-make}"
2069
2366
fi
2070
2367
 
2083
2380
  am__isrc=' -I$(srcdir)'
2084
2381
  # test to see if srcdir already configured
2085
2382
  if test -f $srcdir/config.status; then
2086
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2087
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2383
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2384
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2088
2385
   { (exit 1); exit 1; }; }
2089
2386
  fi
2090
2387
fi
2101
2398
 
2102
2399
# Define the identity of the package.
2103
2400
 PACKAGE='xclock'
2104
 
 VERSION='1.0.3'
 
2401
 VERSION='1.0.4'
2105
2402
 
2106
2403
 
2107
2404
cat >>confdefs.h <<_ACEOF
2129
2426
 
2130
2427
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2131
2428
 
2132
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2133
 
 
2134
 
# Installed binaries are usually stripped using `strip' when the user
2135
 
# run `make install-strip'.  However `strip' might not be the right
2136
 
# tool to use in cross-compilation environments, therefore Automake
2137
 
# will honor the `STRIP' environment variable to overrule this program.
2138
 
if test "$cross_compiling" != no; then
2139
 
  if test -n "$ac_tool_prefix"; then
2140
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2141
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2142
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2143
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2144
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2145
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2146
 
else
2147
 
  if test -n "$STRIP"; then
2148
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2149
 
else
2150
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151
 
for as_dir in $PATH
2152
 
do
2153
 
  IFS=$as_save_IFS
2154
 
  test -z "$as_dir" && as_dir=.
2155
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2156
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2157
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2158
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2159
 
    break 2
2160
 
  fi
2161
 
done
2162
 
done
2163
 
IFS=$as_save_IFS
2164
 
 
2165
 
fi
2166
 
fi
2167
 
STRIP=$ac_cv_prog_STRIP
2168
 
if test -n "$STRIP"; then
2169
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2170
 
echo "${ECHO_T}$STRIP" >&6; }
2171
 
else
2172
 
  { echo "$as_me:$LINENO: result: no" >&5
2173
 
echo "${ECHO_T}no" >&6; }
2174
 
fi
2175
 
 
2176
 
 
2177
 
fi
2178
 
if test -z "$ac_cv_prog_STRIP"; then
2179
 
  ac_ct_STRIP=$STRIP
2180
 
  # Extract the first word of "strip", so it can be a program name with args.
2181
 
set dummy strip; ac_word=$2
2182
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2183
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2184
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2185
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2186
 
else
2187
 
  if test -n "$ac_ct_STRIP"; then
2188
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2189
 
else
2190
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191
 
for as_dir in $PATH
2192
 
do
2193
 
  IFS=$as_save_IFS
2194
 
  test -z "$as_dir" && as_dir=.
2195
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2196
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2197
 
    ac_cv_prog_ac_ct_STRIP="strip"
2198
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2199
 
    break 2
2200
 
  fi
2201
 
done
2202
 
done
2203
 
IFS=$as_save_IFS
2204
 
 
2205
 
fi
2206
 
fi
2207
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2208
 
if test -n "$ac_ct_STRIP"; then
2209
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2210
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2211
 
else
2212
 
  { echo "$as_me:$LINENO: result: no" >&5
2213
 
echo "${ECHO_T}no" >&6; }
2214
 
fi
2215
 
 
2216
 
  if test "x$ac_ct_STRIP" = x; then
2217
 
    STRIP=":"
2218
 
  else
2219
 
    case $cross_compiling:$ac_tool_warned in
2220
 
yes:)
2221
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2222
 
whose name does not start with the host triplet.  If you think this
2223
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2224
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2225
 
whose name does not start with the host triplet.  If you think this
2226
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2227
 
ac_tool_warned=yes ;;
2228
 
esac
2229
 
    STRIP=$ac_ct_STRIP
2230
 
  fi
2231
 
else
2232
 
  STRIP="$ac_cv_prog_STRIP"
2233
 
fi
2234
 
 
2235
 
fi
2236
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2237
 
 
2238
2429
# We need awk for the "check" target.  The system "awk" is bad on
2239
2430
# some platforms.
2240
2431
# Always define AMTAR for backward compatibility.
2247
2438
 
2248
2439
 
2249
2440
 
2250
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2251
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2441
 
 
2442
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2443
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2252
2444
    # Check whether --enable-maintainer-mode was given.
2253
2445
if test "${enable_maintainer_mode+set}" = set; then
2254
2446
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2256
2448
  USE_MAINTAINER_MODE=no
2257
2449
fi
2258
2450
 
2259
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2260
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2451
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2452
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2261
2453
   if test $USE_MAINTAINER_MODE = yes; then
2262
2454
  MAINTAINER_MODE_TRUE=
2263
2455
  MAINTAINER_MODE_FALSE='#'
2270
2462
 
2271
2463
 
2272
2464
 
 
2465
# Require xorg-macros: XORG_DEFAULT_OPTIONS
 
2466
 
 
2467
 
 
2468
 
 
2469
 
 
2470
 
 
2471
 
 
2472
 
 
2473
 
 
2474
 
 
2475
 
 
2476
 
 
2477
 
2273
2478
ac_config_headers="$ac_config_headers config.h"
2274
2479
 
2275
2480
 
2281
2486
if test -n "$ac_tool_prefix"; then
2282
2487
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2283
2488
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2284
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2285
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2489
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2490
$as_echo_n "checking for $ac_word... " >&6; }
2286
2491
if test "${ac_cv_prog_CC+set}" = set; then
2287
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2492
  $as_echo_n "(cached) " >&6
2288
2493
else
2289
2494
  if test -n "$CC"; then
2290
2495
  ac_cv_prog_CC="$CC" # Let the user override the test.
2297
2502
  for ac_exec_ext in '' $ac_executable_extensions; do
2298
2503
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2299
2504
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2300
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2505
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301
2506
    break 2
2302
2507
  fi
2303
2508
done
2308
2513
fi
2309
2514
CC=$ac_cv_prog_CC
2310
2515
if test -n "$CC"; then
2311
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2312
 
echo "${ECHO_T}$CC" >&6; }
 
2516
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2517
$as_echo "$CC" >&6; }
2313
2518
else
2314
 
  { echo "$as_me:$LINENO: result: no" >&5
2315
 
echo "${ECHO_T}no" >&6; }
 
2519
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2520
$as_echo "no" >&6; }
2316
2521
fi
2317
2522
 
2318
2523
 
2321
2526
  ac_ct_CC=$CC
2322
2527
  # Extract the first word of "gcc", so it can be a program name with args.
2323
2528
set dummy gcc; ac_word=$2
2324
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2325
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2529
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2530
$as_echo_n "checking for $ac_word... " >&6; }
2326
2531
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2327
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2532
  $as_echo_n "(cached) " >&6
2328
2533
else
2329
2534
  if test -n "$ac_ct_CC"; then
2330
2535
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2337
2542
  for ac_exec_ext in '' $ac_executable_extensions; do
2338
2543
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2339
2544
    ac_cv_prog_ac_ct_CC="gcc"
2340
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2545
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341
2546
    break 2
2342
2547
  fi
2343
2548
done
2348
2553
fi
2349
2554
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2350
2555
if test -n "$ac_ct_CC"; then
2351
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2352
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2556
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2557
$as_echo "$ac_ct_CC" >&6; }
2353
2558
else
2354
 
  { echo "$as_me:$LINENO: result: no" >&5
2355
 
echo "${ECHO_T}no" >&6; }
 
2559
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2560
$as_echo "no" >&6; }
2356
2561
fi
2357
2562
 
2358
2563
  if test "x$ac_ct_CC" = x; then
2360
2565
  else
2361
2566
    case $cross_compiling:$ac_tool_warned in
2362
2567
yes:)
2363
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2364
 
whose name does not start with the host triplet.  If you think this
2365
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2366
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2367
 
whose name does not start with the host triplet.  If you think this
2368
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2568
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2569
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2369
2570
ac_tool_warned=yes ;;
2370
2571
esac
2371
2572
    CC=$ac_ct_CC
2378
2579
          if test -n "$ac_tool_prefix"; then
2379
2580
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2380
2581
set dummy ${ac_tool_prefix}cc; ac_word=$2
2381
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2382
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2582
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2583
$as_echo_n "checking for $ac_word... " >&6; }
2383
2584
if test "${ac_cv_prog_CC+set}" = set; then
2384
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2585
  $as_echo_n "(cached) " >&6
2385
2586
else
2386
2587
  if test -n "$CC"; then
2387
2588
  ac_cv_prog_CC="$CC" # Let the user override the test.
2394
2595
  for ac_exec_ext in '' $ac_executable_extensions; do
2395
2596
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2396
2597
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2397
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2598
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2398
2599
    break 2
2399
2600
  fi
2400
2601
done
2405
2606
fi
2406
2607
CC=$ac_cv_prog_CC
2407
2608
if test -n "$CC"; then
2408
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2409
 
echo "${ECHO_T}$CC" >&6; }
 
2609
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2610
$as_echo "$CC" >&6; }
2410
2611
else
2411
 
  { echo "$as_me:$LINENO: result: no" >&5
2412
 
echo "${ECHO_T}no" >&6; }
 
2612
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2613
$as_echo "no" >&6; }
2413
2614
fi
2414
2615
 
2415
2616
 
2418
2619
if test -z "$CC"; then
2419
2620
  # Extract the first word of "cc", so it can be a program name with args.
2420
2621
set dummy cc; ac_word=$2
2421
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2422
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2622
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2623
$as_echo_n "checking for $ac_word... " >&6; }
2423
2624
if test "${ac_cv_prog_CC+set}" = set; then
2424
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2625
  $as_echo_n "(cached) " >&6
2425
2626
else
2426
2627
  if test -n "$CC"; then
2427
2628
  ac_cv_prog_CC="$CC" # Let the user override the test.
2439
2640
       continue
2440
2641
     fi
2441
2642
    ac_cv_prog_CC="cc"
2442
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2643
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443
2644
    break 2
2444
2645
  fi
2445
2646
done
2462
2663
fi
2463
2664
CC=$ac_cv_prog_CC
2464
2665
if test -n "$CC"; then
2465
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2466
 
echo "${ECHO_T}$CC" >&6; }
 
2666
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2667
$as_echo "$CC" >&6; }
2467
2668
else
2468
 
  { echo "$as_me:$LINENO: result: no" >&5
2469
 
echo "${ECHO_T}no" >&6; }
 
2669
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2670
$as_echo "no" >&6; }
2470
2671
fi
2471
2672
 
2472
2673
 
2477
2678
  do
2478
2679
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2479
2680
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2480
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2481
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2681
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2682
$as_echo_n "checking for $ac_word... " >&6; }
2482
2683
if test "${ac_cv_prog_CC+set}" = set; then
2483
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2684
  $as_echo_n "(cached) " >&6
2484
2685
else
2485
2686
  if test -n "$CC"; then
2486
2687
  ac_cv_prog_CC="$CC" # Let the user override the test.
2493
2694
  for ac_exec_ext in '' $ac_executable_extensions; do
2494
2695
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2495
2696
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2496
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2697
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2497
2698
    break 2
2498
2699
  fi
2499
2700
done
2504
2705
fi
2505
2706
CC=$ac_cv_prog_CC
2506
2707
if test -n "$CC"; then
2507
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2508
 
echo "${ECHO_T}$CC" >&6; }
 
2708
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2709
$as_echo "$CC" >&6; }
2509
2710
else
2510
 
  { echo "$as_me:$LINENO: result: no" >&5
2511
 
echo "${ECHO_T}no" >&6; }
 
2711
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2712
$as_echo "no" >&6; }
2512
2713
fi
2513
2714
 
2514
2715
 
2521
2722
do
2522
2723
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2523
2724
set dummy $ac_prog; ac_word=$2
2524
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2525
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2725
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2726
$as_echo_n "checking for $ac_word... " >&6; }
2526
2727
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2527
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2728
  $as_echo_n "(cached) " >&6
2528
2729
else
2529
2730
  if test -n "$ac_ct_CC"; then
2530
2731
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2537
2738
  for ac_exec_ext in '' $ac_executable_extensions; do
2538
2739
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2539
2740
    ac_cv_prog_ac_ct_CC="$ac_prog"
2540
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2741
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541
2742
    break 2
2542
2743
  fi
2543
2744
done
2548
2749
fi
2549
2750
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2550
2751
if test -n "$ac_ct_CC"; then
2551
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2552
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2752
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2753
$as_echo "$ac_ct_CC" >&6; }
2553
2754
else
2554
 
  { echo "$as_me:$LINENO: result: no" >&5
2555
 
echo "${ECHO_T}no" >&6; }
 
2755
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2756
$as_echo "no" >&6; }
2556
2757
fi
2557
2758
 
2558
2759
 
2564
2765
  else
2565
2766
    case $cross_compiling:$ac_tool_warned in
2566
2767
yes:)
2567
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2568
 
whose name does not start with the host triplet.  If you think this
2569
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2570
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2571
 
whose name does not start with the host triplet.  If you think this
2572
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2768
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2769
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2573
2770
ac_tool_warned=yes ;;
2574
2771
esac
2575
2772
    CC=$ac_ct_CC
2579
2776
fi
2580
2777
 
2581
2778
 
2582
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2779
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2780
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2781
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2583
2782
See \`config.log' for more details." >&5
2584
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2783
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2585
2784
See \`config.log' for more details." >&2;}
2586
 
   { (exit 1); exit 1; }; }
 
2785
   { (exit 1); exit 1; }; }; }
2587
2786
 
2588
2787
# Provide some information about the compiler.
2589
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2590
 
ac_compiler=`set X $ac_compile; echo $2`
 
2788
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2789
set X $ac_compile
 
2790
ac_compiler=$2
2591
2791
{ (ac_try="$ac_compiler --version >&5"
2592
2792
case "(($ac_try" in
2593
2793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2594
2794
  *) ac_try_echo=$ac_try;;
2595
2795
esac
2596
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2796
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2797
$as_echo "$ac_try_echo") >&5
2597
2798
  (eval "$ac_compiler --version >&5") 2>&5
2598
2799
  ac_status=$?
2599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2800
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600
2801
  (exit $ac_status); }
2601
2802
{ (ac_try="$ac_compiler -v >&5"
2602
2803
case "(($ac_try" in
2603
2804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604
2805
  *) ac_try_echo=$ac_try;;
2605
2806
esac
2606
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2807
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2808
$as_echo "$ac_try_echo") >&5
2607
2809
  (eval "$ac_compiler -v >&5") 2>&5
2608
2810
  ac_status=$?
2609
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2811
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610
2812
  (exit $ac_status); }
2611
2813
{ (ac_try="$ac_compiler -V >&5"
2612
2814
case "(($ac_try" in
2613
2815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614
2816
  *) ac_try_echo=$ac_try;;
2615
2817
esac
2616
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2818
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2819
$as_echo "$ac_try_echo") >&5
2617
2820
  (eval "$ac_compiler -V >&5") 2>&5
2618
2821
  ac_status=$?
2619
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2822
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620
2823
  (exit $ac_status); }
2621
2824
 
2622
2825
cat >conftest.$ac_ext <<_ACEOF
2635
2838
}
2636
2839
_ACEOF
2637
2840
ac_clean_files_save=$ac_clean_files
2638
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2841
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2639
2842
# Try to create an executable without -o first, disregard a.out.
2640
2843
# It will help us diagnose broken compilers, and finding out an intuition
2641
2844
# of exeext.
2642
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2643
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2644
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2645
 
#
2646
 
# List of possible output files, starting from the most likely.
2647
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2648
 
# only as a last resort.  b.out is created by i960 compilers.
2649
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2650
 
#
2651
 
# The IRIX 6 linker writes into existing files which may not be
2652
 
# executable, retaining their permissions.  Remove them first so a
2653
 
# subsequent execution test works.
 
2845
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2846
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2847
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2848
 
 
2849
# The possible output files:
 
2850
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2851
 
2654
2852
ac_rmfiles=
2655
2853
for ac_file in $ac_files
2656
2854
do
2657
2855
  case $ac_file in
2658
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2856
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2659
2857
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2660
2858
  esac
2661
2859
done
2666
2864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667
2865
  *) ac_try_echo=$ac_try;;
2668
2866
esac
2669
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2867
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2868
$as_echo "$ac_try_echo") >&5
2670
2869
  (eval "$ac_link_default") 2>&5
2671
2870
  ac_status=$?
2672
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2871
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673
2872
  (exit $ac_status); }; then
2674
2873
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2675
2874
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2680
2879
do
2681
2880
  test -f "$ac_file" || continue
2682
2881
  case $ac_file in
2683
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2882
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2684
2883
        ;;
2685
2884
    [ab].out )
2686
2885
        # We found the default executable, but exeext='' is most
2707
2906
  ac_file=''
2708
2907
fi
2709
2908
 
2710
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2711
 
echo "${ECHO_T}$ac_file" >&6; }
 
2909
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2910
$as_echo "$ac_file" >&6; }
2712
2911
if test -z "$ac_file"; then
2713
 
  echo "$as_me: failed program was:" >&5
 
2912
  $as_echo "$as_me: failed program was:" >&5
2714
2913
sed 's/^/| /' conftest.$ac_ext >&5
2715
2914
 
2716
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2915
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2916
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2917
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2717
2918
See \`config.log' for more details." >&5
2718
 
echo "$as_me: error: C compiler cannot create executables
 
2919
$as_echo "$as_me: error: C compiler cannot create executables
2719
2920
See \`config.log' for more details." >&2;}
2720
 
   { (exit 77); exit 77; }; }
 
2921
   { (exit 77); exit 77; }; }; }
2721
2922
fi
2722
2923
 
2723
2924
ac_exeext=$ac_cv_exeext
2724
2925
 
2725
2926
# Check that the compiler produces executables we can run.  If not, either
2726
2927
# the compiler is broken, or we cross compile.
2727
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2728
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2928
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2929
$as_echo_n "checking whether the C compiler works... " >&6; }
2729
2930
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2730
2931
# If not cross compiling, check that we can run a simple program.
2731
2932
if test "$cross_compiling" != yes; then
2734
2935
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735
2936
  *) ac_try_echo=$ac_try;;
2736
2937
esac
2737
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2938
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2939
$as_echo "$ac_try_echo") >&5
2738
2940
  (eval "$ac_try") 2>&5
2739
2941
  ac_status=$?
2740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2942
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741
2943
  (exit $ac_status); }; }; then
2742
2944
    cross_compiling=no
2743
2945
  else
2744
2946
    if test "$cross_compiling" = maybe; then
2745
2947
        cross_compiling=yes
2746
2948
    else
2747
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2949
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2950
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2951
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2748
2952
If you meant to cross compile, use \`--host'.
2749
2953
See \`config.log' for more details." >&5
2750
 
echo "$as_me: error: cannot run C compiled programs.
 
2954
$as_echo "$as_me: error: cannot run C compiled programs.
2751
2955
If you meant to cross compile, use \`--host'.
2752
2956
See \`config.log' for more details." >&2;}
2753
 
   { (exit 1); exit 1; }; }
 
2957
   { (exit 1); exit 1; }; }; }
2754
2958
    fi
2755
2959
  fi
2756
2960
fi
2757
 
{ echo "$as_me:$LINENO: result: yes" >&5
2758
 
echo "${ECHO_T}yes" >&6; }
 
2961
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2962
$as_echo "yes" >&6; }
2759
2963
 
2760
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2964
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2761
2965
ac_clean_files=$ac_clean_files_save
2762
2966
# Check that the compiler produces executables we can run.  If not, either
2763
2967
# the compiler is broken, or we cross compile.
2764
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2765
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2766
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2767
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
2968
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2969
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2970
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2971
$as_echo "$cross_compiling" >&6; }
2768
2972
 
2769
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2770
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2973
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2974
$as_echo_n "checking for suffix of executables... " >&6; }
2771
2975
if { (ac_try="$ac_link"
2772
2976
case "(($ac_try" in
2773
2977
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774
2978
  *) ac_try_echo=$ac_try;;
2775
2979
esac
2776
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2980
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2981
$as_echo "$ac_try_echo") >&5
2777
2982
  (eval "$ac_link") 2>&5
2778
2983
  ac_status=$?
2779
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2984
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780
2985
  (exit $ac_status); }; then
2781
2986
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2782
2987
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2785
2990
for ac_file in conftest.exe conftest conftest.*; do
2786
2991
  test -f "$ac_file" || continue
2787
2992
  case $ac_file in
2788
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2993
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2789
2994
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2790
2995
          break;;
2791
2996
    * ) break;;
2792
2997
  esac
2793
2998
done
2794
2999
else
2795
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3000
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3001
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3002
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2796
3003
See \`config.log' for more details." >&5
2797
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3004
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2798
3005
See \`config.log' for more details." >&2;}
2799
 
   { (exit 1); exit 1; }; }
 
3006
   { (exit 1); exit 1; }; }; }
2800
3007
fi
2801
3008
 
2802
3009
rm -f conftest$ac_cv_exeext
2803
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2804
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3010
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3011
$as_echo "$ac_cv_exeext" >&6; }
2805
3012
 
2806
3013
rm -f conftest.$ac_ext
2807
3014
EXEEXT=$ac_cv_exeext
2808
3015
ac_exeext=$EXEEXT
2809
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2810
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3016
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3017
$as_echo_n "checking for suffix of object files... " >&6; }
2811
3018
if test "${ac_cv_objext+set}" = set; then
2812
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3019
  $as_echo_n "(cached) " >&6
2813
3020
else
2814
3021
  cat >conftest.$ac_ext <<_ACEOF
2815
3022
/* confdefs.h.  */
2832
3039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833
3040
  *) ac_try_echo=$ac_try;;
2834
3041
esac
2835
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3042
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3043
$as_echo "$ac_try_echo") >&5
2836
3044
  (eval "$ac_compile") 2>&5
2837
3045
  ac_status=$?
2838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3046
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839
3047
  (exit $ac_status); }; then
2840
3048
  for ac_file in conftest.o conftest.obj conftest.*; do
2841
3049
  test -f "$ac_file" || continue;
2842
3050
  case $ac_file in
2843
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3051
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2844
3052
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2845
3053
       break;;
2846
3054
  esac
2847
3055
done
2848
3056
else
2849
 
  echo "$as_me: failed program was:" >&5
 
3057
  $as_echo "$as_me: failed program was:" >&5
2850
3058
sed 's/^/| /' conftest.$ac_ext >&5
2851
3059
 
2852
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3060
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3061
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3062
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2853
3063
See \`config.log' for more details." >&5
2854
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3064
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2855
3065
See \`config.log' for more details." >&2;}
2856
 
   { (exit 1); exit 1; }; }
 
3066
   { (exit 1); exit 1; }; }; }
2857
3067
fi
2858
3068
 
2859
3069
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2860
3070
fi
2861
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2862
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3071
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3072
$as_echo "$ac_cv_objext" >&6; }
2863
3073
OBJEXT=$ac_cv_objext
2864
3074
ac_objext=$OBJEXT
2865
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2866
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3075
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3076
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2867
3077
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2868
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3078
  $as_echo_n "(cached) " >&6
2869
3079
else
2870
3080
  cat >conftest.$ac_ext <<_ACEOF
2871
3081
/* confdefs.h.  */
2891
3101
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2892
3102
  *) ac_try_echo=$ac_try;;
2893
3103
esac
2894
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3104
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3105
$as_echo "$ac_try_echo") >&5
2895
3106
  (eval "$ac_compile") 2>conftest.er1
2896
3107
  ac_status=$?
2897
3108
  grep -v '^ *+' conftest.er1 >conftest.err
2898
3109
  rm -f conftest.er1
2899
3110
  cat conftest.err >&5
2900
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3111
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901
3112
  (exit $ac_status); } && {
2902
3113
         test -z "$ac_c_werror_flag" ||
2903
3114
         test ! -s conftest.err
2904
3115
       } && test -s conftest.$ac_objext; then
2905
3116
  ac_compiler_gnu=yes
2906
3117
else
2907
 
  echo "$as_me: failed program was:" >&5
 
3118
  $as_echo "$as_me: failed program was:" >&5
2908
3119
sed 's/^/| /' conftest.$ac_ext >&5
2909
3120
 
2910
3121
        ac_compiler_gnu=no
2914
3125
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2915
3126
 
2916
3127
fi
2917
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2918
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2919
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3128
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3129
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3130
if test $ac_compiler_gnu = yes; then
 
3131
  GCC=yes
 
3132
else
 
3133
  GCC=
 
3134
fi
2920
3135
ac_test_CFLAGS=${CFLAGS+set}
2921
3136
ac_save_CFLAGS=$CFLAGS
2922
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2923
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3137
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3138
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2924
3139
if test "${ac_cv_prog_cc_g+set}" = set; then
2925
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3140
  $as_echo_n "(cached) " >&6
2926
3141
else
2927
3142
  ac_save_c_werror_flag=$ac_c_werror_flag
2928
3143
   ac_c_werror_flag=yes
2949
3164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950
3165
  *) ac_try_echo=$ac_try;;
2951
3166
esac
2952
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3167
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3168
$as_echo "$ac_try_echo") >&5
2953
3169
  (eval "$ac_compile") 2>conftest.er1
2954
3170
  ac_status=$?
2955
3171
  grep -v '^ *+' conftest.er1 >conftest.err
2956
3172
  rm -f conftest.er1
2957
3173
  cat conftest.err >&5
2958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3174
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959
3175
  (exit $ac_status); } && {
2960
3176
         test -z "$ac_c_werror_flag" ||
2961
3177
         test ! -s conftest.err
2962
3178
       } && test -s conftest.$ac_objext; then
2963
3179
  ac_cv_prog_cc_g=yes
2964
3180
else
2965
 
  echo "$as_me: failed program was:" >&5
 
3181
  $as_echo "$as_me: failed program was:" >&5
2966
3182
sed 's/^/| /' conftest.$ac_ext >&5
2967
3183
 
2968
3184
        CFLAGS=""
2987
3203
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988
3204
  *) ac_try_echo=$ac_try;;
2989
3205
esac
2990
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3206
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3207
$as_echo "$ac_try_echo") >&5
2991
3208
  (eval "$ac_compile") 2>conftest.er1
2992
3209
  ac_status=$?
2993
3210
  grep -v '^ *+' conftest.er1 >conftest.err
2994
3211
  rm -f conftest.er1
2995
3212
  cat conftest.err >&5
2996
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3213
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997
3214
  (exit $ac_status); } && {
2998
3215
         test -z "$ac_c_werror_flag" ||
2999
3216
         test ! -s conftest.err
3000
3217
       } && test -s conftest.$ac_objext; then
3001
3218
  :
3002
3219
else
3003
 
  echo "$as_me: failed program was:" >&5
 
3220
  $as_echo "$as_me: failed program was:" >&5
3004
3221
sed 's/^/| /' conftest.$ac_ext >&5
3005
3222
 
3006
3223
        ac_c_werror_flag=$ac_save_c_werror_flag
3026
3243
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027
3244
  *) ac_try_echo=$ac_try;;
3028
3245
esac
3029
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3246
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3247
$as_echo "$ac_try_echo") >&5
3030
3248
  (eval "$ac_compile") 2>conftest.er1
3031
3249
  ac_status=$?
3032
3250
  grep -v '^ *+' conftest.er1 >conftest.err
3033
3251
  rm -f conftest.er1
3034
3252
  cat conftest.err >&5
3035
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3253
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036
3254
  (exit $ac_status); } && {
3037
3255
         test -z "$ac_c_werror_flag" ||
3038
3256
         test ! -s conftest.err
3039
3257
       } && test -s conftest.$ac_objext; then
3040
3258
  ac_cv_prog_cc_g=yes
3041
3259
else
3042
 
  echo "$as_me: failed program was:" >&5
 
3260
  $as_echo "$as_me: failed program was:" >&5
3043
3261
sed 's/^/| /' conftest.$ac_ext >&5
3044
3262
 
3045
3263
 
3054
3272
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055
3273
   ac_c_werror_flag=$ac_save_c_werror_flag
3056
3274
fi
3057
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3058
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3275
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3276
$as_echo "$ac_cv_prog_cc_g" >&6; }
3059
3277
if test "$ac_test_CFLAGS" = set; then
3060
3278
  CFLAGS=$ac_save_CFLAGS
3061
3279
elif test $ac_cv_prog_cc_g = yes; then
3071
3289
    CFLAGS=
3072
3290
  fi
3073
3291
fi
3074
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3075
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3292
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3293
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3076
3294
if test "${ac_cv_prog_cc_c89+set}" = set; then
3077
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3295
  $as_echo_n "(cached) " >&6
3078
3296
else
3079
3297
  ac_cv_prog_cc_c89=no
3080
3298
ac_save_CC=$CC
3145
3363
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146
3364
  *) ac_try_echo=$ac_try;;
3147
3365
esac
3148
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3366
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3367
$as_echo "$ac_try_echo") >&5
3149
3368
  (eval "$ac_compile") 2>conftest.er1
3150
3369
  ac_status=$?
3151
3370
  grep -v '^ *+' conftest.er1 >conftest.err
3152
3371
  rm -f conftest.er1
3153
3372
  cat conftest.err >&5
3154
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3373
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155
3374
  (exit $ac_status); } && {
3156
3375
         test -z "$ac_c_werror_flag" ||
3157
3376
         test ! -s conftest.err
3158
3377
       } && test -s conftest.$ac_objext; then
3159
3378
  ac_cv_prog_cc_c89=$ac_arg
3160
3379
else
3161
 
  echo "$as_me: failed program was:" >&5
 
3380
  $as_echo "$as_me: failed program was:" >&5
3162
3381
sed 's/^/| /' conftest.$ac_ext >&5
3163
3382
 
3164
3383
 
3174
3393
# AC_CACHE_VAL
3175
3394
case "x$ac_cv_prog_cc_c89" in
3176
3395
  x)
3177
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3178
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3396
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3397
$as_echo "none needed" >&6; } ;;
3179
3398
  xno)
3180
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3181
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3399
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3400
$as_echo "unsupported" >&6; } ;;
3182
3401
  *)
3183
3402
    CC="$CC $ac_cv_prog_cc_c89"
3184
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3185
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3403
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3404
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3186
3405
esac
3187
3406
 
3188
3407
 
3199
3418
am_make=${MAKE-make}
3200
3419
cat > confinc << 'END'
3201
3420
am__doit:
3202
 
        @echo done
 
3421
        @echo this is the am__doit target
3203
3422
.PHONY: am__doit
3204
3423
END
3205
3424
# If we don't find an include directive, just comment out the code.
3206
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3207
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3425
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3426
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3208
3427
am__include="#"
3209
3428
am__quote=
3210
3429
_am_result=none
3211
3430
# First try GNU make style include.
3212
3431
echo "include confinc" > confmf
3213
 
# We grep out `Entering directory' and `Leaving directory'
3214
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3215
 
# In particular we don't look at `^make:' because GNU make might
3216
 
# be invoked under some other name (usually "gmake"), in which
3217
 
# case it prints its new name instead of `make'.
3218
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3219
 
   am__include=include
3220
 
   am__quote=
3221
 
   _am_result=GNU
3222
 
fi
 
3432
# Ignore all kinds of additional output from `make'.
 
3433
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3434
*the\ am__doit\ target*)
 
3435
  am__include=include
 
3436
  am__quote=
 
3437
  _am_result=GNU
 
3438
  ;;
 
3439
esac
3223
3440
# Now try BSD make style include.
3224
3441
if test "$am__include" = "#"; then
3225
3442
   echo '.include "confinc"' > confmf
3226
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3227
 
      am__include=.include
3228
 
      am__quote="\""
3229
 
      _am_result=BSD
3230
 
   fi
 
3443
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3444
   *the\ am__doit\ target*)
 
3445
     am__include=.include
 
3446
     am__quote="\""
 
3447
     _am_result=BSD
 
3448
     ;;
 
3449
   esac
3231
3450
fi
3232
3451
 
3233
3452
 
3234
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3235
 
echo "${ECHO_T}$_am_result" >&6; }
 
3453
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3454
$as_echo "$_am_result" >&6; }
3236
3455
rm -f confinc confmf
3237
3456
 
3238
3457
# Check whether --enable-dependency-tracking was given.
3256
3475
 
3257
3476
depcc="$CC"   am_compiler_list=
3258
3477
 
3259
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3260
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3478
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3479
$as_echo_n "checking dependency style of $depcc... " >&6; }
3261
3480
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3262
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3481
  $as_echo_n "(cached) " >&6
3263
3482
else
3264
3483
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3265
3484
  # We make a subdir and do the tests there.  Otherwise we can end up
3284
3503
  if test "$am_compiler_list" = ""; then
3285
3504
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3286
3505
  fi
 
3506
  am__universal=false
 
3507
  case " $depcc " in #(
 
3508
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3509
     esac
 
3510
 
3287
3511
  for depmode in $am_compiler_list; do
3288
3512
    # Setup a source with many dependencies, because some compilers
3289
3513
    # like to wrap large dependency lists on column 80 (with \), and
3301
3525
    done
3302
3526
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3303
3527
 
 
3528
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3529
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3530
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3531
    # versions had trouble with output in subdirs
 
3532
    am__obj=sub/conftest.${OBJEXT-o}
 
3533
    am__minus_obj="-o $am__obj"
3304
3534
    case $depmode in
 
3535
    gcc)
 
3536
      # This depmode causes a compiler race in universal mode.
 
3537
      test "$am__universal" = false || continue
 
3538
      ;;
3305
3539
    nosideeffect)
3306
3540
      # after this tag, mechanisms are not by side-effect, so they'll
3307
3541
      # only be used when explicitly requested
3311
3545
        break
3312
3546
      fi
3313
3547
      ;;
 
3548
    msvisualcpp | msvcmsys)
 
3549
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3550
      # not run yet.  These depmodes are late enough in the game, and
 
3551
      # so weak that their functioning should not be impacted.
 
3552
      am__obj=conftest.${OBJEXT-o}
 
3553
      am__minus_obj=
 
3554
      ;;
3314
3555
    none) break ;;
3315
3556
    esac
3316
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3317
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3318
 
    # handle `-M -o', and we need to detect this.
3319
3557
    if depmode=$depmode \
3320
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3558
       source=sub/conftest.c object=$am__obj \
3321
3559
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3322
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3560
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3323
3561
         >/dev/null 2>conftest.err &&
3324
3562
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3325
3563
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3326
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3564
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3327
3565
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3328
3566
      # icc doesn't choke on unknown options, it will just issue warnings
3329
3567
      # or remarks (even with -Werror).  So we grep stderr for any message
3347
3585
fi
3348
3586
 
3349
3587
fi
3350
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3351
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3588
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3589
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3352
3590
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3353
3591
 
3354
3592
 if
3375
3613
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3376
3614
# OS/2's system install, which has a completely different semantic
3377
3615
# ./install, which can be erroneously created by make from ./install.sh.
3378
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3379
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
3616
# Reject install programs that cannot install multiple files.
 
3617
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3618
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3380
3619
if test -z "$INSTALL"; then
3381
3620
if test "${ac_cv_path_install+set}" = set; then
3382
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3621
  $as_echo_n "(cached) " >&6
3383
3622
else
3384
3623
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3385
3624
for as_dir in $PATH
3408
3647
            # program-specific install script used by HP pwplus--don't use.
3409
3648
            :
3410
3649
          else
3411
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3412
 
            break 3
 
3650
            rm -rf conftest.one conftest.two conftest.dir
 
3651
            echo one > conftest.one
 
3652
            echo two > conftest.two
 
3653
            mkdir conftest.dir
 
3654
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
3655
              test -s conftest.one && test -s conftest.two &&
 
3656
              test -s conftest.dir/conftest.one &&
 
3657
              test -s conftest.dir/conftest.two
 
3658
            then
 
3659
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3660
              break 3
 
3661
            fi
3413
3662
          fi
3414
3663
        fi
3415
3664
      done
3416
3665
    done
3417
3666
    ;;
3418
3667
esac
 
3668
 
3419
3669
done
3420
3670
IFS=$as_save_IFS
3421
3671
 
 
3672
rm -rf conftest.one conftest.two conftest.dir
3422
3673
 
3423
3674
fi
3424
3675
  if test "${ac_cv_path_install+set}" = set; then
3431
3682
    INSTALL=$ac_install_sh
3432
3683
  fi
3433
3684
fi
3434
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3435
 
echo "${ECHO_T}$INSTALL" >&6; }
 
3685
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3686
$as_echo "$INSTALL" >&6; }
3436
3687
 
3437
3688
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3438
3689
# It thinks the first close brace ends the variable substitution.
3444
3695
 
3445
3696
 
3446
3697
 
 
3698
ac_ext=c
 
3699
ac_cpp='$CPP $CPPFLAGS'
 
3700
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3701
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3702
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3703
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3704
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
3705
# On Suns, sometimes $CPP names a directory.
 
3706
if test -n "$CPP" && test -d "$CPP"; then
 
3707
  CPP=
 
3708
fi
 
3709
if test -z "$CPP"; then
 
3710
  if test "${ac_cv_prog_CPP+set}" = set; then
 
3711
  $as_echo_n "(cached) " >&6
 
3712
else
 
3713
      # Double quotes because CPP needs to be expanded
 
3714
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3715
    do
 
3716
      ac_preproc_ok=false
 
3717
for ac_c_preproc_warn_flag in '' yes
 
3718
do
 
3719
  # Use a header file that comes with gcc, so configuring glibc
 
3720
  # with a fresh cross-compiler works.
 
3721
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3722
  # <limits.h> exists even on freestanding compilers.
 
3723
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3724
  # not just through cpp. "Syntax error" is here to catch this case.
 
3725
  cat >conftest.$ac_ext <<_ACEOF
 
3726
/* confdefs.h.  */
 
3727
_ACEOF
 
3728
cat confdefs.h >>conftest.$ac_ext
 
3729
cat >>conftest.$ac_ext <<_ACEOF
 
3730
/* end confdefs.h.  */
 
3731
#ifdef __STDC__
 
3732
# include <limits.h>
 
3733
#else
 
3734
# include <assert.h>
 
3735
#endif
 
3736
                     Syntax error
 
3737
_ACEOF
 
3738
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3739
case "(($ac_try" in
 
3740
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3741
  *) ac_try_echo=$ac_try;;
 
3742
esac
 
3743
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3744
$as_echo "$ac_try_echo") >&5
 
3745
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3746
  ac_status=$?
 
3747
  grep -v '^ *+' conftest.er1 >conftest.err
 
3748
  rm -f conftest.er1
 
3749
  cat conftest.err >&5
 
3750
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3751
  (exit $ac_status); } >/dev/null && {
 
3752
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3753
         test ! -s conftest.err
 
3754
       }; then
 
3755
  :
 
3756
else
 
3757
  $as_echo "$as_me: failed program was:" >&5
 
3758
sed 's/^/| /' conftest.$ac_ext >&5
 
3759
 
 
3760
  # Broken: fails on valid input.
 
3761
continue
 
3762
fi
 
3763
 
 
3764
rm -f conftest.err conftest.$ac_ext
 
3765
 
 
3766
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3767
  # can be detected and how.
 
3768
  cat >conftest.$ac_ext <<_ACEOF
 
3769
/* confdefs.h.  */
 
3770
_ACEOF
 
3771
cat confdefs.h >>conftest.$ac_ext
 
3772
cat >>conftest.$ac_ext <<_ACEOF
 
3773
/* end confdefs.h.  */
 
3774
#include <ac_nonexistent.h>
 
3775
_ACEOF
 
3776
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3777
case "(($ac_try" in
 
3778
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3779
  *) ac_try_echo=$ac_try;;
 
3780
esac
 
3781
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3782
$as_echo "$ac_try_echo") >&5
 
3783
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3784
  ac_status=$?
 
3785
  grep -v '^ *+' conftest.er1 >conftest.err
 
3786
  rm -f conftest.er1
 
3787
  cat conftest.err >&5
 
3788
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3789
  (exit $ac_status); } >/dev/null && {
 
3790
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3791
         test ! -s conftest.err
 
3792
       }; then
 
3793
  # Broken: success on invalid input.
 
3794
continue
 
3795
else
 
3796
  $as_echo "$as_me: failed program was:" >&5
 
3797
sed 's/^/| /' conftest.$ac_ext >&5
 
3798
 
 
3799
  # Passes both tests.
 
3800
ac_preproc_ok=:
 
3801
break
 
3802
fi
 
3803
 
 
3804
rm -f conftest.err conftest.$ac_ext
 
3805
 
 
3806
done
 
3807
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3808
rm -f conftest.err conftest.$ac_ext
 
3809
if $ac_preproc_ok; then
 
3810
  break
 
3811
fi
 
3812
 
 
3813
    done
 
3814
    ac_cv_prog_CPP=$CPP
 
3815
 
 
3816
fi
 
3817
  CPP=$ac_cv_prog_CPP
 
3818
else
 
3819
  ac_cv_prog_CPP=$CPP
 
3820
fi
 
3821
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3822
$as_echo "$CPP" >&6; }
 
3823
ac_preproc_ok=false
 
3824
for ac_c_preproc_warn_flag in '' yes
 
3825
do
 
3826
  # Use a header file that comes with gcc, so configuring glibc
 
3827
  # with a fresh cross-compiler works.
 
3828
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3829
  # <limits.h> exists even on freestanding compilers.
 
3830
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3831
  # not just through cpp. "Syntax error" is here to catch this case.
 
3832
  cat >conftest.$ac_ext <<_ACEOF
 
3833
/* confdefs.h.  */
 
3834
_ACEOF
 
3835
cat confdefs.h >>conftest.$ac_ext
 
3836
cat >>conftest.$ac_ext <<_ACEOF
 
3837
/* end confdefs.h.  */
 
3838
#ifdef __STDC__
 
3839
# include <limits.h>
 
3840
#else
 
3841
# include <assert.h>
 
3842
#endif
 
3843
                     Syntax error
 
3844
_ACEOF
 
3845
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3846
case "(($ac_try" in
 
3847
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3848
  *) ac_try_echo=$ac_try;;
 
3849
esac
 
3850
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3851
$as_echo "$ac_try_echo") >&5
 
3852
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3853
  ac_status=$?
 
3854
  grep -v '^ *+' conftest.er1 >conftest.err
 
3855
  rm -f conftest.er1
 
3856
  cat conftest.err >&5
 
3857
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3858
  (exit $ac_status); } >/dev/null && {
 
3859
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3860
         test ! -s conftest.err
 
3861
       }; then
 
3862
  :
 
3863
else
 
3864
  $as_echo "$as_me: failed program was:" >&5
 
3865
sed 's/^/| /' conftest.$ac_ext >&5
 
3866
 
 
3867
  # Broken: fails on valid input.
 
3868
continue
 
3869
fi
 
3870
 
 
3871
rm -f conftest.err conftest.$ac_ext
 
3872
 
 
3873
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3874
  # can be detected and how.
 
3875
  cat >conftest.$ac_ext <<_ACEOF
 
3876
/* confdefs.h.  */
 
3877
_ACEOF
 
3878
cat confdefs.h >>conftest.$ac_ext
 
3879
cat >>conftest.$ac_ext <<_ACEOF
 
3880
/* end confdefs.h.  */
 
3881
#include <ac_nonexistent.h>
 
3882
_ACEOF
 
3883
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3884
case "(($ac_try" in
 
3885
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3886
  *) ac_try_echo=$ac_try;;
 
3887
esac
 
3888
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3889
$as_echo "$ac_try_echo") >&5
 
3890
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
3891
  ac_status=$?
 
3892
  grep -v '^ *+' conftest.er1 >conftest.err
 
3893
  rm -f conftest.er1
 
3894
  cat conftest.err >&5
 
3895
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3896
  (exit $ac_status); } >/dev/null && {
 
3897
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3898
         test ! -s conftest.err
 
3899
       }; then
 
3900
  # Broken: success on invalid input.
 
3901
continue
 
3902
else
 
3903
  $as_echo "$as_me: failed program was:" >&5
 
3904
sed 's/^/| /' conftest.$ac_ext >&5
 
3905
 
 
3906
  # Passes both tests.
 
3907
ac_preproc_ok=:
 
3908
break
 
3909
fi
 
3910
 
 
3911
rm -f conftest.err conftest.$ac_ext
 
3912
 
 
3913
done
 
3914
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3915
rm -f conftest.err conftest.$ac_ext
 
3916
if $ac_preproc_ok; then
 
3917
  :
 
3918
else
 
3919
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3920
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3921
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3922
See \`config.log' for more details." >&5
 
3923
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3924
See \`config.log' for more details." >&2;}
 
3925
   { (exit 1); exit 1; }; }; }
 
3926
fi
 
3927
 
 
3928
ac_ext=c
 
3929
ac_cpp='$CPP $CPPFLAGS'
 
3930
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3931
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3932
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3933
 
 
3934
 
 
3935
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3936
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3937
if test "${ac_cv_path_GREP+set}" = set; then
 
3938
  $as_echo_n "(cached) " >&6
 
3939
else
 
3940
  if test -z "$GREP"; then
 
3941
  ac_path_GREP_found=false
 
3942
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3943
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3944
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3945
do
 
3946
  IFS=$as_save_IFS
 
3947
  test -z "$as_dir" && as_dir=.
 
3948
  for ac_prog in grep ggrep; do
 
3949
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3950
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3951
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3952
# Check for GNU ac_path_GREP and select it if it is found.
 
3953
  # Check for GNU $ac_path_GREP
 
3954
case `"$ac_path_GREP" --version 2>&1` in
 
3955
*GNU*)
 
3956
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3957
*)
 
3958
  ac_count=0
 
3959
  $as_echo_n 0123456789 >"conftest.in"
 
3960
  while :
 
3961
  do
 
3962
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3963
    mv "conftest.tmp" "conftest.in"
 
3964
    cp "conftest.in" "conftest.nl"
 
3965
    $as_echo 'GREP' >> "conftest.nl"
 
3966
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3967
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3968
    ac_count=`expr $ac_count + 1`
 
3969
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3970
      # Best one so far, save it but keep looking for a better one
 
3971
      ac_cv_path_GREP="$ac_path_GREP"
 
3972
      ac_path_GREP_max=$ac_count
 
3973
    fi
 
3974
    # 10*(2^10) chars as input seems more than enough
 
3975
    test $ac_count -gt 10 && break
 
3976
  done
 
3977
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3978
esac
 
3979
 
 
3980
      $ac_path_GREP_found && break 3
 
3981
    done
 
3982
  done
 
3983
done
 
3984
IFS=$as_save_IFS
 
3985
  if test -z "$ac_cv_path_GREP"; then
 
3986
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3987
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3988
   { (exit 1); exit 1; }; }
 
3989
  fi
 
3990
else
 
3991
  ac_cv_path_GREP=$GREP
 
3992
fi
 
3993
 
 
3994
fi
 
3995
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3996
$as_echo "$ac_cv_path_GREP" >&6; }
 
3997
 GREP="$ac_cv_path_GREP"
 
3998
 
 
3999
 
 
4000
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4001
$as_echo_n "checking for egrep... " >&6; }
 
4002
if test "${ac_cv_path_EGREP+set}" = set; then
 
4003
  $as_echo_n "(cached) " >&6
 
4004
else
 
4005
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4006
   then ac_cv_path_EGREP="$GREP -E"
 
4007
   else
 
4008
     if test -z "$EGREP"; then
 
4009
  ac_path_EGREP_found=false
 
4010
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4011
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4012
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4013
do
 
4014
  IFS=$as_save_IFS
 
4015
  test -z "$as_dir" && as_dir=.
 
4016
  for ac_prog in egrep; do
 
4017
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4018
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4019
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4020
# Check for GNU ac_path_EGREP and select it if it is found.
 
4021
  # Check for GNU $ac_path_EGREP
 
4022
case `"$ac_path_EGREP" --version 2>&1` in
 
4023
*GNU*)
 
4024
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4025
*)
 
4026
  ac_count=0
 
4027
  $as_echo_n 0123456789 >"conftest.in"
 
4028
  while :
 
4029
  do
 
4030
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4031
    mv "conftest.tmp" "conftest.in"
 
4032
    cp "conftest.in" "conftest.nl"
 
4033
    $as_echo 'EGREP' >> "conftest.nl"
 
4034
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4035
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4036
    ac_count=`expr $ac_count + 1`
 
4037
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4038
      # Best one so far, save it but keep looking for a better one
 
4039
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4040
      ac_path_EGREP_max=$ac_count
 
4041
    fi
 
4042
    # 10*(2^10) chars as input seems more than enough
 
4043
    test $ac_count -gt 10 && break
 
4044
  done
 
4045
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4046
esac
 
4047
 
 
4048
      $ac_path_EGREP_found && break 3
 
4049
    done
 
4050
  done
 
4051
done
 
4052
IFS=$as_save_IFS
 
4053
  if test -z "$ac_cv_path_EGREP"; then
 
4054
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4055
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4056
   { (exit 1); exit 1; }; }
 
4057
  fi
 
4058
else
 
4059
  ac_cv_path_EGREP=$EGREP
 
4060
fi
 
4061
 
 
4062
   fi
 
4063
fi
 
4064
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4065
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4066
 EGREP="$ac_cv_path_EGREP"
 
4067
 
 
4068
 
 
4069
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4070
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4071
if test "${ac_cv_header_stdc+set}" = set; then
 
4072
  $as_echo_n "(cached) " >&6
 
4073
else
 
4074
  cat >conftest.$ac_ext <<_ACEOF
 
4075
/* confdefs.h.  */
 
4076
_ACEOF
 
4077
cat confdefs.h >>conftest.$ac_ext
 
4078
cat >>conftest.$ac_ext <<_ACEOF
 
4079
/* end confdefs.h.  */
 
4080
#include <stdlib.h>
 
4081
#include <stdarg.h>
 
4082
#include <string.h>
 
4083
#include <float.h>
 
4084
 
 
4085
int
 
4086
main ()
 
4087
{
 
4088
 
 
4089
  ;
 
4090
  return 0;
 
4091
}
 
4092
_ACEOF
 
4093
rm -f conftest.$ac_objext
 
4094
if { (ac_try="$ac_compile"
 
4095
case "(($ac_try" in
 
4096
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4097
  *) ac_try_echo=$ac_try;;
 
4098
esac
 
4099
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4100
$as_echo "$ac_try_echo") >&5
 
4101
  (eval "$ac_compile") 2>conftest.er1
 
4102
  ac_status=$?
 
4103
  grep -v '^ *+' conftest.er1 >conftest.err
 
4104
  rm -f conftest.er1
 
4105
  cat conftest.err >&5
 
4106
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4107
  (exit $ac_status); } && {
 
4108
         test -z "$ac_c_werror_flag" ||
 
4109
         test ! -s conftest.err
 
4110
       } && test -s conftest.$ac_objext; then
 
4111
  ac_cv_header_stdc=yes
 
4112
else
 
4113
  $as_echo "$as_me: failed program was:" >&5
 
4114
sed 's/^/| /' conftest.$ac_ext >&5
 
4115
 
 
4116
        ac_cv_header_stdc=no
 
4117
fi
 
4118
 
 
4119
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4120
 
 
4121
if test $ac_cv_header_stdc = yes; then
 
4122
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4123
  cat >conftest.$ac_ext <<_ACEOF
 
4124
/* confdefs.h.  */
 
4125
_ACEOF
 
4126
cat confdefs.h >>conftest.$ac_ext
 
4127
cat >>conftest.$ac_ext <<_ACEOF
 
4128
/* end confdefs.h.  */
 
4129
#include <string.h>
 
4130
 
 
4131
_ACEOF
 
4132
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4133
  $EGREP "memchr" >/dev/null 2>&1; then
 
4134
  :
 
4135
else
 
4136
  ac_cv_header_stdc=no
 
4137
fi
 
4138
rm -f conftest*
 
4139
 
 
4140
fi
 
4141
 
 
4142
if test $ac_cv_header_stdc = yes; then
 
4143
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4144
  cat >conftest.$ac_ext <<_ACEOF
 
4145
/* confdefs.h.  */
 
4146
_ACEOF
 
4147
cat confdefs.h >>conftest.$ac_ext
 
4148
cat >>conftest.$ac_ext <<_ACEOF
 
4149
/* end confdefs.h.  */
 
4150
#include <stdlib.h>
 
4151
 
 
4152
_ACEOF
 
4153
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4154
  $EGREP "free" >/dev/null 2>&1; then
 
4155
  :
 
4156
else
 
4157
  ac_cv_header_stdc=no
 
4158
fi
 
4159
rm -f conftest*
 
4160
 
 
4161
fi
 
4162
 
 
4163
if test $ac_cv_header_stdc = yes; then
 
4164
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4165
  if test "$cross_compiling" = yes; then
 
4166
  :
 
4167
else
 
4168
  cat >conftest.$ac_ext <<_ACEOF
 
4169
/* confdefs.h.  */
 
4170
_ACEOF
 
4171
cat confdefs.h >>conftest.$ac_ext
 
4172
cat >>conftest.$ac_ext <<_ACEOF
 
4173
/* end confdefs.h.  */
 
4174
#include <ctype.h>
 
4175
#include <stdlib.h>
 
4176
#if ((' ' & 0x0FF) == 0x020)
 
4177
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4178
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4179
#else
 
4180
# define ISLOWER(c) \
 
4181
                   (('a' <= (c) && (c) <= 'i') \
 
4182
                     || ('j' <= (c) && (c) <= 'r') \
 
4183
                     || ('s' <= (c) && (c) <= 'z'))
 
4184
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4185
#endif
 
4186
 
 
4187
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4188
int
 
4189
main ()
 
4190
{
 
4191
  int i;
 
4192
  for (i = 0; i < 256; i++)
 
4193
    if (XOR (islower (i), ISLOWER (i))
 
4194
        || toupper (i) != TOUPPER (i))
 
4195
      return 2;
 
4196
  return 0;
 
4197
}
 
4198
_ACEOF
 
4199
rm -f conftest$ac_exeext
 
4200
if { (ac_try="$ac_link"
 
4201
case "(($ac_try" in
 
4202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4203
  *) ac_try_echo=$ac_try;;
 
4204
esac
 
4205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4206
$as_echo "$ac_try_echo") >&5
 
4207
  (eval "$ac_link") 2>&5
 
4208
  ac_status=$?
 
4209
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4210
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
4211
  { (case "(($ac_try" in
 
4212
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4213
  *) ac_try_echo=$ac_try;;
 
4214
esac
 
4215
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4216
$as_echo "$ac_try_echo") >&5
 
4217
  (eval "$ac_try") 2>&5
 
4218
  ac_status=$?
 
4219
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4220
  (exit $ac_status); }; }; then
 
4221
  :
 
4222
else
 
4223
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4224
$as_echo "$as_me: failed program was:" >&5
 
4225
sed 's/^/| /' conftest.$ac_ext >&5
 
4226
 
 
4227
( exit $ac_status )
 
4228
ac_cv_header_stdc=no
 
4229
fi
 
4230
rm -rf conftest.dSYM
 
4231
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4232
fi
 
4233
 
 
4234
 
 
4235
fi
 
4236
fi
 
4237
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4238
$as_echo "$ac_cv_header_stdc" >&6; }
 
4239
if test $ac_cv_header_stdc = yes; then
 
4240
 
 
4241
cat >>confdefs.h <<\_ACEOF
 
4242
#define STDC_HEADERS 1
 
4243
_ACEOF
 
4244
 
 
4245
fi
 
4246
 
 
4247
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4248
 
 
4249
 
 
4250
 
 
4251
 
 
4252
 
 
4253
 
 
4254
 
 
4255
 
 
4256
 
 
4257
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4258
                  inttypes.h stdint.h unistd.h
 
4259
do
 
4260
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4261
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4262
$as_echo_n "checking for $ac_header... " >&6; }
 
4263
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4264
  $as_echo_n "(cached) " >&6
 
4265
else
 
4266
  cat >conftest.$ac_ext <<_ACEOF
 
4267
/* confdefs.h.  */
 
4268
_ACEOF
 
4269
cat confdefs.h >>conftest.$ac_ext
 
4270
cat >>conftest.$ac_ext <<_ACEOF
 
4271
/* end confdefs.h.  */
 
4272
$ac_includes_default
 
4273
 
 
4274
#include <$ac_header>
 
4275
_ACEOF
 
4276
rm -f conftest.$ac_objext
 
4277
if { (ac_try="$ac_compile"
 
4278
case "(($ac_try" in
 
4279
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4280
  *) ac_try_echo=$ac_try;;
 
4281
esac
 
4282
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4283
$as_echo "$ac_try_echo") >&5
 
4284
  (eval "$ac_compile") 2>conftest.er1
 
4285
  ac_status=$?
 
4286
  grep -v '^ *+' conftest.er1 >conftest.err
 
4287
  rm -f conftest.er1
 
4288
  cat conftest.err >&5
 
4289
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4290
  (exit $ac_status); } && {
 
4291
         test -z "$ac_c_werror_flag" ||
 
4292
         test ! -s conftest.err
 
4293
       } && test -s conftest.$ac_objext; then
 
4294
  eval "$as_ac_Header=yes"
 
4295
else
 
4296
  $as_echo "$as_me: failed program was:" >&5
 
4297
sed 's/^/| /' conftest.$ac_ext >&5
 
4298
 
 
4299
        eval "$as_ac_Header=no"
 
4300
fi
 
4301
 
 
4302
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4303
fi
 
4304
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4305
                 $as_echo "$as_val"'`
 
4306
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4307
$as_echo "$ac_res" >&6; }
 
4308
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4309
                 $as_echo "$as_val"'`
 
4310
   if test "x$as_val" = x""yes; then
 
4311
  cat >>confdefs.h <<_ACEOF
 
4312
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4313
_ACEOF
 
4314
 
 
4315
fi
 
4316
 
 
4317
done
 
4318
 
 
4319
 
 
4320
   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
 
4321
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
 
4322
if test "${ac_cv_prog_cc_c99+set}" = set; then
 
4323
  $as_echo_n "(cached) " >&6
 
4324
else
 
4325
  ac_cv_prog_cc_c99=no
 
4326
ac_save_CC=$CC
 
4327
cat >conftest.$ac_ext <<_ACEOF
 
4328
/* confdefs.h.  */
 
4329
_ACEOF
 
4330
cat confdefs.h >>conftest.$ac_ext
 
4331
cat >>conftest.$ac_ext <<_ACEOF
 
4332
/* end confdefs.h.  */
 
4333
#include <stdarg.h>
 
4334
#include <stdbool.h>
 
4335
#include <stdlib.h>
 
4336
#include <wchar.h>
 
4337
#include <stdio.h>
 
4338
 
 
4339
// Check varargs macros.  These examples are taken from C99 6.10.3.5.
 
4340
#define debug(...) fprintf (stderr, __VA_ARGS__)
 
4341
#define showlist(...) puts (#__VA_ARGS__)
 
4342
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
 
4343
static void
 
4344
test_varargs_macros (void)
 
4345
{
 
4346
  int x = 1234;
 
4347
  int y = 5678;
 
4348
  debug ("Flag");
 
4349
  debug ("X = %d\n", x);
 
4350
  showlist (The first, second, and third items.);
 
4351
  report (x>y, "x is %d but y is %d", x, y);
 
4352
}
 
4353
 
 
4354
// Check long long types.
 
4355
#define BIG64 18446744073709551615ull
 
4356
#define BIG32 4294967295ul
 
4357
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
 
4358
#if !BIG_OK
 
4359
  your preprocessor is broken;
 
4360
#endif
 
4361
#if BIG_OK
 
4362
#else
 
4363
  your preprocessor is broken;
 
4364
#endif
 
4365
static long long int bignum = -9223372036854775807LL;
 
4366
static unsigned long long int ubignum = BIG64;
 
4367
 
 
4368
struct incomplete_array
 
4369
{
 
4370
  int datasize;
 
4371
  double data[];
 
4372
};
 
4373
 
 
4374
struct named_init {
 
4375
  int number;
 
4376
  const wchar_t *name;
 
4377
  double average;
 
4378
};
 
4379
 
 
4380
typedef const char *ccp;
 
4381
 
 
4382
static inline int
 
4383
test_restrict (ccp restrict text)
 
4384
{
 
4385
  // See if C++-style comments work.
 
4386
  // Iterate through items via the restricted pointer.
 
4387
  // Also check for declarations in for loops.
 
4388
  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
 
4389
    continue;
 
4390
  return 0;
 
4391
}
 
4392
 
 
4393
// Check varargs and va_copy.
 
4394
static void
 
4395
test_varargs (const char *format, ...)
 
4396
{
 
4397
  va_list args;
 
4398
  va_start (args, format);
 
4399
  va_list args_copy;
 
4400
  va_copy (args_copy, args);
 
4401
 
 
4402
  const char *str;
 
4403
  int number;
 
4404
  float fnumber;
 
4405
 
 
4406
  while (*format)
 
4407
    {
 
4408
      switch (*format++)
 
4409
        {
 
4410
        case 's': // string
 
4411
          str = va_arg (args_copy, const char *);
 
4412
          break;
 
4413
        case 'd': // int
 
4414
          number = va_arg (args_copy, int);
 
4415
          break;
 
4416
        case 'f': // float
 
4417
          fnumber = va_arg (args_copy, double);
 
4418
          break;
 
4419
        default:
 
4420
          break;
 
4421
        }
 
4422
    }
 
4423
  va_end (args_copy);
 
4424
  va_end (args);
 
4425
}
 
4426
 
 
4427
int
 
4428
main ()
 
4429
{
 
4430
 
 
4431
  // Check bool.
 
4432
  _Bool success = false;
 
4433
 
 
4434
  // Check restrict.
 
4435
  if (test_restrict ("String literal") == 0)
 
4436
    success = true;
 
4437
  char *restrict newvar = "Another string";
 
4438
 
 
4439
  // Check varargs.
 
4440
  test_varargs ("s, d' f .", "string", 65, 34.234);
 
4441
  test_varargs_macros ();
 
4442
 
 
4443
  // Check flexible array members.
 
4444
  struct incomplete_array *ia =
 
4445
    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
 
4446
  ia->datasize = 10;
 
4447
  for (int i = 0; i < ia->datasize; ++i)
 
4448
    ia->data[i] = i * 1.234;
 
4449
 
 
4450
  // Check named initializers.
 
4451
  struct named_init ni = {
 
4452
    .number = 34,
 
4453
    .name = L"Test wide string",
 
4454
    .average = 543.34343,
 
4455
  };
 
4456
 
 
4457
  ni.number = 58;
 
4458
 
 
4459
  int dynamic_array[ni.number];
 
4460
  dynamic_array[ni.number - 1] = 543;
 
4461
 
 
4462
  // work around unused variable warnings
 
4463
  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
 
4464
          || dynamic_array[ni.number - 1] != 543);
 
4465
 
 
4466
  ;
 
4467
  return 0;
 
4468
}
 
4469
_ACEOF
 
4470
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
 
4471
do
 
4472
  CC="$ac_save_CC $ac_arg"
 
4473
  rm -f conftest.$ac_objext
 
4474
if { (ac_try="$ac_compile"
 
4475
case "(($ac_try" in
 
4476
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4477
  *) ac_try_echo=$ac_try;;
 
4478
esac
 
4479
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4480
$as_echo "$ac_try_echo") >&5
 
4481
  (eval "$ac_compile") 2>conftest.er1
 
4482
  ac_status=$?
 
4483
  grep -v '^ *+' conftest.er1 >conftest.err
 
4484
  rm -f conftest.er1
 
4485
  cat conftest.err >&5
 
4486
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4487
  (exit $ac_status); } && {
 
4488
         test -z "$ac_c_werror_flag" ||
 
4489
         test ! -s conftest.err
 
4490
       } && test -s conftest.$ac_objext; then
 
4491
  ac_cv_prog_cc_c99=$ac_arg
 
4492
else
 
4493
  $as_echo "$as_me: failed program was:" >&5
 
4494
sed 's/^/| /' conftest.$ac_ext >&5
 
4495
 
 
4496
 
 
4497
fi
 
4498
 
 
4499
rm -f core conftest.err conftest.$ac_objext
 
4500
  test "x$ac_cv_prog_cc_c99" != "xno" && break
 
4501
done
 
4502
rm -f conftest.$ac_ext
 
4503
CC=$ac_save_CC
 
4504
 
 
4505
fi
 
4506
# AC_CACHE_VAL
 
4507
case "x$ac_cv_prog_cc_c99" in
 
4508
  x)
 
4509
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4510
$as_echo "none needed" >&6; } ;;
 
4511
  xno)
 
4512
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4513
$as_echo "unsupported" >&6; } ;;
 
4514
  *)
 
4515
    CC="$CC $ac_cv_prog_cc_c99"
 
4516
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
 
4517
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
 
4518
esac
 
4519
 
 
4520
 
 
4521
 
 
4522
# Make sure we can run config.sub.
 
4523
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4524
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4525
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
4526
   { (exit 1); exit 1; }; }
 
4527
 
 
4528
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4529
$as_echo_n "checking build system type... " >&6; }
 
4530
if test "${ac_cv_build+set}" = set; then
 
4531
  $as_echo_n "(cached) " >&6
 
4532
else
 
4533
  ac_build_alias=$build_alias
 
4534
test "x$ac_build_alias" = x &&
 
4535
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4536
test "x$ac_build_alias" = x &&
 
4537
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
4538
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
4539
   { (exit 1); exit 1; }; }
 
4540
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4541
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4542
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
4543
   { (exit 1); exit 1; }; }
 
4544
 
 
4545
fi
 
4546
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4547
$as_echo "$ac_cv_build" >&6; }
 
4548
case $ac_cv_build in
 
4549
*-*-*) ;;
 
4550
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4551
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
4552
   { (exit 1); exit 1; }; };;
 
4553
esac
 
4554
build=$ac_cv_build
 
4555
ac_save_IFS=$IFS; IFS='-'
 
4556
set x $ac_cv_build
 
4557
shift
 
4558
build_cpu=$1
 
4559
build_vendor=$2
 
4560
shift; shift
 
4561
# Remember, the first character of IFS is used to create $*,
 
4562
# except with old shells:
 
4563
build_os=$*
 
4564
IFS=$ac_save_IFS
 
4565
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4566
 
 
4567
 
 
4568
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4569
$as_echo_n "checking host system type... " >&6; }
 
4570
if test "${ac_cv_host+set}" = set; then
 
4571
  $as_echo_n "(cached) " >&6
 
4572
else
 
4573
  if test "x$host_alias" = x; then
 
4574
  ac_cv_host=$ac_cv_build
 
4575
else
 
4576
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4577
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4578
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
4579
   { (exit 1); exit 1; }; }
 
4580
fi
 
4581
 
 
4582
fi
 
4583
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4584
$as_echo "$ac_cv_host" >&6; }
 
4585
case $ac_cv_host in
 
4586
*-*-*) ;;
 
4587
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4588
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
4589
   { (exit 1); exit 1; }; };;
 
4590
esac
 
4591
host=$ac_cv_host
 
4592
ac_save_IFS=$IFS; IFS='-'
 
4593
set x $ac_cv_host
 
4594
shift
 
4595
host_cpu=$1
 
4596
host_vendor=$2
 
4597
shift; shift
 
4598
# Remember, the first character of IFS is used to create $*,
 
4599
# except with old shells:
 
4600
host_os=$*
 
4601
IFS=$ac_save_IFS
 
4602
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4603
 
 
4604
 
 
4605
 
 
4606
 
 
4607
 
 
4608
if  test "x$GCC" = xyes ; then
 
4609
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
 
4610
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
 
4611
-Wbad-function-cast"
 
4612
    case `$CC -dumpversion` in
 
4613
    3.4.* | 4.*)
 
4614
        CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
 
4615
        ;;
 
4616
    esac
 
4617
else
 
4618
    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
 
4619
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
 
4620
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
 
4621
  $as_echo_n "(cached) " >&6
 
4622
else
 
4623
  cat >conftest.$ac_ext <<_ACEOF
 
4624
/* confdefs.h.  */
 
4625
_ACEOF
 
4626
cat confdefs.h >>conftest.$ac_ext
 
4627
cat >>conftest.$ac_ext <<_ACEOF
 
4628
/* end confdefs.h.  */
 
4629
$ac_includes_default
 
4630
int
 
4631
main ()
 
4632
{
 
4633
#ifndef __SUNPRO_C
 
4634
  (void) __SUNPRO_C;
 
4635
#endif
 
4636
 
 
4637
  ;
 
4638
  return 0;
 
4639
}
 
4640
_ACEOF
 
4641
rm -f conftest.$ac_objext
 
4642
if { (ac_try="$ac_compile"
 
4643
case "(($ac_try" in
 
4644
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4645
  *) ac_try_echo=$ac_try;;
 
4646
esac
 
4647
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4648
$as_echo "$ac_try_echo") >&5
 
4649
  (eval "$ac_compile") 2>conftest.er1
 
4650
  ac_status=$?
 
4651
  grep -v '^ *+' conftest.er1 >conftest.err
 
4652
  rm -f conftest.er1
 
4653
  cat conftest.err >&5
 
4654
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4655
  (exit $ac_status); } && {
 
4656
         test -z "$ac_c_werror_flag" ||
 
4657
         test ! -s conftest.err
 
4658
       } && test -s conftest.$ac_objext; then
 
4659
  ac_cv_have_decl___SUNPRO_C=yes
 
4660
else
 
4661
  $as_echo "$as_me: failed program was:" >&5
 
4662
sed 's/^/| /' conftest.$ac_ext >&5
 
4663
 
 
4664
        ac_cv_have_decl___SUNPRO_C=no
 
4665
fi
 
4666
 
 
4667
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4668
fi
 
4669
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
 
4670
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
 
4671
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
4672
  SUNCC="yes"
 
4673
else
 
4674
  SUNCC="no"
 
4675
fi
 
4676
 
 
4677
    if test "x$SUNCC" = "xyes"; then
 
4678
        CWARNFLAGS="-v"
 
4679
    fi
 
4680
fi
 
4681
 
 
4682
# Check whether --enable-silent-rules was given.
 
4683
if test "${enable_silent_rules+set}" = set; then
 
4684
  enableval=$enable_silent_rules;
 
4685
fi
 
4686
 
 
4687
case $enable_silent_rules in
 
4688
yes) AM_DEFAULT_VERBOSITY=0;;
 
4689
no)  AM_DEFAULT_VERBOSITY=1;;
 
4690
*)   AM_DEFAULT_VERBOSITY=0;;
 
4691
esac
 
4692
AM_BACKSLASH='\'
 
4693
 
 
4694
 
 
4695
 
 
4696
 
 
4697
 
 
4698
 
 
4699
 
 
4700
# Check whether --enable-strict-compilation was given.
 
4701
if test "${enable_strict_compilation+set}" = set; then
 
4702
  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
 
4703
else
 
4704
  STRICT_COMPILE=no
 
4705
fi
 
4706
 
 
4707
if test "x$STRICT_COMPILE" = "xyes"; then
 
4708
        { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
 
4709
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
 
4710
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
 
4711
  $as_echo_n "(cached) " >&6
 
4712
else
 
4713
  cat >conftest.$ac_ext <<_ACEOF
 
4714
/* confdefs.h.  */
 
4715
_ACEOF
 
4716
cat confdefs.h >>conftest.$ac_ext
 
4717
cat >>conftest.$ac_ext <<_ACEOF
 
4718
/* end confdefs.h.  */
 
4719
$ac_includes_default
 
4720
int
 
4721
main ()
 
4722
{
 
4723
#ifndef __SUNPRO_C
 
4724
  (void) __SUNPRO_C;
 
4725
#endif
 
4726
 
 
4727
  ;
 
4728
  return 0;
 
4729
}
 
4730
_ACEOF
 
4731
rm -f conftest.$ac_objext
 
4732
if { (ac_try="$ac_compile"
 
4733
case "(($ac_try" in
 
4734
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4735
  *) ac_try_echo=$ac_try;;
 
4736
esac
 
4737
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4738
$as_echo "$ac_try_echo") >&5
 
4739
  (eval "$ac_compile") 2>conftest.er1
 
4740
  ac_status=$?
 
4741
  grep -v '^ *+' conftest.er1 >conftest.err
 
4742
  rm -f conftest.er1
 
4743
  cat conftest.err >&5
 
4744
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4745
  (exit $ac_status); } && {
 
4746
         test -z "$ac_c_werror_flag" ||
 
4747
         test ! -s conftest.err
 
4748
       } && test -s conftest.$ac_objext; then
 
4749
  ac_cv_have_decl___SUNPRO_C=yes
 
4750
else
 
4751
  $as_echo "$as_me: failed program was:" >&5
 
4752
sed 's/^/| /' conftest.$ac_ext >&5
 
4753
 
 
4754
        ac_cv_have_decl___SUNPRO_C=no
 
4755
fi
 
4756
 
 
4757
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4758
fi
 
4759
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
 
4760
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
 
4761
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
4762
  SUNCC="yes"
 
4763
else
 
4764
  SUNCC="no"
 
4765
fi
 
4766
 
 
4767
        { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
 
4768
$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
 
4769
if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
 
4770
  $as_echo_n "(cached) " >&6
 
4771
else
 
4772
  cat >conftest.$ac_ext <<_ACEOF
 
4773
/* confdefs.h.  */
 
4774
_ACEOF
 
4775
cat confdefs.h >>conftest.$ac_ext
 
4776
cat >>conftest.$ac_ext <<_ACEOF
 
4777
/* end confdefs.h.  */
 
4778
$ac_includes_default
 
4779
int
 
4780
main ()
 
4781
{
 
4782
#ifndef __INTEL_COMPILER
 
4783
  (void) __INTEL_COMPILER;
 
4784
#endif
 
4785
 
 
4786
  ;
 
4787
  return 0;
 
4788
}
 
4789
_ACEOF
 
4790
rm -f conftest.$ac_objext
 
4791
if { (ac_try="$ac_compile"
 
4792
case "(($ac_try" in
 
4793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4794
  *) ac_try_echo=$ac_try;;
 
4795
esac
 
4796
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4797
$as_echo "$ac_try_echo") >&5
 
4798
  (eval "$ac_compile") 2>conftest.er1
 
4799
  ac_status=$?
 
4800
  grep -v '^ *+' conftest.er1 >conftest.err
 
4801
  rm -f conftest.er1
 
4802
  cat conftest.err >&5
 
4803
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4804
  (exit $ac_status); } && {
 
4805
         test -z "$ac_c_werror_flag" ||
 
4806
         test ! -s conftest.err
 
4807
       } && test -s conftest.$ac_objext; then
 
4808
  ac_cv_have_decl___INTEL_COMPILER=yes
 
4809
else
 
4810
  $as_echo "$as_me: failed program was:" >&5
 
4811
sed 's/^/| /' conftest.$ac_ext >&5
 
4812
 
 
4813
        ac_cv_have_decl___INTEL_COMPILER=no
 
4814
fi
 
4815
 
 
4816
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4817
fi
 
4818
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
 
4819
$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
 
4820
if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
 
4821
  INTELCC="yes"
 
4822
else
 
4823
  INTELCC="no"
 
4824
fi
 
4825
 
 
4826
        if test "x$GCC" = xyes ; then
 
4827
                STRICT_CFLAGS="-pedantic -Werror"
 
4828
        elif test "x$SUNCC" = "xyes"; then
 
4829
                STRICT_CFLAGS="-errwarn"
 
4830
    elif test "x$INTELCC" = "xyes"; then
 
4831
                STRICT_CFLAGS="-Werror"
 
4832
        fi
 
4833
fi
 
4834
CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
 
4835
 
 
4836
 
 
4837
 
 
4838
 
 
4839
# Check whether --with-release-version was given.
 
4840
if test "${with_release_version+set}" = set; then
 
4841
  withval=$with_release_version; RELEASE_VERSION="$withval"
 
4842
else
 
4843
  RELEASE_VERSION=""
 
4844
fi
 
4845
 
 
4846
        if test "x$RELEASE_VERSION" != "x"; then
 
4847
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
 
4848
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
 
4849
                { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
 
4850
$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
 
4851
        fi
 
4852
 
 
4853
cat >>confdefs.h <<_ACEOF
 
4854
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
 
4855
_ACEOF
 
4856
 
 
4857
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
 
4858
        if test "x$PVM" = "x"; then
 
4859
                PVM="0"
 
4860
        fi
 
4861
 
 
4862
cat >>confdefs.h <<_ACEOF
 
4863
#define PACKAGE_VERSION_MINOR $PVM
 
4864
_ACEOF
 
4865
 
 
4866
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
 
4867
        if test "x$PVP" = "x"; then
 
4868
                PVP="0"
 
4869
        fi
 
4870
 
 
4871
cat >>confdefs.h <<_ACEOF
 
4872
#define PACKAGE_VERSION_PATCHLEVEL $PVP
 
4873
_ACEOF
 
4874
 
 
4875
 
 
4876
 
 
4877
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
 
4878
mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
 
4879
echo 'git directory not found: installing possibly empty changelog.' >&2)"
 
4880
 
 
4881
distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
 
4882
 
 
4883
 
 
4884
 
 
4885
 
 
4886
 
 
4887
if test x$APP_MAN_SUFFIX = x    ; then
 
4888
    APP_MAN_SUFFIX=1
 
4889
fi
 
4890
if test x$APP_MAN_DIR = x    ; then
 
4891
    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
 
4892
fi
 
4893
 
 
4894
if test x$LIB_MAN_SUFFIX = x    ; then
 
4895
    LIB_MAN_SUFFIX=3
 
4896
fi
 
4897
if test x$LIB_MAN_DIR = x    ; then
 
4898
    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
 
4899
fi
 
4900
 
 
4901
if test x$FILE_MAN_SUFFIX = x    ; then
 
4902
    case $host_os in
 
4903
        solaris*)       FILE_MAN_SUFFIX=4  ;;
 
4904
        *)              FILE_MAN_SUFFIX=5  ;;
 
4905
    esac
 
4906
fi
 
4907
if test x$FILE_MAN_DIR = x    ; then
 
4908
    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
 
4909
fi
 
4910
 
 
4911
if test x$MISC_MAN_SUFFIX = x    ; then
 
4912
    case $host_os in
 
4913
        solaris*)       MISC_MAN_SUFFIX=5  ;;
 
4914
        *)              MISC_MAN_SUFFIX=7  ;;
 
4915
    esac
 
4916
fi
 
4917
if test x$MISC_MAN_DIR = x    ; then
 
4918
    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
 
4919
fi
 
4920
 
 
4921
if test x$DRIVER_MAN_SUFFIX = x    ; then
 
4922
    case $host_os in
 
4923
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
 
4924
        *)              DRIVER_MAN_SUFFIX=4  ;;
 
4925
    esac
 
4926
fi
 
4927
if test x$DRIVER_MAN_DIR = x    ; then
 
4928
    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
 
4929
fi
 
4930
 
 
4931
if test x$ADMIN_MAN_SUFFIX = x    ; then
 
4932
    case $host_os in
 
4933
        solaris*)       ADMIN_MAN_SUFFIX=1m ;;
 
4934
        *)              ADMIN_MAN_SUFFIX=8  ;;
 
4935
    esac
 
4936
fi
 
4937
if test x$ADMIN_MAN_DIR = x    ; then
 
4938
    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
 
4939
fi
 
4940
 
 
4941
 
 
4942
 
 
4943
 
 
4944
 
 
4945
 
 
4946
 
 
4947
 
 
4948
 
 
4949
 
 
4950
 
 
4951
 
 
4952
 
 
4953
 
 
4954
 
 
4955
 
 
4956
 
3447
4957
 
3448
4958
 
3449
4959
for ac_func in strlcpy getpid
3450
4960
do
3451
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3452
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
3453
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
4961
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
4962
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
4963
$as_echo_n "checking for $ac_func... " >&6; }
3454
4964
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3455
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4965
  $as_echo_n "(cached) " >&6
3456
4966
else
3457
4967
  cat >conftest.$ac_ext <<_ACEOF
3458
4968
/* confdefs.h.  */
3505
5015
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506
5016
  *) ac_try_echo=$ac_try;;
3507
5017
esac
3508
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5018
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5019
$as_echo "$ac_try_echo") >&5
3509
5020
  (eval "$ac_link") 2>conftest.er1
3510
5021
  ac_status=$?
3511
5022
  grep -v '^ *+' conftest.er1 >conftest.err
3512
5023
  rm -f conftest.er1
3513
5024
  cat conftest.err >&5
3514
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5025
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515
5026
  (exit $ac_status); } && {
3516
5027
         test -z "$ac_c_werror_flag" ||
3517
5028
         test ! -s conftest.err
3518
 
       } && test -s conftest$ac_exeext &&
3519
 
       $as_test_x conftest$ac_exeext; then
 
5029
       } && test -s conftest$ac_exeext && {
 
5030
         test "$cross_compiling" = yes ||
 
5031
         $as_test_x conftest$ac_exeext
 
5032
       }; then
3520
5033
  eval "$as_ac_var=yes"
3521
5034
else
3522
 
  echo "$as_me: failed program was:" >&5
 
5035
  $as_echo "$as_me: failed program was:" >&5
3523
5036
sed 's/^/| /' conftest.$ac_ext >&5
3524
5037
 
3525
5038
        eval "$as_ac_var=no"
3526
5039
fi
3527
5040
 
 
5041
rm -rf conftest.dSYM
3528
5042
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3529
5043
      conftest$ac_exeext conftest.$ac_ext
3530
5044
fi
3531
 
ac_res=`eval echo '${'$as_ac_var'}'`
3532
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
3533
 
echo "${ECHO_T}$ac_res" >&6; }
3534
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
5045
ac_res=`eval 'as_val=${'$as_ac_var'}
 
5046
                 $as_echo "$as_val"'`
 
5047
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5048
$as_echo "$ac_res" >&6; }
 
5049
as_val=`eval 'as_val=${'$as_ac_var'}
 
5050
                 $as_echo "$as_val"'`
 
5051
   if test "x$as_val" = x""yes; then
3535
5052
  cat >>confdefs.h <<_ACEOF
3536
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
5053
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3537
5054
_ACEOF
3538
5055
 
3539
5056
fi
3540
5057
done
3541
5058
 
3542
5059
 
3543
 
{ echo "$as_me:$LINENO: checking for library containing iconv" >&5
3544
 
echo $ECHO_N "checking for library containing iconv... $ECHO_C" >&6; }
 
5060
{ $as_echo "$as_me:$LINENO: checking for library containing iconv" >&5
 
5061
$as_echo_n "checking for library containing iconv... " >&6; }
3545
5062
if test "${ac_cv_search_iconv+set}" = set; then
3546
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5063
  $as_echo_n "(cached) " >&6
3547
5064
else
3548
5065
  ac_func_search_save_LIBS=$LIBS
3549
5066
cat >conftest.$ac_ext <<_ACEOF
3581
5098
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3582
5099
  *) ac_try_echo=$ac_try;;
3583
5100
esac
3584
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5101
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5102
$as_echo "$ac_try_echo") >&5
3585
5103
  (eval "$ac_link") 2>conftest.er1
3586
5104
  ac_status=$?
3587
5105
  grep -v '^ *+' conftest.er1 >conftest.err
3588
5106
  rm -f conftest.er1
3589
5107
  cat conftest.err >&5
3590
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5108
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591
5109
  (exit $ac_status); } && {
3592
5110
         test -z "$ac_c_werror_flag" ||
3593
5111
         test ! -s conftest.err
3594
 
       } && test -s conftest$ac_exeext &&
3595
 
       $as_test_x conftest$ac_exeext; then
 
5112
       } && test -s conftest$ac_exeext && {
 
5113
         test "$cross_compiling" = yes ||
 
5114
         $as_test_x conftest$ac_exeext
 
5115
       }; then
3596
5116
  ac_cv_search_iconv=$ac_res
3597
5117
else
3598
 
  echo "$as_me: failed program was:" >&5
 
5118
  $as_echo "$as_me: failed program was:" >&5
3599
5119
sed 's/^/| /' conftest.$ac_ext >&5
3600
5120
 
3601
5121
 
3602
5122
fi
3603
5123
 
 
5124
rm -rf conftest.dSYM
3604
5125
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3605
5126
      conftest$ac_exeext
3606
5127
  if test "${ac_cv_search_iconv+set}" = set; then
3615
5136
rm conftest.$ac_ext
3616
5137
LIBS=$ac_func_search_save_LIBS
3617
5138
fi
3618
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_iconv" >&5
3619
 
echo "${ECHO_T}$ac_cv_search_iconv" >&6; }
 
5139
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_iconv" >&5
 
5140
$as_echo "$ac_cv_search_iconv" >&6; }
3620
5141
ac_res=$ac_cv_search_iconv
3621
5142
if test "$ac_res" != no; then
3622
5143
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3634
5155
        if test -n "$ac_tool_prefix"; then
3635
5156
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3636
5157
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3637
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3638
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5158
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5159
$as_echo_n "checking for $ac_word... " >&6; }
3639
5160
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3640
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5161
  $as_echo_n "(cached) " >&6
3641
5162
else
3642
5163
  case $PKG_CONFIG in
3643
5164
  [\\/]* | ?:[\\/]*)
3652
5173
  for ac_exec_ext in '' $ac_executable_extensions; do
3653
5174
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3654
5175
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3655
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5176
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3656
5177
    break 2
3657
5178
  fi
3658
5179
done
3664
5185
fi
3665
5186
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3666
5187
if test -n "$PKG_CONFIG"; then
3667
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3668
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
5188
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
5189
$as_echo "$PKG_CONFIG" >&6; }
3669
5190
else
3670
 
  { echo "$as_me:$LINENO: result: no" >&5
3671
 
echo "${ECHO_T}no" >&6; }
 
5191
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5192
$as_echo "no" >&6; }
3672
5193
fi
3673
5194
 
3674
5195
 
3677
5198
  ac_pt_PKG_CONFIG=$PKG_CONFIG
3678
5199
  # Extract the first word of "pkg-config", so it can be a program name with args.
3679
5200
set dummy pkg-config; ac_word=$2
3680
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3681
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
5201
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5202
$as_echo_n "checking for $ac_word... " >&6; }
3682
5203
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3683
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5204
  $as_echo_n "(cached) " >&6
3684
5205
else
3685
5206
  case $ac_pt_PKG_CONFIG in
3686
5207
  [\\/]* | ?:[\\/]*)
3695
5216
  for ac_exec_ext in '' $ac_executable_extensions; do
3696
5217
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3697
5218
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3698
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5219
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3699
5220
    break 2
3700
5221
  fi
3701
5222
done
3707
5228
fi
3708
5229
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3709
5230
if test -n "$ac_pt_PKG_CONFIG"; then
3710
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3711
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
5231
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
5232
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
3712
5233
else
3713
 
  { echo "$as_me:$LINENO: result: no" >&5
3714
 
echo "${ECHO_T}no" >&6; }
 
5234
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5235
$as_echo "no" >&6; }
3715
5236
fi
3716
5237
 
3717
5238
  if test "x$ac_pt_PKG_CONFIG" = x; then
3719
5240
  else
3720
5241
    case $cross_compiling:$ac_tool_warned in
3721
5242
yes:)
3722
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3723
 
whose name does not start with the host triplet.  If you think this
3724
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3725
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3726
 
whose name does not start with the host triplet.  If you think this
3727
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5243
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5244
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3728
5245
ac_tool_warned=yes ;;
3729
5246
esac
3730
5247
    PKG_CONFIG=$ac_pt_PKG_CONFIG
3736
5253
fi
3737
5254
if test -n "$PKG_CONFIG"; then
3738
5255
        _pkg_min_version=0.9.0
3739
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3740
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
5256
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
5257
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3741
5258
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3742
 
                { echo "$as_me:$LINENO: result: yes" >&5
3743
 
echo "${ECHO_T}yes" >&6; }
 
5259
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5260
$as_echo "yes" >&6; }
3744
5261
        else
3745
 
                { echo "$as_me:$LINENO: result: no" >&5
3746
 
echo "${ECHO_T}no" >&6; }
 
5262
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
5263
$as_echo "no" >&6; }
3747
5264
                PKG_CONFIG=""
3748
5265
        fi
3749
5266
 
3750
5267
fi
3751
5268
 
3752
5269
pkg_failed=no
3753
 
{ echo "$as_me:$LINENO: checking for XCLOCK_X11" >&5
3754
 
echo $ECHO_N "checking for XCLOCK_X11... $ECHO_C" >&6; }
 
5270
{ $as_echo "$as_me:$LINENO: checking for XCLOCK_X11" >&5
 
5271
$as_echo_n "checking for XCLOCK_X11... " >&6; }
3755
5272
 
3756
 
if test -n "$PKG_CONFIG"; then
3757
 
        if test -n "$PKG_CONFIG" && \
3758
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
 
5273
if test -n "$XCLOCK_X11_CFLAGS"; then
 
5274
    pkg_cv_XCLOCK_X11_CFLAGS="$XCLOCK_X11_CFLAGS"
 
5275
 elif test -n "$PKG_CONFIG"; then
 
5276
    if test -n "$PKG_CONFIG" && \
 
5277
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3759
5278
  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
3760
5279
  ac_status=$?
3761
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5280
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762
5281
  (exit $ac_status); }; then
3763
5282
  pkg_cv_XCLOCK_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
3764
5283
else
3765
5284
  pkg_failed=yes
3766
5285
fi
3767
 
else
3768
 
        pkg_failed=untried
 
5286
 else
 
5287
    pkg_failed=untried
3769
5288
fi
3770
 
if test -n "$PKG_CONFIG"; then
3771
 
        if test -n "$PKG_CONFIG" && \
3772
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
 
5289
if test -n "$XCLOCK_X11_LIBS"; then
 
5290
    pkg_cv_XCLOCK_X11_LIBS="$XCLOCK_X11_LIBS"
 
5291
 elif test -n "$PKG_CONFIG"; then
 
5292
    if test -n "$PKG_CONFIG" && \
 
5293
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3773
5294
  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
3774
5295
  ac_status=$?
3775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5296
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776
5297
  (exit $ac_status); }; then
3777
5298
  pkg_cv_XCLOCK_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
3778
5299
else
3779
5300
  pkg_failed=yes
3780
5301
fi
3781
 
else
3782
 
        pkg_failed=untried
 
5302
 else
 
5303
    pkg_failed=untried
3783
5304
fi
3784
5305
 
 
5306
 
 
5307
 
3785
5308
if test $pkg_failed = yes; then
3786
 
        XCLOCK_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
 
5309
 
 
5310
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
5311
        _pkg_short_errors_supported=yes
 
5312
else
 
5313
        _pkg_short_errors_supported=no
 
5314
fi
 
5315
        if test $_pkg_short_errors_supported = yes; then
 
5316
                XCLOCK_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
 
5317
        else
 
5318
                XCLOCK_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
 
5319
        fi
3787
5320
        # Put the nasty error message in config.log where it belongs
3788
 
        echo "$XCLOCK_X11_PKG_ERRORS" 1>&5
3789
 
 
3790
 
        { { echo "$as_me:$LINENO: error: Package requirements (x11) were not met.
3791
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3792
 
installed software in a non-standard prefix.
3793
 
 
3794
 
Alternatively you may set the XCLOCK_X11_CFLAGS and XCLOCK_X11_LIBS environment variables
3795
 
to avoid the need to call pkg-config.  See the pkg-config man page for
3796
 
more details." >&5
3797
 
echo "$as_me: error: Package requirements (x11) were not met.
3798
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3799
 
installed software in a non-standard prefix.
3800
 
 
3801
 
Alternatively you may set the XCLOCK_X11_CFLAGS and XCLOCK_X11_LIBS environment variables
3802
 
to avoid the need to call pkg-config.  See the pkg-config man page for
3803
 
more details." >&2;}
 
5321
        echo "$XCLOCK_X11_PKG_ERRORS" >&5
 
5322
 
 
5323
        { { $as_echo "$as_me:$LINENO: error: Package requirements (x11) were not met:
 
5324
 
 
5325
$XCLOCK_X11_PKG_ERRORS
 
5326
 
 
5327
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
5328
installed software in a non-standard prefix.
 
5329
 
 
5330
Alternatively, you may set the environment variables XCLOCK_X11_CFLAGS
 
5331
and XCLOCK_X11_LIBS to avoid the need to call pkg-config.
 
5332
See the pkg-config man page for more details.
 
5333
" >&5
 
5334
$as_echo "$as_me: error: Package requirements (x11) were not met:
 
5335
 
 
5336
$XCLOCK_X11_PKG_ERRORS
 
5337
 
 
5338
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
5339
installed software in a non-standard prefix.
 
5340
 
 
5341
Alternatively, you may set the environment variables XCLOCK_X11_CFLAGS
 
5342
and XCLOCK_X11_LIBS to avoid the need to call pkg-config.
 
5343
See the pkg-config man page for more details.
 
5344
" >&2;}
3804
5345
   { (exit 1); exit 1; }; }
3805
5346
elif test $pkg_failed = untried; then
3806
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
5347
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5348
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5349
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
3807
5350
is in your PATH or set the PKG_CONFIG environment variable to the full
3808
5351
path to pkg-config.
3809
5352
 
3810
 
Alternatively you may set the XCLOCK_X11_CFLAGS and XCLOCK_X11_LIBS environment variables
3811
 
to avoid the need to call pkg-config.  See the pkg-config man page for
3812
 
more details.
 
5353
Alternatively, you may set the environment variables XCLOCK_X11_CFLAGS
 
5354
and XCLOCK_X11_LIBS to avoid the need to call pkg-config.
 
5355
See the pkg-config man page for more details.
3813
5356
 
3814
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
5357
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3815
5358
See \`config.log' for more details." >&5
3816
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
5359
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3817
5360
is in your PATH or set the PKG_CONFIG environment variable to the full
3818
5361
path to pkg-config.
3819
5362
 
3820
 
Alternatively you may set the XCLOCK_X11_CFLAGS and XCLOCK_X11_LIBS environment variables
3821
 
to avoid the need to call pkg-config.  See the pkg-config man page for
3822
 
more details.
 
5363
Alternatively, you may set the environment variables XCLOCK_X11_CFLAGS
 
5364
and XCLOCK_X11_LIBS to avoid the need to call pkg-config.
 
5365
See the pkg-config man page for more details.
3823
5366
 
3824
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
5367
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3825
5368
See \`config.log' for more details." >&2;}
3826
 
   { (exit 1); exit 1; }; }
 
5369
   { (exit 1); exit 1; }; }; }
3827
5370
else
3828
5371
        XCLOCK_X11_CFLAGS=$pkg_cv_XCLOCK_X11_CFLAGS
3829
5372
        XCLOCK_X11_LIBS=$pkg_cv_XCLOCK_X11_LIBS
3830
 
        { echo "$as_me:$LINENO: result: yes" >&5
3831
 
echo "${ECHO_T}yes" >&6; }
 
5373
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5374
$as_echo "yes" >&6; }
3832
5375
        :
3833
5376
fi
3834
5377
 
3835
 
        # Check whether --enable-xprint was given.
3836
 
if test "${enable_xprint+set}" = set; then
3837
 
  enableval=$enable_xprint; use_xprint=$enableval
3838
 
else
3839
 
  use_xprint=auto
3840
 
fi
3841
 
 
3842
 
        if test "x$use_xprint" = "xyes"; then
3843
 
                TMP_CHECK1=xaw8
3844
 
                TMP_CHECK2=
3845
 
                xaw_use_xprint=yes
3846
 
        elif test "x$use_xprint" = "xno"; then
3847
 
                TMP_CHECK1=xaw7
3848
 
                TMP_CHECK2=
3849
 
                xaw_use_xprint=no
3850
 
        else
3851
 
                TMP_CHECK1=xaw8
3852
 
                TMP_CHECK2=xaw7
3853
 
                xaw_use_xprint=yes
3854
 
        fi
3855
 
 
3856
 
 
3857
 
pkg_failed=no
3858
 
{ echo "$as_me:$LINENO: checking for TMP_XAW" >&5
3859
 
echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; }
3860
 
 
3861
 
if test -n "$PKG_CONFIG"; then
3862
 
        if test -n "$PKG_CONFIG" && \
3863
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
3864
 
  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
3865
 
  ac_status=$?
3866
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867
 
  (exit $ac_status); }; then
3868
 
  pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null`
3869
 
else
3870
 
  pkg_failed=yes
3871
 
fi
3872
 
else
3873
 
        pkg_failed=untried
3874
 
fi
3875
 
if test -n "$PKG_CONFIG"; then
3876
 
        if test -n "$PKG_CONFIG" && \
3877
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
3878
 
  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
3879
 
  ac_status=$?
3880
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881
 
  (exit $ac_status); }; then
3882
 
  pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null`
3883
 
else
3884
 
  pkg_failed=yes
3885
 
fi
3886
 
else
3887
 
        pkg_failed=untried
3888
 
fi
3889
 
 
3890
 
if test $pkg_failed = yes; then
3891
 
        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"`
3892
 
        # Put the nasty error message in config.log where it belongs
3893
 
        echo "$TMP_XAW_PKG_ERRORS" 1>&5
3894
 
 
3895
 
        success=no
3896
 
elif test $pkg_failed = untried; then
3897
 
        success=no
3898
 
else
3899
 
        TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
3900
 
        TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
3901
 
        { echo "$as_me:$LINENO: result: yes" >&5
3902
 
echo "${ECHO_T}yes" >&6; }
3903
 
        success=yes
3904
 
fi
3905
 
        if [ ! -z $TMP_CHECK2 ] ; then
3906
 
                if test $success = no ; then
3907
 
 
3908
 
pkg_failed=no
3909
 
{ echo "$as_me:$LINENO: checking for TMP_XAW" >&5
3910
 
echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; }
3911
 
 
3912
 
if test -n "$PKG_CONFIG"; then
3913
 
        if test -n "$PKG_CONFIG" && \
3914
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
3915
 
  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
3916
 
  ac_status=$?
3917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918
 
  (exit $ac_status); }; then
3919
 
  pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null`
3920
 
else
3921
 
  pkg_failed=yes
3922
 
fi
3923
 
else
3924
 
        pkg_failed=untried
3925
 
fi
3926
 
if test -n "$PKG_CONFIG"; then
3927
 
        if test -n "$PKG_CONFIG" && \
3928
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
3929
 
  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
3930
 
  ac_status=$?
3931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932
 
  (exit $ac_status); }; then
3933
 
  pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null`
3934
 
else
3935
 
  pkg_failed=yes
3936
 
fi
3937
 
else
3938
 
        pkg_failed=untried
3939
 
fi
3940
 
 
3941
 
if test $pkg_failed = yes; then
3942
 
        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"`
3943
 
        # Put the nasty error message in config.log where it belongs
3944
 
        echo "$TMP_XAW_PKG_ERRORS" 1>&5
3945
 
 
3946
 
        success=no
3947
 
elif test $pkg_failed = untried; then
3948
 
        success=no
3949
 
else
3950
 
        TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
3951
 
        TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
3952
 
        { echo "$as_me:$LINENO: result: yes" >&5
3953
 
echo "${ECHO_T}yes" >&6; }
3954
 
        success=yes
3955
 
fi
3956
 
                        xaw_use_xprint=no
3957
 
                fi
3958
 
        fi
3959
 
 
3960
 
        if test "x$success" = "xyes"; then
3961
 
                XAW_CFLAGS=$TMP_XAW_CFLAGS
3962
 
                XAW_LIBS=$TMP_XAW_LIBS
3963
 
 
3964
 
                 if test "x$xaw_use_xprint" = "xyes"; then
3965
 
  XAW_USE_XPRINT_TRUE=
3966
 
  XAW_USE_XPRINT_FALSE='#'
3967
 
else
3968
 
  XAW_USE_XPRINT_TRUE='#'
3969
 
  XAW_USE_XPRINT_FALSE=
3970
 
fi
3971
 
 
3972
 
        else
3973
 
                { { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5
3974
 
echo "$as_me: error: No suitable version of Xaw found" >&2;}
 
5378
pkg_failed=no
 
5379
{ $as_echo "$as_me:$LINENO: checking for XAW" >&5
 
5380
$as_echo_n "checking for XAW... " >&6; }
 
5381
 
 
5382
if test -n "$XAW_CFLAGS"; then
 
5383
    pkg_cv_XAW_CFLAGS="$XAW_CFLAGS"
 
5384
 elif test -n "$PKG_CONFIG"; then
 
5385
    if test -n "$PKG_CONFIG" && \
 
5386
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
 
5387
  ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
 
5388
  ac_status=$?
 
5389
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5390
  (exit $ac_status); }; then
 
5391
  pkg_cv_XAW_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
 
5392
else
 
5393
  pkg_failed=yes
 
5394
fi
 
5395
 else
 
5396
    pkg_failed=untried
 
5397
fi
 
5398
if test -n "$XAW_LIBS"; then
 
5399
    pkg_cv_XAW_LIBS="$XAW_LIBS"
 
5400
 elif test -n "$PKG_CONFIG"; then
 
5401
    if test -n "$PKG_CONFIG" && \
 
5402
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
 
5403
  ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
 
5404
  ac_status=$?
 
5405
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5406
  (exit $ac_status); }; then
 
5407
  pkg_cv_XAW_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
 
5408
else
 
5409
  pkg_failed=yes
 
5410
fi
 
5411
 else
 
5412
    pkg_failed=untried
 
5413
fi
 
5414
 
 
5415
 
 
5416
 
 
5417
if test $pkg_failed = yes; then
 
5418
 
 
5419
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
5420
        _pkg_short_errors_supported=yes
 
5421
else
 
5422
        _pkg_short_errors_supported=no
 
5423
fi
 
5424
        if test $_pkg_short_errors_supported = yes; then
 
5425
                XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xaw7" 2>&1`
 
5426
        else
 
5427
                XAW_PKG_ERRORS=`$PKG_CONFIG --print-errors "xaw7" 2>&1`
 
5428
        fi
 
5429
        # Put the nasty error message in config.log where it belongs
 
5430
        echo "$XAW_PKG_ERRORS" >&5
 
5431
 
 
5432
        { { $as_echo "$as_me:$LINENO: error: Package requirements (xaw7) were not met:
 
5433
 
 
5434
$XAW_PKG_ERRORS
 
5435
 
 
5436
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
5437
installed software in a non-standard prefix.
 
5438
 
 
5439
Alternatively, you may set the environment variables XAW_CFLAGS
 
5440
and XAW_LIBS to avoid the need to call pkg-config.
 
5441
See the pkg-config man page for more details.
 
5442
" >&5
 
5443
$as_echo "$as_me: error: Package requirements (xaw7) were not met:
 
5444
 
 
5445
$XAW_PKG_ERRORS
 
5446
 
 
5447
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
5448
installed software in a non-standard prefix.
 
5449
 
 
5450
Alternatively, you may set the environment variables XAW_CFLAGS
 
5451
and XAW_LIBS to avoid the need to call pkg-config.
 
5452
See the pkg-config man page for more details.
 
5453
" >&2;}
3975
5454
   { (exit 1); exit 1; }; }
3976
 
        fi
3977
 
 
 
5455
elif test $pkg_failed = untried; then
 
5456
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5457
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5458
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
5459
is in your PATH or set the PKG_CONFIG environment variable to the full
 
5460
path to pkg-config.
 
5461
 
 
5462
Alternatively, you may set the environment variables XAW_CFLAGS
 
5463
and XAW_LIBS to avoid the need to call pkg-config.
 
5464
See the pkg-config man page for more details.
 
5465
 
 
5466
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
5467
See \`config.log' for more details." >&5
 
5468
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
5469
is in your PATH or set the PKG_CONFIG environment variable to the full
 
5470
path to pkg-config.
 
5471
 
 
5472
Alternatively, you may set the environment variables XAW_CFLAGS
 
5473
and XAW_LIBS to avoid the need to call pkg-config.
 
5474
See the pkg-config man page for more details.
 
5475
 
 
5476
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
5477
See \`config.log' for more details." >&2;}
 
5478
   { (exit 1); exit 1; }; }; }
 
5479
else
 
5480
        XAW_CFLAGS=$pkg_cv_XAW_CFLAGS
 
5481
        XAW_LIBS=$pkg_cv_XAW_LIBS
 
5482
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5483
$as_echo "yes" >&6; }
 
5484
        :
 
5485
fi
3978
5486
XCLOCK_CFLAGS="$XCLOCK_X11_CFLAGS $XAW_CFLAGS"
3979
5487
XCLOCK_LIBS="$XCLOCK_X11_LIBS $XAW_LIBS"
3980
5488
 
3989
5497
if test x$use_xft != xno ; then
3990
5498
 
3991
5499
pkg_failed=no
3992
 
{ echo "$as_me:$LINENO: checking for XFT" >&5
3993
 
echo $ECHO_N "checking for XFT... $ECHO_C" >&6; }
 
5500
{ $as_echo "$as_me:$LINENO: checking for XFT" >&5
 
5501
$as_echo_n "checking for XFT... " >&6; }
3994
5502
 
3995
 
if test -n "$PKG_CONFIG"; then
3996
 
        if test -n "$PKG_CONFIG" && \
3997
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender xft\"") >&5
 
5503
if test -n "$XFT_CFLAGS"; then
 
5504
    pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
 
5505
 elif test -n "$PKG_CONFIG"; then
 
5506
    if test -n "$PKG_CONFIG" && \
 
5507
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender xft\"") >&5
3998
5508
  ($PKG_CONFIG --exists --print-errors "xrender xft") 2>&5
3999
5509
  ac_status=$?
4000
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5510
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001
5511
  (exit $ac_status); }; then
4002
5512
  pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xrender xft" 2>/dev/null`
4003
5513
else
4004
5514
  pkg_failed=yes
4005
5515
fi
4006
 
else
4007
 
        pkg_failed=untried
 
5516
 else
 
5517
    pkg_failed=untried
4008
5518
fi
4009
 
if test -n "$PKG_CONFIG"; then
4010
 
        if test -n "$PKG_CONFIG" && \
4011
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender xft\"") >&5
 
5519
if test -n "$XFT_LIBS"; then
 
5520
    pkg_cv_XFT_LIBS="$XFT_LIBS"
 
5521
 elif test -n "$PKG_CONFIG"; then
 
5522
    if test -n "$PKG_CONFIG" && \
 
5523
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender xft\"") >&5
4012
5524
  ($PKG_CONFIG --exists --print-errors "xrender xft") 2>&5
4013
5525
  ac_status=$?
4014
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5526
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015
5527
  (exit $ac_status); }; then
4016
5528
  pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xrender xft" 2>/dev/null`
4017
5529
else
4018
5530
  pkg_failed=yes
4019
5531
fi
4020
 
else
4021
 
        pkg_failed=untried
 
5532
 else
 
5533
    pkg_failed=untried
4022
5534
fi
4023
5535
 
 
5536
 
 
5537
 
4024
5538
if test $pkg_failed = yes; then
4025
 
        XFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xrender xft"`
 
5539
 
 
5540
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
5541
        _pkg_short_errors_supported=yes
 
5542
else
 
5543
        _pkg_short_errors_supported=no
 
5544
fi
 
5545
        if test $_pkg_short_errors_supported = yes; then
 
5546
                XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender xft" 2>&1`
 
5547
        else
 
5548
                XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender xft" 2>&1`
 
5549
        fi
4026
5550
        # Put the nasty error message in config.log where it belongs
4027
 
        echo "$XFT_PKG_ERRORS" 1>&5
4028
 
 
4029
 
        { { echo "$as_me:$LINENO: error: Package requirements (xrender xft) were not met.
4030
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4031
 
installed software in a non-standard prefix.
4032
 
 
4033
 
Alternatively you may set the XFT_CFLAGS and XFT_LIBS environment variables
4034
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4035
 
more details." >&5
4036
 
echo "$as_me: error: Package requirements (xrender xft) were not met.
4037
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4038
 
installed software in a non-standard prefix.
4039
 
 
4040
 
Alternatively you may set the XFT_CFLAGS and XFT_LIBS environment variables
4041
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4042
 
more details." >&2;}
 
5551
        echo "$XFT_PKG_ERRORS" >&5
 
5552
 
 
5553
        { { $as_echo "$as_me:$LINENO: error: Package requirements (xrender xft) were not met:
 
5554
 
 
5555
$XFT_PKG_ERRORS
 
5556
 
 
5557
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
5558
installed software in a non-standard prefix.
 
5559
 
 
5560
Alternatively, you may set the environment variables XFT_CFLAGS
 
5561
and XFT_LIBS to avoid the need to call pkg-config.
 
5562
See the pkg-config man page for more details.
 
5563
" >&5
 
5564
$as_echo "$as_me: error: Package requirements (xrender xft) were not met:
 
5565
 
 
5566
$XFT_PKG_ERRORS
 
5567
 
 
5568
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
5569
installed software in a non-standard prefix.
 
5570
 
 
5571
Alternatively, you may set the environment variables XFT_CFLAGS
 
5572
and XFT_LIBS to avoid the need to call pkg-config.
 
5573
See the pkg-config man page for more details.
 
5574
" >&2;}
4043
5575
   { (exit 1); exit 1; }; }
4044
5576
elif test $pkg_failed = untried; then
4045
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
5577
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5578
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5579
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4046
5580
is in your PATH or set the PKG_CONFIG environment variable to the full
4047
5581
path to pkg-config.
4048
5582
 
4049
 
Alternatively you may set the XFT_CFLAGS and XFT_LIBS environment variables
4050
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4051
 
more details.
 
5583
Alternatively, you may set the environment variables XFT_CFLAGS
 
5584
and XFT_LIBS to avoid the need to call pkg-config.
 
5585
See the pkg-config man page for more details.
4052
5586
 
4053
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
5587
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4054
5588
See \`config.log' for more details." >&5
4055
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
5589
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4056
5590
is in your PATH or set the PKG_CONFIG environment variable to the full
4057
5591
path to pkg-config.
4058
5592
 
4059
 
Alternatively you may set the XFT_CFLAGS and XFT_LIBS environment variables
4060
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4061
 
more details.
 
5593
Alternatively, you may set the environment variables XFT_CFLAGS
 
5594
and XFT_LIBS to avoid the need to call pkg-config.
 
5595
See the pkg-config man page for more details.
4062
5596
 
4063
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
5597
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4064
5598
See \`config.log' for more details." >&2;}
4065
 
   { (exit 1); exit 1; }; }
 
5599
   { (exit 1); exit 1; }; }; }
4066
5600
else
4067
5601
        XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
4068
5602
        XFT_LIBS=$pkg_cv_XFT_LIBS
4069
 
        { echo "$as_me:$LINENO: result: yes" >&5
4070
 
echo "${ECHO_T}yes" >&6; }
 
5603
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5604
$as_echo "yes" >&6; }
4071
5605
        :
4072
5606
fi
4073
 
        { echo "$as_me:$LINENO: checking for library containing sqrt" >&5
4074
 
echo $ECHO_N "checking for library containing sqrt... $ECHO_C" >&6; }
 
5607
        { $as_echo "$as_me:$LINENO: checking for library containing sqrt" >&5
 
5608
$as_echo_n "checking for library containing sqrt... " >&6; }
4075
5609
if test "${ac_cv_search_sqrt+set}" = set; then
4076
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5610
  $as_echo_n "(cached) " >&6
4077
5611
else
4078
5612
  ac_func_search_save_LIBS=$LIBS
4079
5613
cat >conftest.$ac_ext <<_ACEOF
4111
5645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4112
5646
  *) ac_try_echo=$ac_try;;
4113
5647
esac
4114
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5648
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5649
$as_echo "$ac_try_echo") >&5
4115
5650
  (eval "$ac_link") 2>conftest.er1
4116
5651
  ac_status=$?
4117
5652
  grep -v '^ *+' conftest.er1 >conftest.err
4118
5653
  rm -f conftest.er1
4119
5654
  cat conftest.err >&5
4120
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5655
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121
5656
  (exit $ac_status); } && {
4122
5657
         test -z "$ac_c_werror_flag" ||
4123
5658
         test ! -s conftest.err
4124
 
       } && test -s conftest$ac_exeext &&
4125
 
       $as_test_x conftest$ac_exeext; then
 
5659
       } && test -s conftest$ac_exeext && {
 
5660
         test "$cross_compiling" = yes ||
 
5661
         $as_test_x conftest$ac_exeext
 
5662
       }; then
4126
5663
  ac_cv_search_sqrt=$ac_res
4127
5664
else
4128
 
  echo "$as_me: failed program was:" >&5
 
5665
  $as_echo "$as_me: failed program was:" >&5
4129
5666
sed 's/^/| /' conftest.$ac_ext >&5
4130
5667
 
4131
5668
 
4132
5669
fi
4133
5670
 
 
5671
rm -rf conftest.dSYM
4134
5672
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4135
5673
      conftest$ac_exeext
4136
5674
  if test "${ac_cv_search_sqrt+set}" = set; then
4145
5683
rm conftest.$ac_ext
4146
5684
LIBS=$ac_func_search_save_LIBS
4147
5685
fi
4148
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_sqrt" >&5
4149
 
echo "${ECHO_T}$ac_cv_search_sqrt" >&6; }
 
5686
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_sqrt" >&5
 
5687
$as_echo "$ac_cv_search_sqrt" >&6; }
4150
5688
ac_res=$ac_cv_search_sqrt
4151
5689
if test "$ac_res" != no; then
4152
5690
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4178
5716
if test x$use_xkb != xno ; then
4179
5717
 
4180
5718
pkg_failed=no
4181
 
{ echo "$as_me:$LINENO: checking for XKB" >&5
4182
 
echo $ECHO_N "checking for XKB... $ECHO_C" >&6; }
 
5719
{ $as_echo "$as_me:$LINENO: checking for XKB" >&5
 
5720
$as_echo_n "checking for XKB... " >&6; }
4183
5721
 
4184
 
if test -n "$PKG_CONFIG"; then
4185
 
        if test -n "$PKG_CONFIG" && \
4186
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile\"") >&5
 
5722
if test -n "$XKB_CFLAGS"; then
 
5723
    pkg_cv_XKB_CFLAGS="$XKB_CFLAGS"
 
5724
 elif test -n "$PKG_CONFIG"; then
 
5725
    if test -n "$PKG_CONFIG" && \
 
5726
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile\"") >&5
4187
5727
  ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
4188
5728
  ac_status=$?
4189
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5729
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190
5730
  (exit $ac_status); }; then
4191
5731
  pkg_cv_XKB_CFLAGS=`$PKG_CONFIG --cflags "xkbfile" 2>/dev/null`
4192
5732
else
4193
5733
  pkg_failed=yes
4194
5734
fi
4195
 
else
4196
 
        pkg_failed=untried
 
5735
 else
 
5736
    pkg_failed=untried
4197
5737
fi
4198
 
if test -n "$PKG_CONFIG"; then
4199
 
        if test -n "$PKG_CONFIG" && \
4200
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile\"") >&5
 
5738
if test -n "$XKB_LIBS"; then
 
5739
    pkg_cv_XKB_LIBS="$XKB_LIBS"
 
5740
 elif test -n "$PKG_CONFIG"; then
 
5741
    if test -n "$PKG_CONFIG" && \
 
5742
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xkbfile\"") >&5
4201
5743
  ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
4202
5744
  ac_status=$?
4203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5745
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204
5746
  (exit $ac_status); }; then
4205
5747
  pkg_cv_XKB_LIBS=`$PKG_CONFIG --libs "xkbfile" 2>/dev/null`
4206
5748
else
4207
5749
  pkg_failed=yes
4208
5750
fi
4209
 
else
4210
 
        pkg_failed=untried
 
5751
 else
 
5752
    pkg_failed=untried
4211
5753
fi
4212
5754
 
 
5755
 
 
5756
 
4213
5757
if test $pkg_failed = yes; then
4214
 
        XKB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xkbfile"`
 
5758
 
 
5759
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
5760
        _pkg_short_errors_supported=yes
 
5761
else
 
5762
        _pkg_short_errors_supported=no
 
5763
fi
 
5764
        if test $_pkg_short_errors_supported = yes; then
 
5765
                XKB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xkbfile" 2>&1`
 
5766
        else
 
5767
                XKB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xkbfile" 2>&1`
 
5768
        fi
4215
5769
        # Put the nasty error message in config.log where it belongs
4216
 
        echo "$XKB_PKG_ERRORS" 1>&5
4217
 
 
4218
 
        { { echo "$as_me:$LINENO: error: Package requirements (xkbfile) were not met.
4219
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4220
 
installed software in a non-standard prefix.
4221
 
 
4222
 
Alternatively you may set the XKB_CFLAGS and XKB_LIBS environment variables
4223
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4224
 
more details." >&5
4225
 
echo "$as_me: error: Package requirements (xkbfile) were not met.
4226
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4227
 
installed software in a non-standard prefix.
4228
 
 
4229
 
Alternatively you may set the XKB_CFLAGS and XKB_LIBS environment variables
4230
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4231
 
more details." >&2;}
 
5770
        echo "$XKB_PKG_ERRORS" >&5
 
5771
 
 
5772
        { { $as_echo "$as_me:$LINENO: error: Package requirements (xkbfile) were not met:
 
5773
 
 
5774
$XKB_PKG_ERRORS
 
5775
 
 
5776
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
5777
installed software in a non-standard prefix.
 
5778
 
 
5779
Alternatively, you may set the environment variables XKB_CFLAGS
 
5780
and XKB_LIBS to avoid the need to call pkg-config.
 
5781
See the pkg-config man page for more details.
 
5782
" >&5
 
5783
$as_echo "$as_me: error: Package requirements (xkbfile) were not met:
 
5784
 
 
5785
$XKB_PKG_ERRORS
 
5786
 
 
5787
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
5788
installed software in a non-standard prefix.
 
5789
 
 
5790
Alternatively, you may set the environment variables XKB_CFLAGS
 
5791
and XKB_LIBS to avoid the need to call pkg-config.
 
5792
See the pkg-config man page for more details.
 
5793
" >&2;}
4232
5794
   { (exit 1); exit 1; }; }
4233
5795
elif test $pkg_failed = untried; then
4234
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
5796
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5797
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5798
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4235
5799
is in your PATH or set the PKG_CONFIG environment variable to the full
4236
5800
path to pkg-config.
4237
5801
 
4238
 
Alternatively you may set the XKB_CFLAGS and XKB_LIBS environment variables
4239
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4240
 
more details.
 
5802
Alternatively, you may set the environment variables XKB_CFLAGS
 
5803
and XKB_LIBS to avoid the need to call pkg-config.
 
5804
See the pkg-config man page for more details.
4241
5805
 
4242
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
5806
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4243
5807
See \`config.log' for more details." >&5
4244
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
5808
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4245
5809
is in your PATH or set the PKG_CONFIG environment variable to the full
4246
5810
path to pkg-config.
4247
5811
 
4248
 
Alternatively you may set the XKB_CFLAGS and XKB_LIBS environment variables
4249
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4250
 
more details.
 
5812
Alternatively, you may set the environment variables XKB_CFLAGS
 
5813
and XKB_LIBS to avoid the need to call pkg-config.
 
5814
See the pkg-config man page for more details.
4251
5815
 
4252
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
5816
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4253
5817
See \`config.log' for more details." >&2;}
4254
 
   { (exit 1); exit 1; }; }
 
5818
   { (exit 1); exit 1; }; }; }
4255
5819
else
4256
5820
        XKB_CFLAGS=$pkg_cv_XKB_CFLAGS
4257
5821
        XKB_LIBS=$pkg_cv_XKB_LIBS
4258
 
        { echo "$as_me:$LINENO: result: yes" >&5
4259
 
echo "${ECHO_T}yes" >&6; }
 
5822
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5823
$as_echo "yes" >&6; }
4260
5824
        :
4261
5825
fi
4262
5826
        XCLOCK_CFLAGS="$XCLOCK_CFLAGS $XKB_CFLAGS"
4273
5837
 
4274
5838
 
4275
5839
pkg_failed=no
4276
 
{ echo "$as_me:$LINENO: checking for APPDEFS" >&5
4277
 
echo $ECHO_N "checking for APPDEFS... $ECHO_C" >&6; }
 
5840
{ $as_echo "$as_me:$LINENO: checking for APPDEFS" >&5
 
5841
$as_echo_n "checking for APPDEFS... " >&6; }
4278
5842
 
4279
 
if test -n "$PKG_CONFIG"; then
4280
 
        if test -n "$PKG_CONFIG" && \
4281
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
 
5843
if test -n "$APPDEFS_CFLAGS"; then
 
5844
    pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
 
5845
 elif test -n "$PKG_CONFIG"; then
 
5846
    if test -n "$PKG_CONFIG" && \
 
5847
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
4282
5848
  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
4283
5849
  ac_status=$?
4284
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5850
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285
5851
  (exit $ac_status); }; then
4286
5852
  pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
4287
5853
else
4288
5854
  pkg_failed=yes
4289
5855
fi
4290
 
else
4291
 
        pkg_failed=untried
 
5856
 else
 
5857
    pkg_failed=untried
4292
5858
fi
4293
 
if test -n "$PKG_CONFIG"; then
4294
 
        if test -n "$PKG_CONFIG" && \
4295
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
 
5859
if test -n "$APPDEFS_LIBS"; then
 
5860
    pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
 
5861
 elif test -n "$PKG_CONFIG"; then
 
5862
    if test -n "$PKG_CONFIG" && \
 
5863
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
4296
5864
  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
4297
5865
  ac_status=$?
4298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5866
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299
5867
  (exit $ac_status); }; then
4300
5868
  pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
4301
5869
else
4302
5870
  pkg_failed=yes
4303
5871
fi
4304
 
else
4305
 
        pkg_failed=untried
 
5872
 else
 
5873
    pkg_failed=untried
4306
5874
fi
4307
5875
 
 
5876
 
 
5877
 
4308
5878
if test $pkg_failed = yes; then
4309
 
        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"`
 
5879
 
 
5880
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
5881
        _pkg_short_errors_supported=yes
 
5882
else
 
5883
        _pkg_short_errors_supported=no
 
5884
fi
 
5885
        if test $_pkg_short_errors_supported = yes; then
 
5886
                APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt" 2>&1`
 
5887
        else
 
5888
                APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt" 2>&1`
 
5889
        fi
4310
5890
        # Put the nasty error message in config.log where it belongs
4311
 
        echo "$APPDEFS_PKG_ERRORS" 1>&5
4312
 
 
4313
 
        { { echo "$as_me:$LINENO: error: Package requirements (xt) were not met.
4314
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4315
 
installed software in a non-standard prefix.
4316
 
 
4317
 
Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
4318
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4319
 
more details." >&5
4320
 
echo "$as_me: error: Package requirements (xt) were not met.
4321
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
4322
 
installed software in a non-standard prefix.
4323
 
 
4324
 
Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
4325
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4326
 
more details." >&2;}
 
5891
        echo "$APPDEFS_PKG_ERRORS" >&5
 
5892
 
 
5893
        { { $as_echo "$as_me:$LINENO: error: Package requirements (xt) were not met:
 
5894
 
 
5895
$APPDEFS_PKG_ERRORS
 
5896
 
 
5897
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
5898
installed software in a non-standard prefix.
 
5899
 
 
5900
Alternatively, you may set the environment variables APPDEFS_CFLAGS
 
5901
and APPDEFS_LIBS to avoid the need to call pkg-config.
 
5902
See the pkg-config man page for more details.
 
5903
" >&5
 
5904
$as_echo "$as_me: error: Package requirements (xt) were not met:
 
5905
 
 
5906
$APPDEFS_PKG_ERRORS
 
5907
 
 
5908
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
5909
installed software in a non-standard prefix.
 
5910
 
 
5911
Alternatively, you may set the environment variables APPDEFS_CFLAGS
 
5912
and APPDEFS_LIBS to avoid the need to call pkg-config.
 
5913
See the pkg-config man page for more details.
 
5914
" >&2;}
4327
5915
   { (exit 1); exit 1; }; }
4328
5916
elif test $pkg_failed = untried; then
4329
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
5917
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5918
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5919
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4330
5920
is in your PATH or set the PKG_CONFIG environment variable to the full
4331
5921
path to pkg-config.
4332
5922
 
4333
 
Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
4334
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4335
 
more details.
 
5923
Alternatively, you may set the environment variables APPDEFS_CFLAGS
 
5924
and APPDEFS_LIBS to avoid the need to call pkg-config.
 
5925
See the pkg-config man page for more details.
4336
5926
 
4337
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
5927
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4338
5928
See \`config.log' for more details." >&5
4339
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
5929
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4340
5930
is in your PATH or set the PKG_CONFIG environment variable to the full
4341
5931
path to pkg-config.
4342
5932
 
4343
 
Alternatively you may set the APPDEFS_CFLAGS and APPDEFS_LIBS environment variables
4344
 
to avoid the need to call pkg-config.  See the pkg-config man page for
4345
 
more details.
 
5933
Alternatively, you may set the environment variables APPDEFS_CFLAGS
 
5934
and APPDEFS_LIBS to avoid the need to call pkg-config.
 
5935
See the pkg-config man page for more details.
4346
5936
 
4347
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
5937
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4348
5938
See \`config.log' for more details." >&2;}
4349
 
   { (exit 1); exit 1; }; }
 
5939
   { (exit 1); exit 1; }; }; }
4350
5940
else
4351
5941
        APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
4352
5942
        APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
4353
 
        { echo "$as_me:$LINENO: result: yes" >&5
4354
 
echo "${ECHO_T}yes" >&6; }
 
5943
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5944
$as_echo "yes" >&6; }
4355
5945
        :
4356
5946
fi
4357
 
appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
4358
 
 
4359
 
 
4360
 
# Make sure we can run config.sub.
4361
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4362
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4363
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4364
 
   { (exit 1); exit 1; }; }
4365
 
 
4366
 
{ echo "$as_me:$LINENO: checking build system type" >&5
4367
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4368
 
if test "${ac_cv_build+set}" = set; then
4369
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4370
 
else
4371
 
  ac_build_alias=$build_alias
4372
 
test "x$ac_build_alias" = x &&
4373
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4374
 
test "x$ac_build_alias" = x &&
4375
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4376
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4377
 
   { (exit 1); exit 1; }; }
4378
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4379
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4380
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4381
 
   { (exit 1); exit 1; }; }
4382
 
 
4383
 
fi
4384
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4385
 
echo "${ECHO_T}$ac_cv_build" >&6; }
4386
 
case $ac_cv_build in
4387
 
*-*-*) ;;
4388
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4389
 
echo "$as_me: error: invalid value of canonical build" >&2;}
4390
 
   { (exit 1); exit 1; }; };;
4391
 
esac
4392
 
build=$ac_cv_build
4393
 
ac_save_IFS=$IFS; IFS='-'
4394
 
set x $ac_cv_build
4395
 
shift
4396
 
build_cpu=$1
4397
 
build_vendor=$2
4398
 
shift; shift
4399
 
# Remember, the first character of IFS is used to create $*,
4400
 
# except with old shells:
4401
 
build_os=$*
4402
 
IFS=$ac_save_IFS
4403
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4404
 
 
4405
 
 
4406
 
{ echo "$as_me:$LINENO: checking host system type" >&5
4407
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4408
 
if test "${ac_cv_host+set}" = set; then
4409
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4410
 
else
4411
 
  if test "x$host_alias" = x; then
4412
 
  ac_cv_host=$ac_cv_build
4413
 
else
4414
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4415
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4416
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4417
 
   { (exit 1); exit 1; }; }
4418
 
fi
4419
 
 
4420
 
fi
4421
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4422
 
echo "${ECHO_T}$ac_cv_host" >&6; }
4423
 
case $ac_cv_host in
4424
 
*-*-*) ;;
4425
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4426
 
echo "$as_me: error: invalid value of canonical host" >&2;}
4427
 
   { (exit 1); exit 1; }; };;
4428
 
esac
4429
 
host=$ac_cv_host
4430
 
ac_save_IFS=$IFS; IFS='-'
4431
 
set x $ac_cv_host
4432
 
shift
4433
 
host_cpu=$1
4434
 
host_vendor=$2
4435
 
shift; shift
4436
 
# Remember, the first character of IFS is used to create $*,
4437
 
# except with old shells:
4438
 
host_os=$*
4439
 
IFS=$ac_save_IFS
4440
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4441
 
 
4442
 
 
4443
 
 
4444
 
 
4445
 
 
4446
 
if test x$APP_MAN_SUFFIX = x    ; then
4447
 
    APP_MAN_SUFFIX=1
4448
 
fi
4449
 
if test x$APP_MAN_DIR = x    ; then
4450
 
    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4451
 
fi
4452
 
 
4453
 
if test x$LIB_MAN_SUFFIX = x    ; then
4454
 
    LIB_MAN_SUFFIX=3
4455
 
fi
4456
 
if test x$LIB_MAN_DIR = x    ; then
4457
 
    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4458
 
fi
4459
 
 
4460
 
if test x$FILE_MAN_SUFFIX = x    ; then
4461
 
    case $host_os in
4462
 
        solaris*)       FILE_MAN_SUFFIX=4  ;;
4463
 
        *)              FILE_MAN_SUFFIX=5  ;;
4464
 
    esac
4465
 
fi
4466
 
if test x$FILE_MAN_DIR = x    ; then
4467
 
    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4468
 
fi
4469
 
 
4470
 
if test x$MISC_MAN_SUFFIX = x    ; then
4471
 
    case $host_os in
4472
 
        solaris*)       MISC_MAN_SUFFIX=5  ;;
4473
 
        *)              MISC_MAN_SUFFIX=7  ;;
4474
 
    esac
4475
 
fi
4476
 
if test x$MISC_MAN_DIR = x    ; then
4477
 
    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4478
 
fi
4479
 
 
4480
 
if test x$DRIVER_MAN_SUFFIX = x    ; then
4481
 
    case $host_os in
4482
 
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
4483
 
        *)              DRIVER_MAN_SUFFIX=4  ;;
4484
 
    esac
4485
 
fi
4486
 
if test x$DRIVER_MAN_DIR = x    ; then
4487
 
    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4488
 
fi
4489
 
 
4490
 
if test x$ADMIN_MAN_SUFFIX = x    ; then
4491
 
    case $host_os in
4492
 
        solaris*)       ADMIN_MAN_SUFFIX=1m ;;
4493
 
        *)              ADMIN_MAN_SUFFIX=8  ;;
4494
 
    esac
4495
 
fi
4496
 
if test x$ADMIN_MAN_DIR = x    ; then
4497
 
    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4498
 
fi
4499
 
 
4500
 
 
4501
 
 
4502
 
 
4503
 
 
4504
 
 
4505
 
 
4506
 
 
4507
 
 
4508
 
 
4509
 
 
4510
 
 
4511
 
 
4512
 
 
4513
 
 
4514
 
 
4515
 
 
4516
 
# Check whether --with-release-version was given.
4517
 
if test "${with_release_version+set}" = set; then
4518
 
  withval=$with_release_version; RELEASE_VERSION="$withval"
4519
 
else
4520
 
  RELEASE_VERSION=""
4521
 
fi
4522
 
 
4523
 
        if test "x$RELEASE_VERSION" != "x"; then
4524
 
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
4525
 
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4526
 
                { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4527
 
echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4528
 
        fi
4529
 
 
4530
 
cat >>confdefs.h <<_ACEOF
4531
 
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4532
 
_ACEOF
4533
 
 
4534
 
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
4535
 
        if test "x$PVM" = "x"; then
4536
 
                PVM="0"
4537
 
        fi
4538
 
 
4539
 
cat >>confdefs.h <<_ACEOF
4540
 
#define PACKAGE_VERSION_MINOR $PVM
4541
 
_ACEOF
4542
 
 
4543
 
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
4544
 
        if test "x$PVP" = "x"; then
4545
 
                PVP="0"
4546
 
        fi
4547
 
 
4548
 
cat >>confdefs.h <<_ACEOF
4549
 
#define PACKAGE_VERSION_PATCHLEVEL $PVP
4550
 
_ACEOF
 
5947
xt_appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
 
5948
 
 
5949
# Check whether --with-appdefaultdir was given.
 
5950
if test "${with_appdefaultdir+set}" = set; then
 
5951
  withval=$with_appdefaultdir; appdefaultdir="$withval"
 
5952
else
 
5953
  appdefaultdir="${xt_appdefaultdir}"
 
5954
fi
4551
5955
 
4552
5956
 
4553
5957
 
4580
5984
    case $ac_val in #(
4581
5985
    *${as_nl}*)
4582
5986
      case $ac_var in #(
4583
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4584
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
5987
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
5988
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4585
5989
      esac
4586
5990
      case $ac_var in #(
4587
5991
      _ | IFS | as_nl) ;; #(
 
5992
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4588
5993
      *) $as_unset $ac_var ;;
4589
5994
      esac ;;
4590
5995
    esac
4617
6022
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4618
6023
  if test -w "$cache_file"; then
4619
6024
    test "x$cache_file" != "x/dev/null" &&
4620
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4621
 
echo "$as_me: updating cache $cache_file" >&6;}
 
6025
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
6026
$as_echo "$as_me: updating cache $cache_file" >&6;}
4622
6027
    cat confcache >$cache_file
4623
6028
  else
4624
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4625
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
6029
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
6030
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4626
6031
  fi
4627
6032
fi
4628
6033
rm -f confcache
4638
6043
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4639
6044
  # 1. Remove the extension, and $U if already installed.
4640
6045
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4641
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
6046
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4642
6047
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4643
6048
  #    will be set to the directory where LIBOBJS objects are built.
4644
6049
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4649
6054
LTLIBOBJS=$ac_ltlibobjs
4650
6055
 
4651
6056
 
 
6057
 if test -n "$EXEEXT"; then
 
6058
  am__EXEEXT_TRUE=
 
6059
  am__EXEEXT_FALSE='#'
 
6060
else
 
6061
  am__EXEEXT_TRUE='#'
 
6062
  am__EXEEXT_FALSE=
 
6063
fi
 
6064
 
4652
6065
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4653
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
6066
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4654
6067
Usually this means the macro was only invoked conditionally." >&5
4655
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
6068
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4656
6069
Usually this means the macro was only invoked conditionally." >&2;}
4657
6070
   { (exit 1); exit 1; }; }
4658
6071
fi
4659
6072
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4660
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
6073
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4661
6074
Usually this means the macro was only invoked conditionally." >&5
4662
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
6075
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
4663
6076
Usually this means the macro was only invoked conditionally." >&2;}
4664
6077
   { (exit 1); exit 1; }; }
4665
6078
fi
4666
6079
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4667
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4668
 
Usually this means the macro was only invoked conditionally." >&5
4669
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4670
 
Usually this means the macro was only invoked conditionally." >&2;}
4671
 
   { (exit 1); exit 1; }; }
4672
 
fi
4673
 
if test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then
4674
 
  { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined.
4675
 
Usually this means the macro was only invoked conditionally." >&5
4676
 
echo "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined.
 
6080
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
6081
Usually this means the macro was only invoked conditionally." >&5
 
6082
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4677
6083
Usually this means the macro was only invoked conditionally." >&2;}
4678
6084
   { (exit 1); exit 1; }; }
4679
6085
fi
4680
6086
 
4681
6087
: ${CONFIG_STATUS=./config.status}
 
6088
ac_write_fail=0
4682
6089
ac_clean_files_save=$ac_clean_files
4683
6090
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4684
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4685
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4686
 
cat >$CONFIG_STATUS <<_ACEOF
 
6091
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
6092
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
6093
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4687
6094
#! $SHELL
4688
6095
# Generated by $as_me.
4689
6096
# Run this file to recreate the current configuration.
4696
6103
SHELL=\${CONFIG_SHELL-$SHELL}
4697
6104
_ACEOF
4698
6105
 
4699
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6106
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4700
6107
## --------------------- ##
4701
6108
## M4sh Initialization.  ##
4702
6109
## --------------------- ##
4706
6113
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4707
6114
  emulate sh
4708
6115
  NULLCMD=:
4709
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
6116
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4710
6117
  # is contrary to our usage.  Disable this feature.
4711
6118
  alias -g '${1+"$@"}'='"$@"'
4712
6119
  setopt NO_GLOB_SUBST
4728
6135
as_cr_digits='0123456789'
4729
6136
as_cr_alnum=$as_cr_Letters$as_cr_digits
4730
6137
 
 
6138
as_nl='
 
6139
'
 
6140
export as_nl
 
6141
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
6142
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
6143
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
6144
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
6145
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6146
  as_echo='printf %s\n'
 
6147
  as_echo_n='printf %s'
 
6148
else
 
6149
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
6150
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
6151
    as_echo_n='/usr/ucb/echo -n'
 
6152
  else
 
6153
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
6154
    as_echo_n_body='eval
 
6155
      arg=$1;
 
6156
      case $arg in
 
6157
      *"$as_nl"*)
 
6158
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
6159
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
6160
      esac;
 
6161
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
6162
    '
 
6163
    export as_echo_n_body
 
6164
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
6165
  fi
 
6166
  export as_echo_body
 
6167
  as_echo='sh -c $as_echo_body as_echo'
 
6168
fi
 
6169
 
4731
6170
# The user is always right.
4732
6171
if test "${PATH_SEPARATOR+set}" != set; then
4733
 
  echo "#! /bin/sh" >conf$$.sh
4734
 
  echo  "exit 0"   >>conf$$.sh
4735
 
  chmod +x conf$$.sh
4736
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4737
 
    PATH_SEPARATOR=';'
4738
 
  else
4739
 
    PATH_SEPARATOR=:
4740
 
  fi
4741
 
  rm -f conf$$.sh
 
6172
  PATH_SEPARATOR=:
 
6173
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
6174
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
6175
      PATH_SEPARATOR=';'
 
6176
  }
4742
6177
fi
4743
6178
 
4744
6179
# Support unset when possible.
4754
6189
# there to prevent editors from complaining about space-tab.
4755
6190
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4756
6191
# splitting by setting IFS to empty value.)
4757
 
as_nl='
4758
 
'
4759
6192
IFS=" ""        $as_nl"
4760
6193
 
4761
6194
# Find who we are.  Look in the path if we contain no directory separator.
4778
6211
  as_myself=$0
4779
6212
fi
4780
6213
if test ! -f "$as_myself"; then
4781
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
6214
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4782
6215
  { (exit 1); exit 1; }
4783
6216
fi
4784
6217
 
4791
6224
PS4='+ '
4792
6225
 
4793
6226
# NLS nuisances.
4794
 
for as_var in \
4795
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4796
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4797
 
  LC_TELEPHONE LC_TIME
4798
 
do
4799
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4800
 
    eval $as_var=C; export $as_var
4801
 
  else
4802
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4803
 
  fi
4804
 
done
 
6227
LC_ALL=C
 
6228
export LC_ALL
 
6229
LANGUAGE=C
 
6230
export LANGUAGE
4805
6231
 
4806
6232
# Required to use basename.
4807
6233
if expr a : '\(a\)' >/dev/null 2>&1 &&
4823
6249
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4824
6250
         X"$0" : 'X\(//\)$' \| \
4825
6251
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4826
 
echo X/"$0" |
 
6252
$as_echo X/"$0" |
4827
6253
    sed '/^.*\/\([^/][^/]*\)\/*$/{
4828
6254
            s//\1/
4829
6255
            q
4874
6300
      s/-\n.*//
4875
6301
    ' >$as_me.lineno &&
4876
6302
  chmod +x "$as_me.lineno" ||
4877
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
6303
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4878
6304
   { (exit 1); exit 1; }; }
4879
6305
 
4880
6306
  # Don't try to exec as it changes $[0], causing all sort of problems
4902
6328
*)
4903
6329
  ECHO_N='-n';;
4904
6330
esac
4905
 
 
4906
6331
if expr a : '\(a\)' >/dev/null 2>&1 &&
4907
6332
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4908
6333
  as_expr=expr
4915
6340
  rm -f conf$$.dir/conf$$.file
4916
6341
else
4917
6342
  rm -f conf$$.dir
4918
 
  mkdir conf$$.dir
 
6343
  mkdir conf$$.dir 2>/dev/null
4919
6344
fi
4920
 
echo >conf$$.file
4921
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
4922
 
  as_ln_s='ln -s'
4923
 
  # ... but there are two gotchas:
4924
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4925
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4926
 
  # In both cases, we have to default to `cp -p'.
4927
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
6345
if (echo >conf$$.file) 2>/dev/null; then
 
6346
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
6347
    as_ln_s='ln -s'
 
6348
    # ... but there are two gotchas:
 
6349
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
6350
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
6351
    # In both cases, we have to default to `cp -p'.
 
6352
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
6353
      as_ln_s='cp -p'
 
6354
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
6355
    as_ln_s=ln
 
6356
  else
4928
6357
    as_ln_s='cp -p'
4929
 
elif ln conf$$.file conf$$ 2>/dev/null; then
4930
 
  as_ln_s=ln
 
6358
  fi
4931
6359
else
4932
6360
  as_ln_s='cp -p'
4933
6361
fi
4952
6380
  as_test_x='
4953
6381
    eval sh -c '\''
4954
6382
      if test -d "$1"; then
4955
 
        test -d "$1/.";
 
6383
        test -d "$1/.";
4956
6384
      else
4957
6385
        case $1 in
4958
 
        -*)set "./$1";;
 
6386
        -*)set "./$1";;
4959
6387
        esac;
4960
6388
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4961
6389
        ???[sx]*):;;*)false;;esac;fi
4977
6405
# report actual input values of CONFIG_FILES etc. instead of their
4978
6406
# values after options handling.
4979
6407
ac_log="
4980
 
This file was extended by xclock $as_me 1.0.3, which was
4981
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
6408
This file was extended by xclock $as_me 1.0.4, which was
 
6409
generated by GNU Autoconf 2.63.  Invocation command line was
4982
6410
 
4983
6411
  CONFIG_FILES    = $CONFIG_FILES
4984
6412
  CONFIG_HEADERS  = $CONFIG_HEADERS
4991
6419
 
4992
6420
_ACEOF
4993
6421
 
4994
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6422
case $ac_config_files in *"
 
6423
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
6424
esac
 
6425
 
 
6426
case $ac_config_headers in *"
 
6427
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
6428
esac
 
6429
 
 
6430
 
 
6431
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4995
6432
# Files that config.status was made for.
4996
6433
config_files="$ac_config_files"
4997
6434
config_headers="$ac_config_headers"
4999
6436
 
5000
6437
_ACEOF
5001
6438
 
5002
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6439
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5003
6440
ac_cs_usage="\
5004
6441
\`$as_me' instantiates files from templates according to the
5005
6442
current configuration.
5006
6443
 
5007
 
Usage: $0 [OPTIONS] [FILE]...
 
6444
Usage: $0 [OPTION]... [FILE]...
5008
6445
 
5009
6446
  -h, --help       print this help, then exit
5010
6447
  -V, --version    print version number and configuration settings, then exit
5011
 
  -q, --quiet      do not print progress messages
 
6448
  -q, --quiet, --silent
 
6449
                   do not print progress messages
5012
6450
  -d, --debug      don't remove temporary files
5013
6451
      --recheck    update $as_me by reconfiguring in the same conditions
5014
 
  --file=FILE[:TEMPLATE]
5015
 
                   instantiate the configuration file FILE
5016
 
  --header=FILE[:TEMPLATE]
5017
 
                   instantiate the configuration header FILE
 
6452
      --file=FILE[:TEMPLATE]
 
6453
                   instantiate the configuration file FILE
 
6454
      --header=FILE[:TEMPLATE]
 
6455
                   instantiate the configuration header FILE
5018
6456
 
5019
6457
Configuration files:
5020
6458
$config_files
5028
6466
Report bugs to <bug-autoconf@gnu.org>."
5029
6467
 
5030
6468
_ACEOF
5031
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6469
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5032
6470
ac_cs_version="\\
5033
 
xclock config.status 1.0.3
5034
 
configured by $0, generated by GNU Autoconf 2.61,
5035
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
6471
xclock config.status 1.0.4
 
6472
configured by $0, generated by GNU Autoconf 2.63,
 
6473
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5036
6474
 
5037
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
6475
Copyright (C) 2008 Free Software Foundation, Inc.
5038
6476
This config.status script is free software; the Free Software Foundation
5039
6477
gives unlimited permission to copy, distribute and modify it."
5040
6478
 
5042
6480
srcdir='$srcdir'
5043
6481
INSTALL='$INSTALL'
5044
6482
MKDIR_P='$MKDIR_P'
 
6483
AWK='$AWK'
 
6484
test -n "\$AWK" || AWK=awk
5045
6485
_ACEOF
5046
6486
 
5047
 
cat >>$CONFIG_STATUS <<\_ACEOF
5048
 
# If no file are specified by the user, then we need to provide default
5049
 
# value.  By we need to know if files were specified by the user.
 
6487
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6488
# The default lists apply if the user does not specify any file.
5050
6489
ac_need_defaults=:
5051
6490
while test $# != 0
5052
6491
do
5068
6507
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5069
6508
    ac_cs_recheck=: ;;
5070
6509
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5071
 
    echo "$ac_cs_version"; exit ;;
 
6510
    $as_echo "$ac_cs_version"; exit ;;
5072
6511
  --debug | --debu | --deb | --de | --d | -d )
5073
6512
    debug=: ;;
5074
6513
  --file | --fil | --fi | --f )
5075
6514
    $ac_shift
5076
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
6515
    case $ac_optarg in
 
6516
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6517
    esac
 
6518
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5077
6519
    ac_need_defaults=false;;
5078
6520
  --header | --heade | --head | --hea )
5079
6521
    $ac_shift
5080
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
6522
    case $ac_optarg in
 
6523
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
6524
    esac
 
6525
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5081
6526
    ac_need_defaults=false;;
5082
6527
  --he | --h)
5083
6528
    # Conflict between --help and --header
5084
 
    { echo "$as_me: error: ambiguous option: $1
 
6529
    { $as_echo "$as_me: error: ambiguous option: $1
5085
6530
Try \`$0 --help' for more information." >&2
5086
6531
   { (exit 1); exit 1; }; };;
5087
6532
  --help | --hel | -h )
5088
 
    echo "$ac_cs_usage"; exit ;;
 
6533
    $as_echo "$ac_cs_usage"; exit ;;
5089
6534
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5090
6535
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5091
6536
    ac_cs_silent=: ;;
5092
6537
 
5093
6538
  # This is an error.
5094
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
6539
  -*) { $as_echo "$as_me: error: unrecognized option: $1
5095
6540
Try \`$0 --help' for more information." >&2
5096
6541
   { (exit 1); exit 1; }; } ;;
5097
6542
 
5110
6555
fi
5111
6556
 
5112
6557
_ACEOF
5113
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6558
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5114
6559
if \$ac_cs_recheck; then
5115
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5116
 
  CONFIG_SHELL=$SHELL
 
6560
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6561
  shift
 
6562
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
6563
  CONFIG_SHELL='$SHELL'
5117
6564
  export CONFIG_SHELL
5118
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
6565
  exec "\$@"
5119
6566
fi
5120
6567
 
5121
6568
_ACEOF
5122
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6569
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5123
6570
exec 5>>config.log
5124
6571
{
5125
6572
  echo
5126
6573
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5127
6574
## Running $as_me. ##
5128
6575
_ASBOX
5129
 
  echo "$ac_log"
 
6576
  $as_echo "$ac_log"
5130
6577
} >&5
5131
6578
 
5132
6579
_ACEOF
5133
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6580
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5134
6581
#
5135
6582
# INIT-COMMANDS
5136
6583
#
5138
6585
 
5139
6586
_ACEOF
5140
6587
 
5141
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6588
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5142
6589
 
5143
6590
# Handling of arguments.
5144
6591
for ac_config_target in $ac_config_targets
5148
6595
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5149
6596
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5150
6597
 
5151
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5152
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
6598
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
6599
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5153
6600
   { (exit 1); exit 1; }; };;
5154
6601
  esac
5155
6602
done
5190
6637
  (umask 077 && mkdir "$tmp")
5191
6638
} ||
5192
6639
{
5193
 
   echo "$me: cannot create a temporary directory in ." >&2
 
6640
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
5194
6641
   { (exit 1); exit 1; }
5195
6642
}
5196
6643
 
5197
 
#
5198
 
# Set up the sed scripts for CONFIG_FILES section.
5199
 
#
5200
 
 
5201
 
# No need to generate the scripts if there are no CONFIG_FILES.
5202
 
# This happens for instance when ./config.status config.h
 
6644
# Set up the scripts for CONFIG_FILES section.
 
6645
# No need to generate them if there are no CONFIG_FILES.
 
6646
# This happens for instance with `./config.status config.h'.
5203
6647
if test -n "$CONFIG_FILES"; then
5204
6648
 
5205
 
_ACEOF
5206
 
 
5207
 
 
5208
 
 
5209
 
ac_delim='%!_!# '
5210
 
for ac_last_try in false false false false false :; do
5211
 
  cat >conf$$subs.sed <<_ACEOF
5212
 
SHELL!$SHELL$ac_delim
5213
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5214
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5215
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5216
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5217
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5218
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5219
 
exec_prefix!$exec_prefix$ac_delim
5220
 
prefix!$prefix$ac_delim
5221
 
program_transform_name!$program_transform_name$ac_delim
5222
 
bindir!$bindir$ac_delim
5223
 
sbindir!$sbindir$ac_delim
5224
 
libexecdir!$libexecdir$ac_delim
5225
 
datarootdir!$datarootdir$ac_delim
5226
 
datadir!$datadir$ac_delim
5227
 
sysconfdir!$sysconfdir$ac_delim
5228
 
sharedstatedir!$sharedstatedir$ac_delim
5229
 
localstatedir!$localstatedir$ac_delim
5230
 
includedir!$includedir$ac_delim
5231
 
oldincludedir!$oldincludedir$ac_delim
5232
 
docdir!$docdir$ac_delim
5233
 
infodir!$infodir$ac_delim
5234
 
htmldir!$htmldir$ac_delim
5235
 
dvidir!$dvidir$ac_delim
5236
 
pdfdir!$pdfdir$ac_delim
5237
 
psdir!$psdir$ac_delim
5238
 
libdir!$libdir$ac_delim
5239
 
localedir!$localedir$ac_delim
5240
 
mandir!$mandir$ac_delim
5241
 
DEFS!$DEFS$ac_delim
5242
 
ECHO_C!$ECHO_C$ac_delim
5243
 
ECHO_N!$ECHO_N$ac_delim
5244
 
ECHO_T!$ECHO_T$ac_delim
5245
 
LIBS!$LIBS$ac_delim
5246
 
build_alias!$build_alias$ac_delim
5247
 
host_alias!$host_alias$ac_delim
5248
 
target_alias!$target_alias$ac_delim
5249
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5250
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5251
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
5252
 
am__isrc!$am__isrc$ac_delim
5253
 
CYGPATH_W!$CYGPATH_W$ac_delim
5254
 
PACKAGE!$PACKAGE$ac_delim
5255
 
VERSION!$VERSION$ac_delim
5256
 
ACLOCAL!$ACLOCAL$ac_delim
5257
 
AUTOCONF!$AUTOCONF$ac_delim
5258
 
AUTOMAKE!$AUTOMAKE$ac_delim
5259
 
AUTOHEADER!$AUTOHEADER$ac_delim
5260
 
MAKEINFO!$MAKEINFO$ac_delim
5261
 
install_sh!$install_sh$ac_delim
5262
 
STRIP!$STRIP$ac_delim
5263
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5264
 
mkdir_p!$mkdir_p$ac_delim
5265
 
AWK!$AWK$ac_delim
5266
 
SET_MAKE!$SET_MAKE$ac_delim
5267
 
am__leading_dot!$am__leading_dot$ac_delim
5268
 
AMTAR!$AMTAR$ac_delim
5269
 
am__tar!$am__tar$ac_delim
5270
 
am__untar!$am__untar$ac_delim
5271
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
5272
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
5273
 
MAINT!$MAINT$ac_delim
5274
 
CC!$CC$ac_delim
5275
 
CFLAGS!$CFLAGS$ac_delim
5276
 
LDFLAGS!$LDFLAGS$ac_delim
5277
 
CPPFLAGS!$CPPFLAGS$ac_delim
5278
 
ac_ct_CC!$ac_ct_CC$ac_delim
5279
 
EXEEXT!$EXEEXT$ac_delim
5280
 
OBJEXT!$OBJEXT$ac_delim
5281
 
DEPDIR!$DEPDIR$ac_delim
5282
 
am__include!$am__include$ac_delim
5283
 
am__quote!$am__quote$ac_delim
5284
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5285
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5286
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5287
 
CCDEPMODE!$CCDEPMODE$ac_delim
5288
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5289
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5290
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
5291
 
XCLOCK_X11_CFLAGS!$XCLOCK_X11_CFLAGS$ac_delim
5292
 
XCLOCK_X11_LIBS!$XCLOCK_X11_LIBS$ac_delim
5293
 
TMP_XAW_CFLAGS!$TMP_XAW_CFLAGS$ac_delim
5294
 
TMP_XAW_LIBS!$TMP_XAW_LIBS$ac_delim
5295
 
XAW_USE_XPRINT_TRUE!$XAW_USE_XPRINT_TRUE$ac_delim
5296
 
XAW_USE_XPRINT_FALSE!$XAW_USE_XPRINT_FALSE$ac_delim
5297
 
XFT_CFLAGS!$XFT_CFLAGS$ac_delim
5298
 
XFT_LIBS!$XFT_LIBS$ac_delim
5299
 
XKB_CFLAGS!$XKB_CFLAGS$ac_delim
5300
 
XKB_LIBS!$XKB_LIBS$ac_delim
5301
 
XCLOCK_CFLAGS!$XCLOCK_CFLAGS$ac_delim
5302
 
XCLOCK_LIBS!$XCLOCK_LIBS$ac_delim
5303
 
APPDEFS_CFLAGS!$APPDEFS_CFLAGS$ac_delim
5304
 
APPDEFS_LIBS!$APPDEFS_LIBS$ac_delim
5305
 
appdefaultdir!$appdefaultdir$ac_delim
5306
 
build!$build$ac_delim
5307
 
build_cpu!$build_cpu$ac_delim
5308
 
build_vendor!$build_vendor$ac_delim
5309
 
_ACEOF
5310
 
 
5311
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
5312
 
    break
5313
 
  elif $ac_last_try; then
5314
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5315
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5316
 
   { (exit 1); exit 1; }; }
5317
 
  else
5318
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5319
 
  fi
5320
 
done
5321
 
 
5322
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5323
 
if test -n "$ac_eof"; then
5324
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5325
 
  ac_eof=`expr $ac_eof + 1`
5326
 
fi
5327
 
 
5328
 
cat >>$CONFIG_STATUS <<_ACEOF
5329
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5330
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5331
 
_ACEOF
5332
 
sed '
5333
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5334
 
s/^/s,@/; s/!/@,|#_!!_#|/
5335
 
:n
5336
 
t n
5337
 
s/'"$ac_delim"'$/,g/; t
5338
 
s/$/\\/; p
5339
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5340
 
' >>$CONFIG_STATUS <conf$$subs.sed
5341
 
rm -f conf$$subs.sed
5342
 
cat >>$CONFIG_STATUS <<_ACEOF
5343
 
CEOF$ac_eof
5344
 
_ACEOF
5345
 
 
5346
 
 
5347
 
ac_delim='%!_!# '
5348
 
for ac_last_try in false false false false false :; do
5349
 
  cat >conf$$subs.sed <<_ACEOF
5350
 
build_os!$build_os$ac_delim
5351
 
host!$host$ac_delim
5352
 
host_cpu!$host_cpu$ac_delim
5353
 
host_vendor!$host_vendor$ac_delim
5354
 
host_os!$host_os$ac_delim
5355
 
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
5356
 
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
5357
 
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
5358
 
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
5359
 
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
5360
 
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
5361
 
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
5362
 
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
5363
 
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
5364
 
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
5365
 
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
5366
 
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
5367
 
LIBOBJS!$LIBOBJS$ac_delim
5368
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
5369
 
_ACEOF
5370
 
 
5371
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
5372
 
    break
5373
 
  elif $ac_last_try; then
5374
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5375
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5376
 
   { (exit 1); exit 1; }; }
5377
 
  else
5378
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5379
 
  fi
5380
 
done
5381
 
 
5382
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5383
 
if test -n "$ac_eof"; then
5384
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5385
 
  ac_eof=`expr $ac_eof + 1`
5386
 
fi
5387
 
 
5388
 
cat >>$CONFIG_STATUS <<_ACEOF
5389
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
5390
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5391
 
_ACEOF
5392
 
sed '
5393
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5394
 
s/^/s,@/; s/!/@,|#_!!_#|/
5395
 
:n
5396
 
t n
5397
 
s/'"$ac_delim"'$/,g/; t
5398
 
s/$/\\/; p
5399
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5400
 
' >>$CONFIG_STATUS <conf$$subs.sed
5401
 
rm -f conf$$subs.sed
5402
 
cat >>$CONFIG_STATUS <<_ACEOF
5403
 
:end
5404
 
s/|#_!!_#|//g
5405
 
CEOF$ac_eof
5406
 
_ACEOF
5407
 
 
 
6649
 
 
6650
ac_cr='
 
 
b"'"
 
6651
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
6652
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
6653
  ac_cs_awk_cr='\\r'
 
6654
else
 
6655
  ac_cs_awk_cr=$ac_cr
 
6656
fi
 
6657
 
 
6658
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
6659
_ACEOF
 
6660
 
 
6661
 
 
6662
{
 
6663
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
6664
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
6665
  echo "_ACEOF"
 
6666
} >conf$$subs.sh ||
 
6667
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6668
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6669
   { (exit 1); exit 1; }; }
 
6670
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
6671
ac_delim='%!_!# '
 
6672
for ac_last_try in false false false false false :; do
 
6673
  . ./conf$$subs.sh ||
 
6674
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6675
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6676
   { (exit 1); exit 1; }; }
 
6677
 
 
6678
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
6679
  if test $ac_delim_n = $ac_delim_num; then
 
6680
    break
 
6681
  elif $ac_last_try; then
 
6682
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
6683
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
6684
   { (exit 1); exit 1; }; }
 
6685
  else
 
6686
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
6687
  fi
 
6688
done
 
6689
rm -f conf$$subs.sh
 
6690
 
 
6691
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6692
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
6693
_ACEOF
 
6694
sed -n '
 
6695
h
 
6696
s/^/S["/; s/!.*/"]=/
 
6697
p
 
6698
g
 
6699
s/^[^!]*!//
 
6700
:repl
 
6701
t repl
 
6702
s/'"$ac_delim"'$//
 
6703
t delim
 
6704
:nl
 
6705
h
 
6706
s/\(.\{148\}\).*/\1/
 
6707
t more1
 
6708
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
6709
p
 
6710
n
 
6711
b repl
 
6712
:more1
 
6713
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
6714
p
 
6715
g
 
6716
s/.\{148\}//
 
6717
t nl
 
6718
:delim
 
6719
h
 
6720
s/\(.\{148\}\).*/\1/
 
6721
t more2
 
6722
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
6723
p
 
6724
b
 
6725
:more2
 
6726
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
6727
p
 
6728
g
 
6729
s/.\{148\}//
 
6730
t delim
 
6731
' <conf$$subs.awk | sed '
 
6732
/^[^""]/{
 
6733
  N
 
6734
  s/\n//
 
6735
}
 
6736
' >>$CONFIG_STATUS || ac_write_fail=1
 
6737
rm -f conf$$subs.awk
 
6738
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6739
_ACAWK
 
6740
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
6741
  for (key in S) S_is_set[key] = 1
 
6742
  FS = ""
 
6743
 
 
6744
}
 
6745
{
 
6746
  line = $ 0
 
6747
  nfields = split(line, field, "@")
 
6748
  substed = 0
 
6749
  len = length(field[1])
 
6750
  for (i = 2; i < nfields; i++) {
 
6751
    key = field[i]
 
6752
    keylen = length(key)
 
6753
    if (S_is_set[key]) {
 
6754
      value = S[key]
 
6755
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
6756
      len += length(value) + length(field[++i])
 
6757
      substed = 1
 
6758
    } else
 
6759
      len += 1 + keylen
 
6760
  }
 
6761
 
 
6762
  print line
 
6763
}
 
6764
 
 
6765
_ACAWK
 
6766
_ACEOF
 
6767
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6768
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
6769
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
6770
else
 
6771
  cat
 
6772
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
6773
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
6774
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
6775
   { (exit 1); exit 1; }; }
 
6776
_ACEOF
5408
6777
 
5409
6778
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5410
6779
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5421
6790
}'
5422
6791
fi
5423
6792
 
5424
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6793
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5425
6794
fi # test -n "$CONFIG_FILES"
5426
6795
 
5427
 
 
5428
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
6796
# Set up the scripts for CONFIG_HEADERS section.
 
6797
# No need to generate them if there are no CONFIG_HEADERS.
 
6798
# This happens for instance with `./config.status Makefile'.
 
6799
if test -n "$CONFIG_HEADERS"; then
 
6800
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
6801
BEGIN {
 
6802
_ACEOF
 
6803
 
 
6804
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
6805
# here-document in config.status, that substitutes the proper values into
 
6806
# config.h.in to produce config.h.
 
6807
 
 
6808
# Create a delimiter string that does not exist in confdefs.h, to ease
 
6809
# handling of long lines.
 
6810
ac_delim='%!_!# '
 
6811
for ac_last_try in false false :; do
 
6812
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
6813
  if test -z "$ac_t"; then
 
6814
    break
 
6815
  elif $ac_last_try; then
 
6816
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
6817
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
6818
   { (exit 1); exit 1; }; }
 
6819
  else
 
6820
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
6821
  fi
 
6822
done
 
6823
 
 
6824
# For the awk script, D is an array of macro values keyed by name,
 
6825
# likewise P contains macro parameters if any.  Preserve backslash
 
6826
# newline sequences.
 
6827
 
 
6828
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
6829
sed -n '
 
6830
s/.\{148\}/&'"$ac_delim"'/g
 
6831
t rset
 
6832
:rset
 
6833
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
6834
t def
 
6835
d
 
6836
:def
 
6837
s/\\$//
 
6838
t bsnl
 
6839
s/["\\]/\\&/g
 
6840
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
6841
D["\1"]=" \3"/p
 
6842
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
6843
d
 
6844
:bsnl
 
6845
s/["\\]/\\&/g
 
6846
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
6847
D["\1"]=" \3\\\\\\n"\\/p
 
6848
t cont
 
6849
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
6850
t cont
 
6851
d
 
6852
:cont
 
6853
n
 
6854
s/.\{148\}/&'"$ac_delim"'/g
 
6855
t clear
 
6856
:clear
 
6857
s/\\$//
 
6858
t bsnlc
 
6859
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
6860
d
 
6861
:bsnlc
 
6862
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
6863
b cont
 
6864
' <confdefs.h | sed '
 
6865
s/'"$ac_delim"'/"\\\
 
6866
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
6867
 
 
6868
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
6869
  for (key in D) D_is_set[key] = 1
 
6870
  FS = ""
 
6871
}
 
6872
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
6873
  line = \$ 0
 
6874
  split(line, arg, " ")
 
6875
  if (arg[1] == "#") {
 
6876
    defundef = arg[2]
 
6877
    mac1 = arg[3]
 
6878
  } else {
 
6879
    defundef = substr(arg[1], 2)
 
6880
    mac1 = arg[2]
 
6881
  }
 
6882
  split(mac1, mac2, "(") #)
 
6883
  macro = mac2[1]
 
6884
  prefix = substr(line, 1, index(line, defundef) - 1)
 
6885
  if (D_is_set[macro]) {
 
6886
    # Preserve the white space surrounding the "#".
 
6887
    print prefix "define", macro P[macro] D[macro]
 
6888
    next
 
6889
  } else {
 
6890
    # Replace #undef with comments.  This is necessary, for example,
 
6891
    # in the case of _POSIX_SOURCE, which is predefined and required
 
6892
    # on some systems where configure will not decide to define it.
 
6893
    if (defundef == "undef") {
 
6894
      print "/*", prefix defundef, macro, "*/"
 
6895
      next
 
6896
    }
 
6897
  }
 
6898
}
 
6899
{ print }
 
6900
_ACAWK
 
6901
_ACEOF
 
6902
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
6903
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
6904
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
6905
   { (exit 1); exit 1; }; }
 
6906
fi # test -n "$CONFIG_HEADERS"
 
6907
 
 
6908
 
 
6909
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
6910
shift
 
6911
for ac_tag
5429
6912
do
5430
6913
  case $ac_tag in
5431
6914
  :[FHLC]) ac_mode=$ac_tag; continue;;
5432
6915
  esac
5433
6916
  case $ac_mode$ac_tag in
5434
6917
  :[FHL]*:*);;
5435
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5436
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
6918
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
6919
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5437
6920
   { (exit 1); exit 1; }; };;
5438
6921
  :[FH]-) ac_tag=-:-;;
5439
6922
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5462
6945
           [\\/$]*) false;;
5463
6946
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5464
6947
           esac ||
5465
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5466
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
6948
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
6949
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5467
6950
   { (exit 1); exit 1; }; };;
5468
6951
      esac
5469
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
6952
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
6953
      ac_file_inputs="$ac_file_inputs '$ac_f'"
5470
6954
    done
5471
6955
 
5472
6956
    # Let's still pretend it is `configure' which instantiates (i.e., don't
5473
6957
    # use $as_me), people would be surprised to read:
5474
6958
    #    /* config.h.  Generated by config.status.  */
5475
 
    configure_input="Generated from "`IFS=:
5476
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
6959
    configure_input='Generated from '`
 
6960
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
6961
        `' by configure.'
5477
6962
    if test x"$ac_file" != x-; then
5478
6963
      configure_input="$ac_file.  $configure_input"
5479
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
5480
 
echo "$as_me: creating $ac_file" >&6;}
 
6964
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
6965
$as_echo "$as_me: creating $ac_file" >&6;}
5481
6966
    fi
 
6967
    # Neutralize special characters interpreted by sed in replacement strings.
 
6968
    case $configure_input in #(
 
6969
    *\&* | *\|* | *\\* )
 
6970
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
6971
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
6972
    *) ac_sed_conf_input=$configure_input;;
 
6973
    esac
5482
6974
 
5483
6975
    case $ac_tag in
5484
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
6976
    *:-:* | *:-) cat >"$tmp/stdin" \
 
6977
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
6978
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
6979
   { (exit 1); exit 1; }; } ;;
5485
6980
    esac
5486
6981
    ;;
5487
6982
  esac
5491
6986
         X"$ac_file" : 'X\(//\)[^/]' \| \
5492
6987
         X"$ac_file" : 'X\(//\)$' \| \
5493
6988
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5494
 
echo X"$ac_file" |
 
6989
$as_echo X"$ac_file" |
5495
6990
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5496
6991
            s//\1/
5497
6992
            q
5517
7012
    as_dirs=
5518
7013
    while :; do
5519
7014
      case $as_dir in #(
5520
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
7015
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5521
7016
      *) as_qdir=$as_dir;;
5522
7017
      esac
5523
7018
      as_dirs="'$as_qdir' $as_dirs"
5526
7021
         X"$as_dir" : 'X\(//\)[^/]' \| \
5527
7022
         X"$as_dir" : 'X\(//\)$' \| \
5528
7023
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5529
 
echo X"$as_dir" |
 
7024
$as_echo X"$as_dir" |
5530
7025
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5531
7026
            s//\1/
5532
7027
            q
5547
7042
      test -d "$as_dir" && break
5548
7043
    done
5549
7044
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5550
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5551
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
7045
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
7046
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5552
7047
   { (exit 1); exit 1; }; }; }
5553
7048
  ac_builddir=.
5554
7049
 
5555
7050
case "$ac_dir" in
5556
7051
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5557
7052
*)
5558
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
7053
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5559
7054
  # A ".." for each directory in $ac_dir_suffix.
5560
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
7055
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5561
7056
  case $ac_top_builddir_sub in
5562
7057
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5563
7058
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5602
7097
  esac
5603
7098
_ACEOF
5604
7099
 
5605
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7100
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5606
7101
# If the template does not know about datarootdir, expand it.
5607
7102
# FIXME: This hack should be removed a few years after 2.60.
5608
7103
ac_datarootdir_hack=; ac_datarootdir_seen=
5609
7104
 
5610
 
case `sed -n '/datarootdir/ {
 
7105
ac_sed_dataroot='
 
7106
/datarootdir/ {
5611
7107
  p
5612
7108
  q
5613
7109
}
5616
7112
/@infodir@/p
5617
7113
/@localedir@/p
5618
7114
/@mandir@/p
5619
 
' $ac_file_inputs` in
 
7115
'
 
7116
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5620
7117
*datarootdir*) ac_datarootdir_seen=yes;;
5621
7118
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5622
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5623
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
7119
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
7120
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5624
7121
_ACEOF
5625
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7122
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5626
7123
  ac_datarootdir_hack='
5627
7124
  s&@datadir@&$datadir&g
5628
7125
  s&@docdir@&$docdir&g
5636
7133
# Neutralize VPATH when `$srcdir' = `.'.
5637
7134
# Shell code in configure.ac might set extrasub.
5638
7135
# FIXME: do we really want to maintain this feature?
5639
 
cat >>$CONFIG_STATUS <<_ACEOF
5640
 
  sed "$ac_vpsub
 
7136
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7137
ac_sed_extra="$ac_vpsub
5641
7138
$extrasub
5642
7139
_ACEOF
5643
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7140
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5644
7141
:t
5645
7142
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5646
 
s&@configure_input@&$configure_input&;t t
 
7143
s|@configure_input@|$ac_sed_conf_input|;t t
5647
7144
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
7145
s&@top_build_prefix@&$ac_top_build_prefix&;t t
5648
7146
s&@srcdir@&$ac_srcdir&;t t
5649
7147
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5650
7148
s&@top_srcdir@&$ac_top_srcdir&;t t
5655
7153
s&@INSTALL@&$ac_INSTALL&;t t
5656
7154
s&@MKDIR_P@&$ac_MKDIR_P&;t t
5657
7155
$ac_datarootdir_hack
5658
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
7156
"
 
7157
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
7158
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7159
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7160
   { (exit 1); exit 1; }; }
5659
7161
 
5660
7162
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5661
7163
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5662
7164
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5663
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7165
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5664
7166
which seems to be undefined.  Please make sure it is defined." >&5
5665
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7167
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5666
7168
which seems to be undefined.  Please make sure it is defined." >&2;}
5667
7169
 
5668
7170
  rm -f "$tmp/stdin"
5669
7171
  case $ac_file in
5670
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
5671
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5672
 
  esac
 
7172
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
7173
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
7174
  esac \
 
7175
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7176
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7177
   { (exit 1); exit 1; }; }
5673
7178
 ;;
5674
7179
  :H)
5675
7180
  #
5676
7181
  # CONFIG_HEADER
5677
7182
  #
5678
 
_ACEOF
5679
 
 
5680
 
# Transform confdefs.h into a sed script `conftest.defines', that
5681
 
# substitutes the proper values into config.h.in to produce config.h.
5682
 
rm -f conftest.defines conftest.tail
5683
 
# First, append a space to every undef/define line, to ease matching.
5684
 
echo 's/$/ /' >conftest.defines
5685
 
# Then, protect against being on the right side of a sed subst, or in
5686
 
# an unquoted here document, in config.status.  If some macros were
5687
 
# called several times there might be several #defines for the same
5688
 
# symbol, which is useless.  But do not sort them, since the last
5689
 
# AC_DEFINE must be honored.
5690
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5691
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5692
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
5693
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
5694
 
# just an empty string.
5695
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
5696
 
ac_dB='\\)[      (].*,\\1define\\2'
5697
 
ac_dC=' '
5698
 
ac_dD=' ,'
5699
 
 
5700
 
uniq confdefs.h |
5701
 
  sed -n '
5702
 
        t rset
5703
 
        :rset
5704
 
        s/^[     ]*#[    ]*define[       ][      ]*//
5705
 
        t ok
5706
 
        d
5707
 
        :ok
5708
 
        s/[\\&,]/\\&/g
5709
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5710
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5711
 
  ' >>conftest.defines
5712
 
 
5713
 
# Remove the space that was appended to ease matching.
5714
 
# Then replace #undef with comments.  This is necessary, for
5715
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
5716
 
# on some systems where configure will not decide to define it.
5717
 
# (The regexp can be short, since the line contains either #define or #undef.)
5718
 
echo 's/ $//
5719
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
5720
 
 
5721
 
# Break up conftest.defines:
5722
 
ac_max_sed_lines=50
5723
 
 
5724
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5725
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5726
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5727
 
# et cetera.
5728
 
ac_in='$ac_file_inputs'
5729
 
ac_out='"$tmp/out1"'
5730
 
ac_nxt='"$tmp/out2"'
5731
 
 
5732
 
while :
5733
 
do
5734
 
  # Write a here document:
5735
 
    cat >>$CONFIG_STATUS <<_ACEOF
5736
 
    # First, check the format of the line:
5737
 
    cat >"\$tmp/defines.sed" <<\\CEOF
5738
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
5739
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
5740
 
b
5741
 
:def
5742
 
_ACEOF
5743
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5744
 
  echo 'CEOF
5745
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5746
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5747
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5748
 
  grep . conftest.tail >/dev/null || break
5749
 
  rm -f conftest.defines
5750
 
  mv conftest.tail conftest.defines
5751
 
done
5752
 
rm -f conftest.defines conftest.tail
5753
 
 
5754
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
5755
 
cat >>$CONFIG_STATUS <<\_ACEOF
5756
7183
  if test x"$ac_file" != x-; then
5757
 
    echo "/* $configure_input  */" >"$tmp/config.h"
5758
 
    cat "$ac_result" >>"$tmp/config.h"
5759
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5760
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5761
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
7184
    {
 
7185
      $as_echo "/* $configure_input  */" \
 
7186
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
7187
    } >"$tmp/config.h" \
 
7188
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7189
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7190
   { (exit 1); exit 1; }; }
 
7191
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
7192
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
7193
$as_echo "$as_me: $ac_file is unchanged" >&6;}
5762
7194
    else
5763
 
      rm -f $ac_file
5764
 
      mv "$tmp/config.h" $ac_file
 
7195
      rm -f "$ac_file"
 
7196
      mv "$tmp/config.h" "$ac_file" \
 
7197
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7198
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7199
   { (exit 1); exit 1; }; }
5765
7200
    fi
5766
7201
  else
5767
 
    echo "/* $configure_input  */"
5768
 
    cat "$ac_result"
 
7202
    $as_echo "/* $configure_input  */" \
 
7203
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
7204
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
7205
$as_echo "$as_me: error: could not create -" >&2;}
 
7206
   { (exit 1); exit 1; }; }
5769
7207
  fi
5770
 
  rm -f "$tmp/out12"
5771
 
# Compute $ac_file's index in $config_headers.
 
7208
# Compute "$ac_file"'s index in $config_headers.
 
7209
_am_arg="$ac_file"
5772
7210
_am_stamp_count=1
5773
7211
for _am_header in $config_headers :; do
5774
7212
  case $_am_header in
5775
 
    $ac_file | $ac_file:* )
 
7213
    $_am_arg | $_am_arg:* )
5776
7214
      break ;;
5777
7215
    * )
5778
7216
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5779
7217
  esac
5780
7218
done
5781
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5782
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5783
 
         X$ac_file : 'X\(//\)[^/]' \| \
5784
 
         X$ac_file : 'X\(//\)$' \| \
5785
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5786
 
echo X$ac_file |
 
7219
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
7220
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
7221
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
7222
         X"$_am_arg" : 'X\(//\)$' \| \
 
7223
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
7224
$as_echo X"$_am_arg" |
5787
7225
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5788
7226
            s//\1/
5789
7227
            q
5803
7241
          s/.*/./; q'`/stamp-h$_am_stamp_count
5804
7242
 ;;
5805
7243
 
5806
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5807
 
echo "$as_me: executing $ac_file commands" >&6;}
 
7244
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
7245
$as_echo "$as_me: executing $ac_file commands" >&6;}
5808
7246
 ;;
5809
7247
  esac
5810
7248
 
5811
7249
 
5812
7250
  case $ac_file$ac_mode in
5813
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5814
 
  # Strip MF so we end up with the name of the file.
5815
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
5816
 
  # Check whether this is an Automake generated Makefile or not.
5817
 
  # We used to match only the files named `Makefile.in', but
5818
 
  # some people rename them; so instead we look at the file content.
5819
 
  # Grep'ing the first line is not enough: some people post-process
5820
 
  # each Makefile.in and add a new line on top of each file to say so.
5821
 
  # Grep'ing the whole file is not good either: AIX grep has a line
5822
 
  # limit of 2048, but all sed's we know have understand at least 4000.
5823
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
5824
 
    dirpart=`$as_dirname -- "$mf" ||
 
7251
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
7252
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
7253
  # are listed without --file.  Let's play safe and only enable the eval
 
7254
  # if we detect the quoting.
 
7255
  case $CONFIG_FILES in
 
7256
  *\'*) eval set x "$CONFIG_FILES" ;;
 
7257
  *)   set x $CONFIG_FILES ;;
 
7258
  esac
 
7259
  shift
 
7260
  for mf
 
7261
  do
 
7262
    # Strip MF so we end up with the name of the file.
 
7263
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
7264
    # Check whether this is an Automake generated Makefile or not.
 
7265
    # We used to match only the files named `Makefile.in', but
 
7266
    # some people rename them; so instead we look at the file content.
 
7267
    # Grep'ing the first line is not enough: some people post-process
 
7268
    # each Makefile.in and add a new line on top of each file to say so.
 
7269
    # Grep'ing the whole file is not good either: AIX grep has a line
 
7270
    # limit of 2048, but all sed's we know have understand at least 4000.
 
7271
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
7272
      dirpart=`$as_dirname -- "$mf" ||
5825
7273
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5826
7274
         X"$mf" : 'X\(//\)[^/]' \| \
5827
7275
         X"$mf" : 'X\(//\)$' \| \
5828
7276
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5829
 
echo X"$mf" |
 
7277
$as_echo X"$mf" |
5830
7278
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5831
7279
            s//\1/
5832
7280
            q
5844
7292
            q
5845
7293
          }
5846
7294
          s/.*/./; q'`
5847
 
  else
5848
 
    continue
5849
 
  fi
5850
 
  # Extract the definition of DEPDIR, am__include, and am__quote
5851
 
  # from the Makefile without running `make'.
5852
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5853
 
  test -z "$DEPDIR" && continue
5854
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
5855
 
  test -z "am__include" && continue
5856
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5857
 
  # When using ansi2knr, U may be empty or an underscore; expand it
5858
 
  U=`sed -n 's/^U = //p' < "$mf"`
5859
 
  # Find all dependency output files, they are included files with
5860
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
5861
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
5862
 
  # expansion.
5863
 
  for file in `sed -n "
5864
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5865
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5866
 
    # Make sure the directory exists.
5867
 
    test -f "$dirpart/$file" && continue
5868
 
    fdir=`$as_dirname -- "$file" ||
 
7295
    else
 
7296
      continue
 
7297
    fi
 
7298
    # Extract the definition of DEPDIR, am__include, and am__quote
 
7299
    # from the Makefile without running `make'.
 
7300
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
7301
    test -z "$DEPDIR" && continue
 
7302
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
7303
    test -z "am__include" && continue
 
7304
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
7305
    # When using ansi2knr, U may be empty or an underscore; expand it
 
7306
    U=`sed -n 's/^U = //p' < "$mf"`
 
7307
    # Find all dependency output files, they are included files with
 
7308
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
7309
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
7310
    # expansion.
 
7311
    for file in `sed -n "
 
7312
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
7313
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
7314
      # Make sure the directory exists.
 
7315
      test -f "$dirpart/$file" && continue
 
7316
      fdir=`$as_dirname -- "$file" ||
5869
7317
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5870
7318
         X"$file" : 'X\(//\)[^/]' \| \
5871
7319
         X"$file" : 'X\(//\)$' \| \
5872
7320
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5873
 
echo X"$file" |
 
7321
$as_echo X"$file" |
5874
7322
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5875
7323
            s//\1/
5876
7324
            q
5888
7336
            q
5889
7337
          }
5890
7338
          s/.*/./; q'`
5891
 
    { as_dir=$dirpart/$fdir
 
7339
      { as_dir=$dirpart/$fdir
5892
7340
  case $as_dir in #(
5893
7341
  -*) as_dir=./$as_dir;;
5894
7342
  esac
5896
7344
    as_dirs=
5897
7345
    while :; do
5898
7346
      case $as_dir in #(
5899
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
7347
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5900
7348
      *) as_qdir=$as_dir;;
5901
7349
      esac
5902
7350
      as_dirs="'$as_qdir' $as_dirs"
5905
7353
         X"$as_dir" : 'X\(//\)[^/]' \| \
5906
7354
         X"$as_dir" : 'X\(//\)$' \| \
5907
7355
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5908
 
echo X"$as_dir" |
 
7356
$as_echo X"$as_dir" |
5909
7357
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5910
7358
            s//\1/
5911
7359
            q
5926
7374
      test -d "$as_dir" && break
5927
7375
    done
5928
7376
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5929
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5930
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
7377
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
7378
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5931
7379
   { (exit 1); exit 1; }; }; }
5932
 
    # echo "creating $dirpart/$file"
5933
 
    echo '# dummy' > "$dirpart/$file"
 
7380
      # echo "creating $dirpart/$file"
 
7381
      echo '# dummy' > "$dirpart/$file"
 
7382
    done
5934
7383
  done
5935
 
done
 
7384
}
5936
7385
 ;;
5937
7386
 
5938
7387
  esac
5944
7393
chmod +x $CONFIG_STATUS
5945
7394
ac_clean_files=$ac_clean_files_save
5946
7395
 
 
7396
test $ac_write_fail = 0 ||
 
7397
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
7398
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
7399
   { (exit 1); exit 1; }; }
 
7400
 
5947
7401
 
5948
7402
# configure is writing to config.log, and then calls config.status.
5949
7403
# config.status does its own redirection, appending to config.log.
5965
7419
  # would make configure fail if this is the last instruction.
5966
7420
  $ac_cs_success || { (exit 1); exit 1; }
5967
7421
fi
 
7422
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
7423
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
7424
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
7425
fi
5968
7426