Merge lp:~xnox/ubuntu/quantal/e2fsprogs/merge into lp:ubuntu/quantal/e2fsprogs

Proposed by Dimitri John Ledkov
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~xnox/ubuntu/quantal/e2fsprogs/merge
Merge into: lp:ubuntu/quantal/e2fsprogs
Diff against target: 101744 lines (+26748/-50330)
206 files modified
.gitignore (+2/-1)
.pc/add-C-to-chattr-usage/misc/chattr.c (+343/-0)
.pc/applied-patches (+0/-1)
.pc/fix-blhc-warnings/MCONFIG.in (+262/-0)
.pc/fix-blhc-warnings/configure (+12770/-0)
.pc/fix-blhc-warnings/configure.in (+1266/-0)
.pc/fix-blhc-warnings/e2fsck/Makefile.in (+576/-0)
.pc/fix-blhc-warnings/lib/ext2fs/Makefile.in (+949/-0)
.pc/fix-blhc-warnings/lib/uuid/Makefile.in (+214/-0)
.pc/fix-blhc-warnings/misc/Makefile.in (+683/-0)
.pc/fix-version.h-datestamp/version.h (+11/-0)
.pc/git-update-to-3b0018beee/config/config.guess (+0/-1561)
.pc/git-update-to-3b0018beee/config/config.sub (+0/-1686)
.pc/git-update-to-3b0018beee/configure (+0/-12746)
.pc/git-update-to-3b0018beee/configure.in (+0/-1247)
.pc/git-update-to-3b0018beee/debugfs/debugfs.c (+0/-2409)
.pc/git-update-to-3b0018beee/e2fsck/e2fsck.conf.5.in (+0/-402)
.pc/git-update-to-3b0018beee/e2fsck/iscan.c (+0/-142)
.pc/git-update-to-3b0018beee/e2fsck/logfile.c (+0/-383)
.pc/git-update-to-3b0018beee/e2fsck/pass5.c (+0/-851)
.pc/git-update-to-3b0018beee/e2fsck/quota.c (+0/-90)
.pc/git-update-to-3b0018beee/e2fsck/scantest.c (+0/-144)
.pc/git-update-to-3b0018beee/e2fsck/unix.c (+0/-1727)
.pc/git-update-to-3b0018beee/e2fsprogs.spec (+0/-242)
.pc/git-update-to-3b0018beee/lib/config.h.in (+0/-611)
.pc/git-update-to-3b0018beee/lib/ext2fs/Makefile.in (+0/-939)
.pc/git-update-to-3b0018beee/lib/ext2fs/bitops.h (+0/-680)
.pc/git-update-to-3b0018beee/lib/ext2fs/blkmap64_rb.c (+0/-824)
.pc/git-update-to-3b0018beee/lib/ext2fs/crc32c.c (+0/-1144)
.pc/git-update-to-3b0018beee/lib/ext2fs/ext2fs.h (+0/-1748)
.pc/git-update-to-3b0018beee/lib/ext2fs/gen_bitmap.c (+0/-560)
.pc/git-update-to-3b0018beee/lib/ext2fs/gen_bitmap64.c (+0/-792)
.pc/git-update-to-3b0018beee/lib/ext2fs/get_pathname.c (+0/-172)
.pc/git-update-to-3b0018beee/lib/ext2fs/icount.c (+0/-850)
.pc/git-update-to-3b0018beee/lib/ext2fs/ismounted.c (+0/-389)
.pc/git-update-to-3b0018beee/lib/ext2fs/mkjournal.c (+0/-629)
.pc/git-update-to-3b0018beee/lib/ext2fs/rbtree.h (+0/-180)
.pc/git-update-to-3b0018beee/lib/ext2fs/tst_bitmaps.c (+0/-577)
.pc/git-update-to-3b0018beee/lib/ext2fs/tst_bitmaps_cmd.ct (+0/-39)
.pc/git-update-to-3b0018beee/lib/ext2fs/tst_bitmaps_cmds (+0/-46)
.pc/git-update-to-3b0018beee/lib/ext2fs/tst_bitmaps_exp (+0/-92)
.pc/git-update-to-3b0018beee/misc/e2image.c (+0/-1363)
.pc/git-update-to-3b0018beee/misc/fsck.c (+0/-1344)
.pc/git-update-to-3b0018beee/misc/ismounted.c (+0/-216)
.pc/git-update-to-3b0018beee/misc/mke2fs.c (+0/-2605)
.pc/git-update-to-3b0018beee/misc/tune2fs.c (+0/-2227)
.pc/git-update-to-3b0018beee/version.h (+0/-11)
.pc/quota-FTBFS-fix/lib/quota/quotaio.c (+394/-0)
MCONFIG.in (+21/-0)
Makefile.in (+2/-0)
README (+1/-1)
RELEASE-NOTES (+174/-0)
configure (+36/-7)
configure.in (+26/-5)
debian/changelog (+71/-0)
debian/control (+1/-1)
debian/control.in (+1/-1)
debian/e2fslibs.symbols (+3/-0)
debian/patches/add-C-to-chattr-usage (+19/-0)
debian/patches/fix-blhc-warnings (+335/-0)
debian/patches/fix-version.h-datestamp (+19/-0)
debian/patches/git-update-to-3b0018beee (+0/-2358)
debian/patches/quota-FTBFS-fix (+25/-0)
debian/patches/series (+4/-1)
debian/rules (+21/-16)
debugfs/debugfs.c (+4/-6)
debugfs/util.c (+8/-1)
doc/libext2fs.texinfo (+4/-4)
e2fsck/Makefile.in (+60/-35)
e2fsck/jfs_user.h (+2/-2)
e2fsck/journal.c (+38/-26)
e2fsck/logfile.c (+3/-0)
e2fsck/pass1.c (+3/-3)
e2fsck/pass5.c (+2/-4)
e2fsck/problem.c (+8/-3)
e2fsck/problem.h (+3/-0)
e2fsck/quota.c (+13/-18)
e2fsck/recovery.c (+12/-13)
e2fsck/super.c (+5/-1)
e2fsck/unix.c (+26/-10)
e2fsprogs.lsm (+5/-5)
e2fsprogs.spec (+1/-1)
lib/Makefile.bsd-lib (+1/-1)
lib/Makefile.elf-lib (+5/-8)
lib/blkid/blkid.pc.in (+1/-1)
lib/config.h.in (+0/-3)
lib/e2p/e2p.pc.in (+1/-1)
lib/e2p/feature.c (+10/-0)
lib/e2p/pf.c (+1/-0)
lib/et/com_err.pc.in (+1/-1)
lib/ext2fs/Makefile.in (+9/-2)
lib/ext2fs/blkmap64_rb.c (+1/-1)
lib/ext2fs/block.c (+17/-2)
lib/ext2fs/ext2_fs.h (+4/-0)
lib/ext2fs/ext2_io.h (+3/-0)
lib/ext2fs/ext2fs.h (+1/-46)
lib/ext2fs/ext2fs.pc.in (+1/-1)
lib/ext2fs/extent.c (+5/-2)
lib/ext2fs/getsectsize.c (+26/-0)
lib/ext2fs/inline.c (+51/-2)
lib/ext2fs/inode.c (+2/-2)
lib/ext2fs/io_manager.c (+17/-0)
lib/ext2fs/mmp.c (+9/-28)
lib/ext2fs/openfs.c (+1/-1)
lib/ext2fs/rw_bitmaps.c (+9/-15)
lib/ext2fs/test_io.c (+6/-1)
lib/ext2fs/unix_io.c (+55/-29)
lib/quota/Makefile.in (+11/-12)
lib/quota/dqblk_v2.h (+5/-17)
lib/quota/mkquota.c (+71/-29)
lib/quota/mkquota.h (+3/-2)
lib/quota/quota.h (+0/-155)
lib/quota/quota.pc.in (+1/-1)
lib/quota/quotaio.c (+2/-10)
lib/quota/quotaio.h (+26/-26)
lib/quota/quotaio_tree.h (+2/-1)
lib/quota/quotaio_v2.c (+5/-46)
lib/quota/quotaio_v2.h (+3/-52)
lib/ss/ss.pc.in (+1/-1)
lib/uuid/Makefile.in (+3/-3)
lib/uuid/uuid.pc.in (+1/-1)
misc/Makefile.in (+20/-18)
misc/chattr.1.in (+26/-18)
misc/chattr.c (+2/-1)
misc/dumpe2fs.c (+20/-8)
misc/e2image.8.in (+26/-26)
misc/tune2fs.8.in (+1/-1)
po/cs.po (+719/-708)
po/de.po (+772/-747)
po/e2fsprogs.pot (+318/-312)
po/fr.po (+722/-707)
po/nl.po (+728/-710)
po/pl.po (+711/-705)
po/sv.po (+712/-706)
po/vi.po (+725/-707)
resize/resize2fs.8.in (+30/-30)
tests/Makefile.in (+31/-19)
tests/d_loaddump/expect (+3/-3)
tests/d_loaddump/script (+6/-7)
tests/defaults/e_script (+2/-2)
tests/e_brel_bma/script (+1/-2)
tests/e_icount_normal/name (+1/-1)
tests/e_irel_ima/script (+1/-2)
tests/f_dup4/script (+2/-3)
tests/f_dup_de/script (+1/-2)
tests/f_dup_resize/script (+2/-3)
tests/f_eofblocks/expect.1 (+13/-0)
tests/f_eofblocks/expect.2 (+7/-0)
tests/f_eofblocks/name (+1/-0)
tests/f_ext_journal/name (+1/-0)
tests/f_h_badnode/script (+1/-2)
tests/f_h_badroot/script (+1/-2)
tests/f_h_normal/script (+1/-2)
tests/f_h_reindex/script (+1/-2)
tests/f_h_unsigned/script (+1/-2)
tests/f_imagic_fs/script (+1/-2)
tests/f_jnl_32bit/expect.0 (+568/-0)
tests/f_jnl_32bit/expect.1 (+16/-0)
tests/f_jnl_32bit/expect.2 (+7/-0)
tests/f_jnl_32bit/name (+1/-0)
tests/f_jnl_32bit/script (+4/-0)
tests/f_jnl_64bit/expect.0 (+929/-0)
tests/f_jnl_64bit/expect.1 (+16/-0)
tests/f_jnl_64bit/expect.2 (+7/-0)
tests/f_jnl_64bit/name (+1/-0)
tests/f_jnl_64bit/script (+4/-0)
tests/f_jnl_errno/expect.0 (+48/-0)
tests/f_jnl_errno/expect.1 (+9/-0)
tests/f_jnl_errno/expect.2 (+7/-0)
tests/f_jnl_errno/name (+1/-0)
tests/f_jnl_errno/script (+4/-0)
tests/f_mmp/script (+9/-10)
tests/f_mmp_garbage/script (+4/-5)
tests/f_orphan_extents_inode/expect.1 (+10/-0)
tests/f_orphan_extents_inode/expect.2 (+7/-0)
tests/f_orphan_extents_inode/name (+1/-0)
tests/f_orphan_indirect_inode/expect.1 (+2/-0)
tests/f_orphan_indirect_inode/expect.2 (+7/-0)
tests/f_orphan_indirect_inode/name (+1/-0)
tests/f_orphan_indirect_inode/script (+2/-0)
tests/f_rehash_dir/name (+1/-0)
tests/f_resize_inode/script (+5/-7)
tests/f_uninit_ext_past_eof/expect.1 (+7/-0)
tests/f_uninit_ext_past_eof/expect.2 (+7/-0)
tests/f_uninit_ext_past_eof/name (+1/-0)
tests/f_uninit_last_uninit/script (+1/-2)
tests/f_unused_itable/name (+1/-1)
tests/i_e2image/script (+5/-8)
tests/m_mkfs_overhead/script (+3/-5)
tests/m_mmp/script (+3/-3)
tests/r_inline_xattr/script (+3/-5)
tests/r_move_itable/script (+6/-7)
tests/r_resize_inode/script (+6/-7)
tests/run_e2fsck (+26/-13)
tests/t_ext_jnl_rm/script (+3/-5)
tests/t_mmp_1on/script (+7/-8)
tests/t_mmp_2off/script (+7/-8)
tests/test_one.in (+69/-0)
tests/test_post (+17/-0)
tests/test_script.in (+11/-68)
tests/u_mke2fs/script (+3/-5)
tests/u_tune2fs/script (+3/-5)
util/Makefile.in (+5/-1)
util/install-symlink.in (+89/-0)
util/symlinks.c (+385/-0)
version.h (+2/-2)
To merge this branch: bzr merge lp:~xnox/ubuntu/quantal/e2fsprogs/merge
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Review via email: mp+110323@code.launchpad.net

Description of the change

 e2fsprogs (1.42.4-3ubuntu1) quantal; urgency=low
 .
   * Merge from Debian unstable (LP: #978012), remainging changes:
     - debian/control.in:
         Build-depend on gettext:any instead of on gettext for (cross-building)
         Drop build dependency on dc, which hasn't been needed for some time.
         Update maintainer field.
     - debian/rules:
         Block pkg-create-dbgsym from operating on this package.
         Build without dietlibc-dev, which is in universe
     - debian/control:
         Regenerate with ./debian/rules debian/control
 .
 e2fsprogs (1.42.4-3) unstable; urgency=medium
 .
   * Add the -C option to chattr's usage message
   * Fix e2fsprogs so it is blhc (build log hardening check) clean. This
     fixed e2fsck.static which previously was not getting built with the
     security hardening flags.
 .
 e2fsprogs (1.42.4-2) unstable; urgency=medium
 .
   * Fix FTBFS problem on the hurd and freebsd platforms
 .
 e2fsprogs (1.42.4-1) unstable; urgency=medium
 .
   * New upstream version
   * Fix 64-bit block number bugs in e2fsck, dumpe2fs, and debugfs which
     could corrupt file systems
   * Fixed e2fsck's handling of how errors propagate from the journal to
     the file system superblock
   * Fixed a false positive complaint from e2fsck if all of the extents
     in the last extent block are uninitialized and located after the
     end of the file.
   * dumpe2fs will display the journal's error indicator in the
     superblock if it is set
   * Fixed a bug which caused e2fsck to incorrectly use O_EXCLUSIVE in
     some corner cases.
   * Fix truncation of extent-mapped inodes in e2fsck and libext2fs
   * Fixed i_blocks accounting in bigalloc file systems.
   * Add support for btrfs's No_COW flag to lsattr and chattr
   * Debugfs interprets the date strings of the form "@ddd" as ddd
     seconds after the epoch
   * Updated/fixed various man pages (Closes: #674453, #674694)
 .
 e2fsprogs (1.42.3-1) unstable; urgency=low
 .
   * New upstream version
   * Fix bugs on 32-bit systems which could corrupt > 16TB file systems
   * Quiet complaints in e2fsck when the total free blocks or inodes are
     incorrect in the superblock after an system crash, since we don't
     update nor depend on the superblock summaries at each commit boundary
   * Fixed support for (hidden) quota files built into ext4; in
     particular, don't rewrite the quota inode unless the quotas are
     inconsistent
   * Optimized reading and writing bitmaps if direct I/O was enabled
   * Update Czech, Dutch, French, German, Polish, Sweedish, and
     Vietnamese translations
   * Fixed incorrect indentation in tune2fs man page
   * Update debian policy compliance to 3.9.3

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks, looks good! When I actually try to merge this I get tons of conflicts (argh UDD), so I just uploaded this from your branch, verified the debdiff, let the package importer take care of it, and manually set this to merged.

FYI, for sponsors it's a lot easier, faster, and more robust to just add a debdiff to a sponsoring bug.

review: Approve
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

On 18/06/12 15:22, Martin Pitt wrote:
> Review: Approve
>
> Thanks, looks good! When I actually try to merge this I get tons of conflicts (argh UDD), so I just uploaded this from your branch, verified the debdiff, let the package importer take care of it, and manually set this to merged.
>
> FYI, for sponsors it's a lot easier, faster, and more robust to just add a debdiff to a sponsoring bug.
>

Thanks a lot Martin,

I understand. It is a pain to review when .pc/ as well any files created
by patches get conflicting file-ids resulting in bzr's 'contents
conflict' (other DVCS don't have such conflict)

A branch works better, when multiple people are working/updating a debdiff.

With a branch it's easy to generate debdiff as necessory:
* new ubuntu against debian => new ubuntu delta
* old ubuntu against base => previous ubuntu delta
* new ubuntu against old ubuntu | filterdiff -i 'debian/*' => to compare
the update for any possible upgrade issues.

... but you do have to exclude/filterdiff .pc directories.....

But yeah, all of this is also achievable with a debdiff.

An UDD branch can have the pristinetar tarball inside it. While debdiffs
need an external tarball.

Ok. I will be attaching debdiff from now on as well.

--
Regards,
Dmitrijs.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.gitignore'
2--- .gitignore 2012-05-22 15:00:58 +0000
3+++ .gitignore 2012-06-14 13:07:25 +0000
4@@ -177,9 +177,10 @@
5 tests/*.ok
6 tests/*.failed
7 tests/*.log
8-tests/*.log
9+tests/*.tmp
10 tests/mke2fs.conf
11 tests/test_script
12+tests/test_one
13 util/gen-tarball
14 util/subst
15 util/subst.conf
16
17=== added directory '.pc/add-C-to-chattr-usage'
18=== added directory '.pc/add-C-to-chattr-usage/misc'
19=== added file '.pc/add-C-to-chattr-usage/misc/chattr.c'
20--- .pc/add-C-to-chattr-usage/misc/chattr.c 1970-01-01 00:00:00 +0000
21+++ .pc/add-C-to-chattr-usage/misc/chattr.c 2012-06-14 13:07:25 +0000
22@@ -0,0 +1,343 @@
23+/*
24+ * chattr.c - Change file attributes on an ext2 file system
25+ *
26+ * Copyright (C) 1993, 1994 Remy Card <card@masi.ibp.fr>
27+ * Laboratoire MASI, Institut Blaise Pascal
28+ * Universite Pierre et Marie Curie (Paris VI)
29+ *
30+ * This file can be redistributed under the terms of the GNU General
31+ * Public License
32+ */
33+
34+/*
35+ * History:
36+ * 93/10/30 - Creation
37+ * 93/11/13 - Replace stat() calls by lstat() to avoid loops
38+ * 94/02/27 - Integrated in Ted's distribution
39+ * 98/12/29 - Ignore symlinks when working recursively (G M Sipe)
40+ * 98/12/29 - Display version info only when -V specified (G M Sipe)
41+ */
42+
43+#define _LARGEFILE64_SOURCE
44+
45+#include "config.h"
46+#include <sys/types.h>
47+#include <dirent.h>
48+#include <fcntl.h>
49+#include <stdio.h>
50+#include <stdlib.h>
51+#include <unistd.h>
52+#include <string.h>
53+#ifdef HAVE_ERRNO_H
54+#include <errno.h>
55+#endif
56+#include <sys/param.h>
57+#include <sys/stat.h>
58+#include "ext2fs/ext2_fs.h"
59+
60+#ifdef __GNUC__
61+#define EXT2FS_ATTR(x) __attribute__(x)
62+#else
63+#define EXT2FS_ATTR(x)
64+#endif
65+
66+#ifndef S_ISLNK /* So we can compile even with gcc-warn */
67+# ifdef __S_IFLNK
68+# define S_ISLNK(mode) __S_ISTYPE((mode), __S_IFLNK)
69+# else
70+# define S_ISLNK(mode) 0
71+# endif
72+#endif
73+
74+#include "et/com_err.h"
75+#include "e2p/e2p.h"
76+
77+#include "../version.h"
78+#include "nls-enable.h"
79+
80+static const char * program_name = "chattr";
81+
82+static int add;
83+static int rem;
84+static int set;
85+static int set_version;
86+
87+static unsigned long version;
88+
89+static int recursive;
90+static int verbose;
91+static int silent;
92+
93+static unsigned long af;
94+static unsigned long rf;
95+static unsigned long sf;
96+
97+#ifdef _LFS64_LARGEFILE
98+#define LSTAT lstat64
99+#define STRUCT_STAT struct stat64
100+#else
101+#define LSTAT lstat
102+#define STRUCT_STAT struct stat
103+#endif
104+
105+static void usage(void)
106+{
107+ fprintf(stderr,
108+ _("Usage: %s [-RVf] [-+=AacDdeijsSu] [-v version] files...\n"),
109+ program_name);
110+ exit(1);
111+}
112+
113+struct flags_char {
114+ unsigned long flag;
115+ char optchar;
116+};
117+
118+static const struct flags_char flags_array[] = {
119+ { EXT2_NOATIME_FL, 'A' },
120+ { EXT2_SYNC_FL, 'S' },
121+ { EXT2_DIRSYNC_FL, 'D' },
122+ { EXT2_APPEND_FL, 'a' },
123+ { EXT2_COMPR_FL, 'c' },
124+ { EXT2_NODUMP_FL, 'd' },
125+ { EXT4_EXTENTS_FL, 'e'},
126+ { EXT2_IMMUTABLE_FL, 'i' },
127+ { EXT3_JOURNAL_DATA_FL, 'j' },
128+ { EXT2_SECRM_FL, 's' },
129+ { EXT2_UNRM_FL, 'u' },
130+ { EXT2_NOTAIL_FL, 't' },
131+ { EXT2_TOPDIR_FL, 'T' },
132+ { FS_NOCOW_FL, 'C' },
133+ { 0, 0 }
134+};
135+
136+static unsigned long get_flag(char c)
137+{
138+ const struct flags_char *fp;
139+
140+ for (fp = flags_array; fp->flag != 0; fp++) {
141+ if (fp->optchar == c)
142+ return fp->flag;
143+ }
144+ return 0;
145+}
146+
147+
148+static int decode_arg (int * i, int argc, char ** argv)
149+{
150+ char * p;
151+ char * tmp;
152+ unsigned long fl;
153+
154+ switch (argv[*i][0])
155+ {
156+ case '-':
157+ for (p = &argv[*i][1]; *p; p++) {
158+ if (*p == 'R') {
159+ recursive = 1;
160+ continue;
161+ }
162+ if (*p == 'V') {
163+ verbose = 1;
164+ continue;
165+ }
166+ if (*p == 'f') {
167+ silent = 1;
168+ continue;
169+ }
170+ if (*p == 'v') {
171+ (*i)++;
172+ if (*i >= argc)
173+ usage ();
174+ version = strtol (argv[*i], &tmp, 0);
175+ if (*tmp) {
176+ com_err (program_name, 0,
177+ _("bad version - %s\n"),
178+ argv[*i]);
179+ usage ();
180+ }
181+ set_version = 1;
182+ continue;
183+ }
184+ if ((fl = get_flag(*p)) == 0)
185+ usage();
186+ rf |= fl;
187+ rem = 1;
188+ }
189+ break;
190+ case '+':
191+ add = 1;
192+ for (p = &argv[*i][1]; *p; p++) {
193+ if ((fl = get_flag(*p)) == 0)
194+ usage();
195+ af |= fl;
196+ }
197+ break;
198+ case '=':
199+ set = 1;
200+ for (p = &argv[*i][1]; *p; p++) {
201+ if ((fl = get_flag(*p)) == 0)
202+ usage();
203+ sf |= fl;
204+ }
205+ break;
206+ default:
207+ return EOF;
208+ break;
209+ }
210+ return 1;
211+}
212+
213+static int chattr_dir_proc(const char *, struct dirent *, void *);
214+
215+static int change_attributes(const char * name)
216+{
217+ unsigned long flags;
218+ STRUCT_STAT st;
219+ int extent_file = 0;
220+
221+ if (LSTAT (name, &st) == -1) {
222+ if (!silent)
223+ com_err (program_name, errno,
224+ _("while trying to stat %s"), name);
225+ return -1;
226+ }
227+
228+ if (fgetflags(name, &flags) == -1) {
229+ if (!silent)
230+ com_err(program_name, errno,
231+ _("while reading flags on %s"), name);
232+ return -1;
233+ }
234+ if (flags & EXT4_EXTENTS_FL)
235+ extent_file = 1;
236+ if (set) {
237+ if (extent_file && !(sf & EXT4_EXTENTS_FL)) {
238+ if (!silent)
239+ com_err(program_name, 0,
240+ _("Clearing extent flag not supported on %s"),
241+ name);
242+ return -1;
243+ }
244+ if (verbose) {
245+ printf (_("Flags of %s set as "), name);
246+ print_flags (stdout, sf, 0);
247+ printf ("\n");
248+ }
249+ if (fsetflags (name, sf) == -1)
250+ perror (name);
251+ } else {
252+ if (rem)
253+ flags &= ~rf;
254+ if (add)
255+ flags |= af;
256+ if (extent_file && !(flags & EXT4_EXTENTS_FL)) {
257+ if (!silent)
258+ com_err(program_name, 0,
259+ _("Clearing extent flag not supported on %s"),
260+ name);
261+ return -1;
262+ }
263+ if (verbose) {
264+ printf(_("Flags of %s set as "), name);
265+ print_flags(stdout, flags, 0);
266+ printf("\n");
267+ }
268+ if (!S_ISDIR(st.st_mode))
269+ flags &= ~EXT2_DIRSYNC_FL;
270+ if (fsetflags(name, flags) == -1) {
271+ if (!silent) {
272+ com_err(program_name, errno,
273+ _("while setting flags on %s"),
274+ name);
275+ }
276+ return -1;
277+ }
278+ }
279+ if (set_version) {
280+ if (verbose)
281+ printf (_("Version of %s set as %lu\n"), name, version);
282+ if (fsetversion (name, version) == -1) {
283+ if (!silent)
284+ com_err (program_name, errno,
285+ _("while setting version on %s"),
286+ name);
287+ return -1;
288+ }
289+ }
290+ if (S_ISDIR(st.st_mode) && recursive)
291+ return iterate_on_dir (name, chattr_dir_proc, NULL);
292+ return 0;
293+}
294+
295+static int chattr_dir_proc (const char * dir_name, struct dirent * de,
296+ void * private EXT2FS_ATTR((unused)))
297+{
298+ int ret = 0;
299+
300+ if (strcmp (de->d_name, ".") && strcmp (de->d_name, "..")) {
301+ char *path;
302+
303+ path = malloc(strlen (dir_name) + 1 + strlen (de->d_name) + 1);
304+ if (!path) {
305+ fprintf(stderr, _("Couldn't allocate path variable "
306+ "in chattr_dir_proc"));
307+ return -1;
308+ }
309+ sprintf(path, "%s/%s", dir_name, de->d_name);
310+ ret = change_attributes(path);
311+ free(path);
312+ }
313+ return ret;
314+}
315+
316+int main (int argc, char ** argv)
317+{
318+ int i, j;
319+ int end_arg = 0;
320+ int err, retval = 0;
321+
322+#ifdef ENABLE_NLS
323+ setlocale(LC_MESSAGES, "");
324+ setlocale(LC_CTYPE, "");
325+ bindtextdomain(NLS_CAT_NAME, LOCALEDIR);
326+ textdomain(NLS_CAT_NAME);
327+ set_com_err_gettext(gettext);
328+#endif
329+ if (argc && *argv)
330+ program_name = *argv;
331+ i = 1;
332+ while (i < argc && !end_arg) {
333+ /* '--' arg should end option processing */
334+ if (strcmp(argv[i], "--") == 0) {
335+ i++;
336+ end_arg = 1;
337+ } else if (decode_arg (&i, argc, argv) == EOF)
338+ end_arg = 1;
339+ else
340+ i++;
341+ }
342+ if (i >= argc)
343+ usage ();
344+ if (set && (add || rem)) {
345+ fputs(_("= is incompatible with - and +\n"), stderr);
346+ exit (1);
347+ }
348+ if ((rf & af) != 0) {
349+ fputs("Can't both set and unset same flag.\n", stderr);
350+ exit (1);
351+ }
352+ if (!(add || rem || set || set_version)) {
353+ fputs(_("Must use '-v', =, - or +\n"), stderr);
354+ exit (1);
355+ }
356+ if (verbose)
357+ fprintf (stderr, "chattr %s (%s)\n",
358+ E2FSPROGS_VERSION, E2FSPROGS_DATE);
359+ for (j = i; j < argc; j++) {
360+ err = change_attributes (argv[j]);
361+ if (err)
362+ retval = 1;
363+ }
364+ exit(retval);
365+}
366
367=== added file '.pc/applied-patches'
368--- .pc/applied-patches 1970-01-01 00:00:00 +0000
369+++ .pc/applied-patches 2012-06-14 13:07:25 +0000
370@@ -0,0 +1,4 @@
371+quota-FTBFS-fix
372+fix-blhc-warnings
373+fix-version.h-datestamp
374+add-C-to-chattr-usage
375
376=== removed file '.pc/applied-patches'
377--- .pc/applied-patches 2012-04-09 14:54:33 +0000
378+++ .pc/applied-patches 1970-01-01 00:00:00 +0000
379@@ -1,1 +0,0 @@
380-git-update-to-3b0018beee
381
382=== added directory '.pc/fix-blhc-warnings'
383=== added file '.pc/fix-blhc-warnings/MCONFIG.in'
384--- .pc/fix-blhc-warnings/MCONFIG.in 1970-01-01 00:00:00 +0000
385+++ .pc/fix-blhc-warnings/MCONFIG.in 2012-06-14 13:07:25 +0000
386@@ -0,0 +1,262 @@
387+# Beginning of file MCONFIG
388+
389+all::
390+
391+check::
392+
393+SHELL = /bin/sh
394+
395+COMPRESS_EXT = gz bz2 bz Z
396+
397+prefix = @prefix@
398+root_prefix = @root_prefix@
399+exec_prefix = @exec_prefix@
400+root_bindir = @root_bindir@
401+root_sbindir = @root_sbindir@
402+root_libdir = @root_libdir@
403+datarootdir = @datarootdir@
404+bindir = @bindir@
405+sbindir = @sbindir@
406+libdir = @libdir@
407+datadir= @datadir@
408+localedir = $(datadir)/locale
409+root_sysconfdir= @root_sysconfdir@
410+includedir = @includedir@
411+mandir = @mandir@
412+man1dir = $(mandir)/man1
413+man3dir = $(mandir)/man3
414+man5dir = $(mandir)/man5
415+man8dir = $(mandir)/man8
416+infodir = @infodir@
417+datadir = @datadir@
418+
419+@SET_MAKE@
420+
421+@ifGNUmake@ V =
422+@ifGNUmake@ ifeq ($(strip $(V)),)
423+@ifGNUmake@ # E = @echo
424+@ifGNUmake@ # Q = @
425+@ifGNUmake@ E = @E@
426+@ifGNUmake@ Q = @Q@
427+@ifGNUmake@ else
428+@ifGNUmake@ E = @\#
429+@ifGNUmake@ Q =
430+@ifGNUmake@ endif
431+
432+@ifNotGNUmake@ E = @E@
433+@ifNotGNUmake@ Q = @Q@
434+
435+CC = @CC@
436+BUILD_CC = @BUILD_CC@
437+CFLAGS = @CFLAGS@
438+CPPFLAGS = @INCLUDES@
439+ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS)
440+LDFLAGS = @LDFLAGS@
441+ALL_LDFLAGS = $(LDFLAGS) @LDFLAG_DYNAMIC@
442+LDFLAGS_STATIC = $(LDFLAGS) @LDFLAG_STATIC@
443+BUILD_CFLAGS = @BUILD_CFLAGS@
444+BUILD_LDFLAGS = @BUILD_LDFLAGS@
445+RDYNAMIC = @RDYNAMIC@
446+LINK_BUILD_FLAGS = @LINK_BUILD_FLAGS@
447+LINK_INSTALL_FLAGS = @LINK_INSTALL_FLAGS@
448+RM = @RM@
449+LN = @LN@
450+LN_S = @LN_S@
451+MV = @MV@
452+CP = @CP@
453+CHMOD = @CHMOD@
454+AR = @AR@
455+AWK = @AWK@
456+SED = @SED@
457+PERL = @PERL@
458+RANLIB = @RANLIB@
459+STRIP = @STRIP@
460+LD = $(PURE) @CC@
461+ARUPD = $(AR) r
462+ARGEN = $(AR) rc
463+LDCONFIG = @LDCONFIG@
464+INSTALL_PROGRAM = @INSTALL_PROGRAM@
465+INSTALL_DATA = @INSTALL_DATA@
466+INSTALL_SCRIPT = @INSTALL_SCRIPT@
467+MKINSTALLDIRS = @MKINSTALLDIRS@
468+
469+#
470+# Library definitions
471+#
472+LIB = $(top_builddir)/lib
473+LIBSS = $(LIB)/libss@LIB_EXT@ @PRIVATE_LIBS_CMT@ @DLOPEN_LIB@
474+LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@ @PRIVATE_LIBS_CMT@ @SEM_INIT_LIB@
475+LIBE2P = $(LIB)/libe2p@LIB_EXT@
476+LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@
477+LIBUUID = @LIBUUID@ @SOCKET_LIB@
478+LIBQUOTA = @STATIC_LIBQUOTA@
479+LIBBLKID = @LIBBLKID@ @PRIVATE_LIBS_CMT@ $(LIBUUID)
480+LIBINTL = @LIBINTL@
481+DEPLIBSS = $(LIB)/libss@LIB_EXT@
482+DEPLIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@
483+DEPLIBUUID = @DEPLIBUUID@
484+DEPLIBQUOTA = @DEPSTATIC_LIBQUOTA@
485+DEPLIBBLKID = @DEPLIBBLKID@ @PRIVATE_LIBS_CMT@ $(DEPLIBUUID)
486+
487+STATIC_LIBSS = $(LIB)/libss@STATIC_LIB_EXT@ @DLOPEN_LIB@
488+STATIC_LIBCOM_ERR = $(LIB)/libcom_err@STATIC_LIB_EXT@ @SEM_INIT_LIB@
489+STATIC_LIBE2P = $(LIB)/libe2p@STATIC_LIB_EXT@
490+STATIC_LIBEXT2FS = $(LIB)/libext2fs@STATIC_LIB_EXT@
491+STATIC_LIBUUID = @STATIC_LIBUUID@ @SOCKET_LIB@
492+STATIC_LIBQUOTA = @STATIC_LIBQUOTA@
493+STATIC_LIBBLKID = @STATIC_LIBBLKID@ $(STATIC_LIBUUID)
494+DEPSTATIC_LIBSS = $(LIB)/libss@STATIC_LIB_EXT@
495+DEPSTATIC_LIBCOM_ERR = $(LIB)/libcom_err@STATIC_LIB_EXT@
496+DEPSTATIC_LIBUUID = @DEPSTATIC_LIBUUID@
497+DEPSTATIC_LIBQUOTA = @DEPSTATIC_LIBQUOTA@
498+DEPSTATIC_LIBBLKID = @DEPSTATIC_LIBBLKID@ $(DEPSTATIC_LIBUUID)
499+
500+PROFILED_LIBSS = $(LIB)/libss@PROFILED_LIB_EXT@ @DLOPEN_LIB@
501+PROFILED_LIBCOM_ERR = $(LIB)/libcom_err@PROFILED_LIB_EXT@ @SEM_INIT_LIB@
502+PROFILED_LIBE2P = $(LIB)/libe2p@PROFILED_LIB_EXT@
503+PROFILED_LIBEXT2FS = $(LIB)/libext2fs@PROFILED_LIB_EXT@
504+PROFILED_LIBUUID = @PROFILED_LIBUUID@ @SOCKET_LIB@
505+PROFILED_LIBQUOTA = @PROFILED_LIBQUOTA@
506+PROFILED_LIBBLKID = @PROFILED_LIBBLKID@ $(PROFILED_LIBUUID)
507+DEPPROFILED_LIBSS = $(LIB)/libss@PROFILED_LIB_EXT@
508+DEPPROFILED_LIBCOM_ERR = $(LIB)/libcom_err@PROFILED_LIB_EXT@
509+DEPPROFILED_LIBUUID = @PROFILED_LIBUUID@
510+DEPPROFILED_LIBQUOTA = @PROFILED_LIBQUOTA@
511+DEPPROFILED_LIBBLKID = @PROFILED_LIBBLKID@ $(DEPPROFILED_LIBUUID)
512+
513+#
514+# A fast substitution command for fixing up man pages, shell scripts, etc.
515+#
516+SUBST_CONF=$(top_builddir)/util/subst.conf
517+SUBSTITUTE= $(top_builddir)/util/subst -f $(SUBST_CONF)
518+SUBSTITUTE_UPTIME= $(top_builddir)/util/subst -t -f $(SUBST_CONF)
519+DEP_SUBSTITUTE= $(top_builddir)/util/subst $(SUBST_CONF)
520+
521+$(top_builddir)/util/subst:
522+ cd $(top_builddir)/util ; $(MAKE) subst
523+
524+#
525+# Script for installing symlinks (for shared libraries)
526+#
527+$(top_builddir)/util/install-symlink: $(top_srcdir)/util/install-symlink.in \
528+ $(top_builddir)/config.status
529+ cd $(top_builddir); CONFIG_FILES=util/install-symlink ./config.status
530+ chmod +x $(top_builddir)/util/install-symlink
531+
532+$(top_builddir)/util/symlinks:
533+ cd $(top_builddir)/util ; $(MAKE) symlinks
534+
535+INSTALL_SYMLINK = /bin/sh $(top_builddir)/util/install-symlink \
536+ @SYMLINK_RELATIVE@ \
537+ --symlinks=$(top_builddir)/util/symlinks
538+DEP_INSTALL_SYMLINK = $(top_builddir)/util/install-symlink \
539+ $(top_builddir)/util/symlinks
540+
541+#
542+# Warning flags
543+#
544+# Run make gcc-wall to do a build with warning messages.
545+#
546+#
547+WFLAGS= -std=c99 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE \
548+ -pedantic $(WFLAGS_EXTRA) \
549+ -Wall -W -Wwrite-strings -Wpointer-arith \
550+ -Wcast-qual -Wcast-align -Wno-variadic-macros \
551+ -Wstrict-prototypes -Wmissing-prototypes \
552+ -Wformat-security -Wformat-nonliteral \
553+ -Wmissing-format-attribute -O2 -Wstrict-aliasing \
554+ -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow \
555+ -UENABLE_NLS
556+
557+gcc-wall-new:
558+ (make CFLAGS="@CFLAGS@ $(WFLAGS)" > /dev/null) 2>&1 | sed -f $(top_srcdir)/util/gcc-wall-cleanup
559+
560+gcc-wall:
561+ make clean > /dev/null
562+ make gcc-wall-new
563+
564+#
565+# Installation user and groups
566+#
567+BINGRP= bin
568+BINOWN= bin
569+BINMODE= 555
570+INCGRP= bin
571+INCOWN= bin
572+INCMODE= 444
573+LIBOWN= bin
574+LIBGRP= bin
575+LIBMODE= 444
576+MANGRP= bin
577+MANOWN= bin
578+MANMODE= 444
579+
580+#
581+# Autoconf magic...
582+#
583+
584+DEP_LIB_MAKEFILES = $(top_srcdir)/lib/Makefile.library \
585+ $(top_srcdir)/lib/Makefile.elf-lib \
586+ $(top_srcdir)/lib/Makefile.bsd-lib $(top_srcdir)/lib/Makefile.darwin-lib \
587+ $(top_srcdir)/lib/Makefile.solaris-lib $(top_srcdir)/lib/Makefile.checker \
588+ $(top_srcdir)/lib/Makefile.profile
589+
590+$(top_builddir)/config.status: $(top_srcdir)/configure
591+ cd $(top_builddir); ./config.status --recheck
592+
593+$(top_builddir)/MCONFIG: $(top_srcdir)/MCONFIG.in $(top_builddir)/config.status
594+ cd $(top_builddir); CONFIG_FILES=MCONFIG ./config.status
595+
596+$(top_builddir)/lib/config.h: $(top_srcdir)/lib/config.h.in \
597+ $(top_builddir)/config.status
598+ cd $(top_builddir); CONFIG_FILES=lib/config.h ./config.status
599+
600+$(top_builddir)/lib/dirpaths.h: $(DEP_SUBSTITUTE) $(top_srcdir)/lib/dirpaths.h.in
601+ $(E) " SUBST $@"
602+ $(Q) $(SUBSTITUTE) $(top_srcdir)/lib/dirpaths.h.in $@
603+
604+$(top_builddir)/lib/substitute_sh: $(top_srcdir)/lib/substitute_sh.in \
605+ $(top_builddir)/config.status
606+ cd $(top_builddir); CONFIG_FILES=lib/substitute_sh ./config.status
607+
608+$(top_builddir)/util/subst.conf: $(top_srcdir)/util/subst.conf.in \
609+ $(top_builddir)/config.status
610+ cd $(top_builddir); CONFIG_FILES=util/subst.conf ./config.status
611+
612+Makefile: $(srcdir)/Makefile.in $(top_builddir)/MCONFIG \
613+ $(DEP_MAKEFILE) $(top_builddir)/config.status
614+ cd $(top_builddir); CONFIG_FILES=$(my_dir)/Makefile ./config.status
615+
616+@MAINTAINER_CMT@$(top_srcdir)/configure: $(top_srcdir)/configure.in
617+@MAINTAINER_CMT@ cd $(top_srcdir) && autoheader && autoconf
618+
619+#
620+# Make depend magic...
621+#
622+
623+.depend: Makefile $(SRCS) $(top_srcdir)/depfix.sed $(top_srcdir)/wordwrap.pl
624+ if test -n "$(SRCS)" ; then \
625+ $(CC) -M $(ALL_CFLAGS) $(SRCS) | \
626+ $(SED) -f $(top_srcdir)/depfix.sed \
627+ -e 's; $(srcdir)/; $$(srcdir)/;g' \
628+ -e 's; $(top_srcdir)/; $$(top_srcdir)/;g' \
629+ -e 's; $(top_builddir)/; $$(top_builddir)/;g' \
630+ -e 's; \./; ;g' \
631+ -e '/^#/d' \
632+ -e '/^ *\\$$/d' | \
633+ $(PERL) $(top_srcdir)/wordwrap.pl > .depend; \
634+ else :; fi
635+
636+depend:: .depend
637+ if test -n "$(SRCS)" ; then \
638+ sed -e '/^# +++ Dependency line eater +++/,$$d' \
639+ < $(srcdir)/Makefile.in | cat - .depend \
640+ > $(srcdir)/Makefile.in.new; \
641+ if cmp -s $(srcdir)/Makefile.in $(srcdir)/Makefile.in.new ; then \
642+ $(RM) $(srcdir)/Makefile.in.new ; \
643+ else \
644+ $(MV) $(srcdir)/Makefile.in $(srcdir)/Makefile.in.old; \
645+ $(MV) $(srcdir)/Makefile.in.new $(srcdir)/Makefile.in; \
646+ fi ; else :; fi
647+
648+# End of file MCONFIG
649
650=== added file '.pc/fix-blhc-warnings/configure'
651--- .pc/fix-blhc-warnings/configure 1970-01-01 00:00:00 +0000
652+++ .pc/fix-blhc-warnings/configure 2012-06-14 13:07:25 +0000
653@@ -0,0 +1,12770 @@
654+#! /bin/sh
655+# Guess values for system-dependent variables and create Makefiles.
656+# Generated by GNU Autoconf 2.65.
657+#
658+#
659+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
660+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
661+# Inc.
662+#
663+#
664+# This configure script is free software; the Free Software Foundation
665+# gives unlimited permission to copy, distribute and modify it.
666+## -------------------- ##
667+## M4sh Initialization. ##
668+## -------------------- ##
669+
670+# Be more Bourne compatible
671+DUALCASE=1; export DUALCASE # for MKS sh
672+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
673+ emulate sh
674+ NULLCMD=:
675+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
676+ # is contrary to our usage. Disable this feature.
677+ alias -g '${1+"$@"}'='"$@"'
678+ setopt NO_GLOB_SUBST
679+else
680+ case `(set -o) 2>/dev/null` in #(
681+ *posix*) :
682+ set -o posix ;; #(
683+ *) :
684+ ;;
685+esac
686+fi
687+
688+
689+as_nl='
690+'
691+export as_nl
692+# Printing a long string crashes Solaris 7 /usr/bin/printf.
693+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
694+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
695+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
696+# Prefer a ksh shell builtin over an external printf program on Solaris,
697+# but without wasting forks for bash or zsh.
698+if test -z "$BASH_VERSION$ZSH_VERSION" \
699+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
700+ as_echo='print -r --'
701+ as_echo_n='print -rn --'
702+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
703+ as_echo='printf %s\n'
704+ as_echo_n='printf %s'
705+else
706+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
707+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
708+ as_echo_n='/usr/ucb/echo -n'
709+ else
710+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
711+ as_echo_n_body='eval
712+ arg=$1;
713+ case $arg in #(
714+ *"$as_nl"*)
715+ expr "X$arg" : "X\\(.*\\)$as_nl";
716+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
717+ esac;
718+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
719+ '
720+ export as_echo_n_body
721+ as_echo_n='sh -c $as_echo_n_body as_echo'
722+ fi
723+ export as_echo_body
724+ as_echo='sh -c $as_echo_body as_echo'
725+fi
726+
727+# The user is always right.
728+if test "${PATH_SEPARATOR+set}" != set; then
729+ PATH_SEPARATOR=:
730+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
731+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
732+ PATH_SEPARATOR=';'
733+ }
734+fi
735+
736+
737+# IFS
738+# We need space, tab and new line, in precisely that order. Quoting is
739+# there to prevent editors from complaining about space-tab.
740+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
741+# splitting by setting IFS to empty value.)
742+IFS=" "" $as_nl"
743+
744+# Find who we are. Look in the path if we contain no directory separator.
745+case $0 in #((
746+ *[\\/]* ) as_myself=$0 ;;
747+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
748+for as_dir in $PATH
749+do
750+ IFS=$as_save_IFS
751+ test -z "$as_dir" && as_dir=.
752+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
753+ done
754+IFS=$as_save_IFS
755+
756+ ;;
757+esac
758+# We did not find ourselves, most probably we were run as `sh COMMAND'
759+# in which case we are not to be found in the path.
760+if test "x$as_myself" = x; then
761+ as_myself=$0
762+fi
763+if test ! -f "$as_myself"; then
764+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
765+ exit 1
766+fi
767+
768+# Unset variables that we do not need and which cause bugs (e.g. in
769+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
770+# suppresses any "Segmentation fault" message there. '((' could
771+# trigger a bug in pdksh 5.2.14.
772+for as_var in BASH_ENV ENV MAIL MAILPATH
773+do eval test x\${$as_var+set} = xset \
774+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
775+done
776+PS1='$ '
777+PS2='> '
778+PS4='+ '
779+
780+# NLS nuisances.
781+LC_ALL=C
782+export LC_ALL
783+LANGUAGE=C
784+export LANGUAGE
785+
786+# CDPATH.
787+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
788+
789+if test "x$CONFIG_SHELL" = x; then
790+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
791+ emulate sh
792+ NULLCMD=:
793+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
794+ # is contrary to our usage. Disable this feature.
795+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
796+ setopt NO_GLOB_SUBST
797+else
798+ case \`(set -o) 2>/dev/null\` in #(
799+ *posix*) :
800+ set -o posix ;; #(
801+ *) :
802+ ;;
803+esac
804+fi
805+"
806+ as_required="as_fn_return () { (exit \$1); }
807+as_fn_success () { as_fn_return 0; }
808+as_fn_failure () { as_fn_return 1; }
809+as_fn_ret_success () { return 0; }
810+as_fn_ret_failure () { return 1; }
811+
812+exitcode=0
813+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
814+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
815+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
816+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
817+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
818+
819+else
820+ exitcode=1; echo positional parameters were not saved.
821+fi
822+test x\$exitcode = x0 || exit 1"
823+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
824+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
825+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
826+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
827+test \$(( 1 + 1 )) = 2 || exit 1"
828+ if (eval "$as_required") 2>/dev/null; then :
829+ as_have_required=yes
830+else
831+ as_have_required=no
832+fi
833+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
834+
835+else
836+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
837+as_found=false
838+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
839+do
840+ IFS=$as_save_IFS
841+ test -z "$as_dir" && as_dir=.
842+ as_found=:
843+ case $as_dir in #(
844+ /*)
845+ for as_base in sh bash ksh sh5; do
846+ # Try only shells that exist, to save several forks.
847+ as_shell=$as_dir/$as_base
848+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
849+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
850+ CONFIG_SHELL=$as_shell as_have_required=yes
851+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
852+ break 2
853+fi
854+fi
855+ done;;
856+ esac
857+ as_found=false
858+done
859+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
860+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
861+ CONFIG_SHELL=$SHELL as_have_required=yes
862+fi; }
863+IFS=$as_save_IFS
864+
865+
866+ if test "x$CONFIG_SHELL" != x; then :
867+ # We cannot yet assume a decent shell, so we have to provide a
868+ # neutralization value for shells without unset; and this also
869+ # works around shells that cannot unset nonexistent variables.
870+ BASH_ENV=/dev/null
871+ ENV=/dev/null
872+ (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
873+ export CONFIG_SHELL
874+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
875+fi
876+
877+ if test x$as_have_required = xno; then :
878+ $as_echo "$0: This script requires a shell more modern than all"
879+ $as_echo "$0: the shells that I found on your system."
880+ if test x${ZSH_VERSION+set} = xset ; then
881+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
882+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
883+ else
884+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
885+$0: including any error possibly output before this
886+$0: message. Then install a modern shell, or manually run
887+$0: the script under such a shell if you do have one."
888+ fi
889+ exit 1
890+fi
891+fi
892+fi
893+SHELL=${CONFIG_SHELL-/bin/sh}
894+export SHELL
895+# Unset more variables known to interfere with behavior of common tools.
896+CLICOLOR_FORCE= GREP_OPTIONS=
897+unset CLICOLOR_FORCE GREP_OPTIONS
898+
899+## --------------------- ##
900+## M4sh Shell Functions. ##
901+## --------------------- ##
902+# as_fn_unset VAR
903+# ---------------
904+# Portably unset VAR.
905+as_fn_unset ()
906+{
907+ { eval $1=; unset $1;}
908+}
909+as_unset=as_fn_unset
910+
911+# as_fn_set_status STATUS
912+# -----------------------
913+# Set $? to STATUS, without forking.
914+as_fn_set_status ()
915+{
916+ return $1
917+} # as_fn_set_status
918+
919+# as_fn_exit STATUS
920+# -----------------
921+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
922+as_fn_exit ()
923+{
924+ set +e
925+ as_fn_set_status $1
926+ exit $1
927+} # as_fn_exit
928+
929+# as_fn_mkdir_p
930+# -------------
931+# Create "$as_dir" as a directory, including parents if necessary.
932+as_fn_mkdir_p ()
933+{
934+
935+ case $as_dir in #(
936+ -*) as_dir=./$as_dir;;
937+ esac
938+ test -d "$as_dir" || eval $as_mkdir_p || {
939+ as_dirs=
940+ while :; do
941+ case $as_dir in #(
942+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
943+ *) as_qdir=$as_dir;;
944+ esac
945+ as_dirs="'$as_qdir' $as_dirs"
946+ as_dir=`$as_dirname -- "$as_dir" ||
947+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
948+ X"$as_dir" : 'X\(//\)[^/]' \| \
949+ X"$as_dir" : 'X\(//\)$' \| \
950+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
951+$as_echo X"$as_dir" |
952+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
953+ s//\1/
954+ q
955+ }
956+ /^X\(\/\/\)[^/].*/{
957+ s//\1/
958+ q
959+ }
960+ /^X\(\/\/\)$/{
961+ s//\1/
962+ q
963+ }
964+ /^X\(\/\).*/{
965+ s//\1/
966+ q
967+ }
968+ s/.*/./; q'`
969+ test -d "$as_dir" && break
970+ done
971+ test -z "$as_dirs" || eval "mkdir $as_dirs"
972+ } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
973+
974+
975+} # as_fn_mkdir_p
976+# as_fn_append VAR VALUE
977+# ----------------------
978+# Append the text in VALUE to the end of the definition contained in VAR. Take
979+# advantage of any shell optimizations that allow amortized linear growth over
980+# repeated appends, instead of the typical quadratic growth present in naive
981+# implementations.
982+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
983+ eval 'as_fn_append ()
984+ {
985+ eval $1+=\$2
986+ }'
987+else
988+ as_fn_append ()
989+ {
990+ eval $1=\$$1\$2
991+ }
992+fi # as_fn_append
993+
994+# as_fn_arith ARG...
995+# ------------------
996+# Perform arithmetic evaluation on the ARGs, and store the result in the
997+# global $as_val. Take advantage of shells that can avoid forks. The arguments
998+# must be portable across $(()) and expr.
999+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
1000+ eval 'as_fn_arith ()
1001+ {
1002+ as_val=$(( $* ))
1003+ }'
1004+else
1005+ as_fn_arith ()
1006+ {
1007+ as_val=`expr "$@" || test $? -eq 1`
1008+ }
1009+fi # as_fn_arith
1010+
1011+
1012+# as_fn_error ERROR [LINENO LOG_FD]
1013+# ---------------------------------
1014+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
1015+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1016+# script with status $?, using 1 if that was 0.
1017+as_fn_error ()
1018+{
1019+ as_status=$?; test $as_status -eq 0 && as_status=1
1020+ if test "$3"; then
1021+ as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1022+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
1023+ fi
1024+ $as_echo "$as_me: error: $1" >&2
1025+ as_fn_exit $as_status
1026+} # as_fn_error
1027+
1028+if expr a : '\(a\)' >/dev/null 2>&1 &&
1029+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
1030+ as_expr=expr
1031+else
1032+ as_expr=false
1033+fi
1034+
1035+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1036+ as_basename=basename
1037+else
1038+ as_basename=false
1039+fi
1040+
1041+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
1042+ as_dirname=dirname
1043+else
1044+ as_dirname=false
1045+fi
1046+
1047+as_me=`$as_basename -- "$0" ||
1048+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1049+ X"$0" : 'X\(//\)$' \| \
1050+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1051+$as_echo X/"$0" |
1052+ sed '/^.*\/\([^/][^/]*\)\/*$/{
1053+ s//\1/
1054+ q
1055+ }
1056+ /^X\/\(\/\/\)$/{
1057+ s//\1/
1058+ q
1059+ }
1060+ /^X\/\(\/\).*/{
1061+ s//\1/
1062+ q
1063+ }
1064+ s/.*/./; q'`
1065+
1066+# Avoid depending upon Character Ranges.
1067+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1068+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1069+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1070+as_cr_digits='0123456789'
1071+as_cr_alnum=$as_cr_Letters$as_cr_digits
1072+
1073+
1074+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
1075+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
1076+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
1077+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
1078+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1079+ sed -n '
1080+ p
1081+ /[$]LINENO/=
1082+ ' <$as_myself |
1083+ sed '
1084+ s/[$]LINENO.*/&-/
1085+ t lineno
1086+ b
1087+ :lineno
1088+ N
1089+ :loop
1090+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1091+ t loop
1092+ s/-\n.*//
1093+ ' >$as_me.lineno &&
1094+ chmod +x "$as_me.lineno" ||
1095+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1096+
1097+ # Don't try to exec as it changes $[0], causing all sort of problems
1098+ # (the dirname of $[0] is not the place where we might find the
1099+ # original and so on. Autoconf is especially sensitive to this).
1100+ . "./$as_me.lineno"
1101+ # Exit status is that of the last command.
1102+ exit
1103+}
1104+
1105+ECHO_C= ECHO_N= ECHO_T=
1106+case `echo -n x` in #(((((
1107+-n*)
1108+ case `echo 'xy\c'` in
1109+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
1110+ xy) ECHO_C='\c';;
1111+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
1112+ ECHO_T=' ';;
1113+ esac;;
1114+*)
1115+ ECHO_N='-n';;
1116+esac
1117+
1118+rm -f conf$$ conf$$.exe conf$$.file
1119+if test -d conf$$.dir; then
1120+ rm -f conf$$.dir/conf$$.file
1121+else
1122+ rm -f conf$$.dir
1123+ mkdir conf$$.dir 2>/dev/null
1124+fi
1125+if (echo >conf$$.file) 2>/dev/null; then
1126+ if ln -s conf$$.file conf$$ 2>/dev/null; then
1127+ as_ln_s='ln -s'
1128+ # ... but there are two gotchas:
1129+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
1130+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1131+ # In both cases, we have to default to `cp -p'.
1132+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1133+ as_ln_s='cp -p'
1134+ elif ln conf$$.file conf$$ 2>/dev/null; then
1135+ as_ln_s=ln
1136+ else
1137+ as_ln_s='cp -p'
1138+ fi
1139+else
1140+ as_ln_s='cp -p'
1141+fi
1142+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
1143+rmdir conf$$.dir 2>/dev/null
1144+
1145+if mkdir -p . 2>/dev/null; then
1146+ as_mkdir_p='mkdir -p "$as_dir"'
1147+else
1148+ test -d ./-p && rmdir ./-p
1149+ as_mkdir_p=false
1150+fi
1151+
1152+if test -x / >/dev/null 2>&1; then
1153+ as_test_x='test -x'
1154+else
1155+ if ls -dL / >/dev/null 2>&1; then
1156+ as_ls_L_option=L
1157+ else
1158+ as_ls_L_option=
1159+ fi
1160+ as_test_x='
1161+ eval sh -c '\''
1162+ if test -d "$1"; then
1163+ test -d "$1/.";
1164+ else
1165+ case $1 in #(
1166+ -*)set "./$1";;
1167+ esac;
1168+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1169+ ???[sx]*):;;*)false;;esac;fi
1170+ '\'' sh
1171+ '
1172+fi
1173+as_executable_p=$as_test_x
1174+
1175+# Sed expression to map a string onto a valid CPP name.
1176+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1177+
1178+# Sed expression to map a string onto a valid variable name.
1179+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1180+
1181+
1182+test -n "$DJDIR" || exec 7<&0 </dev/null
1183+exec 6>&1
1184+
1185+# Name of the host.
1186+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
1187+# so uname gets run too.
1188+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1189+
1190+#
1191+# Initializations.
1192+#
1193+ac_default_prefix=/usr/local
1194+ac_clean_files=
1195+ac_config_libobj_dir=.
1196+LIBOBJS=
1197+cross_compiling=no
1198+subdirs=
1199+MFLAGS=
1200+MAKEFLAGS=
1201+
1202+# Identity of this package.
1203+PACKAGE_NAME=
1204+PACKAGE_TARNAME=
1205+PACKAGE_VERSION=
1206+PACKAGE_STRING=
1207+PACKAGE_BUGREPORT=
1208+PACKAGE_URL=
1209+
1210+ac_unique_file="version.h"
1211+# Factoring default headers for most tests.
1212+ac_includes_default="\
1213+#include <stdio.h>
1214+#ifdef HAVE_SYS_TYPES_H
1215+# include <sys/types.h>
1216+#endif
1217+#ifdef HAVE_SYS_STAT_H
1218+# include <sys/stat.h>
1219+#endif
1220+#ifdef STDC_HEADERS
1221+# include <stdlib.h>
1222+# include <stddef.h>
1223+#else
1224+# ifdef HAVE_STDLIB_H
1225+# include <stdlib.h>
1226+# endif
1227+#endif
1228+#ifdef HAVE_STRING_H
1229+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1230+# include <memory.h>
1231+# endif
1232+# include <string.h>
1233+#endif
1234+#ifdef HAVE_STRINGS_H
1235+# include <strings.h>
1236+#endif
1237+#ifdef HAVE_INTTYPES_H
1238+# include <inttypes.h>
1239+#endif
1240+#ifdef HAVE_STDINT_H
1241+# include <stdint.h>
1242+#endif
1243+#ifdef HAVE_UNISTD_H
1244+# include <unistd.h>
1245+#endif"
1246+
1247+ac_header_list=
1248+ac_subst_vars='LTLIBOBJS
1249+LIBOBJS
1250+BUILD_LDFLAGS
1251+BUILD_CFLAGS
1252+INCLUDES
1253+DO_TEST_SUITE
1254+ET_DIR
1255+SS_DIR
1256+LDFLAG_STATIC
1257+root_sysconfdir
1258+root_libdir
1259+root_sbindir
1260+root_bindir
1261+root_prefix
1262+UNIX_CMT
1263+CYGWIN_CMT
1264+LINUX_CMT
1265+UNI_DIFF_OPTS
1266+SEM_INIT_LIB
1267+SOCKET_LIB
1268+SIZEOF_LONG_LONG
1269+SIZEOF_LONG
1270+SIZEOF_INT
1271+SIZEOF_SHORT
1272+BUILD_CC
1273+MAKEINFO
1274+STRIP
1275+AR
1276+LDCONFIG
1277+PERL
1278+SED
1279+AWK
1280+CHMOD
1281+RM
1282+CP
1283+MV
1284+LN_S
1285+LN
1286+ifNotGNUmake
1287+ifGNUmake
1288+BINARY_TYPE
1289+POSUB
1290+LTLIBINTL
1291+LIBINTL
1292+INTLLIBS
1293+INTL_LIBTOOL_SUFFIX_PREFIX
1294+INTLOBJS
1295+GENCAT
1296+INSTOBJEXT
1297+DATADIRNAME
1298+CATOBJEXT
1299+USE_INCLUDED_LIBINTL
1300+BUILD_INCLUDED_LIBINTL
1301+INTLBISON
1302+LTLIBICONV
1303+LIBICONV
1304+HAVE_WPRINTF
1305+HAVE_SNPRINTF
1306+HAVE_ASPRINTF
1307+HAVE_POSIX_PRINTF
1308+GLIBC21
1309+ALLOCA
1310+EGREP
1311+GREP
1312+RANLIB
1313+MSGMERGE
1314+XGETTEXT
1315+GMSGFMT
1316+MSGFMT
1317+USE_NLS
1318+MKINSTALLDIRS
1319+INSTALL_DATA
1320+INSTALL_SCRIPT
1321+INSTALL_PROGRAM
1322+SET_MAKE
1323+VERSION
1324+PACKAGE
1325+GETTEXT_PACKAGE
1326+UUIDD_CMT
1327+E2INITRD_MAN
1328+E2INITRD_PROG
1329+FSCK_MAN
1330+FSCK_PROG
1331+DEFRAG_CMT
1332+RESIZER_CMT
1333+IMAGER_CMT
1334+DEBUGFS_CMT
1335+QUOTA_CMT
1336+DEPPROFILED_LIBQUOTA
1337+PROFILED_LIBQUOTA
1338+DEPSTATIC_LIBQUOTA
1339+STATIC_LIBQUOTA
1340+DEPLIBQUOTA
1341+LIBQUOTA
1342+BLKID_CMT
1343+DEPPROFILED_LIBBLKID
1344+PROFILED_LIBBLKID
1345+DEPSTATIC_LIBBLKID
1346+STATIC_LIBBLKID
1347+DEPLIBBLKID
1348+LIBBLKID
1349+UUID_CMT
1350+DEPPROFILED_LIBUUID
1351+PROFILED_LIBUUID
1352+DEPSTATIC_LIBUUID
1353+STATIC_LIBUUID
1354+DEPLIBUUID
1355+LIBUUID
1356+PKG_CONFIG
1357+TEST_IO_CMT
1358+PRIVATE_LIBS_CMT
1359+LDFLAG_DYNAMIC
1360+PROFILED_LIB_EXT
1361+STATIC_LIB_EXT
1362+LIB_EXT
1363+CHECKER_CMT
1364+PROFILE_CMT
1365+BSDLIB_CMT
1366+ELF_CMT
1367+HTREE_CMT
1368+Q
1369+E
1370+LINK_BUILD_FLAGS
1371+SYMLINK_RELATIVE
1372+LINK_INSTALL_FLAGS
1373+MAINTAINER_CMT
1374+CPP
1375+RDYNAMIC
1376+DLOPEN_LIB
1377+OBJEXT
1378+EXEEXT
1379+ac_ct_CC
1380+CPPFLAGS
1381+LDFLAGS
1382+CFLAGS
1383+CC
1384+host_os
1385+host_vendor
1386+host_cpu
1387+host
1388+build_os
1389+build_vendor
1390+build_cpu
1391+build
1392+E2FSPROGS_PKGVER
1393+E2FSPROGS_VERSION
1394+E2FSPROGS_DAY
1395+E2FSPROGS_MONTH
1396+E2FSPROGS_YEAR
1397+target_alias
1398+host_alias
1399+build_alias
1400+LIBS
1401+ECHO_T
1402+ECHO_N
1403+ECHO_C
1404+DEFS
1405+mandir
1406+localedir
1407+libdir
1408+psdir
1409+pdfdir
1410+dvidir
1411+htmldir
1412+infodir
1413+docdir
1414+oldincludedir
1415+includedir
1416+localstatedir
1417+sharedstatedir
1418+sysconfdir
1419+datadir
1420+datarootdir
1421+libexecdir
1422+sbindir
1423+bindir
1424+program_transform_name
1425+prefix
1426+exec_prefix
1427+PACKAGE_URL
1428+PACKAGE_BUGREPORT
1429+PACKAGE_STRING
1430+PACKAGE_VERSION
1431+PACKAGE_TARNAME
1432+PACKAGE_NAME
1433+PATH_SEPARATOR
1434+SHELL'
1435+ac_subst_files='MCONFIG
1436+MAKEFILE_ELF
1437+MAKEFILE_BSDLIB
1438+MAKEFILE_PROFILE
1439+MAKEFILE_CHECKER
1440+MAKEFILE_LIBRARY
1441+ASM_TYPES_HEADER
1442+PUBLIC_CONFIG_HEADER'
1443+ac_user_opts='
1444+enable_option_checking
1445+with_diet_libc
1446+with_cc
1447+with_ccopts
1448+with_ldopts
1449+with_root_prefix
1450+enable_maintainer_mode
1451+enable_symlink_install
1452+enable_symlink_relative_symlinks
1453+enable_symlink_build
1454+enable_verbose_makecmds
1455+enable_compression
1456+enable_htree
1457+enable_elf_shlibs
1458+enable_bsd_shlibs
1459+enable_profile
1460+enable_checker
1461+enable_jbd_debug
1462+enable_blkid_debug
1463+enable_testio_debug
1464+enable_libuuid
1465+enable_libblkid
1466+enable_quota
1467+enable_debugfs
1468+enable_imager
1469+enable_resizer
1470+enable_defrag
1471+enable_fsck
1472+enable_e2initrd_helper
1473+enable_tls
1474+enable_uuidd
1475+enable_nls
1476+with_gnu_ld
1477+enable_rpath
1478+with_libiconv_prefix
1479+with_included_gettext
1480+with_libintl_prefix
1481+with_multiarch
1482+'
1483+ ac_precious_vars='build_alias
1484+host_alias
1485+target_alias
1486+CC
1487+CFLAGS
1488+LDFLAGS
1489+LIBS
1490+CPPFLAGS
1491+CPP
1492+PKG_CONFIG'
1493+
1494+
1495+# Initialize some variables set by options.
1496+ac_init_help=
1497+ac_init_version=false
1498+ac_unrecognized_opts=
1499+ac_unrecognized_sep=
1500+# The variables have the same names as the options, with
1501+# dashes changed to underlines.
1502+cache_file=/dev/null
1503+exec_prefix=NONE
1504+no_create=
1505+no_recursion=
1506+prefix=NONE
1507+program_prefix=NONE
1508+program_suffix=NONE
1509+program_transform_name=s,x,x,
1510+silent=
1511+site=
1512+srcdir=
1513+verbose=
1514+x_includes=NONE
1515+x_libraries=NONE
1516+
1517+# Installation directory options.
1518+# These are left unexpanded so users can "make install exec_prefix=/foo"
1519+# and all the variables that are supposed to be based on exec_prefix
1520+# by default will actually change.
1521+# Use braces instead of parens because sh, perl, etc. also accept them.
1522+# (The list follows the same order as the GNU Coding Standards.)
1523+bindir='${exec_prefix}/bin'
1524+sbindir='${exec_prefix}/sbin'
1525+libexecdir='${exec_prefix}/libexec'
1526+datarootdir='${prefix}/share'
1527+datadir='${datarootdir}'
1528+sysconfdir='${prefix}/etc'
1529+sharedstatedir='${prefix}/com'
1530+localstatedir='${prefix}/var'
1531+includedir='${prefix}/include'
1532+oldincludedir='/usr/include'
1533+docdir='${datarootdir}/doc/${PACKAGE}'
1534+infodir='${datarootdir}/info'
1535+htmldir='${docdir}'
1536+dvidir='${docdir}'
1537+pdfdir='${docdir}'
1538+psdir='${docdir}'
1539+libdir='${exec_prefix}/lib'
1540+localedir='${datarootdir}/locale'
1541+mandir='${datarootdir}/man'
1542+
1543+ac_prev=
1544+ac_dashdash=
1545+for ac_option
1546+do
1547+ # If the previous option needs an argument, assign it.
1548+ if test -n "$ac_prev"; then
1549+ eval $ac_prev=\$ac_option
1550+ ac_prev=
1551+ continue
1552+ fi
1553+
1554+ case $ac_option in
1555+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1556+ *) ac_optarg=yes ;;
1557+ esac
1558+
1559+ # Accept the important Cygnus configure options, so we can diagnose typos.
1560+
1561+ case $ac_dashdash$ac_option in
1562+ --)
1563+ ac_dashdash=yes ;;
1564+
1565+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
1566+ ac_prev=bindir ;;
1567+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1568+ bindir=$ac_optarg ;;
1569+
1570+ -build | --build | --buil | --bui | --bu)
1571+ ac_prev=build_alias ;;
1572+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1573+ build_alias=$ac_optarg ;;
1574+
1575+ -cache-file | --cache-file | --cache-fil | --cache-fi \
1576+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1577+ ac_prev=cache_file ;;
1578+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1579+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1580+ cache_file=$ac_optarg ;;
1581+
1582+ --config-cache | -C)
1583+ cache_file=config.cache ;;
1584+
1585+ -datadir | --datadir | --datadi | --datad)
1586+ ac_prev=datadir ;;
1587+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
1588+ datadir=$ac_optarg ;;
1589+
1590+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1591+ | --dataroo | --dataro | --datar)
1592+ ac_prev=datarootdir ;;
1593+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1594+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1595+ datarootdir=$ac_optarg ;;
1596+
1597+ -disable-* | --disable-*)
1598+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1599+ # Reject names that are not valid shell variable names.
1600+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1601+ as_fn_error "invalid feature name: $ac_useropt"
1602+ ac_useropt_orig=$ac_useropt
1603+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1604+ case $ac_user_opts in
1605+ *"
1606+"enable_$ac_useropt"
1607+"*) ;;
1608+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1609+ ac_unrecognized_sep=', ';;
1610+ esac
1611+ eval enable_$ac_useropt=no ;;
1612+
1613+ -docdir | --docdir | --docdi | --doc | --do)
1614+ ac_prev=docdir ;;
1615+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1616+ docdir=$ac_optarg ;;
1617+
1618+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1619+ ac_prev=dvidir ;;
1620+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1621+ dvidir=$ac_optarg ;;
1622+
1623+ -enable-* | --enable-*)
1624+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1625+ # Reject names that are not valid shell variable names.
1626+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1627+ as_fn_error "invalid feature name: $ac_useropt"
1628+ ac_useropt_orig=$ac_useropt
1629+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1630+ case $ac_user_opts in
1631+ *"
1632+"enable_$ac_useropt"
1633+"*) ;;
1634+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1635+ ac_unrecognized_sep=', ';;
1636+ esac
1637+ eval enable_$ac_useropt=\$ac_optarg ;;
1638+
1639+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1640+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1641+ | --exec | --exe | --ex)
1642+ ac_prev=exec_prefix ;;
1643+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1644+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1645+ | --exec=* | --exe=* | --ex=*)
1646+ exec_prefix=$ac_optarg ;;
1647+
1648+ -gas | --gas | --ga | --g)
1649+ # Obsolete; use --with-gas.
1650+ with_gas=yes ;;
1651+
1652+ -help | --help | --hel | --he | -h)
1653+ ac_init_help=long ;;
1654+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1655+ ac_init_help=recursive ;;
1656+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1657+ ac_init_help=short ;;
1658+
1659+ -host | --host | --hos | --ho)
1660+ ac_prev=host_alias ;;
1661+ -host=* | --host=* | --hos=* | --ho=*)
1662+ host_alias=$ac_optarg ;;
1663+
1664+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1665+ ac_prev=htmldir ;;
1666+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1667+ | --ht=*)
1668+ htmldir=$ac_optarg ;;
1669+
1670+ -includedir | --includedir | --includedi | --included | --include \
1671+ | --includ | --inclu | --incl | --inc)
1672+ ac_prev=includedir ;;
1673+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1674+ | --includ=* | --inclu=* | --incl=* | --inc=*)
1675+ includedir=$ac_optarg ;;
1676+
1677+ -infodir | --infodir | --infodi | --infod | --info | --inf)
1678+ ac_prev=infodir ;;
1679+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1680+ infodir=$ac_optarg ;;
1681+
1682+ -libdir | --libdir | --libdi | --libd)
1683+ ac_prev=libdir ;;
1684+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
1685+ libdir=$ac_optarg ;;
1686+
1687+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1688+ | --libexe | --libex | --libe)
1689+ ac_prev=libexecdir ;;
1690+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1691+ | --libexe=* | --libex=* | --libe=*)
1692+ libexecdir=$ac_optarg ;;
1693+
1694+ -localedir | --localedir | --localedi | --localed | --locale)
1695+ ac_prev=localedir ;;
1696+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1697+ localedir=$ac_optarg ;;
1698+
1699+ -localstatedir | --localstatedir | --localstatedi | --localstated \
1700+ | --localstate | --localstat | --localsta | --localst | --locals)
1701+ ac_prev=localstatedir ;;
1702+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1703+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1704+ localstatedir=$ac_optarg ;;
1705+
1706+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1707+ ac_prev=mandir ;;
1708+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1709+ mandir=$ac_optarg ;;
1710+
1711+ -nfp | --nfp | --nf)
1712+ # Obsolete; use --without-fp.
1713+ with_fp=no ;;
1714+
1715+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1716+ | --no-cr | --no-c | -n)
1717+ no_create=yes ;;
1718+
1719+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1720+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1721+ no_recursion=yes ;;
1722+
1723+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1724+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1725+ | --oldin | --oldi | --old | --ol | --o)
1726+ ac_prev=oldincludedir ;;
1727+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1728+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1729+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1730+ oldincludedir=$ac_optarg ;;
1731+
1732+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1733+ ac_prev=prefix ;;
1734+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1735+ prefix=$ac_optarg ;;
1736+
1737+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
1738+ | --program-pre | --program-pr | --program-p)
1739+ ac_prev=program_prefix ;;
1740+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
1741+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1742+ program_prefix=$ac_optarg ;;
1743+
1744+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
1745+ | --program-suf | --program-su | --program-s)
1746+ ac_prev=program_suffix ;;
1747+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
1748+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1749+ program_suffix=$ac_optarg ;;
1750+
1751+ -program-transform-name | --program-transform-name \
1752+ | --program-transform-nam | --program-transform-na \
1753+ | --program-transform-n | --program-transform- \
1754+ | --program-transform | --program-transfor \
1755+ | --program-transfo | --program-transf \
1756+ | --program-trans | --program-tran \
1757+ | --progr-tra | --program-tr | --program-t)
1758+ ac_prev=program_transform_name ;;
1759+ -program-transform-name=* | --program-transform-name=* \
1760+ | --program-transform-nam=* | --program-transform-na=* \
1761+ | --program-transform-n=* | --program-transform-=* \
1762+ | --program-transform=* | --program-transfor=* \
1763+ | --program-transfo=* | --program-transf=* \
1764+ | --program-trans=* | --program-tran=* \
1765+ | --progr-tra=* | --program-tr=* | --program-t=*)
1766+ program_transform_name=$ac_optarg ;;
1767+
1768+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1769+ ac_prev=pdfdir ;;
1770+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1771+ pdfdir=$ac_optarg ;;
1772+
1773+ -psdir | --psdir | --psdi | --psd | --ps)
1774+ ac_prev=psdir ;;
1775+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1776+ psdir=$ac_optarg ;;
1777+
1778+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1779+ | -silent | --silent | --silen | --sile | --sil)
1780+ silent=yes ;;
1781+
1782+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1783+ ac_prev=sbindir ;;
1784+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1785+ | --sbi=* | --sb=*)
1786+ sbindir=$ac_optarg ;;
1787+
1788+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
1789+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1790+ | --sharedst | --shareds | --shared | --share | --shar \
1791+ | --sha | --sh)
1792+ ac_prev=sharedstatedir ;;
1793+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1794+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1795+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1796+ | --sha=* | --sh=*)
1797+ sharedstatedir=$ac_optarg ;;
1798+
1799+ -site | --site | --sit)
1800+ ac_prev=site ;;
1801+ -site=* | --site=* | --sit=*)
1802+ site=$ac_optarg ;;
1803+
1804+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1805+ ac_prev=srcdir ;;
1806+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1807+ srcdir=$ac_optarg ;;
1808+
1809+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1810+ | --syscon | --sysco | --sysc | --sys | --sy)
1811+ ac_prev=sysconfdir ;;
1812+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1813+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1814+ sysconfdir=$ac_optarg ;;
1815+
1816+ -target | --target | --targe | --targ | --tar | --ta | --t)
1817+ ac_prev=target_alias ;;
1818+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1819+ target_alias=$ac_optarg ;;
1820+
1821+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
1822+ verbose=yes ;;
1823+
1824+ -version | --version | --versio | --versi | --vers | -V)
1825+ ac_init_version=: ;;
1826+
1827+ -with-* | --with-*)
1828+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1829+ # Reject names that are not valid shell variable names.
1830+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1831+ as_fn_error "invalid package name: $ac_useropt"
1832+ ac_useropt_orig=$ac_useropt
1833+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1834+ case $ac_user_opts in
1835+ *"
1836+"with_$ac_useropt"
1837+"*) ;;
1838+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1839+ ac_unrecognized_sep=', ';;
1840+ esac
1841+ eval with_$ac_useropt=\$ac_optarg ;;
1842+
1843+ -without-* | --without-*)
1844+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1845+ # Reject names that are not valid shell variable names.
1846+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1847+ as_fn_error "invalid package name: $ac_useropt"
1848+ ac_useropt_orig=$ac_useropt
1849+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1850+ case $ac_user_opts in
1851+ *"
1852+"with_$ac_useropt"
1853+"*) ;;
1854+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1855+ ac_unrecognized_sep=', ';;
1856+ esac
1857+ eval with_$ac_useropt=no ;;
1858+
1859+ --x)
1860+ # Obsolete; use --with-x.
1861+ with_x=yes ;;
1862+
1863+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1864+ | --x-incl | --x-inc | --x-in | --x-i)
1865+ ac_prev=x_includes ;;
1866+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1867+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1868+ x_includes=$ac_optarg ;;
1869+
1870+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
1871+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1872+ ac_prev=x_libraries ;;
1873+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1874+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1875+ x_libraries=$ac_optarg ;;
1876+
1877+ -*) as_fn_error "unrecognized option: \`$ac_option'
1878+Try \`$0 --help' for more information."
1879+ ;;
1880+
1881+ *=*)
1882+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1883+ # Reject names that are not valid shell variable names.
1884+ case $ac_envvar in #(
1885+ '' | [0-9]* | *[!_$as_cr_alnum]* )
1886+ as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1887+ esac
1888+ eval $ac_envvar=\$ac_optarg
1889+ export $ac_envvar ;;
1890+
1891+ *)
1892+ # FIXME: should be removed in autoconf 3.0.
1893+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1894+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1895+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1896+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1897+ ;;
1898+
1899+ esac
1900+done
1901+
1902+if test -n "$ac_prev"; then
1903+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1904+ as_fn_error "missing argument to $ac_option"
1905+fi
1906+
1907+if test -n "$ac_unrecognized_opts"; then
1908+ case $enable_option_checking in
1909+ no) ;;
1910+ fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1911+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1912+ esac
1913+fi
1914+
1915+# Check all directory arguments for consistency.
1916+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1917+ datadir sysconfdir sharedstatedir localstatedir includedir \
1918+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1919+ libdir localedir mandir
1920+do
1921+ eval ac_val=\$$ac_var
1922+ # Remove trailing slashes.
1923+ case $ac_val in
1924+ */ )
1925+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1926+ eval $ac_var=\$ac_val;;
1927+ esac
1928+ # Be sure to have absolute directory names.
1929+ case $ac_val in
1930+ [\\/$]* | ?:[\\/]* ) continue;;
1931+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1932+ esac
1933+ as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1934+done
1935+
1936+# There might be people who depend on the old broken behavior: `$host'
1937+# used to hold the argument of --host etc.
1938+# FIXME: To remove some day.
1939+build=$build_alias
1940+host=$host_alias
1941+target=$target_alias
1942+
1943+# FIXME: To remove some day.
1944+if test "x$host_alias" != x; then
1945+ if test "x$build_alias" = x; then
1946+ cross_compiling=maybe
1947+ $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1948+ If a cross compiler is detected then cross compile mode will be used." >&2
1949+ elif test "x$build_alias" != "x$host_alias"; then
1950+ cross_compiling=yes
1951+ fi
1952+fi
1953+
1954+ac_tool_prefix=
1955+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1956+
1957+test "$silent" = yes && exec 6>/dev/null
1958+
1959+
1960+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1961+ac_ls_di=`ls -di .` &&
1962+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1963+ as_fn_error "working directory cannot be determined"
1964+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1965+ as_fn_error "pwd does not report name of working directory"
1966+
1967+
1968+# Find the source files, if location was not specified.
1969+if test -z "$srcdir"; then
1970+ ac_srcdir_defaulted=yes
1971+ # Try the directory containing this script, then the parent directory.
1972+ ac_confdir=`$as_dirname -- "$as_myself" ||
1973+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1974+ X"$as_myself" : 'X\(//\)[^/]' \| \
1975+ X"$as_myself" : 'X\(//\)$' \| \
1976+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1977+$as_echo X"$as_myself" |
1978+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1979+ s//\1/
1980+ q
1981+ }
1982+ /^X\(\/\/\)[^/].*/{
1983+ s//\1/
1984+ q
1985+ }
1986+ /^X\(\/\/\)$/{
1987+ s//\1/
1988+ q
1989+ }
1990+ /^X\(\/\).*/{
1991+ s//\1/
1992+ q
1993+ }
1994+ s/.*/./; q'`
1995+ srcdir=$ac_confdir
1996+ if test ! -r "$srcdir/$ac_unique_file"; then
1997+ srcdir=..
1998+ fi
1999+else
2000+ ac_srcdir_defaulted=no
2001+fi
2002+if test ! -r "$srcdir/$ac_unique_file"; then
2003+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2004+ as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
2005+fi
2006+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2007+ac_abs_confdir=`(
2008+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
2009+ pwd)`
2010+# When building in place, set srcdir=.
2011+if test "$ac_abs_confdir" = "$ac_pwd"; then
2012+ srcdir=.
2013+fi
2014+# Remove unnecessary trailing slashes from srcdir.
2015+# Double slashes in file names in object file debugging info
2016+# mess up M-x gdb in Emacs.
2017+case $srcdir in
2018+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2019+esac
2020+for ac_var in $ac_precious_vars; do
2021+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
2022+ eval ac_env_${ac_var}_value=\$${ac_var}
2023+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2024+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
2025+done
2026+
2027+#
2028+# Report the --help message.
2029+#
2030+if test "$ac_init_help" = "long"; then
2031+ # Omit some internal or obsolete options to make the list less imposing.
2032+ # This message is too long to be a string in the A/UX 3.1 sh.
2033+ cat <<_ACEOF
2034+\`configure' configures this package to adapt to many kinds of systems.
2035+
2036+Usage: $0 [OPTION]... [VAR=VALUE]...
2037+
2038+To assign environment variables (e.g., CC, CFLAGS...), specify them as
2039+VAR=VALUE. See below for descriptions of some of the useful variables.
2040+
2041+Defaults for the options are specified in brackets.
2042+
2043+Configuration:
2044+ -h, --help display this help and exit
2045+ --help=short display options specific to this package
2046+ --help=recursive display the short help of all the included packages
2047+ -V, --version display version information and exit
2048+ -q, --quiet, --silent do not print \`checking...' messages
2049+ --cache-file=FILE cache test results in FILE [disabled]
2050+ -C, --config-cache alias for \`--cache-file=config.cache'
2051+ -n, --no-create do not create output files
2052+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
2053+
2054+Installation directories:
2055+ --prefix=PREFIX install architecture-independent files in PREFIX
2056+ [$ac_default_prefix]
2057+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2058+ [PREFIX]
2059+
2060+By default, \`make install' will install all the files in
2061+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2062+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2063+for instance \`--prefix=\$HOME'.
2064+
2065+For better control, use the options below.
2066+
2067+Fine tuning of the installation directories:
2068+ --bindir=DIR user executables [EPREFIX/bin]
2069+ --sbindir=DIR system admin executables [EPREFIX/sbin]
2070+ --libexecdir=DIR program executables [EPREFIX/libexec]
2071+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2072+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2073+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2074+ --libdir=DIR object code libraries [EPREFIX/lib]
2075+ --includedir=DIR C header files [PREFIX/include]
2076+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
2077+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2078+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2079+ --infodir=DIR info documentation [DATAROOTDIR/info]
2080+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2081+ --mandir=DIR man documentation [DATAROOTDIR/man]
2082+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
2083+ --htmldir=DIR html documentation [DOCDIR]
2084+ --dvidir=DIR dvi documentation [DOCDIR]
2085+ --pdfdir=DIR pdf documentation [DOCDIR]
2086+ --psdir=DIR ps documentation [DOCDIR]
2087+_ACEOF
2088+
2089+ cat <<\_ACEOF
2090+
2091+System types:
2092+ --build=BUILD configure for building on BUILD [guessed]
2093+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
2094+_ACEOF
2095+fi
2096+
2097+if test -n "$ac_init_help"; then
2098+
2099+ cat <<\_ACEOF
2100+
2101+Optional Features:
2102+ --disable-option-checking ignore unrecognized --enable/--with options
2103+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2104+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2105+ --enable-maintainer-mode enable makefile rules useful for maintainers
2106+ --enable-symlink-install use symlinks when installing instead of hard links
2107+ --enable-relative-symlinks use relative symlinks when installing
2108+ --enable-symlink-build use symlinks while building instead of hard links
2109+ --enable-verbose-makecmds enable verbose make command output
2110+ --enable-compression enable EXPERIMENTAL compression support
2111+ --enable-htree enable EXPERIMENTAL htree directory support
2112+ --enable-elf-shlibs select ELF shared libraries
2113+ --enable-bsd-shlibs select BSD shared libraries
2114+ --enable-profile build profiling libraries
2115+ --enable-checker build checker libraries
2116+ --enable-jbd-debug enable journal debugging
2117+ --enable-blkid-debug enable blkid debugging
2118+ --disable-testio-debug disable the use of the test I/O manager for debugging
2119+ --disable-libuuid do not build private uuid library
2120+ --disable-libblkid do not build private blkid library
2121+ --enable-libquota enable quota support
2122+ --disable-debugfs disable support of debugfs program
2123+ --disable-imager disable support of e2image program
2124+ --disable-resizer disable support of e2resize program
2125+ --disable-defrag disable support of e4defrag program
2126+ --enable-fsck build fsck wrapper program
2127+ --enable-e2initrd-helper build e2initrd-helper program
2128+ --disable-tls disable use of thread local support
2129+ --disable-uuidd disable building the uuid daemon
2130+ --disable-nls do not use Native Language Support
2131+ --disable-rpath do not hardcode runtime library paths
2132+
2133+Optional Packages:
2134+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2135+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2136+ --with-diet-libc use diet libc
2137+ --with-cc no longer supported, use CC= instead
2138+ --with-ccopts no longer supported, use CFLAGS= instead
2139+ --with-ldopts no longer supported, use LDFLAGS= instead
2140+ --with-root-prefix=PREFIX override prefix variable for files to be placed in the root
2141+ --with-gnu-ld assume the C compiler uses GNU ld default=no
2142+ --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
2143+ --without-libiconv-prefix don't search for libiconv in includedir and libdir
2144+ --with-included-gettext use the GNU gettext library included here
2145+ --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
2146+ --without-libintl-prefix don't search for libintl in includedir and libdir
2147+ --with-multiarch=ARCH specify the multiarch triplet
2148+
2149+Some influential environment variables:
2150+ CC C compiler command
2151+ CFLAGS C compiler flags
2152+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2153+ nonstandard directory <lib dir>
2154+ LIBS libraries to pass to the linker, e.g. -l<library>
2155+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2156+ you have headers in a nonstandard directory <include dir>
2157+ CPP C preprocessor
2158+ PKG_CONFIG path to pkg-config utility
2159+
2160+Use these variables to override the choices made by `configure' or to help
2161+it to find libraries and programs with nonstandard names/locations.
2162+
2163+Report bugs to the package provider.
2164+_ACEOF
2165+ac_status=$?
2166+fi
2167+
2168+if test "$ac_init_help" = "recursive"; then
2169+ # If there are subdirs, report their specific --help.
2170+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2171+ test -d "$ac_dir" ||
2172+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2173+ continue
2174+ ac_builddir=.
2175+
2176+case "$ac_dir" in
2177+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2178+*)
2179+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2180+ # A ".." for each directory in $ac_dir_suffix.
2181+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2182+ case $ac_top_builddir_sub in
2183+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2184+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2185+ esac ;;
2186+esac
2187+ac_abs_top_builddir=$ac_pwd
2188+ac_abs_builddir=$ac_pwd$ac_dir_suffix
2189+# for backward compatibility:
2190+ac_top_builddir=$ac_top_build_prefix
2191+
2192+case $srcdir in
2193+ .) # We are building in place.
2194+ ac_srcdir=.
2195+ ac_top_srcdir=$ac_top_builddir_sub
2196+ ac_abs_top_srcdir=$ac_pwd ;;
2197+ [\\/]* | ?:[\\/]* ) # Absolute name.
2198+ ac_srcdir=$srcdir$ac_dir_suffix;
2199+ ac_top_srcdir=$srcdir
2200+ ac_abs_top_srcdir=$srcdir ;;
2201+ *) # Relative name.
2202+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2203+ ac_top_srcdir=$ac_top_build_prefix$srcdir
2204+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2205+esac
2206+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2207+
2208+ cd "$ac_dir" || { ac_status=$?; continue; }
2209+ # Check for guested configure.
2210+ if test -f "$ac_srcdir/configure.gnu"; then
2211+ echo &&
2212+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2213+ elif test -f "$ac_srcdir/configure"; then
2214+ echo &&
2215+ $SHELL "$ac_srcdir/configure" --help=recursive
2216+ else
2217+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2218+ fi || ac_status=$?
2219+ cd "$ac_pwd" || { ac_status=$?; break; }
2220+ done
2221+fi
2222+
2223+test -n "$ac_init_help" && exit $ac_status
2224+if $ac_init_version; then
2225+ cat <<\_ACEOF
2226+configure
2227+generated by GNU Autoconf 2.65
2228+
2229+Copyright (C) 2009 Free Software Foundation, Inc.
2230+This configure script is free software; the Free Software Foundation
2231+gives unlimited permission to copy, distribute and modify it.
2232+_ACEOF
2233+ exit
2234+fi
2235+
2236+## ------------------------ ##
2237+## Autoconf initialization. ##
2238+## ------------------------ ##
2239+
2240+# ac_fn_c_try_compile LINENO
2241+# --------------------------
2242+# Try to compile conftest.$ac_ext, and return whether this succeeded.
2243+ac_fn_c_try_compile ()
2244+{
2245+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2246+ rm -f conftest.$ac_objext
2247+ if { { ac_try="$ac_compile"
2248+case "(($ac_try" in
2249+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2250+ *) ac_try_echo=$ac_try;;
2251+esac
2252+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2253+$as_echo "$ac_try_echo"; } >&5
2254+ (eval "$ac_compile") 2>conftest.err
2255+ ac_status=$?
2256+ if test -s conftest.err; then
2257+ grep -v '^ *+' conftest.err >conftest.er1
2258+ cat conftest.er1 >&5
2259+ mv -f conftest.er1 conftest.err
2260+ fi
2261+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2262+ test $ac_status = 0; } && {
2263+ test -z "$ac_c_werror_flag" ||
2264+ test ! -s conftest.err
2265+ } && test -s conftest.$ac_objext; then :
2266+ ac_retval=0
2267+else
2268+ $as_echo "$as_me: failed program was:" >&5
2269+sed 's/^/| /' conftest.$ac_ext >&5
2270+
2271+ ac_retval=1
2272+fi
2273+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2274+ as_fn_set_status $ac_retval
2275+
2276+} # ac_fn_c_try_compile
2277+
2278+# ac_fn_c_try_link LINENO
2279+# -----------------------
2280+# Try to link conftest.$ac_ext, and return whether this succeeded.
2281+ac_fn_c_try_link ()
2282+{
2283+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2284+ rm -f conftest.$ac_objext conftest$ac_exeext
2285+ if { { ac_try="$ac_link"
2286+case "(($ac_try" in
2287+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2288+ *) ac_try_echo=$ac_try;;
2289+esac
2290+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2291+$as_echo "$ac_try_echo"; } >&5
2292+ (eval "$ac_link") 2>conftest.err
2293+ ac_status=$?
2294+ if test -s conftest.err; then
2295+ grep -v '^ *+' conftest.err >conftest.er1
2296+ cat conftest.er1 >&5
2297+ mv -f conftest.er1 conftest.err
2298+ fi
2299+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2300+ test $ac_status = 0; } && {
2301+ test -z "$ac_c_werror_flag" ||
2302+ test ! -s conftest.err
2303+ } && test -s conftest$ac_exeext && {
2304+ test "$cross_compiling" = yes ||
2305+ $as_test_x conftest$ac_exeext
2306+ }; then :
2307+ ac_retval=0
2308+else
2309+ $as_echo "$as_me: failed program was:" >&5
2310+sed 's/^/| /' conftest.$ac_ext >&5
2311+
2312+ ac_retval=1
2313+fi
2314+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2315+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2316+ # interfere with the next link command; also delete a directory that is
2317+ # left behind by Apple's compiler. We do this before executing the actions.
2318+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2319+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2320+ as_fn_set_status $ac_retval
2321+
2322+} # ac_fn_c_try_link
2323+
2324+# ac_fn_c_try_cpp LINENO
2325+# ----------------------
2326+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2327+ac_fn_c_try_cpp ()
2328+{
2329+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2330+ if { { ac_try="$ac_cpp conftest.$ac_ext"
2331+case "(($ac_try" in
2332+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2333+ *) ac_try_echo=$ac_try;;
2334+esac
2335+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2336+$as_echo "$ac_try_echo"; } >&5
2337+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2338+ ac_status=$?
2339+ if test -s conftest.err; then
2340+ grep -v '^ *+' conftest.err >conftest.er1
2341+ cat conftest.er1 >&5
2342+ mv -f conftest.er1 conftest.err
2343+ fi
2344+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2345+ test $ac_status = 0; } >/dev/null && {
2346+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2347+ test ! -s conftest.err
2348+ }; then :
2349+ ac_retval=0
2350+else
2351+ $as_echo "$as_me: failed program was:" >&5
2352+sed 's/^/| /' conftest.$ac_ext >&5
2353+
2354+ ac_retval=1
2355+fi
2356+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2357+ as_fn_set_status $ac_retval
2358+
2359+} # ac_fn_c_try_cpp
2360+
2361+# ac_fn_c_try_run LINENO
2362+# ----------------------
2363+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2364+# that executables *can* be run.
2365+ac_fn_c_try_run ()
2366+{
2367+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2368+ if { { ac_try="$ac_link"
2369+case "(($ac_try" in
2370+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2371+ *) ac_try_echo=$ac_try;;
2372+esac
2373+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2374+$as_echo "$ac_try_echo"; } >&5
2375+ (eval "$ac_link") 2>&5
2376+ ac_status=$?
2377+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2378+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2379+ { { case "(($ac_try" in
2380+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2381+ *) ac_try_echo=$ac_try;;
2382+esac
2383+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2384+$as_echo "$ac_try_echo"; } >&5
2385+ (eval "$ac_try") 2>&5
2386+ ac_status=$?
2387+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2388+ test $ac_status = 0; }; }; then :
2389+ ac_retval=0
2390+else
2391+ $as_echo "$as_me: program exited with status $ac_status" >&5
2392+ $as_echo "$as_me: failed program was:" >&5
2393+sed 's/^/| /' conftest.$ac_ext >&5
2394+
2395+ ac_retval=$ac_status
2396+fi
2397+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2398+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2399+ as_fn_set_status $ac_retval
2400+
2401+} # ac_fn_c_try_run
2402+
2403+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2404+# -------------------------------------------
2405+# Tests whether TYPE exists after having included INCLUDES, setting cache
2406+# variable VAR accordingly.
2407+ac_fn_c_check_type ()
2408+{
2409+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2410+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2411+$as_echo_n "checking for $2... " >&6; }
2412+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2413+ $as_echo_n "(cached) " >&6
2414+else
2415+ eval "$3=no"
2416+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2417+/* end confdefs.h. */
2418+$4
2419+int
2420+main ()
2421+{
2422+if (sizeof ($2))
2423+ return 0;
2424+ ;
2425+ return 0;
2426+}
2427+_ACEOF
2428+if ac_fn_c_try_compile "$LINENO"; then :
2429+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430+/* end confdefs.h. */
2431+$4
2432+int
2433+main ()
2434+{
2435+if (sizeof (($2)))
2436+ return 0;
2437+ ;
2438+ return 0;
2439+}
2440+_ACEOF
2441+if ac_fn_c_try_compile "$LINENO"; then :
2442+
2443+else
2444+ eval "$3=yes"
2445+fi
2446+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447+fi
2448+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2449+fi
2450+eval ac_res=\$$3
2451+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2452+$as_echo "$ac_res" >&6; }
2453+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2454+
2455+} # ac_fn_c_check_type
2456+
2457+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2458+# -------------------------------------------------------
2459+# Tests whether HEADER exists and can be compiled using the include files in
2460+# INCLUDES, setting the cache variable VAR accordingly.
2461+ac_fn_c_check_header_compile ()
2462+{
2463+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2464+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2465+$as_echo_n "checking for $2... " >&6; }
2466+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2467+ $as_echo_n "(cached) " >&6
2468+else
2469+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2470+/* end confdefs.h. */
2471+$4
2472+#include <$2>
2473+_ACEOF
2474+if ac_fn_c_try_compile "$LINENO"; then :
2475+ eval "$3=yes"
2476+else
2477+ eval "$3=no"
2478+fi
2479+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480+fi
2481+eval ac_res=\$$3
2482+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2483+$as_echo "$ac_res" >&6; }
2484+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2485+
2486+} # ac_fn_c_check_header_compile
2487+
2488+# ac_fn_c_check_func LINENO FUNC VAR
2489+# ----------------------------------
2490+# Tests whether FUNC exists, setting the cache variable VAR accordingly
2491+ac_fn_c_check_func ()
2492+{
2493+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2494+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2495+$as_echo_n "checking for $2... " >&6; }
2496+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2497+ $as_echo_n "(cached) " >&6
2498+else
2499+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2500+/* end confdefs.h. */
2501+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2502+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
2503+#define $2 innocuous_$2
2504+
2505+/* System header to define __stub macros and hopefully few prototypes,
2506+ which can conflict with char $2 (); below.
2507+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2508+ <limits.h> exists even on freestanding compilers. */
2509+
2510+#ifdef __STDC__
2511+# include <limits.h>
2512+#else
2513+# include <assert.h>
2514+#endif
2515+
2516+#undef $2
2517+
2518+/* Override any GCC internal prototype to avoid an error.
2519+ Use char because int might match the return type of a GCC
2520+ builtin and then its argument prototype would still apply. */
2521+#ifdef __cplusplus
2522+extern "C"
2523+#endif
2524+char $2 ();
2525+/* The GNU C library defines this for functions which it implements
2526+ to always fail with ENOSYS. Some functions are actually named
2527+ something starting with __ and the normal name is an alias. */
2528+#if defined __stub_$2 || defined __stub___$2
2529+choke me
2530+#endif
2531+
2532+int
2533+main ()
2534+{
2535+return $2 ();
2536+ ;
2537+ return 0;
2538+}
2539+_ACEOF
2540+if ac_fn_c_try_link "$LINENO"; then :
2541+ eval "$3=yes"
2542+else
2543+ eval "$3=no"
2544+fi
2545+rm -f core conftest.err conftest.$ac_objext \
2546+ conftest$ac_exeext conftest.$ac_ext
2547+fi
2548+eval ac_res=\$$3
2549+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2550+$as_echo "$ac_res" >&6; }
2551+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2552+
2553+} # ac_fn_c_check_func
2554+
2555+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2556+# -------------------------------------------------------
2557+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2558+# the include files in INCLUDES and setting the cache variable VAR
2559+# accordingly.
2560+ac_fn_c_check_header_mongrel ()
2561+{
2562+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2563+ if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2564+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2565+$as_echo_n "checking for $2... " >&6; }
2566+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2567+ $as_echo_n "(cached) " >&6
2568+fi
2569+eval ac_res=\$$3
2570+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2571+$as_echo "$ac_res" >&6; }
2572+else
2573+ # Is the header compilable?
2574+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2575+$as_echo_n "checking $2 usability... " >&6; }
2576+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2577+/* end confdefs.h. */
2578+$4
2579+#include <$2>
2580+_ACEOF
2581+if ac_fn_c_try_compile "$LINENO"; then :
2582+ ac_header_compiler=yes
2583+else
2584+ ac_header_compiler=no
2585+fi
2586+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2587+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2588+$as_echo "$ac_header_compiler" >&6; }
2589+
2590+# Is the header present?
2591+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2592+$as_echo_n "checking $2 presence... " >&6; }
2593+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2594+/* end confdefs.h. */
2595+#include <$2>
2596+_ACEOF
2597+if ac_fn_c_try_cpp "$LINENO"; then :
2598+ ac_header_preproc=yes
2599+else
2600+ ac_header_preproc=no
2601+fi
2602+rm -f conftest.err conftest.$ac_ext
2603+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2604+$as_echo "$ac_header_preproc" >&6; }
2605+
2606+# So? What about this header?
2607+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2608+ yes:no: )
2609+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2610+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2611+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2612+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2613+ ;;
2614+ no:yes:* )
2615+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2616+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2617+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2618+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2619+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2620+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2621+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2622+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2623+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2624+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2625+ ;;
2626+esac
2627+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2628+$as_echo_n "checking for $2... " >&6; }
2629+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2630+ $as_echo_n "(cached) " >&6
2631+else
2632+ eval "$3=\$ac_header_compiler"
2633+fi
2634+eval ac_res=\$$3
2635+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2636+$as_echo "$ac_res" >&6; }
2637+fi
2638+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2639+
2640+} # ac_fn_c_check_header_mongrel
2641+
2642+# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2643+# --------------------------------------------
2644+# Tries to find the compile-time value of EXPR in a program that includes
2645+# INCLUDES, setting VAR accordingly. Returns whether the value could be
2646+# computed
2647+ac_fn_c_compute_int ()
2648+{
2649+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2650+ if test "$cross_compiling" = yes; then
2651+ # Depending upon the size, compute the lo and hi bounds.
2652+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653+/* end confdefs.h. */
2654+$4
2655+int
2656+main ()
2657+{
2658+static int test_array [1 - 2 * !(($2) >= 0)];
2659+test_array [0] = 0
2660+
2661+ ;
2662+ return 0;
2663+}
2664+_ACEOF
2665+if ac_fn_c_try_compile "$LINENO"; then :
2666+ ac_lo=0 ac_mid=0
2667+ while :; do
2668+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2669+/* end confdefs.h. */
2670+$4
2671+int
2672+main ()
2673+{
2674+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2675+test_array [0] = 0
2676+
2677+ ;
2678+ return 0;
2679+}
2680+_ACEOF
2681+if ac_fn_c_try_compile "$LINENO"; then :
2682+ ac_hi=$ac_mid; break
2683+else
2684+ as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2685+ if test $ac_lo -le $ac_mid; then
2686+ ac_lo= ac_hi=
2687+ break
2688+ fi
2689+ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2690+fi
2691+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2692+ done
2693+else
2694+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2695+/* end confdefs.h. */
2696+$4
2697+int
2698+main ()
2699+{
2700+static int test_array [1 - 2 * !(($2) < 0)];
2701+test_array [0] = 0
2702+
2703+ ;
2704+ return 0;
2705+}
2706+_ACEOF
2707+if ac_fn_c_try_compile "$LINENO"; then :
2708+ ac_hi=-1 ac_mid=-1
2709+ while :; do
2710+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2711+/* end confdefs.h. */
2712+$4
2713+int
2714+main ()
2715+{
2716+static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2717+test_array [0] = 0
2718+
2719+ ;
2720+ return 0;
2721+}
2722+_ACEOF
2723+if ac_fn_c_try_compile "$LINENO"; then :
2724+ ac_lo=$ac_mid; break
2725+else
2726+ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2727+ if test $ac_mid -le $ac_hi; then
2728+ ac_lo= ac_hi=
2729+ break
2730+ fi
2731+ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2732+fi
2733+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2734+ done
2735+else
2736+ ac_lo= ac_hi=
2737+fi
2738+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2739+fi
2740+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2741+# Binary search between lo and hi bounds.
2742+while test "x$ac_lo" != "x$ac_hi"; do
2743+ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2744+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2745+/* end confdefs.h. */
2746+$4
2747+int
2748+main ()
2749+{
2750+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2751+test_array [0] = 0
2752+
2753+ ;
2754+ return 0;
2755+}
2756+_ACEOF
2757+if ac_fn_c_try_compile "$LINENO"; then :
2758+ ac_hi=$ac_mid
2759+else
2760+ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2761+fi
2762+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763+done
2764+case $ac_lo in #((
2765+?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2766+'') ac_retval=1 ;;
2767+esac
2768+ else
2769+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770+/* end confdefs.h. */
2771+$4
2772+static long int longval () { return $2; }
2773+static unsigned long int ulongval () { return $2; }
2774+#include <stdio.h>
2775+#include <stdlib.h>
2776+int
2777+main ()
2778+{
2779+
2780+ FILE *f = fopen ("conftest.val", "w");
2781+ if (! f)
2782+ return 1;
2783+ if (($2) < 0)
2784+ {
2785+ long int i = longval ();
2786+ if (i != ($2))
2787+ return 1;
2788+ fprintf (f, "%ld", i);
2789+ }
2790+ else
2791+ {
2792+ unsigned long int i = ulongval ();
2793+ if (i != ($2))
2794+ return 1;
2795+ fprintf (f, "%lu", i);
2796+ }
2797+ /* Do not output a trailing newline, as this causes \r\n confusion
2798+ on some platforms. */
2799+ return ferror (f) || fclose (f) != 0;
2800+
2801+ ;
2802+ return 0;
2803+}
2804+_ACEOF
2805+if ac_fn_c_try_run "$LINENO"; then :
2806+ echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2807+else
2808+ ac_retval=1
2809+fi
2810+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2811+ conftest.$ac_objext conftest.beam conftest.$ac_ext
2812+rm -f conftest.val
2813+
2814+ fi
2815+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2816+ as_fn_set_status $ac_retval
2817+
2818+} # ac_fn_c_compute_int
2819+
2820+# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2821+# ----------------------------------------------------
2822+# Tries to find if the field MEMBER exists in type AGGR, after including
2823+# INCLUDES, setting cache variable VAR accordingly.
2824+ac_fn_c_check_member ()
2825+{
2826+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2827+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2828+$as_echo_n "checking for $2.$3... " >&6; }
2829+if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2830+ $as_echo_n "(cached) " >&6
2831+else
2832+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833+/* end confdefs.h. */
2834+$5
2835+int
2836+main ()
2837+{
2838+static $2 ac_aggr;
2839+if (ac_aggr.$3)
2840+return 0;
2841+ ;
2842+ return 0;
2843+}
2844+_ACEOF
2845+if ac_fn_c_try_compile "$LINENO"; then :
2846+ eval "$4=yes"
2847+else
2848+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849+/* end confdefs.h. */
2850+$5
2851+int
2852+main ()
2853+{
2854+static $2 ac_aggr;
2855+if (sizeof ac_aggr.$3)
2856+return 0;
2857+ ;
2858+ return 0;
2859+}
2860+_ACEOF
2861+if ac_fn_c_try_compile "$LINENO"; then :
2862+ eval "$4=yes"
2863+else
2864+ eval "$4=no"
2865+fi
2866+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867+fi
2868+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869+fi
2870+eval ac_res=\$$4
2871+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2872+$as_echo "$ac_res" >&6; }
2873+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2874+
2875+} # ac_fn_c_check_member
2876+
2877+# ac_fn_c_check_decl LINENO SYMBOL VAR
2878+# ------------------------------------
2879+# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2880+ac_fn_c_check_decl ()
2881+{
2882+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2883+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2884+$as_echo_n "checking whether $2 is declared... " >&6; }
2885+if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2886+ $as_echo_n "(cached) " >&6
2887+else
2888+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2889+/* end confdefs.h. */
2890+$4
2891+int
2892+main ()
2893+{
2894+#ifndef $2
2895+ (void) $2;
2896+#endif
2897+
2898+ ;
2899+ return 0;
2900+}
2901+_ACEOF
2902+if ac_fn_c_try_compile "$LINENO"; then :
2903+ eval "$3=yes"
2904+else
2905+ eval "$3=no"
2906+fi
2907+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908+fi
2909+eval ac_res=\$$3
2910+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2911+$as_echo "$ac_res" >&6; }
2912+ eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2913+
2914+} # ac_fn_c_check_decl
2915+cat >config.log <<_ACEOF
2916+This file contains any messages produced by compilers while
2917+running configure, to aid debugging if configure makes a mistake.
2918+
2919+It was created by $as_me, which was
2920+generated by GNU Autoconf 2.65. Invocation command line was
2921+
2922+ $ $0 $@
2923+
2924+_ACEOF
2925+exec 5>>config.log
2926+{
2927+cat <<_ASUNAME
2928+## --------- ##
2929+## Platform. ##
2930+## --------- ##
2931+
2932+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2933+uname -m = `(uname -m) 2>/dev/null || echo unknown`
2934+uname -r = `(uname -r) 2>/dev/null || echo unknown`
2935+uname -s = `(uname -s) 2>/dev/null || echo unknown`
2936+uname -v = `(uname -v) 2>/dev/null || echo unknown`
2937+
2938+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2939+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2940+
2941+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2942+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2943+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2944+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2945+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2946+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2947+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2948+
2949+_ASUNAME
2950+
2951+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952+for as_dir in $PATH
2953+do
2954+ IFS=$as_save_IFS
2955+ test -z "$as_dir" && as_dir=.
2956+ $as_echo "PATH: $as_dir"
2957+ done
2958+IFS=$as_save_IFS
2959+
2960+} >&5
2961+
2962+cat >&5 <<_ACEOF
2963+
2964+
2965+## ----------- ##
2966+## Core tests. ##
2967+## ----------- ##
2968+
2969+_ACEOF
2970+
2971+
2972+# Keep a trace of the command line.
2973+# Strip out --no-create and --no-recursion so they do not pile up.
2974+# Strip out --silent because we don't want to record it for future runs.
2975+# Also quote any args containing shell meta-characters.
2976+# Make two passes to allow for proper duplicate-argument suppression.
2977+ac_configure_args=
2978+ac_configure_args0=
2979+ac_configure_args1=
2980+ac_must_keep_next=false
2981+for ac_pass in 1 2
2982+do
2983+ for ac_arg
2984+ do
2985+ case $ac_arg in
2986+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2987+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2988+ | -silent | --silent | --silen | --sile | --sil)
2989+ continue ;;
2990+ *\'*)
2991+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2992+ esac
2993+ case $ac_pass in
2994+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2995+ 2)
2996+ as_fn_append ac_configure_args1 " '$ac_arg'"
2997+ if test $ac_must_keep_next = true; then
2998+ ac_must_keep_next=false # Got value, back to normal.
2999+ else
3000+ case $ac_arg in
3001+ *=* | --config-cache | -C | -disable-* | --disable-* \
3002+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3003+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3004+ | -with-* | --with-* | -without-* | --without-* | --x)
3005+ case "$ac_configure_args0 " in
3006+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3007+ esac
3008+ ;;
3009+ -* ) ac_must_keep_next=true ;;
3010+ esac
3011+ fi
3012+ as_fn_append ac_configure_args " '$ac_arg'"
3013+ ;;
3014+ esac
3015+ done
3016+done
3017+{ ac_configure_args0=; unset ac_configure_args0;}
3018+{ ac_configure_args1=; unset ac_configure_args1;}
3019+
3020+# When interrupted or exit'd, cleanup temporary files, and complete
3021+# config.log. We remove comments because anyway the quotes in there
3022+# would cause problems or look ugly.
3023+# WARNING: Use '\'' to represent an apostrophe within the trap.
3024+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3025+trap 'exit_status=$?
3026+ # Save into config.log some information that might help in debugging.
3027+ {
3028+ echo
3029+
3030+ cat <<\_ASBOX
3031+## ---------------- ##
3032+## Cache variables. ##
3033+## ---------------- ##
3034+_ASBOX
3035+ echo
3036+ # The following way of writing the cache mishandles newlines in values,
3037+(
3038+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3039+ eval ac_val=\$$ac_var
3040+ case $ac_val in #(
3041+ *${as_nl}*)
3042+ case $ac_var in #(
3043+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3044+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3045+ esac
3046+ case $ac_var in #(
3047+ _ | IFS | as_nl) ;; #(
3048+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3049+ *) { eval $ac_var=; unset $ac_var;} ;;
3050+ esac ;;
3051+ esac
3052+ done
3053+ (set) 2>&1 |
3054+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3055+ *${as_nl}ac_space=\ *)
3056+ sed -n \
3057+ "s/'\''/'\''\\\\'\'''\''/g;
3058+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3059+ ;; #(
3060+ *)
3061+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3062+ ;;
3063+ esac |
3064+ sort
3065+)
3066+ echo
3067+
3068+ cat <<\_ASBOX
3069+## ----------------- ##
3070+## Output variables. ##
3071+## ----------------- ##
3072+_ASBOX
3073+ echo
3074+ for ac_var in $ac_subst_vars
3075+ do
3076+ eval ac_val=\$$ac_var
3077+ case $ac_val in
3078+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3079+ esac
3080+ $as_echo "$ac_var='\''$ac_val'\''"
3081+ done | sort
3082+ echo
3083+
3084+ if test -n "$ac_subst_files"; then
3085+ cat <<\_ASBOX
3086+## ------------------- ##
3087+## File substitutions. ##
3088+## ------------------- ##
3089+_ASBOX
3090+ echo
3091+ for ac_var in $ac_subst_files
3092+ do
3093+ eval ac_val=\$$ac_var
3094+ case $ac_val in
3095+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3096+ esac
3097+ $as_echo "$ac_var='\''$ac_val'\''"
3098+ done | sort
3099+ echo
3100+ fi
3101+
3102+ if test -s confdefs.h; then
3103+ cat <<\_ASBOX
3104+## ----------- ##
3105+## confdefs.h. ##
3106+## ----------- ##
3107+_ASBOX
3108+ echo
3109+ cat confdefs.h
3110+ echo
3111+ fi
3112+ test "$ac_signal" != 0 &&
3113+ $as_echo "$as_me: caught signal $ac_signal"
3114+ $as_echo "$as_me: exit $exit_status"
3115+ } >&5
3116+ rm -f core *.core core.conftest.* &&
3117+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3118+ exit $exit_status
3119+' 0
3120+for ac_signal in 1 2 13 15; do
3121+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3122+done
3123+ac_signal=0
3124+
3125+# confdefs.h avoids OS command line length limits that DEFS can exceed.
3126+rm -f -r conftest* confdefs.h
3127+
3128+$as_echo "/* confdefs.h */" > confdefs.h
3129+
3130+# Predefined preprocessor variables.
3131+
3132+cat >>confdefs.h <<_ACEOF
3133+#define PACKAGE_NAME "$PACKAGE_NAME"
3134+_ACEOF
3135+
3136+cat >>confdefs.h <<_ACEOF
3137+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3138+_ACEOF
3139+
3140+cat >>confdefs.h <<_ACEOF
3141+#define PACKAGE_VERSION "$PACKAGE_VERSION"
3142+_ACEOF
3143+
3144+cat >>confdefs.h <<_ACEOF
3145+#define PACKAGE_STRING "$PACKAGE_STRING"
3146+_ACEOF
3147+
3148+cat >>confdefs.h <<_ACEOF
3149+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3150+_ACEOF
3151+
3152+cat >>confdefs.h <<_ACEOF
3153+#define PACKAGE_URL "$PACKAGE_URL"
3154+_ACEOF
3155+
3156+
3157+# Let the site file select an alternate cache file if it wants to.
3158+# Prefer an explicitly selected file to automatically selected ones.
3159+ac_site_file1=NONE
3160+ac_site_file2=NONE
3161+if test -n "$CONFIG_SITE"; then
3162+ ac_site_file1=$CONFIG_SITE
3163+elif test "x$prefix" != xNONE; then
3164+ ac_site_file1=$prefix/share/config.site
3165+ ac_site_file2=$prefix/etc/config.site
3166+else
3167+ ac_site_file1=$ac_default_prefix/share/config.site
3168+ ac_site_file2=$ac_default_prefix/etc/config.site
3169+fi
3170+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3171+do
3172+ test "x$ac_site_file" = xNONE && continue
3173+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3174+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3175+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3176+ sed 's/^/| /' "$ac_site_file" >&5
3177+ . "$ac_site_file"
3178+ fi
3179+done
3180+
3181+if test -r "$cache_file"; then
3182+ # Some versions of bash will fail to source /dev/null (special files
3183+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3184+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3185+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3186+$as_echo "$as_me: loading cache $cache_file" >&6;}
3187+ case $cache_file in
3188+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
3189+ *) . "./$cache_file";;
3190+ esac
3191+ fi
3192+else
3193+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3194+$as_echo "$as_me: creating cache $cache_file" >&6;}
3195+ >$cache_file
3196+fi
3197+
3198+as_fn_append ac_header_list " stdlib.h"
3199+as_fn_append ac_header_list " unistd.h"
3200+as_fn_append ac_header_list " sys/param.h"
3201+# Check that the precious variables saved in the cache have kept the same
3202+# value.
3203+ac_cache_corrupted=false
3204+for ac_var in $ac_precious_vars; do
3205+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
3206+ eval ac_new_set=\$ac_env_${ac_var}_set
3207+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
3208+ eval ac_new_val=\$ac_env_${ac_var}_value
3209+ case $ac_old_set,$ac_new_set in
3210+ set,)
3211+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3212+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3213+ ac_cache_corrupted=: ;;
3214+ ,set)
3215+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3216+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3217+ ac_cache_corrupted=: ;;
3218+ ,);;
3219+ *)
3220+ if test "x$ac_old_val" != "x$ac_new_val"; then
3221+ # differences in whitespace do not lead to failure.
3222+ ac_old_val_w=`echo x $ac_old_val`
3223+ ac_new_val_w=`echo x $ac_new_val`
3224+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
3225+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3226+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3227+ ac_cache_corrupted=:
3228+ else
3229+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3230+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3231+ eval $ac_var=\$ac_old_val
3232+ fi
3233+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3234+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3235+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3236+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3237+ fi;;
3238+ esac
3239+ # Pass precious variables to config.status.
3240+ if test "$ac_new_set" = set; then
3241+ case $ac_new_val in
3242+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3243+ *) ac_arg=$ac_var=$ac_new_val ;;
3244+ esac
3245+ case " $ac_configure_args " in
3246+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3247+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3248+ esac
3249+ fi
3250+done
3251+if $ac_cache_corrupted; then
3252+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3255+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3256+ as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3257+fi
3258+## -------------------- ##
3259+## Main body of script. ##
3260+## -------------------- ##
3261+
3262+ac_ext=c
3263+ac_cpp='$CPP $CPPFLAGS'
3264+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3265+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3266+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3267+
3268+
3269+
3270+ac_aux_dir=
3271+for ac_dir in config "$srcdir"/config; do
3272+ for ac_t in install-sh install.sh shtool; do
3273+ if test -f "$ac_dir/$ac_t"; then
3274+ ac_aux_dir=$ac_dir
3275+ ac_install_sh="$ac_aux_dir/$ac_t -c"
3276+ break 2
3277+ fi
3278+ done
3279+done
3280+if test -z "$ac_aux_dir"; then
3281+ as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
3282+fi
3283+
3284+# These three variables are undocumented and unsupported,
3285+# and are intended to be withdrawn in a future Autoconf release.
3286+# They can cause serious problems if a builder's source tree is in a directory
3287+# whose full name contains unusual characters.
3288+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3289+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3290+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3291+
3292+
3293+ac_config_headers="$ac_config_headers lib/config.h"
3294+
3295+
3296+MCONFIG=./MCONFIG
3297+
3298+BINARY_TYPE=bin
3299+E2FSPROGS_VERSION=`grep E2FSPROGS_VERSION ${srcdir}/version.h \
3300+ | awk '{print $3}' | tr \" " " | awk '{print $1}'`
3301+DATE=`grep E2FSPROGS_DATE ${srcdir}/version.h | awk '{print $3}' \
3302+ | tr \" " "`
3303+E2FSPROGS_DAY=`echo $DATE | awk -F- '{print $1}'`
3304+MONTH=`echo $DATE | awk -F- '{print $2}'`
3305+YEAR=`echo $DATE | awk -F- '{print $3}'`
3306+
3307+if expr $YEAR ">" 1900 > /dev/null ; then
3308+ E2FSPROGS_YEAR=$YEAR
3309+elif expr $YEAR ">" 90 >/dev/null ; then
3310+ E2FSPROGS_YEAR=19$YEAR
3311+else
3312+ E2FSPROGS_YEAR=20$YEAR
3313+fi
3314+
3315+case $MONTH in
3316+Jan) MONTH_NUM=01; E2FSPROGS_MONTH="January" ;;
3317+Feb) MONTH_NUM=02; E2FSPROGS_MONTH="February" ;;
3318+Mar) MONTH_NUM=03; E2FSPROGS_MONTH="March" ;;
3319+Apr) MONTH_NUM=04; E2FSPROGS_MONTH="April" ;;
3320+May) MONTH_NUM=05; E2FSPROGS_MONTH="May" ;;
3321+Jun) MONTH_NUM=06; E2FSPROGS_MONTH="June" ;;
3322+Jul) MONTH_NUM=07; E2FSPROGS_MONTH="July" ;;
3323+Aug) MONTH_NUM=08; E2FSPROGS_MONTH="August" ;;
3324+Sep) MONTH_NUM=09; E2FSPROGS_MONTH="September" ;;
3325+Oct) MONTH_NUM=10; E2FSPROGS_MONTH="October" ;;
3326+Nov) MONTH_NUM=11; E2FSPROGS_MONTH="November" ;;
3327+Dec) MONTH_NUM=12; E2FSPROGS_MONTH="December" ;;
3328+*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unknown month $MONTH??" >&5
3329+$as_echo "$as_me: WARNING: Unknown month $MONTH??" >&2;} ;;
3330+esac
3331+
3332+base_ver=`echo $E2FSPROGS_VERSION | \
3333+ sed -e 's/-WIP//' -e 's/pre-//' -e 's/-PLUS//'`
3334+
3335+date_spec=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY}
3336+
3337+case $E2FSPROGS_VERSION in
3338+*-WIP|pre-*)
3339+ E2FSPROGS_PKGVER="$base_ver~WIP-$E2FSPROGS_YEAR-$MONTH_NUM-$E2FSPROGS_DAY"
3340+ ;;
3341+*)
3342+ E2FSPROGS_PKGVER="$base_ver"
3343+ ;;
3344+esac
3345+
3346+unset DATE MONTH YEAR base_ver pre_vers date_spec
3347+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&5
3348+$as_echo "Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION" >&6; }
3349+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&5
3350+$as_echo "Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}" >&6; }
3351+
3352+
3353+
3354+
3355+
3356+# Make sure we can run config.sub.
3357+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3358+ as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3359+
3360+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3361+$as_echo_n "checking build system type... " >&6; }
3362+if test "${ac_cv_build+set}" = set; then :
3363+ $as_echo_n "(cached) " >&6
3364+else
3365+ ac_build_alias=$build_alias
3366+test "x$ac_build_alias" = x &&
3367+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3368+test "x$ac_build_alias" = x &&
3369+ as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3370+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3371+ as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3372+
3373+fi
3374+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3375+$as_echo "$ac_cv_build" >&6; }
3376+case $ac_cv_build in
3377+*-*-*) ;;
3378+*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3379+esac
3380+build=$ac_cv_build
3381+ac_save_IFS=$IFS; IFS='-'
3382+set x $ac_cv_build
3383+shift
3384+build_cpu=$1
3385+build_vendor=$2
3386+shift; shift
3387+# Remember, the first character of IFS is used to create $*,
3388+# except with old shells:
3389+build_os=$*
3390+IFS=$ac_save_IFS
3391+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3392+
3393+
3394+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3395+$as_echo_n "checking host system type... " >&6; }
3396+if test "${ac_cv_host+set}" = set; then :
3397+ $as_echo_n "(cached) " >&6
3398+else
3399+ if test "x$host_alias" = x; then
3400+ ac_cv_host=$ac_cv_build
3401+else
3402+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3403+ as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3404+fi
3405+
3406+fi
3407+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3408+$as_echo "$ac_cv_host" >&6; }
3409+case $ac_cv_host in
3410+*-*-*) ;;
3411+*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3412+esac
3413+host=$ac_cv_host
3414+ac_save_IFS=$IFS; IFS='-'
3415+set x $ac_cv_host
3416+shift
3417+host_cpu=$1
3418+host_vendor=$2
3419+shift; shift
3420+# Remember, the first character of IFS is used to create $*,
3421+# except with old shells:
3422+host_os=$*
3423+IFS=$ac_save_IFS
3424+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3425+
3426+
3427+DLOPEN_LIB=''
3428+ac_ext=c
3429+ac_cpp='$CPP $CPPFLAGS'
3430+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3431+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3432+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3433+if test -n "$ac_tool_prefix"; then
3434+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3435+set dummy ${ac_tool_prefix}gcc; ac_word=$2
3436+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3437+$as_echo_n "checking for $ac_word... " >&6; }
3438+if test "${ac_cv_prog_CC+set}" = set; then :
3439+ $as_echo_n "(cached) " >&6
3440+else
3441+ if test -n "$CC"; then
3442+ ac_cv_prog_CC="$CC" # Let the user override the test.
3443+else
3444+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445+for as_dir in $PATH
3446+do
3447+ IFS=$as_save_IFS
3448+ test -z "$as_dir" && as_dir=.
3449+ for ac_exec_ext in '' $ac_executable_extensions; do
3450+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3451+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
3452+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3453+ break 2
3454+ fi
3455+done
3456+ done
3457+IFS=$as_save_IFS
3458+
3459+fi
3460+fi
3461+CC=$ac_cv_prog_CC
3462+if test -n "$CC"; then
3463+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3464+$as_echo "$CC" >&6; }
3465+else
3466+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467+$as_echo "no" >&6; }
3468+fi
3469+
3470+
3471+fi
3472+if test -z "$ac_cv_prog_CC"; then
3473+ ac_ct_CC=$CC
3474+ # Extract the first word of "gcc", so it can be a program name with args.
3475+set dummy gcc; ac_word=$2
3476+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3477+$as_echo_n "checking for $ac_word... " >&6; }
3478+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3479+ $as_echo_n "(cached) " >&6
3480+else
3481+ if test -n "$ac_ct_CC"; then
3482+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3483+else
3484+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485+for as_dir in $PATH
3486+do
3487+ IFS=$as_save_IFS
3488+ test -z "$as_dir" && as_dir=.
3489+ for ac_exec_ext in '' $ac_executable_extensions; do
3490+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3491+ ac_cv_prog_ac_ct_CC="gcc"
3492+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3493+ break 2
3494+ fi
3495+done
3496+ done
3497+IFS=$as_save_IFS
3498+
3499+fi
3500+fi
3501+ac_ct_CC=$ac_cv_prog_ac_ct_CC
3502+if test -n "$ac_ct_CC"; then
3503+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3504+$as_echo "$ac_ct_CC" >&6; }
3505+else
3506+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3507+$as_echo "no" >&6; }
3508+fi
3509+
3510+ if test "x$ac_ct_CC" = x; then
3511+ CC=""
3512+ else
3513+ case $cross_compiling:$ac_tool_warned in
3514+yes:)
3515+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3516+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3517+ac_tool_warned=yes ;;
3518+esac
3519+ CC=$ac_ct_CC
3520+ fi
3521+else
3522+ CC="$ac_cv_prog_CC"
3523+fi
3524+
3525+if test -z "$CC"; then
3526+ if test -n "$ac_tool_prefix"; then
3527+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3528+set dummy ${ac_tool_prefix}cc; ac_word=$2
3529+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3530+$as_echo_n "checking for $ac_word... " >&6; }
3531+if test "${ac_cv_prog_CC+set}" = set; then :
3532+ $as_echo_n "(cached) " >&6
3533+else
3534+ if test -n "$CC"; then
3535+ ac_cv_prog_CC="$CC" # Let the user override the test.
3536+else
3537+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3538+for as_dir in $PATH
3539+do
3540+ IFS=$as_save_IFS
3541+ test -z "$as_dir" && as_dir=.
3542+ for ac_exec_ext in '' $ac_executable_extensions; do
3543+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3544+ ac_cv_prog_CC="${ac_tool_prefix}cc"
3545+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3546+ break 2
3547+ fi
3548+done
3549+ done
3550+IFS=$as_save_IFS
3551+
3552+fi
3553+fi
3554+CC=$ac_cv_prog_CC
3555+if test -n "$CC"; then
3556+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3557+$as_echo "$CC" >&6; }
3558+else
3559+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560+$as_echo "no" >&6; }
3561+fi
3562+
3563+
3564+ fi
3565+fi
3566+if test -z "$CC"; then
3567+ # Extract the first word of "cc", so it can be a program name with args.
3568+set dummy cc; ac_word=$2
3569+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3570+$as_echo_n "checking for $ac_word... " >&6; }
3571+if test "${ac_cv_prog_CC+set}" = set; then :
3572+ $as_echo_n "(cached) " >&6
3573+else
3574+ if test -n "$CC"; then
3575+ ac_cv_prog_CC="$CC" # Let the user override the test.
3576+else
3577+ ac_prog_rejected=no
3578+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579+for as_dir in $PATH
3580+do
3581+ IFS=$as_save_IFS
3582+ test -z "$as_dir" && as_dir=.
3583+ for ac_exec_ext in '' $ac_executable_extensions; do
3584+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3585+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3586+ ac_prog_rejected=yes
3587+ continue
3588+ fi
3589+ ac_cv_prog_CC="cc"
3590+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3591+ break 2
3592+ fi
3593+done
3594+ done
3595+IFS=$as_save_IFS
3596+
3597+if test $ac_prog_rejected = yes; then
3598+ # We found a bogon in the path, so make sure we never use it.
3599+ set dummy $ac_cv_prog_CC
3600+ shift
3601+ if test $# != 0; then
3602+ # We chose a different compiler from the bogus one.
3603+ # However, it has the same basename, so the bogon will be chosen
3604+ # first if we set CC to just the basename; use the full file name.
3605+ shift
3606+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3607+ fi
3608+fi
3609+fi
3610+fi
3611+CC=$ac_cv_prog_CC
3612+if test -n "$CC"; then
3613+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3614+$as_echo "$CC" >&6; }
3615+else
3616+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617+$as_echo "no" >&6; }
3618+fi
3619+
3620+
3621+fi
3622+if test -z "$CC"; then
3623+ if test -n "$ac_tool_prefix"; then
3624+ for ac_prog in cl.exe
3625+ do
3626+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3627+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3628+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3629+$as_echo_n "checking for $ac_word... " >&6; }
3630+if test "${ac_cv_prog_CC+set}" = set; then :
3631+ $as_echo_n "(cached) " >&6
3632+else
3633+ if test -n "$CC"; then
3634+ ac_cv_prog_CC="$CC" # Let the user override the test.
3635+else
3636+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3637+for as_dir in $PATH
3638+do
3639+ IFS=$as_save_IFS
3640+ test -z "$as_dir" && as_dir=.
3641+ for ac_exec_ext in '' $ac_executable_extensions; do
3642+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3643+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3644+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3645+ break 2
3646+ fi
3647+done
3648+ done
3649+IFS=$as_save_IFS
3650+
3651+fi
3652+fi
3653+CC=$ac_cv_prog_CC
3654+if test -n "$CC"; then
3655+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3656+$as_echo "$CC" >&6; }
3657+else
3658+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659+$as_echo "no" >&6; }
3660+fi
3661+
3662+
3663+ test -n "$CC" && break
3664+ done
3665+fi
3666+if test -z "$CC"; then
3667+ ac_ct_CC=$CC
3668+ for ac_prog in cl.exe
3669+do
3670+ # Extract the first word of "$ac_prog", so it can be a program name with args.
3671+set dummy $ac_prog; ac_word=$2
3672+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673+$as_echo_n "checking for $ac_word... " >&6; }
3674+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3675+ $as_echo_n "(cached) " >&6
3676+else
3677+ if test -n "$ac_ct_CC"; then
3678+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3679+else
3680+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681+for as_dir in $PATH
3682+do
3683+ IFS=$as_save_IFS
3684+ test -z "$as_dir" && as_dir=.
3685+ for ac_exec_ext in '' $ac_executable_extensions; do
3686+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3687+ ac_cv_prog_ac_ct_CC="$ac_prog"
3688+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689+ break 2
3690+ fi
3691+done
3692+ done
3693+IFS=$as_save_IFS
3694+
3695+fi
3696+fi
3697+ac_ct_CC=$ac_cv_prog_ac_ct_CC
3698+if test -n "$ac_ct_CC"; then
3699+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3700+$as_echo "$ac_ct_CC" >&6; }
3701+else
3702+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703+$as_echo "no" >&6; }
3704+fi
3705+
3706+
3707+ test -n "$ac_ct_CC" && break
3708+done
3709+
3710+ if test "x$ac_ct_CC" = x; then
3711+ CC=""
3712+ else
3713+ case $cross_compiling:$ac_tool_warned in
3714+yes:)
3715+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717+ac_tool_warned=yes ;;
3718+esac
3719+ CC=$ac_ct_CC
3720+ fi
3721+fi
3722+
3723+fi
3724+
3725+
3726+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3727+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3728+as_fn_error "no acceptable C compiler found in \$PATH
3729+See \`config.log' for more details." "$LINENO" 5; }
3730+
3731+# Provide some information about the compiler.
3732+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3733+set X $ac_compile
3734+ac_compiler=$2
3735+for ac_option in --version -v -V -qversion; do
3736+ { { ac_try="$ac_compiler $ac_option >&5"
3737+case "(($ac_try" in
3738+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739+ *) ac_try_echo=$ac_try;;
3740+esac
3741+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3742+$as_echo "$ac_try_echo"; } >&5
3743+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3744+ ac_status=$?
3745+ if test -s conftest.err; then
3746+ sed '10a\
3747+... rest of stderr output deleted ...
3748+ 10q' conftest.err >conftest.er1
3749+ cat conftest.er1 >&5
3750+ fi
3751+ rm -f conftest.er1 conftest.err
3752+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3753+ test $ac_status = 0; }
3754+done
3755+
3756+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757+/* end confdefs.h. */
3758+
3759+int
3760+main ()
3761+{
3762+
3763+ ;
3764+ return 0;
3765+}
3766+_ACEOF
3767+ac_clean_files_save=$ac_clean_files
3768+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3769+# Try to create an executable without -o first, disregard a.out.
3770+# It will help us diagnose broken compilers, and finding out an intuition
3771+# of exeext.
3772+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3773+$as_echo_n "checking whether the C compiler works... " >&6; }
3774+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3775+
3776+# The possible output files:
3777+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3778+
3779+ac_rmfiles=
3780+for ac_file in $ac_files
3781+do
3782+ case $ac_file in
3783+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3784+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3785+ esac
3786+done
3787+rm -f $ac_rmfiles
3788+
3789+if { { ac_try="$ac_link_default"
3790+case "(($ac_try" in
3791+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792+ *) ac_try_echo=$ac_try;;
3793+esac
3794+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3795+$as_echo "$ac_try_echo"; } >&5
3796+ (eval "$ac_link_default") 2>&5
3797+ ac_status=$?
3798+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3799+ test $ac_status = 0; }; then :
3800+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3801+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3802+# in a Makefile. We should not override ac_cv_exeext if it was cached,
3803+# so that the user can short-circuit this test for compilers unknown to
3804+# Autoconf.
3805+for ac_file in $ac_files ''
3806+do
3807+ test -f "$ac_file" || continue
3808+ case $ac_file in
3809+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3810+ ;;
3811+ [ab].out )
3812+ # We found the default executable, but exeext='' is most
3813+ # certainly right.
3814+ break;;
3815+ *.* )
3816+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3817+ then :; else
3818+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3819+ fi
3820+ # We set ac_cv_exeext here because the later test for it is not
3821+ # safe: cross compilers may not add the suffix if given an `-o'
3822+ # argument, so we may need to know it at that point already.
3823+ # Even if this section looks crufty: it has the advantage of
3824+ # actually working.
3825+ break;;
3826+ * )
3827+ break;;
3828+ esac
3829+done
3830+test "$ac_cv_exeext" = no && ac_cv_exeext=
3831+
3832+else
3833+ ac_file=''
3834+fi
3835+if test -z "$ac_file"; then :
3836+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837+$as_echo "no" >&6; }
3838+$as_echo "$as_me: failed program was:" >&5
3839+sed 's/^/| /' conftest.$ac_ext >&5
3840+
3841+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3842+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3843+{ as_fn_set_status 77
3844+as_fn_error "C compiler cannot create executables
3845+See \`config.log' for more details." "$LINENO" 5; }; }
3846+else
3847+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3848+$as_echo "yes" >&6; }
3849+fi
3850+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3851+$as_echo_n "checking for C compiler default output file name... " >&6; }
3852+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3853+$as_echo "$ac_file" >&6; }
3854+ac_exeext=$ac_cv_exeext
3855+
3856+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3857+ac_clean_files=$ac_clean_files_save
3858+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3859+$as_echo_n "checking for suffix of executables... " >&6; }
3860+if { { ac_try="$ac_link"
3861+case "(($ac_try" in
3862+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863+ *) ac_try_echo=$ac_try;;
3864+esac
3865+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866+$as_echo "$ac_try_echo"; } >&5
3867+ (eval "$ac_link") 2>&5
3868+ ac_status=$?
3869+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3870+ test $ac_status = 0; }; then :
3871+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
3872+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3873+# work properly (i.e., refer to `conftest.exe'), while it won't with
3874+# `rm'.
3875+for ac_file in conftest.exe conftest conftest.*; do
3876+ test -f "$ac_file" || continue
3877+ case $ac_file in
3878+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3879+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3880+ break;;
3881+ * ) break;;
3882+ esac
3883+done
3884+else
3885+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3887+as_fn_error "cannot compute suffix of executables: cannot compile and link
3888+See \`config.log' for more details." "$LINENO" 5; }
3889+fi
3890+rm -f conftest conftest$ac_cv_exeext
3891+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3892+$as_echo "$ac_cv_exeext" >&6; }
3893+
3894+rm -f conftest.$ac_ext
3895+EXEEXT=$ac_cv_exeext
3896+ac_exeext=$EXEEXT
3897+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898+/* end confdefs.h. */
3899+#include <stdio.h>
3900+int
3901+main ()
3902+{
3903+FILE *f = fopen ("conftest.out", "w");
3904+ return ferror (f) || fclose (f) != 0;
3905+
3906+ ;
3907+ return 0;
3908+}
3909+_ACEOF
3910+ac_clean_files="$ac_clean_files conftest.out"
3911+# Check that the compiler produces executables we can run. If not, either
3912+# the compiler is broken, or we cross compile.
3913+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3914+$as_echo_n "checking whether we are cross compiling... " >&6; }
3915+if test "$cross_compiling" != yes; then
3916+ { { ac_try="$ac_link"
3917+case "(($ac_try" in
3918+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919+ *) ac_try_echo=$ac_try;;
3920+esac
3921+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922+$as_echo "$ac_try_echo"; } >&5
3923+ (eval "$ac_link") 2>&5
3924+ ac_status=$?
3925+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926+ test $ac_status = 0; }
3927+ if { ac_try='./conftest$ac_cv_exeext'
3928+ { { case "(($ac_try" in
3929+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930+ *) ac_try_echo=$ac_try;;
3931+esac
3932+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3933+$as_echo "$ac_try_echo"; } >&5
3934+ (eval "$ac_try") 2>&5
3935+ ac_status=$?
3936+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937+ test $ac_status = 0; }; }; then
3938+ cross_compiling=no
3939+ else
3940+ if test "$cross_compiling" = maybe; then
3941+ cross_compiling=yes
3942+ else
3943+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3944+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3945+as_fn_error "cannot run C compiled programs.
3946+If you meant to cross compile, use \`--host'.
3947+See \`config.log' for more details." "$LINENO" 5; }
3948+ fi
3949+ fi
3950+fi
3951+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3952+$as_echo "$cross_compiling" >&6; }
3953+
3954+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3955+ac_clean_files=$ac_clean_files_save
3956+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3957+$as_echo_n "checking for suffix of object files... " >&6; }
3958+if test "${ac_cv_objext+set}" = set; then :
3959+ $as_echo_n "(cached) " >&6
3960+else
3961+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962+/* end confdefs.h. */
3963+
3964+int
3965+main ()
3966+{
3967+
3968+ ;
3969+ return 0;
3970+}
3971+_ACEOF
3972+rm -f conftest.o conftest.obj
3973+if { { ac_try="$ac_compile"
3974+case "(($ac_try" in
3975+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976+ *) ac_try_echo=$ac_try;;
3977+esac
3978+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3979+$as_echo "$ac_try_echo"; } >&5
3980+ (eval "$ac_compile") 2>&5
3981+ ac_status=$?
3982+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3983+ test $ac_status = 0; }; then :
3984+ for ac_file in conftest.o conftest.obj conftest.*; do
3985+ test -f "$ac_file" || continue;
3986+ case $ac_file in
3987+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3988+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3989+ break;;
3990+ esac
3991+done
3992+else
3993+ $as_echo "$as_me: failed program was:" >&5
3994+sed 's/^/| /' conftest.$ac_ext >&5
3995+
3996+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3997+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3998+as_fn_error "cannot compute suffix of object files: cannot compile
3999+See \`config.log' for more details." "$LINENO" 5; }
4000+fi
4001+rm -f conftest.$ac_cv_objext conftest.$ac_ext
4002+fi
4003+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4004+$as_echo "$ac_cv_objext" >&6; }
4005+OBJEXT=$ac_cv_objext
4006+ac_objext=$OBJEXT
4007+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4008+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4009+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4010+ $as_echo_n "(cached) " >&6
4011+else
4012+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4013+/* end confdefs.h. */
4014+
4015+int
4016+main ()
4017+{
4018+#ifndef __GNUC__
4019+ choke me
4020+#endif
4021+
4022+ ;
4023+ return 0;
4024+}
4025+_ACEOF
4026+if ac_fn_c_try_compile "$LINENO"; then :
4027+ ac_compiler_gnu=yes
4028+else
4029+ ac_compiler_gnu=no
4030+fi
4031+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032+ac_cv_c_compiler_gnu=$ac_compiler_gnu
4033+
4034+fi
4035+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4036+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4037+if test $ac_compiler_gnu = yes; then
4038+ GCC=yes
4039+else
4040+ GCC=
4041+fi
4042+ac_test_CFLAGS=${CFLAGS+set}
4043+ac_save_CFLAGS=$CFLAGS
4044+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4045+$as_echo_n "checking whether $CC accepts -g... " >&6; }
4046+if test "${ac_cv_prog_cc_g+set}" = set; then :
4047+ $as_echo_n "(cached) " >&6
4048+else
4049+ ac_save_c_werror_flag=$ac_c_werror_flag
4050+ ac_c_werror_flag=yes
4051+ ac_cv_prog_cc_g=no
4052+ CFLAGS="-g"
4053+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4054+/* end confdefs.h. */
4055+
4056+int
4057+main ()
4058+{
4059+
4060+ ;
4061+ return 0;
4062+}
4063+_ACEOF
4064+if ac_fn_c_try_compile "$LINENO"; then :
4065+ ac_cv_prog_cc_g=yes
4066+else
4067+ CFLAGS=""
4068+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069+/* end confdefs.h. */
4070+
4071+int
4072+main ()
4073+{
4074+
4075+ ;
4076+ return 0;
4077+}
4078+_ACEOF
4079+if ac_fn_c_try_compile "$LINENO"; then :
4080+
4081+else
4082+ ac_c_werror_flag=$ac_save_c_werror_flag
4083+ CFLAGS="-g"
4084+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085+/* end confdefs.h. */
4086+
4087+int
4088+main ()
4089+{
4090+
4091+ ;
4092+ return 0;
4093+}
4094+_ACEOF
4095+if ac_fn_c_try_compile "$LINENO"; then :
4096+ ac_cv_prog_cc_g=yes
4097+fi
4098+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4099+fi
4100+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4101+fi
4102+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4103+ ac_c_werror_flag=$ac_save_c_werror_flag
4104+fi
4105+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4106+$as_echo "$ac_cv_prog_cc_g" >&6; }
4107+if test "$ac_test_CFLAGS" = set; then
4108+ CFLAGS=$ac_save_CFLAGS
4109+elif test $ac_cv_prog_cc_g = yes; then
4110+ if test "$GCC" = yes; then
4111+ CFLAGS="-g -O2"
4112+ else
4113+ CFLAGS="-g"
4114+ fi
4115+else
4116+ if test "$GCC" = yes; then
4117+ CFLAGS="-O2"
4118+ else
4119+ CFLAGS=
4120+ fi
4121+fi
4122+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4123+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4124+if test "${ac_cv_prog_cc_c89+set}" = set; then :
4125+ $as_echo_n "(cached) " >&6
4126+else
4127+ ac_cv_prog_cc_c89=no
4128+ac_save_CC=$CC
4129+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130+/* end confdefs.h. */
4131+#include <stdarg.h>
4132+#include <stdio.h>
4133+#include <sys/types.h>
4134+#include <sys/stat.h>
4135+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4136+struct buf { int x; };
4137+FILE * (*rcsopen) (struct buf *, struct stat *, int);
4138+static char *e (p, i)
4139+ char **p;
4140+ int i;
4141+{
4142+ return p[i];
4143+}
4144+static char *f (char * (*g) (char **, int), char **p, ...)
4145+{
4146+ char *s;
4147+ va_list v;
4148+ va_start (v,p);
4149+ s = g (p, va_arg (v,int));
4150+ va_end (v);
4151+ return s;
4152+}
4153+
4154+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4155+ function prototypes and stuff, but not '\xHH' hex character constants.
4156+ These don't provoke an error unfortunately, instead are silently treated
4157+ as 'x'. The following induces an error, until -std is added to get
4158+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4159+ array size at least. It's necessary to write '\x00'==0 to get something
4160+ that's true only with -std. */
4161+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4162+
4163+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4164+ inside strings and character constants. */
4165+#define FOO(x) 'x'
4166+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4167+
4168+int test (int i, double x);
4169+struct s1 {int (*f) (int a);};
4170+struct s2 {int (*f) (double a);};
4171+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4172+int argc;
4173+char **argv;
4174+int
4175+main ()
4176+{
4177+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4178+ ;
4179+ return 0;
4180+}
4181+_ACEOF
4182+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4183+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4184+do
4185+ CC="$ac_save_CC $ac_arg"
4186+ if ac_fn_c_try_compile "$LINENO"; then :
4187+ ac_cv_prog_cc_c89=$ac_arg
4188+fi
4189+rm -f core conftest.err conftest.$ac_objext
4190+ test "x$ac_cv_prog_cc_c89" != "xno" && break
4191+done
4192+rm -f conftest.$ac_ext
4193+CC=$ac_save_CC
4194+
4195+fi
4196+# AC_CACHE_VAL
4197+case "x$ac_cv_prog_cc_c89" in
4198+ x)
4199+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4200+$as_echo "none needed" >&6; } ;;
4201+ xno)
4202+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4203+$as_echo "unsupported" >&6; } ;;
4204+ *)
4205+ CC="$CC $ac_cv_prog_cc_c89"
4206+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4207+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4208+esac
4209+if test "x$ac_cv_prog_cc_c89" != xno; then :
4210+
4211+fi
4212+
4213+ac_ext=c
4214+ac_cpp='$CPP $CPPFLAGS'
4215+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4216+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4217+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4218+
4219+
4220+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
4221+$as_echo_n "checking for dlopen in -ldl... " >&6; }
4222+if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
4223+ $as_echo_n "(cached) " >&6
4224+else
4225+ ac_check_lib_save_LIBS=$LIBS
4226+LIBS="-ldl $LIBS"
4227+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228+/* end confdefs.h. */
4229+
4230+/* Override any GCC internal prototype to avoid an error.
4231+ Use char because int might match the return type of a GCC
4232+ builtin and then its argument prototype would still apply. */
4233+#ifdef __cplusplus
4234+extern "C"
4235+#endif
4236+char dlopen ();
4237+int
4238+main ()
4239+{
4240+return dlopen ();
4241+ ;
4242+ return 0;
4243+}
4244+_ACEOF
4245+if ac_fn_c_try_link "$LINENO"; then :
4246+ ac_cv_lib_dl_dlopen=yes
4247+else
4248+ ac_cv_lib_dl_dlopen=no
4249+fi
4250+rm -f core conftest.err conftest.$ac_objext \
4251+ conftest$ac_exeext conftest.$ac_ext
4252+LIBS=$ac_check_lib_save_LIBS
4253+fi
4254+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
4255+$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
4256+if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
4257+ DLOPEN_LIB=-ldl
4258+
4259+$as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
4260+
4261+fi
4262+
4263+
4264+WITH_DIET_LIBC=
4265+
4266+# Check whether --with-diet-libc was given.
4267+if test "${with_diet_libc+set}" = set; then :
4268+ withval=$with_diet_libc; CC="diet cc -nostdinc"
4269+WITH_DIET_LIBC=yes
4270+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: CC=$CC" >&5
4271+$as_echo "CC=$CC" >&6; }
4272+fi
4273+
4274+# Check whether --with-cc was given.
4275+if test "${with_cc+set}" = set; then :
4276+ withval=$with_cc; as_fn_error "--with-cc no longer supported; use CC= instead" "$LINENO" 5
4277+fi
4278+
4279+
4280+# Check whether --with-ccopts was given.
4281+if test "${with_ccopts+set}" = set; then :
4282+ withval=$with_ccopts; as_fn_error "--with-ccopts no longer supported; use CFLAGS= instead" "$LINENO" 5
4283+fi
4284+
4285+
4286+# Check whether --with-ldopts was given.
4287+if test "${with_ldopts+set}" = set; then :
4288+ withval=$with_ldopts; as_fn_error "--with-ldopts no longer supported; use LDFLAGS= instead" "$LINENO" 5
4289+fi
4290+
4291+ac_ext=c
4292+ac_cpp='$CPP $CPPFLAGS'
4293+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4294+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4295+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4296+if test -n "$ac_tool_prefix"; then
4297+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4298+set dummy ${ac_tool_prefix}gcc; ac_word=$2
4299+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4300+$as_echo_n "checking for $ac_word... " >&6; }
4301+if test "${ac_cv_prog_CC+set}" = set; then :
4302+ $as_echo_n "(cached) " >&6
4303+else
4304+ if test -n "$CC"; then
4305+ ac_cv_prog_CC="$CC" # Let the user override the test.
4306+else
4307+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308+for as_dir in $PATH
4309+do
4310+ IFS=$as_save_IFS
4311+ test -z "$as_dir" && as_dir=.
4312+ for ac_exec_ext in '' $ac_executable_extensions; do
4313+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4314+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
4315+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4316+ break 2
4317+ fi
4318+done
4319+ done
4320+IFS=$as_save_IFS
4321+
4322+fi
4323+fi
4324+CC=$ac_cv_prog_CC
4325+if test -n "$CC"; then
4326+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4327+$as_echo "$CC" >&6; }
4328+else
4329+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330+$as_echo "no" >&6; }
4331+fi
4332+
4333+
4334+fi
4335+if test -z "$ac_cv_prog_CC"; then
4336+ ac_ct_CC=$CC
4337+ # Extract the first word of "gcc", so it can be a program name with args.
4338+set dummy gcc; ac_word=$2
4339+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340+$as_echo_n "checking for $ac_word... " >&6; }
4341+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4342+ $as_echo_n "(cached) " >&6
4343+else
4344+ if test -n "$ac_ct_CC"; then
4345+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4346+else
4347+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348+for as_dir in $PATH
4349+do
4350+ IFS=$as_save_IFS
4351+ test -z "$as_dir" && as_dir=.
4352+ for ac_exec_ext in '' $ac_executable_extensions; do
4353+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4354+ ac_cv_prog_ac_ct_CC="gcc"
4355+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356+ break 2
4357+ fi
4358+done
4359+ done
4360+IFS=$as_save_IFS
4361+
4362+fi
4363+fi
4364+ac_ct_CC=$ac_cv_prog_ac_ct_CC
4365+if test -n "$ac_ct_CC"; then
4366+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4367+$as_echo "$ac_ct_CC" >&6; }
4368+else
4369+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370+$as_echo "no" >&6; }
4371+fi
4372+
4373+ if test "x$ac_ct_CC" = x; then
4374+ CC=""
4375+ else
4376+ case $cross_compiling:$ac_tool_warned in
4377+yes:)
4378+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4379+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4380+ac_tool_warned=yes ;;
4381+esac
4382+ CC=$ac_ct_CC
4383+ fi
4384+else
4385+ CC="$ac_cv_prog_CC"
4386+fi
4387+
4388+if test -z "$CC"; then
4389+ if test -n "$ac_tool_prefix"; then
4390+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4391+set dummy ${ac_tool_prefix}cc; ac_word=$2
4392+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4393+$as_echo_n "checking for $ac_word... " >&6; }
4394+if test "${ac_cv_prog_CC+set}" = set; then :
4395+ $as_echo_n "(cached) " >&6
4396+else
4397+ if test -n "$CC"; then
4398+ ac_cv_prog_CC="$CC" # Let the user override the test.
4399+else
4400+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401+for as_dir in $PATH
4402+do
4403+ IFS=$as_save_IFS
4404+ test -z "$as_dir" && as_dir=.
4405+ for ac_exec_ext in '' $ac_executable_extensions; do
4406+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4407+ ac_cv_prog_CC="${ac_tool_prefix}cc"
4408+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4409+ break 2
4410+ fi
4411+done
4412+ done
4413+IFS=$as_save_IFS
4414+
4415+fi
4416+fi
4417+CC=$ac_cv_prog_CC
4418+if test -n "$CC"; then
4419+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4420+$as_echo "$CC" >&6; }
4421+else
4422+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423+$as_echo "no" >&6; }
4424+fi
4425+
4426+
4427+ fi
4428+fi
4429+if test -z "$CC"; then
4430+ # Extract the first word of "cc", so it can be a program name with args.
4431+set dummy cc; ac_word=$2
4432+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433+$as_echo_n "checking for $ac_word... " >&6; }
4434+if test "${ac_cv_prog_CC+set}" = set; then :
4435+ $as_echo_n "(cached) " >&6
4436+else
4437+ if test -n "$CC"; then
4438+ ac_cv_prog_CC="$CC" # Let the user override the test.
4439+else
4440+ ac_prog_rejected=no
4441+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442+for as_dir in $PATH
4443+do
4444+ IFS=$as_save_IFS
4445+ test -z "$as_dir" && as_dir=.
4446+ for ac_exec_ext in '' $ac_executable_extensions; do
4447+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4448+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4449+ ac_prog_rejected=yes
4450+ continue
4451+ fi
4452+ ac_cv_prog_CC="cc"
4453+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454+ break 2
4455+ fi
4456+done
4457+ done
4458+IFS=$as_save_IFS
4459+
4460+if test $ac_prog_rejected = yes; then
4461+ # We found a bogon in the path, so make sure we never use it.
4462+ set dummy $ac_cv_prog_CC
4463+ shift
4464+ if test $# != 0; then
4465+ # We chose a different compiler from the bogus one.
4466+ # However, it has the same basename, so the bogon will be chosen
4467+ # first if we set CC to just the basename; use the full file name.
4468+ shift
4469+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4470+ fi
4471+fi
4472+fi
4473+fi
4474+CC=$ac_cv_prog_CC
4475+if test -n "$CC"; then
4476+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4477+$as_echo "$CC" >&6; }
4478+else
4479+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480+$as_echo "no" >&6; }
4481+fi
4482+
4483+
4484+fi
4485+if test -z "$CC"; then
4486+ if test -n "$ac_tool_prefix"; then
4487+ for ac_prog in cl.exe
4488+ do
4489+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4490+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4491+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492+$as_echo_n "checking for $ac_word... " >&6; }
4493+if test "${ac_cv_prog_CC+set}" = set; then :
4494+ $as_echo_n "(cached) " >&6
4495+else
4496+ if test -n "$CC"; then
4497+ ac_cv_prog_CC="$CC" # Let the user override the test.
4498+else
4499+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500+for as_dir in $PATH
4501+do
4502+ IFS=$as_save_IFS
4503+ test -z "$as_dir" && as_dir=.
4504+ for ac_exec_ext in '' $ac_executable_extensions; do
4505+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4506+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4507+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508+ break 2
4509+ fi
4510+done
4511+ done
4512+IFS=$as_save_IFS
4513+
4514+fi
4515+fi
4516+CC=$ac_cv_prog_CC
4517+if test -n "$CC"; then
4518+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4519+$as_echo "$CC" >&6; }
4520+else
4521+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522+$as_echo "no" >&6; }
4523+fi
4524+
4525+
4526+ test -n "$CC" && break
4527+ done
4528+fi
4529+if test -z "$CC"; then
4530+ ac_ct_CC=$CC
4531+ for ac_prog in cl.exe
4532+do
4533+ # Extract the first word of "$ac_prog", so it can be a program name with args.
4534+set dummy $ac_prog; ac_word=$2
4535+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536+$as_echo_n "checking for $ac_word... " >&6; }
4537+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4538+ $as_echo_n "(cached) " >&6
4539+else
4540+ if test -n "$ac_ct_CC"; then
4541+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4542+else
4543+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4544+for as_dir in $PATH
4545+do
4546+ IFS=$as_save_IFS
4547+ test -z "$as_dir" && as_dir=.
4548+ for ac_exec_ext in '' $ac_executable_extensions; do
4549+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4550+ ac_cv_prog_ac_ct_CC="$ac_prog"
4551+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552+ break 2
4553+ fi
4554+done
4555+ done
4556+IFS=$as_save_IFS
4557+
4558+fi
4559+fi
4560+ac_ct_CC=$ac_cv_prog_ac_ct_CC
4561+if test -n "$ac_ct_CC"; then
4562+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4563+$as_echo "$ac_ct_CC" >&6; }
4564+else
4565+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566+$as_echo "no" >&6; }
4567+fi
4568+
4569+
4570+ test -n "$ac_ct_CC" && break
4571+done
4572+
4573+ if test "x$ac_ct_CC" = x; then
4574+ CC=""
4575+ else
4576+ case $cross_compiling:$ac_tool_warned in
4577+yes:)
4578+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4579+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4580+ac_tool_warned=yes ;;
4581+esac
4582+ CC=$ac_ct_CC
4583+ fi
4584+fi
4585+
4586+fi
4587+
4588+
4589+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4590+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4591+as_fn_error "no acceptable C compiler found in \$PATH
4592+See \`config.log' for more details." "$LINENO" 5; }
4593+
4594+# Provide some information about the compiler.
4595+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4596+set X $ac_compile
4597+ac_compiler=$2
4598+for ac_option in --version -v -V -qversion; do
4599+ { { ac_try="$ac_compiler $ac_option >&5"
4600+case "(($ac_try" in
4601+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4602+ *) ac_try_echo=$ac_try;;
4603+esac
4604+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4605+$as_echo "$ac_try_echo"; } >&5
4606+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4607+ ac_status=$?
4608+ if test -s conftest.err; then
4609+ sed '10a\
4610+... rest of stderr output deleted ...
4611+ 10q' conftest.err >conftest.er1
4612+ cat conftest.er1 >&5
4613+ fi
4614+ rm -f conftest.er1 conftest.err
4615+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4616+ test $ac_status = 0; }
4617+done
4618+
4619+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4620+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4621+if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4622+ $as_echo_n "(cached) " >&6
4623+else
4624+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625+/* end confdefs.h. */
4626+
4627+int
4628+main ()
4629+{
4630+#ifndef __GNUC__
4631+ choke me
4632+#endif
4633+
4634+ ;
4635+ return 0;
4636+}
4637+_ACEOF
4638+if ac_fn_c_try_compile "$LINENO"; then :
4639+ ac_compiler_gnu=yes
4640+else
4641+ ac_compiler_gnu=no
4642+fi
4643+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644+ac_cv_c_compiler_gnu=$ac_compiler_gnu
4645+
4646+fi
4647+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4648+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4649+if test $ac_compiler_gnu = yes; then
4650+ GCC=yes
4651+else
4652+ GCC=
4653+fi
4654+ac_test_CFLAGS=${CFLAGS+set}
4655+ac_save_CFLAGS=$CFLAGS
4656+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4657+$as_echo_n "checking whether $CC accepts -g... " >&6; }
4658+if test "${ac_cv_prog_cc_g+set}" = set; then :
4659+ $as_echo_n "(cached) " >&6
4660+else
4661+ ac_save_c_werror_flag=$ac_c_werror_flag
4662+ ac_c_werror_flag=yes
4663+ ac_cv_prog_cc_g=no
4664+ CFLAGS="-g"
4665+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666+/* end confdefs.h. */
4667+
4668+int
4669+main ()
4670+{
4671+
4672+ ;
4673+ return 0;
4674+}
4675+_ACEOF
4676+if ac_fn_c_try_compile "$LINENO"; then :
4677+ ac_cv_prog_cc_g=yes
4678+else
4679+ CFLAGS=""
4680+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681+/* end confdefs.h. */
4682+
4683+int
4684+main ()
4685+{
4686+
4687+ ;
4688+ return 0;
4689+}
4690+_ACEOF
4691+if ac_fn_c_try_compile "$LINENO"; then :
4692+
4693+else
4694+ ac_c_werror_flag=$ac_save_c_werror_flag
4695+ CFLAGS="-g"
4696+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697+/* end confdefs.h. */
4698+
4699+int
4700+main ()
4701+{
4702+
4703+ ;
4704+ return 0;
4705+}
4706+_ACEOF
4707+if ac_fn_c_try_compile "$LINENO"; then :
4708+ ac_cv_prog_cc_g=yes
4709+fi
4710+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4711+fi
4712+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713+fi
4714+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4715+ ac_c_werror_flag=$ac_save_c_werror_flag
4716+fi
4717+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4718+$as_echo "$ac_cv_prog_cc_g" >&6; }
4719+if test "$ac_test_CFLAGS" = set; then
4720+ CFLAGS=$ac_save_CFLAGS
4721+elif test $ac_cv_prog_cc_g = yes; then
4722+ if test "$GCC" = yes; then
4723+ CFLAGS="-g -O2"
4724+ else
4725+ CFLAGS="-g"
4726+ fi
4727+else
4728+ if test "$GCC" = yes; then
4729+ CFLAGS="-O2"
4730+ else
4731+ CFLAGS=
4732+ fi
4733+fi
4734+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4735+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4736+if test "${ac_cv_prog_cc_c89+set}" = set; then :
4737+ $as_echo_n "(cached) " >&6
4738+else
4739+ ac_cv_prog_cc_c89=no
4740+ac_save_CC=$CC
4741+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742+/* end confdefs.h. */
4743+#include <stdarg.h>
4744+#include <stdio.h>
4745+#include <sys/types.h>
4746+#include <sys/stat.h>
4747+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4748+struct buf { int x; };
4749+FILE * (*rcsopen) (struct buf *, struct stat *, int);
4750+static char *e (p, i)
4751+ char **p;
4752+ int i;
4753+{
4754+ return p[i];
4755+}
4756+static char *f (char * (*g) (char **, int), char **p, ...)
4757+{
4758+ char *s;
4759+ va_list v;
4760+ va_start (v,p);
4761+ s = g (p, va_arg (v,int));
4762+ va_end (v);
4763+ return s;
4764+}
4765+
4766+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4767+ function prototypes and stuff, but not '\xHH' hex character constants.
4768+ These don't provoke an error unfortunately, instead are silently treated
4769+ as 'x'. The following induces an error, until -std is added to get
4770+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4771+ array size at least. It's necessary to write '\x00'==0 to get something
4772+ that's true only with -std. */
4773+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4774+
4775+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4776+ inside strings and character constants. */
4777+#define FOO(x) 'x'
4778+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4779+
4780+int test (int i, double x);
4781+struct s1 {int (*f) (int a);};
4782+struct s2 {int (*f) (double a);};
4783+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4784+int argc;
4785+char **argv;
4786+int
4787+main ()
4788+{
4789+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4790+ ;
4791+ return 0;
4792+}
4793+_ACEOF
4794+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4795+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4796+do
4797+ CC="$ac_save_CC $ac_arg"
4798+ if ac_fn_c_try_compile "$LINENO"; then :
4799+ ac_cv_prog_cc_c89=$ac_arg
4800+fi
4801+rm -f core conftest.err conftest.$ac_objext
4802+ test "x$ac_cv_prog_cc_c89" != "xno" && break
4803+done
4804+rm -f conftest.$ac_ext
4805+CC=$ac_save_CC
4806+
4807+fi
4808+# AC_CACHE_VAL
4809+case "x$ac_cv_prog_cc_c89" in
4810+ x)
4811+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4812+$as_echo "none needed" >&6; } ;;
4813+ xno)
4814+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4815+$as_echo "unsupported" >&6; } ;;
4816+ *)
4817+ CC="$CC $ac_cv_prog_cc_c89"
4818+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4819+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4820+esac
4821+if test "x$ac_cv_prog_cc_c89" != xno; then :
4822+
4823+fi
4824+
4825+ac_ext=c
4826+ac_cpp='$CPP $CPPFLAGS'
4827+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4828+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4829+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4830+
4831+if test "$GCC" = yes; then
4832+ RDYNAMIC="-rdynamic"
4833+
4834+fi
4835+ac_ext=c
4836+ac_cpp='$CPP $CPPFLAGS'
4837+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4838+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4839+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4840+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4841+$as_echo_n "checking how to run the C preprocessor... " >&6; }
4842+# On Suns, sometimes $CPP names a directory.
4843+if test -n "$CPP" && test -d "$CPP"; then
4844+ CPP=
4845+fi
4846+if test -z "$CPP"; then
4847+ if test "${ac_cv_prog_CPP+set}" = set; then :
4848+ $as_echo_n "(cached) " >&6
4849+else
4850+ # Double quotes because CPP needs to be expanded
4851+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4852+ do
4853+ ac_preproc_ok=false
4854+for ac_c_preproc_warn_flag in '' yes
4855+do
4856+ # Use a header file that comes with gcc, so configuring glibc
4857+ # with a fresh cross-compiler works.
4858+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4859+ # <limits.h> exists even on freestanding compilers.
4860+ # On the NeXT, cc -E runs the code through the compiler's parser,
4861+ # not just through cpp. "Syntax error" is here to catch this case.
4862+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863+/* end confdefs.h. */
4864+#ifdef __STDC__
4865+# include <limits.h>
4866+#else
4867+# include <assert.h>
4868+#endif
4869+ Syntax error
4870+_ACEOF
4871+if ac_fn_c_try_cpp "$LINENO"; then :
4872+
4873+else
4874+ # Broken: fails on valid input.
4875+continue
4876+fi
4877+rm -f conftest.err conftest.$ac_ext
4878+
4879+ # OK, works on sane cases. Now check whether nonexistent headers
4880+ # can be detected and how.
4881+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4882+/* end confdefs.h. */
4883+#include <ac_nonexistent.h>
4884+_ACEOF
4885+if ac_fn_c_try_cpp "$LINENO"; then :
4886+ # Broken: success on invalid input.
4887+continue
4888+else
4889+ # Passes both tests.
4890+ac_preproc_ok=:
4891+break
4892+fi
4893+rm -f conftest.err conftest.$ac_ext
4894+
4895+done
4896+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4897+rm -f conftest.err conftest.$ac_ext
4898+if $ac_preproc_ok; then :
4899+ break
4900+fi
4901+
4902+ done
4903+ ac_cv_prog_CPP=$CPP
4904+
4905+fi
4906+ CPP=$ac_cv_prog_CPP
4907+else
4908+ ac_cv_prog_CPP=$CPP
4909+fi
4910+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4911+$as_echo "$CPP" >&6; }
4912+ac_preproc_ok=false
4913+for ac_c_preproc_warn_flag in '' yes
4914+do
4915+ # Use a header file that comes with gcc, so configuring glibc
4916+ # with a fresh cross-compiler works.
4917+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4918+ # <limits.h> exists even on freestanding compilers.
4919+ # On the NeXT, cc -E runs the code through the compiler's parser,
4920+ # not just through cpp. "Syntax error" is here to catch this case.
4921+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922+/* end confdefs.h. */
4923+#ifdef __STDC__
4924+# include <limits.h>
4925+#else
4926+# include <assert.h>
4927+#endif
4928+ Syntax error
4929+_ACEOF
4930+if ac_fn_c_try_cpp "$LINENO"; then :
4931+
4932+else
4933+ # Broken: fails on valid input.
4934+continue
4935+fi
4936+rm -f conftest.err conftest.$ac_ext
4937+
4938+ # OK, works on sane cases. Now check whether nonexistent headers
4939+ # can be detected and how.
4940+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941+/* end confdefs.h. */
4942+#include <ac_nonexistent.h>
4943+_ACEOF
4944+if ac_fn_c_try_cpp "$LINENO"; then :
4945+ # Broken: success on invalid input.
4946+continue
4947+else
4948+ # Passes both tests.
4949+ac_preproc_ok=:
4950+break
4951+fi
4952+rm -f conftest.err conftest.$ac_ext
4953+
4954+done
4955+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4956+rm -f conftest.err conftest.$ac_ext
4957+if $ac_preproc_ok; then :
4958+
4959+else
4960+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4961+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4962+as_fn_error "C preprocessor \"$CPP\" fails sanity check
4963+See \`config.log' for more details." "$LINENO" 5; }
4964+fi
4965+
4966+ac_ext=c
4967+ac_cpp='$CPP $CPPFLAGS'
4968+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4969+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4970+ac_compiler_gnu=$ac_cv_c_compiler_gnu
4971+
4972+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional special compiler flags" >&5
4973+$as_echo_n "checking for additional special compiler flags... " >&6; }
4974+if test "$GCC" = yes
4975+then
4976+ case "$host_cpu" in
4977+ alpha) addcflags="-mieee" ;;
4978+ esac
4979+fi
4980+if test "x$addcflags" != x
4981+then
4982+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $addcflags" >&5
4983+$as_echo "$addcflags" >&6; }
4984+ CFLAGS="$addcflags $CFLAGS"
4985+else
4986+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
4987+$as_echo "(none)" >&6; }
4988+fi
4989+LIB_EXT=.a
4990+STATIC_LIB_EXT=.a
4991+PROFILED_LIB_EXT=.a
4992+
4993+# Check whether --with-root-prefix was given.
4994+if test "${with_root_prefix+set}" = set; then :
4995+ withval=$with_root_prefix; root_prefix=$withval
4996+else
4997+ root_prefix=NONE
4998+fi
4999+# Check whether --enable-maintainer-mode was given.
5000+if test "${enable_maintainer_mode+set}" = set; then :
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches